re PR fortran/31972 (Internal Error occurs when TRANSFER contains hollerith argument)
[official-gcc.git] / libstdc++-v3 / configure
blobc2cf5762430e723860d6d914786d072abc9af22a
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:9: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 # Make teststring a little bigger before we do anything with it.
4749 # a 1K string should be a reasonable start.
4750 for i in 1 2 3 4 5 6 7 8 ; do
4751 teststring=$teststring$teststring
4752 done
4753 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4754 # If test is not a shell built-in, we'll probably end up computing a
4755 # maximum length that is only half of the actual maximum length, but
4756 # we can't tell.
4757 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4758 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4759 test $i != 17 # 1/2 MB should be enough
4761 i=`expr $i + 1`
4762 teststring=$teststring$teststring
4763 done
4764 # Only check the string length outside the loop.
4765 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4766 teststring=
4767 # Add a significant safety factor because C++ compilers can tack on massive
4768 # amounts of additional arguments before passing them to the linker.
4769 # It appears as though 1/2 is a usable value.
4770 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4772 esac
4776 if test -n $lt_cv_sys_max_cmd_len ; then
4777 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4778 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4779 else
4780 echo "$as_me:$LINENO: result: none" >&5
4781 echo "${ECHO_T}none" >&6
4783 max_cmd_len=$lt_cv_sys_max_cmd_len
4791 : ${CP="cp -f"}
4792 : ${MV="mv -f"}
4793 : ${RM="rm -f"}
4795 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4796 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4797 # Try some XSI features
4798 xsi_shell=no
4799 ( _lt_dummy="a/b/c"
4800 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4801 = c,a/b,, ) >/dev/null 2>&1 \
4802 && xsi_shell=yes
4803 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4804 echo "${ECHO_T}$xsi_shell" >&6
4807 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4808 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4809 lt_shell_append=no
4810 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4811 >/dev/null 2>&1 \
4812 && lt_shell_append=yes
4813 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4814 echo "${ECHO_T}$lt_shell_append" >&6
4817 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4818 lt_unset=unset
4819 else
4820 lt_unset=false
4827 # test EBCDIC or ASCII
4828 case `echo X|tr X '\101'` in
4829 A) # ASCII based system
4830 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4831 lt_SP2NL='tr \040 \012'
4832 lt_NL2SP='tr \015\012 \040\040'
4834 *) # EBCDIC based system
4835 lt_SP2NL='tr \100 \n'
4836 lt_NL2SP='tr \r\n \100\100'
4838 esac
4848 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4849 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4850 if test "${lt_cv_ld_reload_flag+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4852 else
4853 lt_cv_ld_reload_flag='-r'
4855 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4856 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4857 reload_flag=$lt_cv_ld_reload_flag
4858 case $reload_flag in
4859 "" | " "*) ;;
4860 *) reload_flag=" $reload_flag" ;;
4861 esac
4862 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4863 case $host_os in
4864 darwin*)
4865 if test "$GCC" = yes; then
4866 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4867 else
4868 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4871 esac
4882 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4883 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4884 if test "${lt_cv_deplibs_check_method+set}" = set; then
4885 echo $ECHO_N "(cached) $ECHO_C" >&6
4886 else
4887 lt_cv_file_magic_cmd='$MAGIC_CMD'
4888 lt_cv_file_magic_test_file=
4889 lt_cv_deplibs_check_method='unknown'
4890 # Need to set the preceding variable on all platforms that support
4891 # interlibrary dependencies.
4892 # 'none' -- dependencies not supported.
4893 # `unknown' -- same as none, but documents that we really don't know.
4894 # 'pass_all' -- all dependencies passed with no checks.
4895 # 'test_compile' -- check by making test program.
4896 # 'file_magic [[regex]]' -- check by looking for files in library path
4897 # which responds to the $file_magic_cmd with a given extended regex.
4898 # If you have `file' or equivalent on your system and you're not sure
4899 # whether `pass_all' will *always* work, you probably want this one.
4901 case $host_os in
4902 aix4* | aix5*)
4903 lt_cv_deplibs_check_method=pass_all
4906 beos*)
4907 lt_cv_deplibs_check_method=pass_all
4910 bsdi[45]*)
4911 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4912 lt_cv_file_magic_cmd='/usr/bin/file -L'
4913 lt_cv_file_magic_test_file=/shlib/libc.so
4916 cygwin*)
4917 # func_win32_libid is a shell function defined in ltmain.sh
4918 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4919 lt_cv_file_magic_cmd='func_win32_libid'
4922 mingw* | pw32*)
4923 # Base MSYS/MinGW do not provide the 'file' command needed by
4924 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4925 # unless we find 'file', for example because we are cross-compiling.
4926 if ( file / ) >/dev/null 2>&1; then
4927 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4928 lt_cv_file_magic_cmd='func_win32_libid'
4929 else
4930 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4931 lt_cv_file_magic_cmd='$OBJDUMP -f'
4935 darwin* | rhapsody*)
4936 lt_cv_deplibs_check_method=pass_all
4939 freebsd* | dragonfly*)
4940 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4941 case $host_cpu in
4942 i*86 )
4943 # Not sure whether the presence of OpenBSD here was a mistake.
4944 # Let's accept both of them until this is cleared up.
4945 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4946 lt_cv_file_magic_cmd=/usr/bin/file
4947 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4949 esac
4950 else
4951 lt_cv_deplibs_check_method=pass_all
4955 gnu*)
4956 lt_cv_deplibs_check_method=pass_all
4959 hpux10.20* | hpux11*)
4960 lt_cv_file_magic_cmd=/usr/bin/file
4961 case $host_cpu in
4962 ia64*)
4963 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4964 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4966 hppa*64*)
4967 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]'
4968 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4971 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4972 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4974 esac
4977 interix[3-9]*)
4978 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4979 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4982 irix5* | irix6* | nonstopux*)
4983 case $LD in
4984 *-32|*"-32 ") libmagic=32-bit;;
4985 *-n32|*"-n32 ") libmagic=N32;;
4986 *-64|*"-64 ") libmagic=64-bit;;
4987 *) libmagic=never-match;;
4988 esac
4989 lt_cv_deplibs_check_method=pass_all
4992 # This must be Linux ELF.
4993 linux* | k*bsd*-gnu)
4994 lt_cv_deplibs_check_method=pass_all
4997 netbsd*)
4998 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4999 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5000 else
5001 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5005 newos6*)
5006 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5007 lt_cv_file_magic_cmd=/usr/bin/file
5008 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5011 *nto* | *qnx*)
5012 lt_cv_deplibs_check_method=pass_all
5015 openbsd*)
5016 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5017 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5018 else
5019 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5023 osf3* | osf4* | osf5*)
5024 lt_cv_deplibs_check_method=pass_all
5027 rdos*)
5028 lt_cv_deplibs_check_method=pass_all
5031 solaris*)
5032 lt_cv_deplibs_check_method=pass_all
5035 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5036 lt_cv_deplibs_check_method=pass_all
5039 sysv4 | sysv4.3*)
5040 case $host_vendor in
5041 motorola)
5042 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]'
5043 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5045 ncr)
5046 lt_cv_deplibs_check_method=pass_all
5048 sequent)
5049 lt_cv_file_magic_cmd='/bin/file'
5050 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5052 sni)
5053 lt_cv_file_magic_cmd='/bin/file'
5054 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5055 lt_cv_file_magic_test_file=/lib/libc.so
5057 siemens)
5058 lt_cv_deplibs_check_method=pass_all
5061 lt_cv_deplibs_check_method=pass_all
5063 esac
5066 tpf*)
5067 lt_cv_deplibs_check_method=pass_all
5069 esac
5072 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5073 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5074 file_magic_cmd=$lt_cv_file_magic_cmd
5075 deplibs_check_method=$lt_cv_deplibs_check_method
5076 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5089 if test -n "$ac_tool_prefix"; then
5090 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5091 set dummy ${ac_tool_prefix}ar; ac_word=$2
5092 echo "$as_me:$LINENO: checking for $ac_word" >&5
5093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5094 if test "${ac_cv_prog_AR+set}" = set; then
5095 echo $ECHO_N "(cached) $ECHO_C" >&6
5096 else
5097 if test -n "$AR"; then
5098 ac_cv_prog_AR="$AR" # Let the user override the test.
5099 else
5100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5101 for as_dir in $PATH
5103 IFS=$as_save_IFS
5104 test -z "$as_dir" && as_dir=.
5105 for ac_exec_ext in '' $ac_executable_extensions; do
5106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5107 ac_cv_prog_AR="${ac_tool_prefix}ar"
5108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5109 break 2
5111 done
5112 done
5116 AR=$ac_cv_prog_AR
5117 if test -n "$AR"; then
5118 echo "$as_me:$LINENO: result: $AR" >&5
5119 echo "${ECHO_T}$AR" >&6
5120 else
5121 echo "$as_me:$LINENO: result: no" >&5
5122 echo "${ECHO_T}no" >&6
5126 if test -z "$ac_cv_prog_AR"; then
5127 ac_ct_AR=$AR
5128 # Extract the first word of "ar", so it can be a program name with args.
5129 set dummy ar; ac_word=$2
5130 echo "$as_me:$LINENO: checking for $ac_word" >&5
5131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5132 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5133 echo $ECHO_N "(cached) $ECHO_C" >&6
5134 else
5135 if test -n "$ac_ct_AR"; then
5136 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5137 else
5138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5139 for as_dir in $PATH
5141 IFS=$as_save_IFS
5142 test -z "$as_dir" && as_dir=.
5143 for ac_exec_ext in '' $ac_executable_extensions; do
5144 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5145 ac_cv_prog_ac_ct_AR="ar"
5146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5147 break 2
5149 done
5150 done
5152 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5155 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5156 if test -n "$ac_ct_AR"; then
5157 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5158 echo "${ECHO_T}$ac_ct_AR" >&6
5159 else
5160 echo "$as_me:$LINENO: result: no" >&5
5161 echo "${ECHO_T}no" >&6
5164 AR=$ac_ct_AR
5165 else
5166 AR="$ac_cv_prog_AR"
5169 test -z "$AR" && AR=ar
5170 test -z "$AR_FLAGS" && AR_FLAGS=cru
5182 if test -n "$ac_tool_prefix"; then
5183 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5184 set dummy ${ac_tool_prefix}strip; ac_word=$2
5185 echo "$as_me:$LINENO: checking for $ac_word" >&5
5186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5187 if test "${ac_cv_prog_STRIP+set}" = set; then
5188 echo $ECHO_N "(cached) $ECHO_C" >&6
5189 else
5190 if test -n "$STRIP"; then
5191 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5192 else
5193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5194 for as_dir in $PATH
5196 IFS=$as_save_IFS
5197 test -z "$as_dir" && as_dir=.
5198 for ac_exec_ext in '' $ac_executable_extensions; do
5199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5200 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 break 2
5204 done
5205 done
5209 STRIP=$ac_cv_prog_STRIP
5210 if test -n "$STRIP"; then
5211 echo "$as_me:$LINENO: result: $STRIP" >&5
5212 echo "${ECHO_T}$STRIP" >&6
5213 else
5214 echo "$as_me:$LINENO: result: no" >&5
5215 echo "${ECHO_T}no" >&6
5219 if test -z "$ac_cv_prog_STRIP"; then
5220 ac_ct_STRIP=$STRIP
5221 # Extract the first word of "strip", so it can be a program name with args.
5222 set dummy strip; ac_word=$2
5223 echo "$as_me:$LINENO: checking for $ac_word" >&5
5224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5225 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 else
5228 if test -n "$ac_ct_STRIP"; then
5229 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5230 else
5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232 for as_dir in $PATH
5234 IFS=$as_save_IFS
5235 test -z "$as_dir" && as_dir=.
5236 for ac_exec_ext in '' $ac_executable_extensions; do
5237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5238 ac_cv_prog_ac_ct_STRIP="strip"
5239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5240 break 2
5242 done
5243 done
5245 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5248 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5249 if test -n "$ac_ct_STRIP"; then
5250 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5251 echo "${ECHO_T}$ac_ct_STRIP" >&6
5252 else
5253 echo "$as_me:$LINENO: result: no" >&5
5254 echo "${ECHO_T}no" >&6
5257 STRIP=$ac_ct_STRIP
5258 else
5259 STRIP="$ac_cv_prog_STRIP"
5262 test -z "$STRIP" && STRIP=:
5269 if test -n "$ac_tool_prefix"; then
5270 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5271 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5272 echo "$as_me:$LINENO: checking for $ac_word" >&5
5273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5274 if test "${ac_cv_prog_RANLIB+set}" = set; then
5275 echo $ECHO_N "(cached) $ECHO_C" >&6
5276 else
5277 if test -n "$RANLIB"; then
5278 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5279 else
5280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5281 for as_dir in $PATH
5283 IFS=$as_save_IFS
5284 test -z "$as_dir" && as_dir=.
5285 for ac_exec_ext in '' $ac_executable_extensions; do
5286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5287 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5289 break 2
5291 done
5292 done
5296 RANLIB=$ac_cv_prog_RANLIB
5297 if test -n "$RANLIB"; then
5298 echo "$as_me:$LINENO: result: $RANLIB" >&5
5299 echo "${ECHO_T}$RANLIB" >&6
5300 else
5301 echo "$as_me:$LINENO: result: no" >&5
5302 echo "${ECHO_T}no" >&6
5306 if test -z "$ac_cv_prog_RANLIB"; then
5307 ac_ct_RANLIB=$RANLIB
5308 # Extract the first word of "ranlib", so it can be a program name with args.
5309 set dummy ranlib; ac_word=$2
5310 echo "$as_me:$LINENO: checking for $ac_word" >&5
5311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5312 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5313 echo $ECHO_N "(cached) $ECHO_C" >&6
5314 else
5315 if test -n "$ac_ct_RANLIB"; then
5316 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5317 else
5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5319 for as_dir in $PATH
5321 IFS=$as_save_IFS
5322 test -z "$as_dir" && as_dir=.
5323 for ac_exec_ext in '' $ac_executable_extensions; do
5324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5325 ac_cv_prog_ac_ct_RANLIB="ranlib"
5326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5327 break 2
5329 done
5330 done
5332 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5335 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5336 if test -n "$ac_ct_RANLIB"; then
5337 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5338 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5339 else
5340 echo "$as_me:$LINENO: result: no" >&5
5341 echo "${ECHO_T}no" >&6
5344 RANLIB=$ac_ct_RANLIB
5345 else
5346 RANLIB="$ac_cv_prog_RANLIB"
5349 test -z "$RANLIB" && RANLIB=:
5356 # Determine commands to create old-style static archives.
5357 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5358 old_postinstall_cmds='chmod 644 $oldlib'
5359 old_postuninstall_cmds=
5361 if test -n "$RANLIB"; then
5362 case $host_os in
5363 openbsd*)
5364 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5367 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5369 esac
5370 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5406 # If no C compiler was specified, use CC.
5407 LTCC=${LTCC-"$CC"}
5409 # If no C compiler flags were specified, use CFLAGS.
5410 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5412 # Allow CC to be a program name with arguments.
5413 compiler=$CC
5416 # Check for command to grab the raw symbol name followed by C symbol from nm.
5417 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5418 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5419 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5420 echo $ECHO_N "(cached) $ECHO_C" >&6
5421 else
5423 # These are sane defaults that work on at least a few old systems.
5424 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5426 # Character class describing NM global symbol codes.
5427 symcode='[BCDEGRST]'
5429 # Regexp to match symbols that can be accessed directly from C.
5430 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5432 # Define system-specific variables.
5433 case $host_os in
5434 aix*)
5435 symcode='[BCDT]'
5437 cygwin* | mingw* | pw32*)
5438 symcode='[ABCDGISTW]'
5440 hpux*)
5441 if test "$host_cpu" = ia64; then
5442 symcode='[ABCDEGRST]'
5445 irix* | nonstopux*)
5446 symcode='[BCDEGRST]'
5448 osf*)
5449 symcode='[BCDEGQRST]'
5451 solaris*)
5452 symcode='[BDRT]'
5454 sco3.2v5*)
5455 symcode='[DT]'
5457 sysv4.2uw2*)
5458 symcode='[DT]'
5460 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5461 symcode='[ABDT]'
5463 sysv4)
5464 symcode='[DFNSTU]'
5466 esac
5468 # If we're using GNU nm, then use its standard symbol codes.
5469 case `$NM -V 2>&1` in
5470 *GNU* | *'with BFD'*)
5471 symcode='[ABCDGIRSTW]' ;;
5472 esac
5474 # Transform an extracted symbol line into a proper C declaration.
5475 # Some systems (esp. on ia64) link data and code symbols differently,
5476 # so use this general approach.
5477 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5479 # Transform an extracted symbol line into symbol name and symbol address
5480 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5482 # Handle CRLF in mingw tool chain
5483 opt_cr=
5484 case $build_os in
5485 mingw*)
5486 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5488 esac
5490 # Try without a prefix underscore, then with it.
5491 for ac_symprfx in "" "_"; do
5493 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5494 symxfrm="\\1 $ac_symprfx\\2 \\2"
5496 # Write the raw and C identifiers.
5497 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5498 # Fake it for dumpbin and say T for any non-static function
5499 # and D for any global variable.
5500 # Also find C++ and __fastcall symbols from MSVC++,
5501 # which start with @ or ?.
5502 lt_cv_sys_global_symbol_pipe="$AWK '"\
5503 " {last_section=section; section=\$ 3};"\
5504 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5505 " \$ 0!~/External *\|/{next};"\
5506 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5507 " {if(hide[section]) next};"\
5508 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5509 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5510 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5511 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5512 " ' prfx=^$ac_symprfx"
5513 else
5514 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5517 # Check to see that the pipe works correctly.
5518 pipe_works=no
5520 rm -f conftest*
5521 cat > conftest.$ac_ext <<_LT_EOF
5522 #ifdef __cplusplus
5523 extern "C" {
5524 #endif
5525 char nm_test_var;
5526 void nm_test_func(void);
5527 void nm_test_func(void){}
5528 #ifdef __cplusplus
5530 #endif
5531 int main(){nm_test_var='a';nm_test_func();return(0);}
5532 _LT_EOF
5534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5535 (eval $ac_compile) 2>&5
5536 ac_status=$?
5537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5538 (exit $ac_status); }; then
5539 # Now try to grab the symbols.
5540 nlist=conftest.nm
5541 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5542 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5543 ac_status=$?
5544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545 (exit $ac_status); } && test -s "$nlist"; then
5546 # Try sorting and uniquifying the output.
5547 if sort "$nlist" | uniq > "$nlist"T; then
5548 mv -f "$nlist"T "$nlist"
5549 else
5550 rm -f "$nlist"T
5553 # Make sure that we snagged all the symbols we need.
5554 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5555 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5556 cat <<_LT_EOF > conftest.$ac_ext
5557 #ifdef __cplusplus
5558 extern "C" {
5559 #endif
5561 _LT_EOF
5562 # Now generate the symbol file.
5563 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5565 cat <<_LT_EOF >> conftest.$ac_ext
5567 /* The mapping between symbol names and symbols. */
5568 const struct {
5569 const char *name;
5570 void *address;
5572 lt__PROGRAM__LTX_preloaded_symbols[] =
5574 { "@PROGRAM@", (void *) 0 },
5575 _LT_EOF
5576 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5577 cat <<\_LT_EOF >> conftest.$ac_ext
5578 {0, (void *) 0}
5581 /* This works around a problem in FreeBSD linker */
5582 #ifdef FREEBSD_WORKAROUND
5583 static const void *lt_preloaded_setup() {
5584 return lt__PROGRAM__LTX_preloaded_symbols;
5586 #endif
5588 #ifdef __cplusplus
5590 #endif
5591 _LT_EOF
5592 # Now try linking the two files.
5593 mv conftest.$ac_objext conftstm.$ac_objext
5594 lt_save_LIBS="$LIBS"
5595 lt_save_CFLAGS="$CFLAGS"
5596 LIBS="conftstm.$ac_objext"
5597 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5599 (eval $ac_link) 2>&5
5600 ac_status=$?
5601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5603 pipe_works=yes
5605 LIBS="$lt_save_LIBS"
5606 CFLAGS="$lt_save_CFLAGS"
5607 else
5608 echo "cannot find nm_test_func in $nlist" >&5
5610 else
5611 echo "cannot find nm_test_var in $nlist" >&5
5613 else
5614 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5616 else
5617 echo "$progname: failed program was:" >&5
5618 cat conftest.$ac_ext >&5
5620 rm -f conftest* conftst*
5622 # Do not use the global_symbol_pipe unless it works.
5623 if test "$pipe_works" = yes; then
5624 break
5625 else
5626 lt_cv_sys_global_symbol_pipe=
5628 done
5632 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5633 lt_cv_sys_global_symbol_to_cdecl=
5635 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5636 echo "$as_me:$LINENO: result: failed" >&5
5637 echo "${ECHO_T}failed" >&6
5638 else
5639 echo "$as_me:$LINENO: result: ok" >&5
5640 echo "${ECHO_T}ok" >&6
5659 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5660 if test "${enable_libtool_lock+set}" = set; then
5661 enableval="$enable_libtool_lock"
5664 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5666 # Some flags need to be propagated to the compiler or linker for good
5667 # libtool support.
5668 case $host in
5669 ia64-*-hpux*)
5670 # Find out which ABI we are using.
5671 echo 'int i;' > conftest.$ac_ext
5672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5673 (eval $ac_compile) 2>&5
5674 ac_status=$?
5675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5676 (exit $ac_status); }; then
5677 case `/usr/bin/file conftest.$ac_objext` in
5678 *ELF-32*)
5679 HPUX_IA64_MODE="32"
5681 *ELF-64*)
5682 HPUX_IA64_MODE="64"
5684 esac
5686 rm -rf conftest*
5688 *-*-irix6*)
5689 # Find out which ABI we are using.
5690 echo '#line 5690 "configure"' > conftest.$ac_ext
5691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5692 (eval $ac_compile) 2>&5
5693 ac_status=$?
5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695 (exit $ac_status); }; then
5696 if test "$lt_cv_prog_gnu_ld" = yes; then
5697 case `/usr/bin/file conftest.$ac_objext` in
5698 *32-bit*)
5699 LD="${LD-ld} -melf32bsmip"
5701 *N32*)
5702 LD="${LD-ld} -melf32bmipn32"
5704 *64-bit*)
5705 LD="${LD-ld} -melf64bmip"
5707 esac
5708 else
5709 case `/usr/bin/file conftest.$ac_objext` in
5710 *32-bit*)
5711 LD="${LD-ld} -32"
5713 *N32*)
5714 LD="${LD-ld} -n32"
5716 *64-bit*)
5717 LD="${LD-ld} -64"
5719 esac
5722 rm -rf conftest*
5725 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5726 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5727 # Find out which ABI we are using.
5728 echo 'int i;' > conftest.$ac_ext
5729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5730 (eval $ac_compile) 2>&5
5731 ac_status=$?
5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733 (exit $ac_status); }; then
5734 case `/usr/bin/file conftest.o` in
5735 *32-bit*)
5736 case $host in
5737 x86_64-*kfreebsd*-gnu)
5738 LD="${LD-ld} -m elf_i386_fbsd"
5740 x86_64-*linux*)
5741 LD="${LD-ld} -m elf_i386"
5743 ppc64-*linux*|powerpc64-*linux*)
5744 LD="${LD-ld} -m elf32ppclinux"
5746 s390x-*linux*)
5747 LD="${LD-ld} -m elf_s390"
5749 sparc64-*linux*)
5750 LD="${LD-ld} -m elf32_sparc"
5752 esac
5754 *64-bit*)
5755 case $host in
5756 x86_64-*kfreebsd*-gnu)
5757 LD="${LD-ld} -m elf_x86_64_fbsd"
5759 x86_64-*linux*)
5760 LD="${LD-ld} -m elf_x86_64"
5762 ppc*-*linux*|powerpc*-*linux*)
5763 LD="${LD-ld} -m elf64ppc"
5765 s390*-*linux*|s390*-*tpf*)
5766 LD="${LD-ld} -m elf64_s390"
5768 sparc*-*linux*)
5769 LD="${LD-ld} -m elf64_sparc"
5771 esac
5773 esac
5775 rm -rf conftest*
5778 *-*-sco3.2v5*)
5779 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5780 SAVE_CFLAGS="$CFLAGS"
5781 CFLAGS="$CFLAGS -belf"
5782 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5783 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5784 if test "${lt_cv_cc_needs_belf+set}" = set; then
5785 echo $ECHO_N "(cached) $ECHO_C" >&6
5786 else
5787 ac_ext=c
5788 ac_cpp='$CPP $CPPFLAGS'
5789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5793 if test x$gcc_no_link = xyes; then
5794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5796 { (exit 1); exit 1; }; }
5798 cat >conftest.$ac_ext <<_ACEOF
5799 /* confdefs.h. */
5800 _ACEOF
5801 cat confdefs.h >>conftest.$ac_ext
5802 cat >>conftest.$ac_ext <<_ACEOF
5803 /* end confdefs.h. */
5806 main ()
5810 return 0;
5812 _ACEOF
5813 rm -f conftest.$ac_objext conftest$ac_exeext
5814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5815 (eval $ac_link) 2>conftest.er1
5816 ac_status=$?
5817 grep -v '^ *+' conftest.er1 >conftest.err
5818 rm -f conftest.er1
5819 cat conftest.err >&5
5820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5821 (exit $ac_status); } &&
5822 { ac_try='test -z "$ac_c_werror_flag"
5823 || test ! -s conftest.err'
5824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5825 (eval $ac_try) 2>&5
5826 ac_status=$?
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); }; } &&
5829 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
5835 lt_cv_cc_needs_belf=yes
5836 else
5837 echo "$as_me: failed program was:" >&5
5838 sed 's/^/| /' conftest.$ac_ext >&5
5840 lt_cv_cc_needs_belf=no
5842 rm -f conftest.err conftest.$ac_objext \
5843 conftest$ac_exeext conftest.$ac_ext
5844 ac_ext=c
5845 ac_cpp='$CPP $CPPFLAGS'
5846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5851 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5852 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5853 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5854 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5855 CFLAGS="$SAVE_CFLAGS"
5858 sparc*-*solaris*)
5859 # Find out which ABI we are using.
5860 echo 'int i;' > conftest.$ac_ext
5861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5862 (eval $ac_compile) 2>&5
5863 ac_status=$?
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); }; then
5866 case `/usr/bin/file conftest.o` in
5867 *64-bit*)
5868 case $lt_cv_prog_gnu_ld in
5869 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5870 *) LD="${LD-ld} -64" ;;
5871 esac
5873 esac
5875 rm -rf conftest*
5877 esac
5879 need_locks="$enable_libtool_lock"
5881 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5882 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5883 if test "${ac_cv_header_stdc+set}" = set; then
5884 echo $ECHO_N "(cached) $ECHO_C" >&6
5885 else
5886 cat >conftest.$ac_ext <<_ACEOF
5887 /* confdefs.h. */
5888 _ACEOF
5889 cat confdefs.h >>conftest.$ac_ext
5890 cat >>conftest.$ac_ext <<_ACEOF
5891 /* end confdefs.h. */
5892 #include <stdlib.h>
5893 #include <stdarg.h>
5894 #include <string.h>
5895 #include <float.h>
5898 main ()
5902 return 0;
5904 _ACEOF
5905 rm -f conftest.$ac_objext
5906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5907 (eval $ac_compile) 2>conftest.er1
5908 ac_status=$?
5909 grep -v '^ *+' conftest.er1 >conftest.err
5910 rm -f conftest.er1
5911 cat conftest.err >&5
5912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913 (exit $ac_status); } &&
5914 { ac_try='test -z "$ac_c_werror_flag"
5915 || test ! -s conftest.err'
5916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5917 (eval $ac_try) 2>&5
5918 ac_status=$?
5919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5920 (exit $ac_status); }; } &&
5921 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
5927 ac_cv_header_stdc=yes
5928 else
5929 echo "$as_me: failed program was:" >&5
5930 sed 's/^/| /' conftest.$ac_ext >&5
5932 ac_cv_header_stdc=no
5934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5936 if test $ac_cv_header_stdc = yes; then
5937 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5938 cat >conftest.$ac_ext <<_ACEOF
5939 /* confdefs.h. */
5940 _ACEOF
5941 cat confdefs.h >>conftest.$ac_ext
5942 cat >>conftest.$ac_ext <<_ACEOF
5943 /* end confdefs.h. */
5944 #include <string.h>
5946 _ACEOF
5947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5948 $EGREP "memchr" >/dev/null 2>&1; then
5950 else
5951 ac_cv_header_stdc=no
5953 rm -f conftest*
5957 if test $ac_cv_header_stdc = yes; then
5958 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5959 cat >conftest.$ac_ext <<_ACEOF
5960 /* confdefs.h. */
5961 _ACEOF
5962 cat confdefs.h >>conftest.$ac_ext
5963 cat >>conftest.$ac_ext <<_ACEOF
5964 /* end confdefs.h. */
5965 #include <stdlib.h>
5967 _ACEOF
5968 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5969 $EGREP "free" >/dev/null 2>&1; then
5971 else
5972 ac_cv_header_stdc=no
5974 rm -f conftest*
5978 if test $ac_cv_header_stdc = yes; then
5979 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5980 if test "$cross_compiling" = yes; then
5982 else
5983 cat >conftest.$ac_ext <<_ACEOF
5984 /* confdefs.h. */
5985 _ACEOF
5986 cat confdefs.h >>conftest.$ac_ext
5987 cat >>conftest.$ac_ext <<_ACEOF
5988 /* end confdefs.h. */
5989 #include <ctype.h>
5990 #if ((' ' & 0x0FF) == 0x020)
5991 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5992 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5993 #else
5994 # define ISLOWER(c) \
5995 (('a' <= (c) && (c) <= 'i') \
5996 || ('j' <= (c) && (c) <= 'r') \
5997 || ('s' <= (c) && (c) <= 'z'))
5998 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5999 #endif
6001 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6003 main ()
6005 int i;
6006 for (i = 0; i < 256; i++)
6007 if (XOR (islower (i), ISLOWER (i))
6008 || toupper (i) != TOUPPER (i))
6009 exit(2);
6010 exit (0);
6012 _ACEOF
6013 rm -f conftest$ac_exeext
6014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6015 (eval $ac_link) 2>&5
6016 ac_status=$?
6017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6018 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6020 (eval $ac_try) 2>&5
6021 ac_status=$?
6022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6023 (exit $ac_status); }; }; then
6025 else
6026 echo "$as_me: program exited with status $ac_status" >&5
6027 echo "$as_me: failed program was:" >&5
6028 sed 's/^/| /' conftest.$ac_ext >&5
6030 ( exit $ac_status )
6031 ac_cv_header_stdc=no
6033 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6037 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6038 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6039 if test $ac_cv_header_stdc = yes; then
6041 cat >>confdefs.h <<\_ACEOF
6042 #define STDC_HEADERS 1
6043 _ACEOF
6047 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6057 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6058 inttypes.h stdint.h unistd.h
6060 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6061 echo "$as_me:$LINENO: checking for $ac_header" >&5
6062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6064 echo $ECHO_N "(cached) $ECHO_C" >&6
6065 else
6066 cat >conftest.$ac_ext <<_ACEOF
6067 /* confdefs.h. */
6068 _ACEOF
6069 cat confdefs.h >>conftest.$ac_ext
6070 cat >>conftest.$ac_ext <<_ACEOF
6071 /* end confdefs.h. */
6072 $ac_includes_default
6074 #include <$ac_header>
6075 _ACEOF
6076 rm -f conftest.$ac_objext
6077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6078 (eval $ac_compile) 2>conftest.er1
6079 ac_status=$?
6080 grep -v '^ *+' conftest.er1 >conftest.err
6081 rm -f conftest.er1
6082 cat conftest.err >&5
6083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6084 (exit $ac_status); } &&
6085 { ac_try='test -z "$ac_c_werror_flag"
6086 || test ! -s conftest.err'
6087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6088 (eval $ac_try) 2>&5
6089 ac_status=$?
6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); }; } &&
6092 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
6098 eval "$as_ac_Header=yes"
6099 else
6100 echo "$as_me: failed program was:" >&5
6101 sed 's/^/| /' conftest.$ac_ext >&5
6103 eval "$as_ac_Header=no"
6105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6109 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6110 cat >>confdefs.h <<_ACEOF
6111 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6112 _ACEOF
6116 done
6120 for ac_header in dlfcn.h
6122 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6123 echo "$as_me:$LINENO: checking for $ac_header" >&5
6124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6126 echo $ECHO_N "(cached) $ECHO_C" >&6
6127 else
6128 cat >conftest.$ac_ext <<_ACEOF
6129 /* confdefs.h. */
6130 _ACEOF
6131 cat confdefs.h >>conftest.$ac_ext
6132 cat >>conftest.$ac_ext <<_ACEOF
6133 /* end confdefs.h. */
6134 $ac_includes_default
6136 #include <$ac_header>
6137 _ACEOF
6138 rm -f conftest.$ac_objext
6139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6140 (eval $ac_compile) 2>conftest.er1
6141 ac_status=$?
6142 grep -v '^ *+' conftest.er1 >conftest.err
6143 rm -f conftest.er1
6144 cat conftest.err >&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); } &&
6147 { ac_try='test -z "$ac_c_werror_flag"
6148 || test ! -s conftest.err'
6149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6150 (eval $ac_try) 2>&5
6151 ac_status=$?
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); }; } &&
6154 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
6160 eval "$as_ac_Header=yes"
6161 else
6162 echo "$as_me: failed program was:" >&5
6163 sed 's/^/| /' conftest.$ac_ext >&5
6165 eval "$as_ac_Header=no"
6167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6172 cat >>confdefs.h <<_ACEOF
6173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6174 _ACEOF
6178 done
6182 ac_ext=cc
6183 ac_cpp='$CXXCPP $CPPFLAGS'
6184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6187 if test -n "$ac_tool_prefix"; then
6188 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6190 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6191 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6192 echo "$as_me:$LINENO: checking for $ac_word" >&5
6193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6194 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6195 echo $ECHO_N "(cached) $ECHO_C" >&6
6196 else
6197 if test -n "$CXX"; then
6198 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6199 else
6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6201 for as_dir in $PATH
6203 IFS=$as_save_IFS
6204 test -z "$as_dir" && as_dir=.
6205 for ac_exec_ext in '' $ac_executable_extensions; do
6206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6207 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6209 break 2
6211 done
6212 done
6216 CXX=$glibcxx_cv_prog_CXX
6217 if test -n "$CXX"; then
6218 echo "$as_me:$LINENO: result: $CXX" >&5
6219 echo "${ECHO_T}$CXX" >&6
6220 else
6221 echo "$as_me:$LINENO: result: no" >&5
6222 echo "${ECHO_T}no" >&6
6225 test -n "$CXX" && break
6226 done
6228 if test -z "$CXX"; then
6229 ac_ct_CXX=$CXX
6230 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6232 # Extract the first word of "$ac_prog", so it can be a program name with args.
6233 set dummy $ac_prog; ac_word=$2
6234 echo "$as_me:$LINENO: checking for $ac_word" >&5
6235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6236 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6237 echo $ECHO_N "(cached) $ECHO_C" >&6
6238 else
6239 if test -n "$ac_ct_CXX"; then
6240 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6241 else
6242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6243 for as_dir in $PATH
6245 IFS=$as_save_IFS
6246 test -z "$as_dir" && as_dir=.
6247 for ac_exec_ext in '' $ac_executable_extensions; do
6248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6249 ac_cv_prog_ac_ct_CXX="$ac_prog"
6250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6251 break 2
6253 done
6254 done
6258 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6259 if test -n "$ac_ct_CXX"; then
6260 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6261 echo "${ECHO_T}$ac_ct_CXX" >&6
6262 else
6263 echo "$as_me:$LINENO: result: no" >&5
6264 echo "${ECHO_T}no" >&6
6267 test -n "$ac_ct_CXX" && break
6268 done
6269 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6271 CXX=$ac_ct_CXX
6275 # Provide some information about the compiler.
6276 echo "$as_me:$LINENO:" \
6277 "checking for C++ compiler version" >&5
6278 ac_compiler=`set X $ac_compile; echo $2`
6279 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6280 (eval $ac_compiler --version </dev/null >&5) 2>&5
6281 ac_status=$?
6282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6283 (exit $ac_status); }
6284 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6285 (eval $ac_compiler -v </dev/null >&5) 2>&5
6286 ac_status=$?
6287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6288 (exit $ac_status); }
6289 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6290 (eval $ac_compiler -V </dev/null >&5) 2>&5
6291 ac_status=$?
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); }
6295 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6296 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6297 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6298 echo $ECHO_N "(cached) $ECHO_C" >&6
6299 else
6300 cat >conftest.$ac_ext <<_ACEOF
6301 /* confdefs.h. */
6302 _ACEOF
6303 cat confdefs.h >>conftest.$ac_ext
6304 cat >>conftest.$ac_ext <<_ACEOF
6305 /* end confdefs.h. */
6308 main ()
6310 #ifndef __GNUC__
6311 choke me
6312 #endif
6315 return 0;
6317 _ACEOF
6318 rm -f conftest.$ac_objext
6319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6320 (eval $ac_compile) 2>conftest.er1
6321 ac_status=$?
6322 grep -v '^ *+' conftest.er1 >conftest.err
6323 rm -f conftest.er1
6324 cat conftest.err >&5
6325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6326 (exit $ac_status); } &&
6327 { ac_try='test -z "$ac_cxx_werror_flag"
6328 || test ! -s conftest.err'
6329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6330 (eval $ac_try) 2>&5
6331 ac_status=$?
6332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333 (exit $ac_status); }; } &&
6334 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
6340 ac_compiler_gnu=yes
6341 else
6342 echo "$as_me: failed program was:" >&5
6343 sed 's/^/| /' conftest.$ac_ext >&5
6345 ac_compiler_gnu=no
6347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6348 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6351 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6352 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6353 GXX=`test $ac_compiler_gnu = yes && echo yes`
6354 ac_test_CXXFLAGS=${CXXFLAGS+set}
6355 ac_save_CXXFLAGS=$CXXFLAGS
6356 CXXFLAGS="-g"
6357 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6358 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6359 if test "${ac_cv_prog_cxx_g+set}" = set; then
6360 echo $ECHO_N "(cached) $ECHO_C" >&6
6361 else
6362 cat >conftest.$ac_ext <<_ACEOF
6363 /* confdefs.h. */
6364 _ACEOF
6365 cat confdefs.h >>conftest.$ac_ext
6366 cat >>conftest.$ac_ext <<_ACEOF
6367 /* end confdefs.h. */
6370 main ()
6374 return 0;
6376 _ACEOF
6377 rm -f conftest.$ac_objext
6378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6379 (eval $ac_compile) 2>conftest.er1
6380 ac_status=$?
6381 grep -v '^ *+' conftest.er1 >conftest.err
6382 rm -f conftest.er1
6383 cat conftest.err >&5
6384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6385 (exit $ac_status); } &&
6386 { ac_try='test -z "$ac_cxx_werror_flag"
6387 || test ! -s conftest.err'
6388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6389 (eval $ac_try) 2>&5
6390 ac_status=$?
6391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392 (exit $ac_status); }; } &&
6393 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
6399 ac_cv_prog_cxx_g=yes
6400 else
6401 echo "$as_me: failed program was:" >&5
6402 sed 's/^/| /' conftest.$ac_ext >&5
6404 ac_cv_prog_cxx_g=no
6406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6408 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6409 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6410 if test "$ac_test_CXXFLAGS" = set; then
6411 CXXFLAGS=$ac_save_CXXFLAGS
6412 elif test $ac_cv_prog_cxx_g = yes; then
6413 if test "$GXX" = yes; then
6414 CXXFLAGS="-g -O2"
6415 else
6416 CXXFLAGS="-g"
6418 else
6419 if test "$GXX" = yes; then
6420 CXXFLAGS="-O2"
6421 else
6422 CXXFLAGS=
6425 for ac_declaration in \
6426 '' \
6427 'extern "C" void std::exit (int) throw (); using std::exit;' \
6428 'extern "C" void std::exit (int); using std::exit;' \
6429 'extern "C" void exit (int) throw ();' \
6430 'extern "C" void exit (int);' \
6431 'void exit (int);'
6433 cat >conftest.$ac_ext <<_ACEOF
6434 /* confdefs.h. */
6435 _ACEOF
6436 cat confdefs.h >>conftest.$ac_ext
6437 cat >>conftest.$ac_ext <<_ACEOF
6438 /* end confdefs.h. */
6439 $ac_declaration
6440 #include <stdlib.h>
6442 main ()
6444 exit (42);
6446 return 0;
6448 _ACEOF
6449 rm -f conftest.$ac_objext
6450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6451 (eval $ac_compile) 2>conftest.er1
6452 ac_status=$?
6453 grep -v '^ *+' conftest.er1 >conftest.err
6454 rm -f conftest.er1
6455 cat conftest.err >&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); } &&
6458 { ac_try='test -z "$ac_cxx_werror_flag"
6459 || test ! -s conftest.err'
6460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6461 (eval $ac_try) 2>&5
6462 ac_status=$?
6463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6464 (exit $ac_status); }; } &&
6465 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
6472 else
6473 echo "$as_me: failed program was:" >&5
6474 sed 's/^/| /' conftest.$ac_ext >&5
6476 continue
6478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6479 cat >conftest.$ac_ext <<_ACEOF
6480 /* confdefs.h. */
6481 _ACEOF
6482 cat confdefs.h >>conftest.$ac_ext
6483 cat >>conftest.$ac_ext <<_ACEOF
6484 /* end confdefs.h. */
6485 $ac_declaration
6487 main ()
6489 exit (42);
6491 return 0;
6493 _ACEOF
6494 rm -f conftest.$ac_objext
6495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6496 (eval $ac_compile) 2>conftest.er1
6497 ac_status=$?
6498 grep -v '^ *+' conftest.er1 >conftest.err
6499 rm -f conftest.er1
6500 cat conftest.err >&5
6501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 (exit $ac_status); } &&
6503 { ac_try='test -z "$ac_cxx_werror_flag"
6504 || test ! -s conftest.err'
6505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6506 (eval $ac_try) 2>&5
6507 ac_status=$?
6508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509 (exit $ac_status); }; } &&
6510 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
6516 break
6517 else
6518 echo "$as_me: failed program was:" >&5
6519 sed 's/^/| /' conftest.$ac_ext >&5
6522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6523 done
6524 rm -f conftest*
6525 if test -n "$ac_declaration"; then
6526 echo '#ifdef __cplusplus' >>confdefs.h
6527 echo $ac_declaration >>confdefs.h
6528 echo '#endif' >>confdefs.h
6531 ac_ext=c
6532 ac_cpp='$CPP $CPPFLAGS'
6533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6537 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6538 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6539 (test "X$CXX" != "Xg++"))) ; then
6540 ac_ext=cc
6541 ac_cpp='$CXXCPP $CPPFLAGS'
6542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6545 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6546 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6547 if test -z "$CXXCPP"; then
6548 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6549 echo $ECHO_N "(cached) $ECHO_C" >&6
6550 else
6551 # Double quotes because CXXCPP needs to be expanded
6552 for CXXCPP in "$CXX -E" "/lib/cpp"
6554 ac_preproc_ok=false
6555 for ac_cxx_preproc_warn_flag in '' yes
6557 # Use a header file that comes with gcc, so configuring glibc
6558 # with a fresh cross-compiler works.
6559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6560 # <limits.h> exists even on freestanding compilers.
6561 # On the NeXT, cc -E runs the code through the compiler's parser,
6562 # not just through cpp. "Syntax error" is here to catch this case.
6563 cat >conftest.$ac_ext <<_ACEOF
6564 /* confdefs.h. */
6565 _ACEOF
6566 cat confdefs.h >>conftest.$ac_ext
6567 cat >>conftest.$ac_ext <<_ACEOF
6568 /* end confdefs.h. */
6569 #ifdef __STDC__
6570 # include <limits.h>
6571 #else
6572 # include <assert.h>
6573 #endif
6574 Syntax error
6575 _ACEOF
6576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6577 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6578 ac_status=$?
6579 grep -v '^ *+' conftest.er1 >conftest.err
6580 rm -f conftest.er1
6581 cat conftest.err >&5
6582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583 (exit $ac_status); } >/dev/null; then
6584 if test -s conftest.err; then
6585 ac_cpp_err=$ac_cxx_preproc_warn_flag
6586 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6587 else
6588 ac_cpp_err=
6590 else
6591 ac_cpp_err=yes
6593 if test -z "$ac_cpp_err"; then
6595 else
6596 echo "$as_me: failed program was:" >&5
6597 sed 's/^/| /' conftest.$ac_ext >&5
6599 # Broken: fails on valid input.
6600 continue
6602 rm -f conftest.err conftest.$ac_ext
6604 # OK, works on sane cases. Now check whether non-existent headers
6605 # can be detected and how.
6606 cat >conftest.$ac_ext <<_ACEOF
6607 /* confdefs.h. */
6608 _ACEOF
6609 cat confdefs.h >>conftest.$ac_ext
6610 cat >>conftest.$ac_ext <<_ACEOF
6611 /* end confdefs.h. */
6612 #include <ac_nonexistent.h>
6613 _ACEOF
6614 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6615 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6616 ac_status=$?
6617 grep -v '^ *+' conftest.er1 >conftest.err
6618 rm -f conftest.er1
6619 cat conftest.err >&5
6620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6621 (exit $ac_status); } >/dev/null; then
6622 if test -s conftest.err; then
6623 ac_cpp_err=$ac_cxx_preproc_warn_flag
6624 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6625 else
6626 ac_cpp_err=
6628 else
6629 ac_cpp_err=yes
6631 if test -z "$ac_cpp_err"; then
6632 # Broken: success on invalid input.
6633 continue
6634 else
6635 echo "$as_me: failed program was:" >&5
6636 sed 's/^/| /' conftest.$ac_ext >&5
6638 # Passes both tests.
6639 ac_preproc_ok=:
6640 break
6642 rm -f conftest.err conftest.$ac_ext
6644 done
6645 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6646 rm -f conftest.err conftest.$ac_ext
6647 if $ac_preproc_ok; then
6648 break
6651 done
6652 ac_cv_prog_CXXCPP=$CXXCPP
6655 CXXCPP=$ac_cv_prog_CXXCPP
6656 else
6657 ac_cv_prog_CXXCPP=$CXXCPP
6659 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6660 echo "${ECHO_T}$CXXCPP" >&6
6661 ac_preproc_ok=false
6662 for ac_cxx_preproc_warn_flag in '' yes
6664 # Use a header file that comes with gcc, so configuring glibc
6665 # with a fresh cross-compiler works.
6666 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6667 # <limits.h> exists even on freestanding compilers.
6668 # On the NeXT, cc -E runs the code through the compiler's parser,
6669 # not just through cpp. "Syntax error" is here to catch this case.
6670 cat >conftest.$ac_ext <<_ACEOF
6671 /* confdefs.h. */
6672 _ACEOF
6673 cat confdefs.h >>conftest.$ac_ext
6674 cat >>conftest.$ac_ext <<_ACEOF
6675 /* end confdefs.h. */
6676 #ifdef __STDC__
6677 # include <limits.h>
6678 #else
6679 # include <assert.h>
6680 #endif
6681 Syntax error
6682 _ACEOF
6683 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6684 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6685 ac_status=$?
6686 grep -v '^ *+' conftest.er1 >conftest.err
6687 rm -f conftest.er1
6688 cat conftest.err >&5
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); } >/dev/null; then
6691 if test -s conftest.err; then
6692 ac_cpp_err=$ac_cxx_preproc_warn_flag
6693 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6694 else
6695 ac_cpp_err=
6697 else
6698 ac_cpp_err=yes
6700 if test -z "$ac_cpp_err"; then
6702 else
6703 echo "$as_me: failed program was:" >&5
6704 sed 's/^/| /' conftest.$ac_ext >&5
6706 # Broken: fails on valid input.
6707 continue
6709 rm -f conftest.err conftest.$ac_ext
6711 # OK, works on sane cases. Now check whether non-existent headers
6712 # can be detected and how.
6713 cat >conftest.$ac_ext <<_ACEOF
6714 /* confdefs.h. */
6715 _ACEOF
6716 cat confdefs.h >>conftest.$ac_ext
6717 cat >>conftest.$ac_ext <<_ACEOF
6718 /* end confdefs.h. */
6719 #include <ac_nonexistent.h>
6720 _ACEOF
6721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6723 ac_status=$?
6724 grep -v '^ *+' conftest.er1 >conftest.err
6725 rm -f conftest.er1
6726 cat conftest.err >&5
6727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6728 (exit $ac_status); } >/dev/null; then
6729 if test -s conftest.err; then
6730 ac_cpp_err=$ac_cxx_preproc_warn_flag
6731 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6732 else
6733 ac_cpp_err=
6735 else
6736 ac_cpp_err=yes
6738 if test -z "$ac_cpp_err"; then
6739 # Broken: success on invalid input.
6740 continue
6741 else
6742 echo "$as_me: failed program was:" >&5
6743 sed 's/^/| /' conftest.$ac_ext >&5
6745 # Passes both tests.
6746 ac_preproc_ok=:
6747 break
6749 rm -f conftest.err conftest.$ac_ext
6751 done
6752 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6753 rm -f conftest.err conftest.$ac_ext
6754 if $ac_preproc_ok; then
6756 else
6757 _lt_caught_CXX_error=yes
6760 ac_ext=c
6761 ac_cpp='$CPP $CPPFLAGS'
6762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6766 else
6767 _lt_caught_CXX_error=yes
6774 # This can be used to rebuild libtool when needed
6775 LIBTOOL_DEPS="$ltmain"
6777 # Always use our own libtool.
6778 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6804 test -z "$LN_S" && LN_S="ln -s"
6819 if test -n "${ZSH_VERSION+set}" ; then
6820 setopt NO_GLOB_SUBST
6823 echo "$as_me:$LINENO: checking for objdir" >&5
6824 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6825 if test "${lt_cv_objdir+set}" = set; then
6826 echo $ECHO_N "(cached) $ECHO_C" >&6
6827 else
6828 rm -f .libs 2>/dev/null
6829 mkdir .libs 2>/dev/null
6830 if test -d .libs; then
6831 lt_cv_objdir=.libs
6832 else
6833 # MS-DOS does not allow filenames that begin with a dot.
6834 lt_cv_objdir=_libs
6836 rmdir .libs 2>/dev/null
6838 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6839 echo "${ECHO_T}$lt_cv_objdir" >&6
6840 objdir=$lt_cv_objdir
6846 cat >>confdefs.h <<_ACEOF
6847 #define LT_OBJDIR "$lt_cv_objdir/"
6848 _ACEOF
6866 case $host_os in
6867 aix3*)
6868 # AIX sometimes has problems with the GCC collect2 program. For some
6869 # reason, if we set the COLLECT_NAMES environment variable, the problems
6870 # vanish in a puff of smoke.
6871 if test "X${COLLECT_NAMES+set}" != Xset; then
6872 COLLECT_NAMES=
6873 export COLLECT_NAMES
6876 esac
6878 # Sed substitution that helps us do robust quoting. It backslashifies
6879 # metacharacters that are still active within double-quoted strings.
6880 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6882 # Same as above, but do not quote variable references.
6883 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6885 # Sed substitution to delay expansion of an escaped shell variable in a
6886 # double_quote_subst'ed string.
6887 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6889 # Sed substitution to delay expansion of an escaped single quote.
6890 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6892 # Sed substitution to avoid accidental globbing in evaled expressions
6893 no_glob_subst='s/\*/\\\*/g'
6895 # Global variables:
6896 ofile=libtool
6897 can_build_shared=yes
6899 # All known linkers require a `.a' archive for static linking (except MSVC,
6900 # which needs '.lib').
6901 libext=a
6903 with_gnu_ld="$lt_cv_prog_gnu_ld"
6905 old_CC="$CC"
6906 old_CFLAGS="$CFLAGS"
6908 # Set sane defaults for various variables
6909 test -z "$CC" && CC=cc
6910 test -z "$LTCC" && LTCC=$CC
6911 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6912 test -z "$LD" && LD=ld
6913 test -z "$ac_objext" && ac_objext=o
6915 for cc_temp in $compiler""; do
6916 case $cc_temp in
6917 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6918 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6919 \-*) ;;
6920 *) break;;
6921 esac
6922 done
6923 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6926 # Only perform the check for file, if the check method requires it
6927 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6928 case $deplibs_check_method in
6929 file_magic*)
6930 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6931 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6932 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6933 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6934 echo $ECHO_N "(cached) $ECHO_C" >&6
6935 else
6936 case $MAGIC_CMD in
6937 [\\/*] | ?:[\\/]*)
6938 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6941 lt_save_MAGIC_CMD="$MAGIC_CMD"
6942 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6943 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6944 for ac_dir in $ac_dummy; do
6945 IFS="$lt_save_ifs"
6946 test -z "$ac_dir" && ac_dir=.
6947 if test -f $ac_dir/${ac_tool_prefix}file; then
6948 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6949 if test -n "$file_magic_test_file"; then
6950 case $deplibs_check_method in
6951 "file_magic "*)
6952 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6953 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6954 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6955 $EGREP "$file_magic_regex" > /dev/null; then
6957 else
6958 cat <<_LT_EOF 1>&2
6960 *** Warning: the command libtool uses to detect shared libraries,
6961 *** $file_magic_cmd, produces output that libtool cannot recognize.
6962 *** The result is that libtool may fail to recognize shared libraries
6963 *** as such. This will affect the creation of libtool libraries that
6964 *** depend on shared libraries, but programs linked with such libtool
6965 *** libraries will work regardless of this problem. Nevertheless, you
6966 *** may want to report the problem to your system manager and/or to
6967 *** bug-libtool@gnu.org
6969 _LT_EOF
6970 fi ;;
6971 esac
6973 break
6975 done
6976 IFS="$lt_save_ifs"
6977 MAGIC_CMD="$lt_save_MAGIC_CMD"
6979 esac
6982 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6983 if test -n "$MAGIC_CMD"; then
6984 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6985 echo "${ECHO_T}$MAGIC_CMD" >&6
6986 else
6987 echo "$as_me:$LINENO: result: no" >&5
6988 echo "${ECHO_T}no" >&6
6995 if test -z "$lt_cv_path_MAGIC_CMD"; then
6996 if test -n "$ac_tool_prefix"; then
6997 echo "$as_me:$LINENO: checking for file" >&5
6998 echo $ECHO_N "checking for file... $ECHO_C" >&6
6999 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7000 echo $ECHO_N "(cached) $ECHO_C" >&6
7001 else
7002 case $MAGIC_CMD in
7003 [\\/*] | ?:[\\/]*)
7004 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7007 lt_save_MAGIC_CMD="$MAGIC_CMD"
7008 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7009 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7010 for ac_dir in $ac_dummy; do
7011 IFS="$lt_save_ifs"
7012 test -z "$ac_dir" && ac_dir=.
7013 if test -f $ac_dir/file; then
7014 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7015 if test -n "$file_magic_test_file"; then
7016 case $deplibs_check_method in
7017 "file_magic "*)
7018 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7019 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7020 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7021 $EGREP "$file_magic_regex" > /dev/null; then
7023 else
7024 cat <<_LT_EOF 1>&2
7026 *** Warning: the command libtool uses to detect shared libraries,
7027 *** $file_magic_cmd, produces output that libtool cannot recognize.
7028 *** The result is that libtool may fail to recognize shared libraries
7029 *** as such. This will affect the creation of libtool libraries that
7030 *** depend on shared libraries, but programs linked with such libtool
7031 *** libraries will work regardless of this problem. Nevertheless, you
7032 *** may want to report the problem to your system manager and/or to
7033 *** bug-libtool@gnu.org
7035 _LT_EOF
7036 fi ;;
7037 esac
7039 break
7041 done
7042 IFS="$lt_save_ifs"
7043 MAGIC_CMD="$lt_save_MAGIC_CMD"
7045 esac
7048 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7049 if test -n "$MAGIC_CMD"; then
7050 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7051 echo "${ECHO_T}$MAGIC_CMD" >&6
7052 else
7053 echo "$as_me:$LINENO: result: no" >&5
7054 echo "${ECHO_T}no" >&6
7058 else
7059 MAGIC_CMD=:
7065 esac
7067 # Use C for the default configuration in the libtool script
7069 lt_save_CC="$CC"
7070 ac_ext=c
7071 ac_cpp='$CPP $CPPFLAGS'
7072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7077 # Source file extension for C test sources.
7078 ac_ext=c
7080 # Object file extension for compiled C test sources.
7081 objext=o
7082 objext=$objext
7084 # Code to be used in simple compile tests
7085 lt_simple_compile_test_code="int some_variable = 0;"
7087 # Code to be used in simple link tests
7088 lt_simple_link_test_code='int main(){return(0);}'
7096 # If no C compiler was specified, use CC.
7097 LTCC=${LTCC-"$CC"}
7099 # If no C compiler flags were specified, use CFLAGS.
7100 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7102 # Allow CC to be a program name with arguments.
7103 compiler=$CC
7105 # Save the default compiler, since it gets overwritten when the other
7106 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7107 compiler_DEFAULT=$CC
7109 # save warnings/boilerplate of simple test code
7110 ac_outfile=conftest.$ac_objext
7111 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7112 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7113 _lt_compiler_boilerplate=`cat conftest.err`
7114 $RM conftest*
7116 ac_outfile=conftest.$ac_objext
7117 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7118 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7119 _lt_linker_boilerplate=`cat conftest.err`
7120 $RM conftest*
7123 ## CAVEAT EMPTOR:
7124 ## There is no encapsulation within the following macros, do not change
7125 ## the running order or otherwise move them around unless you know exactly
7126 ## what you are doing...
7127 if test -n "$compiler"; then
7129 lt_prog_compiler_no_builtin_flag=
7131 if test "$GCC" = yes; then
7132 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7134 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7135 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7136 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7137 echo $ECHO_N "(cached) $ECHO_C" >&6
7138 else
7139 lt_cv_prog_compiler_rtti_exceptions=no
7140 ac_outfile=conftest.$ac_objext
7141 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7142 lt_compiler_flag="-fno-rtti -fno-exceptions"
7143 # Insert the option either (1) after the last *FLAGS variable, or
7144 # (2) before a word containing "conftest.", or (3) at the end.
7145 # Note that $ac_compile itself does not contain backslashes and begins
7146 # with a dollar sign (not a hyphen), so the echo should work correctly.
7147 # The option is referenced via a variable to avoid confusing sed.
7148 lt_compile=`echo "$ac_compile" | $SED \
7149 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7150 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7151 -e 's:$: $lt_compiler_flag:'`
7152 (eval echo "\"\$as_me:7152: $lt_compile\"" >&5)
7153 (eval "$lt_compile" 2>conftest.err)
7154 ac_status=$?
7155 cat conftest.err >&5
7156 echo "$as_me:7156: \$? = $ac_status" >&5
7157 if (exit $ac_status) && test -s "$ac_outfile"; then
7158 # The compiler can only warn and ignore the option if not recognized
7159 # So say no if there are warnings other than the usual output.
7160 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7161 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7162 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7163 lt_cv_prog_compiler_rtti_exceptions=yes
7166 $RM conftest*
7169 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7170 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7172 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7173 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7174 else
7185 lt_prog_compiler_wl=
7186 lt_prog_compiler_pic=
7187 lt_prog_compiler_static=
7189 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7190 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7192 if test "$GCC" = yes; then
7193 lt_prog_compiler_wl='-Wl,'
7194 lt_prog_compiler_static='-static'
7196 case $host_os in
7197 aix*)
7198 # All AIX code is PIC.
7199 if test "$host_cpu" = ia64; then
7200 # AIX 5 now supports IA64 processor
7201 lt_prog_compiler_static='-Bstatic'
7205 amigaos*)
7206 if test "$host_cpu" = m68k; then
7207 # FIXME: we need at least 68020 code to build shared libraries, but
7208 # adding the `-m68020' flag to GCC prevents building anything better,
7209 # like `-m68040'.
7210 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7214 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7215 # PIC is the default for these OSes.
7218 mingw* | cygwin* | pw32* | os2*)
7219 # This hack is so that the source file can tell whether it is being
7220 # built for inclusion in a dll (and should export symbols for example).
7221 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7222 # (--disable-auto-import) libraries
7223 lt_prog_compiler_pic='-DDLL_EXPORT'
7226 darwin* | rhapsody*)
7227 # PIC is the default on this platform
7228 # Common symbols not allowed in MH_DYLIB files
7229 lt_prog_compiler_pic='-fno-common'
7232 hpux*)
7233 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7234 # not for PA HP-UX.
7235 case $host_cpu in
7236 hppa*64*|ia64*)
7237 # +Z the default
7240 lt_prog_compiler_pic='-fPIC'
7242 esac
7245 interix[3-9]*)
7246 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7247 # Instead, we relocate shared libraries at runtime.
7250 msdosdjgpp*)
7251 # Just because we use GCC doesn't mean we suddenly get shared libraries
7252 # on systems that don't support them.
7253 lt_prog_compiler_can_build_shared=no
7254 enable_shared=no
7257 *nto* | *qnx*)
7258 # QNX uses GNU C++, but need to define -shared option too, otherwise
7259 # it will coredump.
7260 lt_prog_compiler_pic='-fPIC -shared'
7263 sysv4*MP*)
7264 if test -d /usr/nec; then
7265 lt_prog_compiler_pic=-Kconform_pic
7270 lt_prog_compiler_pic='-fPIC'
7272 esac
7273 else
7274 # PORTME Check for flag to pass linker flags through the system compiler.
7275 case $host_os in
7276 aix*)
7277 lt_prog_compiler_wl='-Wl,'
7278 if test "$host_cpu" = ia64; then
7279 # AIX 5 now supports IA64 processor
7280 lt_prog_compiler_static='-Bstatic'
7281 else
7282 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7285 darwin*)
7286 # PIC is the default on this platform
7287 # Common symbols not allowed in MH_DYLIB files
7288 case $cc_basename in
7289 xlc*)
7290 lt_prog_compiler_pic='-qnocommon'
7291 lt_prog_compiler_wl='-Wl,'
7293 esac
7296 mingw* | cygwin* | pw32* | os2*)
7297 # This hack is so that the source file can tell whether it is being
7298 # built for inclusion in a dll (and should export symbols for example).
7299 lt_prog_compiler_pic='-DDLL_EXPORT'
7302 hpux9* | hpux10* | hpux11*)
7303 lt_prog_compiler_wl='-Wl,'
7304 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7305 # not for PA HP-UX.
7306 case $host_cpu in
7307 hppa*64*|ia64*)
7308 # +Z the default
7311 lt_prog_compiler_pic='+Z'
7313 esac
7314 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7315 lt_prog_compiler_static='${wl}-a ${wl}archive'
7318 irix5* | irix6* | nonstopux*)
7319 lt_prog_compiler_wl='-Wl,'
7320 # PIC (with -KPIC) is the default.
7321 lt_prog_compiler_static='-non_shared'
7324 linux* | k*bsd*-gnu)
7325 case $cc_basename in
7326 icc* | ecc*)
7327 lt_prog_compiler_wl='-Wl,'
7328 lt_prog_compiler_pic='-KPIC'
7329 lt_prog_compiler_static='-static'
7331 pgcc* | pgf77* | pgf90* | pgf95*)
7332 # Portland Group compilers (*not* the Pentium gcc compiler,
7333 # which looks to be a dead project)
7334 lt_prog_compiler_wl='-Wl,'
7335 lt_prog_compiler_pic='-fpic'
7336 lt_prog_compiler_static='-Bstatic'
7338 ccc*)
7339 lt_prog_compiler_wl='-Wl,'
7340 # All Alpha code is PIC.
7341 lt_prog_compiler_static='-non_shared'
7344 case `$CC -V 2>&1 | sed 5q` in
7345 *Sun\ C*)
7346 # Sun C 5.9
7347 lt_prog_compiler_pic='-KPIC'
7348 lt_prog_compiler_static='-Bstatic'
7349 lt_prog_compiler_wl='-Wl,'
7351 *Sun\ F*)
7352 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7353 lt_prog_compiler_pic='-KPIC'
7354 lt_prog_compiler_static='-Bstatic'
7355 lt_prog_compiler_wl=''
7357 esac
7359 esac
7362 newsos6)
7363 lt_prog_compiler_pic='-KPIC'
7364 lt_prog_compiler_static='-Bstatic'
7367 *nto* | *qnx*)
7368 # QNX uses GNU C++, but need to define -shared option too, otherwise
7369 # it will coredump.
7370 lt_prog_compiler_pic='-fPIC -shared'
7373 osf3* | osf4* | osf5*)
7374 lt_prog_compiler_wl='-Wl,'
7375 # All OSF/1 code is PIC.
7376 lt_prog_compiler_static='-non_shared'
7379 rdos*)
7380 lt_prog_compiler_static='-non_shared'
7383 solaris*)
7384 lt_prog_compiler_pic='-KPIC'
7385 lt_prog_compiler_static='-Bstatic'
7386 case $cc_basename in
7387 f77* | f90* | f95*)
7388 lt_prog_compiler_wl='-Qoption ld ';;
7390 lt_prog_compiler_wl='-Wl,';;
7391 esac
7394 sunos4*)
7395 lt_prog_compiler_wl='-Qoption ld '
7396 lt_prog_compiler_pic='-PIC'
7397 lt_prog_compiler_static='-Bstatic'
7400 sysv4 | sysv4.2uw2* | sysv4.3*)
7401 lt_prog_compiler_wl='-Wl,'
7402 lt_prog_compiler_pic='-KPIC'
7403 lt_prog_compiler_static='-Bstatic'
7406 sysv4*MP*)
7407 if test -d /usr/nec ;then
7408 lt_prog_compiler_pic='-Kconform_pic'
7409 lt_prog_compiler_static='-Bstatic'
7413 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7414 lt_prog_compiler_wl='-Wl,'
7415 lt_prog_compiler_pic='-KPIC'
7416 lt_prog_compiler_static='-Bstatic'
7419 unicos*)
7420 lt_prog_compiler_wl='-Wl,'
7421 lt_prog_compiler_can_build_shared=no
7424 uts4*)
7425 lt_prog_compiler_pic='-pic'
7426 lt_prog_compiler_static='-Bstatic'
7430 lt_prog_compiler_can_build_shared=no
7432 esac
7435 case $host_os in
7436 # For platforms which do not support PIC, -DPIC is meaningless:
7437 *djgpp*)
7438 lt_prog_compiler_pic=
7441 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7443 esac
7444 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7445 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7453 # Check to make sure the PIC flag actually works.
7455 if test -n "$lt_prog_compiler_pic"; then
7456 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7457 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7458 if test "${lt_prog_compiler_pic_works+set}" = set; then
7459 echo $ECHO_N "(cached) $ECHO_C" >&6
7460 else
7461 lt_prog_compiler_pic_works=no
7462 ac_outfile=conftest.$ac_objext
7463 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7464 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7465 # Insert the option either (1) after the last *FLAGS variable, or
7466 # (2) before a word containing "conftest.", or (3) at the end.
7467 # Note that $ac_compile itself does not contain backslashes and begins
7468 # with a dollar sign (not a hyphen), so the echo should work correctly.
7469 # The option is referenced via a variable to avoid confusing sed.
7470 lt_compile=`echo "$ac_compile" | $SED \
7471 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7472 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7473 -e 's:$: $lt_compiler_flag:'`
7474 (eval echo "\"\$as_me:7474: $lt_compile\"" >&5)
7475 (eval "$lt_compile" 2>conftest.err)
7476 ac_status=$?
7477 cat conftest.err >&5
7478 echo "$as_me:7478: \$? = $ac_status" >&5
7479 if (exit $ac_status) && test -s "$ac_outfile"; then
7480 # The compiler can only warn and ignore the option if not recognized
7481 # So say no if there are warnings other than the usual output.
7482 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7483 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7484 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7485 lt_prog_compiler_pic_works=yes
7488 $RM conftest*
7491 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7492 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7494 if test x"$lt_prog_compiler_pic_works" = xyes; then
7495 case $lt_prog_compiler_pic in
7496 "" | " "*) ;;
7497 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7498 esac
7499 else
7500 lt_prog_compiler_pic=
7501 lt_prog_compiler_can_build_shared=no
7512 # Check to make sure the static flag actually works.
7514 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7515 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7516 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7517 if test "${lt_prog_compiler_static_works+set}" = set; then
7518 echo $ECHO_N "(cached) $ECHO_C" >&6
7519 else
7520 lt_prog_compiler_static_works=no
7521 save_LDFLAGS="$LDFLAGS"
7522 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7523 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7524 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7525 # The linker can only warn and ignore the option if not recognized
7526 # So say no if there are warnings
7527 if test -s conftest.err; then
7528 # Append any errors to the config.log.
7529 cat conftest.err 1>&5
7530 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7531 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7532 if diff conftest.exp conftest.er2 >/dev/null; then
7533 lt_prog_compiler_static_works=yes
7535 else
7536 lt_prog_compiler_static_works=yes
7539 $RM conftest*
7540 LDFLAGS="$save_LDFLAGS"
7543 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7544 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7546 if test x"$lt_prog_compiler_static_works" = xyes; then
7548 else
7549 lt_prog_compiler_static=
7558 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7559 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7560 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7561 echo $ECHO_N "(cached) $ECHO_C" >&6
7562 else
7563 lt_cv_prog_compiler_c_o=no
7564 $RM -r conftest 2>/dev/null
7565 mkdir conftest
7566 cd conftest
7567 mkdir out
7568 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7570 lt_compiler_flag="-o out/conftest2.$ac_objext"
7571 # Insert the option either (1) after the last *FLAGS variable, or
7572 # (2) before a word containing "conftest.", or (3) at the end.
7573 # Note that $ac_compile itself does not contain backslashes and begins
7574 # with a dollar sign (not a hyphen), so the echo should work correctly.
7575 lt_compile=`echo "$ac_compile" | $SED \
7576 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7577 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7578 -e 's:$: $lt_compiler_flag:'`
7579 (eval echo "\"\$as_me:7579: $lt_compile\"" >&5)
7580 (eval "$lt_compile" 2>out/conftest.err)
7581 ac_status=$?
7582 cat out/conftest.err >&5
7583 echo "$as_me:7583: \$? = $ac_status" >&5
7584 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7585 then
7586 # The compiler can only warn and ignore the option if not recognized
7587 # So say no if there are warnings
7588 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7589 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7590 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7591 lt_cv_prog_compiler_c_o=yes
7594 chmod u+w . 2>&5
7595 $RM conftest*
7596 # SGI C++ compiler will create directory out/ii_files/ for
7597 # template instantiation
7598 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7599 $RM out/* && rmdir out
7600 cd ..
7601 $RM -r conftest
7602 $RM conftest*
7605 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7606 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7613 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7614 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7615 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7616 echo $ECHO_N "(cached) $ECHO_C" >&6
7617 else
7618 lt_cv_prog_compiler_c_o=no
7619 $RM -r conftest 2>/dev/null
7620 mkdir conftest
7621 cd conftest
7622 mkdir out
7623 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7625 lt_compiler_flag="-o out/conftest2.$ac_objext"
7626 # Insert the option either (1) after the last *FLAGS variable, or
7627 # (2) before a word containing "conftest.", or (3) at the end.
7628 # Note that $ac_compile itself does not contain backslashes and begins
7629 # with a dollar sign (not a hyphen), so the echo should work correctly.
7630 lt_compile=`echo "$ac_compile" | $SED \
7631 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7632 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7633 -e 's:$: $lt_compiler_flag:'`
7634 (eval echo "\"\$as_me:7634: $lt_compile\"" >&5)
7635 (eval "$lt_compile" 2>out/conftest.err)
7636 ac_status=$?
7637 cat out/conftest.err >&5
7638 echo "$as_me:7638: \$? = $ac_status" >&5
7639 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7640 then
7641 # The compiler can only warn and ignore the option if not recognized
7642 # So say no if there are warnings
7643 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7644 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7645 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7646 lt_cv_prog_compiler_c_o=yes
7649 chmod u+w . 2>&5
7650 $RM conftest*
7651 # SGI C++ compiler will create directory out/ii_files/ for
7652 # template instantiation
7653 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7654 $RM out/* && rmdir out
7655 cd ..
7656 $RM -r conftest
7657 $RM conftest*
7660 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7661 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7666 hard_links="nottested"
7667 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7668 # do not overwrite the value of need_locks provided by the user
7669 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7670 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7671 hard_links=yes
7672 $RM conftest*
7673 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7674 touch conftest.a
7675 ln conftest.a conftest.b 2>&5 || hard_links=no
7676 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7677 echo "$as_me:$LINENO: result: $hard_links" >&5
7678 echo "${ECHO_T}$hard_links" >&6
7679 if test "$hard_links" = no; then
7680 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7681 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7682 need_locks=warn
7684 else
7685 need_locks=no
7693 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7694 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7696 runpath_var=
7697 allow_undefined_flag=
7698 always_export_symbols=no
7699 archive_cmds=
7700 archive_expsym_cmds=
7701 compiler_needs_object=no
7702 enable_shared_with_static_runtimes=no
7703 export_dynamic_flag_spec=
7704 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7705 hardcode_automatic=no
7706 hardcode_direct=no
7707 hardcode_direct_absolute=no
7708 hardcode_libdir_flag_spec=
7709 hardcode_libdir_flag_spec_ld=
7710 hardcode_libdir_separator=
7711 hardcode_minus_L=no
7712 hardcode_shlibpath_var=unsupported
7713 inherit_rpath=no
7714 link_all_deplibs=unknown
7715 module_cmds=
7716 module_expsym_cmds=
7717 old_archive_from_new_cmds=
7718 old_archive_from_expsyms_cmds=
7719 thread_safe_flag_spec=
7720 whole_archive_flag_spec=
7721 # include_expsyms should be a list of space-separated symbols to be *always*
7722 # included in the symbol list
7723 include_expsyms=
7724 # exclude_expsyms can be an extended regexp of symbols to exclude
7725 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7726 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7727 # as well as any symbol that contains `d'.
7728 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7729 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7730 # platforms (ab)use it in PIC code, but their linkers get confused if
7731 # the symbol is explicitly referenced. Since portable code cannot
7732 # rely on this symbol name, it's probably fine to never include it in
7733 # preloaded symbol tables.
7734 extract_expsyms_cmds=
7736 case $host_os in
7737 cygwin* | mingw* | pw32*)
7738 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7739 # When not using gcc, we currently assume that we are using
7740 # Microsoft Visual C++.
7741 if test "$GCC" != yes; then
7742 with_gnu_ld=no
7745 interix*)
7746 # we just hope/assume this is gcc and not c89 (= MSVC++)
7747 with_gnu_ld=yes
7749 openbsd*)
7750 with_gnu_ld=no
7752 esac
7754 ld_shlibs=yes
7755 if test "$with_gnu_ld" = yes; then
7756 # If archive_cmds runs LD, not CC, wlarc should be empty
7757 wlarc='${wl}'
7759 # Set some defaults for GNU ld with shared library support. These
7760 # are reset later if shared libraries are not supported. Putting them
7761 # here allows them to be overridden if necessary.
7762 runpath_var=LD_RUN_PATH
7763 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7764 export_dynamic_flag_spec='${wl}--export-dynamic'
7765 # ancient GNU ld didn't support --whole-archive et. al.
7766 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7767 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7768 else
7769 whole_archive_flag_spec=
7771 supports_anon_versioning=no
7772 case `$LD -v 2>&1` in
7773 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7774 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7775 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7776 *\ 2.11.*) ;; # other 2.11 versions
7777 *) supports_anon_versioning=yes ;;
7778 esac
7780 # See if GNU ld supports shared libraries.
7781 case $host_os in
7782 aix3* | aix4* | aix5*)
7783 # On AIX/PPC, the GNU linker is very broken
7784 if test "$host_cpu" != ia64; then
7785 ld_shlibs=no
7786 cat <<_LT_EOF 1>&2
7788 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7789 *** to be unable to reliably create shared libraries on AIX.
7790 *** Therefore, libtool is disabling shared libraries support. If you
7791 *** really care for shared libraries, you may want to modify your PATH
7792 *** so that a non-GNU linker is found, and then restart.
7794 _LT_EOF
7798 amigaos*)
7799 if test "$host_cpu" = m68k; then
7800 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)'
7801 hardcode_libdir_flag_spec='-L$libdir'
7802 hardcode_minus_L=yes
7805 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7806 # that the semantics of dynamic libraries on AmigaOS, at least up
7807 # to version 4, is to share data among multiple programs linked
7808 # with the same dynamic library. Since this doesn't match the
7809 # behavior of shared libraries on other platforms, we can't use
7810 # them.
7811 ld_shlibs=no
7814 beos*)
7815 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7816 allow_undefined_flag=unsupported
7817 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7818 # support --undefined. This deserves some investigation. FIXME
7819 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7820 else
7821 ld_shlibs=no
7825 cygwin* | mingw* | pw32*)
7826 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7827 # as there is no search path for DLLs.
7828 hardcode_libdir_flag_spec='-L$libdir'
7829 allow_undefined_flag=unsupported
7830 always_export_symbols=no
7831 enable_shared_with_static_runtimes=yes
7832 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7834 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7835 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7836 # If the export-symbols file already is a .def file (1st line
7837 # is EXPORTS), use it as is; otherwise, prepend...
7838 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7839 cp $export_symbols $output_objdir/$soname.def;
7840 else
7841 echo EXPORTS > $output_objdir/$soname.def;
7842 cat $export_symbols >> $output_objdir/$soname.def;
7844 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7845 else
7846 ld_shlibs=no
7850 interix[3-9]*)
7851 hardcode_direct=no
7852 hardcode_shlibpath_var=no
7853 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7854 export_dynamic_flag_spec='${wl}-E'
7855 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7856 # Instead, shared libraries are loaded at an image base (0x10000000 by
7857 # default) and relocated if they conflict, which is a slow very memory
7858 # consuming and fragmenting process. To avoid this, we pick a random,
7859 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7860 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7861 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7862 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'
7865 gnu* | linux* | tpf* | k*bsd*-gnu)
7866 tmp_diet=no
7867 if test "$host_os" = linux-dietlibc; then
7868 case $cc_basename in
7869 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7870 esac
7872 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7873 && test "$tmp_diet" = no
7874 then
7875 tmp_addflag=
7876 case $cc_basename,$host_cpu in
7877 pgcc*) # Portland Group C compiler
7878 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'
7879 tmp_addflag=' $pic_flag'
7881 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7882 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'
7883 tmp_addflag=' $pic_flag -Mnomain' ;;
7884 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7885 tmp_addflag=' -i_dynamic' ;;
7886 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7887 tmp_addflag=' -i_dynamic -nofor_main' ;;
7888 ifc* | ifort*) # Intel Fortran compiler
7889 tmp_addflag=' -nofor_main' ;;
7890 esac
7891 case `$CC -V 2>&1 | sed 5q` in
7892 *Sun\ C*) # Sun C 5.9
7893 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'
7894 compiler_needs_object=yes
7895 tmp_sharedflag='-G' ;;
7896 *Sun\ F*) # Sun Fortran 8.3
7897 tmp_sharedflag='-G' ;;
7899 tmp_sharedflag='-shared' ;;
7900 esac
7901 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7903 if test "x$supports_anon_versioning" = xyes; then
7904 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7905 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7906 echo "local: *; };" >> $output_objdir/$libname.ver~
7907 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7909 else
7910 ld_shlibs=no
7914 netbsd*)
7915 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7916 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7917 wlarc=
7918 else
7919 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7920 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7924 solaris*)
7925 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7926 ld_shlibs=no
7927 cat <<_LT_EOF 1>&2
7929 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7930 *** create shared libraries on Solaris systems. Therefore, libtool
7931 *** is disabling shared libraries support. We urge you to upgrade GNU
7932 *** binutils to release 2.9.1 or newer. Another option is to modify
7933 *** your PATH or compiler configuration so that the native linker is
7934 *** used, and then restart.
7936 _LT_EOF
7937 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7938 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7939 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7940 else
7941 ld_shlibs=no
7945 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7946 case `$LD -v 2>&1` in
7947 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7948 ld_shlibs=no
7949 cat <<_LT_EOF 1>&2
7951 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7952 *** reliably create shared libraries on SCO systems. Therefore, libtool
7953 *** is disabling shared libraries support. We urge you to upgrade GNU
7954 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7955 *** your PATH or compiler configuration so that the native linker is
7956 *** used, and then restart.
7958 _LT_EOF
7961 # For security reasons, it is highly recommended that you always
7962 # use absolute paths for naming shared libraries, and exclude the
7963 # DT_RUNPATH tag from executables and libraries. But doing so
7964 # requires that you compile everything twice, which is a pain.
7965 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7966 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7967 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7968 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7969 else
7970 ld_shlibs=no
7973 esac
7976 sunos4*)
7977 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7978 wlarc=
7979 hardcode_direct=yes
7980 hardcode_shlibpath_var=no
7984 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7985 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7986 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7987 else
7988 ld_shlibs=no
7991 esac
7993 if test "$ld_shlibs" = no; then
7994 runpath_var=
7995 hardcode_libdir_flag_spec=
7996 export_dynamic_flag_spec=
7997 whole_archive_flag_spec=
7999 else
8000 # PORTME fill in a description of your system's linker (not GNU ld)
8001 case $host_os in
8002 aix3*)
8003 allow_undefined_flag=unsupported
8004 always_export_symbols=yes
8005 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'
8006 # Note: this linker hardcodes the directories in LIBPATH if there
8007 # are no directories specified by -L.
8008 hardcode_minus_L=yes
8009 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8010 # Neither direct hardcoding nor static linking is supported with a
8011 # broken collect2.
8012 hardcode_direct=unsupported
8016 aix4* | aix5*)
8017 if test "$host_cpu" = ia64; then
8018 # On IA64, the linker does run time linking by default, so we don't
8019 # have to do anything special.
8020 aix_use_runtimelinking=no
8021 exp_sym_flag='-Bexport'
8022 no_entry_flag=""
8023 else
8024 # If we're using GNU nm, then we don't want the "-C" option.
8025 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8026 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8027 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'
8028 else
8029 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'
8031 aix_use_runtimelinking=no
8033 # Test if we are trying to use run time linking or normal
8034 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8035 # need to do runtime linking.
8036 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8037 for ld_flag in $LDFLAGS; do
8038 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8039 aix_use_runtimelinking=yes
8040 break
8042 done
8044 esac
8046 exp_sym_flag='-bexport'
8047 no_entry_flag='-bnoentry'
8050 # When large executables or shared objects are built, AIX ld can
8051 # have problems creating the table of contents. If linking a library
8052 # or program results in "error TOC overflow" add -mminimal-toc to
8053 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8054 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8056 archive_cmds=''
8057 hardcode_direct=yes
8058 hardcode_direct_absolute=yes
8059 hardcode_libdir_separator=':'
8060 link_all_deplibs=yes
8061 file_list_spec='${wl}-f,'
8063 if test "$GCC" = yes; then
8064 case $host_os in aix4.[012]|aix4.[012].*)
8065 # We only want to do this on AIX 4.2 and lower, the check
8066 # below for broken collect2 doesn't work under 4.3+
8067 collect2name=`${CC} -print-prog-name=collect2`
8068 if test -f "$collect2name" &&
8069 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8070 then
8071 # We have reworked collect2
8073 else
8074 # We have old collect2
8075 hardcode_direct=unsupported
8076 # It fails to find uninstalled libraries when the uninstalled
8077 # path is not listed in the libpath. Setting hardcode_minus_L
8078 # to unsupported forces relinking
8079 hardcode_minus_L=yes
8080 hardcode_libdir_flag_spec='-L$libdir'
8081 hardcode_libdir_separator=
8084 esac
8085 shared_flag='-shared'
8086 if test "$aix_use_runtimelinking" = yes; then
8087 shared_flag="$shared_flag "'${wl}-G'
8089 else
8090 # not using gcc
8091 if test "$host_cpu" = ia64; then
8092 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8093 # chokes on -Wl,-G. The following line is correct:
8094 shared_flag='-G'
8095 else
8096 if test "$aix_use_runtimelinking" = yes; then
8097 shared_flag='${wl}-G'
8098 else
8099 shared_flag='${wl}-bM:SRE'
8104 # It seems that -bexpall does not export symbols beginning with
8105 # underscore (_), so it is better to generate a list of symbols to export.
8106 always_export_symbols=yes
8107 if test "$aix_use_runtimelinking" = yes; then
8108 # Warning - without using the other runtime loading flags (-brtl),
8109 # -berok will link without error, but may produce a broken library.
8110 allow_undefined_flag='-berok'
8111 # Determine the default libpath from the value encoded in an
8112 # empty executable.
8113 if test x$gcc_no_link = xyes; then
8114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8116 { (exit 1); exit 1; }; }
8118 cat >conftest.$ac_ext <<_ACEOF
8119 /* confdefs.h. */
8120 _ACEOF
8121 cat confdefs.h >>conftest.$ac_ext
8122 cat >>conftest.$ac_ext <<_ACEOF
8123 /* end confdefs.h. */
8126 main ()
8130 return 0;
8132 _ACEOF
8133 rm -f conftest.$ac_objext conftest$ac_exeext
8134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8135 (eval $ac_link) 2>conftest.er1
8136 ac_status=$?
8137 grep -v '^ *+' conftest.er1 >conftest.err
8138 rm -f conftest.er1
8139 cat conftest.err >&5
8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 (exit $ac_status); } &&
8142 { ac_try='test -z "$ac_c_werror_flag"
8143 || test ! -s conftest.err'
8144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8145 (eval $ac_try) 2>&5
8146 ac_status=$?
8147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8148 (exit $ac_status); }; } &&
8149 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
8156 lt_aix_libpath_sed='
8157 /Import File Strings/,/^$/ {
8158 /^0/ {
8159 s/^0 *\(.*\)$/\1/
8163 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8164 # Check for a 64-bit object if we didn't find anything.
8165 if test -z "$aix_libpath"; then
8166 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8168 else
8169 echo "$as_me: failed program was:" >&5
8170 sed 's/^/| /' conftest.$ac_ext >&5
8173 rm -f conftest.err conftest.$ac_objext \
8174 conftest$ac_exeext conftest.$ac_ext
8175 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8177 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8178 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"
8179 else
8180 if test "$host_cpu" = ia64; then
8181 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8182 allow_undefined_flag="-z nodefs"
8183 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"
8184 else
8185 # Determine the default libpath from the value encoded in an
8186 # empty executable.
8187 if test x$gcc_no_link = xyes; then
8188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8190 { (exit 1); exit 1; }; }
8192 cat >conftest.$ac_ext <<_ACEOF
8193 /* confdefs.h. */
8194 _ACEOF
8195 cat confdefs.h >>conftest.$ac_ext
8196 cat >>conftest.$ac_ext <<_ACEOF
8197 /* end confdefs.h. */
8200 main ()
8204 return 0;
8206 _ACEOF
8207 rm -f conftest.$ac_objext conftest$ac_exeext
8208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8209 (eval $ac_link) 2>conftest.er1
8210 ac_status=$?
8211 grep -v '^ *+' conftest.er1 >conftest.err
8212 rm -f conftest.er1
8213 cat conftest.err >&5
8214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 (exit $ac_status); } &&
8216 { ac_try='test -z "$ac_c_werror_flag"
8217 || test ! -s conftest.err'
8218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8219 (eval $ac_try) 2>&5
8220 ac_status=$?
8221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222 (exit $ac_status); }; } &&
8223 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
8230 lt_aix_libpath_sed='
8231 /Import File Strings/,/^$/ {
8232 /^0/ {
8233 s/^0 *\(.*\)$/\1/
8237 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8238 # Check for a 64-bit object if we didn't find anything.
8239 if test -z "$aix_libpath"; then
8240 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8242 else
8243 echo "$as_me: failed program was:" >&5
8244 sed 's/^/| /' conftest.$ac_ext >&5
8247 rm -f conftest.err conftest.$ac_objext \
8248 conftest$ac_exeext conftest.$ac_ext
8249 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8251 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8252 # Warning - without using the other run time loading flags,
8253 # -berok will link without error, but may produce a broken library.
8254 no_undefined_flag=' ${wl}-bernotok'
8255 allow_undefined_flag=' ${wl}-berok'
8256 # Exported symbols can be pulled into shared objects from archives
8257 whole_archive_flag_spec='$convenience'
8258 archive_cmds_need_lc=yes
8259 # This is similar to how AIX traditionally builds its shared libraries.
8260 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'
8265 amigaos*)
8266 if test "$host_cpu" = m68k; then
8267 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)'
8268 hardcode_libdir_flag_spec='-L$libdir'
8269 hardcode_minus_L=yes
8271 # see comment about different semantics on the GNU ld section
8272 ld_shlibs=no
8275 bsdi[45]*)
8276 export_dynamic_flag_spec=-rdynamic
8279 cygwin* | mingw* | pw32*)
8280 # When not using gcc, we currently assume that we are using
8281 # Microsoft Visual C++.
8282 # hardcode_libdir_flag_spec is actually meaningless, as there is
8283 # no search path for DLLs.
8284 hardcode_libdir_flag_spec=' '
8285 allow_undefined_flag=unsupported
8286 # Tell ltmain to make .lib files, not .a files.
8287 libext=lib
8288 # Tell ltmain to make .dll files, not .so files.
8289 shrext_cmds=".dll"
8290 # FIXME: Setting linknames here is a bad hack.
8291 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8292 # The linker will automatically build a .lib file if we build a DLL.
8293 old_archive_from_new_cmds='true'
8294 # FIXME: Should let the user specify the lib program.
8295 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8296 fix_srcfile_path='`cygpath -w "$srcfile"`'
8297 enable_shared_with_static_runtimes=yes
8300 darwin* | rhapsody*)
8301 case $host_os in
8302 rhapsody* | darwin1.[012])
8303 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8305 *) # Darwin 1.3 on
8306 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8307 10.[012])
8308 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8310 10.*)
8311 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8313 esac
8315 esac
8316 archive_cmds_need_lc=no
8317 hardcode_direct=no
8318 hardcode_automatic=yes
8319 hardcode_shlibpath_var=unsupported
8320 whole_archive_flag_spec=''
8321 link_all_deplibs=yes
8322 if test "$GCC" = yes ; then
8323 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8324 echo $ECHO_N "(cached) $ECHO_C" >&6
8325 else
8326 lt_cv_apple_cc_single_mod=no
8327 if test -z "${LT_MULTI_MODULE}"; then
8328 # By default we will add the -single_module flag. You can override
8329 # by either setting the environment variable LT_MULTI_MODULE
8330 # non-empty at configure time, or by adding -multi-module to the
8331 # link flags.
8332 echo "int foo(void){return 1;}" > conftest.c
8333 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8334 -dynamiclib ${wl}-single_module conftest.c
8335 if test -f libconftest.dylib; then
8336 lt_cv_apple_cc_single_mod=yes
8337 rm libconftest.dylib
8339 rm conftest.$ac_ext
8343 output_verbose_link_cmd=echo
8344 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8345 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8346 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}'
8347 else
8348 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8349 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}'
8351 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8352 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}'
8353 else
8354 case $cc_basename in
8355 xlc*)
8356 output_verbose_link_cmd=echo
8357 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8358 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8359 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8360 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}'
8361 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}'
8364 ld_shlibs=no
8366 esac
8370 dgux*)
8371 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8372 hardcode_libdir_flag_spec='-L$libdir'
8373 hardcode_shlibpath_var=no
8376 freebsd1*)
8377 ld_shlibs=no
8380 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8381 # support. Future versions do this automatically, but an explicit c++rt0.o
8382 # does not break anything, and helps significantly (at the cost of a little
8383 # extra space).
8384 freebsd2.2*)
8385 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8386 hardcode_libdir_flag_spec='-R$libdir'
8387 hardcode_direct=yes
8388 hardcode_shlibpath_var=no
8391 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8392 freebsd2*)
8393 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8394 hardcode_direct=yes
8395 hardcode_minus_L=yes
8396 hardcode_shlibpath_var=no
8399 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8400 freebsd* | dragonfly*)
8401 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8402 hardcode_libdir_flag_spec='-R$libdir'
8403 hardcode_direct=yes
8404 hardcode_shlibpath_var=no
8407 hpux9*)
8408 if test "$GCC" = yes; then
8409 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'
8410 else
8411 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'
8413 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8414 hardcode_libdir_separator=:
8415 hardcode_direct=yes
8417 # hardcode_minus_L: Not really in the search PATH,
8418 # but as the default location of the library.
8419 hardcode_minus_L=yes
8420 export_dynamic_flag_spec='${wl}-E'
8423 hpux10*)
8424 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8425 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8426 else
8427 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8429 if test "$with_gnu_ld" = no; then
8430 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8431 hardcode_libdir_flag_spec_ld='+b $libdir'
8432 hardcode_libdir_separator=:
8433 hardcode_direct=yes
8434 hardcode_direct_absolute=yes
8435 export_dynamic_flag_spec='${wl}-E'
8436 # hardcode_minus_L: Not really in the search PATH,
8437 # but as the default location of the library.
8438 hardcode_minus_L=yes
8442 hpux11*)
8443 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8444 case $host_cpu in
8445 hppa*64*)
8446 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8448 ia64*)
8449 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8452 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8454 esac
8455 else
8456 case $host_cpu in
8457 hppa*64*)
8458 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8460 ia64*)
8461 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8464 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8466 esac
8468 if test "$with_gnu_ld" = no; then
8469 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8470 hardcode_libdir_separator=:
8472 case $host_cpu in
8473 hppa*64*|ia64*)
8474 hardcode_direct=no
8475 hardcode_shlibpath_var=no
8478 hardcode_direct=yes
8479 hardcode_direct_absolute=yes
8480 export_dynamic_flag_spec='${wl}-E'
8482 # hardcode_minus_L: Not really in the search PATH,
8483 # but as the default location of the library.
8484 hardcode_minus_L=yes
8486 esac
8490 irix5* | irix6* | nonstopux*)
8491 if test "$GCC" = yes; then
8492 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'
8493 # Try to use the -exported_symbol ld option, if it does not
8494 # work, assume that -exports_file does not work either and
8495 # implicitly export all symbols.
8496 save_LDFLAGS="$LDFLAGS"
8497 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8498 if test x$gcc_no_link = xyes; then
8499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8501 { (exit 1); exit 1; }; }
8503 cat >conftest.$ac_ext <<_ACEOF
8504 int foo(void) {}
8505 _ACEOF
8506 rm -f conftest.$ac_objext conftest$ac_exeext
8507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8508 (eval $ac_link) 2>conftest.er1
8509 ac_status=$?
8510 grep -v '^ *+' conftest.er1 >conftest.err
8511 rm -f conftest.er1
8512 cat conftest.err >&5
8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514 (exit $ac_status); } &&
8515 { ac_try='test -z "$ac_c_werror_flag"
8516 || test ! -s conftest.err'
8517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8518 (eval $ac_try) 2>&5
8519 ac_status=$?
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); }; } &&
8522 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
8528 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'
8530 else
8531 echo "$as_me: failed program was:" >&5
8532 sed 's/^/| /' conftest.$ac_ext >&5
8535 rm -f conftest.err conftest.$ac_objext \
8536 conftest$ac_exeext conftest.$ac_ext
8537 LDFLAGS="$save_LDFLAGS"
8538 else
8539 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'
8540 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'
8542 archive_cmds_need_lc='no'
8543 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8544 hardcode_libdir_separator=:
8545 inherit_rpath=yes
8546 link_all_deplibs=yes
8549 netbsd*)
8550 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8551 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8552 else
8553 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8555 hardcode_libdir_flag_spec='-R$libdir'
8556 hardcode_direct=yes
8557 hardcode_shlibpath_var=no
8560 newsos6)
8561 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8562 hardcode_direct=yes
8563 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8564 hardcode_libdir_separator=:
8565 hardcode_shlibpath_var=no
8568 *nto* | *qnx*)
8571 openbsd*)
8572 hardcode_direct=yes
8573 hardcode_shlibpath_var=no
8574 hardcode_direct_absolute=yes
8575 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8576 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8577 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8578 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8579 export_dynamic_flag_spec='${wl}-E'
8580 else
8581 case $host_os in
8582 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8583 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8584 hardcode_libdir_flag_spec='-R$libdir'
8587 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8588 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8590 esac
8594 os2*)
8595 hardcode_libdir_flag_spec='-L$libdir'
8596 hardcode_minus_L=yes
8597 allow_undefined_flag=unsupported
8598 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'
8599 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8602 osf3*)
8603 if test "$GCC" = yes; then
8604 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8605 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'
8606 else
8607 allow_undefined_flag=' -expect_unresolved \*'
8608 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'
8610 archive_cmds_need_lc='no'
8611 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8612 hardcode_libdir_separator=:
8615 osf4* | osf5*) # as osf3* with the addition of -msym flag
8616 if test "$GCC" = yes; then
8617 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8618 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'
8619 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8620 else
8621 allow_undefined_flag=' -expect_unresolved \*'
8622 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'
8623 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~
8624 $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'
8626 # Both c and cxx compiler support -rpath directly
8627 hardcode_libdir_flag_spec='-rpath $libdir'
8629 archive_cmds_need_lc='no'
8630 hardcode_libdir_separator=:
8633 solaris*)
8634 no_undefined_flag=' -z defs'
8635 if test "$GCC" = yes; then
8636 wlarc='${wl}'
8637 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8638 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8639 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8640 else
8641 case `$CC -V 2>&1` in
8642 *"Compilers 5.0"*)
8643 wlarc=''
8644 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8645 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8646 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8649 wlarc='${wl}'
8650 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8651 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8652 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8654 esac
8656 hardcode_libdir_flag_spec='-R$libdir'
8657 hardcode_shlibpath_var=no
8658 case $host_os in
8659 solaris2.[0-5] | solaris2.[0-5].*) ;;
8661 # The compiler driver will combine and reorder linker options,
8662 # but understands `-z linker_flag'. GCC discards it without `$wl',
8663 # but is careful enough not to reorder.
8664 # Supported since Solaris 2.6 (maybe 2.5.1?)
8665 if test "$GCC" = yes; then
8666 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8667 else
8668 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8671 esac
8672 link_all_deplibs=yes
8675 sunos4*)
8676 if test "x$host_vendor" = xsequent; then
8677 # Use $CC to link under sequent, because it throws in some extra .o
8678 # files that make .init and .fini sections work.
8679 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8680 else
8681 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8683 hardcode_libdir_flag_spec='-L$libdir'
8684 hardcode_direct=yes
8685 hardcode_minus_L=yes
8686 hardcode_shlibpath_var=no
8689 sysv4)
8690 case $host_vendor in
8691 sni)
8692 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8693 hardcode_direct=yes # is this really true???
8695 siemens)
8696 ## LD is ld it makes a PLAMLIB
8697 ## CC just makes a GrossModule.
8698 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8699 reload_cmds='$CC -r -o $output$reload_objs'
8700 hardcode_direct=no
8702 motorola)
8703 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8704 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8706 esac
8707 runpath_var='LD_RUN_PATH'
8708 hardcode_shlibpath_var=no
8711 sysv4.3*)
8712 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8713 hardcode_shlibpath_var=no
8714 export_dynamic_flag_spec='-Bexport'
8717 sysv4*MP*)
8718 if test -d /usr/nec; then
8719 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8720 hardcode_shlibpath_var=no
8721 runpath_var=LD_RUN_PATH
8722 hardcode_runpath_var=yes
8723 ld_shlibs=yes
8727 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8728 no_undefined_flag='${wl}-z,text'
8729 archive_cmds_need_lc=no
8730 hardcode_shlibpath_var=no
8731 runpath_var='LD_RUN_PATH'
8733 if test "$GCC" = yes; then
8734 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8735 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8736 else
8737 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8738 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8742 sysv5* | sco3.2v5* | sco5v6*)
8743 # Note: We can NOT use -z defs as we might desire, because we do not
8744 # link with -lc, and that would cause any symbols used from libc to
8745 # always be unresolved, which means just about no library would
8746 # ever link correctly. If we're not using GNU ld we use -z text
8747 # though, which does catch some bad symbols but isn't as heavy-handed
8748 # as -z defs.
8749 no_undefined_flag='${wl}-z,text'
8750 allow_undefined_flag='${wl}-z,nodefs'
8751 archive_cmds_need_lc=no
8752 hardcode_shlibpath_var=no
8753 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8754 hardcode_libdir_separator=':'
8755 link_all_deplibs=yes
8756 export_dynamic_flag_spec='${wl}-Bexport'
8757 runpath_var='LD_RUN_PATH'
8759 if test "$GCC" = yes; then
8760 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8761 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8762 else
8763 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8764 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8768 uts4*)
8769 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8770 hardcode_libdir_flag_spec='-L$libdir'
8771 hardcode_shlibpath_var=no
8775 ld_shlibs=no
8777 esac
8779 if test x$host_vendor = xsni; then
8780 case $host in
8781 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8782 export_dynamic_flag_spec='${wl}-Blargedynsym'
8784 esac
8788 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8789 echo "${ECHO_T}$ld_shlibs" >&6
8790 test "$ld_shlibs" = no && can_build_shared=no
8792 with_gnu_ld=$with_gnu_ld
8809 # Do we need to explicitly link libc?
8811 case "x$archive_cmds_need_lc" in
8812 x|xyes)
8813 # Assume -lc should be added
8814 archive_cmds_need_lc=yes
8816 if test "$enable_shared" = yes && test "$GCC" = yes; then
8817 case $archive_cmds in
8818 *'~'*)
8819 # FIXME: we may have to deal with multi-command sequences.
8821 '$CC '*)
8822 # Test whether the compiler implicitly links with -lc since on some
8823 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8824 # to ld, don't add -lc before -lgcc.
8825 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8826 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8827 $RM conftest*
8828 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8831 (eval $ac_compile) 2>&5
8832 ac_status=$?
8833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8834 (exit $ac_status); } 2>conftest.err; then
8835 soname=conftest
8836 lib=conftest
8837 libobjs=conftest.$ac_objext
8838 deplibs=
8839 wl=$lt_prog_compiler_wl
8840 pic_flag=$lt_prog_compiler_pic
8841 compiler_flags=-v
8842 linker_flags=-v
8843 verstring=
8844 output_objdir=.
8845 libname=conftest
8846 lt_save_allow_undefined_flag=$allow_undefined_flag
8847 allow_undefined_flag=
8848 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8849 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8850 ac_status=$?
8851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8852 (exit $ac_status); }
8853 then
8854 archive_cmds_need_lc=no
8855 else
8856 archive_cmds_need_lc=yes
8858 allow_undefined_flag=$lt_save_allow_undefined_flag
8859 else
8860 cat conftest.err 1>&5
8862 $RM conftest*
8863 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8864 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8866 esac
8869 esac
9027 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9028 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9029 withGCC=$GCC
9030 if test "$withGCC" = yes; then
9031 case $host_os in
9032 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9033 *) lt_awk_arg="/^libraries:/" ;;
9034 esac
9035 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9036 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9037 # if the path contains ";" then we assume it to be the separator
9038 # otherwise default to the standard path separator (i.e. ":") - it is
9039 # assumed that no part of a normal pathname contains ";" but that should
9040 # okay in the real world where ";" in dirpaths is itself problematic.
9041 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9042 else
9043 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9045 # Ok, now we have the path, separated by spaces, we can step through it
9046 # and add multilib dir if necessary.
9047 lt_tmp_lt_search_path_spec=
9048 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9049 for lt_sys_path in $lt_search_path_spec; do
9050 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9051 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9052 else
9053 test -d "$lt_sys_path" && \
9054 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9056 done
9057 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9058 BEGIN {RS=" "; FS="/|\n";} {
9059 lt_foo="";
9060 lt_count=0;
9061 for (lt_i = NF; lt_i > 0; lt_i--) {
9062 if ($lt_i != "" && $lt_i != ".") {
9063 if ($lt_i == "..") {
9064 lt_count++;
9065 } else {
9066 if (lt_count == 0) {
9067 lt_foo="/" $lt_i lt_foo;
9068 } else {
9069 lt_count--;
9074 if (lt_foo != "") { lt_freq[lt_foo]++; }
9075 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9077 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9078 else
9079 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9081 library_names_spec=
9082 libname_spec='lib$name'
9083 soname_spec=
9084 shrext_cmds=".so"
9085 postinstall_cmds=
9086 postuninstall_cmds=
9087 finish_cmds=
9088 finish_eval=
9089 shlibpath_var=
9090 shlibpath_overrides_runpath=unknown
9091 version_type=none
9092 dynamic_linker="$host_os ld.so"
9093 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9094 need_lib_prefix=unknown
9095 hardcode_into_libs=no
9097 # when you set need_version to no, make sure it does not cause -set_version
9098 # flags to be left without arguments
9099 need_version=unknown
9101 case $host_os in
9102 aix3*)
9103 version_type=linux
9104 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9105 shlibpath_var=LIBPATH
9107 # AIX 3 has no versioning support, so we append a major version to the name.
9108 soname_spec='${libname}${release}${shared_ext}$major'
9111 aix4* | aix5*)
9112 version_type=linux
9113 need_lib_prefix=no
9114 need_version=no
9115 hardcode_into_libs=yes
9116 if test "$host_cpu" = ia64; then
9117 # AIX 5 supports IA64
9118 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9119 shlibpath_var=LD_LIBRARY_PATH
9120 else
9121 # With GCC up to 2.95.x, collect2 would create an import file
9122 # for dependence libraries. The import file would start with
9123 # the line `#! .'. This would cause the generated library to
9124 # depend on `.', always an invalid library. This was fixed in
9125 # development snapshots of GCC prior to 3.0.
9126 case $host_os in
9127 aix4 | aix4.[01] | aix4.[01].*)
9128 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9129 echo ' yes '
9130 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9132 else
9133 can_build_shared=no
9136 esac
9137 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9138 # soname into executable. Probably we can add versioning support to
9139 # collect2, so additional links can be useful in future.
9140 if test "$aix_use_runtimelinking" = yes; then
9141 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9142 # instead of lib<name>.a to let people know that these are not
9143 # typical AIX shared libraries.
9144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9145 else
9146 # We preserve .a as extension for shared libraries through AIX4.2
9147 # and later when we are not doing run time linking.
9148 library_names_spec='${libname}${release}.a $libname.a'
9149 soname_spec='${libname}${release}${shared_ext}$major'
9151 shlibpath_var=LIBPATH
9155 amigaos*)
9156 if test "$host_cpu" = m68k; then
9157 library_names_spec='$libname.ixlibrary $libname.a'
9158 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9159 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'
9160 else
9161 dynamic_linker=no
9165 beos*)
9166 library_names_spec='${libname}${shared_ext}'
9167 dynamic_linker="$host_os ld.so"
9168 shlibpath_var=LIBRARY_PATH
9171 bsdi[45]*)
9172 version_type=linux
9173 need_version=no
9174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9175 soname_spec='${libname}${release}${shared_ext}$major'
9176 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9177 shlibpath_var=LD_LIBRARY_PATH
9178 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9179 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9180 # the default ld.so.conf also contains /usr/contrib/lib and
9181 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9182 # libtool to hard-code these into programs
9185 cygwin* | mingw* | pw32*)
9186 version_type=windows
9187 shrext_cmds=".dll"
9188 need_version=no
9189 need_lib_prefix=no
9191 case $withGCC,$host_os in
9192 yes,cygwin* | yes,mingw* | yes,pw32*)
9193 library_names_spec='$libname.dll.a'
9194 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9195 postinstall_cmds='base_file=`basename \${file}`~
9196 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9197 dldir=$destdir/`dirname \$dlpath`~
9198 test -d \$dldir || mkdir -p \$dldir~
9199 $install_prog $dir/$dlname \$dldir/$dlname~
9200 chmod a+x \$dldir/$dlname~
9201 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9202 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9204 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9205 dlpath=$dir/\$dldll~
9206 $RM \$dlpath'
9207 shlibpath_overrides_runpath=yes
9209 case $host_os in
9210 cygwin*)
9211 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9212 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9213 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9215 mingw*)
9216 # MinGW DLLs use traditional 'lib' prefix
9217 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9218 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9219 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9220 # It is most probably a Windows format PATH printed by
9221 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9222 # path with ; separators, and with drive letters. We can handle the
9223 # drive letters (cygwin fileutils understands them), so leave them,
9224 # especially as we might pass files found there to a mingw objdump,
9225 # which wouldn't understand a cygwinified path. Ahh.
9226 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9227 else
9228 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9231 pw32*)
9232 # pw32 DLLs use 'pw' prefix rather than 'lib'
9233 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9235 esac
9239 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9241 esac
9242 dynamic_linker='Win32 ld.exe'
9243 # FIXME: first we should search . and the directory the executable is in
9244 shlibpath_var=PATH
9247 darwin* | rhapsody*)
9248 dynamic_linker="$host_os dyld"
9249 version_type=darwin
9250 need_lib_prefix=no
9251 need_version=no
9252 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9253 soname_spec='${libname}${release}${major}$shared_ext'
9254 shlibpath_overrides_runpath=yes
9255 shlibpath_var=DYLD_LIBRARY_PATH
9256 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9258 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9259 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9262 dgux*)
9263 version_type=linux
9264 need_lib_prefix=no
9265 need_version=no
9266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9267 soname_spec='${libname}${release}${shared_ext}$major'
9268 shlibpath_var=LD_LIBRARY_PATH
9271 freebsd1*)
9272 dynamic_linker=no
9275 freebsd* | dragonfly*)
9276 # DragonFly does not have aout. When/if they implement a new
9277 # versioning mechanism, adjust this.
9278 if test -x /usr/bin/objformat; then
9279 objformat=`/usr/bin/objformat`
9280 else
9281 case $host_os in
9282 freebsd[123]*) objformat=aout ;;
9283 *) objformat=elf ;;
9284 esac
9286 version_type=freebsd-$objformat
9287 case $version_type in
9288 freebsd-elf*)
9289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9290 need_version=no
9291 need_lib_prefix=no
9293 freebsd-*)
9294 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9295 need_version=yes
9297 esac
9298 shlibpath_var=LD_LIBRARY_PATH
9299 case $host_os in
9300 freebsd2*)
9301 shlibpath_overrides_runpath=yes
9303 freebsd3.[01]* | freebsdelf3.[01]*)
9304 shlibpath_overrides_runpath=yes
9305 hardcode_into_libs=yes
9307 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9308 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9309 shlibpath_overrides_runpath=no
9310 hardcode_into_libs=yes
9312 *) # from 4.6 on, and DragonFly
9313 shlibpath_overrides_runpath=yes
9314 hardcode_into_libs=yes
9316 esac
9319 gnu*)
9320 version_type=linux
9321 need_lib_prefix=no
9322 need_version=no
9323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9324 soname_spec='${libname}${release}${shared_ext}$major'
9325 shlibpath_var=LD_LIBRARY_PATH
9326 hardcode_into_libs=yes
9329 hpux9* | hpux10* | hpux11*)
9330 # Give a soname corresponding to the major version so that dld.sl refuses to
9331 # link against other versions.
9332 version_type=sunos
9333 need_lib_prefix=no
9334 need_version=no
9335 case $host_cpu in
9336 ia64*)
9337 shrext_cmds='.so'
9338 hardcode_into_libs=yes
9339 dynamic_linker="$host_os dld.so"
9340 shlibpath_var=LD_LIBRARY_PATH
9341 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9343 soname_spec='${libname}${release}${shared_ext}$major'
9344 if test "X$HPUX_IA64_MODE" = X32; then
9345 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9346 else
9347 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9349 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9351 hppa*64*)
9352 shrext_cmds='.sl'
9353 hardcode_into_libs=yes
9354 dynamic_linker="$host_os dld.sl"
9355 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9356 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9358 soname_spec='${libname}${release}${shared_ext}$major'
9359 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9360 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9363 shrext_cmds='.sl'
9364 dynamic_linker="$host_os dld.sl"
9365 shlibpath_var=SHLIB_PATH
9366 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9367 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9368 soname_spec='${libname}${release}${shared_ext}$major'
9370 esac
9371 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9372 postinstall_cmds='chmod 555 $lib'
9375 interix[3-9]*)
9376 version_type=linux
9377 need_lib_prefix=no
9378 need_version=no
9379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9380 soname_spec='${libname}${release}${shared_ext}$major'
9381 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9382 shlibpath_var=LD_LIBRARY_PATH
9383 shlibpath_overrides_runpath=no
9384 hardcode_into_libs=yes
9387 irix5* | irix6* | nonstopux*)
9388 case $host_os in
9389 nonstopux*) version_type=nonstopux ;;
9391 if test "$lt_cv_prog_gnu_ld" = yes; then
9392 version_type=linux
9393 else
9394 version_type=irix
9395 fi ;;
9396 esac
9397 need_lib_prefix=no
9398 need_version=no
9399 soname_spec='${libname}${release}${shared_ext}$major'
9400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9401 case $host_os in
9402 irix5* | nonstopux*)
9403 libsuff= shlibsuff=
9406 case $LD in # libtool.m4 will add one of these switches to LD
9407 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9408 libsuff= shlibsuff= libmagic=32-bit;;
9409 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9410 libsuff=32 shlibsuff=N32 libmagic=N32;;
9411 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9412 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9413 *) libsuff= shlibsuff= libmagic=never-match;;
9414 esac
9416 esac
9417 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9418 shlibpath_overrides_runpath=no
9419 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9420 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9421 hardcode_into_libs=yes
9424 # No shared lib support for Linux oldld, aout, or coff.
9425 linux*oldld* | linux*aout* | linux*coff*)
9426 dynamic_linker=no
9429 # This must be Linux ELF.
9430 linux* | k*bsd*-gnu)
9431 version_type=linux
9432 need_lib_prefix=no
9433 need_version=no
9434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9435 soname_spec='${libname}${release}${shared_ext}$major'
9436 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9437 shlibpath_var=LD_LIBRARY_PATH
9438 shlibpath_overrides_runpath=no
9439 # Some binutils ld are patched to set DT_RUNPATH
9440 save_LDFLAGS=$LDFLAGS
9441 save_libdir=$libdir
9442 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9443 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9444 if test x$gcc_no_link = xyes; then
9445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9447 { (exit 1); exit 1; }; }
9449 cat >conftest.$ac_ext <<_ACEOF
9450 /* confdefs.h. */
9451 _ACEOF
9452 cat confdefs.h >>conftest.$ac_ext
9453 cat >>conftest.$ac_ext <<_ACEOF
9454 /* end confdefs.h. */
9457 main ()
9461 return 0;
9463 _ACEOF
9464 rm -f conftest.$ac_objext conftest$ac_exeext
9465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9466 (eval $ac_link) 2>conftest.er1
9467 ac_status=$?
9468 grep -v '^ *+' conftest.er1 >conftest.err
9469 rm -f conftest.er1
9470 cat conftest.err >&5
9471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9472 (exit $ac_status); } &&
9473 { ac_try='test -z "$ac_c_werror_flag"
9474 || test ! -s conftest.err'
9475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9476 (eval $ac_try) 2>&5
9477 ac_status=$?
9478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9479 (exit $ac_status); }; } &&
9480 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
9486 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9487 shlibpath_overrides_runpath=yes
9490 else
9491 echo "$as_me: failed program was:" >&5
9492 sed 's/^/| /' conftest.$ac_ext >&5
9495 rm -f conftest.err conftest.$ac_objext \
9496 conftest$ac_exeext conftest.$ac_ext
9497 LDFLAGS=$save_LDFLAGS
9498 libdir=$save_libdir
9500 # This implies no fast_install, which is unacceptable.
9501 # Some rework will be needed to allow for fast_install
9502 # before this can be enabled.
9503 hardcode_into_libs=yes
9505 # Append ld.so.conf contents to the search path
9506 if test -f /etc/ld.so.conf; then
9507 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' ' '`
9508 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9511 # We used to test for /lib/ld.so.1 and disable shared libraries on
9512 # powerpc, because MkLinux only supported shared libraries with the
9513 # GNU dynamic linker. Since this was broken with cross compilers,
9514 # most powerpc-linux boxes support dynamic linking these days and
9515 # people can always --disable-shared, the test was removed, and we
9516 # assume the GNU/Linux dynamic linker is in use.
9517 dynamic_linker='GNU/Linux ld.so'
9520 netbsd*)
9521 version_type=sunos
9522 need_lib_prefix=no
9523 need_version=no
9524 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9526 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9527 dynamic_linker='NetBSD (a.out) ld.so'
9528 else
9529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9530 soname_spec='${libname}${release}${shared_ext}$major'
9531 dynamic_linker='NetBSD ld.elf_so'
9533 shlibpath_var=LD_LIBRARY_PATH
9534 shlibpath_overrides_runpath=yes
9535 hardcode_into_libs=yes
9538 newsos6)
9539 version_type=linux
9540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9541 shlibpath_var=LD_LIBRARY_PATH
9542 shlibpath_overrides_runpath=yes
9545 *nto* | *qnx*)
9546 version_type=qnx
9547 need_lib_prefix=no
9548 need_version=no
9549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9550 soname_spec='${libname}${release}${shared_ext}$major'
9551 shlibpath_var=LD_LIBRARY_PATH
9552 shlibpath_overrides_runpath=no
9553 hardcode_into_libs=yes
9554 dynamic_linker='ldqnx.so'
9557 openbsd*)
9558 version_type=sunos
9559 sys_lib_dlsearch_path_spec="/usr/lib"
9560 need_lib_prefix=no
9561 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9562 case $host_os in
9563 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9564 *) need_version=no ;;
9565 esac
9566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9567 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9568 shlibpath_var=LD_LIBRARY_PATH
9569 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9570 case $host_os in
9571 openbsd2.[89] | openbsd2.[89].*)
9572 shlibpath_overrides_runpath=no
9575 shlibpath_overrides_runpath=yes
9577 esac
9578 else
9579 shlibpath_overrides_runpath=yes
9583 os2*)
9584 libname_spec='$name'
9585 shrext_cmds=".dll"
9586 need_lib_prefix=no
9587 library_names_spec='$libname${shared_ext} $libname.a'
9588 dynamic_linker='OS/2 ld.exe'
9589 shlibpath_var=LIBPATH
9592 osf3* | osf4* | osf5*)
9593 version_type=osf
9594 need_lib_prefix=no
9595 need_version=no
9596 soname_spec='${libname}${release}${shared_ext}$major'
9597 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9598 shlibpath_var=LD_LIBRARY_PATH
9599 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9600 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9603 rdos*)
9604 dynamic_linker=no
9607 solaris*)
9608 version_type=linux
9609 need_lib_prefix=no
9610 need_version=no
9611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9612 soname_spec='${libname}${release}${shared_ext}$major'
9613 shlibpath_var=LD_LIBRARY_PATH
9614 shlibpath_overrides_runpath=yes
9615 hardcode_into_libs=yes
9616 # ldd complains unless libraries are executable
9617 postinstall_cmds='chmod +x $lib'
9620 sunos4*)
9621 version_type=sunos
9622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9623 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9624 shlibpath_var=LD_LIBRARY_PATH
9625 shlibpath_overrides_runpath=yes
9626 if test "$with_gnu_ld" = yes; then
9627 need_lib_prefix=no
9629 need_version=yes
9632 sysv4 | sysv4.3*)
9633 version_type=linux
9634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9635 soname_spec='${libname}${release}${shared_ext}$major'
9636 shlibpath_var=LD_LIBRARY_PATH
9637 case $host_vendor in
9638 sni)
9639 shlibpath_overrides_runpath=no
9640 need_lib_prefix=no
9641 runpath_var=LD_RUN_PATH
9643 siemens)
9644 need_lib_prefix=no
9646 motorola)
9647 need_lib_prefix=no
9648 need_version=no
9649 shlibpath_overrides_runpath=no
9650 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9652 esac
9655 sysv4*MP*)
9656 if test -d /usr/nec ;then
9657 version_type=linux
9658 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9659 soname_spec='$libname${shared_ext}.$major'
9660 shlibpath_var=LD_LIBRARY_PATH
9664 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9665 version_type=freebsd-elf
9666 need_lib_prefix=no
9667 need_version=no
9668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9669 soname_spec='${libname}${release}${shared_ext}$major'
9670 shlibpath_var=LD_LIBRARY_PATH
9671 shlibpath_overrides_runpath=yes
9672 hardcode_into_libs=yes
9673 if test "$with_gnu_ld" = yes; then
9674 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9675 else
9676 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9677 case $host_os in
9678 sco3.2v5*)
9679 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9681 esac
9683 sys_lib_dlsearch_path_spec='/usr/lib'
9686 tpf*)
9687 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9688 version_type=linux
9689 need_lib_prefix=no
9690 need_version=no
9691 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9692 shlibpath_var=LD_LIBRARY_PATH
9693 shlibpath_overrides_runpath=no
9694 hardcode_into_libs=yes
9697 uts4*)
9698 version_type=linux
9699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9700 soname_spec='${libname}${release}${shared_ext}$major'
9701 shlibpath_var=LD_LIBRARY_PATH
9705 dynamic_linker=no
9707 esac
9708 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9709 echo "${ECHO_T}$dynamic_linker" >&6
9710 test "$dynamic_linker" = no && can_build_shared=no
9712 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9713 if test "$GCC" = yes; then
9714 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9803 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9804 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9805 hardcode_action=
9806 if test -n "$hardcode_libdir_flag_spec" ||
9807 test -n "$runpath_var" ||
9808 test "X$hardcode_automatic" = "Xyes" ; then
9810 # We can hardcode non-existent directories.
9811 if test "$hardcode_direct" != no &&
9812 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9813 # have to relink, otherwise we might link with an installed library
9814 # when we should be linking with a yet-to-be-installed one
9815 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9816 test "$hardcode_minus_L" != no; then
9817 # Linking always hardcodes the temporary library directory.
9818 hardcode_action=relink
9819 else
9820 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9821 hardcode_action=immediate
9823 else
9824 # We cannot hardcode anything, or else we can only hardcode existing
9825 # directories.
9826 hardcode_action=unsupported
9828 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9829 echo "${ECHO_T}$hardcode_action" >&6
9831 if test "$hardcode_action" = relink ||
9832 test "$inherit_rpath" = yes; then
9833 # Fast installation is not supported
9834 enable_fast_install=no
9835 elif test "$shlibpath_overrides_runpath" = yes ||
9836 test "$enable_shared" = no; then
9837 # Fast installation is not necessary
9838 enable_fast_install=needless
9846 if test "x$enable_dlopen" != xyes; then
9847 enable_dlopen=unknown
9848 enable_dlopen_self=unknown
9849 enable_dlopen_self_static=unknown
9850 else
9851 lt_cv_dlopen=no
9852 lt_cv_dlopen_libs=
9854 case $host_os in
9855 beos*)
9856 lt_cv_dlopen="load_add_on"
9857 lt_cv_dlopen_libs=
9858 lt_cv_dlopen_self=yes
9861 mingw* | pw32*)
9862 lt_cv_dlopen="LoadLibrary"
9863 lt_cv_dlopen_libs=
9866 cygwin*)
9867 lt_cv_dlopen="dlopen"
9868 lt_cv_dlopen_libs=
9871 darwin*)
9872 # if libdl is installed we need to link against it
9873 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9874 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9875 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9876 echo $ECHO_N "(cached) $ECHO_C" >&6
9877 else
9878 ac_check_lib_save_LIBS=$LIBS
9879 LIBS="-ldl $LIBS"
9880 if test x$gcc_no_link = xyes; then
9881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9883 { (exit 1); exit 1; }; }
9885 cat >conftest.$ac_ext <<_ACEOF
9886 /* confdefs.h. */
9887 _ACEOF
9888 cat confdefs.h >>conftest.$ac_ext
9889 cat >>conftest.$ac_ext <<_ACEOF
9890 /* end confdefs.h. */
9892 /* Override any gcc2 internal prototype to avoid an error. */
9893 #ifdef __cplusplus
9894 extern "C"
9895 #endif
9896 /* We use char because int might match the return type of a gcc2
9897 builtin and then its argument prototype would still apply. */
9898 char dlopen ();
9900 main ()
9902 dlopen ();
9904 return 0;
9906 _ACEOF
9907 rm -f conftest.$ac_objext conftest$ac_exeext
9908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9909 (eval $ac_link) 2>conftest.er1
9910 ac_status=$?
9911 grep -v '^ *+' conftest.er1 >conftest.err
9912 rm -f conftest.er1
9913 cat conftest.err >&5
9914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9915 (exit $ac_status); } &&
9916 { ac_try='test -z "$ac_c_werror_flag"
9917 || test ! -s conftest.err'
9918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9919 (eval $ac_try) 2>&5
9920 ac_status=$?
9921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9922 (exit $ac_status); }; } &&
9923 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
9929 ac_cv_lib_dl_dlopen=yes
9930 else
9931 echo "$as_me: failed program was:" >&5
9932 sed 's/^/| /' conftest.$ac_ext >&5
9934 ac_cv_lib_dl_dlopen=no
9936 rm -f conftest.err conftest.$ac_objext \
9937 conftest$ac_exeext conftest.$ac_ext
9938 LIBS=$ac_check_lib_save_LIBS
9940 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9941 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9942 if test $ac_cv_lib_dl_dlopen = yes; then
9943 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9944 else
9946 lt_cv_dlopen="dyld"
9947 lt_cv_dlopen_libs=
9948 lt_cv_dlopen_self=yes
9955 echo "$as_me:$LINENO: checking for shl_load" >&5
9956 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9957 if test "${ac_cv_func_shl_load+set}" = set; then
9958 echo $ECHO_N "(cached) $ECHO_C" >&6
9959 else
9960 if test x$gcc_no_link = xyes; then
9961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9963 { (exit 1); exit 1; }; }
9965 cat >conftest.$ac_ext <<_ACEOF
9966 /* confdefs.h. */
9967 _ACEOF
9968 cat confdefs.h >>conftest.$ac_ext
9969 cat >>conftest.$ac_ext <<_ACEOF
9970 /* end confdefs.h. */
9971 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9973 #define shl_load innocuous_shl_load
9975 /* System header to define __stub macros and hopefully few prototypes,
9976 which can conflict with char shl_load (); below.
9977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9978 <limits.h> exists even on freestanding compilers. */
9980 #ifdef __STDC__
9981 # include <limits.h>
9982 #else
9983 # include <assert.h>
9984 #endif
9986 #undef shl_load
9988 /* Override any gcc2 internal prototype to avoid an error. */
9989 #ifdef __cplusplus
9990 extern "C"
9992 #endif
9993 /* We use char because int might match the return type of a gcc2
9994 builtin and then its argument prototype would still apply. */
9995 char shl_load ();
9996 /* The GNU C library defines this for functions which it implements
9997 to always fail with ENOSYS. Some functions are actually named
9998 something starting with __ and the normal name is an alias. */
9999 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10000 choke me
10001 #else
10002 char (*f) () = shl_load;
10003 #endif
10004 #ifdef __cplusplus
10006 #endif
10009 main ()
10011 return f != shl_load;
10013 return 0;
10015 _ACEOF
10016 rm -f conftest.$ac_objext conftest$ac_exeext
10017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10018 (eval $ac_link) 2>conftest.er1
10019 ac_status=$?
10020 grep -v '^ *+' conftest.er1 >conftest.err
10021 rm -f conftest.er1
10022 cat conftest.err >&5
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); } &&
10025 { ac_try='test -z "$ac_c_werror_flag"
10026 || test ! -s conftest.err'
10027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10028 (eval $ac_try) 2>&5
10029 ac_status=$?
10030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031 (exit $ac_status); }; } &&
10032 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
10038 ac_cv_func_shl_load=yes
10039 else
10040 echo "$as_me: failed program was:" >&5
10041 sed 's/^/| /' conftest.$ac_ext >&5
10043 ac_cv_func_shl_load=no
10045 rm -f conftest.err conftest.$ac_objext \
10046 conftest$ac_exeext conftest.$ac_ext
10048 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10049 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10050 if test $ac_cv_func_shl_load = yes; then
10051 lt_cv_dlopen="shl_load"
10052 else
10053 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10054 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10055 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10056 echo $ECHO_N "(cached) $ECHO_C" >&6
10057 else
10058 ac_check_lib_save_LIBS=$LIBS
10059 LIBS="-ldld $LIBS"
10060 if test x$gcc_no_link = xyes; then
10061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10063 { (exit 1); exit 1; }; }
10065 cat >conftest.$ac_ext <<_ACEOF
10066 /* confdefs.h. */
10067 _ACEOF
10068 cat confdefs.h >>conftest.$ac_ext
10069 cat >>conftest.$ac_ext <<_ACEOF
10070 /* end confdefs.h. */
10072 /* Override any gcc2 internal prototype to avoid an error. */
10073 #ifdef __cplusplus
10074 extern "C"
10075 #endif
10076 /* We use char because int might match the return type of a gcc2
10077 builtin and then its argument prototype would still apply. */
10078 char shl_load ();
10080 main ()
10082 shl_load ();
10084 return 0;
10086 _ACEOF
10087 rm -f conftest.$ac_objext conftest$ac_exeext
10088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10089 (eval $ac_link) 2>conftest.er1
10090 ac_status=$?
10091 grep -v '^ *+' conftest.er1 >conftest.err
10092 rm -f conftest.er1
10093 cat conftest.err >&5
10094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10095 (exit $ac_status); } &&
10096 { ac_try='test -z "$ac_c_werror_flag"
10097 || test ! -s conftest.err'
10098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10099 (eval $ac_try) 2>&5
10100 ac_status=$?
10101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10102 (exit $ac_status); }; } &&
10103 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
10109 ac_cv_lib_dld_shl_load=yes
10110 else
10111 echo "$as_me: failed program was:" >&5
10112 sed 's/^/| /' conftest.$ac_ext >&5
10114 ac_cv_lib_dld_shl_load=no
10116 rm -f conftest.err conftest.$ac_objext \
10117 conftest$ac_exeext conftest.$ac_ext
10118 LIBS=$ac_check_lib_save_LIBS
10120 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10121 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10122 if test $ac_cv_lib_dld_shl_load = yes; then
10123 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10124 else
10125 echo "$as_me:$LINENO: checking for dlopen" >&5
10126 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10127 if test "${ac_cv_func_dlopen+set}" = set; then
10128 echo $ECHO_N "(cached) $ECHO_C" >&6
10129 else
10130 if test x$gcc_no_link = xyes; then
10131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10133 { (exit 1); exit 1; }; }
10135 cat >conftest.$ac_ext <<_ACEOF
10136 /* confdefs.h. */
10137 _ACEOF
10138 cat confdefs.h >>conftest.$ac_ext
10139 cat >>conftest.$ac_ext <<_ACEOF
10140 /* end confdefs.h. */
10141 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10143 #define dlopen innocuous_dlopen
10145 /* System header to define __stub macros and hopefully few prototypes,
10146 which can conflict with char dlopen (); below.
10147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10148 <limits.h> exists even on freestanding compilers. */
10150 #ifdef __STDC__
10151 # include <limits.h>
10152 #else
10153 # include <assert.h>
10154 #endif
10156 #undef dlopen
10158 /* Override any gcc2 internal prototype to avoid an error. */
10159 #ifdef __cplusplus
10160 extern "C"
10162 #endif
10163 /* We use char because int might match the return type of a gcc2
10164 builtin and then its argument prototype would still apply. */
10165 char dlopen ();
10166 /* The GNU C library defines this for functions which it implements
10167 to always fail with ENOSYS. Some functions are actually named
10168 something starting with __ and the normal name is an alias. */
10169 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10170 choke me
10171 #else
10172 char (*f) () = dlopen;
10173 #endif
10174 #ifdef __cplusplus
10176 #endif
10179 main ()
10181 return f != dlopen;
10183 return 0;
10185 _ACEOF
10186 rm -f conftest.$ac_objext conftest$ac_exeext
10187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10188 (eval $ac_link) 2>conftest.er1
10189 ac_status=$?
10190 grep -v '^ *+' conftest.er1 >conftest.err
10191 rm -f conftest.er1
10192 cat conftest.err >&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); } &&
10195 { ac_try='test -z "$ac_c_werror_flag"
10196 || test ! -s conftest.err'
10197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10198 (eval $ac_try) 2>&5
10199 ac_status=$?
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); }; } &&
10202 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
10208 ac_cv_func_dlopen=yes
10209 else
10210 echo "$as_me: failed program was:" >&5
10211 sed 's/^/| /' conftest.$ac_ext >&5
10213 ac_cv_func_dlopen=no
10215 rm -f conftest.err conftest.$ac_objext \
10216 conftest$ac_exeext conftest.$ac_ext
10218 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10219 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10220 if test $ac_cv_func_dlopen = yes; then
10221 lt_cv_dlopen="dlopen"
10222 else
10223 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10224 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10225 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10226 echo $ECHO_N "(cached) $ECHO_C" >&6
10227 else
10228 ac_check_lib_save_LIBS=$LIBS
10229 LIBS="-ldl $LIBS"
10230 if test x$gcc_no_link = xyes; then
10231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10233 { (exit 1); exit 1; }; }
10235 cat >conftest.$ac_ext <<_ACEOF
10236 /* confdefs.h. */
10237 _ACEOF
10238 cat confdefs.h >>conftest.$ac_ext
10239 cat >>conftest.$ac_ext <<_ACEOF
10240 /* end confdefs.h. */
10242 /* Override any gcc2 internal prototype to avoid an error. */
10243 #ifdef __cplusplus
10244 extern "C"
10245 #endif
10246 /* We use char because int might match the return type of a gcc2
10247 builtin and then its argument prototype would still apply. */
10248 char dlopen ();
10250 main ()
10252 dlopen ();
10254 return 0;
10256 _ACEOF
10257 rm -f conftest.$ac_objext conftest$ac_exeext
10258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10259 (eval $ac_link) 2>conftest.er1
10260 ac_status=$?
10261 grep -v '^ *+' conftest.er1 >conftest.err
10262 rm -f conftest.er1
10263 cat conftest.err >&5
10264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 (exit $ac_status); } &&
10266 { ac_try='test -z "$ac_c_werror_flag"
10267 || test ! -s conftest.err'
10268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10269 (eval $ac_try) 2>&5
10270 ac_status=$?
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); }; } &&
10273 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
10279 ac_cv_lib_dl_dlopen=yes
10280 else
10281 echo "$as_me: failed program was:" >&5
10282 sed 's/^/| /' conftest.$ac_ext >&5
10284 ac_cv_lib_dl_dlopen=no
10286 rm -f conftest.err conftest.$ac_objext \
10287 conftest$ac_exeext conftest.$ac_ext
10288 LIBS=$ac_check_lib_save_LIBS
10290 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10291 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10292 if test $ac_cv_lib_dl_dlopen = yes; then
10293 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10294 else
10295 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10296 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10297 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10298 echo $ECHO_N "(cached) $ECHO_C" >&6
10299 else
10300 ac_check_lib_save_LIBS=$LIBS
10301 LIBS="-lsvld $LIBS"
10302 if test x$gcc_no_link = xyes; then
10303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10305 { (exit 1); exit 1; }; }
10307 cat >conftest.$ac_ext <<_ACEOF
10308 /* confdefs.h. */
10309 _ACEOF
10310 cat confdefs.h >>conftest.$ac_ext
10311 cat >>conftest.$ac_ext <<_ACEOF
10312 /* end confdefs.h. */
10314 /* Override any gcc2 internal prototype to avoid an error. */
10315 #ifdef __cplusplus
10316 extern "C"
10317 #endif
10318 /* We use char because int might match the return type of a gcc2
10319 builtin and then its argument prototype would still apply. */
10320 char dlopen ();
10322 main ()
10324 dlopen ();
10326 return 0;
10328 _ACEOF
10329 rm -f conftest.$ac_objext conftest$ac_exeext
10330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10331 (eval $ac_link) 2>conftest.er1
10332 ac_status=$?
10333 grep -v '^ *+' conftest.er1 >conftest.err
10334 rm -f conftest.er1
10335 cat conftest.err >&5
10336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10337 (exit $ac_status); } &&
10338 { ac_try='test -z "$ac_c_werror_flag"
10339 || test ! -s conftest.err'
10340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10341 (eval $ac_try) 2>&5
10342 ac_status=$?
10343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10344 (exit $ac_status); }; } &&
10345 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
10351 ac_cv_lib_svld_dlopen=yes
10352 else
10353 echo "$as_me: failed program was:" >&5
10354 sed 's/^/| /' conftest.$ac_ext >&5
10356 ac_cv_lib_svld_dlopen=no
10358 rm -f conftest.err conftest.$ac_objext \
10359 conftest$ac_exeext conftest.$ac_ext
10360 LIBS=$ac_check_lib_save_LIBS
10362 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10363 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10364 if test $ac_cv_lib_svld_dlopen = yes; then
10365 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10366 else
10367 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10368 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10369 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10370 echo $ECHO_N "(cached) $ECHO_C" >&6
10371 else
10372 ac_check_lib_save_LIBS=$LIBS
10373 LIBS="-ldld $LIBS"
10374 if test x$gcc_no_link = xyes; then
10375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10377 { (exit 1); exit 1; }; }
10379 cat >conftest.$ac_ext <<_ACEOF
10380 /* confdefs.h. */
10381 _ACEOF
10382 cat confdefs.h >>conftest.$ac_ext
10383 cat >>conftest.$ac_ext <<_ACEOF
10384 /* end confdefs.h. */
10386 /* Override any gcc2 internal prototype to avoid an error. */
10387 #ifdef __cplusplus
10388 extern "C"
10389 #endif
10390 /* We use char because int might match the return type of a gcc2
10391 builtin and then its argument prototype would still apply. */
10392 char dld_link ();
10394 main ()
10396 dld_link ();
10398 return 0;
10400 _ACEOF
10401 rm -f conftest.$ac_objext conftest$ac_exeext
10402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10403 (eval $ac_link) 2>conftest.er1
10404 ac_status=$?
10405 grep -v '^ *+' conftest.er1 >conftest.err
10406 rm -f conftest.er1
10407 cat conftest.err >&5
10408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10409 (exit $ac_status); } &&
10410 { ac_try='test -z "$ac_c_werror_flag"
10411 || test ! -s conftest.err'
10412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10413 (eval $ac_try) 2>&5
10414 ac_status=$?
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); }; } &&
10417 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
10423 ac_cv_lib_dld_dld_link=yes
10424 else
10425 echo "$as_me: failed program was:" >&5
10426 sed 's/^/| /' conftest.$ac_ext >&5
10428 ac_cv_lib_dld_dld_link=no
10430 rm -f conftest.err conftest.$ac_objext \
10431 conftest$ac_exeext conftest.$ac_ext
10432 LIBS=$ac_check_lib_save_LIBS
10434 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10435 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10436 if test $ac_cv_lib_dld_dld_link = yes; then
10437 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10456 esac
10458 if test "x$lt_cv_dlopen" != xno; then
10459 enable_dlopen=yes
10460 else
10461 enable_dlopen=no
10464 case $lt_cv_dlopen in
10465 dlopen)
10466 save_CPPFLAGS="$CPPFLAGS"
10467 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10469 save_LDFLAGS="$LDFLAGS"
10470 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10472 save_LIBS="$LIBS"
10473 LIBS="$lt_cv_dlopen_libs $LIBS"
10475 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10476 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10477 if test "${lt_cv_dlopen_self+set}" = set; then
10478 echo $ECHO_N "(cached) $ECHO_C" >&6
10479 else
10480 if test "$cross_compiling" = yes; then :
10481 lt_cv_dlopen_self=cross
10482 else
10483 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10484 lt_status=$lt_dlunknown
10485 cat > conftest.$ac_ext <<_LT_EOF
10486 #line 10486 "configure"
10487 #include "confdefs.h"
10489 #if HAVE_DLFCN_H
10490 #include <dlfcn.h>
10491 #endif
10493 #include <stdio.h>
10495 #ifdef RTLD_GLOBAL
10496 # define LT_DLGLOBAL RTLD_GLOBAL
10497 #else
10498 # ifdef DL_GLOBAL
10499 # define LT_DLGLOBAL DL_GLOBAL
10500 # else
10501 # define LT_DLGLOBAL 0
10502 # endif
10503 #endif
10505 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10506 find out it does not work in some platform. */
10507 #ifndef LT_DLLAZY_OR_NOW
10508 # ifdef RTLD_LAZY
10509 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10510 # else
10511 # ifdef DL_LAZY
10512 # define LT_DLLAZY_OR_NOW DL_LAZY
10513 # else
10514 # ifdef RTLD_NOW
10515 # define LT_DLLAZY_OR_NOW RTLD_NOW
10516 # else
10517 # ifdef DL_NOW
10518 # define LT_DLLAZY_OR_NOW DL_NOW
10519 # else
10520 # define LT_DLLAZY_OR_NOW 0
10521 # endif
10522 # endif
10523 # endif
10524 # endif
10525 #endif
10527 #ifdef __cplusplus
10528 extern "C" void exit (int);
10529 #endif
10531 void fnord() { int i=42;}
10532 int main ()
10534 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10535 int status = $lt_dlunknown;
10537 if (self)
10539 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10540 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10541 /* dlclose (self); */
10543 else
10544 puts (dlerror ());
10546 exit (status);
10548 _LT_EOF
10549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10550 (eval $ac_link) 2>&5
10551 ac_status=$?
10552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10554 (./conftest; exit; ) >&5 2>/dev/null
10555 lt_status=$?
10556 case x$lt_status in
10557 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10558 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10559 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10560 esac
10561 else :
10562 # compilation failed
10563 lt_cv_dlopen_self=no
10566 rm -fr conftest*
10570 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10571 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10573 if test "x$lt_cv_dlopen_self" = xyes; then
10574 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10575 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10576 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10577 if test "${lt_cv_dlopen_self_static+set}" = set; then
10578 echo $ECHO_N "(cached) $ECHO_C" >&6
10579 else
10580 if test "$cross_compiling" = yes; then :
10581 lt_cv_dlopen_self_static=cross
10582 else
10583 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10584 lt_status=$lt_dlunknown
10585 cat > conftest.$ac_ext <<_LT_EOF
10586 #line 10586 "configure"
10587 #include "confdefs.h"
10589 #if HAVE_DLFCN_H
10590 #include <dlfcn.h>
10591 #endif
10593 #include <stdio.h>
10595 #ifdef RTLD_GLOBAL
10596 # define LT_DLGLOBAL RTLD_GLOBAL
10597 #else
10598 # ifdef DL_GLOBAL
10599 # define LT_DLGLOBAL DL_GLOBAL
10600 # else
10601 # define LT_DLGLOBAL 0
10602 # endif
10603 #endif
10605 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10606 find out it does not work in some platform. */
10607 #ifndef LT_DLLAZY_OR_NOW
10608 # ifdef RTLD_LAZY
10609 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10610 # else
10611 # ifdef DL_LAZY
10612 # define LT_DLLAZY_OR_NOW DL_LAZY
10613 # else
10614 # ifdef RTLD_NOW
10615 # define LT_DLLAZY_OR_NOW RTLD_NOW
10616 # else
10617 # ifdef DL_NOW
10618 # define LT_DLLAZY_OR_NOW DL_NOW
10619 # else
10620 # define LT_DLLAZY_OR_NOW 0
10621 # endif
10622 # endif
10623 # endif
10624 # endif
10625 #endif
10627 #ifdef __cplusplus
10628 extern "C" void exit (int);
10629 #endif
10631 void fnord() { int i=42;}
10632 int main ()
10634 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10635 int status = $lt_dlunknown;
10637 if (self)
10639 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10640 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10641 /* dlclose (self); */
10643 else
10644 puts (dlerror ());
10646 exit (status);
10648 _LT_EOF
10649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10650 (eval $ac_link) 2>&5
10651 ac_status=$?
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10654 (./conftest; exit; ) >&5 2>/dev/null
10655 lt_status=$?
10656 case x$lt_status in
10657 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10658 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10659 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10660 esac
10661 else :
10662 # compilation failed
10663 lt_cv_dlopen_self_static=no
10666 rm -fr conftest*
10670 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10671 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10674 CPPFLAGS="$save_CPPFLAGS"
10675 LDFLAGS="$save_LDFLAGS"
10676 LIBS="$save_LIBS"
10678 esac
10680 case $lt_cv_dlopen_self in
10681 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10682 *) enable_dlopen_self=unknown ;;
10683 esac
10685 case $lt_cv_dlopen_self_static in
10686 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10687 *) enable_dlopen_self_static=unknown ;;
10688 esac
10707 striplib=
10708 old_striplib=
10709 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10710 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10711 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10712 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10713 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10714 echo "$as_me:$LINENO: result: yes" >&5
10715 echo "${ECHO_T}yes" >&6
10716 else
10717 # FIXME - insert some real tests, host_os isn't really good enough
10718 case $host_os in
10719 darwin*)
10720 if test -n "$STRIP" ; then
10721 striplib="$STRIP -x"
10722 old_striplib="$STRIP -S"
10723 echo "$as_me:$LINENO: result: yes" >&5
10724 echo "${ECHO_T}yes" >&6
10725 else
10726 echo "$as_me:$LINENO: result: no" >&5
10727 echo "${ECHO_T}no" >&6
10731 echo "$as_me:$LINENO: result: no" >&5
10732 echo "${ECHO_T}no" >&6
10734 esac
10748 # Report which library types will actually be built
10749 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10750 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10751 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10752 echo "${ECHO_T}$can_build_shared" >&6
10754 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10755 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10756 test "$can_build_shared" = "no" && enable_shared=no
10758 # On AIX, shared libraries and static libraries use the same namespace, and
10759 # are all built from PIC.
10760 case $host_os in
10761 aix3*)
10762 test "$enable_shared" = yes && enable_static=no
10763 if test -n "$RANLIB"; then
10764 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10765 postinstall_cmds='$RANLIB $lib'
10769 aix4* | aix5*)
10770 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10771 test "$enable_shared" = yes && enable_static=no
10774 esac
10775 echo "$as_me:$LINENO: result: $enable_shared" >&5
10776 echo "${ECHO_T}$enable_shared" >&6
10778 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10779 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10780 # Make sure either enable_shared or enable_static is yes.
10781 test "$enable_shared" = yes || enable_static=yes
10782 echo "$as_me:$LINENO: result: $enable_static" >&5
10783 echo "${ECHO_T}$enable_static" >&6
10789 ac_ext=c
10790 ac_cpp='$CPP $CPPFLAGS'
10791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10795 CC="$lt_save_CC"
10798 ac_ext=cc
10799 ac_cpp='$CXXCPP $CPPFLAGS'
10800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10804 archive_cmds_need_lc_CXX=no
10805 allow_undefined_flag_CXX=
10806 always_export_symbols_CXX=no
10807 archive_expsym_cmds_CXX=
10808 compiler_needs_object_CXX=no
10809 export_dynamic_flag_spec_CXX=
10810 hardcode_direct_CXX=no
10811 hardcode_direct_absolute_CXX=no
10812 hardcode_libdir_flag_spec_CXX=
10813 hardcode_libdir_flag_spec_ld_CXX=
10814 hardcode_libdir_separator_CXX=
10815 hardcode_minus_L_CXX=no
10816 hardcode_shlibpath_var_CXX=unsupported
10817 hardcode_automatic_CXX=no
10818 inherit_rpath_CXX=no
10819 module_cmds_CXX=
10820 module_expsym_cmds_CXX=
10821 link_all_deplibs_CXX=unknown
10822 old_archive_cmds_CXX=$old_archive_cmds
10823 no_undefined_flag_CXX=
10824 whole_archive_flag_spec_CXX=
10825 enable_shared_with_static_runtimes_CXX=no
10827 # Source file extension for C++ test sources.
10828 ac_ext=cpp
10830 # Object file extension for compiled C++ test sources.
10831 objext=o
10832 objext_CXX=$objext
10834 # No sense in running all these tests if we already determined that
10835 # the CXX compiler isn't working. Some variables (like enable_shared)
10836 # are currently assumed to apply to all compilers on this platform,
10837 # and will be corrupted by setting them based on a non-working compiler.
10838 if test "$_lt_caught_CXX_error" != yes; then
10839 # Code to be used in simple compile tests
10840 lt_simple_compile_test_code="int some_variable = 0;"
10842 # Code to be used in simple link tests
10843 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10845 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10852 # If no C compiler was specified, use CC.
10853 LTCC=${LTCC-"$CC"}
10855 # If no C compiler flags were specified, use CFLAGS.
10856 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10858 # Allow CC to be a program name with arguments.
10859 compiler=$CC
10862 # save warnings/boilerplate of simple test code
10863 ac_outfile=conftest.$ac_objext
10864 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10865 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10866 _lt_compiler_boilerplate=`cat conftest.err`
10867 $RM conftest*
10869 ac_outfile=conftest.$ac_objext
10870 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10871 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10872 _lt_linker_boilerplate=`cat conftest.err`
10873 $RM conftest*
10876 # Allow CC to be a program name with arguments.
10877 lt_save_CC=$CC
10878 lt_save_LD=$LD
10879 lt_save_GCC=$GCC
10880 GCC=$GXX
10881 lt_save_with_gnu_ld=$with_gnu_ld
10882 lt_save_path_LD=$lt_cv_path_LD
10883 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10884 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10885 else
10886 $as_unset lt_cv_prog_gnu_ld
10888 if test -n "${lt_cv_path_LDCXX+set}"; then
10889 lt_cv_path_LD=$lt_cv_path_LDCXX
10890 else
10891 $as_unset lt_cv_path_LD
10893 test -z "${LDCXX+set}" || LD=$LDCXX
10894 CC=${CXX-"c++"}
10895 compiler=$CC
10896 compiler_CXX=$CC
10897 for cc_temp in $compiler""; do
10898 case $cc_temp in
10899 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10900 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10901 \-*) ;;
10902 *) break;;
10903 esac
10904 done
10905 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10908 if test -n "$compiler"; then
10909 # We don't want -fno-exception when compiling C++ code, so set the
10910 # no_builtin_flag separately
10911 if test "$GXX" = yes; then
10912 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10913 else
10914 lt_prog_compiler_no_builtin_flag_CXX=
10917 if test "$GXX" = yes; then
10918 # Set up default GNU C++ configuration
10922 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10923 if test "${with_gnu_ld+set}" = set; then
10924 withval="$with_gnu_ld"
10925 test "$withval" = no || with_gnu_ld=yes
10926 else
10927 with_gnu_ld=no
10929 ac_prog=ld
10930 if test "$GCC" = yes; then
10931 # Check if gcc -print-prog-name=ld gives a path.
10932 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10933 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10934 case $host in
10935 *-*-mingw*)
10936 # gcc leaves a trailing carriage return which upsets mingw
10937 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10939 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10940 esac
10941 case $ac_prog in
10942 # Accept absolute paths.
10943 [\\/]* | ?:[\\/]*)
10944 re_direlt='/[^/][^/]*/\.\./'
10945 # Canonicalize the pathname of ld
10946 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10947 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10948 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10949 done
10950 test -z "$LD" && LD="$ac_prog"
10953 # If it fails, then pretend we aren't using GCC.
10954 ac_prog=ld
10957 # If it is relative, then search for the first ld in PATH.
10958 with_gnu_ld=unknown
10960 esac
10961 elif test "$with_gnu_ld" = yes; then
10962 echo "$as_me:$LINENO: checking for GNU ld" >&5
10963 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10964 else
10965 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10966 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10968 if test "${lt_cv_path_LD+set}" = set; then
10969 echo $ECHO_N "(cached) $ECHO_C" >&6
10970 else
10971 if test -z "$LD"; then
10972 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10973 for ac_dir in $PATH; do
10974 IFS="$lt_save_ifs"
10975 test -z "$ac_dir" && ac_dir=.
10976 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10977 lt_cv_path_LD="$ac_dir/$ac_prog"
10978 # Check to see if the program is GNU ld. I'd rather use --version,
10979 # but apparently some variants of GNU ld only accept -v.
10980 # Break only if it was the GNU/non-GNU ld that we prefer.
10981 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10982 *GNU* | *'with BFD'*)
10983 test "$with_gnu_ld" != no && break
10986 test "$with_gnu_ld" != yes && break
10988 esac
10990 done
10991 IFS="$lt_save_ifs"
10992 else
10993 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10997 LD="$lt_cv_path_LD"
10998 if test -n "$LD"; then
10999 echo "$as_me:$LINENO: result: $LD" >&5
11000 echo "${ECHO_T}$LD" >&6
11001 else
11002 echo "$as_me:$LINENO: result: no" >&5
11003 echo "${ECHO_T}no" >&6
11005 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11006 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11007 { (exit 1); exit 1; }; }
11008 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11009 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11010 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11011 echo $ECHO_N "(cached) $ECHO_C" >&6
11012 else
11013 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11014 case `$LD -v 2>&1 </dev/null` in
11015 *GNU* | *'with BFD'*)
11016 lt_cv_prog_gnu_ld=yes
11019 lt_cv_prog_gnu_ld=no
11021 esac
11023 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11024 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11025 with_gnu_ld=$lt_cv_prog_gnu_ld
11033 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11034 # archiving commands below assume that GNU ld is being used.
11035 if test "$with_gnu_ld" = yes; then
11036 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11037 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'
11039 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11040 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11042 # If archive_cmds runs LD, not CC, wlarc should be empty
11043 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11044 # investigate it a little bit more. (MM)
11045 wlarc='${wl}'
11047 # ancient GNU ld didn't support --whole-archive et. al.
11048 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11049 $GREP 'no-whole-archive' > /dev/null; then
11050 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11051 else
11052 whole_archive_flag_spec_CXX=
11054 else
11055 with_gnu_ld=no
11056 wlarc=
11058 # A generic and very simple default shared library creation
11059 # command for GNU C++ for the case where it uses the native
11060 # linker, instead of GNU ld. If possible, this setting should
11061 # overridden to take advantage of the native linker features on
11062 # the platform it is being used on.
11063 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11066 # Commands to make compiler produce verbose output that lists
11067 # what "hidden" libraries, object files and flags are used when
11068 # linking a shared library.
11069 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11071 else
11072 GXX=no
11073 with_gnu_ld=no
11074 wlarc=
11077 # PORTME: fill in a description of your system's C++ link characteristics
11078 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11079 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11080 ld_shlibs_CXX=yes
11081 case $host_os in
11082 aix3*)
11083 # FIXME: insert proper C++ library support
11084 ld_shlibs_CXX=no
11086 aix4* | aix5*)
11087 if test "$host_cpu" = ia64; then
11088 # On IA64, the linker does run time linking by default, so we don't
11089 # have to do anything special.
11090 aix_use_runtimelinking=no
11091 exp_sym_flag='-Bexport'
11092 no_entry_flag=""
11093 else
11094 aix_use_runtimelinking=no
11096 # Test if we are trying to use run time linking or normal
11097 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11098 # need to do runtime linking.
11099 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11100 for ld_flag in $LDFLAGS; do
11101 case $ld_flag in
11102 *-brtl*)
11103 aix_use_runtimelinking=yes
11104 break
11106 esac
11107 done
11109 esac
11111 exp_sym_flag='-bexport'
11112 no_entry_flag='-bnoentry'
11115 # When large executables or shared objects are built, AIX ld can
11116 # have problems creating the table of contents. If linking a library
11117 # or program results in "error TOC overflow" add -mminimal-toc to
11118 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11119 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11121 archive_cmds_CXX=''
11122 hardcode_direct_CXX=yes
11123 hardcode_direct_absolute_CXX=yes
11124 hardcode_libdir_separator_CXX=':'
11125 link_all_deplibs_CXX=yes
11126 file_list_spec_CXX='${wl}-f,'
11128 if test "$GXX" = yes; then
11129 case $host_os in aix4.[012]|aix4.[012].*)
11130 # We only want to do this on AIX 4.2 and lower, the check
11131 # below for broken collect2 doesn't work under 4.3+
11132 collect2name=`${CC} -print-prog-name=collect2`
11133 if test -f "$collect2name" &&
11134 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11135 then
11136 # We have reworked collect2
11138 else
11139 # We have old collect2
11140 hardcode_direct_CXX=unsupported
11141 # It fails to find uninstalled libraries when the uninstalled
11142 # path is not listed in the libpath. Setting hardcode_minus_L
11143 # to unsupported forces relinking
11144 hardcode_minus_L_CXX=yes
11145 hardcode_libdir_flag_spec_CXX='-L$libdir'
11146 hardcode_libdir_separator_CXX=
11148 esac
11149 shared_flag='-shared'
11150 if test "$aix_use_runtimelinking" = yes; then
11151 shared_flag="$shared_flag "'${wl}-G'
11153 else
11154 # not using gcc
11155 if test "$host_cpu" = ia64; then
11156 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11157 # chokes on -Wl,-G. The following line is correct:
11158 shared_flag='-G'
11159 else
11160 if test "$aix_use_runtimelinking" = yes; then
11161 shared_flag='${wl}-G'
11162 else
11163 shared_flag='${wl}-bM:SRE'
11168 # It seems that -bexpall does not export symbols beginning with
11169 # underscore (_), so it is better to generate a list of symbols to
11170 # export.
11171 always_export_symbols_CXX=yes
11172 if test "$aix_use_runtimelinking" = yes; then
11173 # Warning - without using the other runtime loading flags (-brtl),
11174 # -berok will link without error, but may produce a broken library.
11175 allow_undefined_flag_CXX='-berok'
11176 # Determine the default libpath from the value encoded in an empty
11177 # executable.
11178 if test x$gcc_no_link = xyes; then
11179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11181 { (exit 1); exit 1; }; }
11183 cat >conftest.$ac_ext <<_ACEOF
11184 /* confdefs.h. */
11185 _ACEOF
11186 cat confdefs.h >>conftest.$ac_ext
11187 cat >>conftest.$ac_ext <<_ACEOF
11188 /* end confdefs.h. */
11191 main ()
11195 return 0;
11197 _ACEOF
11198 rm -f conftest.$ac_objext conftest$ac_exeext
11199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11200 (eval $ac_link) 2>conftest.er1
11201 ac_status=$?
11202 grep -v '^ *+' conftest.er1 >conftest.err
11203 rm -f conftest.er1
11204 cat conftest.err >&5
11205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11206 (exit $ac_status); } &&
11207 { ac_try='test -z "$ac_cxx_werror_flag"
11208 || test ! -s conftest.err'
11209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11210 (eval $ac_try) 2>&5
11211 ac_status=$?
11212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); }; } &&
11214 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11221 lt_aix_libpath_sed='
11222 /Import File Strings/,/^$/ {
11223 /^0/ {
11224 s/^0 *\(.*\)$/\1/
11228 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11229 # Check for a 64-bit object if we didn't find anything.
11230 if test -z "$aix_libpath"; then
11231 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11233 else
11234 echo "$as_me: failed program was:" >&5
11235 sed 's/^/| /' conftest.$ac_ext >&5
11238 rm -f conftest.err conftest.$ac_objext \
11239 conftest$ac_exeext conftest.$ac_ext
11240 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11242 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11244 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"
11245 else
11246 if test "$host_cpu" = ia64; then
11247 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11248 allow_undefined_flag_CXX="-z nodefs"
11249 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"
11250 else
11251 # Determine the default libpath from the value encoded in an
11252 # empty executable.
11253 if test x$gcc_no_link = xyes; then
11254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11256 { (exit 1); exit 1; }; }
11258 cat >conftest.$ac_ext <<_ACEOF
11259 /* confdefs.h. */
11260 _ACEOF
11261 cat confdefs.h >>conftest.$ac_ext
11262 cat >>conftest.$ac_ext <<_ACEOF
11263 /* end confdefs.h. */
11266 main ()
11270 return 0;
11272 _ACEOF
11273 rm -f conftest.$ac_objext conftest$ac_exeext
11274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11275 (eval $ac_link) 2>conftest.er1
11276 ac_status=$?
11277 grep -v '^ *+' conftest.er1 >conftest.err
11278 rm -f conftest.er1
11279 cat conftest.err >&5
11280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 (exit $ac_status); } &&
11282 { ac_try='test -z "$ac_cxx_werror_flag"
11283 || test ! -s conftest.err'
11284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11285 (eval $ac_try) 2>&5
11286 ac_status=$?
11287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288 (exit $ac_status); }; } &&
11289 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11296 lt_aix_libpath_sed='
11297 /Import File Strings/,/^$/ {
11298 /^0/ {
11299 s/^0 *\(.*\)$/\1/
11303 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11304 # Check for a 64-bit object if we didn't find anything.
11305 if test -z "$aix_libpath"; then
11306 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11308 else
11309 echo "$as_me: failed program was:" >&5
11310 sed 's/^/| /' conftest.$ac_ext >&5
11313 rm -f conftest.err conftest.$ac_objext \
11314 conftest$ac_exeext conftest.$ac_ext
11315 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11317 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11318 # Warning - without using the other run time loading flags,
11319 # -berok will link without error, but may produce a broken library.
11320 no_undefined_flag_CXX=' ${wl}-bernotok'
11321 allow_undefined_flag_CXX=' ${wl}-berok'
11322 # Exported symbols can be pulled into shared objects from archives
11323 whole_archive_flag_spec_CXX='$convenience'
11324 archive_cmds_need_lc_CXX=yes
11325 # This is similar to how AIX traditionally builds its shared
11326 # libraries.
11327 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'
11332 beos*)
11333 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11334 allow_undefined_flag_CXX=unsupported
11335 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11336 # support --undefined. This deserves some investigation. FIXME
11337 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11338 else
11339 ld_shlibs_CXX=no
11343 chorus*)
11344 case $cc_basename in
11346 # FIXME: insert proper C++ library support
11347 ld_shlibs_CXX=no
11349 esac
11352 cygwin* | mingw* | pw32*)
11353 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11354 # as there is no search path for DLLs.
11355 hardcode_libdir_flag_spec_CXX='-L$libdir'
11356 allow_undefined_flag_CXX=unsupported
11357 always_export_symbols_CXX=no
11358 enable_shared_with_static_runtimes_CXX=yes
11360 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11361 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'
11362 # If the export-symbols file already is a .def file (1st line
11363 # is EXPORTS), use it as is; otherwise, prepend...
11364 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11365 cp $export_symbols $output_objdir/$soname.def;
11366 else
11367 echo EXPORTS > $output_objdir/$soname.def;
11368 cat $export_symbols >> $output_objdir/$soname.def;
11370 $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'
11371 else
11372 ld_shlibs_CXX=no
11375 darwin* | rhapsody*)
11376 case $host_os in
11377 rhapsody* | darwin1.[012])
11378 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11380 *) # Darwin 1.3 on
11381 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11382 10.[012])
11383 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11385 10.*)
11386 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11388 esac
11390 esac
11391 archive_cmds_need_lc_CXX=no
11392 hardcode_direct_CXX=no
11393 hardcode_automatic_CXX=yes
11394 hardcode_shlibpath_var_CXX=unsupported
11395 whole_archive_flag_spec_CXX=''
11396 link_all_deplibs_CXX=yes
11398 if test "$GXX" = yes ; then
11399 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11400 echo $ECHO_N "(cached) $ECHO_C" >&6
11401 else
11402 lt_cv_apple_cc_single_mod=no
11403 if test -z "${LT_MULTI_MODULE}"; then
11404 # By default we will add the -single_module flag. You can override
11405 # by either setting the environment variable LT_MULTI_MODULE
11406 # non-empty at configure time, or by adding -multi-module to the
11407 # link flags.
11408 echo "int foo(void){return 1;}" > conftest.c
11409 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11410 -dynamiclib ${wl}-single_module conftest.c
11411 if test -f libconftest.dylib; then
11412 lt_cv_apple_cc_single_mod=yes
11413 rm libconftest.dylib
11415 rm conftest.$ac_ext
11419 output_verbose_link_cmd=echo
11420 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11421 archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11422 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}'
11423 else
11424 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'
11425 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}'
11427 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11428 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}'
11429 else
11430 case $cc_basename in
11431 xlc*)
11432 output_verbose_link_cmd=echo
11433 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'
11434 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11435 # Don't fix this by using the ld -exported_symbols_list flag,
11436 # it doesn't exist in older darwin lds
11437 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}'
11438 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}'
11441 ld_shlibs_CXX=no
11443 esac
11447 dgux*)
11448 case $cc_basename in
11449 ec++*)
11450 # FIXME: insert proper C++ library support
11451 ld_shlibs_CXX=no
11453 ghcx*)
11454 # Green Hills C++ Compiler
11455 # FIXME: insert proper C++ library support
11456 ld_shlibs_CXX=no
11459 # FIXME: insert proper C++ library support
11460 ld_shlibs_CXX=no
11462 esac
11465 freebsd[12]*)
11466 # C++ shared libraries reported to be fairly broken before
11467 # switch to ELF
11468 ld_shlibs_CXX=no
11471 freebsd-elf*)
11472 archive_cmds_need_lc_CXX=no
11475 freebsd* | dragonfly*)
11476 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11477 # conventions
11478 ld_shlibs_CXX=yes
11481 gnu*)
11484 hpux9*)
11485 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11486 hardcode_libdir_separator_CXX=:
11487 export_dynamic_flag_spec_CXX='${wl}-E'
11488 hardcode_direct_CXX=yes
11489 hardcode_minus_L_CXX=yes # Not in the search PATH,
11490 # but as the default
11491 # location of the library.
11493 case $cc_basename in
11494 CC*)
11495 # FIXME: insert proper C++ library support
11496 ld_shlibs_CXX=no
11498 aCC*)
11499 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'
11500 # Commands to make compiler produce verbose output that lists
11501 # what "hidden" libraries, object files and flags are used when
11502 # linking a shared library.
11504 # There doesn't appear to be a way to prevent this compiler from
11505 # explicitly linking system object files so we need to strip them
11506 # from the output so that they don't get included in the library
11507 # dependencies.
11508 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'
11511 if test "$GXX" = yes; then
11512 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'
11513 else
11514 # FIXME: insert proper C++ library support
11515 ld_shlibs_CXX=no
11518 esac
11521 hpux10*|hpux11*)
11522 if test $with_gnu_ld = no; then
11523 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11524 hardcode_libdir_separator_CXX=:
11526 case $host_cpu in
11527 hppa*64*|ia64*)
11530 export_dynamic_flag_spec_CXX='${wl}-E'
11532 esac
11534 case $host_cpu in
11535 hppa*64*|ia64*)
11536 hardcode_direct_CXX=no
11537 hardcode_shlibpath_var_CXX=no
11540 hardcode_direct_CXX=yes
11541 hardcode_direct_absolute_CXX=yes
11542 hardcode_minus_L_CXX=yes # Not in the search PATH,
11543 # but as the default
11544 # location of the library.
11546 esac
11548 case $cc_basename in
11549 CC*)
11550 # FIXME: insert proper C++ library support
11551 ld_shlibs_CXX=no
11553 aCC*)
11554 case $host_cpu in
11555 hppa*64*)
11556 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11558 ia64*)
11559 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11562 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11564 esac
11565 # Commands to make compiler produce verbose output that lists
11566 # what "hidden" libraries, object files and flags are used when
11567 # linking a shared library.
11569 # There doesn't appear to be a way to prevent this compiler from
11570 # explicitly linking system object files so we need to strip them
11571 # from the output so that they don't get included in the library
11572 # dependencies.
11573 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'
11576 if test "$GXX" = yes; then
11577 if test $with_gnu_ld = no; then
11578 case $host_cpu in
11579 hppa*64*)
11580 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11582 ia64*)
11583 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11586 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'
11588 esac
11590 else
11591 # FIXME: insert proper C++ library support
11592 ld_shlibs_CXX=no
11595 esac
11598 interix[3-9]*)
11599 hardcode_direct_CXX=no
11600 hardcode_shlibpath_var_CXX=no
11601 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11602 export_dynamic_flag_spec_CXX='${wl}-E'
11603 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11604 # Instead, shared libraries are loaded at an image base (0x10000000 by
11605 # default) and relocated if they conflict, which is a slow very memory
11606 # consuming and fragmenting process. To avoid this, we pick a random,
11607 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11608 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11609 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'
11610 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'
11612 irix5* | irix6*)
11613 case $cc_basename in
11614 CC*)
11615 # SGI C++
11616 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'
11618 # Archives containing C++ object files must be created using
11619 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11620 # necessary to make sure instantiated templates are included
11621 # in the archive.
11622 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11625 if test "$GXX" = yes; then
11626 if test "$with_gnu_ld" = no; then
11627 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'
11628 else
11629 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'
11632 link_all_deplibs_CXX=yes
11634 esac
11635 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11636 hardcode_libdir_separator_CXX=:
11637 inherit_rpath_CXX=yes
11640 linux* | k*bsd*-gnu)
11641 case $cc_basename in
11642 KCC*)
11643 # Kuck and Associates, Inc. (KAI) C++ Compiler
11645 # KCC will only create a shared library if the output file
11646 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11647 # to its proper name (with version) after linking.
11648 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'
11649 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'
11650 # Commands to make compiler produce verbose output that lists
11651 # what "hidden" libraries, object files and flags are used when
11652 # linking a shared library.
11654 # There doesn't appear to be a way to prevent this compiler from
11655 # explicitly linking system object files so we need to strip them
11656 # from the output so that they don't get included in the library
11657 # dependencies.
11658 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'
11660 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11661 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11663 # Archives containing C++ object files must be created using
11664 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11665 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11667 icpc* | ecpc* )
11668 # Intel C++
11669 with_gnu_ld=yes
11670 # version 8.0 and above of icpc choke on multiply defined symbols
11671 # if we add $predep_objects and $postdep_objects, however 7.1 and
11672 # earlier do not add the objects themselves.
11673 case `$CC -V 2>&1` in
11674 *"Version 7."*)
11675 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11676 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'
11678 *) # Version 8.0 or newer
11679 tmp_idyn=
11680 case $host_cpu in
11681 ia64*) tmp_idyn=' -i_dynamic';;
11682 esac
11683 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11684 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'
11686 esac
11687 archive_cmds_need_lc_CXX=no
11688 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11689 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11690 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11692 pgCC*)
11693 # Portland Group C++ compiler
11694 case `$CC -V` in
11695 *pgCC\ [1-5]*)
11696 prelink_cmds_CXX='tpldir=Template.dir~
11697 rm -rf $tpldir~
11698 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11699 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11700 old_archive_cmds_CXX='tpldir=Template.dir~
11701 rm -rf $tpldir~
11702 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11703 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11704 $RANLIB $oldlib'
11705 archive_cmds_CXX='tpldir=Template.dir~
11706 rm -rf $tpldir~
11707 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11708 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11709 archive_expsym_cmds_CXX='tpldir=Template.dir~
11710 rm -rf $tpldir~
11711 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11712 $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'
11714 *) # Version 6 will use weak symbols
11715 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11716 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'
11718 esac
11720 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11721 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11722 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'
11724 cxx*)
11725 # Compaq C++
11726 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11727 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11729 runpath_var=LD_RUN_PATH
11730 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11731 hardcode_libdir_separator_CXX=:
11733 # Commands to make compiler produce verbose output that lists
11734 # what "hidden" libraries, object files and flags are used when
11735 # linking a shared library.
11737 # There doesn't appear to be a way to prevent this compiler from
11738 # explicitly linking system object files so we need to strip them
11739 # from the output so that they don't get included in the library
11740 # dependencies.
11741 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'
11744 case `$CC -V 2>&1 | sed 5q` in
11745 *Sun\ C*)
11746 # Sun C++ 5.9
11747 no_undefined_flag_CXX=' -zdefs'
11748 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11749 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'
11750 hardcode_libdir_flag_spec_CXX='-R$libdir'
11751 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'
11752 compiler_needs_object_CXX=yes
11754 # Not sure whether something based on
11755 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11756 # would be better.
11757 output_verbose_link_cmd='echo'
11759 # Archives containing C++ object files must be created using
11760 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11761 # necessary to make sure instantiated templates are included
11762 # in the archive.
11763 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11765 esac
11767 esac
11770 lynxos*)
11771 # FIXME: insert proper C++ library support
11772 ld_shlibs_CXX=no
11775 m88k*)
11776 # FIXME: insert proper C++ library support
11777 ld_shlibs_CXX=no
11780 mvs*)
11781 case $cc_basename in
11782 cxx*)
11783 # FIXME: insert proper C++ library support
11784 ld_shlibs_CXX=no
11787 # FIXME: insert proper C++ library support
11788 ld_shlibs_CXX=no
11790 esac
11793 netbsd*)
11794 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11795 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11796 wlarc=
11797 hardcode_libdir_flag_spec_CXX='-R$libdir'
11798 hardcode_direct_CXX=yes
11799 hardcode_shlibpath_var_CXX=no
11801 # Workaround some broken pre-1.5 toolchains
11802 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11805 *nto* | *qnx*)
11806 ld_shlibs_CXX=yes
11809 openbsd2*)
11810 # C++ shared libraries are fairly broken
11811 ld_shlibs_CXX=no
11814 openbsd*)
11815 hardcode_direct_CXX=yes
11816 hardcode_shlibpath_var_CXX=no
11817 hardcode_direct_absolute_CXX=yes
11818 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11819 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11820 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11821 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11822 export_dynamic_flag_spec_CXX='${wl}-E'
11823 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11825 output_verbose_link_cmd=echo
11828 osf3* | osf4* | osf5*)
11829 case $cc_basename in
11830 KCC*)
11831 # Kuck and Associates, Inc. (KAI) C++ Compiler
11833 # KCC will only create a shared library if the output file
11834 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11835 # to its proper name (with version) after linking.
11836 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'
11838 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11839 hardcode_libdir_separator_CXX=:
11841 # Archives containing C++ object files must be created using
11842 # the KAI C++ compiler.
11843 case $host in
11844 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11845 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11846 esac
11848 RCC*)
11849 # Rational C++ 2.4.1
11850 # FIXME: insert proper C++ library support
11851 ld_shlibs_CXX=no
11853 cxx*)
11854 case $host in
11855 osf3*)
11856 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11857 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'
11858 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11861 allow_undefined_flag_CXX=' -expect_unresolved \*'
11862 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'
11863 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11864 echo "-hidden">> $lib.exp~
11865 $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~
11866 $RM $lib.exp'
11867 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11869 esac
11871 hardcode_libdir_separator_CXX=:
11873 # Commands to make compiler produce verbose output that lists
11874 # what "hidden" libraries, object files and flags are used when
11875 # linking a shared library.
11877 # There doesn't appear to be a way to prevent this compiler from
11878 # explicitly linking system object files so we need to strip them
11879 # from the output so that they don't get included in the library
11880 # dependencies.
11881 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'
11884 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11885 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11886 case $host in
11887 osf3*)
11888 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'
11891 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'
11893 esac
11895 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11896 hardcode_libdir_separator_CXX=:
11898 # Commands to make compiler produce verbose output that lists
11899 # what "hidden" libraries, object files and flags are used when
11900 # linking a shared library.
11901 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11903 else
11904 # FIXME: insert proper C++ library support
11905 ld_shlibs_CXX=no
11908 esac
11911 psos*)
11912 # FIXME: insert proper C++ library support
11913 ld_shlibs_CXX=no
11916 sunos4*)
11917 case $cc_basename in
11918 CC*)
11919 # Sun C++ 4.x
11920 # FIXME: insert proper C++ library support
11921 ld_shlibs_CXX=no
11923 lcc*)
11924 # Lucid
11925 # FIXME: insert proper C++ library support
11926 ld_shlibs_CXX=no
11929 # FIXME: insert proper C++ library support
11930 ld_shlibs_CXX=no
11932 esac
11935 solaris*)
11936 case $cc_basename in
11937 CC*)
11938 # Sun C++ 4.2, 5.x and Centerline C++
11939 archive_cmds_need_lc_CXX=yes
11940 no_undefined_flag_CXX=' -zdefs'
11941 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11942 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11943 $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'
11945 hardcode_libdir_flag_spec_CXX='-R$libdir'
11946 hardcode_shlibpath_var_CXX=no
11947 case $host_os in
11948 solaris2.[0-5] | solaris2.[0-5].*) ;;
11950 # The compiler driver will combine and reorder linker options,
11951 # but understands `-z linker_flag'.
11952 # Supported since Solaris 2.6 (maybe 2.5.1?)
11953 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11955 esac
11956 link_all_deplibs_CXX=yes
11958 output_verbose_link_cmd='echo'
11960 # Archives containing C++ object files must be created using
11961 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11962 # necessary to make sure instantiated templates are included
11963 # in the archive.
11964 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11966 gcx*)
11967 # Green Hills C++ Compiler
11968 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11970 # The C++ compiler must be used to create the archive.
11971 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11974 # GNU C++ compiler with Solaris linker
11975 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11976 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11977 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
11978 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11979 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11980 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11982 # Commands to make compiler produce verbose output that lists
11983 # what "hidden" libraries, object files and flags are used when
11984 # linking a shared library.
11985 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11986 else
11987 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11988 # platform.
11989 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11990 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11991 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11993 # Commands to make compiler produce verbose output that lists
11994 # what "hidden" libraries, object files and flags are used when
11995 # linking a shared library.
11996 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11999 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12000 case $host_os in
12001 solaris2.[0-5] | solaris2.[0-5].*) ;;
12003 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12005 esac
12008 esac
12011 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12012 no_undefined_flag_CXX='${wl}-z,text'
12013 archive_cmds_need_lc_CXX=no
12014 hardcode_shlibpath_var_CXX=no
12015 runpath_var='LD_RUN_PATH'
12017 case $cc_basename in
12018 CC*)
12019 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12020 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12023 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12024 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12026 esac
12029 sysv5* | sco3.2v5* | sco5v6*)
12030 # Note: We can NOT use -z defs as we might desire, because we do not
12031 # link with -lc, and that would cause any symbols used from libc to
12032 # always be unresolved, which means just about no library would
12033 # ever link correctly. If we're not using GNU ld we use -z text
12034 # though, which does catch some bad symbols but isn't as heavy-handed
12035 # as -z defs.
12036 no_undefined_flag_CXX='${wl}-z,text'
12037 allow_undefined_flag_CXX='${wl}-z,nodefs'
12038 archive_cmds_need_lc_CXX=no
12039 hardcode_shlibpath_var_CXX=no
12040 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12041 hardcode_libdir_separator_CXX=':'
12042 link_all_deplibs_CXX=yes
12043 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12044 runpath_var='LD_RUN_PATH'
12046 case $cc_basename in
12047 CC*)
12048 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12049 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12052 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12053 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12055 esac
12058 tandem*)
12059 case $cc_basename in
12060 NCC*)
12061 # NonStop-UX NCC 3.20
12062 # FIXME: insert proper C++ library support
12063 ld_shlibs_CXX=no
12066 # FIXME: insert proper C++ library support
12067 ld_shlibs_CXX=no
12069 esac
12072 vxworks*)
12073 # FIXME: insert proper C++ library support
12074 ld_shlibs_CXX=no
12078 # FIXME: insert proper C++ library support
12079 ld_shlibs_CXX=no
12081 esac
12083 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12084 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12085 test "$ld_shlibs_CXX" = no && can_build_shared=no
12087 GCC_CXX="$GXX"
12088 LD_CXX="$LD"
12090 ## CAVEAT EMPTOR:
12091 ## There is no encapsulation within the following macros, do not change
12092 ## the running order or otherwise move them around unless you know exactly
12093 ## what you are doing...
12094 # Dependencies to place before and after the object being linked:
12095 predep_objects_CXX=
12096 postdep_objects_CXX=
12097 predeps_CXX=
12098 postdeps_CXX=
12099 compiler_lib_search_path_CXX=
12101 cat > conftest.$ac_ext <<_LT_EOF
12102 class Foo
12104 public:
12105 Foo (void) { a = 0; }
12106 private:
12107 int a;
12109 _LT_EOF
12111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12112 (eval $ac_compile) 2>&5
12113 ac_status=$?
12114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115 (exit $ac_status); }; then
12116 # Parse the compiler output and extract the necessary
12117 # objects, libraries and library flags.
12119 # Sentinel used to keep track of whether or not we are before
12120 # the conftest object file.
12121 pre_test_object_deps_done=no
12123 # The `*' in the case matches for architectures that use `case' in
12124 # $output_verbose_cmd can trigger glob expansion during the loop
12125 # eval without this substitution.
12126 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12128 for p in `eval $output_verbose_link_cmd`; do
12129 case $p in
12131 -L* | -R* | -l*)
12132 # Some compilers place space between "-{L,R}" and the path.
12133 # Remove the space.
12134 if test $p = "-L" ||
12135 test $p = "-R"; then
12136 prev=$p
12137 continue
12138 else
12139 prev=
12142 if test "$pre_test_object_deps_done" = no; then
12143 case $p in
12144 -L* | -R*)
12145 # Internal compiler library paths should come after those
12146 # provided the user. The postdeps already come after the
12147 # user supplied libs so there is no need to process them.
12148 if test -z "$compiler_lib_search_path_CXX"; then
12149 compiler_lib_search_path_CXX="${prev}${p}"
12150 else
12151 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12154 # The "-l" case would never come before the object being
12155 # linked, so don't bother handling this case.
12156 esac
12157 else
12158 if test -z "$postdeps_CXX"; then
12159 postdeps_CXX="${prev}${p}"
12160 else
12161 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12166 *.$objext)
12167 # This assumes that the test object file only shows up
12168 # once in the compiler output.
12169 if test "$p" = "conftest.$objext"; then
12170 pre_test_object_deps_done=yes
12171 continue
12174 if test "$pre_test_object_deps_done" = no; then
12175 if test -z "$predep_objects_CXX"; then
12176 predep_objects_CXX="$p"
12177 else
12178 predep_objects_CXX="$predep_objects_CXX $p"
12180 else
12181 if test -z "$postdep_objects_CXX"; then
12182 postdep_objects_CXX="$p"
12183 else
12184 postdep_objects_CXX="$postdep_objects_CXX $p"
12189 *) ;; # Ignore the rest.
12191 esac
12192 done
12194 # Clean up.
12195 rm -f a.out a.exe
12196 else
12197 echo "libtool.m4: error: problem compiling CXX test program"
12200 $RM -f confest.$objext
12202 # PORTME: override above test on systems where it is broken
12203 case $host_os in
12204 interix[3-9]*)
12205 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12206 # hack all around it, let's just trust "g++" to DTRT.
12207 predep_objects_CXX=
12208 postdep_objects_CXX=
12209 postdeps_CXX=
12212 linux*)
12213 case `$CC -V 2>&1 | sed 5q` in
12214 *Sun\ C*)
12215 # Sun C++ 5.9
12217 # The more standards-conforming stlport4 library is
12218 # incompatible with the Cstd library. Avoid specifying
12219 # it if it's in CXXFLAGS. Ignore libCrun as
12220 # -library=stlport4 depends on it.
12221 case " $CXX $CXXFLAGS " in
12222 *" -library=stlport4 "*)
12223 solaris_use_stlport4=yes
12225 esac
12227 if test "$solaris_use_stlport4" != yes; then
12228 postdeps_CXX='-library=Cstd -library=Crun'
12231 esac
12234 solaris*)
12235 case $cc_basename in
12236 CC*)
12237 # The more standards-conforming stlport4 library is
12238 # incompatible with the Cstd library. Avoid specifying
12239 # it if it's in CXXFLAGS. Ignore libCrun as
12240 # -library=stlport4 depends on it.
12241 case " $CXX $CXXFLAGS " in
12242 *" -library=stlport4 "*)
12243 solaris_use_stlport4=yes
12245 esac
12247 # Adding this requires a known-good setup of shared libraries for
12248 # Sun compiler versions before 5.6, else PIC objects from an old
12249 # archive will be linked into the output, leading to subtle bugs.
12250 if test "$solaris_use_stlport4" != yes; then
12251 postdeps_CXX='-library=Cstd -library=Crun'
12254 esac
12256 esac
12259 case " $postdeps_CXX " in
12260 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12261 esac
12288 lt_prog_compiler_wl_CXX=
12289 lt_prog_compiler_pic_CXX=
12290 lt_prog_compiler_static_CXX=
12292 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12293 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12295 # C++ specific cases for pic, static, wl, etc.
12296 if test "$GXX" = yes; then
12297 lt_prog_compiler_wl_CXX='-Wl,'
12298 lt_prog_compiler_static_CXX='-static'
12300 case $host_os in
12301 aix*)
12302 # All AIX code is PIC.
12303 if test "$host_cpu" = ia64; then
12304 # AIX 5 now supports IA64 processor
12305 lt_prog_compiler_static_CXX='-Bstatic'
12308 amigaos*)
12309 if test "$host_cpu" = m68k; then
12310 # FIXME: we need at least 68020 code to build shared libraries, but
12311 # adding the `-m68020' flag to GCC prevents building anything better,
12312 # like `-m68040'.
12313 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12316 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12317 # PIC is the default for these OSes.
12319 mingw* | cygwin* | os2* | pw32*)
12320 # This hack is so that the source file can tell whether it is being
12321 # built for inclusion in a dll (and should export symbols for example).
12322 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12323 # (--disable-auto-import) libraries
12324 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12326 darwin* | rhapsody*)
12327 # PIC is the default on this platform
12328 # Common symbols not allowed in MH_DYLIB files
12329 lt_prog_compiler_pic_CXX='-fno-common'
12331 *djgpp*)
12332 # DJGPP does not support shared libraries at all
12333 lt_prog_compiler_pic_CXX=
12335 interix[3-9]*)
12336 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12337 # Instead, we relocate shared libraries at runtime.
12339 sysv4*MP*)
12340 if test -d /usr/nec; then
12341 lt_prog_compiler_pic_CXX=-Kconform_pic
12344 hpux*)
12345 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12346 # not for PA HP-UX.
12347 case $host_cpu in
12348 hppa*64*|ia64*)
12351 lt_prog_compiler_pic_CXX='-fPIC'
12353 esac
12355 *qnx* | *nto*)
12356 # QNX uses GNU C++, but need to define -shared option too, otherwise
12357 # it will coredump.
12358 lt_prog_compiler_pic_CXX='-fPIC -shared'
12361 lt_prog_compiler_pic_CXX='-fPIC'
12363 esac
12364 else
12365 case $host_os in
12366 aix4* | aix5*)
12367 # All AIX code is PIC.
12368 if test "$host_cpu" = ia64; then
12369 # AIX 5 now supports IA64 processor
12370 lt_prog_compiler_static_CXX='-Bstatic'
12371 else
12372 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12375 chorus*)
12376 case $cc_basename in
12377 cxch68*)
12378 # Green Hills C++ Compiler
12379 # _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"
12381 esac
12383 darwin*)
12384 # PIC is the default on this platform
12385 # Common symbols not allowed in MH_DYLIB files
12386 case $cc_basename in
12387 xlc*)
12388 lt_prog_compiler_pic_CXX='-qnocommon'
12389 lt_prog_compiler_wl_CXX='-Wl,'
12391 esac
12393 dgux*)
12394 case $cc_basename in
12395 ec++*)
12396 lt_prog_compiler_pic_CXX='-KPIC'
12398 ghcx*)
12399 # Green Hills C++ Compiler
12400 lt_prog_compiler_pic_CXX='-pic'
12404 esac
12406 freebsd* | dragonfly*)
12407 # FreeBSD uses GNU C++
12409 hpux9* | hpux10* | hpux11*)
12410 case $cc_basename in
12411 CC*)
12412 lt_prog_compiler_wl_CXX='-Wl,'
12413 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12414 if test "$host_cpu" != ia64; then
12415 lt_prog_compiler_pic_CXX='+Z'
12418 aCC*)
12419 lt_prog_compiler_wl_CXX='-Wl,'
12420 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12421 case $host_cpu in
12422 hppa*64*|ia64*)
12423 # +Z the default
12426 lt_prog_compiler_pic_CXX='+Z'
12428 esac
12432 esac
12434 interix*)
12435 # This is c89, which is MS Visual C++ (no shared libs)
12436 # Anyone wants to do a port?
12438 irix5* | irix6* | nonstopux*)
12439 case $cc_basename in
12440 CC*)
12441 lt_prog_compiler_wl_CXX='-Wl,'
12442 lt_prog_compiler_static_CXX='-non_shared'
12443 # CC pic flag -KPIC is the default.
12447 esac
12449 linux* | k*bsd*-gnu)
12450 case $cc_basename in
12451 KCC*)
12452 # KAI C++ Compiler
12453 lt_prog_compiler_wl_CXX='--backend -Wl,'
12454 lt_prog_compiler_pic_CXX='-fPIC'
12456 icpc* | ecpc* )
12457 # Intel C++
12458 lt_prog_compiler_wl_CXX='-Wl,'
12459 lt_prog_compiler_pic_CXX='-KPIC'
12460 lt_prog_compiler_static_CXX='-static'
12462 pgCC*)
12463 # Portland Group C++ compiler
12464 lt_prog_compiler_wl_CXX='-Wl,'
12465 lt_prog_compiler_pic_CXX='-fpic'
12466 lt_prog_compiler_static_CXX='-Bstatic'
12468 cxx*)
12469 # Compaq C++
12470 # Make sure the PIC flag is empty. It appears that all Alpha
12471 # Linux and Compaq Tru64 Unix objects are PIC.
12472 lt_prog_compiler_pic_CXX=
12473 lt_prog_compiler_static_CXX='-non_shared'
12476 case `$CC -V 2>&1 | sed 5q` in
12477 *Sun\ C*)
12478 # Sun C++ 5.9
12479 lt_prog_compiler_pic_CXX='-KPIC'
12480 lt_prog_compiler_static_CXX='-Bstatic'
12481 lt_prog_compiler_wl_CXX='-Qoption ld '
12483 esac
12485 esac
12487 lynxos*)
12489 m88k*)
12491 mvs*)
12492 case $cc_basename in
12493 cxx*)
12494 lt_prog_compiler_pic_CXX='-W c,exportall'
12498 esac
12500 netbsd*)
12502 *qnx* | *nto*)
12503 # QNX uses GNU C++, but need to define -shared option too, otherwise
12504 # it will coredump.
12505 lt_prog_compiler_pic_CXX='-fPIC -shared'
12507 osf3* | osf4* | osf5*)
12508 case $cc_basename in
12509 KCC*)
12510 lt_prog_compiler_wl_CXX='--backend -Wl,'
12512 RCC*)
12513 # Rational C++ 2.4.1
12514 lt_prog_compiler_pic_CXX='-pic'
12516 cxx*)
12517 # Digital/Compaq C++
12518 lt_prog_compiler_wl_CXX='-Wl,'
12519 # Make sure the PIC flag is empty. It appears that all Alpha
12520 # Linux and Compaq Tru64 Unix objects are PIC.
12521 lt_prog_compiler_pic_CXX=
12522 lt_prog_compiler_static_CXX='-non_shared'
12526 esac
12528 psos*)
12530 solaris*)
12531 case $cc_basename in
12532 CC*)
12533 # Sun C++ 4.2, 5.x and Centerline C++
12534 lt_prog_compiler_pic_CXX='-KPIC'
12535 lt_prog_compiler_static_CXX='-Bstatic'
12536 lt_prog_compiler_wl_CXX='-Qoption ld '
12538 gcx*)
12539 # Green Hills C++ Compiler
12540 lt_prog_compiler_pic_CXX='-PIC'
12544 esac
12546 sunos4*)
12547 case $cc_basename in
12548 CC*)
12549 # Sun C++ 4.x
12550 lt_prog_compiler_pic_CXX='-pic'
12551 lt_prog_compiler_static_CXX='-Bstatic'
12553 lcc*)
12554 # Lucid
12555 lt_prog_compiler_pic_CXX='-pic'
12559 esac
12561 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12562 case $cc_basename in
12563 CC*)
12564 lt_prog_compiler_wl_CXX='-Wl,'
12565 lt_prog_compiler_pic_CXX='-KPIC'
12566 lt_prog_compiler_static_CXX='-Bstatic'
12568 esac
12570 tandem*)
12571 case $cc_basename in
12572 NCC*)
12573 # NonStop-UX NCC 3.20
12574 lt_prog_compiler_pic_CXX='-KPIC'
12578 esac
12580 vxworks*)
12583 lt_prog_compiler_can_build_shared_CXX=no
12585 esac
12588 case $host_os in
12589 # For platforms which do not support PIC, -DPIC is meaningless:
12590 *djgpp*)
12591 lt_prog_compiler_pic_CXX=
12594 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12596 esac
12597 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12598 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12603 # Check to make sure the PIC flag actually works.
12605 if test -n "$lt_prog_compiler_pic_CXX"; then
12606 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12607 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12608 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12609 echo $ECHO_N "(cached) $ECHO_C" >&6
12610 else
12611 lt_prog_compiler_pic_works_CXX=no
12612 ac_outfile=conftest.$ac_objext
12613 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12614 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12615 # Insert the option either (1) after the last *FLAGS variable, or
12616 # (2) before a word containing "conftest.", or (3) at the end.
12617 # Note that $ac_compile itself does not contain backslashes and begins
12618 # with a dollar sign (not a hyphen), so the echo should work correctly.
12619 # The option is referenced via a variable to avoid confusing sed.
12620 lt_compile=`echo "$ac_compile" | $SED \
12621 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12622 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12623 -e 's:$: $lt_compiler_flag:'`
12624 (eval echo "\"\$as_me:12624: $lt_compile\"" >&5)
12625 (eval "$lt_compile" 2>conftest.err)
12626 ac_status=$?
12627 cat conftest.err >&5
12628 echo "$as_me:12628: \$? = $ac_status" >&5
12629 if (exit $ac_status) && test -s "$ac_outfile"; then
12630 # The compiler can only warn and ignore the option if not recognized
12631 # So say no if there are warnings other than the usual output.
12632 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12633 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12634 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12635 lt_prog_compiler_pic_works_CXX=yes
12638 $RM conftest*
12641 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12642 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12644 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12645 case $lt_prog_compiler_pic_CXX in
12646 "" | " "*) ;;
12647 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12648 esac
12649 else
12650 lt_prog_compiler_pic_CXX=
12651 lt_prog_compiler_can_build_shared_CXX=no
12659 # Check to make sure the static flag actually works.
12661 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12662 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12663 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12664 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12665 echo $ECHO_N "(cached) $ECHO_C" >&6
12666 else
12667 lt_prog_compiler_static_works_CXX=no
12668 save_LDFLAGS="$LDFLAGS"
12669 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12670 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12671 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12672 # The linker can only warn and ignore the option if not recognized
12673 # So say no if there are warnings
12674 if test -s conftest.err; then
12675 # Append any errors to the config.log.
12676 cat conftest.err 1>&5
12677 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12678 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12679 if diff conftest.exp conftest.er2 >/dev/null; then
12680 lt_prog_compiler_static_works_CXX=yes
12682 else
12683 lt_prog_compiler_static_works_CXX=yes
12686 $RM conftest*
12687 LDFLAGS="$save_LDFLAGS"
12690 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12691 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12693 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12695 else
12696 lt_prog_compiler_static_CXX=
12702 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12703 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12704 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12705 echo $ECHO_N "(cached) $ECHO_C" >&6
12706 else
12707 lt_cv_prog_compiler_c_o_CXX=no
12708 $RM -r conftest 2>/dev/null
12709 mkdir conftest
12710 cd conftest
12711 mkdir out
12712 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12714 lt_compiler_flag="-o out/conftest2.$ac_objext"
12715 # Insert the option either (1) after the last *FLAGS variable, or
12716 # (2) before a word containing "conftest.", or (3) at the end.
12717 # Note that $ac_compile itself does not contain backslashes and begins
12718 # with a dollar sign (not a hyphen), so the echo should work correctly.
12719 lt_compile=`echo "$ac_compile" | $SED \
12720 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12721 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12722 -e 's:$: $lt_compiler_flag:'`
12723 (eval echo "\"\$as_me:12723: $lt_compile\"" >&5)
12724 (eval "$lt_compile" 2>out/conftest.err)
12725 ac_status=$?
12726 cat out/conftest.err >&5
12727 echo "$as_me:12727: \$? = $ac_status" >&5
12728 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12729 then
12730 # The compiler can only warn and ignore the option if not recognized
12731 # So say no if there are warnings
12732 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12733 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12734 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12735 lt_cv_prog_compiler_c_o_CXX=yes
12738 chmod u+w . 2>&5
12739 $RM conftest*
12740 # SGI C++ compiler will create directory out/ii_files/ for
12741 # template instantiation
12742 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12743 $RM out/* && rmdir out
12744 cd ..
12745 $RM -r conftest
12746 $RM conftest*
12749 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12750 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12754 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12755 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12756 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12757 echo $ECHO_N "(cached) $ECHO_C" >&6
12758 else
12759 lt_cv_prog_compiler_c_o_CXX=no
12760 $RM -r conftest 2>/dev/null
12761 mkdir conftest
12762 cd conftest
12763 mkdir out
12764 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12766 lt_compiler_flag="-o out/conftest2.$ac_objext"
12767 # Insert the option either (1) after the last *FLAGS variable, or
12768 # (2) before a word containing "conftest.", or (3) at the end.
12769 # Note that $ac_compile itself does not contain backslashes and begins
12770 # with a dollar sign (not a hyphen), so the echo should work correctly.
12771 lt_compile=`echo "$ac_compile" | $SED \
12772 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12773 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12774 -e 's:$: $lt_compiler_flag:'`
12775 (eval echo "\"\$as_me:12775: $lt_compile\"" >&5)
12776 (eval "$lt_compile" 2>out/conftest.err)
12777 ac_status=$?
12778 cat out/conftest.err >&5
12779 echo "$as_me:12779: \$? = $ac_status" >&5
12780 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12781 then
12782 # The compiler can only warn and ignore the option if not recognized
12783 # So say no if there are warnings
12784 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12785 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12786 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12787 lt_cv_prog_compiler_c_o_CXX=yes
12790 chmod u+w . 2>&5
12791 $RM conftest*
12792 # SGI C++ compiler will create directory out/ii_files/ for
12793 # template instantiation
12794 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12795 $RM out/* && rmdir out
12796 cd ..
12797 $RM -r conftest
12798 $RM conftest*
12801 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12802 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12807 hard_links="nottested"
12808 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12809 # do not overwrite the value of need_locks provided by the user
12810 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12811 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12812 hard_links=yes
12813 $RM conftest*
12814 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12815 touch conftest.a
12816 ln conftest.a conftest.b 2>&5 || hard_links=no
12817 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12818 echo "$as_me:$LINENO: result: $hard_links" >&5
12819 echo "${ECHO_T}$hard_links" >&6
12820 if test "$hard_links" = no; then
12821 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12822 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12823 need_locks=warn
12825 else
12826 need_locks=no
12831 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12832 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12834 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12835 case $host_os in
12836 aix4* | aix5*)
12837 # If we're using GNU nm, then we don't want the "-C" option.
12838 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12839 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12840 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'
12841 else
12842 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'
12845 pw32*)
12846 export_symbols_cmds_CXX="$ltdll_cmds"
12848 cygwin* | mingw*)
12849 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'
12852 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12854 esac
12856 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12857 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12858 test "$ld_shlibs_CXX" = no && can_build_shared=no
12860 with_gnu_ld_CXX=$with_gnu_ld
12868 # Do we need to explicitly link libc?
12870 case "x$archive_cmds_need_lc_CXX" in
12871 x|xyes)
12872 # Assume -lc should be added
12873 archive_cmds_need_lc_CXX=yes
12875 if test "$enable_shared" = yes && test "$GCC" = yes; then
12876 case $archive_cmds_CXX in
12877 *'~'*)
12878 # FIXME: we may have to deal with multi-command sequences.
12880 '$CC '*)
12881 # Test whether the compiler implicitly links with -lc since on some
12882 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12883 # to ld, don't add -lc before -lgcc.
12884 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12885 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12886 $RM conftest*
12887 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12890 (eval $ac_compile) 2>&5
12891 ac_status=$?
12892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12893 (exit $ac_status); } 2>conftest.err; then
12894 soname=conftest
12895 lib=conftest
12896 libobjs=conftest.$ac_objext
12897 deplibs=
12898 wl=$lt_prog_compiler_wl_CXX
12899 pic_flag=$lt_prog_compiler_pic_CXX
12900 compiler_flags=-v
12901 linker_flags=-v
12902 verstring=
12903 output_objdir=.
12904 libname=conftest
12905 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12906 allow_undefined_flag_CXX=
12907 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12908 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12909 ac_status=$?
12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); }
12912 then
12913 archive_cmds_need_lc_CXX=no
12914 else
12915 archive_cmds_need_lc_CXX=yes
12917 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12918 else
12919 cat conftest.err 1>&5
12921 $RM conftest*
12922 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12923 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12925 esac
12928 esac
12993 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12994 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12995 withGCC=$GXX
12996 library_names_spec=
12997 libname_spec='lib$name'
12998 soname_spec=
12999 shrext_cmds=".so"
13000 postinstall_cmds=
13001 postuninstall_cmds=
13002 finish_cmds=
13003 finish_eval=
13004 shlibpath_var=
13005 shlibpath_overrides_runpath=unknown
13006 version_type=none
13007 dynamic_linker="$host_os ld.so"
13008 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13009 need_lib_prefix=unknown
13010 hardcode_into_libs=no
13012 # when you set need_version to no, make sure it does not cause -set_version
13013 # flags to be left without arguments
13014 need_version=unknown
13016 case $host_os in
13017 aix3*)
13018 version_type=linux
13019 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13020 shlibpath_var=LIBPATH
13022 # AIX 3 has no versioning support, so we append a major version to the name.
13023 soname_spec='${libname}${release}${shared_ext}$major'
13026 aix4* | aix5*)
13027 version_type=linux
13028 need_lib_prefix=no
13029 need_version=no
13030 hardcode_into_libs=yes
13031 if test "$host_cpu" = ia64; then
13032 # AIX 5 supports IA64
13033 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13034 shlibpath_var=LD_LIBRARY_PATH
13035 else
13036 # With GCC up to 2.95.x, collect2 would create an import file
13037 # for dependence libraries. The import file would start with
13038 # the line `#! .'. This would cause the generated library to
13039 # depend on `.', always an invalid library. This was fixed in
13040 # development snapshots of GCC prior to 3.0.
13041 case $host_os in
13042 aix4 | aix4.[01] | aix4.[01].*)
13043 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13044 echo ' yes '
13045 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13047 else
13048 can_build_shared=no
13051 esac
13052 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13053 # soname into executable. Probably we can add versioning support to
13054 # collect2, so additional links can be useful in future.
13055 if test "$aix_use_runtimelinking" = yes; then
13056 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13057 # instead of lib<name>.a to let people know that these are not
13058 # typical AIX shared libraries.
13059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13060 else
13061 # We preserve .a as extension for shared libraries through AIX4.2
13062 # and later when we are not doing run time linking.
13063 library_names_spec='${libname}${release}.a $libname.a'
13064 soname_spec='${libname}${release}${shared_ext}$major'
13066 shlibpath_var=LIBPATH
13070 amigaos*)
13071 if test "$host_cpu" = m68k; then
13072 library_names_spec='$libname.ixlibrary $libname.a'
13073 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13074 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'
13075 else
13076 dynamic_linker=no
13080 beos*)
13081 library_names_spec='${libname}${shared_ext}'
13082 dynamic_linker="$host_os ld.so"
13083 shlibpath_var=LIBRARY_PATH
13086 bsdi[45]*)
13087 version_type=linux
13088 need_version=no
13089 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13090 soname_spec='${libname}${release}${shared_ext}$major'
13091 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13092 shlibpath_var=LD_LIBRARY_PATH
13093 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13094 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13095 # the default ld.so.conf also contains /usr/contrib/lib and
13096 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13097 # libtool to hard-code these into programs
13100 cygwin* | mingw* | pw32*)
13101 version_type=windows
13102 shrext_cmds=".dll"
13103 need_version=no
13104 need_lib_prefix=no
13106 case $withGCC,$host_os in
13107 yes,cygwin* | yes,mingw* | yes,pw32*)
13108 library_names_spec='$libname.dll.a'
13109 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13110 postinstall_cmds='base_file=`basename \${file}`~
13111 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13112 dldir=$destdir/`dirname \$dlpath`~
13113 test -d \$dldir || mkdir -p \$dldir~
13114 $install_prog $dir/$dlname \$dldir/$dlname~
13115 chmod a+x \$dldir/$dlname~
13116 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13117 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13119 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13120 dlpath=$dir/\$dldll~
13121 $RM \$dlpath'
13122 shlibpath_overrides_runpath=yes
13124 case $host_os in
13125 cygwin*)
13126 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13127 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13128 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13130 mingw*)
13131 # MinGW DLLs use traditional 'lib' prefix
13132 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13133 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13134 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13135 # It is most probably a Windows format PATH printed by
13136 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13137 # path with ; separators, and with drive letters. We can handle the
13138 # drive letters (cygwin fileutils understands them), so leave them,
13139 # especially as we might pass files found there to a mingw objdump,
13140 # which wouldn't understand a cygwinified path. Ahh.
13141 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13142 else
13143 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13146 pw32*)
13147 # pw32 DLLs use 'pw' prefix rather than 'lib'
13148 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13150 esac
13154 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13156 esac
13157 dynamic_linker='Win32 ld.exe'
13158 # FIXME: first we should search . and the directory the executable is in
13159 shlibpath_var=PATH
13162 darwin* | rhapsody*)
13163 dynamic_linker="$host_os dyld"
13164 version_type=darwin
13165 need_lib_prefix=no
13166 need_version=no
13167 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13168 soname_spec='${libname}${release}${major}$shared_ext'
13169 shlibpath_overrides_runpath=yes
13170 shlibpath_var=DYLD_LIBRARY_PATH
13171 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13173 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13176 dgux*)
13177 version_type=linux
13178 need_lib_prefix=no
13179 need_version=no
13180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13181 soname_spec='${libname}${release}${shared_ext}$major'
13182 shlibpath_var=LD_LIBRARY_PATH
13185 freebsd1*)
13186 dynamic_linker=no
13189 freebsd* | dragonfly*)
13190 # DragonFly does not have aout. When/if they implement a new
13191 # versioning mechanism, adjust this.
13192 if test -x /usr/bin/objformat; then
13193 objformat=`/usr/bin/objformat`
13194 else
13195 case $host_os in
13196 freebsd[123]*) objformat=aout ;;
13197 *) objformat=elf ;;
13198 esac
13200 version_type=freebsd-$objformat
13201 case $version_type in
13202 freebsd-elf*)
13203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13204 need_version=no
13205 need_lib_prefix=no
13207 freebsd-*)
13208 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13209 need_version=yes
13211 esac
13212 shlibpath_var=LD_LIBRARY_PATH
13213 case $host_os in
13214 freebsd2*)
13215 shlibpath_overrides_runpath=yes
13217 freebsd3.[01]* | freebsdelf3.[01]*)
13218 shlibpath_overrides_runpath=yes
13219 hardcode_into_libs=yes
13221 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13222 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13223 shlibpath_overrides_runpath=no
13224 hardcode_into_libs=yes
13226 *) # from 4.6 on, and DragonFly
13227 shlibpath_overrides_runpath=yes
13228 hardcode_into_libs=yes
13230 esac
13233 gnu*)
13234 version_type=linux
13235 need_lib_prefix=no
13236 need_version=no
13237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13238 soname_spec='${libname}${release}${shared_ext}$major'
13239 shlibpath_var=LD_LIBRARY_PATH
13240 hardcode_into_libs=yes
13243 hpux9* | hpux10* | hpux11*)
13244 # Give a soname corresponding to the major version so that dld.sl refuses to
13245 # link against other versions.
13246 version_type=sunos
13247 need_lib_prefix=no
13248 need_version=no
13249 case $host_cpu in
13250 ia64*)
13251 shrext_cmds='.so'
13252 hardcode_into_libs=yes
13253 dynamic_linker="$host_os dld.so"
13254 shlibpath_var=LD_LIBRARY_PATH
13255 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13257 soname_spec='${libname}${release}${shared_ext}$major'
13258 if test "X$HPUX_IA64_MODE" = X32; then
13259 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13260 else
13261 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13263 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13265 hppa*64*)
13266 shrext_cmds='.sl'
13267 hardcode_into_libs=yes
13268 dynamic_linker="$host_os dld.sl"
13269 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13270 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13272 soname_spec='${libname}${release}${shared_ext}$major'
13273 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13274 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13277 shrext_cmds='.sl'
13278 dynamic_linker="$host_os dld.sl"
13279 shlibpath_var=SHLIB_PATH
13280 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13282 soname_spec='${libname}${release}${shared_ext}$major'
13284 esac
13285 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13286 postinstall_cmds='chmod 555 $lib'
13289 interix[3-9]*)
13290 version_type=linux
13291 need_lib_prefix=no
13292 need_version=no
13293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13294 soname_spec='${libname}${release}${shared_ext}$major'
13295 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13296 shlibpath_var=LD_LIBRARY_PATH
13297 shlibpath_overrides_runpath=no
13298 hardcode_into_libs=yes
13301 irix5* | irix6* | nonstopux*)
13302 case $host_os in
13303 nonstopux*) version_type=nonstopux ;;
13305 if test "$lt_cv_prog_gnu_ld" = yes; then
13306 version_type=linux
13307 else
13308 version_type=irix
13309 fi ;;
13310 esac
13311 need_lib_prefix=no
13312 need_version=no
13313 soname_spec='${libname}${release}${shared_ext}$major'
13314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13315 case $host_os in
13316 irix5* | nonstopux*)
13317 libsuff= shlibsuff=
13320 case $LD in # libtool.m4 will add one of these switches to LD
13321 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13322 libsuff= shlibsuff= libmagic=32-bit;;
13323 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13324 libsuff=32 shlibsuff=N32 libmagic=N32;;
13325 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13326 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13327 *) libsuff= shlibsuff= libmagic=never-match;;
13328 esac
13330 esac
13331 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13332 shlibpath_overrides_runpath=no
13333 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13334 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13335 hardcode_into_libs=yes
13338 # No shared lib support for Linux oldld, aout, or coff.
13339 linux*oldld* | linux*aout* | linux*coff*)
13340 dynamic_linker=no
13343 # This must be Linux ELF.
13344 linux* | k*bsd*-gnu)
13345 version_type=linux
13346 need_lib_prefix=no
13347 need_version=no
13348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13349 soname_spec='${libname}${release}${shared_ext}$major'
13350 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13351 shlibpath_var=LD_LIBRARY_PATH
13352 shlibpath_overrides_runpath=no
13353 # Some binutils ld are patched to set DT_RUNPATH
13354 save_LDFLAGS=$LDFLAGS
13355 save_libdir=$libdir
13356 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13357 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13358 if test x$gcc_no_link = xyes; then
13359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13361 { (exit 1); exit 1; }; }
13363 cat >conftest.$ac_ext <<_ACEOF
13364 /* confdefs.h. */
13365 _ACEOF
13366 cat confdefs.h >>conftest.$ac_ext
13367 cat >>conftest.$ac_ext <<_ACEOF
13368 /* end confdefs.h. */
13371 main ()
13375 return 0;
13377 _ACEOF
13378 rm -f conftest.$ac_objext conftest$ac_exeext
13379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13380 (eval $ac_link) 2>conftest.er1
13381 ac_status=$?
13382 grep -v '^ *+' conftest.er1 >conftest.err
13383 rm -f conftest.er1
13384 cat conftest.err >&5
13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386 (exit $ac_status); } &&
13387 { ac_try='test -z "$ac_cxx_werror_flag"
13388 || test ! -s conftest.err'
13389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13390 (eval $ac_try) 2>&5
13391 ac_status=$?
13392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13393 (exit $ac_status); }; } &&
13394 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
13400 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13401 shlibpath_overrides_runpath=yes
13404 else
13405 echo "$as_me: failed program was:" >&5
13406 sed 's/^/| /' conftest.$ac_ext >&5
13409 rm -f conftest.err conftest.$ac_objext \
13410 conftest$ac_exeext conftest.$ac_ext
13411 LDFLAGS=$save_LDFLAGS
13412 libdir=$save_libdir
13414 # This implies no fast_install, which is unacceptable.
13415 # Some rework will be needed to allow for fast_install
13416 # before this can be enabled.
13417 hardcode_into_libs=yes
13419 # Append ld.so.conf contents to the search path
13420 if test -f /etc/ld.so.conf; then
13421 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' ' '`
13422 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13425 # We used to test for /lib/ld.so.1 and disable shared libraries on
13426 # powerpc, because MkLinux only supported shared libraries with the
13427 # GNU dynamic linker. Since this was broken with cross compilers,
13428 # most powerpc-linux boxes support dynamic linking these days and
13429 # people can always --disable-shared, the test was removed, and we
13430 # assume the GNU/Linux dynamic linker is in use.
13431 dynamic_linker='GNU/Linux ld.so'
13434 netbsd*)
13435 version_type=sunos
13436 need_lib_prefix=no
13437 need_version=no
13438 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13440 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13441 dynamic_linker='NetBSD (a.out) ld.so'
13442 else
13443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13444 soname_spec='${libname}${release}${shared_ext}$major'
13445 dynamic_linker='NetBSD ld.elf_so'
13447 shlibpath_var=LD_LIBRARY_PATH
13448 shlibpath_overrides_runpath=yes
13449 hardcode_into_libs=yes
13452 newsos6)
13453 version_type=linux
13454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13455 shlibpath_var=LD_LIBRARY_PATH
13456 shlibpath_overrides_runpath=yes
13459 *nto* | *qnx*)
13460 version_type=qnx
13461 need_lib_prefix=no
13462 need_version=no
13463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13464 soname_spec='${libname}${release}${shared_ext}$major'
13465 shlibpath_var=LD_LIBRARY_PATH
13466 shlibpath_overrides_runpath=no
13467 hardcode_into_libs=yes
13468 dynamic_linker='ldqnx.so'
13471 openbsd*)
13472 version_type=sunos
13473 sys_lib_dlsearch_path_spec="/usr/lib"
13474 need_lib_prefix=no
13475 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13476 case $host_os in
13477 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13478 *) need_version=no ;;
13479 esac
13480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13481 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13482 shlibpath_var=LD_LIBRARY_PATH
13483 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13484 case $host_os in
13485 openbsd2.[89] | openbsd2.[89].*)
13486 shlibpath_overrides_runpath=no
13489 shlibpath_overrides_runpath=yes
13491 esac
13492 else
13493 shlibpath_overrides_runpath=yes
13497 os2*)
13498 libname_spec='$name'
13499 shrext_cmds=".dll"
13500 need_lib_prefix=no
13501 library_names_spec='$libname${shared_ext} $libname.a'
13502 dynamic_linker='OS/2 ld.exe'
13503 shlibpath_var=LIBPATH
13506 osf3* | osf4* | osf5*)
13507 version_type=osf
13508 need_lib_prefix=no
13509 need_version=no
13510 soname_spec='${libname}${release}${shared_ext}$major'
13511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13512 shlibpath_var=LD_LIBRARY_PATH
13513 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13514 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13517 rdos*)
13518 dynamic_linker=no
13521 solaris*)
13522 version_type=linux
13523 need_lib_prefix=no
13524 need_version=no
13525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13526 soname_spec='${libname}${release}${shared_ext}$major'
13527 shlibpath_var=LD_LIBRARY_PATH
13528 shlibpath_overrides_runpath=yes
13529 hardcode_into_libs=yes
13530 # ldd complains unless libraries are executable
13531 postinstall_cmds='chmod +x $lib'
13534 sunos4*)
13535 version_type=sunos
13536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13537 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13538 shlibpath_var=LD_LIBRARY_PATH
13539 shlibpath_overrides_runpath=yes
13540 if test "$with_gnu_ld" = yes; then
13541 need_lib_prefix=no
13543 need_version=yes
13546 sysv4 | sysv4.3*)
13547 version_type=linux
13548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13549 soname_spec='${libname}${release}${shared_ext}$major'
13550 shlibpath_var=LD_LIBRARY_PATH
13551 case $host_vendor in
13552 sni)
13553 shlibpath_overrides_runpath=no
13554 need_lib_prefix=no
13555 runpath_var=LD_RUN_PATH
13557 siemens)
13558 need_lib_prefix=no
13560 motorola)
13561 need_lib_prefix=no
13562 need_version=no
13563 shlibpath_overrides_runpath=no
13564 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13566 esac
13569 sysv4*MP*)
13570 if test -d /usr/nec ;then
13571 version_type=linux
13572 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13573 soname_spec='$libname${shared_ext}.$major'
13574 shlibpath_var=LD_LIBRARY_PATH
13578 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13579 version_type=freebsd-elf
13580 need_lib_prefix=no
13581 need_version=no
13582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13583 soname_spec='${libname}${release}${shared_ext}$major'
13584 shlibpath_var=LD_LIBRARY_PATH
13585 shlibpath_overrides_runpath=yes
13586 hardcode_into_libs=yes
13587 if test "$with_gnu_ld" = yes; then
13588 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13589 else
13590 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13591 case $host_os in
13592 sco3.2v5*)
13593 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13595 esac
13597 sys_lib_dlsearch_path_spec='/usr/lib'
13600 tpf*)
13601 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13602 version_type=linux
13603 need_lib_prefix=no
13604 need_version=no
13605 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13606 shlibpath_var=LD_LIBRARY_PATH
13607 shlibpath_overrides_runpath=no
13608 hardcode_into_libs=yes
13611 uts4*)
13612 version_type=linux
13613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13614 soname_spec='${libname}${release}${shared_ext}$major'
13615 shlibpath_var=LD_LIBRARY_PATH
13619 dynamic_linker=no
13621 esac
13622 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13623 echo "${ECHO_T}$dynamic_linker" >&6
13624 test "$dynamic_linker" = no && can_build_shared=no
13626 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13627 if test "$GCC" = yes; then
13628 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13666 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13667 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13668 hardcode_action_CXX=
13669 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13670 test -n "$runpath_var_CXX" ||
13671 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13673 # We can hardcode non-existent directories.
13674 if test "$hardcode_direct_CXX" != no &&
13675 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13676 # have to relink, otherwise we might link with an installed library
13677 # when we should be linking with a yet-to-be-installed one
13678 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13679 test "$hardcode_minus_L_CXX" != no; then
13680 # Linking always hardcodes the temporary library directory.
13681 hardcode_action_CXX=relink
13682 else
13683 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13684 hardcode_action_CXX=immediate
13686 else
13687 # We cannot hardcode anything, or else we can only hardcode existing
13688 # directories.
13689 hardcode_action_CXX=unsupported
13691 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13692 echo "${ECHO_T}$hardcode_action_CXX" >&6
13694 if test "$hardcode_action_CXX" = relink ||
13695 test "$inherit_rpath_CXX" = yes; then
13696 # Fast installation is not supported
13697 enable_fast_install=no
13698 elif test "$shlibpath_overrides_runpath" = yes ||
13699 test "$enable_shared" = no; then
13700 # Fast installation is not necessary
13701 enable_fast_install=needless
13710 fi # test -n "$compiler"
13712 CC=$lt_save_CC
13713 LDCXX=$LD
13714 LD=$lt_save_LD
13715 GCC=$lt_save_GCC
13716 with_gnu_ld=$lt_save_with_gnu_ld
13717 lt_cv_path_LDCXX=$lt_cv_path_LD
13718 lt_cv_path_LD=$lt_save_path_LD
13719 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13720 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13721 fi # test "$_lt_caught_CXX_error" != yes
13723 ac_ext=c
13724 ac_cpp='$CPP $CPPFLAGS'
13725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13741 ac_config_commands="$ac_config_commands libtool"
13746 # Only expand once:
13752 # Possibly disable most of the library.
13753 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13754 ## than just ignoring the results. Faster /and/ more correct, win win.
13756 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13757 if test "${enable_hosted_libstdcxx+set}" = set; then
13758 enableval="$enable_hosted_libstdcxx"
13760 else
13761 case "$host" in
13762 arm*-*-symbianelf*)
13763 enable_hosted_libstdcxx=no
13766 enable_hosted_libstdcxx=yes
13768 esac
13770 if test "$enable_hosted_libstdcxx" = no; then
13771 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13772 echo "$as_me: Only freestanding libraries will be built" >&6;}
13773 is_hosted=no
13774 hosted_define=0
13775 enable_abi_check=no
13776 enable_libstdcxx_pch=no
13777 else
13778 is_hosted=yes
13779 hosted_define=1
13783 cat >>confdefs.h <<_ACEOF
13784 #define _GLIBCXX_HOSTED $hosted_define
13785 _ACEOF
13789 # Check for compiler support that doesn't require linking.
13791 echo "$as_me:$LINENO: checking for exception model to use" >&5
13792 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13795 ac_ext=cc
13796 ac_cpp='$CXXCPP $CPPFLAGS'
13797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13801 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13802 if test "${enable_sjlj_exceptions+set}" = set; then
13803 enableval="$enable_sjlj_exceptions"
13805 case "$enableval" in
13806 yes|no|auto) ;;
13807 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13808 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13809 { (exit 1); exit 1; }; } ;;
13810 esac
13812 else
13813 enable_sjlj_exceptions=auto
13817 if test $enable_sjlj_exceptions = auto; then
13818 # Botheration. Now we've got to detect the exception model. Link tests
13819 # against libgcc.a are problematic since we've not been given proper -L
13820 # bits for single-tree newlib and libgloss.
13822 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
13823 cat > conftest.$ac_ext << EOF
13824 #line 13824 "configure"
13825 struct S { ~S(); };
13826 void bar();
13827 void foo()
13829 S s;
13830 bar();
13833 old_CXXFLAGS="$CXXFLAGS"
13834 CXXFLAGS=-S
13835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13836 (eval $ac_compile) 2>&5
13837 ac_status=$?
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 (exit $ac_status); }; then
13840 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13841 enable_sjlj_exceptions=yes
13842 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13843 enable_sjlj_exceptions=no
13844 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13845 enable_sjlj_exceptions=no
13848 CXXFLAGS="$old_CXXFLAGS"
13849 rm -f conftest*
13852 # This is a tad weird, for hysterical raisins. We have to map
13853 # enable/disable to two different models.
13854 case $enable_sjlj_exceptions in
13855 yes)
13857 cat >>confdefs.h <<\_ACEOF
13858 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13859 _ACEOF
13861 ac_exception_model_name=sjlj
13864 ac_exception_model_name="call frame"
13867 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13868 echo "$as_me: error: unable to detect exception model" >&2;}
13869 { (exit 1); exit 1; }; }
13871 esac
13872 ac_ext=c
13873 ac_cpp='$CPP $CPPFLAGS'
13874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13878 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13879 echo "${ECHO_T}$ac_exception_model_name" >&6
13882 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13883 if test "${enable_libstdcxx_pch+set}" = set; then
13884 enableval="$enable_libstdcxx_pch"
13886 case "$enableval" in
13887 yes|no) ;;
13888 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13889 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13890 { (exit 1); exit 1; }; } ;;
13891 esac
13893 else
13894 enable_libstdcxx_pch=$is_hosted
13897 if test $enable_libstdcxx_pch = yes; then
13898 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13899 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13900 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13901 echo $ECHO_N "(cached) $ECHO_C" >&6
13902 else
13903 ac_save_CXXFLAGS="$CXXFLAGS"
13904 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13907 ac_ext=cc
13908 ac_cpp='$CXXCPP $CPPFLAGS'
13909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13913 echo '#include <math.h>' > conftest.h
13914 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13915 -o conftest.h.gch 1>&5 2>&1 &&
13916 echo '#error "pch failed"' > conftest.h &&
13917 echo '#include "conftest.h"' > conftest.cc &&
13918 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13919 then
13920 glibcxx_cv_prog_CXX_pch=yes
13921 else
13922 glibcxx_cv_prog_CXX_pch=no
13924 rm -f conftest*
13925 CXXFLAGS=$ac_save_CXXFLAGS
13926 ac_ext=c
13927 ac_cpp='$CPP $CPPFLAGS'
13928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13934 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13935 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13936 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13939 echo "$as_me:$LINENO: checking for enabled PCH" >&5
13940 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13941 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13942 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13945 if test $enable_libstdcxx_pch = yes; then
13946 glibcxx_PCHFLAGS="-include bits/stdtr1c++.h"
13947 else
13948 glibcxx_PCHFLAGS=""
13953 # Enable all the variable C++ runtime options.
13955 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
13956 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
13957 # Check whether --enable-cstdio or --disable-cstdio was given.
13958 if test "${enable_cstdio+set}" = set; then
13959 enableval="$enable_cstdio"
13961 case "$enableval" in
13962 stdio) ;;
13963 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
13964 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
13965 { (exit 1); exit 1; }; } ;;
13966 esac
13968 else
13969 enable_cstdio=stdio
13973 # Now that libio has been removed, you can have any color you want as long
13974 # as it's black. This is one big no-op until other packages are added, but
13975 # showing the framework never hurts.
13976 case ${enable_cstdio} in
13977 stdio)
13978 CSTDIO_H=config/io/c_io_stdio.h
13979 BASIC_FILE_H=config/io/basic_file_stdio.h
13980 BASIC_FILE_CC=config/io/basic_file_stdio.cc
13981 echo "$as_me:$LINENO: result: stdio" >&5
13982 echo "${ECHO_T}stdio" >&6
13984 esac
13991 # Check whether --enable-clocale or --disable-clocale was given.
13992 if test "${enable_clocale+set}" = set; then
13993 enableval="$enable_clocale"
13995 case "$enableval" in
13996 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
13997 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
13998 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
13999 { (exit 1); exit 1; }; } ;;
14000 esac
14002 else
14003 enable_clocale=auto
14007 # Deal with gettext issues. Default to not using it (=no) until we detect
14008 # support for it later. Let the user turn it off via --e/d, but let that
14009 # default to on for easier handling.
14010 USE_NLS=no
14011 # Check whether --enable-nls or --disable-nls was given.
14012 if test "${enable_nls+set}" = set; then
14013 enableval="$enable_nls"
14015 else
14016 enable_nls=yes
14019 # Either a known packaage, or "auto"
14020 if test $enable_clocale = no || test $enable_clocale = yes; then
14021 enable_clocale=auto
14023 enable_clocale_flag=$enable_clocale
14025 # Probe for locale model to use if none specified.
14026 # Default to "generic".
14027 if test $enable_clocale_flag = auto; then
14028 case ${target_os} in
14029 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14030 enable_clocale_flag=gnu
14032 darwin* | freebsd*)
14033 enable_clocale_flag=darwin
14036 enable_clocale_flag=generic
14038 esac
14041 # Sanity check model, and test for special functionality.
14042 if test $enable_clocale_flag = gnu; then
14043 cat >conftest.$ac_ext <<_ACEOF
14044 /* confdefs.h. */
14045 _ACEOF
14046 cat confdefs.h >>conftest.$ac_ext
14047 cat >>conftest.$ac_ext <<_ACEOF
14048 /* end confdefs.h. */
14050 #include <features.h>
14051 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14052 _GLIBCXX_ok
14053 #endif
14055 _ACEOF
14056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14057 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14058 enable_clocale_flag=gnu
14059 else
14060 enable_clocale_flag=generic
14062 rm -f conftest*
14065 # Test for bugs early in glibc-2.2.x series
14066 if test "$cross_compiling" = yes; then
14067 enable_clocale_flag=generic
14068 else
14069 cat >conftest.$ac_ext <<_ACEOF
14070 /* confdefs.h. */
14071 _ACEOF
14072 cat confdefs.h >>conftest.$ac_ext
14073 cat >>conftest.$ac_ext <<_ACEOF
14074 /* end confdefs.h. */
14076 #define _GNU_SOURCE 1
14077 #include <locale.h>
14078 #include <string.h>
14079 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14080 extern __typeof(newlocale) __newlocale;
14081 extern __typeof(duplocale) __duplocale;
14082 extern __typeof(strcoll_l) __strcoll_l;
14083 #endif
14084 int main()
14086 const char __one[] = "Äuglein Augmen";
14087 const char __two[] = "Äuglein";
14088 int i;
14089 int j;
14090 __locale_t loc;
14091 __locale_t loc_dup;
14092 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14093 loc_dup = __duplocale(loc);
14094 i = __strcoll_l(__one, __two, loc);
14095 j = __strcoll_l(__one, __two, loc_dup);
14096 return 0;
14099 _ACEOF
14100 rm -f conftest$ac_exeext
14101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14102 (eval $ac_link) 2>&5
14103 ac_status=$?
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14107 (eval $ac_try) 2>&5
14108 ac_status=$?
14109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110 (exit $ac_status); }; }; then
14111 enable_clocale_flag=gnu
14112 else
14113 echo "$as_me: program exited with status $ac_status" >&5
14114 echo "$as_me: failed program was:" >&5
14115 sed 's/^/| /' conftest.$ac_ext >&5
14117 ( exit $ac_status )
14118 enable_clocale_flag=generic
14120 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14123 # Set it to scream when it hurts.
14124 ac_save_CFLAGS="$CFLAGS"
14125 CFLAGS="-Wimplicit-function-declaration -Werror"
14127 # Use strxfrm_l if available.
14128 cat >conftest.$ac_ext <<_ACEOF
14129 /* confdefs.h. */
14130 _ACEOF
14131 cat confdefs.h >>conftest.$ac_ext
14132 cat >>conftest.$ac_ext <<_ACEOF
14133 /* end confdefs.h. */
14134 #define _GNU_SOURCE 1
14135 #include <string.h>
14136 #include <locale.h>
14138 main ()
14140 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14142 return 0;
14144 _ACEOF
14145 rm -f conftest.$ac_objext
14146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14147 (eval $ac_compile) 2>conftest.er1
14148 ac_status=$?
14149 grep -v '^ *+' conftest.er1 >conftest.err
14150 rm -f conftest.er1
14151 cat conftest.err >&5
14152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153 (exit $ac_status); } &&
14154 { ac_try='test -z "$ac_c_werror_flag"
14155 || test ! -s conftest.err'
14156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14157 (eval $ac_try) 2>&5
14158 ac_status=$?
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); }; } &&
14161 { ac_try='test -s conftest.$ac_objext'
14162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14163 (eval $ac_try) 2>&5
14164 ac_status=$?
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); }; }; then
14168 cat >>confdefs.h <<\_ACEOF
14169 #define HAVE_STRXFRM_L 1
14170 _ACEOF
14172 else
14173 echo "$as_me: failed program was:" >&5
14174 sed 's/^/| /' conftest.$ac_ext >&5
14177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14179 # Use strerror_l if available.
14180 cat >conftest.$ac_ext <<_ACEOF
14181 /* confdefs.h. */
14182 _ACEOF
14183 cat confdefs.h >>conftest.$ac_ext
14184 cat >>conftest.$ac_ext <<_ACEOF
14185 /* end confdefs.h. */
14186 #define _GNU_SOURCE 1
14187 #include <string.h>
14188 #include <locale.h>
14190 main ()
14192 __locale_t loc; strerror_l(5, loc);
14194 return 0;
14196 _ACEOF
14197 rm -f conftest.$ac_objext
14198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14199 (eval $ac_compile) 2>conftest.er1
14200 ac_status=$?
14201 grep -v '^ *+' conftest.er1 >conftest.err
14202 rm -f conftest.er1
14203 cat conftest.err >&5
14204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14205 (exit $ac_status); } &&
14206 { ac_try='test -z "$ac_c_werror_flag"
14207 || test ! -s conftest.err'
14208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14209 (eval $ac_try) 2>&5
14210 ac_status=$?
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); }; } &&
14213 { ac_try='test -s conftest.$ac_objext'
14214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14215 (eval $ac_try) 2>&5
14216 ac_status=$?
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); }; }; then
14220 cat >>confdefs.h <<\_ACEOF
14221 #define HAVE_STRERROR_L 1
14222 _ACEOF
14224 else
14225 echo "$as_me: failed program was:" >&5
14226 sed 's/^/| /' conftest.$ac_ext >&5
14229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14231 CFLAGS="$ac_save_CFLAGS"
14234 # Perhaps use strerror_r if available, and strerror_l isn't.
14235 ac_save_CFLAGS="$CFLAGS"
14236 CFLAGS="-Wimplicit-function-declaration -Werror"
14237 cat >conftest.$ac_ext <<_ACEOF
14238 /* confdefs.h. */
14239 _ACEOF
14240 cat confdefs.h >>conftest.$ac_ext
14241 cat >>conftest.$ac_ext <<_ACEOF
14242 /* end confdefs.h. */
14243 #define _GNU_SOURCE 1
14244 #include <string.h>
14245 #include <locale.h>
14247 main ()
14249 char s[128]; strerror_r(5, s, 128);
14251 return 0;
14253 _ACEOF
14254 rm -f conftest.$ac_objext
14255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14256 (eval $ac_compile) 2>conftest.er1
14257 ac_status=$?
14258 grep -v '^ *+' conftest.er1 >conftest.err
14259 rm -f conftest.er1
14260 cat conftest.err >&5
14261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14262 (exit $ac_status); } &&
14263 { ac_try='test -z "$ac_c_werror_flag"
14264 || test ! -s conftest.err'
14265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14266 (eval $ac_try) 2>&5
14267 ac_status=$?
14268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14269 (exit $ac_status); }; } &&
14270 { ac_try='test -s conftest.$ac_objext'
14271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14272 (eval $ac_try) 2>&5
14273 ac_status=$?
14274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14275 (exit $ac_status); }; }; then
14277 cat >>confdefs.h <<\_ACEOF
14278 #define HAVE_STRERROR_R 1
14279 _ACEOF
14281 else
14282 echo "$as_me: failed program was:" >&5
14283 sed 's/^/| /' conftest.$ac_ext >&5
14286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14287 CFLAGS="$ac_save_CFLAGS"
14289 # Set configure bits for specified locale package
14290 echo "$as_me:$LINENO: checking for C locale to use" >&5
14291 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14292 case ${enable_clocale_flag} in
14293 generic)
14294 echo "$as_me:$LINENO: result: generic" >&5
14295 echo "${ECHO_T}generic" >&6
14297 CLOCALE_H=config/locale/generic/c_locale.h
14298 CLOCALE_CC=config/locale/generic/c_locale.cc
14299 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14300 CCOLLATE_CC=config/locale/generic/collate_members.cc
14301 CCTYPE_CC=config/locale/generic/ctype_members.cc
14302 CMESSAGES_H=config/locale/generic/messages_members.h
14303 CMESSAGES_CC=config/locale/generic/messages_members.cc
14304 CMONEY_CC=config/locale/generic/monetary_members.cc
14305 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14306 CTIME_H=config/locale/generic/time_members.h
14307 CTIME_CC=config/locale/generic/time_members.cc
14308 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14310 darwin)
14311 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14312 echo "${ECHO_T}darwin or freebsd" >&6
14314 CLOCALE_H=config/locale/generic/c_locale.h
14315 CLOCALE_CC=config/locale/generic/c_locale.cc
14316 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14317 CCOLLATE_CC=config/locale/generic/collate_members.cc
14318 CCTYPE_CC=config/locale/darwin/ctype_members.cc
14319 CMESSAGES_H=config/locale/generic/messages_members.h
14320 CMESSAGES_CC=config/locale/generic/messages_members.cc
14321 CMONEY_CC=config/locale/generic/monetary_members.cc
14322 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14323 CTIME_H=config/locale/generic/time_members.h
14324 CTIME_CC=config/locale/generic/time_members.cc
14325 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14328 gnu)
14329 echo "$as_me:$LINENO: result: gnu" >&5
14330 echo "${ECHO_T}gnu" >&6
14332 # Declare intention to use gettext, and add support for specific
14333 # languages.
14334 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14335 ALL_LINGUAS="de fr"
14337 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14338 # Extract the first word of "msgfmt", so it can be a program name with args.
14339 set dummy msgfmt; ac_word=$2
14340 echo "$as_me:$LINENO: checking for $ac_word" >&5
14341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14342 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14343 echo $ECHO_N "(cached) $ECHO_C" >&6
14344 else
14345 if test -n "$check_msgfmt"; then
14346 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14347 else
14348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14349 for as_dir in $PATH
14351 IFS=$as_save_IFS
14352 test -z "$as_dir" && as_dir=.
14353 for ac_exec_ext in '' $ac_executable_extensions; do
14354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14355 ac_cv_prog_check_msgfmt="yes"
14356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14357 break 2
14359 done
14360 done
14362 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14365 check_msgfmt=$ac_cv_prog_check_msgfmt
14366 if test -n "$check_msgfmt"; then
14367 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14368 echo "${ECHO_T}$check_msgfmt" >&6
14369 else
14370 echo "$as_me:$LINENO: result: no" >&5
14371 echo "${ECHO_T}no" >&6
14374 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14375 USE_NLS=yes
14377 # Export the build objects.
14378 for ling in $ALL_LINGUAS; do \
14379 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14380 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14381 done
14385 CLOCALE_H=config/locale/gnu/c_locale.h
14386 CLOCALE_CC=config/locale/gnu/c_locale.cc
14387 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14388 CCOLLATE_CC=config/locale/gnu/collate_members.cc
14389 CCTYPE_CC=config/locale/gnu/ctype_members.cc
14390 CMESSAGES_H=config/locale/gnu/messages_members.h
14391 CMESSAGES_CC=config/locale/gnu/messages_members.cc
14392 CMONEY_CC=config/locale/gnu/monetary_members.cc
14393 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14394 CTIME_H=config/locale/gnu/time_members.h
14395 CTIME_CC=config/locale/gnu/time_members.cc
14396 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14398 ieee_1003.1-2001)
14399 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14400 echo "${ECHO_T}IEEE 1003.1" >&6
14402 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14403 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14404 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14405 CCOLLATE_CC=config/locale/generic/collate_members.cc
14406 CCTYPE_CC=config/locale/generic/ctype_members.cc
14407 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14408 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14409 CMONEY_CC=config/locale/generic/monetary_members.cc
14410 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14411 CTIME_H=config/locale/generic/time_members.h
14412 CTIME_CC=config/locale/generic/time_members.cc
14413 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14415 esac
14417 # This is where the testsuite looks for locale catalogs, using the
14418 # -DLOCALEDIR define during testsuite compilation.
14419 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14422 # A standalone libintl (e.g., GNU libintl) may be in use.
14423 if test $USE_NLS = yes; then
14425 for ac_header in libintl.h
14427 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14429 echo "$as_me:$LINENO: checking for $ac_header" >&5
14430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14432 echo $ECHO_N "(cached) $ECHO_C" >&6
14434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14436 else
14437 # Is the header compilable?
14438 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14439 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14440 cat >conftest.$ac_ext <<_ACEOF
14441 /* confdefs.h. */
14442 _ACEOF
14443 cat confdefs.h >>conftest.$ac_ext
14444 cat >>conftest.$ac_ext <<_ACEOF
14445 /* end confdefs.h. */
14446 $ac_includes_default
14447 #include <$ac_header>
14448 _ACEOF
14449 rm -f conftest.$ac_objext
14450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14451 (eval $ac_compile) 2>conftest.er1
14452 ac_status=$?
14453 grep -v '^ *+' conftest.er1 >conftest.err
14454 rm -f conftest.er1
14455 cat conftest.err >&5
14456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457 (exit $ac_status); } &&
14458 { ac_try='test -z "$ac_c_werror_flag"
14459 || test ! -s conftest.err'
14460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14461 (eval $ac_try) 2>&5
14462 ac_status=$?
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; } &&
14465 { ac_try='test -s conftest.$ac_objext'
14466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14467 (eval $ac_try) 2>&5
14468 ac_status=$?
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); }; }; then
14471 ac_header_compiler=yes
14472 else
14473 echo "$as_me: failed program was:" >&5
14474 sed 's/^/| /' conftest.$ac_ext >&5
14476 ac_header_compiler=no
14478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14479 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14480 echo "${ECHO_T}$ac_header_compiler" >&6
14482 # Is the header present?
14483 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14484 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14485 cat >conftest.$ac_ext <<_ACEOF
14486 /* confdefs.h. */
14487 _ACEOF
14488 cat confdefs.h >>conftest.$ac_ext
14489 cat >>conftest.$ac_ext <<_ACEOF
14490 /* end confdefs.h. */
14491 #include <$ac_header>
14492 _ACEOF
14493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14494 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14495 ac_status=$?
14496 grep -v '^ *+' conftest.er1 >conftest.err
14497 rm -f conftest.er1
14498 cat conftest.err >&5
14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); } >/dev/null; then
14501 if test -s conftest.err; then
14502 ac_cpp_err=$ac_c_preproc_warn_flag
14503 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14504 else
14505 ac_cpp_err=
14507 else
14508 ac_cpp_err=yes
14510 if test -z "$ac_cpp_err"; then
14511 ac_header_preproc=yes
14512 else
14513 echo "$as_me: failed program was:" >&5
14514 sed 's/^/| /' conftest.$ac_ext >&5
14516 ac_header_preproc=no
14518 rm -f conftest.err conftest.$ac_ext
14519 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14520 echo "${ECHO_T}$ac_header_preproc" >&6
14522 # So? What about this header?
14523 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14524 yes:no: )
14525 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14526 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14528 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14529 ac_header_preproc=yes
14531 no:yes:* )
14532 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14533 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14534 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14535 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14536 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14537 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14538 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14539 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14540 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14541 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14542 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14543 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14545 cat <<\_ASBOX
14546 ## ----------------------------------------- ##
14547 ## Report this to the package-unused lists. ##
14548 ## ----------------------------------------- ##
14549 _ASBOX
14551 sed "s/^/$as_me: WARNING: /" >&2
14553 esac
14554 echo "$as_me:$LINENO: checking for $ac_header" >&5
14555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14556 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14557 echo $ECHO_N "(cached) $ECHO_C" >&6
14558 else
14559 eval "$as_ac_Header=\$ac_header_preproc"
14561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14562 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14566 cat >>confdefs.h <<_ACEOF
14567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14568 _ACEOF
14570 else
14571 USE_NLS=no
14574 done
14576 echo "$as_me:$LINENO: checking for library containing gettext" >&5
14577 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14578 if test "${ac_cv_search_gettext+set}" = set; then
14579 echo $ECHO_N "(cached) $ECHO_C" >&6
14580 else
14581 ac_func_search_save_LIBS=$LIBS
14582 ac_cv_search_gettext=no
14583 if test x$gcc_no_link = xyes; then
14584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14586 { (exit 1); exit 1; }; }
14588 cat >conftest.$ac_ext <<_ACEOF
14589 /* confdefs.h. */
14590 _ACEOF
14591 cat confdefs.h >>conftest.$ac_ext
14592 cat >>conftest.$ac_ext <<_ACEOF
14593 /* end confdefs.h. */
14595 /* Override any gcc2 internal prototype to avoid an error. */
14596 #ifdef __cplusplus
14597 extern "C"
14598 #endif
14599 /* We use char because int might match the return type of a gcc2
14600 builtin and then its argument prototype would still apply. */
14601 char gettext ();
14603 main ()
14605 gettext ();
14607 return 0;
14609 _ACEOF
14610 rm -f conftest.$ac_objext conftest$ac_exeext
14611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14612 (eval $ac_link) 2>conftest.er1
14613 ac_status=$?
14614 grep -v '^ *+' conftest.er1 >conftest.err
14615 rm -f conftest.er1
14616 cat conftest.err >&5
14617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618 (exit $ac_status); } &&
14619 { ac_try='test -z "$ac_c_werror_flag"
14620 || test ! -s conftest.err'
14621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14622 (eval $ac_try) 2>&5
14623 ac_status=$?
14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625 (exit $ac_status); }; } &&
14626 { ac_try='test -s conftest$ac_exeext'
14627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14628 (eval $ac_try) 2>&5
14629 ac_status=$?
14630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14631 (exit $ac_status); }; }; then
14632 ac_cv_search_gettext="none required"
14633 else
14634 echo "$as_me: failed program was:" >&5
14635 sed 's/^/| /' conftest.$ac_ext >&5
14638 rm -f conftest.err conftest.$ac_objext \
14639 conftest$ac_exeext conftest.$ac_ext
14640 if test "$ac_cv_search_gettext" = no; then
14641 for ac_lib in intl; do
14642 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14643 if test x$gcc_no_link = xyes; then
14644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14646 { (exit 1); exit 1; }; }
14648 cat >conftest.$ac_ext <<_ACEOF
14649 /* confdefs.h. */
14650 _ACEOF
14651 cat confdefs.h >>conftest.$ac_ext
14652 cat >>conftest.$ac_ext <<_ACEOF
14653 /* end confdefs.h. */
14655 /* Override any gcc2 internal prototype to avoid an error. */
14656 #ifdef __cplusplus
14657 extern "C"
14658 #endif
14659 /* We use char because int might match the return type of a gcc2
14660 builtin and then its argument prototype would still apply. */
14661 char gettext ();
14663 main ()
14665 gettext ();
14667 return 0;
14669 _ACEOF
14670 rm -f conftest.$ac_objext conftest$ac_exeext
14671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14672 (eval $ac_link) 2>conftest.er1
14673 ac_status=$?
14674 grep -v '^ *+' conftest.er1 >conftest.err
14675 rm -f conftest.er1
14676 cat conftest.err >&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); } &&
14679 { ac_try='test -z "$ac_c_werror_flag"
14680 || test ! -s conftest.err'
14681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14682 (eval $ac_try) 2>&5
14683 ac_status=$?
14684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14685 (exit $ac_status); }; } &&
14686 { ac_try='test -s conftest$ac_exeext'
14687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14688 (eval $ac_try) 2>&5
14689 ac_status=$?
14690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14691 (exit $ac_status); }; }; then
14692 ac_cv_search_gettext="-l$ac_lib"
14693 break
14694 else
14695 echo "$as_me: failed program was:" >&5
14696 sed 's/^/| /' conftest.$ac_ext >&5
14699 rm -f conftest.err conftest.$ac_objext \
14700 conftest$ac_exeext conftest.$ac_ext
14701 done
14703 LIBS=$ac_func_search_save_LIBS
14705 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
14706 echo "${ECHO_T}$ac_cv_search_gettext" >&6
14707 if test "$ac_cv_search_gettext" != no; then
14708 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
14710 else
14711 USE_NLS=no
14715 if test $USE_NLS = yes; then
14717 cat >>confdefs.h <<\_ACEOF
14718 #define _GLIBCXX_USE_NLS 1
14719 _ACEOF
14738 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
14739 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
14740 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
14741 if test "${enable_libstdcxx_allocator+set}" = set; then
14742 enableval="$enable_libstdcxx_allocator"
14744 case "$enableval" in
14745 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
14746 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
14747 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
14748 { (exit 1); exit 1; }; } ;;
14749 esac
14751 else
14752 enable_libstdcxx_allocator=auto
14756 # If they didn't use this option switch, or if they specified --enable
14757 # with no specific model, we'll have to look for one. If they
14758 # specified --disable (???), do likewise.
14759 if test $enable_libstdcxx_allocator = no ||
14760 test $enable_libstdcxx_allocator = yes;
14761 then
14762 enable_libstdcxx_allocator=auto
14765 # Either a known package, or "auto". Auto implies the default choice
14766 # for a particular platform.
14767 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
14769 # Probe for host-specific support if no specific model is specified.
14770 # Default to "new".
14771 if test $enable_libstdcxx_allocator_flag = auto; then
14772 case ${target_os} in
14773 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14774 enable_libstdcxx_allocator_flag=new
14777 enable_libstdcxx_allocator_flag=new
14779 esac
14781 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
14782 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
14785 # Set configure bits for specified locale package
14786 case ${enable_libstdcxx_allocator_flag} in
14787 bitmap)
14788 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
14789 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
14791 malloc)
14792 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
14793 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
14796 ALLOCATOR_H=config/allocator/mt_allocator_base.h
14797 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
14799 new)
14800 ALLOCATOR_H=config/allocator/new_allocator_base.h
14801 ALLOCATOR_NAME=__gnu_cxx::new_allocator
14803 pool)
14804 ALLOCATOR_H=config/allocator/pool_allocator_base.h
14805 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
14807 esac
14813 # Check whether --enable-cheaders or --disable-cheaders was given.
14814 if test "${enable_cheaders+set}" = set; then
14815 enableval="$enable_cheaders"
14817 case "$enableval" in
14818 c|c_std|c_global) ;;
14819 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
14820 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
14821 { (exit 1); exit 1; }; } ;;
14822 esac
14824 else
14825 enable_cheaders=$c_model
14828 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
14829 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
14831 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
14833 # Allow overrides to configure.host here.
14834 if test $enable_cheaders = c_global; then
14835 c_compatibility=yes
14838 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
14839 c_extra=yes
14849 # Check whether --enable-long-long or --disable-long-long was given.
14850 if test "${enable_long_long+set}" = set; then
14851 enableval="$enable_long_long"
14853 case "$enableval" in
14854 yes|no) ;;
14855 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
14856 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
14857 { (exit 1); exit 1; }; } ;;
14858 esac
14860 else
14861 enable_long_long=yes
14864 if test $enable_long_long = yes; then
14866 cat >>confdefs.h <<\_ACEOF
14867 #define _GLIBCXX_USE_LONG_LONG 1
14868 _ACEOF
14871 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
14872 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
14873 echo "$as_me:$LINENO: result: $enable_long_long" >&5
14874 echo "${ECHO_T}$enable_long_long" >&6
14877 # Check whether --enable-wchar_t or --disable-wchar_t was given.
14878 if test "${enable_wchar_t+set}" = set; then
14879 enableval="$enable_wchar_t"
14881 case "$enableval" in
14882 yes|no) ;;
14883 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
14884 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
14885 { (exit 1); exit 1; }; } ;;
14886 esac
14888 else
14889 enable_wchar_t=yes
14893 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
14895 for ac_header in wchar.h
14897 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14899 echo "$as_me:$LINENO: checking for $ac_header" >&5
14900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14902 echo $ECHO_N "(cached) $ECHO_C" >&6
14904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14906 else
14907 # Is the header compilable?
14908 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14909 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14910 cat >conftest.$ac_ext <<_ACEOF
14911 /* confdefs.h. */
14912 _ACEOF
14913 cat confdefs.h >>conftest.$ac_ext
14914 cat >>conftest.$ac_ext <<_ACEOF
14915 /* end confdefs.h. */
14916 $ac_includes_default
14917 #include <$ac_header>
14918 _ACEOF
14919 rm -f conftest.$ac_objext
14920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14921 (eval $ac_compile) 2>conftest.er1
14922 ac_status=$?
14923 grep -v '^ *+' conftest.er1 >conftest.err
14924 rm -f conftest.er1
14925 cat conftest.err >&5
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); } &&
14928 { ac_try='test -z "$ac_c_werror_flag"
14929 || test ! -s conftest.err'
14930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14931 (eval $ac_try) 2>&5
14932 ac_status=$?
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); }; } &&
14935 { ac_try='test -s conftest.$ac_objext'
14936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14937 (eval $ac_try) 2>&5
14938 ac_status=$?
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); }; }; then
14941 ac_header_compiler=yes
14942 else
14943 echo "$as_me: failed program was:" >&5
14944 sed 's/^/| /' conftest.$ac_ext >&5
14946 ac_header_compiler=no
14948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14949 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14950 echo "${ECHO_T}$ac_header_compiler" >&6
14952 # Is the header present?
14953 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14954 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14955 cat >conftest.$ac_ext <<_ACEOF
14956 /* confdefs.h. */
14957 _ACEOF
14958 cat confdefs.h >>conftest.$ac_ext
14959 cat >>conftest.$ac_ext <<_ACEOF
14960 /* end confdefs.h. */
14961 #include <$ac_header>
14962 _ACEOF
14963 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14964 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14965 ac_status=$?
14966 grep -v '^ *+' conftest.er1 >conftest.err
14967 rm -f conftest.er1
14968 cat conftest.err >&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); } >/dev/null; then
14971 if test -s conftest.err; then
14972 ac_cpp_err=$ac_c_preproc_warn_flag
14973 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14974 else
14975 ac_cpp_err=
14977 else
14978 ac_cpp_err=yes
14980 if test -z "$ac_cpp_err"; then
14981 ac_header_preproc=yes
14982 else
14983 echo "$as_me: failed program was:" >&5
14984 sed 's/^/| /' conftest.$ac_ext >&5
14986 ac_header_preproc=no
14988 rm -f conftest.err conftest.$ac_ext
14989 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14990 echo "${ECHO_T}$ac_header_preproc" >&6
14992 # So? What about this header?
14993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14994 yes:no: )
14995 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14996 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14998 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14999 ac_header_preproc=yes
15001 no:yes:* )
15002 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15003 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15004 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15005 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15006 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15007 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15008 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15009 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15011 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15012 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15013 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15015 cat <<\_ASBOX
15016 ## ----------------------------------------- ##
15017 ## Report this to the package-unused lists. ##
15018 ## ----------------------------------------- ##
15019 _ASBOX
15021 sed "s/^/$as_me: WARNING: /" >&2
15023 esac
15024 echo "$as_me:$LINENO: checking for $ac_header" >&5
15025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15027 echo $ECHO_N "(cached) $ECHO_C" >&6
15028 else
15029 eval "$as_ac_Header=\$ac_header_preproc"
15031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15032 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15035 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15036 cat >>confdefs.h <<_ACEOF
15037 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15038 _ACEOF
15039 ac_has_wchar_h=yes
15040 else
15041 ac_has_wchar_h=no
15044 done
15046 echo "$as_me:$LINENO: checking for mbstate_t" >&5
15047 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15048 cat >conftest.$ac_ext <<_ACEOF
15049 /* confdefs.h. */
15050 _ACEOF
15051 cat confdefs.h >>conftest.$ac_ext
15052 cat >>conftest.$ac_ext <<_ACEOF
15053 /* end confdefs.h. */
15054 #include <wchar.h>
15056 main ()
15058 mbstate_t teststate;
15060 return 0;
15062 _ACEOF
15063 rm -f conftest.$ac_objext
15064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15065 (eval $ac_compile) 2>conftest.er1
15066 ac_status=$?
15067 grep -v '^ *+' conftest.er1 >conftest.err
15068 rm -f conftest.er1
15069 cat conftest.err >&5
15070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 (exit $ac_status); } &&
15072 { ac_try='test -z "$ac_c_werror_flag"
15073 || test ! -s conftest.err'
15074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15075 (eval $ac_try) 2>&5
15076 ac_status=$?
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); }; } &&
15079 { ac_try='test -s conftest.$ac_objext'
15080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15081 (eval $ac_try) 2>&5
15082 ac_status=$?
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); }; }; then
15085 have_mbstate_t=yes
15086 else
15087 echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.$ac_ext >&5
15090 have_mbstate_t=no
15092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15093 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15094 echo "${ECHO_T}$have_mbstate_t" >&6
15095 if test x"$have_mbstate_t" = xyes; then
15097 cat >>confdefs.h <<\_ACEOF
15098 #define HAVE_MBSTATE_T 1
15099 _ACEOF
15103 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15104 # ac_has_wchar_h.
15106 for ac_header in wctype.h
15108 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15110 echo "$as_me:$LINENO: checking for $ac_header" >&5
15111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15113 echo $ECHO_N "(cached) $ECHO_C" >&6
15115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15117 else
15118 # Is the header compilable?
15119 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15120 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15121 cat >conftest.$ac_ext <<_ACEOF
15122 /* confdefs.h. */
15123 _ACEOF
15124 cat confdefs.h >>conftest.$ac_ext
15125 cat >>conftest.$ac_ext <<_ACEOF
15126 /* end confdefs.h. */
15127 $ac_includes_default
15128 #include <$ac_header>
15129 _ACEOF
15130 rm -f conftest.$ac_objext
15131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15132 (eval $ac_compile) 2>conftest.er1
15133 ac_status=$?
15134 grep -v '^ *+' conftest.er1 >conftest.err
15135 rm -f conftest.er1
15136 cat conftest.err >&5
15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138 (exit $ac_status); } &&
15139 { ac_try='test -z "$ac_c_werror_flag"
15140 || test ! -s conftest.err'
15141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15142 (eval $ac_try) 2>&5
15143 ac_status=$?
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); }; } &&
15146 { ac_try='test -s conftest.$ac_objext'
15147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15148 (eval $ac_try) 2>&5
15149 ac_status=$?
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); }; }; then
15152 ac_header_compiler=yes
15153 else
15154 echo "$as_me: failed program was:" >&5
15155 sed 's/^/| /' conftest.$ac_ext >&5
15157 ac_header_compiler=no
15159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15161 echo "${ECHO_T}$ac_header_compiler" >&6
15163 # Is the header present?
15164 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15165 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15166 cat >conftest.$ac_ext <<_ACEOF
15167 /* confdefs.h. */
15168 _ACEOF
15169 cat confdefs.h >>conftest.$ac_ext
15170 cat >>conftest.$ac_ext <<_ACEOF
15171 /* end confdefs.h. */
15172 #include <$ac_header>
15173 _ACEOF
15174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15175 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15176 ac_status=$?
15177 grep -v '^ *+' conftest.er1 >conftest.err
15178 rm -f conftest.er1
15179 cat conftest.err >&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); } >/dev/null; then
15182 if test -s conftest.err; then
15183 ac_cpp_err=$ac_c_preproc_warn_flag
15184 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15185 else
15186 ac_cpp_err=
15188 else
15189 ac_cpp_err=yes
15191 if test -z "$ac_cpp_err"; then
15192 ac_header_preproc=yes
15193 else
15194 echo "$as_me: failed program was:" >&5
15195 sed 's/^/| /' conftest.$ac_ext >&5
15197 ac_header_preproc=no
15199 rm -f conftest.err conftest.$ac_ext
15200 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15201 echo "${ECHO_T}$ac_header_preproc" >&6
15203 # So? What about this header?
15204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15205 yes:no: )
15206 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15207 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15209 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15210 ac_header_preproc=yes
15212 no:yes:* )
15213 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15214 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15215 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15216 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15217 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15218 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15219 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15220 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15222 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15223 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15224 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15226 cat <<\_ASBOX
15227 ## ----------------------------------------- ##
15228 ## Report this to the package-unused lists. ##
15229 ## ----------------------------------------- ##
15230 _ASBOX
15232 sed "s/^/$as_me: WARNING: /" >&2
15234 esac
15235 echo "$as_me:$LINENO: checking for $ac_header" >&5
15236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15238 echo $ECHO_N "(cached) $ECHO_C" >&6
15239 else
15240 eval "$as_ac_Header=\$ac_header_preproc"
15242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15246 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15247 cat >>confdefs.h <<_ACEOF
15248 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15249 _ACEOF
15250 ac_has_wctype_h=yes
15251 else
15252 ac_has_wctype_h=no
15255 done
15258 if test x"$enable_wchar_t" = x"yes"; then
15262 ac_ext=cc
15263 ac_cpp='$CXXCPP $CPPFLAGS'
15264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15269 if test x"$ac_has_wchar_h" = xyes &&
15270 test x"$ac_has_wctype_h" = xyes; then
15271 cat >conftest.$ac_ext <<_ACEOF
15272 /* confdefs.h. */
15273 _ACEOF
15274 cat confdefs.h >>conftest.$ac_ext
15275 cat >>conftest.$ac_ext <<_ACEOF
15276 /* end confdefs.h. */
15277 #include <wchar.h>
15278 #include <stddef.h>
15279 wint_t i;
15280 long l = WEOF;
15281 long j = WCHAR_MIN;
15282 long k = WCHAR_MAX;
15283 namespace test
15285 using ::btowc;
15286 using ::fgetwc;
15287 using ::fgetws;
15288 using ::fputwc;
15289 using ::fputws;
15290 using ::fwide;
15291 using ::fwprintf;
15292 using ::fwscanf;
15293 using ::getwc;
15294 using ::getwchar;
15295 using ::mbrlen;
15296 using ::mbrtowc;
15297 using ::mbsinit;
15298 using ::mbsrtowcs;
15299 using ::putwc;
15300 using ::putwchar;
15301 using ::swprintf;
15302 using ::swscanf;
15303 using ::ungetwc;
15304 using ::vfwprintf;
15305 using ::vswprintf;
15306 using ::vwprintf;
15307 using ::wcrtomb;
15308 using ::wcscat;
15309 using ::wcschr;
15310 using ::wcscmp;
15311 using ::wcscoll;
15312 using ::wcscpy;
15313 using ::wcscspn;
15314 using ::wcsftime;
15315 using ::wcslen;
15316 using ::wcsncat;
15317 using ::wcsncmp;
15318 using ::wcsncpy;
15319 using ::wcspbrk;
15320 using ::wcsrchr;
15321 using ::wcsrtombs;
15322 using ::wcsspn;
15323 using ::wcsstr;
15324 using ::wcstod;
15325 using ::wcstok;
15326 using ::wcstol;
15327 using ::wcstoul;
15328 using ::wcsxfrm;
15329 using ::wctob;
15330 using ::wmemchr;
15331 using ::wmemcmp;
15332 using ::wmemcpy;
15333 using ::wmemmove;
15334 using ::wmemset;
15335 using ::wprintf;
15336 using ::wscanf;
15340 main ()
15344 return 0;
15346 _ACEOF
15347 rm -f conftest.$ac_objext
15348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15349 (eval $ac_compile) 2>conftest.er1
15350 ac_status=$?
15351 grep -v '^ *+' conftest.er1 >conftest.err
15352 rm -f conftest.er1
15353 cat conftest.err >&5
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); } &&
15356 { ac_try='test -z "$ac_cxx_werror_flag"
15357 || test ! -s conftest.err'
15358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15359 (eval $ac_try) 2>&5
15360 ac_status=$?
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); }; } &&
15363 { ac_try='test -s conftest.$ac_objext'
15364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15365 (eval $ac_try) 2>&5
15366 ac_status=$?
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 (exit $ac_status); }; }; then
15370 else
15371 echo "$as_me: failed program was:" >&5
15372 sed 's/^/| /' conftest.$ac_ext >&5
15374 enable_wchar_t=no
15376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15377 else
15378 enable_wchar_t=no
15381 ac_ext=c
15382 ac_cpp='$CPP $CPPFLAGS'
15383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15389 if test x"$enable_wchar_t" = x"yes"; then
15391 cat >>confdefs.h <<\_ACEOF
15392 #define _GLIBCXX_USE_WCHAR_T 1
15393 _ACEOF
15397 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15398 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15399 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15400 echo "${ECHO_T}$enable_wchar_t" >&6
15404 # Check whether --enable-c99 or --disable-c99 was given.
15405 if test "${enable_c99+set}" = set; then
15406 enableval="$enable_c99"
15408 case "$enableval" in
15409 yes|no) ;;
15410 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15411 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15412 { (exit 1); exit 1; }; } ;;
15413 esac
15415 else
15416 enable_c99=yes
15420 if test x"$enable_c99" = x"yes"; then
15424 ac_ext=cc
15425 ac_cpp='$CXXCPP $CPPFLAGS'
15426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15431 # Check for the existence of <math.h> functions used if C99 is enabled.
15432 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15433 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15434 if test "${ac_c99_math+set}" = set; then
15435 echo $ECHO_N "(cached) $ECHO_C" >&6
15436 else
15438 cat >conftest.$ac_ext <<_ACEOF
15439 /* confdefs.h. */
15440 _ACEOF
15441 cat confdefs.h >>conftest.$ac_ext
15442 cat >>conftest.$ac_ext <<_ACEOF
15443 /* end confdefs.h. */
15444 #include <math.h>
15446 main ()
15448 fpclassify(0.0);
15449 isfinite(0.0);
15450 isinf(0.0);
15451 isnan(0.0);
15452 isnormal(0.0);
15453 signbit(0.0);
15454 isgreater(0.0,0.0);
15455 isgreaterequal(0.0,0.0);
15456 isless(0.0,0.0);
15457 islessequal(0.0,0.0);
15458 islessgreater(0.0,0.0);
15459 islessgreater(0.0,0.0);
15460 isunordered(0.0,0.0);
15463 return 0;
15465 _ACEOF
15466 rm -f conftest.$ac_objext
15467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15468 (eval $ac_compile) 2>conftest.er1
15469 ac_status=$?
15470 grep -v '^ *+' conftest.er1 >conftest.err
15471 rm -f conftest.er1
15472 cat conftest.err >&5
15473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 (exit $ac_status); } &&
15475 { ac_try='test -z "$ac_cxx_werror_flag"
15476 || test ! -s conftest.err'
15477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15478 (eval $ac_try) 2>&5
15479 ac_status=$?
15480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15481 (exit $ac_status); }; } &&
15482 { ac_try='test -s conftest.$ac_objext'
15483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15484 (eval $ac_try) 2>&5
15485 ac_status=$?
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); }; }; then
15488 ac_c99_math=yes
15489 else
15490 echo "$as_me: failed program was:" >&5
15491 sed 's/^/| /' conftest.$ac_ext >&5
15493 ac_c99_math=no
15495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15499 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
15500 echo "${ECHO_T}$ac_c99_math" >&6
15501 if test x"$ac_c99_math" = x"yes"; then
15503 cat >>confdefs.h <<\_ACEOF
15504 #define _GLIBCXX_USE_C99_MATH 1
15505 _ACEOF
15509 # Check for the existence of <complex.h> complex math functions.
15510 # This is necessary even though libstdc++ uses the builtin versions
15511 # of these functions, because if the builtin cannot be used, a reference
15512 # to the library function is emitted.
15514 for ac_header in tgmath.h
15516 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15518 echo "$as_me:$LINENO: checking for $ac_header" >&5
15519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15521 echo $ECHO_N "(cached) $ECHO_C" >&6
15523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15524 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15525 else
15526 # Is the header compilable?
15527 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15528 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15529 cat >conftest.$ac_ext <<_ACEOF
15530 /* confdefs.h. */
15531 _ACEOF
15532 cat confdefs.h >>conftest.$ac_ext
15533 cat >>conftest.$ac_ext <<_ACEOF
15534 /* end confdefs.h. */
15535 $ac_includes_default
15536 #include <$ac_header>
15537 _ACEOF
15538 rm -f conftest.$ac_objext
15539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15540 (eval $ac_compile) 2>conftest.er1
15541 ac_status=$?
15542 grep -v '^ *+' conftest.er1 >conftest.err
15543 rm -f conftest.er1
15544 cat conftest.err >&5
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); } &&
15547 { ac_try='test -z "$ac_cxx_werror_flag"
15548 || test ! -s conftest.err'
15549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15550 (eval $ac_try) 2>&5
15551 ac_status=$?
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); }; } &&
15554 { ac_try='test -s conftest.$ac_objext'
15555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15556 (eval $ac_try) 2>&5
15557 ac_status=$?
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); }; }; then
15560 ac_header_compiler=yes
15561 else
15562 echo "$as_me: failed program was:" >&5
15563 sed 's/^/| /' conftest.$ac_ext >&5
15565 ac_header_compiler=no
15567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15568 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15569 echo "${ECHO_T}$ac_header_compiler" >&6
15571 # Is the header present?
15572 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15573 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15574 cat >conftest.$ac_ext <<_ACEOF
15575 /* confdefs.h. */
15576 _ACEOF
15577 cat confdefs.h >>conftest.$ac_ext
15578 cat >>conftest.$ac_ext <<_ACEOF
15579 /* end confdefs.h. */
15580 #include <$ac_header>
15581 _ACEOF
15582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15584 ac_status=$?
15585 grep -v '^ *+' conftest.er1 >conftest.err
15586 rm -f conftest.er1
15587 cat conftest.err >&5
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); } >/dev/null; then
15590 if test -s conftest.err; then
15591 ac_cpp_err=$ac_cxx_preproc_warn_flag
15592 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15593 else
15594 ac_cpp_err=
15596 else
15597 ac_cpp_err=yes
15599 if test -z "$ac_cpp_err"; then
15600 ac_header_preproc=yes
15601 else
15602 echo "$as_me: failed program was:" >&5
15603 sed 's/^/| /' conftest.$ac_ext >&5
15605 ac_header_preproc=no
15607 rm -f conftest.err conftest.$ac_ext
15608 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15609 echo "${ECHO_T}$ac_header_preproc" >&6
15611 # So? What about this header?
15612 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15613 yes:no: )
15614 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15615 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15617 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15618 ac_header_preproc=yes
15620 no:yes:* )
15621 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15622 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15623 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15624 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15625 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15626 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15627 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15628 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15630 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15631 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15632 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15634 cat <<\_ASBOX
15635 ## ----------------------------------------- ##
15636 ## Report this to the package-unused lists. ##
15637 ## ----------------------------------------- ##
15638 _ASBOX
15640 sed "s/^/$as_me: WARNING: /" >&2
15642 esac
15643 echo "$as_me:$LINENO: checking for $ac_header" >&5
15644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15646 echo $ECHO_N "(cached) $ECHO_C" >&6
15647 else
15648 eval "$as_ac_Header=\$ac_header_preproc"
15650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15655 cat >>confdefs.h <<_ACEOF
15656 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15657 _ACEOF
15658 ac_has_tgmath_h=yes
15659 else
15660 ac_has_tgmath_h=no
15663 done
15666 for ac_header in complex.h
15668 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15670 echo "$as_me:$LINENO: checking for $ac_header" >&5
15671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15673 echo $ECHO_N "(cached) $ECHO_C" >&6
15675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15677 else
15678 # Is the header compilable?
15679 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15680 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15681 cat >conftest.$ac_ext <<_ACEOF
15682 /* confdefs.h. */
15683 _ACEOF
15684 cat confdefs.h >>conftest.$ac_ext
15685 cat >>conftest.$ac_ext <<_ACEOF
15686 /* end confdefs.h. */
15687 $ac_includes_default
15688 #include <$ac_header>
15689 _ACEOF
15690 rm -f conftest.$ac_objext
15691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15692 (eval $ac_compile) 2>conftest.er1
15693 ac_status=$?
15694 grep -v '^ *+' conftest.er1 >conftest.err
15695 rm -f conftest.er1
15696 cat conftest.err >&5
15697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698 (exit $ac_status); } &&
15699 { ac_try='test -z "$ac_cxx_werror_flag"
15700 || test ! -s conftest.err'
15701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15702 (eval $ac_try) 2>&5
15703 ac_status=$?
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); }; } &&
15706 { ac_try='test -s conftest.$ac_objext'
15707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15708 (eval $ac_try) 2>&5
15709 ac_status=$?
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); }; }; then
15712 ac_header_compiler=yes
15713 else
15714 echo "$as_me: failed program was:" >&5
15715 sed 's/^/| /' conftest.$ac_ext >&5
15717 ac_header_compiler=no
15719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15720 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15721 echo "${ECHO_T}$ac_header_compiler" >&6
15723 # Is the header present?
15724 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15725 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15726 cat >conftest.$ac_ext <<_ACEOF
15727 /* confdefs.h. */
15728 _ACEOF
15729 cat confdefs.h >>conftest.$ac_ext
15730 cat >>conftest.$ac_ext <<_ACEOF
15731 /* end confdefs.h. */
15732 #include <$ac_header>
15733 _ACEOF
15734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15735 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15736 ac_status=$?
15737 grep -v '^ *+' conftest.er1 >conftest.err
15738 rm -f conftest.er1
15739 cat conftest.err >&5
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); } >/dev/null; then
15742 if test -s conftest.err; then
15743 ac_cpp_err=$ac_cxx_preproc_warn_flag
15744 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15745 else
15746 ac_cpp_err=
15748 else
15749 ac_cpp_err=yes
15751 if test -z "$ac_cpp_err"; then
15752 ac_header_preproc=yes
15753 else
15754 echo "$as_me: failed program was:" >&5
15755 sed 's/^/| /' conftest.$ac_ext >&5
15757 ac_header_preproc=no
15759 rm -f conftest.err conftest.$ac_ext
15760 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15761 echo "${ECHO_T}$ac_header_preproc" >&6
15763 # So? What about this header?
15764 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15765 yes:no: )
15766 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15767 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15768 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15769 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15770 ac_header_preproc=yes
15772 no:yes:* )
15773 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15774 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15775 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15776 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15777 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15778 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15779 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15780 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15781 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15782 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15783 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15784 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15786 cat <<\_ASBOX
15787 ## ----------------------------------------- ##
15788 ## Report this to the package-unused lists. ##
15789 ## ----------------------------------------- ##
15790 _ASBOX
15792 sed "s/^/$as_me: WARNING: /" >&2
15794 esac
15795 echo "$as_me:$LINENO: checking for $ac_header" >&5
15796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15798 echo $ECHO_N "(cached) $ECHO_C" >&6
15799 else
15800 eval "$as_ac_Header=\$ac_header_preproc"
15802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15806 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15807 cat >>confdefs.h <<_ACEOF
15808 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15809 _ACEOF
15810 ac_has_complex_h=yes
15811 else
15812 ac_has_complex_h=no
15815 done
15817 ac_c99_complex=no;
15818 if test x"$ac_has_complex_h" = x"yes"; then
15819 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
15820 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
15821 cat >conftest.$ac_ext <<_ACEOF
15822 /* confdefs.h. */
15823 _ACEOF
15824 cat confdefs.h >>conftest.$ac_ext
15825 cat >>conftest.$ac_ext <<_ACEOF
15826 /* end confdefs.h. */
15827 #include <complex.h>
15829 main ()
15831 typedef __complex__ float float_type; float_type tmpf;
15832 cabsf(tmpf);
15833 cargf(tmpf);
15834 ccosf(tmpf);
15835 ccoshf(tmpf);
15836 cexpf(tmpf);
15837 clogf(tmpf);
15838 csinf(tmpf);
15839 csinhf(tmpf);
15840 csqrtf(tmpf);
15841 ctanf(tmpf);
15842 ctanhf(tmpf);
15843 cpowf(tmpf, tmpf);
15844 typedef __complex__ double double_type; double_type tmpd;
15845 cabs(tmpd);
15846 carg(tmpd);
15847 ccos(tmpd);
15848 ccosh(tmpd);
15849 cexp(tmpd);
15850 clog(tmpd);
15851 csin(tmpd);
15852 csinh(tmpd);
15853 csqrt(tmpd);
15854 ctan(tmpd);
15855 ctanh(tmpd);
15856 cpow(tmpd, tmpd);
15857 typedef __complex__ long double ld_type; ld_type tmpld;
15858 cabsl(tmpld);
15859 cargl(tmpld);
15860 ccosl(tmpld);
15861 ccoshl(tmpld);
15862 cexpl(tmpld);
15863 clogl(tmpld);
15864 csinl(tmpld);
15865 csinhl(tmpld);
15866 csqrtl(tmpld);
15867 ctanl(tmpld);
15868 ctanhl(tmpld);
15869 cpowl(tmpld, tmpld);
15872 return 0;
15874 _ACEOF
15875 rm -f conftest.$ac_objext
15876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15877 (eval $ac_compile) 2>conftest.er1
15878 ac_status=$?
15879 grep -v '^ *+' conftest.er1 >conftest.err
15880 rm -f conftest.er1
15881 cat conftest.err >&5
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); } &&
15884 { ac_try='test -z "$ac_cxx_werror_flag"
15885 || test ! -s conftest.err'
15886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15887 (eval $ac_try) 2>&5
15888 ac_status=$?
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); }; } &&
15891 { ac_try='test -s conftest.$ac_objext'
15892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15893 (eval $ac_try) 2>&5
15894 ac_status=$?
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); }; }; then
15897 ac_c99_complex=yes
15898 else
15899 echo "$as_me: failed program was:" >&5
15900 sed 's/^/| /' conftest.$ac_ext >&5
15902 ac_c99_complex=no
15904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15906 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
15907 echo "${ECHO_T}$ac_c99_complex" >&6
15908 if test x"$ac_c99_complex" = x"yes"; then
15910 cat >>confdefs.h <<\_ACEOF
15911 #define _GLIBCXX_USE_C99_COMPLEX 1
15912 _ACEOF
15916 # Check for the existence in <stdio.h> of vscanf, et. al.
15917 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
15918 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
15919 if test "${ac_c99_stdio+set}" = set; then
15920 echo $ECHO_N "(cached) $ECHO_C" >&6
15921 else
15923 cat >conftest.$ac_ext <<_ACEOF
15924 /* confdefs.h. */
15925 _ACEOF
15926 cat confdefs.h >>conftest.$ac_ext
15927 cat >>conftest.$ac_ext <<_ACEOF
15928 /* end confdefs.h. */
15929 #include <stdio.h>
15930 #include <stdarg.h>
15931 void foo(char* fmt, ...)
15933 va_list args; va_start(args, fmt);
15934 vfscanf(stderr, "%i", args);
15935 vscanf("%i", args);
15936 vsnprintf(fmt, 0, "%i", args);
15937 vsscanf(fmt, "%i", args);
15940 main ()
15942 snprintf("12", 0, "%i");
15944 return 0;
15946 _ACEOF
15947 rm -f conftest.$ac_objext
15948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15949 (eval $ac_compile) 2>conftest.er1
15950 ac_status=$?
15951 grep -v '^ *+' conftest.er1 >conftest.err
15952 rm -f conftest.er1
15953 cat conftest.err >&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); } &&
15956 { ac_try='test -z "$ac_cxx_werror_flag"
15957 || test ! -s conftest.err'
15958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15959 (eval $ac_try) 2>&5
15960 ac_status=$?
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); }; } &&
15963 { ac_try='test -s conftest.$ac_objext'
15964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15965 (eval $ac_try) 2>&5
15966 ac_status=$?
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); }; }; then
15969 ac_c99_stdio=yes
15970 else
15971 echo "$as_me: failed program was:" >&5
15972 sed 's/^/| /' conftest.$ac_ext >&5
15974 ac_c99_stdio=no
15976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15980 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
15981 echo "${ECHO_T}$ac_c99_stdio" >&6
15983 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
15984 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
15985 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
15986 if test "${ac_c99_stdlib+set}" = set; then
15987 echo $ECHO_N "(cached) $ECHO_C" >&6
15988 else
15990 cat >conftest.$ac_ext <<_ACEOF
15991 /* confdefs.h. */
15992 _ACEOF
15993 cat confdefs.h >>conftest.$ac_ext
15994 cat >>conftest.$ac_ext <<_ACEOF
15995 /* end confdefs.h. */
15996 #include <stdlib.h>
15998 main ()
16000 char* tmp;
16001 strtof("gnu", &tmp);
16002 strtold("gnu", &tmp);
16003 strtoll("gnu", &tmp, 10);
16004 strtoull("gnu", &tmp, 10);
16005 llabs(10);
16006 lldiv(10,1);
16007 atoll("10");
16008 _Exit(0);
16009 lldiv_t mydivt;
16011 return 0;
16013 _ACEOF
16014 rm -f conftest.$ac_objext
16015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16016 (eval $ac_compile) 2>conftest.er1
16017 ac_status=$?
16018 grep -v '^ *+' conftest.er1 >conftest.err
16019 rm -f conftest.er1
16020 cat conftest.err >&5
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); } &&
16023 { ac_try='test -z "$ac_cxx_werror_flag"
16024 || test ! -s conftest.err'
16025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16026 (eval $ac_try) 2>&5
16027 ac_status=$?
16028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16029 (exit $ac_status); }; } &&
16030 { ac_try='test -s conftest.$ac_objext'
16031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16032 (eval $ac_try) 2>&5
16033 ac_status=$?
16034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035 (exit $ac_status); }; }; then
16036 ac_c99_stdlib=yes
16037 else
16038 echo "$as_me: failed program was:" >&5
16039 sed 's/^/| /' conftest.$ac_ext >&5
16041 ac_c99_stdlib=no
16043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16047 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
16048 echo "${ECHO_T}$ac_c99_stdlib" >&6
16050 # Check for the existence in <wchar.h> of wcstold, etc.
16051 ac_c99_wchar=no;
16052 if test x"$ac_has_wchar_h" = xyes &&
16053 test x"$ac_has_wctype_h" = xyes; then
16054 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16055 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16056 cat >conftest.$ac_ext <<_ACEOF
16057 /* confdefs.h. */
16058 _ACEOF
16059 cat confdefs.h >>conftest.$ac_ext
16060 cat >>conftest.$ac_ext <<_ACEOF
16061 /* end confdefs.h. */
16062 #include <wchar.h>
16063 namespace test
16065 using ::wcstold;
16066 using ::wcstoll;
16067 using ::wcstoull;
16071 main ()
16075 return 0;
16077 _ACEOF
16078 rm -f conftest.$ac_objext
16079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16080 (eval $ac_compile) 2>conftest.er1
16081 ac_status=$?
16082 grep -v '^ *+' conftest.er1 >conftest.err
16083 rm -f conftest.er1
16084 cat conftest.err >&5
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); } &&
16087 { ac_try='test -z "$ac_cxx_werror_flag"
16088 || test ! -s conftest.err'
16089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16090 (eval $ac_try) 2>&5
16091 ac_status=$?
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); }; } &&
16094 { ac_try='test -s conftest.$ac_objext'
16095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16096 (eval $ac_try) 2>&5
16097 ac_status=$?
16098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099 (exit $ac_status); }; }; then
16100 ac_c99_wchar=yes
16101 else
16102 echo "$as_me: failed program was:" >&5
16103 sed 's/^/| /' conftest.$ac_ext >&5
16105 ac_c99_wchar=no
16107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16109 # Checks for wide character functions that may not be present.
16110 # Injection of these is wrapped with guard macros.
16111 # NB: only put functions here, instead of immediately above, if
16112 # absolutely necessary.
16113 cat >conftest.$ac_ext <<_ACEOF
16114 /* confdefs.h. */
16115 _ACEOF
16116 cat confdefs.h >>conftest.$ac_ext
16117 cat >>conftest.$ac_ext <<_ACEOF
16118 /* end confdefs.h. */
16119 #include <wchar.h>
16120 namespace test { using ::vfwscanf; }
16122 main ()
16126 return 0;
16128 _ACEOF
16129 rm -f conftest.$ac_objext
16130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16131 (eval $ac_compile) 2>conftest.er1
16132 ac_status=$?
16133 grep -v '^ *+' conftest.er1 >conftest.err
16134 rm -f conftest.er1
16135 cat conftest.err >&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); } &&
16138 { ac_try='test -z "$ac_cxx_werror_flag"
16139 || test ! -s conftest.err'
16140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16141 (eval $ac_try) 2>&5
16142 ac_status=$?
16143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16144 (exit $ac_status); }; } &&
16145 { ac_try='test -s conftest.$ac_objext'
16146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16147 (eval $ac_try) 2>&5
16148 ac_status=$?
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); }; }; then
16152 cat >>confdefs.h <<\_ACEOF
16153 #define HAVE_VFWSCANF 1
16154 _ACEOF
16156 else
16157 echo "$as_me: failed program was:" >&5
16158 sed 's/^/| /' conftest.$ac_ext >&5
16161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16163 cat >conftest.$ac_ext <<_ACEOF
16164 /* confdefs.h. */
16165 _ACEOF
16166 cat confdefs.h >>conftest.$ac_ext
16167 cat >>conftest.$ac_ext <<_ACEOF
16168 /* end confdefs.h. */
16169 #include <wchar.h>
16170 namespace test { using ::vswscanf; }
16172 main ()
16176 return 0;
16178 _ACEOF
16179 rm -f conftest.$ac_objext
16180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16181 (eval $ac_compile) 2>conftest.er1
16182 ac_status=$?
16183 grep -v '^ *+' conftest.er1 >conftest.err
16184 rm -f conftest.er1
16185 cat conftest.err >&5
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); } &&
16188 { ac_try='test -z "$ac_cxx_werror_flag"
16189 || test ! -s conftest.err'
16190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16191 (eval $ac_try) 2>&5
16192 ac_status=$?
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); }; } &&
16195 { ac_try='test -s conftest.$ac_objext'
16196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16197 (eval $ac_try) 2>&5
16198 ac_status=$?
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); }; }; then
16202 cat >>confdefs.h <<\_ACEOF
16203 #define HAVE_VSWSCANF 1
16204 _ACEOF
16206 else
16207 echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.$ac_ext >&5
16211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16213 cat >conftest.$ac_ext <<_ACEOF
16214 /* confdefs.h. */
16215 _ACEOF
16216 cat confdefs.h >>conftest.$ac_ext
16217 cat >>conftest.$ac_ext <<_ACEOF
16218 /* end confdefs.h. */
16219 #include <wchar.h>
16220 namespace test { using ::vwscanf; }
16222 main ()
16226 return 0;
16228 _ACEOF
16229 rm -f conftest.$ac_objext
16230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16231 (eval $ac_compile) 2>conftest.er1
16232 ac_status=$?
16233 grep -v '^ *+' conftest.er1 >conftest.err
16234 rm -f conftest.er1
16235 cat conftest.err >&5
16236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237 (exit $ac_status); } &&
16238 { ac_try='test -z "$ac_cxx_werror_flag"
16239 || test ! -s conftest.err'
16240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16241 (eval $ac_try) 2>&5
16242 ac_status=$?
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); }; } &&
16245 { ac_try='test -s conftest.$ac_objext'
16246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16247 (eval $ac_try) 2>&5
16248 ac_status=$?
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); }; }; then
16252 cat >>confdefs.h <<\_ACEOF
16253 #define HAVE_VWSCANF 1
16254 _ACEOF
16256 else
16257 echo "$as_me: failed program was:" >&5
16258 sed 's/^/| /' conftest.$ac_ext >&5
16261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16263 cat >conftest.$ac_ext <<_ACEOF
16264 /* confdefs.h. */
16265 _ACEOF
16266 cat confdefs.h >>conftest.$ac_ext
16267 cat >>conftest.$ac_ext <<_ACEOF
16268 /* end confdefs.h. */
16269 #include <wchar.h>
16270 namespace test { using ::wcstof; }
16272 main ()
16276 return 0;
16278 _ACEOF
16279 rm -f conftest.$ac_objext
16280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16281 (eval $ac_compile) 2>conftest.er1
16282 ac_status=$?
16283 grep -v '^ *+' conftest.er1 >conftest.err
16284 rm -f conftest.er1
16285 cat conftest.err >&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); } &&
16288 { ac_try='test -z "$ac_cxx_werror_flag"
16289 || test ! -s conftest.err'
16290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16291 (eval $ac_try) 2>&5
16292 ac_status=$?
16293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); }; } &&
16295 { ac_try='test -s conftest.$ac_objext'
16296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16297 (eval $ac_try) 2>&5
16298 ac_status=$?
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); }; }; then
16302 cat >>confdefs.h <<\_ACEOF
16303 #define HAVE_WCSTOF 1
16304 _ACEOF
16306 else
16307 echo "$as_me: failed program was:" >&5
16308 sed 's/^/| /' conftest.$ac_ext >&5
16311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16313 cat >conftest.$ac_ext <<_ACEOF
16314 /* confdefs.h. */
16315 _ACEOF
16316 cat confdefs.h >>conftest.$ac_ext
16317 cat >>conftest.$ac_ext <<_ACEOF
16318 /* end confdefs.h. */
16319 #include <wctype.h>
16321 main ()
16323 wint_t t; int i = iswblank(t);
16325 return 0;
16327 _ACEOF
16328 rm -f conftest.$ac_objext
16329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16330 (eval $ac_compile) 2>conftest.er1
16331 ac_status=$?
16332 grep -v '^ *+' conftest.er1 >conftest.err
16333 rm -f conftest.er1
16334 cat conftest.err >&5
16335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16336 (exit $ac_status); } &&
16337 { ac_try='test -z "$ac_cxx_werror_flag"
16338 || test ! -s conftest.err'
16339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16340 (eval $ac_try) 2>&5
16341 ac_status=$?
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); }; } &&
16344 { ac_try='test -s conftest.$ac_objext'
16345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16346 (eval $ac_try) 2>&5
16347 ac_status=$?
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); }; }; then
16351 cat >>confdefs.h <<\_ACEOF
16352 #define HAVE_ISWBLANK 1
16353 _ACEOF
16355 else
16356 echo "$as_me: failed program was:" >&5
16357 sed 's/^/| /' conftest.$ac_ext >&5
16360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16362 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
16363 echo "${ECHO_T}$ac_c99_wchar" >&6
16366 # Option parsed, now set things appropriately.
16367 if test x"$ac_c99_math" = x"no" ||
16368 test x"$ac_c99_complex" = x"no" ||
16369 test x"$ac_c99_stdio" = x"no" ||
16370 test x"$ac_c99_stdlib" = x"no" ||
16371 test x"$ac_c99_wchar" = x"no"; then
16372 enable_c99=no;
16373 else
16375 cat >>confdefs.h <<\_ACEOF
16376 #define _GLIBCXX_USE_C99 1
16377 _ACEOF
16381 ac_ext=c
16382 ac_cpp='$CPP $CPPFLAGS'
16383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16389 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
16390 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
16391 echo "$as_me:$LINENO: result: $enable_c99" >&5
16392 echo "${ECHO_T}$enable_c99" >&6
16395 # Check whether --enable-concept-checks or --disable-concept-checks was given.
16396 if test "${enable_concept_checks+set}" = set; then
16397 enableval="$enable_concept_checks"
16399 case "$enableval" in
16400 yes|no) ;;
16401 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
16402 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
16403 { (exit 1); exit 1; }; } ;;
16404 esac
16406 else
16407 enable_concept_checks=no
16410 if test $enable_concept_checks = yes; then
16412 cat >>confdefs.h <<\_ACEOF
16413 #define _GLIBCXX_CONCEPT_CHECKS 1
16414 _ACEOF
16419 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
16420 if test "${enable_libstdcxx_debug_flags+set}" = set; then
16421 enableval="$enable_libstdcxx_debug_flags"
16422 case "x$enable_libstdcxx_debug_flags" in
16423 xno | x) enable_libstdcxx_debug_flags= ;;
16424 x-*) ;;
16425 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
16426 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
16427 { (exit 1); exit 1; }; } ;;
16428 esac
16429 else
16430 enable_libstdcxx_debug_flags="-g3 -O0"
16434 # Option parsed, now set things appropriately
16435 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16438 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
16439 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16442 echo "$as_me:$LINENO: checking for additional debug build" >&5
16443 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
16444 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
16445 if test "${enable_libstdcxx_debug+set}" = set; then
16446 enableval="$enable_libstdcxx_debug"
16448 case "$enableval" in
16449 yes|no) ;;
16450 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
16451 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
16452 { (exit 1); exit 1; }; } ;;
16453 esac
16455 else
16456 enable_libstdcxx_debug=no
16459 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
16460 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
16463 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
16464 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
16465 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
16466 if test "${enable_cxx_flags+set}" = set; then
16467 enableval="$enable_cxx_flags"
16468 case "x$enable_cxx_flags" in
16469 xno | x) enable_cxx_flags= ;;
16470 x-*) ;;
16471 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
16472 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
16473 { (exit 1); exit 1; }; } ;;
16474 esac
16475 else
16476 enable_cxx_flags=
16480 # Run through flags (either default or command-line) and set anything
16481 # extra (e.g., #defines) that must accompany particular g++ options.
16482 if test -n "$enable_cxx_flags"; then
16483 for f in $enable_cxx_flags; do
16484 case "$f" in
16485 -fhonor-std) ;;
16486 -*) ;;
16487 *) # and we're trying to pass /what/ exactly?
16488 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
16489 echo "$as_me: error: compiler flags start with a -" >&2;}
16490 { (exit 1); exit 1; }; } ;;
16491 esac
16492 done
16495 EXTRA_CXX_FLAGS="$enable_cxx_flags"
16496 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
16497 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
16501 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
16502 if test "${enable_fully_dynamic_string+set}" = set; then
16503 enableval="$enable_fully_dynamic_string"
16505 case "$enableval" in
16506 yes|no) ;;
16507 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
16508 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
16509 { (exit 1); exit 1; }; } ;;
16510 esac
16512 else
16513 enable_fully_dynamic_string=no
16516 if test $enable_fully_dynamic_string = yes; then
16518 cat >>confdefs.h <<\_ACEOF
16519 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
16520 _ACEOF
16525 # No surprises, no surprises...
16527 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
16528 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
16529 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
16530 echo "$as_me:$LINENO: result: $target_thread_file" >&5
16531 echo "${ECHO_T}$target_thread_file" >&6
16533 if test $target_thread_file != single; then
16535 cat >>confdefs.h <<\_ACEOF
16536 #define HAVE_GTHR_DEFAULT 1
16537 _ACEOF
16541 glibcxx_thread_h=gthr-$target_thread_file.h
16543 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
16544 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
16545 enable_thread=yes
16546 else
16547 enable_thread=no
16553 echo "$as_me:$LINENO: checking for atomic builtins" >&5
16554 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
16557 ac_ext=cc
16558 ac_cpp='$CXXCPP $CPPFLAGS'
16559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16564 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
16565 cat > conftest.$ac_ext << EOF
16566 #line 16566 "configure"
16567 int main()
16569 // NB: _Atomic_word not necessarily int.
16570 typedef int atomic_type;
16571 atomic_type c1;
16572 atomic_type c2;
16573 const atomic_type c3(0);
16574 if (__sync_fetch_and_add(&c1, c2) == c3)
16576 // Do something.
16578 return 0;
16581 old_CXXFLAGS="$CXXFLAGS"
16582 CXXFLAGS=-S
16583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16584 (eval $ac_compile) 2>&5
16585 ac_status=$?
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); }; then
16588 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
16589 enable_atomic_builtins=no
16590 else
16592 cat >>confdefs.h <<\_ACEOF
16593 #define _GLIBCXX_ATOMIC_BUILTINS 1
16594 _ACEOF
16596 enable_atomic_builtins=yes
16597 atomicity_dir=cpu/generic/atomicity_builtins
16600 CXXFLAGS="$old_CXXFLAGS"
16601 rm -f conftest*
16603 # Now, if still generic, set to mutex.
16604 if test $atomicity_dir = "cpu/generic" ; then
16605 atomicity_dir=cpu/generic/atomicity_mutex
16607 ac_ext=c
16608 ac_cpp='$CPP $CPPFLAGS'
16609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16613 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
16614 echo "${ECHO_T}$enable_atomic_builtins" >&6
16616 if test $atomicity_dir = cpu/generic/atomic_mutex ; then
16617 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
16618 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16619 if test $target_thread_file = single; then
16620 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
16621 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16622 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16623 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16624 else
16625 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
16626 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16627 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
16628 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16633 # All these tests are for C++; save the language and the compiler flags.
16634 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16635 # found in GLIBCXX_CONFIGURE.
16638 ac_ext=cc
16639 ac_cpp='$CXXCPP $CPPFLAGS'
16640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16644 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16645 ac_save_CXXFLAGS="$CXXFLAGS"
16647 # Check for maintainer-mode bits.
16648 if test x"$USE_MAINTAINER_MODE" = xno; then
16649 WERROR=''
16650 else
16651 WERROR='-Werror'
16654 # Check for -ffunction-sections -fdata-sections
16655 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16656 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
16657 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16658 cat >conftest.$ac_ext <<_ACEOF
16659 /* confdefs.h. */
16660 _ACEOF
16661 cat confdefs.h >>conftest.$ac_ext
16662 cat >>conftest.$ac_ext <<_ACEOF
16663 /* end confdefs.h. */
16664 int foo; void bar() { };
16666 main ()
16670 return 0;
16672 _ACEOF
16673 rm -f conftest.$ac_objext
16674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16675 (eval $ac_compile) 2>conftest.er1
16676 ac_status=$?
16677 grep -v '^ *+' conftest.er1 >conftest.err
16678 rm -f conftest.er1
16679 cat conftest.err >&5
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); } &&
16682 { ac_try='test -z "$ac_cxx_werror_flag"
16683 || test ! -s conftest.err'
16684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16685 (eval $ac_try) 2>&5
16686 ac_status=$?
16687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688 (exit $ac_status); }; } &&
16689 { ac_try='test -s conftest.$ac_objext'
16690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16691 (eval $ac_try) 2>&5
16692 ac_status=$?
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); }; }; then
16695 ac_fdsections=yes
16696 else
16697 echo "$as_me: failed program was:" >&5
16698 sed 's/^/| /' conftest.$ac_ext >&5
16700 ac_fdsections=no
16702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16703 if test "$ac_test_CXXFLAGS" = set; then
16704 CXXFLAGS="$ac_save_CXXFLAGS"
16705 else
16706 # this is the suspicious part
16707 CXXFLAGS=''
16709 if test x"$ac_fdsections" = x"yes"; then
16710 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16712 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
16713 echo "${ECHO_T}$ac_fdsections" >&6
16715 ac_ext=c
16716 ac_cpp='$CPP $CPPFLAGS'
16717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16725 if $GLIBCXX_IS_NATIVE; then
16727 # We can do more elaborate tests that assume a working linker.
16728 CANADIAN=no
16730 # Check for available headers.
16746 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
16747 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
16748 sys/types.h sys/ipc.h sys/sem.h
16750 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16752 echo "$as_me:$LINENO: checking for $ac_header" >&5
16753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16755 echo $ECHO_N "(cached) $ECHO_C" >&6
16757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16759 else
16760 # Is the header compilable?
16761 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16762 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16763 cat >conftest.$ac_ext <<_ACEOF
16764 /* confdefs.h. */
16765 _ACEOF
16766 cat confdefs.h >>conftest.$ac_ext
16767 cat >>conftest.$ac_ext <<_ACEOF
16768 /* end confdefs.h. */
16769 $ac_includes_default
16770 #include <$ac_header>
16771 _ACEOF
16772 rm -f conftest.$ac_objext
16773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16774 (eval $ac_compile) 2>conftest.er1
16775 ac_status=$?
16776 grep -v '^ *+' conftest.er1 >conftest.err
16777 rm -f conftest.er1
16778 cat conftest.err >&5
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); } &&
16781 { ac_try='test -z "$ac_c_werror_flag"
16782 || test ! -s conftest.err'
16783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16784 (eval $ac_try) 2>&5
16785 ac_status=$?
16786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16787 (exit $ac_status); }; } &&
16788 { ac_try='test -s conftest.$ac_objext'
16789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16790 (eval $ac_try) 2>&5
16791 ac_status=$?
16792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16793 (exit $ac_status); }; }; then
16794 ac_header_compiler=yes
16795 else
16796 echo "$as_me: failed program was:" >&5
16797 sed 's/^/| /' conftest.$ac_ext >&5
16799 ac_header_compiler=no
16801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16803 echo "${ECHO_T}$ac_header_compiler" >&6
16805 # Is the header present?
16806 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16807 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16808 cat >conftest.$ac_ext <<_ACEOF
16809 /* confdefs.h. */
16810 _ACEOF
16811 cat confdefs.h >>conftest.$ac_ext
16812 cat >>conftest.$ac_ext <<_ACEOF
16813 /* end confdefs.h. */
16814 #include <$ac_header>
16815 _ACEOF
16816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16817 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16818 ac_status=$?
16819 grep -v '^ *+' conftest.er1 >conftest.err
16820 rm -f conftest.er1
16821 cat conftest.err >&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); } >/dev/null; then
16824 if test -s conftest.err; then
16825 ac_cpp_err=$ac_c_preproc_warn_flag
16826 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16827 else
16828 ac_cpp_err=
16830 else
16831 ac_cpp_err=yes
16833 if test -z "$ac_cpp_err"; then
16834 ac_header_preproc=yes
16835 else
16836 echo "$as_me: failed program was:" >&5
16837 sed 's/^/| /' conftest.$ac_ext >&5
16839 ac_header_preproc=no
16841 rm -f conftest.err conftest.$ac_ext
16842 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16843 echo "${ECHO_T}$ac_header_preproc" >&6
16845 # So? What about this header?
16846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16847 yes:no: )
16848 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16849 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16851 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16852 ac_header_preproc=yes
16854 no:yes:* )
16855 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16856 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16857 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16858 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16859 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16860 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16861 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16862 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16863 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16864 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16865 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16866 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16868 cat <<\_ASBOX
16869 ## ----------------------------------------- ##
16870 ## Report this to the package-unused lists. ##
16871 ## ----------------------------------------- ##
16872 _ASBOX
16874 sed "s/^/$as_me: WARNING: /" >&2
16876 esac
16877 echo "$as_me:$LINENO: checking for $ac_header" >&5
16878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16880 echo $ECHO_N "(cached) $ECHO_C" >&6
16881 else
16882 eval "$as_ac_Header=\$ac_header_preproc"
16884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16888 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16889 cat >>confdefs.h <<_ACEOF
16890 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16891 _ACEOF
16895 done
16900 # Check whether --with-gnu-ld or --without-gnu-ld was given.
16901 if test "${with_gnu_ld+set}" = set; then
16902 withval="$with_gnu_ld"
16903 test "$withval" = no || with_gnu_ld=yes
16904 else
16905 with_gnu_ld=no
16907 ac_prog=ld
16908 if test "$GCC" = yes; then
16909 # Check if gcc -print-prog-name=ld gives a path.
16910 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
16911 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
16912 case $host in
16913 *-*-mingw*)
16914 # gcc leaves a trailing carriage return which upsets mingw
16915 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16917 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16918 esac
16919 case $ac_prog in
16920 # Accept absolute paths.
16921 [\\/]* | ?:[\\/]*)
16922 re_direlt='/[^/][^/]*/\.\./'
16923 # Canonicalize the pathname of ld
16924 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
16925 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
16926 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
16927 done
16928 test -z "$LD" && LD="$ac_prog"
16931 # If it fails, then pretend we aren't using GCC.
16932 ac_prog=ld
16935 # If it is relative, then search for the first ld in PATH.
16936 with_gnu_ld=unknown
16938 esac
16939 elif test "$with_gnu_ld" = yes; then
16940 echo "$as_me:$LINENO: checking for GNU ld" >&5
16941 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
16942 else
16943 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
16944 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
16946 if test "${lt_cv_path_LD+set}" = set; then
16947 echo $ECHO_N "(cached) $ECHO_C" >&6
16948 else
16949 if test -z "$LD"; then
16950 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16951 for ac_dir in $PATH; do
16952 IFS="$lt_save_ifs"
16953 test -z "$ac_dir" && ac_dir=.
16954 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16955 lt_cv_path_LD="$ac_dir/$ac_prog"
16956 # Check to see if the program is GNU ld. I'd rather use --version,
16957 # but apparently some variants of GNU ld only accept -v.
16958 # Break only if it was the GNU/non-GNU ld that we prefer.
16959 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16960 *GNU* | *'with BFD'*)
16961 test "$with_gnu_ld" != no && break
16964 test "$with_gnu_ld" != yes && break
16966 esac
16968 done
16969 IFS="$lt_save_ifs"
16970 else
16971 lt_cv_path_LD="$LD" # Let the user override the test with a path.
16975 LD="$lt_cv_path_LD"
16976 if test -n "$LD"; then
16977 echo "$as_me:$LINENO: result: $LD" >&5
16978 echo "${ECHO_T}$LD" >&6
16979 else
16980 echo "$as_me:$LINENO: result: no" >&5
16981 echo "${ECHO_T}no" >&6
16983 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
16984 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
16985 { (exit 1); exit 1; }; }
16986 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
16987 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
16988 if test "${lt_cv_prog_gnu_ld+set}" = set; then
16989 echo $ECHO_N "(cached) $ECHO_C" >&6
16990 else
16991 # I'd rather use --version here, but apparently some GNU lds only accept -v.
16992 case `$LD -v 2>&1 </dev/null` in
16993 *GNU* | *'with BFD'*)
16994 lt_cv_prog_gnu_ld=yes
16997 lt_cv_prog_gnu_ld=no
16999 esac
17001 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
17002 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
17003 with_gnu_ld=$lt_cv_prog_gnu_ld
17011 # If we're not using GNU ld, then there's no point in even trying these
17012 # tests. Check for that first. We should have already tested for gld
17013 # by now (in libtool), but require it now just to be safe...
17014 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
17015 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
17019 # The name set by libtool depends on the version of libtool. Shame on us
17020 # for depending on an impl detail, but c'est la vie. Older versions used
17021 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
17022 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
17023 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
17024 # set (hence we're using an older libtool), then set it.
17025 if test x${with_gnu_ld+set} != xset; then
17026 if test x${ac_cv_prog_gnu_ld+set} != xset; then
17027 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
17028 with_gnu_ld=no
17029 else
17030 with_gnu_ld=$ac_cv_prog_gnu_ld
17034 # Start by getting the version number. I think the libtool test already
17035 # does some of this, but throws away the result.
17036 if test x"$with_gnu_ld" = x"yes"; then
17037 echo "$as_me:$LINENO: checking for ld version" >&5
17038 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
17040 ldver=`$LD --version 2>/dev/null | head -1 | \
17041 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
17043 glibcxx_gnu_ld_version=`echo $ldver | \
17044 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
17045 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
17046 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
17049 # Set --gc-sections.
17050 glibcxx_gcsections_min_ld=21602
17051 if test x"$with_gnu_ld" = x"yes" &&
17052 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
17054 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
17055 # NB: This flag only works reliably after 2.16.1. Configure tests
17056 # for this are difficult, so hard wire a value that should work.
17058 ac_test_CFLAGS="${CFLAGS+set}"
17059 ac_save_CFLAGS="$CFLAGS"
17060 CFLAGS='-Wl,--gc-sections'
17062 # Check for -Wl,--gc-sections
17063 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
17064 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
17065 if test x$gcc_no_link = xyes; then
17066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17068 { (exit 1); exit 1; }; }
17070 cat >conftest.$ac_ext <<_ACEOF
17071 /* confdefs.h. */
17072 _ACEOF
17073 cat confdefs.h >>conftest.$ac_ext
17074 cat >>conftest.$ac_ext <<_ACEOF
17075 /* end confdefs.h. */
17076 int one(void) { return 1; }
17077 int two(void) { return 2; }
17080 main ()
17082 two();
17084 return 0;
17086 _ACEOF
17087 rm -f conftest.$ac_objext conftest$ac_exeext
17088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17089 (eval $ac_link) 2>conftest.er1
17090 ac_status=$?
17091 grep -v '^ *+' conftest.er1 >conftest.err
17092 rm -f conftest.er1
17093 cat conftest.err >&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); } &&
17096 { ac_try='test -z "$ac_c_werror_flag"
17097 || test ! -s conftest.err'
17098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17099 (eval $ac_try) 2>&5
17100 ac_status=$?
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); }; } &&
17103 { ac_try='test -s conftest$ac_exeext'
17104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17105 (eval $ac_try) 2>&5
17106 ac_status=$?
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); }; }; then
17109 ac_gcsections=yes
17110 else
17111 echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.$ac_ext >&5
17114 ac_gcsections=no
17116 rm -f conftest.err conftest.$ac_objext \
17117 conftest$ac_exeext conftest.$ac_ext
17118 if test "$ac_gcsections" = "yes"; then
17119 rm -f conftest.c
17120 touch conftest.c
17121 if $CC -c conftest.c; then
17122 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
17123 grep "Warning: gc-sections option ignored" > /dev/null; then
17124 ac_gcsections=no
17127 rm -f conftest.c conftest.o conftest
17129 if test "$ac_gcsections" = "yes"; then
17130 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
17132 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
17133 echo "${ECHO_T}$ac_gcsections" >&6
17135 if test "$ac_test_CFLAGS" = set; then
17136 CFLAGS="$ac_save_CFLAGS"
17137 else
17138 # this is the suspicious part
17139 CFLAGS=''
17143 # Set -z,relro.
17144 # Note this is only for shared objects.
17145 ac_ld_relro=no
17146 if test x"$with_gnu_ld" = x"yes"; then
17147 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
17148 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
17149 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
17150 if test -n "$cxx_z_relo"; then
17151 OPT_LDFLAGS="-Wl,-z,relro"
17152 ac_ld_relro=yes
17154 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
17155 echo "${ECHO_T}$ac_ld_relro" >&6
17158 # Set linker optimization flags.
17159 if test x"$with_gnu_ld" = x"yes"; then
17160 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
17167 ac_test_CXXFLAGS="${CXXFLAGS+set}"
17168 ac_save_CXXFLAGS="$CXXFLAGS"
17169 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
17171 echo "$as_me:$LINENO: checking for sin in -lm" >&5
17172 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
17173 if test "${ac_cv_lib_m_sin+set}" = set; then
17174 echo $ECHO_N "(cached) $ECHO_C" >&6
17175 else
17176 ac_check_lib_save_LIBS=$LIBS
17177 LIBS="-lm $LIBS"
17178 if test x$gcc_no_link = xyes; then
17179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17181 { (exit 1); exit 1; }; }
17183 cat >conftest.$ac_ext <<_ACEOF
17184 /* confdefs.h. */
17185 _ACEOF
17186 cat confdefs.h >>conftest.$ac_ext
17187 cat >>conftest.$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17190 /* Override any gcc2 internal prototype to avoid an error. */
17191 #ifdef __cplusplus
17192 extern "C"
17193 #endif
17194 /* We use char because int might match the return type of a gcc2
17195 builtin and then its argument prototype would still apply. */
17196 char sin ();
17198 main ()
17200 sin ();
17202 return 0;
17204 _ACEOF
17205 rm -f conftest.$ac_objext conftest$ac_exeext
17206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17207 (eval $ac_link) 2>conftest.er1
17208 ac_status=$?
17209 grep -v '^ *+' conftest.er1 >conftest.err
17210 rm -f conftest.er1
17211 cat conftest.err >&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); } &&
17214 { ac_try='test -z "$ac_c_werror_flag"
17215 || test ! -s conftest.err'
17216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17217 (eval $ac_try) 2>&5
17218 ac_status=$?
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); }; } &&
17221 { ac_try='test -s conftest$ac_exeext'
17222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17223 (eval $ac_try) 2>&5
17224 ac_status=$?
17225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17226 (exit $ac_status); }; }; then
17227 ac_cv_lib_m_sin=yes
17228 else
17229 echo "$as_me: failed program was:" >&5
17230 sed 's/^/| /' conftest.$ac_ext >&5
17232 ac_cv_lib_m_sin=no
17234 rm -f conftest.err conftest.$ac_objext \
17235 conftest$ac_exeext conftest.$ac_ext
17236 LIBS=$ac_check_lib_save_LIBS
17238 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
17239 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
17240 if test $ac_cv_lib_m_sin = yes; then
17241 libm="-lm"
17244 ac_save_LIBS="$LIBS"
17245 LIBS="$LIBS $libm"
17249 echo "$as_me:$LINENO: checking for isinf declaration" >&5
17250 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
17251 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
17252 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
17253 echo $ECHO_N "(cached) $ECHO_C" >&6
17254 else
17258 ac_ext=cc
17259 ac_cpp='$CXXCPP $CPPFLAGS'
17260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17264 cat >conftest.$ac_ext <<_ACEOF
17265 /* confdefs.h. */
17266 _ACEOF
17267 cat confdefs.h >>conftest.$ac_ext
17268 cat >>conftest.$ac_ext <<_ACEOF
17269 /* end confdefs.h. */
17270 #include <math.h>
17271 #ifdef HAVE_IEEEFP_H
17272 #include <ieeefp.h>
17273 #endif
17276 main ()
17278 isinf(0);
17280 return 0;
17282 _ACEOF
17283 rm -f conftest.$ac_objext
17284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17285 (eval $ac_compile) 2>conftest.er1
17286 ac_status=$?
17287 grep -v '^ *+' conftest.er1 >conftest.err
17288 rm -f conftest.er1
17289 cat conftest.err >&5
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); } &&
17292 { ac_try='test -z "$ac_cxx_werror_flag"
17293 || test ! -s conftest.err'
17294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17295 (eval $ac_try) 2>&5
17296 ac_status=$?
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); }; } &&
17299 { ac_try='test -s conftest.$ac_objext'
17300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17301 (eval $ac_try) 2>&5
17302 ac_status=$?
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); }; }; then
17305 glibcxx_cv_func_isinf_use=yes
17306 else
17307 echo "$as_me: failed program was:" >&5
17308 sed 's/^/| /' conftest.$ac_ext >&5
17310 glibcxx_cv_func_isinf_use=no
17312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17313 ac_ext=c
17314 ac_cpp='$CPP $CPPFLAGS'
17315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17323 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
17324 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
17326 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
17328 for ac_func in isinf
17330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17331 echo "$as_me:$LINENO: checking for $ac_func" >&5
17332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17333 if eval "test \"\${$as_ac_var+set}\" = set"; then
17334 echo $ECHO_N "(cached) $ECHO_C" >&6
17335 else
17336 if test x$gcc_no_link = xyes; then
17337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17339 { (exit 1); exit 1; }; }
17341 cat >conftest.$ac_ext <<_ACEOF
17342 /* confdefs.h. */
17343 _ACEOF
17344 cat confdefs.h >>conftest.$ac_ext
17345 cat >>conftest.$ac_ext <<_ACEOF
17346 /* end confdefs.h. */
17347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17349 #define $ac_func innocuous_$ac_func
17351 /* System header to define __stub macros and hopefully few prototypes,
17352 which can conflict with char $ac_func (); below.
17353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17354 <limits.h> exists even on freestanding compilers. */
17356 #ifdef __STDC__
17357 # include <limits.h>
17358 #else
17359 # include <assert.h>
17360 #endif
17362 #undef $ac_func
17364 /* Override any gcc2 internal prototype to avoid an error. */
17365 #ifdef __cplusplus
17366 extern "C"
17368 #endif
17369 /* We use char because int might match the return type of a gcc2
17370 builtin and then its argument prototype would still apply. */
17371 char $ac_func ();
17372 /* The GNU C library defines this for functions which it implements
17373 to always fail with ENOSYS. Some functions are actually named
17374 something starting with __ and the normal name is an alias. */
17375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17376 choke me
17377 #else
17378 char (*f) () = $ac_func;
17379 #endif
17380 #ifdef __cplusplus
17382 #endif
17385 main ()
17387 return f != $ac_func;
17389 return 0;
17391 _ACEOF
17392 rm -f conftest.$ac_objext conftest$ac_exeext
17393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17394 (eval $ac_link) 2>conftest.er1
17395 ac_status=$?
17396 grep -v '^ *+' conftest.er1 >conftest.err
17397 rm -f conftest.er1
17398 cat conftest.err >&5
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); } &&
17401 { ac_try='test -z "$ac_c_werror_flag"
17402 || test ! -s conftest.err'
17403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17404 (eval $ac_try) 2>&5
17405 ac_status=$?
17406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17407 (exit $ac_status); }; } &&
17408 { ac_try='test -s conftest$ac_exeext'
17409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17410 (eval $ac_try) 2>&5
17411 ac_status=$?
17412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17413 (exit $ac_status); }; }; then
17414 eval "$as_ac_var=yes"
17415 else
17416 echo "$as_me: failed program was:" >&5
17417 sed 's/^/| /' conftest.$ac_ext >&5
17419 eval "$as_ac_var=no"
17421 rm -f conftest.err conftest.$ac_objext \
17422 conftest$ac_exeext conftest.$ac_ext
17424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17426 if test `eval echo '${'$as_ac_var'}'` = yes; then
17427 cat >>confdefs.h <<_ACEOF
17428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17429 _ACEOF
17432 done
17434 else
17436 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
17437 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
17438 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
17439 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
17440 echo $ECHO_N "(cached) $ECHO_C" >&6
17441 else
17445 ac_ext=cc
17446 ac_cpp='$CXXCPP $CPPFLAGS'
17447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17451 cat >conftest.$ac_ext <<_ACEOF
17452 /* confdefs.h. */
17453 _ACEOF
17454 cat confdefs.h >>conftest.$ac_ext
17455 cat >>conftest.$ac_ext <<_ACEOF
17456 /* end confdefs.h. */
17457 #include <math.h>
17458 #ifdef HAVE_IEEEFP_H
17459 #include <ieeefp.h>
17460 #endif
17463 main ()
17465 _isinf(0);
17467 return 0;
17469 _ACEOF
17470 rm -f conftest.$ac_objext
17471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17472 (eval $ac_compile) 2>conftest.er1
17473 ac_status=$?
17474 grep -v '^ *+' conftest.er1 >conftest.err
17475 rm -f conftest.er1
17476 cat conftest.err >&5
17477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 (exit $ac_status); } &&
17479 { ac_try='test -z "$ac_cxx_werror_flag"
17480 || test ! -s conftest.err'
17481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17482 (eval $ac_try) 2>&5
17483 ac_status=$?
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); }; } &&
17486 { ac_try='test -s conftest.$ac_objext'
17487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17488 (eval $ac_try) 2>&5
17489 ac_status=$?
17490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17491 (exit $ac_status); }; }; then
17492 glibcxx_cv_func__isinf_use=yes
17493 else
17494 echo "$as_me: failed program was:" >&5
17495 sed 's/^/| /' conftest.$ac_ext >&5
17497 glibcxx_cv_func__isinf_use=no
17499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17500 ac_ext=c
17501 ac_cpp='$CPP $CPPFLAGS'
17502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17510 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
17511 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
17513 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
17515 for ac_func in _isinf
17517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17518 echo "$as_me:$LINENO: checking for $ac_func" >&5
17519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17520 if eval "test \"\${$as_ac_var+set}\" = set"; then
17521 echo $ECHO_N "(cached) $ECHO_C" >&6
17522 else
17523 if test x$gcc_no_link = xyes; then
17524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17526 { (exit 1); exit 1; }; }
17528 cat >conftest.$ac_ext <<_ACEOF
17529 /* confdefs.h. */
17530 _ACEOF
17531 cat confdefs.h >>conftest.$ac_ext
17532 cat >>conftest.$ac_ext <<_ACEOF
17533 /* end confdefs.h. */
17534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17536 #define $ac_func innocuous_$ac_func
17538 /* System header to define __stub macros and hopefully few prototypes,
17539 which can conflict with char $ac_func (); below.
17540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17541 <limits.h> exists even on freestanding compilers. */
17543 #ifdef __STDC__
17544 # include <limits.h>
17545 #else
17546 # include <assert.h>
17547 #endif
17549 #undef $ac_func
17551 /* Override any gcc2 internal prototype to avoid an error. */
17552 #ifdef __cplusplus
17553 extern "C"
17555 #endif
17556 /* We use char because int might match the return type of a gcc2
17557 builtin and then its argument prototype would still apply. */
17558 char $ac_func ();
17559 /* The GNU C library defines this for functions which it implements
17560 to always fail with ENOSYS. Some functions are actually named
17561 something starting with __ and the normal name is an alias. */
17562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17563 choke me
17564 #else
17565 char (*f) () = $ac_func;
17566 #endif
17567 #ifdef __cplusplus
17569 #endif
17572 main ()
17574 return f != $ac_func;
17576 return 0;
17578 _ACEOF
17579 rm -f conftest.$ac_objext conftest$ac_exeext
17580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17581 (eval $ac_link) 2>conftest.er1
17582 ac_status=$?
17583 grep -v '^ *+' conftest.er1 >conftest.err
17584 rm -f conftest.er1
17585 cat conftest.err >&5
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); } &&
17588 { ac_try='test -z "$ac_c_werror_flag"
17589 || test ! -s conftest.err'
17590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17591 (eval $ac_try) 2>&5
17592 ac_status=$?
17593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594 (exit $ac_status); }; } &&
17595 { ac_try='test -s conftest$ac_exeext'
17596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17597 (eval $ac_try) 2>&5
17598 ac_status=$?
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); }; }; then
17601 eval "$as_ac_var=yes"
17602 else
17603 echo "$as_me: failed program was:" >&5
17604 sed 's/^/| /' conftest.$ac_ext >&5
17606 eval "$as_ac_var=no"
17608 rm -f conftest.err conftest.$ac_objext \
17609 conftest$ac_exeext conftest.$ac_ext
17611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17613 if test `eval echo '${'$as_ac_var'}'` = yes; then
17614 cat >>confdefs.h <<_ACEOF
17615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17616 _ACEOF
17619 done
17629 echo "$as_me:$LINENO: checking for isnan declaration" >&5
17630 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
17631 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
17632 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
17633 echo $ECHO_N "(cached) $ECHO_C" >&6
17634 else
17638 ac_ext=cc
17639 ac_cpp='$CXXCPP $CPPFLAGS'
17640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17644 cat >conftest.$ac_ext <<_ACEOF
17645 /* confdefs.h. */
17646 _ACEOF
17647 cat confdefs.h >>conftest.$ac_ext
17648 cat >>conftest.$ac_ext <<_ACEOF
17649 /* end confdefs.h. */
17650 #include <math.h>
17651 #ifdef HAVE_IEEEFP_H
17652 #include <ieeefp.h>
17653 #endif
17656 main ()
17658 isnan(0);
17660 return 0;
17662 _ACEOF
17663 rm -f conftest.$ac_objext
17664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17665 (eval $ac_compile) 2>conftest.er1
17666 ac_status=$?
17667 grep -v '^ *+' conftest.er1 >conftest.err
17668 rm -f conftest.er1
17669 cat conftest.err >&5
17670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); } &&
17672 { ac_try='test -z "$ac_cxx_werror_flag"
17673 || test ! -s conftest.err'
17674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17675 (eval $ac_try) 2>&5
17676 ac_status=$?
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); }; } &&
17679 { ac_try='test -s conftest.$ac_objext'
17680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17681 (eval $ac_try) 2>&5
17682 ac_status=$?
17683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17684 (exit $ac_status); }; }; then
17685 glibcxx_cv_func_isnan_use=yes
17686 else
17687 echo "$as_me: failed program was:" >&5
17688 sed 's/^/| /' conftest.$ac_ext >&5
17690 glibcxx_cv_func_isnan_use=no
17692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17693 ac_ext=c
17694 ac_cpp='$CPP $CPPFLAGS'
17695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17703 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
17704 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
17706 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
17708 for ac_func in isnan
17710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17711 echo "$as_me:$LINENO: checking for $ac_func" >&5
17712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17713 if eval "test \"\${$as_ac_var+set}\" = set"; then
17714 echo $ECHO_N "(cached) $ECHO_C" >&6
17715 else
17716 if test x$gcc_no_link = xyes; then
17717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17719 { (exit 1); exit 1; }; }
17721 cat >conftest.$ac_ext <<_ACEOF
17722 /* confdefs.h. */
17723 _ACEOF
17724 cat confdefs.h >>conftest.$ac_ext
17725 cat >>conftest.$ac_ext <<_ACEOF
17726 /* end confdefs.h. */
17727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17729 #define $ac_func innocuous_$ac_func
17731 /* System header to define __stub macros and hopefully few prototypes,
17732 which can conflict with char $ac_func (); below.
17733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17734 <limits.h> exists even on freestanding compilers. */
17736 #ifdef __STDC__
17737 # include <limits.h>
17738 #else
17739 # include <assert.h>
17740 #endif
17742 #undef $ac_func
17744 /* Override any gcc2 internal prototype to avoid an error. */
17745 #ifdef __cplusplus
17746 extern "C"
17748 #endif
17749 /* We use char because int might match the return type of a gcc2
17750 builtin and then its argument prototype would still apply. */
17751 char $ac_func ();
17752 /* The GNU C library defines this for functions which it implements
17753 to always fail with ENOSYS. Some functions are actually named
17754 something starting with __ and the normal name is an alias. */
17755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17756 choke me
17757 #else
17758 char (*f) () = $ac_func;
17759 #endif
17760 #ifdef __cplusplus
17762 #endif
17765 main ()
17767 return f != $ac_func;
17769 return 0;
17771 _ACEOF
17772 rm -f conftest.$ac_objext conftest$ac_exeext
17773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17774 (eval $ac_link) 2>conftest.er1
17775 ac_status=$?
17776 grep -v '^ *+' conftest.er1 >conftest.err
17777 rm -f conftest.er1
17778 cat conftest.err >&5
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); } &&
17781 { ac_try='test -z "$ac_c_werror_flag"
17782 || test ! -s conftest.err'
17783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784 (eval $ac_try) 2>&5
17785 ac_status=$?
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); }; } &&
17788 { ac_try='test -s conftest$ac_exeext'
17789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17790 (eval $ac_try) 2>&5
17791 ac_status=$?
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); }; }; then
17794 eval "$as_ac_var=yes"
17795 else
17796 echo "$as_me: failed program was:" >&5
17797 sed 's/^/| /' conftest.$ac_ext >&5
17799 eval "$as_ac_var=no"
17801 rm -f conftest.err conftest.$ac_objext \
17802 conftest$ac_exeext conftest.$ac_ext
17804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17806 if test `eval echo '${'$as_ac_var'}'` = yes; then
17807 cat >>confdefs.h <<_ACEOF
17808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17809 _ACEOF
17812 done
17814 else
17816 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
17817 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
17818 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
17819 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
17820 echo $ECHO_N "(cached) $ECHO_C" >&6
17821 else
17825 ac_ext=cc
17826 ac_cpp='$CXXCPP $CPPFLAGS'
17827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17831 cat >conftest.$ac_ext <<_ACEOF
17832 /* confdefs.h. */
17833 _ACEOF
17834 cat confdefs.h >>conftest.$ac_ext
17835 cat >>conftest.$ac_ext <<_ACEOF
17836 /* end confdefs.h. */
17837 #include <math.h>
17838 #ifdef HAVE_IEEEFP_H
17839 #include <ieeefp.h>
17840 #endif
17843 main ()
17845 _isnan(0);
17847 return 0;
17849 _ACEOF
17850 rm -f conftest.$ac_objext
17851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17852 (eval $ac_compile) 2>conftest.er1
17853 ac_status=$?
17854 grep -v '^ *+' conftest.er1 >conftest.err
17855 rm -f conftest.er1
17856 cat conftest.err >&5
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); } &&
17859 { ac_try='test -z "$ac_cxx_werror_flag"
17860 || test ! -s conftest.err'
17861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17862 (eval $ac_try) 2>&5
17863 ac_status=$?
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); }; } &&
17866 { ac_try='test -s conftest.$ac_objext'
17867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17868 (eval $ac_try) 2>&5
17869 ac_status=$?
17870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871 (exit $ac_status); }; }; then
17872 glibcxx_cv_func__isnan_use=yes
17873 else
17874 echo "$as_me: failed program was:" >&5
17875 sed 's/^/| /' conftest.$ac_ext >&5
17877 glibcxx_cv_func__isnan_use=no
17879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17880 ac_ext=c
17881 ac_cpp='$CPP $CPPFLAGS'
17882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17890 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
17891 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
17893 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
17895 for ac_func in _isnan
17897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17898 echo "$as_me:$LINENO: checking for $ac_func" >&5
17899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17900 if eval "test \"\${$as_ac_var+set}\" = set"; then
17901 echo $ECHO_N "(cached) $ECHO_C" >&6
17902 else
17903 if test x$gcc_no_link = xyes; then
17904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17906 { (exit 1); exit 1; }; }
17908 cat >conftest.$ac_ext <<_ACEOF
17909 /* confdefs.h. */
17910 _ACEOF
17911 cat confdefs.h >>conftest.$ac_ext
17912 cat >>conftest.$ac_ext <<_ACEOF
17913 /* end confdefs.h. */
17914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17916 #define $ac_func innocuous_$ac_func
17918 /* System header to define __stub macros and hopefully few prototypes,
17919 which can conflict with char $ac_func (); below.
17920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17921 <limits.h> exists even on freestanding compilers. */
17923 #ifdef __STDC__
17924 # include <limits.h>
17925 #else
17926 # include <assert.h>
17927 #endif
17929 #undef $ac_func
17931 /* Override any gcc2 internal prototype to avoid an error. */
17932 #ifdef __cplusplus
17933 extern "C"
17935 #endif
17936 /* We use char because int might match the return type of a gcc2
17937 builtin and then its argument prototype would still apply. */
17938 char $ac_func ();
17939 /* The GNU C library defines this for functions which it implements
17940 to always fail with ENOSYS. Some functions are actually named
17941 something starting with __ and the normal name is an alias. */
17942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17943 choke me
17944 #else
17945 char (*f) () = $ac_func;
17946 #endif
17947 #ifdef __cplusplus
17949 #endif
17952 main ()
17954 return f != $ac_func;
17956 return 0;
17958 _ACEOF
17959 rm -f conftest.$ac_objext conftest$ac_exeext
17960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17961 (eval $ac_link) 2>conftest.er1
17962 ac_status=$?
17963 grep -v '^ *+' conftest.er1 >conftest.err
17964 rm -f conftest.er1
17965 cat conftest.err >&5
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); } &&
17968 { ac_try='test -z "$ac_c_werror_flag"
17969 || test ! -s conftest.err'
17970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17971 (eval $ac_try) 2>&5
17972 ac_status=$?
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); }; } &&
17975 { ac_try='test -s conftest$ac_exeext'
17976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17977 (eval $ac_try) 2>&5
17978 ac_status=$?
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); }; }; then
17981 eval "$as_ac_var=yes"
17982 else
17983 echo "$as_me: failed program was:" >&5
17984 sed 's/^/| /' conftest.$ac_ext >&5
17986 eval "$as_ac_var=no"
17988 rm -f conftest.err conftest.$ac_objext \
17989 conftest$ac_exeext conftest.$ac_ext
17991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17993 if test `eval echo '${'$as_ac_var'}'` = yes; then
17994 cat >>confdefs.h <<_ACEOF
17995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17996 _ACEOF
17999 done
18009 echo "$as_me:$LINENO: checking for finite declaration" >&5
18010 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
18011 if test x${glibcxx_cv_func_finite_use+set} != xset; then
18012 if test "${glibcxx_cv_func_finite_use+set}" = set; then
18013 echo $ECHO_N "(cached) $ECHO_C" >&6
18014 else
18018 ac_ext=cc
18019 ac_cpp='$CXXCPP $CPPFLAGS'
18020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18024 cat >conftest.$ac_ext <<_ACEOF
18025 /* confdefs.h. */
18026 _ACEOF
18027 cat confdefs.h >>conftest.$ac_ext
18028 cat >>conftest.$ac_ext <<_ACEOF
18029 /* end confdefs.h. */
18030 #include <math.h>
18031 #ifdef HAVE_IEEEFP_H
18032 #include <ieeefp.h>
18033 #endif
18036 main ()
18038 finite(0);
18040 return 0;
18042 _ACEOF
18043 rm -f conftest.$ac_objext
18044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18045 (eval $ac_compile) 2>conftest.er1
18046 ac_status=$?
18047 grep -v '^ *+' conftest.er1 >conftest.err
18048 rm -f conftest.er1
18049 cat conftest.err >&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); } &&
18052 { ac_try='test -z "$ac_cxx_werror_flag"
18053 || test ! -s conftest.err'
18054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18055 (eval $ac_try) 2>&5
18056 ac_status=$?
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); }; } &&
18059 { ac_try='test -s conftest.$ac_objext'
18060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18061 (eval $ac_try) 2>&5
18062 ac_status=$?
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); }; }; then
18065 glibcxx_cv_func_finite_use=yes
18066 else
18067 echo "$as_me: failed program was:" >&5
18068 sed 's/^/| /' conftest.$ac_ext >&5
18070 glibcxx_cv_func_finite_use=no
18072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18073 ac_ext=c
18074 ac_cpp='$CPP $CPPFLAGS'
18075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18083 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
18084 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
18086 if test x$glibcxx_cv_func_finite_use = x"yes"; then
18088 for ac_func in finite
18090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18091 echo "$as_me:$LINENO: checking for $ac_func" >&5
18092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18093 if eval "test \"\${$as_ac_var+set}\" = set"; then
18094 echo $ECHO_N "(cached) $ECHO_C" >&6
18095 else
18096 if test x$gcc_no_link = xyes; then
18097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18099 { (exit 1); exit 1; }; }
18101 cat >conftest.$ac_ext <<_ACEOF
18102 /* confdefs.h. */
18103 _ACEOF
18104 cat confdefs.h >>conftest.$ac_ext
18105 cat >>conftest.$ac_ext <<_ACEOF
18106 /* end confdefs.h. */
18107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18109 #define $ac_func innocuous_$ac_func
18111 /* System header to define __stub macros and hopefully few prototypes,
18112 which can conflict with char $ac_func (); below.
18113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18114 <limits.h> exists even on freestanding compilers. */
18116 #ifdef __STDC__
18117 # include <limits.h>
18118 #else
18119 # include <assert.h>
18120 #endif
18122 #undef $ac_func
18124 /* Override any gcc2 internal prototype to avoid an error. */
18125 #ifdef __cplusplus
18126 extern "C"
18128 #endif
18129 /* We use char because int might match the return type of a gcc2
18130 builtin and then its argument prototype would still apply. */
18131 char $ac_func ();
18132 /* The GNU C library defines this for functions which it implements
18133 to always fail with ENOSYS. Some functions are actually named
18134 something starting with __ and the normal name is an alias. */
18135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18136 choke me
18137 #else
18138 char (*f) () = $ac_func;
18139 #endif
18140 #ifdef __cplusplus
18142 #endif
18145 main ()
18147 return f != $ac_func;
18149 return 0;
18151 _ACEOF
18152 rm -f conftest.$ac_objext conftest$ac_exeext
18153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18154 (eval $ac_link) 2>conftest.er1
18155 ac_status=$?
18156 grep -v '^ *+' conftest.er1 >conftest.err
18157 rm -f conftest.er1
18158 cat conftest.err >&5
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); } &&
18161 { ac_try='test -z "$ac_c_werror_flag"
18162 || test ! -s conftest.err'
18163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164 (eval $ac_try) 2>&5
18165 ac_status=$?
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); }; } &&
18168 { ac_try='test -s conftest$ac_exeext'
18169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170 (eval $ac_try) 2>&5
18171 ac_status=$?
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); }; }; then
18174 eval "$as_ac_var=yes"
18175 else
18176 echo "$as_me: failed program was:" >&5
18177 sed 's/^/| /' conftest.$ac_ext >&5
18179 eval "$as_ac_var=no"
18181 rm -f conftest.err conftest.$ac_objext \
18182 conftest$ac_exeext conftest.$ac_ext
18184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18186 if test `eval echo '${'$as_ac_var'}'` = yes; then
18187 cat >>confdefs.h <<_ACEOF
18188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18189 _ACEOF
18192 done
18194 else
18196 echo "$as_me:$LINENO: checking for _finite declaration" >&5
18197 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
18198 if test x${glibcxx_cv_func__finite_use+set} != xset; then
18199 if test "${glibcxx_cv_func__finite_use+set}" = set; then
18200 echo $ECHO_N "(cached) $ECHO_C" >&6
18201 else
18205 ac_ext=cc
18206 ac_cpp='$CXXCPP $CPPFLAGS'
18207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18211 cat >conftest.$ac_ext <<_ACEOF
18212 /* confdefs.h. */
18213 _ACEOF
18214 cat confdefs.h >>conftest.$ac_ext
18215 cat >>conftest.$ac_ext <<_ACEOF
18216 /* end confdefs.h. */
18217 #include <math.h>
18218 #ifdef HAVE_IEEEFP_H
18219 #include <ieeefp.h>
18220 #endif
18223 main ()
18225 _finite(0);
18227 return 0;
18229 _ACEOF
18230 rm -f conftest.$ac_objext
18231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18232 (eval $ac_compile) 2>conftest.er1
18233 ac_status=$?
18234 grep -v '^ *+' conftest.er1 >conftest.err
18235 rm -f conftest.er1
18236 cat conftest.err >&5
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); } &&
18239 { ac_try='test -z "$ac_cxx_werror_flag"
18240 || test ! -s conftest.err'
18241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18242 (eval $ac_try) 2>&5
18243 ac_status=$?
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); }; } &&
18246 { ac_try='test -s conftest.$ac_objext'
18247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18248 (eval $ac_try) 2>&5
18249 ac_status=$?
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); }; }; then
18252 glibcxx_cv_func__finite_use=yes
18253 else
18254 echo "$as_me: failed program was:" >&5
18255 sed 's/^/| /' conftest.$ac_ext >&5
18257 glibcxx_cv_func__finite_use=no
18259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18260 ac_ext=c
18261 ac_cpp='$CPP $CPPFLAGS'
18262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18270 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
18271 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
18273 if test x$glibcxx_cv_func__finite_use = x"yes"; then
18275 for ac_func in _finite
18277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18278 echo "$as_me:$LINENO: checking for $ac_func" >&5
18279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18280 if eval "test \"\${$as_ac_var+set}\" = set"; then
18281 echo $ECHO_N "(cached) $ECHO_C" >&6
18282 else
18283 if test x$gcc_no_link = xyes; then
18284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18286 { (exit 1); exit 1; }; }
18288 cat >conftest.$ac_ext <<_ACEOF
18289 /* confdefs.h. */
18290 _ACEOF
18291 cat confdefs.h >>conftest.$ac_ext
18292 cat >>conftest.$ac_ext <<_ACEOF
18293 /* end confdefs.h. */
18294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18296 #define $ac_func innocuous_$ac_func
18298 /* System header to define __stub macros and hopefully few prototypes,
18299 which can conflict with char $ac_func (); below.
18300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18301 <limits.h> exists even on freestanding compilers. */
18303 #ifdef __STDC__
18304 # include <limits.h>
18305 #else
18306 # include <assert.h>
18307 #endif
18309 #undef $ac_func
18311 /* Override any gcc2 internal prototype to avoid an error. */
18312 #ifdef __cplusplus
18313 extern "C"
18315 #endif
18316 /* We use char because int might match the return type of a gcc2
18317 builtin and then its argument prototype would still apply. */
18318 char $ac_func ();
18319 /* The GNU C library defines this for functions which it implements
18320 to always fail with ENOSYS. Some functions are actually named
18321 something starting with __ and the normal name is an alias. */
18322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18323 choke me
18324 #else
18325 char (*f) () = $ac_func;
18326 #endif
18327 #ifdef __cplusplus
18329 #endif
18332 main ()
18334 return f != $ac_func;
18336 return 0;
18338 _ACEOF
18339 rm -f conftest.$ac_objext conftest$ac_exeext
18340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18341 (eval $ac_link) 2>conftest.er1
18342 ac_status=$?
18343 grep -v '^ *+' conftest.er1 >conftest.err
18344 rm -f conftest.er1
18345 cat conftest.err >&5
18346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 (exit $ac_status); } &&
18348 { ac_try='test -z "$ac_c_werror_flag"
18349 || test ! -s conftest.err'
18350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351 (eval $ac_try) 2>&5
18352 ac_status=$?
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; } &&
18355 { ac_try='test -s conftest$ac_exeext'
18356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18357 (eval $ac_try) 2>&5
18358 ac_status=$?
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); }; }; then
18361 eval "$as_ac_var=yes"
18362 else
18363 echo "$as_me: failed program was:" >&5
18364 sed 's/^/| /' conftest.$ac_ext >&5
18366 eval "$as_ac_var=no"
18368 rm -f conftest.err conftest.$ac_objext \
18369 conftest$ac_exeext conftest.$ac_ext
18371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18373 if test `eval echo '${'$as_ac_var'}'` = yes; then
18374 cat >>confdefs.h <<_ACEOF
18375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18376 _ACEOF
18379 done
18389 echo "$as_me:$LINENO: checking for copysign declaration" >&5
18390 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
18391 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
18392 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
18393 echo $ECHO_N "(cached) $ECHO_C" >&6
18394 else
18398 ac_ext=cc
18399 ac_cpp='$CXXCPP $CPPFLAGS'
18400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18404 cat >conftest.$ac_ext <<_ACEOF
18405 /* confdefs.h. */
18406 _ACEOF
18407 cat confdefs.h >>conftest.$ac_ext
18408 cat >>conftest.$ac_ext <<_ACEOF
18409 /* end confdefs.h. */
18410 #include <math.h>
18412 main ()
18414 copysign(0, 0);
18416 return 0;
18418 _ACEOF
18419 rm -f conftest.$ac_objext
18420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18421 (eval $ac_compile) 2>conftest.er1
18422 ac_status=$?
18423 grep -v '^ *+' conftest.er1 >conftest.err
18424 rm -f conftest.er1
18425 cat conftest.err >&5
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); } &&
18428 { ac_try='test -z "$ac_cxx_werror_flag"
18429 || test ! -s conftest.err'
18430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18431 (eval $ac_try) 2>&5
18432 ac_status=$?
18433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434 (exit $ac_status); }; } &&
18435 { ac_try='test -s conftest.$ac_objext'
18436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18437 (eval $ac_try) 2>&5
18438 ac_status=$?
18439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 (exit $ac_status); }; }; then
18441 glibcxx_cv_func_copysign_use=yes
18442 else
18443 echo "$as_me: failed program was:" >&5
18444 sed 's/^/| /' conftest.$ac_ext >&5
18446 glibcxx_cv_func_copysign_use=no
18448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18449 ac_ext=c
18450 ac_cpp='$CPP $CPPFLAGS'
18451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18459 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
18460 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
18462 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
18464 for ac_func in copysign
18466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18467 echo "$as_me:$LINENO: checking for $ac_func" >&5
18468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18469 if eval "test \"\${$as_ac_var+set}\" = set"; then
18470 echo $ECHO_N "(cached) $ECHO_C" >&6
18471 else
18472 if test x$gcc_no_link = xyes; then
18473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18475 { (exit 1); exit 1; }; }
18477 cat >conftest.$ac_ext <<_ACEOF
18478 /* confdefs.h. */
18479 _ACEOF
18480 cat confdefs.h >>conftest.$ac_ext
18481 cat >>conftest.$ac_ext <<_ACEOF
18482 /* end confdefs.h. */
18483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18485 #define $ac_func innocuous_$ac_func
18487 /* System header to define __stub macros and hopefully few prototypes,
18488 which can conflict with char $ac_func (); below.
18489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18490 <limits.h> exists even on freestanding compilers. */
18492 #ifdef __STDC__
18493 # include <limits.h>
18494 #else
18495 # include <assert.h>
18496 #endif
18498 #undef $ac_func
18500 /* Override any gcc2 internal prototype to avoid an error. */
18501 #ifdef __cplusplus
18502 extern "C"
18504 #endif
18505 /* We use char because int might match the return type of a gcc2
18506 builtin and then its argument prototype would still apply. */
18507 char $ac_func ();
18508 /* The GNU C library defines this for functions which it implements
18509 to always fail with ENOSYS. Some functions are actually named
18510 something starting with __ and the normal name is an alias. */
18511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18512 choke me
18513 #else
18514 char (*f) () = $ac_func;
18515 #endif
18516 #ifdef __cplusplus
18518 #endif
18521 main ()
18523 return f != $ac_func;
18525 return 0;
18527 _ACEOF
18528 rm -f conftest.$ac_objext conftest$ac_exeext
18529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18530 (eval $ac_link) 2>conftest.er1
18531 ac_status=$?
18532 grep -v '^ *+' conftest.er1 >conftest.err
18533 rm -f conftest.er1
18534 cat conftest.err >&5
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); } &&
18537 { ac_try='test -z "$ac_c_werror_flag"
18538 || test ! -s conftest.err'
18539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18540 (eval $ac_try) 2>&5
18541 ac_status=$?
18542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18543 (exit $ac_status); }; } &&
18544 { ac_try='test -s conftest$ac_exeext'
18545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18546 (eval $ac_try) 2>&5
18547 ac_status=$?
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); }; }; then
18550 eval "$as_ac_var=yes"
18551 else
18552 echo "$as_me: failed program was:" >&5
18553 sed 's/^/| /' conftest.$ac_ext >&5
18555 eval "$as_ac_var=no"
18557 rm -f conftest.err conftest.$ac_objext \
18558 conftest$ac_exeext conftest.$ac_ext
18560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18562 if test `eval echo '${'$as_ac_var'}'` = yes; then
18563 cat >>confdefs.h <<_ACEOF
18564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18565 _ACEOF
18568 done
18570 else
18572 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
18573 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
18574 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
18575 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
18576 echo $ECHO_N "(cached) $ECHO_C" >&6
18577 else
18581 ac_ext=cc
18582 ac_cpp='$CXXCPP $CPPFLAGS'
18583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18587 cat >conftest.$ac_ext <<_ACEOF
18588 /* confdefs.h. */
18589 _ACEOF
18590 cat confdefs.h >>conftest.$ac_ext
18591 cat >>conftest.$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593 #include <math.h>
18595 main ()
18597 _copysign(0, 0);
18599 return 0;
18601 _ACEOF
18602 rm -f conftest.$ac_objext
18603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18604 (eval $ac_compile) 2>conftest.er1
18605 ac_status=$?
18606 grep -v '^ *+' conftest.er1 >conftest.err
18607 rm -f conftest.er1
18608 cat conftest.err >&5
18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610 (exit $ac_status); } &&
18611 { ac_try='test -z "$ac_cxx_werror_flag"
18612 || test ! -s conftest.err'
18613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18614 (eval $ac_try) 2>&5
18615 ac_status=$?
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); }; } &&
18618 { ac_try='test -s conftest.$ac_objext'
18619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18620 (eval $ac_try) 2>&5
18621 ac_status=$?
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); }; }; then
18624 glibcxx_cv_func__copysign_use=yes
18625 else
18626 echo "$as_me: failed program was:" >&5
18627 sed 's/^/| /' conftest.$ac_ext >&5
18629 glibcxx_cv_func__copysign_use=no
18631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18632 ac_ext=c
18633 ac_cpp='$CPP $CPPFLAGS'
18634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18642 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
18643 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
18645 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
18647 for ac_func in _copysign
18649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18650 echo "$as_me:$LINENO: checking for $ac_func" >&5
18651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18652 if eval "test \"\${$as_ac_var+set}\" = set"; then
18653 echo $ECHO_N "(cached) $ECHO_C" >&6
18654 else
18655 if test x$gcc_no_link = xyes; then
18656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18658 { (exit 1); exit 1; }; }
18660 cat >conftest.$ac_ext <<_ACEOF
18661 /* confdefs.h. */
18662 _ACEOF
18663 cat confdefs.h >>conftest.$ac_ext
18664 cat >>conftest.$ac_ext <<_ACEOF
18665 /* end confdefs.h. */
18666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18668 #define $ac_func innocuous_$ac_func
18670 /* System header to define __stub macros and hopefully few prototypes,
18671 which can conflict with char $ac_func (); below.
18672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18673 <limits.h> exists even on freestanding compilers. */
18675 #ifdef __STDC__
18676 # include <limits.h>
18677 #else
18678 # include <assert.h>
18679 #endif
18681 #undef $ac_func
18683 /* Override any gcc2 internal prototype to avoid an error. */
18684 #ifdef __cplusplus
18685 extern "C"
18687 #endif
18688 /* We use char because int might match the return type of a gcc2
18689 builtin and then its argument prototype would still apply. */
18690 char $ac_func ();
18691 /* The GNU C library defines this for functions which it implements
18692 to always fail with ENOSYS. Some functions are actually named
18693 something starting with __ and the normal name is an alias. */
18694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18695 choke me
18696 #else
18697 char (*f) () = $ac_func;
18698 #endif
18699 #ifdef __cplusplus
18701 #endif
18704 main ()
18706 return f != $ac_func;
18708 return 0;
18710 _ACEOF
18711 rm -f conftest.$ac_objext conftest$ac_exeext
18712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18713 (eval $ac_link) 2>conftest.er1
18714 ac_status=$?
18715 grep -v '^ *+' conftest.er1 >conftest.err
18716 rm -f conftest.er1
18717 cat conftest.err >&5
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); } &&
18720 { ac_try='test -z "$ac_c_werror_flag"
18721 || test ! -s conftest.err'
18722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18723 (eval $ac_try) 2>&5
18724 ac_status=$?
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); }; } &&
18727 { ac_try='test -s conftest$ac_exeext'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18730 ac_status=$?
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; }; then
18733 eval "$as_ac_var=yes"
18734 else
18735 echo "$as_me: failed program was:" >&5
18736 sed 's/^/| /' conftest.$ac_ext >&5
18738 eval "$as_ac_var=no"
18740 rm -f conftest.err conftest.$ac_objext \
18741 conftest$ac_exeext conftest.$ac_ext
18743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18745 if test `eval echo '${'$as_ac_var'}'` = yes; then
18746 cat >>confdefs.h <<_ACEOF
18747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18748 _ACEOF
18751 done
18761 echo "$as_me:$LINENO: checking for sincos declaration" >&5
18762 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
18763 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
18764 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
18765 echo $ECHO_N "(cached) $ECHO_C" >&6
18766 else
18770 ac_ext=cc
18771 ac_cpp='$CXXCPP $CPPFLAGS'
18772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18776 cat >conftest.$ac_ext <<_ACEOF
18777 /* confdefs.h. */
18778 _ACEOF
18779 cat confdefs.h >>conftest.$ac_ext
18780 cat >>conftest.$ac_ext <<_ACEOF
18781 /* end confdefs.h. */
18782 #include <math.h>
18784 main ()
18786 sincos(0, 0, 0);
18788 return 0;
18790 _ACEOF
18791 rm -f conftest.$ac_objext
18792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18793 (eval $ac_compile) 2>conftest.er1
18794 ac_status=$?
18795 grep -v '^ *+' conftest.er1 >conftest.err
18796 rm -f conftest.er1
18797 cat conftest.err >&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); } &&
18800 { ac_try='test -z "$ac_cxx_werror_flag"
18801 || test ! -s conftest.err'
18802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18803 (eval $ac_try) 2>&5
18804 ac_status=$?
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); }; } &&
18807 { ac_try='test -s conftest.$ac_objext'
18808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18809 (eval $ac_try) 2>&5
18810 ac_status=$?
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); }; }; then
18813 glibcxx_cv_func_sincos_use=yes
18814 else
18815 echo "$as_me: failed program was:" >&5
18816 sed 's/^/| /' conftest.$ac_ext >&5
18818 glibcxx_cv_func_sincos_use=no
18820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18821 ac_ext=c
18822 ac_cpp='$CPP $CPPFLAGS'
18823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18831 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
18832 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
18834 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
18836 for ac_func in sincos
18838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18839 echo "$as_me:$LINENO: checking for $ac_func" >&5
18840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18841 if eval "test \"\${$as_ac_var+set}\" = set"; then
18842 echo $ECHO_N "(cached) $ECHO_C" >&6
18843 else
18844 if test x$gcc_no_link = xyes; then
18845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18847 { (exit 1); exit 1; }; }
18849 cat >conftest.$ac_ext <<_ACEOF
18850 /* confdefs.h. */
18851 _ACEOF
18852 cat confdefs.h >>conftest.$ac_ext
18853 cat >>conftest.$ac_ext <<_ACEOF
18854 /* end confdefs.h. */
18855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18857 #define $ac_func innocuous_$ac_func
18859 /* System header to define __stub macros and hopefully few prototypes,
18860 which can conflict with char $ac_func (); below.
18861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18862 <limits.h> exists even on freestanding compilers. */
18864 #ifdef __STDC__
18865 # include <limits.h>
18866 #else
18867 # include <assert.h>
18868 #endif
18870 #undef $ac_func
18872 /* Override any gcc2 internal prototype to avoid an error. */
18873 #ifdef __cplusplus
18874 extern "C"
18876 #endif
18877 /* We use char because int might match the return type of a gcc2
18878 builtin and then its argument prototype would still apply. */
18879 char $ac_func ();
18880 /* The GNU C library defines this for functions which it implements
18881 to always fail with ENOSYS. Some functions are actually named
18882 something starting with __ and the normal name is an alias. */
18883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18884 choke me
18885 #else
18886 char (*f) () = $ac_func;
18887 #endif
18888 #ifdef __cplusplus
18890 #endif
18893 main ()
18895 return f != $ac_func;
18897 return 0;
18899 _ACEOF
18900 rm -f conftest.$ac_objext conftest$ac_exeext
18901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18902 (eval $ac_link) 2>conftest.er1
18903 ac_status=$?
18904 grep -v '^ *+' conftest.er1 >conftest.err
18905 rm -f conftest.er1
18906 cat conftest.err >&5
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); } &&
18909 { ac_try='test -z "$ac_c_werror_flag"
18910 || test ! -s conftest.err'
18911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18912 (eval $ac_try) 2>&5
18913 ac_status=$?
18914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915 (exit $ac_status); }; } &&
18916 { ac_try='test -s conftest$ac_exeext'
18917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18918 (eval $ac_try) 2>&5
18919 ac_status=$?
18920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921 (exit $ac_status); }; }; then
18922 eval "$as_ac_var=yes"
18923 else
18924 echo "$as_me: failed program was:" >&5
18925 sed 's/^/| /' conftest.$ac_ext >&5
18927 eval "$as_ac_var=no"
18929 rm -f conftest.err conftest.$ac_objext \
18930 conftest$ac_exeext conftest.$ac_ext
18932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18934 if test `eval echo '${'$as_ac_var'}'` = yes; then
18935 cat >>confdefs.h <<_ACEOF
18936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18937 _ACEOF
18940 done
18942 else
18944 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
18945 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
18946 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
18947 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
18948 echo $ECHO_N "(cached) $ECHO_C" >&6
18949 else
18953 ac_ext=cc
18954 ac_cpp='$CXXCPP $CPPFLAGS'
18955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18959 cat >conftest.$ac_ext <<_ACEOF
18960 /* confdefs.h. */
18961 _ACEOF
18962 cat confdefs.h >>conftest.$ac_ext
18963 cat >>conftest.$ac_ext <<_ACEOF
18964 /* end confdefs.h. */
18965 #include <math.h>
18967 main ()
18969 _sincos(0, 0, 0);
18971 return 0;
18973 _ACEOF
18974 rm -f conftest.$ac_objext
18975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18976 (eval $ac_compile) 2>conftest.er1
18977 ac_status=$?
18978 grep -v '^ *+' conftest.er1 >conftest.err
18979 rm -f conftest.er1
18980 cat conftest.err >&5
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); } &&
18983 { ac_try='test -z "$ac_cxx_werror_flag"
18984 || test ! -s conftest.err'
18985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18986 (eval $ac_try) 2>&5
18987 ac_status=$?
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); }; } &&
18990 { ac_try='test -s conftest.$ac_objext'
18991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18992 (eval $ac_try) 2>&5
18993 ac_status=$?
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); }; }; then
18996 glibcxx_cv_func__sincos_use=yes
18997 else
18998 echo "$as_me: failed program was:" >&5
18999 sed 's/^/| /' conftest.$ac_ext >&5
19001 glibcxx_cv_func__sincos_use=no
19003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19004 ac_ext=c
19005 ac_cpp='$CPP $CPPFLAGS'
19006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19014 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
19015 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
19017 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
19019 for ac_func in _sincos
19021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19022 echo "$as_me:$LINENO: checking for $ac_func" >&5
19023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19024 if eval "test \"\${$as_ac_var+set}\" = set"; then
19025 echo $ECHO_N "(cached) $ECHO_C" >&6
19026 else
19027 if test x$gcc_no_link = xyes; then
19028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19030 { (exit 1); exit 1; }; }
19032 cat >conftest.$ac_ext <<_ACEOF
19033 /* confdefs.h. */
19034 _ACEOF
19035 cat confdefs.h >>conftest.$ac_ext
19036 cat >>conftest.$ac_ext <<_ACEOF
19037 /* end confdefs.h. */
19038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19040 #define $ac_func innocuous_$ac_func
19042 /* System header to define __stub macros and hopefully few prototypes,
19043 which can conflict with char $ac_func (); below.
19044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19045 <limits.h> exists even on freestanding compilers. */
19047 #ifdef __STDC__
19048 # include <limits.h>
19049 #else
19050 # include <assert.h>
19051 #endif
19053 #undef $ac_func
19055 /* Override any gcc2 internal prototype to avoid an error. */
19056 #ifdef __cplusplus
19057 extern "C"
19059 #endif
19060 /* We use char because int might match the return type of a gcc2
19061 builtin and then its argument prototype would still apply. */
19062 char $ac_func ();
19063 /* The GNU C library defines this for functions which it implements
19064 to always fail with ENOSYS. Some functions are actually named
19065 something starting with __ and the normal name is an alias. */
19066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19067 choke me
19068 #else
19069 char (*f) () = $ac_func;
19070 #endif
19071 #ifdef __cplusplus
19073 #endif
19076 main ()
19078 return f != $ac_func;
19080 return 0;
19082 _ACEOF
19083 rm -f conftest.$ac_objext conftest$ac_exeext
19084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19085 (eval $ac_link) 2>conftest.er1
19086 ac_status=$?
19087 grep -v '^ *+' conftest.er1 >conftest.err
19088 rm -f conftest.er1
19089 cat conftest.err >&5
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); } &&
19092 { ac_try='test -z "$ac_c_werror_flag"
19093 || test ! -s conftest.err'
19094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19095 (eval $ac_try) 2>&5
19096 ac_status=$?
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); }; } &&
19099 { ac_try='test -s conftest$ac_exeext'
19100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19101 (eval $ac_try) 2>&5
19102 ac_status=$?
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); }; }; then
19105 eval "$as_ac_var=yes"
19106 else
19107 echo "$as_me: failed program was:" >&5
19108 sed 's/^/| /' conftest.$ac_ext >&5
19110 eval "$as_ac_var=no"
19112 rm -f conftest.err conftest.$ac_objext \
19113 conftest$ac_exeext conftest.$ac_ext
19115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19117 if test `eval echo '${'$as_ac_var'}'` = yes; then
19118 cat >>confdefs.h <<_ACEOF
19119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19120 _ACEOF
19123 done
19133 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
19134 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
19135 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
19136 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
19137 echo $ECHO_N "(cached) $ECHO_C" >&6
19138 else
19142 ac_ext=cc
19143 ac_cpp='$CXXCPP $CPPFLAGS'
19144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19148 cat >conftest.$ac_ext <<_ACEOF
19149 /* confdefs.h. */
19150 _ACEOF
19151 cat confdefs.h >>conftest.$ac_ext
19152 cat >>conftest.$ac_ext <<_ACEOF
19153 /* end confdefs.h. */
19154 #include <math.h>
19155 #ifdef HAVE_IEEEFP_H
19156 #include <ieeefp.h>
19157 #endif
19160 main ()
19162 fpclass(0);
19164 return 0;
19166 _ACEOF
19167 rm -f conftest.$ac_objext
19168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19169 (eval $ac_compile) 2>conftest.er1
19170 ac_status=$?
19171 grep -v '^ *+' conftest.er1 >conftest.err
19172 rm -f conftest.er1
19173 cat conftest.err >&5
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); } &&
19176 { ac_try='test -z "$ac_cxx_werror_flag"
19177 || test ! -s conftest.err'
19178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19179 (eval $ac_try) 2>&5
19180 ac_status=$?
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); }; } &&
19183 { ac_try='test -s conftest.$ac_objext'
19184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19185 (eval $ac_try) 2>&5
19186 ac_status=$?
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); }; }; then
19189 glibcxx_cv_func_fpclass_use=yes
19190 else
19191 echo "$as_me: failed program was:" >&5
19192 sed 's/^/| /' conftest.$ac_ext >&5
19194 glibcxx_cv_func_fpclass_use=no
19196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19197 ac_ext=c
19198 ac_cpp='$CPP $CPPFLAGS'
19199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19207 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
19208 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
19210 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
19212 for ac_func in fpclass
19214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19215 echo "$as_me:$LINENO: checking for $ac_func" >&5
19216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19217 if eval "test \"\${$as_ac_var+set}\" = set"; then
19218 echo $ECHO_N "(cached) $ECHO_C" >&6
19219 else
19220 if test x$gcc_no_link = xyes; then
19221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19223 { (exit 1); exit 1; }; }
19225 cat >conftest.$ac_ext <<_ACEOF
19226 /* confdefs.h. */
19227 _ACEOF
19228 cat confdefs.h >>conftest.$ac_ext
19229 cat >>conftest.$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19233 #define $ac_func innocuous_$ac_func
19235 /* System header to define __stub macros and hopefully few prototypes,
19236 which can conflict with char $ac_func (); below.
19237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19238 <limits.h> exists even on freestanding compilers. */
19240 #ifdef __STDC__
19241 # include <limits.h>
19242 #else
19243 # include <assert.h>
19244 #endif
19246 #undef $ac_func
19248 /* Override any gcc2 internal prototype to avoid an error. */
19249 #ifdef __cplusplus
19250 extern "C"
19252 #endif
19253 /* We use char because int might match the return type of a gcc2
19254 builtin and then its argument prototype would still apply. */
19255 char $ac_func ();
19256 /* The GNU C library defines this for functions which it implements
19257 to always fail with ENOSYS. Some functions are actually named
19258 something starting with __ and the normal name is an alias. */
19259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19260 choke me
19261 #else
19262 char (*f) () = $ac_func;
19263 #endif
19264 #ifdef __cplusplus
19266 #endif
19269 main ()
19271 return f != $ac_func;
19273 return 0;
19275 _ACEOF
19276 rm -f conftest.$ac_objext conftest$ac_exeext
19277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19278 (eval $ac_link) 2>conftest.er1
19279 ac_status=$?
19280 grep -v '^ *+' conftest.er1 >conftest.err
19281 rm -f conftest.er1
19282 cat conftest.err >&5
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); } &&
19285 { ac_try='test -z "$ac_c_werror_flag"
19286 || test ! -s conftest.err'
19287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19288 (eval $ac_try) 2>&5
19289 ac_status=$?
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); }; } &&
19292 { ac_try='test -s conftest$ac_exeext'
19293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19294 (eval $ac_try) 2>&5
19295 ac_status=$?
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); }; }; then
19298 eval "$as_ac_var=yes"
19299 else
19300 echo "$as_me: failed program was:" >&5
19301 sed 's/^/| /' conftest.$ac_ext >&5
19303 eval "$as_ac_var=no"
19305 rm -f conftest.err conftest.$ac_objext \
19306 conftest$ac_exeext conftest.$ac_ext
19308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19310 if test `eval echo '${'$as_ac_var'}'` = yes; then
19311 cat >>confdefs.h <<_ACEOF
19312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19313 _ACEOF
19316 done
19318 else
19320 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
19321 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
19322 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
19323 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
19324 echo $ECHO_N "(cached) $ECHO_C" >&6
19325 else
19329 ac_ext=cc
19330 ac_cpp='$CXXCPP $CPPFLAGS'
19331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19335 cat >conftest.$ac_ext <<_ACEOF
19336 /* confdefs.h. */
19337 _ACEOF
19338 cat confdefs.h >>conftest.$ac_ext
19339 cat >>conftest.$ac_ext <<_ACEOF
19340 /* end confdefs.h. */
19341 #include <math.h>
19342 #ifdef HAVE_IEEEFP_H
19343 #include <ieeefp.h>
19344 #endif
19347 main ()
19349 _fpclass(0);
19351 return 0;
19353 _ACEOF
19354 rm -f conftest.$ac_objext
19355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19356 (eval $ac_compile) 2>conftest.er1
19357 ac_status=$?
19358 grep -v '^ *+' conftest.er1 >conftest.err
19359 rm -f conftest.er1
19360 cat conftest.err >&5
19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362 (exit $ac_status); } &&
19363 { ac_try='test -z "$ac_cxx_werror_flag"
19364 || test ! -s conftest.err'
19365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19366 (eval $ac_try) 2>&5
19367 ac_status=$?
19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19369 (exit $ac_status); }; } &&
19370 { ac_try='test -s conftest.$ac_objext'
19371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19372 (eval $ac_try) 2>&5
19373 ac_status=$?
19374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19375 (exit $ac_status); }; }; then
19376 glibcxx_cv_func__fpclass_use=yes
19377 else
19378 echo "$as_me: failed program was:" >&5
19379 sed 's/^/| /' conftest.$ac_ext >&5
19381 glibcxx_cv_func__fpclass_use=no
19383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19384 ac_ext=c
19385 ac_cpp='$CPP $CPPFLAGS'
19386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19394 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
19395 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
19397 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
19399 for ac_func in _fpclass
19401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19402 echo "$as_me:$LINENO: checking for $ac_func" >&5
19403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19404 if eval "test \"\${$as_ac_var+set}\" = set"; then
19405 echo $ECHO_N "(cached) $ECHO_C" >&6
19406 else
19407 if test x$gcc_no_link = xyes; then
19408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19410 { (exit 1); exit 1; }; }
19412 cat >conftest.$ac_ext <<_ACEOF
19413 /* confdefs.h. */
19414 _ACEOF
19415 cat confdefs.h >>conftest.$ac_ext
19416 cat >>conftest.$ac_ext <<_ACEOF
19417 /* end confdefs.h. */
19418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19420 #define $ac_func innocuous_$ac_func
19422 /* System header to define __stub macros and hopefully few prototypes,
19423 which can conflict with char $ac_func (); below.
19424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19425 <limits.h> exists even on freestanding compilers. */
19427 #ifdef __STDC__
19428 # include <limits.h>
19429 #else
19430 # include <assert.h>
19431 #endif
19433 #undef $ac_func
19435 /* Override any gcc2 internal prototype to avoid an error. */
19436 #ifdef __cplusplus
19437 extern "C"
19439 #endif
19440 /* We use char because int might match the return type of a gcc2
19441 builtin and then its argument prototype would still apply. */
19442 char $ac_func ();
19443 /* The GNU C library defines this for functions which it implements
19444 to always fail with ENOSYS. Some functions are actually named
19445 something starting with __ and the normal name is an alias. */
19446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19447 choke me
19448 #else
19449 char (*f) () = $ac_func;
19450 #endif
19451 #ifdef __cplusplus
19453 #endif
19456 main ()
19458 return f != $ac_func;
19460 return 0;
19462 _ACEOF
19463 rm -f conftest.$ac_objext conftest$ac_exeext
19464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19465 (eval $ac_link) 2>conftest.er1
19466 ac_status=$?
19467 grep -v '^ *+' conftest.er1 >conftest.err
19468 rm -f conftest.er1
19469 cat conftest.err >&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); } &&
19472 { ac_try='test -z "$ac_c_werror_flag"
19473 || test ! -s conftest.err'
19474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19475 (eval $ac_try) 2>&5
19476 ac_status=$?
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); }; } &&
19479 { ac_try='test -s conftest$ac_exeext'
19480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19481 (eval $ac_try) 2>&5
19482 ac_status=$?
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); }; }; then
19485 eval "$as_ac_var=yes"
19486 else
19487 echo "$as_me: failed program was:" >&5
19488 sed 's/^/| /' conftest.$ac_ext >&5
19490 eval "$as_ac_var=no"
19492 rm -f conftest.err conftest.$ac_objext \
19493 conftest$ac_exeext conftest.$ac_ext
19495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19497 if test `eval echo '${'$as_ac_var'}'` = yes; then
19498 cat >>confdefs.h <<_ACEOF
19499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19500 _ACEOF
19503 done
19513 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
19514 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
19515 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
19516 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
19517 echo $ECHO_N "(cached) $ECHO_C" >&6
19518 else
19522 ac_ext=cc
19523 ac_cpp='$CXXCPP $CPPFLAGS'
19524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19528 cat >conftest.$ac_ext <<_ACEOF
19529 /* confdefs.h. */
19530 _ACEOF
19531 cat confdefs.h >>conftest.$ac_ext
19532 cat >>conftest.$ac_ext <<_ACEOF
19533 /* end confdefs.h. */
19534 #include <math.h>
19535 #ifdef HAVE_IEEEFP_H
19536 #include <ieeefp.h>
19537 #endif
19540 main ()
19542 qfpclass(0);
19544 return 0;
19546 _ACEOF
19547 rm -f conftest.$ac_objext
19548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19549 (eval $ac_compile) 2>conftest.er1
19550 ac_status=$?
19551 grep -v '^ *+' conftest.er1 >conftest.err
19552 rm -f conftest.er1
19553 cat conftest.err >&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); } &&
19556 { ac_try='test -z "$ac_cxx_werror_flag"
19557 || test ! -s conftest.err'
19558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19559 (eval $ac_try) 2>&5
19560 ac_status=$?
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); }; } &&
19563 { ac_try='test -s conftest.$ac_objext'
19564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19565 (eval $ac_try) 2>&5
19566 ac_status=$?
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); }; }; then
19569 glibcxx_cv_func_qfpclass_use=yes
19570 else
19571 echo "$as_me: failed program was:" >&5
19572 sed 's/^/| /' conftest.$ac_ext >&5
19574 glibcxx_cv_func_qfpclass_use=no
19576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19577 ac_ext=c
19578 ac_cpp='$CPP $CPPFLAGS'
19579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19587 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
19588 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
19590 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
19592 for ac_func in qfpclass
19594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19595 echo "$as_me:$LINENO: checking for $ac_func" >&5
19596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19597 if eval "test \"\${$as_ac_var+set}\" = set"; then
19598 echo $ECHO_N "(cached) $ECHO_C" >&6
19599 else
19600 if test x$gcc_no_link = xyes; then
19601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19603 { (exit 1); exit 1; }; }
19605 cat >conftest.$ac_ext <<_ACEOF
19606 /* confdefs.h. */
19607 _ACEOF
19608 cat confdefs.h >>conftest.$ac_ext
19609 cat >>conftest.$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19613 #define $ac_func innocuous_$ac_func
19615 /* System header to define __stub macros and hopefully few prototypes,
19616 which can conflict with char $ac_func (); below.
19617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19618 <limits.h> exists even on freestanding compilers. */
19620 #ifdef __STDC__
19621 # include <limits.h>
19622 #else
19623 # include <assert.h>
19624 #endif
19626 #undef $ac_func
19628 /* Override any gcc2 internal prototype to avoid an error. */
19629 #ifdef __cplusplus
19630 extern "C"
19632 #endif
19633 /* We use char because int might match the return type of a gcc2
19634 builtin and then its argument prototype would still apply. */
19635 char $ac_func ();
19636 /* The GNU C library defines this for functions which it implements
19637 to always fail with ENOSYS. Some functions are actually named
19638 something starting with __ and the normal name is an alias. */
19639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19640 choke me
19641 #else
19642 char (*f) () = $ac_func;
19643 #endif
19644 #ifdef __cplusplus
19646 #endif
19649 main ()
19651 return f != $ac_func;
19653 return 0;
19655 _ACEOF
19656 rm -f conftest.$ac_objext conftest$ac_exeext
19657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19658 (eval $ac_link) 2>conftest.er1
19659 ac_status=$?
19660 grep -v '^ *+' conftest.er1 >conftest.err
19661 rm -f conftest.er1
19662 cat conftest.err >&5
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); } &&
19665 { ac_try='test -z "$ac_c_werror_flag"
19666 || test ! -s conftest.err'
19667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19668 (eval $ac_try) 2>&5
19669 ac_status=$?
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); }; } &&
19672 { ac_try='test -s conftest$ac_exeext'
19673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19674 (eval $ac_try) 2>&5
19675 ac_status=$?
19676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677 (exit $ac_status); }; }; then
19678 eval "$as_ac_var=yes"
19679 else
19680 echo "$as_me: failed program was:" >&5
19681 sed 's/^/| /' conftest.$ac_ext >&5
19683 eval "$as_ac_var=no"
19685 rm -f conftest.err conftest.$ac_objext \
19686 conftest$ac_exeext conftest.$ac_ext
19688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19690 if test `eval echo '${'$as_ac_var'}'` = yes; then
19691 cat >>confdefs.h <<_ACEOF
19692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19693 _ACEOF
19696 done
19698 else
19700 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
19701 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
19702 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
19703 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
19704 echo $ECHO_N "(cached) $ECHO_C" >&6
19705 else
19709 ac_ext=cc
19710 ac_cpp='$CXXCPP $CPPFLAGS'
19711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19715 cat >conftest.$ac_ext <<_ACEOF
19716 /* confdefs.h. */
19717 _ACEOF
19718 cat confdefs.h >>conftest.$ac_ext
19719 cat >>conftest.$ac_ext <<_ACEOF
19720 /* end confdefs.h. */
19721 #include <math.h>
19722 #ifdef HAVE_IEEEFP_H
19723 #include <ieeefp.h>
19724 #endif
19727 main ()
19729 _qfpclass(0);
19731 return 0;
19733 _ACEOF
19734 rm -f conftest.$ac_objext
19735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19736 (eval $ac_compile) 2>conftest.er1
19737 ac_status=$?
19738 grep -v '^ *+' conftest.er1 >conftest.err
19739 rm -f conftest.er1
19740 cat conftest.err >&5
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); } &&
19743 { ac_try='test -z "$ac_cxx_werror_flag"
19744 || test ! -s conftest.err'
19745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19746 (eval $ac_try) 2>&5
19747 ac_status=$?
19748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19749 (exit $ac_status); }; } &&
19750 { ac_try='test -s conftest.$ac_objext'
19751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19752 (eval $ac_try) 2>&5
19753 ac_status=$?
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); }; }; then
19756 glibcxx_cv_func__qfpclass_use=yes
19757 else
19758 echo "$as_me: failed program was:" >&5
19759 sed 's/^/| /' conftest.$ac_ext >&5
19761 glibcxx_cv_func__qfpclass_use=no
19763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19764 ac_ext=c
19765 ac_cpp='$CPP $CPPFLAGS'
19766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19774 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
19775 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
19777 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
19779 for ac_func in _qfpclass
19781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19782 echo "$as_me:$LINENO: checking for $ac_func" >&5
19783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19784 if eval "test \"\${$as_ac_var+set}\" = set"; then
19785 echo $ECHO_N "(cached) $ECHO_C" >&6
19786 else
19787 if test x$gcc_no_link = xyes; then
19788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19790 { (exit 1); exit 1; }; }
19792 cat >conftest.$ac_ext <<_ACEOF
19793 /* confdefs.h. */
19794 _ACEOF
19795 cat confdefs.h >>conftest.$ac_ext
19796 cat >>conftest.$ac_ext <<_ACEOF
19797 /* end confdefs.h. */
19798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19800 #define $ac_func innocuous_$ac_func
19802 /* System header to define __stub macros and hopefully few prototypes,
19803 which can conflict with char $ac_func (); below.
19804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19805 <limits.h> exists even on freestanding compilers. */
19807 #ifdef __STDC__
19808 # include <limits.h>
19809 #else
19810 # include <assert.h>
19811 #endif
19813 #undef $ac_func
19815 /* Override any gcc2 internal prototype to avoid an error. */
19816 #ifdef __cplusplus
19817 extern "C"
19819 #endif
19820 /* We use char because int might match the return type of a gcc2
19821 builtin and then its argument prototype would still apply. */
19822 char $ac_func ();
19823 /* The GNU C library defines this for functions which it implements
19824 to always fail with ENOSYS. Some functions are actually named
19825 something starting with __ and the normal name is an alias. */
19826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19827 choke me
19828 #else
19829 char (*f) () = $ac_func;
19830 #endif
19831 #ifdef __cplusplus
19833 #endif
19836 main ()
19838 return f != $ac_func;
19840 return 0;
19842 _ACEOF
19843 rm -f conftest.$ac_objext conftest$ac_exeext
19844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19845 (eval $ac_link) 2>conftest.er1
19846 ac_status=$?
19847 grep -v '^ *+' conftest.er1 >conftest.err
19848 rm -f conftest.er1
19849 cat conftest.err >&5
19850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851 (exit $ac_status); } &&
19852 { ac_try='test -z "$ac_c_werror_flag"
19853 || test ! -s conftest.err'
19854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19855 (eval $ac_try) 2>&5
19856 ac_status=$?
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); }; } &&
19859 { ac_try='test -s conftest$ac_exeext'
19860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19861 (eval $ac_try) 2>&5
19862 ac_status=$?
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); }; }; then
19865 eval "$as_ac_var=yes"
19866 else
19867 echo "$as_me: failed program was:" >&5
19868 sed 's/^/| /' conftest.$ac_ext >&5
19870 eval "$as_ac_var=no"
19872 rm -f conftest.err conftest.$ac_objext \
19873 conftest$ac_exeext conftest.$ac_ext
19875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19877 if test `eval echo '${'$as_ac_var'}'` = yes; then
19878 cat >>confdefs.h <<_ACEOF
19879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19880 _ACEOF
19883 done
19893 echo "$as_me:$LINENO: checking for hypot declaration" >&5
19894 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
19895 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
19896 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
19897 echo $ECHO_N "(cached) $ECHO_C" >&6
19898 else
19902 ac_ext=cc
19903 ac_cpp='$CXXCPP $CPPFLAGS'
19904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19908 cat >conftest.$ac_ext <<_ACEOF
19909 /* confdefs.h. */
19910 _ACEOF
19911 cat confdefs.h >>conftest.$ac_ext
19912 cat >>conftest.$ac_ext <<_ACEOF
19913 /* end confdefs.h. */
19914 #include <math.h>
19916 main ()
19918 hypot(0, 0);
19920 return 0;
19922 _ACEOF
19923 rm -f conftest.$ac_objext
19924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19925 (eval $ac_compile) 2>conftest.er1
19926 ac_status=$?
19927 grep -v '^ *+' conftest.er1 >conftest.err
19928 rm -f conftest.er1
19929 cat conftest.err >&5
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); } &&
19932 { ac_try='test -z "$ac_cxx_werror_flag"
19933 || test ! -s conftest.err'
19934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19935 (eval $ac_try) 2>&5
19936 ac_status=$?
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); }; } &&
19939 { ac_try='test -s conftest.$ac_objext'
19940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19941 (eval $ac_try) 2>&5
19942 ac_status=$?
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; }; then
19945 glibcxx_cv_func_hypot_use=yes
19946 else
19947 echo "$as_me: failed program was:" >&5
19948 sed 's/^/| /' conftest.$ac_ext >&5
19950 glibcxx_cv_func_hypot_use=no
19952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19953 ac_ext=c
19954 ac_cpp='$CPP $CPPFLAGS'
19955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19963 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
19964 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
19966 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
19968 for ac_func in hypot
19970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19971 echo "$as_me:$LINENO: checking for $ac_func" >&5
19972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19973 if eval "test \"\${$as_ac_var+set}\" = set"; then
19974 echo $ECHO_N "(cached) $ECHO_C" >&6
19975 else
19976 if test x$gcc_no_link = xyes; then
19977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19979 { (exit 1); exit 1; }; }
19981 cat >conftest.$ac_ext <<_ACEOF
19982 /* confdefs.h. */
19983 _ACEOF
19984 cat confdefs.h >>conftest.$ac_ext
19985 cat >>conftest.$ac_ext <<_ACEOF
19986 /* end confdefs.h. */
19987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19989 #define $ac_func innocuous_$ac_func
19991 /* System header to define __stub macros and hopefully few prototypes,
19992 which can conflict with char $ac_func (); below.
19993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19994 <limits.h> exists even on freestanding compilers. */
19996 #ifdef __STDC__
19997 # include <limits.h>
19998 #else
19999 # include <assert.h>
20000 #endif
20002 #undef $ac_func
20004 /* Override any gcc2 internal prototype to avoid an error. */
20005 #ifdef __cplusplus
20006 extern "C"
20008 #endif
20009 /* We use char because int might match the return type of a gcc2
20010 builtin and then its argument prototype would still apply. */
20011 char $ac_func ();
20012 /* The GNU C library defines this for functions which it implements
20013 to always fail with ENOSYS. Some functions are actually named
20014 something starting with __ and the normal name is an alias. */
20015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20016 choke me
20017 #else
20018 char (*f) () = $ac_func;
20019 #endif
20020 #ifdef __cplusplus
20022 #endif
20025 main ()
20027 return f != $ac_func;
20029 return 0;
20031 _ACEOF
20032 rm -f conftest.$ac_objext conftest$ac_exeext
20033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20034 (eval $ac_link) 2>conftest.er1
20035 ac_status=$?
20036 grep -v '^ *+' conftest.er1 >conftest.err
20037 rm -f conftest.er1
20038 cat conftest.err >&5
20039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040 (exit $ac_status); } &&
20041 { ac_try='test -z "$ac_c_werror_flag"
20042 || test ! -s conftest.err'
20043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20044 (eval $ac_try) 2>&5
20045 ac_status=$?
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); }; } &&
20048 { ac_try='test -s conftest$ac_exeext'
20049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20050 (eval $ac_try) 2>&5
20051 ac_status=$?
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); }; }; then
20054 eval "$as_ac_var=yes"
20055 else
20056 echo "$as_me: failed program was:" >&5
20057 sed 's/^/| /' conftest.$ac_ext >&5
20059 eval "$as_ac_var=no"
20061 rm -f conftest.err conftest.$ac_objext \
20062 conftest$ac_exeext conftest.$ac_ext
20064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20066 if test `eval echo '${'$as_ac_var'}'` = yes; then
20067 cat >>confdefs.h <<_ACEOF
20068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20069 _ACEOF
20072 done
20074 else
20076 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
20077 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
20078 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20079 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
20080 echo $ECHO_N "(cached) $ECHO_C" >&6
20081 else
20085 ac_ext=cc
20086 ac_cpp='$CXXCPP $CPPFLAGS'
20087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20091 cat >conftest.$ac_ext <<_ACEOF
20092 /* confdefs.h. */
20093 _ACEOF
20094 cat confdefs.h >>conftest.$ac_ext
20095 cat >>conftest.$ac_ext <<_ACEOF
20096 /* end confdefs.h. */
20097 #include <math.h>
20099 main ()
20101 _hypot(0, 0);
20103 return 0;
20105 _ACEOF
20106 rm -f conftest.$ac_objext
20107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20108 (eval $ac_compile) 2>conftest.er1
20109 ac_status=$?
20110 grep -v '^ *+' conftest.er1 >conftest.err
20111 rm -f conftest.er1
20112 cat conftest.err >&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } &&
20115 { ac_try='test -z "$ac_cxx_werror_flag"
20116 || test ! -s conftest.err'
20117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20118 (eval $ac_try) 2>&5
20119 ac_status=$?
20120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20121 (exit $ac_status); }; } &&
20122 { ac_try='test -s conftest.$ac_objext'
20123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20124 (eval $ac_try) 2>&5
20125 ac_status=$?
20126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20127 (exit $ac_status); }; }; then
20128 glibcxx_cv_func__hypot_use=yes
20129 else
20130 echo "$as_me: failed program was:" >&5
20131 sed 's/^/| /' conftest.$ac_ext >&5
20133 glibcxx_cv_func__hypot_use=no
20135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20136 ac_ext=c
20137 ac_cpp='$CPP $CPPFLAGS'
20138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20146 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
20147 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
20149 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20151 for ac_func in _hypot
20153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20154 echo "$as_me:$LINENO: checking for $ac_func" >&5
20155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20156 if eval "test \"\${$as_ac_var+set}\" = set"; then
20157 echo $ECHO_N "(cached) $ECHO_C" >&6
20158 else
20159 if test x$gcc_no_link = xyes; then
20160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20162 { (exit 1); exit 1; }; }
20164 cat >conftest.$ac_ext <<_ACEOF
20165 /* confdefs.h. */
20166 _ACEOF
20167 cat confdefs.h >>conftest.$ac_ext
20168 cat >>conftest.$ac_ext <<_ACEOF
20169 /* end confdefs.h. */
20170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20172 #define $ac_func innocuous_$ac_func
20174 /* System header to define __stub macros and hopefully few prototypes,
20175 which can conflict with char $ac_func (); below.
20176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20177 <limits.h> exists even on freestanding compilers. */
20179 #ifdef __STDC__
20180 # include <limits.h>
20181 #else
20182 # include <assert.h>
20183 #endif
20185 #undef $ac_func
20187 /* Override any gcc2 internal prototype to avoid an error. */
20188 #ifdef __cplusplus
20189 extern "C"
20191 #endif
20192 /* We use char because int might match the return type of a gcc2
20193 builtin and then its argument prototype would still apply. */
20194 char $ac_func ();
20195 /* The GNU C library defines this for functions which it implements
20196 to always fail with ENOSYS. Some functions are actually named
20197 something starting with __ and the normal name is an alias. */
20198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20199 choke me
20200 #else
20201 char (*f) () = $ac_func;
20202 #endif
20203 #ifdef __cplusplus
20205 #endif
20208 main ()
20210 return f != $ac_func;
20212 return 0;
20214 _ACEOF
20215 rm -f conftest.$ac_objext conftest$ac_exeext
20216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20217 (eval $ac_link) 2>conftest.er1
20218 ac_status=$?
20219 grep -v '^ *+' conftest.er1 >conftest.err
20220 rm -f conftest.er1
20221 cat conftest.err >&5
20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20223 (exit $ac_status); } &&
20224 { ac_try='test -z "$ac_c_werror_flag"
20225 || test ! -s conftest.err'
20226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20227 (eval $ac_try) 2>&5
20228 ac_status=$?
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); }; } &&
20231 { ac_try='test -s conftest$ac_exeext'
20232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20233 (eval $ac_try) 2>&5
20234 ac_status=$?
20235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20236 (exit $ac_status); }; }; then
20237 eval "$as_ac_var=yes"
20238 else
20239 echo "$as_me: failed program was:" >&5
20240 sed 's/^/| /' conftest.$ac_ext >&5
20242 eval "$as_ac_var=no"
20244 rm -f conftest.err conftest.$ac_objext \
20245 conftest$ac_exeext conftest.$ac_ext
20247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20249 if test `eval echo '${'$as_ac_var'}'` = yes; then
20250 cat >>confdefs.h <<_ACEOF
20251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20252 _ACEOF
20255 done
20265 echo "$as_me:$LINENO: checking for float trig functions" >&5
20266 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
20267 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
20268 echo $ECHO_N "(cached) $ECHO_C" >&6
20269 else
20273 ac_ext=cc
20274 ac_cpp='$CXXCPP $CPPFLAGS'
20275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20279 cat >conftest.$ac_ext <<_ACEOF
20280 /* confdefs.h. */
20281 _ACEOF
20282 cat confdefs.h >>conftest.$ac_ext
20283 cat >>conftest.$ac_ext <<_ACEOF
20284 /* end confdefs.h. */
20285 #include <math.h>
20287 main ()
20289 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20291 return 0;
20293 _ACEOF
20294 rm -f conftest.$ac_objext
20295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20296 (eval $ac_compile) 2>conftest.er1
20297 ac_status=$?
20298 grep -v '^ *+' conftest.er1 >conftest.err
20299 rm -f conftest.er1
20300 cat conftest.err >&5
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); } &&
20303 { ac_try='test -z "$ac_cxx_werror_flag"
20304 || test ! -s conftest.err'
20305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20306 (eval $ac_try) 2>&5
20307 ac_status=$?
20308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309 (exit $ac_status); }; } &&
20310 { ac_try='test -s conftest.$ac_objext'
20311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20312 (eval $ac_try) 2>&5
20313 ac_status=$?
20314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315 (exit $ac_status); }; }; then
20316 glibcxx_cv_func_float_trig_use=yes
20317 else
20318 echo "$as_me: failed program was:" >&5
20319 sed 's/^/| /' conftest.$ac_ext >&5
20321 glibcxx_cv_func_float_trig_use=no
20323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20324 ac_ext=c
20325 ac_cpp='$CPP $CPPFLAGS'
20326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20332 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
20333 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
20334 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20344 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20347 echo "$as_me:$LINENO: checking for $ac_func" >&5
20348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20349 if eval "test \"\${$as_ac_var+set}\" = set"; then
20350 echo $ECHO_N "(cached) $ECHO_C" >&6
20351 else
20352 if test x$gcc_no_link = xyes; then
20353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20355 { (exit 1); exit 1; }; }
20357 cat >conftest.$ac_ext <<_ACEOF
20358 /* confdefs.h. */
20359 _ACEOF
20360 cat confdefs.h >>conftest.$ac_ext
20361 cat >>conftest.$ac_ext <<_ACEOF
20362 /* end confdefs.h. */
20363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20365 #define $ac_func innocuous_$ac_func
20367 /* System header to define __stub macros and hopefully few prototypes,
20368 which can conflict with char $ac_func (); below.
20369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20370 <limits.h> exists even on freestanding compilers. */
20372 #ifdef __STDC__
20373 # include <limits.h>
20374 #else
20375 # include <assert.h>
20376 #endif
20378 #undef $ac_func
20380 /* Override any gcc2 internal prototype to avoid an error. */
20381 #ifdef __cplusplus
20382 extern "C"
20384 #endif
20385 /* We use char because int might match the return type of a gcc2
20386 builtin and then its argument prototype would still apply. */
20387 char $ac_func ();
20388 /* The GNU C library defines this for functions which it implements
20389 to always fail with ENOSYS. Some functions are actually named
20390 something starting with __ and the normal name is an alias. */
20391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20392 choke me
20393 #else
20394 char (*f) () = $ac_func;
20395 #endif
20396 #ifdef __cplusplus
20398 #endif
20401 main ()
20403 return f != $ac_func;
20405 return 0;
20407 _ACEOF
20408 rm -f conftest.$ac_objext conftest$ac_exeext
20409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20410 (eval $ac_link) 2>conftest.er1
20411 ac_status=$?
20412 grep -v '^ *+' conftest.er1 >conftest.err
20413 rm -f conftest.er1
20414 cat conftest.err >&5
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); } &&
20417 { ac_try='test -z "$ac_c_werror_flag"
20418 || test ! -s conftest.err'
20419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20420 (eval $ac_try) 2>&5
20421 ac_status=$?
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); }; } &&
20424 { ac_try='test -s conftest$ac_exeext'
20425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20426 (eval $ac_try) 2>&5
20427 ac_status=$?
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); }; }; then
20430 eval "$as_ac_var=yes"
20431 else
20432 echo "$as_me: failed program was:" >&5
20433 sed 's/^/| /' conftest.$ac_ext >&5
20435 eval "$as_ac_var=no"
20437 rm -f conftest.err conftest.$ac_objext \
20438 conftest$ac_exeext conftest.$ac_ext
20440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20442 if test `eval echo '${'$as_ac_var'}'` = yes; then
20443 cat >>confdefs.h <<_ACEOF
20444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20445 _ACEOF
20448 done
20450 else
20451 echo "$as_me:$LINENO: checking for _float trig functions" >&5
20452 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
20453 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
20454 echo $ECHO_N "(cached) $ECHO_C" >&6
20455 else
20459 ac_ext=cc
20460 ac_cpp='$CXXCPP $CPPFLAGS'
20461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20465 cat >conftest.$ac_ext <<_ACEOF
20466 /* confdefs.h. */
20467 _ACEOF
20468 cat confdefs.h >>conftest.$ac_ext
20469 cat >>conftest.$ac_ext <<_ACEOF
20470 /* end confdefs.h. */
20471 #include <math.h>
20473 main ()
20475 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20477 return 0;
20479 _ACEOF
20480 rm -f conftest.$ac_objext
20481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20482 (eval $ac_compile) 2>conftest.er1
20483 ac_status=$?
20484 grep -v '^ *+' conftest.er1 >conftest.err
20485 rm -f conftest.er1
20486 cat conftest.err >&5
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); } &&
20489 { ac_try='test -z "$ac_cxx_werror_flag"
20490 || test ! -s conftest.err'
20491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20492 (eval $ac_try) 2>&5
20493 ac_status=$?
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); }; } &&
20496 { ac_try='test -s conftest.$ac_objext'
20497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20498 (eval $ac_try) 2>&5
20499 ac_status=$?
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); }; }; then
20502 glibcxx_cv_func__float_trig_use=yes
20503 else
20504 echo "$as_me: failed program was:" >&5
20505 sed 's/^/| /' conftest.$ac_ext >&5
20507 glibcxx_cv_func__float_trig_use=no
20509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20510 ac_ext=c
20511 ac_cpp='$CPP $CPPFLAGS'
20512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
20519 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
20520 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20530 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20533 echo "$as_me:$LINENO: checking for $ac_func" >&5
20534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20535 if eval "test \"\${$as_ac_var+set}\" = set"; then
20536 echo $ECHO_N "(cached) $ECHO_C" >&6
20537 else
20538 if test x$gcc_no_link = xyes; then
20539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20541 { (exit 1); exit 1; }; }
20543 cat >conftest.$ac_ext <<_ACEOF
20544 /* confdefs.h. */
20545 _ACEOF
20546 cat confdefs.h >>conftest.$ac_ext
20547 cat >>conftest.$ac_ext <<_ACEOF
20548 /* end confdefs.h. */
20549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20551 #define $ac_func innocuous_$ac_func
20553 /* System header to define __stub macros and hopefully few prototypes,
20554 which can conflict with char $ac_func (); below.
20555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20556 <limits.h> exists even on freestanding compilers. */
20558 #ifdef __STDC__
20559 # include <limits.h>
20560 #else
20561 # include <assert.h>
20562 #endif
20564 #undef $ac_func
20566 /* Override any gcc2 internal prototype to avoid an error. */
20567 #ifdef __cplusplus
20568 extern "C"
20570 #endif
20571 /* We use char because int might match the return type of a gcc2
20572 builtin and then its argument prototype would still apply. */
20573 char $ac_func ();
20574 /* The GNU C library defines this for functions which it implements
20575 to always fail with ENOSYS. Some functions are actually named
20576 something starting with __ and the normal name is an alias. */
20577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20578 choke me
20579 #else
20580 char (*f) () = $ac_func;
20581 #endif
20582 #ifdef __cplusplus
20584 #endif
20587 main ()
20589 return f != $ac_func;
20591 return 0;
20593 _ACEOF
20594 rm -f conftest.$ac_objext conftest$ac_exeext
20595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20596 (eval $ac_link) 2>conftest.er1
20597 ac_status=$?
20598 grep -v '^ *+' conftest.er1 >conftest.err
20599 rm -f conftest.er1
20600 cat conftest.err >&5
20601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20602 (exit $ac_status); } &&
20603 { ac_try='test -z "$ac_c_werror_flag"
20604 || test ! -s conftest.err'
20605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20606 (eval $ac_try) 2>&5
20607 ac_status=$?
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); }; } &&
20610 { ac_try='test -s conftest$ac_exeext'
20611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20612 (eval $ac_try) 2>&5
20613 ac_status=$?
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); }; }; then
20616 eval "$as_ac_var=yes"
20617 else
20618 echo "$as_me: failed program was:" >&5
20619 sed 's/^/| /' conftest.$ac_ext >&5
20621 eval "$as_ac_var=no"
20623 rm -f conftest.err conftest.$ac_objext \
20624 conftest$ac_exeext conftest.$ac_ext
20626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20628 if test `eval echo '${'$as_ac_var'}'` = yes; then
20629 cat >>confdefs.h <<_ACEOF
20630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20631 _ACEOF
20634 done
20652 echo "$as_me:$LINENO: checking for float round functions" >&5
20653 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
20654 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
20655 echo $ECHO_N "(cached) $ECHO_C" >&6
20656 else
20660 ac_ext=cc
20661 ac_cpp='$CXXCPP $CPPFLAGS'
20662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20666 cat >conftest.$ac_ext <<_ACEOF
20667 /* confdefs.h. */
20668 _ACEOF
20669 cat confdefs.h >>conftest.$ac_ext
20670 cat >>conftest.$ac_ext <<_ACEOF
20671 /* end confdefs.h. */
20672 #include <math.h>
20674 main ()
20676 ceilf (0); floorf (0);
20678 return 0;
20680 _ACEOF
20681 rm -f conftest.$ac_objext
20682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20683 (eval $ac_compile) 2>conftest.er1
20684 ac_status=$?
20685 grep -v '^ *+' conftest.er1 >conftest.err
20686 rm -f conftest.er1
20687 cat conftest.err >&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); } &&
20690 { ac_try='test -z "$ac_cxx_werror_flag"
20691 || test ! -s conftest.err'
20692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20693 (eval $ac_try) 2>&5
20694 ac_status=$?
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); }; } &&
20697 { ac_try='test -s conftest.$ac_objext'
20698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20699 (eval $ac_try) 2>&5
20700 ac_status=$?
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); }; }; then
20703 glibcxx_cv_func_float_round_use=yes
20704 else
20705 echo "$as_me: failed program was:" >&5
20706 sed 's/^/| /' conftest.$ac_ext >&5
20708 glibcxx_cv_func_float_round_use=no
20710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20711 ac_ext=c
20712 ac_cpp='$CPP $CPPFLAGS'
20713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20719 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
20720 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
20721 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20724 for ac_func in ceilf floorf
20726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20727 echo "$as_me:$LINENO: checking for $ac_func" >&5
20728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20729 if eval "test \"\${$as_ac_var+set}\" = set"; then
20730 echo $ECHO_N "(cached) $ECHO_C" >&6
20731 else
20732 if test x$gcc_no_link = xyes; then
20733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20735 { (exit 1); exit 1; }; }
20737 cat >conftest.$ac_ext <<_ACEOF
20738 /* confdefs.h. */
20739 _ACEOF
20740 cat confdefs.h >>conftest.$ac_ext
20741 cat >>conftest.$ac_ext <<_ACEOF
20742 /* end confdefs.h. */
20743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20745 #define $ac_func innocuous_$ac_func
20747 /* System header to define __stub macros and hopefully few prototypes,
20748 which can conflict with char $ac_func (); below.
20749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20750 <limits.h> exists even on freestanding compilers. */
20752 #ifdef __STDC__
20753 # include <limits.h>
20754 #else
20755 # include <assert.h>
20756 #endif
20758 #undef $ac_func
20760 /* Override any gcc2 internal prototype to avoid an error. */
20761 #ifdef __cplusplus
20762 extern "C"
20764 #endif
20765 /* We use char because int might match the return type of a gcc2
20766 builtin and then its argument prototype would still apply. */
20767 char $ac_func ();
20768 /* The GNU C library defines this for functions which it implements
20769 to always fail with ENOSYS. Some functions are actually named
20770 something starting with __ and the normal name is an alias. */
20771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20772 choke me
20773 #else
20774 char (*f) () = $ac_func;
20775 #endif
20776 #ifdef __cplusplus
20778 #endif
20781 main ()
20783 return f != $ac_func;
20785 return 0;
20787 _ACEOF
20788 rm -f conftest.$ac_objext conftest$ac_exeext
20789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20790 (eval $ac_link) 2>conftest.er1
20791 ac_status=$?
20792 grep -v '^ *+' conftest.er1 >conftest.err
20793 rm -f conftest.er1
20794 cat conftest.err >&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); } &&
20797 { ac_try='test -z "$ac_c_werror_flag"
20798 || test ! -s conftest.err'
20799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20800 (eval $ac_try) 2>&5
20801 ac_status=$?
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); }; } &&
20804 { ac_try='test -s conftest$ac_exeext'
20805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20806 (eval $ac_try) 2>&5
20807 ac_status=$?
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); }; }; then
20810 eval "$as_ac_var=yes"
20811 else
20812 echo "$as_me: failed program was:" >&5
20813 sed 's/^/| /' conftest.$ac_ext >&5
20815 eval "$as_ac_var=no"
20817 rm -f conftest.err conftest.$ac_objext \
20818 conftest$ac_exeext conftest.$ac_ext
20820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20822 if test `eval echo '${'$as_ac_var'}'` = yes; then
20823 cat >>confdefs.h <<_ACEOF
20824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20825 _ACEOF
20828 done
20830 else
20831 echo "$as_me:$LINENO: checking for _float round functions" >&5
20832 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
20833 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
20834 echo $ECHO_N "(cached) $ECHO_C" >&6
20835 else
20839 ac_ext=cc
20840 ac_cpp='$CXXCPP $CPPFLAGS'
20841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20845 cat >conftest.$ac_ext <<_ACEOF
20846 /* confdefs.h. */
20847 _ACEOF
20848 cat confdefs.h >>conftest.$ac_ext
20849 cat >>conftest.$ac_ext <<_ACEOF
20850 /* end confdefs.h. */
20851 #include <math.h>
20853 main ()
20855 _ceilf (0); _floorf (0);
20857 return 0;
20859 _ACEOF
20860 rm -f conftest.$ac_objext
20861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20862 (eval $ac_compile) 2>conftest.er1
20863 ac_status=$?
20864 grep -v '^ *+' conftest.er1 >conftest.err
20865 rm -f conftest.er1
20866 cat conftest.err >&5
20867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20868 (exit $ac_status); } &&
20869 { ac_try='test -z "$ac_cxx_werror_flag"
20870 || test ! -s conftest.err'
20871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20872 (eval $ac_try) 2>&5
20873 ac_status=$?
20874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20875 (exit $ac_status); }; } &&
20876 { ac_try='test -s conftest.$ac_objext'
20877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20878 (eval $ac_try) 2>&5
20879 ac_status=$?
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); }; }; then
20882 glibcxx_cv_func__float_round_use=yes
20883 else
20884 echo "$as_me: failed program was:" >&5
20885 sed 's/^/| /' conftest.$ac_ext >&5
20887 glibcxx_cv_func__float_round_use=no
20889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20890 ac_ext=c
20891 ac_cpp='$CPP $CPPFLAGS'
20892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20898 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
20899 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
20900 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20903 for ac_func in _ceilf _floorf
20905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20906 echo "$as_me:$LINENO: checking for $ac_func" >&5
20907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20908 if eval "test \"\${$as_ac_var+set}\" = set"; then
20909 echo $ECHO_N "(cached) $ECHO_C" >&6
20910 else
20911 if test x$gcc_no_link = xyes; then
20912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20914 { (exit 1); exit 1; }; }
20916 cat >conftest.$ac_ext <<_ACEOF
20917 /* confdefs.h. */
20918 _ACEOF
20919 cat confdefs.h >>conftest.$ac_ext
20920 cat >>conftest.$ac_ext <<_ACEOF
20921 /* end confdefs.h. */
20922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20924 #define $ac_func innocuous_$ac_func
20926 /* System header to define __stub macros and hopefully few prototypes,
20927 which can conflict with char $ac_func (); below.
20928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20929 <limits.h> exists even on freestanding compilers. */
20931 #ifdef __STDC__
20932 # include <limits.h>
20933 #else
20934 # include <assert.h>
20935 #endif
20937 #undef $ac_func
20939 /* Override any gcc2 internal prototype to avoid an error. */
20940 #ifdef __cplusplus
20941 extern "C"
20943 #endif
20944 /* We use char because int might match the return type of a gcc2
20945 builtin and then its argument prototype would still apply. */
20946 char $ac_func ();
20947 /* The GNU C library defines this for functions which it implements
20948 to always fail with ENOSYS. Some functions are actually named
20949 something starting with __ and the normal name is an alias. */
20950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20951 choke me
20952 #else
20953 char (*f) () = $ac_func;
20954 #endif
20955 #ifdef __cplusplus
20957 #endif
20960 main ()
20962 return f != $ac_func;
20964 return 0;
20966 _ACEOF
20967 rm -f conftest.$ac_objext conftest$ac_exeext
20968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20969 (eval $ac_link) 2>conftest.er1
20970 ac_status=$?
20971 grep -v '^ *+' conftest.er1 >conftest.err
20972 rm -f conftest.er1
20973 cat conftest.err >&5
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); } &&
20976 { ac_try='test -z "$ac_c_werror_flag"
20977 || test ! -s conftest.err'
20978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20979 (eval $ac_try) 2>&5
20980 ac_status=$?
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); }; } &&
20983 { ac_try='test -s conftest$ac_exeext'
20984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20985 (eval $ac_try) 2>&5
20986 ac_status=$?
20987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988 (exit $ac_status); }; }; then
20989 eval "$as_ac_var=yes"
20990 else
20991 echo "$as_me: failed program was:" >&5
20992 sed 's/^/| /' conftest.$ac_ext >&5
20994 eval "$as_ac_var=no"
20996 rm -f conftest.err conftest.$ac_objext \
20997 conftest$ac_exeext conftest.$ac_ext
20999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21001 if test `eval echo '${'$as_ac_var'}'` = yes; then
21002 cat >>confdefs.h <<_ACEOF
21003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21004 _ACEOF
21007 done
21019 echo "$as_me:$LINENO: checking for expf declaration" >&5
21020 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
21021 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21022 if test "${glibcxx_cv_func_expf_use+set}" = set; then
21023 echo $ECHO_N "(cached) $ECHO_C" >&6
21024 else
21028 ac_ext=cc
21029 ac_cpp='$CXXCPP $CPPFLAGS'
21030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21034 cat >conftest.$ac_ext <<_ACEOF
21035 /* confdefs.h. */
21036 _ACEOF
21037 cat confdefs.h >>conftest.$ac_ext
21038 cat >>conftest.$ac_ext <<_ACEOF
21039 /* end confdefs.h. */
21040 #include <math.h>
21041 #ifdef HAVE_IEEEFP_H
21042 #include <ieeefp.h>
21043 #endif
21046 main ()
21048 expf(0);
21050 return 0;
21052 _ACEOF
21053 rm -f conftest.$ac_objext
21054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21055 (eval $ac_compile) 2>conftest.er1
21056 ac_status=$?
21057 grep -v '^ *+' conftest.er1 >conftest.err
21058 rm -f conftest.er1
21059 cat conftest.err >&5
21060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 (exit $ac_status); } &&
21062 { ac_try='test -z "$ac_cxx_werror_flag"
21063 || test ! -s conftest.err'
21064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21065 (eval $ac_try) 2>&5
21066 ac_status=$?
21067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068 (exit $ac_status); }; } &&
21069 { ac_try='test -s conftest.$ac_objext'
21070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21071 (eval $ac_try) 2>&5
21072 ac_status=$?
21073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21074 (exit $ac_status); }; }; then
21075 glibcxx_cv_func_expf_use=yes
21076 else
21077 echo "$as_me: failed program was:" >&5
21078 sed 's/^/| /' conftest.$ac_ext >&5
21080 glibcxx_cv_func_expf_use=no
21082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21083 ac_ext=c
21084 ac_cpp='$CPP $CPPFLAGS'
21085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21093 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
21094 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
21096 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21098 for ac_func in expf
21100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21101 echo "$as_me:$LINENO: checking for $ac_func" >&5
21102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21103 if eval "test \"\${$as_ac_var+set}\" = set"; then
21104 echo $ECHO_N "(cached) $ECHO_C" >&6
21105 else
21106 if test x$gcc_no_link = xyes; then
21107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21109 { (exit 1); exit 1; }; }
21111 cat >conftest.$ac_ext <<_ACEOF
21112 /* confdefs.h. */
21113 _ACEOF
21114 cat confdefs.h >>conftest.$ac_ext
21115 cat >>conftest.$ac_ext <<_ACEOF
21116 /* end confdefs.h. */
21117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21119 #define $ac_func innocuous_$ac_func
21121 /* System header to define __stub macros and hopefully few prototypes,
21122 which can conflict with char $ac_func (); below.
21123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21124 <limits.h> exists even on freestanding compilers. */
21126 #ifdef __STDC__
21127 # include <limits.h>
21128 #else
21129 # include <assert.h>
21130 #endif
21132 #undef $ac_func
21134 /* Override any gcc2 internal prototype to avoid an error. */
21135 #ifdef __cplusplus
21136 extern "C"
21138 #endif
21139 /* We use char because int might match the return type of a gcc2
21140 builtin and then its argument prototype would still apply. */
21141 char $ac_func ();
21142 /* The GNU C library defines this for functions which it implements
21143 to always fail with ENOSYS. Some functions are actually named
21144 something starting with __ and the normal name is an alias. */
21145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21146 choke me
21147 #else
21148 char (*f) () = $ac_func;
21149 #endif
21150 #ifdef __cplusplus
21152 #endif
21155 main ()
21157 return f != $ac_func;
21159 return 0;
21161 _ACEOF
21162 rm -f conftest.$ac_objext conftest$ac_exeext
21163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21164 (eval $ac_link) 2>conftest.er1
21165 ac_status=$?
21166 grep -v '^ *+' conftest.er1 >conftest.err
21167 rm -f conftest.er1
21168 cat conftest.err >&5
21169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21170 (exit $ac_status); } &&
21171 { ac_try='test -z "$ac_c_werror_flag"
21172 || test ! -s conftest.err'
21173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21174 (eval $ac_try) 2>&5
21175 ac_status=$?
21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); }; } &&
21178 { ac_try='test -s conftest$ac_exeext'
21179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21180 (eval $ac_try) 2>&5
21181 ac_status=$?
21182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183 (exit $ac_status); }; }; then
21184 eval "$as_ac_var=yes"
21185 else
21186 echo "$as_me: failed program was:" >&5
21187 sed 's/^/| /' conftest.$ac_ext >&5
21189 eval "$as_ac_var=no"
21191 rm -f conftest.err conftest.$ac_objext \
21192 conftest$ac_exeext conftest.$ac_ext
21194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21196 if test `eval echo '${'$as_ac_var'}'` = yes; then
21197 cat >>confdefs.h <<_ACEOF
21198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21199 _ACEOF
21202 done
21204 else
21206 echo "$as_me:$LINENO: checking for _expf declaration" >&5
21207 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
21208 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21209 if test "${glibcxx_cv_func__expf_use+set}" = set; then
21210 echo $ECHO_N "(cached) $ECHO_C" >&6
21211 else
21215 ac_ext=cc
21216 ac_cpp='$CXXCPP $CPPFLAGS'
21217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21221 cat >conftest.$ac_ext <<_ACEOF
21222 /* confdefs.h. */
21223 _ACEOF
21224 cat confdefs.h >>conftest.$ac_ext
21225 cat >>conftest.$ac_ext <<_ACEOF
21226 /* end confdefs.h. */
21227 #include <math.h>
21228 #ifdef HAVE_IEEEFP_H
21229 #include <ieeefp.h>
21230 #endif
21233 main ()
21235 _expf(0);
21237 return 0;
21239 _ACEOF
21240 rm -f conftest.$ac_objext
21241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21242 (eval $ac_compile) 2>conftest.er1
21243 ac_status=$?
21244 grep -v '^ *+' conftest.er1 >conftest.err
21245 rm -f conftest.er1
21246 cat conftest.err >&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); } &&
21249 { ac_try='test -z "$ac_cxx_werror_flag"
21250 || test ! -s conftest.err'
21251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252 (eval $ac_try) 2>&5
21253 ac_status=$?
21254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); }; } &&
21256 { ac_try='test -s conftest.$ac_objext'
21257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21258 (eval $ac_try) 2>&5
21259 ac_status=$?
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); }; }; then
21262 glibcxx_cv_func__expf_use=yes
21263 else
21264 echo "$as_me: failed program was:" >&5
21265 sed 's/^/| /' conftest.$ac_ext >&5
21267 glibcxx_cv_func__expf_use=no
21269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21270 ac_ext=c
21271 ac_cpp='$CPP $CPPFLAGS'
21272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21280 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
21281 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
21283 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21285 for ac_func in _expf
21287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21288 echo "$as_me:$LINENO: checking for $ac_func" >&5
21289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21290 if eval "test \"\${$as_ac_var+set}\" = set"; then
21291 echo $ECHO_N "(cached) $ECHO_C" >&6
21292 else
21293 if test x$gcc_no_link = xyes; then
21294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21296 { (exit 1); exit 1; }; }
21298 cat >conftest.$ac_ext <<_ACEOF
21299 /* confdefs.h. */
21300 _ACEOF
21301 cat confdefs.h >>conftest.$ac_ext
21302 cat >>conftest.$ac_ext <<_ACEOF
21303 /* end confdefs.h. */
21304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21306 #define $ac_func innocuous_$ac_func
21308 /* System header to define __stub macros and hopefully few prototypes,
21309 which can conflict with char $ac_func (); below.
21310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21311 <limits.h> exists even on freestanding compilers. */
21313 #ifdef __STDC__
21314 # include <limits.h>
21315 #else
21316 # include <assert.h>
21317 #endif
21319 #undef $ac_func
21321 /* Override any gcc2 internal prototype to avoid an error. */
21322 #ifdef __cplusplus
21323 extern "C"
21325 #endif
21326 /* We use char because int might match the return type of a gcc2
21327 builtin and then its argument prototype would still apply. */
21328 char $ac_func ();
21329 /* The GNU C library defines this for functions which it implements
21330 to always fail with ENOSYS. Some functions are actually named
21331 something starting with __ and the normal name is an alias. */
21332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21333 choke me
21334 #else
21335 char (*f) () = $ac_func;
21336 #endif
21337 #ifdef __cplusplus
21339 #endif
21342 main ()
21344 return f != $ac_func;
21346 return 0;
21348 _ACEOF
21349 rm -f conftest.$ac_objext conftest$ac_exeext
21350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21351 (eval $ac_link) 2>conftest.er1
21352 ac_status=$?
21353 grep -v '^ *+' conftest.er1 >conftest.err
21354 rm -f conftest.er1
21355 cat conftest.err >&5
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); } &&
21358 { ac_try='test -z "$ac_c_werror_flag"
21359 || test ! -s conftest.err'
21360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21361 (eval $ac_try) 2>&5
21362 ac_status=$?
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); }; } &&
21365 { ac_try='test -s conftest$ac_exeext'
21366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21367 (eval $ac_try) 2>&5
21368 ac_status=$?
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); }; }; then
21371 eval "$as_ac_var=yes"
21372 else
21373 echo "$as_me: failed program was:" >&5
21374 sed 's/^/| /' conftest.$ac_ext >&5
21376 eval "$as_ac_var=no"
21378 rm -f conftest.err conftest.$ac_objext \
21379 conftest$ac_exeext conftest.$ac_ext
21381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21383 if test `eval echo '${'$as_ac_var'}'` = yes; then
21384 cat >>confdefs.h <<_ACEOF
21385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21386 _ACEOF
21389 done
21399 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
21400 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
21401 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21402 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
21403 echo $ECHO_N "(cached) $ECHO_C" >&6
21404 else
21408 ac_ext=cc
21409 ac_cpp='$CXXCPP $CPPFLAGS'
21410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21414 cat >conftest.$ac_ext <<_ACEOF
21415 /* confdefs.h. */
21416 _ACEOF
21417 cat confdefs.h >>conftest.$ac_ext
21418 cat >>conftest.$ac_ext <<_ACEOF
21419 /* end confdefs.h. */
21420 #include <math.h>
21421 #ifdef HAVE_IEEEFP_H
21422 #include <ieeefp.h>
21423 #endif
21426 main ()
21428 isnanf(0);
21430 return 0;
21432 _ACEOF
21433 rm -f conftest.$ac_objext
21434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21435 (eval $ac_compile) 2>conftest.er1
21436 ac_status=$?
21437 grep -v '^ *+' conftest.er1 >conftest.err
21438 rm -f conftest.er1
21439 cat conftest.err >&5
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); } &&
21442 { ac_try='test -z "$ac_cxx_werror_flag"
21443 || test ! -s conftest.err'
21444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21445 (eval $ac_try) 2>&5
21446 ac_status=$?
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); }; } &&
21449 { ac_try='test -s conftest.$ac_objext'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21452 ac_status=$?
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; }; then
21455 glibcxx_cv_func_isnanf_use=yes
21456 else
21457 echo "$as_me: failed program was:" >&5
21458 sed 's/^/| /' conftest.$ac_ext >&5
21460 glibcxx_cv_func_isnanf_use=no
21462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21463 ac_ext=c
21464 ac_cpp='$CPP $CPPFLAGS'
21465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21473 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
21474 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
21476 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21478 for ac_func in isnanf
21480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21481 echo "$as_me:$LINENO: checking for $ac_func" >&5
21482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21483 if eval "test \"\${$as_ac_var+set}\" = set"; then
21484 echo $ECHO_N "(cached) $ECHO_C" >&6
21485 else
21486 if test x$gcc_no_link = xyes; then
21487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21489 { (exit 1); exit 1; }; }
21491 cat >conftest.$ac_ext <<_ACEOF
21492 /* confdefs.h. */
21493 _ACEOF
21494 cat confdefs.h >>conftest.$ac_ext
21495 cat >>conftest.$ac_ext <<_ACEOF
21496 /* end confdefs.h. */
21497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21499 #define $ac_func innocuous_$ac_func
21501 /* System header to define __stub macros and hopefully few prototypes,
21502 which can conflict with char $ac_func (); below.
21503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21504 <limits.h> exists even on freestanding compilers. */
21506 #ifdef __STDC__
21507 # include <limits.h>
21508 #else
21509 # include <assert.h>
21510 #endif
21512 #undef $ac_func
21514 /* Override any gcc2 internal prototype to avoid an error. */
21515 #ifdef __cplusplus
21516 extern "C"
21518 #endif
21519 /* We use char because int might match the return type of a gcc2
21520 builtin and then its argument prototype would still apply. */
21521 char $ac_func ();
21522 /* The GNU C library defines this for functions which it implements
21523 to always fail with ENOSYS. Some functions are actually named
21524 something starting with __ and the normal name is an alias. */
21525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21526 choke me
21527 #else
21528 char (*f) () = $ac_func;
21529 #endif
21530 #ifdef __cplusplus
21532 #endif
21535 main ()
21537 return f != $ac_func;
21539 return 0;
21541 _ACEOF
21542 rm -f conftest.$ac_objext conftest$ac_exeext
21543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21544 (eval $ac_link) 2>conftest.er1
21545 ac_status=$?
21546 grep -v '^ *+' conftest.er1 >conftest.err
21547 rm -f conftest.er1
21548 cat conftest.err >&5
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); } &&
21551 { ac_try='test -z "$ac_c_werror_flag"
21552 || test ! -s conftest.err'
21553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21554 (eval $ac_try) 2>&5
21555 ac_status=$?
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); }; } &&
21558 { ac_try='test -s conftest$ac_exeext'
21559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21560 (eval $ac_try) 2>&5
21561 ac_status=$?
21562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563 (exit $ac_status); }; }; then
21564 eval "$as_ac_var=yes"
21565 else
21566 echo "$as_me: failed program was:" >&5
21567 sed 's/^/| /' conftest.$ac_ext >&5
21569 eval "$as_ac_var=no"
21571 rm -f conftest.err conftest.$ac_objext \
21572 conftest$ac_exeext conftest.$ac_ext
21574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21576 if test `eval echo '${'$as_ac_var'}'` = yes; then
21577 cat >>confdefs.h <<_ACEOF
21578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21579 _ACEOF
21582 done
21584 else
21586 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
21587 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
21588 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21589 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
21590 echo $ECHO_N "(cached) $ECHO_C" >&6
21591 else
21595 ac_ext=cc
21596 ac_cpp='$CXXCPP $CPPFLAGS'
21597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21601 cat >conftest.$ac_ext <<_ACEOF
21602 /* confdefs.h. */
21603 _ACEOF
21604 cat confdefs.h >>conftest.$ac_ext
21605 cat >>conftest.$ac_ext <<_ACEOF
21606 /* end confdefs.h. */
21607 #include <math.h>
21608 #ifdef HAVE_IEEEFP_H
21609 #include <ieeefp.h>
21610 #endif
21613 main ()
21615 _isnanf(0);
21617 return 0;
21619 _ACEOF
21620 rm -f conftest.$ac_objext
21621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21622 (eval $ac_compile) 2>conftest.er1
21623 ac_status=$?
21624 grep -v '^ *+' conftest.er1 >conftest.err
21625 rm -f conftest.er1
21626 cat conftest.err >&5
21627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21628 (exit $ac_status); } &&
21629 { ac_try='test -z "$ac_cxx_werror_flag"
21630 || test ! -s conftest.err'
21631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21632 (eval $ac_try) 2>&5
21633 ac_status=$?
21634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635 (exit $ac_status); }; } &&
21636 { ac_try='test -s conftest.$ac_objext'
21637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21638 (eval $ac_try) 2>&5
21639 ac_status=$?
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); }; }; then
21642 glibcxx_cv_func__isnanf_use=yes
21643 else
21644 echo "$as_me: failed program was:" >&5
21645 sed 's/^/| /' conftest.$ac_ext >&5
21647 glibcxx_cv_func__isnanf_use=no
21649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21650 ac_ext=c
21651 ac_cpp='$CPP $CPPFLAGS'
21652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21660 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
21661 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
21663 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21665 for ac_func in _isnanf
21667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21668 echo "$as_me:$LINENO: checking for $ac_func" >&5
21669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21670 if eval "test \"\${$as_ac_var+set}\" = set"; then
21671 echo $ECHO_N "(cached) $ECHO_C" >&6
21672 else
21673 if test x$gcc_no_link = xyes; then
21674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21676 { (exit 1); exit 1; }; }
21678 cat >conftest.$ac_ext <<_ACEOF
21679 /* confdefs.h. */
21680 _ACEOF
21681 cat confdefs.h >>conftest.$ac_ext
21682 cat >>conftest.$ac_ext <<_ACEOF
21683 /* end confdefs.h. */
21684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21686 #define $ac_func innocuous_$ac_func
21688 /* System header to define __stub macros and hopefully few prototypes,
21689 which can conflict with char $ac_func (); below.
21690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21691 <limits.h> exists even on freestanding compilers. */
21693 #ifdef __STDC__
21694 # include <limits.h>
21695 #else
21696 # include <assert.h>
21697 #endif
21699 #undef $ac_func
21701 /* Override any gcc2 internal prototype to avoid an error. */
21702 #ifdef __cplusplus
21703 extern "C"
21705 #endif
21706 /* We use char because int might match the return type of a gcc2
21707 builtin and then its argument prototype would still apply. */
21708 char $ac_func ();
21709 /* The GNU C library defines this for functions which it implements
21710 to always fail with ENOSYS. Some functions are actually named
21711 something starting with __ and the normal name is an alias. */
21712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21713 choke me
21714 #else
21715 char (*f) () = $ac_func;
21716 #endif
21717 #ifdef __cplusplus
21719 #endif
21722 main ()
21724 return f != $ac_func;
21726 return 0;
21728 _ACEOF
21729 rm -f conftest.$ac_objext conftest$ac_exeext
21730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21731 (eval $ac_link) 2>conftest.er1
21732 ac_status=$?
21733 grep -v '^ *+' conftest.er1 >conftest.err
21734 rm -f conftest.er1
21735 cat conftest.err >&5
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); } &&
21738 { ac_try='test -z "$ac_c_werror_flag"
21739 || test ! -s conftest.err'
21740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21741 (eval $ac_try) 2>&5
21742 ac_status=$?
21743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744 (exit $ac_status); }; } &&
21745 { ac_try='test -s conftest$ac_exeext'
21746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21747 (eval $ac_try) 2>&5
21748 ac_status=$?
21749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21750 (exit $ac_status); }; }; then
21751 eval "$as_ac_var=yes"
21752 else
21753 echo "$as_me: failed program was:" >&5
21754 sed 's/^/| /' conftest.$ac_ext >&5
21756 eval "$as_ac_var=no"
21758 rm -f conftest.err conftest.$ac_objext \
21759 conftest$ac_exeext conftest.$ac_ext
21761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21763 if test `eval echo '${'$as_ac_var'}'` = yes; then
21764 cat >>confdefs.h <<_ACEOF
21765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21766 _ACEOF
21769 done
21779 echo "$as_me:$LINENO: checking for isinff declaration" >&5
21780 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
21781 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21782 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
21783 echo $ECHO_N "(cached) $ECHO_C" >&6
21784 else
21788 ac_ext=cc
21789 ac_cpp='$CXXCPP $CPPFLAGS'
21790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21794 cat >conftest.$ac_ext <<_ACEOF
21795 /* confdefs.h. */
21796 _ACEOF
21797 cat confdefs.h >>conftest.$ac_ext
21798 cat >>conftest.$ac_ext <<_ACEOF
21799 /* end confdefs.h. */
21800 #include <math.h>
21801 #ifdef HAVE_IEEEFP_H
21802 #include <ieeefp.h>
21803 #endif
21806 main ()
21808 isinff(0);
21810 return 0;
21812 _ACEOF
21813 rm -f conftest.$ac_objext
21814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21815 (eval $ac_compile) 2>conftest.er1
21816 ac_status=$?
21817 grep -v '^ *+' conftest.er1 >conftest.err
21818 rm -f conftest.er1
21819 cat conftest.err >&5
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); } &&
21822 { ac_try='test -z "$ac_cxx_werror_flag"
21823 || test ! -s conftest.err'
21824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21825 (eval $ac_try) 2>&5
21826 ac_status=$?
21827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828 (exit $ac_status); }; } &&
21829 { ac_try='test -s conftest.$ac_objext'
21830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21831 (eval $ac_try) 2>&5
21832 ac_status=$?
21833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21834 (exit $ac_status); }; }; then
21835 glibcxx_cv_func_isinff_use=yes
21836 else
21837 echo "$as_me: failed program was:" >&5
21838 sed 's/^/| /' conftest.$ac_ext >&5
21840 glibcxx_cv_func_isinff_use=no
21842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21843 ac_ext=c
21844 ac_cpp='$CPP $CPPFLAGS'
21845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21853 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
21854 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
21856 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21858 for ac_func in isinff
21860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21861 echo "$as_me:$LINENO: checking for $ac_func" >&5
21862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21863 if eval "test \"\${$as_ac_var+set}\" = set"; then
21864 echo $ECHO_N "(cached) $ECHO_C" >&6
21865 else
21866 if test x$gcc_no_link = xyes; then
21867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21869 { (exit 1); exit 1; }; }
21871 cat >conftest.$ac_ext <<_ACEOF
21872 /* confdefs.h. */
21873 _ACEOF
21874 cat confdefs.h >>conftest.$ac_ext
21875 cat >>conftest.$ac_ext <<_ACEOF
21876 /* end confdefs.h. */
21877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21879 #define $ac_func innocuous_$ac_func
21881 /* System header to define __stub macros and hopefully few prototypes,
21882 which can conflict with char $ac_func (); below.
21883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21884 <limits.h> exists even on freestanding compilers. */
21886 #ifdef __STDC__
21887 # include <limits.h>
21888 #else
21889 # include <assert.h>
21890 #endif
21892 #undef $ac_func
21894 /* Override any gcc2 internal prototype to avoid an error. */
21895 #ifdef __cplusplus
21896 extern "C"
21898 #endif
21899 /* We use char because int might match the return type of a gcc2
21900 builtin and then its argument prototype would still apply. */
21901 char $ac_func ();
21902 /* The GNU C library defines this for functions which it implements
21903 to always fail with ENOSYS. Some functions are actually named
21904 something starting with __ and the normal name is an alias. */
21905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21906 choke me
21907 #else
21908 char (*f) () = $ac_func;
21909 #endif
21910 #ifdef __cplusplus
21912 #endif
21915 main ()
21917 return f != $ac_func;
21919 return 0;
21921 _ACEOF
21922 rm -f conftest.$ac_objext conftest$ac_exeext
21923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21924 (eval $ac_link) 2>conftest.er1
21925 ac_status=$?
21926 grep -v '^ *+' conftest.er1 >conftest.err
21927 rm -f conftest.er1
21928 cat conftest.err >&5
21929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21930 (exit $ac_status); } &&
21931 { ac_try='test -z "$ac_c_werror_flag"
21932 || test ! -s conftest.err'
21933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21934 (eval $ac_try) 2>&5
21935 ac_status=$?
21936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21937 (exit $ac_status); }; } &&
21938 { ac_try='test -s conftest$ac_exeext'
21939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21940 (eval $ac_try) 2>&5
21941 ac_status=$?
21942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); }; }; then
21944 eval "$as_ac_var=yes"
21945 else
21946 echo "$as_me: failed program was:" >&5
21947 sed 's/^/| /' conftest.$ac_ext >&5
21949 eval "$as_ac_var=no"
21951 rm -f conftest.err conftest.$ac_objext \
21952 conftest$ac_exeext conftest.$ac_ext
21954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21956 if test `eval echo '${'$as_ac_var'}'` = yes; then
21957 cat >>confdefs.h <<_ACEOF
21958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21959 _ACEOF
21962 done
21964 else
21966 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
21967 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
21968 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21969 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
21970 echo $ECHO_N "(cached) $ECHO_C" >&6
21971 else
21975 ac_ext=cc
21976 ac_cpp='$CXXCPP $CPPFLAGS'
21977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21981 cat >conftest.$ac_ext <<_ACEOF
21982 /* confdefs.h. */
21983 _ACEOF
21984 cat confdefs.h >>conftest.$ac_ext
21985 cat >>conftest.$ac_ext <<_ACEOF
21986 /* end confdefs.h. */
21987 #include <math.h>
21988 #ifdef HAVE_IEEEFP_H
21989 #include <ieeefp.h>
21990 #endif
21993 main ()
21995 _isinff(0);
21997 return 0;
21999 _ACEOF
22000 rm -f conftest.$ac_objext
22001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22002 (eval $ac_compile) 2>conftest.er1
22003 ac_status=$?
22004 grep -v '^ *+' conftest.er1 >conftest.err
22005 rm -f conftest.er1
22006 cat conftest.err >&5
22007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22008 (exit $ac_status); } &&
22009 { ac_try='test -z "$ac_cxx_werror_flag"
22010 || test ! -s conftest.err'
22011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22012 (eval $ac_try) 2>&5
22013 ac_status=$?
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); }; } &&
22016 { ac_try='test -s conftest.$ac_objext'
22017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22018 (eval $ac_try) 2>&5
22019 ac_status=$?
22020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22021 (exit $ac_status); }; }; then
22022 glibcxx_cv_func__isinff_use=yes
22023 else
22024 echo "$as_me: failed program was:" >&5
22025 sed 's/^/| /' conftest.$ac_ext >&5
22027 glibcxx_cv_func__isinff_use=no
22029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22030 ac_ext=c
22031 ac_cpp='$CPP $CPPFLAGS'
22032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
22041 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
22043 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22045 for ac_func in _isinff
22047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22048 echo "$as_me:$LINENO: checking for $ac_func" >&5
22049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22050 if eval "test \"\${$as_ac_var+set}\" = set"; then
22051 echo $ECHO_N "(cached) $ECHO_C" >&6
22052 else
22053 if test x$gcc_no_link = xyes; then
22054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22056 { (exit 1); exit 1; }; }
22058 cat >conftest.$ac_ext <<_ACEOF
22059 /* confdefs.h. */
22060 _ACEOF
22061 cat confdefs.h >>conftest.$ac_ext
22062 cat >>conftest.$ac_ext <<_ACEOF
22063 /* end confdefs.h. */
22064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22066 #define $ac_func innocuous_$ac_func
22068 /* System header to define __stub macros and hopefully few prototypes,
22069 which can conflict with char $ac_func (); below.
22070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22071 <limits.h> exists even on freestanding compilers. */
22073 #ifdef __STDC__
22074 # include <limits.h>
22075 #else
22076 # include <assert.h>
22077 #endif
22079 #undef $ac_func
22081 /* Override any gcc2 internal prototype to avoid an error. */
22082 #ifdef __cplusplus
22083 extern "C"
22085 #endif
22086 /* We use char because int might match the return type of a gcc2
22087 builtin and then its argument prototype would still apply. */
22088 char $ac_func ();
22089 /* The GNU C library defines this for functions which it implements
22090 to always fail with ENOSYS. Some functions are actually named
22091 something starting with __ and the normal name is an alias. */
22092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22093 choke me
22094 #else
22095 char (*f) () = $ac_func;
22096 #endif
22097 #ifdef __cplusplus
22099 #endif
22102 main ()
22104 return f != $ac_func;
22106 return 0;
22108 _ACEOF
22109 rm -f conftest.$ac_objext conftest$ac_exeext
22110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22111 (eval $ac_link) 2>conftest.er1
22112 ac_status=$?
22113 grep -v '^ *+' conftest.er1 >conftest.err
22114 rm -f conftest.er1
22115 cat conftest.err >&5
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); } &&
22118 { ac_try='test -z "$ac_c_werror_flag"
22119 || test ! -s conftest.err'
22120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22121 (eval $ac_try) 2>&5
22122 ac_status=$?
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); }; } &&
22125 { ac_try='test -s conftest$ac_exeext'
22126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22127 (eval $ac_try) 2>&5
22128 ac_status=$?
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); }; }; then
22131 eval "$as_ac_var=yes"
22132 else
22133 echo "$as_me: failed program was:" >&5
22134 sed 's/^/| /' conftest.$ac_ext >&5
22136 eval "$as_ac_var=no"
22138 rm -f conftest.err conftest.$ac_objext \
22139 conftest$ac_exeext conftest.$ac_ext
22141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22143 if test `eval echo '${'$as_ac_var'}'` = yes; then
22144 cat >>confdefs.h <<_ACEOF
22145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22146 _ACEOF
22149 done
22159 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
22160 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
22161 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22162 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
22163 echo $ECHO_N "(cached) $ECHO_C" >&6
22164 else
22168 ac_ext=cc
22169 ac_cpp='$CXXCPP $CPPFLAGS'
22170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22174 cat >conftest.$ac_ext <<_ACEOF
22175 /* confdefs.h. */
22176 _ACEOF
22177 cat confdefs.h >>conftest.$ac_ext
22178 cat >>conftest.$ac_ext <<_ACEOF
22179 /* end confdefs.h. */
22180 #include <math.h>
22182 main ()
22184 atan2f(0, 0);
22186 return 0;
22188 _ACEOF
22189 rm -f conftest.$ac_objext
22190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22191 (eval $ac_compile) 2>conftest.er1
22192 ac_status=$?
22193 grep -v '^ *+' conftest.er1 >conftest.err
22194 rm -f conftest.er1
22195 cat conftest.err >&5
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); } &&
22198 { ac_try='test -z "$ac_cxx_werror_flag"
22199 || test ! -s conftest.err'
22200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22201 (eval $ac_try) 2>&5
22202 ac_status=$?
22203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204 (exit $ac_status); }; } &&
22205 { ac_try='test -s conftest.$ac_objext'
22206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22207 (eval $ac_try) 2>&5
22208 ac_status=$?
22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210 (exit $ac_status); }; }; then
22211 glibcxx_cv_func_atan2f_use=yes
22212 else
22213 echo "$as_me: failed program was:" >&5
22214 sed 's/^/| /' conftest.$ac_ext >&5
22216 glibcxx_cv_func_atan2f_use=no
22218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22219 ac_ext=c
22220 ac_cpp='$CPP $CPPFLAGS'
22221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22229 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
22230 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
22232 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22234 for ac_func in atan2f
22236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22237 echo "$as_me:$LINENO: checking for $ac_func" >&5
22238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22239 if eval "test \"\${$as_ac_var+set}\" = set"; then
22240 echo $ECHO_N "(cached) $ECHO_C" >&6
22241 else
22242 if test x$gcc_no_link = xyes; then
22243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22245 { (exit 1); exit 1; }; }
22247 cat >conftest.$ac_ext <<_ACEOF
22248 /* confdefs.h. */
22249 _ACEOF
22250 cat confdefs.h >>conftest.$ac_ext
22251 cat >>conftest.$ac_ext <<_ACEOF
22252 /* end confdefs.h. */
22253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22255 #define $ac_func innocuous_$ac_func
22257 /* System header to define __stub macros and hopefully few prototypes,
22258 which can conflict with char $ac_func (); below.
22259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22260 <limits.h> exists even on freestanding compilers. */
22262 #ifdef __STDC__
22263 # include <limits.h>
22264 #else
22265 # include <assert.h>
22266 #endif
22268 #undef $ac_func
22270 /* Override any gcc2 internal prototype to avoid an error. */
22271 #ifdef __cplusplus
22272 extern "C"
22274 #endif
22275 /* We use char because int might match the return type of a gcc2
22276 builtin and then its argument prototype would still apply. */
22277 char $ac_func ();
22278 /* The GNU C library defines this for functions which it implements
22279 to always fail with ENOSYS. Some functions are actually named
22280 something starting with __ and the normal name is an alias. */
22281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22282 choke me
22283 #else
22284 char (*f) () = $ac_func;
22285 #endif
22286 #ifdef __cplusplus
22288 #endif
22291 main ()
22293 return f != $ac_func;
22295 return 0;
22297 _ACEOF
22298 rm -f conftest.$ac_objext conftest$ac_exeext
22299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22300 (eval $ac_link) 2>conftest.er1
22301 ac_status=$?
22302 grep -v '^ *+' conftest.er1 >conftest.err
22303 rm -f conftest.er1
22304 cat conftest.err >&5
22305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22306 (exit $ac_status); } &&
22307 { ac_try='test -z "$ac_c_werror_flag"
22308 || test ! -s conftest.err'
22309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22310 (eval $ac_try) 2>&5
22311 ac_status=$?
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); }; } &&
22314 { ac_try='test -s conftest$ac_exeext'
22315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22316 (eval $ac_try) 2>&5
22317 ac_status=$?
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); }; }; then
22320 eval "$as_ac_var=yes"
22321 else
22322 echo "$as_me: failed program was:" >&5
22323 sed 's/^/| /' conftest.$ac_ext >&5
22325 eval "$as_ac_var=no"
22327 rm -f conftest.err conftest.$ac_objext \
22328 conftest$ac_exeext conftest.$ac_ext
22330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22332 if test `eval echo '${'$as_ac_var'}'` = yes; then
22333 cat >>confdefs.h <<_ACEOF
22334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22335 _ACEOF
22338 done
22340 else
22342 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
22343 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
22344 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22345 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
22346 echo $ECHO_N "(cached) $ECHO_C" >&6
22347 else
22351 ac_ext=cc
22352 ac_cpp='$CXXCPP $CPPFLAGS'
22353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22357 cat >conftest.$ac_ext <<_ACEOF
22358 /* confdefs.h. */
22359 _ACEOF
22360 cat confdefs.h >>conftest.$ac_ext
22361 cat >>conftest.$ac_ext <<_ACEOF
22362 /* end confdefs.h. */
22363 #include <math.h>
22365 main ()
22367 _atan2f(0, 0);
22369 return 0;
22371 _ACEOF
22372 rm -f conftest.$ac_objext
22373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22374 (eval $ac_compile) 2>conftest.er1
22375 ac_status=$?
22376 grep -v '^ *+' conftest.er1 >conftest.err
22377 rm -f conftest.er1
22378 cat conftest.err >&5
22379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22380 (exit $ac_status); } &&
22381 { ac_try='test -z "$ac_cxx_werror_flag"
22382 || test ! -s conftest.err'
22383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22384 (eval $ac_try) 2>&5
22385 ac_status=$?
22386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22387 (exit $ac_status); }; } &&
22388 { ac_try='test -s conftest.$ac_objext'
22389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22390 (eval $ac_try) 2>&5
22391 ac_status=$?
22392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22393 (exit $ac_status); }; }; then
22394 glibcxx_cv_func__atan2f_use=yes
22395 else
22396 echo "$as_me: failed program was:" >&5
22397 sed 's/^/| /' conftest.$ac_ext >&5
22399 glibcxx_cv_func__atan2f_use=no
22401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22402 ac_ext=c
22403 ac_cpp='$CPP $CPPFLAGS'
22404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22412 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
22413 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
22415 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22417 for ac_func in _atan2f
22419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22420 echo "$as_me:$LINENO: checking for $ac_func" >&5
22421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22422 if eval "test \"\${$as_ac_var+set}\" = set"; then
22423 echo $ECHO_N "(cached) $ECHO_C" >&6
22424 else
22425 if test x$gcc_no_link = xyes; then
22426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22428 { (exit 1); exit 1; }; }
22430 cat >conftest.$ac_ext <<_ACEOF
22431 /* confdefs.h. */
22432 _ACEOF
22433 cat confdefs.h >>conftest.$ac_ext
22434 cat >>conftest.$ac_ext <<_ACEOF
22435 /* end confdefs.h. */
22436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22438 #define $ac_func innocuous_$ac_func
22440 /* System header to define __stub macros and hopefully few prototypes,
22441 which can conflict with char $ac_func (); below.
22442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22443 <limits.h> exists even on freestanding compilers. */
22445 #ifdef __STDC__
22446 # include <limits.h>
22447 #else
22448 # include <assert.h>
22449 #endif
22451 #undef $ac_func
22453 /* Override any gcc2 internal prototype to avoid an error. */
22454 #ifdef __cplusplus
22455 extern "C"
22457 #endif
22458 /* We use char because int might match the return type of a gcc2
22459 builtin and then its argument prototype would still apply. */
22460 char $ac_func ();
22461 /* The GNU C library defines this for functions which it implements
22462 to always fail with ENOSYS. Some functions are actually named
22463 something starting with __ and the normal name is an alias. */
22464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22465 choke me
22466 #else
22467 char (*f) () = $ac_func;
22468 #endif
22469 #ifdef __cplusplus
22471 #endif
22474 main ()
22476 return f != $ac_func;
22478 return 0;
22480 _ACEOF
22481 rm -f conftest.$ac_objext conftest$ac_exeext
22482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22483 (eval $ac_link) 2>conftest.er1
22484 ac_status=$?
22485 grep -v '^ *+' conftest.er1 >conftest.err
22486 rm -f conftest.er1
22487 cat conftest.err >&5
22488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489 (exit $ac_status); } &&
22490 { ac_try='test -z "$ac_c_werror_flag"
22491 || test ! -s conftest.err'
22492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22493 (eval $ac_try) 2>&5
22494 ac_status=$?
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); }; } &&
22497 { ac_try='test -s conftest$ac_exeext'
22498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22499 (eval $ac_try) 2>&5
22500 ac_status=$?
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); }; }; then
22503 eval "$as_ac_var=yes"
22504 else
22505 echo "$as_me: failed program was:" >&5
22506 sed 's/^/| /' conftest.$ac_ext >&5
22508 eval "$as_ac_var=no"
22510 rm -f conftest.err conftest.$ac_objext \
22511 conftest$ac_exeext conftest.$ac_ext
22513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22515 if test `eval echo '${'$as_ac_var'}'` = yes; then
22516 cat >>confdefs.h <<_ACEOF
22517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22518 _ACEOF
22521 done
22531 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
22532 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
22533 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22534 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
22535 echo $ECHO_N "(cached) $ECHO_C" >&6
22536 else
22540 ac_ext=cc
22541 ac_cpp='$CXXCPP $CPPFLAGS'
22542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22546 cat >conftest.$ac_ext <<_ACEOF
22547 /* confdefs.h. */
22548 _ACEOF
22549 cat confdefs.h >>conftest.$ac_ext
22550 cat >>conftest.$ac_ext <<_ACEOF
22551 /* end confdefs.h. */
22552 #include <math.h>
22553 #ifdef HAVE_IEEEFP_H
22554 #include <ieeefp.h>
22555 #endif
22558 main ()
22560 fabsf(0);
22562 return 0;
22564 _ACEOF
22565 rm -f conftest.$ac_objext
22566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22567 (eval $ac_compile) 2>conftest.er1
22568 ac_status=$?
22569 grep -v '^ *+' conftest.er1 >conftest.err
22570 rm -f conftest.er1
22571 cat conftest.err >&5
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); } &&
22574 { ac_try='test -z "$ac_cxx_werror_flag"
22575 || test ! -s conftest.err'
22576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22577 (eval $ac_try) 2>&5
22578 ac_status=$?
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); }; } &&
22581 { ac_try='test -s conftest.$ac_objext'
22582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22583 (eval $ac_try) 2>&5
22584 ac_status=$?
22585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586 (exit $ac_status); }; }; then
22587 glibcxx_cv_func_fabsf_use=yes
22588 else
22589 echo "$as_me: failed program was:" >&5
22590 sed 's/^/| /' conftest.$ac_ext >&5
22592 glibcxx_cv_func_fabsf_use=no
22594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22595 ac_ext=c
22596 ac_cpp='$CPP $CPPFLAGS'
22597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22605 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
22606 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
22608 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22610 for ac_func in fabsf
22612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22613 echo "$as_me:$LINENO: checking for $ac_func" >&5
22614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22615 if eval "test \"\${$as_ac_var+set}\" = set"; then
22616 echo $ECHO_N "(cached) $ECHO_C" >&6
22617 else
22618 if test x$gcc_no_link = xyes; then
22619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22621 { (exit 1); exit 1; }; }
22623 cat >conftest.$ac_ext <<_ACEOF
22624 /* confdefs.h. */
22625 _ACEOF
22626 cat confdefs.h >>conftest.$ac_ext
22627 cat >>conftest.$ac_ext <<_ACEOF
22628 /* end confdefs.h. */
22629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22631 #define $ac_func innocuous_$ac_func
22633 /* System header to define __stub macros and hopefully few prototypes,
22634 which can conflict with char $ac_func (); below.
22635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22636 <limits.h> exists even on freestanding compilers. */
22638 #ifdef __STDC__
22639 # include <limits.h>
22640 #else
22641 # include <assert.h>
22642 #endif
22644 #undef $ac_func
22646 /* Override any gcc2 internal prototype to avoid an error. */
22647 #ifdef __cplusplus
22648 extern "C"
22650 #endif
22651 /* We use char because int might match the return type of a gcc2
22652 builtin and then its argument prototype would still apply. */
22653 char $ac_func ();
22654 /* The GNU C library defines this for functions which it implements
22655 to always fail with ENOSYS. Some functions are actually named
22656 something starting with __ and the normal name is an alias. */
22657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22658 choke me
22659 #else
22660 char (*f) () = $ac_func;
22661 #endif
22662 #ifdef __cplusplus
22664 #endif
22667 main ()
22669 return f != $ac_func;
22671 return 0;
22673 _ACEOF
22674 rm -f conftest.$ac_objext conftest$ac_exeext
22675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22676 (eval $ac_link) 2>conftest.er1
22677 ac_status=$?
22678 grep -v '^ *+' conftest.er1 >conftest.err
22679 rm -f conftest.er1
22680 cat conftest.err >&5
22681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22682 (exit $ac_status); } &&
22683 { ac_try='test -z "$ac_c_werror_flag"
22684 || test ! -s conftest.err'
22685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22686 (eval $ac_try) 2>&5
22687 ac_status=$?
22688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); }; } &&
22690 { ac_try='test -s conftest$ac_exeext'
22691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22692 (eval $ac_try) 2>&5
22693 ac_status=$?
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); }; }; then
22696 eval "$as_ac_var=yes"
22697 else
22698 echo "$as_me: failed program was:" >&5
22699 sed 's/^/| /' conftest.$ac_ext >&5
22701 eval "$as_ac_var=no"
22703 rm -f conftest.err conftest.$ac_objext \
22704 conftest$ac_exeext conftest.$ac_ext
22706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22708 if test `eval echo '${'$as_ac_var'}'` = yes; then
22709 cat >>confdefs.h <<_ACEOF
22710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22711 _ACEOF
22714 done
22716 else
22718 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
22719 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
22720 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22721 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
22722 echo $ECHO_N "(cached) $ECHO_C" >&6
22723 else
22727 ac_ext=cc
22728 ac_cpp='$CXXCPP $CPPFLAGS'
22729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22733 cat >conftest.$ac_ext <<_ACEOF
22734 /* confdefs.h. */
22735 _ACEOF
22736 cat confdefs.h >>conftest.$ac_ext
22737 cat >>conftest.$ac_ext <<_ACEOF
22738 /* end confdefs.h. */
22739 #include <math.h>
22740 #ifdef HAVE_IEEEFP_H
22741 #include <ieeefp.h>
22742 #endif
22745 main ()
22747 _fabsf(0);
22749 return 0;
22751 _ACEOF
22752 rm -f conftest.$ac_objext
22753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22754 (eval $ac_compile) 2>conftest.er1
22755 ac_status=$?
22756 grep -v '^ *+' conftest.er1 >conftest.err
22757 rm -f conftest.er1
22758 cat conftest.err >&5
22759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22760 (exit $ac_status); } &&
22761 { ac_try='test -z "$ac_cxx_werror_flag"
22762 || test ! -s conftest.err'
22763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22764 (eval $ac_try) 2>&5
22765 ac_status=$?
22766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22767 (exit $ac_status); }; } &&
22768 { ac_try='test -s conftest.$ac_objext'
22769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22770 (eval $ac_try) 2>&5
22771 ac_status=$?
22772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773 (exit $ac_status); }; }; then
22774 glibcxx_cv_func__fabsf_use=yes
22775 else
22776 echo "$as_me: failed program was:" >&5
22777 sed 's/^/| /' conftest.$ac_ext >&5
22779 glibcxx_cv_func__fabsf_use=no
22781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22782 ac_ext=c
22783 ac_cpp='$CPP $CPPFLAGS'
22784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22792 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
22793 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
22795 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22797 for ac_func in _fabsf
22799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22800 echo "$as_me:$LINENO: checking for $ac_func" >&5
22801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22802 if eval "test \"\${$as_ac_var+set}\" = set"; then
22803 echo $ECHO_N "(cached) $ECHO_C" >&6
22804 else
22805 if test x$gcc_no_link = xyes; then
22806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22808 { (exit 1); exit 1; }; }
22810 cat >conftest.$ac_ext <<_ACEOF
22811 /* confdefs.h. */
22812 _ACEOF
22813 cat confdefs.h >>conftest.$ac_ext
22814 cat >>conftest.$ac_ext <<_ACEOF
22815 /* end confdefs.h. */
22816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22818 #define $ac_func innocuous_$ac_func
22820 /* System header to define __stub macros and hopefully few prototypes,
22821 which can conflict with char $ac_func (); below.
22822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22823 <limits.h> exists even on freestanding compilers. */
22825 #ifdef __STDC__
22826 # include <limits.h>
22827 #else
22828 # include <assert.h>
22829 #endif
22831 #undef $ac_func
22833 /* Override any gcc2 internal prototype to avoid an error. */
22834 #ifdef __cplusplus
22835 extern "C"
22837 #endif
22838 /* We use char because int might match the return type of a gcc2
22839 builtin and then its argument prototype would still apply. */
22840 char $ac_func ();
22841 /* The GNU C library defines this for functions which it implements
22842 to always fail with ENOSYS. Some functions are actually named
22843 something starting with __ and the normal name is an alias. */
22844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22845 choke me
22846 #else
22847 char (*f) () = $ac_func;
22848 #endif
22849 #ifdef __cplusplus
22851 #endif
22854 main ()
22856 return f != $ac_func;
22858 return 0;
22860 _ACEOF
22861 rm -f conftest.$ac_objext conftest$ac_exeext
22862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22863 (eval $ac_link) 2>conftest.er1
22864 ac_status=$?
22865 grep -v '^ *+' conftest.er1 >conftest.err
22866 rm -f conftest.er1
22867 cat conftest.err >&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); } &&
22870 { ac_try='test -z "$ac_c_werror_flag"
22871 || test ! -s conftest.err'
22872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22873 (eval $ac_try) 2>&5
22874 ac_status=$?
22875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22876 (exit $ac_status); }; } &&
22877 { ac_try='test -s conftest$ac_exeext'
22878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22879 (eval $ac_try) 2>&5
22880 ac_status=$?
22881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22882 (exit $ac_status); }; }; then
22883 eval "$as_ac_var=yes"
22884 else
22885 echo "$as_me: failed program was:" >&5
22886 sed 's/^/| /' conftest.$ac_ext >&5
22888 eval "$as_ac_var=no"
22890 rm -f conftest.err conftest.$ac_objext \
22891 conftest$ac_exeext conftest.$ac_ext
22893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22895 if test `eval echo '${'$as_ac_var'}'` = yes; then
22896 cat >>confdefs.h <<_ACEOF
22897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22898 _ACEOF
22901 done
22911 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
22912 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
22913 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22914 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
22915 echo $ECHO_N "(cached) $ECHO_C" >&6
22916 else
22920 ac_ext=cc
22921 ac_cpp='$CXXCPP $CPPFLAGS'
22922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22926 cat >conftest.$ac_ext <<_ACEOF
22927 /* confdefs.h. */
22928 _ACEOF
22929 cat confdefs.h >>conftest.$ac_ext
22930 cat >>conftest.$ac_ext <<_ACEOF
22931 /* end confdefs.h. */
22932 #include <math.h>
22934 main ()
22936 fmodf(0, 0);
22938 return 0;
22940 _ACEOF
22941 rm -f conftest.$ac_objext
22942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22943 (eval $ac_compile) 2>conftest.er1
22944 ac_status=$?
22945 grep -v '^ *+' conftest.er1 >conftest.err
22946 rm -f conftest.er1
22947 cat conftest.err >&5
22948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22949 (exit $ac_status); } &&
22950 { ac_try='test -z "$ac_cxx_werror_flag"
22951 || test ! -s conftest.err'
22952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22953 (eval $ac_try) 2>&5
22954 ac_status=$?
22955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22956 (exit $ac_status); }; } &&
22957 { ac_try='test -s conftest.$ac_objext'
22958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22959 (eval $ac_try) 2>&5
22960 ac_status=$?
22961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22962 (exit $ac_status); }; }; then
22963 glibcxx_cv_func_fmodf_use=yes
22964 else
22965 echo "$as_me: failed program was:" >&5
22966 sed 's/^/| /' conftest.$ac_ext >&5
22968 glibcxx_cv_func_fmodf_use=no
22970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22971 ac_ext=c
22972 ac_cpp='$CPP $CPPFLAGS'
22973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22981 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
22982 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
22984 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22986 for ac_func in fmodf
22988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22989 echo "$as_me:$LINENO: checking for $ac_func" >&5
22990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22991 if eval "test \"\${$as_ac_var+set}\" = set"; then
22992 echo $ECHO_N "(cached) $ECHO_C" >&6
22993 else
22994 if test x$gcc_no_link = xyes; then
22995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22997 { (exit 1); exit 1; }; }
22999 cat >conftest.$ac_ext <<_ACEOF
23000 /* confdefs.h. */
23001 _ACEOF
23002 cat confdefs.h >>conftest.$ac_ext
23003 cat >>conftest.$ac_ext <<_ACEOF
23004 /* end confdefs.h. */
23005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23007 #define $ac_func innocuous_$ac_func
23009 /* System header to define __stub macros and hopefully few prototypes,
23010 which can conflict with char $ac_func (); below.
23011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23012 <limits.h> exists even on freestanding compilers. */
23014 #ifdef __STDC__
23015 # include <limits.h>
23016 #else
23017 # include <assert.h>
23018 #endif
23020 #undef $ac_func
23022 /* Override any gcc2 internal prototype to avoid an error. */
23023 #ifdef __cplusplus
23024 extern "C"
23026 #endif
23027 /* We use char because int might match the return type of a gcc2
23028 builtin and then its argument prototype would still apply. */
23029 char $ac_func ();
23030 /* The GNU C library defines this for functions which it implements
23031 to always fail with ENOSYS. Some functions are actually named
23032 something starting with __ and the normal name is an alias. */
23033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23034 choke me
23035 #else
23036 char (*f) () = $ac_func;
23037 #endif
23038 #ifdef __cplusplus
23040 #endif
23043 main ()
23045 return f != $ac_func;
23047 return 0;
23049 _ACEOF
23050 rm -f conftest.$ac_objext conftest$ac_exeext
23051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23052 (eval $ac_link) 2>conftest.er1
23053 ac_status=$?
23054 grep -v '^ *+' conftest.er1 >conftest.err
23055 rm -f conftest.er1
23056 cat conftest.err >&5
23057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23058 (exit $ac_status); } &&
23059 { ac_try='test -z "$ac_c_werror_flag"
23060 || test ! -s conftest.err'
23061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23062 (eval $ac_try) 2>&5
23063 ac_status=$?
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); }; } &&
23066 { ac_try='test -s conftest$ac_exeext'
23067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23068 (eval $ac_try) 2>&5
23069 ac_status=$?
23070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071 (exit $ac_status); }; }; then
23072 eval "$as_ac_var=yes"
23073 else
23074 echo "$as_me: failed program was:" >&5
23075 sed 's/^/| /' conftest.$ac_ext >&5
23077 eval "$as_ac_var=no"
23079 rm -f conftest.err conftest.$ac_objext \
23080 conftest$ac_exeext conftest.$ac_ext
23082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23084 if test `eval echo '${'$as_ac_var'}'` = yes; then
23085 cat >>confdefs.h <<_ACEOF
23086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23087 _ACEOF
23090 done
23092 else
23094 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
23095 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
23096 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23097 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
23098 echo $ECHO_N "(cached) $ECHO_C" >&6
23099 else
23103 ac_ext=cc
23104 ac_cpp='$CXXCPP $CPPFLAGS'
23105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23109 cat >conftest.$ac_ext <<_ACEOF
23110 /* confdefs.h. */
23111 _ACEOF
23112 cat confdefs.h >>conftest.$ac_ext
23113 cat >>conftest.$ac_ext <<_ACEOF
23114 /* end confdefs.h. */
23115 #include <math.h>
23117 main ()
23119 _fmodf(0, 0);
23121 return 0;
23123 _ACEOF
23124 rm -f conftest.$ac_objext
23125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23126 (eval $ac_compile) 2>conftest.er1
23127 ac_status=$?
23128 grep -v '^ *+' conftest.er1 >conftest.err
23129 rm -f conftest.er1
23130 cat conftest.err >&5
23131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23132 (exit $ac_status); } &&
23133 { ac_try='test -z "$ac_cxx_werror_flag"
23134 || test ! -s conftest.err'
23135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23136 (eval $ac_try) 2>&5
23137 ac_status=$?
23138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23139 (exit $ac_status); }; } &&
23140 { ac_try='test -s conftest.$ac_objext'
23141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23142 (eval $ac_try) 2>&5
23143 ac_status=$?
23144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23145 (exit $ac_status); }; }; then
23146 glibcxx_cv_func__fmodf_use=yes
23147 else
23148 echo "$as_me: failed program was:" >&5
23149 sed 's/^/| /' conftest.$ac_ext >&5
23151 glibcxx_cv_func__fmodf_use=no
23153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23154 ac_ext=c
23155 ac_cpp='$CPP $CPPFLAGS'
23156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
23165 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
23167 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23169 for ac_func in _fmodf
23171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23172 echo "$as_me:$LINENO: checking for $ac_func" >&5
23173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23174 if eval "test \"\${$as_ac_var+set}\" = set"; then
23175 echo $ECHO_N "(cached) $ECHO_C" >&6
23176 else
23177 if test x$gcc_no_link = xyes; then
23178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23180 { (exit 1); exit 1; }; }
23182 cat >conftest.$ac_ext <<_ACEOF
23183 /* confdefs.h. */
23184 _ACEOF
23185 cat confdefs.h >>conftest.$ac_ext
23186 cat >>conftest.$ac_ext <<_ACEOF
23187 /* end confdefs.h. */
23188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23190 #define $ac_func innocuous_$ac_func
23192 /* System header to define __stub macros and hopefully few prototypes,
23193 which can conflict with char $ac_func (); below.
23194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23195 <limits.h> exists even on freestanding compilers. */
23197 #ifdef __STDC__
23198 # include <limits.h>
23199 #else
23200 # include <assert.h>
23201 #endif
23203 #undef $ac_func
23205 /* Override any gcc2 internal prototype to avoid an error. */
23206 #ifdef __cplusplus
23207 extern "C"
23209 #endif
23210 /* We use char because int might match the return type of a gcc2
23211 builtin and then its argument prototype would still apply. */
23212 char $ac_func ();
23213 /* The GNU C library defines this for functions which it implements
23214 to always fail with ENOSYS. Some functions are actually named
23215 something starting with __ and the normal name is an alias. */
23216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23217 choke me
23218 #else
23219 char (*f) () = $ac_func;
23220 #endif
23221 #ifdef __cplusplus
23223 #endif
23226 main ()
23228 return f != $ac_func;
23230 return 0;
23232 _ACEOF
23233 rm -f conftest.$ac_objext conftest$ac_exeext
23234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23235 (eval $ac_link) 2>conftest.er1
23236 ac_status=$?
23237 grep -v '^ *+' conftest.er1 >conftest.err
23238 rm -f conftest.er1
23239 cat conftest.err >&5
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); } &&
23242 { ac_try='test -z "$ac_c_werror_flag"
23243 || test ! -s conftest.err'
23244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23245 (eval $ac_try) 2>&5
23246 ac_status=$?
23247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248 (exit $ac_status); }; } &&
23249 { ac_try='test -s conftest$ac_exeext'
23250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23251 (eval $ac_try) 2>&5
23252 ac_status=$?
23253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23254 (exit $ac_status); }; }; then
23255 eval "$as_ac_var=yes"
23256 else
23257 echo "$as_me: failed program was:" >&5
23258 sed 's/^/| /' conftest.$ac_ext >&5
23260 eval "$as_ac_var=no"
23262 rm -f conftest.err conftest.$ac_objext \
23263 conftest$ac_exeext conftest.$ac_ext
23265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23267 if test `eval echo '${'$as_ac_var'}'` = yes; then
23268 cat >>confdefs.h <<_ACEOF
23269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23270 _ACEOF
23273 done
23283 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
23284 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
23285 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23286 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
23287 echo $ECHO_N "(cached) $ECHO_C" >&6
23288 else
23292 ac_ext=cc
23293 ac_cpp='$CXXCPP $CPPFLAGS'
23294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23298 cat >conftest.$ac_ext <<_ACEOF
23299 /* confdefs.h. */
23300 _ACEOF
23301 cat confdefs.h >>conftest.$ac_ext
23302 cat >>conftest.$ac_ext <<_ACEOF
23303 /* end confdefs.h. */
23304 #include <math.h>
23306 main ()
23308 frexpf(0, 0);
23310 return 0;
23312 _ACEOF
23313 rm -f conftest.$ac_objext
23314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23315 (eval $ac_compile) 2>conftest.er1
23316 ac_status=$?
23317 grep -v '^ *+' conftest.er1 >conftest.err
23318 rm -f conftest.er1
23319 cat conftest.err >&5
23320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23321 (exit $ac_status); } &&
23322 { ac_try='test -z "$ac_cxx_werror_flag"
23323 || test ! -s conftest.err'
23324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23325 (eval $ac_try) 2>&5
23326 ac_status=$?
23327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23328 (exit $ac_status); }; } &&
23329 { ac_try='test -s conftest.$ac_objext'
23330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23331 (eval $ac_try) 2>&5
23332 ac_status=$?
23333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334 (exit $ac_status); }; }; then
23335 glibcxx_cv_func_frexpf_use=yes
23336 else
23337 echo "$as_me: failed program was:" >&5
23338 sed 's/^/| /' conftest.$ac_ext >&5
23340 glibcxx_cv_func_frexpf_use=no
23342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23343 ac_ext=c
23344 ac_cpp='$CPP $CPPFLAGS'
23345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23353 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
23354 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
23356 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23358 for ac_func in frexpf
23360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23361 echo "$as_me:$LINENO: checking for $ac_func" >&5
23362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23363 if eval "test \"\${$as_ac_var+set}\" = set"; then
23364 echo $ECHO_N "(cached) $ECHO_C" >&6
23365 else
23366 if test x$gcc_no_link = xyes; then
23367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23369 { (exit 1); exit 1; }; }
23371 cat >conftest.$ac_ext <<_ACEOF
23372 /* confdefs.h. */
23373 _ACEOF
23374 cat confdefs.h >>conftest.$ac_ext
23375 cat >>conftest.$ac_ext <<_ACEOF
23376 /* end confdefs.h. */
23377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23379 #define $ac_func innocuous_$ac_func
23381 /* System header to define __stub macros and hopefully few prototypes,
23382 which can conflict with char $ac_func (); below.
23383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23384 <limits.h> exists even on freestanding compilers. */
23386 #ifdef __STDC__
23387 # include <limits.h>
23388 #else
23389 # include <assert.h>
23390 #endif
23392 #undef $ac_func
23394 /* Override any gcc2 internal prototype to avoid an error. */
23395 #ifdef __cplusplus
23396 extern "C"
23398 #endif
23399 /* We use char because int might match the return type of a gcc2
23400 builtin and then its argument prototype would still apply. */
23401 char $ac_func ();
23402 /* The GNU C library defines this for functions which it implements
23403 to always fail with ENOSYS. Some functions are actually named
23404 something starting with __ and the normal name is an alias. */
23405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23406 choke me
23407 #else
23408 char (*f) () = $ac_func;
23409 #endif
23410 #ifdef __cplusplus
23412 #endif
23415 main ()
23417 return f != $ac_func;
23419 return 0;
23421 _ACEOF
23422 rm -f conftest.$ac_objext conftest$ac_exeext
23423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23424 (eval $ac_link) 2>conftest.er1
23425 ac_status=$?
23426 grep -v '^ *+' conftest.er1 >conftest.err
23427 rm -f conftest.er1
23428 cat conftest.err >&5
23429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23430 (exit $ac_status); } &&
23431 { ac_try='test -z "$ac_c_werror_flag"
23432 || test ! -s conftest.err'
23433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23434 (eval $ac_try) 2>&5
23435 ac_status=$?
23436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437 (exit $ac_status); }; } &&
23438 { ac_try='test -s conftest$ac_exeext'
23439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23440 (eval $ac_try) 2>&5
23441 ac_status=$?
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); }; }; then
23444 eval "$as_ac_var=yes"
23445 else
23446 echo "$as_me: failed program was:" >&5
23447 sed 's/^/| /' conftest.$ac_ext >&5
23449 eval "$as_ac_var=no"
23451 rm -f conftest.err conftest.$ac_objext \
23452 conftest$ac_exeext conftest.$ac_ext
23454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23456 if test `eval echo '${'$as_ac_var'}'` = yes; then
23457 cat >>confdefs.h <<_ACEOF
23458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23459 _ACEOF
23462 done
23464 else
23466 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
23467 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
23468 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23469 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
23470 echo $ECHO_N "(cached) $ECHO_C" >&6
23471 else
23475 ac_ext=cc
23476 ac_cpp='$CXXCPP $CPPFLAGS'
23477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23481 cat >conftest.$ac_ext <<_ACEOF
23482 /* confdefs.h. */
23483 _ACEOF
23484 cat confdefs.h >>conftest.$ac_ext
23485 cat >>conftest.$ac_ext <<_ACEOF
23486 /* end confdefs.h. */
23487 #include <math.h>
23489 main ()
23491 _frexpf(0, 0);
23493 return 0;
23495 _ACEOF
23496 rm -f conftest.$ac_objext
23497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23498 (eval $ac_compile) 2>conftest.er1
23499 ac_status=$?
23500 grep -v '^ *+' conftest.er1 >conftest.err
23501 rm -f conftest.er1
23502 cat conftest.err >&5
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); } &&
23505 { ac_try='test -z "$ac_cxx_werror_flag"
23506 || test ! -s conftest.err'
23507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23508 (eval $ac_try) 2>&5
23509 ac_status=$?
23510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511 (exit $ac_status); }; } &&
23512 { ac_try='test -s conftest.$ac_objext'
23513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23514 (eval $ac_try) 2>&5
23515 ac_status=$?
23516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517 (exit $ac_status); }; }; then
23518 glibcxx_cv_func__frexpf_use=yes
23519 else
23520 echo "$as_me: failed program was:" >&5
23521 sed 's/^/| /' conftest.$ac_ext >&5
23523 glibcxx_cv_func__frexpf_use=no
23525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23526 ac_ext=c
23527 ac_cpp='$CPP $CPPFLAGS'
23528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23536 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
23537 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
23539 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23541 for ac_func in _frexpf
23543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23544 echo "$as_me:$LINENO: checking for $ac_func" >&5
23545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23546 if eval "test \"\${$as_ac_var+set}\" = set"; then
23547 echo $ECHO_N "(cached) $ECHO_C" >&6
23548 else
23549 if test x$gcc_no_link = xyes; then
23550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23552 { (exit 1); exit 1; }; }
23554 cat >conftest.$ac_ext <<_ACEOF
23555 /* confdefs.h. */
23556 _ACEOF
23557 cat confdefs.h >>conftest.$ac_ext
23558 cat >>conftest.$ac_ext <<_ACEOF
23559 /* end confdefs.h. */
23560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23562 #define $ac_func innocuous_$ac_func
23564 /* System header to define __stub macros and hopefully few prototypes,
23565 which can conflict with char $ac_func (); below.
23566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23567 <limits.h> exists even on freestanding compilers. */
23569 #ifdef __STDC__
23570 # include <limits.h>
23571 #else
23572 # include <assert.h>
23573 #endif
23575 #undef $ac_func
23577 /* Override any gcc2 internal prototype to avoid an error. */
23578 #ifdef __cplusplus
23579 extern "C"
23581 #endif
23582 /* We use char because int might match the return type of a gcc2
23583 builtin and then its argument prototype would still apply. */
23584 char $ac_func ();
23585 /* The GNU C library defines this for functions which it implements
23586 to always fail with ENOSYS. Some functions are actually named
23587 something starting with __ and the normal name is an alias. */
23588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23589 choke me
23590 #else
23591 char (*f) () = $ac_func;
23592 #endif
23593 #ifdef __cplusplus
23595 #endif
23598 main ()
23600 return f != $ac_func;
23602 return 0;
23604 _ACEOF
23605 rm -f conftest.$ac_objext conftest$ac_exeext
23606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23607 (eval $ac_link) 2>conftest.er1
23608 ac_status=$?
23609 grep -v '^ *+' conftest.er1 >conftest.err
23610 rm -f conftest.er1
23611 cat conftest.err >&5
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); } &&
23614 { ac_try='test -z "$ac_c_werror_flag"
23615 || test ! -s conftest.err'
23616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23617 (eval $ac_try) 2>&5
23618 ac_status=$?
23619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23620 (exit $ac_status); }; } &&
23621 { ac_try='test -s conftest$ac_exeext'
23622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23623 (eval $ac_try) 2>&5
23624 ac_status=$?
23625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23626 (exit $ac_status); }; }; then
23627 eval "$as_ac_var=yes"
23628 else
23629 echo "$as_me: failed program was:" >&5
23630 sed 's/^/| /' conftest.$ac_ext >&5
23632 eval "$as_ac_var=no"
23634 rm -f conftest.err conftest.$ac_objext \
23635 conftest$ac_exeext conftest.$ac_ext
23637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23639 if test `eval echo '${'$as_ac_var'}'` = yes; then
23640 cat >>confdefs.h <<_ACEOF
23641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23642 _ACEOF
23645 done
23655 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
23656 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
23657 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23658 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
23659 echo $ECHO_N "(cached) $ECHO_C" >&6
23660 else
23664 ac_ext=cc
23665 ac_cpp='$CXXCPP $CPPFLAGS'
23666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23670 cat >conftest.$ac_ext <<_ACEOF
23671 /* confdefs.h. */
23672 _ACEOF
23673 cat confdefs.h >>conftest.$ac_ext
23674 cat >>conftest.$ac_ext <<_ACEOF
23675 /* end confdefs.h. */
23676 #include <math.h>
23678 main ()
23680 hypotf(0, 0);
23682 return 0;
23684 _ACEOF
23685 rm -f conftest.$ac_objext
23686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23687 (eval $ac_compile) 2>conftest.er1
23688 ac_status=$?
23689 grep -v '^ *+' conftest.er1 >conftest.err
23690 rm -f conftest.er1
23691 cat conftest.err >&5
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); } &&
23694 { ac_try='test -z "$ac_cxx_werror_flag"
23695 || test ! -s conftest.err'
23696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23697 (eval $ac_try) 2>&5
23698 ac_status=$?
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); }; } &&
23701 { ac_try='test -s conftest.$ac_objext'
23702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23703 (eval $ac_try) 2>&5
23704 ac_status=$?
23705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23706 (exit $ac_status); }; }; then
23707 glibcxx_cv_func_hypotf_use=yes
23708 else
23709 echo "$as_me: failed program was:" >&5
23710 sed 's/^/| /' conftest.$ac_ext >&5
23712 glibcxx_cv_func_hypotf_use=no
23714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23715 ac_ext=c
23716 ac_cpp='$CPP $CPPFLAGS'
23717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23725 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
23726 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
23728 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23730 for ac_func in hypotf
23732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23733 echo "$as_me:$LINENO: checking for $ac_func" >&5
23734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23735 if eval "test \"\${$as_ac_var+set}\" = set"; then
23736 echo $ECHO_N "(cached) $ECHO_C" >&6
23737 else
23738 if test x$gcc_no_link = xyes; then
23739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23741 { (exit 1); exit 1; }; }
23743 cat >conftest.$ac_ext <<_ACEOF
23744 /* confdefs.h. */
23745 _ACEOF
23746 cat confdefs.h >>conftest.$ac_ext
23747 cat >>conftest.$ac_ext <<_ACEOF
23748 /* end confdefs.h. */
23749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23751 #define $ac_func innocuous_$ac_func
23753 /* System header to define __stub macros and hopefully few prototypes,
23754 which can conflict with char $ac_func (); below.
23755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23756 <limits.h> exists even on freestanding compilers. */
23758 #ifdef __STDC__
23759 # include <limits.h>
23760 #else
23761 # include <assert.h>
23762 #endif
23764 #undef $ac_func
23766 /* Override any gcc2 internal prototype to avoid an error. */
23767 #ifdef __cplusplus
23768 extern "C"
23770 #endif
23771 /* We use char because int might match the return type of a gcc2
23772 builtin and then its argument prototype would still apply. */
23773 char $ac_func ();
23774 /* The GNU C library defines this for functions which it implements
23775 to always fail with ENOSYS. Some functions are actually named
23776 something starting with __ and the normal name is an alias. */
23777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23778 choke me
23779 #else
23780 char (*f) () = $ac_func;
23781 #endif
23782 #ifdef __cplusplus
23784 #endif
23787 main ()
23789 return f != $ac_func;
23791 return 0;
23793 _ACEOF
23794 rm -f conftest.$ac_objext conftest$ac_exeext
23795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23796 (eval $ac_link) 2>conftest.er1
23797 ac_status=$?
23798 grep -v '^ *+' conftest.er1 >conftest.err
23799 rm -f conftest.er1
23800 cat conftest.err >&5
23801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23802 (exit $ac_status); } &&
23803 { ac_try='test -z "$ac_c_werror_flag"
23804 || test ! -s conftest.err'
23805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23806 (eval $ac_try) 2>&5
23807 ac_status=$?
23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809 (exit $ac_status); }; } &&
23810 { ac_try='test -s conftest$ac_exeext'
23811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23812 (eval $ac_try) 2>&5
23813 ac_status=$?
23814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23815 (exit $ac_status); }; }; then
23816 eval "$as_ac_var=yes"
23817 else
23818 echo "$as_me: failed program was:" >&5
23819 sed 's/^/| /' conftest.$ac_ext >&5
23821 eval "$as_ac_var=no"
23823 rm -f conftest.err conftest.$ac_objext \
23824 conftest$ac_exeext conftest.$ac_ext
23826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23828 if test `eval echo '${'$as_ac_var'}'` = yes; then
23829 cat >>confdefs.h <<_ACEOF
23830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23831 _ACEOF
23834 done
23836 else
23838 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
23839 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
23840 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23841 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
23842 echo $ECHO_N "(cached) $ECHO_C" >&6
23843 else
23847 ac_ext=cc
23848 ac_cpp='$CXXCPP $CPPFLAGS'
23849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23853 cat >conftest.$ac_ext <<_ACEOF
23854 /* confdefs.h. */
23855 _ACEOF
23856 cat confdefs.h >>conftest.$ac_ext
23857 cat >>conftest.$ac_ext <<_ACEOF
23858 /* end confdefs.h. */
23859 #include <math.h>
23861 main ()
23863 _hypotf(0, 0);
23865 return 0;
23867 _ACEOF
23868 rm -f conftest.$ac_objext
23869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23870 (eval $ac_compile) 2>conftest.er1
23871 ac_status=$?
23872 grep -v '^ *+' conftest.er1 >conftest.err
23873 rm -f conftest.er1
23874 cat conftest.err >&5
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); } &&
23877 { ac_try='test -z "$ac_cxx_werror_flag"
23878 || test ! -s conftest.err'
23879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23880 (eval $ac_try) 2>&5
23881 ac_status=$?
23882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23883 (exit $ac_status); }; } &&
23884 { ac_try='test -s conftest.$ac_objext'
23885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23886 (eval $ac_try) 2>&5
23887 ac_status=$?
23888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23889 (exit $ac_status); }; }; then
23890 glibcxx_cv_func__hypotf_use=yes
23891 else
23892 echo "$as_me: failed program was:" >&5
23893 sed 's/^/| /' conftest.$ac_ext >&5
23895 glibcxx_cv_func__hypotf_use=no
23897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23898 ac_ext=c
23899 ac_cpp='$CPP $CPPFLAGS'
23900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23908 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
23909 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
23911 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23913 for ac_func in _hypotf
23915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23916 echo "$as_me:$LINENO: checking for $ac_func" >&5
23917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23918 if eval "test \"\${$as_ac_var+set}\" = set"; then
23919 echo $ECHO_N "(cached) $ECHO_C" >&6
23920 else
23921 if test x$gcc_no_link = xyes; then
23922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23924 { (exit 1); exit 1; }; }
23926 cat >conftest.$ac_ext <<_ACEOF
23927 /* confdefs.h. */
23928 _ACEOF
23929 cat confdefs.h >>conftest.$ac_ext
23930 cat >>conftest.$ac_ext <<_ACEOF
23931 /* end confdefs.h. */
23932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23934 #define $ac_func innocuous_$ac_func
23936 /* System header to define __stub macros and hopefully few prototypes,
23937 which can conflict with char $ac_func (); below.
23938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23939 <limits.h> exists even on freestanding compilers. */
23941 #ifdef __STDC__
23942 # include <limits.h>
23943 #else
23944 # include <assert.h>
23945 #endif
23947 #undef $ac_func
23949 /* Override any gcc2 internal prototype to avoid an error. */
23950 #ifdef __cplusplus
23951 extern "C"
23953 #endif
23954 /* We use char because int might match the return type of a gcc2
23955 builtin and then its argument prototype would still apply. */
23956 char $ac_func ();
23957 /* The GNU C library defines this for functions which it implements
23958 to always fail with ENOSYS. Some functions are actually named
23959 something starting with __ and the normal name is an alias. */
23960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23961 choke me
23962 #else
23963 char (*f) () = $ac_func;
23964 #endif
23965 #ifdef __cplusplus
23967 #endif
23970 main ()
23972 return f != $ac_func;
23974 return 0;
23976 _ACEOF
23977 rm -f conftest.$ac_objext conftest$ac_exeext
23978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23979 (eval $ac_link) 2>conftest.er1
23980 ac_status=$?
23981 grep -v '^ *+' conftest.er1 >conftest.err
23982 rm -f conftest.er1
23983 cat conftest.err >&5
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); } &&
23986 { ac_try='test -z "$ac_c_werror_flag"
23987 || test ! -s conftest.err'
23988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23989 (eval $ac_try) 2>&5
23990 ac_status=$?
23991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23992 (exit $ac_status); }; } &&
23993 { ac_try='test -s conftest$ac_exeext'
23994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23995 (eval $ac_try) 2>&5
23996 ac_status=$?
23997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23998 (exit $ac_status); }; }; then
23999 eval "$as_ac_var=yes"
24000 else
24001 echo "$as_me: failed program was:" >&5
24002 sed 's/^/| /' conftest.$ac_ext >&5
24004 eval "$as_ac_var=no"
24006 rm -f conftest.err conftest.$ac_objext \
24007 conftest$ac_exeext conftest.$ac_ext
24009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24011 if test `eval echo '${'$as_ac_var'}'` = yes; then
24012 cat >>confdefs.h <<_ACEOF
24013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24014 _ACEOF
24017 done
24027 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
24028 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
24029 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24030 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
24031 echo $ECHO_N "(cached) $ECHO_C" >&6
24032 else
24036 ac_ext=cc
24037 ac_cpp='$CXXCPP $CPPFLAGS'
24038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24042 cat >conftest.$ac_ext <<_ACEOF
24043 /* confdefs.h. */
24044 _ACEOF
24045 cat confdefs.h >>conftest.$ac_ext
24046 cat >>conftest.$ac_ext <<_ACEOF
24047 /* end confdefs.h. */
24048 #include <math.h>
24050 main ()
24052 ldexpf(0, 0);
24054 return 0;
24056 _ACEOF
24057 rm -f conftest.$ac_objext
24058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24059 (eval $ac_compile) 2>conftest.er1
24060 ac_status=$?
24061 grep -v '^ *+' conftest.er1 >conftest.err
24062 rm -f conftest.er1
24063 cat conftest.err >&5
24064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24065 (exit $ac_status); } &&
24066 { ac_try='test -z "$ac_cxx_werror_flag"
24067 || test ! -s conftest.err'
24068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24069 (eval $ac_try) 2>&5
24070 ac_status=$?
24071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24072 (exit $ac_status); }; } &&
24073 { ac_try='test -s conftest.$ac_objext'
24074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24075 (eval $ac_try) 2>&5
24076 ac_status=$?
24077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24078 (exit $ac_status); }; }; then
24079 glibcxx_cv_func_ldexpf_use=yes
24080 else
24081 echo "$as_me: failed program was:" >&5
24082 sed 's/^/| /' conftest.$ac_ext >&5
24084 glibcxx_cv_func_ldexpf_use=no
24086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24087 ac_ext=c
24088 ac_cpp='$CPP $CPPFLAGS'
24089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24097 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
24098 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
24100 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24102 for ac_func in ldexpf
24104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24105 echo "$as_me:$LINENO: checking for $ac_func" >&5
24106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24107 if eval "test \"\${$as_ac_var+set}\" = set"; then
24108 echo $ECHO_N "(cached) $ECHO_C" >&6
24109 else
24110 if test x$gcc_no_link = xyes; then
24111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24113 { (exit 1); exit 1; }; }
24115 cat >conftest.$ac_ext <<_ACEOF
24116 /* confdefs.h. */
24117 _ACEOF
24118 cat confdefs.h >>conftest.$ac_ext
24119 cat >>conftest.$ac_ext <<_ACEOF
24120 /* end confdefs.h. */
24121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24123 #define $ac_func innocuous_$ac_func
24125 /* System header to define __stub macros and hopefully few prototypes,
24126 which can conflict with char $ac_func (); below.
24127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24128 <limits.h> exists even on freestanding compilers. */
24130 #ifdef __STDC__
24131 # include <limits.h>
24132 #else
24133 # include <assert.h>
24134 #endif
24136 #undef $ac_func
24138 /* Override any gcc2 internal prototype to avoid an error. */
24139 #ifdef __cplusplus
24140 extern "C"
24142 #endif
24143 /* We use char because int might match the return type of a gcc2
24144 builtin and then its argument prototype would still apply. */
24145 char $ac_func ();
24146 /* The GNU C library defines this for functions which it implements
24147 to always fail with ENOSYS. Some functions are actually named
24148 something starting with __ and the normal name is an alias. */
24149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24150 choke me
24151 #else
24152 char (*f) () = $ac_func;
24153 #endif
24154 #ifdef __cplusplus
24156 #endif
24159 main ()
24161 return f != $ac_func;
24163 return 0;
24165 _ACEOF
24166 rm -f conftest.$ac_objext conftest$ac_exeext
24167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24168 (eval $ac_link) 2>conftest.er1
24169 ac_status=$?
24170 grep -v '^ *+' conftest.er1 >conftest.err
24171 rm -f conftest.er1
24172 cat conftest.err >&5
24173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24174 (exit $ac_status); } &&
24175 { ac_try='test -z "$ac_c_werror_flag"
24176 || test ! -s conftest.err'
24177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24178 (eval $ac_try) 2>&5
24179 ac_status=$?
24180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 (exit $ac_status); }; } &&
24182 { ac_try='test -s conftest$ac_exeext'
24183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24184 (eval $ac_try) 2>&5
24185 ac_status=$?
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); }; }; then
24188 eval "$as_ac_var=yes"
24189 else
24190 echo "$as_me: failed program was:" >&5
24191 sed 's/^/| /' conftest.$ac_ext >&5
24193 eval "$as_ac_var=no"
24195 rm -f conftest.err conftest.$ac_objext \
24196 conftest$ac_exeext conftest.$ac_ext
24198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24200 if test `eval echo '${'$as_ac_var'}'` = yes; then
24201 cat >>confdefs.h <<_ACEOF
24202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24203 _ACEOF
24206 done
24208 else
24210 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
24211 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
24212 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24213 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
24214 echo $ECHO_N "(cached) $ECHO_C" >&6
24215 else
24219 ac_ext=cc
24220 ac_cpp='$CXXCPP $CPPFLAGS'
24221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24225 cat >conftest.$ac_ext <<_ACEOF
24226 /* confdefs.h. */
24227 _ACEOF
24228 cat confdefs.h >>conftest.$ac_ext
24229 cat >>conftest.$ac_ext <<_ACEOF
24230 /* end confdefs.h. */
24231 #include <math.h>
24233 main ()
24235 _ldexpf(0, 0);
24237 return 0;
24239 _ACEOF
24240 rm -f conftest.$ac_objext
24241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24242 (eval $ac_compile) 2>conftest.er1
24243 ac_status=$?
24244 grep -v '^ *+' conftest.er1 >conftest.err
24245 rm -f conftest.er1
24246 cat conftest.err >&5
24247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248 (exit $ac_status); } &&
24249 { ac_try='test -z "$ac_cxx_werror_flag"
24250 || test ! -s conftest.err'
24251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24252 (eval $ac_try) 2>&5
24253 ac_status=$?
24254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24255 (exit $ac_status); }; } &&
24256 { ac_try='test -s conftest.$ac_objext'
24257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24258 (eval $ac_try) 2>&5
24259 ac_status=$?
24260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24261 (exit $ac_status); }; }; then
24262 glibcxx_cv_func__ldexpf_use=yes
24263 else
24264 echo "$as_me: failed program was:" >&5
24265 sed 's/^/| /' conftest.$ac_ext >&5
24267 glibcxx_cv_func__ldexpf_use=no
24269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24270 ac_ext=c
24271 ac_cpp='$CPP $CPPFLAGS'
24272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24280 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
24281 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
24283 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24285 for ac_func in _ldexpf
24287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24288 echo "$as_me:$LINENO: checking for $ac_func" >&5
24289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24290 if eval "test \"\${$as_ac_var+set}\" = set"; then
24291 echo $ECHO_N "(cached) $ECHO_C" >&6
24292 else
24293 if test x$gcc_no_link = xyes; then
24294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24296 { (exit 1); exit 1; }; }
24298 cat >conftest.$ac_ext <<_ACEOF
24299 /* confdefs.h. */
24300 _ACEOF
24301 cat confdefs.h >>conftest.$ac_ext
24302 cat >>conftest.$ac_ext <<_ACEOF
24303 /* end confdefs.h. */
24304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24306 #define $ac_func innocuous_$ac_func
24308 /* System header to define __stub macros and hopefully few prototypes,
24309 which can conflict with char $ac_func (); below.
24310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24311 <limits.h> exists even on freestanding compilers. */
24313 #ifdef __STDC__
24314 # include <limits.h>
24315 #else
24316 # include <assert.h>
24317 #endif
24319 #undef $ac_func
24321 /* Override any gcc2 internal prototype to avoid an error. */
24322 #ifdef __cplusplus
24323 extern "C"
24325 #endif
24326 /* We use char because int might match the return type of a gcc2
24327 builtin and then its argument prototype would still apply. */
24328 char $ac_func ();
24329 /* The GNU C library defines this for functions which it implements
24330 to always fail with ENOSYS. Some functions are actually named
24331 something starting with __ and the normal name is an alias. */
24332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24333 choke me
24334 #else
24335 char (*f) () = $ac_func;
24336 #endif
24337 #ifdef __cplusplus
24339 #endif
24342 main ()
24344 return f != $ac_func;
24346 return 0;
24348 _ACEOF
24349 rm -f conftest.$ac_objext conftest$ac_exeext
24350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24351 (eval $ac_link) 2>conftest.er1
24352 ac_status=$?
24353 grep -v '^ *+' conftest.er1 >conftest.err
24354 rm -f conftest.er1
24355 cat conftest.err >&5
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); } &&
24358 { ac_try='test -z "$ac_c_werror_flag"
24359 || test ! -s conftest.err'
24360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24361 (eval $ac_try) 2>&5
24362 ac_status=$?
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); }; } &&
24365 { ac_try='test -s conftest$ac_exeext'
24366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24367 (eval $ac_try) 2>&5
24368 ac_status=$?
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); }; }; then
24371 eval "$as_ac_var=yes"
24372 else
24373 echo "$as_me: failed program was:" >&5
24374 sed 's/^/| /' conftest.$ac_ext >&5
24376 eval "$as_ac_var=no"
24378 rm -f conftest.err conftest.$ac_objext \
24379 conftest$ac_exeext conftest.$ac_ext
24381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24383 if test `eval echo '${'$as_ac_var'}'` = yes; then
24384 cat >>confdefs.h <<_ACEOF
24385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24386 _ACEOF
24389 done
24399 echo "$as_me:$LINENO: checking for logf declaration" >&5
24400 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
24401 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24402 if test "${glibcxx_cv_func_logf_use+set}" = set; then
24403 echo $ECHO_N "(cached) $ECHO_C" >&6
24404 else
24408 ac_ext=cc
24409 ac_cpp='$CXXCPP $CPPFLAGS'
24410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24414 cat >conftest.$ac_ext <<_ACEOF
24415 /* confdefs.h. */
24416 _ACEOF
24417 cat confdefs.h >>conftest.$ac_ext
24418 cat >>conftest.$ac_ext <<_ACEOF
24419 /* end confdefs.h. */
24420 #include <math.h>
24421 #ifdef HAVE_IEEEFP_H
24422 #include <ieeefp.h>
24423 #endif
24426 main ()
24428 logf(0);
24430 return 0;
24432 _ACEOF
24433 rm -f conftest.$ac_objext
24434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24435 (eval $ac_compile) 2>conftest.er1
24436 ac_status=$?
24437 grep -v '^ *+' conftest.er1 >conftest.err
24438 rm -f conftest.er1
24439 cat conftest.err >&5
24440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441 (exit $ac_status); } &&
24442 { ac_try='test -z "$ac_cxx_werror_flag"
24443 || test ! -s conftest.err'
24444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24445 (eval $ac_try) 2>&5
24446 ac_status=$?
24447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24448 (exit $ac_status); }; } &&
24449 { ac_try='test -s conftest.$ac_objext'
24450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24451 (eval $ac_try) 2>&5
24452 ac_status=$?
24453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24454 (exit $ac_status); }; }; then
24455 glibcxx_cv_func_logf_use=yes
24456 else
24457 echo "$as_me: failed program was:" >&5
24458 sed 's/^/| /' conftest.$ac_ext >&5
24460 glibcxx_cv_func_logf_use=no
24462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24463 ac_ext=c
24464 ac_cpp='$CPP $CPPFLAGS'
24465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24473 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
24474 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
24476 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24478 for ac_func in logf
24480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24481 echo "$as_me:$LINENO: checking for $ac_func" >&5
24482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24483 if eval "test \"\${$as_ac_var+set}\" = set"; then
24484 echo $ECHO_N "(cached) $ECHO_C" >&6
24485 else
24486 if test x$gcc_no_link = xyes; then
24487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24489 { (exit 1); exit 1; }; }
24491 cat >conftest.$ac_ext <<_ACEOF
24492 /* confdefs.h. */
24493 _ACEOF
24494 cat confdefs.h >>conftest.$ac_ext
24495 cat >>conftest.$ac_ext <<_ACEOF
24496 /* end confdefs.h. */
24497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24499 #define $ac_func innocuous_$ac_func
24501 /* System header to define __stub macros and hopefully few prototypes,
24502 which can conflict with char $ac_func (); below.
24503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24504 <limits.h> exists even on freestanding compilers. */
24506 #ifdef __STDC__
24507 # include <limits.h>
24508 #else
24509 # include <assert.h>
24510 #endif
24512 #undef $ac_func
24514 /* Override any gcc2 internal prototype to avoid an error. */
24515 #ifdef __cplusplus
24516 extern "C"
24518 #endif
24519 /* We use char because int might match the return type of a gcc2
24520 builtin and then its argument prototype would still apply. */
24521 char $ac_func ();
24522 /* The GNU C library defines this for functions which it implements
24523 to always fail with ENOSYS. Some functions are actually named
24524 something starting with __ and the normal name is an alias. */
24525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24526 choke me
24527 #else
24528 char (*f) () = $ac_func;
24529 #endif
24530 #ifdef __cplusplus
24532 #endif
24535 main ()
24537 return f != $ac_func;
24539 return 0;
24541 _ACEOF
24542 rm -f conftest.$ac_objext conftest$ac_exeext
24543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24544 (eval $ac_link) 2>conftest.er1
24545 ac_status=$?
24546 grep -v '^ *+' conftest.er1 >conftest.err
24547 rm -f conftest.er1
24548 cat conftest.err >&5
24549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24550 (exit $ac_status); } &&
24551 { ac_try='test -z "$ac_c_werror_flag"
24552 || test ! -s conftest.err'
24553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24554 (eval $ac_try) 2>&5
24555 ac_status=$?
24556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557 (exit $ac_status); }; } &&
24558 { ac_try='test -s conftest$ac_exeext'
24559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24560 (eval $ac_try) 2>&5
24561 ac_status=$?
24562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24563 (exit $ac_status); }; }; then
24564 eval "$as_ac_var=yes"
24565 else
24566 echo "$as_me: failed program was:" >&5
24567 sed 's/^/| /' conftest.$ac_ext >&5
24569 eval "$as_ac_var=no"
24571 rm -f conftest.err conftest.$ac_objext \
24572 conftest$ac_exeext conftest.$ac_ext
24574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24576 if test `eval echo '${'$as_ac_var'}'` = yes; then
24577 cat >>confdefs.h <<_ACEOF
24578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24579 _ACEOF
24582 done
24584 else
24586 echo "$as_me:$LINENO: checking for _logf declaration" >&5
24587 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
24588 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24589 if test "${glibcxx_cv_func__logf_use+set}" = set; then
24590 echo $ECHO_N "(cached) $ECHO_C" >&6
24591 else
24595 ac_ext=cc
24596 ac_cpp='$CXXCPP $CPPFLAGS'
24597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24601 cat >conftest.$ac_ext <<_ACEOF
24602 /* confdefs.h. */
24603 _ACEOF
24604 cat confdefs.h >>conftest.$ac_ext
24605 cat >>conftest.$ac_ext <<_ACEOF
24606 /* end confdefs.h. */
24607 #include <math.h>
24608 #ifdef HAVE_IEEEFP_H
24609 #include <ieeefp.h>
24610 #endif
24613 main ()
24615 _logf(0);
24617 return 0;
24619 _ACEOF
24620 rm -f conftest.$ac_objext
24621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24622 (eval $ac_compile) 2>conftest.er1
24623 ac_status=$?
24624 grep -v '^ *+' conftest.er1 >conftest.err
24625 rm -f conftest.er1
24626 cat conftest.err >&5
24627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24628 (exit $ac_status); } &&
24629 { ac_try='test -z "$ac_cxx_werror_flag"
24630 || test ! -s conftest.err'
24631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24632 (eval $ac_try) 2>&5
24633 ac_status=$?
24634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24635 (exit $ac_status); }; } &&
24636 { ac_try='test -s conftest.$ac_objext'
24637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24638 (eval $ac_try) 2>&5
24639 ac_status=$?
24640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24641 (exit $ac_status); }; }; then
24642 glibcxx_cv_func__logf_use=yes
24643 else
24644 echo "$as_me: failed program was:" >&5
24645 sed 's/^/| /' conftest.$ac_ext >&5
24647 glibcxx_cv_func__logf_use=no
24649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24650 ac_ext=c
24651 ac_cpp='$CPP $CPPFLAGS'
24652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24660 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
24661 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
24663 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24665 for ac_func in _logf
24667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24668 echo "$as_me:$LINENO: checking for $ac_func" >&5
24669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24670 if eval "test \"\${$as_ac_var+set}\" = set"; then
24671 echo $ECHO_N "(cached) $ECHO_C" >&6
24672 else
24673 if test x$gcc_no_link = xyes; then
24674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24676 { (exit 1); exit 1; }; }
24678 cat >conftest.$ac_ext <<_ACEOF
24679 /* confdefs.h. */
24680 _ACEOF
24681 cat confdefs.h >>conftest.$ac_ext
24682 cat >>conftest.$ac_ext <<_ACEOF
24683 /* end confdefs.h. */
24684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24686 #define $ac_func innocuous_$ac_func
24688 /* System header to define __stub macros and hopefully few prototypes,
24689 which can conflict with char $ac_func (); below.
24690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24691 <limits.h> exists even on freestanding compilers. */
24693 #ifdef __STDC__
24694 # include <limits.h>
24695 #else
24696 # include <assert.h>
24697 #endif
24699 #undef $ac_func
24701 /* Override any gcc2 internal prototype to avoid an error. */
24702 #ifdef __cplusplus
24703 extern "C"
24705 #endif
24706 /* We use char because int might match the return type of a gcc2
24707 builtin and then its argument prototype would still apply. */
24708 char $ac_func ();
24709 /* The GNU C library defines this for functions which it implements
24710 to always fail with ENOSYS. Some functions are actually named
24711 something starting with __ and the normal name is an alias. */
24712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24713 choke me
24714 #else
24715 char (*f) () = $ac_func;
24716 #endif
24717 #ifdef __cplusplus
24719 #endif
24722 main ()
24724 return f != $ac_func;
24726 return 0;
24728 _ACEOF
24729 rm -f conftest.$ac_objext conftest$ac_exeext
24730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24731 (eval $ac_link) 2>conftest.er1
24732 ac_status=$?
24733 grep -v '^ *+' conftest.er1 >conftest.err
24734 rm -f conftest.er1
24735 cat conftest.err >&5
24736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24737 (exit $ac_status); } &&
24738 { ac_try='test -z "$ac_c_werror_flag"
24739 || test ! -s conftest.err'
24740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24741 (eval $ac_try) 2>&5
24742 ac_status=$?
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); }; } &&
24745 { ac_try='test -s conftest$ac_exeext'
24746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24747 (eval $ac_try) 2>&5
24748 ac_status=$?
24749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24750 (exit $ac_status); }; }; then
24751 eval "$as_ac_var=yes"
24752 else
24753 echo "$as_me: failed program was:" >&5
24754 sed 's/^/| /' conftest.$ac_ext >&5
24756 eval "$as_ac_var=no"
24758 rm -f conftest.err conftest.$ac_objext \
24759 conftest$ac_exeext conftest.$ac_ext
24761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24763 if test `eval echo '${'$as_ac_var'}'` = yes; then
24764 cat >>confdefs.h <<_ACEOF
24765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24766 _ACEOF
24769 done
24779 echo "$as_me:$LINENO: checking for log10f declaration" >&5
24780 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
24781 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24782 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
24783 echo $ECHO_N "(cached) $ECHO_C" >&6
24784 else
24788 ac_ext=cc
24789 ac_cpp='$CXXCPP $CPPFLAGS'
24790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24794 cat >conftest.$ac_ext <<_ACEOF
24795 /* confdefs.h. */
24796 _ACEOF
24797 cat confdefs.h >>conftest.$ac_ext
24798 cat >>conftest.$ac_ext <<_ACEOF
24799 /* end confdefs.h. */
24800 #include <math.h>
24801 #ifdef HAVE_IEEEFP_H
24802 #include <ieeefp.h>
24803 #endif
24806 main ()
24808 log10f(0);
24810 return 0;
24812 _ACEOF
24813 rm -f conftest.$ac_objext
24814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24815 (eval $ac_compile) 2>conftest.er1
24816 ac_status=$?
24817 grep -v '^ *+' conftest.er1 >conftest.err
24818 rm -f conftest.er1
24819 cat conftest.err >&5
24820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24821 (exit $ac_status); } &&
24822 { ac_try='test -z "$ac_cxx_werror_flag"
24823 || test ! -s conftest.err'
24824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24825 (eval $ac_try) 2>&5
24826 ac_status=$?
24827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24828 (exit $ac_status); }; } &&
24829 { ac_try='test -s conftest.$ac_objext'
24830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24831 (eval $ac_try) 2>&5
24832 ac_status=$?
24833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24834 (exit $ac_status); }; }; then
24835 glibcxx_cv_func_log10f_use=yes
24836 else
24837 echo "$as_me: failed program was:" >&5
24838 sed 's/^/| /' conftest.$ac_ext >&5
24840 glibcxx_cv_func_log10f_use=no
24842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24843 ac_ext=c
24844 ac_cpp='$CPP $CPPFLAGS'
24845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24853 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
24854 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
24856 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24858 for ac_func in log10f
24860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24861 echo "$as_me:$LINENO: checking for $ac_func" >&5
24862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24863 if eval "test \"\${$as_ac_var+set}\" = set"; then
24864 echo $ECHO_N "(cached) $ECHO_C" >&6
24865 else
24866 if test x$gcc_no_link = xyes; then
24867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24869 { (exit 1); exit 1; }; }
24871 cat >conftest.$ac_ext <<_ACEOF
24872 /* confdefs.h. */
24873 _ACEOF
24874 cat confdefs.h >>conftest.$ac_ext
24875 cat >>conftest.$ac_ext <<_ACEOF
24876 /* end confdefs.h. */
24877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24879 #define $ac_func innocuous_$ac_func
24881 /* System header to define __stub macros and hopefully few prototypes,
24882 which can conflict with char $ac_func (); below.
24883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24884 <limits.h> exists even on freestanding compilers. */
24886 #ifdef __STDC__
24887 # include <limits.h>
24888 #else
24889 # include <assert.h>
24890 #endif
24892 #undef $ac_func
24894 /* Override any gcc2 internal prototype to avoid an error. */
24895 #ifdef __cplusplus
24896 extern "C"
24898 #endif
24899 /* We use char because int might match the return type of a gcc2
24900 builtin and then its argument prototype would still apply. */
24901 char $ac_func ();
24902 /* The GNU C library defines this for functions which it implements
24903 to always fail with ENOSYS. Some functions are actually named
24904 something starting with __ and the normal name is an alias. */
24905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24906 choke me
24907 #else
24908 char (*f) () = $ac_func;
24909 #endif
24910 #ifdef __cplusplus
24912 #endif
24915 main ()
24917 return f != $ac_func;
24919 return 0;
24921 _ACEOF
24922 rm -f conftest.$ac_objext conftest$ac_exeext
24923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24924 (eval $ac_link) 2>conftest.er1
24925 ac_status=$?
24926 grep -v '^ *+' conftest.er1 >conftest.err
24927 rm -f conftest.er1
24928 cat conftest.err >&5
24929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24930 (exit $ac_status); } &&
24931 { ac_try='test -z "$ac_c_werror_flag"
24932 || test ! -s conftest.err'
24933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24934 (eval $ac_try) 2>&5
24935 ac_status=$?
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); }; } &&
24938 { ac_try='test -s conftest$ac_exeext'
24939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24940 (eval $ac_try) 2>&5
24941 ac_status=$?
24942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24943 (exit $ac_status); }; }; then
24944 eval "$as_ac_var=yes"
24945 else
24946 echo "$as_me: failed program was:" >&5
24947 sed 's/^/| /' conftest.$ac_ext >&5
24949 eval "$as_ac_var=no"
24951 rm -f conftest.err conftest.$ac_objext \
24952 conftest$ac_exeext conftest.$ac_ext
24954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24956 if test `eval echo '${'$as_ac_var'}'` = yes; then
24957 cat >>confdefs.h <<_ACEOF
24958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24959 _ACEOF
24962 done
24964 else
24966 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
24967 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
24968 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24969 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
24970 echo $ECHO_N "(cached) $ECHO_C" >&6
24971 else
24975 ac_ext=cc
24976 ac_cpp='$CXXCPP $CPPFLAGS'
24977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24981 cat >conftest.$ac_ext <<_ACEOF
24982 /* confdefs.h. */
24983 _ACEOF
24984 cat confdefs.h >>conftest.$ac_ext
24985 cat >>conftest.$ac_ext <<_ACEOF
24986 /* end confdefs.h. */
24987 #include <math.h>
24988 #ifdef HAVE_IEEEFP_H
24989 #include <ieeefp.h>
24990 #endif
24993 main ()
24995 _log10f(0);
24997 return 0;
24999 _ACEOF
25000 rm -f conftest.$ac_objext
25001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25002 (eval $ac_compile) 2>conftest.er1
25003 ac_status=$?
25004 grep -v '^ *+' conftest.er1 >conftest.err
25005 rm -f conftest.er1
25006 cat conftest.err >&5
25007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25008 (exit $ac_status); } &&
25009 { ac_try='test -z "$ac_cxx_werror_flag"
25010 || test ! -s conftest.err'
25011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25012 (eval $ac_try) 2>&5
25013 ac_status=$?
25014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25015 (exit $ac_status); }; } &&
25016 { ac_try='test -s conftest.$ac_objext'
25017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25018 (eval $ac_try) 2>&5
25019 ac_status=$?
25020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25021 (exit $ac_status); }; }; then
25022 glibcxx_cv_func__log10f_use=yes
25023 else
25024 echo "$as_me: failed program was:" >&5
25025 sed 's/^/| /' conftest.$ac_ext >&5
25027 glibcxx_cv_func__log10f_use=no
25029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25030 ac_ext=c
25031 ac_cpp='$CPP $CPPFLAGS'
25032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
25041 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
25043 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25045 for ac_func in _log10f
25047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25048 echo "$as_me:$LINENO: checking for $ac_func" >&5
25049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25050 if eval "test \"\${$as_ac_var+set}\" = set"; then
25051 echo $ECHO_N "(cached) $ECHO_C" >&6
25052 else
25053 if test x$gcc_no_link = xyes; then
25054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25056 { (exit 1); exit 1; }; }
25058 cat >conftest.$ac_ext <<_ACEOF
25059 /* confdefs.h. */
25060 _ACEOF
25061 cat confdefs.h >>conftest.$ac_ext
25062 cat >>conftest.$ac_ext <<_ACEOF
25063 /* end confdefs.h. */
25064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25066 #define $ac_func innocuous_$ac_func
25068 /* System header to define __stub macros and hopefully few prototypes,
25069 which can conflict with char $ac_func (); below.
25070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25071 <limits.h> exists even on freestanding compilers. */
25073 #ifdef __STDC__
25074 # include <limits.h>
25075 #else
25076 # include <assert.h>
25077 #endif
25079 #undef $ac_func
25081 /* Override any gcc2 internal prototype to avoid an error. */
25082 #ifdef __cplusplus
25083 extern "C"
25085 #endif
25086 /* We use char because int might match the return type of a gcc2
25087 builtin and then its argument prototype would still apply. */
25088 char $ac_func ();
25089 /* The GNU C library defines this for functions which it implements
25090 to always fail with ENOSYS. Some functions are actually named
25091 something starting with __ and the normal name is an alias. */
25092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25093 choke me
25094 #else
25095 char (*f) () = $ac_func;
25096 #endif
25097 #ifdef __cplusplus
25099 #endif
25102 main ()
25104 return f != $ac_func;
25106 return 0;
25108 _ACEOF
25109 rm -f conftest.$ac_objext conftest$ac_exeext
25110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25111 (eval $ac_link) 2>conftest.er1
25112 ac_status=$?
25113 grep -v '^ *+' conftest.er1 >conftest.err
25114 rm -f conftest.er1
25115 cat conftest.err >&5
25116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25117 (exit $ac_status); } &&
25118 { ac_try='test -z "$ac_c_werror_flag"
25119 || test ! -s conftest.err'
25120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25121 (eval $ac_try) 2>&5
25122 ac_status=$?
25123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); }; } &&
25125 { ac_try='test -s conftest$ac_exeext'
25126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25127 (eval $ac_try) 2>&5
25128 ac_status=$?
25129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130 (exit $ac_status); }; }; then
25131 eval "$as_ac_var=yes"
25132 else
25133 echo "$as_me: failed program was:" >&5
25134 sed 's/^/| /' conftest.$ac_ext >&5
25136 eval "$as_ac_var=no"
25138 rm -f conftest.err conftest.$ac_objext \
25139 conftest$ac_exeext conftest.$ac_ext
25141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25143 if test `eval echo '${'$as_ac_var'}'` = yes; then
25144 cat >>confdefs.h <<_ACEOF
25145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25146 _ACEOF
25149 done
25159 echo "$as_me:$LINENO: checking for modff declaration" >&5
25160 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
25161 if test x${glibcxx_cv_func_modff_use+set} != xset; then
25162 if test "${glibcxx_cv_func_modff_use+set}" = set; then
25163 echo $ECHO_N "(cached) $ECHO_C" >&6
25164 else
25168 ac_ext=cc
25169 ac_cpp='$CXXCPP $CPPFLAGS'
25170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25174 cat >conftest.$ac_ext <<_ACEOF
25175 /* confdefs.h. */
25176 _ACEOF
25177 cat confdefs.h >>conftest.$ac_ext
25178 cat >>conftest.$ac_ext <<_ACEOF
25179 /* end confdefs.h. */
25180 #include <math.h>
25182 main ()
25184 modff(0, 0);
25186 return 0;
25188 _ACEOF
25189 rm -f conftest.$ac_objext
25190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25191 (eval $ac_compile) 2>conftest.er1
25192 ac_status=$?
25193 grep -v '^ *+' conftest.er1 >conftest.err
25194 rm -f conftest.er1
25195 cat conftest.err >&5
25196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25197 (exit $ac_status); } &&
25198 { ac_try='test -z "$ac_cxx_werror_flag"
25199 || test ! -s conftest.err'
25200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25201 (eval $ac_try) 2>&5
25202 ac_status=$?
25203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25204 (exit $ac_status); }; } &&
25205 { ac_try='test -s conftest.$ac_objext'
25206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25207 (eval $ac_try) 2>&5
25208 ac_status=$?
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); }; }; then
25211 glibcxx_cv_func_modff_use=yes
25212 else
25213 echo "$as_me: failed program was:" >&5
25214 sed 's/^/| /' conftest.$ac_ext >&5
25216 glibcxx_cv_func_modff_use=no
25218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25219 ac_ext=c
25220 ac_cpp='$CPP $CPPFLAGS'
25221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25229 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
25230 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
25232 if test x$glibcxx_cv_func_modff_use = x"yes"; then
25234 for ac_func in modff
25236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25237 echo "$as_me:$LINENO: checking for $ac_func" >&5
25238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25239 if eval "test \"\${$as_ac_var+set}\" = set"; then
25240 echo $ECHO_N "(cached) $ECHO_C" >&6
25241 else
25242 if test x$gcc_no_link = xyes; then
25243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25245 { (exit 1); exit 1; }; }
25247 cat >conftest.$ac_ext <<_ACEOF
25248 /* confdefs.h. */
25249 _ACEOF
25250 cat confdefs.h >>conftest.$ac_ext
25251 cat >>conftest.$ac_ext <<_ACEOF
25252 /* end confdefs.h. */
25253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25255 #define $ac_func innocuous_$ac_func
25257 /* System header to define __stub macros and hopefully few prototypes,
25258 which can conflict with char $ac_func (); below.
25259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25260 <limits.h> exists even on freestanding compilers. */
25262 #ifdef __STDC__
25263 # include <limits.h>
25264 #else
25265 # include <assert.h>
25266 #endif
25268 #undef $ac_func
25270 /* Override any gcc2 internal prototype to avoid an error. */
25271 #ifdef __cplusplus
25272 extern "C"
25274 #endif
25275 /* We use char because int might match the return type of a gcc2
25276 builtin and then its argument prototype would still apply. */
25277 char $ac_func ();
25278 /* The GNU C library defines this for functions which it implements
25279 to always fail with ENOSYS. Some functions are actually named
25280 something starting with __ and the normal name is an alias. */
25281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25282 choke me
25283 #else
25284 char (*f) () = $ac_func;
25285 #endif
25286 #ifdef __cplusplus
25288 #endif
25291 main ()
25293 return f != $ac_func;
25295 return 0;
25297 _ACEOF
25298 rm -f conftest.$ac_objext conftest$ac_exeext
25299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25300 (eval $ac_link) 2>conftest.er1
25301 ac_status=$?
25302 grep -v '^ *+' conftest.er1 >conftest.err
25303 rm -f conftest.er1
25304 cat conftest.err >&5
25305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25306 (exit $ac_status); } &&
25307 { ac_try='test -z "$ac_c_werror_flag"
25308 || test ! -s conftest.err'
25309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25310 (eval $ac_try) 2>&5
25311 ac_status=$?
25312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25313 (exit $ac_status); }; } &&
25314 { ac_try='test -s conftest$ac_exeext'
25315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25316 (eval $ac_try) 2>&5
25317 ac_status=$?
25318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25319 (exit $ac_status); }; }; then
25320 eval "$as_ac_var=yes"
25321 else
25322 echo "$as_me: failed program was:" >&5
25323 sed 's/^/| /' conftest.$ac_ext >&5
25325 eval "$as_ac_var=no"
25327 rm -f conftest.err conftest.$ac_objext \
25328 conftest$ac_exeext conftest.$ac_ext
25330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25332 if test `eval echo '${'$as_ac_var'}'` = yes; then
25333 cat >>confdefs.h <<_ACEOF
25334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25335 _ACEOF
25338 done
25340 else
25342 echo "$as_me:$LINENO: checking for _modff declaration" >&5
25343 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
25344 if test x${glibcxx_cv_func__modff_use+set} != xset; then
25345 if test "${glibcxx_cv_func__modff_use+set}" = set; then
25346 echo $ECHO_N "(cached) $ECHO_C" >&6
25347 else
25351 ac_ext=cc
25352 ac_cpp='$CXXCPP $CPPFLAGS'
25353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25357 cat >conftest.$ac_ext <<_ACEOF
25358 /* confdefs.h. */
25359 _ACEOF
25360 cat confdefs.h >>conftest.$ac_ext
25361 cat >>conftest.$ac_ext <<_ACEOF
25362 /* end confdefs.h. */
25363 #include <math.h>
25365 main ()
25367 _modff(0, 0);
25369 return 0;
25371 _ACEOF
25372 rm -f conftest.$ac_objext
25373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25374 (eval $ac_compile) 2>conftest.er1
25375 ac_status=$?
25376 grep -v '^ *+' conftest.er1 >conftest.err
25377 rm -f conftest.er1
25378 cat conftest.err >&5
25379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25380 (exit $ac_status); } &&
25381 { ac_try='test -z "$ac_cxx_werror_flag"
25382 || test ! -s conftest.err'
25383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25384 (eval $ac_try) 2>&5
25385 ac_status=$?
25386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25387 (exit $ac_status); }; } &&
25388 { ac_try='test -s conftest.$ac_objext'
25389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25390 (eval $ac_try) 2>&5
25391 ac_status=$?
25392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25393 (exit $ac_status); }; }; then
25394 glibcxx_cv_func__modff_use=yes
25395 else
25396 echo "$as_me: failed program was:" >&5
25397 sed 's/^/| /' conftest.$ac_ext >&5
25399 glibcxx_cv_func__modff_use=no
25401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25402 ac_ext=c
25403 ac_cpp='$CPP $CPPFLAGS'
25404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25412 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
25413 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
25415 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25417 for ac_func in _modff
25419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25420 echo "$as_me:$LINENO: checking for $ac_func" >&5
25421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25422 if eval "test \"\${$as_ac_var+set}\" = set"; then
25423 echo $ECHO_N "(cached) $ECHO_C" >&6
25424 else
25425 if test x$gcc_no_link = xyes; then
25426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25428 { (exit 1); exit 1; }; }
25430 cat >conftest.$ac_ext <<_ACEOF
25431 /* confdefs.h. */
25432 _ACEOF
25433 cat confdefs.h >>conftest.$ac_ext
25434 cat >>conftest.$ac_ext <<_ACEOF
25435 /* end confdefs.h. */
25436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25438 #define $ac_func innocuous_$ac_func
25440 /* System header to define __stub macros and hopefully few prototypes,
25441 which can conflict with char $ac_func (); below.
25442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25443 <limits.h> exists even on freestanding compilers. */
25445 #ifdef __STDC__
25446 # include <limits.h>
25447 #else
25448 # include <assert.h>
25449 #endif
25451 #undef $ac_func
25453 /* Override any gcc2 internal prototype to avoid an error. */
25454 #ifdef __cplusplus
25455 extern "C"
25457 #endif
25458 /* We use char because int might match the return type of a gcc2
25459 builtin and then its argument prototype would still apply. */
25460 char $ac_func ();
25461 /* The GNU C library defines this for functions which it implements
25462 to always fail with ENOSYS. Some functions are actually named
25463 something starting with __ and the normal name is an alias. */
25464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25465 choke me
25466 #else
25467 char (*f) () = $ac_func;
25468 #endif
25469 #ifdef __cplusplus
25471 #endif
25474 main ()
25476 return f != $ac_func;
25478 return 0;
25480 _ACEOF
25481 rm -f conftest.$ac_objext conftest$ac_exeext
25482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25483 (eval $ac_link) 2>conftest.er1
25484 ac_status=$?
25485 grep -v '^ *+' conftest.er1 >conftest.err
25486 rm -f conftest.er1
25487 cat conftest.err >&5
25488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25489 (exit $ac_status); } &&
25490 { ac_try='test -z "$ac_c_werror_flag"
25491 || test ! -s conftest.err'
25492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25493 (eval $ac_try) 2>&5
25494 ac_status=$?
25495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25496 (exit $ac_status); }; } &&
25497 { ac_try='test -s conftest$ac_exeext'
25498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25499 (eval $ac_try) 2>&5
25500 ac_status=$?
25501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25502 (exit $ac_status); }; }; then
25503 eval "$as_ac_var=yes"
25504 else
25505 echo "$as_me: failed program was:" >&5
25506 sed 's/^/| /' conftest.$ac_ext >&5
25508 eval "$as_ac_var=no"
25510 rm -f conftest.err conftest.$ac_objext \
25511 conftest$ac_exeext conftest.$ac_ext
25513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25515 if test `eval echo '${'$as_ac_var'}'` = yes; then
25516 cat >>confdefs.h <<_ACEOF
25517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25518 _ACEOF
25521 done
25531 echo "$as_me:$LINENO: checking for modf declaration" >&5
25532 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
25533 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25534 if test "${glibcxx_cv_func_modf_use+set}" = set; then
25535 echo $ECHO_N "(cached) $ECHO_C" >&6
25536 else
25540 ac_ext=cc
25541 ac_cpp='$CXXCPP $CPPFLAGS'
25542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25546 cat >conftest.$ac_ext <<_ACEOF
25547 /* confdefs.h. */
25548 _ACEOF
25549 cat confdefs.h >>conftest.$ac_ext
25550 cat >>conftest.$ac_ext <<_ACEOF
25551 /* end confdefs.h. */
25552 #include <math.h>
25554 main ()
25556 modf(0, 0);
25558 return 0;
25560 _ACEOF
25561 rm -f conftest.$ac_objext
25562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25563 (eval $ac_compile) 2>conftest.er1
25564 ac_status=$?
25565 grep -v '^ *+' conftest.er1 >conftest.err
25566 rm -f conftest.er1
25567 cat conftest.err >&5
25568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25569 (exit $ac_status); } &&
25570 { ac_try='test -z "$ac_cxx_werror_flag"
25571 || test ! -s conftest.err'
25572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25573 (eval $ac_try) 2>&5
25574 ac_status=$?
25575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25576 (exit $ac_status); }; } &&
25577 { ac_try='test -s conftest.$ac_objext'
25578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25579 (eval $ac_try) 2>&5
25580 ac_status=$?
25581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25582 (exit $ac_status); }; }; then
25583 glibcxx_cv_func_modf_use=yes
25584 else
25585 echo "$as_me: failed program was:" >&5
25586 sed 's/^/| /' conftest.$ac_ext >&5
25588 glibcxx_cv_func_modf_use=no
25590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25591 ac_ext=c
25592 ac_cpp='$CPP $CPPFLAGS'
25593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25601 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
25602 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
25604 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25606 for ac_func in modf
25608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25609 echo "$as_me:$LINENO: checking for $ac_func" >&5
25610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25611 if eval "test \"\${$as_ac_var+set}\" = set"; then
25612 echo $ECHO_N "(cached) $ECHO_C" >&6
25613 else
25614 if test x$gcc_no_link = xyes; then
25615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25617 { (exit 1); exit 1; }; }
25619 cat >conftest.$ac_ext <<_ACEOF
25620 /* confdefs.h. */
25621 _ACEOF
25622 cat confdefs.h >>conftest.$ac_ext
25623 cat >>conftest.$ac_ext <<_ACEOF
25624 /* end confdefs.h. */
25625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25627 #define $ac_func innocuous_$ac_func
25629 /* System header to define __stub macros and hopefully few prototypes,
25630 which can conflict with char $ac_func (); below.
25631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25632 <limits.h> exists even on freestanding compilers. */
25634 #ifdef __STDC__
25635 # include <limits.h>
25636 #else
25637 # include <assert.h>
25638 #endif
25640 #undef $ac_func
25642 /* Override any gcc2 internal prototype to avoid an error. */
25643 #ifdef __cplusplus
25644 extern "C"
25646 #endif
25647 /* We use char because int might match the return type of a gcc2
25648 builtin and then its argument prototype would still apply. */
25649 char $ac_func ();
25650 /* The GNU C library defines this for functions which it implements
25651 to always fail with ENOSYS. Some functions are actually named
25652 something starting with __ and the normal name is an alias. */
25653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25654 choke me
25655 #else
25656 char (*f) () = $ac_func;
25657 #endif
25658 #ifdef __cplusplus
25660 #endif
25663 main ()
25665 return f != $ac_func;
25667 return 0;
25669 _ACEOF
25670 rm -f conftest.$ac_objext conftest$ac_exeext
25671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25672 (eval $ac_link) 2>conftest.er1
25673 ac_status=$?
25674 grep -v '^ *+' conftest.er1 >conftest.err
25675 rm -f conftest.er1
25676 cat conftest.err >&5
25677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25678 (exit $ac_status); } &&
25679 { ac_try='test -z "$ac_c_werror_flag"
25680 || test ! -s conftest.err'
25681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25682 (eval $ac_try) 2>&5
25683 ac_status=$?
25684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25685 (exit $ac_status); }; } &&
25686 { ac_try='test -s conftest$ac_exeext'
25687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25688 (eval $ac_try) 2>&5
25689 ac_status=$?
25690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25691 (exit $ac_status); }; }; then
25692 eval "$as_ac_var=yes"
25693 else
25694 echo "$as_me: failed program was:" >&5
25695 sed 's/^/| /' conftest.$ac_ext >&5
25697 eval "$as_ac_var=no"
25699 rm -f conftest.err conftest.$ac_objext \
25700 conftest$ac_exeext conftest.$ac_ext
25702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25704 if test `eval echo '${'$as_ac_var'}'` = yes; then
25705 cat >>confdefs.h <<_ACEOF
25706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25707 _ACEOF
25710 done
25712 else
25714 echo "$as_me:$LINENO: checking for _modf declaration" >&5
25715 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
25716 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25717 if test "${glibcxx_cv_func__modf_use+set}" = set; then
25718 echo $ECHO_N "(cached) $ECHO_C" >&6
25719 else
25723 ac_ext=cc
25724 ac_cpp='$CXXCPP $CPPFLAGS'
25725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25729 cat >conftest.$ac_ext <<_ACEOF
25730 /* confdefs.h. */
25731 _ACEOF
25732 cat confdefs.h >>conftest.$ac_ext
25733 cat >>conftest.$ac_ext <<_ACEOF
25734 /* end confdefs.h. */
25735 #include <math.h>
25737 main ()
25739 _modf(0, 0);
25741 return 0;
25743 _ACEOF
25744 rm -f conftest.$ac_objext
25745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25746 (eval $ac_compile) 2>conftest.er1
25747 ac_status=$?
25748 grep -v '^ *+' conftest.er1 >conftest.err
25749 rm -f conftest.er1
25750 cat conftest.err >&5
25751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25752 (exit $ac_status); } &&
25753 { ac_try='test -z "$ac_cxx_werror_flag"
25754 || test ! -s conftest.err'
25755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25756 (eval $ac_try) 2>&5
25757 ac_status=$?
25758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759 (exit $ac_status); }; } &&
25760 { ac_try='test -s conftest.$ac_objext'
25761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25762 (eval $ac_try) 2>&5
25763 ac_status=$?
25764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765 (exit $ac_status); }; }; then
25766 glibcxx_cv_func__modf_use=yes
25767 else
25768 echo "$as_me: failed program was:" >&5
25769 sed 's/^/| /' conftest.$ac_ext >&5
25771 glibcxx_cv_func__modf_use=no
25773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25774 ac_ext=c
25775 ac_cpp='$CPP $CPPFLAGS'
25776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
25785 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
25787 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25789 for ac_func in _modf
25791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25792 echo "$as_me:$LINENO: checking for $ac_func" >&5
25793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25794 if eval "test \"\${$as_ac_var+set}\" = set"; then
25795 echo $ECHO_N "(cached) $ECHO_C" >&6
25796 else
25797 if test x$gcc_no_link = xyes; then
25798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25800 { (exit 1); exit 1; }; }
25802 cat >conftest.$ac_ext <<_ACEOF
25803 /* confdefs.h. */
25804 _ACEOF
25805 cat confdefs.h >>conftest.$ac_ext
25806 cat >>conftest.$ac_ext <<_ACEOF
25807 /* end confdefs.h. */
25808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25810 #define $ac_func innocuous_$ac_func
25812 /* System header to define __stub macros and hopefully few prototypes,
25813 which can conflict with char $ac_func (); below.
25814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25815 <limits.h> exists even on freestanding compilers. */
25817 #ifdef __STDC__
25818 # include <limits.h>
25819 #else
25820 # include <assert.h>
25821 #endif
25823 #undef $ac_func
25825 /* Override any gcc2 internal prototype to avoid an error. */
25826 #ifdef __cplusplus
25827 extern "C"
25829 #endif
25830 /* We use char because int might match the return type of a gcc2
25831 builtin and then its argument prototype would still apply. */
25832 char $ac_func ();
25833 /* The GNU C library defines this for functions which it implements
25834 to always fail with ENOSYS. Some functions are actually named
25835 something starting with __ and the normal name is an alias. */
25836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25837 choke me
25838 #else
25839 char (*f) () = $ac_func;
25840 #endif
25841 #ifdef __cplusplus
25843 #endif
25846 main ()
25848 return f != $ac_func;
25850 return 0;
25852 _ACEOF
25853 rm -f conftest.$ac_objext conftest$ac_exeext
25854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25855 (eval $ac_link) 2>conftest.er1
25856 ac_status=$?
25857 grep -v '^ *+' conftest.er1 >conftest.err
25858 rm -f conftest.er1
25859 cat conftest.err >&5
25860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25861 (exit $ac_status); } &&
25862 { ac_try='test -z "$ac_c_werror_flag"
25863 || test ! -s conftest.err'
25864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25865 (eval $ac_try) 2>&5
25866 ac_status=$?
25867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25868 (exit $ac_status); }; } &&
25869 { ac_try='test -s conftest$ac_exeext'
25870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25871 (eval $ac_try) 2>&5
25872 ac_status=$?
25873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25874 (exit $ac_status); }; }; then
25875 eval "$as_ac_var=yes"
25876 else
25877 echo "$as_me: failed program was:" >&5
25878 sed 's/^/| /' conftest.$ac_ext >&5
25880 eval "$as_ac_var=no"
25882 rm -f conftest.err conftest.$ac_objext \
25883 conftest$ac_exeext conftest.$ac_ext
25885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25887 if test `eval echo '${'$as_ac_var'}'` = yes; then
25888 cat >>confdefs.h <<_ACEOF
25889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25890 _ACEOF
25893 done
25903 echo "$as_me:$LINENO: checking for powf declaration" >&5
25904 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
25905 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25906 if test "${glibcxx_cv_func_powf_use+set}" = set; then
25907 echo $ECHO_N "(cached) $ECHO_C" >&6
25908 else
25912 ac_ext=cc
25913 ac_cpp='$CXXCPP $CPPFLAGS'
25914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25918 cat >conftest.$ac_ext <<_ACEOF
25919 /* confdefs.h. */
25920 _ACEOF
25921 cat confdefs.h >>conftest.$ac_ext
25922 cat >>conftest.$ac_ext <<_ACEOF
25923 /* end confdefs.h. */
25924 #include <math.h>
25926 main ()
25928 powf(0, 0);
25930 return 0;
25932 _ACEOF
25933 rm -f conftest.$ac_objext
25934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25935 (eval $ac_compile) 2>conftest.er1
25936 ac_status=$?
25937 grep -v '^ *+' conftest.er1 >conftest.err
25938 rm -f conftest.er1
25939 cat conftest.err >&5
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); } &&
25942 { ac_try='test -z "$ac_cxx_werror_flag"
25943 || test ! -s conftest.err'
25944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25945 (eval $ac_try) 2>&5
25946 ac_status=$?
25947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25948 (exit $ac_status); }; } &&
25949 { ac_try='test -s conftest.$ac_objext'
25950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25951 (eval $ac_try) 2>&5
25952 ac_status=$?
25953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25954 (exit $ac_status); }; }; then
25955 glibcxx_cv_func_powf_use=yes
25956 else
25957 echo "$as_me: failed program was:" >&5
25958 sed 's/^/| /' conftest.$ac_ext >&5
25960 glibcxx_cv_func_powf_use=no
25962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25963 ac_ext=c
25964 ac_cpp='$CPP $CPPFLAGS'
25965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25973 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
25974 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
25976 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25978 for ac_func in powf
25980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25981 echo "$as_me:$LINENO: checking for $ac_func" >&5
25982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25983 if eval "test \"\${$as_ac_var+set}\" = set"; then
25984 echo $ECHO_N "(cached) $ECHO_C" >&6
25985 else
25986 if test x$gcc_no_link = xyes; then
25987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25989 { (exit 1); exit 1; }; }
25991 cat >conftest.$ac_ext <<_ACEOF
25992 /* confdefs.h. */
25993 _ACEOF
25994 cat confdefs.h >>conftest.$ac_ext
25995 cat >>conftest.$ac_ext <<_ACEOF
25996 /* end confdefs.h. */
25997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25999 #define $ac_func innocuous_$ac_func
26001 /* System header to define __stub macros and hopefully few prototypes,
26002 which can conflict with char $ac_func (); below.
26003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26004 <limits.h> exists even on freestanding compilers. */
26006 #ifdef __STDC__
26007 # include <limits.h>
26008 #else
26009 # include <assert.h>
26010 #endif
26012 #undef $ac_func
26014 /* Override any gcc2 internal prototype to avoid an error. */
26015 #ifdef __cplusplus
26016 extern "C"
26018 #endif
26019 /* We use char because int might match the return type of a gcc2
26020 builtin and then its argument prototype would still apply. */
26021 char $ac_func ();
26022 /* The GNU C library defines this for functions which it implements
26023 to always fail with ENOSYS. Some functions are actually named
26024 something starting with __ and the normal name is an alias. */
26025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26026 choke me
26027 #else
26028 char (*f) () = $ac_func;
26029 #endif
26030 #ifdef __cplusplus
26032 #endif
26035 main ()
26037 return f != $ac_func;
26039 return 0;
26041 _ACEOF
26042 rm -f conftest.$ac_objext conftest$ac_exeext
26043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26044 (eval $ac_link) 2>conftest.er1
26045 ac_status=$?
26046 grep -v '^ *+' conftest.er1 >conftest.err
26047 rm -f conftest.er1
26048 cat conftest.err >&5
26049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26050 (exit $ac_status); } &&
26051 { ac_try='test -z "$ac_c_werror_flag"
26052 || test ! -s conftest.err'
26053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26054 (eval $ac_try) 2>&5
26055 ac_status=$?
26056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26057 (exit $ac_status); }; } &&
26058 { ac_try='test -s conftest$ac_exeext'
26059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26060 (eval $ac_try) 2>&5
26061 ac_status=$?
26062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26063 (exit $ac_status); }; }; then
26064 eval "$as_ac_var=yes"
26065 else
26066 echo "$as_me: failed program was:" >&5
26067 sed 's/^/| /' conftest.$ac_ext >&5
26069 eval "$as_ac_var=no"
26071 rm -f conftest.err conftest.$ac_objext \
26072 conftest$ac_exeext conftest.$ac_ext
26074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26076 if test `eval echo '${'$as_ac_var'}'` = yes; then
26077 cat >>confdefs.h <<_ACEOF
26078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26079 _ACEOF
26082 done
26084 else
26086 echo "$as_me:$LINENO: checking for _powf declaration" >&5
26087 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
26088 if test x${glibcxx_cv_func__powf_use+set} != xset; then
26089 if test "${glibcxx_cv_func__powf_use+set}" = set; then
26090 echo $ECHO_N "(cached) $ECHO_C" >&6
26091 else
26095 ac_ext=cc
26096 ac_cpp='$CXXCPP $CPPFLAGS'
26097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26101 cat >conftest.$ac_ext <<_ACEOF
26102 /* confdefs.h. */
26103 _ACEOF
26104 cat confdefs.h >>conftest.$ac_ext
26105 cat >>conftest.$ac_ext <<_ACEOF
26106 /* end confdefs.h. */
26107 #include <math.h>
26109 main ()
26111 _powf(0, 0);
26113 return 0;
26115 _ACEOF
26116 rm -f conftest.$ac_objext
26117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26118 (eval $ac_compile) 2>conftest.er1
26119 ac_status=$?
26120 grep -v '^ *+' conftest.er1 >conftest.err
26121 rm -f conftest.er1
26122 cat conftest.err >&5
26123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26124 (exit $ac_status); } &&
26125 { ac_try='test -z "$ac_cxx_werror_flag"
26126 || test ! -s conftest.err'
26127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26128 (eval $ac_try) 2>&5
26129 ac_status=$?
26130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26131 (exit $ac_status); }; } &&
26132 { ac_try='test -s conftest.$ac_objext'
26133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26134 (eval $ac_try) 2>&5
26135 ac_status=$?
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); }; }; then
26138 glibcxx_cv_func__powf_use=yes
26139 else
26140 echo "$as_me: failed program was:" >&5
26141 sed 's/^/| /' conftest.$ac_ext >&5
26143 glibcxx_cv_func__powf_use=no
26145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26146 ac_ext=c
26147 ac_cpp='$CPP $CPPFLAGS'
26148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26156 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
26157 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
26159 if test x$glibcxx_cv_func__powf_use = x"yes"; then
26161 for ac_func in _powf
26163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26164 echo "$as_me:$LINENO: checking for $ac_func" >&5
26165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26166 if eval "test \"\${$as_ac_var+set}\" = set"; then
26167 echo $ECHO_N "(cached) $ECHO_C" >&6
26168 else
26169 if test x$gcc_no_link = xyes; then
26170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26172 { (exit 1); exit 1; }; }
26174 cat >conftest.$ac_ext <<_ACEOF
26175 /* confdefs.h. */
26176 _ACEOF
26177 cat confdefs.h >>conftest.$ac_ext
26178 cat >>conftest.$ac_ext <<_ACEOF
26179 /* end confdefs.h. */
26180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26182 #define $ac_func innocuous_$ac_func
26184 /* System header to define __stub macros and hopefully few prototypes,
26185 which can conflict with char $ac_func (); below.
26186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26187 <limits.h> exists even on freestanding compilers. */
26189 #ifdef __STDC__
26190 # include <limits.h>
26191 #else
26192 # include <assert.h>
26193 #endif
26195 #undef $ac_func
26197 /* Override any gcc2 internal prototype to avoid an error. */
26198 #ifdef __cplusplus
26199 extern "C"
26201 #endif
26202 /* We use char because int might match the return type of a gcc2
26203 builtin and then its argument prototype would still apply. */
26204 char $ac_func ();
26205 /* The GNU C library defines this for functions which it implements
26206 to always fail with ENOSYS. Some functions are actually named
26207 something starting with __ and the normal name is an alias. */
26208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26209 choke me
26210 #else
26211 char (*f) () = $ac_func;
26212 #endif
26213 #ifdef __cplusplus
26215 #endif
26218 main ()
26220 return f != $ac_func;
26222 return 0;
26224 _ACEOF
26225 rm -f conftest.$ac_objext conftest$ac_exeext
26226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26227 (eval $ac_link) 2>conftest.er1
26228 ac_status=$?
26229 grep -v '^ *+' conftest.er1 >conftest.err
26230 rm -f conftest.er1
26231 cat conftest.err >&5
26232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26233 (exit $ac_status); } &&
26234 { ac_try='test -z "$ac_c_werror_flag"
26235 || test ! -s conftest.err'
26236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26237 (eval $ac_try) 2>&5
26238 ac_status=$?
26239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26240 (exit $ac_status); }; } &&
26241 { ac_try='test -s conftest$ac_exeext'
26242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26243 (eval $ac_try) 2>&5
26244 ac_status=$?
26245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26246 (exit $ac_status); }; }; then
26247 eval "$as_ac_var=yes"
26248 else
26249 echo "$as_me: failed program was:" >&5
26250 sed 's/^/| /' conftest.$ac_ext >&5
26252 eval "$as_ac_var=no"
26254 rm -f conftest.err conftest.$ac_objext \
26255 conftest$ac_exeext conftest.$ac_ext
26257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26259 if test `eval echo '${'$as_ac_var'}'` = yes; then
26260 cat >>confdefs.h <<_ACEOF
26261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26262 _ACEOF
26265 done
26275 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
26276 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
26277 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
26278 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
26279 echo $ECHO_N "(cached) $ECHO_C" >&6
26280 else
26284 ac_ext=cc
26285 ac_cpp='$CXXCPP $CPPFLAGS'
26286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26290 cat >conftest.$ac_ext <<_ACEOF
26291 /* confdefs.h. */
26292 _ACEOF
26293 cat confdefs.h >>conftest.$ac_ext
26294 cat >>conftest.$ac_ext <<_ACEOF
26295 /* end confdefs.h. */
26296 #include <math.h>
26297 #ifdef HAVE_IEEEFP_H
26298 #include <ieeefp.h>
26299 #endif
26302 main ()
26304 sqrtf(0);
26306 return 0;
26308 _ACEOF
26309 rm -f conftest.$ac_objext
26310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26311 (eval $ac_compile) 2>conftest.er1
26312 ac_status=$?
26313 grep -v '^ *+' conftest.er1 >conftest.err
26314 rm -f conftest.er1
26315 cat conftest.err >&5
26316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26317 (exit $ac_status); } &&
26318 { ac_try='test -z "$ac_cxx_werror_flag"
26319 || test ! -s conftest.err'
26320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26321 (eval $ac_try) 2>&5
26322 ac_status=$?
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); }; } &&
26325 { ac_try='test -s conftest.$ac_objext'
26326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26327 (eval $ac_try) 2>&5
26328 ac_status=$?
26329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26330 (exit $ac_status); }; }; then
26331 glibcxx_cv_func_sqrtf_use=yes
26332 else
26333 echo "$as_me: failed program was:" >&5
26334 sed 's/^/| /' conftest.$ac_ext >&5
26336 glibcxx_cv_func_sqrtf_use=no
26338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26339 ac_ext=c
26340 ac_cpp='$CPP $CPPFLAGS'
26341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26349 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
26350 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
26352 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
26354 for ac_func in sqrtf
26356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26357 echo "$as_me:$LINENO: checking for $ac_func" >&5
26358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26359 if eval "test \"\${$as_ac_var+set}\" = set"; then
26360 echo $ECHO_N "(cached) $ECHO_C" >&6
26361 else
26362 if test x$gcc_no_link = xyes; then
26363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26365 { (exit 1); exit 1; }; }
26367 cat >conftest.$ac_ext <<_ACEOF
26368 /* confdefs.h. */
26369 _ACEOF
26370 cat confdefs.h >>conftest.$ac_ext
26371 cat >>conftest.$ac_ext <<_ACEOF
26372 /* end confdefs.h. */
26373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26375 #define $ac_func innocuous_$ac_func
26377 /* System header to define __stub macros and hopefully few prototypes,
26378 which can conflict with char $ac_func (); below.
26379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26380 <limits.h> exists even on freestanding compilers. */
26382 #ifdef __STDC__
26383 # include <limits.h>
26384 #else
26385 # include <assert.h>
26386 #endif
26388 #undef $ac_func
26390 /* Override any gcc2 internal prototype to avoid an error. */
26391 #ifdef __cplusplus
26392 extern "C"
26394 #endif
26395 /* We use char because int might match the return type of a gcc2
26396 builtin and then its argument prototype would still apply. */
26397 char $ac_func ();
26398 /* The GNU C library defines this for functions which it implements
26399 to always fail with ENOSYS. Some functions are actually named
26400 something starting with __ and the normal name is an alias. */
26401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26402 choke me
26403 #else
26404 char (*f) () = $ac_func;
26405 #endif
26406 #ifdef __cplusplus
26408 #endif
26411 main ()
26413 return f != $ac_func;
26415 return 0;
26417 _ACEOF
26418 rm -f conftest.$ac_objext conftest$ac_exeext
26419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26420 (eval $ac_link) 2>conftest.er1
26421 ac_status=$?
26422 grep -v '^ *+' conftest.er1 >conftest.err
26423 rm -f conftest.er1
26424 cat conftest.err >&5
26425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426 (exit $ac_status); } &&
26427 { ac_try='test -z "$ac_c_werror_flag"
26428 || test ! -s conftest.err'
26429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26430 (eval $ac_try) 2>&5
26431 ac_status=$?
26432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26433 (exit $ac_status); }; } &&
26434 { ac_try='test -s conftest$ac_exeext'
26435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26436 (eval $ac_try) 2>&5
26437 ac_status=$?
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); }; }; then
26440 eval "$as_ac_var=yes"
26441 else
26442 echo "$as_me: failed program was:" >&5
26443 sed 's/^/| /' conftest.$ac_ext >&5
26445 eval "$as_ac_var=no"
26447 rm -f conftest.err conftest.$ac_objext \
26448 conftest$ac_exeext conftest.$ac_ext
26450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26452 if test `eval echo '${'$as_ac_var'}'` = yes; then
26453 cat >>confdefs.h <<_ACEOF
26454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26455 _ACEOF
26458 done
26460 else
26462 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
26463 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
26464 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
26465 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
26466 echo $ECHO_N "(cached) $ECHO_C" >&6
26467 else
26471 ac_ext=cc
26472 ac_cpp='$CXXCPP $CPPFLAGS'
26473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26477 cat >conftest.$ac_ext <<_ACEOF
26478 /* confdefs.h. */
26479 _ACEOF
26480 cat confdefs.h >>conftest.$ac_ext
26481 cat >>conftest.$ac_ext <<_ACEOF
26482 /* end confdefs.h. */
26483 #include <math.h>
26484 #ifdef HAVE_IEEEFP_H
26485 #include <ieeefp.h>
26486 #endif
26489 main ()
26491 _sqrtf(0);
26493 return 0;
26495 _ACEOF
26496 rm -f conftest.$ac_objext
26497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26498 (eval $ac_compile) 2>conftest.er1
26499 ac_status=$?
26500 grep -v '^ *+' conftest.er1 >conftest.err
26501 rm -f conftest.er1
26502 cat conftest.err >&5
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); } &&
26505 { ac_try='test -z "$ac_cxx_werror_flag"
26506 || test ! -s conftest.err'
26507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26508 (eval $ac_try) 2>&5
26509 ac_status=$?
26510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26511 (exit $ac_status); }; } &&
26512 { ac_try='test -s conftest.$ac_objext'
26513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26514 (eval $ac_try) 2>&5
26515 ac_status=$?
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); }; }; then
26518 glibcxx_cv_func__sqrtf_use=yes
26519 else
26520 echo "$as_me: failed program was:" >&5
26521 sed 's/^/| /' conftest.$ac_ext >&5
26523 glibcxx_cv_func__sqrtf_use=no
26525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26526 ac_ext=c
26527 ac_cpp='$CPP $CPPFLAGS'
26528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26536 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
26537 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
26539 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
26541 for ac_func in _sqrtf
26543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26544 echo "$as_me:$LINENO: checking for $ac_func" >&5
26545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26546 if eval "test \"\${$as_ac_var+set}\" = set"; then
26547 echo $ECHO_N "(cached) $ECHO_C" >&6
26548 else
26549 if test x$gcc_no_link = xyes; then
26550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26552 { (exit 1); exit 1; }; }
26554 cat >conftest.$ac_ext <<_ACEOF
26555 /* confdefs.h. */
26556 _ACEOF
26557 cat confdefs.h >>conftest.$ac_ext
26558 cat >>conftest.$ac_ext <<_ACEOF
26559 /* end confdefs.h. */
26560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26562 #define $ac_func innocuous_$ac_func
26564 /* System header to define __stub macros and hopefully few prototypes,
26565 which can conflict with char $ac_func (); below.
26566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26567 <limits.h> exists even on freestanding compilers. */
26569 #ifdef __STDC__
26570 # include <limits.h>
26571 #else
26572 # include <assert.h>
26573 #endif
26575 #undef $ac_func
26577 /* Override any gcc2 internal prototype to avoid an error. */
26578 #ifdef __cplusplus
26579 extern "C"
26581 #endif
26582 /* We use char because int might match the return type of a gcc2
26583 builtin and then its argument prototype would still apply. */
26584 char $ac_func ();
26585 /* The GNU C library defines this for functions which it implements
26586 to always fail with ENOSYS. Some functions are actually named
26587 something starting with __ and the normal name is an alias. */
26588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26589 choke me
26590 #else
26591 char (*f) () = $ac_func;
26592 #endif
26593 #ifdef __cplusplus
26595 #endif
26598 main ()
26600 return f != $ac_func;
26602 return 0;
26604 _ACEOF
26605 rm -f conftest.$ac_objext conftest$ac_exeext
26606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26607 (eval $ac_link) 2>conftest.er1
26608 ac_status=$?
26609 grep -v '^ *+' conftest.er1 >conftest.err
26610 rm -f conftest.er1
26611 cat conftest.err >&5
26612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613 (exit $ac_status); } &&
26614 { ac_try='test -z "$ac_c_werror_flag"
26615 || test ! -s conftest.err'
26616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26617 (eval $ac_try) 2>&5
26618 ac_status=$?
26619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26620 (exit $ac_status); }; } &&
26621 { ac_try='test -s conftest$ac_exeext'
26622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26623 (eval $ac_try) 2>&5
26624 ac_status=$?
26625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26626 (exit $ac_status); }; }; then
26627 eval "$as_ac_var=yes"
26628 else
26629 echo "$as_me: failed program was:" >&5
26630 sed 's/^/| /' conftest.$ac_ext >&5
26632 eval "$as_ac_var=no"
26634 rm -f conftest.err conftest.$ac_objext \
26635 conftest$ac_exeext conftest.$ac_ext
26637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26639 if test `eval echo '${'$as_ac_var'}'` = yes; then
26640 cat >>confdefs.h <<_ACEOF
26641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26642 _ACEOF
26645 done
26655 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
26656 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
26657 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
26658 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
26659 echo $ECHO_N "(cached) $ECHO_C" >&6
26660 else
26664 ac_ext=cc
26665 ac_cpp='$CXXCPP $CPPFLAGS'
26666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26670 cat >conftest.$ac_ext <<_ACEOF
26671 /* confdefs.h. */
26672 _ACEOF
26673 cat confdefs.h >>conftest.$ac_ext
26674 cat >>conftest.$ac_ext <<_ACEOF
26675 /* end confdefs.h. */
26676 #include <math.h>
26678 main ()
26680 sincosf(0, 0, 0);
26682 return 0;
26684 _ACEOF
26685 rm -f conftest.$ac_objext
26686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26687 (eval $ac_compile) 2>conftest.er1
26688 ac_status=$?
26689 grep -v '^ *+' conftest.er1 >conftest.err
26690 rm -f conftest.er1
26691 cat conftest.err >&5
26692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693 (exit $ac_status); } &&
26694 { ac_try='test -z "$ac_cxx_werror_flag"
26695 || test ! -s conftest.err'
26696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26697 (eval $ac_try) 2>&5
26698 ac_status=$?
26699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26700 (exit $ac_status); }; } &&
26701 { ac_try='test -s conftest.$ac_objext'
26702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26703 (eval $ac_try) 2>&5
26704 ac_status=$?
26705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26706 (exit $ac_status); }; }; then
26707 glibcxx_cv_func_sincosf_use=yes
26708 else
26709 echo "$as_me: failed program was:" >&5
26710 sed 's/^/| /' conftest.$ac_ext >&5
26712 glibcxx_cv_func_sincosf_use=no
26714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26715 ac_ext=c
26716 ac_cpp='$CPP $CPPFLAGS'
26717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26725 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
26726 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
26728 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
26730 for ac_func in sincosf
26732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26733 echo "$as_me:$LINENO: checking for $ac_func" >&5
26734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26735 if eval "test \"\${$as_ac_var+set}\" = set"; then
26736 echo $ECHO_N "(cached) $ECHO_C" >&6
26737 else
26738 if test x$gcc_no_link = xyes; then
26739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26741 { (exit 1); exit 1; }; }
26743 cat >conftest.$ac_ext <<_ACEOF
26744 /* confdefs.h. */
26745 _ACEOF
26746 cat confdefs.h >>conftest.$ac_ext
26747 cat >>conftest.$ac_ext <<_ACEOF
26748 /* end confdefs.h. */
26749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26751 #define $ac_func innocuous_$ac_func
26753 /* System header to define __stub macros and hopefully few prototypes,
26754 which can conflict with char $ac_func (); below.
26755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26756 <limits.h> exists even on freestanding compilers. */
26758 #ifdef __STDC__
26759 # include <limits.h>
26760 #else
26761 # include <assert.h>
26762 #endif
26764 #undef $ac_func
26766 /* Override any gcc2 internal prototype to avoid an error. */
26767 #ifdef __cplusplus
26768 extern "C"
26770 #endif
26771 /* We use char because int might match the return type of a gcc2
26772 builtin and then its argument prototype would still apply. */
26773 char $ac_func ();
26774 /* The GNU C library defines this for functions which it implements
26775 to always fail with ENOSYS. Some functions are actually named
26776 something starting with __ and the normal name is an alias. */
26777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26778 choke me
26779 #else
26780 char (*f) () = $ac_func;
26781 #endif
26782 #ifdef __cplusplus
26784 #endif
26787 main ()
26789 return f != $ac_func;
26791 return 0;
26793 _ACEOF
26794 rm -f conftest.$ac_objext conftest$ac_exeext
26795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26796 (eval $ac_link) 2>conftest.er1
26797 ac_status=$?
26798 grep -v '^ *+' conftest.er1 >conftest.err
26799 rm -f conftest.er1
26800 cat conftest.err >&5
26801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802 (exit $ac_status); } &&
26803 { ac_try='test -z "$ac_c_werror_flag"
26804 || test ! -s conftest.err'
26805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26806 (eval $ac_try) 2>&5
26807 ac_status=$?
26808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809 (exit $ac_status); }; } &&
26810 { ac_try='test -s conftest$ac_exeext'
26811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26812 (eval $ac_try) 2>&5
26813 ac_status=$?
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); }; }; then
26816 eval "$as_ac_var=yes"
26817 else
26818 echo "$as_me: failed program was:" >&5
26819 sed 's/^/| /' conftest.$ac_ext >&5
26821 eval "$as_ac_var=no"
26823 rm -f conftest.err conftest.$ac_objext \
26824 conftest$ac_exeext conftest.$ac_ext
26826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26828 if test `eval echo '${'$as_ac_var'}'` = yes; then
26829 cat >>confdefs.h <<_ACEOF
26830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26831 _ACEOF
26834 done
26836 else
26838 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
26839 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
26840 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
26841 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
26842 echo $ECHO_N "(cached) $ECHO_C" >&6
26843 else
26847 ac_ext=cc
26848 ac_cpp='$CXXCPP $CPPFLAGS'
26849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26853 cat >conftest.$ac_ext <<_ACEOF
26854 /* confdefs.h. */
26855 _ACEOF
26856 cat confdefs.h >>conftest.$ac_ext
26857 cat >>conftest.$ac_ext <<_ACEOF
26858 /* end confdefs.h. */
26859 #include <math.h>
26861 main ()
26863 _sincosf(0, 0, 0);
26865 return 0;
26867 _ACEOF
26868 rm -f conftest.$ac_objext
26869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26870 (eval $ac_compile) 2>conftest.er1
26871 ac_status=$?
26872 grep -v '^ *+' conftest.er1 >conftest.err
26873 rm -f conftest.er1
26874 cat conftest.err >&5
26875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26876 (exit $ac_status); } &&
26877 { ac_try='test -z "$ac_cxx_werror_flag"
26878 || test ! -s conftest.err'
26879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26880 (eval $ac_try) 2>&5
26881 ac_status=$?
26882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26883 (exit $ac_status); }; } &&
26884 { ac_try='test -s conftest.$ac_objext'
26885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26886 (eval $ac_try) 2>&5
26887 ac_status=$?
26888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26889 (exit $ac_status); }; }; then
26890 glibcxx_cv_func__sincosf_use=yes
26891 else
26892 echo "$as_me: failed program was:" >&5
26893 sed 's/^/| /' conftest.$ac_ext >&5
26895 glibcxx_cv_func__sincosf_use=no
26897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26898 ac_ext=c
26899 ac_cpp='$CPP $CPPFLAGS'
26900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26908 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
26909 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
26911 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
26913 for ac_func in _sincosf
26915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26916 echo "$as_me:$LINENO: checking for $ac_func" >&5
26917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26918 if eval "test \"\${$as_ac_var+set}\" = set"; then
26919 echo $ECHO_N "(cached) $ECHO_C" >&6
26920 else
26921 if test x$gcc_no_link = xyes; then
26922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26924 { (exit 1); exit 1; }; }
26926 cat >conftest.$ac_ext <<_ACEOF
26927 /* confdefs.h. */
26928 _ACEOF
26929 cat confdefs.h >>conftest.$ac_ext
26930 cat >>conftest.$ac_ext <<_ACEOF
26931 /* end confdefs.h. */
26932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26934 #define $ac_func innocuous_$ac_func
26936 /* System header to define __stub macros and hopefully few prototypes,
26937 which can conflict with char $ac_func (); below.
26938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26939 <limits.h> exists even on freestanding compilers. */
26941 #ifdef __STDC__
26942 # include <limits.h>
26943 #else
26944 # include <assert.h>
26945 #endif
26947 #undef $ac_func
26949 /* Override any gcc2 internal prototype to avoid an error. */
26950 #ifdef __cplusplus
26951 extern "C"
26953 #endif
26954 /* We use char because int might match the return type of a gcc2
26955 builtin and then its argument prototype would still apply. */
26956 char $ac_func ();
26957 /* The GNU C library defines this for functions which it implements
26958 to always fail with ENOSYS. Some functions are actually named
26959 something starting with __ and the normal name is an alias. */
26960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26961 choke me
26962 #else
26963 char (*f) () = $ac_func;
26964 #endif
26965 #ifdef __cplusplus
26967 #endif
26970 main ()
26972 return f != $ac_func;
26974 return 0;
26976 _ACEOF
26977 rm -f conftest.$ac_objext conftest$ac_exeext
26978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26979 (eval $ac_link) 2>conftest.er1
26980 ac_status=$?
26981 grep -v '^ *+' conftest.er1 >conftest.err
26982 rm -f conftest.er1
26983 cat conftest.err >&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); } &&
26986 { ac_try='test -z "$ac_c_werror_flag"
26987 || test ! -s conftest.err'
26988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26989 (eval $ac_try) 2>&5
26990 ac_status=$?
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); }; } &&
26993 { ac_try='test -s conftest$ac_exeext'
26994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26995 (eval $ac_try) 2>&5
26996 ac_status=$?
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); }; }; then
26999 eval "$as_ac_var=yes"
27000 else
27001 echo "$as_me: failed program was:" >&5
27002 sed 's/^/| /' conftest.$ac_ext >&5
27004 eval "$as_ac_var=no"
27006 rm -f conftest.err conftest.$ac_objext \
27007 conftest$ac_exeext conftest.$ac_ext
27009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27011 if test `eval echo '${'$as_ac_var'}'` = yes; then
27012 cat >>confdefs.h <<_ACEOF
27013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27014 _ACEOF
27017 done
27027 echo "$as_me:$LINENO: checking for finitef declaration" >&5
27028 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
27029 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
27030 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
27031 echo $ECHO_N "(cached) $ECHO_C" >&6
27032 else
27036 ac_ext=cc
27037 ac_cpp='$CXXCPP $CPPFLAGS'
27038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27042 cat >conftest.$ac_ext <<_ACEOF
27043 /* confdefs.h. */
27044 _ACEOF
27045 cat confdefs.h >>conftest.$ac_ext
27046 cat >>conftest.$ac_ext <<_ACEOF
27047 /* end confdefs.h. */
27048 #include <math.h>
27049 #ifdef HAVE_IEEEFP_H
27050 #include <ieeefp.h>
27051 #endif
27054 main ()
27056 finitef(0);
27058 return 0;
27060 _ACEOF
27061 rm -f conftest.$ac_objext
27062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27063 (eval $ac_compile) 2>conftest.er1
27064 ac_status=$?
27065 grep -v '^ *+' conftest.er1 >conftest.err
27066 rm -f conftest.er1
27067 cat conftest.err >&5
27068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069 (exit $ac_status); } &&
27070 { ac_try='test -z "$ac_cxx_werror_flag"
27071 || test ! -s conftest.err'
27072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27073 (eval $ac_try) 2>&5
27074 ac_status=$?
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); }; } &&
27077 { ac_try='test -s conftest.$ac_objext'
27078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27079 (eval $ac_try) 2>&5
27080 ac_status=$?
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); }; }; then
27083 glibcxx_cv_func_finitef_use=yes
27084 else
27085 echo "$as_me: failed program was:" >&5
27086 sed 's/^/| /' conftest.$ac_ext >&5
27088 glibcxx_cv_func_finitef_use=no
27090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27091 ac_ext=c
27092 ac_cpp='$CPP $CPPFLAGS'
27093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27101 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
27102 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
27104 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
27106 for ac_func in finitef
27108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27109 echo "$as_me:$LINENO: checking for $ac_func" >&5
27110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27111 if eval "test \"\${$as_ac_var+set}\" = set"; then
27112 echo $ECHO_N "(cached) $ECHO_C" >&6
27113 else
27114 if test x$gcc_no_link = xyes; then
27115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27117 { (exit 1); exit 1; }; }
27119 cat >conftest.$ac_ext <<_ACEOF
27120 /* confdefs.h. */
27121 _ACEOF
27122 cat confdefs.h >>conftest.$ac_ext
27123 cat >>conftest.$ac_ext <<_ACEOF
27124 /* end confdefs.h. */
27125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27127 #define $ac_func innocuous_$ac_func
27129 /* System header to define __stub macros and hopefully few prototypes,
27130 which can conflict with char $ac_func (); below.
27131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27132 <limits.h> exists even on freestanding compilers. */
27134 #ifdef __STDC__
27135 # include <limits.h>
27136 #else
27137 # include <assert.h>
27138 #endif
27140 #undef $ac_func
27142 /* Override any gcc2 internal prototype to avoid an error. */
27143 #ifdef __cplusplus
27144 extern "C"
27146 #endif
27147 /* We use char because int might match the return type of a gcc2
27148 builtin and then its argument prototype would still apply. */
27149 char $ac_func ();
27150 /* The GNU C library defines this for functions which it implements
27151 to always fail with ENOSYS. Some functions are actually named
27152 something starting with __ and the normal name is an alias. */
27153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27154 choke me
27155 #else
27156 char (*f) () = $ac_func;
27157 #endif
27158 #ifdef __cplusplus
27160 #endif
27163 main ()
27165 return f != $ac_func;
27167 return 0;
27169 _ACEOF
27170 rm -f conftest.$ac_objext conftest$ac_exeext
27171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27172 (eval $ac_link) 2>conftest.er1
27173 ac_status=$?
27174 grep -v '^ *+' conftest.er1 >conftest.err
27175 rm -f conftest.er1
27176 cat conftest.err >&5
27177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27178 (exit $ac_status); } &&
27179 { ac_try='test -z "$ac_c_werror_flag"
27180 || test ! -s conftest.err'
27181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27182 (eval $ac_try) 2>&5
27183 ac_status=$?
27184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27185 (exit $ac_status); }; } &&
27186 { ac_try='test -s conftest$ac_exeext'
27187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27188 (eval $ac_try) 2>&5
27189 ac_status=$?
27190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27191 (exit $ac_status); }; }; then
27192 eval "$as_ac_var=yes"
27193 else
27194 echo "$as_me: failed program was:" >&5
27195 sed 's/^/| /' conftest.$ac_ext >&5
27197 eval "$as_ac_var=no"
27199 rm -f conftest.err conftest.$ac_objext \
27200 conftest$ac_exeext conftest.$ac_ext
27202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27204 if test `eval echo '${'$as_ac_var'}'` = yes; then
27205 cat >>confdefs.h <<_ACEOF
27206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27207 _ACEOF
27210 done
27212 else
27214 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
27215 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
27216 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
27217 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
27218 echo $ECHO_N "(cached) $ECHO_C" >&6
27219 else
27223 ac_ext=cc
27224 ac_cpp='$CXXCPP $CPPFLAGS'
27225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27229 cat >conftest.$ac_ext <<_ACEOF
27230 /* confdefs.h. */
27231 _ACEOF
27232 cat confdefs.h >>conftest.$ac_ext
27233 cat >>conftest.$ac_ext <<_ACEOF
27234 /* end confdefs.h. */
27235 #include <math.h>
27236 #ifdef HAVE_IEEEFP_H
27237 #include <ieeefp.h>
27238 #endif
27241 main ()
27243 _finitef(0);
27245 return 0;
27247 _ACEOF
27248 rm -f conftest.$ac_objext
27249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27250 (eval $ac_compile) 2>conftest.er1
27251 ac_status=$?
27252 grep -v '^ *+' conftest.er1 >conftest.err
27253 rm -f conftest.er1
27254 cat conftest.err >&5
27255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27256 (exit $ac_status); } &&
27257 { ac_try='test -z "$ac_cxx_werror_flag"
27258 || test ! -s conftest.err'
27259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27260 (eval $ac_try) 2>&5
27261 ac_status=$?
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); }; } &&
27264 { ac_try='test -s conftest.$ac_objext'
27265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27266 (eval $ac_try) 2>&5
27267 ac_status=$?
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); }; }; then
27270 glibcxx_cv_func__finitef_use=yes
27271 else
27272 echo "$as_me: failed program was:" >&5
27273 sed 's/^/| /' conftest.$ac_ext >&5
27275 glibcxx_cv_func__finitef_use=no
27277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27278 ac_ext=c
27279 ac_cpp='$CPP $CPPFLAGS'
27280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27288 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
27289 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
27291 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
27293 for ac_func in _finitef
27295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27296 echo "$as_me:$LINENO: checking for $ac_func" >&5
27297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27298 if eval "test \"\${$as_ac_var+set}\" = set"; then
27299 echo $ECHO_N "(cached) $ECHO_C" >&6
27300 else
27301 if test x$gcc_no_link = xyes; then
27302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27304 { (exit 1); exit 1; }; }
27306 cat >conftest.$ac_ext <<_ACEOF
27307 /* confdefs.h. */
27308 _ACEOF
27309 cat confdefs.h >>conftest.$ac_ext
27310 cat >>conftest.$ac_ext <<_ACEOF
27311 /* end confdefs.h. */
27312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27314 #define $ac_func innocuous_$ac_func
27316 /* System header to define __stub macros and hopefully few prototypes,
27317 which can conflict with char $ac_func (); below.
27318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27319 <limits.h> exists even on freestanding compilers. */
27321 #ifdef __STDC__
27322 # include <limits.h>
27323 #else
27324 # include <assert.h>
27325 #endif
27327 #undef $ac_func
27329 /* Override any gcc2 internal prototype to avoid an error. */
27330 #ifdef __cplusplus
27331 extern "C"
27333 #endif
27334 /* We use char because int might match the return type of a gcc2
27335 builtin and then its argument prototype would still apply. */
27336 char $ac_func ();
27337 /* The GNU C library defines this for functions which it implements
27338 to always fail with ENOSYS. Some functions are actually named
27339 something starting with __ and the normal name is an alias. */
27340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27341 choke me
27342 #else
27343 char (*f) () = $ac_func;
27344 #endif
27345 #ifdef __cplusplus
27347 #endif
27350 main ()
27352 return f != $ac_func;
27354 return 0;
27356 _ACEOF
27357 rm -f conftest.$ac_objext conftest$ac_exeext
27358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27359 (eval $ac_link) 2>conftest.er1
27360 ac_status=$?
27361 grep -v '^ *+' conftest.er1 >conftest.err
27362 rm -f conftest.er1
27363 cat conftest.err >&5
27364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27365 (exit $ac_status); } &&
27366 { ac_try='test -z "$ac_c_werror_flag"
27367 || test ! -s conftest.err'
27368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27369 (eval $ac_try) 2>&5
27370 ac_status=$?
27371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372 (exit $ac_status); }; } &&
27373 { ac_try='test -s conftest$ac_exeext'
27374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27375 (eval $ac_try) 2>&5
27376 ac_status=$?
27377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27378 (exit $ac_status); }; }; then
27379 eval "$as_ac_var=yes"
27380 else
27381 echo "$as_me: failed program was:" >&5
27382 sed 's/^/| /' conftest.$ac_ext >&5
27384 eval "$as_ac_var=no"
27386 rm -f conftest.err conftest.$ac_objext \
27387 conftest$ac_exeext conftest.$ac_ext
27389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27391 if test `eval echo '${'$as_ac_var'}'` = yes; then
27392 cat >>confdefs.h <<_ACEOF
27393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27394 _ACEOF
27397 done
27407 echo "$as_me:$LINENO: checking for long double trig functions" >&5
27408 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
27409 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
27410 echo $ECHO_N "(cached) $ECHO_C" >&6
27411 else
27415 ac_ext=cc
27416 ac_cpp='$CXXCPP $CPPFLAGS'
27417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27421 cat >conftest.$ac_ext <<_ACEOF
27422 /* confdefs.h. */
27423 _ACEOF
27424 cat confdefs.h >>conftest.$ac_ext
27425 cat >>conftest.$ac_ext <<_ACEOF
27426 /* end confdefs.h. */
27427 #include <math.h>
27429 main ()
27431 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
27433 return 0;
27435 _ACEOF
27436 rm -f conftest.$ac_objext
27437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27438 (eval $ac_compile) 2>conftest.er1
27439 ac_status=$?
27440 grep -v '^ *+' conftest.er1 >conftest.err
27441 rm -f conftest.er1
27442 cat conftest.err >&5
27443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27444 (exit $ac_status); } &&
27445 { ac_try='test -z "$ac_cxx_werror_flag"
27446 || test ! -s conftest.err'
27447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27448 (eval $ac_try) 2>&5
27449 ac_status=$?
27450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27451 (exit $ac_status); }; } &&
27452 { ac_try='test -s conftest.$ac_objext'
27453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27454 (eval $ac_try) 2>&5
27455 ac_status=$?
27456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27457 (exit $ac_status); }; }; then
27458 glibcxx_cv_func_long_double_trig_use=yes
27459 else
27460 echo "$as_me: failed program was:" >&5
27461 sed 's/^/| /' conftest.$ac_ext >&5
27463 glibcxx_cv_func_long_double_trig_use=no
27465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27466 ac_ext=c
27467 ac_cpp='$CPP $CPPFLAGS'
27468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27474 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
27475 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
27476 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
27486 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
27488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27489 echo "$as_me:$LINENO: checking for $ac_func" >&5
27490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27491 if eval "test \"\${$as_ac_var+set}\" = set"; then
27492 echo $ECHO_N "(cached) $ECHO_C" >&6
27493 else
27494 if test x$gcc_no_link = xyes; then
27495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27497 { (exit 1); exit 1; }; }
27499 cat >conftest.$ac_ext <<_ACEOF
27500 /* confdefs.h. */
27501 _ACEOF
27502 cat confdefs.h >>conftest.$ac_ext
27503 cat >>conftest.$ac_ext <<_ACEOF
27504 /* end confdefs.h. */
27505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27507 #define $ac_func innocuous_$ac_func
27509 /* System header to define __stub macros and hopefully few prototypes,
27510 which can conflict with char $ac_func (); below.
27511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27512 <limits.h> exists even on freestanding compilers. */
27514 #ifdef __STDC__
27515 # include <limits.h>
27516 #else
27517 # include <assert.h>
27518 #endif
27520 #undef $ac_func
27522 /* Override any gcc2 internal prototype to avoid an error. */
27523 #ifdef __cplusplus
27524 extern "C"
27526 #endif
27527 /* We use char because int might match the return type of a gcc2
27528 builtin and then its argument prototype would still apply. */
27529 char $ac_func ();
27530 /* The GNU C library defines this for functions which it implements
27531 to always fail with ENOSYS. Some functions are actually named
27532 something starting with __ and the normal name is an alias. */
27533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27534 choke me
27535 #else
27536 char (*f) () = $ac_func;
27537 #endif
27538 #ifdef __cplusplus
27540 #endif
27543 main ()
27545 return f != $ac_func;
27547 return 0;
27549 _ACEOF
27550 rm -f conftest.$ac_objext conftest$ac_exeext
27551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27552 (eval $ac_link) 2>conftest.er1
27553 ac_status=$?
27554 grep -v '^ *+' conftest.er1 >conftest.err
27555 rm -f conftest.er1
27556 cat conftest.err >&5
27557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27558 (exit $ac_status); } &&
27559 { ac_try='test -z "$ac_c_werror_flag"
27560 || test ! -s conftest.err'
27561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27562 (eval $ac_try) 2>&5
27563 ac_status=$?
27564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27565 (exit $ac_status); }; } &&
27566 { ac_try='test -s conftest$ac_exeext'
27567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27568 (eval $ac_try) 2>&5
27569 ac_status=$?
27570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27571 (exit $ac_status); }; }; then
27572 eval "$as_ac_var=yes"
27573 else
27574 echo "$as_me: failed program was:" >&5
27575 sed 's/^/| /' conftest.$ac_ext >&5
27577 eval "$as_ac_var=no"
27579 rm -f conftest.err conftest.$ac_objext \
27580 conftest$ac_exeext conftest.$ac_ext
27582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27584 if test `eval echo '${'$as_ac_var'}'` = yes; then
27585 cat >>confdefs.h <<_ACEOF
27586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27587 _ACEOF
27590 done
27592 else
27593 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
27594 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
27595 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
27596 echo $ECHO_N "(cached) $ECHO_C" >&6
27597 else
27601 ac_ext=cc
27602 ac_cpp='$CXXCPP $CPPFLAGS'
27603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27607 cat >conftest.$ac_ext <<_ACEOF
27608 /* confdefs.h. */
27609 _ACEOF
27610 cat confdefs.h >>conftest.$ac_ext
27611 cat >>conftest.$ac_ext <<_ACEOF
27612 /* end confdefs.h. */
27613 #include <math.h>
27615 main ()
27617 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
27619 return 0;
27621 _ACEOF
27622 rm -f conftest.$ac_objext
27623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27624 (eval $ac_compile) 2>conftest.er1
27625 ac_status=$?
27626 grep -v '^ *+' conftest.er1 >conftest.err
27627 rm -f conftest.er1
27628 cat conftest.err >&5
27629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27630 (exit $ac_status); } &&
27631 { ac_try='test -z "$ac_cxx_werror_flag"
27632 || test ! -s conftest.err'
27633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27634 (eval $ac_try) 2>&5
27635 ac_status=$?
27636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27637 (exit $ac_status); }; } &&
27638 { ac_try='test -s conftest.$ac_objext'
27639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27640 (eval $ac_try) 2>&5
27641 ac_status=$?
27642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27643 (exit $ac_status); }; }; then
27644 glibcxx_cv_func__long_double_trig_use=yes
27645 else
27646 echo "$as_me: failed program was:" >&5
27647 sed 's/^/| /' conftest.$ac_ext >&5
27649 glibcxx_cv_func__long_double_trig_use=no
27651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27652 ac_ext=c
27653 ac_cpp='$CPP $CPPFLAGS'
27654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27660 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
27661 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
27662 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
27672 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
27674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27675 echo "$as_me:$LINENO: checking for $ac_func" >&5
27676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27677 if eval "test \"\${$as_ac_var+set}\" = set"; then
27678 echo $ECHO_N "(cached) $ECHO_C" >&6
27679 else
27680 if test x$gcc_no_link = xyes; then
27681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27683 { (exit 1); exit 1; }; }
27685 cat >conftest.$ac_ext <<_ACEOF
27686 /* confdefs.h. */
27687 _ACEOF
27688 cat confdefs.h >>conftest.$ac_ext
27689 cat >>conftest.$ac_ext <<_ACEOF
27690 /* end confdefs.h. */
27691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27693 #define $ac_func innocuous_$ac_func
27695 /* System header to define __stub macros and hopefully few prototypes,
27696 which can conflict with char $ac_func (); below.
27697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27698 <limits.h> exists even on freestanding compilers. */
27700 #ifdef __STDC__
27701 # include <limits.h>
27702 #else
27703 # include <assert.h>
27704 #endif
27706 #undef $ac_func
27708 /* Override any gcc2 internal prototype to avoid an error. */
27709 #ifdef __cplusplus
27710 extern "C"
27712 #endif
27713 /* We use char because int might match the return type of a gcc2
27714 builtin and then its argument prototype would still apply. */
27715 char $ac_func ();
27716 /* The GNU C library defines this for functions which it implements
27717 to always fail with ENOSYS. Some functions are actually named
27718 something starting with __ and the normal name is an alias. */
27719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27720 choke me
27721 #else
27722 char (*f) () = $ac_func;
27723 #endif
27724 #ifdef __cplusplus
27726 #endif
27729 main ()
27731 return f != $ac_func;
27733 return 0;
27735 _ACEOF
27736 rm -f conftest.$ac_objext conftest$ac_exeext
27737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27738 (eval $ac_link) 2>conftest.er1
27739 ac_status=$?
27740 grep -v '^ *+' conftest.er1 >conftest.err
27741 rm -f conftest.er1
27742 cat conftest.err >&5
27743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27744 (exit $ac_status); } &&
27745 { ac_try='test -z "$ac_c_werror_flag"
27746 || test ! -s conftest.err'
27747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27748 (eval $ac_try) 2>&5
27749 ac_status=$?
27750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27751 (exit $ac_status); }; } &&
27752 { ac_try='test -s conftest$ac_exeext'
27753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27754 (eval $ac_try) 2>&5
27755 ac_status=$?
27756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27757 (exit $ac_status); }; }; then
27758 eval "$as_ac_var=yes"
27759 else
27760 echo "$as_me: failed program was:" >&5
27761 sed 's/^/| /' conftest.$ac_ext >&5
27763 eval "$as_ac_var=no"
27765 rm -f conftest.err conftest.$ac_objext \
27766 conftest$ac_exeext conftest.$ac_ext
27768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27770 if test `eval echo '${'$as_ac_var'}'` = yes; then
27771 cat >>confdefs.h <<_ACEOF
27772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27773 _ACEOF
27776 done
27794 echo "$as_me:$LINENO: checking for long double round functions" >&5
27795 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
27796 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
27797 echo $ECHO_N "(cached) $ECHO_C" >&6
27798 else
27802 ac_ext=cc
27803 ac_cpp='$CXXCPP $CPPFLAGS'
27804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27808 cat >conftest.$ac_ext <<_ACEOF
27809 /* confdefs.h. */
27810 _ACEOF
27811 cat confdefs.h >>conftest.$ac_ext
27812 cat >>conftest.$ac_ext <<_ACEOF
27813 /* end confdefs.h. */
27814 #include <math.h>
27816 main ()
27818 ceill (0); floorl (0);
27820 return 0;
27822 _ACEOF
27823 rm -f conftest.$ac_objext
27824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27825 (eval $ac_compile) 2>conftest.er1
27826 ac_status=$?
27827 grep -v '^ *+' conftest.er1 >conftest.err
27828 rm -f conftest.er1
27829 cat conftest.err >&5
27830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27831 (exit $ac_status); } &&
27832 { ac_try='test -z "$ac_cxx_werror_flag"
27833 || test ! -s conftest.err'
27834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27835 (eval $ac_try) 2>&5
27836 ac_status=$?
27837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27838 (exit $ac_status); }; } &&
27839 { ac_try='test -s conftest.$ac_objext'
27840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27841 (eval $ac_try) 2>&5
27842 ac_status=$?
27843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27844 (exit $ac_status); }; }; then
27845 glibcxx_cv_func_long_double_round_use=yes
27846 else
27847 echo "$as_me: failed program was:" >&5
27848 sed 's/^/| /' conftest.$ac_ext >&5
27850 glibcxx_cv_func_long_double_round_use=no
27852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27853 ac_ext=c
27854 ac_cpp='$CPP $CPPFLAGS'
27855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
27862 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
27863 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
27866 for ac_func in ceill floorl
27868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27869 echo "$as_me:$LINENO: checking for $ac_func" >&5
27870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27871 if eval "test \"\${$as_ac_var+set}\" = set"; then
27872 echo $ECHO_N "(cached) $ECHO_C" >&6
27873 else
27874 if test x$gcc_no_link = xyes; then
27875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27877 { (exit 1); exit 1; }; }
27879 cat >conftest.$ac_ext <<_ACEOF
27880 /* confdefs.h. */
27881 _ACEOF
27882 cat confdefs.h >>conftest.$ac_ext
27883 cat >>conftest.$ac_ext <<_ACEOF
27884 /* end confdefs.h. */
27885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27887 #define $ac_func innocuous_$ac_func
27889 /* System header to define __stub macros and hopefully few prototypes,
27890 which can conflict with char $ac_func (); below.
27891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27892 <limits.h> exists even on freestanding compilers. */
27894 #ifdef __STDC__
27895 # include <limits.h>
27896 #else
27897 # include <assert.h>
27898 #endif
27900 #undef $ac_func
27902 /* Override any gcc2 internal prototype to avoid an error. */
27903 #ifdef __cplusplus
27904 extern "C"
27906 #endif
27907 /* We use char because int might match the return type of a gcc2
27908 builtin and then its argument prototype would still apply. */
27909 char $ac_func ();
27910 /* The GNU C library defines this for functions which it implements
27911 to always fail with ENOSYS. Some functions are actually named
27912 something starting with __ and the normal name is an alias. */
27913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27914 choke me
27915 #else
27916 char (*f) () = $ac_func;
27917 #endif
27918 #ifdef __cplusplus
27920 #endif
27923 main ()
27925 return f != $ac_func;
27927 return 0;
27929 _ACEOF
27930 rm -f conftest.$ac_objext conftest$ac_exeext
27931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27932 (eval $ac_link) 2>conftest.er1
27933 ac_status=$?
27934 grep -v '^ *+' conftest.er1 >conftest.err
27935 rm -f conftest.er1
27936 cat conftest.err >&5
27937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27938 (exit $ac_status); } &&
27939 { ac_try='test -z "$ac_c_werror_flag"
27940 || test ! -s conftest.err'
27941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27942 (eval $ac_try) 2>&5
27943 ac_status=$?
27944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27945 (exit $ac_status); }; } &&
27946 { ac_try='test -s conftest$ac_exeext'
27947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27948 (eval $ac_try) 2>&5
27949 ac_status=$?
27950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27951 (exit $ac_status); }; }; then
27952 eval "$as_ac_var=yes"
27953 else
27954 echo "$as_me: failed program was:" >&5
27955 sed 's/^/| /' conftest.$ac_ext >&5
27957 eval "$as_ac_var=no"
27959 rm -f conftest.err conftest.$ac_objext \
27960 conftest$ac_exeext conftest.$ac_ext
27962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27964 if test `eval echo '${'$as_ac_var'}'` = yes; then
27965 cat >>confdefs.h <<_ACEOF
27966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27967 _ACEOF
27970 done
27972 else
27973 echo "$as_me:$LINENO: checking for _long double round functions" >&5
27974 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
27975 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
27976 echo $ECHO_N "(cached) $ECHO_C" >&6
27977 else
27981 ac_ext=cc
27982 ac_cpp='$CXXCPP $CPPFLAGS'
27983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27987 cat >conftest.$ac_ext <<_ACEOF
27988 /* confdefs.h. */
27989 _ACEOF
27990 cat confdefs.h >>conftest.$ac_ext
27991 cat >>conftest.$ac_ext <<_ACEOF
27992 /* end confdefs.h. */
27993 #include <math.h>
27995 main ()
27997 _ceill (0); _floorl (0);
27999 return 0;
28001 _ACEOF
28002 rm -f conftest.$ac_objext
28003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28004 (eval $ac_compile) 2>conftest.er1
28005 ac_status=$?
28006 grep -v '^ *+' conftest.er1 >conftest.err
28007 rm -f conftest.er1
28008 cat conftest.err >&5
28009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28010 (exit $ac_status); } &&
28011 { ac_try='test -z "$ac_cxx_werror_flag"
28012 || test ! -s conftest.err'
28013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28014 (eval $ac_try) 2>&5
28015 ac_status=$?
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); }; } &&
28018 { ac_try='test -s conftest.$ac_objext'
28019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28020 (eval $ac_try) 2>&5
28021 ac_status=$?
28022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28023 (exit $ac_status); }; }; then
28024 glibcxx_cv_func__long_double_round_use=yes
28025 else
28026 echo "$as_me: failed program was:" >&5
28027 sed 's/^/| /' conftest.$ac_ext >&5
28029 glibcxx_cv_func__long_double_round_use=no
28031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28032 ac_ext=c
28033 ac_cpp='$CPP $CPPFLAGS'
28034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
28041 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
28042 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
28045 for ac_func in _ceill _floorl
28047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28048 echo "$as_me:$LINENO: checking for $ac_func" >&5
28049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28050 if eval "test \"\${$as_ac_var+set}\" = set"; then
28051 echo $ECHO_N "(cached) $ECHO_C" >&6
28052 else
28053 if test x$gcc_no_link = xyes; then
28054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28056 { (exit 1); exit 1; }; }
28058 cat >conftest.$ac_ext <<_ACEOF
28059 /* confdefs.h. */
28060 _ACEOF
28061 cat confdefs.h >>conftest.$ac_ext
28062 cat >>conftest.$ac_ext <<_ACEOF
28063 /* end confdefs.h. */
28064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28066 #define $ac_func innocuous_$ac_func
28068 /* System header to define __stub macros and hopefully few prototypes,
28069 which can conflict with char $ac_func (); below.
28070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28071 <limits.h> exists even on freestanding compilers. */
28073 #ifdef __STDC__
28074 # include <limits.h>
28075 #else
28076 # include <assert.h>
28077 #endif
28079 #undef $ac_func
28081 /* Override any gcc2 internal prototype to avoid an error. */
28082 #ifdef __cplusplus
28083 extern "C"
28085 #endif
28086 /* We use char because int might match the return type of a gcc2
28087 builtin and then its argument prototype would still apply. */
28088 char $ac_func ();
28089 /* The GNU C library defines this for functions which it implements
28090 to always fail with ENOSYS. Some functions are actually named
28091 something starting with __ and the normal name is an alias. */
28092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28093 choke me
28094 #else
28095 char (*f) () = $ac_func;
28096 #endif
28097 #ifdef __cplusplus
28099 #endif
28102 main ()
28104 return f != $ac_func;
28106 return 0;
28108 _ACEOF
28109 rm -f conftest.$ac_objext conftest$ac_exeext
28110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28111 (eval $ac_link) 2>conftest.er1
28112 ac_status=$?
28113 grep -v '^ *+' conftest.er1 >conftest.err
28114 rm -f conftest.er1
28115 cat conftest.err >&5
28116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28117 (exit $ac_status); } &&
28118 { ac_try='test -z "$ac_c_werror_flag"
28119 || test ! -s conftest.err'
28120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28121 (eval $ac_try) 2>&5
28122 ac_status=$?
28123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28124 (exit $ac_status); }; } &&
28125 { ac_try='test -s conftest$ac_exeext'
28126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28127 (eval $ac_try) 2>&5
28128 ac_status=$?
28129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28130 (exit $ac_status); }; }; then
28131 eval "$as_ac_var=yes"
28132 else
28133 echo "$as_me: failed program was:" >&5
28134 sed 's/^/| /' conftest.$ac_ext >&5
28136 eval "$as_ac_var=no"
28138 rm -f conftest.err conftest.$ac_objext \
28139 conftest$ac_exeext conftest.$ac_ext
28141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28143 if test `eval echo '${'$as_ac_var'}'` = yes; then
28144 cat >>confdefs.h <<_ACEOF
28145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28146 _ACEOF
28149 done
28161 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
28162 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
28163 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
28164 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
28165 echo $ECHO_N "(cached) $ECHO_C" >&6
28166 else
28170 ac_ext=cc
28171 ac_cpp='$CXXCPP $CPPFLAGS'
28172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28176 cat >conftest.$ac_ext <<_ACEOF
28177 /* confdefs.h. */
28178 _ACEOF
28179 cat confdefs.h >>conftest.$ac_ext
28180 cat >>conftest.$ac_ext <<_ACEOF
28181 /* end confdefs.h. */
28182 #include <math.h>
28183 #ifdef HAVE_IEEEFP_H
28184 #include <ieeefp.h>
28185 #endif
28188 main ()
28190 isnanl(0);
28192 return 0;
28194 _ACEOF
28195 rm -f conftest.$ac_objext
28196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28197 (eval $ac_compile) 2>conftest.er1
28198 ac_status=$?
28199 grep -v '^ *+' conftest.er1 >conftest.err
28200 rm -f conftest.er1
28201 cat conftest.err >&5
28202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28203 (exit $ac_status); } &&
28204 { ac_try='test -z "$ac_cxx_werror_flag"
28205 || test ! -s conftest.err'
28206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28207 (eval $ac_try) 2>&5
28208 ac_status=$?
28209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210 (exit $ac_status); }; } &&
28211 { ac_try='test -s conftest.$ac_objext'
28212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28213 (eval $ac_try) 2>&5
28214 ac_status=$?
28215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28216 (exit $ac_status); }; }; then
28217 glibcxx_cv_func_isnanl_use=yes
28218 else
28219 echo "$as_me: failed program was:" >&5
28220 sed 's/^/| /' conftest.$ac_ext >&5
28222 glibcxx_cv_func_isnanl_use=no
28224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28225 ac_ext=c
28226 ac_cpp='$CPP $CPPFLAGS'
28227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28235 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
28236 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
28238 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
28240 for ac_func in isnanl
28242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28243 echo "$as_me:$LINENO: checking for $ac_func" >&5
28244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28245 if eval "test \"\${$as_ac_var+set}\" = set"; then
28246 echo $ECHO_N "(cached) $ECHO_C" >&6
28247 else
28248 if test x$gcc_no_link = xyes; then
28249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28251 { (exit 1); exit 1; }; }
28253 cat >conftest.$ac_ext <<_ACEOF
28254 /* confdefs.h. */
28255 _ACEOF
28256 cat confdefs.h >>conftest.$ac_ext
28257 cat >>conftest.$ac_ext <<_ACEOF
28258 /* end confdefs.h. */
28259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28261 #define $ac_func innocuous_$ac_func
28263 /* System header to define __stub macros and hopefully few prototypes,
28264 which can conflict with char $ac_func (); below.
28265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28266 <limits.h> exists even on freestanding compilers. */
28268 #ifdef __STDC__
28269 # include <limits.h>
28270 #else
28271 # include <assert.h>
28272 #endif
28274 #undef $ac_func
28276 /* Override any gcc2 internal prototype to avoid an error. */
28277 #ifdef __cplusplus
28278 extern "C"
28280 #endif
28281 /* We use char because int might match the return type of a gcc2
28282 builtin and then its argument prototype would still apply. */
28283 char $ac_func ();
28284 /* The GNU C library defines this for functions which it implements
28285 to always fail with ENOSYS. Some functions are actually named
28286 something starting with __ and the normal name is an alias. */
28287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28288 choke me
28289 #else
28290 char (*f) () = $ac_func;
28291 #endif
28292 #ifdef __cplusplus
28294 #endif
28297 main ()
28299 return f != $ac_func;
28301 return 0;
28303 _ACEOF
28304 rm -f conftest.$ac_objext conftest$ac_exeext
28305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28306 (eval $ac_link) 2>conftest.er1
28307 ac_status=$?
28308 grep -v '^ *+' conftest.er1 >conftest.err
28309 rm -f conftest.er1
28310 cat conftest.err >&5
28311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28312 (exit $ac_status); } &&
28313 { ac_try='test -z "$ac_c_werror_flag"
28314 || test ! -s conftest.err'
28315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28316 (eval $ac_try) 2>&5
28317 ac_status=$?
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); }; } &&
28320 { ac_try='test -s conftest$ac_exeext'
28321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28322 (eval $ac_try) 2>&5
28323 ac_status=$?
28324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28325 (exit $ac_status); }; }; then
28326 eval "$as_ac_var=yes"
28327 else
28328 echo "$as_me: failed program was:" >&5
28329 sed 's/^/| /' conftest.$ac_ext >&5
28331 eval "$as_ac_var=no"
28333 rm -f conftest.err conftest.$ac_objext \
28334 conftest$ac_exeext conftest.$ac_ext
28336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28338 if test `eval echo '${'$as_ac_var'}'` = yes; then
28339 cat >>confdefs.h <<_ACEOF
28340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28341 _ACEOF
28344 done
28346 else
28348 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
28349 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
28350 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
28351 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
28352 echo $ECHO_N "(cached) $ECHO_C" >&6
28353 else
28357 ac_ext=cc
28358 ac_cpp='$CXXCPP $CPPFLAGS'
28359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28363 cat >conftest.$ac_ext <<_ACEOF
28364 /* confdefs.h. */
28365 _ACEOF
28366 cat confdefs.h >>conftest.$ac_ext
28367 cat >>conftest.$ac_ext <<_ACEOF
28368 /* end confdefs.h. */
28369 #include <math.h>
28370 #ifdef HAVE_IEEEFP_H
28371 #include <ieeefp.h>
28372 #endif
28375 main ()
28377 _isnanl(0);
28379 return 0;
28381 _ACEOF
28382 rm -f conftest.$ac_objext
28383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28384 (eval $ac_compile) 2>conftest.er1
28385 ac_status=$?
28386 grep -v '^ *+' conftest.er1 >conftest.err
28387 rm -f conftest.er1
28388 cat conftest.err >&5
28389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28390 (exit $ac_status); } &&
28391 { ac_try='test -z "$ac_cxx_werror_flag"
28392 || test ! -s conftest.err'
28393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28394 (eval $ac_try) 2>&5
28395 ac_status=$?
28396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28397 (exit $ac_status); }; } &&
28398 { ac_try='test -s conftest.$ac_objext'
28399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28400 (eval $ac_try) 2>&5
28401 ac_status=$?
28402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28403 (exit $ac_status); }; }; then
28404 glibcxx_cv_func__isnanl_use=yes
28405 else
28406 echo "$as_me: failed program was:" >&5
28407 sed 's/^/| /' conftest.$ac_ext >&5
28409 glibcxx_cv_func__isnanl_use=no
28411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28412 ac_ext=c
28413 ac_cpp='$CPP $CPPFLAGS'
28414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28422 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
28423 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
28425 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
28427 for ac_func in _isnanl
28429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28430 echo "$as_me:$LINENO: checking for $ac_func" >&5
28431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28432 if eval "test \"\${$as_ac_var+set}\" = set"; then
28433 echo $ECHO_N "(cached) $ECHO_C" >&6
28434 else
28435 if test x$gcc_no_link = xyes; then
28436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28438 { (exit 1); exit 1; }; }
28440 cat >conftest.$ac_ext <<_ACEOF
28441 /* confdefs.h. */
28442 _ACEOF
28443 cat confdefs.h >>conftest.$ac_ext
28444 cat >>conftest.$ac_ext <<_ACEOF
28445 /* end confdefs.h. */
28446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28448 #define $ac_func innocuous_$ac_func
28450 /* System header to define __stub macros and hopefully few prototypes,
28451 which can conflict with char $ac_func (); below.
28452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28453 <limits.h> exists even on freestanding compilers. */
28455 #ifdef __STDC__
28456 # include <limits.h>
28457 #else
28458 # include <assert.h>
28459 #endif
28461 #undef $ac_func
28463 /* Override any gcc2 internal prototype to avoid an error. */
28464 #ifdef __cplusplus
28465 extern "C"
28467 #endif
28468 /* We use char because int might match the return type of a gcc2
28469 builtin and then its argument prototype would still apply. */
28470 char $ac_func ();
28471 /* The GNU C library defines this for functions which it implements
28472 to always fail with ENOSYS. Some functions are actually named
28473 something starting with __ and the normal name is an alias. */
28474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28475 choke me
28476 #else
28477 char (*f) () = $ac_func;
28478 #endif
28479 #ifdef __cplusplus
28481 #endif
28484 main ()
28486 return f != $ac_func;
28488 return 0;
28490 _ACEOF
28491 rm -f conftest.$ac_objext conftest$ac_exeext
28492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28493 (eval $ac_link) 2>conftest.er1
28494 ac_status=$?
28495 grep -v '^ *+' conftest.er1 >conftest.err
28496 rm -f conftest.er1
28497 cat conftest.err >&5
28498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28499 (exit $ac_status); } &&
28500 { ac_try='test -z "$ac_c_werror_flag"
28501 || test ! -s conftest.err'
28502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28503 (eval $ac_try) 2>&5
28504 ac_status=$?
28505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506 (exit $ac_status); }; } &&
28507 { ac_try='test -s conftest$ac_exeext'
28508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28509 (eval $ac_try) 2>&5
28510 ac_status=$?
28511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28512 (exit $ac_status); }; }; then
28513 eval "$as_ac_var=yes"
28514 else
28515 echo "$as_me: failed program was:" >&5
28516 sed 's/^/| /' conftest.$ac_ext >&5
28518 eval "$as_ac_var=no"
28520 rm -f conftest.err conftest.$ac_objext \
28521 conftest$ac_exeext conftest.$ac_ext
28523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28525 if test `eval echo '${'$as_ac_var'}'` = yes; then
28526 cat >>confdefs.h <<_ACEOF
28527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28528 _ACEOF
28531 done
28541 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
28542 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
28543 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
28544 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
28545 echo $ECHO_N "(cached) $ECHO_C" >&6
28546 else
28550 ac_ext=cc
28551 ac_cpp='$CXXCPP $CPPFLAGS'
28552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28556 cat >conftest.$ac_ext <<_ACEOF
28557 /* confdefs.h. */
28558 _ACEOF
28559 cat confdefs.h >>conftest.$ac_ext
28560 cat >>conftest.$ac_ext <<_ACEOF
28561 /* end confdefs.h. */
28562 #include <math.h>
28563 #ifdef HAVE_IEEEFP_H
28564 #include <ieeefp.h>
28565 #endif
28568 main ()
28570 isinfl(0);
28572 return 0;
28574 _ACEOF
28575 rm -f conftest.$ac_objext
28576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28577 (eval $ac_compile) 2>conftest.er1
28578 ac_status=$?
28579 grep -v '^ *+' conftest.er1 >conftest.err
28580 rm -f conftest.er1
28581 cat conftest.err >&5
28582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28583 (exit $ac_status); } &&
28584 { ac_try='test -z "$ac_cxx_werror_flag"
28585 || test ! -s conftest.err'
28586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28587 (eval $ac_try) 2>&5
28588 ac_status=$?
28589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28590 (exit $ac_status); }; } &&
28591 { ac_try='test -s conftest.$ac_objext'
28592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28593 (eval $ac_try) 2>&5
28594 ac_status=$?
28595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28596 (exit $ac_status); }; }; then
28597 glibcxx_cv_func_isinfl_use=yes
28598 else
28599 echo "$as_me: failed program was:" >&5
28600 sed 's/^/| /' conftest.$ac_ext >&5
28602 glibcxx_cv_func_isinfl_use=no
28604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28605 ac_ext=c
28606 ac_cpp='$CPP $CPPFLAGS'
28607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28615 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
28616 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
28618 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
28620 for ac_func in isinfl
28622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28623 echo "$as_me:$LINENO: checking for $ac_func" >&5
28624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28625 if eval "test \"\${$as_ac_var+set}\" = set"; then
28626 echo $ECHO_N "(cached) $ECHO_C" >&6
28627 else
28628 if test x$gcc_no_link = xyes; then
28629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28631 { (exit 1); exit 1; }; }
28633 cat >conftest.$ac_ext <<_ACEOF
28634 /* confdefs.h. */
28635 _ACEOF
28636 cat confdefs.h >>conftest.$ac_ext
28637 cat >>conftest.$ac_ext <<_ACEOF
28638 /* end confdefs.h. */
28639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28641 #define $ac_func innocuous_$ac_func
28643 /* System header to define __stub macros and hopefully few prototypes,
28644 which can conflict with char $ac_func (); below.
28645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28646 <limits.h> exists even on freestanding compilers. */
28648 #ifdef __STDC__
28649 # include <limits.h>
28650 #else
28651 # include <assert.h>
28652 #endif
28654 #undef $ac_func
28656 /* Override any gcc2 internal prototype to avoid an error. */
28657 #ifdef __cplusplus
28658 extern "C"
28660 #endif
28661 /* We use char because int might match the return type of a gcc2
28662 builtin and then its argument prototype would still apply. */
28663 char $ac_func ();
28664 /* The GNU C library defines this for functions which it implements
28665 to always fail with ENOSYS. Some functions are actually named
28666 something starting with __ and the normal name is an alias. */
28667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28668 choke me
28669 #else
28670 char (*f) () = $ac_func;
28671 #endif
28672 #ifdef __cplusplus
28674 #endif
28677 main ()
28679 return f != $ac_func;
28681 return 0;
28683 _ACEOF
28684 rm -f conftest.$ac_objext conftest$ac_exeext
28685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28686 (eval $ac_link) 2>conftest.er1
28687 ac_status=$?
28688 grep -v '^ *+' conftest.er1 >conftest.err
28689 rm -f conftest.er1
28690 cat conftest.err >&5
28691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692 (exit $ac_status); } &&
28693 { ac_try='test -z "$ac_c_werror_flag"
28694 || test ! -s conftest.err'
28695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28696 (eval $ac_try) 2>&5
28697 ac_status=$?
28698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28699 (exit $ac_status); }; } &&
28700 { ac_try='test -s conftest$ac_exeext'
28701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28702 (eval $ac_try) 2>&5
28703 ac_status=$?
28704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705 (exit $ac_status); }; }; then
28706 eval "$as_ac_var=yes"
28707 else
28708 echo "$as_me: failed program was:" >&5
28709 sed 's/^/| /' conftest.$ac_ext >&5
28711 eval "$as_ac_var=no"
28713 rm -f conftest.err conftest.$ac_objext \
28714 conftest$ac_exeext conftest.$ac_ext
28716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28718 if test `eval echo '${'$as_ac_var'}'` = yes; then
28719 cat >>confdefs.h <<_ACEOF
28720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28721 _ACEOF
28724 done
28726 else
28728 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
28729 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
28730 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
28731 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
28732 echo $ECHO_N "(cached) $ECHO_C" >&6
28733 else
28737 ac_ext=cc
28738 ac_cpp='$CXXCPP $CPPFLAGS'
28739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28743 cat >conftest.$ac_ext <<_ACEOF
28744 /* confdefs.h. */
28745 _ACEOF
28746 cat confdefs.h >>conftest.$ac_ext
28747 cat >>conftest.$ac_ext <<_ACEOF
28748 /* end confdefs.h. */
28749 #include <math.h>
28750 #ifdef HAVE_IEEEFP_H
28751 #include <ieeefp.h>
28752 #endif
28755 main ()
28757 _isinfl(0);
28759 return 0;
28761 _ACEOF
28762 rm -f conftest.$ac_objext
28763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28764 (eval $ac_compile) 2>conftest.er1
28765 ac_status=$?
28766 grep -v '^ *+' conftest.er1 >conftest.err
28767 rm -f conftest.er1
28768 cat conftest.err >&5
28769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770 (exit $ac_status); } &&
28771 { ac_try='test -z "$ac_cxx_werror_flag"
28772 || test ! -s conftest.err'
28773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28774 (eval $ac_try) 2>&5
28775 ac_status=$?
28776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28777 (exit $ac_status); }; } &&
28778 { ac_try='test -s conftest.$ac_objext'
28779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28780 (eval $ac_try) 2>&5
28781 ac_status=$?
28782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28783 (exit $ac_status); }; }; then
28784 glibcxx_cv_func__isinfl_use=yes
28785 else
28786 echo "$as_me: failed program was:" >&5
28787 sed 's/^/| /' conftest.$ac_ext >&5
28789 glibcxx_cv_func__isinfl_use=no
28791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28792 ac_ext=c
28793 ac_cpp='$CPP $CPPFLAGS'
28794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28802 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
28803 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
28805 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
28807 for ac_func in _isinfl
28809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28810 echo "$as_me:$LINENO: checking for $ac_func" >&5
28811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28812 if eval "test \"\${$as_ac_var+set}\" = set"; then
28813 echo $ECHO_N "(cached) $ECHO_C" >&6
28814 else
28815 if test x$gcc_no_link = xyes; then
28816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28818 { (exit 1); exit 1; }; }
28820 cat >conftest.$ac_ext <<_ACEOF
28821 /* confdefs.h. */
28822 _ACEOF
28823 cat confdefs.h >>conftest.$ac_ext
28824 cat >>conftest.$ac_ext <<_ACEOF
28825 /* end confdefs.h. */
28826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28828 #define $ac_func innocuous_$ac_func
28830 /* System header to define __stub macros and hopefully few prototypes,
28831 which can conflict with char $ac_func (); below.
28832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28833 <limits.h> exists even on freestanding compilers. */
28835 #ifdef __STDC__
28836 # include <limits.h>
28837 #else
28838 # include <assert.h>
28839 #endif
28841 #undef $ac_func
28843 /* Override any gcc2 internal prototype to avoid an error. */
28844 #ifdef __cplusplus
28845 extern "C"
28847 #endif
28848 /* We use char because int might match the return type of a gcc2
28849 builtin and then its argument prototype would still apply. */
28850 char $ac_func ();
28851 /* The GNU C library defines this for functions which it implements
28852 to always fail with ENOSYS. Some functions are actually named
28853 something starting with __ and the normal name is an alias. */
28854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28855 choke me
28856 #else
28857 char (*f) () = $ac_func;
28858 #endif
28859 #ifdef __cplusplus
28861 #endif
28864 main ()
28866 return f != $ac_func;
28868 return 0;
28870 _ACEOF
28871 rm -f conftest.$ac_objext conftest$ac_exeext
28872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28873 (eval $ac_link) 2>conftest.er1
28874 ac_status=$?
28875 grep -v '^ *+' conftest.er1 >conftest.err
28876 rm -f conftest.er1
28877 cat conftest.err >&5
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); } &&
28880 { ac_try='test -z "$ac_c_werror_flag"
28881 || test ! -s conftest.err'
28882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28883 (eval $ac_try) 2>&5
28884 ac_status=$?
28885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28886 (exit $ac_status); }; } &&
28887 { ac_try='test -s conftest$ac_exeext'
28888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28889 (eval $ac_try) 2>&5
28890 ac_status=$?
28891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892 (exit $ac_status); }; }; then
28893 eval "$as_ac_var=yes"
28894 else
28895 echo "$as_me: failed program was:" >&5
28896 sed 's/^/| /' conftest.$ac_ext >&5
28898 eval "$as_ac_var=no"
28900 rm -f conftest.err conftest.$ac_objext \
28901 conftest$ac_exeext conftest.$ac_ext
28903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28905 if test `eval echo '${'$as_ac_var'}'` = yes; then
28906 cat >>confdefs.h <<_ACEOF
28907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28908 _ACEOF
28911 done
28921 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
28922 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
28923 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
28924 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
28925 echo $ECHO_N "(cached) $ECHO_C" >&6
28926 else
28930 ac_ext=cc
28931 ac_cpp='$CXXCPP $CPPFLAGS'
28932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28936 cat >conftest.$ac_ext <<_ACEOF
28937 /* confdefs.h. */
28938 _ACEOF
28939 cat confdefs.h >>conftest.$ac_ext
28940 cat >>conftest.$ac_ext <<_ACEOF
28941 /* end confdefs.h. */
28942 #include <math.h>
28944 main ()
28946 copysignl(0, 0);
28948 return 0;
28950 _ACEOF
28951 rm -f conftest.$ac_objext
28952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28953 (eval $ac_compile) 2>conftest.er1
28954 ac_status=$?
28955 grep -v '^ *+' conftest.er1 >conftest.err
28956 rm -f conftest.er1
28957 cat conftest.err >&5
28958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28959 (exit $ac_status); } &&
28960 { ac_try='test -z "$ac_cxx_werror_flag"
28961 || test ! -s conftest.err'
28962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28963 (eval $ac_try) 2>&5
28964 ac_status=$?
28965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28966 (exit $ac_status); }; } &&
28967 { ac_try='test -s conftest.$ac_objext'
28968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28969 (eval $ac_try) 2>&5
28970 ac_status=$?
28971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28972 (exit $ac_status); }; }; then
28973 glibcxx_cv_func_copysignl_use=yes
28974 else
28975 echo "$as_me: failed program was:" >&5
28976 sed 's/^/| /' conftest.$ac_ext >&5
28978 glibcxx_cv_func_copysignl_use=no
28980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28981 ac_ext=c
28982 ac_cpp='$CPP $CPPFLAGS'
28983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28991 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
28992 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
28994 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
28996 for ac_func in copysignl
28998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28999 echo "$as_me:$LINENO: checking for $ac_func" >&5
29000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29001 if eval "test \"\${$as_ac_var+set}\" = set"; then
29002 echo $ECHO_N "(cached) $ECHO_C" >&6
29003 else
29004 if test x$gcc_no_link = xyes; then
29005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29007 { (exit 1); exit 1; }; }
29009 cat >conftest.$ac_ext <<_ACEOF
29010 /* confdefs.h. */
29011 _ACEOF
29012 cat confdefs.h >>conftest.$ac_ext
29013 cat >>conftest.$ac_ext <<_ACEOF
29014 /* end confdefs.h. */
29015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29017 #define $ac_func innocuous_$ac_func
29019 /* System header to define __stub macros and hopefully few prototypes,
29020 which can conflict with char $ac_func (); below.
29021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29022 <limits.h> exists even on freestanding compilers. */
29024 #ifdef __STDC__
29025 # include <limits.h>
29026 #else
29027 # include <assert.h>
29028 #endif
29030 #undef $ac_func
29032 /* Override any gcc2 internal prototype to avoid an error. */
29033 #ifdef __cplusplus
29034 extern "C"
29036 #endif
29037 /* We use char because int might match the return type of a gcc2
29038 builtin and then its argument prototype would still apply. */
29039 char $ac_func ();
29040 /* The GNU C library defines this for functions which it implements
29041 to always fail with ENOSYS. Some functions are actually named
29042 something starting with __ and the normal name is an alias. */
29043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29044 choke me
29045 #else
29046 char (*f) () = $ac_func;
29047 #endif
29048 #ifdef __cplusplus
29050 #endif
29053 main ()
29055 return f != $ac_func;
29057 return 0;
29059 _ACEOF
29060 rm -f conftest.$ac_objext conftest$ac_exeext
29061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29062 (eval $ac_link) 2>conftest.er1
29063 ac_status=$?
29064 grep -v '^ *+' conftest.er1 >conftest.err
29065 rm -f conftest.er1
29066 cat conftest.err >&5
29067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068 (exit $ac_status); } &&
29069 { ac_try='test -z "$ac_c_werror_flag"
29070 || test ! -s conftest.err'
29071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29072 (eval $ac_try) 2>&5
29073 ac_status=$?
29074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29075 (exit $ac_status); }; } &&
29076 { ac_try='test -s conftest$ac_exeext'
29077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29078 (eval $ac_try) 2>&5
29079 ac_status=$?
29080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29081 (exit $ac_status); }; }; then
29082 eval "$as_ac_var=yes"
29083 else
29084 echo "$as_me: failed program was:" >&5
29085 sed 's/^/| /' conftest.$ac_ext >&5
29087 eval "$as_ac_var=no"
29089 rm -f conftest.err conftest.$ac_objext \
29090 conftest$ac_exeext conftest.$ac_ext
29092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29094 if test `eval echo '${'$as_ac_var'}'` = yes; then
29095 cat >>confdefs.h <<_ACEOF
29096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29097 _ACEOF
29100 done
29102 else
29104 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
29105 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
29106 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
29107 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
29108 echo $ECHO_N "(cached) $ECHO_C" >&6
29109 else
29113 ac_ext=cc
29114 ac_cpp='$CXXCPP $CPPFLAGS'
29115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29119 cat >conftest.$ac_ext <<_ACEOF
29120 /* confdefs.h. */
29121 _ACEOF
29122 cat confdefs.h >>conftest.$ac_ext
29123 cat >>conftest.$ac_ext <<_ACEOF
29124 /* end confdefs.h. */
29125 #include <math.h>
29127 main ()
29129 _copysignl(0, 0);
29131 return 0;
29133 _ACEOF
29134 rm -f conftest.$ac_objext
29135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29136 (eval $ac_compile) 2>conftest.er1
29137 ac_status=$?
29138 grep -v '^ *+' conftest.er1 >conftest.err
29139 rm -f conftest.er1
29140 cat conftest.err >&5
29141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29142 (exit $ac_status); } &&
29143 { ac_try='test -z "$ac_cxx_werror_flag"
29144 || test ! -s conftest.err'
29145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29146 (eval $ac_try) 2>&5
29147 ac_status=$?
29148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29149 (exit $ac_status); }; } &&
29150 { ac_try='test -s conftest.$ac_objext'
29151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29152 (eval $ac_try) 2>&5
29153 ac_status=$?
29154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29155 (exit $ac_status); }; }; then
29156 glibcxx_cv_func__copysignl_use=yes
29157 else
29158 echo "$as_me: failed program was:" >&5
29159 sed 's/^/| /' conftest.$ac_ext >&5
29161 glibcxx_cv_func__copysignl_use=no
29163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29164 ac_ext=c
29165 ac_cpp='$CPP $CPPFLAGS'
29166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29174 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
29175 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
29177 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
29179 for ac_func in _copysignl
29181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29182 echo "$as_me:$LINENO: checking for $ac_func" >&5
29183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29184 if eval "test \"\${$as_ac_var+set}\" = set"; then
29185 echo $ECHO_N "(cached) $ECHO_C" >&6
29186 else
29187 if test x$gcc_no_link = xyes; then
29188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29190 { (exit 1); exit 1; }; }
29192 cat >conftest.$ac_ext <<_ACEOF
29193 /* confdefs.h. */
29194 _ACEOF
29195 cat confdefs.h >>conftest.$ac_ext
29196 cat >>conftest.$ac_ext <<_ACEOF
29197 /* end confdefs.h. */
29198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29200 #define $ac_func innocuous_$ac_func
29202 /* System header to define __stub macros and hopefully few prototypes,
29203 which can conflict with char $ac_func (); below.
29204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29205 <limits.h> exists even on freestanding compilers. */
29207 #ifdef __STDC__
29208 # include <limits.h>
29209 #else
29210 # include <assert.h>
29211 #endif
29213 #undef $ac_func
29215 /* Override any gcc2 internal prototype to avoid an error. */
29216 #ifdef __cplusplus
29217 extern "C"
29219 #endif
29220 /* We use char because int might match the return type of a gcc2
29221 builtin and then its argument prototype would still apply. */
29222 char $ac_func ();
29223 /* The GNU C library defines this for functions which it implements
29224 to always fail with ENOSYS. Some functions are actually named
29225 something starting with __ and the normal name is an alias. */
29226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29227 choke me
29228 #else
29229 char (*f) () = $ac_func;
29230 #endif
29231 #ifdef __cplusplus
29233 #endif
29236 main ()
29238 return f != $ac_func;
29240 return 0;
29242 _ACEOF
29243 rm -f conftest.$ac_objext conftest$ac_exeext
29244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29245 (eval $ac_link) 2>conftest.er1
29246 ac_status=$?
29247 grep -v '^ *+' conftest.er1 >conftest.err
29248 rm -f conftest.er1
29249 cat conftest.err >&5
29250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29251 (exit $ac_status); } &&
29252 { ac_try='test -z "$ac_c_werror_flag"
29253 || test ! -s conftest.err'
29254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29255 (eval $ac_try) 2>&5
29256 ac_status=$?
29257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29258 (exit $ac_status); }; } &&
29259 { ac_try='test -s conftest$ac_exeext'
29260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29261 (eval $ac_try) 2>&5
29262 ac_status=$?
29263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29264 (exit $ac_status); }; }; then
29265 eval "$as_ac_var=yes"
29266 else
29267 echo "$as_me: failed program was:" >&5
29268 sed 's/^/| /' conftest.$ac_ext >&5
29270 eval "$as_ac_var=no"
29272 rm -f conftest.err conftest.$ac_objext \
29273 conftest$ac_exeext conftest.$ac_ext
29275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29277 if test `eval echo '${'$as_ac_var'}'` = yes; then
29278 cat >>confdefs.h <<_ACEOF
29279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29280 _ACEOF
29283 done
29293 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
29294 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
29295 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
29296 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
29297 echo $ECHO_N "(cached) $ECHO_C" >&6
29298 else
29302 ac_ext=cc
29303 ac_cpp='$CXXCPP $CPPFLAGS'
29304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29308 cat >conftest.$ac_ext <<_ACEOF
29309 /* confdefs.h. */
29310 _ACEOF
29311 cat confdefs.h >>conftest.$ac_ext
29312 cat >>conftest.$ac_ext <<_ACEOF
29313 /* end confdefs.h. */
29314 #include <math.h>
29316 main ()
29318 atan2l(0, 0);
29320 return 0;
29322 _ACEOF
29323 rm -f conftest.$ac_objext
29324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29325 (eval $ac_compile) 2>conftest.er1
29326 ac_status=$?
29327 grep -v '^ *+' conftest.er1 >conftest.err
29328 rm -f conftest.er1
29329 cat conftest.err >&5
29330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29331 (exit $ac_status); } &&
29332 { ac_try='test -z "$ac_cxx_werror_flag"
29333 || test ! -s conftest.err'
29334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29335 (eval $ac_try) 2>&5
29336 ac_status=$?
29337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29338 (exit $ac_status); }; } &&
29339 { ac_try='test -s conftest.$ac_objext'
29340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29341 (eval $ac_try) 2>&5
29342 ac_status=$?
29343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29344 (exit $ac_status); }; }; then
29345 glibcxx_cv_func_atan2l_use=yes
29346 else
29347 echo "$as_me: failed program was:" >&5
29348 sed 's/^/| /' conftest.$ac_ext >&5
29350 glibcxx_cv_func_atan2l_use=no
29352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29353 ac_ext=c
29354 ac_cpp='$CPP $CPPFLAGS'
29355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29363 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
29364 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
29366 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
29368 for ac_func in atan2l
29370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29371 echo "$as_me:$LINENO: checking for $ac_func" >&5
29372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29373 if eval "test \"\${$as_ac_var+set}\" = set"; then
29374 echo $ECHO_N "(cached) $ECHO_C" >&6
29375 else
29376 if test x$gcc_no_link = xyes; then
29377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29379 { (exit 1); exit 1; }; }
29381 cat >conftest.$ac_ext <<_ACEOF
29382 /* confdefs.h. */
29383 _ACEOF
29384 cat confdefs.h >>conftest.$ac_ext
29385 cat >>conftest.$ac_ext <<_ACEOF
29386 /* end confdefs.h. */
29387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29389 #define $ac_func innocuous_$ac_func
29391 /* System header to define __stub macros and hopefully few prototypes,
29392 which can conflict with char $ac_func (); below.
29393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29394 <limits.h> exists even on freestanding compilers. */
29396 #ifdef __STDC__
29397 # include <limits.h>
29398 #else
29399 # include <assert.h>
29400 #endif
29402 #undef $ac_func
29404 /* Override any gcc2 internal prototype to avoid an error. */
29405 #ifdef __cplusplus
29406 extern "C"
29408 #endif
29409 /* We use char because int might match the return type of a gcc2
29410 builtin and then its argument prototype would still apply. */
29411 char $ac_func ();
29412 /* The GNU C library defines this for functions which it implements
29413 to always fail with ENOSYS. Some functions are actually named
29414 something starting with __ and the normal name is an alias. */
29415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29416 choke me
29417 #else
29418 char (*f) () = $ac_func;
29419 #endif
29420 #ifdef __cplusplus
29422 #endif
29425 main ()
29427 return f != $ac_func;
29429 return 0;
29431 _ACEOF
29432 rm -f conftest.$ac_objext conftest$ac_exeext
29433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29434 (eval $ac_link) 2>conftest.er1
29435 ac_status=$?
29436 grep -v '^ *+' conftest.er1 >conftest.err
29437 rm -f conftest.er1
29438 cat conftest.err >&5
29439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29440 (exit $ac_status); } &&
29441 { ac_try='test -z "$ac_c_werror_flag"
29442 || test ! -s conftest.err'
29443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29444 (eval $ac_try) 2>&5
29445 ac_status=$?
29446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29447 (exit $ac_status); }; } &&
29448 { ac_try='test -s conftest$ac_exeext'
29449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29450 (eval $ac_try) 2>&5
29451 ac_status=$?
29452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29453 (exit $ac_status); }; }; then
29454 eval "$as_ac_var=yes"
29455 else
29456 echo "$as_me: failed program was:" >&5
29457 sed 's/^/| /' conftest.$ac_ext >&5
29459 eval "$as_ac_var=no"
29461 rm -f conftest.err conftest.$ac_objext \
29462 conftest$ac_exeext conftest.$ac_ext
29464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29466 if test `eval echo '${'$as_ac_var'}'` = yes; then
29467 cat >>confdefs.h <<_ACEOF
29468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29469 _ACEOF
29472 done
29474 else
29476 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
29477 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
29478 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
29479 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
29480 echo $ECHO_N "(cached) $ECHO_C" >&6
29481 else
29485 ac_ext=cc
29486 ac_cpp='$CXXCPP $CPPFLAGS'
29487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29491 cat >conftest.$ac_ext <<_ACEOF
29492 /* confdefs.h. */
29493 _ACEOF
29494 cat confdefs.h >>conftest.$ac_ext
29495 cat >>conftest.$ac_ext <<_ACEOF
29496 /* end confdefs.h. */
29497 #include <math.h>
29499 main ()
29501 _atan2l(0, 0);
29503 return 0;
29505 _ACEOF
29506 rm -f conftest.$ac_objext
29507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29508 (eval $ac_compile) 2>conftest.er1
29509 ac_status=$?
29510 grep -v '^ *+' conftest.er1 >conftest.err
29511 rm -f conftest.er1
29512 cat conftest.err >&5
29513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29514 (exit $ac_status); } &&
29515 { ac_try='test -z "$ac_cxx_werror_flag"
29516 || test ! -s conftest.err'
29517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29518 (eval $ac_try) 2>&5
29519 ac_status=$?
29520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29521 (exit $ac_status); }; } &&
29522 { ac_try='test -s conftest.$ac_objext'
29523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29524 (eval $ac_try) 2>&5
29525 ac_status=$?
29526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527 (exit $ac_status); }; }; then
29528 glibcxx_cv_func__atan2l_use=yes
29529 else
29530 echo "$as_me: failed program was:" >&5
29531 sed 's/^/| /' conftest.$ac_ext >&5
29533 glibcxx_cv_func__atan2l_use=no
29535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29536 ac_ext=c
29537 ac_cpp='$CPP $CPPFLAGS'
29538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29546 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
29547 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
29549 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
29551 for ac_func in _atan2l
29553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29554 echo "$as_me:$LINENO: checking for $ac_func" >&5
29555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29556 if eval "test \"\${$as_ac_var+set}\" = set"; then
29557 echo $ECHO_N "(cached) $ECHO_C" >&6
29558 else
29559 if test x$gcc_no_link = xyes; then
29560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29562 { (exit 1); exit 1; }; }
29564 cat >conftest.$ac_ext <<_ACEOF
29565 /* confdefs.h. */
29566 _ACEOF
29567 cat confdefs.h >>conftest.$ac_ext
29568 cat >>conftest.$ac_ext <<_ACEOF
29569 /* end confdefs.h. */
29570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29572 #define $ac_func innocuous_$ac_func
29574 /* System header to define __stub macros and hopefully few prototypes,
29575 which can conflict with char $ac_func (); below.
29576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29577 <limits.h> exists even on freestanding compilers. */
29579 #ifdef __STDC__
29580 # include <limits.h>
29581 #else
29582 # include <assert.h>
29583 #endif
29585 #undef $ac_func
29587 /* Override any gcc2 internal prototype to avoid an error. */
29588 #ifdef __cplusplus
29589 extern "C"
29591 #endif
29592 /* We use char because int might match the return type of a gcc2
29593 builtin and then its argument prototype would still apply. */
29594 char $ac_func ();
29595 /* The GNU C library defines this for functions which it implements
29596 to always fail with ENOSYS. Some functions are actually named
29597 something starting with __ and the normal name is an alias. */
29598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29599 choke me
29600 #else
29601 char (*f) () = $ac_func;
29602 #endif
29603 #ifdef __cplusplus
29605 #endif
29608 main ()
29610 return f != $ac_func;
29612 return 0;
29614 _ACEOF
29615 rm -f conftest.$ac_objext conftest$ac_exeext
29616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29617 (eval $ac_link) 2>conftest.er1
29618 ac_status=$?
29619 grep -v '^ *+' conftest.er1 >conftest.err
29620 rm -f conftest.er1
29621 cat conftest.err >&5
29622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29623 (exit $ac_status); } &&
29624 { ac_try='test -z "$ac_c_werror_flag"
29625 || test ! -s conftest.err'
29626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29627 (eval $ac_try) 2>&5
29628 ac_status=$?
29629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29630 (exit $ac_status); }; } &&
29631 { ac_try='test -s conftest$ac_exeext'
29632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29633 (eval $ac_try) 2>&5
29634 ac_status=$?
29635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29636 (exit $ac_status); }; }; then
29637 eval "$as_ac_var=yes"
29638 else
29639 echo "$as_me: failed program was:" >&5
29640 sed 's/^/| /' conftest.$ac_ext >&5
29642 eval "$as_ac_var=no"
29644 rm -f conftest.err conftest.$ac_objext \
29645 conftest$ac_exeext conftest.$ac_ext
29647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29649 if test `eval echo '${'$as_ac_var'}'` = yes; then
29650 cat >>confdefs.h <<_ACEOF
29651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29652 _ACEOF
29655 done
29665 echo "$as_me:$LINENO: checking for expl declaration" >&5
29666 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
29667 if test x${glibcxx_cv_func_expl_use+set} != xset; then
29668 if test "${glibcxx_cv_func_expl_use+set}" = set; then
29669 echo $ECHO_N "(cached) $ECHO_C" >&6
29670 else
29674 ac_ext=cc
29675 ac_cpp='$CXXCPP $CPPFLAGS'
29676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29680 cat >conftest.$ac_ext <<_ACEOF
29681 /* confdefs.h. */
29682 _ACEOF
29683 cat confdefs.h >>conftest.$ac_ext
29684 cat >>conftest.$ac_ext <<_ACEOF
29685 /* end confdefs.h. */
29686 #include <math.h>
29687 #ifdef HAVE_IEEEFP_H
29688 #include <ieeefp.h>
29689 #endif
29692 main ()
29694 expl(0);
29696 return 0;
29698 _ACEOF
29699 rm -f conftest.$ac_objext
29700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29701 (eval $ac_compile) 2>conftest.er1
29702 ac_status=$?
29703 grep -v '^ *+' conftest.er1 >conftest.err
29704 rm -f conftest.er1
29705 cat conftest.err >&5
29706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707 (exit $ac_status); } &&
29708 { ac_try='test -z "$ac_cxx_werror_flag"
29709 || test ! -s conftest.err'
29710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29711 (eval $ac_try) 2>&5
29712 ac_status=$?
29713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29714 (exit $ac_status); }; } &&
29715 { ac_try='test -s conftest.$ac_objext'
29716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29717 (eval $ac_try) 2>&5
29718 ac_status=$?
29719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29720 (exit $ac_status); }; }; then
29721 glibcxx_cv_func_expl_use=yes
29722 else
29723 echo "$as_me: failed program was:" >&5
29724 sed 's/^/| /' conftest.$ac_ext >&5
29726 glibcxx_cv_func_expl_use=no
29728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29729 ac_ext=c
29730 ac_cpp='$CPP $CPPFLAGS'
29731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29739 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
29740 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
29742 if test x$glibcxx_cv_func_expl_use = x"yes"; then
29744 for ac_func in expl
29746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29747 echo "$as_me:$LINENO: checking for $ac_func" >&5
29748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29749 if eval "test \"\${$as_ac_var+set}\" = set"; then
29750 echo $ECHO_N "(cached) $ECHO_C" >&6
29751 else
29752 if test x$gcc_no_link = xyes; then
29753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29755 { (exit 1); exit 1; }; }
29757 cat >conftest.$ac_ext <<_ACEOF
29758 /* confdefs.h. */
29759 _ACEOF
29760 cat confdefs.h >>conftest.$ac_ext
29761 cat >>conftest.$ac_ext <<_ACEOF
29762 /* end confdefs.h. */
29763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29765 #define $ac_func innocuous_$ac_func
29767 /* System header to define __stub macros and hopefully few prototypes,
29768 which can conflict with char $ac_func (); below.
29769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29770 <limits.h> exists even on freestanding compilers. */
29772 #ifdef __STDC__
29773 # include <limits.h>
29774 #else
29775 # include <assert.h>
29776 #endif
29778 #undef $ac_func
29780 /* Override any gcc2 internal prototype to avoid an error. */
29781 #ifdef __cplusplus
29782 extern "C"
29784 #endif
29785 /* We use char because int might match the return type of a gcc2
29786 builtin and then its argument prototype would still apply. */
29787 char $ac_func ();
29788 /* The GNU C library defines this for functions which it implements
29789 to always fail with ENOSYS. Some functions are actually named
29790 something starting with __ and the normal name is an alias. */
29791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29792 choke me
29793 #else
29794 char (*f) () = $ac_func;
29795 #endif
29796 #ifdef __cplusplus
29798 #endif
29801 main ()
29803 return f != $ac_func;
29805 return 0;
29807 _ACEOF
29808 rm -f conftest.$ac_objext conftest$ac_exeext
29809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29810 (eval $ac_link) 2>conftest.er1
29811 ac_status=$?
29812 grep -v '^ *+' conftest.er1 >conftest.err
29813 rm -f conftest.er1
29814 cat conftest.err >&5
29815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29816 (exit $ac_status); } &&
29817 { ac_try='test -z "$ac_c_werror_flag"
29818 || test ! -s conftest.err'
29819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29820 (eval $ac_try) 2>&5
29821 ac_status=$?
29822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29823 (exit $ac_status); }; } &&
29824 { ac_try='test -s conftest$ac_exeext'
29825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29826 (eval $ac_try) 2>&5
29827 ac_status=$?
29828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29829 (exit $ac_status); }; }; then
29830 eval "$as_ac_var=yes"
29831 else
29832 echo "$as_me: failed program was:" >&5
29833 sed 's/^/| /' conftest.$ac_ext >&5
29835 eval "$as_ac_var=no"
29837 rm -f conftest.err conftest.$ac_objext \
29838 conftest$ac_exeext conftest.$ac_ext
29840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29842 if test `eval echo '${'$as_ac_var'}'` = yes; then
29843 cat >>confdefs.h <<_ACEOF
29844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29845 _ACEOF
29848 done
29850 else
29852 echo "$as_me:$LINENO: checking for _expl declaration" >&5
29853 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
29854 if test x${glibcxx_cv_func__expl_use+set} != xset; then
29855 if test "${glibcxx_cv_func__expl_use+set}" = set; then
29856 echo $ECHO_N "(cached) $ECHO_C" >&6
29857 else
29861 ac_ext=cc
29862 ac_cpp='$CXXCPP $CPPFLAGS'
29863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29867 cat >conftest.$ac_ext <<_ACEOF
29868 /* confdefs.h. */
29869 _ACEOF
29870 cat confdefs.h >>conftest.$ac_ext
29871 cat >>conftest.$ac_ext <<_ACEOF
29872 /* end confdefs.h. */
29873 #include <math.h>
29874 #ifdef HAVE_IEEEFP_H
29875 #include <ieeefp.h>
29876 #endif
29879 main ()
29881 _expl(0);
29883 return 0;
29885 _ACEOF
29886 rm -f conftest.$ac_objext
29887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29888 (eval $ac_compile) 2>conftest.er1
29889 ac_status=$?
29890 grep -v '^ *+' conftest.er1 >conftest.err
29891 rm -f conftest.er1
29892 cat conftest.err >&5
29893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29894 (exit $ac_status); } &&
29895 { ac_try='test -z "$ac_cxx_werror_flag"
29896 || test ! -s conftest.err'
29897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29898 (eval $ac_try) 2>&5
29899 ac_status=$?
29900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901 (exit $ac_status); }; } &&
29902 { ac_try='test -s conftest.$ac_objext'
29903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29904 (eval $ac_try) 2>&5
29905 ac_status=$?
29906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29907 (exit $ac_status); }; }; then
29908 glibcxx_cv_func__expl_use=yes
29909 else
29910 echo "$as_me: failed program was:" >&5
29911 sed 's/^/| /' conftest.$ac_ext >&5
29913 glibcxx_cv_func__expl_use=no
29915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29916 ac_ext=c
29917 ac_cpp='$CPP $CPPFLAGS'
29918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29926 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
29927 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
29929 if test x$glibcxx_cv_func__expl_use = x"yes"; then
29931 for ac_func in _expl
29933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29934 echo "$as_me:$LINENO: checking for $ac_func" >&5
29935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29936 if eval "test \"\${$as_ac_var+set}\" = set"; then
29937 echo $ECHO_N "(cached) $ECHO_C" >&6
29938 else
29939 if test x$gcc_no_link = xyes; then
29940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29942 { (exit 1); exit 1; }; }
29944 cat >conftest.$ac_ext <<_ACEOF
29945 /* confdefs.h. */
29946 _ACEOF
29947 cat confdefs.h >>conftest.$ac_ext
29948 cat >>conftest.$ac_ext <<_ACEOF
29949 /* end confdefs.h. */
29950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29952 #define $ac_func innocuous_$ac_func
29954 /* System header to define __stub macros and hopefully few prototypes,
29955 which can conflict with char $ac_func (); below.
29956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29957 <limits.h> exists even on freestanding compilers. */
29959 #ifdef __STDC__
29960 # include <limits.h>
29961 #else
29962 # include <assert.h>
29963 #endif
29965 #undef $ac_func
29967 /* Override any gcc2 internal prototype to avoid an error. */
29968 #ifdef __cplusplus
29969 extern "C"
29971 #endif
29972 /* We use char because int might match the return type of a gcc2
29973 builtin and then its argument prototype would still apply. */
29974 char $ac_func ();
29975 /* The GNU C library defines this for functions which it implements
29976 to always fail with ENOSYS. Some functions are actually named
29977 something starting with __ and the normal name is an alias. */
29978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29979 choke me
29980 #else
29981 char (*f) () = $ac_func;
29982 #endif
29983 #ifdef __cplusplus
29985 #endif
29988 main ()
29990 return f != $ac_func;
29992 return 0;
29994 _ACEOF
29995 rm -f conftest.$ac_objext conftest$ac_exeext
29996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29997 (eval $ac_link) 2>conftest.er1
29998 ac_status=$?
29999 grep -v '^ *+' conftest.er1 >conftest.err
30000 rm -f conftest.er1
30001 cat conftest.err >&5
30002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30003 (exit $ac_status); } &&
30004 { ac_try='test -z "$ac_c_werror_flag"
30005 || test ! -s conftest.err'
30006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30007 (eval $ac_try) 2>&5
30008 ac_status=$?
30009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30010 (exit $ac_status); }; } &&
30011 { ac_try='test -s conftest$ac_exeext'
30012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30013 (eval $ac_try) 2>&5
30014 ac_status=$?
30015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30016 (exit $ac_status); }; }; then
30017 eval "$as_ac_var=yes"
30018 else
30019 echo "$as_me: failed program was:" >&5
30020 sed 's/^/| /' conftest.$ac_ext >&5
30022 eval "$as_ac_var=no"
30024 rm -f conftest.err conftest.$ac_objext \
30025 conftest$ac_exeext conftest.$ac_ext
30027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30029 if test `eval echo '${'$as_ac_var'}'` = yes; then
30030 cat >>confdefs.h <<_ACEOF
30031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30032 _ACEOF
30035 done
30045 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
30046 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
30047 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30048 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
30049 echo $ECHO_N "(cached) $ECHO_C" >&6
30050 else
30054 ac_ext=cc
30055 ac_cpp='$CXXCPP $CPPFLAGS'
30056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30060 cat >conftest.$ac_ext <<_ACEOF
30061 /* confdefs.h. */
30062 _ACEOF
30063 cat confdefs.h >>conftest.$ac_ext
30064 cat >>conftest.$ac_ext <<_ACEOF
30065 /* end confdefs.h. */
30066 #include <math.h>
30067 #ifdef HAVE_IEEEFP_H
30068 #include <ieeefp.h>
30069 #endif
30072 main ()
30074 fabsl(0);
30076 return 0;
30078 _ACEOF
30079 rm -f conftest.$ac_objext
30080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30081 (eval $ac_compile) 2>conftest.er1
30082 ac_status=$?
30083 grep -v '^ *+' conftest.er1 >conftest.err
30084 rm -f conftest.er1
30085 cat conftest.err >&5
30086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30087 (exit $ac_status); } &&
30088 { ac_try='test -z "$ac_cxx_werror_flag"
30089 || test ! -s conftest.err'
30090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30091 (eval $ac_try) 2>&5
30092 ac_status=$?
30093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30094 (exit $ac_status); }; } &&
30095 { ac_try='test -s conftest.$ac_objext'
30096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30097 (eval $ac_try) 2>&5
30098 ac_status=$?
30099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30100 (exit $ac_status); }; }; then
30101 glibcxx_cv_func_fabsl_use=yes
30102 else
30103 echo "$as_me: failed program was:" >&5
30104 sed 's/^/| /' conftest.$ac_ext >&5
30106 glibcxx_cv_func_fabsl_use=no
30108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30109 ac_ext=c
30110 ac_cpp='$CPP $CPPFLAGS'
30111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30119 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
30120 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
30122 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30124 for ac_func in fabsl
30126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30127 echo "$as_me:$LINENO: checking for $ac_func" >&5
30128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30129 if eval "test \"\${$as_ac_var+set}\" = set"; then
30130 echo $ECHO_N "(cached) $ECHO_C" >&6
30131 else
30132 if test x$gcc_no_link = xyes; then
30133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30135 { (exit 1); exit 1; }; }
30137 cat >conftest.$ac_ext <<_ACEOF
30138 /* confdefs.h. */
30139 _ACEOF
30140 cat confdefs.h >>conftest.$ac_ext
30141 cat >>conftest.$ac_ext <<_ACEOF
30142 /* end confdefs.h. */
30143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30145 #define $ac_func innocuous_$ac_func
30147 /* System header to define __stub macros and hopefully few prototypes,
30148 which can conflict with char $ac_func (); below.
30149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30150 <limits.h> exists even on freestanding compilers. */
30152 #ifdef __STDC__
30153 # include <limits.h>
30154 #else
30155 # include <assert.h>
30156 #endif
30158 #undef $ac_func
30160 /* Override any gcc2 internal prototype to avoid an error. */
30161 #ifdef __cplusplus
30162 extern "C"
30164 #endif
30165 /* We use char because int might match the return type of a gcc2
30166 builtin and then its argument prototype would still apply. */
30167 char $ac_func ();
30168 /* The GNU C library defines this for functions which it implements
30169 to always fail with ENOSYS. Some functions are actually named
30170 something starting with __ and the normal name is an alias. */
30171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30172 choke me
30173 #else
30174 char (*f) () = $ac_func;
30175 #endif
30176 #ifdef __cplusplus
30178 #endif
30181 main ()
30183 return f != $ac_func;
30185 return 0;
30187 _ACEOF
30188 rm -f conftest.$ac_objext conftest$ac_exeext
30189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30190 (eval $ac_link) 2>conftest.er1
30191 ac_status=$?
30192 grep -v '^ *+' conftest.er1 >conftest.err
30193 rm -f conftest.er1
30194 cat conftest.err >&5
30195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30196 (exit $ac_status); } &&
30197 { ac_try='test -z "$ac_c_werror_flag"
30198 || test ! -s conftest.err'
30199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30200 (eval $ac_try) 2>&5
30201 ac_status=$?
30202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30203 (exit $ac_status); }; } &&
30204 { ac_try='test -s conftest$ac_exeext'
30205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30206 (eval $ac_try) 2>&5
30207 ac_status=$?
30208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30209 (exit $ac_status); }; }; then
30210 eval "$as_ac_var=yes"
30211 else
30212 echo "$as_me: failed program was:" >&5
30213 sed 's/^/| /' conftest.$ac_ext >&5
30215 eval "$as_ac_var=no"
30217 rm -f conftest.err conftest.$ac_objext \
30218 conftest$ac_exeext conftest.$ac_ext
30220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30222 if test `eval echo '${'$as_ac_var'}'` = yes; then
30223 cat >>confdefs.h <<_ACEOF
30224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30225 _ACEOF
30228 done
30230 else
30232 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
30233 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
30234 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30235 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
30236 echo $ECHO_N "(cached) $ECHO_C" >&6
30237 else
30241 ac_ext=cc
30242 ac_cpp='$CXXCPP $CPPFLAGS'
30243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30247 cat >conftest.$ac_ext <<_ACEOF
30248 /* confdefs.h. */
30249 _ACEOF
30250 cat confdefs.h >>conftest.$ac_ext
30251 cat >>conftest.$ac_ext <<_ACEOF
30252 /* end confdefs.h. */
30253 #include <math.h>
30254 #ifdef HAVE_IEEEFP_H
30255 #include <ieeefp.h>
30256 #endif
30259 main ()
30261 _fabsl(0);
30263 return 0;
30265 _ACEOF
30266 rm -f conftest.$ac_objext
30267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30268 (eval $ac_compile) 2>conftest.er1
30269 ac_status=$?
30270 grep -v '^ *+' conftest.er1 >conftest.err
30271 rm -f conftest.er1
30272 cat conftest.err >&5
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); } &&
30275 { ac_try='test -z "$ac_cxx_werror_flag"
30276 || test ! -s conftest.err'
30277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30278 (eval $ac_try) 2>&5
30279 ac_status=$?
30280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30281 (exit $ac_status); }; } &&
30282 { ac_try='test -s conftest.$ac_objext'
30283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30284 (eval $ac_try) 2>&5
30285 ac_status=$?
30286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30287 (exit $ac_status); }; }; then
30288 glibcxx_cv_func__fabsl_use=yes
30289 else
30290 echo "$as_me: failed program was:" >&5
30291 sed 's/^/| /' conftest.$ac_ext >&5
30293 glibcxx_cv_func__fabsl_use=no
30295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30296 ac_ext=c
30297 ac_cpp='$CPP $CPPFLAGS'
30298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30306 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
30307 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
30309 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30311 for ac_func in _fabsl
30313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30314 echo "$as_me:$LINENO: checking for $ac_func" >&5
30315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30316 if eval "test \"\${$as_ac_var+set}\" = set"; then
30317 echo $ECHO_N "(cached) $ECHO_C" >&6
30318 else
30319 if test x$gcc_no_link = xyes; then
30320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30322 { (exit 1); exit 1; }; }
30324 cat >conftest.$ac_ext <<_ACEOF
30325 /* confdefs.h. */
30326 _ACEOF
30327 cat confdefs.h >>conftest.$ac_ext
30328 cat >>conftest.$ac_ext <<_ACEOF
30329 /* end confdefs.h. */
30330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30332 #define $ac_func innocuous_$ac_func
30334 /* System header to define __stub macros and hopefully few prototypes,
30335 which can conflict with char $ac_func (); below.
30336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30337 <limits.h> exists even on freestanding compilers. */
30339 #ifdef __STDC__
30340 # include <limits.h>
30341 #else
30342 # include <assert.h>
30343 #endif
30345 #undef $ac_func
30347 /* Override any gcc2 internal prototype to avoid an error. */
30348 #ifdef __cplusplus
30349 extern "C"
30351 #endif
30352 /* We use char because int might match the return type of a gcc2
30353 builtin and then its argument prototype would still apply. */
30354 char $ac_func ();
30355 /* The GNU C library defines this for functions which it implements
30356 to always fail with ENOSYS. Some functions are actually named
30357 something starting with __ and the normal name is an alias. */
30358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30359 choke me
30360 #else
30361 char (*f) () = $ac_func;
30362 #endif
30363 #ifdef __cplusplus
30365 #endif
30368 main ()
30370 return f != $ac_func;
30372 return 0;
30374 _ACEOF
30375 rm -f conftest.$ac_objext conftest$ac_exeext
30376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30377 (eval $ac_link) 2>conftest.er1
30378 ac_status=$?
30379 grep -v '^ *+' conftest.er1 >conftest.err
30380 rm -f conftest.er1
30381 cat conftest.err >&5
30382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30383 (exit $ac_status); } &&
30384 { ac_try='test -z "$ac_c_werror_flag"
30385 || test ! -s conftest.err'
30386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30387 (eval $ac_try) 2>&5
30388 ac_status=$?
30389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30390 (exit $ac_status); }; } &&
30391 { ac_try='test -s conftest$ac_exeext'
30392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30393 (eval $ac_try) 2>&5
30394 ac_status=$?
30395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30396 (exit $ac_status); }; }; then
30397 eval "$as_ac_var=yes"
30398 else
30399 echo "$as_me: failed program was:" >&5
30400 sed 's/^/| /' conftest.$ac_ext >&5
30402 eval "$as_ac_var=no"
30404 rm -f conftest.err conftest.$ac_objext \
30405 conftest$ac_exeext conftest.$ac_ext
30407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30409 if test `eval echo '${'$as_ac_var'}'` = yes; then
30410 cat >>confdefs.h <<_ACEOF
30411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30412 _ACEOF
30415 done
30425 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
30426 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
30427 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30428 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
30429 echo $ECHO_N "(cached) $ECHO_C" >&6
30430 else
30434 ac_ext=cc
30435 ac_cpp='$CXXCPP $CPPFLAGS'
30436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30440 cat >conftest.$ac_ext <<_ACEOF
30441 /* confdefs.h. */
30442 _ACEOF
30443 cat confdefs.h >>conftest.$ac_ext
30444 cat >>conftest.$ac_ext <<_ACEOF
30445 /* end confdefs.h. */
30446 #include <math.h>
30448 main ()
30450 fmodl(0, 0);
30452 return 0;
30454 _ACEOF
30455 rm -f conftest.$ac_objext
30456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30457 (eval $ac_compile) 2>conftest.er1
30458 ac_status=$?
30459 grep -v '^ *+' conftest.er1 >conftest.err
30460 rm -f conftest.er1
30461 cat conftest.err >&5
30462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30463 (exit $ac_status); } &&
30464 { ac_try='test -z "$ac_cxx_werror_flag"
30465 || test ! -s conftest.err'
30466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30467 (eval $ac_try) 2>&5
30468 ac_status=$?
30469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30470 (exit $ac_status); }; } &&
30471 { ac_try='test -s conftest.$ac_objext'
30472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30473 (eval $ac_try) 2>&5
30474 ac_status=$?
30475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30476 (exit $ac_status); }; }; then
30477 glibcxx_cv_func_fmodl_use=yes
30478 else
30479 echo "$as_me: failed program was:" >&5
30480 sed 's/^/| /' conftest.$ac_ext >&5
30482 glibcxx_cv_func_fmodl_use=no
30484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30485 ac_ext=c
30486 ac_cpp='$CPP $CPPFLAGS'
30487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30495 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
30496 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
30498 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30500 for ac_func in fmodl
30502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30503 echo "$as_me:$LINENO: checking for $ac_func" >&5
30504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30505 if eval "test \"\${$as_ac_var+set}\" = set"; then
30506 echo $ECHO_N "(cached) $ECHO_C" >&6
30507 else
30508 if test x$gcc_no_link = xyes; then
30509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30511 { (exit 1); exit 1; }; }
30513 cat >conftest.$ac_ext <<_ACEOF
30514 /* confdefs.h. */
30515 _ACEOF
30516 cat confdefs.h >>conftest.$ac_ext
30517 cat >>conftest.$ac_ext <<_ACEOF
30518 /* end confdefs.h. */
30519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30521 #define $ac_func innocuous_$ac_func
30523 /* System header to define __stub macros and hopefully few prototypes,
30524 which can conflict with char $ac_func (); below.
30525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30526 <limits.h> exists even on freestanding compilers. */
30528 #ifdef __STDC__
30529 # include <limits.h>
30530 #else
30531 # include <assert.h>
30532 #endif
30534 #undef $ac_func
30536 /* Override any gcc2 internal prototype to avoid an error. */
30537 #ifdef __cplusplus
30538 extern "C"
30540 #endif
30541 /* We use char because int might match the return type of a gcc2
30542 builtin and then its argument prototype would still apply. */
30543 char $ac_func ();
30544 /* The GNU C library defines this for functions which it implements
30545 to always fail with ENOSYS. Some functions are actually named
30546 something starting with __ and the normal name is an alias. */
30547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30548 choke me
30549 #else
30550 char (*f) () = $ac_func;
30551 #endif
30552 #ifdef __cplusplus
30554 #endif
30557 main ()
30559 return f != $ac_func;
30561 return 0;
30563 _ACEOF
30564 rm -f conftest.$ac_objext conftest$ac_exeext
30565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30566 (eval $ac_link) 2>conftest.er1
30567 ac_status=$?
30568 grep -v '^ *+' conftest.er1 >conftest.err
30569 rm -f conftest.er1
30570 cat conftest.err >&5
30571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30572 (exit $ac_status); } &&
30573 { ac_try='test -z "$ac_c_werror_flag"
30574 || test ! -s conftest.err'
30575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30576 (eval $ac_try) 2>&5
30577 ac_status=$?
30578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30579 (exit $ac_status); }; } &&
30580 { ac_try='test -s conftest$ac_exeext'
30581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30582 (eval $ac_try) 2>&5
30583 ac_status=$?
30584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30585 (exit $ac_status); }; }; then
30586 eval "$as_ac_var=yes"
30587 else
30588 echo "$as_me: failed program was:" >&5
30589 sed 's/^/| /' conftest.$ac_ext >&5
30591 eval "$as_ac_var=no"
30593 rm -f conftest.err conftest.$ac_objext \
30594 conftest$ac_exeext conftest.$ac_ext
30596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30598 if test `eval echo '${'$as_ac_var'}'` = yes; then
30599 cat >>confdefs.h <<_ACEOF
30600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30601 _ACEOF
30604 done
30606 else
30608 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
30609 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
30610 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30611 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
30612 echo $ECHO_N "(cached) $ECHO_C" >&6
30613 else
30617 ac_ext=cc
30618 ac_cpp='$CXXCPP $CPPFLAGS'
30619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30623 cat >conftest.$ac_ext <<_ACEOF
30624 /* confdefs.h. */
30625 _ACEOF
30626 cat confdefs.h >>conftest.$ac_ext
30627 cat >>conftest.$ac_ext <<_ACEOF
30628 /* end confdefs.h. */
30629 #include <math.h>
30631 main ()
30633 _fmodl(0, 0);
30635 return 0;
30637 _ACEOF
30638 rm -f conftest.$ac_objext
30639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30640 (eval $ac_compile) 2>conftest.er1
30641 ac_status=$?
30642 grep -v '^ *+' conftest.er1 >conftest.err
30643 rm -f conftest.er1
30644 cat conftest.err >&5
30645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30646 (exit $ac_status); } &&
30647 { ac_try='test -z "$ac_cxx_werror_flag"
30648 || test ! -s conftest.err'
30649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30650 (eval $ac_try) 2>&5
30651 ac_status=$?
30652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30653 (exit $ac_status); }; } &&
30654 { ac_try='test -s conftest.$ac_objext'
30655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30656 (eval $ac_try) 2>&5
30657 ac_status=$?
30658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30659 (exit $ac_status); }; }; then
30660 glibcxx_cv_func__fmodl_use=yes
30661 else
30662 echo "$as_me: failed program was:" >&5
30663 sed 's/^/| /' conftest.$ac_ext >&5
30665 glibcxx_cv_func__fmodl_use=no
30667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30668 ac_ext=c
30669 ac_cpp='$CPP $CPPFLAGS'
30670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30678 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
30679 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
30681 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30683 for ac_func in _fmodl
30685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30686 echo "$as_me:$LINENO: checking for $ac_func" >&5
30687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30688 if eval "test \"\${$as_ac_var+set}\" = set"; then
30689 echo $ECHO_N "(cached) $ECHO_C" >&6
30690 else
30691 if test x$gcc_no_link = xyes; then
30692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30694 { (exit 1); exit 1; }; }
30696 cat >conftest.$ac_ext <<_ACEOF
30697 /* confdefs.h. */
30698 _ACEOF
30699 cat confdefs.h >>conftest.$ac_ext
30700 cat >>conftest.$ac_ext <<_ACEOF
30701 /* end confdefs.h. */
30702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30704 #define $ac_func innocuous_$ac_func
30706 /* System header to define __stub macros and hopefully few prototypes,
30707 which can conflict with char $ac_func (); below.
30708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30709 <limits.h> exists even on freestanding compilers. */
30711 #ifdef __STDC__
30712 # include <limits.h>
30713 #else
30714 # include <assert.h>
30715 #endif
30717 #undef $ac_func
30719 /* Override any gcc2 internal prototype to avoid an error. */
30720 #ifdef __cplusplus
30721 extern "C"
30723 #endif
30724 /* We use char because int might match the return type of a gcc2
30725 builtin and then its argument prototype would still apply. */
30726 char $ac_func ();
30727 /* The GNU C library defines this for functions which it implements
30728 to always fail with ENOSYS. Some functions are actually named
30729 something starting with __ and the normal name is an alias. */
30730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30731 choke me
30732 #else
30733 char (*f) () = $ac_func;
30734 #endif
30735 #ifdef __cplusplus
30737 #endif
30740 main ()
30742 return f != $ac_func;
30744 return 0;
30746 _ACEOF
30747 rm -f conftest.$ac_objext conftest$ac_exeext
30748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30749 (eval $ac_link) 2>conftest.er1
30750 ac_status=$?
30751 grep -v '^ *+' conftest.er1 >conftest.err
30752 rm -f conftest.er1
30753 cat conftest.err >&5
30754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30755 (exit $ac_status); } &&
30756 { ac_try='test -z "$ac_c_werror_flag"
30757 || test ! -s conftest.err'
30758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30759 (eval $ac_try) 2>&5
30760 ac_status=$?
30761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30762 (exit $ac_status); }; } &&
30763 { ac_try='test -s conftest$ac_exeext'
30764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30765 (eval $ac_try) 2>&5
30766 ac_status=$?
30767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30768 (exit $ac_status); }; }; then
30769 eval "$as_ac_var=yes"
30770 else
30771 echo "$as_me: failed program was:" >&5
30772 sed 's/^/| /' conftest.$ac_ext >&5
30774 eval "$as_ac_var=no"
30776 rm -f conftest.err conftest.$ac_objext \
30777 conftest$ac_exeext conftest.$ac_ext
30779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30781 if test `eval echo '${'$as_ac_var'}'` = yes; then
30782 cat >>confdefs.h <<_ACEOF
30783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30784 _ACEOF
30787 done
30797 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
30798 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
30799 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30800 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
30801 echo $ECHO_N "(cached) $ECHO_C" >&6
30802 else
30806 ac_ext=cc
30807 ac_cpp='$CXXCPP $CPPFLAGS'
30808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30812 cat >conftest.$ac_ext <<_ACEOF
30813 /* confdefs.h. */
30814 _ACEOF
30815 cat confdefs.h >>conftest.$ac_ext
30816 cat >>conftest.$ac_ext <<_ACEOF
30817 /* end confdefs.h. */
30818 #include <math.h>
30820 main ()
30822 frexpl(0, 0);
30824 return 0;
30826 _ACEOF
30827 rm -f conftest.$ac_objext
30828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30829 (eval $ac_compile) 2>conftest.er1
30830 ac_status=$?
30831 grep -v '^ *+' conftest.er1 >conftest.err
30832 rm -f conftest.er1
30833 cat conftest.err >&5
30834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835 (exit $ac_status); } &&
30836 { ac_try='test -z "$ac_cxx_werror_flag"
30837 || test ! -s conftest.err'
30838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30839 (eval $ac_try) 2>&5
30840 ac_status=$?
30841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30842 (exit $ac_status); }; } &&
30843 { ac_try='test -s conftest.$ac_objext'
30844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30845 (eval $ac_try) 2>&5
30846 ac_status=$?
30847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30848 (exit $ac_status); }; }; then
30849 glibcxx_cv_func_frexpl_use=yes
30850 else
30851 echo "$as_me: failed program was:" >&5
30852 sed 's/^/| /' conftest.$ac_ext >&5
30854 glibcxx_cv_func_frexpl_use=no
30856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30857 ac_ext=c
30858 ac_cpp='$CPP $CPPFLAGS'
30859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30867 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
30868 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
30870 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30872 for ac_func in frexpl
30874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30875 echo "$as_me:$LINENO: checking for $ac_func" >&5
30876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30877 if eval "test \"\${$as_ac_var+set}\" = set"; then
30878 echo $ECHO_N "(cached) $ECHO_C" >&6
30879 else
30880 if test x$gcc_no_link = xyes; then
30881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30883 { (exit 1); exit 1; }; }
30885 cat >conftest.$ac_ext <<_ACEOF
30886 /* confdefs.h. */
30887 _ACEOF
30888 cat confdefs.h >>conftest.$ac_ext
30889 cat >>conftest.$ac_ext <<_ACEOF
30890 /* end confdefs.h. */
30891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30893 #define $ac_func innocuous_$ac_func
30895 /* System header to define __stub macros and hopefully few prototypes,
30896 which can conflict with char $ac_func (); below.
30897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30898 <limits.h> exists even on freestanding compilers. */
30900 #ifdef __STDC__
30901 # include <limits.h>
30902 #else
30903 # include <assert.h>
30904 #endif
30906 #undef $ac_func
30908 /* Override any gcc2 internal prototype to avoid an error. */
30909 #ifdef __cplusplus
30910 extern "C"
30912 #endif
30913 /* We use char because int might match the return type of a gcc2
30914 builtin and then its argument prototype would still apply. */
30915 char $ac_func ();
30916 /* The GNU C library defines this for functions which it implements
30917 to always fail with ENOSYS. Some functions are actually named
30918 something starting with __ and the normal name is an alias. */
30919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30920 choke me
30921 #else
30922 char (*f) () = $ac_func;
30923 #endif
30924 #ifdef __cplusplus
30926 #endif
30929 main ()
30931 return f != $ac_func;
30933 return 0;
30935 _ACEOF
30936 rm -f conftest.$ac_objext conftest$ac_exeext
30937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30938 (eval $ac_link) 2>conftest.er1
30939 ac_status=$?
30940 grep -v '^ *+' conftest.er1 >conftest.err
30941 rm -f conftest.er1
30942 cat conftest.err >&5
30943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30944 (exit $ac_status); } &&
30945 { ac_try='test -z "$ac_c_werror_flag"
30946 || test ! -s conftest.err'
30947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30948 (eval $ac_try) 2>&5
30949 ac_status=$?
30950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30951 (exit $ac_status); }; } &&
30952 { ac_try='test -s conftest$ac_exeext'
30953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30954 (eval $ac_try) 2>&5
30955 ac_status=$?
30956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30957 (exit $ac_status); }; }; then
30958 eval "$as_ac_var=yes"
30959 else
30960 echo "$as_me: failed program was:" >&5
30961 sed 's/^/| /' conftest.$ac_ext >&5
30963 eval "$as_ac_var=no"
30965 rm -f conftest.err conftest.$ac_objext \
30966 conftest$ac_exeext conftest.$ac_ext
30968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30970 if test `eval echo '${'$as_ac_var'}'` = yes; then
30971 cat >>confdefs.h <<_ACEOF
30972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30973 _ACEOF
30976 done
30978 else
30980 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
30981 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
30982 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30983 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
30984 echo $ECHO_N "(cached) $ECHO_C" >&6
30985 else
30989 ac_ext=cc
30990 ac_cpp='$CXXCPP $CPPFLAGS'
30991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30995 cat >conftest.$ac_ext <<_ACEOF
30996 /* confdefs.h. */
30997 _ACEOF
30998 cat confdefs.h >>conftest.$ac_ext
30999 cat >>conftest.$ac_ext <<_ACEOF
31000 /* end confdefs.h. */
31001 #include <math.h>
31003 main ()
31005 _frexpl(0, 0);
31007 return 0;
31009 _ACEOF
31010 rm -f conftest.$ac_objext
31011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31012 (eval $ac_compile) 2>conftest.er1
31013 ac_status=$?
31014 grep -v '^ *+' conftest.er1 >conftest.err
31015 rm -f conftest.er1
31016 cat conftest.err >&5
31017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31018 (exit $ac_status); } &&
31019 { ac_try='test -z "$ac_cxx_werror_flag"
31020 || test ! -s conftest.err'
31021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31022 (eval $ac_try) 2>&5
31023 ac_status=$?
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); }; } &&
31026 { ac_try='test -s conftest.$ac_objext'
31027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31028 (eval $ac_try) 2>&5
31029 ac_status=$?
31030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31031 (exit $ac_status); }; }; then
31032 glibcxx_cv_func__frexpl_use=yes
31033 else
31034 echo "$as_me: failed program was:" >&5
31035 sed 's/^/| /' conftest.$ac_ext >&5
31037 glibcxx_cv_func__frexpl_use=no
31039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31040 ac_ext=c
31041 ac_cpp='$CPP $CPPFLAGS'
31042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31050 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
31051 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
31053 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31055 for ac_func in _frexpl
31057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31058 echo "$as_me:$LINENO: checking for $ac_func" >&5
31059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31060 if eval "test \"\${$as_ac_var+set}\" = set"; then
31061 echo $ECHO_N "(cached) $ECHO_C" >&6
31062 else
31063 if test x$gcc_no_link = xyes; then
31064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31066 { (exit 1); exit 1; }; }
31068 cat >conftest.$ac_ext <<_ACEOF
31069 /* confdefs.h. */
31070 _ACEOF
31071 cat confdefs.h >>conftest.$ac_ext
31072 cat >>conftest.$ac_ext <<_ACEOF
31073 /* end confdefs.h. */
31074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31076 #define $ac_func innocuous_$ac_func
31078 /* System header to define __stub macros and hopefully few prototypes,
31079 which can conflict with char $ac_func (); below.
31080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31081 <limits.h> exists even on freestanding compilers. */
31083 #ifdef __STDC__
31084 # include <limits.h>
31085 #else
31086 # include <assert.h>
31087 #endif
31089 #undef $ac_func
31091 /* Override any gcc2 internal prototype to avoid an error. */
31092 #ifdef __cplusplus
31093 extern "C"
31095 #endif
31096 /* We use char because int might match the return type of a gcc2
31097 builtin and then its argument prototype would still apply. */
31098 char $ac_func ();
31099 /* The GNU C library defines this for functions which it implements
31100 to always fail with ENOSYS. Some functions are actually named
31101 something starting with __ and the normal name is an alias. */
31102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31103 choke me
31104 #else
31105 char (*f) () = $ac_func;
31106 #endif
31107 #ifdef __cplusplus
31109 #endif
31112 main ()
31114 return f != $ac_func;
31116 return 0;
31118 _ACEOF
31119 rm -f conftest.$ac_objext conftest$ac_exeext
31120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31121 (eval $ac_link) 2>conftest.er1
31122 ac_status=$?
31123 grep -v '^ *+' conftest.er1 >conftest.err
31124 rm -f conftest.er1
31125 cat conftest.err >&5
31126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31127 (exit $ac_status); } &&
31128 { ac_try='test -z "$ac_c_werror_flag"
31129 || test ! -s conftest.err'
31130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31131 (eval $ac_try) 2>&5
31132 ac_status=$?
31133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31134 (exit $ac_status); }; } &&
31135 { ac_try='test -s conftest$ac_exeext'
31136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31137 (eval $ac_try) 2>&5
31138 ac_status=$?
31139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31140 (exit $ac_status); }; }; then
31141 eval "$as_ac_var=yes"
31142 else
31143 echo "$as_me: failed program was:" >&5
31144 sed 's/^/| /' conftest.$ac_ext >&5
31146 eval "$as_ac_var=no"
31148 rm -f conftest.err conftest.$ac_objext \
31149 conftest$ac_exeext conftest.$ac_ext
31151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31153 if test `eval echo '${'$as_ac_var'}'` = yes; then
31154 cat >>confdefs.h <<_ACEOF
31155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31156 _ACEOF
31159 done
31169 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
31170 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
31171 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31172 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
31173 echo $ECHO_N "(cached) $ECHO_C" >&6
31174 else
31178 ac_ext=cc
31179 ac_cpp='$CXXCPP $CPPFLAGS'
31180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31184 cat >conftest.$ac_ext <<_ACEOF
31185 /* confdefs.h. */
31186 _ACEOF
31187 cat confdefs.h >>conftest.$ac_ext
31188 cat >>conftest.$ac_ext <<_ACEOF
31189 /* end confdefs.h. */
31190 #include <math.h>
31192 main ()
31194 hypotl(0, 0);
31196 return 0;
31198 _ACEOF
31199 rm -f conftest.$ac_objext
31200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31201 (eval $ac_compile) 2>conftest.er1
31202 ac_status=$?
31203 grep -v '^ *+' conftest.er1 >conftest.err
31204 rm -f conftest.er1
31205 cat conftest.err >&5
31206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31207 (exit $ac_status); } &&
31208 { ac_try='test -z "$ac_cxx_werror_flag"
31209 || test ! -s conftest.err'
31210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31211 (eval $ac_try) 2>&5
31212 ac_status=$?
31213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31214 (exit $ac_status); }; } &&
31215 { ac_try='test -s conftest.$ac_objext'
31216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31217 (eval $ac_try) 2>&5
31218 ac_status=$?
31219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220 (exit $ac_status); }; }; then
31221 glibcxx_cv_func_hypotl_use=yes
31222 else
31223 echo "$as_me: failed program was:" >&5
31224 sed 's/^/| /' conftest.$ac_ext >&5
31226 glibcxx_cv_func_hypotl_use=no
31228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31229 ac_ext=c
31230 ac_cpp='$CPP $CPPFLAGS'
31231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31239 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
31240 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
31242 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31244 for ac_func in hypotl
31246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31247 echo "$as_me:$LINENO: checking for $ac_func" >&5
31248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31249 if eval "test \"\${$as_ac_var+set}\" = set"; then
31250 echo $ECHO_N "(cached) $ECHO_C" >&6
31251 else
31252 if test x$gcc_no_link = xyes; then
31253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31255 { (exit 1); exit 1; }; }
31257 cat >conftest.$ac_ext <<_ACEOF
31258 /* confdefs.h. */
31259 _ACEOF
31260 cat confdefs.h >>conftest.$ac_ext
31261 cat >>conftest.$ac_ext <<_ACEOF
31262 /* end confdefs.h. */
31263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31265 #define $ac_func innocuous_$ac_func
31267 /* System header to define __stub macros and hopefully few prototypes,
31268 which can conflict with char $ac_func (); below.
31269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31270 <limits.h> exists even on freestanding compilers. */
31272 #ifdef __STDC__
31273 # include <limits.h>
31274 #else
31275 # include <assert.h>
31276 #endif
31278 #undef $ac_func
31280 /* Override any gcc2 internal prototype to avoid an error. */
31281 #ifdef __cplusplus
31282 extern "C"
31284 #endif
31285 /* We use char because int might match the return type of a gcc2
31286 builtin and then its argument prototype would still apply. */
31287 char $ac_func ();
31288 /* The GNU C library defines this for functions which it implements
31289 to always fail with ENOSYS. Some functions are actually named
31290 something starting with __ and the normal name is an alias. */
31291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31292 choke me
31293 #else
31294 char (*f) () = $ac_func;
31295 #endif
31296 #ifdef __cplusplus
31298 #endif
31301 main ()
31303 return f != $ac_func;
31305 return 0;
31307 _ACEOF
31308 rm -f conftest.$ac_objext conftest$ac_exeext
31309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31310 (eval $ac_link) 2>conftest.er1
31311 ac_status=$?
31312 grep -v '^ *+' conftest.er1 >conftest.err
31313 rm -f conftest.er1
31314 cat conftest.err >&5
31315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31316 (exit $ac_status); } &&
31317 { ac_try='test -z "$ac_c_werror_flag"
31318 || test ! -s conftest.err'
31319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31320 (eval $ac_try) 2>&5
31321 ac_status=$?
31322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323 (exit $ac_status); }; } &&
31324 { ac_try='test -s conftest$ac_exeext'
31325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31326 (eval $ac_try) 2>&5
31327 ac_status=$?
31328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31329 (exit $ac_status); }; }; then
31330 eval "$as_ac_var=yes"
31331 else
31332 echo "$as_me: failed program was:" >&5
31333 sed 's/^/| /' conftest.$ac_ext >&5
31335 eval "$as_ac_var=no"
31337 rm -f conftest.err conftest.$ac_objext \
31338 conftest$ac_exeext conftest.$ac_ext
31340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31342 if test `eval echo '${'$as_ac_var'}'` = yes; then
31343 cat >>confdefs.h <<_ACEOF
31344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31345 _ACEOF
31348 done
31350 else
31352 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
31353 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
31354 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31355 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
31356 echo $ECHO_N "(cached) $ECHO_C" >&6
31357 else
31361 ac_ext=cc
31362 ac_cpp='$CXXCPP $CPPFLAGS'
31363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31367 cat >conftest.$ac_ext <<_ACEOF
31368 /* confdefs.h. */
31369 _ACEOF
31370 cat confdefs.h >>conftest.$ac_ext
31371 cat >>conftest.$ac_ext <<_ACEOF
31372 /* end confdefs.h. */
31373 #include <math.h>
31375 main ()
31377 _hypotl(0, 0);
31379 return 0;
31381 _ACEOF
31382 rm -f conftest.$ac_objext
31383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31384 (eval $ac_compile) 2>conftest.er1
31385 ac_status=$?
31386 grep -v '^ *+' conftest.er1 >conftest.err
31387 rm -f conftest.er1
31388 cat conftest.err >&5
31389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31390 (exit $ac_status); } &&
31391 { ac_try='test -z "$ac_cxx_werror_flag"
31392 || test ! -s conftest.err'
31393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31394 (eval $ac_try) 2>&5
31395 ac_status=$?
31396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31397 (exit $ac_status); }; } &&
31398 { ac_try='test -s conftest.$ac_objext'
31399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31400 (eval $ac_try) 2>&5
31401 ac_status=$?
31402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31403 (exit $ac_status); }; }; then
31404 glibcxx_cv_func__hypotl_use=yes
31405 else
31406 echo "$as_me: failed program was:" >&5
31407 sed 's/^/| /' conftest.$ac_ext >&5
31409 glibcxx_cv_func__hypotl_use=no
31411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31412 ac_ext=c
31413 ac_cpp='$CPP $CPPFLAGS'
31414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31422 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
31423 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
31425 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31427 for ac_func in _hypotl
31429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31430 echo "$as_me:$LINENO: checking for $ac_func" >&5
31431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31432 if eval "test \"\${$as_ac_var+set}\" = set"; then
31433 echo $ECHO_N "(cached) $ECHO_C" >&6
31434 else
31435 if test x$gcc_no_link = xyes; then
31436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31438 { (exit 1); exit 1; }; }
31440 cat >conftest.$ac_ext <<_ACEOF
31441 /* confdefs.h. */
31442 _ACEOF
31443 cat confdefs.h >>conftest.$ac_ext
31444 cat >>conftest.$ac_ext <<_ACEOF
31445 /* end confdefs.h. */
31446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31448 #define $ac_func innocuous_$ac_func
31450 /* System header to define __stub macros and hopefully few prototypes,
31451 which can conflict with char $ac_func (); below.
31452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31453 <limits.h> exists even on freestanding compilers. */
31455 #ifdef __STDC__
31456 # include <limits.h>
31457 #else
31458 # include <assert.h>
31459 #endif
31461 #undef $ac_func
31463 /* Override any gcc2 internal prototype to avoid an error. */
31464 #ifdef __cplusplus
31465 extern "C"
31467 #endif
31468 /* We use char because int might match the return type of a gcc2
31469 builtin and then its argument prototype would still apply. */
31470 char $ac_func ();
31471 /* The GNU C library defines this for functions which it implements
31472 to always fail with ENOSYS. Some functions are actually named
31473 something starting with __ and the normal name is an alias. */
31474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31475 choke me
31476 #else
31477 char (*f) () = $ac_func;
31478 #endif
31479 #ifdef __cplusplus
31481 #endif
31484 main ()
31486 return f != $ac_func;
31488 return 0;
31490 _ACEOF
31491 rm -f conftest.$ac_objext conftest$ac_exeext
31492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31493 (eval $ac_link) 2>conftest.er1
31494 ac_status=$?
31495 grep -v '^ *+' conftest.er1 >conftest.err
31496 rm -f conftest.er1
31497 cat conftest.err >&5
31498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499 (exit $ac_status); } &&
31500 { ac_try='test -z "$ac_c_werror_flag"
31501 || test ! -s conftest.err'
31502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31503 (eval $ac_try) 2>&5
31504 ac_status=$?
31505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31506 (exit $ac_status); }; } &&
31507 { ac_try='test -s conftest$ac_exeext'
31508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31509 (eval $ac_try) 2>&5
31510 ac_status=$?
31511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31512 (exit $ac_status); }; }; then
31513 eval "$as_ac_var=yes"
31514 else
31515 echo "$as_me: failed program was:" >&5
31516 sed 's/^/| /' conftest.$ac_ext >&5
31518 eval "$as_ac_var=no"
31520 rm -f conftest.err conftest.$ac_objext \
31521 conftest$ac_exeext conftest.$ac_ext
31523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31525 if test `eval echo '${'$as_ac_var'}'` = yes; then
31526 cat >>confdefs.h <<_ACEOF
31527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31528 _ACEOF
31531 done
31541 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
31542 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
31543 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31544 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
31545 echo $ECHO_N "(cached) $ECHO_C" >&6
31546 else
31550 ac_ext=cc
31551 ac_cpp='$CXXCPP $CPPFLAGS'
31552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31556 cat >conftest.$ac_ext <<_ACEOF
31557 /* confdefs.h. */
31558 _ACEOF
31559 cat confdefs.h >>conftest.$ac_ext
31560 cat >>conftest.$ac_ext <<_ACEOF
31561 /* end confdefs.h. */
31562 #include <math.h>
31564 main ()
31566 ldexpl(0, 0);
31568 return 0;
31570 _ACEOF
31571 rm -f conftest.$ac_objext
31572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31573 (eval $ac_compile) 2>conftest.er1
31574 ac_status=$?
31575 grep -v '^ *+' conftest.er1 >conftest.err
31576 rm -f conftest.er1
31577 cat conftest.err >&5
31578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31579 (exit $ac_status); } &&
31580 { ac_try='test -z "$ac_cxx_werror_flag"
31581 || test ! -s conftest.err'
31582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31583 (eval $ac_try) 2>&5
31584 ac_status=$?
31585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31586 (exit $ac_status); }; } &&
31587 { ac_try='test -s conftest.$ac_objext'
31588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31589 (eval $ac_try) 2>&5
31590 ac_status=$?
31591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31592 (exit $ac_status); }; }; then
31593 glibcxx_cv_func_ldexpl_use=yes
31594 else
31595 echo "$as_me: failed program was:" >&5
31596 sed 's/^/| /' conftest.$ac_ext >&5
31598 glibcxx_cv_func_ldexpl_use=no
31600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31601 ac_ext=c
31602 ac_cpp='$CPP $CPPFLAGS'
31603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31611 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
31612 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
31614 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31616 for ac_func in ldexpl
31618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31619 echo "$as_me:$LINENO: checking for $ac_func" >&5
31620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31621 if eval "test \"\${$as_ac_var+set}\" = set"; then
31622 echo $ECHO_N "(cached) $ECHO_C" >&6
31623 else
31624 if test x$gcc_no_link = xyes; then
31625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31627 { (exit 1); exit 1; }; }
31629 cat >conftest.$ac_ext <<_ACEOF
31630 /* confdefs.h. */
31631 _ACEOF
31632 cat confdefs.h >>conftest.$ac_ext
31633 cat >>conftest.$ac_ext <<_ACEOF
31634 /* end confdefs.h. */
31635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31637 #define $ac_func innocuous_$ac_func
31639 /* System header to define __stub macros and hopefully few prototypes,
31640 which can conflict with char $ac_func (); below.
31641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31642 <limits.h> exists even on freestanding compilers. */
31644 #ifdef __STDC__
31645 # include <limits.h>
31646 #else
31647 # include <assert.h>
31648 #endif
31650 #undef $ac_func
31652 /* Override any gcc2 internal prototype to avoid an error. */
31653 #ifdef __cplusplus
31654 extern "C"
31656 #endif
31657 /* We use char because int might match the return type of a gcc2
31658 builtin and then its argument prototype would still apply. */
31659 char $ac_func ();
31660 /* The GNU C library defines this for functions which it implements
31661 to always fail with ENOSYS. Some functions are actually named
31662 something starting with __ and the normal name is an alias. */
31663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31664 choke me
31665 #else
31666 char (*f) () = $ac_func;
31667 #endif
31668 #ifdef __cplusplus
31670 #endif
31673 main ()
31675 return f != $ac_func;
31677 return 0;
31679 _ACEOF
31680 rm -f conftest.$ac_objext conftest$ac_exeext
31681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31682 (eval $ac_link) 2>conftest.er1
31683 ac_status=$?
31684 grep -v '^ *+' conftest.er1 >conftest.err
31685 rm -f conftest.er1
31686 cat conftest.err >&5
31687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31688 (exit $ac_status); } &&
31689 { ac_try='test -z "$ac_c_werror_flag"
31690 || test ! -s conftest.err'
31691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31692 (eval $ac_try) 2>&5
31693 ac_status=$?
31694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31695 (exit $ac_status); }; } &&
31696 { ac_try='test -s conftest$ac_exeext'
31697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31698 (eval $ac_try) 2>&5
31699 ac_status=$?
31700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31701 (exit $ac_status); }; }; then
31702 eval "$as_ac_var=yes"
31703 else
31704 echo "$as_me: failed program was:" >&5
31705 sed 's/^/| /' conftest.$ac_ext >&5
31707 eval "$as_ac_var=no"
31709 rm -f conftest.err conftest.$ac_objext \
31710 conftest$ac_exeext conftest.$ac_ext
31712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31714 if test `eval echo '${'$as_ac_var'}'` = yes; then
31715 cat >>confdefs.h <<_ACEOF
31716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31717 _ACEOF
31720 done
31722 else
31724 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
31725 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
31726 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31727 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
31728 echo $ECHO_N "(cached) $ECHO_C" >&6
31729 else
31733 ac_ext=cc
31734 ac_cpp='$CXXCPP $CPPFLAGS'
31735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31739 cat >conftest.$ac_ext <<_ACEOF
31740 /* confdefs.h. */
31741 _ACEOF
31742 cat confdefs.h >>conftest.$ac_ext
31743 cat >>conftest.$ac_ext <<_ACEOF
31744 /* end confdefs.h. */
31745 #include <math.h>
31747 main ()
31749 _ldexpl(0, 0);
31751 return 0;
31753 _ACEOF
31754 rm -f conftest.$ac_objext
31755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31756 (eval $ac_compile) 2>conftest.er1
31757 ac_status=$?
31758 grep -v '^ *+' conftest.er1 >conftest.err
31759 rm -f conftest.er1
31760 cat conftest.err >&5
31761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31762 (exit $ac_status); } &&
31763 { ac_try='test -z "$ac_cxx_werror_flag"
31764 || test ! -s conftest.err'
31765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31766 (eval $ac_try) 2>&5
31767 ac_status=$?
31768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31769 (exit $ac_status); }; } &&
31770 { ac_try='test -s conftest.$ac_objext'
31771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31772 (eval $ac_try) 2>&5
31773 ac_status=$?
31774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31775 (exit $ac_status); }; }; then
31776 glibcxx_cv_func__ldexpl_use=yes
31777 else
31778 echo "$as_me: failed program was:" >&5
31779 sed 's/^/| /' conftest.$ac_ext >&5
31781 glibcxx_cv_func__ldexpl_use=no
31783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31784 ac_ext=c
31785 ac_cpp='$CPP $CPPFLAGS'
31786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31794 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
31795 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
31797 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31799 for ac_func in _ldexpl
31801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31802 echo "$as_me:$LINENO: checking for $ac_func" >&5
31803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31804 if eval "test \"\${$as_ac_var+set}\" = set"; then
31805 echo $ECHO_N "(cached) $ECHO_C" >&6
31806 else
31807 if test x$gcc_no_link = xyes; then
31808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31810 { (exit 1); exit 1; }; }
31812 cat >conftest.$ac_ext <<_ACEOF
31813 /* confdefs.h. */
31814 _ACEOF
31815 cat confdefs.h >>conftest.$ac_ext
31816 cat >>conftest.$ac_ext <<_ACEOF
31817 /* end confdefs.h. */
31818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31820 #define $ac_func innocuous_$ac_func
31822 /* System header to define __stub macros and hopefully few prototypes,
31823 which can conflict with char $ac_func (); below.
31824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31825 <limits.h> exists even on freestanding compilers. */
31827 #ifdef __STDC__
31828 # include <limits.h>
31829 #else
31830 # include <assert.h>
31831 #endif
31833 #undef $ac_func
31835 /* Override any gcc2 internal prototype to avoid an error. */
31836 #ifdef __cplusplus
31837 extern "C"
31839 #endif
31840 /* We use char because int might match the return type of a gcc2
31841 builtin and then its argument prototype would still apply. */
31842 char $ac_func ();
31843 /* The GNU C library defines this for functions which it implements
31844 to always fail with ENOSYS. Some functions are actually named
31845 something starting with __ and the normal name is an alias. */
31846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31847 choke me
31848 #else
31849 char (*f) () = $ac_func;
31850 #endif
31851 #ifdef __cplusplus
31853 #endif
31856 main ()
31858 return f != $ac_func;
31860 return 0;
31862 _ACEOF
31863 rm -f conftest.$ac_objext conftest$ac_exeext
31864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31865 (eval $ac_link) 2>conftest.er1
31866 ac_status=$?
31867 grep -v '^ *+' conftest.er1 >conftest.err
31868 rm -f conftest.er1
31869 cat conftest.err >&5
31870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31871 (exit $ac_status); } &&
31872 { ac_try='test -z "$ac_c_werror_flag"
31873 || test ! -s conftest.err'
31874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31875 (eval $ac_try) 2>&5
31876 ac_status=$?
31877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31878 (exit $ac_status); }; } &&
31879 { ac_try='test -s conftest$ac_exeext'
31880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31881 (eval $ac_try) 2>&5
31882 ac_status=$?
31883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31884 (exit $ac_status); }; }; then
31885 eval "$as_ac_var=yes"
31886 else
31887 echo "$as_me: failed program was:" >&5
31888 sed 's/^/| /' conftest.$ac_ext >&5
31890 eval "$as_ac_var=no"
31892 rm -f conftest.err conftest.$ac_objext \
31893 conftest$ac_exeext conftest.$ac_ext
31895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31897 if test `eval echo '${'$as_ac_var'}'` = yes; then
31898 cat >>confdefs.h <<_ACEOF
31899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31900 _ACEOF
31903 done
31913 echo "$as_me:$LINENO: checking for logl declaration" >&5
31914 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
31915 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31916 if test "${glibcxx_cv_func_logl_use+set}" = set; then
31917 echo $ECHO_N "(cached) $ECHO_C" >&6
31918 else
31922 ac_ext=cc
31923 ac_cpp='$CXXCPP $CPPFLAGS'
31924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31928 cat >conftest.$ac_ext <<_ACEOF
31929 /* confdefs.h. */
31930 _ACEOF
31931 cat confdefs.h >>conftest.$ac_ext
31932 cat >>conftest.$ac_ext <<_ACEOF
31933 /* end confdefs.h. */
31934 #include <math.h>
31935 #ifdef HAVE_IEEEFP_H
31936 #include <ieeefp.h>
31937 #endif
31940 main ()
31942 logl(0);
31944 return 0;
31946 _ACEOF
31947 rm -f conftest.$ac_objext
31948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31949 (eval $ac_compile) 2>conftest.er1
31950 ac_status=$?
31951 grep -v '^ *+' conftest.er1 >conftest.err
31952 rm -f conftest.er1
31953 cat conftest.err >&5
31954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31955 (exit $ac_status); } &&
31956 { ac_try='test -z "$ac_cxx_werror_flag"
31957 || test ! -s conftest.err'
31958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31959 (eval $ac_try) 2>&5
31960 ac_status=$?
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); }; } &&
31963 { ac_try='test -s conftest.$ac_objext'
31964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31965 (eval $ac_try) 2>&5
31966 ac_status=$?
31967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31968 (exit $ac_status); }; }; then
31969 glibcxx_cv_func_logl_use=yes
31970 else
31971 echo "$as_me: failed program was:" >&5
31972 sed 's/^/| /' conftest.$ac_ext >&5
31974 glibcxx_cv_func_logl_use=no
31976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31977 ac_ext=c
31978 ac_cpp='$CPP $CPPFLAGS'
31979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31987 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
31988 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
31990 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31992 for ac_func in logl
31994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31995 echo "$as_me:$LINENO: checking for $ac_func" >&5
31996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31997 if eval "test \"\${$as_ac_var+set}\" = set"; then
31998 echo $ECHO_N "(cached) $ECHO_C" >&6
31999 else
32000 if test x$gcc_no_link = xyes; then
32001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32003 { (exit 1); exit 1; }; }
32005 cat >conftest.$ac_ext <<_ACEOF
32006 /* confdefs.h. */
32007 _ACEOF
32008 cat confdefs.h >>conftest.$ac_ext
32009 cat >>conftest.$ac_ext <<_ACEOF
32010 /* end confdefs.h. */
32011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32013 #define $ac_func innocuous_$ac_func
32015 /* System header to define __stub macros and hopefully few prototypes,
32016 which can conflict with char $ac_func (); below.
32017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32018 <limits.h> exists even on freestanding compilers. */
32020 #ifdef __STDC__
32021 # include <limits.h>
32022 #else
32023 # include <assert.h>
32024 #endif
32026 #undef $ac_func
32028 /* Override any gcc2 internal prototype to avoid an error. */
32029 #ifdef __cplusplus
32030 extern "C"
32032 #endif
32033 /* We use char because int might match the return type of a gcc2
32034 builtin and then its argument prototype would still apply. */
32035 char $ac_func ();
32036 /* The GNU C library defines this for functions which it implements
32037 to always fail with ENOSYS. Some functions are actually named
32038 something starting with __ and the normal name is an alias. */
32039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32040 choke me
32041 #else
32042 char (*f) () = $ac_func;
32043 #endif
32044 #ifdef __cplusplus
32046 #endif
32049 main ()
32051 return f != $ac_func;
32053 return 0;
32055 _ACEOF
32056 rm -f conftest.$ac_objext conftest$ac_exeext
32057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32058 (eval $ac_link) 2>conftest.er1
32059 ac_status=$?
32060 grep -v '^ *+' conftest.er1 >conftest.err
32061 rm -f conftest.er1
32062 cat conftest.err >&5
32063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32064 (exit $ac_status); } &&
32065 { ac_try='test -z "$ac_c_werror_flag"
32066 || test ! -s conftest.err'
32067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32068 (eval $ac_try) 2>&5
32069 ac_status=$?
32070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32071 (exit $ac_status); }; } &&
32072 { ac_try='test -s conftest$ac_exeext'
32073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32074 (eval $ac_try) 2>&5
32075 ac_status=$?
32076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32077 (exit $ac_status); }; }; then
32078 eval "$as_ac_var=yes"
32079 else
32080 echo "$as_me: failed program was:" >&5
32081 sed 's/^/| /' conftest.$ac_ext >&5
32083 eval "$as_ac_var=no"
32085 rm -f conftest.err conftest.$ac_objext \
32086 conftest$ac_exeext conftest.$ac_ext
32088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32090 if test `eval echo '${'$as_ac_var'}'` = yes; then
32091 cat >>confdefs.h <<_ACEOF
32092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32093 _ACEOF
32096 done
32098 else
32100 echo "$as_me:$LINENO: checking for _logl declaration" >&5
32101 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
32102 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32103 if test "${glibcxx_cv_func__logl_use+set}" = set; then
32104 echo $ECHO_N "(cached) $ECHO_C" >&6
32105 else
32109 ac_ext=cc
32110 ac_cpp='$CXXCPP $CPPFLAGS'
32111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32115 cat >conftest.$ac_ext <<_ACEOF
32116 /* confdefs.h. */
32117 _ACEOF
32118 cat confdefs.h >>conftest.$ac_ext
32119 cat >>conftest.$ac_ext <<_ACEOF
32120 /* end confdefs.h. */
32121 #include <math.h>
32122 #ifdef HAVE_IEEEFP_H
32123 #include <ieeefp.h>
32124 #endif
32127 main ()
32129 _logl(0);
32131 return 0;
32133 _ACEOF
32134 rm -f conftest.$ac_objext
32135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32136 (eval $ac_compile) 2>conftest.er1
32137 ac_status=$?
32138 grep -v '^ *+' conftest.er1 >conftest.err
32139 rm -f conftest.er1
32140 cat conftest.err >&5
32141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32142 (exit $ac_status); } &&
32143 { ac_try='test -z "$ac_cxx_werror_flag"
32144 || test ! -s conftest.err'
32145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32146 (eval $ac_try) 2>&5
32147 ac_status=$?
32148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32149 (exit $ac_status); }; } &&
32150 { ac_try='test -s conftest.$ac_objext'
32151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32152 (eval $ac_try) 2>&5
32153 ac_status=$?
32154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32155 (exit $ac_status); }; }; then
32156 glibcxx_cv_func__logl_use=yes
32157 else
32158 echo "$as_me: failed program was:" >&5
32159 sed 's/^/| /' conftest.$ac_ext >&5
32161 glibcxx_cv_func__logl_use=no
32163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32164 ac_ext=c
32165 ac_cpp='$CPP $CPPFLAGS'
32166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32174 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
32175 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
32177 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32179 for ac_func in _logl
32181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32182 echo "$as_me:$LINENO: checking for $ac_func" >&5
32183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32184 if eval "test \"\${$as_ac_var+set}\" = set"; then
32185 echo $ECHO_N "(cached) $ECHO_C" >&6
32186 else
32187 if test x$gcc_no_link = xyes; then
32188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32190 { (exit 1); exit 1; }; }
32192 cat >conftest.$ac_ext <<_ACEOF
32193 /* confdefs.h. */
32194 _ACEOF
32195 cat confdefs.h >>conftest.$ac_ext
32196 cat >>conftest.$ac_ext <<_ACEOF
32197 /* end confdefs.h. */
32198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32200 #define $ac_func innocuous_$ac_func
32202 /* System header to define __stub macros and hopefully few prototypes,
32203 which can conflict with char $ac_func (); below.
32204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32205 <limits.h> exists even on freestanding compilers. */
32207 #ifdef __STDC__
32208 # include <limits.h>
32209 #else
32210 # include <assert.h>
32211 #endif
32213 #undef $ac_func
32215 /* Override any gcc2 internal prototype to avoid an error. */
32216 #ifdef __cplusplus
32217 extern "C"
32219 #endif
32220 /* We use char because int might match the return type of a gcc2
32221 builtin and then its argument prototype would still apply. */
32222 char $ac_func ();
32223 /* The GNU C library defines this for functions which it implements
32224 to always fail with ENOSYS. Some functions are actually named
32225 something starting with __ and the normal name is an alias. */
32226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32227 choke me
32228 #else
32229 char (*f) () = $ac_func;
32230 #endif
32231 #ifdef __cplusplus
32233 #endif
32236 main ()
32238 return f != $ac_func;
32240 return 0;
32242 _ACEOF
32243 rm -f conftest.$ac_objext conftest$ac_exeext
32244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32245 (eval $ac_link) 2>conftest.er1
32246 ac_status=$?
32247 grep -v '^ *+' conftest.er1 >conftest.err
32248 rm -f conftest.er1
32249 cat conftest.err >&5
32250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32251 (exit $ac_status); } &&
32252 { ac_try='test -z "$ac_c_werror_flag"
32253 || test ! -s conftest.err'
32254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32255 (eval $ac_try) 2>&5
32256 ac_status=$?
32257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32258 (exit $ac_status); }; } &&
32259 { ac_try='test -s conftest$ac_exeext'
32260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32261 (eval $ac_try) 2>&5
32262 ac_status=$?
32263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32264 (exit $ac_status); }; }; then
32265 eval "$as_ac_var=yes"
32266 else
32267 echo "$as_me: failed program was:" >&5
32268 sed 's/^/| /' conftest.$ac_ext >&5
32270 eval "$as_ac_var=no"
32272 rm -f conftest.err conftest.$ac_objext \
32273 conftest$ac_exeext conftest.$ac_ext
32275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32277 if test `eval echo '${'$as_ac_var'}'` = yes; then
32278 cat >>confdefs.h <<_ACEOF
32279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32280 _ACEOF
32283 done
32293 echo "$as_me:$LINENO: checking for log10l declaration" >&5
32294 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
32295 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32296 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
32297 echo $ECHO_N "(cached) $ECHO_C" >&6
32298 else
32302 ac_ext=cc
32303 ac_cpp='$CXXCPP $CPPFLAGS'
32304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32308 cat >conftest.$ac_ext <<_ACEOF
32309 /* confdefs.h. */
32310 _ACEOF
32311 cat confdefs.h >>conftest.$ac_ext
32312 cat >>conftest.$ac_ext <<_ACEOF
32313 /* end confdefs.h. */
32314 #include <math.h>
32315 #ifdef HAVE_IEEEFP_H
32316 #include <ieeefp.h>
32317 #endif
32320 main ()
32322 log10l(0);
32324 return 0;
32326 _ACEOF
32327 rm -f conftest.$ac_objext
32328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32329 (eval $ac_compile) 2>conftest.er1
32330 ac_status=$?
32331 grep -v '^ *+' conftest.er1 >conftest.err
32332 rm -f conftest.er1
32333 cat conftest.err >&5
32334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32335 (exit $ac_status); } &&
32336 { ac_try='test -z "$ac_cxx_werror_flag"
32337 || test ! -s conftest.err'
32338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32339 (eval $ac_try) 2>&5
32340 ac_status=$?
32341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32342 (exit $ac_status); }; } &&
32343 { ac_try='test -s conftest.$ac_objext'
32344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32345 (eval $ac_try) 2>&5
32346 ac_status=$?
32347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32348 (exit $ac_status); }; }; then
32349 glibcxx_cv_func_log10l_use=yes
32350 else
32351 echo "$as_me: failed program was:" >&5
32352 sed 's/^/| /' conftest.$ac_ext >&5
32354 glibcxx_cv_func_log10l_use=no
32356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32357 ac_ext=c
32358 ac_cpp='$CPP $CPPFLAGS'
32359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32367 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
32368 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
32370 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32372 for ac_func in log10l
32374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32375 echo "$as_me:$LINENO: checking for $ac_func" >&5
32376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32377 if eval "test \"\${$as_ac_var+set}\" = set"; then
32378 echo $ECHO_N "(cached) $ECHO_C" >&6
32379 else
32380 if test x$gcc_no_link = xyes; then
32381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32383 { (exit 1); exit 1; }; }
32385 cat >conftest.$ac_ext <<_ACEOF
32386 /* confdefs.h. */
32387 _ACEOF
32388 cat confdefs.h >>conftest.$ac_ext
32389 cat >>conftest.$ac_ext <<_ACEOF
32390 /* end confdefs.h. */
32391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32393 #define $ac_func innocuous_$ac_func
32395 /* System header to define __stub macros and hopefully few prototypes,
32396 which can conflict with char $ac_func (); below.
32397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32398 <limits.h> exists even on freestanding compilers. */
32400 #ifdef __STDC__
32401 # include <limits.h>
32402 #else
32403 # include <assert.h>
32404 #endif
32406 #undef $ac_func
32408 /* Override any gcc2 internal prototype to avoid an error. */
32409 #ifdef __cplusplus
32410 extern "C"
32412 #endif
32413 /* We use char because int might match the return type of a gcc2
32414 builtin and then its argument prototype would still apply. */
32415 char $ac_func ();
32416 /* The GNU C library defines this for functions which it implements
32417 to always fail with ENOSYS. Some functions are actually named
32418 something starting with __ and the normal name is an alias. */
32419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32420 choke me
32421 #else
32422 char (*f) () = $ac_func;
32423 #endif
32424 #ifdef __cplusplus
32426 #endif
32429 main ()
32431 return f != $ac_func;
32433 return 0;
32435 _ACEOF
32436 rm -f conftest.$ac_objext conftest$ac_exeext
32437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32438 (eval $ac_link) 2>conftest.er1
32439 ac_status=$?
32440 grep -v '^ *+' conftest.er1 >conftest.err
32441 rm -f conftest.er1
32442 cat conftest.err >&5
32443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444 (exit $ac_status); } &&
32445 { ac_try='test -z "$ac_c_werror_flag"
32446 || test ! -s conftest.err'
32447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32448 (eval $ac_try) 2>&5
32449 ac_status=$?
32450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32451 (exit $ac_status); }; } &&
32452 { ac_try='test -s conftest$ac_exeext'
32453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32454 (eval $ac_try) 2>&5
32455 ac_status=$?
32456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32457 (exit $ac_status); }; }; then
32458 eval "$as_ac_var=yes"
32459 else
32460 echo "$as_me: failed program was:" >&5
32461 sed 's/^/| /' conftest.$ac_ext >&5
32463 eval "$as_ac_var=no"
32465 rm -f conftest.err conftest.$ac_objext \
32466 conftest$ac_exeext conftest.$ac_ext
32468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32470 if test `eval echo '${'$as_ac_var'}'` = yes; then
32471 cat >>confdefs.h <<_ACEOF
32472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32473 _ACEOF
32476 done
32478 else
32480 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
32481 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
32482 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32483 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
32484 echo $ECHO_N "(cached) $ECHO_C" >&6
32485 else
32489 ac_ext=cc
32490 ac_cpp='$CXXCPP $CPPFLAGS'
32491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32495 cat >conftest.$ac_ext <<_ACEOF
32496 /* confdefs.h. */
32497 _ACEOF
32498 cat confdefs.h >>conftest.$ac_ext
32499 cat >>conftest.$ac_ext <<_ACEOF
32500 /* end confdefs.h. */
32501 #include <math.h>
32502 #ifdef HAVE_IEEEFP_H
32503 #include <ieeefp.h>
32504 #endif
32507 main ()
32509 _log10l(0);
32511 return 0;
32513 _ACEOF
32514 rm -f conftest.$ac_objext
32515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32516 (eval $ac_compile) 2>conftest.er1
32517 ac_status=$?
32518 grep -v '^ *+' conftest.er1 >conftest.err
32519 rm -f conftest.er1
32520 cat conftest.err >&5
32521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32522 (exit $ac_status); } &&
32523 { ac_try='test -z "$ac_cxx_werror_flag"
32524 || test ! -s conftest.err'
32525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32526 (eval $ac_try) 2>&5
32527 ac_status=$?
32528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32529 (exit $ac_status); }; } &&
32530 { ac_try='test -s conftest.$ac_objext'
32531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32532 (eval $ac_try) 2>&5
32533 ac_status=$?
32534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32535 (exit $ac_status); }; }; then
32536 glibcxx_cv_func__log10l_use=yes
32537 else
32538 echo "$as_me: failed program was:" >&5
32539 sed 's/^/| /' conftest.$ac_ext >&5
32541 glibcxx_cv_func__log10l_use=no
32543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32544 ac_ext=c
32545 ac_cpp='$CPP $CPPFLAGS'
32546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32554 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
32555 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
32557 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32559 for ac_func in _log10l
32561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32562 echo "$as_me:$LINENO: checking for $ac_func" >&5
32563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32564 if eval "test \"\${$as_ac_var+set}\" = set"; then
32565 echo $ECHO_N "(cached) $ECHO_C" >&6
32566 else
32567 if test x$gcc_no_link = xyes; then
32568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32570 { (exit 1); exit 1; }; }
32572 cat >conftest.$ac_ext <<_ACEOF
32573 /* confdefs.h. */
32574 _ACEOF
32575 cat confdefs.h >>conftest.$ac_ext
32576 cat >>conftest.$ac_ext <<_ACEOF
32577 /* end confdefs.h. */
32578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32580 #define $ac_func innocuous_$ac_func
32582 /* System header to define __stub macros and hopefully few prototypes,
32583 which can conflict with char $ac_func (); below.
32584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32585 <limits.h> exists even on freestanding compilers. */
32587 #ifdef __STDC__
32588 # include <limits.h>
32589 #else
32590 # include <assert.h>
32591 #endif
32593 #undef $ac_func
32595 /* Override any gcc2 internal prototype to avoid an error. */
32596 #ifdef __cplusplus
32597 extern "C"
32599 #endif
32600 /* We use char because int might match the return type of a gcc2
32601 builtin and then its argument prototype would still apply. */
32602 char $ac_func ();
32603 /* The GNU C library defines this for functions which it implements
32604 to always fail with ENOSYS. Some functions are actually named
32605 something starting with __ and the normal name is an alias. */
32606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32607 choke me
32608 #else
32609 char (*f) () = $ac_func;
32610 #endif
32611 #ifdef __cplusplus
32613 #endif
32616 main ()
32618 return f != $ac_func;
32620 return 0;
32622 _ACEOF
32623 rm -f conftest.$ac_objext conftest$ac_exeext
32624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32625 (eval $ac_link) 2>conftest.er1
32626 ac_status=$?
32627 grep -v '^ *+' conftest.er1 >conftest.err
32628 rm -f conftest.er1
32629 cat conftest.err >&5
32630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32631 (exit $ac_status); } &&
32632 { ac_try='test -z "$ac_c_werror_flag"
32633 || test ! -s conftest.err'
32634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32635 (eval $ac_try) 2>&5
32636 ac_status=$?
32637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32638 (exit $ac_status); }; } &&
32639 { ac_try='test -s conftest$ac_exeext'
32640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32641 (eval $ac_try) 2>&5
32642 ac_status=$?
32643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32644 (exit $ac_status); }; }; then
32645 eval "$as_ac_var=yes"
32646 else
32647 echo "$as_me: failed program was:" >&5
32648 sed 's/^/| /' conftest.$ac_ext >&5
32650 eval "$as_ac_var=no"
32652 rm -f conftest.err conftest.$ac_objext \
32653 conftest$ac_exeext conftest.$ac_ext
32655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32657 if test `eval echo '${'$as_ac_var'}'` = yes; then
32658 cat >>confdefs.h <<_ACEOF
32659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32660 _ACEOF
32663 done
32673 echo "$as_me:$LINENO: checking for modfl declaration" >&5
32674 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
32675 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32676 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
32677 echo $ECHO_N "(cached) $ECHO_C" >&6
32678 else
32682 ac_ext=cc
32683 ac_cpp='$CXXCPP $CPPFLAGS'
32684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32688 cat >conftest.$ac_ext <<_ACEOF
32689 /* confdefs.h. */
32690 _ACEOF
32691 cat confdefs.h >>conftest.$ac_ext
32692 cat >>conftest.$ac_ext <<_ACEOF
32693 /* end confdefs.h. */
32694 #include <math.h>
32696 main ()
32698 modfl(0, 0);
32700 return 0;
32702 _ACEOF
32703 rm -f conftest.$ac_objext
32704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32705 (eval $ac_compile) 2>conftest.er1
32706 ac_status=$?
32707 grep -v '^ *+' conftest.er1 >conftest.err
32708 rm -f conftest.er1
32709 cat conftest.err >&5
32710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32711 (exit $ac_status); } &&
32712 { ac_try='test -z "$ac_cxx_werror_flag"
32713 || test ! -s conftest.err'
32714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32715 (eval $ac_try) 2>&5
32716 ac_status=$?
32717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32718 (exit $ac_status); }; } &&
32719 { ac_try='test -s conftest.$ac_objext'
32720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32721 (eval $ac_try) 2>&5
32722 ac_status=$?
32723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32724 (exit $ac_status); }; }; then
32725 glibcxx_cv_func_modfl_use=yes
32726 else
32727 echo "$as_me: failed program was:" >&5
32728 sed 's/^/| /' conftest.$ac_ext >&5
32730 glibcxx_cv_func_modfl_use=no
32732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32733 ac_ext=c
32734 ac_cpp='$CPP $CPPFLAGS'
32735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32743 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
32744 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
32746 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32748 for ac_func in modfl
32750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32751 echo "$as_me:$LINENO: checking for $ac_func" >&5
32752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32753 if eval "test \"\${$as_ac_var+set}\" = set"; then
32754 echo $ECHO_N "(cached) $ECHO_C" >&6
32755 else
32756 if test x$gcc_no_link = xyes; then
32757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32759 { (exit 1); exit 1; }; }
32761 cat >conftest.$ac_ext <<_ACEOF
32762 /* confdefs.h. */
32763 _ACEOF
32764 cat confdefs.h >>conftest.$ac_ext
32765 cat >>conftest.$ac_ext <<_ACEOF
32766 /* end confdefs.h. */
32767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32769 #define $ac_func innocuous_$ac_func
32771 /* System header to define __stub macros and hopefully few prototypes,
32772 which can conflict with char $ac_func (); below.
32773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32774 <limits.h> exists even on freestanding compilers. */
32776 #ifdef __STDC__
32777 # include <limits.h>
32778 #else
32779 # include <assert.h>
32780 #endif
32782 #undef $ac_func
32784 /* Override any gcc2 internal prototype to avoid an error. */
32785 #ifdef __cplusplus
32786 extern "C"
32788 #endif
32789 /* We use char because int might match the return type of a gcc2
32790 builtin and then its argument prototype would still apply. */
32791 char $ac_func ();
32792 /* The GNU C library defines this for functions which it implements
32793 to always fail with ENOSYS. Some functions are actually named
32794 something starting with __ and the normal name is an alias. */
32795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32796 choke me
32797 #else
32798 char (*f) () = $ac_func;
32799 #endif
32800 #ifdef __cplusplus
32802 #endif
32805 main ()
32807 return f != $ac_func;
32809 return 0;
32811 _ACEOF
32812 rm -f conftest.$ac_objext conftest$ac_exeext
32813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32814 (eval $ac_link) 2>conftest.er1
32815 ac_status=$?
32816 grep -v '^ *+' conftest.er1 >conftest.err
32817 rm -f conftest.er1
32818 cat conftest.err >&5
32819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32820 (exit $ac_status); } &&
32821 { ac_try='test -z "$ac_c_werror_flag"
32822 || test ! -s conftest.err'
32823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32824 (eval $ac_try) 2>&5
32825 ac_status=$?
32826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32827 (exit $ac_status); }; } &&
32828 { ac_try='test -s conftest$ac_exeext'
32829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32830 (eval $ac_try) 2>&5
32831 ac_status=$?
32832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32833 (exit $ac_status); }; }; then
32834 eval "$as_ac_var=yes"
32835 else
32836 echo "$as_me: failed program was:" >&5
32837 sed 's/^/| /' conftest.$ac_ext >&5
32839 eval "$as_ac_var=no"
32841 rm -f conftest.err conftest.$ac_objext \
32842 conftest$ac_exeext conftest.$ac_ext
32844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32846 if test `eval echo '${'$as_ac_var'}'` = yes; then
32847 cat >>confdefs.h <<_ACEOF
32848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32849 _ACEOF
32852 done
32854 else
32856 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
32857 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
32858 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32859 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
32860 echo $ECHO_N "(cached) $ECHO_C" >&6
32861 else
32865 ac_ext=cc
32866 ac_cpp='$CXXCPP $CPPFLAGS'
32867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32871 cat >conftest.$ac_ext <<_ACEOF
32872 /* confdefs.h. */
32873 _ACEOF
32874 cat confdefs.h >>conftest.$ac_ext
32875 cat >>conftest.$ac_ext <<_ACEOF
32876 /* end confdefs.h. */
32877 #include <math.h>
32879 main ()
32881 _modfl(0, 0);
32883 return 0;
32885 _ACEOF
32886 rm -f conftest.$ac_objext
32887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32888 (eval $ac_compile) 2>conftest.er1
32889 ac_status=$?
32890 grep -v '^ *+' conftest.er1 >conftest.err
32891 rm -f conftest.er1
32892 cat conftest.err >&5
32893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32894 (exit $ac_status); } &&
32895 { ac_try='test -z "$ac_cxx_werror_flag"
32896 || test ! -s conftest.err'
32897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32898 (eval $ac_try) 2>&5
32899 ac_status=$?
32900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32901 (exit $ac_status); }; } &&
32902 { ac_try='test -s conftest.$ac_objext'
32903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32904 (eval $ac_try) 2>&5
32905 ac_status=$?
32906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32907 (exit $ac_status); }; }; then
32908 glibcxx_cv_func__modfl_use=yes
32909 else
32910 echo "$as_me: failed program was:" >&5
32911 sed 's/^/| /' conftest.$ac_ext >&5
32913 glibcxx_cv_func__modfl_use=no
32915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32916 ac_ext=c
32917 ac_cpp='$CPP $CPPFLAGS'
32918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32926 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
32927 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
32929 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32931 for ac_func in _modfl
32933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32934 echo "$as_me:$LINENO: checking for $ac_func" >&5
32935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32936 if eval "test \"\${$as_ac_var+set}\" = set"; then
32937 echo $ECHO_N "(cached) $ECHO_C" >&6
32938 else
32939 if test x$gcc_no_link = xyes; then
32940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32942 { (exit 1); exit 1; }; }
32944 cat >conftest.$ac_ext <<_ACEOF
32945 /* confdefs.h. */
32946 _ACEOF
32947 cat confdefs.h >>conftest.$ac_ext
32948 cat >>conftest.$ac_ext <<_ACEOF
32949 /* end confdefs.h. */
32950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32952 #define $ac_func innocuous_$ac_func
32954 /* System header to define __stub macros and hopefully few prototypes,
32955 which can conflict with char $ac_func (); below.
32956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32957 <limits.h> exists even on freestanding compilers. */
32959 #ifdef __STDC__
32960 # include <limits.h>
32961 #else
32962 # include <assert.h>
32963 #endif
32965 #undef $ac_func
32967 /* Override any gcc2 internal prototype to avoid an error. */
32968 #ifdef __cplusplus
32969 extern "C"
32971 #endif
32972 /* We use char because int might match the return type of a gcc2
32973 builtin and then its argument prototype would still apply. */
32974 char $ac_func ();
32975 /* The GNU C library defines this for functions which it implements
32976 to always fail with ENOSYS. Some functions are actually named
32977 something starting with __ and the normal name is an alias. */
32978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32979 choke me
32980 #else
32981 char (*f) () = $ac_func;
32982 #endif
32983 #ifdef __cplusplus
32985 #endif
32988 main ()
32990 return f != $ac_func;
32992 return 0;
32994 _ACEOF
32995 rm -f conftest.$ac_objext conftest$ac_exeext
32996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32997 (eval $ac_link) 2>conftest.er1
32998 ac_status=$?
32999 grep -v '^ *+' conftest.er1 >conftest.err
33000 rm -f conftest.er1
33001 cat conftest.err >&5
33002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33003 (exit $ac_status); } &&
33004 { ac_try='test -z "$ac_c_werror_flag"
33005 || test ! -s conftest.err'
33006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33007 (eval $ac_try) 2>&5
33008 ac_status=$?
33009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33010 (exit $ac_status); }; } &&
33011 { ac_try='test -s conftest$ac_exeext'
33012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33013 (eval $ac_try) 2>&5
33014 ac_status=$?
33015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33016 (exit $ac_status); }; }; then
33017 eval "$as_ac_var=yes"
33018 else
33019 echo "$as_me: failed program was:" >&5
33020 sed 's/^/| /' conftest.$ac_ext >&5
33022 eval "$as_ac_var=no"
33024 rm -f conftest.err conftest.$ac_objext \
33025 conftest$ac_exeext conftest.$ac_ext
33027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33029 if test `eval echo '${'$as_ac_var'}'` = yes; then
33030 cat >>confdefs.h <<_ACEOF
33031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33032 _ACEOF
33035 done
33045 echo "$as_me:$LINENO: checking for powl declaration" >&5
33046 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
33047 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33048 if test "${glibcxx_cv_func_powl_use+set}" = set; then
33049 echo $ECHO_N "(cached) $ECHO_C" >&6
33050 else
33054 ac_ext=cc
33055 ac_cpp='$CXXCPP $CPPFLAGS'
33056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33060 cat >conftest.$ac_ext <<_ACEOF
33061 /* confdefs.h. */
33062 _ACEOF
33063 cat confdefs.h >>conftest.$ac_ext
33064 cat >>conftest.$ac_ext <<_ACEOF
33065 /* end confdefs.h. */
33066 #include <math.h>
33068 main ()
33070 powl(0, 0);
33072 return 0;
33074 _ACEOF
33075 rm -f conftest.$ac_objext
33076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33077 (eval $ac_compile) 2>conftest.er1
33078 ac_status=$?
33079 grep -v '^ *+' conftest.er1 >conftest.err
33080 rm -f conftest.er1
33081 cat conftest.err >&5
33082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33083 (exit $ac_status); } &&
33084 { ac_try='test -z "$ac_cxx_werror_flag"
33085 || test ! -s conftest.err'
33086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33087 (eval $ac_try) 2>&5
33088 ac_status=$?
33089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33090 (exit $ac_status); }; } &&
33091 { ac_try='test -s conftest.$ac_objext'
33092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33093 (eval $ac_try) 2>&5
33094 ac_status=$?
33095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33096 (exit $ac_status); }; }; then
33097 glibcxx_cv_func_powl_use=yes
33098 else
33099 echo "$as_me: failed program was:" >&5
33100 sed 's/^/| /' conftest.$ac_ext >&5
33102 glibcxx_cv_func_powl_use=no
33104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33105 ac_ext=c
33106 ac_cpp='$CPP $CPPFLAGS'
33107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33115 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
33116 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
33118 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33120 for ac_func in powl
33122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33123 echo "$as_me:$LINENO: checking for $ac_func" >&5
33124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33125 if eval "test \"\${$as_ac_var+set}\" = set"; then
33126 echo $ECHO_N "(cached) $ECHO_C" >&6
33127 else
33128 if test x$gcc_no_link = xyes; then
33129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33131 { (exit 1); exit 1; }; }
33133 cat >conftest.$ac_ext <<_ACEOF
33134 /* confdefs.h. */
33135 _ACEOF
33136 cat confdefs.h >>conftest.$ac_ext
33137 cat >>conftest.$ac_ext <<_ACEOF
33138 /* end confdefs.h. */
33139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33141 #define $ac_func innocuous_$ac_func
33143 /* System header to define __stub macros and hopefully few prototypes,
33144 which can conflict with char $ac_func (); below.
33145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33146 <limits.h> exists even on freestanding compilers. */
33148 #ifdef __STDC__
33149 # include <limits.h>
33150 #else
33151 # include <assert.h>
33152 #endif
33154 #undef $ac_func
33156 /* Override any gcc2 internal prototype to avoid an error. */
33157 #ifdef __cplusplus
33158 extern "C"
33160 #endif
33161 /* We use char because int might match the return type of a gcc2
33162 builtin and then its argument prototype would still apply. */
33163 char $ac_func ();
33164 /* The GNU C library defines this for functions which it implements
33165 to always fail with ENOSYS. Some functions are actually named
33166 something starting with __ and the normal name is an alias. */
33167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33168 choke me
33169 #else
33170 char (*f) () = $ac_func;
33171 #endif
33172 #ifdef __cplusplus
33174 #endif
33177 main ()
33179 return f != $ac_func;
33181 return 0;
33183 _ACEOF
33184 rm -f conftest.$ac_objext conftest$ac_exeext
33185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33186 (eval $ac_link) 2>conftest.er1
33187 ac_status=$?
33188 grep -v '^ *+' conftest.er1 >conftest.err
33189 rm -f conftest.er1
33190 cat conftest.err >&5
33191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33192 (exit $ac_status); } &&
33193 { ac_try='test -z "$ac_c_werror_flag"
33194 || test ! -s conftest.err'
33195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33196 (eval $ac_try) 2>&5
33197 ac_status=$?
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); }; } &&
33200 { ac_try='test -s conftest$ac_exeext'
33201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33202 (eval $ac_try) 2>&5
33203 ac_status=$?
33204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33205 (exit $ac_status); }; }; then
33206 eval "$as_ac_var=yes"
33207 else
33208 echo "$as_me: failed program was:" >&5
33209 sed 's/^/| /' conftest.$ac_ext >&5
33211 eval "$as_ac_var=no"
33213 rm -f conftest.err conftest.$ac_objext \
33214 conftest$ac_exeext conftest.$ac_ext
33216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33218 if test `eval echo '${'$as_ac_var'}'` = yes; then
33219 cat >>confdefs.h <<_ACEOF
33220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33221 _ACEOF
33224 done
33226 else
33228 echo "$as_me:$LINENO: checking for _powl declaration" >&5
33229 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
33230 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33231 if test "${glibcxx_cv_func__powl_use+set}" = set; then
33232 echo $ECHO_N "(cached) $ECHO_C" >&6
33233 else
33237 ac_ext=cc
33238 ac_cpp='$CXXCPP $CPPFLAGS'
33239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33243 cat >conftest.$ac_ext <<_ACEOF
33244 /* confdefs.h. */
33245 _ACEOF
33246 cat confdefs.h >>conftest.$ac_ext
33247 cat >>conftest.$ac_ext <<_ACEOF
33248 /* end confdefs.h. */
33249 #include <math.h>
33251 main ()
33253 _powl(0, 0);
33255 return 0;
33257 _ACEOF
33258 rm -f conftest.$ac_objext
33259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33260 (eval $ac_compile) 2>conftest.er1
33261 ac_status=$?
33262 grep -v '^ *+' conftest.er1 >conftest.err
33263 rm -f conftest.er1
33264 cat conftest.err >&5
33265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33266 (exit $ac_status); } &&
33267 { ac_try='test -z "$ac_cxx_werror_flag"
33268 || test ! -s conftest.err'
33269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33270 (eval $ac_try) 2>&5
33271 ac_status=$?
33272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33273 (exit $ac_status); }; } &&
33274 { ac_try='test -s conftest.$ac_objext'
33275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33276 (eval $ac_try) 2>&5
33277 ac_status=$?
33278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33279 (exit $ac_status); }; }; then
33280 glibcxx_cv_func__powl_use=yes
33281 else
33282 echo "$as_me: failed program was:" >&5
33283 sed 's/^/| /' conftest.$ac_ext >&5
33285 glibcxx_cv_func__powl_use=no
33287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33288 ac_ext=c
33289 ac_cpp='$CPP $CPPFLAGS'
33290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33298 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
33299 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
33301 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33303 for ac_func in _powl
33305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33306 echo "$as_me:$LINENO: checking for $ac_func" >&5
33307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33308 if eval "test \"\${$as_ac_var+set}\" = set"; then
33309 echo $ECHO_N "(cached) $ECHO_C" >&6
33310 else
33311 if test x$gcc_no_link = xyes; then
33312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33314 { (exit 1); exit 1; }; }
33316 cat >conftest.$ac_ext <<_ACEOF
33317 /* confdefs.h. */
33318 _ACEOF
33319 cat confdefs.h >>conftest.$ac_ext
33320 cat >>conftest.$ac_ext <<_ACEOF
33321 /* end confdefs.h. */
33322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33324 #define $ac_func innocuous_$ac_func
33326 /* System header to define __stub macros and hopefully few prototypes,
33327 which can conflict with char $ac_func (); below.
33328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33329 <limits.h> exists even on freestanding compilers. */
33331 #ifdef __STDC__
33332 # include <limits.h>
33333 #else
33334 # include <assert.h>
33335 #endif
33337 #undef $ac_func
33339 /* Override any gcc2 internal prototype to avoid an error. */
33340 #ifdef __cplusplus
33341 extern "C"
33343 #endif
33344 /* We use char because int might match the return type of a gcc2
33345 builtin and then its argument prototype would still apply. */
33346 char $ac_func ();
33347 /* The GNU C library defines this for functions which it implements
33348 to always fail with ENOSYS. Some functions are actually named
33349 something starting with __ and the normal name is an alias. */
33350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33351 choke me
33352 #else
33353 char (*f) () = $ac_func;
33354 #endif
33355 #ifdef __cplusplus
33357 #endif
33360 main ()
33362 return f != $ac_func;
33364 return 0;
33366 _ACEOF
33367 rm -f conftest.$ac_objext conftest$ac_exeext
33368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33369 (eval $ac_link) 2>conftest.er1
33370 ac_status=$?
33371 grep -v '^ *+' conftest.er1 >conftest.err
33372 rm -f conftest.er1
33373 cat conftest.err >&5
33374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375 (exit $ac_status); } &&
33376 { ac_try='test -z "$ac_c_werror_flag"
33377 || test ! -s conftest.err'
33378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33379 (eval $ac_try) 2>&5
33380 ac_status=$?
33381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33382 (exit $ac_status); }; } &&
33383 { ac_try='test -s conftest$ac_exeext'
33384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33385 (eval $ac_try) 2>&5
33386 ac_status=$?
33387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33388 (exit $ac_status); }; }; then
33389 eval "$as_ac_var=yes"
33390 else
33391 echo "$as_me: failed program was:" >&5
33392 sed 's/^/| /' conftest.$ac_ext >&5
33394 eval "$as_ac_var=no"
33396 rm -f conftest.err conftest.$ac_objext \
33397 conftest$ac_exeext conftest.$ac_ext
33399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33401 if test `eval echo '${'$as_ac_var'}'` = yes; then
33402 cat >>confdefs.h <<_ACEOF
33403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33404 _ACEOF
33407 done
33417 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
33418 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
33419 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33420 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
33421 echo $ECHO_N "(cached) $ECHO_C" >&6
33422 else
33426 ac_ext=cc
33427 ac_cpp='$CXXCPP $CPPFLAGS'
33428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33432 cat >conftest.$ac_ext <<_ACEOF
33433 /* confdefs.h. */
33434 _ACEOF
33435 cat confdefs.h >>conftest.$ac_ext
33436 cat >>conftest.$ac_ext <<_ACEOF
33437 /* end confdefs.h. */
33438 #include <math.h>
33439 #ifdef HAVE_IEEEFP_H
33440 #include <ieeefp.h>
33441 #endif
33444 main ()
33446 sqrtl(0);
33448 return 0;
33450 _ACEOF
33451 rm -f conftest.$ac_objext
33452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33453 (eval $ac_compile) 2>conftest.er1
33454 ac_status=$?
33455 grep -v '^ *+' conftest.er1 >conftest.err
33456 rm -f conftest.er1
33457 cat conftest.err >&5
33458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33459 (exit $ac_status); } &&
33460 { ac_try='test -z "$ac_cxx_werror_flag"
33461 || test ! -s conftest.err'
33462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33463 (eval $ac_try) 2>&5
33464 ac_status=$?
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); }; } &&
33467 { ac_try='test -s conftest.$ac_objext'
33468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33469 (eval $ac_try) 2>&5
33470 ac_status=$?
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); }; }; then
33473 glibcxx_cv_func_sqrtl_use=yes
33474 else
33475 echo "$as_me: failed program was:" >&5
33476 sed 's/^/| /' conftest.$ac_ext >&5
33478 glibcxx_cv_func_sqrtl_use=no
33480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33481 ac_ext=c
33482 ac_cpp='$CPP $CPPFLAGS'
33483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33491 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
33492 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
33494 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33496 for ac_func in sqrtl
33498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33499 echo "$as_me:$LINENO: checking for $ac_func" >&5
33500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33501 if eval "test \"\${$as_ac_var+set}\" = set"; then
33502 echo $ECHO_N "(cached) $ECHO_C" >&6
33503 else
33504 if test x$gcc_no_link = xyes; then
33505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33507 { (exit 1); exit 1; }; }
33509 cat >conftest.$ac_ext <<_ACEOF
33510 /* confdefs.h. */
33511 _ACEOF
33512 cat confdefs.h >>conftest.$ac_ext
33513 cat >>conftest.$ac_ext <<_ACEOF
33514 /* end confdefs.h. */
33515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33517 #define $ac_func innocuous_$ac_func
33519 /* System header to define __stub macros and hopefully few prototypes,
33520 which can conflict with char $ac_func (); below.
33521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33522 <limits.h> exists even on freestanding compilers. */
33524 #ifdef __STDC__
33525 # include <limits.h>
33526 #else
33527 # include <assert.h>
33528 #endif
33530 #undef $ac_func
33532 /* Override any gcc2 internal prototype to avoid an error. */
33533 #ifdef __cplusplus
33534 extern "C"
33536 #endif
33537 /* We use char because int might match the return type of a gcc2
33538 builtin and then its argument prototype would still apply. */
33539 char $ac_func ();
33540 /* The GNU C library defines this for functions which it implements
33541 to always fail with ENOSYS. Some functions are actually named
33542 something starting with __ and the normal name is an alias. */
33543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33544 choke me
33545 #else
33546 char (*f) () = $ac_func;
33547 #endif
33548 #ifdef __cplusplus
33550 #endif
33553 main ()
33555 return f != $ac_func;
33557 return 0;
33559 _ACEOF
33560 rm -f conftest.$ac_objext conftest$ac_exeext
33561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33562 (eval $ac_link) 2>conftest.er1
33563 ac_status=$?
33564 grep -v '^ *+' conftest.er1 >conftest.err
33565 rm -f conftest.er1
33566 cat conftest.err >&5
33567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33568 (exit $ac_status); } &&
33569 { ac_try='test -z "$ac_c_werror_flag"
33570 || test ! -s conftest.err'
33571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33572 (eval $ac_try) 2>&5
33573 ac_status=$?
33574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33575 (exit $ac_status); }; } &&
33576 { ac_try='test -s conftest$ac_exeext'
33577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33578 (eval $ac_try) 2>&5
33579 ac_status=$?
33580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33581 (exit $ac_status); }; }; then
33582 eval "$as_ac_var=yes"
33583 else
33584 echo "$as_me: failed program was:" >&5
33585 sed 's/^/| /' conftest.$ac_ext >&5
33587 eval "$as_ac_var=no"
33589 rm -f conftest.err conftest.$ac_objext \
33590 conftest$ac_exeext conftest.$ac_ext
33592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33594 if test `eval echo '${'$as_ac_var'}'` = yes; then
33595 cat >>confdefs.h <<_ACEOF
33596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33597 _ACEOF
33600 done
33602 else
33604 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
33605 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
33606 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33607 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
33608 echo $ECHO_N "(cached) $ECHO_C" >&6
33609 else
33613 ac_ext=cc
33614 ac_cpp='$CXXCPP $CPPFLAGS'
33615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33619 cat >conftest.$ac_ext <<_ACEOF
33620 /* confdefs.h. */
33621 _ACEOF
33622 cat confdefs.h >>conftest.$ac_ext
33623 cat >>conftest.$ac_ext <<_ACEOF
33624 /* end confdefs.h. */
33625 #include <math.h>
33626 #ifdef HAVE_IEEEFP_H
33627 #include <ieeefp.h>
33628 #endif
33631 main ()
33633 _sqrtl(0);
33635 return 0;
33637 _ACEOF
33638 rm -f conftest.$ac_objext
33639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33640 (eval $ac_compile) 2>conftest.er1
33641 ac_status=$?
33642 grep -v '^ *+' conftest.er1 >conftest.err
33643 rm -f conftest.er1
33644 cat conftest.err >&5
33645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33646 (exit $ac_status); } &&
33647 { ac_try='test -z "$ac_cxx_werror_flag"
33648 || test ! -s conftest.err'
33649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33650 (eval $ac_try) 2>&5
33651 ac_status=$?
33652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653 (exit $ac_status); }; } &&
33654 { ac_try='test -s conftest.$ac_objext'
33655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33656 (eval $ac_try) 2>&5
33657 ac_status=$?
33658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33659 (exit $ac_status); }; }; then
33660 glibcxx_cv_func__sqrtl_use=yes
33661 else
33662 echo "$as_me: failed program was:" >&5
33663 sed 's/^/| /' conftest.$ac_ext >&5
33665 glibcxx_cv_func__sqrtl_use=no
33667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33668 ac_ext=c
33669 ac_cpp='$CPP $CPPFLAGS'
33670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33678 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
33679 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
33681 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33683 for ac_func in _sqrtl
33685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33686 echo "$as_me:$LINENO: checking for $ac_func" >&5
33687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33688 if eval "test \"\${$as_ac_var+set}\" = set"; then
33689 echo $ECHO_N "(cached) $ECHO_C" >&6
33690 else
33691 if test x$gcc_no_link = xyes; then
33692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33694 { (exit 1); exit 1; }; }
33696 cat >conftest.$ac_ext <<_ACEOF
33697 /* confdefs.h. */
33698 _ACEOF
33699 cat confdefs.h >>conftest.$ac_ext
33700 cat >>conftest.$ac_ext <<_ACEOF
33701 /* end confdefs.h. */
33702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33704 #define $ac_func innocuous_$ac_func
33706 /* System header to define __stub macros and hopefully few prototypes,
33707 which can conflict with char $ac_func (); below.
33708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33709 <limits.h> exists even on freestanding compilers. */
33711 #ifdef __STDC__
33712 # include <limits.h>
33713 #else
33714 # include <assert.h>
33715 #endif
33717 #undef $ac_func
33719 /* Override any gcc2 internal prototype to avoid an error. */
33720 #ifdef __cplusplus
33721 extern "C"
33723 #endif
33724 /* We use char because int might match the return type of a gcc2
33725 builtin and then its argument prototype would still apply. */
33726 char $ac_func ();
33727 /* The GNU C library defines this for functions which it implements
33728 to always fail with ENOSYS. Some functions are actually named
33729 something starting with __ and the normal name is an alias. */
33730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33731 choke me
33732 #else
33733 char (*f) () = $ac_func;
33734 #endif
33735 #ifdef __cplusplus
33737 #endif
33740 main ()
33742 return f != $ac_func;
33744 return 0;
33746 _ACEOF
33747 rm -f conftest.$ac_objext conftest$ac_exeext
33748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33749 (eval $ac_link) 2>conftest.er1
33750 ac_status=$?
33751 grep -v '^ *+' conftest.er1 >conftest.err
33752 rm -f conftest.er1
33753 cat conftest.err >&5
33754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33755 (exit $ac_status); } &&
33756 { ac_try='test -z "$ac_c_werror_flag"
33757 || test ! -s conftest.err'
33758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33759 (eval $ac_try) 2>&5
33760 ac_status=$?
33761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33762 (exit $ac_status); }; } &&
33763 { ac_try='test -s conftest$ac_exeext'
33764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33765 (eval $ac_try) 2>&5
33766 ac_status=$?
33767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33768 (exit $ac_status); }; }; then
33769 eval "$as_ac_var=yes"
33770 else
33771 echo "$as_me: failed program was:" >&5
33772 sed 's/^/| /' conftest.$ac_ext >&5
33774 eval "$as_ac_var=no"
33776 rm -f conftest.err conftest.$ac_objext \
33777 conftest$ac_exeext conftest.$ac_ext
33779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33781 if test `eval echo '${'$as_ac_var'}'` = yes; then
33782 cat >>confdefs.h <<_ACEOF
33783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33784 _ACEOF
33787 done
33797 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
33798 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
33799 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33800 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
33801 echo $ECHO_N "(cached) $ECHO_C" >&6
33802 else
33806 ac_ext=cc
33807 ac_cpp='$CXXCPP $CPPFLAGS'
33808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33812 cat >conftest.$ac_ext <<_ACEOF
33813 /* confdefs.h. */
33814 _ACEOF
33815 cat confdefs.h >>conftest.$ac_ext
33816 cat >>conftest.$ac_ext <<_ACEOF
33817 /* end confdefs.h. */
33818 #include <math.h>
33820 main ()
33822 sincosl(0, 0, 0);
33824 return 0;
33826 _ACEOF
33827 rm -f conftest.$ac_objext
33828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33829 (eval $ac_compile) 2>conftest.er1
33830 ac_status=$?
33831 grep -v '^ *+' conftest.er1 >conftest.err
33832 rm -f conftest.er1
33833 cat conftest.err >&5
33834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33835 (exit $ac_status); } &&
33836 { ac_try='test -z "$ac_cxx_werror_flag"
33837 || test ! -s conftest.err'
33838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33839 (eval $ac_try) 2>&5
33840 ac_status=$?
33841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33842 (exit $ac_status); }; } &&
33843 { ac_try='test -s conftest.$ac_objext'
33844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33845 (eval $ac_try) 2>&5
33846 ac_status=$?
33847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33848 (exit $ac_status); }; }; then
33849 glibcxx_cv_func_sincosl_use=yes
33850 else
33851 echo "$as_me: failed program was:" >&5
33852 sed 's/^/| /' conftest.$ac_ext >&5
33854 glibcxx_cv_func_sincosl_use=no
33856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33857 ac_ext=c
33858 ac_cpp='$CPP $CPPFLAGS'
33859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33867 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
33868 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
33870 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33872 for ac_func in sincosl
33874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33875 echo "$as_me:$LINENO: checking for $ac_func" >&5
33876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33877 if eval "test \"\${$as_ac_var+set}\" = set"; then
33878 echo $ECHO_N "(cached) $ECHO_C" >&6
33879 else
33880 if test x$gcc_no_link = xyes; then
33881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33883 { (exit 1); exit 1; }; }
33885 cat >conftest.$ac_ext <<_ACEOF
33886 /* confdefs.h. */
33887 _ACEOF
33888 cat confdefs.h >>conftest.$ac_ext
33889 cat >>conftest.$ac_ext <<_ACEOF
33890 /* end confdefs.h. */
33891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33893 #define $ac_func innocuous_$ac_func
33895 /* System header to define __stub macros and hopefully few prototypes,
33896 which can conflict with char $ac_func (); below.
33897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33898 <limits.h> exists even on freestanding compilers. */
33900 #ifdef __STDC__
33901 # include <limits.h>
33902 #else
33903 # include <assert.h>
33904 #endif
33906 #undef $ac_func
33908 /* Override any gcc2 internal prototype to avoid an error. */
33909 #ifdef __cplusplus
33910 extern "C"
33912 #endif
33913 /* We use char because int might match the return type of a gcc2
33914 builtin and then its argument prototype would still apply. */
33915 char $ac_func ();
33916 /* The GNU C library defines this for functions which it implements
33917 to always fail with ENOSYS. Some functions are actually named
33918 something starting with __ and the normal name is an alias. */
33919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33920 choke me
33921 #else
33922 char (*f) () = $ac_func;
33923 #endif
33924 #ifdef __cplusplus
33926 #endif
33929 main ()
33931 return f != $ac_func;
33933 return 0;
33935 _ACEOF
33936 rm -f conftest.$ac_objext conftest$ac_exeext
33937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33938 (eval $ac_link) 2>conftest.er1
33939 ac_status=$?
33940 grep -v '^ *+' conftest.er1 >conftest.err
33941 rm -f conftest.er1
33942 cat conftest.err >&5
33943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33944 (exit $ac_status); } &&
33945 { ac_try='test -z "$ac_c_werror_flag"
33946 || test ! -s conftest.err'
33947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33948 (eval $ac_try) 2>&5
33949 ac_status=$?
33950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33951 (exit $ac_status); }; } &&
33952 { ac_try='test -s conftest$ac_exeext'
33953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33954 (eval $ac_try) 2>&5
33955 ac_status=$?
33956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33957 (exit $ac_status); }; }; then
33958 eval "$as_ac_var=yes"
33959 else
33960 echo "$as_me: failed program was:" >&5
33961 sed 's/^/| /' conftest.$ac_ext >&5
33963 eval "$as_ac_var=no"
33965 rm -f conftest.err conftest.$ac_objext \
33966 conftest$ac_exeext conftest.$ac_ext
33968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33970 if test `eval echo '${'$as_ac_var'}'` = yes; then
33971 cat >>confdefs.h <<_ACEOF
33972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33973 _ACEOF
33976 done
33978 else
33980 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
33981 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
33982 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33983 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
33984 echo $ECHO_N "(cached) $ECHO_C" >&6
33985 else
33989 ac_ext=cc
33990 ac_cpp='$CXXCPP $CPPFLAGS'
33991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33995 cat >conftest.$ac_ext <<_ACEOF
33996 /* confdefs.h. */
33997 _ACEOF
33998 cat confdefs.h >>conftest.$ac_ext
33999 cat >>conftest.$ac_ext <<_ACEOF
34000 /* end confdefs.h. */
34001 #include <math.h>
34003 main ()
34005 _sincosl(0, 0, 0);
34007 return 0;
34009 _ACEOF
34010 rm -f conftest.$ac_objext
34011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34012 (eval $ac_compile) 2>conftest.er1
34013 ac_status=$?
34014 grep -v '^ *+' conftest.er1 >conftest.err
34015 rm -f conftest.er1
34016 cat conftest.err >&5
34017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34018 (exit $ac_status); } &&
34019 { ac_try='test -z "$ac_cxx_werror_flag"
34020 || test ! -s conftest.err'
34021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34022 (eval $ac_try) 2>&5
34023 ac_status=$?
34024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34025 (exit $ac_status); }; } &&
34026 { ac_try='test -s conftest.$ac_objext'
34027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34028 (eval $ac_try) 2>&5
34029 ac_status=$?
34030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34031 (exit $ac_status); }; }; then
34032 glibcxx_cv_func__sincosl_use=yes
34033 else
34034 echo "$as_me: failed program was:" >&5
34035 sed 's/^/| /' conftest.$ac_ext >&5
34037 glibcxx_cv_func__sincosl_use=no
34039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34040 ac_ext=c
34041 ac_cpp='$CPP $CPPFLAGS'
34042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34050 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
34051 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
34053 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34055 for ac_func in _sincosl
34057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34058 echo "$as_me:$LINENO: checking for $ac_func" >&5
34059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34060 if eval "test \"\${$as_ac_var+set}\" = set"; then
34061 echo $ECHO_N "(cached) $ECHO_C" >&6
34062 else
34063 if test x$gcc_no_link = xyes; then
34064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34066 { (exit 1); exit 1; }; }
34068 cat >conftest.$ac_ext <<_ACEOF
34069 /* confdefs.h. */
34070 _ACEOF
34071 cat confdefs.h >>conftest.$ac_ext
34072 cat >>conftest.$ac_ext <<_ACEOF
34073 /* end confdefs.h. */
34074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34076 #define $ac_func innocuous_$ac_func
34078 /* System header to define __stub macros and hopefully few prototypes,
34079 which can conflict with char $ac_func (); below.
34080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34081 <limits.h> exists even on freestanding compilers. */
34083 #ifdef __STDC__
34084 # include <limits.h>
34085 #else
34086 # include <assert.h>
34087 #endif
34089 #undef $ac_func
34091 /* Override any gcc2 internal prototype to avoid an error. */
34092 #ifdef __cplusplus
34093 extern "C"
34095 #endif
34096 /* We use char because int might match the return type of a gcc2
34097 builtin and then its argument prototype would still apply. */
34098 char $ac_func ();
34099 /* The GNU C library defines this for functions which it implements
34100 to always fail with ENOSYS. Some functions are actually named
34101 something starting with __ and the normal name is an alias. */
34102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34103 choke me
34104 #else
34105 char (*f) () = $ac_func;
34106 #endif
34107 #ifdef __cplusplus
34109 #endif
34112 main ()
34114 return f != $ac_func;
34116 return 0;
34118 _ACEOF
34119 rm -f conftest.$ac_objext conftest$ac_exeext
34120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34121 (eval $ac_link) 2>conftest.er1
34122 ac_status=$?
34123 grep -v '^ *+' conftest.er1 >conftest.err
34124 rm -f conftest.er1
34125 cat conftest.err >&5
34126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34127 (exit $ac_status); } &&
34128 { ac_try='test -z "$ac_c_werror_flag"
34129 || test ! -s conftest.err'
34130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34131 (eval $ac_try) 2>&5
34132 ac_status=$?
34133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34134 (exit $ac_status); }; } &&
34135 { ac_try='test -s conftest$ac_exeext'
34136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34137 (eval $ac_try) 2>&5
34138 ac_status=$?
34139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34140 (exit $ac_status); }; }; then
34141 eval "$as_ac_var=yes"
34142 else
34143 echo "$as_me: failed program was:" >&5
34144 sed 's/^/| /' conftest.$ac_ext >&5
34146 eval "$as_ac_var=no"
34148 rm -f conftest.err conftest.$ac_objext \
34149 conftest$ac_exeext conftest.$ac_ext
34151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34153 if test `eval echo '${'$as_ac_var'}'` = yes; then
34154 cat >>confdefs.h <<_ACEOF
34155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34156 _ACEOF
34159 done
34169 echo "$as_me:$LINENO: checking for finitel declaration" >&5
34170 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
34171 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34172 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
34173 echo $ECHO_N "(cached) $ECHO_C" >&6
34174 else
34178 ac_ext=cc
34179 ac_cpp='$CXXCPP $CPPFLAGS'
34180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34184 cat >conftest.$ac_ext <<_ACEOF
34185 /* confdefs.h. */
34186 _ACEOF
34187 cat confdefs.h >>conftest.$ac_ext
34188 cat >>conftest.$ac_ext <<_ACEOF
34189 /* end confdefs.h. */
34190 #include <math.h>
34191 #ifdef HAVE_IEEEFP_H
34192 #include <ieeefp.h>
34193 #endif
34196 main ()
34198 finitel(0);
34200 return 0;
34202 _ACEOF
34203 rm -f conftest.$ac_objext
34204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34205 (eval $ac_compile) 2>conftest.er1
34206 ac_status=$?
34207 grep -v '^ *+' conftest.er1 >conftest.err
34208 rm -f conftest.er1
34209 cat conftest.err >&5
34210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34211 (exit $ac_status); } &&
34212 { ac_try='test -z "$ac_cxx_werror_flag"
34213 || test ! -s conftest.err'
34214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34215 (eval $ac_try) 2>&5
34216 ac_status=$?
34217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34218 (exit $ac_status); }; } &&
34219 { ac_try='test -s conftest.$ac_objext'
34220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34221 (eval $ac_try) 2>&5
34222 ac_status=$?
34223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224 (exit $ac_status); }; }; then
34225 glibcxx_cv_func_finitel_use=yes
34226 else
34227 echo "$as_me: failed program was:" >&5
34228 sed 's/^/| /' conftest.$ac_ext >&5
34230 glibcxx_cv_func_finitel_use=no
34232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34233 ac_ext=c
34234 ac_cpp='$CPP $CPPFLAGS'
34235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34243 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
34244 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
34246 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34248 for ac_func in finitel
34250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34251 echo "$as_me:$LINENO: checking for $ac_func" >&5
34252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34253 if eval "test \"\${$as_ac_var+set}\" = set"; then
34254 echo $ECHO_N "(cached) $ECHO_C" >&6
34255 else
34256 if test x$gcc_no_link = xyes; then
34257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34259 { (exit 1); exit 1; }; }
34261 cat >conftest.$ac_ext <<_ACEOF
34262 /* confdefs.h. */
34263 _ACEOF
34264 cat confdefs.h >>conftest.$ac_ext
34265 cat >>conftest.$ac_ext <<_ACEOF
34266 /* end confdefs.h. */
34267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34269 #define $ac_func innocuous_$ac_func
34271 /* System header to define __stub macros and hopefully few prototypes,
34272 which can conflict with char $ac_func (); below.
34273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34274 <limits.h> exists even on freestanding compilers. */
34276 #ifdef __STDC__
34277 # include <limits.h>
34278 #else
34279 # include <assert.h>
34280 #endif
34282 #undef $ac_func
34284 /* Override any gcc2 internal prototype to avoid an error. */
34285 #ifdef __cplusplus
34286 extern "C"
34288 #endif
34289 /* We use char because int might match the return type of a gcc2
34290 builtin and then its argument prototype would still apply. */
34291 char $ac_func ();
34292 /* The GNU C library defines this for functions which it implements
34293 to always fail with ENOSYS. Some functions are actually named
34294 something starting with __ and the normal name is an alias. */
34295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34296 choke me
34297 #else
34298 char (*f) () = $ac_func;
34299 #endif
34300 #ifdef __cplusplus
34302 #endif
34305 main ()
34307 return f != $ac_func;
34309 return 0;
34311 _ACEOF
34312 rm -f conftest.$ac_objext conftest$ac_exeext
34313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34314 (eval $ac_link) 2>conftest.er1
34315 ac_status=$?
34316 grep -v '^ *+' conftest.er1 >conftest.err
34317 rm -f conftest.er1
34318 cat conftest.err >&5
34319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34320 (exit $ac_status); } &&
34321 { ac_try='test -z "$ac_c_werror_flag"
34322 || test ! -s conftest.err'
34323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34324 (eval $ac_try) 2>&5
34325 ac_status=$?
34326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34327 (exit $ac_status); }; } &&
34328 { ac_try='test -s conftest$ac_exeext'
34329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34330 (eval $ac_try) 2>&5
34331 ac_status=$?
34332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34333 (exit $ac_status); }; }; then
34334 eval "$as_ac_var=yes"
34335 else
34336 echo "$as_me: failed program was:" >&5
34337 sed 's/^/| /' conftest.$ac_ext >&5
34339 eval "$as_ac_var=no"
34341 rm -f conftest.err conftest.$ac_objext \
34342 conftest$ac_exeext conftest.$ac_ext
34344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34346 if test `eval echo '${'$as_ac_var'}'` = yes; then
34347 cat >>confdefs.h <<_ACEOF
34348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34349 _ACEOF
34352 done
34354 else
34356 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
34357 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
34358 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34359 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
34360 echo $ECHO_N "(cached) $ECHO_C" >&6
34361 else
34365 ac_ext=cc
34366 ac_cpp='$CXXCPP $CPPFLAGS'
34367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34371 cat >conftest.$ac_ext <<_ACEOF
34372 /* confdefs.h. */
34373 _ACEOF
34374 cat confdefs.h >>conftest.$ac_ext
34375 cat >>conftest.$ac_ext <<_ACEOF
34376 /* end confdefs.h. */
34377 #include <math.h>
34378 #ifdef HAVE_IEEEFP_H
34379 #include <ieeefp.h>
34380 #endif
34383 main ()
34385 _finitel(0);
34387 return 0;
34389 _ACEOF
34390 rm -f conftest.$ac_objext
34391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34392 (eval $ac_compile) 2>conftest.er1
34393 ac_status=$?
34394 grep -v '^ *+' conftest.er1 >conftest.err
34395 rm -f conftest.er1
34396 cat conftest.err >&5
34397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34398 (exit $ac_status); } &&
34399 { ac_try='test -z "$ac_cxx_werror_flag"
34400 || test ! -s conftest.err'
34401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34402 (eval $ac_try) 2>&5
34403 ac_status=$?
34404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34405 (exit $ac_status); }; } &&
34406 { ac_try='test -s conftest.$ac_objext'
34407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34408 (eval $ac_try) 2>&5
34409 ac_status=$?
34410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34411 (exit $ac_status); }; }; then
34412 glibcxx_cv_func__finitel_use=yes
34413 else
34414 echo "$as_me: failed program was:" >&5
34415 sed 's/^/| /' conftest.$ac_ext >&5
34417 glibcxx_cv_func__finitel_use=no
34419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34420 ac_ext=c
34421 ac_cpp='$CPP $CPPFLAGS'
34422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34430 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
34431 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
34433 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34435 for ac_func in _finitel
34437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34438 echo "$as_me:$LINENO: checking for $ac_func" >&5
34439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34440 if eval "test \"\${$as_ac_var+set}\" = set"; then
34441 echo $ECHO_N "(cached) $ECHO_C" >&6
34442 else
34443 if test x$gcc_no_link = xyes; then
34444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34446 { (exit 1); exit 1; }; }
34448 cat >conftest.$ac_ext <<_ACEOF
34449 /* confdefs.h. */
34450 _ACEOF
34451 cat confdefs.h >>conftest.$ac_ext
34452 cat >>conftest.$ac_ext <<_ACEOF
34453 /* end confdefs.h. */
34454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34456 #define $ac_func innocuous_$ac_func
34458 /* System header to define __stub macros and hopefully few prototypes,
34459 which can conflict with char $ac_func (); below.
34460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34461 <limits.h> exists even on freestanding compilers. */
34463 #ifdef __STDC__
34464 # include <limits.h>
34465 #else
34466 # include <assert.h>
34467 #endif
34469 #undef $ac_func
34471 /* Override any gcc2 internal prototype to avoid an error. */
34472 #ifdef __cplusplus
34473 extern "C"
34475 #endif
34476 /* We use char because int might match the return type of a gcc2
34477 builtin and then its argument prototype would still apply. */
34478 char $ac_func ();
34479 /* The GNU C library defines this for functions which it implements
34480 to always fail with ENOSYS. Some functions are actually named
34481 something starting with __ and the normal name is an alias. */
34482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34483 choke me
34484 #else
34485 char (*f) () = $ac_func;
34486 #endif
34487 #ifdef __cplusplus
34489 #endif
34492 main ()
34494 return f != $ac_func;
34496 return 0;
34498 _ACEOF
34499 rm -f conftest.$ac_objext conftest$ac_exeext
34500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34501 (eval $ac_link) 2>conftest.er1
34502 ac_status=$?
34503 grep -v '^ *+' conftest.er1 >conftest.err
34504 rm -f conftest.er1
34505 cat conftest.err >&5
34506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34507 (exit $ac_status); } &&
34508 { ac_try='test -z "$ac_c_werror_flag"
34509 || test ! -s conftest.err'
34510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34511 (eval $ac_try) 2>&5
34512 ac_status=$?
34513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34514 (exit $ac_status); }; } &&
34515 { ac_try='test -s conftest$ac_exeext'
34516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34517 (eval $ac_try) 2>&5
34518 ac_status=$?
34519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34520 (exit $ac_status); }; }; then
34521 eval "$as_ac_var=yes"
34522 else
34523 echo "$as_me: failed program was:" >&5
34524 sed 's/^/| /' conftest.$ac_ext >&5
34526 eval "$as_ac_var=no"
34528 rm -f conftest.err conftest.$ac_objext \
34529 conftest$ac_exeext conftest.$ac_ext
34531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34533 if test `eval echo '${'$as_ac_var'}'` = yes; then
34534 cat >>confdefs.h <<_ACEOF
34535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34536 _ACEOF
34539 done
34548 LIBS="$ac_save_LIBS"
34549 CXXFLAGS="$ac_save_CXXFLAGS"
34553 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
34554 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
34555 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
34556 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
34557 echo $ECHO_N "(cached) $ECHO_C" >&6
34558 else
34562 ac_ext=cc
34563 ac_cpp='$CXXCPP $CPPFLAGS'
34564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34568 cat >conftest.$ac_ext <<_ACEOF
34569 /* confdefs.h. */
34570 _ACEOF
34571 cat confdefs.h >>conftest.$ac_ext
34572 cat >>conftest.$ac_ext <<_ACEOF
34573 /* end confdefs.h. */
34574 #include <math.h>
34576 main ()
34578 __builtin_abs(0);
34580 return 0;
34582 _ACEOF
34583 rm -f conftest.$ac_objext
34584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34585 (eval $ac_compile) 2>conftest.er1
34586 ac_status=$?
34587 grep -v '^ *+' conftest.er1 >conftest.err
34588 rm -f conftest.er1
34589 cat conftest.err >&5
34590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34591 (exit $ac_status); } &&
34592 { ac_try='test -z "$ac_cxx_werror_flag"
34593 || test ! -s conftest.err'
34594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34595 (eval $ac_try) 2>&5
34596 ac_status=$?
34597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34598 (exit $ac_status); }; } &&
34599 { ac_try='test -s conftest.$ac_objext'
34600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34601 (eval $ac_try) 2>&5
34602 ac_status=$?
34603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34604 (exit $ac_status); }; }; then
34605 glibcxx_cv_func___builtin_abs_use=yes
34606 else
34607 echo "$as_me: failed program was:" >&5
34608 sed 's/^/| /' conftest.$ac_ext >&5
34610 glibcxx_cv_func___builtin_abs_use=no
34612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34613 ac_ext=c
34614 ac_cpp='$CPP $CPPFLAGS'
34615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34623 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
34624 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
34625 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
34626 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
34627 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
34628 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
34629 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
34630 echo $ECHO_N "(cached) $ECHO_C" >&6
34631 else
34633 if test x$gcc_no_link = xyes; then
34634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34636 { (exit 1); exit 1; }; }
34638 cat >conftest.$ac_ext <<_ACEOF
34639 /* confdefs.h. */
34640 _ACEOF
34641 cat confdefs.h >>conftest.$ac_ext
34642 cat >>conftest.$ac_ext <<_ACEOF
34643 /* end confdefs.h. */
34644 #include <math.h>
34646 main ()
34648 __builtin_abs(0);
34650 return 0;
34652 _ACEOF
34653 rm -f conftest.$ac_objext conftest$ac_exeext
34654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34655 (eval $ac_link) 2>conftest.er1
34656 ac_status=$?
34657 grep -v '^ *+' conftest.er1 >conftest.err
34658 rm -f conftest.er1
34659 cat conftest.err >&5
34660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34661 (exit $ac_status); } &&
34662 { ac_try='test -z "$ac_c_werror_flag"
34663 || test ! -s conftest.err'
34664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34665 (eval $ac_try) 2>&5
34666 ac_status=$?
34667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34668 (exit $ac_status); }; } &&
34669 { ac_try='test -s conftest$ac_exeext'
34670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34671 (eval $ac_try) 2>&5
34672 ac_status=$?
34673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34674 (exit $ac_status); }; }; then
34675 glibcxx_cv_func___builtin_abs_link=yes
34676 else
34677 echo "$as_me: failed program was:" >&5
34678 sed 's/^/| /' conftest.$ac_ext >&5
34680 glibcxx_cv_func___builtin_abs_link=no
34682 rm -f conftest.err conftest.$ac_objext \
34683 conftest$ac_exeext conftest.$ac_ext
34688 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
34689 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
34691 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
34693 cat >>confdefs.h <<\_ACEOF
34694 #define HAVE___BUILTIN_ABS 1
34695 _ACEOF
34702 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
34703 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
34704 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
34705 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
34706 echo $ECHO_N "(cached) $ECHO_C" >&6
34707 else
34711 ac_ext=cc
34712 ac_cpp='$CXXCPP $CPPFLAGS'
34713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34717 cat >conftest.$ac_ext <<_ACEOF
34718 /* confdefs.h. */
34719 _ACEOF
34720 cat confdefs.h >>conftest.$ac_ext
34721 cat >>conftest.$ac_ext <<_ACEOF
34722 /* end confdefs.h. */
34723 #include <math.h>
34725 main ()
34727 __builtin_fabsf(0);
34729 return 0;
34731 _ACEOF
34732 rm -f conftest.$ac_objext
34733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34734 (eval $ac_compile) 2>conftest.er1
34735 ac_status=$?
34736 grep -v '^ *+' conftest.er1 >conftest.err
34737 rm -f conftest.er1
34738 cat conftest.err >&5
34739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34740 (exit $ac_status); } &&
34741 { ac_try='test -z "$ac_cxx_werror_flag"
34742 || test ! -s conftest.err'
34743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34744 (eval $ac_try) 2>&5
34745 ac_status=$?
34746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34747 (exit $ac_status); }; } &&
34748 { ac_try='test -s conftest.$ac_objext'
34749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34750 (eval $ac_try) 2>&5
34751 ac_status=$?
34752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34753 (exit $ac_status); }; }; then
34754 glibcxx_cv_func___builtin_fabsf_use=yes
34755 else
34756 echo "$as_me: failed program was:" >&5
34757 sed 's/^/| /' conftest.$ac_ext >&5
34759 glibcxx_cv_func___builtin_fabsf_use=no
34761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34762 ac_ext=c
34763 ac_cpp='$CPP $CPPFLAGS'
34764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34772 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
34773 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
34774 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
34775 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
34776 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
34777 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
34778 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
34779 echo $ECHO_N "(cached) $ECHO_C" >&6
34780 else
34782 if test x$gcc_no_link = xyes; then
34783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34785 { (exit 1); exit 1; }; }
34787 cat >conftest.$ac_ext <<_ACEOF
34788 /* confdefs.h. */
34789 _ACEOF
34790 cat confdefs.h >>conftest.$ac_ext
34791 cat >>conftest.$ac_ext <<_ACEOF
34792 /* end confdefs.h. */
34793 #include <math.h>
34795 main ()
34797 __builtin_fabsf(0);
34799 return 0;
34801 _ACEOF
34802 rm -f conftest.$ac_objext conftest$ac_exeext
34803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34804 (eval $ac_link) 2>conftest.er1
34805 ac_status=$?
34806 grep -v '^ *+' conftest.er1 >conftest.err
34807 rm -f conftest.er1
34808 cat conftest.err >&5
34809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34810 (exit $ac_status); } &&
34811 { ac_try='test -z "$ac_c_werror_flag"
34812 || test ! -s conftest.err'
34813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34814 (eval $ac_try) 2>&5
34815 ac_status=$?
34816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34817 (exit $ac_status); }; } &&
34818 { ac_try='test -s conftest$ac_exeext'
34819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34820 (eval $ac_try) 2>&5
34821 ac_status=$?
34822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34823 (exit $ac_status); }; }; then
34824 glibcxx_cv_func___builtin_fabsf_link=yes
34825 else
34826 echo "$as_me: failed program was:" >&5
34827 sed 's/^/| /' conftest.$ac_ext >&5
34829 glibcxx_cv_func___builtin_fabsf_link=no
34831 rm -f conftest.err conftest.$ac_objext \
34832 conftest$ac_exeext conftest.$ac_ext
34837 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
34838 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
34840 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
34842 cat >>confdefs.h <<\_ACEOF
34843 #define HAVE___BUILTIN_FABSF 1
34844 _ACEOF
34851 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
34852 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
34853 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
34854 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
34855 echo $ECHO_N "(cached) $ECHO_C" >&6
34856 else
34860 ac_ext=cc
34861 ac_cpp='$CXXCPP $CPPFLAGS'
34862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34866 cat >conftest.$ac_ext <<_ACEOF
34867 /* confdefs.h. */
34868 _ACEOF
34869 cat confdefs.h >>conftest.$ac_ext
34870 cat >>conftest.$ac_ext <<_ACEOF
34871 /* end confdefs.h. */
34872 #include <math.h>
34874 main ()
34876 __builtin_fabs(0);
34878 return 0;
34880 _ACEOF
34881 rm -f conftest.$ac_objext
34882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34883 (eval $ac_compile) 2>conftest.er1
34884 ac_status=$?
34885 grep -v '^ *+' conftest.er1 >conftest.err
34886 rm -f conftest.er1
34887 cat conftest.err >&5
34888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34889 (exit $ac_status); } &&
34890 { ac_try='test -z "$ac_cxx_werror_flag"
34891 || test ! -s conftest.err'
34892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34893 (eval $ac_try) 2>&5
34894 ac_status=$?
34895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34896 (exit $ac_status); }; } &&
34897 { ac_try='test -s conftest.$ac_objext'
34898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34899 (eval $ac_try) 2>&5
34900 ac_status=$?
34901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34902 (exit $ac_status); }; }; then
34903 glibcxx_cv_func___builtin_fabs_use=yes
34904 else
34905 echo "$as_me: failed program was:" >&5
34906 sed 's/^/| /' conftest.$ac_ext >&5
34908 glibcxx_cv_func___builtin_fabs_use=no
34910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34911 ac_ext=c
34912 ac_cpp='$CPP $CPPFLAGS'
34913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34921 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
34922 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
34923 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
34924 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
34925 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
34926 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
34927 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
34928 echo $ECHO_N "(cached) $ECHO_C" >&6
34929 else
34931 if test x$gcc_no_link = xyes; then
34932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34934 { (exit 1); exit 1; }; }
34936 cat >conftest.$ac_ext <<_ACEOF
34937 /* confdefs.h. */
34938 _ACEOF
34939 cat confdefs.h >>conftest.$ac_ext
34940 cat >>conftest.$ac_ext <<_ACEOF
34941 /* end confdefs.h. */
34942 #include <math.h>
34944 main ()
34946 __builtin_fabs(0);
34948 return 0;
34950 _ACEOF
34951 rm -f conftest.$ac_objext conftest$ac_exeext
34952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34953 (eval $ac_link) 2>conftest.er1
34954 ac_status=$?
34955 grep -v '^ *+' conftest.er1 >conftest.err
34956 rm -f conftest.er1
34957 cat conftest.err >&5
34958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34959 (exit $ac_status); } &&
34960 { ac_try='test -z "$ac_c_werror_flag"
34961 || test ! -s conftest.err'
34962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34963 (eval $ac_try) 2>&5
34964 ac_status=$?
34965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34966 (exit $ac_status); }; } &&
34967 { ac_try='test -s conftest$ac_exeext'
34968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34969 (eval $ac_try) 2>&5
34970 ac_status=$?
34971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34972 (exit $ac_status); }; }; then
34973 glibcxx_cv_func___builtin_fabs_link=yes
34974 else
34975 echo "$as_me: failed program was:" >&5
34976 sed 's/^/| /' conftest.$ac_ext >&5
34978 glibcxx_cv_func___builtin_fabs_link=no
34980 rm -f conftest.err conftest.$ac_objext \
34981 conftest$ac_exeext conftest.$ac_ext
34986 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
34987 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
34989 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
34991 cat >>confdefs.h <<\_ACEOF
34992 #define HAVE___BUILTIN_FABS 1
34993 _ACEOF
35000 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
35001 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
35002 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
35003 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
35004 echo $ECHO_N "(cached) $ECHO_C" >&6
35005 else
35009 ac_ext=cc
35010 ac_cpp='$CXXCPP $CPPFLAGS'
35011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35015 cat >conftest.$ac_ext <<_ACEOF
35016 /* confdefs.h. */
35017 _ACEOF
35018 cat confdefs.h >>conftest.$ac_ext
35019 cat >>conftest.$ac_ext <<_ACEOF
35020 /* end confdefs.h. */
35021 #include <math.h>
35023 main ()
35025 __builtin_fabsl(0);
35027 return 0;
35029 _ACEOF
35030 rm -f conftest.$ac_objext
35031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35032 (eval $ac_compile) 2>conftest.er1
35033 ac_status=$?
35034 grep -v '^ *+' conftest.er1 >conftest.err
35035 rm -f conftest.er1
35036 cat conftest.err >&5
35037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35038 (exit $ac_status); } &&
35039 { ac_try='test -z "$ac_cxx_werror_flag"
35040 || test ! -s conftest.err'
35041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35042 (eval $ac_try) 2>&5
35043 ac_status=$?
35044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35045 (exit $ac_status); }; } &&
35046 { ac_try='test -s conftest.$ac_objext'
35047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35048 (eval $ac_try) 2>&5
35049 ac_status=$?
35050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35051 (exit $ac_status); }; }; then
35052 glibcxx_cv_func___builtin_fabsl_use=yes
35053 else
35054 echo "$as_me: failed program was:" >&5
35055 sed 's/^/| /' conftest.$ac_ext >&5
35057 glibcxx_cv_func___builtin_fabsl_use=no
35059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35060 ac_ext=c
35061 ac_cpp='$CPP $CPPFLAGS'
35062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35070 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
35071 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
35072 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
35073 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
35074 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
35075 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
35076 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
35077 echo $ECHO_N "(cached) $ECHO_C" >&6
35078 else
35080 if test x$gcc_no_link = xyes; then
35081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35083 { (exit 1); exit 1; }; }
35085 cat >conftest.$ac_ext <<_ACEOF
35086 /* confdefs.h. */
35087 _ACEOF
35088 cat confdefs.h >>conftest.$ac_ext
35089 cat >>conftest.$ac_ext <<_ACEOF
35090 /* end confdefs.h. */
35091 #include <math.h>
35093 main ()
35095 __builtin_fabsl(0);
35097 return 0;
35099 _ACEOF
35100 rm -f conftest.$ac_objext conftest$ac_exeext
35101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35102 (eval $ac_link) 2>conftest.er1
35103 ac_status=$?
35104 grep -v '^ *+' conftest.er1 >conftest.err
35105 rm -f conftest.er1
35106 cat conftest.err >&5
35107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35108 (exit $ac_status); } &&
35109 { ac_try='test -z "$ac_c_werror_flag"
35110 || test ! -s conftest.err'
35111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35112 (eval $ac_try) 2>&5
35113 ac_status=$?
35114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35115 (exit $ac_status); }; } &&
35116 { ac_try='test -s conftest$ac_exeext'
35117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35118 (eval $ac_try) 2>&5
35119 ac_status=$?
35120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35121 (exit $ac_status); }; }; then
35122 glibcxx_cv_func___builtin_fabsl_link=yes
35123 else
35124 echo "$as_me: failed program was:" >&5
35125 sed 's/^/| /' conftest.$ac_ext >&5
35127 glibcxx_cv_func___builtin_fabsl_link=no
35129 rm -f conftest.err conftest.$ac_objext \
35130 conftest$ac_exeext conftest.$ac_ext
35135 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
35136 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
35138 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
35140 cat >>confdefs.h <<\_ACEOF
35141 #define HAVE___BUILTIN_FABSL 1
35142 _ACEOF
35149 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
35150 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
35151 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
35152 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
35153 echo $ECHO_N "(cached) $ECHO_C" >&6
35154 else
35158 ac_ext=cc
35159 ac_cpp='$CXXCPP $CPPFLAGS'
35160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35164 cat >conftest.$ac_ext <<_ACEOF
35165 /* confdefs.h. */
35166 _ACEOF
35167 cat confdefs.h >>conftest.$ac_ext
35168 cat >>conftest.$ac_ext <<_ACEOF
35169 /* end confdefs.h. */
35170 #include <math.h>
35172 main ()
35174 __builtin_labs(0);
35176 return 0;
35178 _ACEOF
35179 rm -f conftest.$ac_objext
35180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35181 (eval $ac_compile) 2>conftest.er1
35182 ac_status=$?
35183 grep -v '^ *+' conftest.er1 >conftest.err
35184 rm -f conftest.er1
35185 cat conftest.err >&5
35186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35187 (exit $ac_status); } &&
35188 { ac_try='test -z "$ac_cxx_werror_flag"
35189 || test ! -s conftest.err'
35190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35191 (eval $ac_try) 2>&5
35192 ac_status=$?
35193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35194 (exit $ac_status); }; } &&
35195 { ac_try='test -s conftest.$ac_objext'
35196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35197 (eval $ac_try) 2>&5
35198 ac_status=$?
35199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35200 (exit $ac_status); }; }; then
35201 glibcxx_cv_func___builtin_labs_use=yes
35202 else
35203 echo "$as_me: failed program was:" >&5
35204 sed 's/^/| /' conftest.$ac_ext >&5
35206 glibcxx_cv_func___builtin_labs_use=no
35208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35209 ac_ext=c
35210 ac_cpp='$CPP $CPPFLAGS'
35211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35219 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
35220 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
35221 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
35222 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
35223 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
35224 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
35225 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
35226 echo $ECHO_N "(cached) $ECHO_C" >&6
35227 else
35229 if test x$gcc_no_link = xyes; then
35230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35232 { (exit 1); exit 1; }; }
35234 cat >conftest.$ac_ext <<_ACEOF
35235 /* confdefs.h. */
35236 _ACEOF
35237 cat confdefs.h >>conftest.$ac_ext
35238 cat >>conftest.$ac_ext <<_ACEOF
35239 /* end confdefs.h. */
35240 #include <math.h>
35242 main ()
35244 __builtin_labs(0);
35246 return 0;
35248 _ACEOF
35249 rm -f conftest.$ac_objext conftest$ac_exeext
35250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35251 (eval $ac_link) 2>conftest.er1
35252 ac_status=$?
35253 grep -v '^ *+' conftest.er1 >conftest.err
35254 rm -f conftest.er1
35255 cat conftest.err >&5
35256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35257 (exit $ac_status); } &&
35258 { ac_try='test -z "$ac_c_werror_flag"
35259 || test ! -s conftest.err'
35260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35261 (eval $ac_try) 2>&5
35262 ac_status=$?
35263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35264 (exit $ac_status); }; } &&
35265 { ac_try='test -s conftest$ac_exeext'
35266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35267 (eval $ac_try) 2>&5
35268 ac_status=$?
35269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35270 (exit $ac_status); }; }; then
35271 glibcxx_cv_func___builtin_labs_link=yes
35272 else
35273 echo "$as_me: failed program was:" >&5
35274 sed 's/^/| /' conftest.$ac_ext >&5
35276 glibcxx_cv_func___builtin_labs_link=no
35278 rm -f conftest.err conftest.$ac_objext \
35279 conftest$ac_exeext conftest.$ac_ext
35284 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
35285 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
35287 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
35289 cat >>confdefs.h <<\_ACEOF
35290 #define HAVE___BUILTIN_LABS 1
35291 _ACEOF
35299 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
35300 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
35301 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
35302 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
35303 echo $ECHO_N "(cached) $ECHO_C" >&6
35304 else
35308 ac_ext=cc
35309 ac_cpp='$CXXCPP $CPPFLAGS'
35310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35314 cat >conftest.$ac_ext <<_ACEOF
35315 /* confdefs.h. */
35316 _ACEOF
35317 cat confdefs.h >>conftest.$ac_ext
35318 cat >>conftest.$ac_ext <<_ACEOF
35319 /* end confdefs.h. */
35320 #include <math.h>
35322 main ()
35324 __builtin_sqrtf(0);
35326 return 0;
35328 _ACEOF
35329 rm -f conftest.$ac_objext
35330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35331 (eval $ac_compile) 2>conftest.er1
35332 ac_status=$?
35333 grep -v '^ *+' conftest.er1 >conftest.err
35334 rm -f conftest.er1
35335 cat conftest.err >&5
35336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35337 (exit $ac_status); } &&
35338 { ac_try='test -z "$ac_cxx_werror_flag"
35339 || test ! -s conftest.err'
35340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35341 (eval $ac_try) 2>&5
35342 ac_status=$?
35343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35344 (exit $ac_status); }; } &&
35345 { ac_try='test -s conftest.$ac_objext'
35346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35347 (eval $ac_try) 2>&5
35348 ac_status=$?
35349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35350 (exit $ac_status); }; }; then
35351 glibcxx_cv_func___builtin_sqrtf_use=yes
35352 else
35353 echo "$as_me: failed program was:" >&5
35354 sed 's/^/| /' conftest.$ac_ext >&5
35356 glibcxx_cv_func___builtin_sqrtf_use=no
35358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35359 ac_ext=c
35360 ac_cpp='$CPP $CPPFLAGS'
35361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35369 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
35370 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
35371 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
35372 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
35373 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
35374 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
35375 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
35376 echo $ECHO_N "(cached) $ECHO_C" >&6
35377 else
35379 if test x$gcc_no_link = xyes; then
35380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35382 { (exit 1); exit 1; }; }
35384 cat >conftest.$ac_ext <<_ACEOF
35385 /* confdefs.h. */
35386 _ACEOF
35387 cat confdefs.h >>conftest.$ac_ext
35388 cat >>conftest.$ac_ext <<_ACEOF
35389 /* end confdefs.h. */
35390 #include <math.h>
35392 main ()
35394 __builtin_sqrtf(0);
35396 return 0;
35398 _ACEOF
35399 rm -f conftest.$ac_objext conftest$ac_exeext
35400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35401 (eval $ac_link) 2>conftest.er1
35402 ac_status=$?
35403 grep -v '^ *+' conftest.er1 >conftest.err
35404 rm -f conftest.er1
35405 cat conftest.err >&5
35406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35407 (exit $ac_status); } &&
35408 { ac_try='test -z "$ac_c_werror_flag"
35409 || test ! -s conftest.err'
35410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35411 (eval $ac_try) 2>&5
35412 ac_status=$?
35413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35414 (exit $ac_status); }; } &&
35415 { ac_try='test -s conftest$ac_exeext'
35416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35417 (eval $ac_try) 2>&5
35418 ac_status=$?
35419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35420 (exit $ac_status); }; }; then
35421 glibcxx_cv_func___builtin_sqrtf_link=yes
35422 else
35423 echo "$as_me: failed program was:" >&5
35424 sed 's/^/| /' conftest.$ac_ext >&5
35426 glibcxx_cv_func___builtin_sqrtf_link=no
35428 rm -f conftest.err conftest.$ac_objext \
35429 conftest$ac_exeext conftest.$ac_ext
35434 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
35435 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
35437 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
35439 cat >>confdefs.h <<\_ACEOF
35440 #define HAVE___BUILTIN_SQRTF 1
35441 _ACEOF
35448 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
35449 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
35450 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
35451 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
35452 echo $ECHO_N "(cached) $ECHO_C" >&6
35453 else
35457 ac_ext=cc
35458 ac_cpp='$CXXCPP $CPPFLAGS'
35459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35463 cat >conftest.$ac_ext <<_ACEOF
35464 /* confdefs.h. */
35465 _ACEOF
35466 cat confdefs.h >>conftest.$ac_ext
35467 cat >>conftest.$ac_ext <<_ACEOF
35468 /* end confdefs.h. */
35469 #include <math.h>
35471 main ()
35473 __builtin_sqrt(0);
35475 return 0;
35477 _ACEOF
35478 rm -f conftest.$ac_objext
35479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35480 (eval $ac_compile) 2>conftest.er1
35481 ac_status=$?
35482 grep -v '^ *+' conftest.er1 >conftest.err
35483 rm -f conftest.er1
35484 cat conftest.err >&5
35485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35486 (exit $ac_status); } &&
35487 { ac_try='test -z "$ac_cxx_werror_flag"
35488 || test ! -s conftest.err'
35489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35490 (eval $ac_try) 2>&5
35491 ac_status=$?
35492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35493 (exit $ac_status); }; } &&
35494 { ac_try='test -s conftest.$ac_objext'
35495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35496 (eval $ac_try) 2>&5
35497 ac_status=$?
35498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35499 (exit $ac_status); }; }; then
35500 glibcxx_cv_func___builtin_sqrt_use=yes
35501 else
35502 echo "$as_me: failed program was:" >&5
35503 sed 's/^/| /' conftest.$ac_ext >&5
35505 glibcxx_cv_func___builtin_sqrt_use=no
35507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35508 ac_ext=c
35509 ac_cpp='$CPP $CPPFLAGS'
35510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35518 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
35519 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
35520 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
35521 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
35522 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
35523 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
35524 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
35525 echo $ECHO_N "(cached) $ECHO_C" >&6
35526 else
35528 if test x$gcc_no_link = xyes; then
35529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35531 { (exit 1); exit 1; }; }
35533 cat >conftest.$ac_ext <<_ACEOF
35534 /* confdefs.h. */
35535 _ACEOF
35536 cat confdefs.h >>conftest.$ac_ext
35537 cat >>conftest.$ac_ext <<_ACEOF
35538 /* end confdefs.h. */
35539 #include <math.h>
35541 main ()
35543 __builtin_sqrt(0);
35545 return 0;
35547 _ACEOF
35548 rm -f conftest.$ac_objext conftest$ac_exeext
35549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35550 (eval $ac_link) 2>conftest.er1
35551 ac_status=$?
35552 grep -v '^ *+' conftest.er1 >conftest.err
35553 rm -f conftest.er1
35554 cat conftest.err >&5
35555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35556 (exit $ac_status); } &&
35557 { ac_try='test -z "$ac_c_werror_flag"
35558 || test ! -s conftest.err'
35559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35560 (eval $ac_try) 2>&5
35561 ac_status=$?
35562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35563 (exit $ac_status); }; } &&
35564 { ac_try='test -s conftest$ac_exeext'
35565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35566 (eval $ac_try) 2>&5
35567 ac_status=$?
35568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35569 (exit $ac_status); }; }; then
35570 glibcxx_cv_func___builtin_sqrt_link=yes
35571 else
35572 echo "$as_me: failed program was:" >&5
35573 sed 's/^/| /' conftest.$ac_ext >&5
35575 glibcxx_cv_func___builtin_sqrt_link=no
35577 rm -f conftest.err conftest.$ac_objext \
35578 conftest$ac_exeext conftest.$ac_ext
35583 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
35584 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
35586 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
35588 cat >>confdefs.h <<\_ACEOF
35589 #define HAVE___BUILTIN_SQRT 1
35590 _ACEOF
35597 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
35598 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
35599 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
35600 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
35601 echo $ECHO_N "(cached) $ECHO_C" >&6
35602 else
35606 ac_ext=cc
35607 ac_cpp='$CXXCPP $CPPFLAGS'
35608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35612 cat >conftest.$ac_ext <<_ACEOF
35613 /* confdefs.h. */
35614 _ACEOF
35615 cat confdefs.h >>conftest.$ac_ext
35616 cat >>conftest.$ac_ext <<_ACEOF
35617 /* end confdefs.h. */
35618 #include <math.h>
35620 main ()
35622 __builtin_sqrtl(0);
35624 return 0;
35626 _ACEOF
35627 rm -f conftest.$ac_objext
35628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35629 (eval $ac_compile) 2>conftest.er1
35630 ac_status=$?
35631 grep -v '^ *+' conftest.er1 >conftest.err
35632 rm -f conftest.er1
35633 cat conftest.err >&5
35634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35635 (exit $ac_status); } &&
35636 { ac_try='test -z "$ac_cxx_werror_flag"
35637 || test ! -s conftest.err'
35638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35639 (eval $ac_try) 2>&5
35640 ac_status=$?
35641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35642 (exit $ac_status); }; } &&
35643 { ac_try='test -s conftest.$ac_objext'
35644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35645 (eval $ac_try) 2>&5
35646 ac_status=$?
35647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648 (exit $ac_status); }; }; then
35649 glibcxx_cv_func___builtin_sqrtl_use=yes
35650 else
35651 echo "$as_me: failed program was:" >&5
35652 sed 's/^/| /' conftest.$ac_ext >&5
35654 glibcxx_cv_func___builtin_sqrtl_use=no
35656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35657 ac_ext=c
35658 ac_cpp='$CPP $CPPFLAGS'
35659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35667 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
35668 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
35669 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
35670 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
35671 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
35672 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
35673 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
35674 echo $ECHO_N "(cached) $ECHO_C" >&6
35675 else
35677 if test x$gcc_no_link = xyes; then
35678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35680 { (exit 1); exit 1; }; }
35682 cat >conftest.$ac_ext <<_ACEOF
35683 /* confdefs.h. */
35684 _ACEOF
35685 cat confdefs.h >>conftest.$ac_ext
35686 cat >>conftest.$ac_ext <<_ACEOF
35687 /* end confdefs.h. */
35688 #include <math.h>
35690 main ()
35692 __builtin_sqrtl(0);
35694 return 0;
35696 _ACEOF
35697 rm -f conftest.$ac_objext conftest$ac_exeext
35698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35699 (eval $ac_link) 2>conftest.er1
35700 ac_status=$?
35701 grep -v '^ *+' conftest.er1 >conftest.err
35702 rm -f conftest.er1
35703 cat conftest.err >&5
35704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35705 (exit $ac_status); } &&
35706 { ac_try='test -z "$ac_c_werror_flag"
35707 || test ! -s conftest.err'
35708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35709 (eval $ac_try) 2>&5
35710 ac_status=$?
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); }; } &&
35713 { ac_try='test -s conftest$ac_exeext'
35714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35715 (eval $ac_try) 2>&5
35716 ac_status=$?
35717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35718 (exit $ac_status); }; }; then
35719 glibcxx_cv_func___builtin_sqrtl_link=yes
35720 else
35721 echo "$as_me: failed program was:" >&5
35722 sed 's/^/| /' conftest.$ac_ext >&5
35724 glibcxx_cv_func___builtin_sqrtl_link=no
35726 rm -f conftest.err conftest.$ac_objext \
35727 conftest$ac_exeext conftest.$ac_ext
35732 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
35733 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
35735 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
35737 cat >>confdefs.h <<\_ACEOF
35738 #define HAVE___BUILTIN_SQRTL 1
35739 _ACEOF
35747 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
35748 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
35749 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
35750 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
35751 echo $ECHO_N "(cached) $ECHO_C" >&6
35752 else
35756 ac_ext=cc
35757 ac_cpp='$CXXCPP $CPPFLAGS'
35758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35762 cat >conftest.$ac_ext <<_ACEOF
35763 /* confdefs.h. */
35764 _ACEOF
35765 cat confdefs.h >>conftest.$ac_ext
35766 cat >>conftest.$ac_ext <<_ACEOF
35767 /* end confdefs.h. */
35768 #include <math.h>
35770 main ()
35772 __builtin_sinf(0);
35774 return 0;
35776 _ACEOF
35777 rm -f conftest.$ac_objext
35778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35779 (eval $ac_compile) 2>conftest.er1
35780 ac_status=$?
35781 grep -v '^ *+' conftest.er1 >conftest.err
35782 rm -f conftest.er1
35783 cat conftest.err >&5
35784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35785 (exit $ac_status); } &&
35786 { ac_try='test -z "$ac_cxx_werror_flag"
35787 || test ! -s conftest.err'
35788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35789 (eval $ac_try) 2>&5
35790 ac_status=$?
35791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35792 (exit $ac_status); }; } &&
35793 { ac_try='test -s conftest.$ac_objext'
35794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35795 (eval $ac_try) 2>&5
35796 ac_status=$?
35797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35798 (exit $ac_status); }; }; then
35799 glibcxx_cv_func___builtin_sinf_use=yes
35800 else
35801 echo "$as_me: failed program was:" >&5
35802 sed 's/^/| /' conftest.$ac_ext >&5
35804 glibcxx_cv_func___builtin_sinf_use=no
35806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35807 ac_ext=c
35808 ac_cpp='$CPP $CPPFLAGS'
35809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35817 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
35818 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
35819 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
35820 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
35821 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
35822 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
35823 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
35824 echo $ECHO_N "(cached) $ECHO_C" >&6
35825 else
35827 if test x$gcc_no_link = xyes; then
35828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35830 { (exit 1); exit 1; }; }
35832 cat >conftest.$ac_ext <<_ACEOF
35833 /* confdefs.h. */
35834 _ACEOF
35835 cat confdefs.h >>conftest.$ac_ext
35836 cat >>conftest.$ac_ext <<_ACEOF
35837 /* end confdefs.h. */
35838 #include <math.h>
35840 main ()
35842 __builtin_sinf(0);
35844 return 0;
35846 _ACEOF
35847 rm -f conftest.$ac_objext conftest$ac_exeext
35848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35849 (eval $ac_link) 2>conftest.er1
35850 ac_status=$?
35851 grep -v '^ *+' conftest.er1 >conftest.err
35852 rm -f conftest.er1
35853 cat conftest.err >&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); } &&
35856 { ac_try='test -z "$ac_c_werror_flag"
35857 || test ! -s conftest.err'
35858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35859 (eval $ac_try) 2>&5
35860 ac_status=$?
35861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35862 (exit $ac_status); }; } &&
35863 { ac_try='test -s conftest$ac_exeext'
35864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35865 (eval $ac_try) 2>&5
35866 ac_status=$?
35867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868 (exit $ac_status); }; }; then
35869 glibcxx_cv_func___builtin_sinf_link=yes
35870 else
35871 echo "$as_me: failed program was:" >&5
35872 sed 's/^/| /' conftest.$ac_ext >&5
35874 glibcxx_cv_func___builtin_sinf_link=no
35876 rm -f conftest.err conftest.$ac_objext \
35877 conftest$ac_exeext conftest.$ac_ext
35882 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
35883 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
35885 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
35887 cat >>confdefs.h <<\_ACEOF
35888 #define HAVE___BUILTIN_SINF 1
35889 _ACEOF
35896 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
35897 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
35898 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
35899 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
35900 echo $ECHO_N "(cached) $ECHO_C" >&6
35901 else
35905 ac_ext=cc
35906 ac_cpp='$CXXCPP $CPPFLAGS'
35907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35911 cat >conftest.$ac_ext <<_ACEOF
35912 /* confdefs.h. */
35913 _ACEOF
35914 cat confdefs.h >>conftest.$ac_ext
35915 cat >>conftest.$ac_ext <<_ACEOF
35916 /* end confdefs.h. */
35917 #include <math.h>
35919 main ()
35921 __builtin_sin(0);
35923 return 0;
35925 _ACEOF
35926 rm -f conftest.$ac_objext
35927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35928 (eval $ac_compile) 2>conftest.er1
35929 ac_status=$?
35930 grep -v '^ *+' conftest.er1 >conftest.err
35931 rm -f conftest.er1
35932 cat conftest.err >&5
35933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35934 (exit $ac_status); } &&
35935 { ac_try='test -z "$ac_cxx_werror_flag"
35936 || test ! -s conftest.err'
35937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35938 (eval $ac_try) 2>&5
35939 ac_status=$?
35940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35941 (exit $ac_status); }; } &&
35942 { ac_try='test -s conftest.$ac_objext'
35943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35944 (eval $ac_try) 2>&5
35945 ac_status=$?
35946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35947 (exit $ac_status); }; }; then
35948 glibcxx_cv_func___builtin_sin_use=yes
35949 else
35950 echo "$as_me: failed program was:" >&5
35951 sed 's/^/| /' conftest.$ac_ext >&5
35953 glibcxx_cv_func___builtin_sin_use=no
35955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35956 ac_ext=c
35957 ac_cpp='$CPP $CPPFLAGS'
35958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35966 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
35967 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
35968 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
35969 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
35970 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
35971 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
35972 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
35973 echo $ECHO_N "(cached) $ECHO_C" >&6
35974 else
35976 if test x$gcc_no_link = xyes; then
35977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35979 { (exit 1); exit 1; }; }
35981 cat >conftest.$ac_ext <<_ACEOF
35982 /* confdefs.h. */
35983 _ACEOF
35984 cat confdefs.h >>conftest.$ac_ext
35985 cat >>conftest.$ac_ext <<_ACEOF
35986 /* end confdefs.h. */
35987 #include <math.h>
35989 main ()
35991 __builtin_sin(0);
35993 return 0;
35995 _ACEOF
35996 rm -f conftest.$ac_objext conftest$ac_exeext
35997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35998 (eval $ac_link) 2>conftest.er1
35999 ac_status=$?
36000 grep -v '^ *+' conftest.er1 >conftest.err
36001 rm -f conftest.er1
36002 cat conftest.err >&5
36003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36004 (exit $ac_status); } &&
36005 { ac_try='test -z "$ac_c_werror_flag"
36006 || test ! -s conftest.err'
36007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36008 (eval $ac_try) 2>&5
36009 ac_status=$?
36010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36011 (exit $ac_status); }; } &&
36012 { ac_try='test -s conftest$ac_exeext'
36013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36014 (eval $ac_try) 2>&5
36015 ac_status=$?
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); }; }; then
36018 glibcxx_cv_func___builtin_sin_link=yes
36019 else
36020 echo "$as_me: failed program was:" >&5
36021 sed 's/^/| /' conftest.$ac_ext >&5
36023 glibcxx_cv_func___builtin_sin_link=no
36025 rm -f conftest.err conftest.$ac_objext \
36026 conftest$ac_exeext conftest.$ac_ext
36031 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
36032 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
36034 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
36036 cat >>confdefs.h <<\_ACEOF
36037 #define HAVE___BUILTIN_SIN 1
36038 _ACEOF
36045 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
36046 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
36047 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
36048 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
36049 echo $ECHO_N "(cached) $ECHO_C" >&6
36050 else
36054 ac_ext=cc
36055 ac_cpp='$CXXCPP $CPPFLAGS'
36056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36060 cat >conftest.$ac_ext <<_ACEOF
36061 /* confdefs.h. */
36062 _ACEOF
36063 cat confdefs.h >>conftest.$ac_ext
36064 cat >>conftest.$ac_ext <<_ACEOF
36065 /* end confdefs.h. */
36066 #include <math.h>
36068 main ()
36070 __builtin_sinl(0);
36072 return 0;
36074 _ACEOF
36075 rm -f conftest.$ac_objext
36076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36077 (eval $ac_compile) 2>conftest.er1
36078 ac_status=$?
36079 grep -v '^ *+' conftest.er1 >conftest.err
36080 rm -f conftest.er1
36081 cat conftest.err >&5
36082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36083 (exit $ac_status); } &&
36084 { ac_try='test -z "$ac_cxx_werror_flag"
36085 || test ! -s conftest.err'
36086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36087 (eval $ac_try) 2>&5
36088 ac_status=$?
36089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36090 (exit $ac_status); }; } &&
36091 { ac_try='test -s conftest.$ac_objext'
36092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36093 (eval $ac_try) 2>&5
36094 ac_status=$?
36095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36096 (exit $ac_status); }; }; then
36097 glibcxx_cv_func___builtin_sinl_use=yes
36098 else
36099 echo "$as_me: failed program was:" >&5
36100 sed 's/^/| /' conftest.$ac_ext >&5
36102 glibcxx_cv_func___builtin_sinl_use=no
36104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36105 ac_ext=c
36106 ac_cpp='$CPP $CPPFLAGS'
36107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36115 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
36116 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
36117 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
36118 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
36119 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
36120 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
36121 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
36122 echo $ECHO_N "(cached) $ECHO_C" >&6
36123 else
36125 if test x$gcc_no_link = xyes; then
36126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36128 { (exit 1); exit 1; }; }
36130 cat >conftest.$ac_ext <<_ACEOF
36131 /* confdefs.h. */
36132 _ACEOF
36133 cat confdefs.h >>conftest.$ac_ext
36134 cat >>conftest.$ac_ext <<_ACEOF
36135 /* end confdefs.h. */
36136 #include <math.h>
36138 main ()
36140 __builtin_sinl(0);
36142 return 0;
36144 _ACEOF
36145 rm -f conftest.$ac_objext conftest$ac_exeext
36146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36147 (eval $ac_link) 2>conftest.er1
36148 ac_status=$?
36149 grep -v '^ *+' conftest.er1 >conftest.err
36150 rm -f conftest.er1
36151 cat conftest.err >&5
36152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36153 (exit $ac_status); } &&
36154 { ac_try='test -z "$ac_c_werror_flag"
36155 || test ! -s conftest.err'
36156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36157 (eval $ac_try) 2>&5
36158 ac_status=$?
36159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36160 (exit $ac_status); }; } &&
36161 { ac_try='test -s conftest$ac_exeext'
36162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36163 (eval $ac_try) 2>&5
36164 ac_status=$?
36165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166 (exit $ac_status); }; }; then
36167 glibcxx_cv_func___builtin_sinl_link=yes
36168 else
36169 echo "$as_me: failed program was:" >&5
36170 sed 's/^/| /' conftest.$ac_ext >&5
36172 glibcxx_cv_func___builtin_sinl_link=no
36174 rm -f conftest.err conftest.$ac_objext \
36175 conftest$ac_exeext conftest.$ac_ext
36180 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
36181 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
36183 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
36185 cat >>confdefs.h <<\_ACEOF
36186 #define HAVE___BUILTIN_SINL 1
36187 _ACEOF
36195 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
36196 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
36197 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
36198 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
36199 echo $ECHO_N "(cached) $ECHO_C" >&6
36200 else
36204 ac_ext=cc
36205 ac_cpp='$CXXCPP $CPPFLAGS'
36206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36210 cat >conftest.$ac_ext <<_ACEOF
36211 /* confdefs.h. */
36212 _ACEOF
36213 cat confdefs.h >>conftest.$ac_ext
36214 cat >>conftest.$ac_ext <<_ACEOF
36215 /* end confdefs.h. */
36216 #include <math.h>
36218 main ()
36220 __builtin_cosf(0);
36222 return 0;
36224 _ACEOF
36225 rm -f conftest.$ac_objext
36226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36227 (eval $ac_compile) 2>conftest.er1
36228 ac_status=$?
36229 grep -v '^ *+' conftest.er1 >conftest.err
36230 rm -f conftest.er1
36231 cat conftest.err >&5
36232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36233 (exit $ac_status); } &&
36234 { ac_try='test -z "$ac_cxx_werror_flag"
36235 || test ! -s conftest.err'
36236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36237 (eval $ac_try) 2>&5
36238 ac_status=$?
36239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36240 (exit $ac_status); }; } &&
36241 { ac_try='test -s conftest.$ac_objext'
36242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36243 (eval $ac_try) 2>&5
36244 ac_status=$?
36245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36246 (exit $ac_status); }; }; then
36247 glibcxx_cv_func___builtin_cosf_use=yes
36248 else
36249 echo "$as_me: failed program was:" >&5
36250 sed 's/^/| /' conftest.$ac_ext >&5
36252 glibcxx_cv_func___builtin_cosf_use=no
36254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36255 ac_ext=c
36256 ac_cpp='$CPP $CPPFLAGS'
36257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36265 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
36266 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
36267 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
36268 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
36269 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
36270 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
36271 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
36272 echo $ECHO_N "(cached) $ECHO_C" >&6
36273 else
36275 if test x$gcc_no_link = xyes; then
36276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36278 { (exit 1); exit 1; }; }
36280 cat >conftest.$ac_ext <<_ACEOF
36281 /* confdefs.h. */
36282 _ACEOF
36283 cat confdefs.h >>conftest.$ac_ext
36284 cat >>conftest.$ac_ext <<_ACEOF
36285 /* end confdefs.h. */
36286 #include <math.h>
36288 main ()
36290 __builtin_cosf(0);
36292 return 0;
36294 _ACEOF
36295 rm -f conftest.$ac_objext conftest$ac_exeext
36296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36297 (eval $ac_link) 2>conftest.er1
36298 ac_status=$?
36299 grep -v '^ *+' conftest.er1 >conftest.err
36300 rm -f conftest.er1
36301 cat conftest.err >&5
36302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36303 (exit $ac_status); } &&
36304 { ac_try='test -z "$ac_c_werror_flag"
36305 || test ! -s conftest.err'
36306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36307 (eval $ac_try) 2>&5
36308 ac_status=$?
36309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36310 (exit $ac_status); }; } &&
36311 { ac_try='test -s conftest$ac_exeext'
36312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36313 (eval $ac_try) 2>&5
36314 ac_status=$?
36315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36316 (exit $ac_status); }; }; then
36317 glibcxx_cv_func___builtin_cosf_link=yes
36318 else
36319 echo "$as_me: failed program was:" >&5
36320 sed 's/^/| /' conftest.$ac_ext >&5
36322 glibcxx_cv_func___builtin_cosf_link=no
36324 rm -f conftest.err conftest.$ac_objext \
36325 conftest$ac_exeext conftest.$ac_ext
36330 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
36331 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
36333 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
36335 cat >>confdefs.h <<\_ACEOF
36336 #define HAVE___BUILTIN_COSF 1
36337 _ACEOF
36344 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
36345 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
36346 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
36347 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
36348 echo $ECHO_N "(cached) $ECHO_C" >&6
36349 else
36353 ac_ext=cc
36354 ac_cpp='$CXXCPP $CPPFLAGS'
36355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36359 cat >conftest.$ac_ext <<_ACEOF
36360 /* confdefs.h. */
36361 _ACEOF
36362 cat confdefs.h >>conftest.$ac_ext
36363 cat >>conftest.$ac_ext <<_ACEOF
36364 /* end confdefs.h. */
36365 #include <math.h>
36367 main ()
36369 __builtin_cos(0);
36371 return 0;
36373 _ACEOF
36374 rm -f conftest.$ac_objext
36375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36376 (eval $ac_compile) 2>conftest.er1
36377 ac_status=$?
36378 grep -v '^ *+' conftest.er1 >conftest.err
36379 rm -f conftest.er1
36380 cat conftest.err >&5
36381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36382 (exit $ac_status); } &&
36383 { ac_try='test -z "$ac_cxx_werror_flag"
36384 || test ! -s conftest.err'
36385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36386 (eval $ac_try) 2>&5
36387 ac_status=$?
36388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36389 (exit $ac_status); }; } &&
36390 { ac_try='test -s conftest.$ac_objext'
36391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36392 (eval $ac_try) 2>&5
36393 ac_status=$?
36394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36395 (exit $ac_status); }; }; then
36396 glibcxx_cv_func___builtin_cos_use=yes
36397 else
36398 echo "$as_me: failed program was:" >&5
36399 sed 's/^/| /' conftest.$ac_ext >&5
36401 glibcxx_cv_func___builtin_cos_use=no
36403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36404 ac_ext=c
36405 ac_cpp='$CPP $CPPFLAGS'
36406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36414 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
36415 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
36416 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
36417 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
36418 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
36419 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
36420 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
36421 echo $ECHO_N "(cached) $ECHO_C" >&6
36422 else
36424 if test x$gcc_no_link = xyes; then
36425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36427 { (exit 1); exit 1; }; }
36429 cat >conftest.$ac_ext <<_ACEOF
36430 /* confdefs.h. */
36431 _ACEOF
36432 cat confdefs.h >>conftest.$ac_ext
36433 cat >>conftest.$ac_ext <<_ACEOF
36434 /* end confdefs.h. */
36435 #include <math.h>
36437 main ()
36439 __builtin_cos(0);
36441 return 0;
36443 _ACEOF
36444 rm -f conftest.$ac_objext conftest$ac_exeext
36445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36446 (eval $ac_link) 2>conftest.er1
36447 ac_status=$?
36448 grep -v '^ *+' conftest.er1 >conftest.err
36449 rm -f conftest.er1
36450 cat conftest.err >&5
36451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36452 (exit $ac_status); } &&
36453 { ac_try='test -z "$ac_c_werror_flag"
36454 || test ! -s conftest.err'
36455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36456 (eval $ac_try) 2>&5
36457 ac_status=$?
36458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36459 (exit $ac_status); }; } &&
36460 { ac_try='test -s conftest$ac_exeext'
36461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36462 (eval $ac_try) 2>&5
36463 ac_status=$?
36464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36465 (exit $ac_status); }; }; then
36466 glibcxx_cv_func___builtin_cos_link=yes
36467 else
36468 echo "$as_me: failed program was:" >&5
36469 sed 's/^/| /' conftest.$ac_ext >&5
36471 glibcxx_cv_func___builtin_cos_link=no
36473 rm -f conftest.err conftest.$ac_objext \
36474 conftest$ac_exeext conftest.$ac_ext
36479 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
36480 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
36482 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
36484 cat >>confdefs.h <<\_ACEOF
36485 #define HAVE___BUILTIN_COS 1
36486 _ACEOF
36493 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
36494 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
36495 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
36496 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
36497 echo $ECHO_N "(cached) $ECHO_C" >&6
36498 else
36502 ac_ext=cc
36503 ac_cpp='$CXXCPP $CPPFLAGS'
36504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36508 cat >conftest.$ac_ext <<_ACEOF
36509 /* confdefs.h. */
36510 _ACEOF
36511 cat confdefs.h >>conftest.$ac_ext
36512 cat >>conftest.$ac_ext <<_ACEOF
36513 /* end confdefs.h. */
36514 #include <math.h>
36516 main ()
36518 __builtin_cosl(0);
36520 return 0;
36522 _ACEOF
36523 rm -f conftest.$ac_objext
36524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36525 (eval $ac_compile) 2>conftest.er1
36526 ac_status=$?
36527 grep -v '^ *+' conftest.er1 >conftest.err
36528 rm -f conftest.er1
36529 cat conftest.err >&5
36530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36531 (exit $ac_status); } &&
36532 { ac_try='test -z "$ac_cxx_werror_flag"
36533 || test ! -s conftest.err'
36534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36535 (eval $ac_try) 2>&5
36536 ac_status=$?
36537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36538 (exit $ac_status); }; } &&
36539 { ac_try='test -s conftest.$ac_objext'
36540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36541 (eval $ac_try) 2>&5
36542 ac_status=$?
36543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36544 (exit $ac_status); }; }; then
36545 glibcxx_cv_func___builtin_cosl_use=yes
36546 else
36547 echo "$as_me: failed program was:" >&5
36548 sed 's/^/| /' conftest.$ac_ext >&5
36550 glibcxx_cv_func___builtin_cosl_use=no
36552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36553 ac_ext=c
36554 ac_cpp='$CPP $CPPFLAGS'
36555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36563 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
36564 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
36565 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
36566 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
36567 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
36568 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
36569 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
36570 echo $ECHO_N "(cached) $ECHO_C" >&6
36571 else
36573 if test x$gcc_no_link = xyes; then
36574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36576 { (exit 1); exit 1; }; }
36578 cat >conftest.$ac_ext <<_ACEOF
36579 /* confdefs.h. */
36580 _ACEOF
36581 cat confdefs.h >>conftest.$ac_ext
36582 cat >>conftest.$ac_ext <<_ACEOF
36583 /* end confdefs.h. */
36584 #include <math.h>
36586 main ()
36588 __builtin_cosl(0);
36590 return 0;
36592 _ACEOF
36593 rm -f conftest.$ac_objext conftest$ac_exeext
36594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36595 (eval $ac_link) 2>conftest.er1
36596 ac_status=$?
36597 grep -v '^ *+' conftest.er1 >conftest.err
36598 rm -f conftest.er1
36599 cat conftest.err >&5
36600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36601 (exit $ac_status); } &&
36602 { ac_try='test -z "$ac_c_werror_flag"
36603 || test ! -s conftest.err'
36604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36605 (eval $ac_try) 2>&5
36606 ac_status=$?
36607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36608 (exit $ac_status); }; } &&
36609 { ac_try='test -s conftest$ac_exeext'
36610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36611 (eval $ac_try) 2>&5
36612 ac_status=$?
36613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36614 (exit $ac_status); }; }; then
36615 glibcxx_cv_func___builtin_cosl_link=yes
36616 else
36617 echo "$as_me: failed program was:" >&5
36618 sed 's/^/| /' conftest.$ac_ext >&5
36620 glibcxx_cv_func___builtin_cosl_link=no
36622 rm -f conftest.err conftest.$ac_objext \
36623 conftest$ac_exeext conftest.$ac_ext
36628 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
36629 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
36631 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
36633 cat >>confdefs.h <<\_ACEOF
36634 #define HAVE___BUILTIN_COSL 1
36635 _ACEOF
36644 echo "$as_me:$LINENO: checking for main in -lm" >&5
36645 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
36646 if test "${ac_cv_lib_m_main+set}" = set; then
36647 echo $ECHO_N "(cached) $ECHO_C" >&6
36648 else
36649 ac_check_lib_save_LIBS=$LIBS
36650 LIBS="-lm $LIBS"
36651 if test x$gcc_no_link = xyes; then
36652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36654 { (exit 1); exit 1; }; }
36656 cat >conftest.$ac_ext <<_ACEOF
36657 /* confdefs.h. */
36658 _ACEOF
36659 cat confdefs.h >>conftest.$ac_ext
36660 cat >>conftest.$ac_ext <<_ACEOF
36661 /* end confdefs.h. */
36665 main ()
36667 main ();
36669 return 0;
36671 _ACEOF
36672 rm -f conftest.$ac_objext conftest$ac_exeext
36673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36674 (eval $ac_link) 2>conftest.er1
36675 ac_status=$?
36676 grep -v '^ *+' conftest.er1 >conftest.err
36677 rm -f conftest.er1
36678 cat conftest.err >&5
36679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36680 (exit $ac_status); } &&
36681 { ac_try='test -z "$ac_c_werror_flag"
36682 || test ! -s conftest.err'
36683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36684 (eval $ac_try) 2>&5
36685 ac_status=$?
36686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36687 (exit $ac_status); }; } &&
36688 { ac_try='test -s conftest$ac_exeext'
36689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36690 (eval $ac_try) 2>&5
36691 ac_status=$?
36692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693 (exit $ac_status); }; }; then
36694 ac_cv_lib_m_main=yes
36695 else
36696 echo "$as_me: failed program was:" >&5
36697 sed 's/^/| /' conftest.$ac_ext >&5
36699 ac_cv_lib_m_main=no
36701 rm -f conftest.err conftest.$ac_objext \
36702 conftest$ac_exeext conftest.$ac_ext
36703 LIBS=$ac_check_lib_save_LIBS
36705 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
36706 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
36707 if test $ac_cv_lib_m_main = yes; then
36708 cat >>confdefs.h <<_ACEOF
36709 #define HAVE_LIBM 1
36710 _ACEOF
36712 LIBS="-lm $LIBS"
36717 for ac_func in copysignf
36719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36720 echo "$as_me:$LINENO: checking for $ac_func" >&5
36721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36722 if eval "test \"\${$as_ac_var+set}\" = set"; then
36723 echo $ECHO_N "(cached) $ECHO_C" >&6
36724 else
36725 if test x$gcc_no_link = xyes; then
36726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36728 { (exit 1); exit 1; }; }
36730 cat >conftest.$ac_ext <<_ACEOF
36731 /* confdefs.h. */
36732 _ACEOF
36733 cat confdefs.h >>conftest.$ac_ext
36734 cat >>conftest.$ac_ext <<_ACEOF
36735 /* end confdefs.h. */
36736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36738 #define $ac_func innocuous_$ac_func
36740 /* System header to define __stub macros and hopefully few prototypes,
36741 which can conflict with char $ac_func (); below.
36742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36743 <limits.h> exists even on freestanding compilers. */
36745 #ifdef __STDC__
36746 # include <limits.h>
36747 #else
36748 # include <assert.h>
36749 #endif
36751 #undef $ac_func
36753 /* Override any gcc2 internal prototype to avoid an error. */
36754 #ifdef __cplusplus
36755 extern "C"
36757 #endif
36758 /* We use char because int might match the return type of a gcc2
36759 builtin and then its argument prototype would still apply. */
36760 char $ac_func ();
36761 /* The GNU C library defines this for functions which it implements
36762 to always fail with ENOSYS. Some functions are actually named
36763 something starting with __ and the normal name is an alias. */
36764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36765 choke me
36766 #else
36767 char (*f) () = $ac_func;
36768 #endif
36769 #ifdef __cplusplus
36771 #endif
36774 main ()
36776 return f != $ac_func;
36778 return 0;
36780 _ACEOF
36781 rm -f conftest.$ac_objext conftest$ac_exeext
36782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36783 (eval $ac_link) 2>conftest.er1
36784 ac_status=$?
36785 grep -v '^ *+' conftest.er1 >conftest.err
36786 rm -f conftest.er1
36787 cat conftest.err >&5
36788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36789 (exit $ac_status); } &&
36790 { ac_try='test -z "$ac_c_werror_flag"
36791 || test ! -s conftest.err'
36792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36793 (eval $ac_try) 2>&5
36794 ac_status=$?
36795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36796 (exit $ac_status); }; } &&
36797 { ac_try='test -s conftest$ac_exeext'
36798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36799 (eval $ac_try) 2>&5
36800 ac_status=$?
36801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36802 (exit $ac_status); }; }; then
36803 eval "$as_ac_var=yes"
36804 else
36805 echo "$as_me: failed program was:" >&5
36806 sed 's/^/| /' conftest.$ac_ext >&5
36808 eval "$as_ac_var=no"
36810 rm -f conftest.err conftest.$ac_objext \
36811 conftest$ac_exeext conftest.$ac_ext
36813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36815 if test `eval echo '${'$as_ac_var'}'` = yes; then
36816 cat >>confdefs.h <<_ACEOF
36817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36818 _ACEOF
36820 else
36821 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
36823 done
36827 for ac_func in __signbit
36829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36830 echo "$as_me:$LINENO: checking for $ac_func" >&5
36831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36832 if eval "test \"\${$as_ac_var+set}\" = set"; then
36833 echo $ECHO_N "(cached) $ECHO_C" >&6
36834 else
36835 if test x$gcc_no_link = xyes; then
36836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36838 { (exit 1); exit 1; }; }
36840 cat >conftest.$ac_ext <<_ACEOF
36841 /* confdefs.h. */
36842 _ACEOF
36843 cat confdefs.h >>conftest.$ac_ext
36844 cat >>conftest.$ac_ext <<_ACEOF
36845 /* end confdefs.h. */
36846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36848 #define $ac_func innocuous_$ac_func
36850 /* System header to define __stub macros and hopefully few prototypes,
36851 which can conflict with char $ac_func (); below.
36852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36853 <limits.h> exists even on freestanding compilers. */
36855 #ifdef __STDC__
36856 # include <limits.h>
36857 #else
36858 # include <assert.h>
36859 #endif
36861 #undef $ac_func
36863 /* Override any gcc2 internal prototype to avoid an error. */
36864 #ifdef __cplusplus
36865 extern "C"
36867 #endif
36868 /* We use char because int might match the return type of a gcc2
36869 builtin and then its argument prototype would still apply. */
36870 char $ac_func ();
36871 /* The GNU C library defines this for functions which it implements
36872 to always fail with ENOSYS. Some functions are actually named
36873 something starting with __ and the normal name is an alias. */
36874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36875 choke me
36876 #else
36877 char (*f) () = $ac_func;
36878 #endif
36879 #ifdef __cplusplus
36881 #endif
36884 main ()
36886 return f != $ac_func;
36888 return 0;
36890 _ACEOF
36891 rm -f conftest.$ac_objext conftest$ac_exeext
36892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36893 (eval $ac_link) 2>conftest.er1
36894 ac_status=$?
36895 grep -v '^ *+' conftest.er1 >conftest.err
36896 rm -f conftest.er1
36897 cat conftest.err >&5
36898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36899 (exit $ac_status); } &&
36900 { ac_try='test -z "$ac_c_werror_flag"
36901 || test ! -s conftest.err'
36902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36903 (eval $ac_try) 2>&5
36904 ac_status=$?
36905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36906 (exit $ac_status); }; } &&
36907 { ac_try='test -s conftest$ac_exeext'
36908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36909 (eval $ac_try) 2>&5
36910 ac_status=$?
36911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36912 (exit $ac_status); }; }; then
36913 eval "$as_ac_var=yes"
36914 else
36915 echo "$as_me: failed program was:" >&5
36916 sed 's/^/| /' conftest.$ac_ext >&5
36918 eval "$as_ac_var=no"
36920 rm -f conftest.err conftest.$ac_objext \
36921 conftest$ac_exeext conftest.$ac_ext
36923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36925 if test `eval echo '${'$as_ac_var'}'` = yes; then
36926 cat >>confdefs.h <<_ACEOF
36927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36928 _ACEOF
36930 else
36931 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
36933 done
36937 for ac_func in __signbitf
36939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36940 echo "$as_me:$LINENO: checking for $ac_func" >&5
36941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36942 if eval "test \"\${$as_ac_var+set}\" = set"; then
36943 echo $ECHO_N "(cached) $ECHO_C" >&6
36944 else
36945 if test x$gcc_no_link = xyes; then
36946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36948 { (exit 1); exit 1; }; }
36950 cat >conftest.$ac_ext <<_ACEOF
36951 /* confdefs.h. */
36952 _ACEOF
36953 cat confdefs.h >>conftest.$ac_ext
36954 cat >>conftest.$ac_ext <<_ACEOF
36955 /* end confdefs.h. */
36956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36958 #define $ac_func innocuous_$ac_func
36960 /* System header to define __stub macros and hopefully few prototypes,
36961 which can conflict with char $ac_func (); below.
36962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36963 <limits.h> exists even on freestanding compilers. */
36965 #ifdef __STDC__
36966 # include <limits.h>
36967 #else
36968 # include <assert.h>
36969 #endif
36971 #undef $ac_func
36973 /* Override any gcc2 internal prototype to avoid an error. */
36974 #ifdef __cplusplus
36975 extern "C"
36977 #endif
36978 /* We use char because int might match the return type of a gcc2
36979 builtin and then its argument prototype would still apply. */
36980 char $ac_func ();
36981 /* The GNU C library defines this for functions which it implements
36982 to always fail with ENOSYS. Some functions are actually named
36983 something starting with __ and the normal name is an alias. */
36984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36985 choke me
36986 #else
36987 char (*f) () = $ac_func;
36988 #endif
36989 #ifdef __cplusplus
36991 #endif
36994 main ()
36996 return f != $ac_func;
36998 return 0;
37000 _ACEOF
37001 rm -f conftest.$ac_objext conftest$ac_exeext
37002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37003 (eval $ac_link) 2>conftest.er1
37004 ac_status=$?
37005 grep -v '^ *+' conftest.er1 >conftest.err
37006 rm -f conftest.er1
37007 cat conftest.err >&5
37008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37009 (exit $ac_status); } &&
37010 { ac_try='test -z "$ac_c_werror_flag"
37011 || test ! -s conftest.err'
37012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37013 (eval $ac_try) 2>&5
37014 ac_status=$?
37015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37016 (exit $ac_status); }; } &&
37017 { ac_try='test -s conftest$ac_exeext'
37018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37019 (eval $ac_try) 2>&5
37020 ac_status=$?
37021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37022 (exit $ac_status); }; }; then
37023 eval "$as_ac_var=yes"
37024 else
37025 echo "$as_me: failed program was:" >&5
37026 sed 's/^/| /' conftest.$ac_ext >&5
37028 eval "$as_ac_var=no"
37030 rm -f conftest.err conftest.$ac_objext \
37031 conftest$ac_exeext conftest.$ac_ext
37033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37035 if test `eval echo '${'$as_ac_var'}'` = yes; then
37036 cat >>confdefs.h <<_ACEOF
37037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37038 _ACEOF
37040 else
37041 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
37043 done
37046 if test x$ac_cv_func_copysignl = x"yes"; then
37048 for ac_func in __signbitl
37050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37051 echo "$as_me:$LINENO: checking for $ac_func" >&5
37052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37053 if eval "test \"\${$as_ac_var+set}\" = set"; then
37054 echo $ECHO_N "(cached) $ECHO_C" >&6
37055 else
37056 if test x$gcc_no_link = xyes; then
37057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37059 { (exit 1); exit 1; }; }
37061 cat >conftest.$ac_ext <<_ACEOF
37062 /* confdefs.h. */
37063 _ACEOF
37064 cat confdefs.h >>conftest.$ac_ext
37065 cat >>conftest.$ac_ext <<_ACEOF
37066 /* end confdefs.h. */
37067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37069 #define $ac_func innocuous_$ac_func
37071 /* System header to define __stub macros and hopefully few prototypes,
37072 which can conflict with char $ac_func (); below.
37073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37074 <limits.h> exists even on freestanding compilers. */
37076 #ifdef __STDC__
37077 # include <limits.h>
37078 #else
37079 # include <assert.h>
37080 #endif
37082 #undef $ac_func
37084 /* Override any gcc2 internal prototype to avoid an error. */
37085 #ifdef __cplusplus
37086 extern "C"
37088 #endif
37089 /* We use char because int might match the return type of a gcc2
37090 builtin and then its argument prototype would still apply. */
37091 char $ac_func ();
37092 /* The GNU C library defines this for functions which it implements
37093 to always fail with ENOSYS. Some functions are actually named
37094 something starting with __ and the normal name is an alias. */
37095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37096 choke me
37097 #else
37098 char (*f) () = $ac_func;
37099 #endif
37100 #ifdef __cplusplus
37102 #endif
37105 main ()
37107 return f != $ac_func;
37109 return 0;
37111 _ACEOF
37112 rm -f conftest.$ac_objext conftest$ac_exeext
37113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37114 (eval $ac_link) 2>conftest.er1
37115 ac_status=$?
37116 grep -v '^ *+' conftest.er1 >conftest.err
37117 rm -f conftest.er1
37118 cat conftest.err >&5
37119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37120 (exit $ac_status); } &&
37121 { ac_try='test -z "$ac_c_werror_flag"
37122 || test ! -s conftest.err'
37123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37124 (eval $ac_try) 2>&5
37125 ac_status=$?
37126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37127 (exit $ac_status); }; } &&
37128 { ac_try='test -s conftest$ac_exeext'
37129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37130 (eval $ac_try) 2>&5
37131 ac_status=$?
37132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37133 (exit $ac_status); }; }; then
37134 eval "$as_ac_var=yes"
37135 else
37136 echo "$as_me: failed program was:" >&5
37137 sed 's/^/| /' conftest.$ac_ext >&5
37139 eval "$as_ac_var=no"
37141 rm -f conftest.err conftest.$ac_objext \
37142 conftest$ac_exeext conftest.$ac_ext
37144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37146 if test `eval echo '${'$as_ac_var'}'` = yes; then
37147 cat >>confdefs.h <<_ACEOF
37148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37149 _ACEOF
37151 else
37152 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
37154 done
37158 # Used in libmath/Makefile.am.
37159 if test -n "$LIBMATHOBJS"; then
37160 need_libmath=yes
37165 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37166 ac_save_CXXFLAGS="$CXXFLAGS"
37167 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37170 echo "$as_me:$LINENO: checking for strtold declaration" >&5
37171 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
37172 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37173 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
37174 echo $ECHO_N "(cached) $ECHO_C" >&6
37175 else
37179 ac_ext=cc
37180 ac_cpp='$CXXCPP $CPPFLAGS'
37181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37185 cat >conftest.$ac_ext <<_ACEOF
37186 /* confdefs.h. */
37187 _ACEOF
37188 cat confdefs.h >>conftest.$ac_ext
37189 cat >>conftest.$ac_ext <<_ACEOF
37190 /* end confdefs.h. */
37191 #include <stdlib.h>
37193 main ()
37195 strtold(0, 0);
37197 return 0;
37199 _ACEOF
37200 rm -f conftest.$ac_objext
37201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37202 (eval $ac_compile) 2>conftest.er1
37203 ac_status=$?
37204 grep -v '^ *+' conftest.er1 >conftest.err
37205 rm -f conftest.er1
37206 cat conftest.err >&5
37207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37208 (exit $ac_status); } &&
37209 { ac_try='test -z "$ac_cxx_werror_flag"
37210 || test ! -s conftest.err'
37211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37212 (eval $ac_try) 2>&5
37213 ac_status=$?
37214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37215 (exit $ac_status); }; } &&
37216 { ac_try='test -s conftest.$ac_objext'
37217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37218 (eval $ac_try) 2>&5
37219 ac_status=$?
37220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37221 (exit $ac_status); }; }; then
37222 glibcxx_cv_func_strtold_use=yes
37223 else
37224 echo "$as_me: failed program was:" >&5
37225 sed 's/^/| /' conftest.$ac_ext >&5
37227 glibcxx_cv_func_strtold_use=no
37229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37230 ac_ext=c
37231 ac_cpp='$CPP $CPPFLAGS'
37232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37240 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
37241 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
37242 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
37244 for ac_func in strtold
37246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37247 echo "$as_me:$LINENO: checking for $ac_func" >&5
37248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37249 if eval "test \"\${$as_ac_var+set}\" = set"; then
37250 echo $ECHO_N "(cached) $ECHO_C" >&6
37251 else
37252 if test x$gcc_no_link = xyes; then
37253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37255 { (exit 1); exit 1; }; }
37257 cat >conftest.$ac_ext <<_ACEOF
37258 /* confdefs.h. */
37259 _ACEOF
37260 cat confdefs.h >>conftest.$ac_ext
37261 cat >>conftest.$ac_ext <<_ACEOF
37262 /* end confdefs.h. */
37263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37265 #define $ac_func innocuous_$ac_func
37267 /* System header to define __stub macros and hopefully few prototypes,
37268 which can conflict with char $ac_func (); below.
37269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37270 <limits.h> exists even on freestanding compilers. */
37272 #ifdef __STDC__
37273 # include <limits.h>
37274 #else
37275 # include <assert.h>
37276 #endif
37278 #undef $ac_func
37280 /* Override any gcc2 internal prototype to avoid an error. */
37281 #ifdef __cplusplus
37282 extern "C"
37284 #endif
37285 /* We use char because int might match the return type of a gcc2
37286 builtin and then its argument prototype would still apply. */
37287 char $ac_func ();
37288 /* The GNU C library defines this for functions which it implements
37289 to always fail with ENOSYS. Some functions are actually named
37290 something starting with __ and the normal name is an alias. */
37291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37292 choke me
37293 #else
37294 char (*f) () = $ac_func;
37295 #endif
37296 #ifdef __cplusplus
37298 #endif
37301 main ()
37303 return f != $ac_func;
37305 return 0;
37307 _ACEOF
37308 rm -f conftest.$ac_objext conftest$ac_exeext
37309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37310 (eval $ac_link) 2>conftest.er1
37311 ac_status=$?
37312 grep -v '^ *+' conftest.er1 >conftest.err
37313 rm -f conftest.er1
37314 cat conftest.err >&5
37315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37316 (exit $ac_status); } &&
37317 { ac_try='test -z "$ac_c_werror_flag"
37318 || test ! -s conftest.err'
37319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37320 (eval $ac_try) 2>&5
37321 ac_status=$?
37322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37323 (exit $ac_status); }; } &&
37324 { ac_try='test -s conftest$ac_exeext'
37325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37326 (eval $ac_try) 2>&5
37327 ac_status=$?
37328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37329 (exit $ac_status); }; }; then
37330 eval "$as_ac_var=yes"
37331 else
37332 echo "$as_me: failed program was:" >&5
37333 sed 's/^/| /' conftest.$ac_ext >&5
37335 eval "$as_ac_var=no"
37337 rm -f conftest.err conftest.$ac_objext \
37338 conftest$ac_exeext conftest.$ac_ext
37340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37342 if test `eval echo '${'$as_ac_var'}'` = yes; then
37343 cat >>confdefs.h <<_ACEOF
37344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37345 _ACEOF
37348 done
37356 echo "$as_me:$LINENO: checking for strtof declaration" >&5
37357 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
37358 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
37359 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
37360 echo $ECHO_N "(cached) $ECHO_C" >&6
37361 else
37365 ac_ext=cc
37366 ac_cpp='$CXXCPP $CPPFLAGS'
37367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37371 cat >conftest.$ac_ext <<_ACEOF
37372 /* confdefs.h. */
37373 _ACEOF
37374 cat confdefs.h >>conftest.$ac_ext
37375 cat >>conftest.$ac_ext <<_ACEOF
37376 /* end confdefs.h. */
37377 #include <stdlib.h>
37379 main ()
37381 strtof(0, 0);
37383 return 0;
37385 _ACEOF
37386 rm -f conftest.$ac_objext
37387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37388 (eval $ac_compile) 2>conftest.er1
37389 ac_status=$?
37390 grep -v '^ *+' conftest.er1 >conftest.err
37391 rm -f conftest.er1
37392 cat conftest.err >&5
37393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37394 (exit $ac_status); } &&
37395 { ac_try='test -z "$ac_cxx_werror_flag"
37396 || test ! -s conftest.err'
37397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37398 (eval $ac_try) 2>&5
37399 ac_status=$?
37400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37401 (exit $ac_status); }; } &&
37402 { ac_try='test -s conftest.$ac_objext'
37403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37404 (eval $ac_try) 2>&5
37405 ac_status=$?
37406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37407 (exit $ac_status); }; }; then
37408 glibcxx_cv_func_strtof_use=yes
37409 else
37410 echo "$as_me: failed program was:" >&5
37411 sed 's/^/| /' conftest.$ac_ext >&5
37413 glibcxx_cv_func_strtof_use=no
37415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37416 ac_ext=c
37417 ac_cpp='$CPP $CPPFLAGS'
37418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37426 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
37427 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
37428 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
37430 for ac_func in strtof
37432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37433 echo "$as_me:$LINENO: checking for $ac_func" >&5
37434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37435 if eval "test \"\${$as_ac_var+set}\" = set"; then
37436 echo $ECHO_N "(cached) $ECHO_C" >&6
37437 else
37438 if test x$gcc_no_link = xyes; then
37439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37441 { (exit 1); exit 1; }; }
37443 cat >conftest.$ac_ext <<_ACEOF
37444 /* confdefs.h. */
37445 _ACEOF
37446 cat confdefs.h >>conftest.$ac_ext
37447 cat >>conftest.$ac_ext <<_ACEOF
37448 /* end confdefs.h. */
37449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37451 #define $ac_func innocuous_$ac_func
37453 /* System header to define __stub macros and hopefully few prototypes,
37454 which can conflict with char $ac_func (); below.
37455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37456 <limits.h> exists even on freestanding compilers. */
37458 #ifdef __STDC__
37459 # include <limits.h>
37460 #else
37461 # include <assert.h>
37462 #endif
37464 #undef $ac_func
37466 /* Override any gcc2 internal prototype to avoid an error. */
37467 #ifdef __cplusplus
37468 extern "C"
37470 #endif
37471 /* We use char because int might match the return type of a gcc2
37472 builtin and then its argument prototype would still apply. */
37473 char $ac_func ();
37474 /* The GNU C library defines this for functions which it implements
37475 to always fail with ENOSYS. Some functions are actually named
37476 something starting with __ and the normal name is an alias. */
37477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37478 choke me
37479 #else
37480 char (*f) () = $ac_func;
37481 #endif
37482 #ifdef __cplusplus
37484 #endif
37487 main ()
37489 return f != $ac_func;
37491 return 0;
37493 _ACEOF
37494 rm -f conftest.$ac_objext conftest$ac_exeext
37495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37496 (eval $ac_link) 2>conftest.er1
37497 ac_status=$?
37498 grep -v '^ *+' conftest.er1 >conftest.err
37499 rm -f conftest.er1
37500 cat conftest.err >&5
37501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37502 (exit $ac_status); } &&
37503 { ac_try='test -z "$ac_c_werror_flag"
37504 || test ! -s conftest.err'
37505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37506 (eval $ac_try) 2>&5
37507 ac_status=$?
37508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37509 (exit $ac_status); }; } &&
37510 { ac_try='test -s conftest$ac_exeext'
37511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37512 (eval $ac_try) 2>&5
37513 ac_status=$?
37514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37515 (exit $ac_status); }; }; then
37516 eval "$as_ac_var=yes"
37517 else
37518 echo "$as_me: failed program was:" >&5
37519 sed 's/^/| /' conftest.$ac_ext >&5
37521 eval "$as_ac_var=no"
37523 rm -f conftest.err conftest.$ac_objext \
37524 conftest$ac_exeext conftest.$ac_ext
37526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37528 if test `eval echo '${'$as_ac_var'}'` = yes; then
37529 cat >>confdefs.h <<_ACEOF
37530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37531 _ACEOF
37534 done
37542 CXXFLAGS="$ac_save_CXXFLAGS"
37545 # For showmanyc_helper().
37548 for ac_header in sys/ioctl.h sys/filio.h
37550 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37551 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37552 echo "$as_me:$LINENO: checking for $ac_header" >&5
37553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37555 echo $ECHO_N "(cached) $ECHO_C" >&6
37557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37559 else
37560 # Is the header compilable?
37561 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37562 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37563 cat >conftest.$ac_ext <<_ACEOF
37564 /* confdefs.h. */
37565 _ACEOF
37566 cat confdefs.h >>conftest.$ac_ext
37567 cat >>conftest.$ac_ext <<_ACEOF
37568 /* end confdefs.h. */
37569 $ac_includes_default
37570 #include <$ac_header>
37571 _ACEOF
37572 rm -f conftest.$ac_objext
37573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37574 (eval $ac_compile) 2>conftest.er1
37575 ac_status=$?
37576 grep -v '^ *+' conftest.er1 >conftest.err
37577 rm -f conftest.er1
37578 cat conftest.err >&5
37579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37580 (exit $ac_status); } &&
37581 { ac_try='test -z "$ac_c_werror_flag"
37582 || test ! -s conftest.err'
37583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37584 (eval $ac_try) 2>&5
37585 ac_status=$?
37586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37587 (exit $ac_status); }; } &&
37588 { ac_try='test -s conftest.$ac_objext'
37589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37590 (eval $ac_try) 2>&5
37591 ac_status=$?
37592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37593 (exit $ac_status); }; }; then
37594 ac_header_compiler=yes
37595 else
37596 echo "$as_me: failed program was:" >&5
37597 sed 's/^/| /' conftest.$ac_ext >&5
37599 ac_header_compiler=no
37601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37602 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37603 echo "${ECHO_T}$ac_header_compiler" >&6
37605 # Is the header present?
37606 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37607 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37608 cat >conftest.$ac_ext <<_ACEOF
37609 /* confdefs.h. */
37610 _ACEOF
37611 cat confdefs.h >>conftest.$ac_ext
37612 cat >>conftest.$ac_ext <<_ACEOF
37613 /* end confdefs.h. */
37614 #include <$ac_header>
37615 _ACEOF
37616 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37617 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37618 ac_status=$?
37619 grep -v '^ *+' conftest.er1 >conftest.err
37620 rm -f conftest.er1
37621 cat conftest.err >&5
37622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37623 (exit $ac_status); } >/dev/null; then
37624 if test -s conftest.err; then
37625 ac_cpp_err=$ac_c_preproc_warn_flag
37626 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37627 else
37628 ac_cpp_err=
37630 else
37631 ac_cpp_err=yes
37633 if test -z "$ac_cpp_err"; then
37634 ac_header_preproc=yes
37635 else
37636 echo "$as_me: failed program was:" >&5
37637 sed 's/^/| /' conftest.$ac_ext >&5
37639 ac_header_preproc=no
37641 rm -f conftest.err conftest.$ac_ext
37642 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37643 echo "${ECHO_T}$ac_header_preproc" >&6
37645 # So? What about this header?
37646 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37647 yes:no: )
37648 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37649 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37650 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37651 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37652 ac_header_preproc=yes
37654 no:yes:* )
37655 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37656 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37657 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37658 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37659 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37660 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37661 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37662 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37663 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37664 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37665 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37666 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37668 cat <<\_ASBOX
37669 ## ----------------------------------------- ##
37670 ## Report this to the package-unused lists. ##
37671 ## ----------------------------------------- ##
37672 _ASBOX
37674 sed "s/^/$as_me: WARNING: /" >&2
37676 esac
37677 echo "$as_me:$LINENO: checking for $ac_header" >&5
37678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37680 echo $ECHO_N "(cached) $ECHO_C" >&6
37681 else
37682 eval "$as_ac_Header=\$ac_header_preproc"
37684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37685 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37688 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37689 cat >>confdefs.h <<_ACEOF
37690 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37691 _ACEOF
37695 done
37698 echo "$as_me:$LINENO: checking for poll" >&5
37699 echo $ECHO_N "checking for poll... $ECHO_C" >&6
37700 if test "${glibcxx_cv_POLL+set}" = set; then
37701 echo $ECHO_N "(cached) $ECHO_C" >&6
37702 else
37704 if test x$gcc_no_link = xyes; then
37705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37707 { (exit 1); exit 1; }; }
37709 cat >conftest.$ac_ext <<_ACEOF
37710 /* confdefs.h. */
37711 _ACEOF
37712 cat confdefs.h >>conftest.$ac_ext
37713 cat >>conftest.$ac_ext <<_ACEOF
37714 /* end confdefs.h. */
37715 #include <poll.h>
37717 main ()
37719 struct pollfd pfd[1];
37720 pfd[0].events = POLLIN;
37721 poll(pfd, 1, 0);
37723 return 0;
37725 _ACEOF
37726 rm -f conftest.$ac_objext conftest$ac_exeext
37727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37728 (eval $ac_link) 2>conftest.er1
37729 ac_status=$?
37730 grep -v '^ *+' conftest.er1 >conftest.err
37731 rm -f conftest.er1
37732 cat conftest.err >&5
37733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37734 (exit $ac_status); } &&
37735 { ac_try='test -z "$ac_c_werror_flag"
37736 || test ! -s conftest.err'
37737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37738 (eval $ac_try) 2>&5
37739 ac_status=$?
37740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37741 (exit $ac_status); }; } &&
37742 { ac_try='test -s conftest$ac_exeext'
37743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37744 (eval $ac_try) 2>&5
37745 ac_status=$?
37746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37747 (exit $ac_status); }; }; then
37748 glibcxx_cv_POLL=yes
37749 else
37750 echo "$as_me: failed program was:" >&5
37751 sed 's/^/| /' conftest.$ac_ext >&5
37753 glibcxx_cv_POLL=no
37755 rm -f conftest.err conftest.$ac_objext \
37756 conftest$ac_exeext conftest.$ac_ext
37760 if test $glibcxx_cv_POLL = yes; then
37762 cat >>confdefs.h <<\_ACEOF
37763 #define HAVE_POLL 1
37764 _ACEOF
37767 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
37768 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
37771 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
37772 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
37773 if test "${glibcxx_cv_S_ISREG+set}" = set; then
37774 echo $ECHO_N "(cached) $ECHO_C" >&6
37775 else
37777 if test x$gcc_no_link = xyes; then
37778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37780 { (exit 1); exit 1; }; }
37782 cat >conftest.$ac_ext <<_ACEOF
37783 /* confdefs.h. */
37784 _ACEOF
37785 cat confdefs.h >>conftest.$ac_ext
37786 cat >>conftest.$ac_ext <<_ACEOF
37787 /* end confdefs.h. */
37788 #include <sys/stat.h>
37790 main ()
37792 struct stat buffer;
37793 fstat(0, &buffer);
37794 S_ISREG(buffer.st_mode);
37796 return 0;
37798 _ACEOF
37799 rm -f conftest.$ac_objext conftest$ac_exeext
37800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37801 (eval $ac_link) 2>conftest.er1
37802 ac_status=$?
37803 grep -v '^ *+' conftest.er1 >conftest.err
37804 rm -f conftest.er1
37805 cat conftest.err >&5
37806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37807 (exit $ac_status); } &&
37808 { ac_try='test -z "$ac_c_werror_flag"
37809 || test ! -s conftest.err'
37810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37811 (eval $ac_try) 2>&5
37812 ac_status=$?
37813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37814 (exit $ac_status); }; } &&
37815 { ac_try='test -s conftest$ac_exeext'
37816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37817 (eval $ac_try) 2>&5
37818 ac_status=$?
37819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37820 (exit $ac_status); }; }; then
37821 glibcxx_cv_S_ISREG=yes
37822 else
37823 echo "$as_me: failed program was:" >&5
37824 sed 's/^/| /' conftest.$ac_ext >&5
37826 glibcxx_cv_S_ISREG=no
37828 rm -f conftest.err conftest.$ac_objext \
37829 conftest$ac_exeext conftest.$ac_ext
37833 if test "${glibcxx_cv_S_IFREG+set}" = set; then
37834 echo $ECHO_N "(cached) $ECHO_C" >&6
37835 else
37837 if test x$gcc_no_link = xyes; then
37838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37840 { (exit 1); exit 1; }; }
37842 cat >conftest.$ac_ext <<_ACEOF
37843 /* confdefs.h. */
37844 _ACEOF
37845 cat confdefs.h >>conftest.$ac_ext
37846 cat >>conftest.$ac_ext <<_ACEOF
37847 /* end confdefs.h. */
37848 #include <sys/stat.h>
37850 main ()
37852 struct stat buffer;
37853 fstat(0, &buffer);
37854 S_IFREG & buffer.st_mode;
37856 return 0;
37858 _ACEOF
37859 rm -f conftest.$ac_objext conftest$ac_exeext
37860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37861 (eval $ac_link) 2>conftest.er1
37862 ac_status=$?
37863 grep -v '^ *+' conftest.er1 >conftest.err
37864 rm -f conftest.er1
37865 cat conftest.err >&5
37866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37867 (exit $ac_status); } &&
37868 { ac_try='test -z "$ac_c_werror_flag"
37869 || test ! -s conftest.err'
37870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37871 (eval $ac_try) 2>&5
37872 ac_status=$?
37873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37874 (exit $ac_status); }; } &&
37875 { ac_try='test -s conftest$ac_exeext'
37876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37877 (eval $ac_try) 2>&5
37878 ac_status=$?
37879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37880 (exit $ac_status); }; }; then
37881 glibcxx_cv_S_IFREG=yes
37882 else
37883 echo "$as_me: failed program was:" >&5
37884 sed 's/^/| /' conftest.$ac_ext >&5
37886 glibcxx_cv_S_IFREG=no
37888 rm -f conftest.err conftest.$ac_objext \
37889 conftest$ac_exeext conftest.$ac_ext
37893 res=no
37894 if test $glibcxx_cv_S_ISREG = yes; then
37896 cat >>confdefs.h <<\_ACEOF
37897 #define HAVE_S_ISREG 1
37898 _ACEOF
37900 res=S_ISREG
37901 elif test $glibcxx_cv_S_IFREG = yes; then
37903 cat >>confdefs.h <<\_ACEOF
37904 #define HAVE_S_IFREG 1
37905 _ACEOF
37907 res=S_IFREG
37909 echo "$as_me:$LINENO: result: $res" >&5
37910 echo "${ECHO_T}$res" >&6
37913 # For xsputn_2().
37915 for ac_header in sys/uio.h
37917 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37919 echo "$as_me:$LINENO: checking for $ac_header" >&5
37920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37922 echo $ECHO_N "(cached) $ECHO_C" >&6
37924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37926 else
37927 # Is the header compilable?
37928 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37929 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37930 cat >conftest.$ac_ext <<_ACEOF
37931 /* confdefs.h. */
37932 _ACEOF
37933 cat confdefs.h >>conftest.$ac_ext
37934 cat >>conftest.$ac_ext <<_ACEOF
37935 /* end confdefs.h. */
37936 $ac_includes_default
37937 #include <$ac_header>
37938 _ACEOF
37939 rm -f conftest.$ac_objext
37940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37941 (eval $ac_compile) 2>conftest.er1
37942 ac_status=$?
37943 grep -v '^ *+' conftest.er1 >conftest.err
37944 rm -f conftest.er1
37945 cat conftest.err >&5
37946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37947 (exit $ac_status); } &&
37948 { ac_try='test -z "$ac_c_werror_flag"
37949 || test ! -s conftest.err'
37950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37951 (eval $ac_try) 2>&5
37952 ac_status=$?
37953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37954 (exit $ac_status); }; } &&
37955 { ac_try='test -s conftest.$ac_objext'
37956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37957 (eval $ac_try) 2>&5
37958 ac_status=$?
37959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37960 (exit $ac_status); }; }; then
37961 ac_header_compiler=yes
37962 else
37963 echo "$as_me: failed program was:" >&5
37964 sed 's/^/| /' conftest.$ac_ext >&5
37966 ac_header_compiler=no
37968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37969 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37970 echo "${ECHO_T}$ac_header_compiler" >&6
37972 # Is the header present?
37973 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37974 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37975 cat >conftest.$ac_ext <<_ACEOF
37976 /* confdefs.h. */
37977 _ACEOF
37978 cat confdefs.h >>conftest.$ac_ext
37979 cat >>conftest.$ac_ext <<_ACEOF
37980 /* end confdefs.h. */
37981 #include <$ac_header>
37982 _ACEOF
37983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37984 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37985 ac_status=$?
37986 grep -v '^ *+' conftest.er1 >conftest.err
37987 rm -f conftest.er1
37988 cat conftest.err >&5
37989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37990 (exit $ac_status); } >/dev/null; then
37991 if test -s conftest.err; then
37992 ac_cpp_err=$ac_c_preproc_warn_flag
37993 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37994 else
37995 ac_cpp_err=
37997 else
37998 ac_cpp_err=yes
38000 if test -z "$ac_cpp_err"; then
38001 ac_header_preproc=yes
38002 else
38003 echo "$as_me: failed program was:" >&5
38004 sed 's/^/| /' conftest.$ac_ext >&5
38006 ac_header_preproc=no
38008 rm -f conftest.err conftest.$ac_ext
38009 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38010 echo "${ECHO_T}$ac_header_preproc" >&6
38012 # So? What about this header?
38013 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38014 yes:no: )
38015 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38016 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38017 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38018 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38019 ac_header_preproc=yes
38021 no:yes:* )
38022 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38023 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38024 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38025 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38026 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38027 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38028 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38029 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38031 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38032 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38033 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38035 cat <<\_ASBOX
38036 ## ----------------------------------------- ##
38037 ## Report this to the package-unused lists. ##
38038 ## ----------------------------------------- ##
38039 _ASBOX
38041 sed "s/^/$as_me: WARNING: /" >&2
38043 esac
38044 echo "$as_me:$LINENO: checking for $ac_header" >&5
38045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38047 echo $ECHO_N "(cached) $ECHO_C" >&6
38048 else
38049 eval "$as_ac_Header=\$ac_header_preproc"
38051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38056 cat >>confdefs.h <<_ACEOF
38057 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38058 _ACEOF
38062 done
38065 echo "$as_me:$LINENO: checking for writev" >&5
38066 echo $ECHO_N "checking for writev... $ECHO_C" >&6
38067 if test "${glibcxx_cv_WRITEV+set}" = set; then
38068 echo $ECHO_N "(cached) $ECHO_C" >&6
38069 else
38071 if test x$gcc_no_link = xyes; then
38072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38074 { (exit 1); exit 1; }; }
38076 cat >conftest.$ac_ext <<_ACEOF
38077 /* confdefs.h. */
38078 _ACEOF
38079 cat confdefs.h >>conftest.$ac_ext
38080 cat >>conftest.$ac_ext <<_ACEOF
38081 /* end confdefs.h. */
38082 #include <sys/uio.h>
38084 main ()
38086 struct iovec iov[2];
38087 writev(0, iov, 0);
38089 return 0;
38091 _ACEOF
38092 rm -f conftest.$ac_objext conftest$ac_exeext
38093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38094 (eval $ac_link) 2>conftest.er1
38095 ac_status=$?
38096 grep -v '^ *+' conftest.er1 >conftest.err
38097 rm -f conftest.er1
38098 cat conftest.err >&5
38099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38100 (exit $ac_status); } &&
38101 { ac_try='test -z "$ac_c_werror_flag"
38102 || test ! -s conftest.err'
38103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38104 (eval $ac_try) 2>&5
38105 ac_status=$?
38106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38107 (exit $ac_status); }; } &&
38108 { ac_try='test -s conftest$ac_exeext'
38109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38110 (eval $ac_try) 2>&5
38111 ac_status=$?
38112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38113 (exit $ac_status); }; }; then
38114 glibcxx_cv_WRITEV=yes
38115 else
38116 echo "$as_me: failed program was:" >&5
38117 sed 's/^/| /' conftest.$ac_ext >&5
38119 glibcxx_cv_WRITEV=no
38121 rm -f conftest.err conftest.$ac_objext \
38122 conftest$ac_exeext conftest.$ac_ext
38126 if test $glibcxx_cv_WRITEV = yes; then
38128 cat >>confdefs.h <<\_ACEOF
38129 #define HAVE_WRITEV 1
38130 _ACEOF
38133 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
38134 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
38137 # For the __streamoff_base_type typedef.
38139 echo "$as_me:$LINENO: checking for int64_t" >&5
38140 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
38141 if test "${glibcxx_cv_INT64_T+set}" = set; then
38142 echo $ECHO_N "(cached) $ECHO_C" >&6
38143 else
38145 cat >conftest.$ac_ext <<_ACEOF
38146 /* confdefs.h. */
38147 _ACEOF
38148 cat confdefs.h >>conftest.$ac_ext
38149 cat >>conftest.$ac_ext <<_ACEOF
38150 /* end confdefs.h. */
38151 #include <stdint.h>
38153 main ()
38155 int64_t var;
38157 return 0;
38159 _ACEOF
38160 rm -f conftest.$ac_objext
38161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38162 (eval $ac_compile) 2>conftest.er1
38163 ac_status=$?
38164 grep -v '^ *+' conftest.er1 >conftest.err
38165 rm -f conftest.er1
38166 cat conftest.err >&5
38167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38168 (exit $ac_status); } &&
38169 { ac_try='test -z "$ac_c_werror_flag"
38170 || test ! -s conftest.err'
38171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38172 (eval $ac_try) 2>&5
38173 ac_status=$?
38174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38175 (exit $ac_status); }; } &&
38176 { ac_try='test -s conftest.$ac_objext'
38177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38178 (eval $ac_try) 2>&5
38179 ac_status=$?
38180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38181 (exit $ac_status); }; }; then
38182 glibcxx_cv_INT64_T=yes
38183 else
38184 echo "$as_me: failed program was:" >&5
38185 sed 's/^/| /' conftest.$ac_ext >&5
38187 glibcxx_cv_INT64_T=no
38189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38193 if test $glibcxx_cv_INT64_T = yes; then
38195 cat >>confdefs.h <<\_ACEOF
38196 #define HAVE_INT64_T 1
38197 _ACEOF
38200 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
38201 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
38204 # For LFS support.
38208 ac_ext=cc
38209 ac_cpp='$CXXCPP $CPPFLAGS'
38210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38214 ac_save_CXXFLAGS="$CXXFLAGS"
38215 CXXFLAGS="$CXXFLAGS -fno-exceptions"
38216 echo "$as_me:$LINENO: checking for LFS support" >&5
38217 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
38218 if test "${glibcxx_cv_LFS+set}" = set; then
38219 echo $ECHO_N "(cached) $ECHO_C" >&6
38220 else
38222 if test x$gcc_no_link = xyes; then
38223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38225 { (exit 1); exit 1; }; }
38227 cat >conftest.$ac_ext <<_ACEOF
38228 /* confdefs.h. */
38229 _ACEOF
38230 cat confdefs.h >>conftest.$ac_ext
38231 cat >>conftest.$ac_ext <<_ACEOF
38232 /* end confdefs.h. */
38233 #include <unistd.h>
38234 #include <stdio.h>
38235 #include <sys/stat.h>
38238 main ()
38240 FILE* fp;
38241 fopen64("t", "w");
38242 fseeko64(fp, 0, SEEK_CUR);
38243 ftello64(fp);
38244 lseek64(1, 0, SEEK_CUR);
38245 struct stat64 buf;
38246 fstat64(1, &buf);
38248 return 0;
38250 _ACEOF
38251 rm -f conftest.$ac_objext conftest$ac_exeext
38252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38253 (eval $ac_link) 2>conftest.er1
38254 ac_status=$?
38255 grep -v '^ *+' conftest.er1 >conftest.err
38256 rm -f conftest.er1
38257 cat conftest.err >&5
38258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38259 (exit $ac_status); } &&
38260 { ac_try='test -z "$ac_cxx_werror_flag"
38261 || test ! -s conftest.err'
38262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38263 (eval $ac_try) 2>&5
38264 ac_status=$?
38265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38266 (exit $ac_status); }; } &&
38267 { ac_try='test -s conftest$ac_exeext'
38268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38269 (eval $ac_try) 2>&5
38270 ac_status=$?
38271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38272 (exit $ac_status); }; }; then
38273 glibcxx_cv_LFS=yes
38274 else
38275 echo "$as_me: failed program was:" >&5
38276 sed 's/^/| /' conftest.$ac_ext >&5
38278 glibcxx_cv_LFS=no
38280 rm -f conftest.err conftest.$ac_objext \
38281 conftest$ac_exeext conftest.$ac_ext
38285 if test $glibcxx_cv_LFS = yes; then
38287 cat >>confdefs.h <<\_ACEOF
38288 #define _GLIBCXX_USE_LFS 1
38289 _ACEOF
38292 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
38293 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
38294 CXXFLAGS="$ac_save_CXXFLAGS"
38295 ac_ext=c
38296 ac_cpp='$CPP $CPPFLAGS'
38297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38303 # For C99 support to TR1.
38308 ac_ext=cc
38309 ac_cpp='$CXXCPP $CPPFLAGS'
38310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38315 # Check for the existence of <complex.h> complex math functions used
38316 # by tr1/complex.
38318 for ac_header in complex.h
38320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38322 echo "$as_me:$LINENO: checking for $ac_header" >&5
38323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38325 echo $ECHO_N "(cached) $ECHO_C" >&6
38327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38329 else
38330 # Is the header compilable?
38331 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38332 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38333 cat >conftest.$ac_ext <<_ACEOF
38334 /* confdefs.h. */
38335 _ACEOF
38336 cat confdefs.h >>conftest.$ac_ext
38337 cat >>conftest.$ac_ext <<_ACEOF
38338 /* end confdefs.h. */
38339 $ac_includes_default
38340 #include <$ac_header>
38341 _ACEOF
38342 rm -f conftest.$ac_objext
38343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38344 (eval $ac_compile) 2>conftest.er1
38345 ac_status=$?
38346 grep -v '^ *+' conftest.er1 >conftest.err
38347 rm -f conftest.er1
38348 cat conftest.err >&5
38349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38350 (exit $ac_status); } &&
38351 { ac_try='test -z "$ac_cxx_werror_flag"
38352 || test ! -s conftest.err'
38353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38354 (eval $ac_try) 2>&5
38355 ac_status=$?
38356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38357 (exit $ac_status); }; } &&
38358 { ac_try='test -s conftest.$ac_objext'
38359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38360 (eval $ac_try) 2>&5
38361 ac_status=$?
38362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38363 (exit $ac_status); }; }; then
38364 ac_header_compiler=yes
38365 else
38366 echo "$as_me: failed program was:" >&5
38367 sed 's/^/| /' conftest.$ac_ext >&5
38369 ac_header_compiler=no
38371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38372 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38373 echo "${ECHO_T}$ac_header_compiler" >&6
38375 # Is the header present?
38376 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38377 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38378 cat >conftest.$ac_ext <<_ACEOF
38379 /* confdefs.h. */
38380 _ACEOF
38381 cat confdefs.h >>conftest.$ac_ext
38382 cat >>conftest.$ac_ext <<_ACEOF
38383 /* end confdefs.h. */
38384 #include <$ac_header>
38385 _ACEOF
38386 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38387 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38388 ac_status=$?
38389 grep -v '^ *+' conftest.er1 >conftest.err
38390 rm -f conftest.er1
38391 cat conftest.err >&5
38392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38393 (exit $ac_status); } >/dev/null; then
38394 if test -s conftest.err; then
38395 ac_cpp_err=$ac_cxx_preproc_warn_flag
38396 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38397 else
38398 ac_cpp_err=
38400 else
38401 ac_cpp_err=yes
38403 if test -z "$ac_cpp_err"; then
38404 ac_header_preproc=yes
38405 else
38406 echo "$as_me: failed program was:" >&5
38407 sed 's/^/| /' conftest.$ac_ext >&5
38409 ac_header_preproc=no
38411 rm -f conftest.err conftest.$ac_ext
38412 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38413 echo "${ECHO_T}$ac_header_preproc" >&6
38415 # So? What about this header?
38416 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38417 yes:no: )
38418 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38419 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38420 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38421 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38422 ac_header_preproc=yes
38424 no:yes:* )
38425 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38426 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38427 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38428 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38429 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38430 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38431 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38432 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38434 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38435 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38436 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38438 cat <<\_ASBOX
38439 ## ----------------------------------------- ##
38440 ## Report this to the package-unused lists. ##
38441 ## ----------------------------------------- ##
38442 _ASBOX
38444 sed "s/^/$as_me: WARNING: /" >&2
38446 esac
38447 echo "$as_me:$LINENO: checking for $ac_header" >&5
38448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38450 echo $ECHO_N "(cached) $ECHO_C" >&6
38451 else
38452 eval "$as_ac_Header=\$ac_header_preproc"
38454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38455 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38458 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38459 cat >>confdefs.h <<_ACEOF
38460 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38461 _ACEOF
38462 ac_has_complex_h=yes
38463 else
38464 ac_has_complex_h=no
38467 done
38469 ac_c99_complex_tr1=no;
38470 if test x"$ac_has_complex_h" = x"yes"; then
38471 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
38472 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
38473 cat >conftest.$ac_ext <<_ACEOF
38474 /* confdefs.h. */
38475 _ACEOF
38476 cat confdefs.h >>conftest.$ac_ext
38477 cat >>conftest.$ac_ext <<_ACEOF
38478 /* end confdefs.h. */
38479 #include <complex.h>
38481 main ()
38483 typedef __complex__ float float_type; float_type tmpf;
38484 cacosf(tmpf);
38485 casinf(tmpf);
38486 catanf(tmpf);
38487 cacoshf(tmpf);
38488 casinhf(tmpf);
38489 catanhf(tmpf);
38490 typedef __complex__ double double_type; double_type tmpd;
38491 cacos(tmpd);
38492 casin(tmpd);
38493 catan(tmpd);
38494 cacosh(tmpd);
38495 casinh(tmpd);
38496 catanh(tmpd);
38497 typedef __complex__ long double ld_type; ld_type tmpld;
38498 cacosl(tmpld);
38499 casinl(tmpld);
38500 catanl(tmpld);
38501 cacoshl(tmpld);
38502 casinhl(tmpld);
38503 catanhl(tmpld);
38506 return 0;
38508 _ACEOF
38509 rm -f conftest.$ac_objext
38510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38511 (eval $ac_compile) 2>conftest.er1
38512 ac_status=$?
38513 grep -v '^ *+' conftest.er1 >conftest.err
38514 rm -f conftest.er1
38515 cat conftest.err >&5
38516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38517 (exit $ac_status); } &&
38518 { ac_try='test -z "$ac_cxx_werror_flag"
38519 || test ! -s conftest.err'
38520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38521 (eval $ac_try) 2>&5
38522 ac_status=$?
38523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38524 (exit $ac_status); }; } &&
38525 { ac_try='test -s conftest.$ac_objext'
38526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38527 (eval $ac_try) 2>&5
38528 ac_status=$?
38529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38530 (exit $ac_status); }; }; then
38531 ac_c99_complex_tr1=yes
38532 else
38533 echo "$as_me: failed program was:" >&5
38534 sed 's/^/| /' conftest.$ac_ext >&5
38536 ac_c99_complex_tr1=no
38538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38540 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
38541 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
38542 if test x"$ac_c99_complex_tr1" = x"yes"; then
38544 cat >>confdefs.h <<\_ACEOF
38545 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
38546 _ACEOF
38550 # Check for the existence of <ctype.h> functions.
38551 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
38552 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
38553 if test "${ac_c99_ctype_tr1+set}" = set; then
38554 echo $ECHO_N "(cached) $ECHO_C" >&6
38555 else
38557 cat >conftest.$ac_ext <<_ACEOF
38558 /* confdefs.h. */
38559 _ACEOF
38560 cat confdefs.h >>conftest.$ac_ext
38561 cat >>conftest.$ac_ext <<_ACEOF
38562 /* end confdefs.h. */
38563 #include <ctype.h>
38565 main ()
38567 int ch;
38568 int ret;
38569 ret = isblank(ch);
38572 return 0;
38574 _ACEOF
38575 rm -f conftest.$ac_objext
38576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38577 (eval $ac_compile) 2>conftest.er1
38578 ac_status=$?
38579 grep -v '^ *+' conftest.er1 >conftest.err
38580 rm -f conftest.er1
38581 cat conftest.err >&5
38582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38583 (exit $ac_status); } &&
38584 { ac_try='test -z "$ac_cxx_werror_flag"
38585 || test ! -s conftest.err'
38586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38587 (eval $ac_try) 2>&5
38588 ac_status=$?
38589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38590 (exit $ac_status); }; } &&
38591 { ac_try='test -s conftest.$ac_objext'
38592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38593 (eval $ac_try) 2>&5
38594 ac_status=$?
38595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38596 (exit $ac_status); }; }; then
38597 ac_c99_ctype_tr1=yes
38598 else
38599 echo "$as_me: failed program was:" >&5
38600 sed 's/^/| /' conftest.$ac_ext >&5
38602 ac_c99_ctype_tr1=no
38604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38608 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
38609 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
38610 if test x"$ac_c99_ctype_tr1" = x"yes"; then
38612 cat >>confdefs.h <<\_ACEOF
38613 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
38614 _ACEOF
38618 # Check for the existence of <fenv.h> functions.
38620 for ac_header in fenv.h
38622 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38624 echo "$as_me:$LINENO: checking for $ac_header" >&5
38625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38627 echo $ECHO_N "(cached) $ECHO_C" >&6
38629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38631 else
38632 # Is the header compilable?
38633 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38634 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38635 cat >conftest.$ac_ext <<_ACEOF
38636 /* confdefs.h. */
38637 _ACEOF
38638 cat confdefs.h >>conftest.$ac_ext
38639 cat >>conftest.$ac_ext <<_ACEOF
38640 /* end confdefs.h. */
38641 $ac_includes_default
38642 #include <$ac_header>
38643 _ACEOF
38644 rm -f conftest.$ac_objext
38645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38646 (eval $ac_compile) 2>conftest.er1
38647 ac_status=$?
38648 grep -v '^ *+' conftest.er1 >conftest.err
38649 rm -f conftest.er1
38650 cat conftest.err >&5
38651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38652 (exit $ac_status); } &&
38653 { ac_try='test -z "$ac_cxx_werror_flag"
38654 || test ! -s conftest.err'
38655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38656 (eval $ac_try) 2>&5
38657 ac_status=$?
38658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38659 (exit $ac_status); }; } &&
38660 { ac_try='test -s conftest.$ac_objext'
38661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38662 (eval $ac_try) 2>&5
38663 ac_status=$?
38664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38665 (exit $ac_status); }; }; then
38666 ac_header_compiler=yes
38667 else
38668 echo "$as_me: failed program was:" >&5
38669 sed 's/^/| /' conftest.$ac_ext >&5
38671 ac_header_compiler=no
38673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38674 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38675 echo "${ECHO_T}$ac_header_compiler" >&6
38677 # Is the header present?
38678 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38679 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38680 cat >conftest.$ac_ext <<_ACEOF
38681 /* confdefs.h. */
38682 _ACEOF
38683 cat confdefs.h >>conftest.$ac_ext
38684 cat >>conftest.$ac_ext <<_ACEOF
38685 /* end confdefs.h. */
38686 #include <$ac_header>
38687 _ACEOF
38688 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38689 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38690 ac_status=$?
38691 grep -v '^ *+' conftest.er1 >conftest.err
38692 rm -f conftest.er1
38693 cat conftest.err >&5
38694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38695 (exit $ac_status); } >/dev/null; then
38696 if test -s conftest.err; then
38697 ac_cpp_err=$ac_cxx_preproc_warn_flag
38698 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38699 else
38700 ac_cpp_err=
38702 else
38703 ac_cpp_err=yes
38705 if test -z "$ac_cpp_err"; then
38706 ac_header_preproc=yes
38707 else
38708 echo "$as_me: failed program was:" >&5
38709 sed 's/^/| /' conftest.$ac_ext >&5
38711 ac_header_preproc=no
38713 rm -f conftest.err conftest.$ac_ext
38714 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38715 echo "${ECHO_T}$ac_header_preproc" >&6
38717 # So? What about this header?
38718 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38719 yes:no: )
38720 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38721 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38722 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38723 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38724 ac_header_preproc=yes
38726 no:yes:* )
38727 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38728 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38729 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38730 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38731 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38732 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38733 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38734 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38736 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38737 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38738 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38740 cat <<\_ASBOX
38741 ## ----------------------------------------- ##
38742 ## Report this to the package-unused lists. ##
38743 ## ----------------------------------------- ##
38744 _ASBOX
38746 sed "s/^/$as_me: WARNING: /" >&2
38748 esac
38749 echo "$as_me:$LINENO: checking for $ac_header" >&5
38750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38752 echo $ECHO_N "(cached) $ECHO_C" >&6
38753 else
38754 eval "$as_ac_Header=\$ac_header_preproc"
38756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38760 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38761 cat >>confdefs.h <<_ACEOF
38762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38763 _ACEOF
38764 ac_has_fenv_h=yes
38765 else
38766 ac_has_fenv_h=no
38769 done
38771 ac_c99_fenv_tr1=no;
38772 if test x"$ac_has_fenv_h" = x"yes"; then
38773 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
38774 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
38775 cat >conftest.$ac_ext <<_ACEOF
38776 /* confdefs.h. */
38777 _ACEOF
38778 cat confdefs.h >>conftest.$ac_ext
38779 cat >>conftest.$ac_ext <<_ACEOF
38780 /* end confdefs.h. */
38781 #include <fenv.h>
38783 main ()
38785 int except, mode;
38786 fexcept_t* pflag;
38787 fenv_t* penv;
38788 int ret;
38789 ret = feclearexcept(except);
38790 ret = fegetexceptflag(pflag, except);
38791 ret = feraiseexcept(except);
38792 ret = fesetexceptflag(pflag, except);
38793 ret = fetestexcept(except);
38794 ret = fegetround();
38795 ret = fesetround(mode);
38796 ret = fegetenv(penv);
38797 ret = feholdexcept(penv);
38798 ret = fesetenv(penv);
38799 ret = feupdateenv(penv);
38802 return 0;
38804 _ACEOF
38805 rm -f conftest.$ac_objext
38806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38807 (eval $ac_compile) 2>conftest.er1
38808 ac_status=$?
38809 grep -v '^ *+' conftest.er1 >conftest.err
38810 rm -f conftest.er1
38811 cat conftest.err >&5
38812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38813 (exit $ac_status); } &&
38814 { ac_try='test -z "$ac_cxx_werror_flag"
38815 || test ! -s conftest.err'
38816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38817 (eval $ac_try) 2>&5
38818 ac_status=$?
38819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38820 (exit $ac_status); }; } &&
38821 { ac_try='test -s conftest.$ac_objext'
38822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38823 (eval $ac_try) 2>&5
38824 ac_status=$?
38825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38826 (exit $ac_status); }; }; then
38827 ac_c99_fenv_tr1=yes
38828 else
38829 echo "$as_me: failed program was:" >&5
38830 sed 's/^/| /' conftest.$ac_ext >&5
38832 ac_c99_fenv_tr1=no
38834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38836 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
38837 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
38838 if test x"$ac_c99_fenv_tr1" = x"yes"; then
38840 cat >>confdefs.h <<\_ACEOF
38841 #define _GLIBCXX_USE_C99_FENV_TR1 1
38842 _ACEOF
38846 # Check for the existence of <stdint.h> types.
38847 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
38848 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
38849 if test "${ac_c99_stdint_tr1+set}" = set; then
38850 echo $ECHO_N "(cached) $ECHO_C" >&6
38851 else
38853 cat >conftest.$ac_ext <<_ACEOF
38854 /* confdefs.h. */
38855 _ACEOF
38856 cat confdefs.h >>conftest.$ac_ext
38857 cat >>conftest.$ac_ext <<_ACEOF
38858 /* end confdefs.h. */
38859 #include <stdint.h>
38861 main ()
38863 typedef int8_t my_int8_t;
38864 typedef int16_t my_int16_t;
38865 typedef int32_t my_int32_t;
38866 typedef int64_t my_int64_t;
38867 typedef int_fast8_t my_int_fast8_t;
38868 typedef int_fast16_t my_int_fast16_t;
38869 typedef int_fast32_t my_int_fast32_t;
38870 typedef int_fast64_t my_int_fast64_t;
38871 typedef int_least8_t my_int_least8_t;
38872 typedef int_least16_t my_int_least16_t;
38873 typedef int_least32_t my_int_least32_t;
38874 typedef int_least64_t my_int_least64_t;
38875 typedef intmax_t my_intmax_t;
38876 typedef intptr_t my_intptr_t;
38877 typedef uint8_t my_uint8_t;
38878 typedef uint16_t my_uint16_t;
38879 typedef uint32_t my_uint32_t;
38880 typedef uint64_t my_uint64_t;
38881 typedef uint_fast8_t my_uint_fast8_t;
38882 typedef uint_fast16_t my_uint_fast16_t;
38883 typedef uint_fast32_t my_uint_fast32_t;
38884 typedef uint_fast64_t my_uint_fast64_t;
38885 typedef uint_least8_t my_uint_least8_t;
38886 typedef uint_least16_t my_uint_least16_t;
38887 typedef uint_least32_t my_uint_least32_t;
38888 typedef uint_least64_t my_uint_least64_t;
38889 typedef uintmax_t my_uintmax_t;
38890 typedef uintptr_t my_uintptr_t;
38893 return 0;
38895 _ACEOF
38896 rm -f conftest.$ac_objext
38897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38898 (eval $ac_compile) 2>conftest.er1
38899 ac_status=$?
38900 grep -v '^ *+' conftest.er1 >conftest.err
38901 rm -f conftest.er1
38902 cat conftest.err >&5
38903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38904 (exit $ac_status); } &&
38905 { ac_try='test -z "$ac_cxx_werror_flag"
38906 || test ! -s conftest.err'
38907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38908 (eval $ac_try) 2>&5
38909 ac_status=$?
38910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38911 (exit $ac_status); }; } &&
38912 { ac_try='test -s conftest.$ac_objext'
38913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38914 (eval $ac_try) 2>&5
38915 ac_status=$?
38916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38917 (exit $ac_status); }; }; then
38918 ac_c99_stdint_tr1=yes
38919 else
38920 echo "$as_me: failed program was:" >&5
38921 sed 's/^/| /' conftest.$ac_ext >&5
38923 ac_c99_stdint_tr1=no
38925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38929 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
38930 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
38931 if test x"$ac_c99_stdint_tr1" = x"yes"; then
38933 cat >>confdefs.h <<\_ACEOF
38934 #define _GLIBCXX_USE_C99_STDINT_TR1 1
38935 _ACEOF
38939 # Check for the existence of <math.h> functions.
38940 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
38941 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
38942 if test "${ac_c99_math_tr1+set}" = set; then
38943 echo $ECHO_N "(cached) $ECHO_C" >&6
38944 else
38946 cat >conftest.$ac_ext <<_ACEOF
38947 /* confdefs.h. */
38948 _ACEOF
38949 cat confdefs.h >>conftest.$ac_ext
38950 cat >>conftest.$ac_ext <<_ACEOF
38951 /* end confdefs.h. */
38952 #include <math.h>
38954 main ()
38956 typedef double_t my_double_t;
38957 typedef float_t my_float_t;
38958 acosh(0.0);
38959 acoshf(0.0f);
38960 acoshl(0.0l);
38961 asinh(0.0);
38962 asinhf(0.0f);
38963 asinhl(0.0l);
38964 atanh(0.0);
38965 atanhf(0.0f);
38966 atanhl(0.0l);
38967 cbrt(0.0);
38968 cbrtf(0.0f);
38969 cbrtl(0.0l);
38970 copysign(0.0, 0.0);
38971 copysignf(0.0f, 0.0f);
38972 copysignl(0.0l, 0.0l);
38973 erf(0.0);
38974 erff(0.0f);
38975 erfl(0.0l);
38976 erfc(0.0);
38977 erfcf(0.0f);
38978 erfcl(0.0l);
38979 exp2(0.0);
38980 exp2f(0.0f);
38981 exp2l(0.0l);
38982 expm1(0.0);
38983 expm1f(0.0f);
38984 expm1l(0.0l);
38985 fdim(0.0, 0.0);
38986 fdimf(0.0f, 0.0f);
38987 fdiml(0.0l, 0.0l);
38988 fma(0.0, 0.0, 0.0);
38989 fmaf(0.0f, 0.0f, 0.0f);
38990 fmal(0.0l, 0.0l, 0.0l);
38991 fmax(0.0, 0.0);
38992 fmaxf(0.0f, 0.0f);
38993 fmaxl(0.0l, 0.0l);
38994 fmin(0.0, 0.0);
38995 fminf(0.0f, 0.0f);
38996 fminl(0.0l, 0.0l);
38997 hypot(0.0, 0.0);
38998 hypotf(0.0f, 0.0f);
38999 hypotl(0.0l, 0.0l);
39000 ilogb(0.0);
39001 ilogbf(0.0f);
39002 ilogbl(0.0l);
39003 lgamma(0.0);
39004 lgammaf(0.0f);
39005 lgammal(0.0l);
39006 llrint(0.0);
39007 llrintf(0.0f);
39008 llrintl(0.0l);
39009 llround(0.0);
39010 llroundf(0.0f);
39011 llroundl(0.0l);
39012 log1p(0.0);
39013 log1pf(0.0f);
39014 log1pl(0.0l);
39015 log2(0.0);
39016 log2f(0.0f);
39017 log2l(0.0l);
39018 logb(0.0);
39019 logbf(0.0f);
39020 logbl(0.0l);
39021 lrint(0.0);
39022 lrintf(0.0f);
39023 lrintl(0.0l);
39024 lround(0.0);
39025 lroundf(0.0f);
39026 lroundl(0.0l);
39027 nan(0);
39028 nanf(0);
39029 nanl(0);
39030 nearbyint(0.0);
39031 nearbyintf(0.0f);
39032 nearbyintl(0.0l);
39033 nextafter(0.0, 0.0);
39034 nextafterf(0.0f, 0.0f);
39035 nextafterl(0.0l, 0.0l);
39036 nexttoward(0.0, 0.0);
39037 nexttowardf(0.0f, 0.0f);
39038 nexttowardl(0.0l, 0.0l);
39039 remainder(0.0, 0.0);
39040 remainderf(0.0f, 0.0f);
39041 remainderl(0.0l, 0.0l);
39042 remquo(0.0, 0.0, 0);
39043 remquo(0.0f, 0.0f, 0);
39044 remquo(0.0l, 0.0l, 0);
39045 rint(0.0);
39046 rintf(0.0f);
39047 rintl(0.0l);
39048 round(0.0);
39049 roundf(0.0f);
39050 roundl(0.0l);
39051 scalbln(0.0, 0l);
39052 scalblnf(0.0f, 0l);
39053 scalblnl(0.0l, 0l);
39054 scalbn(0.0, 0);
39055 scalbnf(0.0f, 0);
39056 scalbnl(0.0l, 0);
39057 tgamma(0.0);
39058 tgammaf(0.0f);
39059 tgammal(0.0l);
39060 trunc(0.0);
39061 truncf(0.0f);
39062 truncl(0.0l);
39065 return 0;
39067 _ACEOF
39068 rm -f conftest.$ac_objext
39069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39070 (eval $ac_compile) 2>conftest.er1
39071 ac_status=$?
39072 grep -v '^ *+' conftest.er1 >conftest.err
39073 rm -f conftest.er1
39074 cat conftest.err >&5
39075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39076 (exit $ac_status); } &&
39077 { ac_try='test -z "$ac_cxx_werror_flag"
39078 || test ! -s conftest.err'
39079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39080 (eval $ac_try) 2>&5
39081 ac_status=$?
39082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39083 (exit $ac_status); }; } &&
39084 { ac_try='test -s conftest.$ac_objext'
39085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39086 (eval $ac_try) 2>&5
39087 ac_status=$?
39088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39089 (exit $ac_status); }; }; then
39090 ac_c99_math_tr1=yes
39091 else
39092 echo "$as_me: failed program was:" >&5
39093 sed 's/^/| /' conftest.$ac_ext >&5
39095 ac_c99_math_tr1=no
39097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39101 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
39102 echo "${ECHO_T}$ac_c99_math_tr1" >&6
39103 if test x"$ac_c99_math_tr1" = x"yes"; then
39105 cat >>confdefs.h <<\_ACEOF
39106 #define _GLIBCXX_USE_C99_MATH_TR1 1
39107 _ACEOF
39111 # Check for the existence of <inttypes.h> functions (NB: doesn't make
39112 # sense if the previous check fails, per C99, 7.8/1).
39113 ac_c99_inttypes_tr1=no;
39114 if test x"$ac_c99_stdint_tr1" = x"yes"; then
39115 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
39116 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
39117 cat >conftest.$ac_ext <<_ACEOF
39118 /* confdefs.h. */
39119 _ACEOF
39120 cat confdefs.h >>conftest.$ac_ext
39121 cat >>conftest.$ac_ext <<_ACEOF
39122 /* end confdefs.h. */
39123 #include <inttypes.h>
39125 main ()
39127 intmax_t i, numer, denom, base;
39128 const char* s;
39129 char** endptr;
39130 intmax_t ret = imaxabs(i);
39131 imaxdiv_t dret = imaxdiv(numer, denom);
39132 ret = strtoimax(s, endptr, base);
39133 uintmax_t uret = strtoumax(s, endptr, base);
39136 return 0;
39138 _ACEOF
39139 rm -f conftest.$ac_objext
39140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39141 (eval $ac_compile) 2>conftest.er1
39142 ac_status=$?
39143 grep -v '^ *+' conftest.er1 >conftest.err
39144 rm -f conftest.er1
39145 cat conftest.err >&5
39146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39147 (exit $ac_status); } &&
39148 { ac_try='test -z "$ac_cxx_werror_flag"
39149 || test ! -s conftest.err'
39150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39151 (eval $ac_try) 2>&5
39152 ac_status=$?
39153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39154 (exit $ac_status); }; } &&
39155 { ac_try='test -s conftest.$ac_objext'
39156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39157 (eval $ac_try) 2>&5
39158 ac_status=$?
39159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39160 (exit $ac_status); }; }; then
39161 ac_c99_inttypes_tr1=yes
39162 else
39163 echo "$as_me: failed program was:" >&5
39164 sed 's/^/| /' conftest.$ac_ext >&5
39166 ac_c99_inttypes_tr1=no
39168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39170 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
39171 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
39172 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
39174 cat >>confdefs.h <<\_ACEOF
39175 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
39176 _ACEOF
39180 # Check for the existence of the <stdbool.h> header.
39182 for ac_header in stdbool.h
39184 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39186 echo "$as_me:$LINENO: checking for $ac_header" >&5
39187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39189 echo $ECHO_N "(cached) $ECHO_C" >&6
39191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39192 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39193 else
39194 # Is the header compilable?
39195 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39196 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39197 cat >conftest.$ac_ext <<_ACEOF
39198 /* confdefs.h. */
39199 _ACEOF
39200 cat confdefs.h >>conftest.$ac_ext
39201 cat >>conftest.$ac_ext <<_ACEOF
39202 /* end confdefs.h. */
39203 $ac_includes_default
39204 #include <$ac_header>
39205 _ACEOF
39206 rm -f conftest.$ac_objext
39207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39208 (eval $ac_compile) 2>conftest.er1
39209 ac_status=$?
39210 grep -v '^ *+' conftest.er1 >conftest.err
39211 rm -f conftest.er1
39212 cat conftest.err >&5
39213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39214 (exit $ac_status); } &&
39215 { ac_try='test -z "$ac_cxx_werror_flag"
39216 || test ! -s conftest.err'
39217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39218 (eval $ac_try) 2>&5
39219 ac_status=$?
39220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39221 (exit $ac_status); }; } &&
39222 { ac_try='test -s conftest.$ac_objext'
39223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39224 (eval $ac_try) 2>&5
39225 ac_status=$?
39226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39227 (exit $ac_status); }; }; then
39228 ac_header_compiler=yes
39229 else
39230 echo "$as_me: failed program was:" >&5
39231 sed 's/^/| /' conftest.$ac_ext >&5
39233 ac_header_compiler=no
39235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39236 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39237 echo "${ECHO_T}$ac_header_compiler" >&6
39239 # Is the header present?
39240 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39241 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39242 cat >conftest.$ac_ext <<_ACEOF
39243 /* confdefs.h. */
39244 _ACEOF
39245 cat confdefs.h >>conftest.$ac_ext
39246 cat >>conftest.$ac_ext <<_ACEOF
39247 /* end confdefs.h. */
39248 #include <$ac_header>
39249 _ACEOF
39250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39251 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39252 ac_status=$?
39253 grep -v '^ *+' conftest.er1 >conftest.err
39254 rm -f conftest.er1
39255 cat conftest.err >&5
39256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39257 (exit $ac_status); } >/dev/null; then
39258 if test -s conftest.err; then
39259 ac_cpp_err=$ac_cxx_preproc_warn_flag
39260 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39261 else
39262 ac_cpp_err=
39264 else
39265 ac_cpp_err=yes
39267 if test -z "$ac_cpp_err"; then
39268 ac_header_preproc=yes
39269 else
39270 echo "$as_me: failed program was:" >&5
39271 sed 's/^/| /' conftest.$ac_ext >&5
39273 ac_header_preproc=no
39275 rm -f conftest.err conftest.$ac_ext
39276 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39277 echo "${ECHO_T}$ac_header_preproc" >&6
39279 # So? What about this header?
39280 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39281 yes:no: )
39282 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39283 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39285 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39286 ac_header_preproc=yes
39288 no:yes:* )
39289 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39290 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39291 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39292 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39293 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39294 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39295 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39296 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39299 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39300 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39302 cat <<\_ASBOX
39303 ## ----------------------------------------- ##
39304 ## Report this to the package-unused lists. ##
39305 ## ----------------------------------------- ##
39306 _ASBOX
39308 sed "s/^/$as_me: WARNING: /" >&2
39310 esac
39311 echo "$as_me:$LINENO: checking for $ac_header" >&5
39312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39314 echo $ECHO_N "(cached) $ECHO_C" >&6
39315 else
39316 eval "$as_ac_Header=\$ac_header_preproc"
39318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39322 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39323 cat >>confdefs.h <<_ACEOF
39324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39325 _ACEOF
39329 done
39332 ac_ext=c
39333 ac_cpp='$CPP $CPPFLAGS'
39334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39340 # For dev/random and dev/urandom for TR1.
39343 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
39344 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
39345 if test "${ac_random_tr1+set}" = set; then
39346 echo $ECHO_N "(cached) $ECHO_C" >&6
39347 else
39349 if test "$cross_compiling" = yes; then
39350 ac_random_tr1=no
39351 else
39352 cat >conftest.$ac_ext <<_ACEOF
39353 /* confdefs.h. */
39354 _ACEOF
39355 cat confdefs.h >>conftest.$ac_ext
39356 cat >>conftest.$ac_ext <<_ACEOF
39357 /* end confdefs.h. */
39358 #include <stdio.h>
39359 int main()
39361 return !(fopen("/dev/random", "r")
39362 && fopen("/dev/urandom", "r"));
39365 _ACEOF
39366 rm -f conftest$ac_exeext
39367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39368 (eval $ac_link) 2>&5
39369 ac_status=$?
39370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39371 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39373 (eval $ac_try) 2>&5
39374 ac_status=$?
39375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39376 (exit $ac_status); }; }; then
39377 ac_random_tr1=yes
39378 else
39379 echo "$as_me: program exited with status $ac_status" >&5
39380 echo "$as_me: failed program was:" >&5
39381 sed 's/^/| /' conftest.$ac_ext >&5
39383 ( exit $ac_status )
39384 ac_random_tr1=no
39386 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39391 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
39392 echo "${ECHO_T}$ac_random_tr1" >&6
39393 if test x"$ac_random_tr1" = x"yes"; then
39395 cat >>confdefs.h <<\_ACEOF
39396 #define _GLIBCXX_USE_RANDOM_TR1 1
39397 _ACEOF
39403 # For TLS support.
39405 # Check whether --enable-tls or --disable-tls was given.
39406 if test "${enable_tls+set}" = set; then
39407 enableval="$enable_tls"
39409 case "$enableval" in
39410 yes|no) ;;
39411 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
39412 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
39413 { (exit 1); exit 1; }; } ;;
39414 esac
39416 else
39417 enable_tls=yes
39420 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
39421 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
39422 if test "${have_tls+set}" = set; then
39423 echo $ECHO_N "(cached) $ECHO_C" >&6
39424 else
39426 if test "$cross_compiling" = yes; then
39427 if test x$gcc_no_link = xyes; then
39428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39430 { (exit 1); exit 1; }; }
39432 cat >conftest.$ac_ext <<_ACEOF
39433 __thread int a; int b; int main() { return a = b; }
39434 _ACEOF
39435 rm -f conftest.$ac_objext conftest$ac_exeext
39436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39437 (eval $ac_link) 2>conftest.er1
39438 ac_status=$?
39439 grep -v '^ *+' conftest.er1 >conftest.err
39440 rm -f conftest.er1
39441 cat conftest.err >&5
39442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39443 (exit $ac_status); } &&
39444 { ac_try='test -z "$ac_c_werror_flag"
39445 || test ! -s conftest.err'
39446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39447 (eval $ac_try) 2>&5
39448 ac_status=$?
39449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39450 (exit $ac_status); }; } &&
39451 { ac_try='test -s conftest$ac_exeext'
39452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39453 (eval $ac_try) 2>&5
39454 ac_status=$?
39455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39456 (exit $ac_status); }; }; then
39457 have_tls=yes
39458 else
39459 echo "$as_me: failed program was:" >&5
39460 sed 's/^/| /' conftest.$ac_ext >&5
39462 have_tls=no
39464 rm -f conftest.err conftest.$ac_objext \
39465 conftest$ac_exeext conftest.$ac_ext
39468 else
39469 cat >conftest.$ac_ext <<_ACEOF
39470 __thread int a; int b; int main() { return a = b; }
39471 _ACEOF
39472 rm -f conftest$ac_exeext
39473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39474 (eval $ac_link) 2>&5
39475 ac_status=$?
39476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39477 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39479 (eval $ac_try) 2>&5
39480 ac_status=$?
39481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39482 (exit $ac_status); }; }; then
39483 chktls_save_LDFLAGS="$LDFLAGS"
39484 LDFLAGS="-static $LDFLAGS"
39485 if test x$gcc_no_link = xyes; then
39486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39488 { (exit 1); exit 1; }; }
39490 cat >conftest.$ac_ext <<_ACEOF
39491 int main() { return 0; }
39492 _ACEOF
39493 rm -f conftest.$ac_objext conftest$ac_exeext
39494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39495 (eval $ac_link) 2>conftest.er1
39496 ac_status=$?
39497 grep -v '^ *+' conftest.er1 >conftest.err
39498 rm -f conftest.er1
39499 cat conftest.err >&5
39500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39501 (exit $ac_status); } &&
39502 { ac_try='test -z "$ac_c_werror_flag"
39503 || test ! -s conftest.err'
39504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39505 (eval $ac_try) 2>&5
39506 ac_status=$?
39507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39508 (exit $ac_status); }; } &&
39509 { ac_try='test -s conftest$ac_exeext'
39510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39511 (eval $ac_try) 2>&5
39512 ac_status=$?
39513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39514 (exit $ac_status); }; }; then
39515 if test "$cross_compiling" = yes; then
39516 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
39517 See \`config.log' for more details." >&5
39518 echo "$as_me: error: cannot run test program while cross compiling
39519 See \`config.log' for more details." >&2;}
39520 { (exit 1); exit 1; }; }
39521 else
39522 cat >conftest.$ac_ext <<_ACEOF
39523 __thread int a; int b; int main() { return a = b; }
39524 _ACEOF
39525 rm -f conftest$ac_exeext
39526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39527 (eval $ac_link) 2>&5
39528 ac_status=$?
39529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39530 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39532 (eval $ac_try) 2>&5
39533 ac_status=$?
39534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39535 (exit $ac_status); }; }; then
39536 have_tls=yes
39537 else
39538 echo "$as_me: program exited with status $ac_status" >&5
39539 echo "$as_me: failed program was:" >&5
39540 sed 's/^/| /' conftest.$ac_ext >&5
39542 ( exit $ac_status )
39543 have_tls=no
39545 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39547 else
39548 echo "$as_me: failed program was:" >&5
39549 sed 's/^/| /' conftest.$ac_ext >&5
39551 have_tls=yes
39553 rm -f conftest.err conftest.$ac_objext \
39554 conftest$ac_exeext conftest.$ac_ext
39555 LDFLAGS="$chktls_save_LDFLAGS"
39556 if test $have_tls = yes; then
39557 chktls_save_CFLAGS="$CFLAGS"
39558 thread_CFLAGS=failed
39559 for flag in '' '-pthread' '-lpthread'; do
39560 CFLAGS="$flag $chktls_save_CFLAGS"
39561 if test x$gcc_no_link = xyes; then
39562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39564 { (exit 1); exit 1; }; }
39566 cat >conftest.$ac_ext <<_ACEOF
39567 /* confdefs.h. */
39568 _ACEOF
39569 cat confdefs.h >>conftest.$ac_ext
39570 cat >>conftest.$ac_ext <<_ACEOF
39571 /* end confdefs.h. */
39572 #include <pthread.h>
39573 void *g(void *d) { return NULL; }
39575 main ()
39577 pthread_t t; pthread_create(&t,NULL,g,NULL);
39579 return 0;
39581 _ACEOF
39582 rm -f conftest.$ac_objext conftest$ac_exeext
39583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39584 (eval $ac_link) 2>conftest.er1
39585 ac_status=$?
39586 grep -v '^ *+' conftest.er1 >conftest.err
39587 rm -f conftest.er1
39588 cat conftest.err >&5
39589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39590 (exit $ac_status); } &&
39591 { ac_try='test -z "$ac_c_werror_flag"
39592 || test ! -s conftest.err'
39593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39594 (eval $ac_try) 2>&5
39595 ac_status=$?
39596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39597 (exit $ac_status); }; } &&
39598 { ac_try='test -s conftest$ac_exeext'
39599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39600 (eval $ac_try) 2>&5
39601 ac_status=$?
39602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39603 (exit $ac_status); }; }; then
39604 thread_CFLAGS="$flag"
39605 else
39606 echo "$as_me: failed program was:" >&5
39607 sed 's/^/| /' conftest.$ac_ext >&5
39610 rm -f conftest.err conftest.$ac_objext \
39611 conftest$ac_exeext conftest.$ac_ext
39612 if test "X$thread_CFLAGS" != Xfailed; then
39613 break
39615 done
39616 CFLAGS="$chktls_save_CFLAGS"
39617 if test "X$thread_CFLAGS" != Xfailed; then
39618 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
39619 if test "$cross_compiling" = yes; then
39620 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
39621 See \`config.log' for more details." >&5
39622 echo "$as_me: error: cannot run test program while cross compiling
39623 See \`config.log' for more details." >&2;}
39624 { (exit 1); exit 1; }; }
39625 else
39626 cat >conftest.$ac_ext <<_ACEOF
39627 /* confdefs.h. */
39628 _ACEOF
39629 cat confdefs.h >>conftest.$ac_ext
39630 cat >>conftest.$ac_ext <<_ACEOF
39631 /* end confdefs.h. */
39632 #include <pthread.h>
39633 __thread int a;
39634 static int *a_in_other_thread;
39635 static void *
39636 thread_func (void *arg)
39638 a_in_other_thread = &a;
39639 return (void *)0;
39642 main ()
39644 pthread_t thread;
39645 void *thread_retval;
39646 int *a_in_main_thread;
39647 if (pthread_create (&thread, (pthread_attr_t *)0,
39648 thread_func, (void *)0))
39649 return 0;
39650 a_in_main_thread = &a;
39651 if (pthread_join (thread, &thread_retval))
39652 return 0;
39653 return (a_in_other_thread == a_in_main_thread);
39655 return 0;
39657 _ACEOF
39658 rm -f conftest$ac_exeext
39659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39660 (eval $ac_link) 2>&5
39661 ac_status=$?
39662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39663 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39665 (eval $ac_try) 2>&5
39666 ac_status=$?
39667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39668 (exit $ac_status); }; }; then
39669 have_tls=yes
39670 else
39671 echo "$as_me: program exited with status $ac_status" >&5
39672 echo "$as_me: failed program was:" >&5
39673 sed 's/^/| /' conftest.$ac_ext >&5
39675 ( exit $ac_status )
39676 have_tls=no
39678 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39680 CFLAGS="$chktls_save_CFLAGS"
39683 else
39684 echo "$as_me: program exited with status $ac_status" >&5
39685 echo "$as_me: failed program was:" >&5
39686 sed 's/^/| /' conftest.$ac_ext >&5
39688 ( exit $ac_status )
39689 have_tls=no
39691 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39694 echo "$as_me:$LINENO: result: $have_tls" >&5
39695 echo "${ECHO_T}$have_tls" >&6
39696 if test "$enable_tls $have_tls" = "yes yes"; then
39698 cat >>confdefs.h <<\_ACEOF
39699 #define HAVE_TLS 1
39700 _ACEOF
39704 # For _Unwind_GetIPInfo.
39708 ac_ext=cc
39709 ac_cpp='$CXXCPP $CPPFLAGS'
39710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39714 ac_save_CXXFLAGS="$CXXFLAGS"
39715 CXXFLAGS="$CXXFLAGS -fno-exceptions"
39716 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
39717 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
39718 if test "${gcc_cv_getipinfo+set}" = set; then
39719 echo $ECHO_N "(cached) $ECHO_C" >&6
39720 else
39722 if test x$gcc_no_link = xyes; then
39723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39725 { (exit 1); exit 1; }; }
39727 cat >conftest.$ac_ext <<_ACEOF
39728 /* confdefs.h. */
39729 _ACEOF
39730 cat confdefs.h >>conftest.$ac_ext
39731 cat >>conftest.$ac_ext <<_ACEOF
39732 /* end confdefs.h. */
39733 extern "C" { extern void _Unwind_GetIPInfo(); }
39735 main ()
39737 _Unwind_GetIPInfo();
39739 return 0;
39741 _ACEOF
39742 rm -f conftest.$ac_objext conftest$ac_exeext
39743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39744 (eval $ac_link) 2>conftest.er1
39745 ac_status=$?
39746 grep -v '^ *+' conftest.er1 >conftest.err
39747 rm -f conftest.er1
39748 cat conftest.err >&5
39749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39750 (exit $ac_status); } &&
39751 { ac_try='test -z "$ac_cxx_werror_flag"
39752 || test ! -s conftest.err'
39753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39754 (eval $ac_try) 2>&5
39755 ac_status=$?
39756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39757 (exit $ac_status); }; } &&
39758 { ac_try='test -s conftest$ac_exeext'
39759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39760 (eval $ac_try) 2>&5
39761 ac_status=$?
39762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39763 (exit $ac_status); }; }; then
39764 gcc_cv_getipinfo=yes
39765 else
39766 echo "$as_me: failed program was:" >&5
39767 sed 's/^/| /' conftest.$ac_ext >&5
39769 gcc_cv_getipinfo=no
39771 rm -f conftest.err conftest.$ac_objext \
39772 conftest$ac_exeext conftest.$ac_ext
39776 if test $gcc_cv_getipinfo = yes; then
39778 cat >>confdefs.h <<\_ACEOF
39779 #define HAVE_GETIPINFO 1
39780 _ACEOF
39783 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
39784 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
39785 CXXFLAGS="$ac_save_CXXFLAGS"
39786 ac_ext=c
39787 ac_cpp='$CPP $CPPFLAGS'
39788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39795 if test "${ac_cv_header_locale_h+set}" = set; then
39796 echo "$as_me:$LINENO: checking for locale.h" >&5
39797 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
39798 if test "${ac_cv_header_locale_h+set}" = set; then
39799 echo $ECHO_N "(cached) $ECHO_C" >&6
39801 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
39802 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
39803 else
39804 # Is the header compilable?
39805 echo "$as_me:$LINENO: checking locale.h usability" >&5
39806 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
39807 cat >conftest.$ac_ext <<_ACEOF
39808 /* confdefs.h. */
39809 _ACEOF
39810 cat confdefs.h >>conftest.$ac_ext
39811 cat >>conftest.$ac_ext <<_ACEOF
39812 /* end confdefs.h. */
39813 $ac_includes_default
39814 #include <locale.h>
39815 _ACEOF
39816 rm -f conftest.$ac_objext
39817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39818 (eval $ac_compile) 2>conftest.er1
39819 ac_status=$?
39820 grep -v '^ *+' conftest.er1 >conftest.err
39821 rm -f conftest.er1
39822 cat conftest.err >&5
39823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39824 (exit $ac_status); } &&
39825 { ac_try='test -z "$ac_c_werror_flag"
39826 || test ! -s conftest.err'
39827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39828 (eval $ac_try) 2>&5
39829 ac_status=$?
39830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39831 (exit $ac_status); }; } &&
39832 { ac_try='test -s conftest.$ac_objext'
39833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39834 (eval $ac_try) 2>&5
39835 ac_status=$?
39836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39837 (exit $ac_status); }; }; then
39838 ac_header_compiler=yes
39839 else
39840 echo "$as_me: failed program was:" >&5
39841 sed 's/^/| /' conftest.$ac_ext >&5
39843 ac_header_compiler=no
39845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39846 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39847 echo "${ECHO_T}$ac_header_compiler" >&6
39849 # Is the header present?
39850 echo "$as_me:$LINENO: checking locale.h presence" >&5
39851 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
39852 cat >conftest.$ac_ext <<_ACEOF
39853 /* confdefs.h. */
39854 _ACEOF
39855 cat confdefs.h >>conftest.$ac_ext
39856 cat >>conftest.$ac_ext <<_ACEOF
39857 /* end confdefs.h. */
39858 #include <locale.h>
39859 _ACEOF
39860 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39861 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39862 ac_status=$?
39863 grep -v '^ *+' conftest.er1 >conftest.err
39864 rm -f conftest.er1
39865 cat conftest.err >&5
39866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39867 (exit $ac_status); } >/dev/null; then
39868 if test -s conftest.err; then
39869 ac_cpp_err=$ac_c_preproc_warn_flag
39870 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39871 else
39872 ac_cpp_err=
39874 else
39875 ac_cpp_err=yes
39877 if test -z "$ac_cpp_err"; then
39878 ac_header_preproc=yes
39879 else
39880 echo "$as_me: failed program was:" >&5
39881 sed 's/^/| /' conftest.$ac_ext >&5
39883 ac_header_preproc=no
39885 rm -f conftest.err conftest.$ac_ext
39886 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39887 echo "${ECHO_T}$ac_header_preproc" >&6
39889 # So? What about this header?
39890 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39891 yes:no: )
39892 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
39893 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
39894 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
39895 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
39896 ac_header_preproc=yes
39898 no:yes:* )
39899 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
39900 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
39901 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
39902 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
39903 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
39904 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
39905 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
39906 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
39907 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
39908 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
39909 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
39910 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
39912 cat <<\_ASBOX
39913 ## ----------------------------------------- ##
39914 ## Report this to the package-unused lists. ##
39915 ## ----------------------------------------- ##
39916 _ASBOX
39918 sed "s/^/$as_me: WARNING: /" >&2
39920 esac
39921 echo "$as_me:$LINENO: checking for locale.h" >&5
39922 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
39923 if test "${ac_cv_header_locale_h+set}" = set; then
39924 echo $ECHO_N "(cached) $ECHO_C" >&6
39925 else
39926 ac_cv_header_locale_h=$ac_header_preproc
39928 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
39929 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
39932 if test $ac_cv_header_locale_h = yes; then
39934 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
39935 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
39936 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
39937 echo $ECHO_N "(cached) $ECHO_C" >&6
39938 else
39939 if test x$gcc_no_link = xyes; then
39940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39942 { (exit 1); exit 1; }; }
39944 cat >conftest.$ac_ext <<_ACEOF
39945 /* confdefs.h. */
39946 _ACEOF
39947 cat confdefs.h >>conftest.$ac_ext
39948 cat >>conftest.$ac_ext <<_ACEOF
39949 /* end confdefs.h. */
39950 #include <locale.h>
39952 main ()
39954 return LC_MESSAGES
39956 return 0;
39958 _ACEOF
39959 rm -f conftest.$ac_objext conftest$ac_exeext
39960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39961 (eval $ac_link) 2>conftest.er1
39962 ac_status=$?
39963 grep -v '^ *+' conftest.er1 >conftest.err
39964 rm -f conftest.er1
39965 cat conftest.err >&5
39966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39967 (exit $ac_status); } &&
39968 { ac_try='test -z "$ac_c_werror_flag"
39969 || test ! -s conftest.err'
39970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39971 (eval $ac_try) 2>&5
39972 ac_status=$?
39973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39974 (exit $ac_status); }; } &&
39975 { ac_try='test -s conftest$ac_exeext'
39976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39977 (eval $ac_try) 2>&5
39978 ac_status=$?
39979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39980 (exit $ac_status); }; }; then
39981 ac_cv_val_LC_MESSAGES=yes
39982 else
39983 echo "$as_me: failed program was:" >&5
39984 sed 's/^/| /' conftest.$ac_ext >&5
39986 ac_cv_val_LC_MESSAGES=no
39988 rm -f conftest.err conftest.$ac_objext \
39989 conftest$ac_exeext conftest.$ac_ext
39991 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
39992 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
39993 if test $ac_cv_val_LC_MESSAGES = yes; then
39995 cat >>confdefs.h <<\_ACEOF
39996 #define HAVE_LC_MESSAGES 1
39997 _ACEOF
40006 cat >conftest.$ac_ext <<_ACEOF
40007 /* confdefs.h. */
40008 _ACEOF
40009 cat confdefs.h >>conftest.$ac_ext
40010 cat >>conftest.$ac_ext <<_ACEOF
40011 /* end confdefs.h. */
40012 #include <setjmp.h>
40014 main ()
40016 sigjmp_buf env;
40017 while (! sigsetjmp (env, 1))
40018 siglongjmp (env, 1);
40021 return 0;
40023 _ACEOF
40024 rm -f conftest.$ac_objext
40025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40026 (eval $ac_compile) 2>conftest.er1
40027 ac_status=$?
40028 grep -v '^ *+' conftest.er1 >conftest.err
40029 rm -f conftest.er1
40030 cat conftest.err >&5
40031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40032 (exit $ac_status); } &&
40033 { ac_try='test -z "$ac_c_werror_flag"
40034 || test ! -s conftest.err'
40035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40036 (eval $ac_try) 2>&5
40037 ac_status=$?
40038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40039 (exit $ac_status); }; } &&
40040 { ac_try='test -s conftest.$ac_objext'
40041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40042 (eval $ac_try) 2>&5
40043 ac_status=$?
40044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40045 (exit $ac_status); }; }; then
40047 cat >>confdefs.h <<\_ACEOF
40048 #define HAVE_SIGSETJMP 1
40049 _ACEOF
40051 else
40052 echo "$as_me: failed program was:" >&5
40053 sed 's/^/| /' conftest.$ac_ext >&5
40056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40058 if test x$gcc_no_link = xyes; then
40059 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
40060 ac_cv_func_mmap_fixed_mapped=no
40063 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
40066 for ac_header in stdlib.h unistd.h
40068 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40070 echo "$as_me:$LINENO: checking for $ac_header" >&5
40071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40073 echo $ECHO_N "(cached) $ECHO_C" >&6
40075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40077 else
40078 # Is the header compilable?
40079 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40080 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40081 cat >conftest.$ac_ext <<_ACEOF
40082 /* confdefs.h. */
40083 _ACEOF
40084 cat confdefs.h >>conftest.$ac_ext
40085 cat >>conftest.$ac_ext <<_ACEOF
40086 /* end confdefs.h. */
40087 $ac_includes_default
40088 #include <$ac_header>
40089 _ACEOF
40090 rm -f conftest.$ac_objext
40091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40092 (eval $ac_compile) 2>conftest.er1
40093 ac_status=$?
40094 grep -v '^ *+' conftest.er1 >conftest.err
40095 rm -f conftest.er1
40096 cat conftest.err >&5
40097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40098 (exit $ac_status); } &&
40099 { ac_try='test -z "$ac_c_werror_flag"
40100 || test ! -s conftest.err'
40101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40102 (eval $ac_try) 2>&5
40103 ac_status=$?
40104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40105 (exit $ac_status); }; } &&
40106 { ac_try='test -s conftest.$ac_objext'
40107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40108 (eval $ac_try) 2>&5
40109 ac_status=$?
40110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40111 (exit $ac_status); }; }; then
40112 ac_header_compiler=yes
40113 else
40114 echo "$as_me: failed program was:" >&5
40115 sed 's/^/| /' conftest.$ac_ext >&5
40117 ac_header_compiler=no
40119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40120 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40121 echo "${ECHO_T}$ac_header_compiler" >&6
40123 # Is the header present?
40124 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40125 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40126 cat >conftest.$ac_ext <<_ACEOF
40127 /* confdefs.h. */
40128 _ACEOF
40129 cat confdefs.h >>conftest.$ac_ext
40130 cat >>conftest.$ac_ext <<_ACEOF
40131 /* end confdefs.h. */
40132 #include <$ac_header>
40133 _ACEOF
40134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40135 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40136 ac_status=$?
40137 grep -v '^ *+' conftest.er1 >conftest.err
40138 rm -f conftest.er1
40139 cat conftest.err >&5
40140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40141 (exit $ac_status); } >/dev/null; then
40142 if test -s conftest.err; then
40143 ac_cpp_err=$ac_c_preproc_warn_flag
40144 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40145 else
40146 ac_cpp_err=
40148 else
40149 ac_cpp_err=yes
40151 if test -z "$ac_cpp_err"; then
40152 ac_header_preproc=yes
40153 else
40154 echo "$as_me: failed program was:" >&5
40155 sed 's/^/| /' conftest.$ac_ext >&5
40157 ac_header_preproc=no
40159 rm -f conftest.err conftest.$ac_ext
40160 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40161 echo "${ECHO_T}$ac_header_preproc" >&6
40163 # So? What about this header?
40164 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40165 yes:no: )
40166 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40167 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40168 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40169 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40170 ac_header_preproc=yes
40172 no:yes:* )
40173 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40174 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40175 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40176 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40177 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40178 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40179 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40180 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40182 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40183 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40184 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40186 cat <<\_ASBOX
40187 ## ----------------------------------------- ##
40188 ## Report this to the package-unused lists. ##
40189 ## ----------------------------------------- ##
40190 _ASBOX
40192 sed "s/^/$as_me: WARNING: /" >&2
40194 esac
40195 echo "$as_me:$LINENO: checking for $ac_header" >&5
40196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40198 echo $ECHO_N "(cached) $ECHO_C" >&6
40199 else
40200 eval "$as_ac_Header=\$ac_header_preproc"
40202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40206 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40207 cat >>confdefs.h <<_ACEOF
40208 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40209 _ACEOF
40213 done
40216 for ac_func in getpagesize
40218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40219 echo "$as_me:$LINENO: checking for $ac_func" >&5
40220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40221 if eval "test \"\${$as_ac_var+set}\" = set"; then
40222 echo $ECHO_N "(cached) $ECHO_C" >&6
40223 else
40224 if test x$gcc_no_link = xyes; then
40225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40227 { (exit 1); exit 1; }; }
40229 cat >conftest.$ac_ext <<_ACEOF
40230 /* confdefs.h. */
40231 _ACEOF
40232 cat confdefs.h >>conftest.$ac_ext
40233 cat >>conftest.$ac_ext <<_ACEOF
40234 /* end confdefs.h. */
40235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40237 #define $ac_func innocuous_$ac_func
40239 /* System header to define __stub macros and hopefully few prototypes,
40240 which can conflict with char $ac_func (); below.
40241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40242 <limits.h> exists even on freestanding compilers. */
40244 #ifdef __STDC__
40245 # include <limits.h>
40246 #else
40247 # include <assert.h>
40248 #endif
40250 #undef $ac_func
40252 /* Override any gcc2 internal prototype to avoid an error. */
40253 #ifdef __cplusplus
40254 extern "C"
40256 #endif
40257 /* We use char because int might match the return type of a gcc2
40258 builtin and then its argument prototype would still apply. */
40259 char $ac_func ();
40260 /* The GNU C library defines this for functions which it implements
40261 to always fail with ENOSYS. Some functions are actually named
40262 something starting with __ and the normal name is an alias. */
40263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40264 choke me
40265 #else
40266 char (*f) () = $ac_func;
40267 #endif
40268 #ifdef __cplusplus
40270 #endif
40273 main ()
40275 return f != $ac_func;
40277 return 0;
40279 _ACEOF
40280 rm -f conftest.$ac_objext conftest$ac_exeext
40281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40282 (eval $ac_link) 2>conftest.er1
40283 ac_status=$?
40284 grep -v '^ *+' conftest.er1 >conftest.err
40285 rm -f conftest.er1
40286 cat conftest.err >&5
40287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40288 (exit $ac_status); } &&
40289 { ac_try='test -z "$ac_c_werror_flag"
40290 || test ! -s conftest.err'
40291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40292 (eval $ac_try) 2>&5
40293 ac_status=$?
40294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40295 (exit $ac_status); }; } &&
40296 { ac_try='test -s conftest$ac_exeext'
40297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40298 (eval $ac_try) 2>&5
40299 ac_status=$?
40300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40301 (exit $ac_status); }; }; then
40302 eval "$as_ac_var=yes"
40303 else
40304 echo "$as_me: failed program was:" >&5
40305 sed 's/^/| /' conftest.$ac_ext >&5
40307 eval "$as_ac_var=no"
40309 rm -f conftest.err conftest.$ac_objext \
40310 conftest$ac_exeext conftest.$ac_ext
40312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40314 if test `eval echo '${'$as_ac_var'}'` = yes; then
40315 cat >>confdefs.h <<_ACEOF
40316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40317 _ACEOF
40320 done
40322 echo "$as_me:$LINENO: checking for working mmap" >&5
40323 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
40324 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
40325 echo $ECHO_N "(cached) $ECHO_C" >&6
40326 else
40327 if test "$cross_compiling" = yes; then
40328 ac_cv_func_mmap_fixed_mapped=no
40329 else
40330 cat >conftest.$ac_ext <<_ACEOF
40331 /* confdefs.h. */
40332 _ACEOF
40333 cat confdefs.h >>conftest.$ac_ext
40334 cat >>conftest.$ac_ext <<_ACEOF
40335 /* end confdefs.h. */
40336 $ac_includes_default
40337 /* malloc might have been renamed as rpl_malloc. */
40338 #undef malloc
40340 /* Thanks to Mike Haertel and Jim Avera for this test.
40341 Here is a matrix of mmap possibilities:
40342 mmap private not fixed
40343 mmap private fixed at somewhere currently unmapped
40344 mmap private fixed at somewhere already mapped
40345 mmap shared not fixed
40346 mmap shared fixed at somewhere currently unmapped
40347 mmap shared fixed at somewhere already mapped
40348 For private mappings, we should verify that changes cannot be read()
40349 back from the file, nor mmap's back from the file at a different
40350 address. (There have been systems where private was not correctly
40351 implemented like the infamous i386 svr4.0, and systems where the
40352 VM page cache was not coherent with the file system buffer cache
40353 like early versions of FreeBSD and possibly contemporary NetBSD.)
40354 For shared mappings, we should conversely verify that changes get
40355 propagated back to all the places they're supposed to be.
40357 Grep wants private fixed already mapped.
40358 The main things grep needs to know about mmap are:
40359 * does it exist and is it safe to write into the mmap'd area
40360 * how to use it (BSD variants) */
40362 #include <fcntl.h>
40363 #include <sys/mman.h>
40365 #if !STDC_HEADERS && !HAVE_STDLIB_H
40366 char *malloc ();
40367 #endif
40369 /* This mess was copied from the GNU getpagesize.h. */
40370 #if !HAVE_GETPAGESIZE
40371 /* Assume that all systems that can run configure have sys/param.h. */
40372 # if !HAVE_SYS_PARAM_H
40373 # define HAVE_SYS_PARAM_H 1
40374 # endif
40376 # ifdef _SC_PAGESIZE
40377 # define getpagesize() sysconf(_SC_PAGESIZE)
40378 # else /* no _SC_PAGESIZE */
40379 # if HAVE_SYS_PARAM_H
40380 # include <sys/param.h>
40381 # ifdef EXEC_PAGESIZE
40382 # define getpagesize() EXEC_PAGESIZE
40383 # else /* no EXEC_PAGESIZE */
40384 # ifdef NBPG
40385 # define getpagesize() NBPG * CLSIZE
40386 # ifndef CLSIZE
40387 # define CLSIZE 1
40388 # endif /* no CLSIZE */
40389 # else /* no NBPG */
40390 # ifdef NBPC
40391 # define getpagesize() NBPC
40392 # else /* no NBPC */
40393 # ifdef PAGESIZE
40394 # define getpagesize() PAGESIZE
40395 # endif /* PAGESIZE */
40396 # endif /* no NBPC */
40397 # endif /* no NBPG */
40398 # endif /* no EXEC_PAGESIZE */
40399 # else /* no HAVE_SYS_PARAM_H */
40400 # define getpagesize() 8192 /* punt totally */
40401 # endif /* no HAVE_SYS_PARAM_H */
40402 # endif /* no _SC_PAGESIZE */
40404 #endif /* no HAVE_GETPAGESIZE */
40407 main ()
40409 char *data, *data2, *data3;
40410 int i, pagesize;
40411 int fd;
40413 pagesize = getpagesize ();
40415 /* First, make a file with some known garbage in it. */
40416 data = (char *) malloc (pagesize);
40417 if (!data)
40418 exit (1);
40419 for (i = 0; i < pagesize; ++i)
40420 *(data + i) = rand ();
40421 umask (0);
40422 fd = creat ("conftest.mmap", 0600);
40423 if (fd < 0)
40424 exit (1);
40425 if (write (fd, data, pagesize) != pagesize)
40426 exit (1);
40427 close (fd);
40429 /* Next, try to mmap the file at a fixed address which already has
40430 something else allocated at it. If we can, also make sure that
40431 we see the same garbage. */
40432 fd = open ("conftest.mmap", O_RDWR);
40433 if (fd < 0)
40434 exit (1);
40435 data2 = (char *) malloc (2 * pagesize);
40436 if (!data2)
40437 exit (1);
40438 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
40439 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
40440 MAP_PRIVATE | MAP_FIXED, fd, 0L))
40441 exit (1);
40442 for (i = 0; i < pagesize; ++i)
40443 if (*(data + i) != *(data2 + i))
40444 exit (1);
40446 /* Finally, make sure that changes to the mapped area do not
40447 percolate back to the file as seen by read(). (This is a bug on
40448 some variants of i386 svr4.0.) */
40449 for (i = 0; i < pagesize; ++i)
40450 *(data2 + i) = *(data2 + i) + 1;
40451 data3 = (char *) malloc (pagesize);
40452 if (!data3)
40453 exit (1);
40454 if (read (fd, data3, pagesize) != pagesize)
40455 exit (1);
40456 for (i = 0; i < pagesize; ++i)
40457 if (*(data + i) != *(data3 + i))
40458 exit (1);
40459 close (fd);
40460 exit (0);
40462 _ACEOF
40463 rm -f conftest$ac_exeext
40464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40465 (eval $ac_link) 2>&5
40466 ac_status=$?
40467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40468 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40470 (eval $ac_try) 2>&5
40471 ac_status=$?
40472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40473 (exit $ac_status); }; }; then
40474 ac_cv_func_mmap_fixed_mapped=yes
40475 else
40476 echo "$as_me: program exited with status $ac_status" >&5
40477 echo "$as_me: failed program was:" >&5
40478 sed 's/^/| /' conftest.$ac_ext >&5
40480 ( exit $ac_status )
40481 ac_cv_func_mmap_fixed_mapped=no
40483 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40486 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
40487 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
40488 if test $ac_cv_func_mmap_fixed_mapped = yes; then
40490 cat >>confdefs.h <<\_ACEOF
40491 #define HAVE_MMAP 1
40492 _ACEOF
40495 rm -f conftest.mmap
40499 # For iconv support.
40501 if test "X$prefix" = "XNONE"; then
40502 acl_final_prefix="$ac_default_prefix"
40503 else
40504 acl_final_prefix="$prefix"
40506 if test "X$exec_prefix" = "XNONE"; then
40507 acl_final_exec_prefix='${prefix}'
40508 else
40509 acl_final_exec_prefix="$exec_prefix"
40511 acl_save_prefix="$prefix"
40512 prefix="$acl_final_prefix"
40513 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
40514 prefix="$acl_save_prefix"
40517 # Check whether --with-gnu-ld or --without-gnu-ld was given.
40518 if test "${with_gnu_ld+set}" = set; then
40519 withval="$with_gnu_ld"
40520 test "$withval" = no || with_gnu_ld=yes
40521 else
40522 with_gnu_ld=no
40524 # Prepare PATH_SEPARATOR.
40525 # The user is always right.
40526 if test "${PATH_SEPARATOR+set}" != set; then
40527 echo "#! /bin/sh" >conf$$.sh
40528 echo "exit 0" >>conf$$.sh
40529 chmod +x conf$$.sh
40530 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
40531 PATH_SEPARATOR=';'
40532 else
40533 PATH_SEPARATOR=:
40535 rm -f conf$$.sh
40537 ac_prog=ld
40538 if test "$GCC" = yes; then
40539 # Check if gcc -print-prog-name=ld gives a path.
40540 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
40541 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
40542 case $host in
40543 *-*-mingw*)
40544 # gcc leaves a trailing carriage return which upsets mingw
40545 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
40547 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
40548 esac
40549 case $ac_prog in
40550 # Accept absolute paths.
40551 [\\/]* | [A-Za-z]:[\\/]*)
40552 re_direlt='/[^/][^/]*/\.\./'
40553 # Canonicalize the path of ld
40554 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
40555 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
40556 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
40557 done
40558 test -z "$LD" && LD="$ac_prog"
40561 # If it fails, then pretend we aren't using GCC.
40562 ac_prog=ld
40565 # If it is relative, then search for the first ld in PATH.
40566 with_gnu_ld=unknown
40568 esac
40569 elif test "$with_gnu_ld" = yes; then
40570 echo "$as_me:$LINENO: checking for GNU ld" >&5
40571 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
40572 else
40573 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
40574 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
40576 if test "${acl_cv_path_LD+set}" = set; then
40577 echo $ECHO_N "(cached) $ECHO_C" >&6
40578 else
40579 if test -z "$LD"; then
40580 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
40581 for ac_dir in $PATH; do
40582 test -z "$ac_dir" && ac_dir=.
40583 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
40584 acl_cv_path_LD="$ac_dir/$ac_prog"
40585 # Check to see if the program is GNU ld. I'd rather use --version,
40586 # but apparently some GNU ld's only accept -v.
40587 # Break only if it was the GNU/non-GNU ld that we prefer.
40588 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
40589 test "$with_gnu_ld" != no && break
40590 else
40591 test "$with_gnu_ld" != yes && break
40594 done
40595 IFS="$ac_save_ifs"
40596 else
40597 acl_cv_path_LD="$LD" # Let the user override the test with a path.
40601 LD="$acl_cv_path_LD"
40602 if test -n "$LD"; then
40603 echo "$as_me:$LINENO: result: $LD" >&5
40604 echo "${ECHO_T}$LD" >&6
40605 else
40606 echo "$as_me:$LINENO: result: no" >&5
40607 echo "${ECHO_T}no" >&6
40609 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
40610 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
40611 { (exit 1); exit 1; }; }
40612 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
40613 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
40614 if test "${acl_cv_prog_gnu_ld+set}" = set; then
40615 echo $ECHO_N "(cached) $ECHO_C" >&6
40616 else
40617 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
40618 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
40619 acl_cv_prog_gnu_ld=yes
40620 else
40621 acl_cv_prog_gnu_ld=no
40624 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
40625 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
40626 with_gnu_ld=$acl_cv_prog_gnu_ld
40630 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
40631 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
40632 if test "${acl_cv_rpath+set}" = set; then
40633 echo $ECHO_N "(cached) $ECHO_C" >&6
40634 else
40636 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
40637 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
40638 . ./conftest.sh
40639 rm -f ./conftest.sh
40640 acl_cv_rpath=done
40643 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
40644 echo "${ECHO_T}$acl_cv_rpath" >&6
40645 wl="$acl_cv_wl"
40646 libext="$acl_cv_libext"
40647 shlibext="$acl_cv_shlibext"
40648 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
40649 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
40650 hardcode_direct="$acl_cv_hardcode_direct"
40651 hardcode_minus_L="$acl_cv_hardcode_minus_L"
40652 # Check whether --enable-rpath or --disable-rpath was given.
40653 if test "${enable_rpath+set}" = set; then
40654 enableval="$enable_rpath"
40656 else
40657 enable_rpath=yes
40666 use_additional=yes
40668 acl_save_prefix="$prefix"
40669 prefix="$acl_final_prefix"
40670 acl_save_exec_prefix="$exec_prefix"
40671 exec_prefix="$acl_final_exec_prefix"
40673 eval additional_includedir=\"$includedir\"
40674 eval additional_libdir=\"$libdir\"
40676 exec_prefix="$acl_save_exec_prefix"
40677 prefix="$acl_save_prefix"
40680 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
40681 if test "${with_libiconv_prefix+set}" = set; then
40682 withval="$with_libiconv_prefix"
40684 if test "X$withval" = "Xno"; then
40685 use_additional=no
40686 else
40687 if test "X$withval" = "X"; then
40689 acl_save_prefix="$prefix"
40690 prefix="$acl_final_prefix"
40691 acl_save_exec_prefix="$exec_prefix"
40692 exec_prefix="$acl_final_exec_prefix"
40694 eval additional_includedir=\"$includedir\"
40695 eval additional_libdir=\"$libdir\"
40697 exec_prefix="$acl_save_exec_prefix"
40698 prefix="$acl_save_prefix"
40700 else
40701 additional_includedir="$withval/include"
40702 additional_libdir="$withval/lib"
40707 LIBICONV=
40708 LTLIBICONV=
40709 INCICONV=
40710 rpathdirs=
40711 ltrpathdirs=
40712 names_already_handled=
40713 names_next_round='iconv '
40714 while test -n "$names_next_round"; do
40715 names_this_round="$names_next_round"
40716 names_next_round=
40717 for name in $names_this_round; do
40718 already_handled=
40719 for n in $names_already_handled; do
40720 if test "$n" = "$name"; then
40721 already_handled=yes
40722 break
40724 done
40725 if test -z "$already_handled"; then
40726 names_already_handled="$names_already_handled $name"
40727 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
40728 eval value=\"\$HAVE_LIB$uppername\"
40729 if test -n "$value"; then
40730 if test "$value" = yes; then
40731 eval value=\"\$LIB$uppername\"
40732 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
40733 eval value=\"\$LTLIB$uppername\"
40734 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
40735 else
40738 else
40739 found_dir=
40740 found_la=
40741 found_so=
40742 found_a=
40743 if test $use_additional = yes; then
40744 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
40745 found_dir="$additional_libdir"
40746 found_so="$additional_libdir/lib$name.$shlibext"
40747 if test -f "$additional_libdir/lib$name.la"; then
40748 found_la="$additional_libdir/lib$name.la"
40750 else
40751 if test -f "$additional_libdir/lib$name.$libext"; then
40752 found_dir="$additional_libdir"
40753 found_a="$additional_libdir/lib$name.$libext"
40754 if test -f "$additional_libdir/lib$name.la"; then
40755 found_la="$additional_libdir/lib$name.la"
40760 if test "X$found_dir" = "X"; then
40761 for x in $LDFLAGS $LTLIBICONV; do
40763 acl_save_prefix="$prefix"
40764 prefix="$acl_final_prefix"
40765 acl_save_exec_prefix="$exec_prefix"
40766 exec_prefix="$acl_final_exec_prefix"
40767 eval x=\"$x\"
40768 exec_prefix="$acl_save_exec_prefix"
40769 prefix="$acl_save_prefix"
40771 case "$x" in
40772 -L*)
40773 dir=`echo "X$x" | sed -e 's/^X-L//'`
40774 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
40775 found_dir="$dir"
40776 found_so="$dir/lib$name.$shlibext"
40777 if test -f "$dir/lib$name.la"; then
40778 found_la="$dir/lib$name.la"
40780 else
40781 if test -f "$dir/lib$name.$libext"; then
40782 found_dir="$dir"
40783 found_a="$dir/lib$name.$libext"
40784 if test -f "$dir/lib$name.la"; then
40785 found_la="$dir/lib$name.la"
40790 esac
40791 if test "X$found_dir" != "X"; then
40792 break
40794 done
40796 if test "X$found_dir" != "X"; then
40797 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
40798 if test "X$found_so" != "X"; then
40799 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
40800 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
40801 else
40802 haveit=
40803 for x in $ltrpathdirs; do
40804 if test "X$x" = "X$found_dir"; then
40805 haveit=yes
40806 break
40808 done
40809 if test -z "$haveit"; then
40810 ltrpathdirs="$ltrpathdirs $found_dir"
40812 if test "$hardcode_direct" = yes; then
40813 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
40814 else
40815 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
40816 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
40817 haveit=
40818 for x in $rpathdirs; do
40819 if test "X$x" = "X$found_dir"; then
40820 haveit=yes
40821 break
40823 done
40824 if test -z "$haveit"; then
40825 rpathdirs="$rpathdirs $found_dir"
40827 else
40828 haveit=
40829 for x in $LDFLAGS $LIBICONV; do
40831 acl_save_prefix="$prefix"
40832 prefix="$acl_final_prefix"
40833 acl_save_exec_prefix="$exec_prefix"
40834 exec_prefix="$acl_final_exec_prefix"
40835 eval x=\"$x\"
40836 exec_prefix="$acl_save_exec_prefix"
40837 prefix="$acl_save_prefix"
40839 if test "X$x" = "X-L$found_dir"; then
40840 haveit=yes
40841 break
40843 done
40844 if test -z "$haveit"; then
40845 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
40847 if test "$hardcode_minus_L" != no; then
40848 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
40849 else
40850 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
40855 else
40856 if test "X$found_a" != "X"; then
40857 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
40858 else
40859 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
40862 additional_includedir=
40863 case "$found_dir" in
40864 */lib | */lib/)
40865 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
40866 additional_includedir="$basedir/include"
40868 esac
40869 if test "X$additional_includedir" != "X"; then
40870 if test "X$additional_includedir" != "X/usr/include"; then
40871 haveit=
40872 if test "X$additional_includedir" = "X/usr/local/include"; then
40873 if test -n "$GCC"; then
40874 case $host_os in
40875 linux*) haveit=yes;;
40876 esac
40879 if test -z "$haveit"; then
40880 for x in $CPPFLAGS $INCICONV; do
40882 acl_save_prefix="$prefix"
40883 prefix="$acl_final_prefix"
40884 acl_save_exec_prefix="$exec_prefix"
40885 exec_prefix="$acl_final_exec_prefix"
40886 eval x=\"$x\"
40887 exec_prefix="$acl_save_exec_prefix"
40888 prefix="$acl_save_prefix"
40890 if test "X$x" = "X-I$additional_includedir"; then
40891 haveit=yes
40892 break
40894 done
40895 if test -z "$haveit"; then
40896 if test -d "$additional_includedir"; then
40897 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
40903 if test -n "$found_la"; then
40904 save_libdir="$libdir"
40905 case "$found_la" in
40906 */* | *\\*) . "$found_la" ;;
40907 *) . "./$found_la" ;;
40908 esac
40909 libdir="$save_libdir"
40910 for dep in $dependency_libs; do
40911 case "$dep" in
40912 -L*)
40913 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
40914 if test "X$additional_libdir" != "X/usr/lib"; then
40915 haveit=
40916 if test "X$additional_libdir" = "X/usr/local/lib"; then
40917 if test -n "$GCC"; then
40918 case $host_os in
40919 linux*) haveit=yes;;
40920 esac
40923 if test -z "$haveit"; then
40924 haveit=
40925 for x in $LDFLAGS $LIBICONV; do
40927 acl_save_prefix="$prefix"
40928 prefix="$acl_final_prefix"
40929 acl_save_exec_prefix="$exec_prefix"
40930 exec_prefix="$acl_final_exec_prefix"
40931 eval x=\"$x\"
40932 exec_prefix="$acl_save_exec_prefix"
40933 prefix="$acl_save_prefix"
40935 if test "X$x" = "X-L$additional_libdir"; then
40936 haveit=yes
40937 break
40939 done
40940 if test -z "$haveit"; then
40941 if test -d "$additional_libdir"; then
40942 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
40945 haveit=
40946 for x in $LDFLAGS $LTLIBICONV; do
40948 acl_save_prefix="$prefix"
40949 prefix="$acl_final_prefix"
40950 acl_save_exec_prefix="$exec_prefix"
40951 exec_prefix="$acl_final_exec_prefix"
40952 eval x=\"$x\"
40953 exec_prefix="$acl_save_exec_prefix"
40954 prefix="$acl_save_prefix"
40956 if test "X$x" = "X-L$additional_libdir"; then
40957 haveit=yes
40958 break
40960 done
40961 if test -z "$haveit"; then
40962 if test -d "$additional_libdir"; then
40963 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
40969 -R*)
40970 dir=`echo "X$dep" | sed -e 's/^X-R//'`
40971 if test "$enable_rpath" != no; then
40972 haveit=
40973 for x in $rpathdirs; do
40974 if test "X$x" = "X$dir"; then
40975 haveit=yes
40976 break
40978 done
40979 if test -z "$haveit"; then
40980 rpathdirs="$rpathdirs $dir"
40982 haveit=
40983 for x in $ltrpathdirs; do
40984 if test "X$x" = "X$dir"; then
40985 haveit=yes
40986 break
40988 done
40989 if test -z "$haveit"; then
40990 ltrpathdirs="$ltrpathdirs $dir"
40994 -l*)
40995 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
40997 *.la)
40998 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
41001 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
41002 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
41004 esac
41005 done
41007 else
41008 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41009 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
41013 done
41014 done
41015 if test "X$rpathdirs" != "X"; then
41016 if test -n "$hardcode_libdir_separator"; then
41017 alldirs=
41018 for found_dir in $rpathdirs; do
41019 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
41020 done
41021 acl_save_libdir="$libdir"
41022 libdir="$alldirs"
41023 eval flag=\"$hardcode_libdir_flag_spec\"
41024 libdir="$acl_save_libdir"
41025 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41026 else
41027 for found_dir in $rpathdirs; do
41028 acl_save_libdir="$libdir"
41029 libdir="$found_dir"
41030 eval flag=\"$hardcode_libdir_flag_spec\"
41031 libdir="$acl_save_libdir"
41032 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41033 done
41036 if test "X$ltrpathdirs" != "X"; then
41037 for found_dir in $ltrpathdirs; do
41038 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
41039 done
41048 am_save_CPPFLAGS="$CPPFLAGS"
41050 for element in $INCICONV; do
41051 haveit=
41052 for x in $CPPFLAGS; do
41054 acl_save_prefix="$prefix"
41055 prefix="$acl_final_prefix"
41056 acl_save_exec_prefix="$exec_prefix"
41057 exec_prefix="$acl_final_exec_prefix"
41058 eval x=\"$x\"
41059 exec_prefix="$acl_save_exec_prefix"
41060 prefix="$acl_save_prefix"
41062 if test "X$x" = "X$element"; then
41063 haveit=yes
41064 break
41066 done
41067 if test -z "$haveit"; then
41068 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41070 done
41073 echo "$as_me:$LINENO: checking for iconv" >&5
41074 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
41075 if test "${am_cv_func_iconv+set}" = set; then
41076 echo $ECHO_N "(cached) $ECHO_C" >&6
41077 else
41079 am_cv_func_iconv="no, consider installing GNU libiconv"
41080 am_cv_lib_iconv=no
41081 if test x$gcc_no_link = xyes; then
41082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41084 { (exit 1); exit 1; }; }
41086 cat >conftest.$ac_ext <<_ACEOF
41087 /* confdefs.h. */
41088 _ACEOF
41089 cat confdefs.h >>conftest.$ac_ext
41090 cat >>conftest.$ac_ext <<_ACEOF
41091 /* end confdefs.h. */
41092 #include <stdlib.h>
41093 #include <iconv.h>
41095 main ()
41097 iconv_t cd = iconv_open("","");
41098 iconv(cd,NULL,NULL,NULL,NULL);
41099 iconv_close(cd);
41101 return 0;
41103 _ACEOF
41104 rm -f conftest.$ac_objext conftest$ac_exeext
41105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41106 (eval $ac_link) 2>conftest.er1
41107 ac_status=$?
41108 grep -v '^ *+' conftest.er1 >conftest.err
41109 rm -f conftest.er1
41110 cat conftest.err >&5
41111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41112 (exit $ac_status); } &&
41113 { ac_try='test -z "$ac_c_werror_flag"
41114 || test ! -s conftest.err'
41115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41116 (eval $ac_try) 2>&5
41117 ac_status=$?
41118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41119 (exit $ac_status); }; } &&
41120 { ac_try='test -s conftest$ac_exeext'
41121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41122 (eval $ac_try) 2>&5
41123 ac_status=$?
41124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41125 (exit $ac_status); }; }; then
41126 am_cv_func_iconv=yes
41127 else
41128 echo "$as_me: failed program was:" >&5
41129 sed 's/^/| /' conftest.$ac_ext >&5
41132 rm -f conftest.err conftest.$ac_objext \
41133 conftest$ac_exeext conftest.$ac_ext
41134 if test "$am_cv_func_iconv" != yes; then
41135 am_save_LIBS="$LIBS"
41136 LIBS="$LIBS $LIBICONV"
41137 if test x$gcc_no_link = xyes; then
41138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41140 { (exit 1); exit 1; }; }
41142 cat >conftest.$ac_ext <<_ACEOF
41143 /* confdefs.h. */
41144 _ACEOF
41145 cat confdefs.h >>conftest.$ac_ext
41146 cat >>conftest.$ac_ext <<_ACEOF
41147 /* end confdefs.h. */
41148 #include <stdlib.h>
41149 #include <iconv.h>
41151 main ()
41153 iconv_t cd = iconv_open("","");
41154 iconv(cd,NULL,NULL,NULL,NULL);
41155 iconv_close(cd);
41157 return 0;
41159 _ACEOF
41160 rm -f conftest.$ac_objext conftest$ac_exeext
41161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41162 (eval $ac_link) 2>conftest.er1
41163 ac_status=$?
41164 grep -v '^ *+' conftest.er1 >conftest.err
41165 rm -f conftest.er1
41166 cat conftest.err >&5
41167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41168 (exit $ac_status); } &&
41169 { ac_try='test -z "$ac_c_werror_flag"
41170 || test ! -s conftest.err'
41171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41172 (eval $ac_try) 2>&5
41173 ac_status=$?
41174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41175 (exit $ac_status); }; } &&
41176 { ac_try='test -s conftest$ac_exeext'
41177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41178 (eval $ac_try) 2>&5
41179 ac_status=$?
41180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41181 (exit $ac_status); }; }; then
41182 am_cv_lib_iconv=yes
41183 am_cv_func_iconv=yes
41184 else
41185 echo "$as_me: failed program was:" >&5
41186 sed 's/^/| /' conftest.$ac_ext >&5
41189 rm -f conftest.err conftest.$ac_objext \
41190 conftest$ac_exeext conftest.$ac_ext
41191 LIBS="$am_save_LIBS"
41195 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
41196 echo "${ECHO_T}$am_cv_func_iconv" >&6
41197 if test "$am_cv_func_iconv" = yes; then
41199 cat >>confdefs.h <<\_ACEOF
41200 #define HAVE_ICONV 1
41201 _ACEOF
41204 if test "$am_cv_lib_iconv" = yes; then
41205 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
41206 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
41207 echo "$as_me:$LINENO: result: $LIBICONV" >&5
41208 echo "${ECHO_T}$LIBICONV" >&6
41209 else
41210 CPPFLAGS="$am_save_CPPFLAGS"
41211 LIBICONV=
41212 LTLIBICONV=
41217 if test "$am_cv_func_iconv" = yes; then
41218 echo "$as_me:$LINENO: checking for iconv declaration" >&5
41219 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
41220 if test "${am_cv_proto_iconv+set}" = set; then
41221 echo $ECHO_N "(cached) $ECHO_C" >&6
41222 else
41224 cat >conftest.$ac_ext <<_ACEOF
41225 /* confdefs.h. */
41226 _ACEOF
41227 cat confdefs.h >>conftest.$ac_ext
41228 cat >>conftest.$ac_ext <<_ACEOF
41229 /* end confdefs.h. */
41231 #include <stdlib.h>
41232 #include <iconv.h>
41233 extern
41234 #ifdef __cplusplus
41236 #endif
41237 #if defined(__STDC__) || defined(__cplusplus)
41238 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41239 #else
41240 size_t iconv();
41241 #endif
41244 main ()
41248 return 0;
41250 _ACEOF
41251 rm -f conftest.$ac_objext
41252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41253 (eval $ac_compile) 2>conftest.er1
41254 ac_status=$?
41255 grep -v '^ *+' conftest.er1 >conftest.err
41256 rm -f conftest.er1
41257 cat conftest.err >&5
41258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41259 (exit $ac_status); } &&
41260 { ac_try='test -z "$ac_c_werror_flag"
41261 || test ! -s conftest.err'
41262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41263 (eval $ac_try) 2>&5
41264 ac_status=$?
41265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41266 (exit $ac_status); }; } &&
41267 { ac_try='test -s conftest.$ac_objext'
41268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41269 (eval $ac_try) 2>&5
41270 ac_status=$?
41271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41272 (exit $ac_status); }; }; then
41273 am_cv_proto_iconv_arg1=""
41274 else
41275 echo "$as_me: failed program was:" >&5
41276 sed 's/^/| /' conftest.$ac_ext >&5
41278 am_cv_proto_iconv_arg1="const"
41280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41281 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);"
41284 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41285 echo "$as_me:$LINENO: result: ${ac_t:-
41286 }$am_cv_proto_iconv" >&5
41287 echo "${ECHO_T}${ac_t:-
41288 }$am_cv_proto_iconv" >&6
41290 cat >>confdefs.h <<_ACEOF
41291 #define ICONV_CONST $am_cv_proto_iconv_arg1
41292 _ACEOF
41297 else
41299 # This lets us hard-code the functionality we know we'll have in the cross
41300 # target environment. "Let" is a sugar-coated word placed on an especially
41301 # dull and tedious hack, actually.
41303 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
41304 # that involve linking, can't be used:
41305 # "cannot open sim-crt0.o"
41306 # "cannot open crt0.o"
41307 # etc. All this is because there currently exists no unified, consistent
41308 # way for top level CC information to be passed down to target directories:
41309 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
41310 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
41311 # crosses can be removed.
41313 # If Canadian cross, then don't pick up tools from the build directory.
41314 # Used only in GLIBCXX_EXPORT_INCLUDES.
41315 if test -n "$with_cross_host" &&
41316 test x"$build_alias" != x"$with_cross_host" &&
41317 test x"$build" != x"$target";
41318 then
41319 CANADIAN=yes
41320 else
41321 CANADIAN=no
41324 # Construct crosses by hand, eliminating bits that need ld...
41325 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
41326 # GLIBCXX_CHECK_MATH_SUPPORT
41328 # First, test for "known" system libraries. We may be using newlib even
41329 # on a hosted environment.
41330 if test "x${with_newlib}" = "xyes"; then
41331 os_include_dir="os/newlib"
41332 cat >>confdefs.h <<\_ACEOF
41333 #define HAVE_HYPOT 1
41334 _ACEOF
41337 # GLIBCXX_CHECK_STDLIB_SUPPORT
41338 cat >>confdefs.h <<\_ACEOF
41339 #define HAVE_STRTOF 1
41340 _ACEOF
41342 # AC_FUNC_MMAP
41343 cat >>confdefs.h <<\_ACEOF
41344 #define HAVE_MMAP 1
41345 _ACEOF
41348 cat >>confdefs.h <<\_ACEOF
41349 #define HAVE_ACOSF 1
41350 _ACEOF
41352 cat >>confdefs.h <<\_ACEOF
41353 #define HAVE_ASINF 1
41354 _ACEOF
41356 cat >>confdefs.h <<\_ACEOF
41357 #define HAVE_ATAN2F 1
41358 _ACEOF
41360 cat >>confdefs.h <<\_ACEOF
41361 #define HAVE_ATANF 1
41362 _ACEOF
41364 cat >>confdefs.h <<\_ACEOF
41365 #define HAVE_CEILF 1
41366 _ACEOF
41368 cat >>confdefs.h <<\_ACEOF
41369 #define HAVE_COPYSIGN 1
41370 _ACEOF
41372 cat >>confdefs.h <<\_ACEOF
41373 #define HAVE_COPYSIGNF 1
41374 _ACEOF
41376 cat >>confdefs.h <<\_ACEOF
41377 #define HAVE_COSF 1
41378 _ACEOF
41380 cat >>confdefs.h <<\_ACEOF
41381 #define HAVE_COSHF 1
41382 _ACEOF
41384 cat >>confdefs.h <<\_ACEOF
41385 #define HAVE_EXPF 1
41386 _ACEOF
41388 cat >>confdefs.h <<\_ACEOF
41389 #define HAVE_FABSF 1
41390 _ACEOF
41392 cat >>confdefs.h <<\_ACEOF
41393 #define HAVE_FLOORF 1
41394 _ACEOF
41396 cat >>confdefs.h <<\_ACEOF
41397 #define HAVE_FMODF 1
41398 _ACEOF
41400 cat >>confdefs.h <<\_ACEOF
41401 #define HAVE_FREXPF 1
41402 _ACEOF
41404 cat >>confdefs.h <<\_ACEOF
41405 #define HAVE_LDEXPF 1
41406 _ACEOF
41408 cat >>confdefs.h <<\_ACEOF
41409 #define HAVE_LOG10F 1
41410 _ACEOF
41412 cat >>confdefs.h <<\_ACEOF
41413 #define HAVE_LOGF 1
41414 _ACEOF
41416 cat >>confdefs.h <<\_ACEOF
41417 #define HAVE_MODFF 1
41418 _ACEOF
41420 cat >>confdefs.h <<\_ACEOF
41421 #define HAVE_POWF 1
41422 _ACEOF
41424 cat >>confdefs.h <<\_ACEOF
41425 #define HAVE_SINF 1
41426 _ACEOF
41428 cat >>confdefs.h <<\_ACEOF
41429 #define HAVE_SINHF 1
41430 _ACEOF
41432 cat >>confdefs.h <<\_ACEOF
41433 #define HAVE_SQRTF 1
41434 _ACEOF
41436 cat >>confdefs.h <<\_ACEOF
41437 #define HAVE_TANF 1
41438 _ACEOF
41440 cat >>confdefs.h <<\_ACEOF
41441 #define HAVE_TANHF 1
41442 _ACEOF
41445 cat >>confdefs.h <<\_ACEOF
41446 #define HAVE_S_ISREG 1
41447 _ACEOF
41449 cat >>confdefs.h <<\_ACEOF
41450 #define HAVE_S_IFREG 1
41451 _ACEOF
41454 cat >>confdefs.h <<\_ACEOF
41455 #define HAVE_ICONV 1
41456 _ACEOF
41458 else
41460 # Base decisions on target environment.
41461 case "${host}" in
41462 arm*-*-symbianelf*)
41463 # This is a freestanding configuration; there is nothing to do here.
41466 *-darwin*)
41467 # Darwin versions vary, but the linker should work in a cross environment,
41468 # so we just check for all the features here.
41469 # Check for available headers.
41483 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
41484 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
41485 sys/types.h
41487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41489 echo "$as_me:$LINENO: checking for $ac_header" >&5
41490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41492 echo $ECHO_N "(cached) $ECHO_C" >&6
41494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41496 else
41497 # Is the header compilable?
41498 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41500 cat >conftest.$ac_ext <<_ACEOF
41501 /* confdefs.h. */
41502 _ACEOF
41503 cat confdefs.h >>conftest.$ac_ext
41504 cat >>conftest.$ac_ext <<_ACEOF
41505 /* end confdefs.h. */
41506 $ac_includes_default
41507 #include <$ac_header>
41508 _ACEOF
41509 rm -f conftest.$ac_objext
41510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41511 (eval $ac_compile) 2>conftest.er1
41512 ac_status=$?
41513 grep -v '^ *+' conftest.er1 >conftest.err
41514 rm -f conftest.er1
41515 cat conftest.err >&5
41516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41517 (exit $ac_status); } &&
41518 { ac_try='test -z "$ac_c_werror_flag"
41519 || test ! -s conftest.err'
41520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41521 (eval $ac_try) 2>&5
41522 ac_status=$?
41523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41524 (exit $ac_status); }; } &&
41525 { ac_try='test -s conftest.$ac_objext'
41526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41527 (eval $ac_try) 2>&5
41528 ac_status=$?
41529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41530 (exit $ac_status); }; }; then
41531 ac_header_compiler=yes
41532 else
41533 echo "$as_me: failed program was:" >&5
41534 sed 's/^/| /' conftest.$ac_ext >&5
41536 ac_header_compiler=no
41538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41540 echo "${ECHO_T}$ac_header_compiler" >&6
41542 # Is the header present?
41543 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41545 cat >conftest.$ac_ext <<_ACEOF
41546 /* confdefs.h. */
41547 _ACEOF
41548 cat confdefs.h >>conftest.$ac_ext
41549 cat >>conftest.$ac_ext <<_ACEOF
41550 /* end confdefs.h. */
41551 #include <$ac_header>
41552 _ACEOF
41553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41554 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41555 ac_status=$?
41556 grep -v '^ *+' conftest.er1 >conftest.err
41557 rm -f conftest.er1
41558 cat conftest.err >&5
41559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41560 (exit $ac_status); } >/dev/null; then
41561 if test -s conftest.err; then
41562 ac_cpp_err=$ac_c_preproc_warn_flag
41563 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41564 else
41565 ac_cpp_err=
41567 else
41568 ac_cpp_err=yes
41570 if test -z "$ac_cpp_err"; then
41571 ac_header_preproc=yes
41572 else
41573 echo "$as_me: failed program was:" >&5
41574 sed 's/^/| /' conftest.$ac_ext >&5
41576 ac_header_preproc=no
41578 rm -f conftest.err conftest.$ac_ext
41579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41580 echo "${ECHO_T}$ac_header_preproc" >&6
41582 # So? What about this header?
41583 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41584 yes:no: )
41585 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41588 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41589 ac_header_preproc=yes
41591 no:yes:* )
41592 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41593 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41594 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41595 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41596 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41597 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41598 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41599 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41602 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41603 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41605 cat <<\_ASBOX
41606 ## ----------------------------------------- ##
41607 ## Report this to the package-unused lists. ##
41608 ## ----------------------------------------- ##
41609 _ASBOX
41611 sed "s/^/$as_me: WARNING: /" >&2
41613 esac
41614 echo "$as_me:$LINENO: checking for $ac_header" >&5
41615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41617 echo $ECHO_N "(cached) $ECHO_C" >&6
41618 else
41619 eval "$as_ac_Header=\$ac_header_preproc"
41621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41626 cat >>confdefs.h <<_ACEOF
41627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41628 _ACEOF
41632 done
41635 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41637 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41638 ac_save_CXXFLAGS="$CXXFLAGS"
41639 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41641 echo "$as_me:$LINENO: checking for sin in -lm" >&5
41642 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
41643 if test "${ac_cv_lib_m_sin+set}" = set; then
41644 echo $ECHO_N "(cached) $ECHO_C" >&6
41645 else
41646 ac_check_lib_save_LIBS=$LIBS
41647 LIBS="-lm $LIBS"
41648 if test x$gcc_no_link = xyes; then
41649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41651 { (exit 1); exit 1; }; }
41653 cat >conftest.$ac_ext <<_ACEOF
41654 /* confdefs.h. */
41655 _ACEOF
41656 cat confdefs.h >>conftest.$ac_ext
41657 cat >>conftest.$ac_ext <<_ACEOF
41658 /* end confdefs.h. */
41660 /* Override any gcc2 internal prototype to avoid an error. */
41661 #ifdef __cplusplus
41662 extern "C"
41663 #endif
41664 /* We use char because int might match the return type of a gcc2
41665 builtin and then its argument prototype would still apply. */
41666 char sin ();
41668 main ()
41670 sin ();
41672 return 0;
41674 _ACEOF
41675 rm -f conftest.$ac_objext conftest$ac_exeext
41676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41677 (eval $ac_link) 2>conftest.er1
41678 ac_status=$?
41679 grep -v '^ *+' conftest.er1 >conftest.err
41680 rm -f conftest.er1
41681 cat conftest.err >&5
41682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41683 (exit $ac_status); } &&
41684 { ac_try='test -z "$ac_c_werror_flag"
41685 || test ! -s conftest.err'
41686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41687 (eval $ac_try) 2>&5
41688 ac_status=$?
41689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41690 (exit $ac_status); }; } &&
41691 { ac_try='test -s conftest$ac_exeext'
41692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41693 (eval $ac_try) 2>&5
41694 ac_status=$?
41695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41696 (exit $ac_status); }; }; then
41697 ac_cv_lib_m_sin=yes
41698 else
41699 echo "$as_me: failed program was:" >&5
41700 sed 's/^/| /' conftest.$ac_ext >&5
41702 ac_cv_lib_m_sin=no
41704 rm -f conftest.err conftest.$ac_objext \
41705 conftest$ac_exeext conftest.$ac_ext
41706 LIBS=$ac_check_lib_save_LIBS
41708 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
41709 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
41710 if test $ac_cv_lib_m_sin = yes; then
41711 libm="-lm"
41714 ac_save_LIBS="$LIBS"
41715 LIBS="$LIBS $libm"
41719 echo "$as_me:$LINENO: checking for isinf declaration" >&5
41720 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
41721 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41722 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
41723 echo $ECHO_N "(cached) $ECHO_C" >&6
41724 else
41728 ac_ext=cc
41729 ac_cpp='$CXXCPP $CPPFLAGS'
41730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41734 cat >conftest.$ac_ext <<_ACEOF
41735 /* confdefs.h. */
41736 _ACEOF
41737 cat confdefs.h >>conftest.$ac_ext
41738 cat >>conftest.$ac_ext <<_ACEOF
41739 /* end confdefs.h. */
41740 #include <math.h>
41741 #ifdef HAVE_IEEEFP_H
41742 #include <ieeefp.h>
41743 #endif
41746 main ()
41748 isinf(0);
41750 return 0;
41752 _ACEOF
41753 rm -f conftest.$ac_objext
41754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41755 (eval $ac_compile) 2>conftest.er1
41756 ac_status=$?
41757 grep -v '^ *+' conftest.er1 >conftest.err
41758 rm -f conftest.er1
41759 cat conftest.err >&5
41760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41761 (exit $ac_status); } &&
41762 { ac_try='test -z "$ac_cxx_werror_flag"
41763 || test ! -s conftest.err'
41764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41765 (eval $ac_try) 2>&5
41766 ac_status=$?
41767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41768 (exit $ac_status); }; } &&
41769 { ac_try='test -s conftest.$ac_objext'
41770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41771 (eval $ac_try) 2>&5
41772 ac_status=$?
41773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41774 (exit $ac_status); }; }; then
41775 glibcxx_cv_func_isinf_use=yes
41776 else
41777 echo "$as_me: failed program was:" >&5
41778 sed 's/^/| /' conftest.$ac_ext >&5
41780 glibcxx_cv_func_isinf_use=no
41782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41783 ac_ext=c
41784 ac_cpp='$CPP $CPPFLAGS'
41785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41793 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
41794 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
41796 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41798 for ac_func in isinf
41800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41801 echo "$as_me:$LINENO: checking for $ac_func" >&5
41802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41803 if eval "test \"\${$as_ac_var+set}\" = set"; then
41804 echo $ECHO_N "(cached) $ECHO_C" >&6
41805 else
41806 if test x$gcc_no_link = xyes; then
41807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41809 { (exit 1); exit 1; }; }
41811 cat >conftest.$ac_ext <<_ACEOF
41812 /* confdefs.h. */
41813 _ACEOF
41814 cat confdefs.h >>conftest.$ac_ext
41815 cat >>conftest.$ac_ext <<_ACEOF
41816 /* end confdefs.h. */
41817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41819 #define $ac_func innocuous_$ac_func
41821 /* System header to define __stub macros and hopefully few prototypes,
41822 which can conflict with char $ac_func (); below.
41823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41824 <limits.h> exists even on freestanding compilers. */
41826 #ifdef __STDC__
41827 # include <limits.h>
41828 #else
41829 # include <assert.h>
41830 #endif
41832 #undef $ac_func
41834 /* Override any gcc2 internal prototype to avoid an error. */
41835 #ifdef __cplusplus
41836 extern "C"
41838 #endif
41839 /* We use char because int might match the return type of a gcc2
41840 builtin and then its argument prototype would still apply. */
41841 char $ac_func ();
41842 /* The GNU C library defines this for functions which it implements
41843 to always fail with ENOSYS. Some functions are actually named
41844 something starting with __ and the normal name is an alias. */
41845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41846 choke me
41847 #else
41848 char (*f) () = $ac_func;
41849 #endif
41850 #ifdef __cplusplus
41852 #endif
41855 main ()
41857 return f != $ac_func;
41859 return 0;
41861 _ACEOF
41862 rm -f conftest.$ac_objext conftest$ac_exeext
41863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41864 (eval $ac_link) 2>conftest.er1
41865 ac_status=$?
41866 grep -v '^ *+' conftest.er1 >conftest.err
41867 rm -f conftest.er1
41868 cat conftest.err >&5
41869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41870 (exit $ac_status); } &&
41871 { ac_try='test -z "$ac_c_werror_flag"
41872 || test ! -s conftest.err'
41873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41874 (eval $ac_try) 2>&5
41875 ac_status=$?
41876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41877 (exit $ac_status); }; } &&
41878 { ac_try='test -s conftest$ac_exeext'
41879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41880 (eval $ac_try) 2>&5
41881 ac_status=$?
41882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41883 (exit $ac_status); }; }; then
41884 eval "$as_ac_var=yes"
41885 else
41886 echo "$as_me: failed program was:" >&5
41887 sed 's/^/| /' conftest.$ac_ext >&5
41889 eval "$as_ac_var=no"
41891 rm -f conftest.err conftest.$ac_objext \
41892 conftest$ac_exeext conftest.$ac_ext
41894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41896 if test `eval echo '${'$as_ac_var'}'` = yes; then
41897 cat >>confdefs.h <<_ACEOF
41898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41899 _ACEOF
41902 done
41904 else
41906 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
41907 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
41908 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41909 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
41910 echo $ECHO_N "(cached) $ECHO_C" >&6
41911 else
41915 ac_ext=cc
41916 ac_cpp='$CXXCPP $CPPFLAGS'
41917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41921 cat >conftest.$ac_ext <<_ACEOF
41922 /* confdefs.h. */
41923 _ACEOF
41924 cat confdefs.h >>conftest.$ac_ext
41925 cat >>conftest.$ac_ext <<_ACEOF
41926 /* end confdefs.h. */
41927 #include <math.h>
41928 #ifdef HAVE_IEEEFP_H
41929 #include <ieeefp.h>
41930 #endif
41933 main ()
41935 _isinf(0);
41937 return 0;
41939 _ACEOF
41940 rm -f conftest.$ac_objext
41941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41942 (eval $ac_compile) 2>conftest.er1
41943 ac_status=$?
41944 grep -v '^ *+' conftest.er1 >conftest.err
41945 rm -f conftest.er1
41946 cat conftest.err >&5
41947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41948 (exit $ac_status); } &&
41949 { ac_try='test -z "$ac_cxx_werror_flag"
41950 || test ! -s conftest.err'
41951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41952 (eval $ac_try) 2>&5
41953 ac_status=$?
41954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41955 (exit $ac_status); }; } &&
41956 { ac_try='test -s conftest.$ac_objext'
41957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41958 (eval $ac_try) 2>&5
41959 ac_status=$?
41960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41961 (exit $ac_status); }; }; then
41962 glibcxx_cv_func__isinf_use=yes
41963 else
41964 echo "$as_me: failed program was:" >&5
41965 sed 's/^/| /' conftest.$ac_ext >&5
41967 glibcxx_cv_func__isinf_use=no
41969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41970 ac_ext=c
41971 ac_cpp='$CPP $CPPFLAGS'
41972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41980 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
41981 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
41983 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41985 for ac_func in _isinf
41987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41988 echo "$as_me:$LINENO: checking for $ac_func" >&5
41989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41990 if eval "test \"\${$as_ac_var+set}\" = set"; then
41991 echo $ECHO_N "(cached) $ECHO_C" >&6
41992 else
41993 if test x$gcc_no_link = xyes; then
41994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41996 { (exit 1); exit 1; }; }
41998 cat >conftest.$ac_ext <<_ACEOF
41999 /* confdefs.h. */
42000 _ACEOF
42001 cat confdefs.h >>conftest.$ac_ext
42002 cat >>conftest.$ac_ext <<_ACEOF
42003 /* end confdefs.h. */
42004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42006 #define $ac_func innocuous_$ac_func
42008 /* System header to define __stub macros and hopefully few prototypes,
42009 which can conflict with char $ac_func (); below.
42010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42011 <limits.h> exists even on freestanding compilers. */
42013 #ifdef __STDC__
42014 # include <limits.h>
42015 #else
42016 # include <assert.h>
42017 #endif
42019 #undef $ac_func
42021 /* Override any gcc2 internal prototype to avoid an error. */
42022 #ifdef __cplusplus
42023 extern "C"
42025 #endif
42026 /* We use char because int might match the return type of a gcc2
42027 builtin and then its argument prototype would still apply. */
42028 char $ac_func ();
42029 /* The GNU C library defines this for functions which it implements
42030 to always fail with ENOSYS. Some functions are actually named
42031 something starting with __ and the normal name is an alias. */
42032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42033 choke me
42034 #else
42035 char (*f) () = $ac_func;
42036 #endif
42037 #ifdef __cplusplus
42039 #endif
42042 main ()
42044 return f != $ac_func;
42046 return 0;
42048 _ACEOF
42049 rm -f conftest.$ac_objext conftest$ac_exeext
42050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42051 (eval $ac_link) 2>conftest.er1
42052 ac_status=$?
42053 grep -v '^ *+' conftest.er1 >conftest.err
42054 rm -f conftest.er1
42055 cat conftest.err >&5
42056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42057 (exit $ac_status); } &&
42058 { ac_try='test -z "$ac_c_werror_flag"
42059 || test ! -s conftest.err'
42060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42061 (eval $ac_try) 2>&5
42062 ac_status=$?
42063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42064 (exit $ac_status); }; } &&
42065 { ac_try='test -s conftest$ac_exeext'
42066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42067 (eval $ac_try) 2>&5
42068 ac_status=$?
42069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42070 (exit $ac_status); }; }; then
42071 eval "$as_ac_var=yes"
42072 else
42073 echo "$as_me: failed program was:" >&5
42074 sed 's/^/| /' conftest.$ac_ext >&5
42076 eval "$as_ac_var=no"
42078 rm -f conftest.err conftest.$ac_objext \
42079 conftest$ac_exeext conftest.$ac_ext
42081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42083 if test `eval echo '${'$as_ac_var'}'` = yes; then
42084 cat >>confdefs.h <<_ACEOF
42085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42086 _ACEOF
42089 done
42099 echo "$as_me:$LINENO: checking for isnan declaration" >&5
42100 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
42101 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42102 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
42103 echo $ECHO_N "(cached) $ECHO_C" >&6
42104 else
42108 ac_ext=cc
42109 ac_cpp='$CXXCPP $CPPFLAGS'
42110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42114 cat >conftest.$ac_ext <<_ACEOF
42115 /* confdefs.h. */
42116 _ACEOF
42117 cat confdefs.h >>conftest.$ac_ext
42118 cat >>conftest.$ac_ext <<_ACEOF
42119 /* end confdefs.h. */
42120 #include <math.h>
42121 #ifdef HAVE_IEEEFP_H
42122 #include <ieeefp.h>
42123 #endif
42126 main ()
42128 isnan(0);
42130 return 0;
42132 _ACEOF
42133 rm -f conftest.$ac_objext
42134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42135 (eval $ac_compile) 2>conftest.er1
42136 ac_status=$?
42137 grep -v '^ *+' conftest.er1 >conftest.err
42138 rm -f conftest.er1
42139 cat conftest.err >&5
42140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42141 (exit $ac_status); } &&
42142 { ac_try='test -z "$ac_cxx_werror_flag"
42143 || test ! -s conftest.err'
42144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42145 (eval $ac_try) 2>&5
42146 ac_status=$?
42147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42148 (exit $ac_status); }; } &&
42149 { ac_try='test -s conftest.$ac_objext'
42150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42151 (eval $ac_try) 2>&5
42152 ac_status=$?
42153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42154 (exit $ac_status); }; }; then
42155 glibcxx_cv_func_isnan_use=yes
42156 else
42157 echo "$as_me: failed program was:" >&5
42158 sed 's/^/| /' conftest.$ac_ext >&5
42160 glibcxx_cv_func_isnan_use=no
42162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42163 ac_ext=c
42164 ac_cpp='$CPP $CPPFLAGS'
42165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42173 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
42174 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
42176 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
42178 for ac_func in isnan
42180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42181 echo "$as_me:$LINENO: checking for $ac_func" >&5
42182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42183 if eval "test \"\${$as_ac_var+set}\" = set"; then
42184 echo $ECHO_N "(cached) $ECHO_C" >&6
42185 else
42186 if test x$gcc_no_link = xyes; then
42187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42189 { (exit 1); exit 1; }; }
42191 cat >conftest.$ac_ext <<_ACEOF
42192 /* confdefs.h. */
42193 _ACEOF
42194 cat confdefs.h >>conftest.$ac_ext
42195 cat >>conftest.$ac_ext <<_ACEOF
42196 /* end confdefs.h. */
42197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42199 #define $ac_func innocuous_$ac_func
42201 /* System header to define __stub macros and hopefully few prototypes,
42202 which can conflict with char $ac_func (); below.
42203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42204 <limits.h> exists even on freestanding compilers. */
42206 #ifdef __STDC__
42207 # include <limits.h>
42208 #else
42209 # include <assert.h>
42210 #endif
42212 #undef $ac_func
42214 /* Override any gcc2 internal prototype to avoid an error. */
42215 #ifdef __cplusplus
42216 extern "C"
42218 #endif
42219 /* We use char because int might match the return type of a gcc2
42220 builtin and then its argument prototype would still apply. */
42221 char $ac_func ();
42222 /* The GNU C library defines this for functions which it implements
42223 to always fail with ENOSYS. Some functions are actually named
42224 something starting with __ and the normal name is an alias. */
42225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42226 choke me
42227 #else
42228 char (*f) () = $ac_func;
42229 #endif
42230 #ifdef __cplusplus
42232 #endif
42235 main ()
42237 return f != $ac_func;
42239 return 0;
42241 _ACEOF
42242 rm -f conftest.$ac_objext conftest$ac_exeext
42243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42244 (eval $ac_link) 2>conftest.er1
42245 ac_status=$?
42246 grep -v '^ *+' conftest.er1 >conftest.err
42247 rm -f conftest.er1
42248 cat conftest.err >&5
42249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42250 (exit $ac_status); } &&
42251 { ac_try='test -z "$ac_c_werror_flag"
42252 || test ! -s conftest.err'
42253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42254 (eval $ac_try) 2>&5
42255 ac_status=$?
42256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42257 (exit $ac_status); }; } &&
42258 { ac_try='test -s conftest$ac_exeext'
42259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42260 (eval $ac_try) 2>&5
42261 ac_status=$?
42262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42263 (exit $ac_status); }; }; then
42264 eval "$as_ac_var=yes"
42265 else
42266 echo "$as_me: failed program was:" >&5
42267 sed 's/^/| /' conftest.$ac_ext >&5
42269 eval "$as_ac_var=no"
42271 rm -f conftest.err conftest.$ac_objext \
42272 conftest$ac_exeext conftest.$ac_ext
42274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42276 if test `eval echo '${'$as_ac_var'}'` = yes; then
42277 cat >>confdefs.h <<_ACEOF
42278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42279 _ACEOF
42282 done
42284 else
42286 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
42287 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
42288 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
42289 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
42290 echo $ECHO_N "(cached) $ECHO_C" >&6
42291 else
42295 ac_ext=cc
42296 ac_cpp='$CXXCPP $CPPFLAGS'
42297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42301 cat >conftest.$ac_ext <<_ACEOF
42302 /* confdefs.h. */
42303 _ACEOF
42304 cat confdefs.h >>conftest.$ac_ext
42305 cat >>conftest.$ac_ext <<_ACEOF
42306 /* end confdefs.h. */
42307 #include <math.h>
42308 #ifdef HAVE_IEEEFP_H
42309 #include <ieeefp.h>
42310 #endif
42313 main ()
42315 _isnan(0);
42317 return 0;
42319 _ACEOF
42320 rm -f conftest.$ac_objext
42321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42322 (eval $ac_compile) 2>conftest.er1
42323 ac_status=$?
42324 grep -v '^ *+' conftest.er1 >conftest.err
42325 rm -f conftest.er1
42326 cat conftest.err >&5
42327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42328 (exit $ac_status); } &&
42329 { ac_try='test -z "$ac_cxx_werror_flag"
42330 || test ! -s conftest.err'
42331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42332 (eval $ac_try) 2>&5
42333 ac_status=$?
42334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42335 (exit $ac_status); }; } &&
42336 { ac_try='test -s conftest.$ac_objext'
42337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42338 (eval $ac_try) 2>&5
42339 ac_status=$?
42340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42341 (exit $ac_status); }; }; then
42342 glibcxx_cv_func__isnan_use=yes
42343 else
42344 echo "$as_me: failed program was:" >&5
42345 sed 's/^/| /' conftest.$ac_ext >&5
42347 glibcxx_cv_func__isnan_use=no
42349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42350 ac_ext=c
42351 ac_cpp='$CPP $CPPFLAGS'
42352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42360 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
42361 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
42363 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
42365 for ac_func in _isnan
42367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42368 echo "$as_me:$LINENO: checking for $ac_func" >&5
42369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42370 if eval "test \"\${$as_ac_var+set}\" = set"; then
42371 echo $ECHO_N "(cached) $ECHO_C" >&6
42372 else
42373 if test x$gcc_no_link = xyes; then
42374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42376 { (exit 1); exit 1; }; }
42378 cat >conftest.$ac_ext <<_ACEOF
42379 /* confdefs.h. */
42380 _ACEOF
42381 cat confdefs.h >>conftest.$ac_ext
42382 cat >>conftest.$ac_ext <<_ACEOF
42383 /* end confdefs.h. */
42384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42386 #define $ac_func innocuous_$ac_func
42388 /* System header to define __stub macros and hopefully few prototypes,
42389 which can conflict with char $ac_func (); below.
42390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42391 <limits.h> exists even on freestanding compilers. */
42393 #ifdef __STDC__
42394 # include <limits.h>
42395 #else
42396 # include <assert.h>
42397 #endif
42399 #undef $ac_func
42401 /* Override any gcc2 internal prototype to avoid an error. */
42402 #ifdef __cplusplus
42403 extern "C"
42405 #endif
42406 /* We use char because int might match the return type of a gcc2
42407 builtin and then its argument prototype would still apply. */
42408 char $ac_func ();
42409 /* The GNU C library defines this for functions which it implements
42410 to always fail with ENOSYS. Some functions are actually named
42411 something starting with __ and the normal name is an alias. */
42412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42413 choke me
42414 #else
42415 char (*f) () = $ac_func;
42416 #endif
42417 #ifdef __cplusplus
42419 #endif
42422 main ()
42424 return f != $ac_func;
42426 return 0;
42428 _ACEOF
42429 rm -f conftest.$ac_objext conftest$ac_exeext
42430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42431 (eval $ac_link) 2>conftest.er1
42432 ac_status=$?
42433 grep -v '^ *+' conftest.er1 >conftest.err
42434 rm -f conftest.er1
42435 cat conftest.err >&5
42436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42437 (exit $ac_status); } &&
42438 { ac_try='test -z "$ac_c_werror_flag"
42439 || test ! -s conftest.err'
42440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42441 (eval $ac_try) 2>&5
42442 ac_status=$?
42443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42444 (exit $ac_status); }; } &&
42445 { ac_try='test -s conftest$ac_exeext'
42446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42447 (eval $ac_try) 2>&5
42448 ac_status=$?
42449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42450 (exit $ac_status); }; }; then
42451 eval "$as_ac_var=yes"
42452 else
42453 echo "$as_me: failed program was:" >&5
42454 sed 's/^/| /' conftest.$ac_ext >&5
42456 eval "$as_ac_var=no"
42458 rm -f conftest.err conftest.$ac_objext \
42459 conftest$ac_exeext conftest.$ac_ext
42461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42463 if test `eval echo '${'$as_ac_var'}'` = yes; then
42464 cat >>confdefs.h <<_ACEOF
42465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42466 _ACEOF
42469 done
42479 echo "$as_me:$LINENO: checking for finite declaration" >&5
42480 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
42481 if test x${glibcxx_cv_func_finite_use+set} != xset; then
42482 if test "${glibcxx_cv_func_finite_use+set}" = set; then
42483 echo $ECHO_N "(cached) $ECHO_C" >&6
42484 else
42488 ac_ext=cc
42489 ac_cpp='$CXXCPP $CPPFLAGS'
42490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42494 cat >conftest.$ac_ext <<_ACEOF
42495 /* confdefs.h. */
42496 _ACEOF
42497 cat confdefs.h >>conftest.$ac_ext
42498 cat >>conftest.$ac_ext <<_ACEOF
42499 /* end confdefs.h. */
42500 #include <math.h>
42501 #ifdef HAVE_IEEEFP_H
42502 #include <ieeefp.h>
42503 #endif
42506 main ()
42508 finite(0);
42510 return 0;
42512 _ACEOF
42513 rm -f conftest.$ac_objext
42514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42515 (eval $ac_compile) 2>conftest.er1
42516 ac_status=$?
42517 grep -v '^ *+' conftest.er1 >conftest.err
42518 rm -f conftest.er1
42519 cat conftest.err >&5
42520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42521 (exit $ac_status); } &&
42522 { ac_try='test -z "$ac_cxx_werror_flag"
42523 || test ! -s conftest.err'
42524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42525 (eval $ac_try) 2>&5
42526 ac_status=$?
42527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42528 (exit $ac_status); }; } &&
42529 { ac_try='test -s conftest.$ac_objext'
42530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42531 (eval $ac_try) 2>&5
42532 ac_status=$?
42533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42534 (exit $ac_status); }; }; then
42535 glibcxx_cv_func_finite_use=yes
42536 else
42537 echo "$as_me: failed program was:" >&5
42538 sed 's/^/| /' conftest.$ac_ext >&5
42540 glibcxx_cv_func_finite_use=no
42542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42543 ac_ext=c
42544 ac_cpp='$CPP $CPPFLAGS'
42545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42553 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
42554 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
42556 if test x$glibcxx_cv_func_finite_use = x"yes"; then
42558 for ac_func in finite
42560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42561 echo "$as_me:$LINENO: checking for $ac_func" >&5
42562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42563 if eval "test \"\${$as_ac_var+set}\" = set"; then
42564 echo $ECHO_N "(cached) $ECHO_C" >&6
42565 else
42566 if test x$gcc_no_link = xyes; then
42567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42569 { (exit 1); exit 1; }; }
42571 cat >conftest.$ac_ext <<_ACEOF
42572 /* confdefs.h. */
42573 _ACEOF
42574 cat confdefs.h >>conftest.$ac_ext
42575 cat >>conftest.$ac_ext <<_ACEOF
42576 /* end confdefs.h. */
42577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42579 #define $ac_func innocuous_$ac_func
42581 /* System header to define __stub macros and hopefully few prototypes,
42582 which can conflict with char $ac_func (); below.
42583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42584 <limits.h> exists even on freestanding compilers. */
42586 #ifdef __STDC__
42587 # include <limits.h>
42588 #else
42589 # include <assert.h>
42590 #endif
42592 #undef $ac_func
42594 /* Override any gcc2 internal prototype to avoid an error. */
42595 #ifdef __cplusplus
42596 extern "C"
42598 #endif
42599 /* We use char because int might match the return type of a gcc2
42600 builtin and then its argument prototype would still apply. */
42601 char $ac_func ();
42602 /* The GNU C library defines this for functions which it implements
42603 to always fail with ENOSYS. Some functions are actually named
42604 something starting with __ and the normal name is an alias. */
42605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42606 choke me
42607 #else
42608 char (*f) () = $ac_func;
42609 #endif
42610 #ifdef __cplusplus
42612 #endif
42615 main ()
42617 return f != $ac_func;
42619 return 0;
42621 _ACEOF
42622 rm -f conftest.$ac_objext conftest$ac_exeext
42623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42624 (eval $ac_link) 2>conftest.er1
42625 ac_status=$?
42626 grep -v '^ *+' conftest.er1 >conftest.err
42627 rm -f conftest.er1
42628 cat conftest.err >&5
42629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42630 (exit $ac_status); } &&
42631 { ac_try='test -z "$ac_c_werror_flag"
42632 || test ! -s conftest.err'
42633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42634 (eval $ac_try) 2>&5
42635 ac_status=$?
42636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42637 (exit $ac_status); }; } &&
42638 { ac_try='test -s conftest$ac_exeext'
42639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42640 (eval $ac_try) 2>&5
42641 ac_status=$?
42642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42643 (exit $ac_status); }; }; then
42644 eval "$as_ac_var=yes"
42645 else
42646 echo "$as_me: failed program was:" >&5
42647 sed 's/^/| /' conftest.$ac_ext >&5
42649 eval "$as_ac_var=no"
42651 rm -f conftest.err conftest.$ac_objext \
42652 conftest$ac_exeext conftest.$ac_ext
42654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42656 if test `eval echo '${'$as_ac_var'}'` = yes; then
42657 cat >>confdefs.h <<_ACEOF
42658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42659 _ACEOF
42662 done
42664 else
42666 echo "$as_me:$LINENO: checking for _finite declaration" >&5
42667 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
42668 if test x${glibcxx_cv_func__finite_use+set} != xset; then
42669 if test "${glibcxx_cv_func__finite_use+set}" = set; then
42670 echo $ECHO_N "(cached) $ECHO_C" >&6
42671 else
42675 ac_ext=cc
42676 ac_cpp='$CXXCPP $CPPFLAGS'
42677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42681 cat >conftest.$ac_ext <<_ACEOF
42682 /* confdefs.h. */
42683 _ACEOF
42684 cat confdefs.h >>conftest.$ac_ext
42685 cat >>conftest.$ac_ext <<_ACEOF
42686 /* end confdefs.h. */
42687 #include <math.h>
42688 #ifdef HAVE_IEEEFP_H
42689 #include <ieeefp.h>
42690 #endif
42693 main ()
42695 _finite(0);
42697 return 0;
42699 _ACEOF
42700 rm -f conftest.$ac_objext
42701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42702 (eval $ac_compile) 2>conftest.er1
42703 ac_status=$?
42704 grep -v '^ *+' conftest.er1 >conftest.err
42705 rm -f conftest.er1
42706 cat conftest.err >&5
42707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42708 (exit $ac_status); } &&
42709 { ac_try='test -z "$ac_cxx_werror_flag"
42710 || test ! -s conftest.err'
42711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42712 (eval $ac_try) 2>&5
42713 ac_status=$?
42714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42715 (exit $ac_status); }; } &&
42716 { ac_try='test -s conftest.$ac_objext'
42717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42718 (eval $ac_try) 2>&5
42719 ac_status=$?
42720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42721 (exit $ac_status); }; }; then
42722 glibcxx_cv_func__finite_use=yes
42723 else
42724 echo "$as_me: failed program was:" >&5
42725 sed 's/^/| /' conftest.$ac_ext >&5
42727 glibcxx_cv_func__finite_use=no
42729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42730 ac_ext=c
42731 ac_cpp='$CPP $CPPFLAGS'
42732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42740 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
42741 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
42743 if test x$glibcxx_cv_func__finite_use = x"yes"; then
42745 for ac_func in _finite
42747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42748 echo "$as_me:$LINENO: checking for $ac_func" >&5
42749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42750 if eval "test \"\${$as_ac_var+set}\" = set"; then
42751 echo $ECHO_N "(cached) $ECHO_C" >&6
42752 else
42753 if test x$gcc_no_link = xyes; then
42754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42756 { (exit 1); exit 1; }; }
42758 cat >conftest.$ac_ext <<_ACEOF
42759 /* confdefs.h. */
42760 _ACEOF
42761 cat confdefs.h >>conftest.$ac_ext
42762 cat >>conftest.$ac_ext <<_ACEOF
42763 /* end confdefs.h. */
42764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42766 #define $ac_func innocuous_$ac_func
42768 /* System header to define __stub macros and hopefully few prototypes,
42769 which can conflict with char $ac_func (); below.
42770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42771 <limits.h> exists even on freestanding compilers. */
42773 #ifdef __STDC__
42774 # include <limits.h>
42775 #else
42776 # include <assert.h>
42777 #endif
42779 #undef $ac_func
42781 /* Override any gcc2 internal prototype to avoid an error. */
42782 #ifdef __cplusplus
42783 extern "C"
42785 #endif
42786 /* We use char because int might match the return type of a gcc2
42787 builtin and then its argument prototype would still apply. */
42788 char $ac_func ();
42789 /* The GNU C library defines this for functions which it implements
42790 to always fail with ENOSYS. Some functions are actually named
42791 something starting with __ and the normal name is an alias. */
42792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42793 choke me
42794 #else
42795 char (*f) () = $ac_func;
42796 #endif
42797 #ifdef __cplusplus
42799 #endif
42802 main ()
42804 return f != $ac_func;
42806 return 0;
42808 _ACEOF
42809 rm -f conftest.$ac_objext conftest$ac_exeext
42810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42811 (eval $ac_link) 2>conftest.er1
42812 ac_status=$?
42813 grep -v '^ *+' conftest.er1 >conftest.err
42814 rm -f conftest.er1
42815 cat conftest.err >&5
42816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42817 (exit $ac_status); } &&
42818 { ac_try='test -z "$ac_c_werror_flag"
42819 || test ! -s conftest.err'
42820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42821 (eval $ac_try) 2>&5
42822 ac_status=$?
42823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42824 (exit $ac_status); }; } &&
42825 { ac_try='test -s conftest$ac_exeext'
42826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42827 (eval $ac_try) 2>&5
42828 ac_status=$?
42829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42830 (exit $ac_status); }; }; then
42831 eval "$as_ac_var=yes"
42832 else
42833 echo "$as_me: failed program was:" >&5
42834 sed 's/^/| /' conftest.$ac_ext >&5
42836 eval "$as_ac_var=no"
42838 rm -f conftest.err conftest.$ac_objext \
42839 conftest$ac_exeext conftest.$ac_ext
42841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42843 if test `eval echo '${'$as_ac_var'}'` = yes; then
42844 cat >>confdefs.h <<_ACEOF
42845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42846 _ACEOF
42849 done
42859 echo "$as_me:$LINENO: checking for copysign declaration" >&5
42860 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
42861 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
42862 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
42863 echo $ECHO_N "(cached) $ECHO_C" >&6
42864 else
42868 ac_ext=cc
42869 ac_cpp='$CXXCPP $CPPFLAGS'
42870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42874 cat >conftest.$ac_ext <<_ACEOF
42875 /* confdefs.h. */
42876 _ACEOF
42877 cat confdefs.h >>conftest.$ac_ext
42878 cat >>conftest.$ac_ext <<_ACEOF
42879 /* end confdefs.h. */
42880 #include <math.h>
42882 main ()
42884 copysign(0, 0);
42886 return 0;
42888 _ACEOF
42889 rm -f conftest.$ac_objext
42890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42891 (eval $ac_compile) 2>conftest.er1
42892 ac_status=$?
42893 grep -v '^ *+' conftest.er1 >conftest.err
42894 rm -f conftest.er1
42895 cat conftest.err >&5
42896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42897 (exit $ac_status); } &&
42898 { ac_try='test -z "$ac_cxx_werror_flag"
42899 || test ! -s conftest.err'
42900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42901 (eval $ac_try) 2>&5
42902 ac_status=$?
42903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42904 (exit $ac_status); }; } &&
42905 { ac_try='test -s conftest.$ac_objext'
42906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42907 (eval $ac_try) 2>&5
42908 ac_status=$?
42909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42910 (exit $ac_status); }; }; then
42911 glibcxx_cv_func_copysign_use=yes
42912 else
42913 echo "$as_me: failed program was:" >&5
42914 sed 's/^/| /' conftest.$ac_ext >&5
42916 glibcxx_cv_func_copysign_use=no
42918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42919 ac_ext=c
42920 ac_cpp='$CPP $CPPFLAGS'
42921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42929 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
42930 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
42932 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
42934 for ac_func in copysign
42936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42937 echo "$as_me:$LINENO: checking for $ac_func" >&5
42938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42939 if eval "test \"\${$as_ac_var+set}\" = set"; then
42940 echo $ECHO_N "(cached) $ECHO_C" >&6
42941 else
42942 if test x$gcc_no_link = xyes; then
42943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42945 { (exit 1); exit 1; }; }
42947 cat >conftest.$ac_ext <<_ACEOF
42948 /* confdefs.h. */
42949 _ACEOF
42950 cat confdefs.h >>conftest.$ac_ext
42951 cat >>conftest.$ac_ext <<_ACEOF
42952 /* end confdefs.h. */
42953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42955 #define $ac_func innocuous_$ac_func
42957 /* System header to define __stub macros and hopefully few prototypes,
42958 which can conflict with char $ac_func (); below.
42959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42960 <limits.h> exists even on freestanding compilers. */
42962 #ifdef __STDC__
42963 # include <limits.h>
42964 #else
42965 # include <assert.h>
42966 #endif
42968 #undef $ac_func
42970 /* Override any gcc2 internal prototype to avoid an error. */
42971 #ifdef __cplusplus
42972 extern "C"
42974 #endif
42975 /* We use char because int might match the return type of a gcc2
42976 builtin and then its argument prototype would still apply. */
42977 char $ac_func ();
42978 /* The GNU C library defines this for functions which it implements
42979 to always fail with ENOSYS. Some functions are actually named
42980 something starting with __ and the normal name is an alias. */
42981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42982 choke me
42983 #else
42984 char (*f) () = $ac_func;
42985 #endif
42986 #ifdef __cplusplus
42988 #endif
42991 main ()
42993 return f != $ac_func;
42995 return 0;
42997 _ACEOF
42998 rm -f conftest.$ac_objext conftest$ac_exeext
42999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43000 (eval $ac_link) 2>conftest.er1
43001 ac_status=$?
43002 grep -v '^ *+' conftest.er1 >conftest.err
43003 rm -f conftest.er1
43004 cat conftest.err >&5
43005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43006 (exit $ac_status); } &&
43007 { ac_try='test -z "$ac_c_werror_flag"
43008 || test ! -s conftest.err'
43009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43010 (eval $ac_try) 2>&5
43011 ac_status=$?
43012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43013 (exit $ac_status); }; } &&
43014 { ac_try='test -s conftest$ac_exeext'
43015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43016 (eval $ac_try) 2>&5
43017 ac_status=$?
43018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43019 (exit $ac_status); }; }; then
43020 eval "$as_ac_var=yes"
43021 else
43022 echo "$as_me: failed program was:" >&5
43023 sed 's/^/| /' conftest.$ac_ext >&5
43025 eval "$as_ac_var=no"
43027 rm -f conftest.err conftest.$ac_objext \
43028 conftest$ac_exeext conftest.$ac_ext
43030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43032 if test `eval echo '${'$as_ac_var'}'` = yes; then
43033 cat >>confdefs.h <<_ACEOF
43034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43035 _ACEOF
43038 done
43040 else
43042 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
43043 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
43044 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
43045 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
43046 echo $ECHO_N "(cached) $ECHO_C" >&6
43047 else
43051 ac_ext=cc
43052 ac_cpp='$CXXCPP $CPPFLAGS'
43053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43057 cat >conftest.$ac_ext <<_ACEOF
43058 /* confdefs.h. */
43059 _ACEOF
43060 cat confdefs.h >>conftest.$ac_ext
43061 cat >>conftest.$ac_ext <<_ACEOF
43062 /* end confdefs.h. */
43063 #include <math.h>
43065 main ()
43067 _copysign(0, 0);
43069 return 0;
43071 _ACEOF
43072 rm -f conftest.$ac_objext
43073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43074 (eval $ac_compile) 2>conftest.er1
43075 ac_status=$?
43076 grep -v '^ *+' conftest.er1 >conftest.err
43077 rm -f conftest.er1
43078 cat conftest.err >&5
43079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43080 (exit $ac_status); } &&
43081 { ac_try='test -z "$ac_cxx_werror_flag"
43082 || test ! -s conftest.err'
43083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43084 (eval $ac_try) 2>&5
43085 ac_status=$?
43086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43087 (exit $ac_status); }; } &&
43088 { ac_try='test -s conftest.$ac_objext'
43089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43090 (eval $ac_try) 2>&5
43091 ac_status=$?
43092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43093 (exit $ac_status); }; }; then
43094 glibcxx_cv_func__copysign_use=yes
43095 else
43096 echo "$as_me: failed program was:" >&5
43097 sed 's/^/| /' conftest.$ac_ext >&5
43099 glibcxx_cv_func__copysign_use=no
43101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43102 ac_ext=c
43103 ac_cpp='$CPP $CPPFLAGS'
43104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43112 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
43113 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
43115 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
43117 for ac_func in _copysign
43119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43120 echo "$as_me:$LINENO: checking for $ac_func" >&5
43121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43122 if eval "test \"\${$as_ac_var+set}\" = set"; then
43123 echo $ECHO_N "(cached) $ECHO_C" >&6
43124 else
43125 if test x$gcc_no_link = xyes; then
43126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43128 { (exit 1); exit 1; }; }
43130 cat >conftest.$ac_ext <<_ACEOF
43131 /* confdefs.h. */
43132 _ACEOF
43133 cat confdefs.h >>conftest.$ac_ext
43134 cat >>conftest.$ac_ext <<_ACEOF
43135 /* end confdefs.h. */
43136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43138 #define $ac_func innocuous_$ac_func
43140 /* System header to define __stub macros and hopefully few prototypes,
43141 which can conflict with char $ac_func (); below.
43142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43143 <limits.h> exists even on freestanding compilers. */
43145 #ifdef __STDC__
43146 # include <limits.h>
43147 #else
43148 # include <assert.h>
43149 #endif
43151 #undef $ac_func
43153 /* Override any gcc2 internal prototype to avoid an error. */
43154 #ifdef __cplusplus
43155 extern "C"
43157 #endif
43158 /* We use char because int might match the return type of a gcc2
43159 builtin and then its argument prototype would still apply. */
43160 char $ac_func ();
43161 /* The GNU C library defines this for functions which it implements
43162 to always fail with ENOSYS. Some functions are actually named
43163 something starting with __ and the normal name is an alias. */
43164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43165 choke me
43166 #else
43167 char (*f) () = $ac_func;
43168 #endif
43169 #ifdef __cplusplus
43171 #endif
43174 main ()
43176 return f != $ac_func;
43178 return 0;
43180 _ACEOF
43181 rm -f conftest.$ac_objext conftest$ac_exeext
43182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43183 (eval $ac_link) 2>conftest.er1
43184 ac_status=$?
43185 grep -v '^ *+' conftest.er1 >conftest.err
43186 rm -f conftest.er1
43187 cat conftest.err >&5
43188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43189 (exit $ac_status); } &&
43190 { ac_try='test -z "$ac_c_werror_flag"
43191 || test ! -s conftest.err'
43192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43193 (eval $ac_try) 2>&5
43194 ac_status=$?
43195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43196 (exit $ac_status); }; } &&
43197 { ac_try='test -s conftest$ac_exeext'
43198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43199 (eval $ac_try) 2>&5
43200 ac_status=$?
43201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43202 (exit $ac_status); }; }; then
43203 eval "$as_ac_var=yes"
43204 else
43205 echo "$as_me: failed program was:" >&5
43206 sed 's/^/| /' conftest.$ac_ext >&5
43208 eval "$as_ac_var=no"
43210 rm -f conftest.err conftest.$ac_objext \
43211 conftest$ac_exeext conftest.$ac_ext
43213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43215 if test `eval echo '${'$as_ac_var'}'` = yes; then
43216 cat >>confdefs.h <<_ACEOF
43217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43218 _ACEOF
43221 done
43231 echo "$as_me:$LINENO: checking for sincos declaration" >&5
43232 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
43233 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
43234 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
43235 echo $ECHO_N "(cached) $ECHO_C" >&6
43236 else
43240 ac_ext=cc
43241 ac_cpp='$CXXCPP $CPPFLAGS'
43242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43246 cat >conftest.$ac_ext <<_ACEOF
43247 /* confdefs.h. */
43248 _ACEOF
43249 cat confdefs.h >>conftest.$ac_ext
43250 cat >>conftest.$ac_ext <<_ACEOF
43251 /* end confdefs.h. */
43252 #include <math.h>
43254 main ()
43256 sincos(0, 0, 0);
43258 return 0;
43260 _ACEOF
43261 rm -f conftest.$ac_objext
43262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43263 (eval $ac_compile) 2>conftest.er1
43264 ac_status=$?
43265 grep -v '^ *+' conftest.er1 >conftest.err
43266 rm -f conftest.er1
43267 cat conftest.err >&5
43268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43269 (exit $ac_status); } &&
43270 { ac_try='test -z "$ac_cxx_werror_flag"
43271 || test ! -s conftest.err'
43272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43273 (eval $ac_try) 2>&5
43274 ac_status=$?
43275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43276 (exit $ac_status); }; } &&
43277 { ac_try='test -s conftest.$ac_objext'
43278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43279 (eval $ac_try) 2>&5
43280 ac_status=$?
43281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43282 (exit $ac_status); }; }; then
43283 glibcxx_cv_func_sincos_use=yes
43284 else
43285 echo "$as_me: failed program was:" >&5
43286 sed 's/^/| /' conftest.$ac_ext >&5
43288 glibcxx_cv_func_sincos_use=no
43290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43291 ac_ext=c
43292 ac_cpp='$CPP $CPPFLAGS'
43293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43301 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
43302 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
43304 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
43306 for ac_func in sincos
43308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43309 echo "$as_me:$LINENO: checking for $ac_func" >&5
43310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43311 if eval "test \"\${$as_ac_var+set}\" = set"; then
43312 echo $ECHO_N "(cached) $ECHO_C" >&6
43313 else
43314 if test x$gcc_no_link = xyes; then
43315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43317 { (exit 1); exit 1; }; }
43319 cat >conftest.$ac_ext <<_ACEOF
43320 /* confdefs.h. */
43321 _ACEOF
43322 cat confdefs.h >>conftest.$ac_ext
43323 cat >>conftest.$ac_ext <<_ACEOF
43324 /* end confdefs.h. */
43325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43327 #define $ac_func innocuous_$ac_func
43329 /* System header to define __stub macros and hopefully few prototypes,
43330 which can conflict with char $ac_func (); below.
43331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43332 <limits.h> exists even on freestanding compilers. */
43334 #ifdef __STDC__
43335 # include <limits.h>
43336 #else
43337 # include <assert.h>
43338 #endif
43340 #undef $ac_func
43342 /* Override any gcc2 internal prototype to avoid an error. */
43343 #ifdef __cplusplus
43344 extern "C"
43346 #endif
43347 /* We use char because int might match the return type of a gcc2
43348 builtin and then its argument prototype would still apply. */
43349 char $ac_func ();
43350 /* The GNU C library defines this for functions which it implements
43351 to always fail with ENOSYS. Some functions are actually named
43352 something starting with __ and the normal name is an alias. */
43353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43354 choke me
43355 #else
43356 char (*f) () = $ac_func;
43357 #endif
43358 #ifdef __cplusplus
43360 #endif
43363 main ()
43365 return f != $ac_func;
43367 return 0;
43369 _ACEOF
43370 rm -f conftest.$ac_objext conftest$ac_exeext
43371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43372 (eval $ac_link) 2>conftest.er1
43373 ac_status=$?
43374 grep -v '^ *+' conftest.er1 >conftest.err
43375 rm -f conftest.er1
43376 cat conftest.err >&5
43377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43378 (exit $ac_status); } &&
43379 { ac_try='test -z "$ac_c_werror_flag"
43380 || test ! -s conftest.err'
43381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43382 (eval $ac_try) 2>&5
43383 ac_status=$?
43384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43385 (exit $ac_status); }; } &&
43386 { ac_try='test -s conftest$ac_exeext'
43387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43388 (eval $ac_try) 2>&5
43389 ac_status=$?
43390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43391 (exit $ac_status); }; }; then
43392 eval "$as_ac_var=yes"
43393 else
43394 echo "$as_me: failed program was:" >&5
43395 sed 's/^/| /' conftest.$ac_ext >&5
43397 eval "$as_ac_var=no"
43399 rm -f conftest.err conftest.$ac_objext \
43400 conftest$ac_exeext conftest.$ac_ext
43402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43404 if test `eval echo '${'$as_ac_var'}'` = yes; then
43405 cat >>confdefs.h <<_ACEOF
43406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43407 _ACEOF
43410 done
43412 else
43414 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
43415 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
43416 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
43417 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
43418 echo $ECHO_N "(cached) $ECHO_C" >&6
43419 else
43423 ac_ext=cc
43424 ac_cpp='$CXXCPP $CPPFLAGS'
43425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43429 cat >conftest.$ac_ext <<_ACEOF
43430 /* confdefs.h. */
43431 _ACEOF
43432 cat confdefs.h >>conftest.$ac_ext
43433 cat >>conftest.$ac_ext <<_ACEOF
43434 /* end confdefs.h. */
43435 #include <math.h>
43437 main ()
43439 _sincos(0, 0, 0);
43441 return 0;
43443 _ACEOF
43444 rm -f conftest.$ac_objext
43445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43446 (eval $ac_compile) 2>conftest.er1
43447 ac_status=$?
43448 grep -v '^ *+' conftest.er1 >conftest.err
43449 rm -f conftest.er1
43450 cat conftest.err >&5
43451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43452 (exit $ac_status); } &&
43453 { ac_try='test -z "$ac_cxx_werror_flag"
43454 || test ! -s conftest.err'
43455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43456 (eval $ac_try) 2>&5
43457 ac_status=$?
43458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43459 (exit $ac_status); }; } &&
43460 { ac_try='test -s conftest.$ac_objext'
43461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43462 (eval $ac_try) 2>&5
43463 ac_status=$?
43464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43465 (exit $ac_status); }; }; then
43466 glibcxx_cv_func__sincos_use=yes
43467 else
43468 echo "$as_me: failed program was:" >&5
43469 sed 's/^/| /' conftest.$ac_ext >&5
43471 glibcxx_cv_func__sincos_use=no
43473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43474 ac_ext=c
43475 ac_cpp='$CPP $CPPFLAGS'
43476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43484 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
43485 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
43487 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
43489 for ac_func in _sincos
43491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43492 echo "$as_me:$LINENO: checking for $ac_func" >&5
43493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43494 if eval "test \"\${$as_ac_var+set}\" = set"; then
43495 echo $ECHO_N "(cached) $ECHO_C" >&6
43496 else
43497 if test x$gcc_no_link = xyes; then
43498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43500 { (exit 1); exit 1; }; }
43502 cat >conftest.$ac_ext <<_ACEOF
43503 /* confdefs.h. */
43504 _ACEOF
43505 cat confdefs.h >>conftest.$ac_ext
43506 cat >>conftest.$ac_ext <<_ACEOF
43507 /* end confdefs.h. */
43508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43510 #define $ac_func innocuous_$ac_func
43512 /* System header to define __stub macros and hopefully few prototypes,
43513 which can conflict with char $ac_func (); below.
43514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43515 <limits.h> exists even on freestanding compilers. */
43517 #ifdef __STDC__
43518 # include <limits.h>
43519 #else
43520 # include <assert.h>
43521 #endif
43523 #undef $ac_func
43525 /* Override any gcc2 internal prototype to avoid an error. */
43526 #ifdef __cplusplus
43527 extern "C"
43529 #endif
43530 /* We use char because int might match the return type of a gcc2
43531 builtin and then its argument prototype would still apply. */
43532 char $ac_func ();
43533 /* The GNU C library defines this for functions which it implements
43534 to always fail with ENOSYS. Some functions are actually named
43535 something starting with __ and the normal name is an alias. */
43536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43537 choke me
43538 #else
43539 char (*f) () = $ac_func;
43540 #endif
43541 #ifdef __cplusplus
43543 #endif
43546 main ()
43548 return f != $ac_func;
43550 return 0;
43552 _ACEOF
43553 rm -f conftest.$ac_objext conftest$ac_exeext
43554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43555 (eval $ac_link) 2>conftest.er1
43556 ac_status=$?
43557 grep -v '^ *+' conftest.er1 >conftest.err
43558 rm -f conftest.er1
43559 cat conftest.err >&5
43560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43561 (exit $ac_status); } &&
43562 { ac_try='test -z "$ac_c_werror_flag"
43563 || test ! -s conftest.err'
43564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43565 (eval $ac_try) 2>&5
43566 ac_status=$?
43567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43568 (exit $ac_status); }; } &&
43569 { ac_try='test -s conftest$ac_exeext'
43570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43571 (eval $ac_try) 2>&5
43572 ac_status=$?
43573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43574 (exit $ac_status); }; }; then
43575 eval "$as_ac_var=yes"
43576 else
43577 echo "$as_me: failed program was:" >&5
43578 sed 's/^/| /' conftest.$ac_ext >&5
43580 eval "$as_ac_var=no"
43582 rm -f conftest.err conftest.$ac_objext \
43583 conftest$ac_exeext conftest.$ac_ext
43585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43587 if test `eval echo '${'$as_ac_var'}'` = yes; then
43588 cat >>confdefs.h <<_ACEOF
43589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43590 _ACEOF
43593 done
43603 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
43604 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
43605 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
43606 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
43607 echo $ECHO_N "(cached) $ECHO_C" >&6
43608 else
43612 ac_ext=cc
43613 ac_cpp='$CXXCPP $CPPFLAGS'
43614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43618 cat >conftest.$ac_ext <<_ACEOF
43619 /* confdefs.h. */
43620 _ACEOF
43621 cat confdefs.h >>conftest.$ac_ext
43622 cat >>conftest.$ac_ext <<_ACEOF
43623 /* end confdefs.h. */
43624 #include <math.h>
43625 #ifdef HAVE_IEEEFP_H
43626 #include <ieeefp.h>
43627 #endif
43630 main ()
43632 fpclass(0);
43634 return 0;
43636 _ACEOF
43637 rm -f conftest.$ac_objext
43638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43639 (eval $ac_compile) 2>conftest.er1
43640 ac_status=$?
43641 grep -v '^ *+' conftest.er1 >conftest.err
43642 rm -f conftest.er1
43643 cat conftest.err >&5
43644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43645 (exit $ac_status); } &&
43646 { ac_try='test -z "$ac_cxx_werror_flag"
43647 || test ! -s conftest.err'
43648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43649 (eval $ac_try) 2>&5
43650 ac_status=$?
43651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43652 (exit $ac_status); }; } &&
43653 { ac_try='test -s conftest.$ac_objext'
43654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43655 (eval $ac_try) 2>&5
43656 ac_status=$?
43657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43658 (exit $ac_status); }; }; then
43659 glibcxx_cv_func_fpclass_use=yes
43660 else
43661 echo "$as_me: failed program was:" >&5
43662 sed 's/^/| /' conftest.$ac_ext >&5
43664 glibcxx_cv_func_fpclass_use=no
43666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43667 ac_ext=c
43668 ac_cpp='$CPP $CPPFLAGS'
43669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43677 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
43678 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
43680 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
43682 for ac_func in fpclass
43684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43685 echo "$as_me:$LINENO: checking for $ac_func" >&5
43686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43687 if eval "test \"\${$as_ac_var+set}\" = set"; then
43688 echo $ECHO_N "(cached) $ECHO_C" >&6
43689 else
43690 if test x$gcc_no_link = xyes; then
43691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43693 { (exit 1); exit 1; }; }
43695 cat >conftest.$ac_ext <<_ACEOF
43696 /* confdefs.h. */
43697 _ACEOF
43698 cat confdefs.h >>conftest.$ac_ext
43699 cat >>conftest.$ac_ext <<_ACEOF
43700 /* end confdefs.h. */
43701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43703 #define $ac_func innocuous_$ac_func
43705 /* System header to define __stub macros and hopefully few prototypes,
43706 which can conflict with char $ac_func (); below.
43707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43708 <limits.h> exists even on freestanding compilers. */
43710 #ifdef __STDC__
43711 # include <limits.h>
43712 #else
43713 # include <assert.h>
43714 #endif
43716 #undef $ac_func
43718 /* Override any gcc2 internal prototype to avoid an error. */
43719 #ifdef __cplusplus
43720 extern "C"
43722 #endif
43723 /* We use char because int might match the return type of a gcc2
43724 builtin and then its argument prototype would still apply. */
43725 char $ac_func ();
43726 /* The GNU C library defines this for functions which it implements
43727 to always fail with ENOSYS. Some functions are actually named
43728 something starting with __ and the normal name is an alias. */
43729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43730 choke me
43731 #else
43732 char (*f) () = $ac_func;
43733 #endif
43734 #ifdef __cplusplus
43736 #endif
43739 main ()
43741 return f != $ac_func;
43743 return 0;
43745 _ACEOF
43746 rm -f conftest.$ac_objext conftest$ac_exeext
43747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43748 (eval $ac_link) 2>conftest.er1
43749 ac_status=$?
43750 grep -v '^ *+' conftest.er1 >conftest.err
43751 rm -f conftest.er1
43752 cat conftest.err >&5
43753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43754 (exit $ac_status); } &&
43755 { ac_try='test -z "$ac_c_werror_flag"
43756 || test ! -s conftest.err'
43757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43758 (eval $ac_try) 2>&5
43759 ac_status=$?
43760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43761 (exit $ac_status); }; } &&
43762 { ac_try='test -s conftest$ac_exeext'
43763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43764 (eval $ac_try) 2>&5
43765 ac_status=$?
43766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43767 (exit $ac_status); }; }; then
43768 eval "$as_ac_var=yes"
43769 else
43770 echo "$as_me: failed program was:" >&5
43771 sed 's/^/| /' conftest.$ac_ext >&5
43773 eval "$as_ac_var=no"
43775 rm -f conftest.err conftest.$ac_objext \
43776 conftest$ac_exeext conftest.$ac_ext
43778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43780 if test `eval echo '${'$as_ac_var'}'` = yes; then
43781 cat >>confdefs.h <<_ACEOF
43782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43783 _ACEOF
43786 done
43788 else
43790 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
43791 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
43792 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
43793 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
43794 echo $ECHO_N "(cached) $ECHO_C" >&6
43795 else
43799 ac_ext=cc
43800 ac_cpp='$CXXCPP $CPPFLAGS'
43801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43805 cat >conftest.$ac_ext <<_ACEOF
43806 /* confdefs.h. */
43807 _ACEOF
43808 cat confdefs.h >>conftest.$ac_ext
43809 cat >>conftest.$ac_ext <<_ACEOF
43810 /* end confdefs.h. */
43811 #include <math.h>
43812 #ifdef HAVE_IEEEFP_H
43813 #include <ieeefp.h>
43814 #endif
43817 main ()
43819 _fpclass(0);
43821 return 0;
43823 _ACEOF
43824 rm -f conftest.$ac_objext
43825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43826 (eval $ac_compile) 2>conftest.er1
43827 ac_status=$?
43828 grep -v '^ *+' conftest.er1 >conftest.err
43829 rm -f conftest.er1
43830 cat conftest.err >&5
43831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43832 (exit $ac_status); } &&
43833 { ac_try='test -z "$ac_cxx_werror_flag"
43834 || test ! -s conftest.err'
43835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43836 (eval $ac_try) 2>&5
43837 ac_status=$?
43838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43839 (exit $ac_status); }; } &&
43840 { ac_try='test -s conftest.$ac_objext'
43841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43842 (eval $ac_try) 2>&5
43843 ac_status=$?
43844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43845 (exit $ac_status); }; }; then
43846 glibcxx_cv_func__fpclass_use=yes
43847 else
43848 echo "$as_me: failed program was:" >&5
43849 sed 's/^/| /' conftest.$ac_ext >&5
43851 glibcxx_cv_func__fpclass_use=no
43853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43854 ac_ext=c
43855 ac_cpp='$CPP $CPPFLAGS'
43856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43864 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
43865 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
43867 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
43869 for ac_func in _fpclass
43871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43872 echo "$as_me:$LINENO: checking for $ac_func" >&5
43873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43874 if eval "test \"\${$as_ac_var+set}\" = set"; then
43875 echo $ECHO_N "(cached) $ECHO_C" >&6
43876 else
43877 if test x$gcc_no_link = xyes; then
43878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43880 { (exit 1); exit 1; }; }
43882 cat >conftest.$ac_ext <<_ACEOF
43883 /* confdefs.h. */
43884 _ACEOF
43885 cat confdefs.h >>conftest.$ac_ext
43886 cat >>conftest.$ac_ext <<_ACEOF
43887 /* end confdefs.h. */
43888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43890 #define $ac_func innocuous_$ac_func
43892 /* System header to define __stub macros and hopefully few prototypes,
43893 which can conflict with char $ac_func (); below.
43894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43895 <limits.h> exists even on freestanding compilers. */
43897 #ifdef __STDC__
43898 # include <limits.h>
43899 #else
43900 # include <assert.h>
43901 #endif
43903 #undef $ac_func
43905 /* Override any gcc2 internal prototype to avoid an error. */
43906 #ifdef __cplusplus
43907 extern "C"
43909 #endif
43910 /* We use char because int might match the return type of a gcc2
43911 builtin and then its argument prototype would still apply. */
43912 char $ac_func ();
43913 /* The GNU C library defines this for functions which it implements
43914 to always fail with ENOSYS. Some functions are actually named
43915 something starting with __ and the normal name is an alias. */
43916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43917 choke me
43918 #else
43919 char (*f) () = $ac_func;
43920 #endif
43921 #ifdef __cplusplus
43923 #endif
43926 main ()
43928 return f != $ac_func;
43930 return 0;
43932 _ACEOF
43933 rm -f conftest.$ac_objext conftest$ac_exeext
43934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43935 (eval $ac_link) 2>conftest.er1
43936 ac_status=$?
43937 grep -v '^ *+' conftest.er1 >conftest.err
43938 rm -f conftest.er1
43939 cat conftest.err >&5
43940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43941 (exit $ac_status); } &&
43942 { ac_try='test -z "$ac_c_werror_flag"
43943 || test ! -s conftest.err'
43944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43945 (eval $ac_try) 2>&5
43946 ac_status=$?
43947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43948 (exit $ac_status); }; } &&
43949 { ac_try='test -s conftest$ac_exeext'
43950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43951 (eval $ac_try) 2>&5
43952 ac_status=$?
43953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43954 (exit $ac_status); }; }; then
43955 eval "$as_ac_var=yes"
43956 else
43957 echo "$as_me: failed program was:" >&5
43958 sed 's/^/| /' conftest.$ac_ext >&5
43960 eval "$as_ac_var=no"
43962 rm -f conftest.err conftest.$ac_objext \
43963 conftest$ac_exeext conftest.$ac_ext
43965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43967 if test `eval echo '${'$as_ac_var'}'` = yes; then
43968 cat >>confdefs.h <<_ACEOF
43969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43970 _ACEOF
43973 done
43983 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
43984 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
43985 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
43986 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
43987 echo $ECHO_N "(cached) $ECHO_C" >&6
43988 else
43992 ac_ext=cc
43993 ac_cpp='$CXXCPP $CPPFLAGS'
43994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43998 cat >conftest.$ac_ext <<_ACEOF
43999 /* confdefs.h. */
44000 _ACEOF
44001 cat confdefs.h >>conftest.$ac_ext
44002 cat >>conftest.$ac_ext <<_ACEOF
44003 /* end confdefs.h. */
44004 #include <math.h>
44005 #ifdef HAVE_IEEEFP_H
44006 #include <ieeefp.h>
44007 #endif
44010 main ()
44012 qfpclass(0);
44014 return 0;
44016 _ACEOF
44017 rm -f conftest.$ac_objext
44018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44019 (eval $ac_compile) 2>conftest.er1
44020 ac_status=$?
44021 grep -v '^ *+' conftest.er1 >conftest.err
44022 rm -f conftest.er1
44023 cat conftest.err >&5
44024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44025 (exit $ac_status); } &&
44026 { ac_try='test -z "$ac_cxx_werror_flag"
44027 || test ! -s conftest.err'
44028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44029 (eval $ac_try) 2>&5
44030 ac_status=$?
44031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44032 (exit $ac_status); }; } &&
44033 { ac_try='test -s conftest.$ac_objext'
44034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44035 (eval $ac_try) 2>&5
44036 ac_status=$?
44037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44038 (exit $ac_status); }; }; then
44039 glibcxx_cv_func_qfpclass_use=yes
44040 else
44041 echo "$as_me: failed program was:" >&5
44042 sed 's/^/| /' conftest.$ac_ext >&5
44044 glibcxx_cv_func_qfpclass_use=no
44046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44047 ac_ext=c
44048 ac_cpp='$CPP $CPPFLAGS'
44049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44057 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
44058 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
44060 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
44062 for ac_func in qfpclass
44064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44065 echo "$as_me:$LINENO: checking for $ac_func" >&5
44066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44067 if eval "test \"\${$as_ac_var+set}\" = set"; then
44068 echo $ECHO_N "(cached) $ECHO_C" >&6
44069 else
44070 if test x$gcc_no_link = xyes; then
44071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44073 { (exit 1); exit 1; }; }
44075 cat >conftest.$ac_ext <<_ACEOF
44076 /* confdefs.h. */
44077 _ACEOF
44078 cat confdefs.h >>conftest.$ac_ext
44079 cat >>conftest.$ac_ext <<_ACEOF
44080 /* end confdefs.h. */
44081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44083 #define $ac_func innocuous_$ac_func
44085 /* System header to define __stub macros and hopefully few prototypes,
44086 which can conflict with char $ac_func (); below.
44087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44088 <limits.h> exists even on freestanding compilers. */
44090 #ifdef __STDC__
44091 # include <limits.h>
44092 #else
44093 # include <assert.h>
44094 #endif
44096 #undef $ac_func
44098 /* Override any gcc2 internal prototype to avoid an error. */
44099 #ifdef __cplusplus
44100 extern "C"
44102 #endif
44103 /* We use char because int might match the return type of a gcc2
44104 builtin and then its argument prototype would still apply. */
44105 char $ac_func ();
44106 /* The GNU C library defines this for functions which it implements
44107 to always fail with ENOSYS. Some functions are actually named
44108 something starting with __ and the normal name is an alias. */
44109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44110 choke me
44111 #else
44112 char (*f) () = $ac_func;
44113 #endif
44114 #ifdef __cplusplus
44116 #endif
44119 main ()
44121 return f != $ac_func;
44123 return 0;
44125 _ACEOF
44126 rm -f conftest.$ac_objext conftest$ac_exeext
44127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44128 (eval $ac_link) 2>conftest.er1
44129 ac_status=$?
44130 grep -v '^ *+' conftest.er1 >conftest.err
44131 rm -f conftest.er1
44132 cat conftest.err >&5
44133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44134 (exit $ac_status); } &&
44135 { ac_try='test -z "$ac_c_werror_flag"
44136 || test ! -s conftest.err'
44137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44138 (eval $ac_try) 2>&5
44139 ac_status=$?
44140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44141 (exit $ac_status); }; } &&
44142 { ac_try='test -s conftest$ac_exeext'
44143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44144 (eval $ac_try) 2>&5
44145 ac_status=$?
44146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44147 (exit $ac_status); }; }; then
44148 eval "$as_ac_var=yes"
44149 else
44150 echo "$as_me: failed program was:" >&5
44151 sed 's/^/| /' conftest.$ac_ext >&5
44153 eval "$as_ac_var=no"
44155 rm -f conftest.err conftest.$ac_objext \
44156 conftest$ac_exeext conftest.$ac_ext
44158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44160 if test `eval echo '${'$as_ac_var'}'` = yes; then
44161 cat >>confdefs.h <<_ACEOF
44162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44163 _ACEOF
44166 done
44168 else
44170 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
44171 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
44172 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
44173 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
44174 echo $ECHO_N "(cached) $ECHO_C" >&6
44175 else
44179 ac_ext=cc
44180 ac_cpp='$CXXCPP $CPPFLAGS'
44181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44185 cat >conftest.$ac_ext <<_ACEOF
44186 /* confdefs.h. */
44187 _ACEOF
44188 cat confdefs.h >>conftest.$ac_ext
44189 cat >>conftest.$ac_ext <<_ACEOF
44190 /* end confdefs.h. */
44191 #include <math.h>
44192 #ifdef HAVE_IEEEFP_H
44193 #include <ieeefp.h>
44194 #endif
44197 main ()
44199 _qfpclass(0);
44201 return 0;
44203 _ACEOF
44204 rm -f conftest.$ac_objext
44205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44206 (eval $ac_compile) 2>conftest.er1
44207 ac_status=$?
44208 grep -v '^ *+' conftest.er1 >conftest.err
44209 rm -f conftest.er1
44210 cat conftest.err >&5
44211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44212 (exit $ac_status); } &&
44213 { ac_try='test -z "$ac_cxx_werror_flag"
44214 || test ! -s conftest.err'
44215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44216 (eval $ac_try) 2>&5
44217 ac_status=$?
44218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44219 (exit $ac_status); }; } &&
44220 { ac_try='test -s conftest.$ac_objext'
44221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44222 (eval $ac_try) 2>&5
44223 ac_status=$?
44224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44225 (exit $ac_status); }; }; then
44226 glibcxx_cv_func__qfpclass_use=yes
44227 else
44228 echo "$as_me: failed program was:" >&5
44229 sed 's/^/| /' conftest.$ac_ext >&5
44231 glibcxx_cv_func__qfpclass_use=no
44233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44234 ac_ext=c
44235 ac_cpp='$CPP $CPPFLAGS'
44236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44244 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
44245 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
44247 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
44249 for ac_func in _qfpclass
44251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44252 echo "$as_me:$LINENO: checking for $ac_func" >&5
44253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44254 if eval "test \"\${$as_ac_var+set}\" = set"; then
44255 echo $ECHO_N "(cached) $ECHO_C" >&6
44256 else
44257 if test x$gcc_no_link = xyes; then
44258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44260 { (exit 1); exit 1; }; }
44262 cat >conftest.$ac_ext <<_ACEOF
44263 /* confdefs.h. */
44264 _ACEOF
44265 cat confdefs.h >>conftest.$ac_ext
44266 cat >>conftest.$ac_ext <<_ACEOF
44267 /* end confdefs.h. */
44268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44270 #define $ac_func innocuous_$ac_func
44272 /* System header to define __stub macros and hopefully few prototypes,
44273 which can conflict with char $ac_func (); below.
44274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44275 <limits.h> exists even on freestanding compilers. */
44277 #ifdef __STDC__
44278 # include <limits.h>
44279 #else
44280 # include <assert.h>
44281 #endif
44283 #undef $ac_func
44285 /* Override any gcc2 internal prototype to avoid an error. */
44286 #ifdef __cplusplus
44287 extern "C"
44289 #endif
44290 /* We use char because int might match the return type of a gcc2
44291 builtin and then its argument prototype would still apply. */
44292 char $ac_func ();
44293 /* The GNU C library defines this for functions which it implements
44294 to always fail with ENOSYS. Some functions are actually named
44295 something starting with __ and the normal name is an alias. */
44296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44297 choke me
44298 #else
44299 char (*f) () = $ac_func;
44300 #endif
44301 #ifdef __cplusplus
44303 #endif
44306 main ()
44308 return f != $ac_func;
44310 return 0;
44312 _ACEOF
44313 rm -f conftest.$ac_objext conftest$ac_exeext
44314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44315 (eval $ac_link) 2>conftest.er1
44316 ac_status=$?
44317 grep -v '^ *+' conftest.er1 >conftest.err
44318 rm -f conftest.er1
44319 cat conftest.err >&5
44320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44321 (exit $ac_status); } &&
44322 { ac_try='test -z "$ac_c_werror_flag"
44323 || test ! -s conftest.err'
44324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44325 (eval $ac_try) 2>&5
44326 ac_status=$?
44327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44328 (exit $ac_status); }; } &&
44329 { ac_try='test -s conftest$ac_exeext'
44330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44331 (eval $ac_try) 2>&5
44332 ac_status=$?
44333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44334 (exit $ac_status); }; }; then
44335 eval "$as_ac_var=yes"
44336 else
44337 echo "$as_me: failed program was:" >&5
44338 sed 's/^/| /' conftest.$ac_ext >&5
44340 eval "$as_ac_var=no"
44342 rm -f conftest.err conftest.$ac_objext \
44343 conftest$ac_exeext conftest.$ac_ext
44345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44347 if test `eval echo '${'$as_ac_var'}'` = yes; then
44348 cat >>confdefs.h <<_ACEOF
44349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44350 _ACEOF
44353 done
44363 echo "$as_me:$LINENO: checking for hypot declaration" >&5
44364 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
44365 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
44366 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
44367 echo $ECHO_N "(cached) $ECHO_C" >&6
44368 else
44372 ac_ext=cc
44373 ac_cpp='$CXXCPP $CPPFLAGS'
44374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44378 cat >conftest.$ac_ext <<_ACEOF
44379 /* confdefs.h. */
44380 _ACEOF
44381 cat confdefs.h >>conftest.$ac_ext
44382 cat >>conftest.$ac_ext <<_ACEOF
44383 /* end confdefs.h. */
44384 #include <math.h>
44386 main ()
44388 hypot(0, 0);
44390 return 0;
44392 _ACEOF
44393 rm -f conftest.$ac_objext
44394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44395 (eval $ac_compile) 2>conftest.er1
44396 ac_status=$?
44397 grep -v '^ *+' conftest.er1 >conftest.err
44398 rm -f conftest.er1
44399 cat conftest.err >&5
44400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44401 (exit $ac_status); } &&
44402 { ac_try='test -z "$ac_cxx_werror_flag"
44403 || test ! -s conftest.err'
44404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44405 (eval $ac_try) 2>&5
44406 ac_status=$?
44407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44408 (exit $ac_status); }; } &&
44409 { ac_try='test -s conftest.$ac_objext'
44410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44411 (eval $ac_try) 2>&5
44412 ac_status=$?
44413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44414 (exit $ac_status); }; }; then
44415 glibcxx_cv_func_hypot_use=yes
44416 else
44417 echo "$as_me: failed program was:" >&5
44418 sed 's/^/| /' conftest.$ac_ext >&5
44420 glibcxx_cv_func_hypot_use=no
44422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44423 ac_ext=c
44424 ac_cpp='$CPP $CPPFLAGS'
44425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44433 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
44434 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
44436 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
44438 for ac_func in hypot
44440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44441 echo "$as_me:$LINENO: checking for $ac_func" >&5
44442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44443 if eval "test \"\${$as_ac_var+set}\" = set"; then
44444 echo $ECHO_N "(cached) $ECHO_C" >&6
44445 else
44446 if test x$gcc_no_link = xyes; then
44447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44449 { (exit 1); exit 1; }; }
44451 cat >conftest.$ac_ext <<_ACEOF
44452 /* confdefs.h. */
44453 _ACEOF
44454 cat confdefs.h >>conftest.$ac_ext
44455 cat >>conftest.$ac_ext <<_ACEOF
44456 /* end confdefs.h. */
44457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44459 #define $ac_func innocuous_$ac_func
44461 /* System header to define __stub macros and hopefully few prototypes,
44462 which can conflict with char $ac_func (); below.
44463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44464 <limits.h> exists even on freestanding compilers. */
44466 #ifdef __STDC__
44467 # include <limits.h>
44468 #else
44469 # include <assert.h>
44470 #endif
44472 #undef $ac_func
44474 /* Override any gcc2 internal prototype to avoid an error. */
44475 #ifdef __cplusplus
44476 extern "C"
44478 #endif
44479 /* We use char because int might match the return type of a gcc2
44480 builtin and then its argument prototype would still apply. */
44481 char $ac_func ();
44482 /* The GNU C library defines this for functions which it implements
44483 to always fail with ENOSYS. Some functions are actually named
44484 something starting with __ and the normal name is an alias. */
44485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44486 choke me
44487 #else
44488 char (*f) () = $ac_func;
44489 #endif
44490 #ifdef __cplusplus
44492 #endif
44495 main ()
44497 return f != $ac_func;
44499 return 0;
44501 _ACEOF
44502 rm -f conftest.$ac_objext conftest$ac_exeext
44503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44504 (eval $ac_link) 2>conftest.er1
44505 ac_status=$?
44506 grep -v '^ *+' conftest.er1 >conftest.err
44507 rm -f conftest.er1
44508 cat conftest.err >&5
44509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44510 (exit $ac_status); } &&
44511 { ac_try='test -z "$ac_c_werror_flag"
44512 || test ! -s conftest.err'
44513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44514 (eval $ac_try) 2>&5
44515 ac_status=$?
44516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44517 (exit $ac_status); }; } &&
44518 { ac_try='test -s conftest$ac_exeext'
44519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44520 (eval $ac_try) 2>&5
44521 ac_status=$?
44522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44523 (exit $ac_status); }; }; then
44524 eval "$as_ac_var=yes"
44525 else
44526 echo "$as_me: failed program was:" >&5
44527 sed 's/^/| /' conftest.$ac_ext >&5
44529 eval "$as_ac_var=no"
44531 rm -f conftest.err conftest.$ac_objext \
44532 conftest$ac_exeext conftest.$ac_ext
44534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44536 if test `eval echo '${'$as_ac_var'}'` = yes; then
44537 cat >>confdefs.h <<_ACEOF
44538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44539 _ACEOF
44542 done
44544 else
44546 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
44547 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
44548 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
44549 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
44550 echo $ECHO_N "(cached) $ECHO_C" >&6
44551 else
44555 ac_ext=cc
44556 ac_cpp='$CXXCPP $CPPFLAGS'
44557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44561 cat >conftest.$ac_ext <<_ACEOF
44562 /* confdefs.h. */
44563 _ACEOF
44564 cat confdefs.h >>conftest.$ac_ext
44565 cat >>conftest.$ac_ext <<_ACEOF
44566 /* end confdefs.h. */
44567 #include <math.h>
44569 main ()
44571 _hypot(0, 0);
44573 return 0;
44575 _ACEOF
44576 rm -f conftest.$ac_objext
44577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44578 (eval $ac_compile) 2>conftest.er1
44579 ac_status=$?
44580 grep -v '^ *+' conftest.er1 >conftest.err
44581 rm -f conftest.er1
44582 cat conftest.err >&5
44583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44584 (exit $ac_status); } &&
44585 { ac_try='test -z "$ac_cxx_werror_flag"
44586 || test ! -s conftest.err'
44587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44588 (eval $ac_try) 2>&5
44589 ac_status=$?
44590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44591 (exit $ac_status); }; } &&
44592 { ac_try='test -s conftest.$ac_objext'
44593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44594 (eval $ac_try) 2>&5
44595 ac_status=$?
44596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44597 (exit $ac_status); }; }; then
44598 glibcxx_cv_func__hypot_use=yes
44599 else
44600 echo "$as_me: failed program was:" >&5
44601 sed 's/^/| /' conftest.$ac_ext >&5
44603 glibcxx_cv_func__hypot_use=no
44605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44606 ac_ext=c
44607 ac_cpp='$CPP $CPPFLAGS'
44608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44616 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
44617 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
44619 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
44621 for ac_func in _hypot
44623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44624 echo "$as_me:$LINENO: checking for $ac_func" >&5
44625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44626 if eval "test \"\${$as_ac_var+set}\" = set"; then
44627 echo $ECHO_N "(cached) $ECHO_C" >&6
44628 else
44629 if test x$gcc_no_link = xyes; then
44630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44632 { (exit 1); exit 1; }; }
44634 cat >conftest.$ac_ext <<_ACEOF
44635 /* confdefs.h. */
44636 _ACEOF
44637 cat confdefs.h >>conftest.$ac_ext
44638 cat >>conftest.$ac_ext <<_ACEOF
44639 /* end confdefs.h. */
44640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44642 #define $ac_func innocuous_$ac_func
44644 /* System header to define __stub macros and hopefully few prototypes,
44645 which can conflict with char $ac_func (); below.
44646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44647 <limits.h> exists even on freestanding compilers. */
44649 #ifdef __STDC__
44650 # include <limits.h>
44651 #else
44652 # include <assert.h>
44653 #endif
44655 #undef $ac_func
44657 /* Override any gcc2 internal prototype to avoid an error. */
44658 #ifdef __cplusplus
44659 extern "C"
44661 #endif
44662 /* We use char because int might match the return type of a gcc2
44663 builtin and then its argument prototype would still apply. */
44664 char $ac_func ();
44665 /* The GNU C library defines this for functions which it implements
44666 to always fail with ENOSYS. Some functions are actually named
44667 something starting with __ and the normal name is an alias. */
44668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44669 choke me
44670 #else
44671 char (*f) () = $ac_func;
44672 #endif
44673 #ifdef __cplusplus
44675 #endif
44678 main ()
44680 return f != $ac_func;
44682 return 0;
44684 _ACEOF
44685 rm -f conftest.$ac_objext conftest$ac_exeext
44686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44687 (eval $ac_link) 2>conftest.er1
44688 ac_status=$?
44689 grep -v '^ *+' conftest.er1 >conftest.err
44690 rm -f conftest.er1
44691 cat conftest.err >&5
44692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44693 (exit $ac_status); } &&
44694 { ac_try='test -z "$ac_c_werror_flag"
44695 || test ! -s conftest.err'
44696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44697 (eval $ac_try) 2>&5
44698 ac_status=$?
44699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44700 (exit $ac_status); }; } &&
44701 { ac_try='test -s conftest$ac_exeext'
44702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44703 (eval $ac_try) 2>&5
44704 ac_status=$?
44705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44706 (exit $ac_status); }; }; then
44707 eval "$as_ac_var=yes"
44708 else
44709 echo "$as_me: failed program was:" >&5
44710 sed 's/^/| /' conftest.$ac_ext >&5
44712 eval "$as_ac_var=no"
44714 rm -f conftest.err conftest.$ac_objext \
44715 conftest$ac_exeext conftest.$ac_ext
44717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44719 if test `eval echo '${'$as_ac_var'}'` = yes; then
44720 cat >>confdefs.h <<_ACEOF
44721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44722 _ACEOF
44725 done
44735 echo "$as_me:$LINENO: checking for float trig functions" >&5
44736 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
44737 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
44738 echo $ECHO_N "(cached) $ECHO_C" >&6
44739 else
44743 ac_ext=cc
44744 ac_cpp='$CXXCPP $CPPFLAGS'
44745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44749 cat >conftest.$ac_ext <<_ACEOF
44750 /* confdefs.h. */
44751 _ACEOF
44752 cat confdefs.h >>conftest.$ac_ext
44753 cat >>conftest.$ac_ext <<_ACEOF
44754 /* end confdefs.h. */
44755 #include <math.h>
44757 main ()
44759 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
44761 return 0;
44763 _ACEOF
44764 rm -f conftest.$ac_objext
44765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44766 (eval $ac_compile) 2>conftest.er1
44767 ac_status=$?
44768 grep -v '^ *+' conftest.er1 >conftest.err
44769 rm -f conftest.er1
44770 cat conftest.err >&5
44771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44772 (exit $ac_status); } &&
44773 { ac_try='test -z "$ac_cxx_werror_flag"
44774 || test ! -s conftest.err'
44775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44776 (eval $ac_try) 2>&5
44777 ac_status=$?
44778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44779 (exit $ac_status); }; } &&
44780 { ac_try='test -s conftest.$ac_objext'
44781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44782 (eval $ac_try) 2>&5
44783 ac_status=$?
44784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44785 (exit $ac_status); }; }; then
44786 glibcxx_cv_func_float_trig_use=yes
44787 else
44788 echo "$as_me: failed program was:" >&5
44789 sed 's/^/| /' conftest.$ac_ext >&5
44791 glibcxx_cv_func_float_trig_use=no
44793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44794 ac_ext=c
44795 ac_cpp='$CPP $CPPFLAGS'
44796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44802 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
44803 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
44804 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
44814 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
44816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44817 echo "$as_me:$LINENO: checking for $ac_func" >&5
44818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44819 if eval "test \"\${$as_ac_var+set}\" = set"; then
44820 echo $ECHO_N "(cached) $ECHO_C" >&6
44821 else
44822 if test x$gcc_no_link = xyes; then
44823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44825 { (exit 1); exit 1; }; }
44827 cat >conftest.$ac_ext <<_ACEOF
44828 /* confdefs.h. */
44829 _ACEOF
44830 cat confdefs.h >>conftest.$ac_ext
44831 cat >>conftest.$ac_ext <<_ACEOF
44832 /* end confdefs.h. */
44833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44835 #define $ac_func innocuous_$ac_func
44837 /* System header to define __stub macros and hopefully few prototypes,
44838 which can conflict with char $ac_func (); below.
44839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44840 <limits.h> exists even on freestanding compilers. */
44842 #ifdef __STDC__
44843 # include <limits.h>
44844 #else
44845 # include <assert.h>
44846 #endif
44848 #undef $ac_func
44850 /* Override any gcc2 internal prototype to avoid an error. */
44851 #ifdef __cplusplus
44852 extern "C"
44854 #endif
44855 /* We use char because int might match the return type of a gcc2
44856 builtin and then its argument prototype would still apply. */
44857 char $ac_func ();
44858 /* The GNU C library defines this for functions which it implements
44859 to always fail with ENOSYS. Some functions are actually named
44860 something starting with __ and the normal name is an alias. */
44861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44862 choke me
44863 #else
44864 char (*f) () = $ac_func;
44865 #endif
44866 #ifdef __cplusplus
44868 #endif
44871 main ()
44873 return f != $ac_func;
44875 return 0;
44877 _ACEOF
44878 rm -f conftest.$ac_objext conftest$ac_exeext
44879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44880 (eval $ac_link) 2>conftest.er1
44881 ac_status=$?
44882 grep -v '^ *+' conftest.er1 >conftest.err
44883 rm -f conftest.er1
44884 cat conftest.err >&5
44885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44886 (exit $ac_status); } &&
44887 { ac_try='test -z "$ac_c_werror_flag"
44888 || test ! -s conftest.err'
44889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44890 (eval $ac_try) 2>&5
44891 ac_status=$?
44892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44893 (exit $ac_status); }; } &&
44894 { ac_try='test -s conftest$ac_exeext'
44895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44896 (eval $ac_try) 2>&5
44897 ac_status=$?
44898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44899 (exit $ac_status); }; }; then
44900 eval "$as_ac_var=yes"
44901 else
44902 echo "$as_me: failed program was:" >&5
44903 sed 's/^/| /' conftest.$ac_ext >&5
44905 eval "$as_ac_var=no"
44907 rm -f conftest.err conftest.$ac_objext \
44908 conftest$ac_exeext conftest.$ac_ext
44910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44912 if test `eval echo '${'$as_ac_var'}'` = yes; then
44913 cat >>confdefs.h <<_ACEOF
44914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44915 _ACEOF
44918 done
44920 else
44921 echo "$as_me:$LINENO: checking for _float trig functions" >&5
44922 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
44923 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
44924 echo $ECHO_N "(cached) $ECHO_C" >&6
44925 else
44929 ac_ext=cc
44930 ac_cpp='$CXXCPP $CPPFLAGS'
44931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44935 cat >conftest.$ac_ext <<_ACEOF
44936 /* confdefs.h. */
44937 _ACEOF
44938 cat confdefs.h >>conftest.$ac_ext
44939 cat >>conftest.$ac_ext <<_ACEOF
44940 /* end confdefs.h. */
44941 #include <math.h>
44943 main ()
44945 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
44947 return 0;
44949 _ACEOF
44950 rm -f conftest.$ac_objext
44951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44952 (eval $ac_compile) 2>conftest.er1
44953 ac_status=$?
44954 grep -v '^ *+' conftest.er1 >conftest.err
44955 rm -f conftest.er1
44956 cat conftest.err >&5
44957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44958 (exit $ac_status); } &&
44959 { ac_try='test -z "$ac_cxx_werror_flag"
44960 || test ! -s conftest.err'
44961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44962 (eval $ac_try) 2>&5
44963 ac_status=$?
44964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44965 (exit $ac_status); }; } &&
44966 { ac_try='test -s conftest.$ac_objext'
44967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44968 (eval $ac_try) 2>&5
44969 ac_status=$?
44970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44971 (exit $ac_status); }; }; then
44972 glibcxx_cv_func__float_trig_use=yes
44973 else
44974 echo "$as_me: failed program was:" >&5
44975 sed 's/^/| /' conftest.$ac_ext >&5
44977 glibcxx_cv_func__float_trig_use=no
44979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44980 ac_ext=c
44981 ac_cpp='$CPP $CPPFLAGS'
44982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44988 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
44989 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
44990 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45000 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45003 echo "$as_me:$LINENO: checking for $ac_func" >&5
45004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45005 if eval "test \"\${$as_ac_var+set}\" = set"; then
45006 echo $ECHO_N "(cached) $ECHO_C" >&6
45007 else
45008 if test x$gcc_no_link = xyes; then
45009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45011 { (exit 1); exit 1; }; }
45013 cat >conftest.$ac_ext <<_ACEOF
45014 /* confdefs.h. */
45015 _ACEOF
45016 cat confdefs.h >>conftest.$ac_ext
45017 cat >>conftest.$ac_ext <<_ACEOF
45018 /* end confdefs.h. */
45019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45021 #define $ac_func innocuous_$ac_func
45023 /* System header to define __stub macros and hopefully few prototypes,
45024 which can conflict with char $ac_func (); below.
45025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45026 <limits.h> exists even on freestanding compilers. */
45028 #ifdef __STDC__
45029 # include <limits.h>
45030 #else
45031 # include <assert.h>
45032 #endif
45034 #undef $ac_func
45036 /* Override any gcc2 internal prototype to avoid an error. */
45037 #ifdef __cplusplus
45038 extern "C"
45040 #endif
45041 /* We use char because int might match the return type of a gcc2
45042 builtin and then its argument prototype would still apply. */
45043 char $ac_func ();
45044 /* The GNU C library defines this for functions which it implements
45045 to always fail with ENOSYS. Some functions are actually named
45046 something starting with __ and the normal name is an alias. */
45047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45048 choke me
45049 #else
45050 char (*f) () = $ac_func;
45051 #endif
45052 #ifdef __cplusplus
45054 #endif
45057 main ()
45059 return f != $ac_func;
45061 return 0;
45063 _ACEOF
45064 rm -f conftest.$ac_objext conftest$ac_exeext
45065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45066 (eval $ac_link) 2>conftest.er1
45067 ac_status=$?
45068 grep -v '^ *+' conftest.er1 >conftest.err
45069 rm -f conftest.er1
45070 cat conftest.err >&5
45071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45072 (exit $ac_status); } &&
45073 { ac_try='test -z "$ac_c_werror_flag"
45074 || test ! -s conftest.err'
45075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45076 (eval $ac_try) 2>&5
45077 ac_status=$?
45078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45079 (exit $ac_status); }; } &&
45080 { ac_try='test -s conftest$ac_exeext'
45081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45082 (eval $ac_try) 2>&5
45083 ac_status=$?
45084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45085 (exit $ac_status); }; }; then
45086 eval "$as_ac_var=yes"
45087 else
45088 echo "$as_me: failed program was:" >&5
45089 sed 's/^/| /' conftest.$ac_ext >&5
45091 eval "$as_ac_var=no"
45093 rm -f conftest.err conftest.$ac_objext \
45094 conftest$ac_exeext conftest.$ac_ext
45096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45098 if test `eval echo '${'$as_ac_var'}'` = yes; then
45099 cat >>confdefs.h <<_ACEOF
45100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45101 _ACEOF
45104 done
45122 echo "$as_me:$LINENO: checking for float round functions" >&5
45123 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
45124 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
45125 echo $ECHO_N "(cached) $ECHO_C" >&6
45126 else
45130 ac_ext=cc
45131 ac_cpp='$CXXCPP $CPPFLAGS'
45132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45136 cat >conftest.$ac_ext <<_ACEOF
45137 /* confdefs.h. */
45138 _ACEOF
45139 cat confdefs.h >>conftest.$ac_ext
45140 cat >>conftest.$ac_ext <<_ACEOF
45141 /* end confdefs.h. */
45142 #include <math.h>
45144 main ()
45146 ceilf (0); floorf (0);
45148 return 0;
45150 _ACEOF
45151 rm -f conftest.$ac_objext
45152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45153 (eval $ac_compile) 2>conftest.er1
45154 ac_status=$?
45155 grep -v '^ *+' conftest.er1 >conftest.err
45156 rm -f conftest.er1
45157 cat conftest.err >&5
45158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45159 (exit $ac_status); } &&
45160 { ac_try='test -z "$ac_cxx_werror_flag"
45161 || test ! -s conftest.err'
45162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45163 (eval $ac_try) 2>&5
45164 ac_status=$?
45165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45166 (exit $ac_status); }; } &&
45167 { ac_try='test -s conftest.$ac_objext'
45168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45169 (eval $ac_try) 2>&5
45170 ac_status=$?
45171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45172 (exit $ac_status); }; }; then
45173 glibcxx_cv_func_float_round_use=yes
45174 else
45175 echo "$as_me: failed program was:" >&5
45176 sed 's/^/| /' conftest.$ac_ext >&5
45178 glibcxx_cv_func_float_round_use=no
45180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45181 ac_ext=c
45182 ac_cpp='$CPP $CPPFLAGS'
45183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45189 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
45190 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
45191 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45194 for ac_func in ceilf floorf
45196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45197 echo "$as_me:$LINENO: checking for $ac_func" >&5
45198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45199 if eval "test \"\${$as_ac_var+set}\" = set"; then
45200 echo $ECHO_N "(cached) $ECHO_C" >&6
45201 else
45202 if test x$gcc_no_link = xyes; then
45203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45205 { (exit 1); exit 1; }; }
45207 cat >conftest.$ac_ext <<_ACEOF
45208 /* confdefs.h. */
45209 _ACEOF
45210 cat confdefs.h >>conftest.$ac_ext
45211 cat >>conftest.$ac_ext <<_ACEOF
45212 /* end confdefs.h. */
45213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45215 #define $ac_func innocuous_$ac_func
45217 /* System header to define __stub macros and hopefully few prototypes,
45218 which can conflict with char $ac_func (); below.
45219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45220 <limits.h> exists even on freestanding compilers. */
45222 #ifdef __STDC__
45223 # include <limits.h>
45224 #else
45225 # include <assert.h>
45226 #endif
45228 #undef $ac_func
45230 /* Override any gcc2 internal prototype to avoid an error. */
45231 #ifdef __cplusplus
45232 extern "C"
45234 #endif
45235 /* We use char because int might match the return type of a gcc2
45236 builtin and then its argument prototype would still apply. */
45237 char $ac_func ();
45238 /* The GNU C library defines this for functions which it implements
45239 to always fail with ENOSYS. Some functions are actually named
45240 something starting with __ and the normal name is an alias. */
45241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45242 choke me
45243 #else
45244 char (*f) () = $ac_func;
45245 #endif
45246 #ifdef __cplusplus
45248 #endif
45251 main ()
45253 return f != $ac_func;
45255 return 0;
45257 _ACEOF
45258 rm -f conftest.$ac_objext conftest$ac_exeext
45259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45260 (eval $ac_link) 2>conftest.er1
45261 ac_status=$?
45262 grep -v '^ *+' conftest.er1 >conftest.err
45263 rm -f conftest.er1
45264 cat conftest.err >&5
45265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45266 (exit $ac_status); } &&
45267 { ac_try='test -z "$ac_c_werror_flag"
45268 || test ! -s conftest.err'
45269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45270 (eval $ac_try) 2>&5
45271 ac_status=$?
45272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45273 (exit $ac_status); }; } &&
45274 { ac_try='test -s conftest$ac_exeext'
45275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45276 (eval $ac_try) 2>&5
45277 ac_status=$?
45278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45279 (exit $ac_status); }; }; then
45280 eval "$as_ac_var=yes"
45281 else
45282 echo "$as_me: failed program was:" >&5
45283 sed 's/^/| /' conftest.$ac_ext >&5
45285 eval "$as_ac_var=no"
45287 rm -f conftest.err conftest.$ac_objext \
45288 conftest$ac_exeext conftest.$ac_ext
45290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45292 if test `eval echo '${'$as_ac_var'}'` = yes; then
45293 cat >>confdefs.h <<_ACEOF
45294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45295 _ACEOF
45298 done
45300 else
45301 echo "$as_me:$LINENO: checking for _float round functions" >&5
45302 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
45303 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
45304 echo $ECHO_N "(cached) $ECHO_C" >&6
45305 else
45309 ac_ext=cc
45310 ac_cpp='$CXXCPP $CPPFLAGS'
45311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45315 cat >conftest.$ac_ext <<_ACEOF
45316 /* confdefs.h. */
45317 _ACEOF
45318 cat confdefs.h >>conftest.$ac_ext
45319 cat >>conftest.$ac_ext <<_ACEOF
45320 /* end confdefs.h. */
45321 #include <math.h>
45323 main ()
45325 _ceilf (0); _floorf (0);
45327 return 0;
45329 _ACEOF
45330 rm -f conftest.$ac_objext
45331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45332 (eval $ac_compile) 2>conftest.er1
45333 ac_status=$?
45334 grep -v '^ *+' conftest.er1 >conftest.err
45335 rm -f conftest.er1
45336 cat conftest.err >&5
45337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45338 (exit $ac_status); } &&
45339 { ac_try='test -z "$ac_cxx_werror_flag"
45340 || test ! -s conftest.err'
45341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45342 (eval $ac_try) 2>&5
45343 ac_status=$?
45344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45345 (exit $ac_status); }; } &&
45346 { ac_try='test -s conftest.$ac_objext'
45347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45348 (eval $ac_try) 2>&5
45349 ac_status=$?
45350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45351 (exit $ac_status); }; }; then
45352 glibcxx_cv_func__float_round_use=yes
45353 else
45354 echo "$as_me: failed program was:" >&5
45355 sed 's/^/| /' conftest.$ac_ext >&5
45357 glibcxx_cv_func__float_round_use=no
45359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45360 ac_ext=c
45361 ac_cpp='$CPP $CPPFLAGS'
45362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45368 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
45369 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
45370 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45373 for ac_func in _ceilf _floorf
45375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45376 echo "$as_me:$LINENO: checking for $ac_func" >&5
45377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45378 if eval "test \"\${$as_ac_var+set}\" = set"; then
45379 echo $ECHO_N "(cached) $ECHO_C" >&6
45380 else
45381 if test x$gcc_no_link = xyes; then
45382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45384 { (exit 1); exit 1; }; }
45386 cat >conftest.$ac_ext <<_ACEOF
45387 /* confdefs.h. */
45388 _ACEOF
45389 cat confdefs.h >>conftest.$ac_ext
45390 cat >>conftest.$ac_ext <<_ACEOF
45391 /* end confdefs.h. */
45392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45394 #define $ac_func innocuous_$ac_func
45396 /* System header to define __stub macros and hopefully few prototypes,
45397 which can conflict with char $ac_func (); below.
45398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45399 <limits.h> exists even on freestanding compilers. */
45401 #ifdef __STDC__
45402 # include <limits.h>
45403 #else
45404 # include <assert.h>
45405 #endif
45407 #undef $ac_func
45409 /* Override any gcc2 internal prototype to avoid an error. */
45410 #ifdef __cplusplus
45411 extern "C"
45413 #endif
45414 /* We use char because int might match the return type of a gcc2
45415 builtin and then its argument prototype would still apply. */
45416 char $ac_func ();
45417 /* The GNU C library defines this for functions which it implements
45418 to always fail with ENOSYS. Some functions are actually named
45419 something starting with __ and the normal name is an alias. */
45420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45421 choke me
45422 #else
45423 char (*f) () = $ac_func;
45424 #endif
45425 #ifdef __cplusplus
45427 #endif
45430 main ()
45432 return f != $ac_func;
45434 return 0;
45436 _ACEOF
45437 rm -f conftest.$ac_objext conftest$ac_exeext
45438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45439 (eval $ac_link) 2>conftest.er1
45440 ac_status=$?
45441 grep -v '^ *+' conftest.er1 >conftest.err
45442 rm -f conftest.er1
45443 cat conftest.err >&5
45444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45445 (exit $ac_status); } &&
45446 { ac_try='test -z "$ac_c_werror_flag"
45447 || test ! -s conftest.err'
45448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45449 (eval $ac_try) 2>&5
45450 ac_status=$?
45451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45452 (exit $ac_status); }; } &&
45453 { ac_try='test -s conftest$ac_exeext'
45454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45455 (eval $ac_try) 2>&5
45456 ac_status=$?
45457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45458 (exit $ac_status); }; }; then
45459 eval "$as_ac_var=yes"
45460 else
45461 echo "$as_me: failed program was:" >&5
45462 sed 's/^/| /' conftest.$ac_ext >&5
45464 eval "$as_ac_var=no"
45466 rm -f conftest.err conftest.$ac_objext \
45467 conftest$ac_exeext conftest.$ac_ext
45469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45471 if test `eval echo '${'$as_ac_var'}'` = yes; then
45472 cat >>confdefs.h <<_ACEOF
45473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45474 _ACEOF
45477 done
45489 echo "$as_me:$LINENO: checking for expf declaration" >&5
45490 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
45491 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45492 if test "${glibcxx_cv_func_expf_use+set}" = set; then
45493 echo $ECHO_N "(cached) $ECHO_C" >&6
45494 else
45498 ac_ext=cc
45499 ac_cpp='$CXXCPP $CPPFLAGS'
45500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45504 cat >conftest.$ac_ext <<_ACEOF
45505 /* confdefs.h. */
45506 _ACEOF
45507 cat confdefs.h >>conftest.$ac_ext
45508 cat >>conftest.$ac_ext <<_ACEOF
45509 /* end confdefs.h. */
45510 #include <math.h>
45511 #ifdef HAVE_IEEEFP_H
45512 #include <ieeefp.h>
45513 #endif
45516 main ()
45518 expf(0);
45520 return 0;
45522 _ACEOF
45523 rm -f conftest.$ac_objext
45524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45525 (eval $ac_compile) 2>conftest.er1
45526 ac_status=$?
45527 grep -v '^ *+' conftest.er1 >conftest.err
45528 rm -f conftest.er1
45529 cat conftest.err >&5
45530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45531 (exit $ac_status); } &&
45532 { ac_try='test -z "$ac_cxx_werror_flag"
45533 || test ! -s conftest.err'
45534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45535 (eval $ac_try) 2>&5
45536 ac_status=$?
45537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45538 (exit $ac_status); }; } &&
45539 { ac_try='test -s conftest.$ac_objext'
45540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45541 (eval $ac_try) 2>&5
45542 ac_status=$?
45543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45544 (exit $ac_status); }; }; then
45545 glibcxx_cv_func_expf_use=yes
45546 else
45547 echo "$as_me: failed program was:" >&5
45548 sed 's/^/| /' conftest.$ac_ext >&5
45550 glibcxx_cv_func_expf_use=no
45552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45553 ac_ext=c
45554 ac_cpp='$CPP $CPPFLAGS'
45555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45563 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
45564 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
45566 if test x$glibcxx_cv_func_expf_use = x"yes"; then
45568 for ac_func in expf
45570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45571 echo "$as_me:$LINENO: checking for $ac_func" >&5
45572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45573 if eval "test \"\${$as_ac_var+set}\" = set"; then
45574 echo $ECHO_N "(cached) $ECHO_C" >&6
45575 else
45576 if test x$gcc_no_link = xyes; then
45577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45579 { (exit 1); exit 1; }; }
45581 cat >conftest.$ac_ext <<_ACEOF
45582 /* confdefs.h. */
45583 _ACEOF
45584 cat confdefs.h >>conftest.$ac_ext
45585 cat >>conftest.$ac_ext <<_ACEOF
45586 /* end confdefs.h. */
45587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45589 #define $ac_func innocuous_$ac_func
45591 /* System header to define __stub macros and hopefully few prototypes,
45592 which can conflict with char $ac_func (); below.
45593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45594 <limits.h> exists even on freestanding compilers. */
45596 #ifdef __STDC__
45597 # include <limits.h>
45598 #else
45599 # include <assert.h>
45600 #endif
45602 #undef $ac_func
45604 /* Override any gcc2 internal prototype to avoid an error. */
45605 #ifdef __cplusplus
45606 extern "C"
45608 #endif
45609 /* We use char because int might match the return type of a gcc2
45610 builtin and then its argument prototype would still apply. */
45611 char $ac_func ();
45612 /* The GNU C library defines this for functions which it implements
45613 to always fail with ENOSYS. Some functions are actually named
45614 something starting with __ and the normal name is an alias. */
45615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45616 choke me
45617 #else
45618 char (*f) () = $ac_func;
45619 #endif
45620 #ifdef __cplusplus
45622 #endif
45625 main ()
45627 return f != $ac_func;
45629 return 0;
45631 _ACEOF
45632 rm -f conftest.$ac_objext conftest$ac_exeext
45633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45634 (eval $ac_link) 2>conftest.er1
45635 ac_status=$?
45636 grep -v '^ *+' conftest.er1 >conftest.err
45637 rm -f conftest.er1
45638 cat conftest.err >&5
45639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45640 (exit $ac_status); } &&
45641 { ac_try='test -z "$ac_c_werror_flag"
45642 || test ! -s conftest.err'
45643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45644 (eval $ac_try) 2>&5
45645 ac_status=$?
45646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45647 (exit $ac_status); }; } &&
45648 { ac_try='test -s conftest$ac_exeext'
45649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45650 (eval $ac_try) 2>&5
45651 ac_status=$?
45652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45653 (exit $ac_status); }; }; then
45654 eval "$as_ac_var=yes"
45655 else
45656 echo "$as_me: failed program was:" >&5
45657 sed 's/^/| /' conftest.$ac_ext >&5
45659 eval "$as_ac_var=no"
45661 rm -f conftest.err conftest.$ac_objext \
45662 conftest$ac_exeext conftest.$ac_ext
45664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45666 if test `eval echo '${'$as_ac_var'}'` = yes; then
45667 cat >>confdefs.h <<_ACEOF
45668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45669 _ACEOF
45672 done
45674 else
45676 echo "$as_me:$LINENO: checking for _expf declaration" >&5
45677 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
45678 if test x${glibcxx_cv_func__expf_use+set} != xset; then
45679 if test "${glibcxx_cv_func__expf_use+set}" = set; then
45680 echo $ECHO_N "(cached) $ECHO_C" >&6
45681 else
45685 ac_ext=cc
45686 ac_cpp='$CXXCPP $CPPFLAGS'
45687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45691 cat >conftest.$ac_ext <<_ACEOF
45692 /* confdefs.h. */
45693 _ACEOF
45694 cat confdefs.h >>conftest.$ac_ext
45695 cat >>conftest.$ac_ext <<_ACEOF
45696 /* end confdefs.h. */
45697 #include <math.h>
45698 #ifdef HAVE_IEEEFP_H
45699 #include <ieeefp.h>
45700 #endif
45703 main ()
45705 _expf(0);
45707 return 0;
45709 _ACEOF
45710 rm -f conftest.$ac_objext
45711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45712 (eval $ac_compile) 2>conftest.er1
45713 ac_status=$?
45714 grep -v '^ *+' conftest.er1 >conftest.err
45715 rm -f conftest.er1
45716 cat conftest.err >&5
45717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45718 (exit $ac_status); } &&
45719 { ac_try='test -z "$ac_cxx_werror_flag"
45720 || test ! -s conftest.err'
45721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45722 (eval $ac_try) 2>&5
45723 ac_status=$?
45724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45725 (exit $ac_status); }; } &&
45726 { ac_try='test -s conftest.$ac_objext'
45727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45728 (eval $ac_try) 2>&5
45729 ac_status=$?
45730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45731 (exit $ac_status); }; }; then
45732 glibcxx_cv_func__expf_use=yes
45733 else
45734 echo "$as_me: failed program was:" >&5
45735 sed 's/^/| /' conftest.$ac_ext >&5
45737 glibcxx_cv_func__expf_use=no
45739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45740 ac_ext=c
45741 ac_cpp='$CPP $CPPFLAGS'
45742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45750 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
45751 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
45753 if test x$glibcxx_cv_func__expf_use = x"yes"; then
45755 for ac_func in _expf
45757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45758 echo "$as_me:$LINENO: checking for $ac_func" >&5
45759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45760 if eval "test \"\${$as_ac_var+set}\" = set"; then
45761 echo $ECHO_N "(cached) $ECHO_C" >&6
45762 else
45763 if test x$gcc_no_link = xyes; then
45764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45766 { (exit 1); exit 1; }; }
45768 cat >conftest.$ac_ext <<_ACEOF
45769 /* confdefs.h. */
45770 _ACEOF
45771 cat confdefs.h >>conftest.$ac_ext
45772 cat >>conftest.$ac_ext <<_ACEOF
45773 /* end confdefs.h. */
45774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45776 #define $ac_func innocuous_$ac_func
45778 /* System header to define __stub macros and hopefully few prototypes,
45779 which can conflict with char $ac_func (); below.
45780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45781 <limits.h> exists even on freestanding compilers. */
45783 #ifdef __STDC__
45784 # include <limits.h>
45785 #else
45786 # include <assert.h>
45787 #endif
45789 #undef $ac_func
45791 /* Override any gcc2 internal prototype to avoid an error. */
45792 #ifdef __cplusplus
45793 extern "C"
45795 #endif
45796 /* We use char because int might match the return type of a gcc2
45797 builtin and then its argument prototype would still apply. */
45798 char $ac_func ();
45799 /* The GNU C library defines this for functions which it implements
45800 to always fail with ENOSYS. Some functions are actually named
45801 something starting with __ and the normal name is an alias. */
45802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45803 choke me
45804 #else
45805 char (*f) () = $ac_func;
45806 #endif
45807 #ifdef __cplusplus
45809 #endif
45812 main ()
45814 return f != $ac_func;
45816 return 0;
45818 _ACEOF
45819 rm -f conftest.$ac_objext conftest$ac_exeext
45820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45821 (eval $ac_link) 2>conftest.er1
45822 ac_status=$?
45823 grep -v '^ *+' conftest.er1 >conftest.err
45824 rm -f conftest.er1
45825 cat conftest.err >&5
45826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45827 (exit $ac_status); } &&
45828 { ac_try='test -z "$ac_c_werror_flag"
45829 || test ! -s conftest.err'
45830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45831 (eval $ac_try) 2>&5
45832 ac_status=$?
45833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45834 (exit $ac_status); }; } &&
45835 { ac_try='test -s conftest$ac_exeext'
45836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45837 (eval $ac_try) 2>&5
45838 ac_status=$?
45839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45840 (exit $ac_status); }; }; then
45841 eval "$as_ac_var=yes"
45842 else
45843 echo "$as_me: failed program was:" >&5
45844 sed 's/^/| /' conftest.$ac_ext >&5
45846 eval "$as_ac_var=no"
45848 rm -f conftest.err conftest.$ac_objext \
45849 conftest$ac_exeext conftest.$ac_ext
45851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45853 if test `eval echo '${'$as_ac_var'}'` = yes; then
45854 cat >>confdefs.h <<_ACEOF
45855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45856 _ACEOF
45859 done
45869 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
45870 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
45871 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
45872 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
45873 echo $ECHO_N "(cached) $ECHO_C" >&6
45874 else
45878 ac_ext=cc
45879 ac_cpp='$CXXCPP $CPPFLAGS'
45880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45884 cat >conftest.$ac_ext <<_ACEOF
45885 /* confdefs.h. */
45886 _ACEOF
45887 cat confdefs.h >>conftest.$ac_ext
45888 cat >>conftest.$ac_ext <<_ACEOF
45889 /* end confdefs.h. */
45890 #include <math.h>
45891 #ifdef HAVE_IEEEFP_H
45892 #include <ieeefp.h>
45893 #endif
45896 main ()
45898 isnanf(0);
45900 return 0;
45902 _ACEOF
45903 rm -f conftest.$ac_objext
45904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45905 (eval $ac_compile) 2>conftest.er1
45906 ac_status=$?
45907 grep -v '^ *+' conftest.er1 >conftest.err
45908 rm -f conftest.er1
45909 cat conftest.err >&5
45910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45911 (exit $ac_status); } &&
45912 { ac_try='test -z "$ac_cxx_werror_flag"
45913 || test ! -s conftest.err'
45914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45915 (eval $ac_try) 2>&5
45916 ac_status=$?
45917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45918 (exit $ac_status); }; } &&
45919 { ac_try='test -s conftest.$ac_objext'
45920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45921 (eval $ac_try) 2>&5
45922 ac_status=$?
45923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45924 (exit $ac_status); }; }; then
45925 glibcxx_cv_func_isnanf_use=yes
45926 else
45927 echo "$as_me: failed program was:" >&5
45928 sed 's/^/| /' conftest.$ac_ext >&5
45930 glibcxx_cv_func_isnanf_use=no
45932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45933 ac_ext=c
45934 ac_cpp='$CPP $CPPFLAGS'
45935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45943 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
45944 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
45946 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
45948 for ac_func in isnanf
45950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45951 echo "$as_me:$LINENO: checking for $ac_func" >&5
45952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45953 if eval "test \"\${$as_ac_var+set}\" = set"; then
45954 echo $ECHO_N "(cached) $ECHO_C" >&6
45955 else
45956 if test x$gcc_no_link = xyes; then
45957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45959 { (exit 1); exit 1; }; }
45961 cat >conftest.$ac_ext <<_ACEOF
45962 /* confdefs.h. */
45963 _ACEOF
45964 cat confdefs.h >>conftest.$ac_ext
45965 cat >>conftest.$ac_ext <<_ACEOF
45966 /* end confdefs.h. */
45967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45969 #define $ac_func innocuous_$ac_func
45971 /* System header to define __stub macros and hopefully few prototypes,
45972 which can conflict with char $ac_func (); below.
45973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45974 <limits.h> exists even on freestanding compilers. */
45976 #ifdef __STDC__
45977 # include <limits.h>
45978 #else
45979 # include <assert.h>
45980 #endif
45982 #undef $ac_func
45984 /* Override any gcc2 internal prototype to avoid an error. */
45985 #ifdef __cplusplus
45986 extern "C"
45988 #endif
45989 /* We use char because int might match the return type of a gcc2
45990 builtin and then its argument prototype would still apply. */
45991 char $ac_func ();
45992 /* The GNU C library defines this for functions which it implements
45993 to always fail with ENOSYS. Some functions are actually named
45994 something starting with __ and the normal name is an alias. */
45995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45996 choke me
45997 #else
45998 char (*f) () = $ac_func;
45999 #endif
46000 #ifdef __cplusplus
46002 #endif
46005 main ()
46007 return f != $ac_func;
46009 return 0;
46011 _ACEOF
46012 rm -f conftest.$ac_objext conftest$ac_exeext
46013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46014 (eval $ac_link) 2>conftest.er1
46015 ac_status=$?
46016 grep -v '^ *+' conftest.er1 >conftest.err
46017 rm -f conftest.er1
46018 cat conftest.err >&5
46019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46020 (exit $ac_status); } &&
46021 { ac_try='test -z "$ac_c_werror_flag"
46022 || test ! -s conftest.err'
46023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46024 (eval $ac_try) 2>&5
46025 ac_status=$?
46026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46027 (exit $ac_status); }; } &&
46028 { ac_try='test -s conftest$ac_exeext'
46029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46030 (eval $ac_try) 2>&5
46031 ac_status=$?
46032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46033 (exit $ac_status); }; }; then
46034 eval "$as_ac_var=yes"
46035 else
46036 echo "$as_me: failed program was:" >&5
46037 sed 's/^/| /' conftest.$ac_ext >&5
46039 eval "$as_ac_var=no"
46041 rm -f conftest.err conftest.$ac_objext \
46042 conftest$ac_exeext conftest.$ac_ext
46044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46046 if test `eval echo '${'$as_ac_var'}'` = yes; then
46047 cat >>confdefs.h <<_ACEOF
46048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46049 _ACEOF
46052 done
46054 else
46056 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
46057 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
46058 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46059 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
46060 echo $ECHO_N "(cached) $ECHO_C" >&6
46061 else
46065 ac_ext=cc
46066 ac_cpp='$CXXCPP $CPPFLAGS'
46067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46071 cat >conftest.$ac_ext <<_ACEOF
46072 /* confdefs.h. */
46073 _ACEOF
46074 cat confdefs.h >>conftest.$ac_ext
46075 cat >>conftest.$ac_ext <<_ACEOF
46076 /* end confdefs.h. */
46077 #include <math.h>
46078 #ifdef HAVE_IEEEFP_H
46079 #include <ieeefp.h>
46080 #endif
46083 main ()
46085 _isnanf(0);
46087 return 0;
46089 _ACEOF
46090 rm -f conftest.$ac_objext
46091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46092 (eval $ac_compile) 2>conftest.er1
46093 ac_status=$?
46094 grep -v '^ *+' conftest.er1 >conftest.err
46095 rm -f conftest.er1
46096 cat conftest.err >&5
46097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46098 (exit $ac_status); } &&
46099 { ac_try='test -z "$ac_cxx_werror_flag"
46100 || test ! -s conftest.err'
46101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46102 (eval $ac_try) 2>&5
46103 ac_status=$?
46104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46105 (exit $ac_status); }; } &&
46106 { ac_try='test -s conftest.$ac_objext'
46107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46108 (eval $ac_try) 2>&5
46109 ac_status=$?
46110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46111 (exit $ac_status); }; }; then
46112 glibcxx_cv_func__isnanf_use=yes
46113 else
46114 echo "$as_me: failed program was:" >&5
46115 sed 's/^/| /' conftest.$ac_ext >&5
46117 glibcxx_cv_func__isnanf_use=no
46119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46120 ac_ext=c
46121 ac_cpp='$CPP $CPPFLAGS'
46122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46130 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
46131 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
46133 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46135 for ac_func in _isnanf
46137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46138 echo "$as_me:$LINENO: checking for $ac_func" >&5
46139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46140 if eval "test \"\${$as_ac_var+set}\" = set"; then
46141 echo $ECHO_N "(cached) $ECHO_C" >&6
46142 else
46143 if test x$gcc_no_link = xyes; then
46144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46146 { (exit 1); exit 1; }; }
46148 cat >conftest.$ac_ext <<_ACEOF
46149 /* confdefs.h. */
46150 _ACEOF
46151 cat confdefs.h >>conftest.$ac_ext
46152 cat >>conftest.$ac_ext <<_ACEOF
46153 /* end confdefs.h. */
46154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46156 #define $ac_func innocuous_$ac_func
46158 /* System header to define __stub macros and hopefully few prototypes,
46159 which can conflict with char $ac_func (); below.
46160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46161 <limits.h> exists even on freestanding compilers. */
46163 #ifdef __STDC__
46164 # include <limits.h>
46165 #else
46166 # include <assert.h>
46167 #endif
46169 #undef $ac_func
46171 /* Override any gcc2 internal prototype to avoid an error. */
46172 #ifdef __cplusplus
46173 extern "C"
46175 #endif
46176 /* We use char because int might match the return type of a gcc2
46177 builtin and then its argument prototype would still apply. */
46178 char $ac_func ();
46179 /* The GNU C library defines this for functions which it implements
46180 to always fail with ENOSYS. Some functions are actually named
46181 something starting with __ and the normal name is an alias. */
46182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46183 choke me
46184 #else
46185 char (*f) () = $ac_func;
46186 #endif
46187 #ifdef __cplusplus
46189 #endif
46192 main ()
46194 return f != $ac_func;
46196 return 0;
46198 _ACEOF
46199 rm -f conftest.$ac_objext conftest$ac_exeext
46200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46201 (eval $ac_link) 2>conftest.er1
46202 ac_status=$?
46203 grep -v '^ *+' conftest.er1 >conftest.err
46204 rm -f conftest.er1
46205 cat conftest.err >&5
46206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46207 (exit $ac_status); } &&
46208 { ac_try='test -z "$ac_c_werror_flag"
46209 || test ! -s conftest.err'
46210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46211 (eval $ac_try) 2>&5
46212 ac_status=$?
46213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46214 (exit $ac_status); }; } &&
46215 { ac_try='test -s conftest$ac_exeext'
46216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46217 (eval $ac_try) 2>&5
46218 ac_status=$?
46219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46220 (exit $ac_status); }; }; then
46221 eval "$as_ac_var=yes"
46222 else
46223 echo "$as_me: failed program was:" >&5
46224 sed 's/^/| /' conftest.$ac_ext >&5
46226 eval "$as_ac_var=no"
46228 rm -f conftest.err conftest.$ac_objext \
46229 conftest$ac_exeext conftest.$ac_ext
46231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46233 if test `eval echo '${'$as_ac_var'}'` = yes; then
46234 cat >>confdefs.h <<_ACEOF
46235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46236 _ACEOF
46239 done
46249 echo "$as_me:$LINENO: checking for isinff declaration" >&5
46250 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
46251 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46252 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
46253 echo $ECHO_N "(cached) $ECHO_C" >&6
46254 else
46258 ac_ext=cc
46259 ac_cpp='$CXXCPP $CPPFLAGS'
46260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46264 cat >conftest.$ac_ext <<_ACEOF
46265 /* confdefs.h. */
46266 _ACEOF
46267 cat confdefs.h >>conftest.$ac_ext
46268 cat >>conftest.$ac_ext <<_ACEOF
46269 /* end confdefs.h. */
46270 #include <math.h>
46271 #ifdef HAVE_IEEEFP_H
46272 #include <ieeefp.h>
46273 #endif
46276 main ()
46278 isinff(0);
46280 return 0;
46282 _ACEOF
46283 rm -f conftest.$ac_objext
46284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46285 (eval $ac_compile) 2>conftest.er1
46286 ac_status=$?
46287 grep -v '^ *+' conftest.er1 >conftest.err
46288 rm -f conftest.er1
46289 cat conftest.err >&5
46290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46291 (exit $ac_status); } &&
46292 { ac_try='test -z "$ac_cxx_werror_flag"
46293 || test ! -s conftest.err'
46294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46295 (eval $ac_try) 2>&5
46296 ac_status=$?
46297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46298 (exit $ac_status); }; } &&
46299 { ac_try='test -s conftest.$ac_objext'
46300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46301 (eval $ac_try) 2>&5
46302 ac_status=$?
46303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46304 (exit $ac_status); }; }; then
46305 glibcxx_cv_func_isinff_use=yes
46306 else
46307 echo "$as_me: failed program was:" >&5
46308 sed 's/^/| /' conftest.$ac_ext >&5
46310 glibcxx_cv_func_isinff_use=no
46312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46313 ac_ext=c
46314 ac_cpp='$CPP $CPPFLAGS'
46315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46323 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
46324 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
46326 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46328 for ac_func in isinff
46330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46331 echo "$as_me:$LINENO: checking for $ac_func" >&5
46332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46333 if eval "test \"\${$as_ac_var+set}\" = set"; then
46334 echo $ECHO_N "(cached) $ECHO_C" >&6
46335 else
46336 if test x$gcc_no_link = xyes; then
46337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46339 { (exit 1); exit 1; }; }
46341 cat >conftest.$ac_ext <<_ACEOF
46342 /* confdefs.h. */
46343 _ACEOF
46344 cat confdefs.h >>conftest.$ac_ext
46345 cat >>conftest.$ac_ext <<_ACEOF
46346 /* end confdefs.h. */
46347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46349 #define $ac_func innocuous_$ac_func
46351 /* System header to define __stub macros and hopefully few prototypes,
46352 which can conflict with char $ac_func (); below.
46353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46354 <limits.h> exists even on freestanding compilers. */
46356 #ifdef __STDC__
46357 # include <limits.h>
46358 #else
46359 # include <assert.h>
46360 #endif
46362 #undef $ac_func
46364 /* Override any gcc2 internal prototype to avoid an error. */
46365 #ifdef __cplusplus
46366 extern "C"
46368 #endif
46369 /* We use char because int might match the return type of a gcc2
46370 builtin and then its argument prototype would still apply. */
46371 char $ac_func ();
46372 /* The GNU C library defines this for functions which it implements
46373 to always fail with ENOSYS. Some functions are actually named
46374 something starting with __ and the normal name is an alias. */
46375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46376 choke me
46377 #else
46378 char (*f) () = $ac_func;
46379 #endif
46380 #ifdef __cplusplus
46382 #endif
46385 main ()
46387 return f != $ac_func;
46389 return 0;
46391 _ACEOF
46392 rm -f conftest.$ac_objext conftest$ac_exeext
46393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46394 (eval $ac_link) 2>conftest.er1
46395 ac_status=$?
46396 grep -v '^ *+' conftest.er1 >conftest.err
46397 rm -f conftest.er1
46398 cat conftest.err >&5
46399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46400 (exit $ac_status); } &&
46401 { ac_try='test -z "$ac_c_werror_flag"
46402 || test ! -s conftest.err'
46403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46404 (eval $ac_try) 2>&5
46405 ac_status=$?
46406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46407 (exit $ac_status); }; } &&
46408 { ac_try='test -s conftest$ac_exeext'
46409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46410 (eval $ac_try) 2>&5
46411 ac_status=$?
46412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46413 (exit $ac_status); }; }; then
46414 eval "$as_ac_var=yes"
46415 else
46416 echo "$as_me: failed program was:" >&5
46417 sed 's/^/| /' conftest.$ac_ext >&5
46419 eval "$as_ac_var=no"
46421 rm -f conftest.err conftest.$ac_objext \
46422 conftest$ac_exeext conftest.$ac_ext
46424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46426 if test `eval echo '${'$as_ac_var'}'` = yes; then
46427 cat >>confdefs.h <<_ACEOF
46428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46429 _ACEOF
46432 done
46434 else
46436 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
46437 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
46438 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46439 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
46440 echo $ECHO_N "(cached) $ECHO_C" >&6
46441 else
46445 ac_ext=cc
46446 ac_cpp='$CXXCPP $CPPFLAGS'
46447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46451 cat >conftest.$ac_ext <<_ACEOF
46452 /* confdefs.h. */
46453 _ACEOF
46454 cat confdefs.h >>conftest.$ac_ext
46455 cat >>conftest.$ac_ext <<_ACEOF
46456 /* end confdefs.h. */
46457 #include <math.h>
46458 #ifdef HAVE_IEEEFP_H
46459 #include <ieeefp.h>
46460 #endif
46463 main ()
46465 _isinff(0);
46467 return 0;
46469 _ACEOF
46470 rm -f conftest.$ac_objext
46471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46472 (eval $ac_compile) 2>conftest.er1
46473 ac_status=$?
46474 grep -v '^ *+' conftest.er1 >conftest.err
46475 rm -f conftest.er1
46476 cat conftest.err >&5
46477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46478 (exit $ac_status); } &&
46479 { ac_try='test -z "$ac_cxx_werror_flag"
46480 || test ! -s conftest.err'
46481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46482 (eval $ac_try) 2>&5
46483 ac_status=$?
46484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46485 (exit $ac_status); }; } &&
46486 { ac_try='test -s conftest.$ac_objext'
46487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46488 (eval $ac_try) 2>&5
46489 ac_status=$?
46490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46491 (exit $ac_status); }; }; then
46492 glibcxx_cv_func__isinff_use=yes
46493 else
46494 echo "$as_me: failed program was:" >&5
46495 sed 's/^/| /' conftest.$ac_ext >&5
46497 glibcxx_cv_func__isinff_use=no
46499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46500 ac_ext=c
46501 ac_cpp='$CPP $CPPFLAGS'
46502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46510 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
46511 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
46513 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46515 for ac_func in _isinff
46517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46518 echo "$as_me:$LINENO: checking for $ac_func" >&5
46519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46520 if eval "test \"\${$as_ac_var+set}\" = set"; then
46521 echo $ECHO_N "(cached) $ECHO_C" >&6
46522 else
46523 if test x$gcc_no_link = xyes; then
46524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46526 { (exit 1); exit 1; }; }
46528 cat >conftest.$ac_ext <<_ACEOF
46529 /* confdefs.h. */
46530 _ACEOF
46531 cat confdefs.h >>conftest.$ac_ext
46532 cat >>conftest.$ac_ext <<_ACEOF
46533 /* end confdefs.h. */
46534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46536 #define $ac_func innocuous_$ac_func
46538 /* System header to define __stub macros and hopefully few prototypes,
46539 which can conflict with char $ac_func (); below.
46540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46541 <limits.h> exists even on freestanding compilers. */
46543 #ifdef __STDC__
46544 # include <limits.h>
46545 #else
46546 # include <assert.h>
46547 #endif
46549 #undef $ac_func
46551 /* Override any gcc2 internal prototype to avoid an error. */
46552 #ifdef __cplusplus
46553 extern "C"
46555 #endif
46556 /* We use char because int might match the return type of a gcc2
46557 builtin and then its argument prototype would still apply. */
46558 char $ac_func ();
46559 /* The GNU C library defines this for functions which it implements
46560 to always fail with ENOSYS. Some functions are actually named
46561 something starting with __ and the normal name is an alias. */
46562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46563 choke me
46564 #else
46565 char (*f) () = $ac_func;
46566 #endif
46567 #ifdef __cplusplus
46569 #endif
46572 main ()
46574 return f != $ac_func;
46576 return 0;
46578 _ACEOF
46579 rm -f conftest.$ac_objext conftest$ac_exeext
46580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46581 (eval $ac_link) 2>conftest.er1
46582 ac_status=$?
46583 grep -v '^ *+' conftest.er1 >conftest.err
46584 rm -f conftest.er1
46585 cat conftest.err >&5
46586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46587 (exit $ac_status); } &&
46588 { ac_try='test -z "$ac_c_werror_flag"
46589 || test ! -s conftest.err'
46590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46591 (eval $ac_try) 2>&5
46592 ac_status=$?
46593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46594 (exit $ac_status); }; } &&
46595 { ac_try='test -s conftest$ac_exeext'
46596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46597 (eval $ac_try) 2>&5
46598 ac_status=$?
46599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46600 (exit $ac_status); }; }; then
46601 eval "$as_ac_var=yes"
46602 else
46603 echo "$as_me: failed program was:" >&5
46604 sed 's/^/| /' conftest.$ac_ext >&5
46606 eval "$as_ac_var=no"
46608 rm -f conftest.err conftest.$ac_objext \
46609 conftest$ac_exeext conftest.$ac_ext
46611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46613 if test `eval echo '${'$as_ac_var'}'` = yes; then
46614 cat >>confdefs.h <<_ACEOF
46615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46616 _ACEOF
46619 done
46629 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
46630 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
46631 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46632 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
46633 echo $ECHO_N "(cached) $ECHO_C" >&6
46634 else
46638 ac_ext=cc
46639 ac_cpp='$CXXCPP $CPPFLAGS'
46640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46644 cat >conftest.$ac_ext <<_ACEOF
46645 /* confdefs.h. */
46646 _ACEOF
46647 cat confdefs.h >>conftest.$ac_ext
46648 cat >>conftest.$ac_ext <<_ACEOF
46649 /* end confdefs.h. */
46650 #include <math.h>
46652 main ()
46654 atan2f(0, 0);
46656 return 0;
46658 _ACEOF
46659 rm -f conftest.$ac_objext
46660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46661 (eval $ac_compile) 2>conftest.er1
46662 ac_status=$?
46663 grep -v '^ *+' conftest.er1 >conftest.err
46664 rm -f conftest.er1
46665 cat conftest.err >&5
46666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46667 (exit $ac_status); } &&
46668 { ac_try='test -z "$ac_cxx_werror_flag"
46669 || test ! -s conftest.err'
46670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46671 (eval $ac_try) 2>&5
46672 ac_status=$?
46673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46674 (exit $ac_status); }; } &&
46675 { ac_try='test -s conftest.$ac_objext'
46676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46677 (eval $ac_try) 2>&5
46678 ac_status=$?
46679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46680 (exit $ac_status); }; }; then
46681 glibcxx_cv_func_atan2f_use=yes
46682 else
46683 echo "$as_me: failed program was:" >&5
46684 sed 's/^/| /' conftest.$ac_ext >&5
46686 glibcxx_cv_func_atan2f_use=no
46688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46689 ac_ext=c
46690 ac_cpp='$CPP $CPPFLAGS'
46691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46699 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
46700 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
46702 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46704 for ac_func in atan2f
46706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46707 echo "$as_me:$LINENO: checking for $ac_func" >&5
46708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46709 if eval "test \"\${$as_ac_var+set}\" = set"; then
46710 echo $ECHO_N "(cached) $ECHO_C" >&6
46711 else
46712 if test x$gcc_no_link = xyes; then
46713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46715 { (exit 1); exit 1; }; }
46717 cat >conftest.$ac_ext <<_ACEOF
46718 /* confdefs.h. */
46719 _ACEOF
46720 cat confdefs.h >>conftest.$ac_ext
46721 cat >>conftest.$ac_ext <<_ACEOF
46722 /* end confdefs.h. */
46723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46725 #define $ac_func innocuous_$ac_func
46727 /* System header to define __stub macros and hopefully few prototypes,
46728 which can conflict with char $ac_func (); below.
46729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46730 <limits.h> exists even on freestanding compilers. */
46732 #ifdef __STDC__
46733 # include <limits.h>
46734 #else
46735 # include <assert.h>
46736 #endif
46738 #undef $ac_func
46740 /* Override any gcc2 internal prototype to avoid an error. */
46741 #ifdef __cplusplus
46742 extern "C"
46744 #endif
46745 /* We use char because int might match the return type of a gcc2
46746 builtin and then its argument prototype would still apply. */
46747 char $ac_func ();
46748 /* The GNU C library defines this for functions which it implements
46749 to always fail with ENOSYS. Some functions are actually named
46750 something starting with __ and the normal name is an alias. */
46751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46752 choke me
46753 #else
46754 char (*f) () = $ac_func;
46755 #endif
46756 #ifdef __cplusplus
46758 #endif
46761 main ()
46763 return f != $ac_func;
46765 return 0;
46767 _ACEOF
46768 rm -f conftest.$ac_objext conftest$ac_exeext
46769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46770 (eval $ac_link) 2>conftest.er1
46771 ac_status=$?
46772 grep -v '^ *+' conftest.er1 >conftest.err
46773 rm -f conftest.er1
46774 cat conftest.err >&5
46775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46776 (exit $ac_status); } &&
46777 { ac_try='test -z "$ac_c_werror_flag"
46778 || test ! -s conftest.err'
46779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46780 (eval $ac_try) 2>&5
46781 ac_status=$?
46782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46783 (exit $ac_status); }; } &&
46784 { ac_try='test -s conftest$ac_exeext'
46785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46786 (eval $ac_try) 2>&5
46787 ac_status=$?
46788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46789 (exit $ac_status); }; }; then
46790 eval "$as_ac_var=yes"
46791 else
46792 echo "$as_me: failed program was:" >&5
46793 sed 's/^/| /' conftest.$ac_ext >&5
46795 eval "$as_ac_var=no"
46797 rm -f conftest.err conftest.$ac_objext \
46798 conftest$ac_exeext conftest.$ac_ext
46800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46802 if test `eval echo '${'$as_ac_var'}'` = yes; then
46803 cat >>confdefs.h <<_ACEOF
46804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46805 _ACEOF
46808 done
46810 else
46812 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
46813 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
46814 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46815 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
46816 echo $ECHO_N "(cached) $ECHO_C" >&6
46817 else
46821 ac_ext=cc
46822 ac_cpp='$CXXCPP $CPPFLAGS'
46823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46827 cat >conftest.$ac_ext <<_ACEOF
46828 /* confdefs.h. */
46829 _ACEOF
46830 cat confdefs.h >>conftest.$ac_ext
46831 cat >>conftest.$ac_ext <<_ACEOF
46832 /* end confdefs.h. */
46833 #include <math.h>
46835 main ()
46837 _atan2f(0, 0);
46839 return 0;
46841 _ACEOF
46842 rm -f conftest.$ac_objext
46843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46844 (eval $ac_compile) 2>conftest.er1
46845 ac_status=$?
46846 grep -v '^ *+' conftest.er1 >conftest.err
46847 rm -f conftest.er1
46848 cat conftest.err >&5
46849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46850 (exit $ac_status); } &&
46851 { ac_try='test -z "$ac_cxx_werror_flag"
46852 || test ! -s conftest.err'
46853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46854 (eval $ac_try) 2>&5
46855 ac_status=$?
46856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46857 (exit $ac_status); }; } &&
46858 { ac_try='test -s conftest.$ac_objext'
46859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46860 (eval $ac_try) 2>&5
46861 ac_status=$?
46862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46863 (exit $ac_status); }; }; then
46864 glibcxx_cv_func__atan2f_use=yes
46865 else
46866 echo "$as_me: failed program was:" >&5
46867 sed 's/^/| /' conftest.$ac_ext >&5
46869 glibcxx_cv_func__atan2f_use=no
46871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46872 ac_ext=c
46873 ac_cpp='$CPP $CPPFLAGS'
46874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46882 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
46883 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
46885 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46887 for ac_func in _atan2f
46889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46890 echo "$as_me:$LINENO: checking for $ac_func" >&5
46891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46892 if eval "test \"\${$as_ac_var+set}\" = set"; then
46893 echo $ECHO_N "(cached) $ECHO_C" >&6
46894 else
46895 if test x$gcc_no_link = xyes; then
46896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46898 { (exit 1); exit 1; }; }
46900 cat >conftest.$ac_ext <<_ACEOF
46901 /* confdefs.h. */
46902 _ACEOF
46903 cat confdefs.h >>conftest.$ac_ext
46904 cat >>conftest.$ac_ext <<_ACEOF
46905 /* end confdefs.h. */
46906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46908 #define $ac_func innocuous_$ac_func
46910 /* System header to define __stub macros and hopefully few prototypes,
46911 which can conflict with char $ac_func (); below.
46912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46913 <limits.h> exists even on freestanding compilers. */
46915 #ifdef __STDC__
46916 # include <limits.h>
46917 #else
46918 # include <assert.h>
46919 #endif
46921 #undef $ac_func
46923 /* Override any gcc2 internal prototype to avoid an error. */
46924 #ifdef __cplusplus
46925 extern "C"
46927 #endif
46928 /* We use char because int might match the return type of a gcc2
46929 builtin and then its argument prototype would still apply. */
46930 char $ac_func ();
46931 /* The GNU C library defines this for functions which it implements
46932 to always fail with ENOSYS. Some functions are actually named
46933 something starting with __ and the normal name is an alias. */
46934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46935 choke me
46936 #else
46937 char (*f) () = $ac_func;
46938 #endif
46939 #ifdef __cplusplus
46941 #endif
46944 main ()
46946 return f != $ac_func;
46948 return 0;
46950 _ACEOF
46951 rm -f conftest.$ac_objext conftest$ac_exeext
46952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46953 (eval $ac_link) 2>conftest.er1
46954 ac_status=$?
46955 grep -v '^ *+' conftest.er1 >conftest.err
46956 rm -f conftest.er1
46957 cat conftest.err >&5
46958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46959 (exit $ac_status); } &&
46960 { ac_try='test -z "$ac_c_werror_flag"
46961 || test ! -s conftest.err'
46962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46963 (eval $ac_try) 2>&5
46964 ac_status=$?
46965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46966 (exit $ac_status); }; } &&
46967 { ac_try='test -s conftest$ac_exeext'
46968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46969 (eval $ac_try) 2>&5
46970 ac_status=$?
46971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46972 (exit $ac_status); }; }; then
46973 eval "$as_ac_var=yes"
46974 else
46975 echo "$as_me: failed program was:" >&5
46976 sed 's/^/| /' conftest.$ac_ext >&5
46978 eval "$as_ac_var=no"
46980 rm -f conftest.err conftest.$ac_objext \
46981 conftest$ac_exeext conftest.$ac_ext
46983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46985 if test `eval echo '${'$as_ac_var'}'` = yes; then
46986 cat >>confdefs.h <<_ACEOF
46987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46988 _ACEOF
46991 done
47001 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
47002 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
47003 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47004 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
47005 echo $ECHO_N "(cached) $ECHO_C" >&6
47006 else
47010 ac_ext=cc
47011 ac_cpp='$CXXCPP $CPPFLAGS'
47012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47016 cat >conftest.$ac_ext <<_ACEOF
47017 /* confdefs.h. */
47018 _ACEOF
47019 cat confdefs.h >>conftest.$ac_ext
47020 cat >>conftest.$ac_ext <<_ACEOF
47021 /* end confdefs.h. */
47022 #include <math.h>
47023 #ifdef HAVE_IEEEFP_H
47024 #include <ieeefp.h>
47025 #endif
47028 main ()
47030 fabsf(0);
47032 return 0;
47034 _ACEOF
47035 rm -f conftest.$ac_objext
47036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47037 (eval $ac_compile) 2>conftest.er1
47038 ac_status=$?
47039 grep -v '^ *+' conftest.er1 >conftest.err
47040 rm -f conftest.er1
47041 cat conftest.err >&5
47042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47043 (exit $ac_status); } &&
47044 { ac_try='test -z "$ac_cxx_werror_flag"
47045 || test ! -s conftest.err'
47046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47047 (eval $ac_try) 2>&5
47048 ac_status=$?
47049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47050 (exit $ac_status); }; } &&
47051 { ac_try='test -s conftest.$ac_objext'
47052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47053 (eval $ac_try) 2>&5
47054 ac_status=$?
47055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47056 (exit $ac_status); }; }; then
47057 glibcxx_cv_func_fabsf_use=yes
47058 else
47059 echo "$as_me: failed program was:" >&5
47060 sed 's/^/| /' conftest.$ac_ext >&5
47062 glibcxx_cv_func_fabsf_use=no
47064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47065 ac_ext=c
47066 ac_cpp='$CPP $CPPFLAGS'
47067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47075 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
47076 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
47078 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47080 for ac_func in fabsf
47082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47083 echo "$as_me:$LINENO: checking for $ac_func" >&5
47084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47085 if eval "test \"\${$as_ac_var+set}\" = set"; then
47086 echo $ECHO_N "(cached) $ECHO_C" >&6
47087 else
47088 if test x$gcc_no_link = xyes; then
47089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47091 { (exit 1); exit 1; }; }
47093 cat >conftest.$ac_ext <<_ACEOF
47094 /* confdefs.h. */
47095 _ACEOF
47096 cat confdefs.h >>conftest.$ac_ext
47097 cat >>conftest.$ac_ext <<_ACEOF
47098 /* end confdefs.h. */
47099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47101 #define $ac_func innocuous_$ac_func
47103 /* System header to define __stub macros and hopefully few prototypes,
47104 which can conflict with char $ac_func (); below.
47105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47106 <limits.h> exists even on freestanding compilers. */
47108 #ifdef __STDC__
47109 # include <limits.h>
47110 #else
47111 # include <assert.h>
47112 #endif
47114 #undef $ac_func
47116 /* Override any gcc2 internal prototype to avoid an error. */
47117 #ifdef __cplusplus
47118 extern "C"
47120 #endif
47121 /* We use char because int might match the return type of a gcc2
47122 builtin and then its argument prototype would still apply. */
47123 char $ac_func ();
47124 /* The GNU C library defines this for functions which it implements
47125 to always fail with ENOSYS. Some functions are actually named
47126 something starting with __ and the normal name is an alias. */
47127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47128 choke me
47129 #else
47130 char (*f) () = $ac_func;
47131 #endif
47132 #ifdef __cplusplus
47134 #endif
47137 main ()
47139 return f != $ac_func;
47141 return 0;
47143 _ACEOF
47144 rm -f conftest.$ac_objext conftest$ac_exeext
47145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47146 (eval $ac_link) 2>conftest.er1
47147 ac_status=$?
47148 grep -v '^ *+' conftest.er1 >conftest.err
47149 rm -f conftest.er1
47150 cat conftest.err >&5
47151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47152 (exit $ac_status); } &&
47153 { ac_try='test -z "$ac_c_werror_flag"
47154 || test ! -s conftest.err'
47155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47156 (eval $ac_try) 2>&5
47157 ac_status=$?
47158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47159 (exit $ac_status); }; } &&
47160 { ac_try='test -s conftest$ac_exeext'
47161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47162 (eval $ac_try) 2>&5
47163 ac_status=$?
47164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47165 (exit $ac_status); }; }; then
47166 eval "$as_ac_var=yes"
47167 else
47168 echo "$as_me: failed program was:" >&5
47169 sed 's/^/| /' conftest.$ac_ext >&5
47171 eval "$as_ac_var=no"
47173 rm -f conftest.err conftest.$ac_objext \
47174 conftest$ac_exeext conftest.$ac_ext
47176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47178 if test `eval echo '${'$as_ac_var'}'` = yes; then
47179 cat >>confdefs.h <<_ACEOF
47180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47181 _ACEOF
47184 done
47186 else
47188 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
47189 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
47190 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47191 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
47192 echo $ECHO_N "(cached) $ECHO_C" >&6
47193 else
47197 ac_ext=cc
47198 ac_cpp='$CXXCPP $CPPFLAGS'
47199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47203 cat >conftest.$ac_ext <<_ACEOF
47204 /* confdefs.h. */
47205 _ACEOF
47206 cat confdefs.h >>conftest.$ac_ext
47207 cat >>conftest.$ac_ext <<_ACEOF
47208 /* end confdefs.h. */
47209 #include <math.h>
47210 #ifdef HAVE_IEEEFP_H
47211 #include <ieeefp.h>
47212 #endif
47215 main ()
47217 _fabsf(0);
47219 return 0;
47221 _ACEOF
47222 rm -f conftest.$ac_objext
47223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47224 (eval $ac_compile) 2>conftest.er1
47225 ac_status=$?
47226 grep -v '^ *+' conftest.er1 >conftest.err
47227 rm -f conftest.er1
47228 cat conftest.err >&5
47229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47230 (exit $ac_status); } &&
47231 { ac_try='test -z "$ac_cxx_werror_flag"
47232 || test ! -s conftest.err'
47233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47234 (eval $ac_try) 2>&5
47235 ac_status=$?
47236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47237 (exit $ac_status); }; } &&
47238 { ac_try='test -s conftest.$ac_objext'
47239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47240 (eval $ac_try) 2>&5
47241 ac_status=$?
47242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47243 (exit $ac_status); }; }; then
47244 glibcxx_cv_func__fabsf_use=yes
47245 else
47246 echo "$as_me: failed program was:" >&5
47247 sed 's/^/| /' conftest.$ac_ext >&5
47249 glibcxx_cv_func__fabsf_use=no
47251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47252 ac_ext=c
47253 ac_cpp='$CPP $CPPFLAGS'
47254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47262 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
47263 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
47265 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47267 for ac_func in _fabsf
47269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47270 echo "$as_me:$LINENO: checking for $ac_func" >&5
47271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47272 if eval "test \"\${$as_ac_var+set}\" = set"; then
47273 echo $ECHO_N "(cached) $ECHO_C" >&6
47274 else
47275 if test x$gcc_no_link = xyes; then
47276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47278 { (exit 1); exit 1; }; }
47280 cat >conftest.$ac_ext <<_ACEOF
47281 /* confdefs.h. */
47282 _ACEOF
47283 cat confdefs.h >>conftest.$ac_ext
47284 cat >>conftest.$ac_ext <<_ACEOF
47285 /* end confdefs.h. */
47286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47288 #define $ac_func innocuous_$ac_func
47290 /* System header to define __stub macros and hopefully few prototypes,
47291 which can conflict with char $ac_func (); below.
47292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47293 <limits.h> exists even on freestanding compilers. */
47295 #ifdef __STDC__
47296 # include <limits.h>
47297 #else
47298 # include <assert.h>
47299 #endif
47301 #undef $ac_func
47303 /* Override any gcc2 internal prototype to avoid an error. */
47304 #ifdef __cplusplus
47305 extern "C"
47307 #endif
47308 /* We use char because int might match the return type of a gcc2
47309 builtin and then its argument prototype would still apply. */
47310 char $ac_func ();
47311 /* The GNU C library defines this for functions which it implements
47312 to always fail with ENOSYS. Some functions are actually named
47313 something starting with __ and the normal name is an alias. */
47314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47315 choke me
47316 #else
47317 char (*f) () = $ac_func;
47318 #endif
47319 #ifdef __cplusplus
47321 #endif
47324 main ()
47326 return f != $ac_func;
47328 return 0;
47330 _ACEOF
47331 rm -f conftest.$ac_objext conftest$ac_exeext
47332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47333 (eval $ac_link) 2>conftest.er1
47334 ac_status=$?
47335 grep -v '^ *+' conftest.er1 >conftest.err
47336 rm -f conftest.er1
47337 cat conftest.err >&5
47338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47339 (exit $ac_status); } &&
47340 { ac_try='test -z "$ac_c_werror_flag"
47341 || test ! -s conftest.err'
47342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47343 (eval $ac_try) 2>&5
47344 ac_status=$?
47345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47346 (exit $ac_status); }; } &&
47347 { ac_try='test -s conftest$ac_exeext'
47348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47349 (eval $ac_try) 2>&5
47350 ac_status=$?
47351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47352 (exit $ac_status); }; }; then
47353 eval "$as_ac_var=yes"
47354 else
47355 echo "$as_me: failed program was:" >&5
47356 sed 's/^/| /' conftest.$ac_ext >&5
47358 eval "$as_ac_var=no"
47360 rm -f conftest.err conftest.$ac_objext \
47361 conftest$ac_exeext conftest.$ac_ext
47363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47365 if test `eval echo '${'$as_ac_var'}'` = yes; then
47366 cat >>confdefs.h <<_ACEOF
47367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47368 _ACEOF
47371 done
47381 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
47382 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
47383 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47384 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
47385 echo $ECHO_N "(cached) $ECHO_C" >&6
47386 else
47390 ac_ext=cc
47391 ac_cpp='$CXXCPP $CPPFLAGS'
47392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47396 cat >conftest.$ac_ext <<_ACEOF
47397 /* confdefs.h. */
47398 _ACEOF
47399 cat confdefs.h >>conftest.$ac_ext
47400 cat >>conftest.$ac_ext <<_ACEOF
47401 /* end confdefs.h. */
47402 #include <math.h>
47404 main ()
47406 fmodf(0, 0);
47408 return 0;
47410 _ACEOF
47411 rm -f conftest.$ac_objext
47412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47413 (eval $ac_compile) 2>conftest.er1
47414 ac_status=$?
47415 grep -v '^ *+' conftest.er1 >conftest.err
47416 rm -f conftest.er1
47417 cat conftest.err >&5
47418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47419 (exit $ac_status); } &&
47420 { ac_try='test -z "$ac_cxx_werror_flag"
47421 || test ! -s conftest.err'
47422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47423 (eval $ac_try) 2>&5
47424 ac_status=$?
47425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47426 (exit $ac_status); }; } &&
47427 { ac_try='test -s conftest.$ac_objext'
47428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47429 (eval $ac_try) 2>&5
47430 ac_status=$?
47431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47432 (exit $ac_status); }; }; then
47433 glibcxx_cv_func_fmodf_use=yes
47434 else
47435 echo "$as_me: failed program was:" >&5
47436 sed 's/^/| /' conftest.$ac_ext >&5
47438 glibcxx_cv_func_fmodf_use=no
47440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47441 ac_ext=c
47442 ac_cpp='$CPP $CPPFLAGS'
47443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47451 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
47452 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
47454 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47456 for ac_func in fmodf
47458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47459 echo "$as_me:$LINENO: checking for $ac_func" >&5
47460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47461 if eval "test \"\${$as_ac_var+set}\" = set"; then
47462 echo $ECHO_N "(cached) $ECHO_C" >&6
47463 else
47464 if test x$gcc_no_link = xyes; then
47465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47467 { (exit 1); exit 1; }; }
47469 cat >conftest.$ac_ext <<_ACEOF
47470 /* confdefs.h. */
47471 _ACEOF
47472 cat confdefs.h >>conftest.$ac_ext
47473 cat >>conftest.$ac_ext <<_ACEOF
47474 /* end confdefs.h. */
47475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47477 #define $ac_func innocuous_$ac_func
47479 /* System header to define __stub macros and hopefully few prototypes,
47480 which can conflict with char $ac_func (); below.
47481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47482 <limits.h> exists even on freestanding compilers. */
47484 #ifdef __STDC__
47485 # include <limits.h>
47486 #else
47487 # include <assert.h>
47488 #endif
47490 #undef $ac_func
47492 /* Override any gcc2 internal prototype to avoid an error. */
47493 #ifdef __cplusplus
47494 extern "C"
47496 #endif
47497 /* We use char because int might match the return type of a gcc2
47498 builtin and then its argument prototype would still apply. */
47499 char $ac_func ();
47500 /* The GNU C library defines this for functions which it implements
47501 to always fail with ENOSYS. Some functions are actually named
47502 something starting with __ and the normal name is an alias. */
47503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47504 choke me
47505 #else
47506 char (*f) () = $ac_func;
47507 #endif
47508 #ifdef __cplusplus
47510 #endif
47513 main ()
47515 return f != $ac_func;
47517 return 0;
47519 _ACEOF
47520 rm -f conftest.$ac_objext conftest$ac_exeext
47521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47522 (eval $ac_link) 2>conftest.er1
47523 ac_status=$?
47524 grep -v '^ *+' conftest.er1 >conftest.err
47525 rm -f conftest.er1
47526 cat conftest.err >&5
47527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47528 (exit $ac_status); } &&
47529 { ac_try='test -z "$ac_c_werror_flag"
47530 || test ! -s conftest.err'
47531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47532 (eval $ac_try) 2>&5
47533 ac_status=$?
47534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47535 (exit $ac_status); }; } &&
47536 { ac_try='test -s conftest$ac_exeext'
47537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47538 (eval $ac_try) 2>&5
47539 ac_status=$?
47540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47541 (exit $ac_status); }; }; then
47542 eval "$as_ac_var=yes"
47543 else
47544 echo "$as_me: failed program was:" >&5
47545 sed 's/^/| /' conftest.$ac_ext >&5
47547 eval "$as_ac_var=no"
47549 rm -f conftest.err conftest.$ac_objext \
47550 conftest$ac_exeext conftest.$ac_ext
47552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47554 if test `eval echo '${'$as_ac_var'}'` = yes; then
47555 cat >>confdefs.h <<_ACEOF
47556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47557 _ACEOF
47560 done
47562 else
47564 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
47565 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
47566 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47567 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
47568 echo $ECHO_N "(cached) $ECHO_C" >&6
47569 else
47573 ac_ext=cc
47574 ac_cpp='$CXXCPP $CPPFLAGS'
47575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47579 cat >conftest.$ac_ext <<_ACEOF
47580 /* confdefs.h. */
47581 _ACEOF
47582 cat confdefs.h >>conftest.$ac_ext
47583 cat >>conftest.$ac_ext <<_ACEOF
47584 /* end confdefs.h. */
47585 #include <math.h>
47587 main ()
47589 _fmodf(0, 0);
47591 return 0;
47593 _ACEOF
47594 rm -f conftest.$ac_objext
47595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47596 (eval $ac_compile) 2>conftest.er1
47597 ac_status=$?
47598 grep -v '^ *+' conftest.er1 >conftest.err
47599 rm -f conftest.er1
47600 cat conftest.err >&5
47601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47602 (exit $ac_status); } &&
47603 { ac_try='test -z "$ac_cxx_werror_flag"
47604 || test ! -s conftest.err'
47605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47606 (eval $ac_try) 2>&5
47607 ac_status=$?
47608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47609 (exit $ac_status); }; } &&
47610 { ac_try='test -s conftest.$ac_objext'
47611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47612 (eval $ac_try) 2>&5
47613 ac_status=$?
47614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47615 (exit $ac_status); }; }; then
47616 glibcxx_cv_func__fmodf_use=yes
47617 else
47618 echo "$as_me: failed program was:" >&5
47619 sed 's/^/| /' conftest.$ac_ext >&5
47621 glibcxx_cv_func__fmodf_use=no
47623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47624 ac_ext=c
47625 ac_cpp='$CPP $CPPFLAGS'
47626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47634 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
47635 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
47637 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47639 for ac_func in _fmodf
47641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47642 echo "$as_me:$LINENO: checking for $ac_func" >&5
47643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47644 if eval "test \"\${$as_ac_var+set}\" = set"; then
47645 echo $ECHO_N "(cached) $ECHO_C" >&6
47646 else
47647 if test x$gcc_no_link = xyes; then
47648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47650 { (exit 1); exit 1; }; }
47652 cat >conftest.$ac_ext <<_ACEOF
47653 /* confdefs.h. */
47654 _ACEOF
47655 cat confdefs.h >>conftest.$ac_ext
47656 cat >>conftest.$ac_ext <<_ACEOF
47657 /* end confdefs.h. */
47658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47660 #define $ac_func innocuous_$ac_func
47662 /* System header to define __stub macros and hopefully few prototypes,
47663 which can conflict with char $ac_func (); below.
47664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47665 <limits.h> exists even on freestanding compilers. */
47667 #ifdef __STDC__
47668 # include <limits.h>
47669 #else
47670 # include <assert.h>
47671 #endif
47673 #undef $ac_func
47675 /* Override any gcc2 internal prototype to avoid an error. */
47676 #ifdef __cplusplus
47677 extern "C"
47679 #endif
47680 /* We use char because int might match the return type of a gcc2
47681 builtin and then its argument prototype would still apply. */
47682 char $ac_func ();
47683 /* The GNU C library defines this for functions which it implements
47684 to always fail with ENOSYS. Some functions are actually named
47685 something starting with __ and the normal name is an alias. */
47686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47687 choke me
47688 #else
47689 char (*f) () = $ac_func;
47690 #endif
47691 #ifdef __cplusplus
47693 #endif
47696 main ()
47698 return f != $ac_func;
47700 return 0;
47702 _ACEOF
47703 rm -f conftest.$ac_objext conftest$ac_exeext
47704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47705 (eval $ac_link) 2>conftest.er1
47706 ac_status=$?
47707 grep -v '^ *+' conftest.er1 >conftest.err
47708 rm -f conftest.er1
47709 cat conftest.err >&5
47710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47711 (exit $ac_status); } &&
47712 { ac_try='test -z "$ac_c_werror_flag"
47713 || test ! -s conftest.err'
47714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47715 (eval $ac_try) 2>&5
47716 ac_status=$?
47717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47718 (exit $ac_status); }; } &&
47719 { ac_try='test -s conftest$ac_exeext'
47720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47721 (eval $ac_try) 2>&5
47722 ac_status=$?
47723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47724 (exit $ac_status); }; }; then
47725 eval "$as_ac_var=yes"
47726 else
47727 echo "$as_me: failed program was:" >&5
47728 sed 's/^/| /' conftest.$ac_ext >&5
47730 eval "$as_ac_var=no"
47732 rm -f conftest.err conftest.$ac_objext \
47733 conftest$ac_exeext conftest.$ac_ext
47735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47737 if test `eval echo '${'$as_ac_var'}'` = yes; then
47738 cat >>confdefs.h <<_ACEOF
47739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47740 _ACEOF
47743 done
47753 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
47754 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
47755 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47756 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
47757 echo $ECHO_N "(cached) $ECHO_C" >&6
47758 else
47762 ac_ext=cc
47763 ac_cpp='$CXXCPP $CPPFLAGS'
47764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47768 cat >conftest.$ac_ext <<_ACEOF
47769 /* confdefs.h. */
47770 _ACEOF
47771 cat confdefs.h >>conftest.$ac_ext
47772 cat >>conftest.$ac_ext <<_ACEOF
47773 /* end confdefs.h. */
47774 #include <math.h>
47776 main ()
47778 frexpf(0, 0);
47780 return 0;
47782 _ACEOF
47783 rm -f conftest.$ac_objext
47784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47785 (eval $ac_compile) 2>conftest.er1
47786 ac_status=$?
47787 grep -v '^ *+' conftest.er1 >conftest.err
47788 rm -f conftest.er1
47789 cat conftest.err >&5
47790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47791 (exit $ac_status); } &&
47792 { ac_try='test -z "$ac_cxx_werror_flag"
47793 || test ! -s conftest.err'
47794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47795 (eval $ac_try) 2>&5
47796 ac_status=$?
47797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47798 (exit $ac_status); }; } &&
47799 { ac_try='test -s conftest.$ac_objext'
47800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47801 (eval $ac_try) 2>&5
47802 ac_status=$?
47803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47804 (exit $ac_status); }; }; then
47805 glibcxx_cv_func_frexpf_use=yes
47806 else
47807 echo "$as_me: failed program was:" >&5
47808 sed 's/^/| /' conftest.$ac_ext >&5
47810 glibcxx_cv_func_frexpf_use=no
47812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47813 ac_ext=c
47814 ac_cpp='$CPP $CPPFLAGS'
47815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47823 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
47824 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
47826 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47828 for ac_func in frexpf
47830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47831 echo "$as_me:$LINENO: checking for $ac_func" >&5
47832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47833 if eval "test \"\${$as_ac_var+set}\" = set"; then
47834 echo $ECHO_N "(cached) $ECHO_C" >&6
47835 else
47836 if test x$gcc_no_link = xyes; then
47837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47839 { (exit 1); exit 1; }; }
47841 cat >conftest.$ac_ext <<_ACEOF
47842 /* confdefs.h. */
47843 _ACEOF
47844 cat confdefs.h >>conftest.$ac_ext
47845 cat >>conftest.$ac_ext <<_ACEOF
47846 /* end confdefs.h. */
47847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47849 #define $ac_func innocuous_$ac_func
47851 /* System header to define __stub macros and hopefully few prototypes,
47852 which can conflict with char $ac_func (); below.
47853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47854 <limits.h> exists even on freestanding compilers. */
47856 #ifdef __STDC__
47857 # include <limits.h>
47858 #else
47859 # include <assert.h>
47860 #endif
47862 #undef $ac_func
47864 /* Override any gcc2 internal prototype to avoid an error. */
47865 #ifdef __cplusplus
47866 extern "C"
47868 #endif
47869 /* We use char because int might match the return type of a gcc2
47870 builtin and then its argument prototype would still apply. */
47871 char $ac_func ();
47872 /* The GNU C library defines this for functions which it implements
47873 to always fail with ENOSYS. Some functions are actually named
47874 something starting with __ and the normal name is an alias. */
47875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47876 choke me
47877 #else
47878 char (*f) () = $ac_func;
47879 #endif
47880 #ifdef __cplusplus
47882 #endif
47885 main ()
47887 return f != $ac_func;
47889 return 0;
47891 _ACEOF
47892 rm -f conftest.$ac_objext conftest$ac_exeext
47893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47894 (eval $ac_link) 2>conftest.er1
47895 ac_status=$?
47896 grep -v '^ *+' conftest.er1 >conftest.err
47897 rm -f conftest.er1
47898 cat conftest.err >&5
47899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47900 (exit $ac_status); } &&
47901 { ac_try='test -z "$ac_c_werror_flag"
47902 || test ! -s conftest.err'
47903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47904 (eval $ac_try) 2>&5
47905 ac_status=$?
47906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47907 (exit $ac_status); }; } &&
47908 { ac_try='test -s conftest$ac_exeext'
47909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47910 (eval $ac_try) 2>&5
47911 ac_status=$?
47912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47913 (exit $ac_status); }; }; then
47914 eval "$as_ac_var=yes"
47915 else
47916 echo "$as_me: failed program was:" >&5
47917 sed 's/^/| /' conftest.$ac_ext >&5
47919 eval "$as_ac_var=no"
47921 rm -f conftest.err conftest.$ac_objext \
47922 conftest$ac_exeext conftest.$ac_ext
47924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47926 if test `eval echo '${'$as_ac_var'}'` = yes; then
47927 cat >>confdefs.h <<_ACEOF
47928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47929 _ACEOF
47932 done
47934 else
47936 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
47937 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
47938 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47939 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
47940 echo $ECHO_N "(cached) $ECHO_C" >&6
47941 else
47945 ac_ext=cc
47946 ac_cpp='$CXXCPP $CPPFLAGS'
47947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47951 cat >conftest.$ac_ext <<_ACEOF
47952 /* confdefs.h. */
47953 _ACEOF
47954 cat confdefs.h >>conftest.$ac_ext
47955 cat >>conftest.$ac_ext <<_ACEOF
47956 /* end confdefs.h. */
47957 #include <math.h>
47959 main ()
47961 _frexpf(0, 0);
47963 return 0;
47965 _ACEOF
47966 rm -f conftest.$ac_objext
47967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47968 (eval $ac_compile) 2>conftest.er1
47969 ac_status=$?
47970 grep -v '^ *+' conftest.er1 >conftest.err
47971 rm -f conftest.er1
47972 cat conftest.err >&5
47973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47974 (exit $ac_status); } &&
47975 { ac_try='test -z "$ac_cxx_werror_flag"
47976 || test ! -s conftest.err'
47977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47978 (eval $ac_try) 2>&5
47979 ac_status=$?
47980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47981 (exit $ac_status); }; } &&
47982 { ac_try='test -s conftest.$ac_objext'
47983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47984 (eval $ac_try) 2>&5
47985 ac_status=$?
47986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47987 (exit $ac_status); }; }; then
47988 glibcxx_cv_func__frexpf_use=yes
47989 else
47990 echo "$as_me: failed program was:" >&5
47991 sed 's/^/| /' conftest.$ac_ext >&5
47993 glibcxx_cv_func__frexpf_use=no
47995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47996 ac_ext=c
47997 ac_cpp='$CPP $CPPFLAGS'
47998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48006 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
48007 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
48009 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48011 for ac_func in _frexpf
48013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48014 echo "$as_me:$LINENO: checking for $ac_func" >&5
48015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48016 if eval "test \"\${$as_ac_var+set}\" = set"; then
48017 echo $ECHO_N "(cached) $ECHO_C" >&6
48018 else
48019 if test x$gcc_no_link = xyes; then
48020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48022 { (exit 1); exit 1; }; }
48024 cat >conftest.$ac_ext <<_ACEOF
48025 /* confdefs.h. */
48026 _ACEOF
48027 cat confdefs.h >>conftest.$ac_ext
48028 cat >>conftest.$ac_ext <<_ACEOF
48029 /* end confdefs.h. */
48030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48032 #define $ac_func innocuous_$ac_func
48034 /* System header to define __stub macros and hopefully few prototypes,
48035 which can conflict with char $ac_func (); below.
48036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48037 <limits.h> exists even on freestanding compilers. */
48039 #ifdef __STDC__
48040 # include <limits.h>
48041 #else
48042 # include <assert.h>
48043 #endif
48045 #undef $ac_func
48047 /* Override any gcc2 internal prototype to avoid an error. */
48048 #ifdef __cplusplus
48049 extern "C"
48051 #endif
48052 /* We use char because int might match the return type of a gcc2
48053 builtin and then its argument prototype would still apply. */
48054 char $ac_func ();
48055 /* The GNU C library defines this for functions which it implements
48056 to always fail with ENOSYS. Some functions are actually named
48057 something starting with __ and the normal name is an alias. */
48058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48059 choke me
48060 #else
48061 char (*f) () = $ac_func;
48062 #endif
48063 #ifdef __cplusplus
48065 #endif
48068 main ()
48070 return f != $ac_func;
48072 return 0;
48074 _ACEOF
48075 rm -f conftest.$ac_objext conftest$ac_exeext
48076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48077 (eval $ac_link) 2>conftest.er1
48078 ac_status=$?
48079 grep -v '^ *+' conftest.er1 >conftest.err
48080 rm -f conftest.er1
48081 cat conftest.err >&5
48082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48083 (exit $ac_status); } &&
48084 { ac_try='test -z "$ac_c_werror_flag"
48085 || test ! -s conftest.err'
48086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48087 (eval $ac_try) 2>&5
48088 ac_status=$?
48089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48090 (exit $ac_status); }; } &&
48091 { ac_try='test -s conftest$ac_exeext'
48092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48093 (eval $ac_try) 2>&5
48094 ac_status=$?
48095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48096 (exit $ac_status); }; }; then
48097 eval "$as_ac_var=yes"
48098 else
48099 echo "$as_me: failed program was:" >&5
48100 sed 's/^/| /' conftest.$ac_ext >&5
48102 eval "$as_ac_var=no"
48104 rm -f conftest.err conftest.$ac_objext \
48105 conftest$ac_exeext conftest.$ac_ext
48107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48109 if test `eval echo '${'$as_ac_var'}'` = yes; then
48110 cat >>confdefs.h <<_ACEOF
48111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48112 _ACEOF
48115 done
48125 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
48126 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
48127 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48128 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
48129 echo $ECHO_N "(cached) $ECHO_C" >&6
48130 else
48134 ac_ext=cc
48135 ac_cpp='$CXXCPP $CPPFLAGS'
48136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48140 cat >conftest.$ac_ext <<_ACEOF
48141 /* confdefs.h. */
48142 _ACEOF
48143 cat confdefs.h >>conftest.$ac_ext
48144 cat >>conftest.$ac_ext <<_ACEOF
48145 /* end confdefs.h. */
48146 #include <math.h>
48148 main ()
48150 hypotf(0, 0);
48152 return 0;
48154 _ACEOF
48155 rm -f conftest.$ac_objext
48156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48157 (eval $ac_compile) 2>conftest.er1
48158 ac_status=$?
48159 grep -v '^ *+' conftest.er1 >conftest.err
48160 rm -f conftest.er1
48161 cat conftest.err >&5
48162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48163 (exit $ac_status); } &&
48164 { ac_try='test -z "$ac_cxx_werror_flag"
48165 || test ! -s conftest.err'
48166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48167 (eval $ac_try) 2>&5
48168 ac_status=$?
48169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48170 (exit $ac_status); }; } &&
48171 { ac_try='test -s conftest.$ac_objext'
48172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48173 (eval $ac_try) 2>&5
48174 ac_status=$?
48175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48176 (exit $ac_status); }; }; then
48177 glibcxx_cv_func_hypotf_use=yes
48178 else
48179 echo "$as_me: failed program was:" >&5
48180 sed 's/^/| /' conftest.$ac_ext >&5
48182 glibcxx_cv_func_hypotf_use=no
48184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48185 ac_ext=c
48186 ac_cpp='$CPP $CPPFLAGS'
48187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48195 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
48196 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
48198 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48200 for ac_func in hypotf
48202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48203 echo "$as_me:$LINENO: checking for $ac_func" >&5
48204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48205 if eval "test \"\${$as_ac_var+set}\" = set"; then
48206 echo $ECHO_N "(cached) $ECHO_C" >&6
48207 else
48208 if test x$gcc_no_link = xyes; then
48209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48211 { (exit 1); exit 1; }; }
48213 cat >conftest.$ac_ext <<_ACEOF
48214 /* confdefs.h. */
48215 _ACEOF
48216 cat confdefs.h >>conftest.$ac_ext
48217 cat >>conftest.$ac_ext <<_ACEOF
48218 /* end confdefs.h. */
48219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48221 #define $ac_func innocuous_$ac_func
48223 /* System header to define __stub macros and hopefully few prototypes,
48224 which can conflict with char $ac_func (); below.
48225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48226 <limits.h> exists even on freestanding compilers. */
48228 #ifdef __STDC__
48229 # include <limits.h>
48230 #else
48231 # include <assert.h>
48232 #endif
48234 #undef $ac_func
48236 /* Override any gcc2 internal prototype to avoid an error. */
48237 #ifdef __cplusplus
48238 extern "C"
48240 #endif
48241 /* We use char because int might match the return type of a gcc2
48242 builtin and then its argument prototype would still apply. */
48243 char $ac_func ();
48244 /* The GNU C library defines this for functions which it implements
48245 to always fail with ENOSYS. Some functions are actually named
48246 something starting with __ and the normal name is an alias. */
48247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48248 choke me
48249 #else
48250 char (*f) () = $ac_func;
48251 #endif
48252 #ifdef __cplusplus
48254 #endif
48257 main ()
48259 return f != $ac_func;
48261 return 0;
48263 _ACEOF
48264 rm -f conftest.$ac_objext conftest$ac_exeext
48265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48266 (eval $ac_link) 2>conftest.er1
48267 ac_status=$?
48268 grep -v '^ *+' conftest.er1 >conftest.err
48269 rm -f conftest.er1
48270 cat conftest.err >&5
48271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48272 (exit $ac_status); } &&
48273 { ac_try='test -z "$ac_c_werror_flag"
48274 || test ! -s conftest.err'
48275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48276 (eval $ac_try) 2>&5
48277 ac_status=$?
48278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48279 (exit $ac_status); }; } &&
48280 { ac_try='test -s conftest$ac_exeext'
48281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48282 (eval $ac_try) 2>&5
48283 ac_status=$?
48284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48285 (exit $ac_status); }; }; then
48286 eval "$as_ac_var=yes"
48287 else
48288 echo "$as_me: failed program was:" >&5
48289 sed 's/^/| /' conftest.$ac_ext >&5
48291 eval "$as_ac_var=no"
48293 rm -f conftest.err conftest.$ac_objext \
48294 conftest$ac_exeext conftest.$ac_ext
48296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48298 if test `eval echo '${'$as_ac_var'}'` = yes; then
48299 cat >>confdefs.h <<_ACEOF
48300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48301 _ACEOF
48304 done
48306 else
48308 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
48309 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
48310 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48311 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
48312 echo $ECHO_N "(cached) $ECHO_C" >&6
48313 else
48317 ac_ext=cc
48318 ac_cpp='$CXXCPP $CPPFLAGS'
48319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48323 cat >conftest.$ac_ext <<_ACEOF
48324 /* confdefs.h. */
48325 _ACEOF
48326 cat confdefs.h >>conftest.$ac_ext
48327 cat >>conftest.$ac_ext <<_ACEOF
48328 /* end confdefs.h. */
48329 #include <math.h>
48331 main ()
48333 _hypotf(0, 0);
48335 return 0;
48337 _ACEOF
48338 rm -f conftest.$ac_objext
48339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48340 (eval $ac_compile) 2>conftest.er1
48341 ac_status=$?
48342 grep -v '^ *+' conftest.er1 >conftest.err
48343 rm -f conftest.er1
48344 cat conftest.err >&5
48345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48346 (exit $ac_status); } &&
48347 { ac_try='test -z "$ac_cxx_werror_flag"
48348 || test ! -s conftest.err'
48349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48350 (eval $ac_try) 2>&5
48351 ac_status=$?
48352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48353 (exit $ac_status); }; } &&
48354 { ac_try='test -s conftest.$ac_objext'
48355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48356 (eval $ac_try) 2>&5
48357 ac_status=$?
48358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48359 (exit $ac_status); }; }; then
48360 glibcxx_cv_func__hypotf_use=yes
48361 else
48362 echo "$as_me: failed program was:" >&5
48363 sed 's/^/| /' conftest.$ac_ext >&5
48365 glibcxx_cv_func__hypotf_use=no
48367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48368 ac_ext=c
48369 ac_cpp='$CPP $CPPFLAGS'
48370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48378 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
48379 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
48381 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48383 for ac_func in _hypotf
48385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48386 echo "$as_me:$LINENO: checking for $ac_func" >&5
48387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48388 if eval "test \"\${$as_ac_var+set}\" = set"; then
48389 echo $ECHO_N "(cached) $ECHO_C" >&6
48390 else
48391 if test x$gcc_no_link = xyes; then
48392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48394 { (exit 1); exit 1; }; }
48396 cat >conftest.$ac_ext <<_ACEOF
48397 /* confdefs.h. */
48398 _ACEOF
48399 cat confdefs.h >>conftest.$ac_ext
48400 cat >>conftest.$ac_ext <<_ACEOF
48401 /* end confdefs.h. */
48402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48404 #define $ac_func innocuous_$ac_func
48406 /* System header to define __stub macros and hopefully few prototypes,
48407 which can conflict with char $ac_func (); below.
48408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48409 <limits.h> exists even on freestanding compilers. */
48411 #ifdef __STDC__
48412 # include <limits.h>
48413 #else
48414 # include <assert.h>
48415 #endif
48417 #undef $ac_func
48419 /* Override any gcc2 internal prototype to avoid an error. */
48420 #ifdef __cplusplus
48421 extern "C"
48423 #endif
48424 /* We use char because int might match the return type of a gcc2
48425 builtin and then its argument prototype would still apply. */
48426 char $ac_func ();
48427 /* The GNU C library defines this for functions which it implements
48428 to always fail with ENOSYS. Some functions are actually named
48429 something starting with __ and the normal name is an alias. */
48430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48431 choke me
48432 #else
48433 char (*f) () = $ac_func;
48434 #endif
48435 #ifdef __cplusplus
48437 #endif
48440 main ()
48442 return f != $ac_func;
48444 return 0;
48446 _ACEOF
48447 rm -f conftest.$ac_objext conftest$ac_exeext
48448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48449 (eval $ac_link) 2>conftest.er1
48450 ac_status=$?
48451 grep -v '^ *+' conftest.er1 >conftest.err
48452 rm -f conftest.er1
48453 cat conftest.err >&5
48454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48455 (exit $ac_status); } &&
48456 { ac_try='test -z "$ac_c_werror_flag"
48457 || test ! -s conftest.err'
48458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48459 (eval $ac_try) 2>&5
48460 ac_status=$?
48461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48462 (exit $ac_status); }; } &&
48463 { ac_try='test -s conftest$ac_exeext'
48464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48465 (eval $ac_try) 2>&5
48466 ac_status=$?
48467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48468 (exit $ac_status); }; }; then
48469 eval "$as_ac_var=yes"
48470 else
48471 echo "$as_me: failed program was:" >&5
48472 sed 's/^/| /' conftest.$ac_ext >&5
48474 eval "$as_ac_var=no"
48476 rm -f conftest.err conftest.$ac_objext \
48477 conftest$ac_exeext conftest.$ac_ext
48479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48481 if test `eval echo '${'$as_ac_var'}'` = yes; then
48482 cat >>confdefs.h <<_ACEOF
48483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48484 _ACEOF
48487 done
48497 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
48498 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
48499 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48500 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
48501 echo $ECHO_N "(cached) $ECHO_C" >&6
48502 else
48506 ac_ext=cc
48507 ac_cpp='$CXXCPP $CPPFLAGS'
48508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48512 cat >conftest.$ac_ext <<_ACEOF
48513 /* confdefs.h. */
48514 _ACEOF
48515 cat confdefs.h >>conftest.$ac_ext
48516 cat >>conftest.$ac_ext <<_ACEOF
48517 /* end confdefs.h. */
48518 #include <math.h>
48520 main ()
48522 ldexpf(0, 0);
48524 return 0;
48526 _ACEOF
48527 rm -f conftest.$ac_objext
48528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48529 (eval $ac_compile) 2>conftest.er1
48530 ac_status=$?
48531 grep -v '^ *+' conftest.er1 >conftest.err
48532 rm -f conftest.er1
48533 cat conftest.err >&5
48534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48535 (exit $ac_status); } &&
48536 { ac_try='test -z "$ac_cxx_werror_flag"
48537 || test ! -s conftest.err'
48538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48539 (eval $ac_try) 2>&5
48540 ac_status=$?
48541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48542 (exit $ac_status); }; } &&
48543 { ac_try='test -s conftest.$ac_objext'
48544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48545 (eval $ac_try) 2>&5
48546 ac_status=$?
48547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48548 (exit $ac_status); }; }; then
48549 glibcxx_cv_func_ldexpf_use=yes
48550 else
48551 echo "$as_me: failed program was:" >&5
48552 sed 's/^/| /' conftest.$ac_ext >&5
48554 glibcxx_cv_func_ldexpf_use=no
48556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48557 ac_ext=c
48558 ac_cpp='$CPP $CPPFLAGS'
48559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48567 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
48568 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
48570 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48572 for ac_func in ldexpf
48574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48575 echo "$as_me:$LINENO: checking for $ac_func" >&5
48576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48577 if eval "test \"\${$as_ac_var+set}\" = set"; then
48578 echo $ECHO_N "(cached) $ECHO_C" >&6
48579 else
48580 if test x$gcc_no_link = xyes; then
48581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48583 { (exit 1); exit 1; }; }
48585 cat >conftest.$ac_ext <<_ACEOF
48586 /* confdefs.h. */
48587 _ACEOF
48588 cat confdefs.h >>conftest.$ac_ext
48589 cat >>conftest.$ac_ext <<_ACEOF
48590 /* end confdefs.h. */
48591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48593 #define $ac_func innocuous_$ac_func
48595 /* System header to define __stub macros and hopefully few prototypes,
48596 which can conflict with char $ac_func (); below.
48597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48598 <limits.h> exists even on freestanding compilers. */
48600 #ifdef __STDC__
48601 # include <limits.h>
48602 #else
48603 # include <assert.h>
48604 #endif
48606 #undef $ac_func
48608 /* Override any gcc2 internal prototype to avoid an error. */
48609 #ifdef __cplusplus
48610 extern "C"
48612 #endif
48613 /* We use char because int might match the return type of a gcc2
48614 builtin and then its argument prototype would still apply. */
48615 char $ac_func ();
48616 /* The GNU C library defines this for functions which it implements
48617 to always fail with ENOSYS. Some functions are actually named
48618 something starting with __ and the normal name is an alias. */
48619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48620 choke me
48621 #else
48622 char (*f) () = $ac_func;
48623 #endif
48624 #ifdef __cplusplus
48626 #endif
48629 main ()
48631 return f != $ac_func;
48633 return 0;
48635 _ACEOF
48636 rm -f conftest.$ac_objext conftest$ac_exeext
48637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48638 (eval $ac_link) 2>conftest.er1
48639 ac_status=$?
48640 grep -v '^ *+' conftest.er1 >conftest.err
48641 rm -f conftest.er1
48642 cat conftest.err >&5
48643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48644 (exit $ac_status); } &&
48645 { ac_try='test -z "$ac_c_werror_flag"
48646 || test ! -s conftest.err'
48647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48648 (eval $ac_try) 2>&5
48649 ac_status=$?
48650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48651 (exit $ac_status); }; } &&
48652 { ac_try='test -s conftest$ac_exeext'
48653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48654 (eval $ac_try) 2>&5
48655 ac_status=$?
48656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48657 (exit $ac_status); }; }; then
48658 eval "$as_ac_var=yes"
48659 else
48660 echo "$as_me: failed program was:" >&5
48661 sed 's/^/| /' conftest.$ac_ext >&5
48663 eval "$as_ac_var=no"
48665 rm -f conftest.err conftest.$ac_objext \
48666 conftest$ac_exeext conftest.$ac_ext
48668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48670 if test `eval echo '${'$as_ac_var'}'` = yes; then
48671 cat >>confdefs.h <<_ACEOF
48672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48673 _ACEOF
48676 done
48678 else
48680 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
48681 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
48682 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48683 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
48684 echo $ECHO_N "(cached) $ECHO_C" >&6
48685 else
48689 ac_ext=cc
48690 ac_cpp='$CXXCPP $CPPFLAGS'
48691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48695 cat >conftest.$ac_ext <<_ACEOF
48696 /* confdefs.h. */
48697 _ACEOF
48698 cat confdefs.h >>conftest.$ac_ext
48699 cat >>conftest.$ac_ext <<_ACEOF
48700 /* end confdefs.h. */
48701 #include <math.h>
48703 main ()
48705 _ldexpf(0, 0);
48707 return 0;
48709 _ACEOF
48710 rm -f conftest.$ac_objext
48711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48712 (eval $ac_compile) 2>conftest.er1
48713 ac_status=$?
48714 grep -v '^ *+' conftest.er1 >conftest.err
48715 rm -f conftest.er1
48716 cat conftest.err >&5
48717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48718 (exit $ac_status); } &&
48719 { ac_try='test -z "$ac_cxx_werror_flag"
48720 || test ! -s conftest.err'
48721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48722 (eval $ac_try) 2>&5
48723 ac_status=$?
48724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48725 (exit $ac_status); }; } &&
48726 { ac_try='test -s conftest.$ac_objext'
48727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48728 (eval $ac_try) 2>&5
48729 ac_status=$?
48730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48731 (exit $ac_status); }; }; then
48732 glibcxx_cv_func__ldexpf_use=yes
48733 else
48734 echo "$as_me: failed program was:" >&5
48735 sed 's/^/| /' conftest.$ac_ext >&5
48737 glibcxx_cv_func__ldexpf_use=no
48739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48740 ac_ext=c
48741 ac_cpp='$CPP $CPPFLAGS'
48742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48750 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
48751 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
48753 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48755 for ac_func in _ldexpf
48757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48758 echo "$as_me:$LINENO: checking for $ac_func" >&5
48759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48760 if eval "test \"\${$as_ac_var+set}\" = set"; then
48761 echo $ECHO_N "(cached) $ECHO_C" >&6
48762 else
48763 if test x$gcc_no_link = xyes; then
48764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48766 { (exit 1); exit 1; }; }
48768 cat >conftest.$ac_ext <<_ACEOF
48769 /* confdefs.h. */
48770 _ACEOF
48771 cat confdefs.h >>conftest.$ac_ext
48772 cat >>conftest.$ac_ext <<_ACEOF
48773 /* end confdefs.h. */
48774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48776 #define $ac_func innocuous_$ac_func
48778 /* System header to define __stub macros and hopefully few prototypes,
48779 which can conflict with char $ac_func (); below.
48780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48781 <limits.h> exists even on freestanding compilers. */
48783 #ifdef __STDC__
48784 # include <limits.h>
48785 #else
48786 # include <assert.h>
48787 #endif
48789 #undef $ac_func
48791 /* Override any gcc2 internal prototype to avoid an error. */
48792 #ifdef __cplusplus
48793 extern "C"
48795 #endif
48796 /* We use char because int might match the return type of a gcc2
48797 builtin and then its argument prototype would still apply. */
48798 char $ac_func ();
48799 /* The GNU C library defines this for functions which it implements
48800 to always fail with ENOSYS. Some functions are actually named
48801 something starting with __ and the normal name is an alias. */
48802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48803 choke me
48804 #else
48805 char (*f) () = $ac_func;
48806 #endif
48807 #ifdef __cplusplus
48809 #endif
48812 main ()
48814 return f != $ac_func;
48816 return 0;
48818 _ACEOF
48819 rm -f conftest.$ac_objext conftest$ac_exeext
48820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48821 (eval $ac_link) 2>conftest.er1
48822 ac_status=$?
48823 grep -v '^ *+' conftest.er1 >conftest.err
48824 rm -f conftest.er1
48825 cat conftest.err >&5
48826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48827 (exit $ac_status); } &&
48828 { ac_try='test -z "$ac_c_werror_flag"
48829 || test ! -s conftest.err'
48830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48831 (eval $ac_try) 2>&5
48832 ac_status=$?
48833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48834 (exit $ac_status); }; } &&
48835 { ac_try='test -s conftest$ac_exeext'
48836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48837 (eval $ac_try) 2>&5
48838 ac_status=$?
48839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48840 (exit $ac_status); }; }; then
48841 eval "$as_ac_var=yes"
48842 else
48843 echo "$as_me: failed program was:" >&5
48844 sed 's/^/| /' conftest.$ac_ext >&5
48846 eval "$as_ac_var=no"
48848 rm -f conftest.err conftest.$ac_objext \
48849 conftest$ac_exeext conftest.$ac_ext
48851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48853 if test `eval echo '${'$as_ac_var'}'` = yes; then
48854 cat >>confdefs.h <<_ACEOF
48855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48856 _ACEOF
48859 done
48869 echo "$as_me:$LINENO: checking for logf declaration" >&5
48870 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
48871 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48872 if test "${glibcxx_cv_func_logf_use+set}" = set; then
48873 echo $ECHO_N "(cached) $ECHO_C" >&6
48874 else
48878 ac_ext=cc
48879 ac_cpp='$CXXCPP $CPPFLAGS'
48880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48884 cat >conftest.$ac_ext <<_ACEOF
48885 /* confdefs.h. */
48886 _ACEOF
48887 cat confdefs.h >>conftest.$ac_ext
48888 cat >>conftest.$ac_ext <<_ACEOF
48889 /* end confdefs.h. */
48890 #include <math.h>
48891 #ifdef HAVE_IEEEFP_H
48892 #include <ieeefp.h>
48893 #endif
48896 main ()
48898 logf(0);
48900 return 0;
48902 _ACEOF
48903 rm -f conftest.$ac_objext
48904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48905 (eval $ac_compile) 2>conftest.er1
48906 ac_status=$?
48907 grep -v '^ *+' conftest.er1 >conftest.err
48908 rm -f conftest.er1
48909 cat conftest.err >&5
48910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48911 (exit $ac_status); } &&
48912 { ac_try='test -z "$ac_cxx_werror_flag"
48913 || test ! -s conftest.err'
48914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48915 (eval $ac_try) 2>&5
48916 ac_status=$?
48917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48918 (exit $ac_status); }; } &&
48919 { ac_try='test -s conftest.$ac_objext'
48920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48921 (eval $ac_try) 2>&5
48922 ac_status=$?
48923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48924 (exit $ac_status); }; }; then
48925 glibcxx_cv_func_logf_use=yes
48926 else
48927 echo "$as_me: failed program was:" >&5
48928 sed 's/^/| /' conftest.$ac_ext >&5
48930 glibcxx_cv_func_logf_use=no
48932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48933 ac_ext=c
48934 ac_cpp='$CPP $CPPFLAGS'
48935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48943 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
48944 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
48946 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48948 for ac_func in logf
48950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48951 echo "$as_me:$LINENO: checking for $ac_func" >&5
48952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48953 if eval "test \"\${$as_ac_var+set}\" = set"; then
48954 echo $ECHO_N "(cached) $ECHO_C" >&6
48955 else
48956 if test x$gcc_no_link = xyes; then
48957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48959 { (exit 1); exit 1; }; }
48961 cat >conftest.$ac_ext <<_ACEOF
48962 /* confdefs.h. */
48963 _ACEOF
48964 cat confdefs.h >>conftest.$ac_ext
48965 cat >>conftest.$ac_ext <<_ACEOF
48966 /* end confdefs.h. */
48967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48969 #define $ac_func innocuous_$ac_func
48971 /* System header to define __stub macros and hopefully few prototypes,
48972 which can conflict with char $ac_func (); below.
48973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48974 <limits.h> exists even on freestanding compilers. */
48976 #ifdef __STDC__
48977 # include <limits.h>
48978 #else
48979 # include <assert.h>
48980 #endif
48982 #undef $ac_func
48984 /* Override any gcc2 internal prototype to avoid an error. */
48985 #ifdef __cplusplus
48986 extern "C"
48988 #endif
48989 /* We use char because int might match the return type of a gcc2
48990 builtin and then its argument prototype would still apply. */
48991 char $ac_func ();
48992 /* The GNU C library defines this for functions which it implements
48993 to always fail with ENOSYS. Some functions are actually named
48994 something starting with __ and the normal name is an alias. */
48995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48996 choke me
48997 #else
48998 char (*f) () = $ac_func;
48999 #endif
49000 #ifdef __cplusplus
49002 #endif
49005 main ()
49007 return f != $ac_func;
49009 return 0;
49011 _ACEOF
49012 rm -f conftest.$ac_objext conftest$ac_exeext
49013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49014 (eval $ac_link) 2>conftest.er1
49015 ac_status=$?
49016 grep -v '^ *+' conftest.er1 >conftest.err
49017 rm -f conftest.er1
49018 cat conftest.err >&5
49019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49020 (exit $ac_status); } &&
49021 { ac_try='test -z "$ac_c_werror_flag"
49022 || test ! -s conftest.err'
49023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49024 (eval $ac_try) 2>&5
49025 ac_status=$?
49026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49027 (exit $ac_status); }; } &&
49028 { ac_try='test -s conftest$ac_exeext'
49029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49030 (eval $ac_try) 2>&5
49031 ac_status=$?
49032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49033 (exit $ac_status); }; }; then
49034 eval "$as_ac_var=yes"
49035 else
49036 echo "$as_me: failed program was:" >&5
49037 sed 's/^/| /' conftest.$ac_ext >&5
49039 eval "$as_ac_var=no"
49041 rm -f conftest.err conftest.$ac_objext \
49042 conftest$ac_exeext conftest.$ac_ext
49044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49046 if test `eval echo '${'$as_ac_var'}'` = yes; then
49047 cat >>confdefs.h <<_ACEOF
49048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49049 _ACEOF
49052 done
49054 else
49056 echo "$as_me:$LINENO: checking for _logf declaration" >&5
49057 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
49058 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49059 if test "${glibcxx_cv_func__logf_use+set}" = set; then
49060 echo $ECHO_N "(cached) $ECHO_C" >&6
49061 else
49065 ac_ext=cc
49066 ac_cpp='$CXXCPP $CPPFLAGS'
49067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49071 cat >conftest.$ac_ext <<_ACEOF
49072 /* confdefs.h. */
49073 _ACEOF
49074 cat confdefs.h >>conftest.$ac_ext
49075 cat >>conftest.$ac_ext <<_ACEOF
49076 /* end confdefs.h. */
49077 #include <math.h>
49078 #ifdef HAVE_IEEEFP_H
49079 #include <ieeefp.h>
49080 #endif
49083 main ()
49085 _logf(0);
49087 return 0;
49089 _ACEOF
49090 rm -f conftest.$ac_objext
49091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49092 (eval $ac_compile) 2>conftest.er1
49093 ac_status=$?
49094 grep -v '^ *+' conftest.er1 >conftest.err
49095 rm -f conftest.er1
49096 cat conftest.err >&5
49097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49098 (exit $ac_status); } &&
49099 { ac_try='test -z "$ac_cxx_werror_flag"
49100 || test ! -s conftest.err'
49101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49102 (eval $ac_try) 2>&5
49103 ac_status=$?
49104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49105 (exit $ac_status); }; } &&
49106 { ac_try='test -s conftest.$ac_objext'
49107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49108 (eval $ac_try) 2>&5
49109 ac_status=$?
49110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49111 (exit $ac_status); }; }; then
49112 glibcxx_cv_func__logf_use=yes
49113 else
49114 echo "$as_me: failed program was:" >&5
49115 sed 's/^/| /' conftest.$ac_ext >&5
49117 glibcxx_cv_func__logf_use=no
49119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49120 ac_ext=c
49121 ac_cpp='$CPP $CPPFLAGS'
49122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49130 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
49131 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
49133 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49135 for ac_func in _logf
49137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49138 echo "$as_me:$LINENO: checking for $ac_func" >&5
49139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49140 if eval "test \"\${$as_ac_var+set}\" = set"; then
49141 echo $ECHO_N "(cached) $ECHO_C" >&6
49142 else
49143 if test x$gcc_no_link = xyes; then
49144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49146 { (exit 1); exit 1; }; }
49148 cat >conftest.$ac_ext <<_ACEOF
49149 /* confdefs.h. */
49150 _ACEOF
49151 cat confdefs.h >>conftest.$ac_ext
49152 cat >>conftest.$ac_ext <<_ACEOF
49153 /* end confdefs.h. */
49154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49156 #define $ac_func innocuous_$ac_func
49158 /* System header to define __stub macros and hopefully few prototypes,
49159 which can conflict with char $ac_func (); below.
49160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49161 <limits.h> exists even on freestanding compilers. */
49163 #ifdef __STDC__
49164 # include <limits.h>
49165 #else
49166 # include <assert.h>
49167 #endif
49169 #undef $ac_func
49171 /* Override any gcc2 internal prototype to avoid an error. */
49172 #ifdef __cplusplus
49173 extern "C"
49175 #endif
49176 /* We use char because int might match the return type of a gcc2
49177 builtin and then its argument prototype would still apply. */
49178 char $ac_func ();
49179 /* The GNU C library defines this for functions which it implements
49180 to always fail with ENOSYS. Some functions are actually named
49181 something starting with __ and the normal name is an alias. */
49182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49183 choke me
49184 #else
49185 char (*f) () = $ac_func;
49186 #endif
49187 #ifdef __cplusplus
49189 #endif
49192 main ()
49194 return f != $ac_func;
49196 return 0;
49198 _ACEOF
49199 rm -f conftest.$ac_objext conftest$ac_exeext
49200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49201 (eval $ac_link) 2>conftest.er1
49202 ac_status=$?
49203 grep -v '^ *+' conftest.er1 >conftest.err
49204 rm -f conftest.er1
49205 cat conftest.err >&5
49206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49207 (exit $ac_status); } &&
49208 { ac_try='test -z "$ac_c_werror_flag"
49209 || test ! -s conftest.err'
49210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49211 (eval $ac_try) 2>&5
49212 ac_status=$?
49213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49214 (exit $ac_status); }; } &&
49215 { ac_try='test -s conftest$ac_exeext'
49216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49217 (eval $ac_try) 2>&5
49218 ac_status=$?
49219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49220 (exit $ac_status); }; }; then
49221 eval "$as_ac_var=yes"
49222 else
49223 echo "$as_me: failed program was:" >&5
49224 sed 's/^/| /' conftest.$ac_ext >&5
49226 eval "$as_ac_var=no"
49228 rm -f conftest.err conftest.$ac_objext \
49229 conftest$ac_exeext conftest.$ac_ext
49231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49233 if test `eval echo '${'$as_ac_var'}'` = yes; then
49234 cat >>confdefs.h <<_ACEOF
49235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49236 _ACEOF
49239 done
49249 echo "$as_me:$LINENO: checking for log10f declaration" >&5
49250 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
49251 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49252 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
49253 echo $ECHO_N "(cached) $ECHO_C" >&6
49254 else
49258 ac_ext=cc
49259 ac_cpp='$CXXCPP $CPPFLAGS'
49260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49264 cat >conftest.$ac_ext <<_ACEOF
49265 /* confdefs.h. */
49266 _ACEOF
49267 cat confdefs.h >>conftest.$ac_ext
49268 cat >>conftest.$ac_ext <<_ACEOF
49269 /* end confdefs.h. */
49270 #include <math.h>
49271 #ifdef HAVE_IEEEFP_H
49272 #include <ieeefp.h>
49273 #endif
49276 main ()
49278 log10f(0);
49280 return 0;
49282 _ACEOF
49283 rm -f conftest.$ac_objext
49284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49285 (eval $ac_compile) 2>conftest.er1
49286 ac_status=$?
49287 grep -v '^ *+' conftest.er1 >conftest.err
49288 rm -f conftest.er1
49289 cat conftest.err >&5
49290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49291 (exit $ac_status); } &&
49292 { ac_try='test -z "$ac_cxx_werror_flag"
49293 || test ! -s conftest.err'
49294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49295 (eval $ac_try) 2>&5
49296 ac_status=$?
49297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49298 (exit $ac_status); }; } &&
49299 { ac_try='test -s conftest.$ac_objext'
49300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49301 (eval $ac_try) 2>&5
49302 ac_status=$?
49303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49304 (exit $ac_status); }; }; then
49305 glibcxx_cv_func_log10f_use=yes
49306 else
49307 echo "$as_me: failed program was:" >&5
49308 sed 's/^/| /' conftest.$ac_ext >&5
49310 glibcxx_cv_func_log10f_use=no
49312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49313 ac_ext=c
49314 ac_cpp='$CPP $CPPFLAGS'
49315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49323 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
49324 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
49326 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49328 for ac_func in log10f
49330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49331 echo "$as_me:$LINENO: checking for $ac_func" >&5
49332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49333 if eval "test \"\${$as_ac_var+set}\" = set"; then
49334 echo $ECHO_N "(cached) $ECHO_C" >&6
49335 else
49336 if test x$gcc_no_link = xyes; then
49337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49339 { (exit 1); exit 1; }; }
49341 cat >conftest.$ac_ext <<_ACEOF
49342 /* confdefs.h. */
49343 _ACEOF
49344 cat confdefs.h >>conftest.$ac_ext
49345 cat >>conftest.$ac_ext <<_ACEOF
49346 /* end confdefs.h. */
49347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49349 #define $ac_func innocuous_$ac_func
49351 /* System header to define __stub macros and hopefully few prototypes,
49352 which can conflict with char $ac_func (); below.
49353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49354 <limits.h> exists even on freestanding compilers. */
49356 #ifdef __STDC__
49357 # include <limits.h>
49358 #else
49359 # include <assert.h>
49360 #endif
49362 #undef $ac_func
49364 /* Override any gcc2 internal prototype to avoid an error. */
49365 #ifdef __cplusplus
49366 extern "C"
49368 #endif
49369 /* We use char because int might match the return type of a gcc2
49370 builtin and then its argument prototype would still apply. */
49371 char $ac_func ();
49372 /* The GNU C library defines this for functions which it implements
49373 to always fail with ENOSYS. Some functions are actually named
49374 something starting with __ and the normal name is an alias. */
49375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49376 choke me
49377 #else
49378 char (*f) () = $ac_func;
49379 #endif
49380 #ifdef __cplusplus
49382 #endif
49385 main ()
49387 return f != $ac_func;
49389 return 0;
49391 _ACEOF
49392 rm -f conftest.$ac_objext conftest$ac_exeext
49393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49394 (eval $ac_link) 2>conftest.er1
49395 ac_status=$?
49396 grep -v '^ *+' conftest.er1 >conftest.err
49397 rm -f conftest.er1
49398 cat conftest.err >&5
49399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49400 (exit $ac_status); } &&
49401 { ac_try='test -z "$ac_c_werror_flag"
49402 || test ! -s conftest.err'
49403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49404 (eval $ac_try) 2>&5
49405 ac_status=$?
49406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49407 (exit $ac_status); }; } &&
49408 { ac_try='test -s conftest$ac_exeext'
49409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49410 (eval $ac_try) 2>&5
49411 ac_status=$?
49412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49413 (exit $ac_status); }; }; then
49414 eval "$as_ac_var=yes"
49415 else
49416 echo "$as_me: failed program was:" >&5
49417 sed 's/^/| /' conftest.$ac_ext >&5
49419 eval "$as_ac_var=no"
49421 rm -f conftest.err conftest.$ac_objext \
49422 conftest$ac_exeext conftest.$ac_ext
49424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49426 if test `eval echo '${'$as_ac_var'}'` = yes; then
49427 cat >>confdefs.h <<_ACEOF
49428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49429 _ACEOF
49432 done
49434 else
49436 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
49437 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
49438 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49439 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
49440 echo $ECHO_N "(cached) $ECHO_C" >&6
49441 else
49445 ac_ext=cc
49446 ac_cpp='$CXXCPP $CPPFLAGS'
49447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49451 cat >conftest.$ac_ext <<_ACEOF
49452 /* confdefs.h. */
49453 _ACEOF
49454 cat confdefs.h >>conftest.$ac_ext
49455 cat >>conftest.$ac_ext <<_ACEOF
49456 /* end confdefs.h. */
49457 #include <math.h>
49458 #ifdef HAVE_IEEEFP_H
49459 #include <ieeefp.h>
49460 #endif
49463 main ()
49465 _log10f(0);
49467 return 0;
49469 _ACEOF
49470 rm -f conftest.$ac_objext
49471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49472 (eval $ac_compile) 2>conftest.er1
49473 ac_status=$?
49474 grep -v '^ *+' conftest.er1 >conftest.err
49475 rm -f conftest.er1
49476 cat conftest.err >&5
49477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49478 (exit $ac_status); } &&
49479 { ac_try='test -z "$ac_cxx_werror_flag"
49480 || test ! -s conftest.err'
49481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49482 (eval $ac_try) 2>&5
49483 ac_status=$?
49484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49485 (exit $ac_status); }; } &&
49486 { ac_try='test -s conftest.$ac_objext'
49487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49488 (eval $ac_try) 2>&5
49489 ac_status=$?
49490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49491 (exit $ac_status); }; }; then
49492 glibcxx_cv_func__log10f_use=yes
49493 else
49494 echo "$as_me: failed program was:" >&5
49495 sed 's/^/| /' conftest.$ac_ext >&5
49497 glibcxx_cv_func__log10f_use=no
49499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49500 ac_ext=c
49501 ac_cpp='$CPP $CPPFLAGS'
49502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49510 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
49511 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
49513 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49515 for ac_func in _log10f
49517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49518 echo "$as_me:$LINENO: checking for $ac_func" >&5
49519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49520 if eval "test \"\${$as_ac_var+set}\" = set"; then
49521 echo $ECHO_N "(cached) $ECHO_C" >&6
49522 else
49523 if test x$gcc_no_link = xyes; then
49524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49526 { (exit 1); exit 1; }; }
49528 cat >conftest.$ac_ext <<_ACEOF
49529 /* confdefs.h. */
49530 _ACEOF
49531 cat confdefs.h >>conftest.$ac_ext
49532 cat >>conftest.$ac_ext <<_ACEOF
49533 /* end confdefs.h. */
49534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49536 #define $ac_func innocuous_$ac_func
49538 /* System header to define __stub macros and hopefully few prototypes,
49539 which can conflict with char $ac_func (); below.
49540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49541 <limits.h> exists even on freestanding compilers. */
49543 #ifdef __STDC__
49544 # include <limits.h>
49545 #else
49546 # include <assert.h>
49547 #endif
49549 #undef $ac_func
49551 /* Override any gcc2 internal prototype to avoid an error. */
49552 #ifdef __cplusplus
49553 extern "C"
49555 #endif
49556 /* We use char because int might match the return type of a gcc2
49557 builtin and then its argument prototype would still apply. */
49558 char $ac_func ();
49559 /* The GNU C library defines this for functions which it implements
49560 to always fail with ENOSYS. Some functions are actually named
49561 something starting with __ and the normal name is an alias. */
49562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49563 choke me
49564 #else
49565 char (*f) () = $ac_func;
49566 #endif
49567 #ifdef __cplusplus
49569 #endif
49572 main ()
49574 return f != $ac_func;
49576 return 0;
49578 _ACEOF
49579 rm -f conftest.$ac_objext conftest$ac_exeext
49580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49581 (eval $ac_link) 2>conftest.er1
49582 ac_status=$?
49583 grep -v '^ *+' conftest.er1 >conftest.err
49584 rm -f conftest.er1
49585 cat conftest.err >&5
49586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49587 (exit $ac_status); } &&
49588 { ac_try='test -z "$ac_c_werror_flag"
49589 || test ! -s conftest.err'
49590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49591 (eval $ac_try) 2>&5
49592 ac_status=$?
49593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49594 (exit $ac_status); }; } &&
49595 { ac_try='test -s conftest$ac_exeext'
49596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49597 (eval $ac_try) 2>&5
49598 ac_status=$?
49599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49600 (exit $ac_status); }; }; then
49601 eval "$as_ac_var=yes"
49602 else
49603 echo "$as_me: failed program was:" >&5
49604 sed 's/^/| /' conftest.$ac_ext >&5
49606 eval "$as_ac_var=no"
49608 rm -f conftest.err conftest.$ac_objext \
49609 conftest$ac_exeext conftest.$ac_ext
49611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49613 if test `eval echo '${'$as_ac_var'}'` = yes; then
49614 cat >>confdefs.h <<_ACEOF
49615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49616 _ACEOF
49619 done
49629 echo "$as_me:$LINENO: checking for modff declaration" >&5
49630 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
49631 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49632 if test "${glibcxx_cv_func_modff_use+set}" = set; then
49633 echo $ECHO_N "(cached) $ECHO_C" >&6
49634 else
49638 ac_ext=cc
49639 ac_cpp='$CXXCPP $CPPFLAGS'
49640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49644 cat >conftest.$ac_ext <<_ACEOF
49645 /* confdefs.h. */
49646 _ACEOF
49647 cat confdefs.h >>conftest.$ac_ext
49648 cat >>conftest.$ac_ext <<_ACEOF
49649 /* end confdefs.h. */
49650 #include <math.h>
49652 main ()
49654 modff(0, 0);
49656 return 0;
49658 _ACEOF
49659 rm -f conftest.$ac_objext
49660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49661 (eval $ac_compile) 2>conftest.er1
49662 ac_status=$?
49663 grep -v '^ *+' conftest.er1 >conftest.err
49664 rm -f conftest.er1
49665 cat conftest.err >&5
49666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49667 (exit $ac_status); } &&
49668 { ac_try='test -z "$ac_cxx_werror_flag"
49669 || test ! -s conftest.err'
49670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49671 (eval $ac_try) 2>&5
49672 ac_status=$?
49673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49674 (exit $ac_status); }; } &&
49675 { ac_try='test -s conftest.$ac_objext'
49676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49677 (eval $ac_try) 2>&5
49678 ac_status=$?
49679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49680 (exit $ac_status); }; }; then
49681 glibcxx_cv_func_modff_use=yes
49682 else
49683 echo "$as_me: failed program was:" >&5
49684 sed 's/^/| /' conftest.$ac_ext >&5
49686 glibcxx_cv_func_modff_use=no
49688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49689 ac_ext=c
49690 ac_cpp='$CPP $CPPFLAGS'
49691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49699 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
49700 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
49702 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49704 for ac_func in modff
49706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49707 echo "$as_me:$LINENO: checking for $ac_func" >&5
49708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49709 if eval "test \"\${$as_ac_var+set}\" = set"; then
49710 echo $ECHO_N "(cached) $ECHO_C" >&6
49711 else
49712 if test x$gcc_no_link = xyes; then
49713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49715 { (exit 1); exit 1; }; }
49717 cat >conftest.$ac_ext <<_ACEOF
49718 /* confdefs.h. */
49719 _ACEOF
49720 cat confdefs.h >>conftest.$ac_ext
49721 cat >>conftest.$ac_ext <<_ACEOF
49722 /* end confdefs.h. */
49723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49725 #define $ac_func innocuous_$ac_func
49727 /* System header to define __stub macros and hopefully few prototypes,
49728 which can conflict with char $ac_func (); below.
49729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49730 <limits.h> exists even on freestanding compilers. */
49732 #ifdef __STDC__
49733 # include <limits.h>
49734 #else
49735 # include <assert.h>
49736 #endif
49738 #undef $ac_func
49740 /* Override any gcc2 internal prototype to avoid an error. */
49741 #ifdef __cplusplus
49742 extern "C"
49744 #endif
49745 /* We use char because int might match the return type of a gcc2
49746 builtin and then its argument prototype would still apply. */
49747 char $ac_func ();
49748 /* The GNU C library defines this for functions which it implements
49749 to always fail with ENOSYS. Some functions are actually named
49750 something starting with __ and the normal name is an alias. */
49751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49752 choke me
49753 #else
49754 char (*f) () = $ac_func;
49755 #endif
49756 #ifdef __cplusplus
49758 #endif
49761 main ()
49763 return f != $ac_func;
49765 return 0;
49767 _ACEOF
49768 rm -f conftest.$ac_objext conftest$ac_exeext
49769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49770 (eval $ac_link) 2>conftest.er1
49771 ac_status=$?
49772 grep -v '^ *+' conftest.er1 >conftest.err
49773 rm -f conftest.er1
49774 cat conftest.err >&5
49775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49776 (exit $ac_status); } &&
49777 { ac_try='test -z "$ac_c_werror_flag"
49778 || test ! -s conftest.err'
49779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49780 (eval $ac_try) 2>&5
49781 ac_status=$?
49782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49783 (exit $ac_status); }; } &&
49784 { ac_try='test -s conftest$ac_exeext'
49785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49786 (eval $ac_try) 2>&5
49787 ac_status=$?
49788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49789 (exit $ac_status); }; }; then
49790 eval "$as_ac_var=yes"
49791 else
49792 echo "$as_me: failed program was:" >&5
49793 sed 's/^/| /' conftest.$ac_ext >&5
49795 eval "$as_ac_var=no"
49797 rm -f conftest.err conftest.$ac_objext \
49798 conftest$ac_exeext conftest.$ac_ext
49800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49802 if test `eval echo '${'$as_ac_var'}'` = yes; then
49803 cat >>confdefs.h <<_ACEOF
49804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49805 _ACEOF
49808 done
49810 else
49812 echo "$as_me:$LINENO: checking for _modff declaration" >&5
49813 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
49814 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49815 if test "${glibcxx_cv_func__modff_use+set}" = set; then
49816 echo $ECHO_N "(cached) $ECHO_C" >&6
49817 else
49821 ac_ext=cc
49822 ac_cpp='$CXXCPP $CPPFLAGS'
49823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49827 cat >conftest.$ac_ext <<_ACEOF
49828 /* confdefs.h. */
49829 _ACEOF
49830 cat confdefs.h >>conftest.$ac_ext
49831 cat >>conftest.$ac_ext <<_ACEOF
49832 /* end confdefs.h. */
49833 #include <math.h>
49835 main ()
49837 _modff(0, 0);
49839 return 0;
49841 _ACEOF
49842 rm -f conftest.$ac_objext
49843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49844 (eval $ac_compile) 2>conftest.er1
49845 ac_status=$?
49846 grep -v '^ *+' conftest.er1 >conftest.err
49847 rm -f conftest.er1
49848 cat conftest.err >&5
49849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49850 (exit $ac_status); } &&
49851 { ac_try='test -z "$ac_cxx_werror_flag"
49852 || test ! -s conftest.err'
49853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49854 (eval $ac_try) 2>&5
49855 ac_status=$?
49856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49857 (exit $ac_status); }; } &&
49858 { ac_try='test -s conftest.$ac_objext'
49859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49860 (eval $ac_try) 2>&5
49861 ac_status=$?
49862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49863 (exit $ac_status); }; }; then
49864 glibcxx_cv_func__modff_use=yes
49865 else
49866 echo "$as_me: failed program was:" >&5
49867 sed 's/^/| /' conftest.$ac_ext >&5
49869 glibcxx_cv_func__modff_use=no
49871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49872 ac_ext=c
49873 ac_cpp='$CPP $CPPFLAGS'
49874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49882 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
49883 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
49885 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49887 for ac_func in _modff
49889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49890 echo "$as_me:$LINENO: checking for $ac_func" >&5
49891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49892 if eval "test \"\${$as_ac_var+set}\" = set"; then
49893 echo $ECHO_N "(cached) $ECHO_C" >&6
49894 else
49895 if test x$gcc_no_link = xyes; then
49896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49898 { (exit 1); exit 1; }; }
49900 cat >conftest.$ac_ext <<_ACEOF
49901 /* confdefs.h. */
49902 _ACEOF
49903 cat confdefs.h >>conftest.$ac_ext
49904 cat >>conftest.$ac_ext <<_ACEOF
49905 /* end confdefs.h. */
49906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49908 #define $ac_func innocuous_$ac_func
49910 /* System header to define __stub macros and hopefully few prototypes,
49911 which can conflict with char $ac_func (); below.
49912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49913 <limits.h> exists even on freestanding compilers. */
49915 #ifdef __STDC__
49916 # include <limits.h>
49917 #else
49918 # include <assert.h>
49919 #endif
49921 #undef $ac_func
49923 /* Override any gcc2 internal prototype to avoid an error. */
49924 #ifdef __cplusplus
49925 extern "C"
49927 #endif
49928 /* We use char because int might match the return type of a gcc2
49929 builtin and then its argument prototype would still apply. */
49930 char $ac_func ();
49931 /* The GNU C library defines this for functions which it implements
49932 to always fail with ENOSYS. Some functions are actually named
49933 something starting with __ and the normal name is an alias. */
49934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49935 choke me
49936 #else
49937 char (*f) () = $ac_func;
49938 #endif
49939 #ifdef __cplusplus
49941 #endif
49944 main ()
49946 return f != $ac_func;
49948 return 0;
49950 _ACEOF
49951 rm -f conftest.$ac_objext conftest$ac_exeext
49952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49953 (eval $ac_link) 2>conftest.er1
49954 ac_status=$?
49955 grep -v '^ *+' conftest.er1 >conftest.err
49956 rm -f conftest.er1
49957 cat conftest.err >&5
49958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49959 (exit $ac_status); } &&
49960 { ac_try='test -z "$ac_c_werror_flag"
49961 || test ! -s conftest.err'
49962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49963 (eval $ac_try) 2>&5
49964 ac_status=$?
49965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49966 (exit $ac_status); }; } &&
49967 { ac_try='test -s conftest$ac_exeext'
49968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49969 (eval $ac_try) 2>&5
49970 ac_status=$?
49971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49972 (exit $ac_status); }; }; then
49973 eval "$as_ac_var=yes"
49974 else
49975 echo "$as_me: failed program was:" >&5
49976 sed 's/^/| /' conftest.$ac_ext >&5
49978 eval "$as_ac_var=no"
49980 rm -f conftest.err conftest.$ac_objext \
49981 conftest$ac_exeext conftest.$ac_ext
49983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49985 if test `eval echo '${'$as_ac_var'}'` = yes; then
49986 cat >>confdefs.h <<_ACEOF
49987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49988 _ACEOF
49991 done
50001 echo "$as_me:$LINENO: checking for modf declaration" >&5
50002 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
50003 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50004 if test "${glibcxx_cv_func_modf_use+set}" = set; then
50005 echo $ECHO_N "(cached) $ECHO_C" >&6
50006 else
50010 ac_ext=cc
50011 ac_cpp='$CXXCPP $CPPFLAGS'
50012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50016 cat >conftest.$ac_ext <<_ACEOF
50017 /* confdefs.h. */
50018 _ACEOF
50019 cat confdefs.h >>conftest.$ac_ext
50020 cat >>conftest.$ac_ext <<_ACEOF
50021 /* end confdefs.h. */
50022 #include <math.h>
50024 main ()
50026 modf(0, 0);
50028 return 0;
50030 _ACEOF
50031 rm -f conftest.$ac_objext
50032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50033 (eval $ac_compile) 2>conftest.er1
50034 ac_status=$?
50035 grep -v '^ *+' conftest.er1 >conftest.err
50036 rm -f conftest.er1
50037 cat conftest.err >&5
50038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50039 (exit $ac_status); } &&
50040 { ac_try='test -z "$ac_cxx_werror_flag"
50041 || test ! -s conftest.err'
50042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50043 (eval $ac_try) 2>&5
50044 ac_status=$?
50045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50046 (exit $ac_status); }; } &&
50047 { ac_try='test -s conftest.$ac_objext'
50048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50049 (eval $ac_try) 2>&5
50050 ac_status=$?
50051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50052 (exit $ac_status); }; }; then
50053 glibcxx_cv_func_modf_use=yes
50054 else
50055 echo "$as_me: failed program was:" >&5
50056 sed 's/^/| /' conftest.$ac_ext >&5
50058 glibcxx_cv_func_modf_use=no
50060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50061 ac_ext=c
50062 ac_cpp='$CPP $CPPFLAGS'
50063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50071 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
50072 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
50074 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50076 for ac_func in modf
50078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50079 echo "$as_me:$LINENO: checking for $ac_func" >&5
50080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50081 if eval "test \"\${$as_ac_var+set}\" = set"; then
50082 echo $ECHO_N "(cached) $ECHO_C" >&6
50083 else
50084 if test x$gcc_no_link = xyes; then
50085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50087 { (exit 1); exit 1; }; }
50089 cat >conftest.$ac_ext <<_ACEOF
50090 /* confdefs.h. */
50091 _ACEOF
50092 cat confdefs.h >>conftest.$ac_ext
50093 cat >>conftest.$ac_ext <<_ACEOF
50094 /* end confdefs.h. */
50095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50097 #define $ac_func innocuous_$ac_func
50099 /* System header to define __stub macros and hopefully few prototypes,
50100 which can conflict with char $ac_func (); below.
50101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50102 <limits.h> exists even on freestanding compilers. */
50104 #ifdef __STDC__
50105 # include <limits.h>
50106 #else
50107 # include <assert.h>
50108 #endif
50110 #undef $ac_func
50112 /* Override any gcc2 internal prototype to avoid an error. */
50113 #ifdef __cplusplus
50114 extern "C"
50116 #endif
50117 /* We use char because int might match the return type of a gcc2
50118 builtin and then its argument prototype would still apply. */
50119 char $ac_func ();
50120 /* The GNU C library defines this for functions which it implements
50121 to always fail with ENOSYS. Some functions are actually named
50122 something starting with __ and the normal name is an alias. */
50123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50124 choke me
50125 #else
50126 char (*f) () = $ac_func;
50127 #endif
50128 #ifdef __cplusplus
50130 #endif
50133 main ()
50135 return f != $ac_func;
50137 return 0;
50139 _ACEOF
50140 rm -f conftest.$ac_objext conftest$ac_exeext
50141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50142 (eval $ac_link) 2>conftest.er1
50143 ac_status=$?
50144 grep -v '^ *+' conftest.er1 >conftest.err
50145 rm -f conftest.er1
50146 cat conftest.err >&5
50147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50148 (exit $ac_status); } &&
50149 { ac_try='test -z "$ac_c_werror_flag"
50150 || test ! -s conftest.err'
50151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50152 (eval $ac_try) 2>&5
50153 ac_status=$?
50154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50155 (exit $ac_status); }; } &&
50156 { ac_try='test -s conftest$ac_exeext'
50157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50158 (eval $ac_try) 2>&5
50159 ac_status=$?
50160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50161 (exit $ac_status); }; }; then
50162 eval "$as_ac_var=yes"
50163 else
50164 echo "$as_me: failed program was:" >&5
50165 sed 's/^/| /' conftest.$ac_ext >&5
50167 eval "$as_ac_var=no"
50169 rm -f conftest.err conftest.$ac_objext \
50170 conftest$ac_exeext conftest.$ac_ext
50172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50174 if test `eval echo '${'$as_ac_var'}'` = yes; then
50175 cat >>confdefs.h <<_ACEOF
50176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50177 _ACEOF
50180 done
50182 else
50184 echo "$as_me:$LINENO: checking for _modf declaration" >&5
50185 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
50186 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50187 if test "${glibcxx_cv_func__modf_use+set}" = set; then
50188 echo $ECHO_N "(cached) $ECHO_C" >&6
50189 else
50193 ac_ext=cc
50194 ac_cpp='$CXXCPP $CPPFLAGS'
50195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50199 cat >conftest.$ac_ext <<_ACEOF
50200 /* confdefs.h. */
50201 _ACEOF
50202 cat confdefs.h >>conftest.$ac_ext
50203 cat >>conftest.$ac_ext <<_ACEOF
50204 /* end confdefs.h. */
50205 #include <math.h>
50207 main ()
50209 _modf(0, 0);
50211 return 0;
50213 _ACEOF
50214 rm -f conftest.$ac_objext
50215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50216 (eval $ac_compile) 2>conftest.er1
50217 ac_status=$?
50218 grep -v '^ *+' conftest.er1 >conftest.err
50219 rm -f conftest.er1
50220 cat conftest.err >&5
50221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50222 (exit $ac_status); } &&
50223 { ac_try='test -z "$ac_cxx_werror_flag"
50224 || test ! -s conftest.err'
50225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50226 (eval $ac_try) 2>&5
50227 ac_status=$?
50228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50229 (exit $ac_status); }; } &&
50230 { ac_try='test -s conftest.$ac_objext'
50231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50232 (eval $ac_try) 2>&5
50233 ac_status=$?
50234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50235 (exit $ac_status); }; }; then
50236 glibcxx_cv_func__modf_use=yes
50237 else
50238 echo "$as_me: failed program was:" >&5
50239 sed 's/^/| /' conftest.$ac_ext >&5
50241 glibcxx_cv_func__modf_use=no
50243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50244 ac_ext=c
50245 ac_cpp='$CPP $CPPFLAGS'
50246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50254 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
50255 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
50257 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50259 for ac_func in _modf
50261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50262 echo "$as_me:$LINENO: checking for $ac_func" >&5
50263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50264 if eval "test \"\${$as_ac_var+set}\" = set"; then
50265 echo $ECHO_N "(cached) $ECHO_C" >&6
50266 else
50267 if test x$gcc_no_link = xyes; then
50268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50270 { (exit 1); exit 1; }; }
50272 cat >conftest.$ac_ext <<_ACEOF
50273 /* confdefs.h. */
50274 _ACEOF
50275 cat confdefs.h >>conftest.$ac_ext
50276 cat >>conftest.$ac_ext <<_ACEOF
50277 /* end confdefs.h. */
50278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50280 #define $ac_func innocuous_$ac_func
50282 /* System header to define __stub macros and hopefully few prototypes,
50283 which can conflict with char $ac_func (); below.
50284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50285 <limits.h> exists even on freestanding compilers. */
50287 #ifdef __STDC__
50288 # include <limits.h>
50289 #else
50290 # include <assert.h>
50291 #endif
50293 #undef $ac_func
50295 /* Override any gcc2 internal prototype to avoid an error. */
50296 #ifdef __cplusplus
50297 extern "C"
50299 #endif
50300 /* We use char because int might match the return type of a gcc2
50301 builtin and then its argument prototype would still apply. */
50302 char $ac_func ();
50303 /* The GNU C library defines this for functions which it implements
50304 to always fail with ENOSYS. Some functions are actually named
50305 something starting with __ and the normal name is an alias. */
50306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50307 choke me
50308 #else
50309 char (*f) () = $ac_func;
50310 #endif
50311 #ifdef __cplusplus
50313 #endif
50316 main ()
50318 return f != $ac_func;
50320 return 0;
50322 _ACEOF
50323 rm -f conftest.$ac_objext conftest$ac_exeext
50324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50325 (eval $ac_link) 2>conftest.er1
50326 ac_status=$?
50327 grep -v '^ *+' conftest.er1 >conftest.err
50328 rm -f conftest.er1
50329 cat conftest.err >&5
50330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50331 (exit $ac_status); } &&
50332 { ac_try='test -z "$ac_c_werror_flag"
50333 || test ! -s conftest.err'
50334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50335 (eval $ac_try) 2>&5
50336 ac_status=$?
50337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50338 (exit $ac_status); }; } &&
50339 { ac_try='test -s conftest$ac_exeext'
50340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50341 (eval $ac_try) 2>&5
50342 ac_status=$?
50343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50344 (exit $ac_status); }; }; then
50345 eval "$as_ac_var=yes"
50346 else
50347 echo "$as_me: failed program was:" >&5
50348 sed 's/^/| /' conftest.$ac_ext >&5
50350 eval "$as_ac_var=no"
50352 rm -f conftest.err conftest.$ac_objext \
50353 conftest$ac_exeext conftest.$ac_ext
50355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50357 if test `eval echo '${'$as_ac_var'}'` = yes; then
50358 cat >>confdefs.h <<_ACEOF
50359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50360 _ACEOF
50363 done
50373 echo "$as_me:$LINENO: checking for powf declaration" >&5
50374 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
50375 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50376 if test "${glibcxx_cv_func_powf_use+set}" = set; then
50377 echo $ECHO_N "(cached) $ECHO_C" >&6
50378 else
50382 ac_ext=cc
50383 ac_cpp='$CXXCPP $CPPFLAGS'
50384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50388 cat >conftest.$ac_ext <<_ACEOF
50389 /* confdefs.h. */
50390 _ACEOF
50391 cat confdefs.h >>conftest.$ac_ext
50392 cat >>conftest.$ac_ext <<_ACEOF
50393 /* end confdefs.h. */
50394 #include <math.h>
50396 main ()
50398 powf(0, 0);
50400 return 0;
50402 _ACEOF
50403 rm -f conftest.$ac_objext
50404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50405 (eval $ac_compile) 2>conftest.er1
50406 ac_status=$?
50407 grep -v '^ *+' conftest.er1 >conftest.err
50408 rm -f conftest.er1
50409 cat conftest.err >&5
50410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50411 (exit $ac_status); } &&
50412 { ac_try='test -z "$ac_cxx_werror_flag"
50413 || test ! -s conftest.err'
50414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50415 (eval $ac_try) 2>&5
50416 ac_status=$?
50417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50418 (exit $ac_status); }; } &&
50419 { ac_try='test -s conftest.$ac_objext'
50420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50421 (eval $ac_try) 2>&5
50422 ac_status=$?
50423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50424 (exit $ac_status); }; }; then
50425 glibcxx_cv_func_powf_use=yes
50426 else
50427 echo "$as_me: failed program was:" >&5
50428 sed 's/^/| /' conftest.$ac_ext >&5
50430 glibcxx_cv_func_powf_use=no
50432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50433 ac_ext=c
50434 ac_cpp='$CPP $CPPFLAGS'
50435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50443 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
50444 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
50446 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50448 for ac_func in powf
50450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50451 echo "$as_me:$LINENO: checking for $ac_func" >&5
50452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50453 if eval "test \"\${$as_ac_var+set}\" = set"; then
50454 echo $ECHO_N "(cached) $ECHO_C" >&6
50455 else
50456 if test x$gcc_no_link = xyes; then
50457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50459 { (exit 1); exit 1; }; }
50461 cat >conftest.$ac_ext <<_ACEOF
50462 /* confdefs.h. */
50463 _ACEOF
50464 cat confdefs.h >>conftest.$ac_ext
50465 cat >>conftest.$ac_ext <<_ACEOF
50466 /* end confdefs.h. */
50467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50469 #define $ac_func innocuous_$ac_func
50471 /* System header to define __stub macros and hopefully few prototypes,
50472 which can conflict with char $ac_func (); below.
50473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50474 <limits.h> exists even on freestanding compilers. */
50476 #ifdef __STDC__
50477 # include <limits.h>
50478 #else
50479 # include <assert.h>
50480 #endif
50482 #undef $ac_func
50484 /* Override any gcc2 internal prototype to avoid an error. */
50485 #ifdef __cplusplus
50486 extern "C"
50488 #endif
50489 /* We use char because int might match the return type of a gcc2
50490 builtin and then its argument prototype would still apply. */
50491 char $ac_func ();
50492 /* The GNU C library defines this for functions which it implements
50493 to always fail with ENOSYS. Some functions are actually named
50494 something starting with __ and the normal name is an alias. */
50495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50496 choke me
50497 #else
50498 char (*f) () = $ac_func;
50499 #endif
50500 #ifdef __cplusplus
50502 #endif
50505 main ()
50507 return f != $ac_func;
50509 return 0;
50511 _ACEOF
50512 rm -f conftest.$ac_objext conftest$ac_exeext
50513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50514 (eval $ac_link) 2>conftest.er1
50515 ac_status=$?
50516 grep -v '^ *+' conftest.er1 >conftest.err
50517 rm -f conftest.er1
50518 cat conftest.err >&5
50519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50520 (exit $ac_status); } &&
50521 { ac_try='test -z "$ac_c_werror_flag"
50522 || test ! -s conftest.err'
50523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50524 (eval $ac_try) 2>&5
50525 ac_status=$?
50526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50527 (exit $ac_status); }; } &&
50528 { ac_try='test -s conftest$ac_exeext'
50529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50530 (eval $ac_try) 2>&5
50531 ac_status=$?
50532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50533 (exit $ac_status); }; }; then
50534 eval "$as_ac_var=yes"
50535 else
50536 echo "$as_me: failed program was:" >&5
50537 sed 's/^/| /' conftest.$ac_ext >&5
50539 eval "$as_ac_var=no"
50541 rm -f conftest.err conftest.$ac_objext \
50542 conftest$ac_exeext conftest.$ac_ext
50544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50546 if test `eval echo '${'$as_ac_var'}'` = yes; then
50547 cat >>confdefs.h <<_ACEOF
50548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50549 _ACEOF
50552 done
50554 else
50556 echo "$as_me:$LINENO: checking for _powf declaration" >&5
50557 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
50558 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50559 if test "${glibcxx_cv_func__powf_use+set}" = set; then
50560 echo $ECHO_N "(cached) $ECHO_C" >&6
50561 else
50565 ac_ext=cc
50566 ac_cpp='$CXXCPP $CPPFLAGS'
50567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50571 cat >conftest.$ac_ext <<_ACEOF
50572 /* confdefs.h. */
50573 _ACEOF
50574 cat confdefs.h >>conftest.$ac_ext
50575 cat >>conftest.$ac_ext <<_ACEOF
50576 /* end confdefs.h. */
50577 #include <math.h>
50579 main ()
50581 _powf(0, 0);
50583 return 0;
50585 _ACEOF
50586 rm -f conftest.$ac_objext
50587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50588 (eval $ac_compile) 2>conftest.er1
50589 ac_status=$?
50590 grep -v '^ *+' conftest.er1 >conftest.err
50591 rm -f conftest.er1
50592 cat conftest.err >&5
50593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50594 (exit $ac_status); } &&
50595 { ac_try='test -z "$ac_cxx_werror_flag"
50596 || test ! -s conftest.err'
50597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50598 (eval $ac_try) 2>&5
50599 ac_status=$?
50600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50601 (exit $ac_status); }; } &&
50602 { ac_try='test -s conftest.$ac_objext'
50603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50604 (eval $ac_try) 2>&5
50605 ac_status=$?
50606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50607 (exit $ac_status); }; }; then
50608 glibcxx_cv_func__powf_use=yes
50609 else
50610 echo "$as_me: failed program was:" >&5
50611 sed 's/^/| /' conftest.$ac_ext >&5
50613 glibcxx_cv_func__powf_use=no
50615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50616 ac_ext=c
50617 ac_cpp='$CPP $CPPFLAGS'
50618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50626 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
50627 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
50629 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50631 for ac_func in _powf
50633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50634 echo "$as_me:$LINENO: checking for $ac_func" >&5
50635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50636 if eval "test \"\${$as_ac_var+set}\" = set"; then
50637 echo $ECHO_N "(cached) $ECHO_C" >&6
50638 else
50639 if test x$gcc_no_link = xyes; then
50640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50642 { (exit 1); exit 1; }; }
50644 cat >conftest.$ac_ext <<_ACEOF
50645 /* confdefs.h. */
50646 _ACEOF
50647 cat confdefs.h >>conftest.$ac_ext
50648 cat >>conftest.$ac_ext <<_ACEOF
50649 /* end confdefs.h. */
50650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50652 #define $ac_func innocuous_$ac_func
50654 /* System header to define __stub macros and hopefully few prototypes,
50655 which can conflict with char $ac_func (); below.
50656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50657 <limits.h> exists even on freestanding compilers. */
50659 #ifdef __STDC__
50660 # include <limits.h>
50661 #else
50662 # include <assert.h>
50663 #endif
50665 #undef $ac_func
50667 /* Override any gcc2 internal prototype to avoid an error. */
50668 #ifdef __cplusplus
50669 extern "C"
50671 #endif
50672 /* We use char because int might match the return type of a gcc2
50673 builtin and then its argument prototype would still apply. */
50674 char $ac_func ();
50675 /* The GNU C library defines this for functions which it implements
50676 to always fail with ENOSYS. Some functions are actually named
50677 something starting with __ and the normal name is an alias. */
50678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50679 choke me
50680 #else
50681 char (*f) () = $ac_func;
50682 #endif
50683 #ifdef __cplusplus
50685 #endif
50688 main ()
50690 return f != $ac_func;
50692 return 0;
50694 _ACEOF
50695 rm -f conftest.$ac_objext conftest$ac_exeext
50696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50697 (eval $ac_link) 2>conftest.er1
50698 ac_status=$?
50699 grep -v '^ *+' conftest.er1 >conftest.err
50700 rm -f conftest.er1
50701 cat conftest.err >&5
50702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50703 (exit $ac_status); } &&
50704 { ac_try='test -z "$ac_c_werror_flag"
50705 || test ! -s conftest.err'
50706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50707 (eval $ac_try) 2>&5
50708 ac_status=$?
50709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50710 (exit $ac_status); }; } &&
50711 { ac_try='test -s conftest$ac_exeext'
50712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50713 (eval $ac_try) 2>&5
50714 ac_status=$?
50715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50716 (exit $ac_status); }; }; then
50717 eval "$as_ac_var=yes"
50718 else
50719 echo "$as_me: failed program was:" >&5
50720 sed 's/^/| /' conftest.$ac_ext >&5
50722 eval "$as_ac_var=no"
50724 rm -f conftest.err conftest.$ac_objext \
50725 conftest$ac_exeext conftest.$ac_ext
50727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50729 if test `eval echo '${'$as_ac_var'}'` = yes; then
50730 cat >>confdefs.h <<_ACEOF
50731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50732 _ACEOF
50735 done
50745 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
50746 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
50747 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50748 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
50749 echo $ECHO_N "(cached) $ECHO_C" >&6
50750 else
50754 ac_ext=cc
50755 ac_cpp='$CXXCPP $CPPFLAGS'
50756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50760 cat >conftest.$ac_ext <<_ACEOF
50761 /* confdefs.h. */
50762 _ACEOF
50763 cat confdefs.h >>conftest.$ac_ext
50764 cat >>conftest.$ac_ext <<_ACEOF
50765 /* end confdefs.h. */
50766 #include <math.h>
50767 #ifdef HAVE_IEEEFP_H
50768 #include <ieeefp.h>
50769 #endif
50772 main ()
50774 sqrtf(0);
50776 return 0;
50778 _ACEOF
50779 rm -f conftest.$ac_objext
50780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50781 (eval $ac_compile) 2>conftest.er1
50782 ac_status=$?
50783 grep -v '^ *+' conftest.er1 >conftest.err
50784 rm -f conftest.er1
50785 cat conftest.err >&5
50786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50787 (exit $ac_status); } &&
50788 { ac_try='test -z "$ac_cxx_werror_flag"
50789 || test ! -s conftest.err'
50790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50791 (eval $ac_try) 2>&5
50792 ac_status=$?
50793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50794 (exit $ac_status); }; } &&
50795 { ac_try='test -s conftest.$ac_objext'
50796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50797 (eval $ac_try) 2>&5
50798 ac_status=$?
50799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50800 (exit $ac_status); }; }; then
50801 glibcxx_cv_func_sqrtf_use=yes
50802 else
50803 echo "$as_me: failed program was:" >&5
50804 sed 's/^/| /' conftest.$ac_ext >&5
50806 glibcxx_cv_func_sqrtf_use=no
50808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50809 ac_ext=c
50810 ac_cpp='$CPP $CPPFLAGS'
50811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50819 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
50820 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
50822 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50824 for ac_func in sqrtf
50826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50827 echo "$as_me:$LINENO: checking for $ac_func" >&5
50828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50829 if eval "test \"\${$as_ac_var+set}\" = set"; then
50830 echo $ECHO_N "(cached) $ECHO_C" >&6
50831 else
50832 if test x$gcc_no_link = xyes; then
50833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50835 { (exit 1); exit 1; }; }
50837 cat >conftest.$ac_ext <<_ACEOF
50838 /* confdefs.h. */
50839 _ACEOF
50840 cat confdefs.h >>conftest.$ac_ext
50841 cat >>conftest.$ac_ext <<_ACEOF
50842 /* end confdefs.h. */
50843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50845 #define $ac_func innocuous_$ac_func
50847 /* System header to define __stub macros and hopefully few prototypes,
50848 which can conflict with char $ac_func (); below.
50849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50850 <limits.h> exists even on freestanding compilers. */
50852 #ifdef __STDC__
50853 # include <limits.h>
50854 #else
50855 # include <assert.h>
50856 #endif
50858 #undef $ac_func
50860 /* Override any gcc2 internal prototype to avoid an error. */
50861 #ifdef __cplusplus
50862 extern "C"
50864 #endif
50865 /* We use char because int might match the return type of a gcc2
50866 builtin and then its argument prototype would still apply. */
50867 char $ac_func ();
50868 /* The GNU C library defines this for functions which it implements
50869 to always fail with ENOSYS. Some functions are actually named
50870 something starting with __ and the normal name is an alias. */
50871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50872 choke me
50873 #else
50874 char (*f) () = $ac_func;
50875 #endif
50876 #ifdef __cplusplus
50878 #endif
50881 main ()
50883 return f != $ac_func;
50885 return 0;
50887 _ACEOF
50888 rm -f conftest.$ac_objext conftest$ac_exeext
50889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50890 (eval $ac_link) 2>conftest.er1
50891 ac_status=$?
50892 grep -v '^ *+' conftest.er1 >conftest.err
50893 rm -f conftest.er1
50894 cat conftest.err >&5
50895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50896 (exit $ac_status); } &&
50897 { ac_try='test -z "$ac_c_werror_flag"
50898 || test ! -s conftest.err'
50899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50900 (eval $ac_try) 2>&5
50901 ac_status=$?
50902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50903 (exit $ac_status); }; } &&
50904 { ac_try='test -s conftest$ac_exeext'
50905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50906 (eval $ac_try) 2>&5
50907 ac_status=$?
50908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50909 (exit $ac_status); }; }; then
50910 eval "$as_ac_var=yes"
50911 else
50912 echo "$as_me: failed program was:" >&5
50913 sed 's/^/| /' conftest.$ac_ext >&5
50915 eval "$as_ac_var=no"
50917 rm -f conftest.err conftest.$ac_objext \
50918 conftest$ac_exeext conftest.$ac_ext
50920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50922 if test `eval echo '${'$as_ac_var'}'` = yes; then
50923 cat >>confdefs.h <<_ACEOF
50924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50925 _ACEOF
50928 done
50930 else
50932 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
50933 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
50934 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50935 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
50936 echo $ECHO_N "(cached) $ECHO_C" >&6
50937 else
50941 ac_ext=cc
50942 ac_cpp='$CXXCPP $CPPFLAGS'
50943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50947 cat >conftest.$ac_ext <<_ACEOF
50948 /* confdefs.h. */
50949 _ACEOF
50950 cat confdefs.h >>conftest.$ac_ext
50951 cat >>conftest.$ac_ext <<_ACEOF
50952 /* end confdefs.h. */
50953 #include <math.h>
50954 #ifdef HAVE_IEEEFP_H
50955 #include <ieeefp.h>
50956 #endif
50959 main ()
50961 _sqrtf(0);
50963 return 0;
50965 _ACEOF
50966 rm -f conftest.$ac_objext
50967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50968 (eval $ac_compile) 2>conftest.er1
50969 ac_status=$?
50970 grep -v '^ *+' conftest.er1 >conftest.err
50971 rm -f conftest.er1
50972 cat conftest.err >&5
50973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50974 (exit $ac_status); } &&
50975 { ac_try='test -z "$ac_cxx_werror_flag"
50976 || test ! -s conftest.err'
50977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50978 (eval $ac_try) 2>&5
50979 ac_status=$?
50980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50981 (exit $ac_status); }; } &&
50982 { ac_try='test -s conftest.$ac_objext'
50983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50984 (eval $ac_try) 2>&5
50985 ac_status=$?
50986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50987 (exit $ac_status); }; }; then
50988 glibcxx_cv_func__sqrtf_use=yes
50989 else
50990 echo "$as_me: failed program was:" >&5
50991 sed 's/^/| /' conftest.$ac_ext >&5
50993 glibcxx_cv_func__sqrtf_use=no
50995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50996 ac_ext=c
50997 ac_cpp='$CPP $CPPFLAGS'
50998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51006 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
51007 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
51009 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51011 for ac_func in _sqrtf
51013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51014 echo "$as_me:$LINENO: checking for $ac_func" >&5
51015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51016 if eval "test \"\${$as_ac_var+set}\" = set"; then
51017 echo $ECHO_N "(cached) $ECHO_C" >&6
51018 else
51019 if test x$gcc_no_link = xyes; then
51020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51022 { (exit 1); exit 1; }; }
51024 cat >conftest.$ac_ext <<_ACEOF
51025 /* confdefs.h. */
51026 _ACEOF
51027 cat confdefs.h >>conftest.$ac_ext
51028 cat >>conftest.$ac_ext <<_ACEOF
51029 /* end confdefs.h. */
51030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51032 #define $ac_func innocuous_$ac_func
51034 /* System header to define __stub macros and hopefully few prototypes,
51035 which can conflict with char $ac_func (); below.
51036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51037 <limits.h> exists even on freestanding compilers. */
51039 #ifdef __STDC__
51040 # include <limits.h>
51041 #else
51042 # include <assert.h>
51043 #endif
51045 #undef $ac_func
51047 /* Override any gcc2 internal prototype to avoid an error. */
51048 #ifdef __cplusplus
51049 extern "C"
51051 #endif
51052 /* We use char because int might match the return type of a gcc2
51053 builtin and then its argument prototype would still apply. */
51054 char $ac_func ();
51055 /* The GNU C library defines this for functions which it implements
51056 to always fail with ENOSYS. Some functions are actually named
51057 something starting with __ and the normal name is an alias. */
51058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51059 choke me
51060 #else
51061 char (*f) () = $ac_func;
51062 #endif
51063 #ifdef __cplusplus
51065 #endif
51068 main ()
51070 return f != $ac_func;
51072 return 0;
51074 _ACEOF
51075 rm -f conftest.$ac_objext conftest$ac_exeext
51076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51077 (eval $ac_link) 2>conftest.er1
51078 ac_status=$?
51079 grep -v '^ *+' conftest.er1 >conftest.err
51080 rm -f conftest.er1
51081 cat conftest.err >&5
51082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51083 (exit $ac_status); } &&
51084 { ac_try='test -z "$ac_c_werror_flag"
51085 || test ! -s conftest.err'
51086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51087 (eval $ac_try) 2>&5
51088 ac_status=$?
51089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51090 (exit $ac_status); }; } &&
51091 { ac_try='test -s conftest$ac_exeext'
51092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51093 (eval $ac_try) 2>&5
51094 ac_status=$?
51095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51096 (exit $ac_status); }; }; then
51097 eval "$as_ac_var=yes"
51098 else
51099 echo "$as_me: failed program was:" >&5
51100 sed 's/^/| /' conftest.$ac_ext >&5
51102 eval "$as_ac_var=no"
51104 rm -f conftest.err conftest.$ac_objext \
51105 conftest$ac_exeext conftest.$ac_ext
51107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51109 if test `eval echo '${'$as_ac_var'}'` = yes; then
51110 cat >>confdefs.h <<_ACEOF
51111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51112 _ACEOF
51115 done
51125 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
51126 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
51127 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51128 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
51129 echo $ECHO_N "(cached) $ECHO_C" >&6
51130 else
51134 ac_ext=cc
51135 ac_cpp='$CXXCPP $CPPFLAGS'
51136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51140 cat >conftest.$ac_ext <<_ACEOF
51141 /* confdefs.h. */
51142 _ACEOF
51143 cat confdefs.h >>conftest.$ac_ext
51144 cat >>conftest.$ac_ext <<_ACEOF
51145 /* end confdefs.h. */
51146 #include <math.h>
51148 main ()
51150 sincosf(0, 0, 0);
51152 return 0;
51154 _ACEOF
51155 rm -f conftest.$ac_objext
51156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51157 (eval $ac_compile) 2>conftest.er1
51158 ac_status=$?
51159 grep -v '^ *+' conftest.er1 >conftest.err
51160 rm -f conftest.er1
51161 cat conftest.err >&5
51162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51163 (exit $ac_status); } &&
51164 { ac_try='test -z "$ac_cxx_werror_flag"
51165 || test ! -s conftest.err'
51166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51167 (eval $ac_try) 2>&5
51168 ac_status=$?
51169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51170 (exit $ac_status); }; } &&
51171 { ac_try='test -s conftest.$ac_objext'
51172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51173 (eval $ac_try) 2>&5
51174 ac_status=$?
51175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51176 (exit $ac_status); }; }; then
51177 glibcxx_cv_func_sincosf_use=yes
51178 else
51179 echo "$as_me: failed program was:" >&5
51180 sed 's/^/| /' conftest.$ac_ext >&5
51182 glibcxx_cv_func_sincosf_use=no
51184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51185 ac_ext=c
51186 ac_cpp='$CPP $CPPFLAGS'
51187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51195 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
51196 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
51198 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51200 for ac_func in sincosf
51202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51203 echo "$as_me:$LINENO: checking for $ac_func" >&5
51204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51205 if eval "test \"\${$as_ac_var+set}\" = set"; then
51206 echo $ECHO_N "(cached) $ECHO_C" >&6
51207 else
51208 if test x$gcc_no_link = xyes; then
51209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51211 { (exit 1); exit 1; }; }
51213 cat >conftest.$ac_ext <<_ACEOF
51214 /* confdefs.h. */
51215 _ACEOF
51216 cat confdefs.h >>conftest.$ac_ext
51217 cat >>conftest.$ac_ext <<_ACEOF
51218 /* end confdefs.h. */
51219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51221 #define $ac_func innocuous_$ac_func
51223 /* System header to define __stub macros and hopefully few prototypes,
51224 which can conflict with char $ac_func (); below.
51225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51226 <limits.h> exists even on freestanding compilers. */
51228 #ifdef __STDC__
51229 # include <limits.h>
51230 #else
51231 # include <assert.h>
51232 #endif
51234 #undef $ac_func
51236 /* Override any gcc2 internal prototype to avoid an error. */
51237 #ifdef __cplusplus
51238 extern "C"
51240 #endif
51241 /* We use char because int might match the return type of a gcc2
51242 builtin and then its argument prototype would still apply. */
51243 char $ac_func ();
51244 /* The GNU C library defines this for functions which it implements
51245 to always fail with ENOSYS. Some functions are actually named
51246 something starting with __ and the normal name is an alias. */
51247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51248 choke me
51249 #else
51250 char (*f) () = $ac_func;
51251 #endif
51252 #ifdef __cplusplus
51254 #endif
51257 main ()
51259 return f != $ac_func;
51261 return 0;
51263 _ACEOF
51264 rm -f conftest.$ac_objext conftest$ac_exeext
51265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51266 (eval $ac_link) 2>conftest.er1
51267 ac_status=$?
51268 grep -v '^ *+' conftest.er1 >conftest.err
51269 rm -f conftest.er1
51270 cat conftest.err >&5
51271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51272 (exit $ac_status); } &&
51273 { ac_try='test -z "$ac_c_werror_flag"
51274 || test ! -s conftest.err'
51275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51276 (eval $ac_try) 2>&5
51277 ac_status=$?
51278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51279 (exit $ac_status); }; } &&
51280 { ac_try='test -s conftest$ac_exeext'
51281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51282 (eval $ac_try) 2>&5
51283 ac_status=$?
51284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51285 (exit $ac_status); }; }; then
51286 eval "$as_ac_var=yes"
51287 else
51288 echo "$as_me: failed program was:" >&5
51289 sed 's/^/| /' conftest.$ac_ext >&5
51291 eval "$as_ac_var=no"
51293 rm -f conftest.err conftest.$ac_objext \
51294 conftest$ac_exeext conftest.$ac_ext
51296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51298 if test `eval echo '${'$as_ac_var'}'` = yes; then
51299 cat >>confdefs.h <<_ACEOF
51300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51301 _ACEOF
51304 done
51306 else
51308 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
51309 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
51310 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51311 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
51312 echo $ECHO_N "(cached) $ECHO_C" >&6
51313 else
51317 ac_ext=cc
51318 ac_cpp='$CXXCPP $CPPFLAGS'
51319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51323 cat >conftest.$ac_ext <<_ACEOF
51324 /* confdefs.h. */
51325 _ACEOF
51326 cat confdefs.h >>conftest.$ac_ext
51327 cat >>conftest.$ac_ext <<_ACEOF
51328 /* end confdefs.h. */
51329 #include <math.h>
51331 main ()
51333 _sincosf(0, 0, 0);
51335 return 0;
51337 _ACEOF
51338 rm -f conftest.$ac_objext
51339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51340 (eval $ac_compile) 2>conftest.er1
51341 ac_status=$?
51342 grep -v '^ *+' conftest.er1 >conftest.err
51343 rm -f conftest.er1
51344 cat conftest.err >&5
51345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51346 (exit $ac_status); } &&
51347 { ac_try='test -z "$ac_cxx_werror_flag"
51348 || test ! -s conftest.err'
51349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51350 (eval $ac_try) 2>&5
51351 ac_status=$?
51352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51353 (exit $ac_status); }; } &&
51354 { ac_try='test -s conftest.$ac_objext'
51355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51356 (eval $ac_try) 2>&5
51357 ac_status=$?
51358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51359 (exit $ac_status); }; }; then
51360 glibcxx_cv_func__sincosf_use=yes
51361 else
51362 echo "$as_me: failed program was:" >&5
51363 sed 's/^/| /' conftest.$ac_ext >&5
51365 glibcxx_cv_func__sincosf_use=no
51367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51368 ac_ext=c
51369 ac_cpp='$CPP $CPPFLAGS'
51370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51378 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
51379 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
51381 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51383 for ac_func in _sincosf
51385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51386 echo "$as_me:$LINENO: checking for $ac_func" >&5
51387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51388 if eval "test \"\${$as_ac_var+set}\" = set"; then
51389 echo $ECHO_N "(cached) $ECHO_C" >&6
51390 else
51391 if test x$gcc_no_link = xyes; then
51392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51394 { (exit 1); exit 1; }; }
51396 cat >conftest.$ac_ext <<_ACEOF
51397 /* confdefs.h. */
51398 _ACEOF
51399 cat confdefs.h >>conftest.$ac_ext
51400 cat >>conftest.$ac_ext <<_ACEOF
51401 /* end confdefs.h. */
51402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51404 #define $ac_func innocuous_$ac_func
51406 /* System header to define __stub macros and hopefully few prototypes,
51407 which can conflict with char $ac_func (); below.
51408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51409 <limits.h> exists even on freestanding compilers. */
51411 #ifdef __STDC__
51412 # include <limits.h>
51413 #else
51414 # include <assert.h>
51415 #endif
51417 #undef $ac_func
51419 /* Override any gcc2 internal prototype to avoid an error. */
51420 #ifdef __cplusplus
51421 extern "C"
51423 #endif
51424 /* We use char because int might match the return type of a gcc2
51425 builtin and then its argument prototype would still apply. */
51426 char $ac_func ();
51427 /* The GNU C library defines this for functions which it implements
51428 to always fail with ENOSYS. Some functions are actually named
51429 something starting with __ and the normal name is an alias. */
51430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51431 choke me
51432 #else
51433 char (*f) () = $ac_func;
51434 #endif
51435 #ifdef __cplusplus
51437 #endif
51440 main ()
51442 return f != $ac_func;
51444 return 0;
51446 _ACEOF
51447 rm -f conftest.$ac_objext conftest$ac_exeext
51448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51449 (eval $ac_link) 2>conftest.er1
51450 ac_status=$?
51451 grep -v '^ *+' conftest.er1 >conftest.err
51452 rm -f conftest.er1
51453 cat conftest.err >&5
51454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51455 (exit $ac_status); } &&
51456 { ac_try='test -z "$ac_c_werror_flag"
51457 || test ! -s conftest.err'
51458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51459 (eval $ac_try) 2>&5
51460 ac_status=$?
51461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51462 (exit $ac_status); }; } &&
51463 { ac_try='test -s conftest$ac_exeext'
51464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51465 (eval $ac_try) 2>&5
51466 ac_status=$?
51467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51468 (exit $ac_status); }; }; then
51469 eval "$as_ac_var=yes"
51470 else
51471 echo "$as_me: failed program was:" >&5
51472 sed 's/^/| /' conftest.$ac_ext >&5
51474 eval "$as_ac_var=no"
51476 rm -f conftest.err conftest.$ac_objext \
51477 conftest$ac_exeext conftest.$ac_ext
51479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51481 if test `eval echo '${'$as_ac_var'}'` = yes; then
51482 cat >>confdefs.h <<_ACEOF
51483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51484 _ACEOF
51487 done
51497 echo "$as_me:$LINENO: checking for finitef declaration" >&5
51498 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
51499 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51500 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
51501 echo $ECHO_N "(cached) $ECHO_C" >&6
51502 else
51506 ac_ext=cc
51507 ac_cpp='$CXXCPP $CPPFLAGS'
51508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51512 cat >conftest.$ac_ext <<_ACEOF
51513 /* confdefs.h. */
51514 _ACEOF
51515 cat confdefs.h >>conftest.$ac_ext
51516 cat >>conftest.$ac_ext <<_ACEOF
51517 /* end confdefs.h. */
51518 #include <math.h>
51519 #ifdef HAVE_IEEEFP_H
51520 #include <ieeefp.h>
51521 #endif
51524 main ()
51526 finitef(0);
51528 return 0;
51530 _ACEOF
51531 rm -f conftest.$ac_objext
51532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51533 (eval $ac_compile) 2>conftest.er1
51534 ac_status=$?
51535 grep -v '^ *+' conftest.er1 >conftest.err
51536 rm -f conftest.er1
51537 cat conftest.err >&5
51538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51539 (exit $ac_status); } &&
51540 { ac_try='test -z "$ac_cxx_werror_flag"
51541 || test ! -s conftest.err'
51542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51543 (eval $ac_try) 2>&5
51544 ac_status=$?
51545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51546 (exit $ac_status); }; } &&
51547 { ac_try='test -s conftest.$ac_objext'
51548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51549 (eval $ac_try) 2>&5
51550 ac_status=$?
51551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51552 (exit $ac_status); }; }; then
51553 glibcxx_cv_func_finitef_use=yes
51554 else
51555 echo "$as_me: failed program was:" >&5
51556 sed 's/^/| /' conftest.$ac_ext >&5
51558 glibcxx_cv_func_finitef_use=no
51560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51561 ac_ext=c
51562 ac_cpp='$CPP $CPPFLAGS'
51563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51571 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
51572 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
51574 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51576 for ac_func in finitef
51578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51579 echo "$as_me:$LINENO: checking for $ac_func" >&5
51580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51581 if eval "test \"\${$as_ac_var+set}\" = set"; then
51582 echo $ECHO_N "(cached) $ECHO_C" >&6
51583 else
51584 if test x$gcc_no_link = xyes; then
51585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51587 { (exit 1); exit 1; }; }
51589 cat >conftest.$ac_ext <<_ACEOF
51590 /* confdefs.h. */
51591 _ACEOF
51592 cat confdefs.h >>conftest.$ac_ext
51593 cat >>conftest.$ac_ext <<_ACEOF
51594 /* end confdefs.h. */
51595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51597 #define $ac_func innocuous_$ac_func
51599 /* System header to define __stub macros and hopefully few prototypes,
51600 which can conflict with char $ac_func (); below.
51601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51602 <limits.h> exists even on freestanding compilers. */
51604 #ifdef __STDC__
51605 # include <limits.h>
51606 #else
51607 # include <assert.h>
51608 #endif
51610 #undef $ac_func
51612 /* Override any gcc2 internal prototype to avoid an error. */
51613 #ifdef __cplusplus
51614 extern "C"
51616 #endif
51617 /* We use char because int might match the return type of a gcc2
51618 builtin and then its argument prototype would still apply. */
51619 char $ac_func ();
51620 /* The GNU C library defines this for functions which it implements
51621 to always fail with ENOSYS. Some functions are actually named
51622 something starting with __ and the normal name is an alias. */
51623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51624 choke me
51625 #else
51626 char (*f) () = $ac_func;
51627 #endif
51628 #ifdef __cplusplus
51630 #endif
51633 main ()
51635 return f != $ac_func;
51637 return 0;
51639 _ACEOF
51640 rm -f conftest.$ac_objext conftest$ac_exeext
51641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51642 (eval $ac_link) 2>conftest.er1
51643 ac_status=$?
51644 grep -v '^ *+' conftest.er1 >conftest.err
51645 rm -f conftest.er1
51646 cat conftest.err >&5
51647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51648 (exit $ac_status); } &&
51649 { ac_try='test -z "$ac_c_werror_flag"
51650 || test ! -s conftest.err'
51651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51652 (eval $ac_try) 2>&5
51653 ac_status=$?
51654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51655 (exit $ac_status); }; } &&
51656 { ac_try='test -s conftest$ac_exeext'
51657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51658 (eval $ac_try) 2>&5
51659 ac_status=$?
51660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51661 (exit $ac_status); }; }; then
51662 eval "$as_ac_var=yes"
51663 else
51664 echo "$as_me: failed program was:" >&5
51665 sed 's/^/| /' conftest.$ac_ext >&5
51667 eval "$as_ac_var=no"
51669 rm -f conftest.err conftest.$ac_objext \
51670 conftest$ac_exeext conftest.$ac_ext
51672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51674 if test `eval echo '${'$as_ac_var'}'` = yes; then
51675 cat >>confdefs.h <<_ACEOF
51676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51677 _ACEOF
51680 done
51682 else
51684 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
51685 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
51686 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51687 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
51688 echo $ECHO_N "(cached) $ECHO_C" >&6
51689 else
51693 ac_ext=cc
51694 ac_cpp='$CXXCPP $CPPFLAGS'
51695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51699 cat >conftest.$ac_ext <<_ACEOF
51700 /* confdefs.h. */
51701 _ACEOF
51702 cat confdefs.h >>conftest.$ac_ext
51703 cat >>conftest.$ac_ext <<_ACEOF
51704 /* end confdefs.h. */
51705 #include <math.h>
51706 #ifdef HAVE_IEEEFP_H
51707 #include <ieeefp.h>
51708 #endif
51711 main ()
51713 _finitef(0);
51715 return 0;
51717 _ACEOF
51718 rm -f conftest.$ac_objext
51719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51720 (eval $ac_compile) 2>conftest.er1
51721 ac_status=$?
51722 grep -v '^ *+' conftest.er1 >conftest.err
51723 rm -f conftest.er1
51724 cat conftest.err >&5
51725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51726 (exit $ac_status); } &&
51727 { ac_try='test -z "$ac_cxx_werror_flag"
51728 || test ! -s conftest.err'
51729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51730 (eval $ac_try) 2>&5
51731 ac_status=$?
51732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51733 (exit $ac_status); }; } &&
51734 { ac_try='test -s conftest.$ac_objext'
51735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51736 (eval $ac_try) 2>&5
51737 ac_status=$?
51738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51739 (exit $ac_status); }; }; then
51740 glibcxx_cv_func__finitef_use=yes
51741 else
51742 echo "$as_me: failed program was:" >&5
51743 sed 's/^/| /' conftest.$ac_ext >&5
51745 glibcxx_cv_func__finitef_use=no
51747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51748 ac_ext=c
51749 ac_cpp='$CPP $CPPFLAGS'
51750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51758 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
51759 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
51761 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51763 for ac_func in _finitef
51765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51766 echo "$as_me:$LINENO: checking for $ac_func" >&5
51767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51768 if eval "test \"\${$as_ac_var+set}\" = set"; then
51769 echo $ECHO_N "(cached) $ECHO_C" >&6
51770 else
51771 if test x$gcc_no_link = xyes; then
51772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51774 { (exit 1); exit 1; }; }
51776 cat >conftest.$ac_ext <<_ACEOF
51777 /* confdefs.h. */
51778 _ACEOF
51779 cat confdefs.h >>conftest.$ac_ext
51780 cat >>conftest.$ac_ext <<_ACEOF
51781 /* end confdefs.h. */
51782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51784 #define $ac_func innocuous_$ac_func
51786 /* System header to define __stub macros and hopefully few prototypes,
51787 which can conflict with char $ac_func (); below.
51788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51789 <limits.h> exists even on freestanding compilers. */
51791 #ifdef __STDC__
51792 # include <limits.h>
51793 #else
51794 # include <assert.h>
51795 #endif
51797 #undef $ac_func
51799 /* Override any gcc2 internal prototype to avoid an error. */
51800 #ifdef __cplusplus
51801 extern "C"
51803 #endif
51804 /* We use char because int might match the return type of a gcc2
51805 builtin and then its argument prototype would still apply. */
51806 char $ac_func ();
51807 /* The GNU C library defines this for functions which it implements
51808 to always fail with ENOSYS. Some functions are actually named
51809 something starting with __ and the normal name is an alias. */
51810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51811 choke me
51812 #else
51813 char (*f) () = $ac_func;
51814 #endif
51815 #ifdef __cplusplus
51817 #endif
51820 main ()
51822 return f != $ac_func;
51824 return 0;
51826 _ACEOF
51827 rm -f conftest.$ac_objext conftest$ac_exeext
51828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51829 (eval $ac_link) 2>conftest.er1
51830 ac_status=$?
51831 grep -v '^ *+' conftest.er1 >conftest.err
51832 rm -f conftest.er1
51833 cat conftest.err >&5
51834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51835 (exit $ac_status); } &&
51836 { ac_try='test -z "$ac_c_werror_flag"
51837 || test ! -s conftest.err'
51838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51839 (eval $ac_try) 2>&5
51840 ac_status=$?
51841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51842 (exit $ac_status); }; } &&
51843 { ac_try='test -s conftest$ac_exeext'
51844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51845 (eval $ac_try) 2>&5
51846 ac_status=$?
51847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51848 (exit $ac_status); }; }; then
51849 eval "$as_ac_var=yes"
51850 else
51851 echo "$as_me: failed program was:" >&5
51852 sed 's/^/| /' conftest.$ac_ext >&5
51854 eval "$as_ac_var=no"
51856 rm -f conftest.err conftest.$ac_objext \
51857 conftest$ac_exeext conftest.$ac_ext
51859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51861 if test `eval echo '${'$as_ac_var'}'` = yes; then
51862 cat >>confdefs.h <<_ACEOF
51863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51864 _ACEOF
51867 done
51877 echo "$as_me:$LINENO: checking for long double trig functions" >&5
51878 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
51879 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
51880 echo $ECHO_N "(cached) $ECHO_C" >&6
51881 else
51885 ac_ext=cc
51886 ac_cpp='$CXXCPP $CPPFLAGS'
51887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51891 cat >conftest.$ac_ext <<_ACEOF
51892 /* confdefs.h. */
51893 _ACEOF
51894 cat confdefs.h >>conftest.$ac_ext
51895 cat >>conftest.$ac_ext <<_ACEOF
51896 /* end confdefs.h. */
51897 #include <math.h>
51899 main ()
51901 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51903 return 0;
51905 _ACEOF
51906 rm -f conftest.$ac_objext
51907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51908 (eval $ac_compile) 2>conftest.er1
51909 ac_status=$?
51910 grep -v '^ *+' conftest.er1 >conftest.err
51911 rm -f conftest.er1
51912 cat conftest.err >&5
51913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51914 (exit $ac_status); } &&
51915 { ac_try='test -z "$ac_cxx_werror_flag"
51916 || test ! -s conftest.err'
51917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51918 (eval $ac_try) 2>&5
51919 ac_status=$?
51920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51921 (exit $ac_status); }; } &&
51922 { ac_try='test -s conftest.$ac_objext'
51923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51924 (eval $ac_try) 2>&5
51925 ac_status=$?
51926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51927 (exit $ac_status); }; }; then
51928 glibcxx_cv_func_long_double_trig_use=yes
51929 else
51930 echo "$as_me: failed program was:" >&5
51931 sed 's/^/| /' conftest.$ac_ext >&5
51933 glibcxx_cv_func_long_double_trig_use=no
51935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51936 ac_ext=c
51937 ac_cpp='$CPP $CPPFLAGS'
51938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51944 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
51945 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
51946 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51956 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51959 echo "$as_me:$LINENO: checking for $ac_func" >&5
51960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51961 if eval "test \"\${$as_ac_var+set}\" = set"; then
51962 echo $ECHO_N "(cached) $ECHO_C" >&6
51963 else
51964 if test x$gcc_no_link = xyes; then
51965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51967 { (exit 1); exit 1; }; }
51969 cat >conftest.$ac_ext <<_ACEOF
51970 /* confdefs.h. */
51971 _ACEOF
51972 cat confdefs.h >>conftest.$ac_ext
51973 cat >>conftest.$ac_ext <<_ACEOF
51974 /* end confdefs.h. */
51975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51977 #define $ac_func innocuous_$ac_func
51979 /* System header to define __stub macros and hopefully few prototypes,
51980 which can conflict with char $ac_func (); below.
51981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51982 <limits.h> exists even on freestanding compilers. */
51984 #ifdef __STDC__
51985 # include <limits.h>
51986 #else
51987 # include <assert.h>
51988 #endif
51990 #undef $ac_func
51992 /* Override any gcc2 internal prototype to avoid an error. */
51993 #ifdef __cplusplus
51994 extern "C"
51996 #endif
51997 /* We use char because int might match the return type of a gcc2
51998 builtin and then its argument prototype would still apply. */
51999 char $ac_func ();
52000 /* The GNU C library defines this for functions which it implements
52001 to always fail with ENOSYS. Some functions are actually named
52002 something starting with __ and the normal name is an alias. */
52003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52004 choke me
52005 #else
52006 char (*f) () = $ac_func;
52007 #endif
52008 #ifdef __cplusplus
52010 #endif
52013 main ()
52015 return f != $ac_func;
52017 return 0;
52019 _ACEOF
52020 rm -f conftest.$ac_objext conftest$ac_exeext
52021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52022 (eval $ac_link) 2>conftest.er1
52023 ac_status=$?
52024 grep -v '^ *+' conftest.er1 >conftest.err
52025 rm -f conftest.er1
52026 cat conftest.err >&5
52027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52028 (exit $ac_status); } &&
52029 { ac_try='test -z "$ac_c_werror_flag"
52030 || test ! -s conftest.err'
52031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52032 (eval $ac_try) 2>&5
52033 ac_status=$?
52034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52035 (exit $ac_status); }; } &&
52036 { ac_try='test -s conftest$ac_exeext'
52037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52038 (eval $ac_try) 2>&5
52039 ac_status=$?
52040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52041 (exit $ac_status); }; }; then
52042 eval "$as_ac_var=yes"
52043 else
52044 echo "$as_me: failed program was:" >&5
52045 sed 's/^/| /' conftest.$ac_ext >&5
52047 eval "$as_ac_var=no"
52049 rm -f conftest.err conftest.$ac_objext \
52050 conftest$ac_exeext conftest.$ac_ext
52052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52054 if test `eval echo '${'$as_ac_var'}'` = yes; then
52055 cat >>confdefs.h <<_ACEOF
52056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52057 _ACEOF
52060 done
52062 else
52063 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
52064 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
52065 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
52066 echo $ECHO_N "(cached) $ECHO_C" >&6
52067 else
52071 ac_ext=cc
52072 ac_cpp='$CXXCPP $CPPFLAGS'
52073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52077 cat >conftest.$ac_ext <<_ACEOF
52078 /* confdefs.h. */
52079 _ACEOF
52080 cat confdefs.h >>conftest.$ac_ext
52081 cat >>conftest.$ac_ext <<_ACEOF
52082 /* end confdefs.h. */
52083 #include <math.h>
52085 main ()
52087 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
52089 return 0;
52091 _ACEOF
52092 rm -f conftest.$ac_objext
52093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52094 (eval $ac_compile) 2>conftest.er1
52095 ac_status=$?
52096 grep -v '^ *+' conftest.er1 >conftest.err
52097 rm -f conftest.er1
52098 cat conftest.err >&5
52099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52100 (exit $ac_status); } &&
52101 { ac_try='test -z "$ac_cxx_werror_flag"
52102 || test ! -s conftest.err'
52103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52104 (eval $ac_try) 2>&5
52105 ac_status=$?
52106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52107 (exit $ac_status); }; } &&
52108 { ac_try='test -s conftest.$ac_objext'
52109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52110 (eval $ac_try) 2>&5
52111 ac_status=$?
52112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52113 (exit $ac_status); }; }; then
52114 glibcxx_cv_func__long_double_trig_use=yes
52115 else
52116 echo "$as_me: failed program was:" >&5
52117 sed 's/^/| /' conftest.$ac_ext >&5
52119 glibcxx_cv_func__long_double_trig_use=no
52121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52122 ac_ext=c
52123 ac_cpp='$CPP $CPPFLAGS'
52124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52130 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
52131 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
52132 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
52142 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
52144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52145 echo "$as_me:$LINENO: checking for $ac_func" >&5
52146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52147 if eval "test \"\${$as_ac_var+set}\" = set"; then
52148 echo $ECHO_N "(cached) $ECHO_C" >&6
52149 else
52150 if test x$gcc_no_link = xyes; then
52151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52153 { (exit 1); exit 1; }; }
52155 cat >conftest.$ac_ext <<_ACEOF
52156 /* confdefs.h. */
52157 _ACEOF
52158 cat confdefs.h >>conftest.$ac_ext
52159 cat >>conftest.$ac_ext <<_ACEOF
52160 /* end confdefs.h. */
52161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52163 #define $ac_func innocuous_$ac_func
52165 /* System header to define __stub macros and hopefully few prototypes,
52166 which can conflict with char $ac_func (); below.
52167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52168 <limits.h> exists even on freestanding compilers. */
52170 #ifdef __STDC__
52171 # include <limits.h>
52172 #else
52173 # include <assert.h>
52174 #endif
52176 #undef $ac_func
52178 /* Override any gcc2 internal prototype to avoid an error. */
52179 #ifdef __cplusplus
52180 extern "C"
52182 #endif
52183 /* We use char because int might match the return type of a gcc2
52184 builtin and then its argument prototype would still apply. */
52185 char $ac_func ();
52186 /* The GNU C library defines this for functions which it implements
52187 to always fail with ENOSYS. Some functions are actually named
52188 something starting with __ and the normal name is an alias. */
52189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52190 choke me
52191 #else
52192 char (*f) () = $ac_func;
52193 #endif
52194 #ifdef __cplusplus
52196 #endif
52199 main ()
52201 return f != $ac_func;
52203 return 0;
52205 _ACEOF
52206 rm -f conftest.$ac_objext conftest$ac_exeext
52207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52208 (eval $ac_link) 2>conftest.er1
52209 ac_status=$?
52210 grep -v '^ *+' conftest.er1 >conftest.err
52211 rm -f conftest.er1
52212 cat conftest.err >&5
52213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52214 (exit $ac_status); } &&
52215 { ac_try='test -z "$ac_c_werror_flag"
52216 || test ! -s conftest.err'
52217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52218 (eval $ac_try) 2>&5
52219 ac_status=$?
52220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52221 (exit $ac_status); }; } &&
52222 { ac_try='test -s conftest$ac_exeext'
52223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52224 (eval $ac_try) 2>&5
52225 ac_status=$?
52226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52227 (exit $ac_status); }; }; then
52228 eval "$as_ac_var=yes"
52229 else
52230 echo "$as_me: failed program was:" >&5
52231 sed 's/^/| /' conftest.$ac_ext >&5
52233 eval "$as_ac_var=no"
52235 rm -f conftest.err conftest.$ac_objext \
52236 conftest$ac_exeext conftest.$ac_ext
52238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52240 if test `eval echo '${'$as_ac_var'}'` = yes; then
52241 cat >>confdefs.h <<_ACEOF
52242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52243 _ACEOF
52246 done
52264 echo "$as_me:$LINENO: checking for long double round functions" >&5
52265 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
52266 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
52267 echo $ECHO_N "(cached) $ECHO_C" >&6
52268 else
52272 ac_ext=cc
52273 ac_cpp='$CXXCPP $CPPFLAGS'
52274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52278 cat >conftest.$ac_ext <<_ACEOF
52279 /* confdefs.h. */
52280 _ACEOF
52281 cat confdefs.h >>conftest.$ac_ext
52282 cat >>conftest.$ac_ext <<_ACEOF
52283 /* end confdefs.h. */
52284 #include <math.h>
52286 main ()
52288 ceill (0); floorl (0);
52290 return 0;
52292 _ACEOF
52293 rm -f conftest.$ac_objext
52294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52295 (eval $ac_compile) 2>conftest.er1
52296 ac_status=$?
52297 grep -v '^ *+' conftest.er1 >conftest.err
52298 rm -f conftest.er1
52299 cat conftest.err >&5
52300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52301 (exit $ac_status); } &&
52302 { ac_try='test -z "$ac_cxx_werror_flag"
52303 || test ! -s conftest.err'
52304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52305 (eval $ac_try) 2>&5
52306 ac_status=$?
52307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52308 (exit $ac_status); }; } &&
52309 { ac_try='test -s conftest.$ac_objext'
52310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52311 (eval $ac_try) 2>&5
52312 ac_status=$?
52313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52314 (exit $ac_status); }; }; then
52315 glibcxx_cv_func_long_double_round_use=yes
52316 else
52317 echo "$as_me: failed program was:" >&5
52318 sed 's/^/| /' conftest.$ac_ext >&5
52320 glibcxx_cv_func_long_double_round_use=no
52322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52323 ac_ext=c
52324 ac_cpp='$CPP $CPPFLAGS'
52325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52331 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
52332 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
52333 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
52336 for ac_func in ceill floorl
52338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52339 echo "$as_me:$LINENO: checking for $ac_func" >&5
52340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52341 if eval "test \"\${$as_ac_var+set}\" = set"; then
52342 echo $ECHO_N "(cached) $ECHO_C" >&6
52343 else
52344 if test x$gcc_no_link = xyes; then
52345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52347 { (exit 1); exit 1; }; }
52349 cat >conftest.$ac_ext <<_ACEOF
52350 /* confdefs.h. */
52351 _ACEOF
52352 cat confdefs.h >>conftest.$ac_ext
52353 cat >>conftest.$ac_ext <<_ACEOF
52354 /* end confdefs.h. */
52355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52357 #define $ac_func innocuous_$ac_func
52359 /* System header to define __stub macros and hopefully few prototypes,
52360 which can conflict with char $ac_func (); below.
52361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52362 <limits.h> exists even on freestanding compilers. */
52364 #ifdef __STDC__
52365 # include <limits.h>
52366 #else
52367 # include <assert.h>
52368 #endif
52370 #undef $ac_func
52372 /* Override any gcc2 internal prototype to avoid an error. */
52373 #ifdef __cplusplus
52374 extern "C"
52376 #endif
52377 /* We use char because int might match the return type of a gcc2
52378 builtin and then its argument prototype would still apply. */
52379 char $ac_func ();
52380 /* The GNU C library defines this for functions which it implements
52381 to always fail with ENOSYS. Some functions are actually named
52382 something starting with __ and the normal name is an alias. */
52383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52384 choke me
52385 #else
52386 char (*f) () = $ac_func;
52387 #endif
52388 #ifdef __cplusplus
52390 #endif
52393 main ()
52395 return f != $ac_func;
52397 return 0;
52399 _ACEOF
52400 rm -f conftest.$ac_objext conftest$ac_exeext
52401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52402 (eval $ac_link) 2>conftest.er1
52403 ac_status=$?
52404 grep -v '^ *+' conftest.er1 >conftest.err
52405 rm -f conftest.er1
52406 cat conftest.err >&5
52407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52408 (exit $ac_status); } &&
52409 { ac_try='test -z "$ac_c_werror_flag"
52410 || test ! -s conftest.err'
52411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52412 (eval $ac_try) 2>&5
52413 ac_status=$?
52414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52415 (exit $ac_status); }; } &&
52416 { ac_try='test -s conftest$ac_exeext'
52417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52418 (eval $ac_try) 2>&5
52419 ac_status=$?
52420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52421 (exit $ac_status); }; }; then
52422 eval "$as_ac_var=yes"
52423 else
52424 echo "$as_me: failed program was:" >&5
52425 sed 's/^/| /' conftest.$ac_ext >&5
52427 eval "$as_ac_var=no"
52429 rm -f conftest.err conftest.$ac_objext \
52430 conftest$ac_exeext conftest.$ac_ext
52432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52434 if test `eval echo '${'$as_ac_var'}'` = yes; then
52435 cat >>confdefs.h <<_ACEOF
52436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52437 _ACEOF
52440 done
52442 else
52443 echo "$as_me:$LINENO: checking for _long double round functions" >&5
52444 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
52445 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
52446 echo $ECHO_N "(cached) $ECHO_C" >&6
52447 else
52451 ac_ext=cc
52452 ac_cpp='$CXXCPP $CPPFLAGS'
52453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52457 cat >conftest.$ac_ext <<_ACEOF
52458 /* confdefs.h. */
52459 _ACEOF
52460 cat confdefs.h >>conftest.$ac_ext
52461 cat >>conftest.$ac_ext <<_ACEOF
52462 /* end confdefs.h. */
52463 #include <math.h>
52465 main ()
52467 _ceill (0); _floorl (0);
52469 return 0;
52471 _ACEOF
52472 rm -f conftest.$ac_objext
52473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52474 (eval $ac_compile) 2>conftest.er1
52475 ac_status=$?
52476 grep -v '^ *+' conftest.er1 >conftest.err
52477 rm -f conftest.er1
52478 cat conftest.err >&5
52479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52480 (exit $ac_status); } &&
52481 { ac_try='test -z "$ac_cxx_werror_flag"
52482 || test ! -s conftest.err'
52483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52484 (eval $ac_try) 2>&5
52485 ac_status=$?
52486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52487 (exit $ac_status); }; } &&
52488 { ac_try='test -s conftest.$ac_objext'
52489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52490 (eval $ac_try) 2>&5
52491 ac_status=$?
52492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52493 (exit $ac_status); }; }; then
52494 glibcxx_cv_func__long_double_round_use=yes
52495 else
52496 echo "$as_me: failed program was:" >&5
52497 sed 's/^/| /' conftest.$ac_ext >&5
52499 glibcxx_cv_func__long_double_round_use=no
52501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52502 ac_ext=c
52503 ac_cpp='$CPP $CPPFLAGS'
52504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52510 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
52511 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
52512 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
52515 for ac_func in _ceill _floorl
52517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52518 echo "$as_me:$LINENO: checking for $ac_func" >&5
52519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52520 if eval "test \"\${$as_ac_var+set}\" = set"; then
52521 echo $ECHO_N "(cached) $ECHO_C" >&6
52522 else
52523 if test x$gcc_no_link = xyes; then
52524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52526 { (exit 1); exit 1; }; }
52528 cat >conftest.$ac_ext <<_ACEOF
52529 /* confdefs.h. */
52530 _ACEOF
52531 cat confdefs.h >>conftest.$ac_ext
52532 cat >>conftest.$ac_ext <<_ACEOF
52533 /* end confdefs.h. */
52534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52536 #define $ac_func innocuous_$ac_func
52538 /* System header to define __stub macros and hopefully few prototypes,
52539 which can conflict with char $ac_func (); below.
52540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52541 <limits.h> exists even on freestanding compilers. */
52543 #ifdef __STDC__
52544 # include <limits.h>
52545 #else
52546 # include <assert.h>
52547 #endif
52549 #undef $ac_func
52551 /* Override any gcc2 internal prototype to avoid an error. */
52552 #ifdef __cplusplus
52553 extern "C"
52555 #endif
52556 /* We use char because int might match the return type of a gcc2
52557 builtin and then its argument prototype would still apply. */
52558 char $ac_func ();
52559 /* The GNU C library defines this for functions which it implements
52560 to always fail with ENOSYS. Some functions are actually named
52561 something starting with __ and the normal name is an alias. */
52562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52563 choke me
52564 #else
52565 char (*f) () = $ac_func;
52566 #endif
52567 #ifdef __cplusplus
52569 #endif
52572 main ()
52574 return f != $ac_func;
52576 return 0;
52578 _ACEOF
52579 rm -f conftest.$ac_objext conftest$ac_exeext
52580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52581 (eval $ac_link) 2>conftest.er1
52582 ac_status=$?
52583 grep -v '^ *+' conftest.er1 >conftest.err
52584 rm -f conftest.er1
52585 cat conftest.err >&5
52586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52587 (exit $ac_status); } &&
52588 { ac_try='test -z "$ac_c_werror_flag"
52589 || test ! -s conftest.err'
52590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52591 (eval $ac_try) 2>&5
52592 ac_status=$?
52593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52594 (exit $ac_status); }; } &&
52595 { ac_try='test -s conftest$ac_exeext'
52596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52597 (eval $ac_try) 2>&5
52598 ac_status=$?
52599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52600 (exit $ac_status); }; }; then
52601 eval "$as_ac_var=yes"
52602 else
52603 echo "$as_me: failed program was:" >&5
52604 sed 's/^/| /' conftest.$ac_ext >&5
52606 eval "$as_ac_var=no"
52608 rm -f conftest.err conftest.$ac_objext \
52609 conftest$ac_exeext conftest.$ac_ext
52611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52613 if test `eval echo '${'$as_ac_var'}'` = yes; then
52614 cat >>confdefs.h <<_ACEOF
52615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52616 _ACEOF
52619 done
52631 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
52632 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
52633 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
52634 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
52635 echo $ECHO_N "(cached) $ECHO_C" >&6
52636 else
52640 ac_ext=cc
52641 ac_cpp='$CXXCPP $CPPFLAGS'
52642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52646 cat >conftest.$ac_ext <<_ACEOF
52647 /* confdefs.h. */
52648 _ACEOF
52649 cat confdefs.h >>conftest.$ac_ext
52650 cat >>conftest.$ac_ext <<_ACEOF
52651 /* end confdefs.h. */
52652 #include <math.h>
52653 #ifdef HAVE_IEEEFP_H
52654 #include <ieeefp.h>
52655 #endif
52658 main ()
52660 isnanl(0);
52662 return 0;
52664 _ACEOF
52665 rm -f conftest.$ac_objext
52666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52667 (eval $ac_compile) 2>conftest.er1
52668 ac_status=$?
52669 grep -v '^ *+' conftest.er1 >conftest.err
52670 rm -f conftest.er1
52671 cat conftest.err >&5
52672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52673 (exit $ac_status); } &&
52674 { ac_try='test -z "$ac_cxx_werror_flag"
52675 || test ! -s conftest.err'
52676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52677 (eval $ac_try) 2>&5
52678 ac_status=$?
52679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52680 (exit $ac_status); }; } &&
52681 { ac_try='test -s conftest.$ac_objext'
52682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52683 (eval $ac_try) 2>&5
52684 ac_status=$?
52685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52686 (exit $ac_status); }; }; then
52687 glibcxx_cv_func_isnanl_use=yes
52688 else
52689 echo "$as_me: failed program was:" >&5
52690 sed 's/^/| /' conftest.$ac_ext >&5
52692 glibcxx_cv_func_isnanl_use=no
52694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52695 ac_ext=c
52696 ac_cpp='$CPP $CPPFLAGS'
52697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52705 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
52706 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
52708 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
52710 for ac_func in isnanl
52712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52713 echo "$as_me:$LINENO: checking for $ac_func" >&5
52714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52715 if eval "test \"\${$as_ac_var+set}\" = set"; then
52716 echo $ECHO_N "(cached) $ECHO_C" >&6
52717 else
52718 if test x$gcc_no_link = xyes; then
52719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52721 { (exit 1); exit 1; }; }
52723 cat >conftest.$ac_ext <<_ACEOF
52724 /* confdefs.h. */
52725 _ACEOF
52726 cat confdefs.h >>conftest.$ac_ext
52727 cat >>conftest.$ac_ext <<_ACEOF
52728 /* end confdefs.h. */
52729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52731 #define $ac_func innocuous_$ac_func
52733 /* System header to define __stub macros and hopefully few prototypes,
52734 which can conflict with char $ac_func (); below.
52735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52736 <limits.h> exists even on freestanding compilers. */
52738 #ifdef __STDC__
52739 # include <limits.h>
52740 #else
52741 # include <assert.h>
52742 #endif
52744 #undef $ac_func
52746 /* Override any gcc2 internal prototype to avoid an error. */
52747 #ifdef __cplusplus
52748 extern "C"
52750 #endif
52751 /* We use char because int might match the return type of a gcc2
52752 builtin and then its argument prototype would still apply. */
52753 char $ac_func ();
52754 /* The GNU C library defines this for functions which it implements
52755 to always fail with ENOSYS. Some functions are actually named
52756 something starting with __ and the normal name is an alias. */
52757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52758 choke me
52759 #else
52760 char (*f) () = $ac_func;
52761 #endif
52762 #ifdef __cplusplus
52764 #endif
52767 main ()
52769 return f != $ac_func;
52771 return 0;
52773 _ACEOF
52774 rm -f conftest.$ac_objext conftest$ac_exeext
52775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52776 (eval $ac_link) 2>conftest.er1
52777 ac_status=$?
52778 grep -v '^ *+' conftest.er1 >conftest.err
52779 rm -f conftest.er1
52780 cat conftest.err >&5
52781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52782 (exit $ac_status); } &&
52783 { ac_try='test -z "$ac_c_werror_flag"
52784 || test ! -s conftest.err'
52785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52786 (eval $ac_try) 2>&5
52787 ac_status=$?
52788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52789 (exit $ac_status); }; } &&
52790 { ac_try='test -s conftest$ac_exeext'
52791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52792 (eval $ac_try) 2>&5
52793 ac_status=$?
52794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52795 (exit $ac_status); }; }; then
52796 eval "$as_ac_var=yes"
52797 else
52798 echo "$as_me: failed program was:" >&5
52799 sed 's/^/| /' conftest.$ac_ext >&5
52801 eval "$as_ac_var=no"
52803 rm -f conftest.err conftest.$ac_objext \
52804 conftest$ac_exeext conftest.$ac_ext
52806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52808 if test `eval echo '${'$as_ac_var'}'` = yes; then
52809 cat >>confdefs.h <<_ACEOF
52810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52811 _ACEOF
52814 done
52816 else
52818 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
52819 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
52820 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
52821 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
52822 echo $ECHO_N "(cached) $ECHO_C" >&6
52823 else
52827 ac_ext=cc
52828 ac_cpp='$CXXCPP $CPPFLAGS'
52829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52833 cat >conftest.$ac_ext <<_ACEOF
52834 /* confdefs.h. */
52835 _ACEOF
52836 cat confdefs.h >>conftest.$ac_ext
52837 cat >>conftest.$ac_ext <<_ACEOF
52838 /* end confdefs.h. */
52839 #include <math.h>
52840 #ifdef HAVE_IEEEFP_H
52841 #include <ieeefp.h>
52842 #endif
52845 main ()
52847 _isnanl(0);
52849 return 0;
52851 _ACEOF
52852 rm -f conftest.$ac_objext
52853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52854 (eval $ac_compile) 2>conftest.er1
52855 ac_status=$?
52856 grep -v '^ *+' conftest.er1 >conftest.err
52857 rm -f conftest.er1
52858 cat conftest.err >&5
52859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52860 (exit $ac_status); } &&
52861 { ac_try='test -z "$ac_cxx_werror_flag"
52862 || test ! -s conftest.err'
52863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52864 (eval $ac_try) 2>&5
52865 ac_status=$?
52866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52867 (exit $ac_status); }; } &&
52868 { ac_try='test -s conftest.$ac_objext'
52869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52870 (eval $ac_try) 2>&5
52871 ac_status=$?
52872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52873 (exit $ac_status); }; }; then
52874 glibcxx_cv_func__isnanl_use=yes
52875 else
52876 echo "$as_me: failed program was:" >&5
52877 sed 's/^/| /' conftest.$ac_ext >&5
52879 glibcxx_cv_func__isnanl_use=no
52881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52882 ac_ext=c
52883 ac_cpp='$CPP $CPPFLAGS'
52884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52892 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
52893 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
52895 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
52897 for ac_func in _isnanl
52899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52900 echo "$as_me:$LINENO: checking for $ac_func" >&5
52901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52902 if eval "test \"\${$as_ac_var+set}\" = set"; then
52903 echo $ECHO_N "(cached) $ECHO_C" >&6
52904 else
52905 if test x$gcc_no_link = xyes; then
52906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52908 { (exit 1); exit 1; }; }
52910 cat >conftest.$ac_ext <<_ACEOF
52911 /* confdefs.h. */
52912 _ACEOF
52913 cat confdefs.h >>conftest.$ac_ext
52914 cat >>conftest.$ac_ext <<_ACEOF
52915 /* end confdefs.h. */
52916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52918 #define $ac_func innocuous_$ac_func
52920 /* System header to define __stub macros and hopefully few prototypes,
52921 which can conflict with char $ac_func (); below.
52922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52923 <limits.h> exists even on freestanding compilers. */
52925 #ifdef __STDC__
52926 # include <limits.h>
52927 #else
52928 # include <assert.h>
52929 #endif
52931 #undef $ac_func
52933 /* Override any gcc2 internal prototype to avoid an error. */
52934 #ifdef __cplusplus
52935 extern "C"
52937 #endif
52938 /* We use char because int might match the return type of a gcc2
52939 builtin and then its argument prototype would still apply. */
52940 char $ac_func ();
52941 /* The GNU C library defines this for functions which it implements
52942 to always fail with ENOSYS. Some functions are actually named
52943 something starting with __ and the normal name is an alias. */
52944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52945 choke me
52946 #else
52947 char (*f) () = $ac_func;
52948 #endif
52949 #ifdef __cplusplus
52951 #endif
52954 main ()
52956 return f != $ac_func;
52958 return 0;
52960 _ACEOF
52961 rm -f conftest.$ac_objext conftest$ac_exeext
52962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52963 (eval $ac_link) 2>conftest.er1
52964 ac_status=$?
52965 grep -v '^ *+' conftest.er1 >conftest.err
52966 rm -f conftest.er1
52967 cat conftest.err >&5
52968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52969 (exit $ac_status); } &&
52970 { ac_try='test -z "$ac_c_werror_flag"
52971 || test ! -s conftest.err'
52972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52973 (eval $ac_try) 2>&5
52974 ac_status=$?
52975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52976 (exit $ac_status); }; } &&
52977 { ac_try='test -s conftest$ac_exeext'
52978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52979 (eval $ac_try) 2>&5
52980 ac_status=$?
52981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52982 (exit $ac_status); }; }; then
52983 eval "$as_ac_var=yes"
52984 else
52985 echo "$as_me: failed program was:" >&5
52986 sed 's/^/| /' conftest.$ac_ext >&5
52988 eval "$as_ac_var=no"
52990 rm -f conftest.err conftest.$ac_objext \
52991 conftest$ac_exeext conftest.$ac_ext
52993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52995 if test `eval echo '${'$as_ac_var'}'` = yes; then
52996 cat >>confdefs.h <<_ACEOF
52997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52998 _ACEOF
53001 done
53011 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
53012 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
53013 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
53014 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
53015 echo $ECHO_N "(cached) $ECHO_C" >&6
53016 else
53020 ac_ext=cc
53021 ac_cpp='$CXXCPP $CPPFLAGS'
53022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53026 cat >conftest.$ac_ext <<_ACEOF
53027 /* confdefs.h. */
53028 _ACEOF
53029 cat confdefs.h >>conftest.$ac_ext
53030 cat >>conftest.$ac_ext <<_ACEOF
53031 /* end confdefs.h. */
53032 #include <math.h>
53033 #ifdef HAVE_IEEEFP_H
53034 #include <ieeefp.h>
53035 #endif
53038 main ()
53040 isinfl(0);
53042 return 0;
53044 _ACEOF
53045 rm -f conftest.$ac_objext
53046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53047 (eval $ac_compile) 2>conftest.er1
53048 ac_status=$?
53049 grep -v '^ *+' conftest.er1 >conftest.err
53050 rm -f conftest.er1
53051 cat conftest.err >&5
53052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53053 (exit $ac_status); } &&
53054 { ac_try='test -z "$ac_cxx_werror_flag"
53055 || test ! -s conftest.err'
53056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53057 (eval $ac_try) 2>&5
53058 ac_status=$?
53059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53060 (exit $ac_status); }; } &&
53061 { ac_try='test -s conftest.$ac_objext'
53062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53063 (eval $ac_try) 2>&5
53064 ac_status=$?
53065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53066 (exit $ac_status); }; }; then
53067 glibcxx_cv_func_isinfl_use=yes
53068 else
53069 echo "$as_me: failed program was:" >&5
53070 sed 's/^/| /' conftest.$ac_ext >&5
53072 glibcxx_cv_func_isinfl_use=no
53074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53075 ac_ext=c
53076 ac_cpp='$CPP $CPPFLAGS'
53077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
53086 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
53088 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
53090 for ac_func in isinfl
53092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53093 echo "$as_me:$LINENO: checking for $ac_func" >&5
53094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53095 if eval "test \"\${$as_ac_var+set}\" = set"; then
53096 echo $ECHO_N "(cached) $ECHO_C" >&6
53097 else
53098 if test x$gcc_no_link = xyes; then
53099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53101 { (exit 1); exit 1; }; }
53103 cat >conftest.$ac_ext <<_ACEOF
53104 /* confdefs.h. */
53105 _ACEOF
53106 cat confdefs.h >>conftest.$ac_ext
53107 cat >>conftest.$ac_ext <<_ACEOF
53108 /* end confdefs.h. */
53109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53111 #define $ac_func innocuous_$ac_func
53113 /* System header to define __stub macros and hopefully few prototypes,
53114 which can conflict with char $ac_func (); below.
53115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53116 <limits.h> exists even on freestanding compilers. */
53118 #ifdef __STDC__
53119 # include <limits.h>
53120 #else
53121 # include <assert.h>
53122 #endif
53124 #undef $ac_func
53126 /* Override any gcc2 internal prototype to avoid an error. */
53127 #ifdef __cplusplus
53128 extern "C"
53130 #endif
53131 /* We use char because int might match the return type of a gcc2
53132 builtin and then its argument prototype would still apply. */
53133 char $ac_func ();
53134 /* The GNU C library defines this for functions which it implements
53135 to always fail with ENOSYS. Some functions are actually named
53136 something starting with __ and the normal name is an alias. */
53137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53138 choke me
53139 #else
53140 char (*f) () = $ac_func;
53141 #endif
53142 #ifdef __cplusplus
53144 #endif
53147 main ()
53149 return f != $ac_func;
53151 return 0;
53153 _ACEOF
53154 rm -f conftest.$ac_objext conftest$ac_exeext
53155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53156 (eval $ac_link) 2>conftest.er1
53157 ac_status=$?
53158 grep -v '^ *+' conftest.er1 >conftest.err
53159 rm -f conftest.er1
53160 cat conftest.err >&5
53161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53162 (exit $ac_status); } &&
53163 { ac_try='test -z "$ac_c_werror_flag"
53164 || test ! -s conftest.err'
53165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53166 (eval $ac_try) 2>&5
53167 ac_status=$?
53168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53169 (exit $ac_status); }; } &&
53170 { ac_try='test -s conftest$ac_exeext'
53171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53172 (eval $ac_try) 2>&5
53173 ac_status=$?
53174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53175 (exit $ac_status); }; }; then
53176 eval "$as_ac_var=yes"
53177 else
53178 echo "$as_me: failed program was:" >&5
53179 sed 's/^/| /' conftest.$ac_ext >&5
53181 eval "$as_ac_var=no"
53183 rm -f conftest.err conftest.$ac_objext \
53184 conftest$ac_exeext conftest.$ac_ext
53186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53188 if test `eval echo '${'$as_ac_var'}'` = yes; then
53189 cat >>confdefs.h <<_ACEOF
53190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53191 _ACEOF
53194 done
53196 else
53198 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
53199 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
53200 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
53201 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
53202 echo $ECHO_N "(cached) $ECHO_C" >&6
53203 else
53207 ac_ext=cc
53208 ac_cpp='$CXXCPP $CPPFLAGS'
53209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53213 cat >conftest.$ac_ext <<_ACEOF
53214 /* confdefs.h. */
53215 _ACEOF
53216 cat confdefs.h >>conftest.$ac_ext
53217 cat >>conftest.$ac_ext <<_ACEOF
53218 /* end confdefs.h. */
53219 #include <math.h>
53220 #ifdef HAVE_IEEEFP_H
53221 #include <ieeefp.h>
53222 #endif
53225 main ()
53227 _isinfl(0);
53229 return 0;
53231 _ACEOF
53232 rm -f conftest.$ac_objext
53233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53234 (eval $ac_compile) 2>conftest.er1
53235 ac_status=$?
53236 grep -v '^ *+' conftest.er1 >conftest.err
53237 rm -f conftest.er1
53238 cat conftest.err >&5
53239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53240 (exit $ac_status); } &&
53241 { ac_try='test -z "$ac_cxx_werror_flag"
53242 || test ! -s conftest.err'
53243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53244 (eval $ac_try) 2>&5
53245 ac_status=$?
53246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53247 (exit $ac_status); }; } &&
53248 { ac_try='test -s conftest.$ac_objext'
53249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53250 (eval $ac_try) 2>&5
53251 ac_status=$?
53252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53253 (exit $ac_status); }; }; then
53254 glibcxx_cv_func__isinfl_use=yes
53255 else
53256 echo "$as_me: failed program was:" >&5
53257 sed 's/^/| /' conftest.$ac_ext >&5
53259 glibcxx_cv_func__isinfl_use=no
53261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53262 ac_ext=c
53263 ac_cpp='$CPP $CPPFLAGS'
53264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53272 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
53273 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
53275 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
53277 for ac_func in _isinfl
53279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53280 echo "$as_me:$LINENO: checking for $ac_func" >&5
53281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53282 if eval "test \"\${$as_ac_var+set}\" = set"; then
53283 echo $ECHO_N "(cached) $ECHO_C" >&6
53284 else
53285 if test x$gcc_no_link = xyes; then
53286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53288 { (exit 1); exit 1; }; }
53290 cat >conftest.$ac_ext <<_ACEOF
53291 /* confdefs.h. */
53292 _ACEOF
53293 cat confdefs.h >>conftest.$ac_ext
53294 cat >>conftest.$ac_ext <<_ACEOF
53295 /* end confdefs.h. */
53296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53298 #define $ac_func innocuous_$ac_func
53300 /* System header to define __stub macros and hopefully few prototypes,
53301 which can conflict with char $ac_func (); below.
53302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53303 <limits.h> exists even on freestanding compilers. */
53305 #ifdef __STDC__
53306 # include <limits.h>
53307 #else
53308 # include <assert.h>
53309 #endif
53311 #undef $ac_func
53313 /* Override any gcc2 internal prototype to avoid an error. */
53314 #ifdef __cplusplus
53315 extern "C"
53317 #endif
53318 /* We use char because int might match the return type of a gcc2
53319 builtin and then its argument prototype would still apply. */
53320 char $ac_func ();
53321 /* The GNU C library defines this for functions which it implements
53322 to always fail with ENOSYS. Some functions are actually named
53323 something starting with __ and the normal name is an alias. */
53324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53325 choke me
53326 #else
53327 char (*f) () = $ac_func;
53328 #endif
53329 #ifdef __cplusplus
53331 #endif
53334 main ()
53336 return f != $ac_func;
53338 return 0;
53340 _ACEOF
53341 rm -f conftest.$ac_objext conftest$ac_exeext
53342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53343 (eval $ac_link) 2>conftest.er1
53344 ac_status=$?
53345 grep -v '^ *+' conftest.er1 >conftest.err
53346 rm -f conftest.er1
53347 cat conftest.err >&5
53348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53349 (exit $ac_status); } &&
53350 { ac_try='test -z "$ac_c_werror_flag"
53351 || test ! -s conftest.err'
53352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53353 (eval $ac_try) 2>&5
53354 ac_status=$?
53355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53356 (exit $ac_status); }; } &&
53357 { ac_try='test -s conftest$ac_exeext'
53358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53359 (eval $ac_try) 2>&5
53360 ac_status=$?
53361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53362 (exit $ac_status); }; }; then
53363 eval "$as_ac_var=yes"
53364 else
53365 echo "$as_me: failed program was:" >&5
53366 sed 's/^/| /' conftest.$ac_ext >&5
53368 eval "$as_ac_var=no"
53370 rm -f conftest.err conftest.$ac_objext \
53371 conftest$ac_exeext conftest.$ac_ext
53373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53375 if test `eval echo '${'$as_ac_var'}'` = yes; then
53376 cat >>confdefs.h <<_ACEOF
53377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53378 _ACEOF
53381 done
53391 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
53392 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
53393 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
53394 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
53395 echo $ECHO_N "(cached) $ECHO_C" >&6
53396 else
53400 ac_ext=cc
53401 ac_cpp='$CXXCPP $CPPFLAGS'
53402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53406 cat >conftest.$ac_ext <<_ACEOF
53407 /* confdefs.h. */
53408 _ACEOF
53409 cat confdefs.h >>conftest.$ac_ext
53410 cat >>conftest.$ac_ext <<_ACEOF
53411 /* end confdefs.h. */
53412 #include <math.h>
53414 main ()
53416 copysignl(0, 0);
53418 return 0;
53420 _ACEOF
53421 rm -f conftest.$ac_objext
53422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53423 (eval $ac_compile) 2>conftest.er1
53424 ac_status=$?
53425 grep -v '^ *+' conftest.er1 >conftest.err
53426 rm -f conftest.er1
53427 cat conftest.err >&5
53428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53429 (exit $ac_status); } &&
53430 { ac_try='test -z "$ac_cxx_werror_flag"
53431 || test ! -s conftest.err'
53432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53433 (eval $ac_try) 2>&5
53434 ac_status=$?
53435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53436 (exit $ac_status); }; } &&
53437 { ac_try='test -s conftest.$ac_objext'
53438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53439 (eval $ac_try) 2>&5
53440 ac_status=$?
53441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53442 (exit $ac_status); }; }; then
53443 glibcxx_cv_func_copysignl_use=yes
53444 else
53445 echo "$as_me: failed program was:" >&5
53446 sed 's/^/| /' conftest.$ac_ext >&5
53448 glibcxx_cv_func_copysignl_use=no
53450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53451 ac_ext=c
53452 ac_cpp='$CPP $CPPFLAGS'
53453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53461 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
53462 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
53464 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
53466 for ac_func in copysignl
53468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53469 echo "$as_me:$LINENO: checking for $ac_func" >&5
53470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53471 if eval "test \"\${$as_ac_var+set}\" = set"; then
53472 echo $ECHO_N "(cached) $ECHO_C" >&6
53473 else
53474 if test x$gcc_no_link = xyes; then
53475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53477 { (exit 1); exit 1; }; }
53479 cat >conftest.$ac_ext <<_ACEOF
53480 /* confdefs.h. */
53481 _ACEOF
53482 cat confdefs.h >>conftest.$ac_ext
53483 cat >>conftest.$ac_ext <<_ACEOF
53484 /* end confdefs.h. */
53485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53487 #define $ac_func innocuous_$ac_func
53489 /* System header to define __stub macros and hopefully few prototypes,
53490 which can conflict with char $ac_func (); below.
53491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53492 <limits.h> exists even on freestanding compilers. */
53494 #ifdef __STDC__
53495 # include <limits.h>
53496 #else
53497 # include <assert.h>
53498 #endif
53500 #undef $ac_func
53502 /* Override any gcc2 internal prototype to avoid an error. */
53503 #ifdef __cplusplus
53504 extern "C"
53506 #endif
53507 /* We use char because int might match the return type of a gcc2
53508 builtin and then its argument prototype would still apply. */
53509 char $ac_func ();
53510 /* The GNU C library defines this for functions which it implements
53511 to always fail with ENOSYS. Some functions are actually named
53512 something starting with __ and the normal name is an alias. */
53513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53514 choke me
53515 #else
53516 char (*f) () = $ac_func;
53517 #endif
53518 #ifdef __cplusplus
53520 #endif
53523 main ()
53525 return f != $ac_func;
53527 return 0;
53529 _ACEOF
53530 rm -f conftest.$ac_objext conftest$ac_exeext
53531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53532 (eval $ac_link) 2>conftest.er1
53533 ac_status=$?
53534 grep -v '^ *+' conftest.er1 >conftest.err
53535 rm -f conftest.er1
53536 cat conftest.err >&5
53537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53538 (exit $ac_status); } &&
53539 { ac_try='test -z "$ac_c_werror_flag"
53540 || test ! -s conftest.err'
53541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53542 (eval $ac_try) 2>&5
53543 ac_status=$?
53544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53545 (exit $ac_status); }; } &&
53546 { ac_try='test -s conftest$ac_exeext'
53547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53548 (eval $ac_try) 2>&5
53549 ac_status=$?
53550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53551 (exit $ac_status); }; }; then
53552 eval "$as_ac_var=yes"
53553 else
53554 echo "$as_me: failed program was:" >&5
53555 sed 's/^/| /' conftest.$ac_ext >&5
53557 eval "$as_ac_var=no"
53559 rm -f conftest.err conftest.$ac_objext \
53560 conftest$ac_exeext conftest.$ac_ext
53562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53564 if test `eval echo '${'$as_ac_var'}'` = yes; then
53565 cat >>confdefs.h <<_ACEOF
53566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53567 _ACEOF
53570 done
53572 else
53574 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
53575 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
53576 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
53577 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
53578 echo $ECHO_N "(cached) $ECHO_C" >&6
53579 else
53583 ac_ext=cc
53584 ac_cpp='$CXXCPP $CPPFLAGS'
53585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53589 cat >conftest.$ac_ext <<_ACEOF
53590 /* confdefs.h. */
53591 _ACEOF
53592 cat confdefs.h >>conftest.$ac_ext
53593 cat >>conftest.$ac_ext <<_ACEOF
53594 /* end confdefs.h. */
53595 #include <math.h>
53597 main ()
53599 _copysignl(0, 0);
53601 return 0;
53603 _ACEOF
53604 rm -f conftest.$ac_objext
53605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53606 (eval $ac_compile) 2>conftest.er1
53607 ac_status=$?
53608 grep -v '^ *+' conftest.er1 >conftest.err
53609 rm -f conftest.er1
53610 cat conftest.err >&5
53611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53612 (exit $ac_status); } &&
53613 { ac_try='test -z "$ac_cxx_werror_flag"
53614 || test ! -s conftest.err'
53615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53616 (eval $ac_try) 2>&5
53617 ac_status=$?
53618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53619 (exit $ac_status); }; } &&
53620 { ac_try='test -s conftest.$ac_objext'
53621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53622 (eval $ac_try) 2>&5
53623 ac_status=$?
53624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53625 (exit $ac_status); }; }; then
53626 glibcxx_cv_func__copysignl_use=yes
53627 else
53628 echo "$as_me: failed program was:" >&5
53629 sed 's/^/| /' conftest.$ac_ext >&5
53631 glibcxx_cv_func__copysignl_use=no
53633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53634 ac_ext=c
53635 ac_cpp='$CPP $CPPFLAGS'
53636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53644 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
53645 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
53647 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
53649 for ac_func in _copysignl
53651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53652 echo "$as_me:$LINENO: checking for $ac_func" >&5
53653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53654 if eval "test \"\${$as_ac_var+set}\" = set"; then
53655 echo $ECHO_N "(cached) $ECHO_C" >&6
53656 else
53657 if test x$gcc_no_link = xyes; then
53658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53660 { (exit 1); exit 1; }; }
53662 cat >conftest.$ac_ext <<_ACEOF
53663 /* confdefs.h. */
53664 _ACEOF
53665 cat confdefs.h >>conftest.$ac_ext
53666 cat >>conftest.$ac_ext <<_ACEOF
53667 /* end confdefs.h. */
53668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53670 #define $ac_func innocuous_$ac_func
53672 /* System header to define __stub macros and hopefully few prototypes,
53673 which can conflict with char $ac_func (); below.
53674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53675 <limits.h> exists even on freestanding compilers. */
53677 #ifdef __STDC__
53678 # include <limits.h>
53679 #else
53680 # include <assert.h>
53681 #endif
53683 #undef $ac_func
53685 /* Override any gcc2 internal prototype to avoid an error. */
53686 #ifdef __cplusplus
53687 extern "C"
53689 #endif
53690 /* We use char because int might match the return type of a gcc2
53691 builtin and then its argument prototype would still apply. */
53692 char $ac_func ();
53693 /* The GNU C library defines this for functions which it implements
53694 to always fail with ENOSYS. Some functions are actually named
53695 something starting with __ and the normal name is an alias. */
53696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53697 choke me
53698 #else
53699 char (*f) () = $ac_func;
53700 #endif
53701 #ifdef __cplusplus
53703 #endif
53706 main ()
53708 return f != $ac_func;
53710 return 0;
53712 _ACEOF
53713 rm -f conftest.$ac_objext conftest$ac_exeext
53714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53715 (eval $ac_link) 2>conftest.er1
53716 ac_status=$?
53717 grep -v '^ *+' conftest.er1 >conftest.err
53718 rm -f conftest.er1
53719 cat conftest.err >&5
53720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53721 (exit $ac_status); } &&
53722 { ac_try='test -z "$ac_c_werror_flag"
53723 || test ! -s conftest.err'
53724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53725 (eval $ac_try) 2>&5
53726 ac_status=$?
53727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53728 (exit $ac_status); }; } &&
53729 { ac_try='test -s conftest$ac_exeext'
53730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53731 (eval $ac_try) 2>&5
53732 ac_status=$?
53733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53734 (exit $ac_status); }; }; then
53735 eval "$as_ac_var=yes"
53736 else
53737 echo "$as_me: failed program was:" >&5
53738 sed 's/^/| /' conftest.$ac_ext >&5
53740 eval "$as_ac_var=no"
53742 rm -f conftest.err conftest.$ac_objext \
53743 conftest$ac_exeext conftest.$ac_ext
53745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53747 if test `eval echo '${'$as_ac_var'}'` = yes; then
53748 cat >>confdefs.h <<_ACEOF
53749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53750 _ACEOF
53753 done
53763 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
53764 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
53765 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
53766 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
53767 echo $ECHO_N "(cached) $ECHO_C" >&6
53768 else
53772 ac_ext=cc
53773 ac_cpp='$CXXCPP $CPPFLAGS'
53774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53778 cat >conftest.$ac_ext <<_ACEOF
53779 /* confdefs.h. */
53780 _ACEOF
53781 cat confdefs.h >>conftest.$ac_ext
53782 cat >>conftest.$ac_ext <<_ACEOF
53783 /* end confdefs.h. */
53784 #include <math.h>
53786 main ()
53788 atan2l(0, 0);
53790 return 0;
53792 _ACEOF
53793 rm -f conftest.$ac_objext
53794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53795 (eval $ac_compile) 2>conftest.er1
53796 ac_status=$?
53797 grep -v '^ *+' conftest.er1 >conftest.err
53798 rm -f conftest.er1
53799 cat conftest.err >&5
53800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53801 (exit $ac_status); } &&
53802 { ac_try='test -z "$ac_cxx_werror_flag"
53803 || test ! -s conftest.err'
53804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53805 (eval $ac_try) 2>&5
53806 ac_status=$?
53807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53808 (exit $ac_status); }; } &&
53809 { ac_try='test -s conftest.$ac_objext'
53810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53811 (eval $ac_try) 2>&5
53812 ac_status=$?
53813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53814 (exit $ac_status); }; }; then
53815 glibcxx_cv_func_atan2l_use=yes
53816 else
53817 echo "$as_me: failed program was:" >&5
53818 sed 's/^/| /' conftest.$ac_ext >&5
53820 glibcxx_cv_func_atan2l_use=no
53822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53823 ac_ext=c
53824 ac_cpp='$CPP $CPPFLAGS'
53825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53833 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
53834 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
53836 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
53838 for ac_func in atan2l
53840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53841 echo "$as_me:$LINENO: checking for $ac_func" >&5
53842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53843 if eval "test \"\${$as_ac_var+set}\" = set"; then
53844 echo $ECHO_N "(cached) $ECHO_C" >&6
53845 else
53846 if test x$gcc_no_link = xyes; then
53847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53849 { (exit 1); exit 1; }; }
53851 cat >conftest.$ac_ext <<_ACEOF
53852 /* confdefs.h. */
53853 _ACEOF
53854 cat confdefs.h >>conftest.$ac_ext
53855 cat >>conftest.$ac_ext <<_ACEOF
53856 /* end confdefs.h. */
53857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53859 #define $ac_func innocuous_$ac_func
53861 /* System header to define __stub macros and hopefully few prototypes,
53862 which can conflict with char $ac_func (); below.
53863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53864 <limits.h> exists even on freestanding compilers. */
53866 #ifdef __STDC__
53867 # include <limits.h>
53868 #else
53869 # include <assert.h>
53870 #endif
53872 #undef $ac_func
53874 /* Override any gcc2 internal prototype to avoid an error. */
53875 #ifdef __cplusplus
53876 extern "C"
53878 #endif
53879 /* We use char because int might match the return type of a gcc2
53880 builtin and then its argument prototype would still apply. */
53881 char $ac_func ();
53882 /* The GNU C library defines this for functions which it implements
53883 to always fail with ENOSYS. Some functions are actually named
53884 something starting with __ and the normal name is an alias. */
53885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53886 choke me
53887 #else
53888 char (*f) () = $ac_func;
53889 #endif
53890 #ifdef __cplusplus
53892 #endif
53895 main ()
53897 return f != $ac_func;
53899 return 0;
53901 _ACEOF
53902 rm -f conftest.$ac_objext conftest$ac_exeext
53903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53904 (eval $ac_link) 2>conftest.er1
53905 ac_status=$?
53906 grep -v '^ *+' conftest.er1 >conftest.err
53907 rm -f conftest.er1
53908 cat conftest.err >&5
53909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53910 (exit $ac_status); } &&
53911 { ac_try='test -z "$ac_c_werror_flag"
53912 || test ! -s conftest.err'
53913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53914 (eval $ac_try) 2>&5
53915 ac_status=$?
53916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53917 (exit $ac_status); }; } &&
53918 { ac_try='test -s conftest$ac_exeext'
53919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53920 (eval $ac_try) 2>&5
53921 ac_status=$?
53922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53923 (exit $ac_status); }; }; then
53924 eval "$as_ac_var=yes"
53925 else
53926 echo "$as_me: failed program was:" >&5
53927 sed 's/^/| /' conftest.$ac_ext >&5
53929 eval "$as_ac_var=no"
53931 rm -f conftest.err conftest.$ac_objext \
53932 conftest$ac_exeext conftest.$ac_ext
53934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53936 if test `eval echo '${'$as_ac_var'}'` = yes; then
53937 cat >>confdefs.h <<_ACEOF
53938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53939 _ACEOF
53942 done
53944 else
53946 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
53947 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
53948 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
53949 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
53950 echo $ECHO_N "(cached) $ECHO_C" >&6
53951 else
53955 ac_ext=cc
53956 ac_cpp='$CXXCPP $CPPFLAGS'
53957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53961 cat >conftest.$ac_ext <<_ACEOF
53962 /* confdefs.h. */
53963 _ACEOF
53964 cat confdefs.h >>conftest.$ac_ext
53965 cat >>conftest.$ac_ext <<_ACEOF
53966 /* end confdefs.h. */
53967 #include <math.h>
53969 main ()
53971 _atan2l(0, 0);
53973 return 0;
53975 _ACEOF
53976 rm -f conftest.$ac_objext
53977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53978 (eval $ac_compile) 2>conftest.er1
53979 ac_status=$?
53980 grep -v '^ *+' conftest.er1 >conftest.err
53981 rm -f conftest.er1
53982 cat conftest.err >&5
53983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53984 (exit $ac_status); } &&
53985 { ac_try='test -z "$ac_cxx_werror_flag"
53986 || test ! -s conftest.err'
53987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53988 (eval $ac_try) 2>&5
53989 ac_status=$?
53990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53991 (exit $ac_status); }; } &&
53992 { ac_try='test -s conftest.$ac_objext'
53993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53994 (eval $ac_try) 2>&5
53995 ac_status=$?
53996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53997 (exit $ac_status); }; }; then
53998 glibcxx_cv_func__atan2l_use=yes
53999 else
54000 echo "$as_me: failed program was:" >&5
54001 sed 's/^/| /' conftest.$ac_ext >&5
54003 glibcxx_cv_func__atan2l_use=no
54005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54006 ac_ext=c
54007 ac_cpp='$CPP $CPPFLAGS'
54008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54016 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
54017 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
54019 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54021 for ac_func in _atan2l
54023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54024 echo "$as_me:$LINENO: checking for $ac_func" >&5
54025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54026 if eval "test \"\${$as_ac_var+set}\" = set"; then
54027 echo $ECHO_N "(cached) $ECHO_C" >&6
54028 else
54029 if test x$gcc_no_link = xyes; then
54030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54032 { (exit 1); exit 1; }; }
54034 cat >conftest.$ac_ext <<_ACEOF
54035 /* confdefs.h. */
54036 _ACEOF
54037 cat confdefs.h >>conftest.$ac_ext
54038 cat >>conftest.$ac_ext <<_ACEOF
54039 /* end confdefs.h. */
54040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54042 #define $ac_func innocuous_$ac_func
54044 /* System header to define __stub macros and hopefully few prototypes,
54045 which can conflict with char $ac_func (); below.
54046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54047 <limits.h> exists even on freestanding compilers. */
54049 #ifdef __STDC__
54050 # include <limits.h>
54051 #else
54052 # include <assert.h>
54053 #endif
54055 #undef $ac_func
54057 /* Override any gcc2 internal prototype to avoid an error. */
54058 #ifdef __cplusplus
54059 extern "C"
54061 #endif
54062 /* We use char because int might match the return type of a gcc2
54063 builtin and then its argument prototype would still apply. */
54064 char $ac_func ();
54065 /* The GNU C library defines this for functions which it implements
54066 to always fail with ENOSYS. Some functions are actually named
54067 something starting with __ and the normal name is an alias. */
54068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54069 choke me
54070 #else
54071 char (*f) () = $ac_func;
54072 #endif
54073 #ifdef __cplusplus
54075 #endif
54078 main ()
54080 return f != $ac_func;
54082 return 0;
54084 _ACEOF
54085 rm -f conftest.$ac_objext conftest$ac_exeext
54086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54087 (eval $ac_link) 2>conftest.er1
54088 ac_status=$?
54089 grep -v '^ *+' conftest.er1 >conftest.err
54090 rm -f conftest.er1
54091 cat conftest.err >&5
54092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54093 (exit $ac_status); } &&
54094 { ac_try='test -z "$ac_c_werror_flag"
54095 || test ! -s conftest.err'
54096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54097 (eval $ac_try) 2>&5
54098 ac_status=$?
54099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54100 (exit $ac_status); }; } &&
54101 { ac_try='test -s conftest$ac_exeext'
54102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54103 (eval $ac_try) 2>&5
54104 ac_status=$?
54105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54106 (exit $ac_status); }; }; then
54107 eval "$as_ac_var=yes"
54108 else
54109 echo "$as_me: failed program was:" >&5
54110 sed 's/^/| /' conftest.$ac_ext >&5
54112 eval "$as_ac_var=no"
54114 rm -f conftest.err conftest.$ac_objext \
54115 conftest$ac_exeext conftest.$ac_ext
54117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54119 if test `eval echo '${'$as_ac_var'}'` = yes; then
54120 cat >>confdefs.h <<_ACEOF
54121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54122 _ACEOF
54125 done
54135 echo "$as_me:$LINENO: checking for expl declaration" >&5
54136 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
54137 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54138 if test "${glibcxx_cv_func_expl_use+set}" = set; then
54139 echo $ECHO_N "(cached) $ECHO_C" >&6
54140 else
54144 ac_ext=cc
54145 ac_cpp='$CXXCPP $CPPFLAGS'
54146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54150 cat >conftest.$ac_ext <<_ACEOF
54151 /* confdefs.h. */
54152 _ACEOF
54153 cat confdefs.h >>conftest.$ac_ext
54154 cat >>conftest.$ac_ext <<_ACEOF
54155 /* end confdefs.h. */
54156 #include <math.h>
54157 #ifdef HAVE_IEEEFP_H
54158 #include <ieeefp.h>
54159 #endif
54162 main ()
54164 expl(0);
54166 return 0;
54168 _ACEOF
54169 rm -f conftest.$ac_objext
54170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54171 (eval $ac_compile) 2>conftest.er1
54172 ac_status=$?
54173 grep -v '^ *+' conftest.er1 >conftest.err
54174 rm -f conftest.er1
54175 cat conftest.err >&5
54176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54177 (exit $ac_status); } &&
54178 { ac_try='test -z "$ac_cxx_werror_flag"
54179 || test ! -s conftest.err'
54180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54181 (eval $ac_try) 2>&5
54182 ac_status=$?
54183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54184 (exit $ac_status); }; } &&
54185 { ac_try='test -s conftest.$ac_objext'
54186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54187 (eval $ac_try) 2>&5
54188 ac_status=$?
54189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54190 (exit $ac_status); }; }; then
54191 glibcxx_cv_func_expl_use=yes
54192 else
54193 echo "$as_me: failed program was:" >&5
54194 sed 's/^/| /' conftest.$ac_ext >&5
54196 glibcxx_cv_func_expl_use=no
54198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54199 ac_ext=c
54200 ac_cpp='$CPP $CPPFLAGS'
54201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54209 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
54210 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
54212 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54214 for ac_func in expl
54216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54217 echo "$as_me:$LINENO: checking for $ac_func" >&5
54218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54219 if eval "test \"\${$as_ac_var+set}\" = set"; then
54220 echo $ECHO_N "(cached) $ECHO_C" >&6
54221 else
54222 if test x$gcc_no_link = xyes; then
54223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54225 { (exit 1); exit 1; }; }
54227 cat >conftest.$ac_ext <<_ACEOF
54228 /* confdefs.h. */
54229 _ACEOF
54230 cat confdefs.h >>conftest.$ac_ext
54231 cat >>conftest.$ac_ext <<_ACEOF
54232 /* end confdefs.h. */
54233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54235 #define $ac_func innocuous_$ac_func
54237 /* System header to define __stub macros and hopefully few prototypes,
54238 which can conflict with char $ac_func (); below.
54239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54240 <limits.h> exists even on freestanding compilers. */
54242 #ifdef __STDC__
54243 # include <limits.h>
54244 #else
54245 # include <assert.h>
54246 #endif
54248 #undef $ac_func
54250 /* Override any gcc2 internal prototype to avoid an error. */
54251 #ifdef __cplusplus
54252 extern "C"
54254 #endif
54255 /* We use char because int might match the return type of a gcc2
54256 builtin and then its argument prototype would still apply. */
54257 char $ac_func ();
54258 /* The GNU C library defines this for functions which it implements
54259 to always fail with ENOSYS. Some functions are actually named
54260 something starting with __ and the normal name is an alias. */
54261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54262 choke me
54263 #else
54264 char (*f) () = $ac_func;
54265 #endif
54266 #ifdef __cplusplus
54268 #endif
54271 main ()
54273 return f != $ac_func;
54275 return 0;
54277 _ACEOF
54278 rm -f conftest.$ac_objext conftest$ac_exeext
54279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54280 (eval $ac_link) 2>conftest.er1
54281 ac_status=$?
54282 grep -v '^ *+' conftest.er1 >conftest.err
54283 rm -f conftest.er1
54284 cat conftest.err >&5
54285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54286 (exit $ac_status); } &&
54287 { ac_try='test -z "$ac_c_werror_flag"
54288 || test ! -s conftest.err'
54289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54290 (eval $ac_try) 2>&5
54291 ac_status=$?
54292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54293 (exit $ac_status); }; } &&
54294 { ac_try='test -s conftest$ac_exeext'
54295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54296 (eval $ac_try) 2>&5
54297 ac_status=$?
54298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54299 (exit $ac_status); }; }; then
54300 eval "$as_ac_var=yes"
54301 else
54302 echo "$as_me: failed program was:" >&5
54303 sed 's/^/| /' conftest.$ac_ext >&5
54305 eval "$as_ac_var=no"
54307 rm -f conftest.err conftest.$ac_objext \
54308 conftest$ac_exeext conftest.$ac_ext
54310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54312 if test `eval echo '${'$as_ac_var'}'` = yes; then
54313 cat >>confdefs.h <<_ACEOF
54314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54315 _ACEOF
54318 done
54320 else
54322 echo "$as_me:$LINENO: checking for _expl declaration" >&5
54323 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
54324 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54325 if test "${glibcxx_cv_func__expl_use+set}" = set; then
54326 echo $ECHO_N "(cached) $ECHO_C" >&6
54327 else
54331 ac_ext=cc
54332 ac_cpp='$CXXCPP $CPPFLAGS'
54333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54337 cat >conftest.$ac_ext <<_ACEOF
54338 /* confdefs.h. */
54339 _ACEOF
54340 cat confdefs.h >>conftest.$ac_ext
54341 cat >>conftest.$ac_ext <<_ACEOF
54342 /* end confdefs.h. */
54343 #include <math.h>
54344 #ifdef HAVE_IEEEFP_H
54345 #include <ieeefp.h>
54346 #endif
54349 main ()
54351 _expl(0);
54353 return 0;
54355 _ACEOF
54356 rm -f conftest.$ac_objext
54357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54358 (eval $ac_compile) 2>conftest.er1
54359 ac_status=$?
54360 grep -v '^ *+' conftest.er1 >conftest.err
54361 rm -f conftest.er1
54362 cat conftest.err >&5
54363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54364 (exit $ac_status); } &&
54365 { ac_try='test -z "$ac_cxx_werror_flag"
54366 || test ! -s conftest.err'
54367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54368 (eval $ac_try) 2>&5
54369 ac_status=$?
54370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54371 (exit $ac_status); }; } &&
54372 { ac_try='test -s conftest.$ac_objext'
54373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54374 (eval $ac_try) 2>&5
54375 ac_status=$?
54376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54377 (exit $ac_status); }; }; then
54378 glibcxx_cv_func__expl_use=yes
54379 else
54380 echo "$as_me: failed program was:" >&5
54381 sed 's/^/| /' conftest.$ac_ext >&5
54383 glibcxx_cv_func__expl_use=no
54385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54386 ac_ext=c
54387 ac_cpp='$CPP $CPPFLAGS'
54388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54396 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
54397 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
54399 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54401 for ac_func in _expl
54403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54404 echo "$as_me:$LINENO: checking for $ac_func" >&5
54405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54406 if eval "test \"\${$as_ac_var+set}\" = set"; then
54407 echo $ECHO_N "(cached) $ECHO_C" >&6
54408 else
54409 if test x$gcc_no_link = xyes; then
54410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54412 { (exit 1); exit 1; }; }
54414 cat >conftest.$ac_ext <<_ACEOF
54415 /* confdefs.h. */
54416 _ACEOF
54417 cat confdefs.h >>conftest.$ac_ext
54418 cat >>conftest.$ac_ext <<_ACEOF
54419 /* end confdefs.h. */
54420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54422 #define $ac_func innocuous_$ac_func
54424 /* System header to define __stub macros and hopefully few prototypes,
54425 which can conflict with char $ac_func (); below.
54426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54427 <limits.h> exists even on freestanding compilers. */
54429 #ifdef __STDC__
54430 # include <limits.h>
54431 #else
54432 # include <assert.h>
54433 #endif
54435 #undef $ac_func
54437 /* Override any gcc2 internal prototype to avoid an error. */
54438 #ifdef __cplusplus
54439 extern "C"
54441 #endif
54442 /* We use char because int might match the return type of a gcc2
54443 builtin and then its argument prototype would still apply. */
54444 char $ac_func ();
54445 /* The GNU C library defines this for functions which it implements
54446 to always fail with ENOSYS. Some functions are actually named
54447 something starting with __ and the normal name is an alias. */
54448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54449 choke me
54450 #else
54451 char (*f) () = $ac_func;
54452 #endif
54453 #ifdef __cplusplus
54455 #endif
54458 main ()
54460 return f != $ac_func;
54462 return 0;
54464 _ACEOF
54465 rm -f conftest.$ac_objext conftest$ac_exeext
54466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54467 (eval $ac_link) 2>conftest.er1
54468 ac_status=$?
54469 grep -v '^ *+' conftest.er1 >conftest.err
54470 rm -f conftest.er1
54471 cat conftest.err >&5
54472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54473 (exit $ac_status); } &&
54474 { ac_try='test -z "$ac_c_werror_flag"
54475 || test ! -s conftest.err'
54476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54477 (eval $ac_try) 2>&5
54478 ac_status=$?
54479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54480 (exit $ac_status); }; } &&
54481 { ac_try='test -s conftest$ac_exeext'
54482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54483 (eval $ac_try) 2>&5
54484 ac_status=$?
54485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54486 (exit $ac_status); }; }; then
54487 eval "$as_ac_var=yes"
54488 else
54489 echo "$as_me: failed program was:" >&5
54490 sed 's/^/| /' conftest.$ac_ext >&5
54492 eval "$as_ac_var=no"
54494 rm -f conftest.err conftest.$ac_objext \
54495 conftest$ac_exeext conftest.$ac_ext
54497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54499 if test `eval echo '${'$as_ac_var'}'` = yes; then
54500 cat >>confdefs.h <<_ACEOF
54501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54502 _ACEOF
54505 done
54515 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
54516 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
54517 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54518 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
54519 echo $ECHO_N "(cached) $ECHO_C" >&6
54520 else
54524 ac_ext=cc
54525 ac_cpp='$CXXCPP $CPPFLAGS'
54526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54530 cat >conftest.$ac_ext <<_ACEOF
54531 /* confdefs.h. */
54532 _ACEOF
54533 cat confdefs.h >>conftest.$ac_ext
54534 cat >>conftest.$ac_ext <<_ACEOF
54535 /* end confdefs.h. */
54536 #include <math.h>
54537 #ifdef HAVE_IEEEFP_H
54538 #include <ieeefp.h>
54539 #endif
54542 main ()
54544 fabsl(0);
54546 return 0;
54548 _ACEOF
54549 rm -f conftest.$ac_objext
54550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54551 (eval $ac_compile) 2>conftest.er1
54552 ac_status=$?
54553 grep -v '^ *+' conftest.er1 >conftest.err
54554 rm -f conftest.er1
54555 cat conftest.err >&5
54556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54557 (exit $ac_status); } &&
54558 { ac_try='test -z "$ac_cxx_werror_flag"
54559 || test ! -s conftest.err'
54560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54561 (eval $ac_try) 2>&5
54562 ac_status=$?
54563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54564 (exit $ac_status); }; } &&
54565 { ac_try='test -s conftest.$ac_objext'
54566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54567 (eval $ac_try) 2>&5
54568 ac_status=$?
54569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54570 (exit $ac_status); }; }; then
54571 glibcxx_cv_func_fabsl_use=yes
54572 else
54573 echo "$as_me: failed program was:" >&5
54574 sed 's/^/| /' conftest.$ac_ext >&5
54576 glibcxx_cv_func_fabsl_use=no
54578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54579 ac_ext=c
54580 ac_cpp='$CPP $CPPFLAGS'
54581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54589 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
54590 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
54592 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
54594 for ac_func in fabsl
54596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54597 echo "$as_me:$LINENO: checking for $ac_func" >&5
54598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54599 if eval "test \"\${$as_ac_var+set}\" = set"; then
54600 echo $ECHO_N "(cached) $ECHO_C" >&6
54601 else
54602 if test x$gcc_no_link = xyes; then
54603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54605 { (exit 1); exit 1; }; }
54607 cat >conftest.$ac_ext <<_ACEOF
54608 /* confdefs.h. */
54609 _ACEOF
54610 cat confdefs.h >>conftest.$ac_ext
54611 cat >>conftest.$ac_ext <<_ACEOF
54612 /* end confdefs.h. */
54613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54615 #define $ac_func innocuous_$ac_func
54617 /* System header to define __stub macros and hopefully few prototypes,
54618 which can conflict with char $ac_func (); below.
54619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54620 <limits.h> exists even on freestanding compilers. */
54622 #ifdef __STDC__
54623 # include <limits.h>
54624 #else
54625 # include <assert.h>
54626 #endif
54628 #undef $ac_func
54630 /* Override any gcc2 internal prototype to avoid an error. */
54631 #ifdef __cplusplus
54632 extern "C"
54634 #endif
54635 /* We use char because int might match the return type of a gcc2
54636 builtin and then its argument prototype would still apply. */
54637 char $ac_func ();
54638 /* The GNU C library defines this for functions which it implements
54639 to always fail with ENOSYS. Some functions are actually named
54640 something starting with __ and the normal name is an alias. */
54641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54642 choke me
54643 #else
54644 char (*f) () = $ac_func;
54645 #endif
54646 #ifdef __cplusplus
54648 #endif
54651 main ()
54653 return f != $ac_func;
54655 return 0;
54657 _ACEOF
54658 rm -f conftest.$ac_objext conftest$ac_exeext
54659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54660 (eval $ac_link) 2>conftest.er1
54661 ac_status=$?
54662 grep -v '^ *+' conftest.er1 >conftest.err
54663 rm -f conftest.er1
54664 cat conftest.err >&5
54665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54666 (exit $ac_status); } &&
54667 { ac_try='test -z "$ac_c_werror_flag"
54668 || test ! -s conftest.err'
54669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54670 (eval $ac_try) 2>&5
54671 ac_status=$?
54672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54673 (exit $ac_status); }; } &&
54674 { ac_try='test -s conftest$ac_exeext'
54675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54676 (eval $ac_try) 2>&5
54677 ac_status=$?
54678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54679 (exit $ac_status); }; }; then
54680 eval "$as_ac_var=yes"
54681 else
54682 echo "$as_me: failed program was:" >&5
54683 sed 's/^/| /' conftest.$ac_ext >&5
54685 eval "$as_ac_var=no"
54687 rm -f conftest.err conftest.$ac_objext \
54688 conftest$ac_exeext conftest.$ac_ext
54690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54692 if test `eval echo '${'$as_ac_var'}'` = yes; then
54693 cat >>confdefs.h <<_ACEOF
54694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54695 _ACEOF
54698 done
54700 else
54702 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
54703 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
54704 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
54705 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
54706 echo $ECHO_N "(cached) $ECHO_C" >&6
54707 else
54711 ac_ext=cc
54712 ac_cpp='$CXXCPP $CPPFLAGS'
54713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54717 cat >conftest.$ac_ext <<_ACEOF
54718 /* confdefs.h. */
54719 _ACEOF
54720 cat confdefs.h >>conftest.$ac_ext
54721 cat >>conftest.$ac_ext <<_ACEOF
54722 /* end confdefs.h. */
54723 #include <math.h>
54724 #ifdef HAVE_IEEEFP_H
54725 #include <ieeefp.h>
54726 #endif
54729 main ()
54731 _fabsl(0);
54733 return 0;
54735 _ACEOF
54736 rm -f conftest.$ac_objext
54737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54738 (eval $ac_compile) 2>conftest.er1
54739 ac_status=$?
54740 grep -v '^ *+' conftest.er1 >conftest.err
54741 rm -f conftest.er1
54742 cat conftest.err >&5
54743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54744 (exit $ac_status); } &&
54745 { ac_try='test -z "$ac_cxx_werror_flag"
54746 || test ! -s conftest.err'
54747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54748 (eval $ac_try) 2>&5
54749 ac_status=$?
54750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54751 (exit $ac_status); }; } &&
54752 { ac_try='test -s conftest.$ac_objext'
54753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54754 (eval $ac_try) 2>&5
54755 ac_status=$?
54756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54757 (exit $ac_status); }; }; then
54758 glibcxx_cv_func__fabsl_use=yes
54759 else
54760 echo "$as_me: failed program was:" >&5
54761 sed 's/^/| /' conftest.$ac_ext >&5
54763 glibcxx_cv_func__fabsl_use=no
54765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54766 ac_ext=c
54767 ac_cpp='$CPP $CPPFLAGS'
54768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54776 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
54777 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
54779 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
54781 for ac_func in _fabsl
54783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54784 echo "$as_me:$LINENO: checking for $ac_func" >&5
54785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54786 if eval "test \"\${$as_ac_var+set}\" = set"; then
54787 echo $ECHO_N "(cached) $ECHO_C" >&6
54788 else
54789 if test x$gcc_no_link = xyes; then
54790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54792 { (exit 1); exit 1; }; }
54794 cat >conftest.$ac_ext <<_ACEOF
54795 /* confdefs.h. */
54796 _ACEOF
54797 cat confdefs.h >>conftest.$ac_ext
54798 cat >>conftest.$ac_ext <<_ACEOF
54799 /* end confdefs.h. */
54800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54802 #define $ac_func innocuous_$ac_func
54804 /* System header to define __stub macros and hopefully few prototypes,
54805 which can conflict with char $ac_func (); below.
54806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54807 <limits.h> exists even on freestanding compilers. */
54809 #ifdef __STDC__
54810 # include <limits.h>
54811 #else
54812 # include <assert.h>
54813 #endif
54815 #undef $ac_func
54817 /* Override any gcc2 internal prototype to avoid an error. */
54818 #ifdef __cplusplus
54819 extern "C"
54821 #endif
54822 /* We use char because int might match the return type of a gcc2
54823 builtin and then its argument prototype would still apply. */
54824 char $ac_func ();
54825 /* The GNU C library defines this for functions which it implements
54826 to always fail with ENOSYS. Some functions are actually named
54827 something starting with __ and the normal name is an alias. */
54828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54829 choke me
54830 #else
54831 char (*f) () = $ac_func;
54832 #endif
54833 #ifdef __cplusplus
54835 #endif
54838 main ()
54840 return f != $ac_func;
54842 return 0;
54844 _ACEOF
54845 rm -f conftest.$ac_objext conftest$ac_exeext
54846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54847 (eval $ac_link) 2>conftest.er1
54848 ac_status=$?
54849 grep -v '^ *+' conftest.er1 >conftest.err
54850 rm -f conftest.er1
54851 cat conftest.err >&5
54852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54853 (exit $ac_status); } &&
54854 { ac_try='test -z "$ac_c_werror_flag"
54855 || test ! -s conftest.err'
54856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54857 (eval $ac_try) 2>&5
54858 ac_status=$?
54859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54860 (exit $ac_status); }; } &&
54861 { ac_try='test -s conftest$ac_exeext'
54862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54863 (eval $ac_try) 2>&5
54864 ac_status=$?
54865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54866 (exit $ac_status); }; }; then
54867 eval "$as_ac_var=yes"
54868 else
54869 echo "$as_me: failed program was:" >&5
54870 sed 's/^/| /' conftest.$ac_ext >&5
54872 eval "$as_ac_var=no"
54874 rm -f conftest.err conftest.$ac_objext \
54875 conftest$ac_exeext conftest.$ac_ext
54877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54879 if test `eval echo '${'$as_ac_var'}'` = yes; then
54880 cat >>confdefs.h <<_ACEOF
54881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54882 _ACEOF
54885 done
54895 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
54896 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
54897 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
54898 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
54899 echo $ECHO_N "(cached) $ECHO_C" >&6
54900 else
54904 ac_ext=cc
54905 ac_cpp='$CXXCPP $CPPFLAGS'
54906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54910 cat >conftest.$ac_ext <<_ACEOF
54911 /* confdefs.h. */
54912 _ACEOF
54913 cat confdefs.h >>conftest.$ac_ext
54914 cat >>conftest.$ac_ext <<_ACEOF
54915 /* end confdefs.h. */
54916 #include <math.h>
54918 main ()
54920 fmodl(0, 0);
54922 return 0;
54924 _ACEOF
54925 rm -f conftest.$ac_objext
54926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54927 (eval $ac_compile) 2>conftest.er1
54928 ac_status=$?
54929 grep -v '^ *+' conftest.er1 >conftest.err
54930 rm -f conftest.er1
54931 cat conftest.err >&5
54932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54933 (exit $ac_status); } &&
54934 { ac_try='test -z "$ac_cxx_werror_flag"
54935 || test ! -s conftest.err'
54936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54937 (eval $ac_try) 2>&5
54938 ac_status=$?
54939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54940 (exit $ac_status); }; } &&
54941 { ac_try='test -s conftest.$ac_objext'
54942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54943 (eval $ac_try) 2>&5
54944 ac_status=$?
54945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54946 (exit $ac_status); }; }; then
54947 glibcxx_cv_func_fmodl_use=yes
54948 else
54949 echo "$as_me: failed program was:" >&5
54950 sed 's/^/| /' conftest.$ac_ext >&5
54952 glibcxx_cv_func_fmodl_use=no
54954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54955 ac_ext=c
54956 ac_cpp='$CPP $CPPFLAGS'
54957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54965 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
54966 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
54968 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
54970 for ac_func in fmodl
54972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54973 echo "$as_me:$LINENO: checking for $ac_func" >&5
54974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54975 if eval "test \"\${$as_ac_var+set}\" = set"; then
54976 echo $ECHO_N "(cached) $ECHO_C" >&6
54977 else
54978 if test x$gcc_no_link = xyes; then
54979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54981 { (exit 1); exit 1; }; }
54983 cat >conftest.$ac_ext <<_ACEOF
54984 /* confdefs.h. */
54985 _ACEOF
54986 cat confdefs.h >>conftest.$ac_ext
54987 cat >>conftest.$ac_ext <<_ACEOF
54988 /* end confdefs.h. */
54989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54991 #define $ac_func innocuous_$ac_func
54993 /* System header to define __stub macros and hopefully few prototypes,
54994 which can conflict with char $ac_func (); below.
54995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54996 <limits.h> exists even on freestanding compilers. */
54998 #ifdef __STDC__
54999 # include <limits.h>
55000 #else
55001 # include <assert.h>
55002 #endif
55004 #undef $ac_func
55006 /* Override any gcc2 internal prototype to avoid an error. */
55007 #ifdef __cplusplus
55008 extern "C"
55010 #endif
55011 /* We use char because int might match the return type of a gcc2
55012 builtin and then its argument prototype would still apply. */
55013 char $ac_func ();
55014 /* The GNU C library defines this for functions which it implements
55015 to always fail with ENOSYS. Some functions are actually named
55016 something starting with __ and the normal name is an alias. */
55017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55018 choke me
55019 #else
55020 char (*f) () = $ac_func;
55021 #endif
55022 #ifdef __cplusplus
55024 #endif
55027 main ()
55029 return f != $ac_func;
55031 return 0;
55033 _ACEOF
55034 rm -f conftest.$ac_objext conftest$ac_exeext
55035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55036 (eval $ac_link) 2>conftest.er1
55037 ac_status=$?
55038 grep -v '^ *+' conftest.er1 >conftest.err
55039 rm -f conftest.er1
55040 cat conftest.err >&5
55041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55042 (exit $ac_status); } &&
55043 { ac_try='test -z "$ac_c_werror_flag"
55044 || test ! -s conftest.err'
55045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55046 (eval $ac_try) 2>&5
55047 ac_status=$?
55048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55049 (exit $ac_status); }; } &&
55050 { ac_try='test -s conftest$ac_exeext'
55051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55052 (eval $ac_try) 2>&5
55053 ac_status=$?
55054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55055 (exit $ac_status); }; }; then
55056 eval "$as_ac_var=yes"
55057 else
55058 echo "$as_me: failed program was:" >&5
55059 sed 's/^/| /' conftest.$ac_ext >&5
55061 eval "$as_ac_var=no"
55063 rm -f conftest.err conftest.$ac_objext \
55064 conftest$ac_exeext conftest.$ac_ext
55066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55068 if test `eval echo '${'$as_ac_var'}'` = yes; then
55069 cat >>confdefs.h <<_ACEOF
55070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55071 _ACEOF
55074 done
55076 else
55078 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
55079 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
55080 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55081 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
55082 echo $ECHO_N "(cached) $ECHO_C" >&6
55083 else
55087 ac_ext=cc
55088 ac_cpp='$CXXCPP $CPPFLAGS'
55089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55093 cat >conftest.$ac_ext <<_ACEOF
55094 /* confdefs.h. */
55095 _ACEOF
55096 cat confdefs.h >>conftest.$ac_ext
55097 cat >>conftest.$ac_ext <<_ACEOF
55098 /* end confdefs.h. */
55099 #include <math.h>
55101 main ()
55103 _fmodl(0, 0);
55105 return 0;
55107 _ACEOF
55108 rm -f conftest.$ac_objext
55109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55110 (eval $ac_compile) 2>conftest.er1
55111 ac_status=$?
55112 grep -v '^ *+' conftest.er1 >conftest.err
55113 rm -f conftest.er1
55114 cat conftest.err >&5
55115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55116 (exit $ac_status); } &&
55117 { ac_try='test -z "$ac_cxx_werror_flag"
55118 || test ! -s conftest.err'
55119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55120 (eval $ac_try) 2>&5
55121 ac_status=$?
55122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55123 (exit $ac_status); }; } &&
55124 { ac_try='test -s conftest.$ac_objext'
55125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55126 (eval $ac_try) 2>&5
55127 ac_status=$?
55128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55129 (exit $ac_status); }; }; then
55130 glibcxx_cv_func__fmodl_use=yes
55131 else
55132 echo "$as_me: failed program was:" >&5
55133 sed 's/^/| /' conftest.$ac_ext >&5
55135 glibcxx_cv_func__fmodl_use=no
55137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55138 ac_ext=c
55139 ac_cpp='$CPP $CPPFLAGS'
55140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55148 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
55149 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
55151 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55153 for ac_func in _fmodl
55155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55156 echo "$as_me:$LINENO: checking for $ac_func" >&5
55157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55158 if eval "test \"\${$as_ac_var+set}\" = set"; then
55159 echo $ECHO_N "(cached) $ECHO_C" >&6
55160 else
55161 if test x$gcc_no_link = xyes; then
55162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55164 { (exit 1); exit 1; }; }
55166 cat >conftest.$ac_ext <<_ACEOF
55167 /* confdefs.h. */
55168 _ACEOF
55169 cat confdefs.h >>conftest.$ac_ext
55170 cat >>conftest.$ac_ext <<_ACEOF
55171 /* end confdefs.h. */
55172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55174 #define $ac_func innocuous_$ac_func
55176 /* System header to define __stub macros and hopefully few prototypes,
55177 which can conflict with char $ac_func (); below.
55178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55179 <limits.h> exists even on freestanding compilers. */
55181 #ifdef __STDC__
55182 # include <limits.h>
55183 #else
55184 # include <assert.h>
55185 #endif
55187 #undef $ac_func
55189 /* Override any gcc2 internal prototype to avoid an error. */
55190 #ifdef __cplusplus
55191 extern "C"
55193 #endif
55194 /* We use char because int might match the return type of a gcc2
55195 builtin and then its argument prototype would still apply. */
55196 char $ac_func ();
55197 /* The GNU C library defines this for functions which it implements
55198 to always fail with ENOSYS. Some functions are actually named
55199 something starting with __ and the normal name is an alias. */
55200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55201 choke me
55202 #else
55203 char (*f) () = $ac_func;
55204 #endif
55205 #ifdef __cplusplus
55207 #endif
55210 main ()
55212 return f != $ac_func;
55214 return 0;
55216 _ACEOF
55217 rm -f conftest.$ac_objext conftest$ac_exeext
55218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55219 (eval $ac_link) 2>conftest.er1
55220 ac_status=$?
55221 grep -v '^ *+' conftest.er1 >conftest.err
55222 rm -f conftest.er1
55223 cat conftest.err >&5
55224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55225 (exit $ac_status); } &&
55226 { ac_try='test -z "$ac_c_werror_flag"
55227 || test ! -s conftest.err'
55228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55229 (eval $ac_try) 2>&5
55230 ac_status=$?
55231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55232 (exit $ac_status); }; } &&
55233 { ac_try='test -s conftest$ac_exeext'
55234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55235 (eval $ac_try) 2>&5
55236 ac_status=$?
55237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55238 (exit $ac_status); }; }; then
55239 eval "$as_ac_var=yes"
55240 else
55241 echo "$as_me: failed program was:" >&5
55242 sed 's/^/| /' conftest.$ac_ext >&5
55244 eval "$as_ac_var=no"
55246 rm -f conftest.err conftest.$ac_objext \
55247 conftest$ac_exeext conftest.$ac_ext
55249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55251 if test `eval echo '${'$as_ac_var'}'` = yes; then
55252 cat >>confdefs.h <<_ACEOF
55253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55254 _ACEOF
55257 done
55267 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
55268 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
55269 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55270 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
55271 echo $ECHO_N "(cached) $ECHO_C" >&6
55272 else
55276 ac_ext=cc
55277 ac_cpp='$CXXCPP $CPPFLAGS'
55278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55282 cat >conftest.$ac_ext <<_ACEOF
55283 /* confdefs.h. */
55284 _ACEOF
55285 cat confdefs.h >>conftest.$ac_ext
55286 cat >>conftest.$ac_ext <<_ACEOF
55287 /* end confdefs.h. */
55288 #include <math.h>
55290 main ()
55292 frexpl(0, 0);
55294 return 0;
55296 _ACEOF
55297 rm -f conftest.$ac_objext
55298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55299 (eval $ac_compile) 2>conftest.er1
55300 ac_status=$?
55301 grep -v '^ *+' conftest.er1 >conftest.err
55302 rm -f conftest.er1
55303 cat conftest.err >&5
55304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55305 (exit $ac_status); } &&
55306 { ac_try='test -z "$ac_cxx_werror_flag"
55307 || test ! -s conftest.err'
55308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55309 (eval $ac_try) 2>&5
55310 ac_status=$?
55311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55312 (exit $ac_status); }; } &&
55313 { ac_try='test -s conftest.$ac_objext'
55314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55315 (eval $ac_try) 2>&5
55316 ac_status=$?
55317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55318 (exit $ac_status); }; }; then
55319 glibcxx_cv_func_frexpl_use=yes
55320 else
55321 echo "$as_me: failed program was:" >&5
55322 sed 's/^/| /' conftest.$ac_ext >&5
55324 glibcxx_cv_func_frexpl_use=no
55326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55327 ac_ext=c
55328 ac_cpp='$CPP $CPPFLAGS'
55329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55337 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
55338 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
55340 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55342 for ac_func in frexpl
55344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55345 echo "$as_me:$LINENO: checking for $ac_func" >&5
55346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55347 if eval "test \"\${$as_ac_var+set}\" = set"; then
55348 echo $ECHO_N "(cached) $ECHO_C" >&6
55349 else
55350 if test x$gcc_no_link = xyes; then
55351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55353 { (exit 1); exit 1; }; }
55355 cat >conftest.$ac_ext <<_ACEOF
55356 /* confdefs.h. */
55357 _ACEOF
55358 cat confdefs.h >>conftest.$ac_ext
55359 cat >>conftest.$ac_ext <<_ACEOF
55360 /* end confdefs.h. */
55361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55363 #define $ac_func innocuous_$ac_func
55365 /* System header to define __stub macros and hopefully few prototypes,
55366 which can conflict with char $ac_func (); below.
55367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55368 <limits.h> exists even on freestanding compilers. */
55370 #ifdef __STDC__
55371 # include <limits.h>
55372 #else
55373 # include <assert.h>
55374 #endif
55376 #undef $ac_func
55378 /* Override any gcc2 internal prototype to avoid an error. */
55379 #ifdef __cplusplus
55380 extern "C"
55382 #endif
55383 /* We use char because int might match the return type of a gcc2
55384 builtin and then its argument prototype would still apply. */
55385 char $ac_func ();
55386 /* The GNU C library defines this for functions which it implements
55387 to always fail with ENOSYS. Some functions are actually named
55388 something starting with __ and the normal name is an alias. */
55389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55390 choke me
55391 #else
55392 char (*f) () = $ac_func;
55393 #endif
55394 #ifdef __cplusplus
55396 #endif
55399 main ()
55401 return f != $ac_func;
55403 return 0;
55405 _ACEOF
55406 rm -f conftest.$ac_objext conftest$ac_exeext
55407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55408 (eval $ac_link) 2>conftest.er1
55409 ac_status=$?
55410 grep -v '^ *+' conftest.er1 >conftest.err
55411 rm -f conftest.er1
55412 cat conftest.err >&5
55413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55414 (exit $ac_status); } &&
55415 { ac_try='test -z "$ac_c_werror_flag"
55416 || test ! -s conftest.err'
55417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55418 (eval $ac_try) 2>&5
55419 ac_status=$?
55420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55421 (exit $ac_status); }; } &&
55422 { ac_try='test -s conftest$ac_exeext'
55423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55424 (eval $ac_try) 2>&5
55425 ac_status=$?
55426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55427 (exit $ac_status); }; }; then
55428 eval "$as_ac_var=yes"
55429 else
55430 echo "$as_me: failed program was:" >&5
55431 sed 's/^/| /' conftest.$ac_ext >&5
55433 eval "$as_ac_var=no"
55435 rm -f conftest.err conftest.$ac_objext \
55436 conftest$ac_exeext conftest.$ac_ext
55438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55440 if test `eval echo '${'$as_ac_var'}'` = yes; then
55441 cat >>confdefs.h <<_ACEOF
55442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55443 _ACEOF
55446 done
55448 else
55450 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
55451 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
55452 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55453 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
55454 echo $ECHO_N "(cached) $ECHO_C" >&6
55455 else
55459 ac_ext=cc
55460 ac_cpp='$CXXCPP $CPPFLAGS'
55461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55465 cat >conftest.$ac_ext <<_ACEOF
55466 /* confdefs.h. */
55467 _ACEOF
55468 cat confdefs.h >>conftest.$ac_ext
55469 cat >>conftest.$ac_ext <<_ACEOF
55470 /* end confdefs.h. */
55471 #include <math.h>
55473 main ()
55475 _frexpl(0, 0);
55477 return 0;
55479 _ACEOF
55480 rm -f conftest.$ac_objext
55481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55482 (eval $ac_compile) 2>conftest.er1
55483 ac_status=$?
55484 grep -v '^ *+' conftest.er1 >conftest.err
55485 rm -f conftest.er1
55486 cat conftest.err >&5
55487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55488 (exit $ac_status); } &&
55489 { ac_try='test -z "$ac_cxx_werror_flag"
55490 || test ! -s conftest.err'
55491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55492 (eval $ac_try) 2>&5
55493 ac_status=$?
55494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55495 (exit $ac_status); }; } &&
55496 { ac_try='test -s conftest.$ac_objext'
55497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55498 (eval $ac_try) 2>&5
55499 ac_status=$?
55500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55501 (exit $ac_status); }; }; then
55502 glibcxx_cv_func__frexpl_use=yes
55503 else
55504 echo "$as_me: failed program was:" >&5
55505 sed 's/^/| /' conftest.$ac_ext >&5
55507 glibcxx_cv_func__frexpl_use=no
55509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55510 ac_ext=c
55511 ac_cpp='$CPP $CPPFLAGS'
55512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55520 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
55521 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
55523 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55525 for ac_func in _frexpl
55527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55528 echo "$as_me:$LINENO: checking for $ac_func" >&5
55529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55530 if eval "test \"\${$as_ac_var+set}\" = set"; then
55531 echo $ECHO_N "(cached) $ECHO_C" >&6
55532 else
55533 if test x$gcc_no_link = xyes; then
55534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55536 { (exit 1); exit 1; }; }
55538 cat >conftest.$ac_ext <<_ACEOF
55539 /* confdefs.h. */
55540 _ACEOF
55541 cat confdefs.h >>conftest.$ac_ext
55542 cat >>conftest.$ac_ext <<_ACEOF
55543 /* end confdefs.h. */
55544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55546 #define $ac_func innocuous_$ac_func
55548 /* System header to define __stub macros and hopefully few prototypes,
55549 which can conflict with char $ac_func (); below.
55550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55551 <limits.h> exists even on freestanding compilers. */
55553 #ifdef __STDC__
55554 # include <limits.h>
55555 #else
55556 # include <assert.h>
55557 #endif
55559 #undef $ac_func
55561 /* Override any gcc2 internal prototype to avoid an error. */
55562 #ifdef __cplusplus
55563 extern "C"
55565 #endif
55566 /* We use char because int might match the return type of a gcc2
55567 builtin and then its argument prototype would still apply. */
55568 char $ac_func ();
55569 /* The GNU C library defines this for functions which it implements
55570 to always fail with ENOSYS. Some functions are actually named
55571 something starting with __ and the normal name is an alias. */
55572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55573 choke me
55574 #else
55575 char (*f) () = $ac_func;
55576 #endif
55577 #ifdef __cplusplus
55579 #endif
55582 main ()
55584 return f != $ac_func;
55586 return 0;
55588 _ACEOF
55589 rm -f conftest.$ac_objext conftest$ac_exeext
55590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55591 (eval $ac_link) 2>conftest.er1
55592 ac_status=$?
55593 grep -v '^ *+' conftest.er1 >conftest.err
55594 rm -f conftest.er1
55595 cat conftest.err >&5
55596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55597 (exit $ac_status); } &&
55598 { ac_try='test -z "$ac_c_werror_flag"
55599 || test ! -s conftest.err'
55600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55601 (eval $ac_try) 2>&5
55602 ac_status=$?
55603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55604 (exit $ac_status); }; } &&
55605 { ac_try='test -s conftest$ac_exeext'
55606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55607 (eval $ac_try) 2>&5
55608 ac_status=$?
55609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55610 (exit $ac_status); }; }; then
55611 eval "$as_ac_var=yes"
55612 else
55613 echo "$as_me: failed program was:" >&5
55614 sed 's/^/| /' conftest.$ac_ext >&5
55616 eval "$as_ac_var=no"
55618 rm -f conftest.err conftest.$ac_objext \
55619 conftest$ac_exeext conftest.$ac_ext
55621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55623 if test `eval echo '${'$as_ac_var'}'` = yes; then
55624 cat >>confdefs.h <<_ACEOF
55625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55626 _ACEOF
55629 done
55639 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
55640 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
55641 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55642 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
55643 echo $ECHO_N "(cached) $ECHO_C" >&6
55644 else
55648 ac_ext=cc
55649 ac_cpp='$CXXCPP $CPPFLAGS'
55650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55654 cat >conftest.$ac_ext <<_ACEOF
55655 /* confdefs.h. */
55656 _ACEOF
55657 cat confdefs.h >>conftest.$ac_ext
55658 cat >>conftest.$ac_ext <<_ACEOF
55659 /* end confdefs.h. */
55660 #include <math.h>
55662 main ()
55664 hypotl(0, 0);
55666 return 0;
55668 _ACEOF
55669 rm -f conftest.$ac_objext
55670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55671 (eval $ac_compile) 2>conftest.er1
55672 ac_status=$?
55673 grep -v '^ *+' conftest.er1 >conftest.err
55674 rm -f conftest.er1
55675 cat conftest.err >&5
55676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55677 (exit $ac_status); } &&
55678 { ac_try='test -z "$ac_cxx_werror_flag"
55679 || test ! -s conftest.err'
55680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55681 (eval $ac_try) 2>&5
55682 ac_status=$?
55683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55684 (exit $ac_status); }; } &&
55685 { ac_try='test -s conftest.$ac_objext'
55686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55687 (eval $ac_try) 2>&5
55688 ac_status=$?
55689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55690 (exit $ac_status); }; }; then
55691 glibcxx_cv_func_hypotl_use=yes
55692 else
55693 echo "$as_me: failed program was:" >&5
55694 sed 's/^/| /' conftest.$ac_ext >&5
55696 glibcxx_cv_func_hypotl_use=no
55698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55699 ac_ext=c
55700 ac_cpp='$CPP $CPPFLAGS'
55701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
55710 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
55712 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55714 for ac_func in hypotl
55716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55717 echo "$as_me:$LINENO: checking for $ac_func" >&5
55718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55719 if eval "test \"\${$as_ac_var+set}\" = set"; then
55720 echo $ECHO_N "(cached) $ECHO_C" >&6
55721 else
55722 if test x$gcc_no_link = xyes; then
55723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55725 { (exit 1); exit 1; }; }
55727 cat >conftest.$ac_ext <<_ACEOF
55728 /* confdefs.h. */
55729 _ACEOF
55730 cat confdefs.h >>conftest.$ac_ext
55731 cat >>conftest.$ac_ext <<_ACEOF
55732 /* end confdefs.h. */
55733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55735 #define $ac_func innocuous_$ac_func
55737 /* System header to define __stub macros and hopefully few prototypes,
55738 which can conflict with char $ac_func (); below.
55739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55740 <limits.h> exists even on freestanding compilers. */
55742 #ifdef __STDC__
55743 # include <limits.h>
55744 #else
55745 # include <assert.h>
55746 #endif
55748 #undef $ac_func
55750 /* Override any gcc2 internal prototype to avoid an error. */
55751 #ifdef __cplusplus
55752 extern "C"
55754 #endif
55755 /* We use char because int might match the return type of a gcc2
55756 builtin and then its argument prototype would still apply. */
55757 char $ac_func ();
55758 /* The GNU C library defines this for functions which it implements
55759 to always fail with ENOSYS. Some functions are actually named
55760 something starting with __ and the normal name is an alias. */
55761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55762 choke me
55763 #else
55764 char (*f) () = $ac_func;
55765 #endif
55766 #ifdef __cplusplus
55768 #endif
55771 main ()
55773 return f != $ac_func;
55775 return 0;
55777 _ACEOF
55778 rm -f conftest.$ac_objext conftest$ac_exeext
55779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55780 (eval $ac_link) 2>conftest.er1
55781 ac_status=$?
55782 grep -v '^ *+' conftest.er1 >conftest.err
55783 rm -f conftest.er1
55784 cat conftest.err >&5
55785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55786 (exit $ac_status); } &&
55787 { ac_try='test -z "$ac_c_werror_flag"
55788 || test ! -s conftest.err'
55789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55790 (eval $ac_try) 2>&5
55791 ac_status=$?
55792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55793 (exit $ac_status); }; } &&
55794 { ac_try='test -s conftest$ac_exeext'
55795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55796 (eval $ac_try) 2>&5
55797 ac_status=$?
55798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55799 (exit $ac_status); }; }; then
55800 eval "$as_ac_var=yes"
55801 else
55802 echo "$as_me: failed program was:" >&5
55803 sed 's/^/| /' conftest.$ac_ext >&5
55805 eval "$as_ac_var=no"
55807 rm -f conftest.err conftest.$ac_objext \
55808 conftest$ac_exeext conftest.$ac_ext
55810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55812 if test `eval echo '${'$as_ac_var'}'` = yes; then
55813 cat >>confdefs.h <<_ACEOF
55814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55815 _ACEOF
55818 done
55820 else
55822 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
55823 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
55824 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55825 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
55826 echo $ECHO_N "(cached) $ECHO_C" >&6
55827 else
55831 ac_ext=cc
55832 ac_cpp='$CXXCPP $CPPFLAGS'
55833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55837 cat >conftest.$ac_ext <<_ACEOF
55838 /* confdefs.h. */
55839 _ACEOF
55840 cat confdefs.h >>conftest.$ac_ext
55841 cat >>conftest.$ac_ext <<_ACEOF
55842 /* end confdefs.h. */
55843 #include <math.h>
55845 main ()
55847 _hypotl(0, 0);
55849 return 0;
55851 _ACEOF
55852 rm -f conftest.$ac_objext
55853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55854 (eval $ac_compile) 2>conftest.er1
55855 ac_status=$?
55856 grep -v '^ *+' conftest.er1 >conftest.err
55857 rm -f conftest.er1
55858 cat conftest.err >&5
55859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55860 (exit $ac_status); } &&
55861 { ac_try='test -z "$ac_cxx_werror_flag"
55862 || test ! -s conftest.err'
55863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55864 (eval $ac_try) 2>&5
55865 ac_status=$?
55866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55867 (exit $ac_status); }; } &&
55868 { ac_try='test -s conftest.$ac_objext'
55869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55870 (eval $ac_try) 2>&5
55871 ac_status=$?
55872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55873 (exit $ac_status); }; }; then
55874 glibcxx_cv_func__hypotl_use=yes
55875 else
55876 echo "$as_me: failed program was:" >&5
55877 sed 's/^/| /' conftest.$ac_ext >&5
55879 glibcxx_cv_func__hypotl_use=no
55881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55882 ac_ext=c
55883 ac_cpp='$CPP $CPPFLAGS'
55884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55892 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
55893 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
55895 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55897 for ac_func in _hypotl
55899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55900 echo "$as_me:$LINENO: checking for $ac_func" >&5
55901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55902 if eval "test \"\${$as_ac_var+set}\" = set"; then
55903 echo $ECHO_N "(cached) $ECHO_C" >&6
55904 else
55905 if test x$gcc_no_link = xyes; then
55906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55908 { (exit 1); exit 1; }; }
55910 cat >conftest.$ac_ext <<_ACEOF
55911 /* confdefs.h. */
55912 _ACEOF
55913 cat confdefs.h >>conftest.$ac_ext
55914 cat >>conftest.$ac_ext <<_ACEOF
55915 /* end confdefs.h. */
55916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55918 #define $ac_func innocuous_$ac_func
55920 /* System header to define __stub macros and hopefully few prototypes,
55921 which can conflict with char $ac_func (); below.
55922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55923 <limits.h> exists even on freestanding compilers. */
55925 #ifdef __STDC__
55926 # include <limits.h>
55927 #else
55928 # include <assert.h>
55929 #endif
55931 #undef $ac_func
55933 /* Override any gcc2 internal prototype to avoid an error. */
55934 #ifdef __cplusplus
55935 extern "C"
55937 #endif
55938 /* We use char because int might match the return type of a gcc2
55939 builtin and then its argument prototype would still apply. */
55940 char $ac_func ();
55941 /* The GNU C library defines this for functions which it implements
55942 to always fail with ENOSYS. Some functions are actually named
55943 something starting with __ and the normal name is an alias. */
55944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55945 choke me
55946 #else
55947 char (*f) () = $ac_func;
55948 #endif
55949 #ifdef __cplusplus
55951 #endif
55954 main ()
55956 return f != $ac_func;
55958 return 0;
55960 _ACEOF
55961 rm -f conftest.$ac_objext conftest$ac_exeext
55962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55963 (eval $ac_link) 2>conftest.er1
55964 ac_status=$?
55965 grep -v '^ *+' conftest.er1 >conftest.err
55966 rm -f conftest.er1
55967 cat conftest.err >&5
55968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55969 (exit $ac_status); } &&
55970 { ac_try='test -z "$ac_c_werror_flag"
55971 || test ! -s conftest.err'
55972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55973 (eval $ac_try) 2>&5
55974 ac_status=$?
55975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55976 (exit $ac_status); }; } &&
55977 { ac_try='test -s conftest$ac_exeext'
55978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55979 (eval $ac_try) 2>&5
55980 ac_status=$?
55981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55982 (exit $ac_status); }; }; then
55983 eval "$as_ac_var=yes"
55984 else
55985 echo "$as_me: failed program was:" >&5
55986 sed 's/^/| /' conftest.$ac_ext >&5
55988 eval "$as_ac_var=no"
55990 rm -f conftest.err conftest.$ac_objext \
55991 conftest$ac_exeext conftest.$ac_ext
55993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55995 if test `eval echo '${'$as_ac_var'}'` = yes; then
55996 cat >>confdefs.h <<_ACEOF
55997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55998 _ACEOF
56001 done
56011 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
56012 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
56013 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56014 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
56015 echo $ECHO_N "(cached) $ECHO_C" >&6
56016 else
56020 ac_ext=cc
56021 ac_cpp='$CXXCPP $CPPFLAGS'
56022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56026 cat >conftest.$ac_ext <<_ACEOF
56027 /* confdefs.h. */
56028 _ACEOF
56029 cat confdefs.h >>conftest.$ac_ext
56030 cat >>conftest.$ac_ext <<_ACEOF
56031 /* end confdefs.h. */
56032 #include <math.h>
56034 main ()
56036 ldexpl(0, 0);
56038 return 0;
56040 _ACEOF
56041 rm -f conftest.$ac_objext
56042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56043 (eval $ac_compile) 2>conftest.er1
56044 ac_status=$?
56045 grep -v '^ *+' conftest.er1 >conftest.err
56046 rm -f conftest.er1
56047 cat conftest.err >&5
56048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56049 (exit $ac_status); } &&
56050 { ac_try='test -z "$ac_cxx_werror_flag"
56051 || test ! -s conftest.err'
56052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56053 (eval $ac_try) 2>&5
56054 ac_status=$?
56055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56056 (exit $ac_status); }; } &&
56057 { ac_try='test -s conftest.$ac_objext'
56058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56059 (eval $ac_try) 2>&5
56060 ac_status=$?
56061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56062 (exit $ac_status); }; }; then
56063 glibcxx_cv_func_ldexpl_use=yes
56064 else
56065 echo "$as_me: failed program was:" >&5
56066 sed 's/^/| /' conftest.$ac_ext >&5
56068 glibcxx_cv_func_ldexpl_use=no
56070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56071 ac_ext=c
56072 ac_cpp='$CPP $CPPFLAGS'
56073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56081 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
56082 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
56084 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56086 for ac_func in ldexpl
56088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56089 echo "$as_me:$LINENO: checking for $ac_func" >&5
56090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56091 if eval "test \"\${$as_ac_var+set}\" = set"; then
56092 echo $ECHO_N "(cached) $ECHO_C" >&6
56093 else
56094 if test x$gcc_no_link = xyes; then
56095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56097 { (exit 1); exit 1; }; }
56099 cat >conftest.$ac_ext <<_ACEOF
56100 /* confdefs.h. */
56101 _ACEOF
56102 cat confdefs.h >>conftest.$ac_ext
56103 cat >>conftest.$ac_ext <<_ACEOF
56104 /* end confdefs.h. */
56105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56107 #define $ac_func innocuous_$ac_func
56109 /* System header to define __stub macros and hopefully few prototypes,
56110 which can conflict with char $ac_func (); below.
56111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56112 <limits.h> exists even on freestanding compilers. */
56114 #ifdef __STDC__
56115 # include <limits.h>
56116 #else
56117 # include <assert.h>
56118 #endif
56120 #undef $ac_func
56122 /* Override any gcc2 internal prototype to avoid an error. */
56123 #ifdef __cplusplus
56124 extern "C"
56126 #endif
56127 /* We use char because int might match the return type of a gcc2
56128 builtin and then its argument prototype would still apply. */
56129 char $ac_func ();
56130 /* The GNU C library defines this for functions which it implements
56131 to always fail with ENOSYS. Some functions are actually named
56132 something starting with __ and the normal name is an alias. */
56133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56134 choke me
56135 #else
56136 char (*f) () = $ac_func;
56137 #endif
56138 #ifdef __cplusplus
56140 #endif
56143 main ()
56145 return f != $ac_func;
56147 return 0;
56149 _ACEOF
56150 rm -f conftest.$ac_objext conftest$ac_exeext
56151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56152 (eval $ac_link) 2>conftest.er1
56153 ac_status=$?
56154 grep -v '^ *+' conftest.er1 >conftest.err
56155 rm -f conftest.er1
56156 cat conftest.err >&5
56157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56158 (exit $ac_status); } &&
56159 { ac_try='test -z "$ac_c_werror_flag"
56160 || test ! -s conftest.err'
56161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56162 (eval $ac_try) 2>&5
56163 ac_status=$?
56164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56165 (exit $ac_status); }; } &&
56166 { ac_try='test -s conftest$ac_exeext'
56167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56168 (eval $ac_try) 2>&5
56169 ac_status=$?
56170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56171 (exit $ac_status); }; }; then
56172 eval "$as_ac_var=yes"
56173 else
56174 echo "$as_me: failed program was:" >&5
56175 sed 's/^/| /' conftest.$ac_ext >&5
56177 eval "$as_ac_var=no"
56179 rm -f conftest.err conftest.$ac_objext \
56180 conftest$ac_exeext conftest.$ac_ext
56182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56184 if test `eval echo '${'$as_ac_var'}'` = yes; then
56185 cat >>confdefs.h <<_ACEOF
56186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56187 _ACEOF
56190 done
56192 else
56194 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
56195 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
56196 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56197 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
56198 echo $ECHO_N "(cached) $ECHO_C" >&6
56199 else
56203 ac_ext=cc
56204 ac_cpp='$CXXCPP $CPPFLAGS'
56205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56209 cat >conftest.$ac_ext <<_ACEOF
56210 /* confdefs.h. */
56211 _ACEOF
56212 cat confdefs.h >>conftest.$ac_ext
56213 cat >>conftest.$ac_ext <<_ACEOF
56214 /* end confdefs.h. */
56215 #include <math.h>
56217 main ()
56219 _ldexpl(0, 0);
56221 return 0;
56223 _ACEOF
56224 rm -f conftest.$ac_objext
56225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56226 (eval $ac_compile) 2>conftest.er1
56227 ac_status=$?
56228 grep -v '^ *+' conftest.er1 >conftest.err
56229 rm -f conftest.er1
56230 cat conftest.err >&5
56231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56232 (exit $ac_status); } &&
56233 { ac_try='test -z "$ac_cxx_werror_flag"
56234 || test ! -s conftest.err'
56235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56236 (eval $ac_try) 2>&5
56237 ac_status=$?
56238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56239 (exit $ac_status); }; } &&
56240 { ac_try='test -s conftest.$ac_objext'
56241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56242 (eval $ac_try) 2>&5
56243 ac_status=$?
56244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56245 (exit $ac_status); }; }; then
56246 glibcxx_cv_func__ldexpl_use=yes
56247 else
56248 echo "$as_me: failed program was:" >&5
56249 sed 's/^/| /' conftest.$ac_ext >&5
56251 glibcxx_cv_func__ldexpl_use=no
56253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56254 ac_ext=c
56255 ac_cpp='$CPP $CPPFLAGS'
56256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56264 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
56265 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
56267 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56269 for ac_func in _ldexpl
56271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56272 echo "$as_me:$LINENO: checking for $ac_func" >&5
56273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56274 if eval "test \"\${$as_ac_var+set}\" = set"; then
56275 echo $ECHO_N "(cached) $ECHO_C" >&6
56276 else
56277 if test x$gcc_no_link = xyes; then
56278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56280 { (exit 1); exit 1; }; }
56282 cat >conftest.$ac_ext <<_ACEOF
56283 /* confdefs.h. */
56284 _ACEOF
56285 cat confdefs.h >>conftest.$ac_ext
56286 cat >>conftest.$ac_ext <<_ACEOF
56287 /* end confdefs.h. */
56288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56290 #define $ac_func innocuous_$ac_func
56292 /* System header to define __stub macros and hopefully few prototypes,
56293 which can conflict with char $ac_func (); below.
56294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56295 <limits.h> exists even on freestanding compilers. */
56297 #ifdef __STDC__
56298 # include <limits.h>
56299 #else
56300 # include <assert.h>
56301 #endif
56303 #undef $ac_func
56305 /* Override any gcc2 internal prototype to avoid an error. */
56306 #ifdef __cplusplus
56307 extern "C"
56309 #endif
56310 /* We use char because int might match the return type of a gcc2
56311 builtin and then its argument prototype would still apply. */
56312 char $ac_func ();
56313 /* The GNU C library defines this for functions which it implements
56314 to always fail with ENOSYS. Some functions are actually named
56315 something starting with __ and the normal name is an alias. */
56316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56317 choke me
56318 #else
56319 char (*f) () = $ac_func;
56320 #endif
56321 #ifdef __cplusplus
56323 #endif
56326 main ()
56328 return f != $ac_func;
56330 return 0;
56332 _ACEOF
56333 rm -f conftest.$ac_objext conftest$ac_exeext
56334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56335 (eval $ac_link) 2>conftest.er1
56336 ac_status=$?
56337 grep -v '^ *+' conftest.er1 >conftest.err
56338 rm -f conftest.er1
56339 cat conftest.err >&5
56340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56341 (exit $ac_status); } &&
56342 { ac_try='test -z "$ac_c_werror_flag"
56343 || test ! -s conftest.err'
56344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56345 (eval $ac_try) 2>&5
56346 ac_status=$?
56347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56348 (exit $ac_status); }; } &&
56349 { ac_try='test -s conftest$ac_exeext'
56350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56351 (eval $ac_try) 2>&5
56352 ac_status=$?
56353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56354 (exit $ac_status); }; }; then
56355 eval "$as_ac_var=yes"
56356 else
56357 echo "$as_me: failed program was:" >&5
56358 sed 's/^/| /' conftest.$ac_ext >&5
56360 eval "$as_ac_var=no"
56362 rm -f conftest.err conftest.$ac_objext \
56363 conftest$ac_exeext conftest.$ac_ext
56365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56367 if test `eval echo '${'$as_ac_var'}'` = yes; then
56368 cat >>confdefs.h <<_ACEOF
56369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56370 _ACEOF
56373 done
56383 echo "$as_me:$LINENO: checking for logl declaration" >&5
56384 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
56385 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56386 if test "${glibcxx_cv_func_logl_use+set}" = set; then
56387 echo $ECHO_N "(cached) $ECHO_C" >&6
56388 else
56392 ac_ext=cc
56393 ac_cpp='$CXXCPP $CPPFLAGS'
56394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56398 cat >conftest.$ac_ext <<_ACEOF
56399 /* confdefs.h. */
56400 _ACEOF
56401 cat confdefs.h >>conftest.$ac_ext
56402 cat >>conftest.$ac_ext <<_ACEOF
56403 /* end confdefs.h. */
56404 #include <math.h>
56405 #ifdef HAVE_IEEEFP_H
56406 #include <ieeefp.h>
56407 #endif
56410 main ()
56412 logl(0);
56414 return 0;
56416 _ACEOF
56417 rm -f conftest.$ac_objext
56418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56419 (eval $ac_compile) 2>conftest.er1
56420 ac_status=$?
56421 grep -v '^ *+' conftest.er1 >conftest.err
56422 rm -f conftest.er1
56423 cat conftest.err >&5
56424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56425 (exit $ac_status); } &&
56426 { ac_try='test -z "$ac_cxx_werror_flag"
56427 || test ! -s conftest.err'
56428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56429 (eval $ac_try) 2>&5
56430 ac_status=$?
56431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56432 (exit $ac_status); }; } &&
56433 { ac_try='test -s conftest.$ac_objext'
56434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56435 (eval $ac_try) 2>&5
56436 ac_status=$?
56437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56438 (exit $ac_status); }; }; then
56439 glibcxx_cv_func_logl_use=yes
56440 else
56441 echo "$as_me: failed program was:" >&5
56442 sed 's/^/| /' conftest.$ac_ext >&5
56444 glibcxx_cv_func_logl_use=no
56446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56447 ac_ext=c
56448 ac_cpp='$CPP $CPPFLAGS'
56449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56457 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
56458 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
56460 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56462 for ac_func in logl
56464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56465 echo "$as_me:$LINENO: checking for $ac_func" >&5
56466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56467 if eval "test \"\${$as_ac_var+set}\" = set"; then
56468 echo $ECHO_N "(cached) $ECHO_C" >&6
56469 else
56470 if test x$gcc_no_link = xyes; then
56471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56473 { (exit 1); exit 1; }; }
56475 cat >conftest.$ac_ext <<_ACEOF
56476 /* confdefs.h. */
56477 _ACEOF
56478 cat confdefs.h >>conftest.$ac_ext
56479 cat >>conftest.$ac_ext <<_ACEOF
56480 /* end confdefs.h. */
56481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56483 #define $ac_func innocuous_$ac_func
56485 /* System header to define __stub macros and hopefully few prototypes,
56486 which can conflict with char $ac_func (); below.
56487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56488 <limits.h> exists even on freestanding compilers. */
56490 #ifdef __STDC__
56491 # include <limits.h>
56492 #else
56493 # include <assert.h>
56494 #endif
56496 #undef $ac_func
56498 /* Override any gcc2 internal prototype to avoid an error. */
56499 #ifdef __cplusplus
56500 extern "C"
56502 #endif
56503 /* We use char because int might match the return type of a gcc2
56504 builtin and then its argument prototype would still apply. */
56505 char $ac_func ();
56506 /* The GNU C library defines this for functions which it implements
56507 to always fail with ENOSYS. Some functions are actually named
56508 something starting with __ and the normal name is an alias. */
56509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56510 choke me
56511 #else
56512 char (*f) () = $ac_func;
56513 #endif
56514 #ifdef __cplusplus
56516 #endif
56519 main ()
56521 return f != $ac_func;
56523 return 0;
56525 _ACEOF
56526 rm -f conftest.$ac_objext conftest$ac_exeext
56527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56528 (eval $ac_link) 2>conftest.er1
56529 ac_status=$?
56530 grep -v '^ *+' conftest.er1 >conftest.err
56531 rm -f conftest.er1
56532 cat conftest.err >&5
56533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56534 (exit $ac_status); } &&
56535 { ac_try='test -z "$ac_c_werror_flag"
56536 || test ! -s conftest.err'
56537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56538 (eval $ac_try) 2>&5
56539 ac_status=$?
56540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56541 (exit $ac_status); }; } &&
56542 { ac_try='test -s conftest$ac_exeext'
56543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56544 (eval $ac_try) 2>&5
56545 ac_status=$?
56546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56547 (exit $ac_status); }; }; then
56548 eval "$as_ac_var=yes"
56549 else
56550 echo "$as_me: failed program was:" >&5
56551 sed 's/^/| /' conftest.$ac_ext >&5
56553 eval "$as_ac_var=no"
56555 rm -f conftest.err conftest.$ac_objext \
56556 conftest$ac_exeext conftest.$ac_ext
56558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56560 if test `eval echo '${'$as_ac_var'}'` = yes; then
56561 cat >>confdefs.h <<_ACEOF
56562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56563 _ACEOF
56566 done
56568 else
56570 echo "$as_me:$LINENO: checking for _logl declaration" >&5
56571 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
56572 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56573 if test "${glibcxx_cv_func__logl_use+set}" = set; then
56574 echo $ECHO_N "(cached) $ECHO_C" >&6
56575 else
56579 ac_ext=cc
56580 ac_cpp='$CXXCPP $CPPFLAGS'
56581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56585 cat >conftest.$ac_ext <<_ACEOF
56586 /* confdefs.h. */
56587 _ACEOF
56588 cat confdefs.h >>conftest.$ac_ext
56589 cat >>conftest.$ac_ext <<_ACEOF
56590 /* end confdefs.h. */
56591 #include <math.h>
56592 #ifdef HAVE_IEEEFP_H
56593 #include <ieeefp.h>
56594 #endif
56597 main ()
56599 _logl(0);
56601 return 0;
56603 _ACEOF
56604 rm -f conftest.$ac_objext
56605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56606 (eval $ac_compile) 2>conftest.er1
56607 ac_status=$?
56608 grep -v '^ *+' conftest.er1 >conftest.err
56609 rm -f conftest.er1
56610 cat conftest.err >&5
56611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56612 (exit $ac_status); } &&
56613 { ac_try='test -z "$ac_cxx_werror_flag"
56614 || test ! -s conftest.err'
56615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56616 (eval $ac_try) 2>&5
56617 ac_status=$?
56618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56619 (exit $ac_status); }; } &&
56620 { ac_try='test -s conftest.$ac_objext'
56621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56622 (eval $ac_try) 2>&5
56623 ac_status=$?
56624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56625 (exit $ac_status); }; }; then
56626 glibcxx_cv_func__logl_use=yes
56627 else
56628 echo "$as_me: failed program was:" >&5
56629 sed 's/^/| /' conftest.$ac_ext >&5
56631 glibcxx_cv_func__logl_use=no
56633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56634 ac_ext=c
56635 ac_cpp='$CPP $CPPFLAGS'
56636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56644 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
56645 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
56647 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56649 for ac_func in _logl
56651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56652 echo "$as_me:$LINENO: checking for $ac_func" >&5
56653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56654 if eval "test \"\${$as_ac_var+set}\" = set"; then
56655 echo $ECHO_N "(cached) $ECHO_C" >&6
56656 else
56657 if test x$gcc_no_link = xyes; then
56658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56660 { (exit 1); exit 1; }; }
56662 cat >conftest.$ac_ext <<_ACEOF
56663 /* confdefs.h. */
56664 _ACEOF
56665 cat confdefs.h >>conftest.$ac_ext
56666 cat >>conftest.$ac_ext <<_ACEOF
56667 /* end confdefs.h. */
56668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56670 #define $ac_func innocuous_$ac_func
56672 /* System header to define __stub macros and hopefully few prototypes,
56673 which can conflict with char $ac_func (); below.
56674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56675 <limits.h> exists even on freestanding compilers. */
56677 #ifdef __STDC__
56678 # include <limits.h>
56679 #else
56680 # include <assert.h>
56681 #endif
56683 #undef $ac_func
56685 /* Override any gcc2 internal prototype to avoid an error. */
56686 #ifdef __cplusplus
56687 extern "C"
56689 #endif
56690 /* We use char because int might match the return type of a gcc2
56691 builtin and then its argument prototype would still apply. */
56692 char $ac_func ();
56693 /* The GNU C library defines this for functions which it implements
56694 to always fail with ENOSYS. Some functions are actually named
56695 something starting with __ and the normal name is an alias. */
56696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56697 choke me
56698 #else
56699 char (*f) () = $ac_func;
56700 #endif
56701 #ifdef __cplusplus
56703 #endif
56706 main ()
56708 return f != $ac_func;
56710 return 0;
56712 _ACEOF
56713 rm -f conftest.$ac_objext conftest$ac_exeext
56714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56715 (eval $ac_link) 2>conftest.er1
56716 ac_status=$?
56717 grep -v '^ *+' conftest.er1 >conftest.err
56718 rm -f conftest.er1
56719 cat conftest.err >&5
56720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56721 (exit $ac_status); } &&
56722 { ac_try='test -z "$ac_c_werror_flag"
56723 || test ! -s conftest.err'
56724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56725 (eval $ac_try) 2>&5
56726 ac_status=$?
56727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56728 (exit $ac_status); }; } &&
56729 { ac_try='test -s conftest$ac_exeext'
56730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56731 (eval $ac_try) 2>&5
56732 ac_status=$?
56733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56734 (exit $ac_status); }; }; then
56735 eval "$as_ac_var=yes"
56736 else
56737 echo "$as_me: failed program was:" >&5
56738 sed 's/^/| /' conftest.$ac_ext >&5
56740 eval "$as_ac_var=no"
56742 rm -f conftest.err conftest.$ac_objext \
56743 conftest$ac_exeext conftest.$ac_ext
56745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56747 if test `eval echo '${'$as_ac_var'}'` = yes; then
56748 cat >>confdefs.h <<_ACEOF
56749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56750 _ACEOF
56753 done
56763 echo "$as_me:$LINENO: checking for log10l declaration" >&5
56764 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
56765 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56766 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
56767 echo $ECHO_N "(cached) $ECHO_C" >&6
56768 else
56772 ac_ext=cc
56773 ac_cpp='$CXXCPP $CPPFLAGS'
56774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56778 cat >conftest.$ac_ext <<_ACEOF
56779 /* confdefs.h. */
56780 _ACEOF
56781 cat confdefs.h >>conftest.$ac_ext
56782 cat >>conftest.$ac_ext <<_ACEOF
56783 /* end confdefs.h. */
56784 #include <math.h>
56785 #ifdef HAVE_IEEEFP_H
56786 #include <ieeefp.h>
56787 #endif
56790 main ()
56792 log10l(0);
56794 return 0;
56796 _ACEOF
56797 rm -f conftest.$ac_objext
56798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56799 (eval $ac_compile) 2>conftest.er1
56800 ac_status=$?
56801 grep -v '^ *+' conftest.er1 >conftest.err
56802 rm -f conftest.er1
56803 cat conftest.err >&5
56804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56805 (exit $ac_status); } &&
56806 { ac_try='test -z "$ac_cxx_werror_flag"
56807 || test ! -s conftest.err'
56808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56809 (eval $ac_try) 2>&5
56810 ac_status=$?
56811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56812 (exit $ac_status); }; } &&
56813 { ac_try='test -s conftest.$ac_objext'
56814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56815 (eval $ac_try) 2>&5
56816 ac_status=$?
56817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56818 (exit $ac_status); }; }; then
56819 glibcxx_cv_func_log10l_use=yes
56820 else
56821 echo "$as_me: failed program was:" >&5
56822 sed 's/^/| /' conftest.$ac_ext >&5
56824 glibcxx_cv_func_log10l_use=no
56826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56827 ac_ext=c
56828 ac_cpp='$CPP $CPPFLAGS'
56829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56837 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
56838 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
56840 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56842 for ac_func in log10l
56844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56845 echo "$as_me:$LINENO: checking for $ac_func" >&5
56846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56847 if eval "test \"\${$as_ac_var+set}\" = set"; then
56848 echo $ECHO_N "(cached) $ECHO_C" >&6
56849 else
56850 if test x$gcc_no_link = xyes; then
56851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56853 { (exit 1); exit 1; }; }
56855 cat >conftest.$ac_ext <<_ACEOF
56856 /* confdefs.h. */
56857 _ACEOF
56858 cat confdefs.h >>conftest.$ac_ext
56859 cat >>conftest.$ac_ext <<_ACEOF
56860 /* end confdefs.h. */
56861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56863 #define $ac_func innocuous_$ac_func
56865 /* System header to define __stub macros and hopefully few prototypes,
56866 which can conflict with char $ac_func (); below.
56867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56868 <limits.h> exists even on freestanding compilers. */
56870 #ifdef __STDC__
56871 # include <limits.h>
56872 #else
56873 # include <assert.h>
56874 #endif
56876 #undef $ac_func
56878 /* Override any gcc2 internal prototype to avoid an error. */
56879 #ifdef __cplusplus
56880 extern "C"
56882 #endif
56883 /* We use char because int might match the return type of a gcc2
56884 builtin and then its argument prototype would still apply. */
56885 char $ac_func ();
56886 /* The GNU C library defines this for functions which it implements
56887 to always fail with ENOSYS. Some functions are actually named
56888 something starting with __ and the normal name is an alias. */
56889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56890 choke me
56891 #else
56892 char (*f) () = $ac_func;
56893 #endif
56894 #ifdef __cplusplus
56896 #endif
56899 main ()
56901 return f != $ac_func;
56903 return 0;
56905 _ACEOF
56906 rm -f conftest.$ac_objext conftest$ac_exeext
56907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56908 (eval $ac_link) 2>conftest.er1
56909 ac_status=$?
56910 grep -v '^ *+' conftest.er1 >conftest.err
56911 rm -f conftest.er1
56912 cat conftest.err >&5
56913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56914 (exit $ac_status); } &&
56915 { ac_try='test -z "$ac_c_werror_flag"
56916 || test ! -s conftest.err'
56917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56918 (eval $ac_try) 2>&5
56919 ac_status=$?
56920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56921 (exit $ac_status); }; } &&
56922 { ac_try='test -s conftest$ac_exeext'
56923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56924 (eval $ac_try) 2>&5
56925 ac_status=$?
56926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56927 (exit $ac_status); }; }; then
56928 eval "$as_ac_var=yes"
56929 else
56930 echo "$as_me: failed program was:" >&5
56931 sed 's/^/| /' conftest.$ac_ext >&5
56933 eval "$as_ac_var=no"
56935 rm -f conftest.err conftest.$ac_objext \
56936 conftest$ac_exeext conftest.$ac_ext
56938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56940 if test `eval echo '${'$as_ac_var'}'` = yes; then
56941 cat >>confdefs.h <<_ACEOF
56942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56943 _ACEOF
56946 done
56948 else
56950 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
56951 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
56952 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56953 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
56954 echo $ECHO_N "(cached) $ECHO_C" >&6
56955 else
56959 ac_ext=cc
56960 ac_cpp='$CXXCPP $CPPFLAGS'
56961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56965 cat >conftest.$ac_ext <<_ACEOF
56966 /* confdefs.h. */
56967 _ACEOF
56968 cat confdefs.h >>conftest.$ac_ext
56969 cat >>conftest.$ac_ext <<_ACEOF
56970 /* end confdefs.h. */
56971 #include <math.h>
56972 #ifdef HAVE_IEEEFP_H
56973 #include <ieeefp.h>
56974 #endif
56977 main ()
56979 _log10l(0);
56981 return 0;
56983 _ACEOF
56984 rm -f conftest.$ac_objext
56985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56986 (eval $ac_compile) 2>conftest.er1
56987 ac_status=$?
56988 grep -v '^ *+' conftest.er1 >conftest.err
56989 rm -f conftest.er1
56990 cat conftest.err >&5
56991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56992 (exit $ac_status); } &&
56993 { ac_try='test -z "$ac_cxx_werror_flag"
56994 || test ! -s conftest.err'
56995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56996 (eval $ac_try) 2>&5
56997 ac_status=$?
56998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56999 (exit $ac_status); }; } &&
57000 { ac_try='test -s conftest.$ac_objext'
57001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57002 (eval $ac_try) 2>&5
57003 ac_status=$?
57004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57005 (exit $ac_status); }; }; then
57006 glibcxx_cv_func__log10l_use=yes
57007 else
57008 echo "$as_me: failed program was:" >&5
57009 sed 's/^/| /' conftest.$ac_ext >&5
57011 glibcxx_cv_func__log10l_use=no
57013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57014 ac_ext=c
57015 ac_cpp='$CPP $CPPFLAGS'
57016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57024 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
57025 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
57027 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57029 for ac_func in _log10l
57031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57032 echo "$as_me:$LINENO: checking for $ac_func" >&5
57033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57034 if eval "test \"\${$as_ac_var+set}\" = set"; then
57035 echo $ECHO_N "(cached) $ECHO_C" >&6
57036 else
57037 if test x$gcc_no_link = xyes; then
57038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57040 { (exit 1); exit 1; }; }
57042 cat >conftest.$ac_ext <<_ACEOF
57043 /* confdefs.h. */
57044 _ACEOF
57045 cat confdefs.h >>conftest.$ac_ext
57046 cat >>conftest.$ac_ext <<_ACEOF
57047 /* end confdefs.h. */
57048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57050 #define $ac_func innocuous_$ac_func
57052 /* System header to define __stub macros and hopefully few prototypes,
57053 which can conflict with char $ac_func (); below.
57054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57055 <limits.h> exists even on freestanding compilers. */
57057 #ifdef __STDC__
57058 # include <limits.h>
57059 #else
57060 # include <assert.h>
57061 #endif
57063 #undef $ac_func
57065 /* Override any gcc2 internal prototype to avoid an error. */
57066 #ifdef __cplusplus
57067 extern "C"
57069 #endif
57070 /* We use char because int might match the return type of a gcc2
57071 builtin and then its argument prototype would still apply. */
57072 char $ac_func ();
57073 /* The GNU C library defines this for functions which it implements
57074 to always fail with ENOSYS. Some functions are actually named
57075 something starting with __ and the normal name is an alias. */
57076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57077 choke me
57078 #else
57079 char (*f) () = $ac_func;
57080 #endif
57081 #ifdef __cplusplus
57083 #endif
57086 main ()
57088 return f != $ac_func;
57090 return 0;
57092 _ACEOF
57093 rm -f conftest.$ac_objext conftest$ac_exeext
57094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57095 (eval $ac_link) 2>conftest.er1
57096 ac_status=$?
57097 grep -v '^ *+' conftest.er1 >conftest.err
57098 rm -f conftest.er1
57099 cat conftest.err >&5
57100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57101 (exit $ac_status); } &&
57102 { ac_try='test -z "$ac_c_werror_flag"
57103 || test ! -s conftest.err'
57104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57105 (eval $ac_try) 2>&5
57106 ac_status=$?
57107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57108 (exit $ac_status); }; } &&
57109 { ac_try='test -s conftest$ac_exeext'
57110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57111 (eval $ac_try) 2>&5
57112 ac_status=$?
57113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57114 (exit $ac_status); }; }; then
57115 eval "$as_ac_var=yes"
57116 else
57117 echo "$as_me: failed program was:" >&5
57118 sed 's/^/| /' conftest.$ac_ext >&5
57120 eval "$as_ac_var=no"
57122 rm -f conftest.err conftest.$ac_objext \
57123 conftest$ac_exeext conftest.$ac_ext
57125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57127 if test `eval echo '${'$as_ac_var'}'` = yes; then
57128 cat >>confdefs.h <<_ACEOF
57129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57130 _ACEOF
57133 done
57143 echo "$as_me:$LINENO: checking for modfl declaration" >&5
57144 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
57145 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57146 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
57147 echo $ECHO_N "(cached) $ECHO_C" >&6
57148 else
57152 ac_ext=cc
57153 ac_cpp='$CXXCPP $CPPFLAGS'
57154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57158 cat >conftest.$ac_ext <<_ACEOF
57159 /* confdefs.h. */
57160 _ACEOF
57161 cat confdefs.h >>conftest.$ac_ext
57162 cat >>conftest.$ac_ext <<_ACEOF
57163 /* end confdefs.h. */
57164 #include <math.h>
57166 main ()
57168 modfl(0, 0);
57170 return 0;
57172 _ACEOF
57173 rm -f conftest.$ac_objext
57174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57175 (eval $ac_compile) 2>conftest.er1
57176 ac_status=$?
57177 grep -v '^ *+' conftest.er1 >conftest.err
57178 rm -f conftest.er1
57179 cat conftest.err >&5
57180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57181 (exit $ac_status); } &&
57182 { ac_try='test -z "$ac_cxx_werror_flag"
57183 || test ! -s conftest.err'
57184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57185 (eval $ac_try) 2>&5
57186 ac_status=$?
57187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57188 (exit $ac_status); }; } &&
57189 { ac_try='test -s conftest.$ac_objext'
57190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57191 (eval $ac_try) 2>&5
57192 ac_status=$?
57193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57194 (exit $ac_status); }; }; then
57195 glibcxx_cv_func_modfl_use=yes
57196 else
57197 echo "$as_me: failed program was:" >&5
57198 sed 's/^/| /' conftest.$ac_ext >&5
57200 glibcxx_cv_func_modfl_use=no
57202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57203 ac_ext=c
57204 ac_cpp='$CPP $CPPFLAGS'
57205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57213 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
57214 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
57216 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57218 for ac_func in modfl
57220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57221 echo "$as_me:$LINENO: checking for $ac_func" >&5
57222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57223 if eval "test \"\${$as_ac_var+set}\" = set"; then
57224 echo $ECHO_N "(cached) $ECHO_C" >&6
57225 else
57226 if test x$gcc_no_link = xyes; then
57227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57229 { (exit 1); exit 1; }; }
57231 cat >conftest.$ac_ext <<_ACEOF
57232 /* confdefs.h. */
57233 _ACEOF
57234 cat confdefs.h >>conftest.$ac_ext
57235 cat >>conftest.$ac_ext <<_ACEOF
57236 /* end confdefs.h. */
57237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57239 #define $ac_func innocuous_$ac_func
57241 /* System header to define __stub macros and hopefully few prototypes,
57242 which can conflict with char $ac_func (); below.
57243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57244 <limits.h> exists even on freestanding compilers. */
57246 #ifdef __STDC__
57247 # include <limits.h>
57248 #else
57249 # include <assert.h>
57250 #endif
57252 #undef $ac_func
57254 /* Override any gcc2 internal prototype to avoid an error. */
57255 #ifdef __cplusplus
57256 extern "C"
57258 #endif
57259 /* We use char because int might match the return type of a gcc2
57260 builtin and then its argument prototype would still apply. */
57261 char $ac_func ();
57262 /* The GNU C library defines this for functions which it implements
57263 to always fail with ENOSYS. Some functions are actually named
57264 something starting with __ and the normal name is an alias. */
57265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57266 choke me
57267 #else
57268 char (*f) () = $ac_func;
57269 #endif
57270 #ifdef __cplusplus
57272 #endif
57275 main ()
57277 return f != $ac_func;
57279 return 0;
57281 _ACEOF
57282 rm -f conftest.$ac_objext conftest$ac_exeext
57283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57284 (eval $ac_link) 2>conftest.er1
57285 ac_status=$?
57286 grep -v '^ *+' conftest.er1 >conftest.err
57287 rm -f conftest.er1
57288 cat conftest.err >&5
57289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57290 (exit $ac_status); } &&
57291 { ac_try='test -z "$ac_c_werror_flag"
57292 || test ! -s conftest.err'
57293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57294 (eval $ac_try) 2>&5
57295 ac_status=$?
57296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57297 (exit $ac_status); }; } &&
57298 { ac_try='test -s conftest$ac_exeext'
57299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57300 (eval $ac_try) 2>&5
57301 ac_status=$?
57302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57303 (exit $ac_status); }; }; then
57304 eval "$as_ac_var=yes"
57305 else
57306 echo "$as_me: failed program was:" >&5
57307 sed 's/^/| /' conftest.$ac_ext >&5
57309 eval "$as_ac_var=no"
57311 rm -f conftest.err conftest.$ac_objext \
57312 conftest$ac_exeext conftest.$ac_ext
57314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57316 if test `eval echo '${'$as_ac_var'}'` = yes; then
57317 cat >>confdefs.h <<_ACEOF
57318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57319 _ACEOF
57322 done
57324 else
57326 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
57327 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
57328 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57329 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
57330 echo $ECHO_N "(cached) $ECHO_C" >&6
57331 else
57335 ac_ext=cc
57336 ac_cpp='$CXXCPP $CPPFLAGS'
57337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57341 cat >conftest.$ac_ext <<_ACEOF
57342 /* confdefs.h. */
57343 _ACEOF
57344 cat confdefs.h >>conftest.$ac_ext
57345 cat >>conftest.$ac_ext <<_ACEOF
57346 /* end confdefs.h. */
57347 #include <math.h>
57349 main ()
57351 _modfl(0, 0);
57353 return 0;
57355 _ACEOF
57356 rm -f conftest.$ac_objext
57357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57358 (eval $ac_compile) 2>conftest.er1
57359 ac_status=$?
57360 grep -v '^ *+' conftest.er1 >conftest.err
57361 rm -f conftest.er1
57362 cat conftest.err >&5
57363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57364 (exit $ac_status); } &&
57365 { ac_try='test -z "$ac_cxx_werror_flag"
57366 || test ! -s conftest.err'
57367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57368 (eval $ac_try) 2>&5
57369 ac_status=$?
57370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57371 (exit $ac_status); }; } &&
57372 { ac_try='test -s conftest.$ac_objext'
57373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57374 (eval $ac_try) 2>&5
57375 ac_status=$?
57376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57377 (exit $ac_status); }; }; then
57378 glibcxx_cv_func__modfl_use=yes
57379 else
57380 echo "$as_me: failed program was:" >&5
57381 sed 's/^/| /' conftest.$ac_ext >&5
57383 glibcxx_cv_func__modfl_use=no
57385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57386 ac_ext=c
57387 ac_cpp='$CPP $CPPFLAGS'
57388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57396 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
57397 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
57399 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57401 for ac_func in _modfl
57403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57404 echo "$as_me:$LINENO: checking for $ac_func" >&5
57405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57406 if eval "test \"\${$as_ac_var+set}\" = set"; then
57407 echo $ECHO_N "(cached) $ECHO_C" >&6
57408 else
57409 if test x$gcc_no_link = xyes; then
57410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57412 { (exit 1); exit 1; }; }
57414 cat >conftest.$ac_ext <<_ACEOF
57415 /* confdefs.h. */
57416 _ACEOF
57417 cat confdefs.h >>conftest.$ac_ext
57418 cat >>conftest.$ac_ext <<_ACEOF
57419 /* end confdefs.h. */
57420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57422 #define $ac_func innocuous_$ac_func
57424 /* System header to define __stub macros and hopefully few prototypes,
57425 which can conflict with char $ac_func (); below.
57426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57427 <limits.h> exists even on freestanding compilers. */
57429 #ifdef __STDC__
57430 # include <limits.h>
57431 #else
57432 # include <assert.h>
57433 #endif
57435 #undef $ac_func
57437 /* Override any gcc2 internal prototype to avoid an error. */
57438 #ifdef __cplusplus
57439 extern "C"
57441 #endif
57442 /* We use char because int might match the return type of a gcc2
57443 builtin and then its argument prototype would still apply. */
57444 char $ac_func ();
57445 /* The GNU C library defines this for functions which it implements
57446 to always fail with ENOSYS. Some functions are actually named
57447 something starting with __ and the normal name is an alias. */
57448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57449 choke me
57450 #else
57451 char (*f) () = $ac_func;
57452 #endif
57453 #ifdef __cplusplus
57455 #endif
57458 main ()
57460 return f != $ac_func;
57462 return 0;
57464 _ACEOF
57465 rm -f conftest.$ac_objext conftest$ac_exeext
57466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57467 (eval $ac_link) 2>conftest.er1
57468 ac_status=$?
57469 grep -v '^ *+' conftest.er1 >conftest.err
57470 rm -f conftest.er1
57471 cat conftest.err >&5
57472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57473 (exit $ac_status); } &&
57474 { ac_try='test -z "$ac_c_werror_flag"
57475 || test ! -s conftest.err'
57476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57477 (eval $ac_try) 2>&5
57478 ac_status=$?
57479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57480 (exit $ac_status); }; } &&
57481 { ac_try='test -s conftest$ac_exeext'
57482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57483 (eval $ac_try) 2>&5
57484 ac_status=$?
57485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57486 (exit $ac_status); }; }; then
57487 eval "$as_ac_var=yes"
57488 else
57489 echo "$as_me: failed program was:" >&5
57490 sed 's/^/| /' conftest.$ac_ext >&5
57492 eval "$as_ac_var=no"
57494 rm -f conftest.err conftest.$ac_objext \
57495 conftest$ac_exeext conftest.$ac_ext
57497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57499 if test `eval echo '${'$as_ac_var'}'` = yes; then
57500 cat >>confdefs.h <<_ACEOF
57501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57502 _ACEOF
57505 done
57515 echo "$as_me:$LINENO: checking for powl declaration" >&5
57516 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
57517 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57518 if test "${glibcxx_cv_func_powl_use+set}" = set; then
57519 echo $ECHO_N "(cached) $ECHO_C" >&6
57520 else
57524 ac_ext=cc
57525 ac_cpp='$CXXCPP $CPPFLAGS'
57526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57530 cat >conftest.$ac_ext <<_ACEOF
57531 /* confdefs.h. */
57532 _ACEOF
57533 cat confdefs.h >>conftest.$ac_ext
57534 cat >>conftest.$ac_ext <<_ACEOF
57535 /* end confdefs.h. */
57536 #include <math.h>
57538 main ()
57540 powl(0, 0);
57542 return 0;
57544 _ACEOF
57545 rm -f conftest.$ac_objext
57546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57547 (eval $ac_compile) 2>conftest.er1
57548 ac_status=$?
57549 grep -v '^ *+' conftest.er1 >conftest.err
57550 rm -f conftest.er1
57551 cat conftest.err >&5
57552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57553 (exit $ac_status); } &&
57554 { ac_try='test -z "$ac_cxx_werror_flag"
57555 || test ! -s conftest.err'
57556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57557 (eval $ac_try) 2>&5
57558 ac_status=$?
57559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57560 (exit $ac_status); }; } &&
57561 { ac_try='test -s conftest.$ac_objext'
57562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57563 (eval $ac_try) 2>&5
57564 ac_status=$?
57565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57566 (exit $ac_status); }; }; then
57567 glibcxx_cv_func_powl_use=yes
57568 else
57569 echo "$as_me: failed program was:" >&5
57570 sed 's/^/| /' conftest.$ac_ext >&5
57572 glibcxx_cv_func_powl_use=no
57574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57575 ac_ext=c
57576 ac_cpp='$CPP $CPPFLAGS'
57577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57585 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
57586 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
57588 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57590 for ac_func in powl
57592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57593 echo "$as_me:$LINENO: checking for $ac_func" >&5
57594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57595 if eval "test \"\${$as_ac_var+set}\" = set"; then
57596 echo $ECHO_N "(cached) $ECHO_C" >&6
57597 else
57598 if test x$gcc_no_link = xyes; then
57599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57601 { (exit 1); exit 1; }; }
57603 cat >conftest.$ac_ext <<_ACEOF
57604 /* confdefs.h. */
57605 _ACEOF
57606 cat confdefs.h >>conftest.$ac_ext
57607 cat >>conftest.$ac_ext <<_ACEOF
57608 /* end confdefs.h. */
57609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57611 #define $ac_func innocuous_$ac_func
57613 /* System header to define __stub macros and hopefully few prototypes,
57614 which can conflict with char $ac_func (); below.
57615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57616 <limits.h> exists even on freestanding compilers. */
57618 #ifdef __STDC__
57619 # include <limits.h>
57620 #else
57621 # include <assert.h>
57622 #endif
57624 #undef $ac_func
57626 /* Override any gcc2 internal prototype to avoid an error. */
57627 #ifdef __cplusplus
57628 extern "C"
57630 #endif
57631 /* We use char because int might match the return type of a gcc2
57632 builtin and then its argument prototype would still apply. */
57633 char $ac_func ();
57634 /* The GNU C library defines this for functions which it implements
57635 to always fail with ENOSYS. Some functions are actually named
57636 something starting with __ and the normal name is an alias. */
57637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57638 choke me
57639 #else
57640 char (*f) () = $ac_func;
57641 #endif
57642 #ifdef __cplusplus
57644 #endif
57647 main ()
57649 return f != $ac_func;
57651 return 0;
57653 _ACEOF
57654 rm -f conftest.$ac_objext conftest$ac_exeext
57655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57656 (eval $ac_link) 2>conftest.er1
57657 ac_status=$?
57658 grep -v '^ *+' conftest.er1 >conftest.err
57659 rm -f conftest.er1
57660 cat conftest.err >&5
57661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57662 (exit $ac_status); } &&
57663 { ac_try='test -z "$ac_c_werror_flag"
57664 || test ! -s conftest.err'
57665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57666 (eval $ac_try) 2>&5
57667 ac_status=$?
57668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57669 (exit $ac_status); }; } &&
57670 { ac_try='test -s conftest$ac_exeext'
57671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57672 (eval $ac_try) 2>&5
57673 ac_status=$?
57674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57675 (exit $ac_status); }; }; then
57676 eval "$as_ac_var=yes"
57677 else
57678 echo "$as_me: failed program was:" >&5
57679 sed 's/^/| /' conftest.$ac_ext >&5
57681 eval "$as_ac_var=no"
57683 rm -f conftest.err conftest.$ac_objext \
57684 conftest$ac_exeext conftest.$ac_ext
57686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57688 if test `eval echo '${'$as_ac_var'}'` = yes; then
57689 cat >>confdefs.h <<_ACEOF
57690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57691 _ACEOF
57694 done
57696 else
57698 echo "$as_me:$LINENO: checking for _powl declaration" >&5
57699 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
57700 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57701 if test "${glibcxx_cv_func__powl_use+set}" = set; then
57702 echo $ECHO_N "(cached) $ECHO_C" >&6
57703 else
57707 ac_ext=cc
57708 ac_cpp='$CXXCPP $CPPFLAGS'
57709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57713 cat >conftest.$ac_ext <<_ACEOF
57714 /* confdefs.h. */
57715 _ACEOF
57716 cat confdefs.h >>conftest.$ac_ext
57717 cat >>conftest.$ac_ext <<_ACEOF
57718 /* end confdefs.h. */
57719 #include <math.h>
57721 main ()
57723 _powl(0, 0);
57725 return 0;
57727 _ACEOF
57728 rm -f conftest.$ac_objext
57729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57730 (eval $ac_compile) 2>conftest.er1
57731 ac_status=$?
57732 grep -v '^ *+' conftest.er1 >conftest.err
57733 rm -f conftest.er1
57734 cat conftest.err >&5
57735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57736 (exit $ac_status); } &&
57737 { ac_try='test -z "$ac_cxx_werror_flag"
57738 || test ! -s conftest.err'
57739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57740 (eval $ac_try) 2>&5
57741 ac_status=$?
57742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57743 (exit $ac_status); }; } &&
57744 { ac_try='test -s conftest.$ac_objext'
57745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57746 (eval $ac_try) 2>&5
57747 ac_status=$?
57748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57749 (exit $ac_status); }; }; then
57750 glibcxx_cv_func__powl_use=yes
57751 else
57752 echo "$as_me: failed program was:" >&5
57753 sed 's/^/| /' conftest.$ac_ext >&5
57755 glibcxx_cv_func__powl_use=no
57757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57758 ac_ext=c
57759 ac_cpp='$CPP $CPPFLAGS'
57760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57768 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
57769 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
57771 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57773 for ac_func in _powl
57775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57776 echo "$as_me:$LINENO: checking for $ac_func" >&5
57777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57778 if eval "test \"\${$as_ac_var+set}\" = set"; then
57779 echo $ECHO_N "(cached) $ECHO_C" >&6
57780 else
57781 if test x$gcc_no_link = xyes; then
57782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57784 { (exit 1); exit 1; }; }
57786 cat >conftest.$ac_ext <<_ACEOF
57787 /* confdefs.h. */
57788 _ACEOF
57789 cat confdefs.h >>conftest.$ac_ext
57790 cat >>conftest.$ac_ext <<_ACEOF
57791 /* end confdefs.h. */
57792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57794 #define $ac_func innocuous_$ac_func
57796 /* System header to define __stub macros and hopefully few prototypes,
57797 which can conflict with char $ac_func (); below.
57798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57799 <limits.h> exists even on freestanding compilers. */
57801 #ifdef __STDC__
57802 # include <limits.h>
57803 #else
57804 # include <assert.h>
57805 #endif
57807 #undef $ac_func
57809 /* Override any gcc2 internal prototype to avoid an error. */
57810 #ifdef __cplusplus
57811 extern "C"
57813 #endif
57814 /* We use char because int might match the return type of a gcc2
57815 builtin and then its argument prototype would still apply. */
57816 char $ac_func ();
57817 /* The GNU C library defines this for functions which it implements
57818 to always fail with ENOSYS. Some functions are actually named
57819 something starting with __ and the normal name is an alias. */
57820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57821 choke me
57822 #else
57823 char (*f) () = $ac_func;
57824 #endif
57825 #ifdef __cplusplus
57827 #endif
57830 main ()
57832 return f != $ac_func;
57834 return 0;
57836 _ACEOF
57837 rm -f conftest.$ac_objext conftest$ac_exeext
57838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57839 (eval $ac_link) 2>conftest.er1
57840 ac_status=$?
57841 grep -v '^ *+' conftest.er1 >conftest.err
57842 rm -f conftest.er1
57843 cat conftest.err >&5
57844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57845 (exit $ac_status); } &&
57846 { ac_try='test -z "$ac_c_werror_flag"
57847 || test ! -s conftest.err'
57848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57849 (eval $ac_try) 2>&5
57850 ac_status=$?
57851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57852 (exit $ac_status); }; } &&
57853 { ac_try='test -s conftest$ac_exeext'
57854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57855 (eval $ac_try) 2>&5
57856 ac_status=$?
57857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57858 (exit $ac_status); }; }; then
57859 eval "$as_ac_var=yes"
57860 else
57861 echo "$as_me: failed program was:" >&5
57862 sed 's/^/| /' conftest.$ac_ext >&5
57864 eval "$as_ac_var=no"
57866 rm -f conftest.err conftest.$ac_objext \
57867 conftest$ac_exeext conftest.$ac_ext
57869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57871 if test `eval echo '${'$as_ac_var'}'` = yes; then
57872 cat >>confdefs.h <<_ACEOF
57873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57874 _ACEOF
57877 done
57887 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
57888 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
57889 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57890 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
57891 echo $ECHO_N "(cached) $ECHO_C" >&6
57892 else
57896 ac_ext=cc
57897 ac_cpp='$CXXCPP $CPPFLAGS'
57898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57902 cat >conftest.$ac_ext <<_ACEOF
57903 /* confdefs.h. */
57904 _ACEOF
57905 cat confdefs.h >>conftest.$ac_ext
57906 cat >>conftest.$ac_ext <<_ACEOF
57907 /* end confdefs.h. */
57908 #include <math.h>
57909 #ifdef HAVE_IEEEFP_H
57910 #include <ieeefp.h>
57911 #endif
57914 main ()
57916 sqrtl(0);
57918 return 0;
57920 _ACEOF
57921 rm -f conftest.$ac_objext
57922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57923 (eval $ac_compile) 2>conftest.er1
57924 ac_status=$?
57925 grep -v '^ *+' conftest.er1 >conftest.err
57926 rm -f conftest.er1
57927 cat conftest.err >&5
57928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57929 (exit $ac_status); } &&
57930 { ac_try='test -z "$ac_cxx_werror_flag"
57931 || test ! -s conftest.err'
57932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57933 (eval $ac_try) 2>&5
57934 ac_status=$?
57935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57936 (exit $ac_status); }; } &&
57937 { ac_try='test -s conftest.$ac_objext'
57938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57939 (eval $ac_try) 2>&5
57940 ac_status=$?
57941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57942 (exit $ac_status); }; }; then
57943 glibcxx_cv_func_sqrtl_use=yes
57944 else
57945 echo "$as_me: failed program was:" >&5
57946 sed 's/^/| /' conftest.$ac_ext >&5
57948 glibcxx_cv_func_sqrtl_use=no
57950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57951 ac_ext=c
57952 ac_cpp='$CPP $CPPFLAGS'
57953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57961 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
57962 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
57964 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57966 for ac_func in sqrtl
57968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57969 echo "$as_me:$LINENO: checking for $ac_func" >&5
57970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57971 if eval "test \"\${$as_ac_var+set}\" = set"; then
57972 echo $ECHO_N "(cached) $ECHO_C" >&6
57973 else
57974 if test x$gcc_no_link = xyes; then
57975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57977 { (exit 1); exit 1; }; }
57979 cat >conftest.$ac_ext <<_ACEOF
57980 /* confdefs.h. */
57981 _ACEOF
57982 cat confdefs.h >>conftest.$ac_ext
57983 cat >>conftest.$ac_ext <<_ACEOF
57984 /* end confdefs.h. */
57985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57987 #define $ac_func innocuous_$ac_func
57989 /* System header to define __stub macros and hopefully few prototypes,
57990 which can conflict with char $ac_func (); below.
57991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57992 <limits.h> exists even on freestanding compilers. */
57994 #ifdef __STDC__
57995 # include <limits.h>
57996 #else
57997 # include <assert.h>
57998 #endif
58000 #undef $ac_func
58002 /* Override any gcc2 internal prototype to avoid an error. */
58003 #ifdef __cplusplus
58004 extern "C"
58006 #endif
58007 /* We use char because int might match the return type of a gcc2
58008 builtin and then its argument prototype would still apply. */
58009 char $ac_func ();
58010 /* The GNU C library defines this for functions which it implements
58011 to always fail with ENOSYS. Some functions are actually named
58012 something starting with __ and the normal name is an alias. */
58013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58014 choke me
58015 #else
58016 char (*f) () = $ac_func;
58017 #endif
58018 #ifdef __cplusplus
58020 #endif
58023 main ()
58025 return f != $ac_func;
58027 return 0;
58029 _ACEOF
58030 rm -f conftest.$ac_objext conftest$ac_exeext
58031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58032 (eval $ac_link) 2>conftest.er1
58033 ac_status=$?
58034 grep -v '^ *+' conftest.er1 >conftest.err
58035 rm -f conftest.er1
58036 cat conftest.err >&5
58037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58038 (exit $ac_status); } &&
58039 { ac_try='test -z "$ac_c_werror_flag"
58040 || test ! -s conftest.err'
58041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58042 (eval $ac_try) 2>&5
58043 ac_status=$?
58044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58045 (exit $ac_status); }; } &&
58046 { ac_try='test -s conftest$ac_exeext'
58047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58048 (eval $ac_try) 2>&5
58049 ac_status=$?
58050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58051 (exit $ac_status); }; }; then
58052 eval "$as_ac_var=yes"
58053 else
58054 echo "$as_me: failed program was:" >&5
58055 sed 's/^/| /' conftest.$ac_ext >&5
58057 eval "$as_ac_var=no"
58059 rm -f conftest.err conftest.$ac_objext \
58060 conftest$ac_exeext conftest.$ac_ext
58062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58064 if test `eval echo '${'$as_ac_var'}'` = yes; then
58065 cat >>confdefs.h <<_ACEOF
58066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58067 _ACEOF
58070 done
58072 else
58074 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
58075 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
58076 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58077 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
58078 echo $ECHO_N "(cached) $ECHO_C" >&6
58079 else
58083 ac_ext=cc
58084 ac_cpp='$CXXCPP $CPPFLAGS'
58085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58089 cat >conftest.$ac_ext <<_ACEOF
58090 /* confdefs.h. */
58091 _ACEOF
58092 cat confdefs.h >>conftest.$ac_ext
58093 cat >>conftest.$ac_ext <<_ACEOF
58094 /* end confdefs.h. */
58095 #include <math.h>
58096 #ifdef HAVE_IEEEFP_H
58097 #include <ieeefp.h>
58098 #endif
58101 main ()
58103 _sqrtl(0);
58105 return 0;
58107 _ACEOF
58108 rm -f conftest.$ac_objext
58109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58110 (eval $ac_compile) 2>conftest.er1
58111 ac_status=$?
58112 grep -v '^ *+' conftest.er1 >conftest.err
58113 rm -f conftest.er1
58114 cat conftest.err >&5
58115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58116 (exit $ac_status); } &&
58117 { ac_try='test -z "$ac_cxx_werror_flag"
58118 || test ! -s conftest.err'
58119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58120 (eval $ac_try) 2>&5
58121 ac_status=$?
58122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58123 (exit $ac_status); }; } &&
58124 { ac_try='test -s conftest.$ac_objext'
58125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58126 (eval $ac_try) 2>&5
58127 ac_status=$?
58128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58129 (exit $ac_status); }; }; then
58130 glibcxx_cv_func__sqrtl_use=yes
58131 else
58132 echo "$as_me: failed program was:" >&5
58133 sed 's/^/| /' conftest.$ac_ext >&5
58135 glibcxx_cv_func__sqrtl_use=no
58137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58138 ac_ext=c
58139 ac_cpp='$CPP $CPPFLAGS'
58140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58148 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
58149 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
58151 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58153 for ac_func in _sqrtl
58155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58156 echo "$as_me:$LINENO: checking for $ac_func" >&5
58157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58158 if eval "test \"\${$as_ac_var+set}\" = set"; then
58159 echo $ECHO_N "(cached) $ECHO_C" >&6
58160 else
58161 if test x$gcc_no_link = xyes; then
58162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58164 { (exit 1); exit 1; }; }
58166 cat >conftest.$ac_ext <<_ACEOF
58167 /* confdefs.h. */
58168 _ACEOF
58169 cat confdefs.h >>conftest.$ac_ext
58170 cat >>conftest.$ac_ext <<_ACEOF
58171 /* end confdefs.h. */
58172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58174 #define $ac_func innocuous_$ac_func
58176 /* System header to define __stub macros and hopefully few prototypes,
58177 which can conflict with char $ac_func (); below.
58178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58179 <limits.h> exists even on freestanding compilers. */
58181 #ifdef __STDC__
58182 # include <limits.h>
58183 #else
58184 # include <assert.h>
58185 #endif
58187 #undef $ac_func
58189 /* Override any gcc2 internal prototype to avoid an error. */
58190 #ifdef __cplusplus
58191 extern "C"
58193 #endif
58194 /* We use char because int might match the return type of a gcc2
58195 builtin and then its argument prototype would still apply. */
58196 char $ac_func ();
58197 /* The GNU C library defines this for functions which it implements
58198 to always fail with ENOSYS. Some functions are actually named
58199 something starting with __ and the normal name is an alias. */
58200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58201 choke me
58202 #else
58203 char (*f) () = $ac_func;
58204 #endif
58205 #ifdef __cplusplus
58207 #endif
58210 main ()
58212 return f != $ac_func;
58214 return 0;
58216 _ACEOF
58217 rm -f conftest.$ac_objext conftest$ac_exeext
58218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58219 (eval $ac_link) 2>conftest.er1
58220 ac_status=$?
58221 grep -v '^ *+' conftest.er1 >conftest.err
58222 rm -f conftest.er1
58223 cat conftest.err >&5
58224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58225 (exit $ac_status); } &&
58226 { ac_try='test -z "$ac_c_werror_flag"
58227 || test ! -s conftest.err'
58228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58229 (eval $ac_try) 2>&5
58230 ac_status=$?
58231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58232 (exit $ac_status); }; } &&
58233 { ac_try='test -s conftest$ac_exeext'
58234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58235 (eval $ac_try) 2>&5
58236 ac_status=$?
58237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58238 (exit $ac_status); }; }; then
58239 eval "$as_ac_var=yes"
58240 else
58241 echo "$as_me: failed program was:" >&5
58242 sed 's/^/| /' conftest.$ac_ext >&5
58244 eval "$as_ac_var=no"
58246 rm -f conftest.err conftest.$ac_objext \
58247 conftest$ac_exeext conftest.$ac_ext
58249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58251 if test `eval echo '${'$as_ac_var'}'` = yes; then
58252 cat >>confdefs.h <<_ACEOF
58253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58254 _ACEOF
58257 done
58267 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
58268 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
58269 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58270 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
58271 echo $ECHO_N "(cached) $ECHO_C" >&6
58272 else
58276 ac_ext=cc
58277 ac_cpp='$CXXCPP $CPPFLAGS'
58278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58282 cat >conftest.$ac_ext <<_ACEOF
58283 /* confdefs.h. */
58284 _ACEOF
58285 cat confdefs.h >>conftest.$ac_ext
58286 cat >>conftest.$ac_ext <<_ACEOF
58287 /* end confdefs.h. */
58288 #include <math.h>
58290 main ()
58292 sincosl(0, 0, 0);
58294 return 0;
58296 _ACEOF
58297 rm -f conftest.$ac_objext
58298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58299 (eval $ac_compile) 2>conftest.er1
58300 ac_status=$?
58301 grep -v '^ *+' conftest.er1 >conftest.err
58302 rm -f conftest.er1
58303 cat conftest.err >&5
58304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58305 (exit $ac_status); } &&
58306 { ac_try='test -z "$ac_cxx_werror_flag"
58307 || test ! -s conftest.err'
58308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58309 (eval $ac_try) 2>&5
58310 ac_status=$?
58311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58312 (exit $ac_status); }; } &&
58313 { ac_try='test -s conftest.$ac_objext'
58314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58315 (eval $ac_try) 2>&5
58316 ac_status=$?
58317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58318 (exit $ac_status); }; }; then
58319 glibcxx_cv_func_sincosl_use=yes
58320 else
58321 echo "$as_me: failed program was:" >&5
58322 sed 's/^/| /' conftest.$ac_ext >&5
58324 glibcxx_cv_func_sincosl_use=no
58326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58327 ac_ext=c
58328 ac_cpp='$CPP $CPPFLAGS'
58329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58337 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
58338 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
58340 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58342 for ac_func in sincosl
58344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58345 echo "$as_me:$LINENO: checking for $ac_func" >&5
58346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58347 if eval "test \"\${$as_ac_var+set}\" = set"; then
58348 echo $ECHO_N "(cached) $ECHO_C" >&6
58349 else
58350 if test x$gcc_no_link = xyes; then
58351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58353 { (exit 1); exit 1; }; }
58355 cat >conftest.$ac_ext <<_ACEOF
58356 /* confdefs.h. */
58357 _ACEOF
58358 cat confdefs.h >>conftest.$ac_ext
58359 cat >>conftest.$ac_ext <<_ACEOF
58360 /* end confdefs.h. */
58361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58363 #define $ac_func innocuous_$ac_func
58365 /* System header to define __stub macros and hopefully few prototypes,
58366 which can conflict with char $ac_func (); below.
58367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58368 <limits.h> exists even on freestanding compilers. */
58370 #ifdef __STDC__
58371 # include <limits.h>
58372 #else
58373 # include <assert.h>
58374 #endif
58376 #undef $ac_func
58378 /* Override any gcc2 internal prototype to avoid an error. */
58379 #ifdef __cplusplus
58380 extern "C"
58382 #endif
58383 /* We use char because int might match the return type of a gcc2
58384 builtin and then its argument prototype would still apply. */
58385 char $ac_func ();
58386 /* The GNU C library defines this for functions which it implements
58387 to always fail with ENOSYS. Some functions are actually named
58388 something starting with __ and the normal name is an alias. */
58389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58390 choke me
58391 #else
58392 char (*f) () = $ac_func;
58393 #endif
58394 #ifdef __cplusplus
58396 #endif
58399 main ()
58401 return f != $ac_func;
58403 return 0;
58405 _ACEOF
58406 rm -f conftest.$ac_objext conftest$ac_exeext
58407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58408 (eval $ac_link) 2>conftest.er1
58409 ac_status=$?
58410 grep -v '^ *+' conftest.er1 >conftest.err
58411 rm -f conftest.er1
58412 cat conftest.err >&5
58413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58414 (exit $ac_status); } &&
58415 { ac_try='test -z "$ac_c_werror_flag"
58416 || test ! -s conftest.err'
58417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58418 (eval $ac_try) 2>&5
58419 ac_status=$?
58420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58421 (exit $ac_status); }; } &&
58422 { ac_try='test -s conftest$ac_exeext'
58423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58424 (eval $ac_try) 2>&5
58425 ac_status=$?
58426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58427 (exit $ac_status); }; }; then
58428 eval "$as_ac_var=yes"
58429 else
58430 echo "$as_me: failed program was:" >&5
58431 sed 's/^/| /' conftest.$ac_ext >&5
58433 eval "$as_ac_var=no"
58435 rm -f conftest.err conftest.$ac_objext \
58436 conftest$ac_exeext conftest.$ac_ext
58438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58440 if test `eval echo '${'$as_ac_var'}'` = yes; then
58441 cat >>confdefs.h <<_ACEOF
58442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58443 _ACEOF
58446 done
58448 else
58450 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
58451 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
58452 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58453 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
58454 echo $ECHO_N "(cached) $ECHO_C" >&6
58455 else
58459 ac_ext=cc
58460 ac_cpp='$CXXCPP $CPPFLAGS'
58461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58465 cat >conftest.$ac_ext <<_ACEOF
58466 /* confdefs.h. */
58467 _ACEOF
58468 cat confdefs.h >>conftest.$ac_ext
58469 cat >>conftest.$ac_ext <<_ACEOF
58470 /* end confdefs.h. */
58471 #include <math.h>
58473 main ()
58475 _sincosl(0, 0, 0);
58477 return 0;
58479 _ACEOF
58480 rm -f conftest.$ac_objext
58481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58482 (eval $ac_compile) 2>conftest.er1
58483 ac_status=$?
58484 grep -v '^ *+' conftest.er1 >conftest.err
58485 rm -f conftest.er1
58486 cat conftest.err >&5
58487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58488 (exit $ac_status); } &&
58489 { ac_try='test -z "$ac_cxx_werror_flag"
58490 || test ! -s conftest.err'
58491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58492 (eval $ac_try) 2>&5
58493 ac_status=$?
58494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58495 (exit $ac_status); }; } &&
58496 { ac_try='test -s conftest.$ac_objext'
58497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58498 (eval $ac_try) 2>&5
58499 ac_status=$?
58500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58501 (exit $ac_status); }; }; then
58502 glibcxx_cv_func__sincosl_use=yes
58503 else
58504 echo "$as_me: failed program was:" >&5
58505 sed 's/^/| /' conftest.$ac_ext >&5
58507 glibcxx_cv_func__sincosl_use=no
58509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58510 ac_ext=c
58511 ac_cpp='$CPP $CPPFLAGS'
58512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58520 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
58521 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
58523 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58525 for ac_func in _sincosl
58527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58528 echo "$as_me:$LINENO: checking for $ac_func" >&5
58529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58530 if eval "test \"\${$as_ac_var+set}\" = set"; then
58531 echo $ECHO_N "(cached) $ECHO_C" >&6
58532 else
58533 if test x$gcc_no_link = xyes; then
58534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58536 { (exit 1); exit 1; }; }
58538 cat >conftest.$ac_ext <<_ACEOF
58539 /* confdefs.h. */
58540 _ACEOF
58541 cat confdefs.h >>conftest.$ac_ext
58542 cat >>conftest.$ac_ext <<_ACEOF
58543 /* end confdefs.h. */
58544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58546 #define $ac_func innocuous_$ac_func
58548 /* System header to define __stub macros and hopefully few prototypes,
58549 which can conflict with char $ac_func (); below.
58550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58551 <limits.h> exists even on freestanding compilers. */
58553 #ifdef __STDC__
58554 # include <limits.h>
58555 #else
58556 # include <assert.h>
58557 #endif
58559 #undef $ac_func
58561 /* Override any gcc2 internal prototype to avoid an error. */
58562 #ifdef __cplusplus
58563 extern "C"
58565 #endif
58566 /* We use char because int might match the return type of a gcc2
58567 builtin and then its argument prototype would still apply. */
58568 char $ac_func ();
58569 /* The GNU C library defines this for functions which it implements
58570 to always fail with ENOSYS. Some functions are actually named
58571 something starting with __ and the normal name is an alias. */
58572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58573 choke me
58574 #else
58575 char (*f) () = $ac_func;
58576 #endif
58577 #ifdef __cplusplus
58579 #endif
58582 main ()
58584 return f != $ac_func;
58586 return 0;
58588 _ACEOF
58589 rm -f conftest.$ac_objext conftest$ac_exeext
58590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58591 (eval $ac_link) 2>conftest.er1
58592 ac_status=$?
58593 grep -v '^ *+' conftest.er1 >conftest.err
58594 rm -f conftest.er1
58595 cat conftest.err >&5
58596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58597 (exit $ac_status); } &&
58598 { ac_try='test -z "$ac_c_werror_flag"
58599 || test ! -s conftest.err'
58600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58601 (eval $ac_try) 2>&5
58602 ac_status=$?
58603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58604 (exit $ac_status); }; } &&
58605 { ac_try='test -s conftest$ac_exeext'
58606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58607 (eval $ac_try) 2>&5
58608 ac_status=$?
58609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58610 (exit $ac_status); }; }; then
58611 eval "$as_ac_var=yes"
58612 else
58613 echo "$as_me: failed program was:" >&5
58614 sed 's/^/| /' conftest.$ac_ext >&5
58616 eval "$as_ac_var=no"
58618 rm -f conftest.err conftest.$ac_objext \
58619 conftest$ac_exeext conftest.$ac_ext
58621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58623 if test `eval echo '${'$as_ac_var'}'` = yes; then
58624 cat >>confdefs.h <<_ACEOF
58625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58626 _ACEOF
58629 done
58639 echo "$as_me:$LINENO: checking for finitel declaration" >&5
58640 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
58641 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58642 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
58643 echo $ECHO_N "(cached) $ECHO_C" >&6
58644 else
58648 ac_ext=cc
58649 ac_cpp='$CXXCPP $CPPFLAGS'
58650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58654 cat >conftest.$ac_ext <<_ACEOF
58655 /* confdefs.h. */
58656 _ACEOF
58657 cat confdefs.h >>conftest.$ac_ext
58658 cat >>conftest.$ac_ext <<_ACEOF
58659 /* end confdefs.h. */
58660 #include <math.h>
58661 #ifdef HAVE_IEEEFP_H
58662 #include <ieeefp.h>
58663 #endif
58666 main ()
58668 finitel(0);
58670 return 0;
58672 _ACEOF
58673 rm -f conftest.$ac_objext
58674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58675 (eval $ac_compile) 2>conftest.er1
58676 ac_status=$?
58677 grep -v '^ *+' conftest.er1 >conftest.err
58678 rm -f conftest.er1
58679 cat conftest.err >&5
58680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58681 (exit $ac_status); } &&
58682 { ac_try='test -z "$ac_cxx_werror_flag"
58683 || test ! -s conftest.err'
58684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58685 (eval $ac_try) 2>&5
58686 ac_status=$?
58687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58688 (exit $ac_status); }; } &&
58689 { ac_try='test -s conftest.$ac_objext'
58690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58691 (eval $ac_try) 2>&5
58692 ac_status=$?
58693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58694 (exit $ac_status); }; }; then
58695 glibcxx_cv_func_finitel_use=yes
58696 else
58697 echo "$as_me: failed program was:" >&5
58698 sed 's/^/| /' conftest.$ac_ext >&5
58700 glibcxx_cv_func_finitel_use=no
58702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58703 ac_ext=c
58704 ac_cpp='$CPP $CPPFLAGS'
58705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58713 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
58714 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
58716 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58718 for ac_func in finitel
58720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58721 echo "$as_me:$LINENO: checking for $ac_func" >&5
58722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58723 if eval "test \"\${$as_ac_var+set}\" = set"; then
58724 echo $ECHO_N "(cached) $ECHO_C" >&6
58725 else
58726 if test x$gcc_no_link = xyes; then
58727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58729 { (exit 1); exit 1; }; }
58731 cat >conftest.$ac_ext <<_ACEOF
58732 /* confdefs.h. */
58733 _ACEOF
58734 cat confdefs.h >>conftest.$ac_ext
58735 cat >>conftest.$ac_ext <<_ACEOF
58736 /* end confdefs.h. */
58737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58739 #define $ac_func innocuous_$ac_func
58741 /* System header to define __stub macros and hopefully few prototypes,
58742 which can conflict with char $ac_func (); below.
58743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58744 <limits.h> exists even on freestanding compilers. */
58746 #ifdef __STDC__
58747 # include <limits.h>
58748 #else
58749 # include <assert.h>
58750 #endif
58752 #undef $ac_func
58754 /* Override any gcc2 internal prototype to avoid an error. */
58755 #ifdef __cplusplus
58756 extern "C"
58758 #endif
58759 /* We use char because int might match the return type of a gcc2
58760 builtin and then its argument prototype would still apply. */
58761 char $ac_func ();
58762 /* The GNU C library defines this for functions which it implements
58763 to always fail with ENOSYS. Some functions are actually named
58764 something starting with __ and the normal name is an alias. */
58765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58766 choke me
58767 #else
58768 char (*f) () = $ac_func;
58769 #endif
58770 #ifdef __cplusplus
58772 #endif
58775 main ()
58777 return f != $ac_func;
58779 return 0;
58781 _ACEOF
58782 rm -f conftest.$ac_objext conftest$ac_exeext
58783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58784 (eval $ac_link) 2>conftest.er1
58785 ac_status=$?
58786 grep -v '^ *+' conftest.er1 >conftest.err
58787 rm -f conftest.er1
58788 cat conftest.err >&5
58789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58790 (exit $ac_status); } &&
58791 { ac_try='test -z "$ac_c_werror_flag"
58792 || test ! -s conftest.err'
58793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58794 (eval $ac_try) 2>&5
58795 ac_status=$?
58796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58797 (exit $ac_status); }; } &&
58798 { ac_try='test -s conftest$ac_exeext'
58799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58800 (eval $ac_try) 2>&5
58801 ac_status=$?
58802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58803 (exit $ac_status); }; }; then
58804 eval "$as_ac_var=yes"
58805 else
58806 echo "$as_me: failed program was:" >&5
58807 sed 's/^/| /' conftest.$ac_ext >&5
58809 eval "$as_ac_var=no"
58811 rm -f conftest.err conftest.$ac_objext \
58812 conftest$ac_exeext conftest.$ac_ext
58814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58816 if test `eval echo '${'$as_ac_var'}'` = yes; then
58817 cat >>confdefs.h <<_ACEOF
58818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58819 _ACEOF
58822 done
58824 else
58826 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
58827 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
58828 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58829 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
58830 echo $ECHO_N "(cached) $ECHO_C" >&6
58831 else
58835 ac_ext=cc
58836 ac_cpp='$CXXCPP $CPPFLAGS'
58837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58841 cat >conftest.$ac_ext <<_ACEOF
58842 /* confdefs.h. */
58843 _ACEOF
58844 cat confdefs.h >>conftest.$ac_ext
58845 cat >>conftest.$ac_ext <<_ACEOF
58846 /* end confdefs.h. */
58847 #include <math.h>
58848 #ifdef HAVE_IEEEFP_H
58849 #include <ieeefp.h>
58850 #endif
58853 main ()
58855 _finitel(0);
58857 return 0;
58859 _ACEOF
58860 rm -f conftest.$ac_objext
58861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58862 (eval $ac_compile) 2>conftest.er1
58863 ac_status=$?
58864 grep -v '^ *+' conftest.er1 >conftest.err
58865 rm -f conftest.er1
58866 cat conftest.err >&5
58867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58868 (exit $ac_status); } &&
58869 { ac_try='test -z "$ac_cxx_werror_flag"
58870 || test ! -s conftest.err'
58871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58872 (eval $ac_try) 2>&5
58873 ac_status=$?
58874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58875 (exit $ac_status); }; } &&
58876 { ac_try='test -s conftest.$ac_objext'
58877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58878 (eval $ac_try) 2>&5
58879 ac_status=$?
58880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58881 (exit $ac_status); }; }; then
58882 glibcxx_cv_func__finitel_use=yes
58883 else
58884 echo "$as_me: failed program was:" >&5
58885 sed 's/^/| /' conftest.$ac_ext >&5
58887 glibcxx_cv_func__finitel_use=no
58889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58890 ac_ext=c
58891 ac_cpp='$CPP $CPPFLAGS'
58892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58900 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
58901 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
58903 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58905 for ac_func in _finitel
58907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58908 echo "$as_me:$LINENO: checking for $ac_func" >&5
58909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58910 if eval "test \"\${$as_ac_var+set}\" = set"; then
58911 echo $ECHO_N "(cached) $ECHO_C" >&6
58912 else
58913 if test x$gcc_no_link = xyes; then
58914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58916 { (exit 1); exit 1; }; }
58918 cat >conftest.$ac_ext <<_ACEOF
58919 /* confdefs.h. */
58920 _ACEOF
58921 cat confdefs.h >>conftest.$ac_ext
58922 cat >>conftest.$ac_ext <<_ACEOF
58923 /* end confdefs.h. */
58924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58926 #define $ac_func innocuous_$ac_func
58928 /* System header to define __stub macros and hopefully few prototypes,
58929 which can conflict with char $ac_func (); below.
58930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58931 <limits.h> exists even on freestanding compilers. */
58933 #ifdef __STDC__
58934 # include <limits.h>
58935 #else
58936 # include <assert.h>
58937 #endif
58939 #undef $ac_func
58941 /* Override any gcc2 internal prototype to avoid an error. */
58942 #ifdef __cplusplus
58943 extern "C"
58945 #endif
58946 /* We use char because int might match the return type of a gcc2
58947 builtin and then its argument prototype would still apply. */
58948 char $ac_func ();
58949 /* The GNU C library defines this for functions which it implements
58950 to always fail with ENOSYS. Some functions are actually named
58951 something starting with __ and the normal name is an alias. */
58952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58953 choke me
58954 #else
58955 char (*f) () = $ac_func;
58956 #endif
58957 #ifdef __cplusplus
58959 #endif
58962 main ()
58964 return f != $ac_func;
58966 return 0;
58968 _ACEOF
58969 rm -f conftest.$ac_objext conftest$ac_exeext
58970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58971 (eval $ac_link) 2>conftest.er1
58972 ac_status=$?
58973 grep -v '^ *+' conftest.er1 >conftest.err
58974 rm -f conftest.er1
58975 cat conftest.err >&5
58976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58977 (exit $ac_status); } &&
58978 { ac_try='test -z "$ac_c_werror_flag"
58979 || test ! -s conftest.err'
58980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58981 (eval $ac_try) 2>&5
58982 ac_status=$?
58983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58984 (exit $ac_status); }; } &&
58985 { ac_try='test -s conftest$ac_exeext'
58986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58987 (eval $ac_try) 2>&5
58988 ac_status=$?
58989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58990 (exit $ac_status); }; }; then
58991 eval "$as_ac_var=yes"
58992 else
58993 echo "$as_me: failed program was:" >&5
58994 sed 's/^/| /' conftest.$ac_ext >&5
58996 eval "$as_ac_var=no"
58998 rm -f conftest.err conftest.$ac_objext \
58999 conftest$ac_exeext conftest.$ac_ext
59001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59003 if test `eval echo '${'$as_ac_var'}'` = yes; then
59004 cat >>confdefs.h <<_ACEOF
59005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59006 _ACEOF
59009 done
59018 LIBS="$ac_save_LIBS"
59019 CXXFLAGS="$ac_save_CXXFLAGS"
59023 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
59024 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
59025 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
59026 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
59027 echo $ECHO_N "(cached) $ECHO_C" >&6
59028 else
59032 ac_ext=cc
59033 ac_cpp='$CXXCPP $CPPFLAGS'
59034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59038 cat >conftest.$ac_ext <<_ACEOF
59039 /* confdefs.h. */
59040 _ACEOF
59041 cat confdefs.h >>conftest.$ac_ext
59042 cat >>conftest.$ac_ext <<_ACEOF
59043 /* end confdefs.h. */
59044 #include <math.h>
59046 main ()
59048 __builtin_abs(0);
59050 return 0;
59052 _ACEOF
59053 rm -f conftest.$ac_objext
59054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59055 (eval $ac_compile) 2>conftest.er1
59056 ac_status=$?
59057 grep -v '^ *+' conftest.er1 >conftest.err
59058 rm -f conftest.er1
59059 cat conftest.err >&5
59060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59061 (exit $ac_status); } &&
59062 { ac_try='test -z "$ac_cxx_werror_flag"
59063 || test ! -s conftest.err'
59064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59065 (eval $ac_try) 2>&5
59066 ac_status=$?
59067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59068 (exit $ac_status); }; } &&
59069 { ac_try='test -s conftest.$ac_objext'
59070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59071 (eval $ac_try) 2>&5
59072 ac_status=$?
59073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59074 (exit $ac_status); }; }; then
59075 glibcxx_cv_func___builtin_abs_use=yes
59076 else
59077 echo "$as_me: failed program was:" >&5
59078 sed 's/^/| /' conftest.$ac_ext >&5
59080 glibcxx_cv_func___builtin_abs_use=no
59082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59083 ac_ext=c
59084 ac_cpp='$CPP $CPPFLAGS'
59085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59093 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
59094 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
59095 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
59096 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
59097 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
59098 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
59099 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
59100 echo $ECHO_N "(cached) $ECHO_C" >&6
59101 else
59103 if test x$gcc_no_link = xyes; then
59104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59106 { (exit 1); exit 1; }; }
59108 cat >conftest.$ac_ext <<_ACEOF
59109 /* confdefs.h. */
59110 _ACEOF
59111 cat confdefs.h >>conftest.$ac_ext
59112 cat >>conftest.$ac_ext <<_ACEOF
59113 /* end confdefs.h. */
59114 #include <math.h>
59116 main ()
59118 __builtin_abs(0);
59120 return 0;
59122 _ACEOF
59123 rm -f conftest.$ac_objext conftest$ac_exeext
59124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59125 (eval $ac_link) 2>conftest.er1
59126 ac_status=$?
59127 grep -v '^ *+' conftest.er1 >conftest.err
59128 rm -f conftest.er1
59129 cat conftest.err >&5
59130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59131 (exit $ac_status); } &&
59132 { ac_try='test -z "$ac_c_werror_flag"
59133 || test ! -s conftest.err'
59134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59135 (eval $ac_try) 2>&5
59136 ac_status=$?
59137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59138 (exit $ac_status); }; } &&
59139 { ac_try='test -s conftest$ac_exeext'
59140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59141 (eval $ac_try) 2>&5
59142 ac_status=$?
59143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59144 (exit $ac_status); }; }; then
59145 glibcxx_cv_func___builtin_abs_link=yes
59146 else
59147 echo "$as_me: failed program was:" >&5
59148 sed 's/^/| /' conftest.$ac_ext >&5
59150 glibcxx_cv_func___builtin_abs_link=no
59152 rm -f conftest.err conftest.$ac_objext \
59153 conftest$ac_exeext conftest.$ac_ext
59158 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
59159 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
59161 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
59163 cat >>confdefs.h <<\_ACEOF
59164 #define HAVE___BUILTIN_ABS 1
59165 _ACEOF
59172 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
59173 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
59174 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
59175 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
59176 echo $ECHO_N "(cached) $ECHO_C" >&6
59177 else
59181 ac_ext=cc
59182 ac_cpp='$CXXCPP $CPPFLAGS'
59183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59187 cat >conftest.$ac_ext <<_ACEOF
59188 /* confdefs.h. */
59189 _ACEOF
59190 cat confdefs.h >>conftest.$ac_ext
59191 cat >>conftest.$ac_ext <<_ACEOF
59192 /* end confdefs.h. */
59193 #include <math.h>
59195 main ()
59197 __builtin_fabsf(0);
59199 return 0;
59201 _ACEOF
59202 rm -f conftest.$ac_objext
59203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59204 (eval $ac_compile) 2>conftest.er1
59205 ac_status=$?
59206 grep -v '^ *+' conftest.er1 >conftest.err
59207 rm -f conftest.er1
59208 cat conftest.err >&5
59209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59210 (exit $ac_status); } &&
59211 { ac_try='test -z "$ac_cxx_werror_flag"
59212 || test ! -s conftest.err'
59213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59214 (eval $ac_try) 2>&5
59215 ac_status=$?
59216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59217 (exit $ac_status); }; } &&
59218 { ac_try='test -s conftest.$ac_objext'
59219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59220 (eval $ac_try) 2>&5
59221 ac_status=$?
59222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59223 (exit $ac_status); }; }; then
59224 glibcxx_cv_func___builtin_fabsf_use=yes
59225 else
59226 echo "$as_me: failed program was:" >&5
59227 sed 's/^/| /' conftest.$ac_ext >&5
59229 glibcxx_cv_func___builtin_fabsf_use=no
59231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59232 ac_ext=c
59233 ac_cpp='$CPP $CPPFLAGS'
59234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59242 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
59243 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
59244 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
59245 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
59246 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
59247 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
59248 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
59249 echo $ECHO_N "(cached) $ECHO_C" >&6
59250 else
59252 if test x$gcc_no_link = xyes; then
59253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59255 { (exit 1); exit 1; }; }
59257 cat >conftest.$ac_ext <<_ACEOF
59258 /* confdefs.h. */
59259 _ACEOF
59260 cat confdefs.h >>conftest.$ac_ext
59261 cat >>conftest.$ac_ext <<_ACEOF
59262 /* end confdefs.h. */
59263 #include <math.h>
59265 main ()
59267 __builtin_fabsf(0);
59269 return 0;
59271 _ACEOF
59272 rm -f conftest.$ac_objext conftest$ac_exeext
59273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59274 (eval $ac_link) 2>conftest.er1
59275 ac_status=$?
59276 grep -v '^ *+' conftest.er1 >conftest.err
59277 rm -f conftest.er1
59278 cat conftest.err >&5
59279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59280 (exit $ac_status); } &&
59281 { ac_try='test -z "$ac_c_werror_flag"
59282 || test ! -s conftest.err'
59283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59284 (eval $ac_try) 2>&5
59285 ac_status=$?
59286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59287 (exit $ac_status); }; } &&
59288 { ac_try='test -s conftest$ac_exeext'
59289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59290 (eval $ac_try) 2>&5
59291 ac_status=$?
59292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59293 (exit $ac_status); }; }; then
59294 glibcxx_cv_func___builtin_fabsf_link=yes
59295 else
59296 echo "$as_me: failed program was:" >&5
59297 sed 's/^/| /' conftest.$ac_ext >&5
59299 glibcxx_cv_func___builtin_fabsf_link=no
59301 rm -f conftest.err conftest.$ac_objext \
59302 conftest$ac_exeext conftest.$ac_ext
59307 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
59308 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
59310 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
59312 cat >>confdefs.h <<\_ACEOF
59313 #define HAVE___BUILTIN_FABSF 1
59314 _ACEOF
59321 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
59322 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
59323 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
59324 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
59325 echo $ECHO_N "(cached) $ECHO_C" >&6
59326 else
59330 ac_ext=cc
59331 ac_cpp='$CXXCPP $CPPFLAGS'
59332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59336 cat >conftest.$ac_ext <<_ACEOF
59337 /* confdefs.h. */
59338 _ACEOF
59339 cat confdefs.h >>conftest.$ac_ext
59340 cat >>conftest.$ac_ext <<_ACEOF
59341 /* end confdefs.h. */
59342 #include <math.h>
59344 main ()
59346 __builtin_fabs(0);
59348 return 0;
59350 _ACEOF
59351 rm -f conftest.$ac_objext
59352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59353 (eval $ac_compile) 2>conftest.er1
59354 ac_status=$?
59355 grep -v '^ *+' conftest.er1 >conftest.err
59356 rm -f conftest.er1
59357 cat conftest.err >&5
59358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59359 (exit $ac_status); } &&
59360 { ac_try='test -z "$ac_cxx_werror_flag"
59361 || test ! -s conftest.err'
59362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59363 (eval $ac_try) 2>&5
59364 ac_status=$?
59365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59366 (exit $ac_status); }; } &&
59367 { ac_try='test -s conftest.$ac_objext'
59368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59369 (eval $ac_try) 2>&5
59370 ac_status=$?
59371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59372 (exit $ac_status); }; }; then
59373 glibcxx_cv_func___builtin_fabs_use=yes
59374 else
59375 echo "$as_me: failed program was:" >&5
59376 sed 's/^/| /' conftest.$ac_ext >&5
59378 glibcxx_cv_func___builtin_fabs_use=no
59380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59381 ac_ext=c
59382 ac_cpp='$CPP $CPPFLAGS'
59383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59391 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
59392 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
59393 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
59394 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
59395 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
59396 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
59397 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
59398 echo $ECHO_N "(cached) $ECHO_C" >&6
59399 else
59401 if test x$gcc_no_link = xyes; then
59402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59404 { (exit 1); exit 1; }; }
59406 cat >conftest.$ac_ext <<_ACEOF
59407 /* confdefs.h. */
59408 _ACEOF
59409 cat confdefs.h >>conftest.$ac_ext
59410 cat >>conftest.$ac_ext <<_ACEOF
59411 /* end confdefs.h. */
59412 #include <math.h>
59414 main ()
59416 __builtin_fabs(0);
59418 return 0;
59420 _ACEOF
59421 rm -f conftest.$ac_objext conftest$ac_exeext
59422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59423 (eval $ac_link) 2>conftest.er1
59424 ac_status=$?
59425 grep -v '^ *+' conftest.er1 >conftest.err
59426 rm -f conftest.er1
59427 cat conftest.err >&5
59428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59429 (exit $ac_status); } &&
59430 { ac_try='test -z "$ac_c_werror_flag"
59431 || test ! -s conftest.err'
59432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59433 (eval $ac_try) 2>&5
59434 ac_status=$?
59435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59436 (exit $ac_status); }; } &&
59437 { ac_try='test -s conftest$ac_exeext'
59438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59439 (eval $ac_try) 2>&5
59440 ac_status=$?
59441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59442 (exit $ac_status); }; }; then
59443 glibcxx_cv_func___builtin_fabs_link=yes
59444 else
59445 echo "$as_me: failed program was:" >&5
59446 sed 's/^/| /' conftest.$ac_ext >&5
59448 glibcxx_cv_func___builtin_fabs_link=no
59450 rm -f conftest.err conftest.$ac_objext \
59451 conftest$ac_exeext conftest.$ac_ext
59456 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
59457 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
59459 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
59461 cat >>confdefs.h <<\_ACEOF
59462 #define HAVE___BUILTIN_FABS 1
59463 _ACEOF
59470 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
59471 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
59472 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
59473 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
59474 echo $ECHO_N "(cached) $ECHO_C" >&6
59475 else
59479 ac_ext=cc
59480 ac_cpp='$CXXCPP $CPPFLAGS'
59481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59485 cat >conftest.$ac_ext <<_ACEOF
59486 /* confdefs.h. */
59487 _ACEOF
59488 cat confdefs.h >>conftest.$ac_ext
59489 cat >>conftest.$ac_ext <<_ACEOF
59490 /* end confdefs.h. */
59491 #include <math.h>
59493 main ()
59495 __builtin_fabsl(0);
59497 return 0;
59499 _ACEOF
59500 rm -f conftest.$ac_objext
59501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59502 (eval $ac_compile) 2>conftest.er1
59503 ac_status=$?
59504 grep -v '^ *+' conftest.er1 >conftest.err
59505 rm -f conftest.er1
59506 cat conftest.err >&5
59507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59508 (exit $ac_status); } &&
59509 { ac_try='test -z "$ac_cxx_werror_flag"
59510 || test ! -s conftest.err'
59511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59512 (eval $ac_try) 2>&5
59513 ac_status=$?
59514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59515 (exit $ac_status); }; } &&
59516 { ac_try='test -s conftest.$ac_objext'
59517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59518 (eval $ac_try) 2>&5
59519 ac_status=$?
59520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59521 (exit $ac_status); }; }; then
59522 glibcxx_cv_func___builtin_fabsl_use=yes
59523 else
59524 echo "$as_me: failed program was:" >&5
59525 sed 's/^/| /' conftest.$ac_ext >&5
59527 glibcxx_cv_func___builtin_fabsl_use=no
59529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59530 ac_ext=c
59531 ac_cpp='$CPP $CPPFLAGS'
59532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59540 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
59541 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
59542 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
59543 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
59544 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
59545 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
59546 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
59547 echo $ECHO_N "(cached) $ECHO_C" >&6
59548 else
59550 if test x$gcc_no_link = xyes; then
59551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59553 { (exit 1); exit 1; }; }
59555 cat >conftest.$ac_ext <<_ACEOF
59556 /* confdefs.h. */
59557 _ACEOF
59558 cat confdefs.h >>conftest.$ac_ext
59559 cat >>conftest.$ac_ext <<_ACEOF
59560 /* end confdefs.h. */
59561 #include <math.h>
59563 main ()
59565 __builtin_fabsl(0);
59567 return 0;
59569 _ACEOF
59570 rm -f conftest.$ac_objext conftest$ac_exeext
59571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59572 (eval $ac_link) 2>conftest.er1
59573 ac_status=$?
59574 grep -v '^ *+' conftest.er1 >conftest.err
59575 rm -f conftest.er1
59576 cat conftest.err >&5
59577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59578 (exit $ac_status); } &&
59579 { ac_try='test -z "$ac_c_werror_flag"
59580 || test ! -s conftest.err'
59581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59582 (eval $ac_try) 2>&5
59583 ac_status=$?
59584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59585 (exit $ac_status); }; } &&
59586 { ac_try='test -s conftest$ac_exeext'
59587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59588 (eval $ac_try) 2>&5
59589 ac_status=$?
59590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59591 (exit $ac_status); }; }; then
59592 glibcxx_cv_func___builtin_fabsl_link=yes
59593 else
59594 echo "$as_me: failed program was:" >&5
59595 sed 's/^/| /' conftest.$ac_ext >&5
59597 glibcxx_cv_func___builtin_fabsl_link=no
59599 rm -f conftest.err conftest.$ac_objext \
59600 conftest$ac_exeext conftest.$ac_ext
59605 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
59606 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
59608 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
59610 cat >>confdefs.h <<\_ACEOF
59611 #define HAVE___BUILTIN_FABSL 1
59612 _ACEOF
59619 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
59620 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
59621 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
59622 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
59623 echo $ECHO_N "(cached) $ECHO_C" >&6
59624 else
59628 ac_ext=cc
59629 ac_cpp='$CXXCPP $CPPFLAGS'
59630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59634 cat >conftest.$ac_ext <<_ACEOF
59635 /* confdefs.h. */
59636 _ACEOF
59637 cat confdefs.h >>conftest.$ac_ext
59638 cat >>conftest.$ac_ext <<_ACEOF
59639 /* end confdefs.h. */
59640 #include <math.h>
59642 main ()
59644 __builtin_labs(0);
59646 return 0;
59648 _ACEOF
59649 rm -f conftest.$ac_objext
59650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59651 (eval $ac_compile) 2>conftest.er1
59652 ac_status=$?
59653 grep -v '^ *+' conftest.er1 >conftest.err
59654 rm -f conftest.er1
59655 cat conftest.err >&5
59656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59657 (exit $ac_status); } &&
59658 { ac_try='test -z "$ac_cxx_werror_flag"
59659 || test ! -s conftest.err'
59660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59661 (eval $ac_try) 2>&5
59662 ac_status=$?
59663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59664 (exit $ac_status); }; } &&
59665 { ac_try='test -s conftest.$ac_objext'
59666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59667 (eval $ac_try) 2>&5
59668 ac_status=$?
59669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59670 (exit $ac_status); }; }; then
59671 glibcxx_cv_func___builtin_labs_use=yes
59672 else
59673 echo "$as_me: failed program was:" >&5
59674 sed 's/^/| /' conftest.$ac_ext >&5
59676 glibcxx_cv_func___builtin_labs_use=no
59678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59679 ac_ext=c
59680 ac_cpp='$CPP $CPPFLAGS'
59681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59689 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
59690 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
59691 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
59692 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
59693 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
59694 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
59695 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
59696 echo $ECHO_N "(cached) $ECHO_C" >&6
59697 else
59699 if test x$gcc_no_link = xyes; then
59700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59702 { (exit 1); exit 1; }; }
59704 cat >conftest.$ac_ext <<_ACEOF
59705 /* confdefs.h. */
59706 _ACEOF
59707 cat confdefs.h >>conftest.$ac_ext
59708 cat >>conftest.$ac_ext <<_ACEOF
59709 /* end confdefs.h. */
59710 #include <math.h>
59712 main ()
59714 __builtin_labs(0);
59716 return 0;
59718 _ACEOF
59719 rm -f conftest.$ac_objext conftest$ac_exeext
59720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59721 (eval $ac_link) 2>conftest.er1
59722 ac_status=$?
59723 grep -v '^ *+' conftest.er1 >conftest.err
59724 rm -f conftest.er1
59725 cat conftest.err >&5
59726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59727 (exit $ac_status); } &&
59728 { ac_try='test -z "$ac_c_werror_flag"
59729 || test ! -s conftest.err'
59730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59731 (eval $ac_try) 2>&5
59732 ac_status=$?
59733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59734 (exit $ac_status); }; } &&
59735 { ac_try='test -s conftest$ac_exeext'
59736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59737 (eval $ac_try) 2>&5
59738 ac_status=$?
59739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59740 (exit $ac_status); }; }; then
59741 glibcxx_cv_func___builtin_labs_link=yes
59742 else
59743 echo "$as_me: failed program was:" >&5
59744 sed 's/^/| /' conftest.$ac_ext >&5
59746 glibcxx_cv_func___builtin_labs_link=no
59748 rm -f conftest.err conftest.$ac_objext \
59749 conftest$ac_exeext conftest.$ac_ext
59754 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
59755 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
59757 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
59759 cat >>confdefs.h <<\_ACEOF
59760 #define HAVE___BUILTIN_LABS 1
59761 _ACEOF
59769 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
59770 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
59771 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
59772 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
59773 echo $ECHO_N "(cached) $ECHO_C" >&6
59774 else
59778 ac_ext=cc
59779 ac_cpp='$CXXCPP $CPPFLAGS'
59780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59784 cat >conftest.$ac_ext <<_ACEOF
59785 /* confdefs.h. */
59786 _ACEOF
59787 cat confdefs.h >>conftest.$ac_ext
59788 cat >>conftest.$ac_ext <<_ACEOF
59789 /* end confdefs.h. */
59790 #include <math.h>
59792 main ()
59794 __builtin_sqrtf(0);
59796 return 0;
59798 _ACEOF
59799 rm -f conftest.$ac_objext
59800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59801 (eval $ac_compile) 2>conftest.er1
59802 ac_status=$?
59803 grep -v '^ *+' conftest.er1 >conftest.err
59804 rm -f conftest.er1
59805 cat conftest.err >&5
59806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59807 (exit $ac_status); } &&
59808 { ac_try='test -z "$ac_cxx_werror_flag"
59809 || test ! -s conftest.err'
59810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59811 (eval $ac_try) 2>&5
59812 ac_status=$?
59813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59814 (exit $ac_status); }; } &&
59815 { ac_try='test -s conftest.$ac_objext'
59816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59817 (eval $ac_try) 2>&5
59818 ac_status=$?
59819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59820 (exit $ac_status); }; }; then
59821 glibcxx_cv_func___builtin_sqrtf_use=yes
59822 else
59823 echo "$as_me: failed program was:" >&5
59824 sed 's/^/| /' conftest.$ac_ext >&5
59826 glibcxx_cv_func___builtin_sqrtf_use=no
59828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59829 ac_ext=c
59830 ac_cpp='$CPP $CPPFLAGS'
59831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59839 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
59840 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
59841 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
59842 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
59843 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
59844 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
59845 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
59846 echo $ECHO_N "(cached) $ECHO_C" >&6
59847 else
59849 if test x$gcc_no_link = xyes; then
59850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59852 { (exit 1); exit 1; }; }
59854 cat >conftest.$ac_ext <<_ACEOF
59855 /* confdefs.h. */
59856 _ACEOF
59857 cat confdefs.h >>conftest.$ac_ext
59858 cat >>conftest.$ac_ext <<_ACEOF
59859 /* end confdefs.h. */
59860 #include <math.h>
59862 main ()
59864 __builtin_sqrtf(0);
59866 return 0;
59868 _ACEOF
59869 rm -f conftest.$ac_objext conftest$ac_exeext
59870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59871 (eval $ac_link) 2>conftest.er1
59872 ac_status=$?
59873 grep -v '^ *+' conftest.er1 >conftest.err
59874 rm -f conftest.er1
59875 cat conftest.err >&5
59876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59877 (exit $ac_status); } &&
59878 { ac_try='test -z "$ac_c_werror_flag"
59879 || test ! -s conftest.err'
59880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59881 (eval $ac_try) 2>&5
59882 ac_status=$?
59883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59884 (exit $ac_status); }; } &&
59885 { ac_try='test -s conftest$ac_exeext'
59886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59887 (eval $ac_try) 2>&5
59888 ac_status=$?
59889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59890 (exit $ac_status); }; }; then
59891 glibcxx_cv_func___builtin_sqrtf_link=yes
59892 else
59893 echo "$as_me: failed program was:" >&5
59894 sed 's/^/| /' conftest.$ac_ext >&5
59896 glibcxx_cv_func___builtin_sqrtf_link=no
59898 rm -f conftest.err conftest.$ac_objext \
59899 conftest$ac_exeext conftest.$ac_ext
59904 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
59905 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
59907 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
59909 cat >>confdefs.h <<\_ACEOF
59910 #define HAVE___BUILTIN_SQRTF 1
59911 _ACEOF
59918 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
59919 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
59920 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
59921 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
59922 echo $ECHO_N "(cached) $ECHO_C" >&6
59923 else
59927 ac_ext=cc
59928 ac_cpp='$CXXCPP $CPPFLAGS'
59929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59933 cat >conftest.$ac_ext <<_ACEOF
59934 /* confdefs.h. */
59935 _ACEOF
59936 cat confdefs.h >>conftest.$ac_ext
59937 cat >>conftest.$ac_ext <<_ACEOF
59938 /* end confdefs.h. */
59939 #include <math.h>
59941 main ()
59943 __builtin_sqrt(0);
59945 return 0;
59947 _ACEOF
59948 rm -f conftest.$ac_objext
59949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59950 (eval $ac_compile) 2>conftest.er1
59951 ac_status=$?
59952 grep -v '^ *+' conftest.er1 >conftest.err
59953 rm -f conftest.er1
59954 cat conftest.err >&5
59955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59956 (exit $ac_status); } &&
59957 { ac_try='test -z "$ac_cxx_werror_flag"
59958 || test ! -s conftest.err'
59959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59960 (eval $ac_try) 2>&5
59961 ac_status=$?
59962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59963 (exit $ac_status); }; } &&
59964 { ac_try='test -s conftest.$ac_objext'
59965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59966 (eval $ac_try) 2>&5
59967 ac_status=$?
59968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59969 (exit $ac_status); }; }; then
59970 glibcxx_cv_func___builtin_sqrt_use=yes
59971 else
59972 echo "$as_me: failed program was:" >&5
59973 sed 's/^/| /' conftest.$ac_ext >&5
59975 glibcxx_cv_func___builtin_sqrt_use=no
59977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59978 ac_ext=c
59979 ac_cpp='$CPP $CPPFLAGS'
59980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59988 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
59989 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
59990 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
59991 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
59992 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
59993 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
59994 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
59995 echo $ECHO_N "(cached) $ECHO_C" >&6
59996 else
59998 if test x$gcc_no_link = xyes; then
59999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60001 { (exit 1); exit 1; }; }
60003 cat >conftest.$ac_ext <<_ACEOF
60004 /* confdefs.h. */
60005 _ACEOF
60006 cat confdefs.h >>conftest.$ac_ext
60007 cat >>conftest.$ac_ext <<_ACEOF
60008 /* end confdefs.h. */
60009 #include <math.h>
60011 main ()
60013 __builtin_sqrt(0);
60015 return 0;
60017 _ACEOF
60018 rm -f conftest.$ac_objext conftest$ac_exeext
60019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60020 (eval $ac_link) 2>conftest.er1
60021 ac_status=$?
60022 grep -v '^ *+' conftest.er1 >conftest.err
60023 rm -f conftest.er1
60024 cat conftest.err >&5
60025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60026 (exit $ac_status); } &&
60027 { ac_try='test -z "$ac_c_werror_flag"
60028 || test ! -s conftest.err'
60029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60030 (eval $ac_try) 2>&5
60031 ac_status=$?
60032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60033 (exit $ac_status); }; } &&
60034 { ac_try='test -s conftest$ac_exeext'
60035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60036 (eval $ac_try) 2>&5
60037 ac_status=$?
60038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60039 (exit $ac_status); }; }; then
60040 glibcxx_cv_func___builtin_sqrt_link=yes
60041 else
60042 echo "$as_me: failed program was:" >&5
60043 sed 's/^/| /' conftest.$ac_ext >&5
60045 glibcxx_cv_func___builtin_sqrt_link=no
60047 rm -f conftest.err conftest.$ac_objext \
60048 conftest$ac_exeext conftest.$ac_ext
60053 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
60054 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
60056 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
60058 cat >>confdefs.h <<\_ACEOF
60059 #define HAVE___BUILTIN_SQRT 1
60060 _ACEOF
60067 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
60068 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
60069 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
60070 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
60071 echo $ECHO_N "(cached) $ECHO_C" >&6
60072 else
60076 ac_ext=cc
60077 ac_cpp='$CXXCPP $CPPFLAGS'
60078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60082 cat >conftest.$ac_ext <<_ACEOF
60083 /* confdefs.h. */
60084 _ACEOF
60085 cat confdefs.h >>conftest.$ac_ext
60086 cat >>conftest.$ac_ext <<_ACEOF
60087 /* end confdefs.h. */
60088 #include <math.h>
60090 main ()
60092 __builtin_sqrtl(0);
60094 return 0;
60096 _ACEOF
60097 rm -f conftest.$ac_objext
60098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60099 (eval $ac_compile) 2>conftest.er1
60100 ac_status=$?
60101 grep -v '^ *+' conftest.er1 >conftest.err
60102 rm -f conftest.er1
60103 cat conftest.err >&5
60104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60105 (exit $ac_status); } &&
60106 { ac_try='test -z "$ac_cxx_werror_flag"
60107 || test ! -s conftest.err'
60108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60109 (eval $ac_try) 2>&5
60110 ac_status=$?
60111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60112 (exit $ac_status); }; } &&
60113 { ac_try='test -s conftest.$ac_objext'
60114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60115 (eval $ac_try) 2>&5
60116 ac_status=$?
60117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60118 (exit $ac_status); }; }; then
60119 glibcxx_cv_func___builtin_sqrtl_use=yes
60120 else
60121 echo "$as_me: failed program was:" >&5
60122 sed 's/^/| /' conftest.$ac_ext >&5
60124 glibcxx_cv_func___builtin_sqrtl_use=no
60126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60127 ac_ext=c
60128 ac_cpp='$CPP $CPPFLAGS'
60129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60137 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
60138 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
60139 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
60140 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
60141 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
60142 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
60143 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
60144 echo $ECHO_N "(cached) $ECHO_C" >&6
60145 else
60147 if test x$gcc_no_link = xyes; then
60148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60150 { (exit 1); exit 1; }; }
60152 cat >conftest.$ac_ext <<_ACEOF
60153 /* confdefs.h. */
60154 _ACEOF
60155 cat confdefs.h >>conftest.$ac_ext
60156 cat >>conftest.$ac_ext <<_ACEOF
60157 /* end confdefs.h. */
60158 #include <math.h>
60160 main ()
60162 __builtin_sqrtl(0);
60164 return 0;
60166 _ACEOF
60167 rm -f conftest.$ac_objext conftest$ac_exeext
60168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60169 (eval $ac_link) 2>conftest.er1
60170 ac_status=$?
60171 grep -v '^ *+' conftest.er1 >conftest.err
60172 rm -f conftest.er1
60173 cat conftest.err >&5
60174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60175 (exit $ac_status); } &&
60176 { ac_try='test -z "$ac_c_werror_flag"
60177 || test ! -s conftest.err'
60178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60179 (eval $ac_try) 2>&5
60180 ac_status=$?
60181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60182 (exit $ac_status); }; } &&
60183 { ac_try='test -s conftest$ac_exeext'
60184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60185 (eval $ac_try) 2>&5
60186 ac_status=$?
60187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60188 (exit $ac_status); }; }; then
60189 glibcxx_cv_func___builtin_sqrtl_link=yes
60190 else
60191 echo "$as_me: failed program was:" >&5
60192 sed 's/^/| /' conftest.$ac_ext >&5
60194 glibcxx_cv_func___builtin_sqrtl_link=no
60196 rm -f conftest.err conftest.$ac_objext \
60197 conftest$ac_exeext conftest.$ac_ext
60202 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
60203 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
60205 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
60207 cat >>confdefs.h <<\_ACEOF
60208 #define HAVE___BUILTIN_SQRTL 1
60209 _ACEOF
60217 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
60218 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
60219 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
60220 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
60221 echo $ECHO_N "(cached) $ECHO_C" >&6
60222 else
60226 ac_ext=cc
60227 ac_cpp='$CXXCPP $CPPFLAGS'
60228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60232 cat >conftest.$ac_ext <<_ACEOF
60233 /* confdefs.h. */
60234 _ACEOF
60235 cat confdefs.h >>conftest.$ac_ext
60236 cat >>conftest.$ac_ext <<_ACEOF
60237 /* end confdefs.h. */
60238 #include <math.h>
60240 main ()
60242 __builtin_sinf(0);
60244 return 0;
60246 _ACEOF
60247 rm -f conftest.$ac_objext
60248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60249 (eval $ac_compile) 2>conftest.er1
60250 ac_status=$?
60251 grep -v '^ *+' conftest.er1 >conftest.err
60252 rm -f conftest.er1
60253 cat conftest.err >&5
60254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60255 (exit $ac_status); } &&
60256 { ac_try='test -z "$ac_cxx_werror_flag"
60257 || test ! -s conftest.err'
60258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60259 (eval $ac_try) 2>&5
60260 ac_status=$?
60261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60262 (exit $ac_status); }; } &&
60263 { ac_try='test -s conftest.$ac_objext'
60264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60265 (eval $ac_try) 2>&5
60266 ac_status=$?
60267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60268 (exit $ac_status); }; }; then
60269 glibcxx_cv_func___builtin_sinf_use=yes
60270 else
60271 echo "$as_me: failed program was:" >&5
60272 sed 's/^/| /' conftest.$ac_ext >&5
60274 glibcxx_cv_func___builtin_sinf_use=no
60276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60277 ac_ext=c
60278 ac_cpp='$CPP $CPPFLAGS'
60279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60287 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
60288 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
60289 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
60290 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
60291 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
60292 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
60293 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
60294 echo $ECHO_N "(cached) $ECHO_C" >&6
60295 else
60297 if test x$gcc_no_link = xyes; then
60298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60300 { (exit 1); exit 1; }; }
60302 cat >conftest.$ac_ext <<_ACEOF
60303 /* confdefs.h. */
60304 _ACEOF
60305 cat confdefs.h >>conftest.$ac_ext
60306 cat >>conftest.$ac_ext <<_ACEOF
60307 /* end confdefs.h. */
60308 #include <math.h>
60310 main ()
60312 __builtin_sinf(0);
60314 return 0;
60316 _ACEOF
60317 rm -f conftest.$ac_objext conftest$ac_exeext
60318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60319 (eval $ac_link) 2>conftest.er1
60320 ac_status=$?
60321 grep -v '^ *+' conftest.er1 >conftest.err
60322 rm -f conftest.er1
60323 cat conftest.err >&5
60324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60325 (exit $ac_status); } &&
60326 { ac_try='test -z "$ac_c_werror_flag"
60327 || test ! -s conftest.err'
60328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60329 (eval $ac_try) 2>&5
60330 ac_status=$?
60331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60332 (exit $ac_status); }; } &&
60333 { ac_try='test -s conftest$ac_exeext'
60334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60335 (eval $ac_try) 2>&5
60336 ac_status=$?
60337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60338 (exit $ac_status); }; }; then
60339 glibcxx_cv_func___builtin_sinf_link=yes
60340 else
60341 echo "$as_me: failed program was:" >&5
60342 sed 's/^/| /' conftest.$ac_ext >&5
60344 glibcxx_cv_func___builtin_sinf_link=no
60346 rm -f conftest.err conftest.$ac_objext \
60347 conftest$ac_exeext conftest.$ac_ext
60352 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
60353 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
60355 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
60357 cat >>confdefs.h <<\_ACEOF
60358 #define HAVE___BUILTIN_SINF 1
60359 _ACEOF
60366 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
60367 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
60368 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
60369 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
60370 echo $ECHO_N "(cached) $ECHO_C" >&6
60371 else
60375 ac_ext=cc
60376 ac_cpp='$CXXCPP $CPPFLAGS'
60377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60381 cat >conftest.$ac_ext <<_ACEOF
60382 /* confdefs.h. */
60383 _ACEOF
60384 cat confdefs.h >>conftest.$ac_ext
60385 cat >>conftest.$ac_ext <<_ACEOF
60386 /* end confdefs.h. */
60387 #include <math.h>
60389 main ()
60391 __builtin_sin(0);
60393 return 0;
60395 _ACEOF
60396 rm -f conftest.$ac_objext
60397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60398 (eval $ac_compile) 2>conftest.er1
60399 ac_status=$?
60400 grep -v '^ *+' conftest.er1 >conftest.err
60401 rm -f conftest.er1
60402 cat conftest.err >&5
60403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60404 (exit $ac_status); } &&
60405 { ac_try='test -z "$ac_cxx_werror_flag"
60406 || test ! -s conftest.err'
60407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60408 (eval $ac_try) 2>&5
60409 ac_status=$?
60410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60411 (exit $ac_status); }; } &&
60412 { ac_try='test -s conftest.$ac_objext'
60413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60414 (eval $ac_try) 2>&5
60415 ac_status=$?
60416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60417 (exit $ac_status); }; }; then
60418 glibcxx_cv_func___builtin_sin_use=yes
60419 else
60420 echo "$as_me: failed program was:" >&5
60421 sed 's/^/| /' conftest.$ac_ext >&5
60423 glibcxx_cv_func___builtin_sin_use=no
60425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60426 ac_ext=c
60427 ac_cpp='$CPP $CPPFLAGS'
60428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60436 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
60437 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
60438 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
60439 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
60440 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
60441 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
60442 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
60443 echo $ECHO_N "(cached) $ECHO_C" >&6
60444 else
60446 if test x$gcc_no_link = xyes; then
60447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60449 { (exit 1); exit 1; }; }
60451 cat >conftest.$ac_ext <<_ACEOF
60452 /* confdefs.h. */
60453 _ACEOF
60454 cat confdefs.h >>conftest.$ac_ext
60455 cat >>conftest.$ac_ext <<_ACEOF
60456 /* end confdefs.h. */
60457 #include <math.h>
60459 main ()
60461 __builtin_sin(0);
60463 return 0;
60465 _ACEOF
60466 rm -f conftest.$ac_objext conftest$ac_exeext
60467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60468 (eval $ac_link) 2>conftest.er1
60469 ac_status=$?
60470 grep -v '^ *+' conftest.er1 >conftest.err
60471 rm -f conftest.er1
60472 cat conftest.err >&5
60473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60474 (exit $ac_status); } &&
60475 { ac_try='test -z "$ac_c_werror_flag"
60476 || test ! -s conftest.err'
60477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60478 (eval $ac_try) 2>&5
60479 ac_status=$?
60480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60481 (exit $ac_status); }; } &&
60482 { ac_try='test -s conftest$ac_exeext'
60483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60484 (eval $ac_try) 2>&5
60485 ac_status=$?
60486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60487 (exit $ac_status); }; }; then
60488 glibcxx_cv_func___builtin_sin_link=yes
60489 else
60490 echo "$as_me: failed program was:" >&5
60491 sed 's/^/| /' conftest.$ac_ext >&5
60493 glibcxx_cv_func___builtin_sin_link=no
60495 rm -f conftest.err conftest.$ac_objext \
60496 conftest$ac_exeext conftest.$ac_ext
60501 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
60502 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
60504 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
60506 cat >>confdefs.h <<\_ACEOF
60507 #define HAVE___BUILTIN_SIN 1
60508 _ACEOF
60515 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
60516 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
60517 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
60518 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
60519 echo $ECHO_N "(cached) $ECHO_C" >&6
60520 else
60524 ac_ext=cc
60525 ac_cpp='$CXXCPP $CPPFLAGS'
60526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60530 cat >conftest.$ac_ext <<_ACEOF
60531 /* confdefs.h. */
60532 _ACEOF
60533 cat confdefs.h >>conftest.$ac_ext
60534 cat >>conftest.$ac_ext <<_ACEOF
60535 /* end confdefs.h. */
60536 #include <math.h>
60538 main ()
60540 __builtin_sinl(0);
60542 return 0;
60544 _ACEOF
60545 rm -f conftest.$ac_objext
60546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60547 (eval $ac_compile) 2>conftest.er1
60548 ac_status=$?
60549 grep -v '^ *+' conftest.er1 >conftest.err
60550 rm -f conftest.er1
60551 cat conftest.err >&5
60552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60553 (exit $ac_status); } &&
60554 { ac_try='test -z "$ac_cxx_werror_flag"
60555 || test ! -s conftest.err'
60556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60557 (eval $ac_try) 2>&5
60558 ac_status=$?
60559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60560 (exit $ac_status); }; } &&
60561 { ac_try='test -s conftest.$ac_objext'
60562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60563 (eval $ac_try) 2>&5
60564 ac_status=$?
60565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60566 (exit $ac_status); }; }; then
60567 glibcxx_cv_func___builtin_sinl_use=yes
60568 else
60569 echo "$as_me: failed program was:" >&5
60570 sed 's/^/| /' conftest.$ac_ext >&5
60572 glibcxx_cv_func___builtin_sinl_use=no
60574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60575 ac_ext=c
60576 ac_cpp='$CPP $CPPFLAGS'
60577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60585 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
60586 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
60587 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
60588 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
60589 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
60590 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
60591 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
60592 echo $ECHO_N "(cached) $ECHO_C" >&6
60593 else
60595 if test x$gcc_no_link = xyes; then
60596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60598 { (exit 1); exit 1; }; }
60600 cat >conftest.$ac_ext <<_ACEOF
60601 /* confdefs.h. */
60602 _ACEOF
60603 cat confdefs.h >>conftest.$ac_ext
60604 cat >>conftest.$ac_ext <<_ACEOF
60605 /* end confdefs.h. */
60606 #include <math.h>
60608 main ()
60610 __builtin_sinl(0);
60612 return 0;
60614 _ACEOF
60615 rm -f conftest.$ac_objext conftest$ac_exeext
60616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60617 (eval $ac_link) 2>conftest.er1
60618 ac_status=$?
60619 grep -v '^ *+' conftest.er1 >conftest.err
60620 rm -f conftest.er1
60621 cat conftest.err >&5
60622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60623 (exit $ac_status); } &&
60624 { ac_try='test -z "$ac_c_werror_flag"
60625 || test ! -s conftest.err'
60626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60627 (eval $ac_try) 2>&5
60628 ac_status=$?
60629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60630 (exit $ac_status); }; } &&
60631 { ac_try='test -s conftest$ac_exeext'
60632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60633 (eval $ac_try) 2>&5
60634 ac_status=$?
60635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60636 (exit $ac_status); }; }; then
60637 glibcxx_cv_func___builtin_sinl_link=yes
60638 else
60639 echo "$as_me: failed program was:" >&5
60640 sed 's/^/| /' conftest.$ac_ext >&5
60642 glibcxx_cv_func___builtin_sinl_link=no
60644 rm -f conftest.err conftest.$ac_objext \
60645 conftest$ac_exeext conftest.$ac_ext
60650 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
60651 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
60653 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
60655 cat >>confdefs.h <<\_ACEOF
60656 #define HAVE___BUILTIN_SINL 1
60657 _ACEOF
60665 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
60666 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
60667 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
60668 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
60669 echo $ECHO_N "(cached) $ECHO_C" >&6
60670 else
60674 ac_ext=cc
60675 ac_cpp='$CXXCPP $CPPFLAGS'
60676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60680 cat >conftest.$ac_ext <<_ACEOF
60681 /* confdefs.h. */
60682 _ACEOF
60683 cat confdefs.h >>conftest.$ac_ext
60684 cat >>conftest.$ac_ext <<_ACEOF
60685 /* end confdefs.h. */
60686 #include <math.h>
60688 main ()
60690 __builtin_cosf(0);
60692 return 0;
60694 _ACEOF
60695 rm -f conftest.$ac_objext
60696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60697 (eval $ac_compile) 2>conftest.er1
60698 ac_status=$?
60699 grep -v '^ *+' conftest.er1 >conftest.err
60700 rm -f conftest.er1
60701 cat conftest.err >&5
60702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60703 (exit $ac_status); } &&
60704 { ac_try='test -z "$ac_cxx_werror_flag"
60705 || test ! -s conftest.err'
60706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60707 (eval $ac_try) 2>&5
60708 ac_status=$?
60709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60710 (exit $ac_status); }; } &&
60711 { ac_try='test -s conftest.$ac_objext'
60712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60713 (eval $ac_try) 2>&5
60714 ac_status=$?
60715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60716 (exit $ac_status); }; }; then
60717 glibcxx_cv_func___builtin_cosf_use=yes
60718 else
60719 echo "$as_me: failed program was:" >&5
60720 sed 's/^/| /' conftest.$ac_ext >&5
60722 glibcxx_cv_func___builtin_cosf_use=no
60724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60725 ac_ext=c
60726 ac_cpp='$CPP $CPPFLAGS'
60727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60735 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
60736 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
60737 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
60738 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
60739 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
60740 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
60741 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
60742 echo $ECHO_N "(cached) $ECHO_C" >&6
60743 else
60745 if test x$gcc_no_link = xyes; then
60746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60748 { (exit 1); exit 1; }; }
60750 cat >conftest.$ac_ext <<_ACEOF
60751 /* confdefs.h. */
60752 _ACEOF
60753 cat confdefs.h >>conftest.$ac_ext
60754 cat >>conftest.$ac_ext <<_ACEOF
60755 /* end confdefs.h. */
60756 #include <math.h>
60758 main ()
60760 __builtin_cosf(0);
60762 return 0;
60764 _ACEOF
60765 rm -f conftest.$ac_objext conftest$ac_exeext
60766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60767 (eval $ac_link) 2>conftest.er1
60768 ac_status=$?
60769 grep -v '^ *+' conftest.er1 >conftest.err
60770 rm -f conftest.er1
60771 cat conftest.err >&5
60772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60773 (exit $ac_status); } &&
60774 { ac_try='test -z "$ac_c_werror_flag"
60775 || test ! -s conftest.err'
60776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60777 (eval $ac_try) 2>&5
60778 ac_status=$?
60779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60780 (exit $ac_status); }; } &&
60781 { ac_try='test -s conftest$ac_exeext'
60782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60783 (eval $ac_try) 2>&5
60784 ac_status=$?
60785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60786 (exit $ac_status); }; }; then
60787 glibcxx_cv_func___builtin_cosf_link=yes
60788 else
60789 echo "$as_me: failed program was:" >&5
60790 sed 's/^/| /' conftest.$ac_ext >&5
60792 glibcxx_cv_func___builtin_cosf_link=no
60794 rm -f conftest.err conftest.$ac_objext \
60795 conftest$ac_exeext conftest.$ac_ext
60800 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
60801 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
60803 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
60805 cat >>confdefs.h <<\_ACEOF
60806 #define HAVE___BUILTIN_COSF 1
60807 _ACEOF
60814 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
60815 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
60816 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
60817 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
60818 echo $ECHO_N "(cached) $ECHO_C" >&6
60819 else
60823 ac_ext=cc
60824 ac_cpp='$CXXCPP $CPPFLAGS'
60825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60829 cat >conftest.$ac_ext <<_ACEOF
60830 /* confdefs.h. */
60831 _ACEOF
60832 cat confdefs.h >>conftest.$ac_ext
60833 cat >>conftest.$ac_ext <<_ACEOF
60834 /* end confdefs.h. */
60835 #include <math.h>
60837 main ()
60839 __builtin_cos(0);
60841 return 0;
60843 _ACEOF
60844 rm -f conftest.$ac_objext
60845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60846 (eval $ac_compile) 2>conftest.er1
60847 ac_status=$?
60848 grep -v '^ *+' conftest.er1 >conftest.err
60849 rm -f conftest.er1
60850 cat conftest.err >&5
60851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60852 (exit $ac_status); } &&
60853 { ac_try='test -z "$ac_cxx_werror_flag"
60854 || test ! -s conftest.err'
60855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60856 (eval $ac_try) 2>&5
60857 ac_status=$?
60858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60859 (exit $ac_status); }; } &&
60860 { ac_try='test -s conftest.$ac_objext'
60861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60862 (eval $ac_try) 2>&5
60863 ac_status=$?
60864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60865 (exit $ac_status); }; }; then
60866 glibcxx_cv_func___builtin_cos_use=yes
60867 else
60868 echo "$as_me: failed program was:" >&5
60869 sed 's/^/| /' conftest.$ac_ext >&5
60871 glibcxx_cv_func___builtin_cos_use=no
60873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60874 ac_ext=c
60875 ac_cpp='$CPP $CPPFLAGS'
60876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60884 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
60885 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
60886 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
60887 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
60888 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
60889 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
60890 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
60891 echo $ECHO_N "(cached) $ECHO_C" >&6
60892 else
60894 if test x$gcc_no_link = xyes; then
60895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60897 { (exit 1); exit 1; }; }
60899 cat >conftest.$ac_ext <<_ACEOF
60900 /* confdefs.h. */
60901 _ACEOF
60902 cat confdefs.h >>conftest.$ac_ext
60903 cat >>conftest.$ac_ext <<_ACEOF
60904 /* end confdefs.h. */
60905 #include <math.h>
60907 main ()
60909 __builtin_cos(0);
60911 return 0;
60913 _ACEOF
60914 rm -f conftest.$ac_objext conftest$ac_exeext
60915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60916 (eval $ac_link) 2>conftest.er1
60917 ac_status=$?
60918 grep -v '^ *+' conftest.er1 >conftest.err
60919 rm -f conftest.er1
60920 cat conftest.err >&5
60921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60922 (exit $ac_status); } &&
60923 { ac_try='test -z "$ac_c_werror_flag"
60924 || test ! -s conftest.err'
60925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60926 (eval $ac_try) 2>&5
60927 ac_status=$?
60928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60929 (exit $ac_status); }; } &&
60930 { ac_try='test -s conftest$ac_exeext'
60931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60932 (eval $ac_try) 2>&5
60933 ac_status=$?
60934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60935 (exit $ac_status); }; }; then
60936 glibcxx_cv_func___builtin_cos_link=yes
60937 else
60938 echo "$as_me: failed program was:" >&5
60939 sed 's/^/| /' conftest.$ac_ext >&5
60941 glibcxx_cv_func___builtin_cos_link=no
60943 rm -f conftest.err conftest.$ac_objext \
60944 conftest$ac_exeext conftest.$ac_ext
60949 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
60950 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
60952 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
60954 cat >>confdefs.h <<\_ACEOF
60955 #define HAVE___BUILTIN_COS 1
60956 _ACEOF
60963 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
60964 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
60965 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
60966 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
60967 echo $ECHO_N "(cached) $ECHO_C" >&6
60968 else
60972 ac_ext=cc
60973 ac_cpp='$CXXCPP $CPPFLAGS'
60974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60978 cat >conftest.$ac_ext <<_ACEOF
60979 /* confdefs.h. */
60980 _ACEOF
60981 cat confdefs.h >>conftest.$ac_ext
60982 cat >>conftest.$ac_ext <<_ACEOF
60983 /* end confdefs.h. */
60984 #include <math.h>
60986 main ()
60988 __builtin_cosl(0);
60990 return 0;
60992 _ACEOF
60993 rm -f conftest.$ac_objext
60994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60995 (eval $ac_compile) 2>conftest.er1
60996 ac_status=$?
60997 grep -v '^ *+' conftest.er1 >conftest.err
60998 rm -f conftest.er1
60999 cat conftest.err >&5
61000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61001 (exit $ac_status); } &&
61002 { ac_try='test -z "$ac_cxx_werror_flag"
61003 || test ! -s conftest.err'
61004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61005 (eval $ac_try) 2>&5
61006 ac_status=$?
61007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61008 (exit $ac_status); }; } &&
61009 { ac_try='test -s conftest.$ac_objext'
61010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61011 (eval $ac_try) 2>&5
61012 ac_status=$?
61013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61014 (exit $ac_status); }; }; then
61015 glibcxx_cv_func___builtin_cosl_use=yes
61016 else
61017 echo "$as_me: failed program was:" >&5
61018 sed 's/^/| /' conftest.$ac_ext >&5
61020 glibcxx_cv_func___builtin_cosl_use=no
61022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61023 ac_ext=c
61024 ac_cpp='$CPP $CPPFLAGS'
61025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61033 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
61034 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
61035 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
61036 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
61037 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
61038 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
61039 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
61040 echo $ECHO_N "(cached) $ECHO_C" >&6
61041 else
61043 if test x$gcc_no_link = xyes; then
61044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61046 { (exit 1); exit 1; }; }
61048 cat >conftest.$ac_ext <<_ACEOF
61049 /* confdefs.h. */
61050 _ACEOF
61051 cat confdefs.h >>conftest.$ac_ext
61052 cat >>conftest.$ac_ext <<_ACEOF
61053 /* end confdefs.h. */
61054 #include <math.h>
61056 main ()
61058 __builtin_cosl(0);
61060 return 0;
61062 _ACEOF
61063 rm -f conftest.$ac_objext conftest$ac_exeext
61064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61065 (eval $ac_link) 2>conftest.er1
61066 ac_status=$?
61067 grep -v '^ *+' conftest.er1 >conftest.err
61068 rm -f conftest.er1
61069 cat conftest.err >&5
61070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61071 (exit $ac_status); } &&
61072 { ac_try='test -z "$ac_c_werror_flag"
61073 || test ! -s conftest.err'
61074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61075 (eval $ac_try) 2>&5
61076 ac_status=$?
61077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61078 (exit $ac_status); }; } &&
61079 { ac_try='test -s conftest$ac_exeext'
61080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61081 (eval $ac_try) 2>&5
61082 ac_status=$?
61083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61084 (exit $ac_status); }; }; then
61085 glibcxx_cv_func___builtin_cosl_link=yes
61086 else
61087 echo "$as_me: failed program was:" >&5
61088 sed 's/^/| /' conftest.$ac_ext >&5
61090 glibcxx_cv_func___builtin_cosl_link=no
61092 rm -f conftest.err conftest.$ac_objext \
61093 conftest$ac_exeext conftest.$ac_ext
61098 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
61099 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
61101 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
61103 cat >>confdefs.h <<\_ACEOF
61104 #define HAVE___BUILTIN_COSL 1
61105 _ACEOF
61114 echo "$as_me:$LINENO: checking for main in -lm" >&5
61115 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
61116 if test "${ac_cv_lib_m_main+set}" = set; then
61117 echo $ECHO_N "(cached) $ECHO_C" >&6
61118 else
61119 ac_check_lib_save_LIBS=$LIBS
61120 LIBS="-lm $LIBS"
61121 if test x$gcc_no_link = xyes; then
61122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61124 { (exit 1); exit 1; }; }
61126 cat >conftest.$ac_ext <<_ACEOF
61127 /* confdefs.h. */
61128 _ACEOF
61129 cat confdefs.h >>conftest.$ac_ext
61130 cat >>conftest.$ac_ext <<_ACEOF
61131 /* end confdefs.h. */
61135 main ()
61137 main ();
61139 return 0;
61141 _ACEOF
61142 rm -f conftest.$ac_objext conftest$ac_exeext
61143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61144 (eval $ac_link) 2>conftest.er1
61145 ac_status=$?
61146 grep -v '^ *+' conftest.er1 >conftest.err
61147 rm -f conftest.er1
61148 cat conftest.err >&5
61149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61150 (exit $ac_status); } &&
61151 { ac_try='test -z "$ac_c_werror_flag"
61152 || test ! -s conftest.err'
61153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61154 (eval $ac_try) 2>&5
61155 ac_status=$?
61156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61157 (exit $ac_status); }; } &&
61158 { ac_try='test -s conftest$ac_exeext'
61159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61160 (eval $ac_try) 2>&5
61161 ac_status=$?
61162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61163 (exit $ac_status); }; }; then
61164 ac_cv_lib_m_main=yes
61165 else
61166 echo "$as_me: failed program was:" >&5
61167 sed 's/^/| /' conftest.$ac_ext >&5
61169 ac_cv_lib_m_main=no
61171 rm -f conftest.err conftest.$ac_objext \
61172 conftest$ac_exeext conftest.$ac_ext
61173 LIBS=$ac_check_lib_save_LIBS
61175 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
61176 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
61177 if test $ac_cv_lib_m_main = yes; then
61178 cat >>confdefs.h <<_ACEOF
61179 #define HAVE_LIBM 1
61180 _ACEOF
61182 LIBS="-lm $LIBS"
61187 for ac_func in copysignf
61189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61190 echo "$as_me:$LINENO: checking for $ac_func" >&5
61191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61192 if eval "test \"\${$as_ac_var+set}\" = set"; then
61193 echo $ECHO_N "(cached) $ECHO_C" >&6
61194 else
61195 if test x$gcc_no_link = xyes; then
61196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61198 { (exit 1); exit 1; }; }
61200 cat >conftest.$ac_ext <<_ACEOF
61201 /* confdefs.h. */
61202 _ACEOF
61203 cat confdefs.h >>conftest.$ac_ext
61204 cat >>conftest.$ac_ext <<_ACEOF
61205 /* end confdefs.h. */
61206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61208 #define $ac_func innocuous_$ac_func
61210 /* System header to define __stub macros and hopefully few prototypes,
61211 which can conflict with char $ac_func (); below.
61212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61213 <limits.h> exists even on freestanding compilers. */
61215 #ifdef __STDC__
61216 # include <limits.h>
61217 #else
61218 # include <assert.h>
61219 #endif
61221 #undef $ac_func
61223 /* Override any gcc2 internal prototype to avoid an error. */
61224 #ifdef __cplusplus
61225 extern "C"
61227 #endif
61228 /* We use char because int might match the return type of a gcc2
61229 builtin and then its argument prototype would still apply. */
61230 char $ac_func ();
61231 /* The GNU C library defines this for functions which it implements
61232 to always fail with ENOSYS. Some functions are actually named
61233 something starting with __ and the normal name is an alias. */
61234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61235 choke me
61236 #else
61237 char (*f) () = $ac_func;
61238 #endif
61239 #ifdef __cplusplus
61241 #endif
61244 main ()
61246 return f != $ac_func;
61248 return 0;
61250 _ACEOF
61251 rm -f conftest.$ac_objext conftest$ac_exeext
61252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61253 (eval $ac_link) 2>conftest.er1
61254 ac_status=$?
61255 grep -v '^ *+' conftest.er1 >conftest.err
61256 rm -f conftest.er1
61257 cat conftest.err >&5
61258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61259 (exit $ac_status); } &&
61260 { ac_try='test -z "$ac_c_werror_flag"
61261 || test ! -s conftest.err'
61262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61263 (eval $ac_try) 2>&5
61264 ac_status=$?
61265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61266 (exit $ac_status); }; } &&
61267 { ac_try='test -s conftest$ac_exeext'
61268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61269 (eval $ac_try) 2>&5
61270 ac_status=$?
61271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61272 (exit $ac_status); }; }; then
61273 eval "$as_ac_var=yes"
61274 else
61275 echo "$as_me: failed program was:" >&5
61276 sed 's/^/| /' conftest.$ac_ext >&5
61278 eval "$as_ac_var=no"
61280 rm -f conftest.err conftest.$ac_objext \
61281 conftest$ac_exeext conftest.$ac_ext
61283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61285 if test `eval echo '${'$as_ac_var'}'` = yes; then
61286 cat >>confdefs.h <<_ACEOF
61287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61288 _ACEOF
61290 else
61291 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
61293 done
61297 for ac_func in __signbit
61299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61300 echo "$as_me:$LINENO: checking for $ac_func" >&5
61301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61302 if eval "test \"\${$as_ac_var+set}\" = set"; then
61303 echo $ECHO_N "(cached) $ECHO_C" >&6
61304 else
61305 if test x$gcc_no_link = xyes; then
61306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61308 { (exit 1); exit 1; }; }
61310 cat >conftest.$ac_ext <<_ACEOF
61311 /* confdefs.h. */
61312 _ACEOF
61313 cat confdefs.h >>conftest.$ac_ext
61314 cat >>conftest.$ac_ext <<_ACEOF
61315 /* end confdefs.h. */
61316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61318 #define $ac_func innocuous_$ac_func
61320 /* System header to define __stub macros and hopefully few prototypes,
61321 which can conflict with char $ac_func (); below.
61322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61323 <limits.h> exists even on freestanding compilers. */
61325 #ifdef __STDC__
61326 # include <limits.h>
61327 #else
61328 # include <assert.h>
61329 #endif
61331 #undef $ac_func
61333 /* Override any gcc2 internal prototype to avoid an error. */
61334 #ifdef __cplusplus
61335 extern "C"
61337 #endif
61338 /* We use char because int might match the return type of a gcc2
61339 builtin and then its argument prototype would still apply. */
61340 char $ac_func ();
61341 /* The GNU C library defines this for functions which it implements
61342 to always fail with ENOSYS. Some functions are actually named
61343 something starting with __ and the normal name is an alias. */
61344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61345 choke me
61346 #else
61347 char (*f) () = $ac_func;
61348 #endif
61349 #ifdef __cplusplus
61351 #endif
61354 main ()
61356 return f != $ac_func;
61358 return 0;
61360 _ACEOF
61361 rm -f conftest.$ac_objext conftest$ac_exeext
61362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61363 (eval $ac_link) 2>conftest.er1
61364 ac_status=$?
61365 grep -v '^ *+' conftest.er1 >conftest.err
61366 rm -f conftest.er1
61367 cat conftest.err >&5
61368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61369 (exit $ac_status); } &&
61370 { ac_try='test -z "$ac_c_werror_flag"
61371 || test ! -s conftest.err'
61372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61373 (eval $ac_try) 2>&5
61374 ac_status=$?
61375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61376 (exit $ac_status); }; } &&
61377 { ac_try='test -s conftest$ac_exeext'
61378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61379 (eval $ac_try) 2>&5
61380 ac_status=$?
61381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61382 (exit $ac_status); }; }; then
61383 eval "$as_ac_var=yes"
61384 else
61385 echo "$as_me: failed program was:" >&5
61386 sed 's/^/| /' conftest.$ac_ext >&5
61388 eval "$as_ac_var=no"
61390 rm -f conftest.err conftest.$ac_objext \
61391 conftest$ac_exeext conftest.$ac_ext
61393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61395 if test `eval echo '${'$as_ac_var'}'` = yes; then
61396 cat >>confdefs.h <<_ACEOF
61397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61398 _ACEOF
61400 else
61401 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
61403 done
61407 for ac_func in __signbitf
61409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61410 echo "$as_me:$LINENO: checking for $ac_func" >&5
61411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61412 if eval "test \"\${$as_ac_var+set}\" = set"; then
61413 echo $ECHO_N "(cached) $ECHO_C" >&6
61414 else
61415 if test x$gcc_no_link = xyes; then
61416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61418 { (exit 1); exit 1; }; }
61420 cat >conftest.$ac_ext <<_ACEOF
61421 /* confdefs.h. */
61422 _ACEOF
61423 cat confdefs.h >>conftest.$ac_ext
61424 cat >>conftest.$ac_ext <<_ACEOF
61425 /* end confdefs.h. */
61426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61428 #define $ac_func innocuous_$ac_func
61430 /* System header to define __stub macros and hopefully few prototypes,
61431 which can conflict with char $ac_func (); below.
61432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61433 <limits.h> exists even on freestanding compilers. */
61435 #ifdef __STDC__
61436 # include <limits.h>
61437 #else
61438 # include <assert.h>
61439 #endif
61441 #undef $ac_func
61443 /* Override any gcc2 internal prototype to avoid an error. */
61444 #ifdef __cplusplus
61445 extern "C"
61447 #endif
61448 /* We use char because int might match the return type of a gcc2
61449 builtin and then its argument prototype would still apply. */
61450 char $ac_func ();
61451 /* The GNU C library defines this for functions which it implements
61452 to always fail with ENOSYS. Some functions are actually named
61453 something starting with __ and the normal name is an alias. */
61454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61455 choke me
61456 #else
61457 char (*f) () = $ac_func;
61458 #endif
61459 #ifdef __cplusplus
61461 #endif
61464 main ()
61466 return f != $ac_func;
61468 return 0;
61470 _ACEOF
61471 rm -f conftest.$ac_objext conftest$ac_exeext
61472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61473 (eval $ac_link) 2>conftest.er1
61474 ac_status=$?
61475 grep -v '^ *+' conftest.er1 >conftest.err
61476 rm -f conftest.er1
61477 cat conftest.err >&5
61478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61479 (exit $ac_status); } &&
61480 { ac_try='test -z "$ac_c_werror_flag"
61481 || test ! -s conftest.err'
61482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61483 (eval $ac_try) 2>&5
61484 ac_status=$?
61485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61486 (exit $ac_status); }; } &&
61487 { ac_try='test -s conftest$ac_exeext'
61488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61489 (eval $ac_try) 2>&5
61490 ac_status=$?
61491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61492 (exit $ac_status); }; }; then
61493 eval "$as_ac_var=yes"
61494 else
61495 echo "$as_me: failed program was:" >&5
61496 sed 's/^/| /' conftest.$ac_ext >&5
61498 eval "$as_ac_var=no"
61500 rm -f conftest.err conftest.$ac_objext \
61501 conftest$ac_exeext conftest.$ac_ext
61503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61505 if test `eval echo '${'$as_ac_var'}'` = yes; then
61506 cat >>confdefs.h <<_ACEOF
61507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61508 _ACEOF
61510 else
61511 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
61513 done
61516 if test x$ac_cv_func_copysignl = x"yes"; then
61518 for ac_func in __signbitl
61520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61521 echo "$as_me:$LINENO: checking for $ac_func" >&5
61522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61523 if eval "test \"\${$as_ac_var+set}\" = set"; then
61524 echo $ECHO_N "(cached) $ECHO_C" >&6
61525 else
61526 if test x$gcc_no_link = xyes; then
61527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61529 { (exit 1); exit 1; }; }
61531 cat >conftest.$ac_ext <<_ACEOF
61532 /* confdefs.h. */
61533 _ACEOF
61534 cat confdefs.h >>conftest.$ac_ext
61535 cat >>conftest.$ac_ext <<_ACEOF
61536 /* end confdefs.h. */
61537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61539 #define $ac_func innocuous_$ac_func
61541 /* System header to define __stub macros and hopefully few prototypes,
61542 which can conflict with char $ac_func (); below.
61543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61544 <limits.h> exists even on freestanding compilers. */
61546 #ifdef __STDC__
61547 # include <limits.h>
61548 #else
61549 # include <assert.h>
61550 #endif
61552 #undef $ac_func
61554 /* Override any gcc2 internal prototype to avoid an error. */
61555 #ifdef __cplusplus
61556 extern "C"
61558 #endif
61559 /* We use char because int might match the return type of a gcc2
61560 builtin and then its argument prototype would still apply. */
61561 char $ac_func ();
61562 /* The GNU C library defines this for functions which it implements
61563 to always fail with ENOSYS. Some functions are actually named
61564 something starting with __ and the normal name is an alias. */
61565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61566 choke me
61567 #else
61568 char (*f) () = $ac_func;
61569 #endif
61570 #ifdef __cplusplus
61572 #endif
61575 main ()
61577 return f != $ac_func;
61579 return 0;
61581 _ACEOF
61582 rm -f conftest.$ac_objext conftest$ac_exeext
61583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61584 (eval $ac_link) 2>conftest.er1
61585 ac_status=$?
61586 grep -v '^ *+' conftest.er1 >conftest.err
61587 rm -f conftest.er1
61588 cat conftest.err >&5
61589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61590 (exit $ac_status); } &&
61591 { ac_try='test -z "$ac_c_werror_flag"
61592 || test ! -s conftest.err'
61593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61594 (eval $ac_try) 2>&5
61595 ac_status=$?
61596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61597 (exit $ac_status); }; } &&
61598 { ac_try='test -s conftest$ac_exeext'
61599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61600 (eval $ac_try) 2>&5
61601 ac_status=$?
61602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61603 (exit $ac_status); }; }; then
61604 eval "$as_ac_var=yes"
61605 else
61606 echo "$as_me: failed program was:" >&5
61607 sed 's/^/| /' conftest.$ac_ext >&5
61609 eval "$as_ac_var=no"
61611 rm -f conftest.err conftest.$ac_objext \
61612 conftest$ac_exeext conftest.$ac_ext
61614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61616 if test `eval echo '${'$as_ac_var'}'` = yes; then
61617 cat >>confdefs.h <<_ACEOF
61618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61619 _ACEOF
61621 else
61622 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
61624 done
61628 # Used in libmath/Makefile.am.
61629 if test -n "$LIBMATHOBJS"; then
61630 need_libmath=yes
61635 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61636 ac_save_CXXFLAGS="$CXXFLAGS"
61637 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61640 echo "$as_me:$LINENO: checking for strtold declaration" >&5
61641 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
61642 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
61643 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
61644 echo $ECHO_N "(cached) $ECHO_C" >&6
61645 else
61649 ac_ext=cc
61650 ac_cpp='$CXXCPP $CPPFLAGS'
61651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61655 cat >conftest.$ac_ext <<_ACEOF
61656 /* confdefs.h. */
61657 _ACEOF
61658 cat confdefs.h >>conftest.$ac_ext
61659 cat >>conftest.$ac_ext <<_ACEOF
61660 /* end confdefs.h. */
61661 #include <stdlib.h>
61663 main ()
61665 strtold(0, 0);
61667 return 0;
61669 _ACEOF
61670 rm -f conftest.$ac_objext
61671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61672 (eval $ac_compile) 2>conftest.er1
61673 ac_status=$?
61674 grep -v '^ *+' conftest.er1 >conftest.err
61675 rm -f conftest.er1
61676 cat conftest.err >&5
61677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61678 (exit $ac_status); } &&
61679 { ac_try='test -z "$ac_cxx_werror_flag"
61680 || test ! -s conftest.err'
61681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61682 (eval $ac_try) 2>&5
61683 ac_status=$?
61684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61685 (exit $ac_status); }; } &&
61686 { ac_try='test -s conftest.$ac_objext'
61687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61688 (eval $ac_try) 2>&5
61689 ac_status=$?
61690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61691 (exit $ac_status); }; }; then
61692 glibcxx_cv_func_strtold_use=yes
61693 else
61694 echo "$as_me: failed program was:" >&5
61695 sed 's/^/| /' conftest.$ac_ext >&5
61697 glibcxx_cv_func_strtold_use=no
61699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61700 ac_ext=c
61701 ac_cpp='$CPP $CPPFLAGS'
61702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61710 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
61711 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
61712 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
61714 for ac_func in strtold
61716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61717 echo "$as_me:$LINENO: checking for $ac_func" >&5
61718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61719 if eval "test \"\${$as_ac_var+set}\" = set"; then
61720 echo $ECHO_N "(cached) $ECHO_C" >&6
61721 else
61722 if test x$gcc_no_link = xyes; then
61723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61725 { (exit 1); exit 1; }; }
61727 cat >conftest.$ac_ext <<_ACEOF
61728 /* confdefs.h. */
61729 _ACEOF
61730 cat confdefs.h >>conftest.$ac_ext
61731 cat >>conftest.$ac_ext <<_ACEOF
61732 /* end confdefs.h. */
61733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61735 #define $ac_func innocuous_$ac_func
61737 /* System header to define __stub macros and hopefully few prototypes,
61738 which can conflict with char $ac_func (); below.
61739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61740 <limits.h> exists even on freestanding compilers. */
61742 #ifdef __STDC__
61743 # include <limits.h>
61744 #else
61745 # include <assert.h>
61746 #endif
61748 #undef $ac_func
61750 /* Override any gcc2 internal prototype to avoid an error. */
61751 #ifdef __cplusplus
61752 extern "C"
61754 #endif
61755 /* We use char because int might match the return type of a gcc2
61756 builtin and then its argument prototype would still apply. */
61757 char $ac_func ();
61758 /* The GNU C library defines this for functions which it implements
61759 to always fail with ENOSYS. Some functions are actually named
61760 something starting with __ and the normal name is an alias. */
61761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61762 choke me
61763 #else
61764 char (*f) () = $ac_func;
61765 #endif
61766 #ifdef __cplusplus
61768 #endif
61771 main ()
61773 return f != $ac_func;
61775 return 0;
61777 _ACEOF
61778 rm -f conftest.$ac_objext conftest$ac_exeext
61779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61780 (eval $ac_link) 2>conftest.er1
61781 ac_status=$?
61782 grep -v '^ *+' conftest.er1 >conftest.err
61783 rm -f conftest.er1
61784 cat conftest.err >&5
61785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61786 (exit $ac_status); } &&
61787 { ac_try='test -z "$ac_c_werror_flag"
61788 || test ! -s conftest.err'
61789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61790 (eval $ac_try) 2>&5
61791 ac_status=$?
61792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61793 (exit $ac_status); }; } &&
61794 { ac_try='test -s conftest$ac_exeext'
61795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61796 (eval $ac_try) 2>&5
61797 ac_status=$?
61798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61799 (exit $ac_status); }; }; then
61800 eval "$as_ac_var=yes"
61801 else
61802 echo "$as_me: failed program was:" >&5
61803 sed 's/^/| /' conftest.$ac_ext >&5
61805 eval "$as_ac_var=no"
61807 rm -f conftest.err conftest.$ac_objext \
61808 conftest$ac_exeext conftest.$ac_ext
61810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61812 if test `eval echo '${'$as_ac_var'}'` = yes; then
61813 cat >>confdefs.h <<_ACEOF
61814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61815 _ACEOF
61818 done
61826 echo "$as_me:$LINENO: checking for strtof declaration" >&5
61827 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
61828 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
61829 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
61830 echo $ECHO_N "(cached) $ECHO_C" >&6
61831 else
61835 ac_ext=cc
61836 ac_cpp='$CXXCPP $CPPFLAGS'
61837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61841 cat >conftest.$ac_ext <<_ACEOF
61842 /* confdefs.h. */
61843 _ACEOF
61844 cat confdefs.h >>conftest.$ac_ext
61845 cat >>conftest.$ac_ext <<_ACEOF
61846 /* end confdefs.h. */
61847 #include <stdlib.h>
61849 main ()
61851 strtof(0, 0);
61853 return 0;
61855 _ACEOF
61856 rm -f conftest.$ac_objext
61857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61858 (eval $ac_compile) 2>conftest.er1
61859 ac_status=$?
61860 grep -v '^ *+' conftest.er1 >conftest.err
61861 rm -f conftest.er1
61862 cat conftest.err >&5
61863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61864 (exit $ac_status); } &&
61865 { ac_try='test -z "$ac_cxx_werror_flag"
61866 || test ! -s conftest.err'
61867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61868 (eval $ac_try) 2>&5
61869 ac_status=$?
61870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61871 (exit $ac_status); }; } &&
61872 { ac_try='test -s conftest.$ac_objext'
61873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61874 (eval $ac_try) 2>&5
61875 ac_status=$?
61876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61877 (exit $ac_status); }; }; then
61878 glibcxx_cv_func_strtof_use=yes
61879 else
61880 echo "$as_me: failed program was:" >&5
61881 sed 's/^/| /' conftest.$ac_ext >&5
61883 glibcxx_cv_func_strtof_use=no
61885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61886 ac_ext=c
61887 ac_cpp='$CPP $CPPFLAGS'
61888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61896 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
61897 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
61898 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
61900 for ac_func in strtof
61902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61903 echo "$as_me:$LINENO: checking for $ac_func" >&5
61904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61905 if eval "test \"\${$as_ac_var+set}\" = set"; then
61906 echo $ECHO_N "(cached) $ECHO_C" >&6
61907 else
61908 if test x$gcc_no_link = xyes; then
61909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61911 { (exit 1); exit 1; }; }
61913 cat >conftest.$ac_ext <<_ACEOF
61914 /* confdefs.h. */
61915 _ACEOF
61916 cat confdefs.h >>conftest.$ac_ext
61917 cat >>conftest.$ac_ext <<_ACEOF
61918 /* end confdefs.h. */
61919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61921 #define $ac_func innocuous_$ac_func
61923 /* System header to define __stub macros and hopefully few prototypes,
61924 which can conflict with char $ac_func (); below.
61925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61926 <limits.h> exists even on freestanding compilers. */
61928 #ifdef __STDC__
61929 # include <limits.h>
61930 #else
61931 # include <assert.h>
61932 #endif
61934 #undef $ac_func
61936 /* Override any gcc2 internal prototype to avoid an error. */
61937 #ifdef __cplusplus
61938 extern "C"
61940 #endif
61941 /* We use char because int might match the return type of a gcc2
61942 builtin and then its argument prototype would still apply. */
61943 char $ac_func ();
61944 /* The GNU C library defines this for functions which it implements
61945 to always fail with ENOSYS. Some functions are actually named
61946 something starting with __ and the normal name is an alias. */
61947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61948 choke me
61949 #else
61950 char (*f) () = $ac_func;
61951 #endif
61952 #ifdef __cplusplus
61954 #endif
61957 main ()
61959 return f != $ac_func;
61961 return 0;
61963 _ACEOF
61964 rm -f conftest.$ac_objext conftest$ac_exeext
61965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61966 (eval $ac_link) 2>conftest.er1
61967 ac_status=$?
61968 grep -v '^ *+' conftest.er1 >conftest.err
61969 rm -f conftest.er1
61970 cat conftest.err >&5
61971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61972 (exit $ac_status); } &&
61973 { ac_try='test -z "$ac_c_werror_flag"
61974 || test ! -s conftest.err'
61975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61976 (eval $ac_try) 2>&5
61977 ac_status=$?
61978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61979 (exit $ac_status); }; } &&
61980 { ac_try='test -s conftest$ac_exeext'
61981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61982 (eval $ac_try) 2>&5
61983 ac_status=$?
61984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61985 (exit $ac_status); }; }; then
61986 eval "$as_ac_var=yes"
61987 else
61988 echo "$as_me: failed program was:" >&5
61989 sed 's/^/| /' conftest.$ac_ext >&5
61991 eval "$as_ac_var=no"
61993 rm -f conftest.err conftest.$ac_objext \
61994 conftest$ac_exeext conftest.$ac_ext
61996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61998 if test `eval echo '${'$as_ac_var'}'` = yes; then
61999 cat >>confdefs.h <<_ACEOF
62000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62001 _ACEOF
62004 done
62012 CXXFLAGS="$ac_save_CXXFLAGS"
62015 # For showmanyc_helper().
62018 for ac_header in sys/ioctl.h sys/filio.h
62020 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62022 echo "$as_me:$LINENO: checking for $ac_header" >&5
62023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62025 echo $ECHO_N "(cached) $ECHO_C" >&6
62027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62028 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62029 else
62030 # Is the header compilable?
62031 echo "$as_me:$LINENO: checking $ac_header usability" >&5
62032 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62033 cat >conftest.$ac_ext <<_ACEOF
62034 /* confdefs.h. */
62035 _ACEOF
62036 cat confdefs.h >>conftest.$ac_ext
62037 cat >>conftest.$ac_ext <<_ACEOF
62038 /* end confdefs.h. */
62039 $ac_includes_default
62040 #include <$ac_header>
62041 _ACEOF
62042 rm -f conftest.$ac_objext
62043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62044 (eval $ac_compile) 2>conftest.er1
62045 ac_status=$?
62046 grep -v '^ *+' conftest.er1 >conftest.err
62047 rm -f conftest.er1
62048 cat conftest.err >&5
62049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62050 (exit $ac_status); } &&
62051 { ac_try='test -z "$ac_c_werror_flag"
62052 || test ! -s conftest.err'
62053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62054 (eval $ac_try) 2>&5
62055 ac_status=$?
62056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62057 (exit $ac_status); }; } &&
62058 { ac_try='test -s conftest.$ac_objext'
62059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62060 (eval $ac_try) 2>&5
62061 ac_status=$?
62062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62063 (exit $ac_status); }; }; then
62064 ac_header_compiler=yes
62065 else
62066 echo "$as_me: failed program was:" >&5
62067 sed 's/^/| /' conftest.$ac_ext >&5
62069 ac_header_compiler=no
62071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62072 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62073 echo "${ECHO_T}$ac_header_compiler" >&6
62075 # Is the header present?
62076 echo "$as_me:$LINENO: checking $ac_header presence" >&5
62077 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
62078 cat >conftest.$ac_ext <<_ACEOF
62079 /* confdefs.h. */
62080 _ACEOF
62081 cat confdefs.h >>conftest.$ac_ext
62082 cat >>conftest.$ac_ext <<_ACEOF
62083 /* end confdefs.h. */
62084 #include <$ac_header>
62085 _ACEOF
62086 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62087 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62088 ac_status=$?
62089 grep -v '^ *+' conftest.er1 >conftest.err
62090 rm -f conftest.er1
62091 cat conftest.err >&5
62092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62093 (exit $ac_status); } >/dev/null; then
62094 if test -s conftest.err; then
62095 ac_cpp_err=$ac_c_preproc_warn_flag
62096 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62097 else
62098 ac_cpp_err=
62100 else
62101 ac_cpp_err=yes
62103 if test -z "$ac_cpp_err"; then
62104 ac_header_preproc=yes
62105 else
62106 echo "$as_me: failed program was:" >&5
62107 sed 's/^/| /' conftest.$ac_ext >&5
62109 ac_header_preproc=no
62111 rm -f conftest.err conftest.$ac_ext
62112 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62113 echo "${ECHO_T}$ac_header_preproc" >&6
62115 # So? What about this header?
62116 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62117 yes:no: )
62118 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
62119 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
62120 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
62121 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
62122 ac_header_preproc=yes
62124 no:yes:* )
62125 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
62126 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
62127 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
62128 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
62129 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
62130 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
62131 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
62132 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
62133 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
62134 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
62135 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
62136 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
62138 cat <<\_ASBOX
62139 ## ----------------------------------------- ##
62140 ## Report this to the package-unused lists. ##
62141 ## ----------------------------------------- ##
62142 _ASBOX
62144 sed "s/^/$as_me: WARNING: /" >&2
62146 esac
62147 echo "$as_me:$LINENO: checking for $ac_header" >&5
62148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62150 echo $ECHO_N "(cached) $ECHO_C" >&6
62151 else
62152 eval "$as_ac_Header=\$ac_header_preproc"
62154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62155 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
62159 cat >>confdefs.h <<_ACEOF
62160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
62161 _ACEOF
62165 done
62168 echo "$as_me:$LINENO: checking for poll" >&5
62169 echo $ECHO_N "checking for poll... $ECHO_C" >&6
62170 if test "${glibcxx_cv_POLL+set}" = set; then
62171 echo $ECHO_N "(cached) $ECHO_C" >&6
62172 else
62174 if test x$gcc_no_link = xyes; then
62175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62177 { (exit 1); exit 1; }; }
62179 cat >conftest.$ac_ext <<_ACEOF
62180 /* confdefs.h. */
62181 _ACEOF
62182 cat confdefs.h >>conftest.$ac_ext
62183 cat >>conftest.$ac_ext <<_ACEOF
62184 /* end confdefs.h. */
62185 #include <poll.h>
62187 main ()
62189 struct pollfd pfd[1];
62190 pfd[0].events = POLLIN;
62191 poll(pfd, 1, 0);
62193 return 0;
62195 _ACEOF
62196 rm -f conftest.$ac_objext conftest$ac_exeext
62197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62198 (eval $ac_link) 2>conftest.er1
62199 ac_status=$?
62200 grep -v '^ *+' conftest.er1 >conftest.err
62201 rm -f conftest.er1
62202 cat conftest.err >&5
62203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62204 (exit $ac_status); } &&
62205 { ac_try='test -z "$ac_c_werror_flag"
62206 || test ! -s conftest.err'
62207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62208 (eval $ac_try) 2>&5
62209 ac_status=$?
62210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62211 (exit $ac_status); }; } &&
62212 { ac_try='test -s conftest$ac_exeext'
62213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62214 (eval $ac_try) 2>&5
62215 ac_status=$?
62216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62217 (exit $ac_status); }; }; then
62218 glibcxx_cv_POLL=yes
62219 else
62220 echo "$as_me: failed program was:" >&5
62221 sed 's/^/| /' conftest.$ac_ext >&5
62223 glibcxx_cv_POLL=no
62225 rm -f conftest.err conftest.$ac_objext \
62226 conftest$ac_exeext conftest.$ac_ext
62230 if test $glibcxx_cv_POLL = yes; then
62232 cat >>confdefs.h <<\_ACEOF
62233 #define HAVE_POLL 1
62234 _ACEOF
62237 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
62238 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
62241 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
62242 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
62243 if test "${glibcxx_cv_S_ISREG+set}" = set; then
62244 echo $ECHO_N "(cached) $ECHO_C" >&6
62245 else
62247 if test x$gcc_no_link = xyes; then
62248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62250 { (exit 1); exit 1; }; }
62252 cat >conftest.$ac_ext <<_ACEOF
62253 /* confdefs.h. */
62254 _ACEOF
62255 cat confdefs.h >>conftest.$ac_ext
62256 cat >>conftest.$ac_ext <<_ACEOF
62257 /* end confdefs.h. */
62258 #include <sys/stat.h>
62260 main ()
62262 struct stat buffer;
62263 fstat(0, &buffer);
62264 S_ISREG(buffer.st_mode);
62266 return 0;
62268 _ACEOF
62269 rm -f conftest.$ac_objext conftest$ac_exeext
62270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62271 (eval $ac_link) 2>conftest.er1
62272 ac_status=$?
62273 grep -v '^ *+' conftest.er1 >conftest.err
62274 rm -f conftest.er1
62275 cat conftest.err >&5
62276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62277 (exit $ac_status); } &&
62278 { ac_try='test -z "$ac_c_werror_flag"
62279 || test ! -s conftest.err'
62280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62281 (eval $ac_try) 2>&5
62282 ac_status=$?
62283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62284 (exit $ac_status); }; } &&
62285 { ac_try='test -s conftest$ac_exeext'
62286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62287 (eval $ac_try) 2>&5
62288 ac_status=$?
62289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62290 (exit $ac_status); }; }; then
62291 glibcxx_cv_S_ISREG=yes
62292 else
62293 echo "$as_me: failed program was:" >&5
62294 sed 's/^/| /' conftest.$ac_ext >&5
62296 glibcxx_cv_S_ISREG=no
62298 rm -f conftest.err conftest.$ac_objext \
62299 conftest$ac_exeext conftest.$ac_ext
62303 if test "${glibcxx_cv_S_IFREG+set}" = set; then
62304 echo $ECHO_N "(cached) $ECHO_C" >&6
62305 else
62307 if test x$gcc_no_link = xyes; then
62308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62310 { (exit 1); exit 1; }; }
62312 cat >conftest.$ac_ext <<_ACEOF
62313 /* confdefs.h. */
62314 _ACEOF
62315 cat confdefs.h >>conftest.$ac_ext
62316 cat >>conftest.$ac_ext <<_ACEOF
62317 /* end confdefs.h. */
62318 #include <sys/stat.h>
62320 main ()
62322 struct stat buffer;
62323 fstat(0, &buffer);
62324 S_IFREG & buffer.st_mode;
62326 return 0;
62328 _ACEOF
62329 rm -f conftest.$ac_objext conftest$ac_exeext
62330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62331 (eval $ac_link) 2>conftest.er1
62332 ac_status=$?
62333 grep -v '^ *+' conftest.er1 >conftest.err
62334 rm -f conftest.er1
62335 cat conftest.err >&5
62336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62337 (exit $ac_status); } &&
62338 { ac_try='test -z "$ac_c_werror_flag"
62339 || test ! -s conftest.err'
62340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62341 (eval $ac_try) 2>&5
62342 ac_status=$?
62343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62344 (exit $ac_status); }; } &&
62345 { ac_try='test -s conftest$ac_exeext'
62346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62347 (eval $ac_try) 2>&5
62348 ac_status=$?
62349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62350 (exit $ac_status); }; }; then
62351 glibcxx_cv_S_IFREG=yes
62352 else
62353 echo "$as_me: failed program was:" >&5
62354 sed 's/^/| /' conftest.$ac_ext >&5
62356 glibcxx_cv_S_IFREG=no
62358 rm -f conftest.err conftest.$ac_objext \
62359 conftest$ac_exeext conftest.$ac_ext
62363 res=no
62364 if test $glibcxx_cv_S_ISREG = yes; then
62366 cat >>confdefs.h <<\_ACEOF
62367 #define HAVE_S_ISREG 1
62368 _ACEOF
62370 res=S_ISREG
62371 elif test $glibcxx_cv_S_IFREG = yes; then
62373 cat >>confdefs.h <<\_ACEOF
62374 #define HAVE_S_IFREG 1
62375 _ACEOF
62377 res=S_IFREG
62379 echo "$as_me:$LINENO: result: $res" >&5
62380 echo "${ECHO_T}$res" >&6
62383 # For xsputn_2().
62385 for ac_header in sys/uio.h
62387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62389 echo "$as_me:$LINENO: checking for $ac_header" >&5
62390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62392 echo $ECHO_N "(cached) $ECHO_C" >&6
62394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62396 else
62397 # Is the header compilable?
62398 echo "$as_me:$LINENO: checking $ac_header usability" >&5
62399 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62400 cat >conftest.$ac_ext <<_ACEOF
62401 /* confdefs.h. */
62402 _ACEOF
62403 cat confdefs.h >>conftest.$ac_ext
62404 cat >>conftest.$ac_ext <<_ACEOF
62405 /* end confdefs.h. */
62406 $ac_includes_default
62407 #include <$ac_header>
62408 _ACEOF
62409 rm -f conftest.$ac_objext
62410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62411 (eval $ac_compile) 2>conftest.er1
62412 ac_status=$?
62413 grep -v '^ *+' conftest.er1 >conftest.err
62414 rm -f conftest.er1
62415 cat conftest.err >&5
62416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62417 (exit $ac_status); } &&
62418 { ac_try='test -z "$ac_c_werror_flag"
62419 || test ! -s conftest.err'
62420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62421 (eval $ac_try) 2>&5
62422 ac_status=$?
62423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62424 (exit $ac_status); }; } &&
62425 { ac_try='test -s conftest.$ac_objext'
62426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62427 (eval $ac_try) 2>&5
62428 ac_status=$?
62429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62430 (exit $ac_status); }; }; then
62431 ac_header_compiler=yes
62432 else
62433 echo "$as_me: failed program was:" >&5
62434 sed 's/^/| /' conftest.$ac_ext >&5
62436 ac_header_compiler=no
62438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62440 echo "${ECHO_T}$ac_header_compiler" >&6
62442 # Is the header present?
62443 echo "$as_me:$LINENO: checking $ac_header presence" >&5
62444 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
62445 cat >conftest.$ac_ext <<_ACEOF
62446 /* confdefs.h. */
62447 _ACEOF
62448 cat confdefs.h >>conftest.$ac_ext
62449 cat >>conftest.$ac_ext <<_ACEOF
62450 /* end confdefs.h. */
62451 #include <$ac_header>
62452 _ACEOF
62453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62454 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62455 ac_status=$?
62456 grep -v '^ *+' conftest.er1 >conftest.err
62457 rm -f conftest.er1
62458 cat conftest.err >&5
62459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62460 (exit $ac_status); } >/dev/null; then
62461 if test -s conftest.err; then
62462 ac_cpp_err=$ac_c_preproc_warn_flag
62463 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62464 else
62465 ac_cpp_err=
62467 else
62468 ac_cpp_err=yes
62470 if test -z "$ac_cpp_err"; then
62471 ac_header_preproc=yes
62472 else
62473 echo "$as_me: failed program was:" >&5
62474 sed 's/^/| /' conftest.$ac_ext >&5
62476 ac_header_preproc=no
62478 rm -f conftest.err conftest.$ac_ext
62479 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62480 echo "${ECHO_T}$ac_header_preproc" >&6
62482 # So? What about this header?
62483 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62484 yes:no: )
62485 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
62486 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
62487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
62488 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
62489 ac_header_preproc=yes
62491 no:yes:* )
62492 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
62493 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
62494 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
62495 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
62496 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
62497 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
62498 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
62499 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
62500 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
62501 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
62502 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
62503 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
62505 cat <<\_ASBOX
62506 ## ----------------------------------------- ##
62507 ## Report this to the package-unused lists. ##
62508 ## ----------------------------------------- ##
62509 _ASBOX
62511 sed "s/^/$as_me: WARNING: /" >&2
62513 esac
62514 echo "$as_me:$LINENO: checking for $ac_header" >&5
62515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62517 echo $ECHO_N "(cached) $ECHO_C" >&6
62518 else
62519 eval "$as_ac_Header=\$ac_header_preproc"
62521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62522 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
62526 cat >>confdefs.h <<_ACEOF
62527 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
62528 _ACEOF
62532 done
62535 echo "$as_me:$LINENO: checking for writev" >&5
62536 echo $ECHO_N "checking for writev... $ECHO_C" >&6
62537 if test "${glibcxx_cv_WRITEV+set}" = set; then
62538 echo $ECHO_N "(cached) $ECHO_C" >&6
62539 else
62541 if test x$gcc_no_link = xyes; then
62542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62544 { (exit 1); exit 1; }; }
62546 cat >conftest.$ac_ext <<_ACEOF
62547 /* confdefs.h. */
62548 _ACEOF
62549 cat confdefs.h >>conftest.$ac_ext
62550 cat >>conftest.$ac_ext <<_ACEOF
62551 /* end confdefs.h. */
62552 #include <sys/uio.h>
62554 main ()
62556 struct iovec iov[2];
62557 writev(0, iov, 0);
62559 return 0;
62561 _ACEOF
62562 rm -f conftest.$ac_objext conftest$ac_exeext
62563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62564 (eval $ac_link) 2>conftest.er1
62565 ac_status=$?
62566 grep -v '^ *+' conftest.er1 >conftest.err
62567 rm -f conftest.er1
62568 cat conftest.err >&5
62569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62570 (exit $ac_status); } &&
62571 { ac_try='test -z "$ac_c_werror_flag"
62572 || test ! -s conftest.err'
62573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62574 (eval $ac_try) 2>&5
62575 ac_status=$?
62576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62577 (exit $ac_status); }; } &&
62578 { ac_try='test -s conftest$ac_exeext'
62579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62580 (eval $ac_try) 2>&5
62581 ac_status=$?
62582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62583 (exit $ac_status); }; }; then
62584 glibcxx_cv_WRITEV=yes
62585 else
62586 echo "$as_me: failed program was:" >&5
62587 sed 's/^/| /' conftest.$ac_ext >&5
62589 glibcxx_cv_WRITEV=no
62591 rm -f conftest.err conftest.$ac_objext \
62592 conftest$ac_exeext conftest.$ac_ext
62596 if test $glibcxx_cv_WRITEV = yes; then
62598 cat >>confdefs.h <<\_ACEOF
62599 #define HAVE_WRITEV 1
62600 _ACEOF
62603 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
62604 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
62607 cat >>confdefs.h <<\_ACEOF
62608 #define HAVE_LC_MESSAGES 1
62609 _ACEOF
62612 cat >conftest.$ac_ext <<_ACEOF
62613 /* confdefs.h. */
62614 _ACEOF
62615 cat confdefs.h >>conftest.$ac_ext
62616 cat >>conftest.$ac_ext <<_ACEOF
62617 /* end confdefs.h. */
62618 #include <setjmp.h>
62620 main ()
62622 sigjmp_buf env;
62623 while (! sigsetjmp (env, 1))
62624 siglongjmp (env, 1);
62627 return 0;
62629 _ACEOF
62630 rm -f conftest.$ac_objext
62631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62632 (eval $ac_compile) 2>conftest.er1
62633 ac_status=$?
62634 grep -v '^ *+' conftest.er1 >conftest.err
62635 rm -f conftest.er1
62636 cat conftest.err >&5
62637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62638 (exit $ac_status); } &&
62639 { ac_try='test -z "$ac_c_werror_flag"
62640 || test ! -s conftest.err'
62641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62642 (eval $ac_try) 2>&5
62643 ac_status=$?
62644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62645 (exit $ac_status); }; } &&
62646 { ac_try='test -s conftest.$ac_objext'
62647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62648 (eval $ac_try) 2>&5
62649 ac_status=$?
62650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62651 (exit $ac_status); }; }; then
62653 cat >>confdefs.h <<\_ACEOF
62654 #define HAVE_SIGSETJMP 1
62655 _ACEOF
62657 else
62658 echo "$as_me: failed program was:" >&5
62659 sed 's/^/| /' conftest.$ac_ext >&5
62662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62664 cat >>confdefs.h <<\_ACEOF
62665 #define HAVE_MMAP 1
62666 _ACEOF
62670 *djgpp)
62691 for ac_header in float.h ieeefp.h inttypes.h locale.h \
62692 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
62693 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
62694 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
62696 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62698 echo "$as_me:$LINENO: checking for $ac_header" >&5
62699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62701 echo $ECHO_N "(cached) $ECHO_C" >&6
62703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62705 else
62706 # Is the header compilable?
62707 echo "$as_me:$LINENO: checking $ac_header usability" >&5
62708 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62709 cat >conftest.$ac_ext <<_ACEOF
62710 /* confdefs.h. */
62711 _ACEOF
62712 cat confdefs.h >>conftest.$ac_ext
62713 cat >>conftest.$ac_ext <<_ACEOF
62714 /* end confdefs.h. */
62715 $ac_includes_default
62716 #include <$ac_header>
62717 _ACEOF
62718 rm -f conftest.$ac_objext
62719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62720 (eval $ac_compile) 2>conftest.er1
62721 ac_status=$?
62722 grep -v '^ *+' conftest.er1 >conftest.err
62723 rm -f conftest.er1
62724 cat conftest.err >&5
62725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62726 (exit $ac_status); } &&
62727 { ac_try='test -z "$ac_c_werror_flag"
62728 || test ! -s conftest.err'
62729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62730 (eval $ac_try) 2>&5
62731 ac_status=$?
62732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62733 (exit $ac_status); }; } &&
62734 { ac_try='test -s conftest.$ac_objext'
62735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62736 (eval $ac_try) 2>&5
62737 ac_status=$?
62738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62739 (exit $ac_status); }; }; then
62740 ac_header_compiler=yes
62741 else
62742 echo "$as_me: failed program was:" >&5
62743 sed 's/^/| /' conftest.$ac_ext >&5
62745 ac_header_compiler=no
62747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62748 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62749 echo "${ECHO_T}$ac_header_compiler" >&6
62751 # Is the header present?
62752 echo "$as_me:$LINENO: checking $ac_header presence" >&5
62753 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
62754 cat >conftest.$ac_ext <<_ACEOF
62755 /* confdefs.h. */
62756 _ACEOF
62757 cat confdefs.h >>conftest.$ac_ext
62758 cat >>conftest.$ac_ext <<_ACEOF
62759 /* end confdefs.h. */
62760 #include <$ac_header>
62761 _ACEOF
62762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62763 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62764 ac_status=$?
62765 grep -v '^ *+' conftest.er1 >conftest.err
62766 rm -f conftest.er1
62767 cat conftest.err >&5
62768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62769 (exit $ac_status); } >/dev/null; then
62770 if test -s conftest.err; then
62771 ac_cpp_err=$ac_c_preproc_warn_flag
62772 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62773 else
62774 ac_cpp_err=
62776 else
62777 ac_cpp_err=yes
62779 if test -z "$ac_cpp_err"; then
62780 ac_header_preproc=yes
62781 else
62782 echo "$as_me: failed program was:" >&5
62783 sed 's/^/| /' conftest.$ac_ext >&5
62785 ac_header_preproc=no
62787 rm -f conftest.err conftest.$ac_ext
62788 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62789 echo "${ECHO_T}$ac_header_preproc" >&6
62791 # So? What about this header?
62792 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62793 yes:no: )
62794 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
62795 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
62796 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
62797 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
62798 ac_header_preproc=yes
62800 no:yes:* )
62801 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
62802 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
62803 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
62804 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
62805 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
62806 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
62807 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
62808 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
62809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
62810 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
62811 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
62812 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
62814 cat <<\_ASBOX
62815 ## ----------------------------------------- ##
62816 ## Report this to the package-unused lists. ##
62817 ## ----------------------------------------- ##
62818 _ASBOX
62820 sed "s/^/$as_me: WARNING: /" >&2
62822 esac
62823 echo "$as_me:$LINENO: checking for $ac_header" >&5
62824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62826 echo $ECHO_N "(cached) $ECHO_C" >&6
62827 else
62828 eval "$as_ac_Header=\$ac_header_preproc"
62830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62834 if test `eval echo '${'$as_ac_Header'}'` = yes; then
62835 cat >>confdefs.h <<_ACEOF
62836 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
62837 _ACEOF
62841 done
62843 # GLIBCXX_CHECK_MATH_SUPPORT
62844 cat >>confdefs.h <<\_ACEOF
62845 #define HAVE_LIBM 1
62846 _ACEOF
62848 cat >>confdefs.h <<\_ACEOF
62849 #define HAVE_ISINF 1
62850 _ACEOF
62852 cat >>confdefs.h <<\_ACEOF
62853 #define HAVE_ISNAN 1
62854 _ACEOF
62856 cat >>confdefs.h <<\_ACEOF
62857 #define HAVE_FINITE 1
62858 _ACEOF
62860 cat >>confdefs.h <<\_ACEOF
62861 #define HAVE_COPYSIGN 1
62862 _ACEOF
62864 cat >>confdefs.h <<\_ACEOF
62865 #define HAVE_SINCOS 1
62866 _ACEOF
62868 cat >>confdefs.h <<\_ACEOF
62869 #define HAVE_HYPOT 1
62870 _ACEOF
62872 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
62873 cat >>confdefs.h <<\_ACEOF
62874 #define HAVE___BUILTIN_ABS 1
62875 _ACEOF
62877 cat >>confdefs.h <<\_ACEOF
62878 #define HAVE___BUILTIN_FABSF 1
62879 _ACEOF
62881 cat >>confdefs.h <<\_ACEOF
62882 #define HAVE___BUILTIN_FABS 1
62883 _ACEOF
62885 cat >>confdefs.h <<\_ACEOF
62886 #define HAVE___BUILTIN_FABSL 1
62887 _ACEOF
62889 cat >>confdefs.h <<\_ACEOF
62890 #define HAVE___BUILTIN_LABS 1
62891 _ACEOF
62893 cat >>confdefs.h <<\_ACEOF
62894 #define HAVE___BUILTIN_SQRTF 1
62895 _ACEOF
62897 cat >>confdefs.h <<\_ACEOF
62898 #define HAVE___BUILTIN_SQRT 1
62899 _ACEOF
62901 cat >>confdefs.h <<\_ACEOF
62902 #define HAVE___BUILTIN_SQRTL 1
62903 _ACEOF
62905 cat >>confdefs.h <<\_ACEOF
62906 #define HAVE___BUILTIN_SINF 1
62907 _ACEOF
62909 cat >>confdefs.h <<\_ACEOF
62910 #define HAVE___BUILTIN_SIN 1
62911 _ACEOF
62913 cat >>confdefs.h <<\_ACEOF
62914 #define HAVE___BUILTIN_SINL 1
62915 _ACEOF
62917 cat >>confdefs.h <<\_ACEOF
62918 #define HAVE___BUILTIN_COSF 1
62919 _ACEOF
62921 cat >>confdefs.h <<\_ACEOF
62922 #define HAVE___BUILTIN_COS 1
62923 _ACEOF
62925 cat >>confdefs.h <<\_ACEOF
62926 #define HAVE___BUILTIN_COSL 1
62927 _ACEOF
62929 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
62930 # GLIBCXX_CHECK_STDLIB_SUPPORT
62931 cat >>confdefs.h <<\_ACEOF
62932 #define HAVE_COPYSIGN 1
62933 _ACEOF
62935 cat >>confdefs.h <<\_ACEOF
62936 #define HAVE_COPYSIGNF 1
62937 _ACEOF
62939 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
62940 cat >>confdefs.h <<\_ACEOF
62941 #define HAVE_S_ISREG 1
62942 _ACEOF
62944 cat >>confdefs.h <<\_ACEOF
62945 #define HAVE_S_IFREG 1
62946 _ACEOF
62948 cat >>confdefs.h <<\_ACEOF
62949 #define HAVE_WRITEV 1
62950 _ACEOF
62954 *-freebsd*)
62971 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
62972 machine/endian.h machine/param.h sys/machine.h sys/types.h \
62973 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
62974 sys/time.h unistd.h
62976 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62978 echo "$as_me:$LINENO: checking for $ac_header" >&5
62979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62981 echo $ECHO_N "(cached) $ECHO_C" >&6
62983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62985 else
62986 # Is the header compilable?
62987 echo "$as_me:$LINENO: checking $ac_header usability" >&5
62988 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62989 cat >conftest.$ac_ext <<_ACEOF
62990 /* confdefs.h. */
62991 _ACEOF
62992 cat confdefs.h >>conftest.$ac_ext
62993 cat >>conftest.$ac_ext <<_ACEOF
62994 /* end confdefs.h. */
62995 $ac_includes_default
62996 #include <$ac_header>
62997 _ACEOF
62998 rm -f conftest.$ac_objext
62999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63000 (eval $ac_compile) 2>conftest.er1
63001 ac_status=$?
63002 grep -v '^ *+' conftest.er1 >conftest.err
63003 rm -f conftest.er1
63004 cat conftest.err >&5
63005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63006 (exit $ac_status); } &&
63007 { ac_try='test -z "$ac_c_werror_flag"
63008 || test ! -s conftest.err'
63009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63010 (eval $ac_try) 2>&5
63011 ac_status=$?
63012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63013 (exit $ac_status); }; } &&
63014 { ac_try='test -s conftest.$ac_objext'
63015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63016 (eval $ac_try) 2>&5
63017 ac_status=$?
63018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63019 (exit $ac_status); }; }; then
63020 ac_header_compiler=yes
63021 else
63022 echo "$as_me: failed program was:" >&5
63023 sed 's/^/| /' conftest.$ac_ext >&5
63025 ac_header_compiler=no
63027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63028 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63029 echo "${ECHO_T}$ac_header_compiler" >&6
63031 # Is the header present?
63032 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63033 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63034 cat >conftest.$ac_ext <<_ACEOF
63035 /* confdefs.h. */
63036 _ACEOF
63037 cat confdefs.h >>conftest.$ac_ext
63038 cat >>conftest.$ac_ext <<_ACEOF
63039 /* end confdefs.h. */
63040 #include <$ac_header>
63041 _ACEOF
63042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63043 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63044 ac_status=$?
63045 grep -v '^ *+' conftest.er1 >conftest.err
63046 rm -f conftest.er1
63047 cat conftest.err >&5
63048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63049 (exit $ac_status); } >/dev/null; then
63050 if test -s conftest.err; then
63051 ac_cpp_err=$ac_c_preproc_warn_flag
63052 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63053 else
63054 ac_cpp_err=
63056 else
63057 ac_cpp_err=yes
63059 if test -z "$ac_cpp_err"; then
63060 ac_header_preproc=yes
63061 else
63062 echo "$as_me: failed program was:" >&5
63063 sed 's/^/| /' conftest.$ac_ext >&5
63065 ac_header_preproc=no
63067 rm -f conftest.err conftest.$ac_ext
63068 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63069 echo "${ECHO_T}$ac_header_preproc" >&6
63071 # So? What about this header?
63072 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63073 yes:no: )
63074 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63075 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
63077 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
63078 ac_header_preproc=yes
63080 no:yes:* )
63081 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63082 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63083 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
63084 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
63085 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
63086 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
63087 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
63088 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
63089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63090 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63091 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
63092 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
63094 cat <<\_ASBOX
63095 ## ----------------------------------------- ##
63096 ## Report this to the package-unused lists. ##
63097 ## ----------------------------------------- ##
63098 _ASBOX
63100 sed "s/^/$as_me: WARNING: /" >&2
63102 esac
63103 echo "$as_me:$LINENO: checking for $ac_header" >&5
63104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63106 echo $ECHO_N "(cached) $ECHO_C" >&6
63107 else
63108 eval "$as_ac_Header=\$ac_header_preproc"
63110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63115 cat >>confdefs.h <<_ACEOF
63116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63117 _ACEOF
63121 done
63123 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63126 # If we're not using GNU ld, then there's no point in even trying these
63127 # tests. Check for that first. We should have already tested for gld
63128 # by now (in libtool), but require it now just to be safe...
63129 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63130 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63134 # The name set by libtool depends on the version of libtool. Shame on us
63135 # for depending on an impl detail, but c'est la vie. Older versions used
63136 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63137 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63138 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63139 # set (hence we're using an older libtool), then set it.
63140 if test x${with_gnu_ld+set} != xset; then
63141 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63142 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63143 with_gnu_ld=no
63144 else
63145 with_gnu_ld=$ac_cv_prog_gnu_ld
63149 # Start by getting the version number. I think the libtool test already
63150 # does some of this, but throws away the result.
63151 if test x"$with_gnu_ld" = x"yes"; then
63152 echo "$as_me:$LINENO: checking for ld version" >&5
63153 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
63155 ldver=`$LD --version 2>/dev/null | head -1 | \
63156 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
63158 glibcxx_gnu_ld_version=`echo $ldver | \
63159 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63160 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
63161 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
63164 # Set --gc-sections.
63165 glibcxx_gcsections_min_ld=21602
63166 if test x"$with_gnu_ld" = x"yes" &&
63167 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63169 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63170 # NB: This flag only works reliably after 2.16.1. Configure tests
63171 # for this are difficult, so hard wire a value that should work.
63173 ac_test_CFLAGS="${CFLAGS+set}"
63174 ac_save_CFLAGS="$CFLAGS"
63175 CFLAGS='-Wl,--gc-sections'
63177 # Check for -Wl,--gc-sections
63178 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
63179 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
63180 if test x$gcc_no_link = xyes; then
63181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63183 { (exit 1); exit 1; }; }
63185 cat >conftest.$ac_ext <<_ACEOF
63186 /* confdefs.h. */
63187 _ACEOF
63188 cat confdefs.h >>conftest.$ac_ext
63189 cat >>conftest.$ac_ext <<_ACEOF
63190 /* end confdefs.h. */
63191 int one(void) { return 1; }
63192 int two(void) { return 2; }
63195 main ()
63197 two();
63199 return 0;
63201 _ACEOF
63202 rm -f conftest.$ac_objext conftest$ac_exeext
63203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63204 (eval $ac_link) 2>conftest.er1
63205 ac_status=$?
63206 grep -v '^ *+' conftest.er1 >conftest.err
63207 rm -f conftest.er1
63208 cat conftest.err >&5
63209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63210 (exit $ac_status); } &&
63211 { ac_try='test -z "$ac_c_werror_flag"
63212 || test ! -s conftest.err'
63213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63214 (eval $ac_try) 2>&5
63215 ac_status=$?
63216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63217 (exit $ac_status); }; } &&
63218 { ac_try='test -s conftest$ac_exeext'
63219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63220 (eval $ac_try) 2>&5
63221 ac_status=$?
63222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63223 (exit $ac_status); }; }; then
63224 ac_gcsections=yes
63225 else
63226 echo "$as_me: failed program was:" >&5
63227 sed 's/^/| /' conftest.$ac_ext >&5
63229 ac_gcsections=no
63231 rm -f conftest.err conftest.$ac_objext \
63232 conftest$ac_exeext conftest.$ac_ext
63233 if test "$ac_gcsections" = "yes"; then
63234 rm -f conftest.c
63235 touch conftest.c
63236 if $CC -c conftest.c; then
63237 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63238 grep "Warning: gc-sections option ignored" > /dev/null; then
63239 ac_gcsections=no
63242 rm -f conftest.c conftest.o conftest
63244 if test "$ac_gcsections" = "yes"; then
63245 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63247 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
63248 echo "${ECHO_T}$ac_gcsections" >&6
63250 if test "$ac_test_CFLAGS" = set; then
63251 CFLAGS="$ac_save_CFLAGS"
63252 else
63253 # this is the suspicious part
63254 CFLAGS=''
63258 # Set -z,relro.
63259 # Note this is only for shared objects.
63260 ac_ld_relro=no
63261 if test x"$with_gnu_ld" = x"yes"; then
63262 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
63263 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
63264 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63265 if test -n "$cxx_z_relo"; then
63266 OPT_LDFLAGS="-Wl,-z,relro"
63267 ac_ld_relro=yes
63269 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
63270 echo "${ECHO_T}$ac_ld_relro" >&6
63273 # Set linker optimization flags.
63274 if test x"$with_gnu_ld" = x"yes"; then
63275 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63283 echo "$as_me:$LINENO: checking for main in -lm" >&5
63284 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
63285 if test "${ac_cv_lib_m_main+set}" = set; then
63286 echo $ECHO_N "(cached) $ECHO_C" >&6
63287 else
63288 ac_check_lib_save_LIBS=$LIBS
63289 LIBS="-lm $LIBS"
63290 if test x$gcc_no_link = xyes; then
63291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63293 { (exit 1); exit 1; }; }
63295 cat >conftest.$ac_ext <<_ACEOF
63296 /* confdefs.h. */
63297 _ACEOF
63298 cat confdefs.h >>conftest.$ac_ext
63299 cat >>conftest.$ac_ext <<_ACEOF
63300 /* end confdefs.h. */
63304 main ()
63306 main ();
63308 return 0;
63310 _ACEOF
63311 rm -f conftest.$ac_objext conftest$ac_exeext
63312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63313 (eval $ac_link) 2>conftest.er1
63314 ac_status=$?
63315 grep -v '^ *+' conftest.er1 >conftest.err
63316 rm -f conftest.er1
63317 cat conftest.err >&5
63318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63319 (exit $ac_status); } &&
63320 { ac_try='test -z "$ac_c_werror_flag"
63321 || test ! -s conftest.err'
63322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63323 (eval $ac_try) 2>&5
63324 ac_status=$?
63325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63326 (exit $ac_status); }; } &&
63327 { ac_try='test -s conftest$ac_exeext'
63328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63329 (eval $ac_try) 2>&5
63330 ac_status=$?
63331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63332 (exit $ac_status); }; }; then
63333 ac_cv_lib_m_main=yes
63334 else
63335 echo "$as_me: failed program was:" >&5
63336 sed 's/^/| /' conftest.$ac_ext >&5
63338 ac_cv_lib_m_main=no
63340 rm -f conftest.err conftest.$ac_objext \
63341 conftest$ac_exeext conftest.$ac_ext
63342 LIBS=$ac_check_lib_save_LIBS
63344 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
63345 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
63346 if test $ac_cv_lib_m_main = yes; then
63347 cat >>confdefs.h <<_ACEOF
63348 #define HAVE_LIBM 1
63349 _ACEOF
63351 LIBS="-lm $LIBS"
63356 for ac_func in copysignf
63358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63359 echo "$as_me:$LINENO: checking for $ac_func" >&5
63360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63361 if eval "test \"\${$as_ac_var+set}\" = set"; then
63362 echo $ECHO_N "(cached) $ECHO_C" >&6
63363 else
63364 if test x$gcc_no_link = xyes; then
63365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63367 { (exit 1); exit 1; }; }
63369 cat >conftest.$ac_ext <<_ACEOF
63370 /* confdefs.h. */
63371 _ACEOF
63372 cat confdefs.h >>conftest.$ac_ext
63373 cat >>conftest.$ac_ext <<_ACEOF
63374 /* end confdefs.h. */
63375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63377 #define $ac_func innocuous_$ac_func
63379 /* System header to define __stub macros and hopefully few prototypes,
63380 which can conflict with char $ac_func (); below.
63381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63382 <limits.h> exists even on freestanding compilers. */
63384 #ifdef __STDC__
63385 # include <limits.h>
63386 #else
63387 # include <assert.h>
63388 #endif
63390 #undef $ac_func
63392 /* Override any gcc2 internal prototype to avoid an error. */
63393 #ifdef __cplusplus
63394 extern "C"
63396 #endif
63397 /* We use char because int might match the return type of a gcc2
63398 builtin and then its argument prototype would still apply. */
63399 char $ac_func ();
63400 /* The GNU C library defines this for functions which it implements
63401 to always fail with ENOSYS. Some functions are actually named
63402 something starting with __ and the normal name is an alias. */
63403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63404 choke me
63405 #else
63406 char (*f) () = $ac_func;
63407 #endif
63408 #ifdef __cplusplus
63410 #endif
63413 main ()
63415 return f != $ac_func;
63417 return 0;
63419 _ACEOF
63420 rm -f conftest.$ac_objext conftest$ac_exeext
63421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63422 (eval $ac_link) 2>conftest.er1
63423 ac_status=$?
63424 grep -v '^ *+' conftest.er1 >conftest.err
63425 rm -f conftest.er1
63426 cat conftest.err >&5
63427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63428 (exit $ac_status); } &&
63429 { ac_try='test -z "$ac_c_werror_flag"
63430 || test ! -s conftest.err'
63431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63432 (eval $ac_try) 2>&5
63433 ac_status=$?
63434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63435 (exit $ac_status); }; } &&
63436 { ac_try='test -s conftest$ac_exeext'
63437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63438 (eval $ac_try) 2>&5
63439 ac_status=$?
63440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63441 (exit $ac_status); }; }; then
63442 eval "$as_ac_var=yes"
63443 else
63444 echo "$as_me: failed program was:" >&5
63445 sed 's/^/| /' conftest.$ac_ext >&5
63447 eval "$as_ac_var=no"
63449 rm -f conftest.err conftest.$ac_objext \
63450 conftest$ac_exeext conftest.$ac_ext
63452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63454 if test `eval echo '${'$as_ac_var'}'` = yes; then
63455 cat >>confdefs.h <<_ACEOF
63456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63457 _ACEOF
63459 else
63460 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
63462 done
63466 for ac_func in __signbit
63468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63469 echo "$as_me:$LINENO: checking for $ac_func" >&5
63470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63471 if eval "test \"\${$as_ac_var+set}\" = set"; then
63472 echo $ECHO_N "(cached) $ECHO_C" >&6
63473 else
63474 if test x$gcc_no_link = xyes; then
63475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63477 { (exit 1); exit 1; }; }
63479 cat >conftest.$ac_ext <<_ACEOF
63480 /* confdefs.h. */
63481 _ACEOF
63482 cat confdefs.h >>conftest.$ac_ext
63483 cat >>conftest.$ac_ext <<_ACEOF
63484 /* end confdefs.h. */
63485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63487 #define $ac_func innocuous_$ac_func
63489 /* System header to define __stub macros and hopefully few prototypes,
63490 which can conflict with char $ac_func (); below.
63491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63492 <limits.h> exists even on freestanding compilers. */
63494 #ifdef __STDC__
63495 # include <limits.h>
63496 #else
63497 # include <assert.h>
63498 #endif
63500 #undef $ac_func
63502 /* Override any gcc2 internal prototype to avoid an error. */
63503 #ifdef __cplusplus
63504 extern "C"
63506 #endif
63507 /* We use char because int might match the return type of a gcc2
63508 builtin and then its argument prototype would still apply. */
63509 char $ac_func ();
63510 /* The GNU C library defines this for functions which it implements
63511 to always fail with ENOSYS. Some functions are actually named
63512 something starting with __ and the normal name is an alias. */
63513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63514 choke me
63515 #else
63516 char (*f) () = $ac_func;
63517 #endif
63518 #ifdef __cplusplus
63520 #endif
63523 main ()
63525 return f != $ac_func;
63527 return 0;
63529 _ACEOF
63530 rm -f conftest.$ac_objext conftest$ac_exeext
63531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63532 (eval $ac_link) 2>conftest.er1
63533 ac_status=$?
63534 grep -v '^ *+' conftest.er1 >conftest.err
63535 rm -f conftest.er1
63536 cat conftest.err >&5
63537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63538 (exit $ac_status); } &&
63539 { ac_try='test -z "$ac_c_werror_flag"
63540 || test ! -s conftest.err'
63541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63542 (eval $ac_try) 2>&5
63543 ac_status=$?
63544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63545 (exit $ac_status); }; } &&
63546 { ac_try='test -s conftest$ac_exeext'
63547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63548 (eval $ac_try) 2>&5
63549 ac_status=$?
63550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63551 (exit $ac_status); }; }; then
63552 eval "$as_ac_var=yes"
63553 else
63554 echo "$as_me: failed program was:" >&5
63555 sed 's/^/| /' conftest.$ac_ext >&5
63557 eval "$as_ac_var=no"
63559 rm -f conftest.err conftest.$ac_objext \
63560 conftest$ac_exeext conftest.$ac_ext
63562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63564 if test `eval echo '${'$as_ac_var'}'` = yes; then
63565 cat >>confdefs.h <<_ACEOF
63566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63567 _ACEOF
63569 else
63570 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
63572 done
63576 for ac_func in __signbitf
63578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63579 echo "$as_me:$LINENO: checking for $ac_func" >&5
63580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63581 if eval "test \"\${$as_ac_var+set}\" = set"; then
63582 echo $ECHO_N "(cached) $ECHO_C" >&6
63583 else
63584 if test x$gcc_no_link = xyes; then
63585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63587 { (exit 1); exit 1; }; }
63589 cat >conftest.$ac_ext <<_ACEOF
63590 /* confdefs.h. */
63591 _ACEOF
63592 cat confdefs.h >>conftest.$ac_ext
63593 cat >>conftest.$ac_ext <<_ACEOF
63594 /* end confdefs.h. */
63595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63597 #define $ac_func innocuous_$ac_func
63599 /* System header to define __stub macros and hopefully few prototypes,
63600 which can conflict with char $ac_func (); below.
63601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63602 <limits.h> exists even on freestanding compilers. */
63604 #ifdef __STDC__
63605 # include <limits.h>
63606 #else
63607 # include <assert.h>
63608 #endif
63610 #undef $ac_func
63612 /* Override any gcc2 internal prototype to avoid an error. */
63613 #ifdef __cplusplus
63614 extern "C"
63616 #endif
63617 /* We use char because int might match the return type of a gcc2
63618 builtin and then its argument prototype would still apply. */
63619 char $ac_func ();
63620 /* The GNU C library defines this for functions which it implements
63621 to always fail with ENOSYS. Some functions are actually named
63622 something starting with __ and the normal name is an alias. */
63623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63624 choke me
63625 #else
63626 char (*f) () = $ac_func;
63627 #endif
63628 #ifdef __cplusplus
63630 #endif
63633 main ()
63635 return f != $ac_func;
63637 return 0;
63639 _ACEOF
63640 rm -f conftest.$ac_objext conftest$ac_exeext
63641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63642 (eval $ac_link) 2>conftest.er1
63643 ac_status=$?
63644 grep -v '^ *+' conftest.er1 >conftest.err
63645 rm -f conftest.er1
63646 cat conftest.err >&5
63647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63648 (exit $ac_status); } &&
63649 { ac_try='test -z "$ac_c_werror_flag"
63650 || test ! -s conftest.err'
63651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63652 (eval $ac_try) 2>&5
63653 ac_status=$?
63654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63655 (exit $ac_status); }; } &&
63656 { ac_try='test -s conftest$ac_exeext'
63657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63658 (eval $ac_try) 2>&5
63659 ac_status=$?
63660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63661 (exit $ac_status); }; }; then
63662 eval "$as_ac_var=yes"
63663 else
63664 echo "$as_me: failed program was:" >&5
63665 sed 's/^/| /' conftest.$ac_ext >&5
63667 eval "$as_ac_var=no"
63669 rm -f conftest.err conftest.$ac_objext \
63670 conftest$ac_exeext conftest.$ac_ext
63672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63674 if test `eval echo '${'$as_ac_var'}'` = yes; then
63675 cat >>confdefs.h <<_ACEOF
63676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63677 _ACEOF
63679 else
63680 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63682 done
63685 if test x$ac_cv_func_copysignl = x"yes"; then
63687 for ac_func in __signbitl
63689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63690 echo "$as_me:$LINENO: checking for $ac_func" >&5
63691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63692 if eval "test \"\${$as_ac_var+set}\" = set"; then
63693 echo $ECHO_N "(cached) $ECHO_C" >&6
63694 else
63695 if test x$gcc_no_link = xyes; then
63696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63698 { (exit 1); exit 1; }; }
63700 cat >conftest.$ac_ext <<_ACEOF
63701 /* confdefs.h. */
63702 _ACEOF
63703 cat confdefs.h >>conftest.$ac_ext
63704 cat >>conftest.$ac_ext <<_ACEOF
63705 /* end confdefs.h. */
63706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63708 #define $ac_func innocuous_$ac_func
63710 /* System header to define __stub macros and hopefully few prototypes,
63711 which can conflict with char $ac_func (); below.
63712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63713 <limits.h> exists even on freestanding compilers. */
63715 #ifdef __STDC__
63716 # include <limits.h>
63717 #else
63718 # include <assert.h>
63719 #endif
63721 #undef $ac_func
63723 /* Override any gcc2 internal prototype to avoid an error. */
63724 #ifdef __cplusplus
63725 extern "C"
63727 #endif
63728 /* We use char because int might match the return type of a gcc2
63729 builtin and then its argument prototype would still apply. */
63730 char $ac_func ();
63731 /* The GNU C library defines this for functions which it implements
63732 to always fail with ENOSYS. Some functions are actually named
63733 something starting with __ and the normal name is an alias. */
63734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63735 choke me
63736 #else
63737 char (*f) () = $ac_func;
63738 #endif
63739 #ifdef __cplusplus
63741 #endif
63744 main ()
63746 return f != $ac_func;
63748 return 0;
63750 _ACEOF
63751 rm -f conftest.$ac_objext conftest$ac_exeext
63752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63753 (eval $ac_link) 2>conftest.er1
63754 ac_status=$?
63755 grep -v '^ *+' conftest.er1 >conftest.err
63756 rm -f conftest.er1
63757 cat conftest.err >&5
63758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63759 (exit $ac_status); } &&
63760 { ac_try='test -z "$ac_c_werror_flag"
63761 || test ! -s conftest.err'
63762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63763 (eval $ac_try) 2>&5
63764 ac_status=$?
63765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63766 (exit $ac_status); }; } &&
63767 { ac_try='test -s conftest$ac_exeext'
63768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63769 (eval $ac_try) 2>&5
63770 ac_status=$?
63771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63772 (exit $ac_status); }; }; then
63773 eval "$as_ac_var=yes"
63774 else
63775 echo "$as_me: failed program was:" >&5
63776 sed 's/^/| /' conftest.$ac_ext >&5
63778 eval "$as_ac_var=no"
63780 rm -f conftest.err conftest.$ac_objext \
63781 conftest$ac_exeext conftest.$ac_ext
63783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63785 if test `eval echo '${'$as_ac_var'}'` = yes; then
63786 cat >>confdefs.h <<_ACEOF
63787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63788 _ACEOF
63790 else
63791 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63793 done
63797 # Used in libmath/Makefile.am.
63798 if test -n "$LIBMATHOBJS"; then
63799 need_libmath=yes
63803 cat >>confdefs.h <<\_ACEOF
63804 #define HAVE_LC_MESSAGES 1
63805 _ACEOF
63807 cat >>confdefs.h <<\_ACEOF
63808 #define HAVE_GETPAGESIZE 1
63809 _ACEOF
63811 cat >>confdefs.h <<\_ACEOF
63812 #define HAVE_SETENV 1
63813 _ACEOF
63815 cat >>confdefs.h <<\_ACEOF
63816 #define HAVE_SIGSETJMP 1
63817 _ACEOF
63819 cat >>confdefs.h <<\_ACEOF
63820 #define HAVE_COPYSIGN 1
63821 _ACEOF
63823 cat >>confdefs.h <<\_ACEOF
63824 #define HAVE_COPYSIGNF 1
63825 _ACEOF
63827 cat >>confdefs.h <<\_ACEOF
63828 #define HAVE_FINITEF 1
63829 _ACEOF
63831 cat >>confdefs.h <<\_ACEOF
63832 #define HAVE_FINITE 1
63833 _ACEOF
63835 cat >>confdefs.h <<\_ACEOF
63836 #define HAVE_FREXPF 1
63837 _ACEOF
63839 cat >>confdefs.h <<\_ACEOF
63840 #define HAVE_HYPOT 1
63841 _ACEOF
63843 cat >>confdefs.h <<\_ACEOF
63844 #define HAVE_HYPOTF 1
63845 _ACEOF
63847 cat >>confdefs.h <<\_ACEOF
63848 #define HAVE_ISINF 1
63849 _ACEOF
63851 cat >>confdefs.h <<\_ACEOF
63852 #define HAVE_ISNAN 1
63853 _ACEOF
63855 cat >>confdefs.h <<\_ACEOF
63856 #define HAVE_ISNANF 1
63857 _ACEOF
63860 cat >>confdefs.h <<\_ACEOF
63861 #define HAVE_MMAP 1
63862 _ACEOF
63864 cat >>confdefs.h <<\_ACEOF
63865 #define HAVE_ACOSF 1
63866 _ACEOF
63868 cat >>confdefs.h <<\_ACEOF
63869 #define HAVE_ASINF 1
63870 _ACEOF
63872 cat >>confdefs.h <<\_ACEOF
63873 #define HAVE_ATAN2F 1
63874 _ACEOF
63876 cat >>confdefs.h <<\_ACEOF
63877 #define HAVE_ATANF 1
63878 _ACEOF
63880 cat >>confdefs.h <<\_ACEOF
63881 #define HAVE_CEILF 1
63882 _ACEOF
63884 cat >>confdefs.h <<\_ACEOF
63885 #define HAVE_COPYSIGN 1
63886 _ACEOF
63888 cat >>confdefs.h <<\_ACEOF
63889 #define HAVE_COPYSIGNF 1
63890 _ACEOF
63892 cat >>confdefs.h <<\_ACEOF
63893 #define HAVE_COSF 1
63894 _ACEOF
63896 cat >>confdefs.h <<\_ACEOF
63897 #define HAVE_COSHF 1
63898 _ACEOF
63900 cat >>confdefs.h <<\_ACEOF
63901 #define HAVE_EXPF 1
63902 _ACEOF
63904 cat >>confdefs.h <<\_ACEOF
63905 #define HAVE_FABSF 1
63906 _ACEOF
63908 cat >>confdefs.h <<\_ACEOF
63909 #define HAVE_FLOORF 1
63910 _ACEOF
63912 cat >>confdefs.h <<\_ACEOF
63913 #define HAVE_FMODF 1
63914 _ACEOF
63916 cat >>confdefs.h <<\_ACEOF
63917 #define HAVE_FREXPF 1
63918 _ACEOF
63920 cat >>confdefs.h <<\_ACEOF
63921 #define HAVE_LDEXPF 1
63922 _ACEOF
63924 cat >>confdefs.h <<\_ACEOF
63925 #define HAVE_LOG10F 1
63926 _ACEOF
63928 cat >>confdefs.h <<\_ACEOF
63929 #define HAVE_LOGF 1
63930 _ACEOF
63932 cat >>confdefs.h <<\_ACEOF
63933 #define HAVE_MODFF 1
63934 _ACEOF
63936 cat >>confdefs.h <<\_ACEOF
63937 #define HAVE_POWF 1
63938 _ACEOF
63940 cat >>confdefs.h <<\_ACEOF
63941 #define HAVE_SINF 1
63942 _ACEOF
63944 cat >>confdefs.h <<\_ACEOF
63945 #define HAVE_SINHF 1
63946 _ACEOF
63948 cat >>confdefs.h <<\_ACEOF
63949 #define HAVE_SQRTF 1
63950 _ACEOF
63952 cat >>confdefs.h <<\_ACEOF
63953 #define HAVE_TANF 1
63954 _ACEOF
63956 cat >>confdefs.h <<\_ACEOF
63957 #define HAVE_TANHF 1
63958 _ACEOF
63960 if test x"long_double_math_on_this_cpu" = x"yes"; then
63961 cat >>confdefs.h <<\_ACEOF
63962 #define HAVE_FINITEL 1
63963 _ACEOF
63965 cat >>confdefs.h <<\_ACEOF
63966 #define HAVE_ISINFL 1
63967 _ACEOF
63969 cat >>confdefs.h <<\_ACEOF
63970 #define HAVE_ISNANL 1
63971 _ACEOF
63975 *-hpux*)
63988 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
63989 machine/endian.h machine/param.h sys/machine.h sys/types.h \
63990 fp.h locale.h float.h inttypes.h
63992 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63994 echo "$as_me:$LINENO: checking for $ac_header" >&5
63995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63997 echo $ECHO_N "(cached) $ECHO_C" >&6
63999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64000 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64001 else
64002 # Is the header compilable?
64003 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64004 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64005 cat >conftest.$ac_ext <<_ACEOF
64006 /* confdefs.h. */
64007 _ACEOF
64008 cat confdefs.h >>conftest.$ac_ext
64009 cat >>conftest.$ac_ext <<_ACEOF
64010 /* end confdefs.h. */
64011 $ac_includes_default
64012 #include <$ac_header>
64013 _ACEOF
64014 rm -f conftest.$ac_objext
64015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64016 (eval $ac_compile) 2>conftest.er1
64017 ac_status=$?
64018 grep -v '^ *+' conftest.er1 >conftest.err
64019 rm -f conftest.er1
64020 cat conftest.err >&5
64021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64022 (exit $ac_status); } &&
64023 { ac_try='test -z "$ac_c_werror_flag"
64024 || test ! -s conftest.err'
64025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64026 (eval $ac_try) 2>&5
64027 ac_status=$?
64028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64029 (exit $ac_status); }; } &&
64030 { ac_try='test -s conftest.$ac_objext'
64031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64032 (eval $ac_try) 2>&5
64033 ac_status=$?
64034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64035 (exit $ac_status); }; }; then
64036 ac_header_compiler=yes
64037 else
64038 echo "$as_me: failed program was:" >&5
64039 sed 's/^/| /' conftest.$ac_ext >&5
64041 ac_header_compiler=no
64043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64044 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64045 echo "${ECHO_T}$ac_header_compiler" >&6
64047 # Is the header present?
64048 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64049 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64050 cat >conftest.$ac_ext <<_ACEOF
64051 /* confdefs.h. */
64052 _ACEOF
64053 cat confdefs.h >>conftest.$ac_ext
64054 cat >>conftest.$ac_ext <<_ACEOF
64055 /* end confdefs.h. */
64056 #include <$ac_header>
64057 _ACEOF
64058 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64059 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64060 ac_status=$?
64061 grep -v '^ *+' conftest.er1 >conftest.err
64062 rm -f conftest.er1
64063 cat conftest.err >&5
64064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64065 (exit $ac_status); } >/dev/null; then
64066 if test -s conftest.err; then
64067 ac_cpp_err=$ac_c_preproc_warn_flag
64068 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64069 else
64070 ac_cpp_err=
64072 else
64073 ac_cpp_err=yes
64075 if test -z "$ac_cpp_err"; then
64076 ac_header_preproc=yes
64077 else
64078 echo "$as_me: failed program was:" >&5
64079 sed 's/^/| /' conftest.$ac_ext >&5
64081 ac_header_preproc=no
64083 rm -f conftest.err conftest.$ac_ext
64084 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64085 echo "${ECHO_T}$ac_header_preproc" >&6
64087 # So? What about this header?
64088 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64089 yes:no: )
64090 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64091 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64092 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64093 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64094 ac_header_preproc=yes
64096 no:yes:* )
64097 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64098 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64099 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
64100 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
64101 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64102 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64103 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
64104 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
64105 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64106 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64107 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64108 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64110 cat <<\_ASBOX
64111 ## ----------------------------------------- ##
64112 ## Report this to the package-unused lists. ##
64113 ## ----------------------------------------- ##
64114 _ASBOX
64116 sed "s/^/$as_me: WARNING: /" >&2
64118 esac
64119 echo "$as_me:$LINENO: checking for $ac_header" >&5
64120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64122 echo $ECHO_N "(cached) $ECHO_C" >&6
64123 else
64124 eval "$as_ac_Header=\$ac_header_preproc"
64126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64130 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64131 cat >>confdefs.h <<_ACEOF
64132 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64133 _ACEOF
64137 done
64139 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64142 # If we're not using GNU ld, then there's no point in even trying these
64143 # tests. Check for that first. We should have already tested for gld
64144 # by now (in libtool), but require it now just to be safe...
64145 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64146 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64150 # The name set by libtool depends on the version of libtool. Shame on us
64151 # for depending on an impl detail, but c'est la vie. Older versions used
64152 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64153 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64154 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64155 # set (hence we're using an older libtool), then set it.
64156 if test x${with_gnu_ld+set} != xset; then
64157 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64158 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64159 with_gnu_ld=no
64160 else
64161 with_gnu_ld=$ac_cv_prog_gnu_ld
64165 # Start by getting the version number. I think the libtool test already
64166 # does some of this, but throws away the result.
64167 if test x"$with_gnu_ld" = x"yes"; then
64168 echo "$as_me:$LINENO: checking for ld version" >&5
64169 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
64171 ldver=`$LD --version 2>/dev/null | head -1 | \
64172 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
64174 glibcxx_gnu_ld_version=`echo $ldver | \
64175 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64176 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
64177 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
64180 # Set --gc-sections.
64181 glibcxx_gcsections_min_ld=21602
64182 if test x"$with_gnu_ld" = x"yes" &&
64183 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64185 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64186 # NB: This flag only works reliably after 2.16.1. Configure tests
64187 # for this are difficult, so hard wire a value that should work.
64189 ac_test_CFLAGS="${CFLAGS+set}"
64190 ac_save_CFLAGS="$CFLAGS"
64191 CFLAGS='-Wl,--gc-sections'
64193 # Check for -Wl,--gc-sections
64194 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
64195 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
64196 if test x$gcc_no_link = xyes; then
64197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64199 { (exit 1); exit 1; }; }
64201 cat >conftest.$ac_ext <<_ACEOF
64202 /* confdefs.h. */
64203 _ACEOF
64204 cat confdefs.h >>conftest.$ac_ext
64205 cat >>conftest.$ac_ext <<_ACEOF
64206 /* end confdefs.h. */
64207 int one(void) { return 1; }
64208 int two(void) { return 2; }
64211 main ()
64213 two();
64215 return 0;
64217 _ACEOF
64218 rm -f conftest.$ac_objext conftest$ac_exeext
64219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64220 (eval $ac_link) 2>conftest.er1
64221 ac_status=$?
64222 grep -v '^ *+' conftest.er1 >conftest.err
64223 rm -f conftest.er1
64224 cat conftest.err >&5
64225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64226 (exit $ac_status); } &&
64227 { ac_try='test -z "$ac_c_werror_flag"
64228 || test ! -s conftest.err'
64229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64230 (eval $ac_try) 2>&5
64231 ac_status=$?
64232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64233 (exit $ac_status); }; } &&
64234 { ac_try='test -s conftest$ac_exeext'
64235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64236 (eval $ac_try) 2>&5
64237 ac_status=$?
64238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64239 (exit $ac_status); }; }; then
64240 ac_gcsections=yes
64241 else
64242 echo "$as_me: failed program was:" >&5
64243 sed 's/^/| /' conftest.$ac_ext >&5
64245 ac_gcsections=no
64247 rm -f conftest.err conftest.$ac_objext \
64248 conftest$ac_exeext conftest.$ac_ext
64249 if test "$ac_gcsections" = "yes"; then
64250 rm -f conftest.c
64251 touch conftest.c
64252 if $CC -c conftest.c; then
64253 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64254 grep "Warning: gc-sections option ignored" > /dev/null; then
64255 ac_gcsections=no
64258 rm -f conftest.c conftest.o conftest
64260 if test "$ac_gcsections" = "yes"; then
64261 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64263 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
64264 echo "${ECHO_T}$ac_gcsections" >&6
64266 if test "$ac_test_CFLAGS" = set; then
64267 CFLAGS="$ac_save_CFLAGS"
64268 else
64269 # this is the suspicious part
64270 CFLAGS=''
64274 # Set -z,relro.
64275 # Note this is only for shared objects.
64276 ac_ld_relro=no
64277 if test x"$with_gnu_ld" = x"yes"; then
64278 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
64279 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
64280 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64281 if test -n "$cxx_z_relo"; then
64282 OPT_LDFLAGS="-Wl,-z,relro"
64283 ac_ld_relro=yes
64285 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
64286 echo "${ECHO_T}$ac_ld_relro" >&6
64289 # Set linker optimization flags.
64290 if test x"$with_gnu_ld" = x"yes"; then
64291 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64299 echo "$as_me:$LINENO: checking for main in -lm" >&5
64300 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
64301 if test "${ac_cv_lib_m_main+set}" = set; then
64302 echo $ECHO_N "(cached) $ECHO_C" >&6
64303 else
64304 ac_check_lib_save_LIBS=$LIBS
64305 LIBS="-lm $LIBS"
64306 if test x$gcc_no_link = xyes; then
64307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64309 { (exit 1); exit 1; }; }
64311 cat >conftest.$ac_ext <<_ACEOF
64312 /* confdefs.h. */
64313 _ACEOF
64314 cat confdefs.h >>conftest.$ac_ext
64315 cat >>conftest.$ac_ext <<_ACEOF
64316 /* end confdefs.h. */
64320 main ()
64322 main ();
64324 return 0;
64326 _ACEOF
64327 rm -f conftest.$ac_objext conftest$ac_exeext
64328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64329 (eval $ac_link) 2>conftest.er1
64330 ac_status=$?
64331 grep -v '^ *+' conftest.er1 >conftest.err
64332 rm -f conftest.er1
64333 cat conftest.err >&5
64334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64335 (exit $ac_status); } &&
64336 { ac_try='test -z "$ac_c_werror_flag"
64337 || test ! -s conftest.err'
64338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64339 (eval $ac_try) 2>&5
64340 ac_status=$?
64341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64342 (exit $ac_status); }; } &&
64343 { ac_try='test -s conftest$ac_exeext'
64344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64345 (eval $ac_try) 2>&5
64346 ac_status=$?
64347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64348 (exit $ac_status); }; }; then
64349 ac_cv_lib_m_main=yes
64350 else
64351 echo "$as_me: failed program was:" >&5
64352 sed 's/^/| /' conftest.$ac_ext >&5
64354 ac_cv_lib_m_main=no
64356 rm -f conftest.err conftest.$ac_objext \
64357 conftest$ac_exeext conftest.$ac_ext
64358 LIBS=$ac_check_lib_save_LIBS
64360 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
64361 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
64362 if test $ac_cv_lib_m_main = yes; then
64363 cat >>confdefs.h <<_ACEOF
64364 #define HAVE_LIBM 1
64365 _ACEOF
64367 LIBS="-lm $LIBS"
64372 for ac_func in copysignf
64374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64375 echo "$as_me:$LINENO: checking for $ac_func" >&5
64376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64377 if eval "test \"\${$as_ac_var+set}\" = set"; then
64378 echo $ECHO_N "(cached) $ECHO_C" >&6
64379 else
64380 if test x$gcc_no_link = xyes; then
64381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64383 { (exit 1); exit 1; }; }
64385 cat >conftest.$ac_ext <<_ACEOF
64386 /* confdefs.h. */
64387 _ACEOF
64388 cat confdefs.h >>conftest.$ac_ext
64389 cat >>conftest.$ac_ext <<_ACEOF
64390 /* end confdefs.h. */
64391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64393 #define $ac_func innocuous_$ac_func
64395 /* System header to define __stub macros and hopefully few prototypes,
64396 which can conflict with char $ac_func (); below.
64397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64398 <limits.h> exists even on freestanding compilers. */
64400 #ifdef __STDC__
64401 # include <limits.h>
64402 #else
64403 # include <assert.h>
64404 #endif
64406 #undef $ac_func
64408 /* Override any gcc2 internal prototype to avoid an error. */
64409 #ifdef __cplusplus
64410 extern "C"
64412 #endif
64413 /* We use char because int might match the return type of a gcc2
64414 builtin and then its argument prototype would still apply. */
64415 char $ac_func ();
64416 /* The GNU C library defines this for functions which it implements
64417 to always fail with ENOSYS. Some functions are actually named
64418 something starting with __ and the normal name is an alias. */
64419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64420 choke me
64421 #else
64422 char (*f) () = $ac_func;
64423 #endif
64424 #ifdef __cplusplus
64426 #endif
64429 main ()
64431 return f != $ac_func;
64433 return 0;
64435 _ACEOF
64436 rm -f conftest.$ac_objext conftest$ac_exeext
64437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64438 (eval $ac_link) 2>conftest.er1
64439 ac_status=$?
64440 grep -v '^ *+' conftest.er1 >conftest.err
64441 rm -f conftest.er1
64442 cat conftest.err >&5
64443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64444 (exit $ac_status); } &&
64445 { ac_try='test -z "$ac_c_werror_flag"
64446 || test ! -s conftest.err'
64447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64448 (eval $ac_try) 2>&5
64449 ac_status=$?
64450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64451 (exit $ac_status); }; } &&
64452 { ac_try='test -s conftest$ac_exeext'
64453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64454 (eval $ac_try) 2>&5
64455 ac_status=$?
64456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64457 (exit $ac_status); }; }; then
64458 eval "$as_ac_var=yes"
64459 else
64460 echo "$as_me: failed program was:" >&5
64461 sed 's/^/| /' conftest.$ac_ext >&5
64463 eval "$as_ac_var=no"
64465 rm -f conftest.err conftest.$ac_objext \
64466 conftest$ac_exeext conftest.$ac_ext
64468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64470 if test `eval echo '${'$as_ac_var'}'` = yes; then
64471 cat >>confdefs.h <<_ACEOF
64472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64473 _ACEOF
64475 else
64476 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
64478 done
64482 for ac_func in __signbit
64484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64485 echo "$as_me:$LINENO: checking for $ac_func" >&5
64486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64487 if eval "test \"\${$as_ac_var+set}\" = set"; then
64488 echo $ECHO_N "(cached) $ECHO_C" >&6
64489 else
64490 if test x$gcc_no_link = xyes; then
64491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64493 { (exit 1); exit 1; }; }
64495 cat >conftest.$ac_ext <<_ACEOF
64496 /* confdefs.h. */
64497 _ACEOF
64498 cat confdefs.h >>conftest.$ac_ext
64499 cat >>conftest.$ac_ext <<_ACEOF
64500 /* end confdefs.h. */
64501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64503 #define $ac_func innocuous_$ac_func
64505 /* System header to define __stub macros and hopefully few prototypes,
64506 which can conflict with char $ac_func (); below.
64507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64508 <limits.h> exists even on freestanding compilers. */
64510 #ifdef __STDC__
64511 # include <limits.h>
64512 #else
64513 # include <assert.h>
64514 #endif
64516 #undef $ac_func
64518 /* Override any gcc2 internal prototype to avoid an error. */
64519 #ifdef __cplusplus
64520 extern "C"
64522 #endif
64523 /* We use char because int might match the return type of a gcc2
64524 builtin and then its argument prototype would still apply. */
64525 char $ac_func ();
64526 /* The GNU C library defines this for functions which it implements
64527 to always fail with ENOSYS. Some functions are actually named
64528 something starting with __ and the normal name is an alias. */
64529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64530 choke me
64531 #else
64532 char (*f) () = $ac_func;
64533 #endif
64534 #ifdef __cplusplus
64536 #endif
64539 main ()
64541 return f != $ac_func;
64543 return 0;
64545 _ACEOF
64546 rm -f conftest.$ac_objext conftest$ac_exeext
64547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64548 (eval $ac_link) 2>conftest.er1
64549 ac_status=$?
64550 grep -v '^ *+' conftest.er1 >conftest.err
64551 rm -f conftest.er1
64552 cat conftest.err >&5
64553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64554 (exit $ac_status); } &&
64555 { ac_try='test -z "$ac_c_werror_flag"
64556 || test ! -s conftest.err'
64557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64558 (eval $ac_try) 2>&5
64559 ac_status=$?
64560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64561 (exit $ac_status); }; } &&
64562 { ac_try='test -s conftest$ac_exeext'
64563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64564 (eval $ac_try) 2>&5
64565 ac_status=$?
64566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64567 (exit $ac_status); }; }; then
64568 eval "$as_ac_var=yes"
64569 else
64570 echo "$as_me: failed program was:" >&5
64571 sed 's/^/| /' conftest.$ac_ext >&5
64573 eval "$as_ac_var=no"
64575 rm -f conftest.err conftest.$ac_objext \
64576 conftest$ac_exeext conftest.$ac_ext
64578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64580 if test `eval echo '${'$as_ac_var'}'` = yes; then
64581 cat >>confdefs.h <<_ACEOF
64582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64583 _ACEOF
64585 else
64586 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
64588 done
64592 for ac_func in __signbitf
64594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64595 echo "$as_me:$LINENO: checking for $ac_func" >&5
64596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64597 if eval "test \"\${$as_ac_var+set}\" = set"; then
64598 echo $ECHO_N "(cached) $ECHO_C" >&6
64599 else
64600 if test x$gcc_no_link = xyes; then
64601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64603 { (exit 1); exit 1; }; }
64605 cat >conftest.$ac_ext <<_ACEOF
64606 /* confdefs.h. */
64607 _ACEOF
64608 cat confdefs.h >>conftest.$ac_ext
64609 cat >>conftest.$ac_ext <<_ACEOF
64610 /* end confdefs.h. */
64611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64613 #define $ac_func innocuous_$ac_func
64615 /* System header to define __stub macros and hopefully few prototypes,
64616 which can conflict with char $ac_func (); below.
64617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64618 <limits.h> exists even on freestanding compilers. */
64620 #ifdef __STDC__
64621 # include <limits.h>
64622 #else
64623 # include <assert.h>
64624 #endif
64626 #undef $ac_func
64628 /* Override any gcc2 internal prototype to avoid an error. */
64629 #ifdef __cplusplus
64630 extern "C"
64632 #endif
64633 /* We use char because int might match the return type of a gcc2
64634 builtin and then its argument prototype would still apply. */
64635 char $ac_func ();
64636 /* The GNU C library defines this for functions which it implements
64637 to always fail with ENOSYS. Some functions are actually named
64638 something starting with __ and the normal name is an alias. */
64639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64640 choke me
64641 #else
64642 char (*f) () = $ac_func;
64643 #endif
64644 #ifdef __cplusplus
64646 #endif
64649 main ()
64651 return f != $ac_func;
64653 return 0;
64655 _ACEOF
64656 rm -f conftest.$ac_objext conftest$ac_exeext
64657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64658 (eval $ac_link) 2>conftest.er1
64659 ac_status=$?
64660 grep -v '^ *+' conftest.er1 >conftest.err
64661 rm -f conftest.er1
64662 cat conftest.err >&5
64663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64664 (exit $ac_status); } &&
64665 { ac_try='test -z "$ac_c_werror_flag"
64666 || test ! -s conftest.err'
64667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64668 (eval $ac_try) 2>&5
64669 ac_status=$?
64670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64671 (exit $ac_status); }; } &&
64672 { ac_try='test -s conftest$ac_exeext'
64673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64674 (eval $ac_try) 2>&5
64675 ac_status=$?
64676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64677 (exit $ac_status); }; }; then
64678 eval "$as_ac_var=yes"
64679 else
64680 echo "$as_me: failed program was:" >&5
64681 sed 's/^/| /' conftest.$ac_ext >&5
64683 eval "$as_ac_var=no"
64685 rm -f conftest.err conftest.$ac_objext \
64686 conftest$ac_exeext conftest.$ac_ext
64688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64690 if test `eval echo '${'$as_ac_var'}'` = yes; then
64691 cat >>confdefs.h <<_ACEOF
64692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64693 _ACEOF
64695 else
64696 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
64698 done
64701 if test x$ac_cv_func_copysignl = x"yes"; then
64703 for ac_func in __signbitl
64705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64706 echo "$as_me:$LINENO: checking for $ac_func" >&5
64707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64708 if eval "test \"\${$as_ac_var+set}\" = set"; then
64709 echo $ECHO_N "(cached) $ECHO_C" >&6
64710 else
64711 if test x$gcc_no_link = xyes; then
64712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64714 { (exit 1); exit 1; }; }
64716 cat >conftest.$ac_ext <<_ACEOF
64717 /* confdefs.h. */
64718 _ACEOF
64719 cat confdefs.h >>conftest.$ac_ext
64720 cat >>conftest.$ac_ext <<_ACEOF
64721 /* end confdefs.h. */
64722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64724 #define $ac_func innocuous_$ac_func
64726 /* System header to define __stub macros and hopefully few prototypes,
64727 which can conflict with char $ac_func (); below.
64728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64729 <limits.h> exists even on freestanding compilers. */
64731 #ifdef __STDC__
64732 # include <limits.h>
64733 #else
64734 # include <assert.h>
64735 #endif
64737 #undef $ac_func
64739 /* Override any gcc2 internal prototype to avoid an error. */
64740 #ifdef __cplusplus
64741 extern "C"
64743 #endif
64744 /* We use char because int might match the return type of a gcc2
64745 builtin and then its argument prototype would still apply. */
64746 char $ac_func ();
64747 /* The GNU C library defines this for functions which it implements
64748 to always fail with ENOSYS. Some functions are actually named
64749 something starting with __ and the normal name is an alias. */
64750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64751 choke me
64752 #else
64753 char (*f) () = $ac_func;
64754 #endif
64755 #ifdef __cplusplus
64757 #endif
64760 main ()
64762 return f != $ac_func;
64764 return 0;
64766 _ACEOF
64767 rm -f conftest.$ac_objext conftest$ac_exeext
64768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64769 (eval $ac_link) 2>conftest.er1
64770 ac_status=$?
64771 grep -v '^ *+' conftest.er1 >conftest.err
64772 rm -f conftest.er1
64773 cat conftest.err >&5
64774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64775 (exit $ac_status); } &&
64776 { ac_try='test -z "$ac_c_werror_flag"
64777 || test ! -s conftest.err'
64778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64779 (eval $ac_try) 2>&5
64780 ac_status=$?
64781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64782 (exit $ac_status); }; } &&
64783 { ac_try='test -s conftest$ac_exeext'
64784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64785 (eval $ac_try) 2>&5
64786 ac_status=$?
64787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64788 (exit $ac_status); }; }; then
64789 eval "$as_ac_var=yes"
64790 else
64791 echo "$as_me: failed program was:" >&5
64792 sed 's/^/| /' conftest.$ac_ext >&5
64794 eval "$as_ac_var=no"
64796 rm -f conftest.err conftest.$ac_objext \
64797 conftest$ac_exeext conftest.$ac_ext
64799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64801 if test `eval echo '${'$as_ac_var'}'` = yes; then
64802 cat >>confdefs.h <<_ACEOF
64803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64804 _ACEOF
64806 else
64807 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
64809 done
64813 # Used in libmath/Makefile.am.
64814 if test -n "$LIBMATHOBJS"; then
64815 need_libmath=yes
64819 cat >>confdefs.h <<\_ACEOF
64820 #define HAVE_COPYSIGN 1
64821 _ACEOF
64823 cat >>confdefs.h <<\_ACEOF
64824 #define HAVE_COPYSIGNF 1
64825 _ACEOF
64827 cat >>confdefs.h <<\_ACEOF
64828 #define HAVE_FREXPF 1
64829 _ACEOF
64831 cat >>confdefs.h <<\_ACEOF
64832 #define HAVE_HYPOT 1
64833 _ACEOF
64835 case "$target" in
64836 *-hpux10*)
64837 cat >>confdefs.h <<\_ACEOF
64838 #define HAVE_FINITE 1
64839 _ACEOF
64841 cat >>confdefs.h <<\_ACEOF
64842 #define HAVE_FINITEF 1
64843 _ACEOF
64845 cat >>confdefs.h <<\_ACEOF
64846 #define HAVE_ISINF 1
64847 _ACEOF
64849 cat >>confdefs.h <<\_ACEOF
64850 #define HAVE_ISINFF 1
64851 _ACEOF
64853 cat >>confdefs.h <<\_ACEOF
64854 #define HAVE_ISNAN 1
64855 _ACEOF
64857 cat >>confdefs.h <<\_ACEOF
64858 #define HAVE_ISNANF 1
64859 _ACEOF
64862 esac
64864 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
64880 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
64881 machine/endian.h machine/param.h sys/machine.h sys/types.h \
64882 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
64884 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64886 echo "$as_me:$LINENO: checking for $ac_header" >&5
64887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64889 echo $ECHO_N "(cached) $ECHO_C" >&6
64891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64892 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64893 else
64894 # Is the header compilable?
64895 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64896 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64897 cat >conftest.$ac_ext <<_ACEOF
64898 /* confdefs.h. */
64899 _ACEOF
64900 cat confdefs.h >>conftest.$ac_ext
64901 cat >>conftest.$ac_ext <<_ACEOF
64902 /* end confdefs.h. */
64903 $ac_includes_default
64904 #include <$ac_header>
64905 _ACEOF
64906 rm -f conftest.$ac_objext
64907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64908 (eval $ac_compile) 2>conftest.er1
64909 ac_status=$?
64910 grep -v '^ *+' conftest.er1 >conftest.err
64911 rm -f conftest.er1
64912 cat conftest.err >&5
64913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64914 (exit $ac_status); } &&
64915 { ac_try='test -z "$ac_c_werror_flag"
64916 || test ! -s conftest.err'
64917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64918 (eval $ac_try) 2>&5
64919 ac_status=$?
64920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64921 (exit $ac_status); }; } &&
64922 { ac_try='test -s conftest.$ac_objext'
64923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64924 (eval $ac_try) 2>&5
64925 ac_status=$?
64926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64927 (exit $ac_status); }; }; then
64928 ac_header_compiler=yes
64929 else
64930 echo "$as_me: failed program was:" >&5
64931 sed 's/^/| /' conftest.$ac_ext >&5
64933 ac_header_compiler=no
64935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64936 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64937 echo "${ECHO_T}$ac_header_compiler" >&6
64939 # Is the header present?
64940 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64941 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64942 cat >conftest.$ac_ext <<_ACEOF
64943 /* confdefs.h. */
64944 _ACEOF
64945 cat confdefs.h >>conftest.$ac_ext
64946 cat >>conftest.$ac_ext <<_ACEOF
64947 /* end confdefs.h. */
64948 #include <$ac_header>
64949 _ACEOF
64950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64951 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64952 ac_status=$?
64953 grep -v '^ *+' conftest.er1 >conftest.err
64954 rm -f conftest.er1
64955 cat conftest.err >&5
64956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64957 (exit $ac_status); } >/dev/null; then
64958 if test -s conftest.err; then
64959 ac_cpp_err=$ac_c_preproc_warn_flag
64960 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64961 else
64962 ac_cpp_err=
64964 else
64965 ac_cpp_err=yes
64967 if test -z "$ac_cpp_err"; then
64968 ac_header_preproc=yes
64969 else
64970 echo "$as_me: failed program was:" >&5
64971 sed 's/^/| /' conftest.$ac_ext >&5
64973 ac_header_preproc=no
64975 rm -f conftest.err conftest.$ac_ext
64976 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64977 echo "${ECHO_T}$ac_header_preproc" >&6
64979 # So? What about this header?
64980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64981 yes:no: )
64982 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64983 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64985 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64986 ac_header_preproc=yes
64988 no:yes:* )
64989 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64990 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64991 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
64992 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
64993 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64994 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64995 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
64996 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
64997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64998 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64999 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
65000 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
65002 cat <<\_ASBOX
65003 ## ----------------------------------------- ##
65004 ## Report this to the package-unused lists. ##
65005 ## ----------------------------------------- ##
65006 _ASBOX
65008 sed "s/^/$as_me: WARNING: /" >&2
65010 esac
65011 echo "$as_me:$LINENO: checking for $ac_header" >&5
65012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
65013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
65014 echo $ECHO_N "(cached) $ECHO_C" >&6
65015 else
65016 eval "$as_ac_Header=\$ac_header_preproc"
65018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
65019 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
65022 if test `eval echo '${'$as_ac_Header'}'` = yes; then
65023 cat >>confdefs.h <<_ACEOF
65024 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
65025 _ACEOF
65029 done
65031 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65034 # All these tests are for C++; save the language and the compiler flags.
65035 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65036 # found in GLIBCXX_CONFIGURE.
65039 ac_ext=cc
65040 ac_cpp='$CXXCPP $CPPFLAGS'
65041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65045 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65046 ac_save_CXXFLAGS="$CXXFLAGS"
65048 # Check for maintainer-mode bits.
65049 if test x"$USE_MAINTAINER_MODE" = xno; then
65050 WERROR=''
65051 else
65052 WERROR='-Werror'
65055 # Check for -ffunction-sections -fdata-sections
65056 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65057 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
65058 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65059 cat >conftest.$ac_ext <<_ACEOF
65060 /* confdefs.h. */
65061 _ACEOF
65062 cat confdefs.h >>conftest.$ac_ext
65063 cat >>conftest.$ac_ext <<_ACEOF
65064 /* end confdefs.h. */
65065 int foo; void bar() { };
65067 main ()
65071 return 0;
65073 _ACEOF
65074 rm -f conftest.$ac_objext
65075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65076 (eval $ac_compile) 2>conftest.er1
65077 ac_status=$?
65078 grep -v '^ *+' conftest.er1 >conftest.err
65079 rm -f conftest.er1
65080 cat conftest.err >&5
65081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65082 (exit $ac_status); } &&
65083 { ac_try='test -z "$ac_cxx_werror_flag"
65084 || test ! -s conftest.err'
65085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65086 (eval $ac_try) 2>&5
65087 ac_status=$?
65088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65089 (exit $ac_status); }; } &&
65090 { ac_try='test -s conftest.$ac_objext'
65091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65092 (eval $ac_try) 2>&5
65093 ac_status=$?
65094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65095 (exit $ac_status); }; }; then
65096 ac_fdsections=yes
65097 else
65098 echo "$as_me: failed program was:" >&5
65099 sed 's/^/| /' conftest.$ac_ext >&5
65101 ac_fdsections=no
65103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65104 if test "$ac_test_CXXFLAGS" = set; then
65105 CXXFLAGS="$ac_save_CXXFLAGS"
65106 else
65107 # this is the suspicious part
65108 CXXFLAGS=''
65110 if test x"$ac_fdsections" = x"yes"; then
65111 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65113 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
65114 echo "${ECHO_T}$ac_fdsections" >&6
65116 ac_ext=c
65117 ac_cpp='$CPP $CPPFLAGS'
65118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65126 # If we're not using GNU ld, then there's no point in even trying these
65127 # tests. Check for that first. We should have already tested for gld
65128 # by now (in libtool), but require it now just to be safe...
65129 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65130 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65134 # The name set by libtool depends on the version of libtool. Shame on us
65135 # for depending on an impl detail, but c'est la vie. Older versions used
65136 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65137 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65138 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65139 # set (hence we're using an older libtool), then set it.
65140 if test x${with_gnu_ld+set} != xset; then
65141 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65142 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65143 with_gnu_ld=no
65144 else
65145 with_gnu_ld=$ac_cv_prog_gnu_ld
65149 # Start by getting the version number. I think the libtool test already
65150 # does some of this, but throws away the result.
65151 if test x"$with_gnu_ld" = x"yes"; then
65152 echo "$as_me:$LINENO: checking for ld version" >&5
65153 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
65155 ldver=`$LD --version 2>/dev/null | head -1 | \
65156 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
65158 glibcxx_gnu_ld_version=`echo $ldver | \
65159 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65160 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
65161 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
65164 # Set --gc-sections.
65165 glibcxx_gcsections_min_ld=21602
65166 if test x"$with_gnu_ld" = x"yes" &&
65167 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65169 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65170 # NB: This flag only works reliably after 2.16.1. Configure tests
65171 # for this are difficult, so hard wire a value that should work.
65173 ac_test_CFLAGS="${CFLAGS+set}"
65174 ac_save_CFLAGS="$CFLAGS"
65175 CFLAGS='-Wl,--gc-sections'
65177 # Check for -Wl,--gc-sections
65178 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
65179 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
65180 if test x$gcc_no_link = xyes; then
65181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65183 { (exit 1); exit 1; }; }
65185 cat >conftest.$ac_ext <<_ACEOF
65186 /* confdefs.h. */
65187 _ACEOF
65188 cat confdefs.h >>conftest.$ac_ext
65189 cat >>conftest.$ac_ext <<_ACEOF
65190 /* end confdefs.h. */
65191 int one(void) { return 1; }
65192 int two(void) { return 2; }
65195 main ()
65197 two();
65199 return 0;
65201 _ACEOF
65202 rm -f conftest.$ac_objext conftest$ac_exeext
65203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65204 (eval $ac_link) 2>conftest.er1
65205 ac_status=$?
65206 grep -v '^ *+' conftest.er1 >conftest.err
65207 rm -f conftest.er1
65208 cat conftest.err >&5
65209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65210 (exit $ac_status); } &&
65211 { ac_try='test -z "$ac_c_werror_flag"
65212 || test ! -s conftest.err'
65213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65214 (eval $ac_try) 2>&5
65215 ac_status=$?
65216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65217 (exit $ac_status); }; } &&
65218 { ac_try='test -s conftest$ac_exeext'
65219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65220 (eval $ac_try) 2>&5
65221 ac_status=$?
65222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65223 (exit $ac_status); }; }; then
65224 ac_gcsections=yes
65225 else
65226 echo "$as_me: failed program was:" >&5
65227 sed 's/^/| /' conftest.$ac_ext >&5
65229 ac_gcsections=no
65231 rm -f conftest.err conftest.$ac_objext \
65232 conftest$ac_exeext conftest.$ac_ext
65233 if test "$ac_gcsections" = "yes"; then
65234 rm -f conftest.c
65235 touch conftest.c
65236 if $CC -c conftest.c; then
65237 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65238 grep "Warning: gc-sections option ignored" > /dev/null; then
65239 ac_gcsections=no
65242 rm -f conftest.c conftest.o conftest
65244 if test "$ac_gcsections" = "yes"; then
65245 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65247 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
65248 echo "${ECHO_T}$ac_gcsections" >&6
65250 if test "$ac_test_CFLAGS" = set; then
65251 CFLAGS="$ac_save_CFLAGS"
65252 else
65253 # this is the suspicious part
65254 CFLAGS=''
65258 # Set -z,relro.
65259 # Note this is only for shared objects.
65260 ac_ld_relro=no
65261 if test x"$with_gnu_ld" = x"yes"; then
65262 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
65263 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
65264 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65265 if test -n "$cxx_z_relo"; then
65266 OPT_LDFLAGS="-Wl,-z,relro"
65267 ac_ld_relro=yes
65269 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
65270 echo "${ECHO_T}$ac_ld_relro" >&6
65273 # Set linker optimization flags.
65274 if test x"$with_gnu_ld" = x"yes"; then
65275 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65282 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65283 ac_save_CXXFLAGS="$CXXFLAGS"
65284 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65286 echo "$as_me:$LINENO: checking for sin in -lm" >&5
65287 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
65288 if test "${ac_cv_lib_m_sin+set}" = set; then
65289 echo $ECHO_N "(cached) $ECHO_C" >&6
65290 else
65291 ac_check_lib_save_LIBS=$LIBS
65292 LIBS="-lm $LIBS"
65293 if test x$gcc_no_link = xyes; then
65294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65296 { (exit 1); exit 1; }; }
65298 cat >conftest.$ac_ext <<_ACEOF
65299 /* confdefs.h. */
65300 _ACEOF
65301 cat confdefs.h >>conftest.$ac_ext
65302 cat >>conftest.$ac_ext <<_ACEOF
65303 /* end confdefs.h. */
65305 /* Override any gcc2 internal prototype to avoid an error. */
65306 #ifdef __cplusplus
65307 extern "C"
65308 #endif
65309 /* We use char because int might match the return type of a gcc2
65310 builtin and then its argument prototype would still apply. */
65311 char sin ();
65313 main ()
65315 sin ();
65317 return 0;
65319 _ACEOF
65320 rm -f conftest.$ac_objext conftest$ac_exeext
65321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65322 (eval $ac_link) 2>conftest.er1
65323 ac_status=$?
65324 grep -v '^ *+' conftest.er1 >conftest.err
65325 rm -f conftest.er1
65326 cat conftest.err >&5
65327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65328 (exit $ac_status); } &&
65329 { ac_try='test -z "$ac_c_werror_flag"
65330 || test ! -s conftest.err'
65331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65332 (eval $ac_try) 2>&5
65333 ac_status=$?
65334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65335 (exit $ac_status); }; } &&
65336 { ac_try='test -s conftest$ac_exeext'
65337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65338 (eval $ac_try) 2>&5
65339 ac_status=$?
65340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65341 (exit $ac_status); }; }; then
65342 ac_cv_lib_m_sin=yes
65343 else
65344 echo "$as_me: failed program was:" >&5
65345 sed 's/^/| /' conftest.$ac_ext >&5
65347 ac_cv_lib_m_sin=no
65349 rm -f conftest.err conftest.$ac_objext \
65350 conftest$ac_exeext conftest.$ac_ext
65351 LIBS=$ac_check_lib_save_LIBS
65353 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
65354 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
65355 if test $ac_cv_lib_m_sin = yes; then
65356 libm="-lm"
65359 ac_save_LIBS="$LIBS"
65360 LIBS="$LIBS $libm"
65364 echo "$as_me:$LINENO: checking for isinf declaration" >&5
65365 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
65366 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65367 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
65368 echo $ECHO_N "(cached) $ECHO_C" >&6
65369 else
65373 ac_ext=cc
65374 ac_cpp='$CXXCPP $CPPFLAGS'
65375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65379 cat >conftest.$ac_ext <<_ACEOF
65380 /* confdefs.h. */
65381 _ACEOF
65382 cat confdefs.h >>conftest.$ac_ext
65383 cat >>conftest.$ac_ext <<_ACEOF
65384 /* end confdefs.h. */
65385 #include <math.h>
65386 #ifdef HAVE_IEEEFP_H
65387 #include <ieeefp.h>
65388 #endif
65391 main ()
65393 isinf(0);
65395 return 0;
65397 _ACEOF
65398 rm -f conftest.$ac_objext
65399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65400 (eval $ac_compile) 2>conftest.er1
65401 ac_status=$?
65402 grep -v '^ *+' conftest.er1 >conftest.err
65403 rm -f conftest.er1
65404 cat conftest.err >&5
65405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65406 (exit $ac_status); } &&
65407 { ac_try='test -z "$ac_cxx_werror_flag"
65408 || test ! -s conftest.err'
65409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65410 (eval $ac_try) 2>&5
65411 ac_status=$?
65412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65413 (exit $ac_status); }; } &&
65414 { ac_try='test -s conftest.$ac_objext'
65415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65416 (eval $ac_try) 2>&5
65417 ac_status=$?
65418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65419 (exit $ac_status); }; }; then
65420 glibcxx_cv_func_isinf_use=yes
65421 else
65422 echo "$as_me: failed program was:" >&5
65423 sed 's/^/| /' conftest.$ac_ext >&5
65425 glibcxx_cv_func_isinf_use=no
65427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65428 ac_ext=c
65429 ac_cpp='$CPP $CPPFLAGS'
65430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65438 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
65439 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
65441 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65443 for ac_func in isinf
65445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65446 echo "$as_me:$LINENO: checking for $ac_func" >&5
65447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65448 if eval "test \"\${$as_ac_var+set}\" = set"; then
65449 echo $ECHO_N "(cached) $ECHO_C" >&6
65450 else
65451 if test x$gcc_no_link = xyes; then
65452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65454 { (exit 1); exit 1; }; }
65456 cat >conftest.$ac_ext <<_ACEOF
65457 /* confdefs.h. */
65458 _ACEOF
65459 cat confdefs.h >>conftest.$ac_ext
65460 cat >>conftest.$ac_ext <<_ACEOF
65461 /* end confdefs.h. */
65462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65464 #define $ac_func innocuous_$ac_func
65466 /* System header to define __stub macros and hopefully few prototypes,
65467 which can conflict with char $ac_func (); below.
65468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65469 <limits.h> exists even on freestanding compilers. */
65471 #ifdef __STDC__
65472 # include <limits.h>
65473 #else
65474 # include <assert.h>
65475 #endif
65477 #undef $ac_func
65479 /* Override any gcc2 internal prototype to avoid an error. */
65480 #ifdef __cplusplus
65481 extern "C"
65483 #endif
65484 /* We use char because int might match the return type of a gcc2
65485 builtin and then its argument prototype would still apply. */
65486 char $ac_func ();
65487 /* The GNU C library defines this for functions which it implements
65488 to always fail with ENOSYS. Some functions are actually named
65489 something starting with __ and the normal name is an alias. */
65490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65491 choke me
65492 #else
65493 char (*f) () = $ac_func;
65494 #endif
65495 #ifdef __cplusplus
65497 #endif
65500 main ()
65502 return f != $ac_func;
65504 return 0;
65506 _ACEOF
65507 rm -f conftest.$ac_objext conftest$ac_exeext
65508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65509 (eval $ac_link) 2>conftest.er1
65510 ac_status=$?
65511 grep -v '^ *+' conftest.er1 >conftest.err
65512 rm -f conftest.er1
65513 cat conftest.err >&5
65514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65515 (exit $ac_status); } &&
65516 { ac_try='test -z "$ac_c_werror_flag"
65517 || test ! -s conftest.err'
65518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65519 (eval $ac_try) 2>&5
65520 ac_status=$?
65521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65522 (exit $ac_status); }; } &&
65523 { ac_try='test -s conftest$ac_exeext'
65524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65525 (eval $ac_try) 2>&5
65526 ac_status=$?
65527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65528 (exit $ac_status); }; }; then
65529 eval "$as_ac_var=yes"
65530 else
65531 echo "$as_me: failed program was:" >&5
65532 sed 's/^/| /' conftest.$ac_ext >&5
65534 eval "$as_ac_var=no"
65536 rm -f conftest.err conftest.$ac_objext \
65537 conftest$ac_exeext conftest.$ac_ext
65539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65541 if test `eval echo '${'$as_ac_var'}'` = yes; then
65542 cat >>confdefs.h <<_ACEOF
65543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65544 _ACEOF
65547 done
65549 else
65551 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
65552 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
65553 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65554 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
65555 echo $ECHO_N "(cached) $ECHO_C" >&6
65556 else
65560 ac_ext=cc
65561 ac_cpp='$CXXCPP $CPPFLAGS'
65562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65566 cat >conftest.$ac_ext <<_ACEOF
65567 /* confdefs.h. */
65568 _ACEOF
65569 cat confdefs.h >>conftest.$ac_ext
65570 cat >>conftest.$ac_ext <<_ACEOF
65571 /* end confdefs.h. */
65572 #include <math.h>
65573 #ifdef HAVE_IEEEFP_H
65574 #include <ieeefp.h>
65575 #endif
65578 main ()
65580 _isinf(0);
65582 return 0;
65584 _ACEOF
65585 rm -f conftest.$ac_objext
65586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65587 (eval $ac_compile) 2>conftest.er1
65588 ac_status=$?
65589 grep -v '^ *+' conftest.er1 >conftest.err
65590 rm -f conftest.er1
65591 cat conftest.err >&5
65592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65593 (exit $ac_status); } &&
65594 { ac_try='test -z "$ac_cxx_werror_flag"
65595 || test ! -s conftest.err'
65596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65597 (eval $ac_try) 2>&5
65598 ac_status=$?
65599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65600 (exit $ac_status); }; } &&
65601 { ac_try='test -s conftest.$ac_objext'
65602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65603 (eval $ac_try) 2>&5
65604 ac_status=$?
65605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65606 (exit $ac_status); }; }; then
65607 glibcxx_cv_func__isinf_use=yes
65608 else
65609 echo "$as_me: failed program was:" >&5
65610 sed 's/^/| /' conftest.$ac_ext >&5
65612 glibcxx_cv_func__isinf_use=no
65614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65615 ac_ext=c
65616 ac_cpp='$CPP $CPPFLAGS'
65617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65625 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
65626 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
65628 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65630 for ac_func in _isinf
65632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65633 echo "$as_me:$LINENO: checking for $ac_func" >&5
65634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65635 if eval "test \"\${$as_ac_var+set}\" = set"; then
65636 echo $ECHO_N "(cached) $ECHO_C" >&6
65637 else
65638 if test x$gcc_no_link = xyes; then
65639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65641 { (exit 1); exit 1; }; }
65643 cat >conftest.$ac_ext <<_ACEOF
65644 /* confdefs.h. */
65645 _ACEOF
65646 cat confdefs.h >>conftest.$ac_ext
65647 cat >>conftest.$ac_ext <<_ACEOF
65648 /* end confdefs.h. */
65649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65651 #define $ac_func innocuous_$ac_func
65653 /* System header to define __stub macros and hopefully few prototypes,
65654 which can conflict with char $ac_func (); below.
65655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65656 <limits.h> exists even on freestanding compilers. */
65658 #ifdef __STDC__
65659 # include <limits.h>
65660 #else
65661 # include <assert.h>
65662 #endif
65664 #undef $ac_func
65666 /* Override any gcc2 internal prototype to avoid an error. */
65667 #ifdef __cplusplus
65668 extern "C"
65670 #endif
65671 /* We use char because int might match the return type of a gcc2
65672 builtin and then its argument prototype would still apply. */
65673 char $ac_func ();
65674 /* The GNU C library defines this for functions which it implements
65675 to always fail with ENOSYS. Some functions are actually named
65676 something starting with __ and the normal name is an alias. */
65677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65678 choke me
65679 #else
65680 char (*f) () = $ac_func;
65681 #endif
65682 #ifdef __cplusplus
65684 #endif
65687 main ()
65689 return f != $ac_func;
65691 return 0;
65693 _ACEOF
65694 rm -f conftest.$ac_objext conftest$ac_exeext
65695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65696 (eval $ac_link) 2>conftest.er1
65697 ac_status=$?
65698 grep -v '^ *+' conftest.er1 >conftest.err
65699 rm -f conftest.er1
65700 cat conftest.err >&5
65701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65702 (exit $ac_status); } &&
65703 { ac_try='test -z "$ac_c_werror_flag"
65704 || test ! -s conftest.err'
65705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65706 (eval $ac_try) 2>&5
65707 ac_status=$?
65708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65709 (exit $ac_status); }; } &&
65710 { ac_try='test -s conftest$ac_exeext'
65711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65712 (eval $ac_try) 2>&5
65713 ac_status=$?
65714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65715 (exit $ac_status); }; }; then
65716 eval "$as_ac_var=yes"
65717 else
65718 echo "$as_me: failed program was:" >&5
65719 sed 's/^/| /' conftest.$ac_ext >&5
65721 eval "$as_ac_var=no"
65723 rm -f conftest.err conftest.$ac_objext \
65724 conftest$ac_exeext conftest.$ac_ext
65726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65728 if test `eval echo '${'$as_ac_var'}'` = yes; then
65729 cat >>confdefs.h <<_ACEOF
65730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65731 _ACEOF
65734 done
65744 echo "$as_me:$LINENO: checking for isnan declaration" >&5
65745 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
65746 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65747 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
65748 echo $ECHO_N "(cached) $ECHO_C" >&6
65749 else
65753 ac_ext=cc
65754 ac_cpp='$CXXCPP $CPPFLAGS'
65755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65759 cat >conftest.$ac_ext <<_ACEOF
65760 /* confdefs.h. */
65761 _ACEOF
65762 cat confdefs.h >>conftest.$ac_ext
65763 cat >>conftest.$ac_ext <<_ACEOF
65764 /* end confdefs.h. */
65765 #include <math.h>
65766 #ifdef HAVE_IEEEFP_H
65767 #include <ieeefp.h>
65768 #endif
65771 main ()
65773 isnan(0);
65775 return 0;
65777 _ACEOF
65778 rm -f conftest.$ac_objext
65779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65780 (eval $ac_compile) 2>conftest.er1
65781 ac_status=$?
65782 grep -v '^ *+' conftest.er1 >conftest.err
65783 rm -f conftest.er1
65784 cat conftest.err >&5
65785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65786 (exit $ac_status); } &&
65787 { ac_try='test -z "$ac_cxx_werror_flag"
65788 || test ! -s conftest.err'
65789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65790 (eval $ac_try) 2>&5
65791 ac_status=$?
65792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65793 (exit $ac_status); }; } &&
65794 { ac_try='test -s conftest.$ac_objext'
65795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65796 (eval $ac_try) 2>&5
65797 ac_status=$?
65798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65799 (exit $ac_status); }; }; then
65800 glibcxx_cv_func_isnan_use=yes
65801 else
65802 echo "$as_me: failed program was:" >&5
65803 sed 's/^/| /' conftest.$ac_ext >&5
65805 glibcxx_cv_func_isnan_use=no
65807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65808 ac_ext=c
65809 ac_cpp='$CPP $CPPFLAGS'
65810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65818 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
65819 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
65821 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65823 for ac_func in isnan
65825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65826 echo "$as_me:$LINENO: checking for $ac_func" >&5
65827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65828 if eval "test \"\${$as_ac_var+set}\" = set"; then
65829 echo $ECHO_N "(cached) $ECHO_C" >&6
65830 else
65831 if test x$gcc_no_link = xyes; then
65832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65834 { (exit 1); exit 1; }; }
65836 cat >conftest.$ac_ext <<_ACEOF
65837 /* confdefs.h. */
65838 _ACEOF
65839 cat confdefs.h >>conftest.$ac_ext
65840 cat >>conftest.$ac_ext <<_ACEOF
65841 /* end confdefs.h. */
65842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65844 #define $ac_func innocuous_$ac_func
65846 /* System header to define __stub macros and hopefully few prototypes,
65847 which can conflict with char $ac_func (); below.
65848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65849 <limits.h> exists even on freestanding compilers. */
65851 #ifdef __STDC__
65852 # include <limits.h>
65853 #else
65854 # include <assert.h>
65855 #endif
65857 #undef $ac_func
65859 /* Override any gcc2 internal prototype to avoid an error. */
65860 #ifdef __cplusplus
65861 extern "C"
65863 #endif
65864 /* We use char because int might match the return type of a gcc2
65865 builtin and then its argument prototype would still apply. */
65866 char $ac_func ();
65867 /* The GNU C library defines this for functions which it implements
65868 to always fail with ENOSYS. Some functions are actually named
65869 something starting with __ and the normal name is an alias. */
65870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65871 choke me
65872 #else
65873 char (*f) () = $ac_func;
65874 #endif
65875 #ifdef __cplusplus
65877 #endif
65880 main ()
65882 return f != $ac_func;
65884 return 0;
65886 _ACEOF
65887 rm -f conftest.$ac_objext conftest$ac_exeext
65888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65889 (eval $ac_link) 2>conftest.er1
65890 ac_status=$?
65891 grep -v '^ *+' conftest.er1 >conftest.err
65892 rm -f conftest.er1
65893 cat conftest.err >&5
65894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65895 (exit $ac_status); } &&
65896 { ac_try='test -z "$ac_c_werror_flag"
65897 || test ! -s conftest.err'
65898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65899 (eval $ac_try) 2>&5
65900 ac_status=$?
65901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65902 (exit $ac_status); }; } &&
65903 { ac_try='test -s conftest$ac_exeext'
65904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65905 (eval $ac_try) 2>&5
65906 ac_status=$?
65907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65908 (exit $ac_status); }; }; then
65909 eval "$as_ac_var=yes"
65910 else
65911 echo "$as_me: failed program was:" >&5
65912 sed 's/^/| /' conftest.$ac_ext >&5
65914 eval "$as_ac_var=no"
65916 rm -f conftest.err conftest.$ac_objext \
65917 conftest$ac_exeext conftest.$ac_ext
65919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65921 if test `eval echo '${'$as_ac_var'}'` = yes; then
65922 cat >>confdefs.h <<_ACEOF
65923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65924 _ACEOF
65927 done
65929 else
65931 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
65932 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
65933 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65934 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
65935 echo $ECHO_N "(cached) $ECHO_C" >&6
65936 else
65940 ac_ext=cc
65941 ac_cpp='$CXXCPP $CPPFLAGS'
65942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65946 cat >conftest.$ac_ext <<_ACEOF
65947 /* confdefs.h. */
65948 _ACEOF
65949 cat confdefs.h >>conftest.$ac_ext
65950 cat >>conftest.$ac_ext <<_ACEOF
65951 /* end confdefs.h. */
65952 #include <math.h>
65953 #ifdef HAVE_IEEEFP_H
65954 #include <ieeefp.h>
65955 #endif
65958 main ()
65960 _isnan(0);
65962 return 0;
65964 _ACEOF
65965 rm -f conftest.$ac_objext
65966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65967 (eval $ac_compile) 2>conftest.er1
65968 ac_status=$?
65969 grep -v '^ *+' conftest.er1 >conftest.err
65970 rm -f conftest.er1
65971 cat conftest.err >&5
65972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65973 (exit $ac_status); } &&
65974 { ac_try='test -z "$ac_cxx_werror_flag"
65975 || test ! -s conftest.err'
65976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65977 (eval $ac_try) 2>&5
65978 ac_status=$?
65979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65980 (exit $ac_status); }; } &&
65981 { ac_try='test -s conftest.$ac_objext'
65982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65983 (eval $ac_try) 2>&5
65984 ac_status=$?
65985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65986 (exit $ac_status); }; }; then
65987 glibcxx_cv_func__isnan_use=yes
65988 else
65989 echo "$as_me: failed program was:" >&5
65990 sed 's/^/| /' conftest.$ac_ext >&5
65992 glibcxx_cv_func__isnan_use=no
65994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65995 ac_ext=c
65996 ac_cpp='$CPP $CPPFLAGS'
65997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66005 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
66006 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
66008 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66010 for ac_func in _isnan
66012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66013 echo "$as_me:$LINENO: checking for $ac_func" >&5
66014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66015 if eval "test \"\${$as_ac_var+set}\" = set"; then
66016 echo $ECHO_N "(cached) $ECHO_C" >&6
66017 else
66018 if test x$gcc_no_link = xyes; then
66019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66021 { (exit 1); exit 1; }; }
66023 cat >conftest.$ac_ext <<_ACEOF
66024 /* confdefs.h. */
66025 _ACEOF
66026 cat confdefs.h >>conftest.$ac_ext
66027 cat >>conftest.$ac_ext <<_ACEOF
66028 /* end confdefs.h. */
66029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66031 #define $ac_func innocuous_$ac_func
66033 /* System header to define __stub macros and hopefully few prototypes,
66034 which can conflict with char $ac_func (); below.
66035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66036 <limits.h> exists even on freestanding compilers. */
66038 #ifdef __STDC__
66039 # include <limits.h>
66040 #else
66041 # include <assert.h>
66042 #endif
66044 #undef $ac_func
66046 /* Override any gcc2 internal prototype to avoid an error. */
66047 #ifdef __cplusplus
66048 extern "C"
66050 #endif
66051 /* We use char because int might match the return type of a gcc2
66052 builtin and then its argument prototype would still apply. */
66053 char $ac_func ();
66054 /* The GNU C library defines this for functions which it implements
66055 to always fail with ENOSYS. Some functions are actually named
66056 something starting with __ and the normal name is an alias. */
66057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66058 choke me
66059 #else
66060 char (*f) () = $ac_func;
66061 #endif
66062 #ifdef __cplusplus
66064 #endif
66067 main ()
66069 return f != $ac_func;
66071 return 0;
66073 _ACEOF
66074 rm -f conftest.$ac_objext conftest$ac_exeext
66075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66076 (eval $ac_link) 2>conftest.er1
66077 ac_status=$?
66078 grep -v '^ *+' conftest.er1 >conftest.err
66079 rm -f conftest.er1
66080 cat conftest.err >&5
66081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66082 (exit $ac_status); } &&
66083 { ac_try='test -z "$ac_c_werror_flag"
66084 || test ! -s conftest.err'
66085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66086 (eval $ac_try) 2>&5
66087 ac_status=$?
66088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66089 (exit $ac_status); }; } &&
66090 { ac_try='test -s conftest$ac_exeext'
66091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66092 (eval $ac_try) 2>&5
66093 ac_status=$?
66094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66095 (exit $ac_status); }; }; then
66096 eval "$as_ac_var=yes"
66097 else
66098 echo "$as_me: failed program was:" >&5
66099 sed 's/^/| /' conftest.$ac_ext >&5
66101 eval "$as_ac_var=no"
66103 rm -f conftest.err conftest.$ac_objext \
66104 conftest$ac_exeext conftest.$ac_ext
66106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66108 if test `eval echo '${'$as_ac_var'}'` = yes; then
66109 cat >>confdefs.h <<_ACEOF
66110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66111 _ACEOF
66114 done
66124 echo "$as_me:$LINENO: checking for finite declaration" >&5
66125 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
66126 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66127 if test "${glibcxx_cv_func_finite_use+set}" = set; then
66128 echo $ECHO_N "(cached) $ECHO_C" >&6
66129 else
66133 ac_ext=cc
66134 ac_cpp='$CXXCPP $CPPFLAGS'
66135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66139 cat >conftest.$ac_ext <<_ACEOF
66140 /* confdefs.h. */
66141 _ACEOF
66142 cat confdefs.h >>conftest.$ac_ext
66143 cat >>conftest.$ac_ext <<_ACEOF
66144 /* end confdefs.h. */
66145 #include <math.h>
66146 #ifdef HAVE_IEEEFP_H
66147 #include <ieeefp.h>
66148 #endif
66151 main ()
66153 finite(0);
66155 return 0;
66157 _ACEOF
66158 rm -f conftest.$ac_objext
66159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66160 (eval $ac_compile) 2>conftest.er1
66161 ac_status=$?
66162 grep -v '^ *+' conftest.er1 >conftest.err
66163 rm -f conftest.er1
66164 cat conftest.err >&5
66165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66166 (exit $ac_status); } &&
66167 { ac_try='test -z "$ac_cxx_werror_flag"
66168 || test ! -s conftest.err'
66169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66170 (eval $ac_try) 2>&5
66171 ac_status=$?
66172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66173 (exit $ac_status); }; } &&
66174 { ac_try='test -s conftest.$ac_objext'
66175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66176 (eval $ac_try) 2>&5
66177 ac_status=$?
66178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66179 (exit $ac_status); }; }; then
66180 glibcxx_cv_func_finite_use=yes
66181 else
66182 echo "$as_me: failed program was:" >&5
66183 sed 's/^/| /' conftest.$ac_ext >&5
66185 glibcxx_cv_func_finite_use=no
66187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66188 ac_ext=c
66189 ac_cpp='$CPP $CPPFLAGS'
66190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66198 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
66199 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
66201 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66203 for ac_func in finite
66205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66206 echo "$as_me:$LINENO: checking for $ac_func" >&5
66207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66208 if eval "test \"\${$as_ac_var+set}\" = set"; then
66209 echo $ECHO_N "(cached) $ECHO_C" >&6
66210 else
66211 if test x$gcc_no_link = xyes; then
66212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66214 { (exit 1); exit 1; }; }
66216 cat >conftest.$ac_ext <<_ACEOF
66217 /* confdefs.h. */
66218 _ACEOF
66219 cat confdefs.h >>conftest.$ac_ext
66220 cat >>conftest.$ac_ext <<_ACEOF
66221 /* end confdefs.h. */
66222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66224 #define $ac_func innocuous_$ac_func
66226 /* System header to define __stub macros and hopefully few prototypes,
66227 which can conflict with char $ac_func (); below.
66228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66229 <limits.h> exists even on freestanding compilers. */
66231 #ifdef __STDC__
66232 # include <limits.h>
66233 #else
66234 # include <assert.h>
66235 #endif
66237 #undef $ac_func
66239 /* Override any gcc2 internal prototype to avoid an error. */
66240 #ifdef __cplusplus
66241 extern "C"
66243 #endif
66244 /* We use char because int might match the return type of a gcc2
66245 builtin and then its argument prototype would still apply. */
66246 char $ac_func ();
66247 /* The GNU C library defines this for functions which it implements
66248 to always fail with ENOSYS. Some functions are actually named
66249 something starting with __ and the normal name is an alias. */
66250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66251 choke me
66252 #else
66253 char (*f) () = $ac_func;
66254 #endif
66255 #ifdef __cplusplus
66257 #endif
66260 main ()
66262 return f != $ac_func;
66264 return 0;
66266 _ACEOF
66267 rm -f conftest.$ac_objext conftest$ac_exeext
66268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66269 (eval $ac_link) 2>conftest.er1
66270 ac_status=$?
66271 grep -v '^ *+' conftest.er1 >conftest.err
66272 rm -f conftest.er1
66273 cat conftest.err >&5
66274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66275 (exit $ac_status); } &&
66276 { ac_try='test -z "$ac_c_werror_flag"
66277 || test ! -s conftest.err'
66278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66279 (eval $ac_try) 2>&5
66280 ac_status=$?
66281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66282 (exit $ac_status); }; } &&
66283 { ac_try='test -s conftest$ac_exeext'
66284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66285 (eval $ac_try) 2>&5
66286 ac_status=$?
66287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66288 (exit $ac_status); }; }; then
66289 eval "$as_ac_var=yes"
66290 else
66291 echo "$as_me: failed program was:" >&5
66292 sed 's/^/| /' conftest.$ac_ext >&5
66294 eval "$as_ac_var=no"
66296 rm -f conftest.err conftest.$ac_objext \
66297 conftest$ac_exeext conftest.$ac_ext
66299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66301 if test `eval echo '${'$as_ac_var'}'` = yes; then
66302 cat >>confdefs.h <<_ACEOF
66303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66304 _ACEOF
66307 done
66309 else
66311 echo "$as_me:$LINENO: checking for _finite declaration" >&5
66312 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
66313 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66314 if test "${glibcxx_cv_func__finite_use+set}" = set; then
66315 echo $ECHO_N "(cached) $ECHO_C" >&6
66316 else
66320 ac_ext=cc
66321 ac_cpp='$CXXCPP $CPPFLAGS'
66322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66326 cat >conftest.$ac_ext <<_ACEOF
66327 /* confdefs.h. */
66328 _ACEOF
66329 cat confdefs.h >>conftest.$ac_ext
66330 cat >>conftest.$ac_ext <<_ACEOF
66331 /* end confdefs.h. */
66332 #include <math.h>
66333 #ifdef HAVE_IEEEFP_H
66334 #include <ieeefp.h>
66335 #endif
66338 main ()
66340 _finite(0);
66342 return 0;
66344 _ACEOF
66345 rm -f conftest.$ac_objext
66346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66347 (eval $ac_compile) 2>conftest.er1
66348 ac_status=$?
66349 grep -v '^ *+' conftest.er1 >conftest.err
66350 rm -f conftest.er1
66351 cat conftest.err >&5
66352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66353 (exit $ac_status); } &&
66354 { ac_try='test -z "$ac_cxx_werror_flag"
66355 || test ! -s conftest.err'
66356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66357 (eval $ac_try) 2>&5
66358 ac_status=$?
66359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66360 (exit $ac_status); }; } &&
66361 { ac_try='test -s conftest.$ac_objext'
66362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66363 (eval $ac_try) 2>&5
66364 ac_status=$?
66365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66366 (exit $ac_status); }; }; then
66367 glibcxx_cv_func__finite_use=yes
66368 else
66369 echo "$as_me: failed program was:" >&5
66370 sed 's/^/| /' conftest.$ac_ext >&5
66372 glibcxx_cv_func__finite_use=no
66374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66375 ac_ext=c
66376 ac_cpp='$CPP $CPPFLAGS'
66377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66385 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
66386 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
66388 if test x$glibcxx_cv_func__finite_use = x"yes"; then
66390 for ac_func in _finite
66392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66393 echo "$as_me:$LINENO: checking for $ac_func" >&5
66394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66395 if eval "test \"\${$as_ac_var+set}\" = set"; then
66396 echo $ECHO_N "(cached) $ECHO_C" >&6
66397 else
66398 if test x$gcc_no_link = xyes; then
66399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66401 { (exit 1); exit 1; }; }
66403 cat >conftest.$ac_ext <<_ACEOF
66404 /* confdefs.h. */
66405 _ACEOF
66406 cat confdefs.h >>conftest.$ac_ext
66407 cat >>conftest.$ac_ext <<_ACEOF
66408 /* end confdefs.h. */
66409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66411 #define $ac_func innocuous_$ac_func
66413 /* System header to define __stub macros and hopefully few prototypes,
66414 which can conflict with char $ac_func (); below.
66415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66416 <limits.h> exists even on freestanding compilers. */
66418 #ifdef __STDC__
66419 # include <limits.h>
66420 #else
66421 # include <assert.h>
66422 #endif
66424 #undef $ac_func
66426 /* Override any gcc2 internal prototype to avoid an error. */
66427 #ifdef __cplusplus
66428 extern "C"
66430 #endif
66431 /* We use char because int might match the return type of a gcc2
66432 builtin and then its argument prototype would still apply. */
66433 char $ac_func ();
66434 /* The GNU C library defines this for functions which it implements
66435 to always fail with ENOSYS. Some functions are actually named
66436 something starting with __ and the normal name is an alias. */
66437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66438 choke me
66439 #else
66440 char (*f) () = $ac_func;
66441 #endif
66442 #ifdef __cplusplus
66444 #endif
66447 main ()
66449 return f != $ac_func;
66451 return 0;
66453 _ACEOF
66454 rm -f conftest.$ac_objext conftest$ac_exeext
66455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66456 (eval $ac_link) 2>conftest.er1
66457 ac_status=$?
66458 grep -v '^ *+' conftest.er1 >conftest.err
66459 rm -f conftest.er1
66460 cat conftest.err >&5
66461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66462 (exit $ac_status); } &&
66463 { ac_try='test -z "$ac_c_werror_flag"
66464 || test ! -s conftest.err'
66465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66466 (eval $ac_try) 2>&5
66467 ac_status=$?
66468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66469 (exit $ac_status); }; } &&
66470 { ac_try='test -s conftest$ac_exeext'
66471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66472 (eval $ac_try) 2>&5
66473 ac_status=$?
66474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66475 (exit $ac_status); }; }; then
66476 eval "$as_ac_var=yes"
66477 else
66478 echo "$as_me: failed program was:" >&5
66479 sed 's/^/| /' conftest.$ac_ext >&5
66481 eval "$as_ac_var=no"
66483 rm -f conftest.err conftest.$ac_objext \
66484 conftest$ac_exeext conftest.$ac_ext
66486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66488 if test `eval echo '${'$as_ac_var'}'` = yes; then
66489 cat >>confdefs.h <<_ACEOF
66490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66491 _ACEOF
66494 done
66504 echo "$as_me:$LINENO: checking for copysign declaration" >&5
66505 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
66506 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
66507 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
66508 echo $ECHO_N "(cached) $ECHO_C" >&6
66509 else
66513 ac_ext=cc
66514 ac_cpp='$CXXCPP $CPPFLAGS'
66515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66519 cat >conftest.$ac_ext <<_ACEOF
66520 /* confdefs.h. */
66521 _ACEOF
66522 cat confdefs.h >>conftest.$ac_ext
66523 cat >>conftest.$ac_ext <<_ACEOF
66524 /* end confdefs.h. */
66525 #include <math.h>
66527 main ()
66529 copysign(0, 0);
66531 return 0;
66533 _ACEOF
66534 rm -f conftest.$ac_objext
66535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66536 (eval $ac_compile) 2>conftest.er1
66537 ac_status=$?
66538 grep -v '^ *+' conftest.er1 >conftest.err
66539 rm -f conftest.er1
66540 cat conftest.err >&5
66541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66542 (exit $ac_status); } &&
66543 { ac_try='test -z "$ac_cxx_werror_flag"
66544 || test ! -s conftest.err'
66545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66546 (eval $ac_try) 2>&5
66547 ac_status=$?
66548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66549 (exit $ac_status); }; } &&
66550 { ac_try='test -s conftest.$ac_objext'
66551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66552 (eval $ac_try) 2>&5
66553 ac_status=$?
66554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66555 (exit $ac_status); }; }; then
66556 glibcxx_cv_func_copysign_use=yes
66557 else
66558 echo "$as_me: failed program was:" >&5
66559 sed 's/^/| /' conftest.$ac_ext >&5
66561 glibcxx_cv_func_copysign_use=no
66563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66564 ac_ext=c
66565 ac_cpp='$CPP $CPPFLAGS'
66566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66574 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
66575 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
66577 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
66579 for ac_func in copysign
66581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66582 echo "$as_me:$LINENO: checking for $ac_func" >&5
66583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66584 if eval "test \"\${$as_ac_var+set}\" = set"; then
66585 echo $ECHO_N "(cached) $ECHO_C" >&6
66586 else
66587 if test x$gcc_no_link = xyes; then
66588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66590 { (exit 1); exit 1; }; }
66592 cat >conftest.$ac_ext <<_ACEOF
66593 /* confdefs.h. */
66594 _ACEOF
66595 cat confdefs.h >>conftest.$ac_ext
66596 cat >>conftest.$ac_ext <<_ACEOF
66597 /* end confdefs.h. */
66598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66600 #define $ac_func innocuous_$ac_func
66602 /* System header to define __stub macros and hopefully few prototypes,
66603 which can conflict with char $ac_func (); below.
66604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66605 <limits.h> exists even on freestanding compilers. */
66607 #ifdef __STDC__
66608 # include <limits.h>
66609 #else
66610 # include <assert.h>
66611 #endif
66613 #undef $ac_func
66615 /* Override any gcc2 internal prototype to avoid an error. */
66616 #ifdef __cplusplus
66617 extern "C"
66619 #endif
66620 /* We use char because int might match the return type of a gcc2
66621 builtin and then its argument prototype would still apply. */
66622 char $ac_func ();
66623 /* The GNU C library defines this for functions which it implements
66624 to always fail with ENOSYS. Some functions are actually named
66625 something starting with __ and the normal name is an alias. */
66626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66627 choke me
66628 #else
66629 char (*f) () = $ac_func;
66630 #endif
66631 #ifdef __cplusplus
66633 #endif
66636 main ()
66638 return f != $ac_func;
66640 return 0;
66642 _ACEOF
66643 rm -f conftest.$ac_objext conftest$ac_exeext
66644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66645 (eval $ac_link) 2>conftest.er1
66646 ac_status=$?
66647 grep -v '^ *+' conftest.er1 >conftest.err
66648 rm -f conftest.er1
66649 cat conftest.err >&5
66650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66651 (exit $ac_status); } &&
66652 { ac_try='test -z "$ac_c_werror_flag"
66653 || test ! -s conftest.err'
66654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66655 (eval $ac_try) 2>&5
66656 ac_status=$?
66657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66658 (exit $ac_status); }; } &&
66659 { ac_try='test -s conftest$ac_exeext'
66660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66661 (eval $ac_try) 2>&5
66662 ac_status=$?
66663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66664 (exit $ac_status); }; }; then
66665 eval "$as_ac_var=yes"
66666 else
66667 echo "$as_me: failed program was:" >&5
66668 sed 's/^/| /' conftest.$ac_ext >&5
66670 eval "$as_ac_var=no"
66672 rm -f conftest.err conftest.$ac_objext \
66673 conftest$ac_exeext conftest.$ac_ext
66675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66677 if test `eval echo '${'$as_ac_var'}'` = yes; then
66678 cat >>confdefs.h <<_ACEOF
66679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66680 _ACEOF
66683 done
66685 else
66687 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
66688 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
66689 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
66690 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
66691 echo $ECHO_N "(cached) $ECHO_C" >&6
66692 else
66696 ac_ext=cc
66697 ac_cpp='$CXXCPP $CPPFLAGS'
66698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66702 cat >conftest.$ac_ext <<_ACEOF
66703 /* confdefs.h. */
66704 _ACEOF
66705 cat confdefs.h >>conftest.$ac_ext
66706 cat >>conftest.$ac_ext <<_ACEOF
66707 /* end confdefs.h. */
66708 #include <math.h>
66710 main ()
66712 _copysign(0, 0);
66714 return 0;
66716 _ACEOF
66717 rm -f conftest.$ac_objext
66718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66719 (eval $ac_compile) 2>conftest.er1
66720 ac_status=$?
66721 grep -v '^ *+' conftest.er1 >conftest.err
66722 rm -f conftest.er1
66723 cat conftest.err >&5
66724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66725 (exit $ac_status); } &&
66726 { ac_try='test -z "$ac_cxx_werror_flag"
66727 || test ! -s conftest.err'
66728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66729 (eval $ac_try) 2>&5
66730 ac_status=$?
66731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66732 (exit $ac_status); }; } &&
66733 { ac_try='test -s conftest.$ac_objext'
66734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66735 (eval $ac_try) 2>&5
66736 ac_status=$?
66737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66738 (exit $ac_status); }; }; then
66739 glibcxx_cv_func__copysign_use=yes
66740 else
66741 echo "$as_me: failed program was:" >&5
66742 sed 's/^/| /' conftest.$ac_ext >&5
66744 glibcxx_cv_func__copysign_use=no
66746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66747 ac_ext=c
66748 ac_cpp='$CPP $CPPFLAGS'
66749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66757 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
66758 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
66760 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
66762 for ac_func in _copysign
66764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66765 echo "$as_me:$LINENO: checking for $ac_func" >&5
66766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66767 if eval "test \"\${$as_ac_var+set}\" = set"; then
66768 echo $ECHO_N "(cached) $ECHO_C" >&6
66769 else
66770 if test x$gcc_no_link = xyes; then
66771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66773 { (exit 1); exit 1; }; }
66775 cat >conftest.$ac_ext <<_ACEOF
66776 /* confdefs.h. */
66777 _ACEOF
66778 cat confdefs.h >>conftest.$ac_ext
66779 cat >>conftest.$ac_ext <<_ACEOF
66780 /* end confdefs.h. */
66781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66783 #define $ac_func innocuous_$ac_func
66785 /* System header to define __stub macros and hopefully few prototypes,
66786 which can conflict with char $ac_func (); below.
66787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66788 <limits.h> exists even on freestanding compilers. */
66790 #ifdef __STDC__
66791 # include <limits.h>
66792 #else
66793 # include <assert.h>
66794 #endif
66796 #undef $ac_func
66798 /* Override any gcc2 internal prototype to avoid an error. */
66799 #ifdef __cplusplus
66800 extern "C"
66802 #endif
66803 /* We use char because int might match the return type of a gcc2
66804 builtin and then its argument prototype would still apply. */
66805 char $ac_func ();
66806 /* The GNU C library defines this for functions which it implements
66807 to always fail with ENOSYS. Some functions are actually named
66808 something starting with __ and the normal name is an alias. */
66809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66810 choke me
66811 #else
66812 char (*f) () = $ac_func;
66813 #endif
66814 #ifdef __cplusplus
66816 #endif
66819 main ()
66821 return f != $ac_func;
66823 return 0;
66825 _ACEOF
66826 rm -f conftest.$ac_objext conftest$ac_exeext
66827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66828 (eval $ac_link) 2>conftest.er1
66829 ac_status=$?
66830 grep -v '^ *+' conftest.er1 >conftest.err
66831 rm -f conftest.er1
66832 cat conftest.err >&5
66833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66834 (exit $ac_status); } &&
66835 { ac_try='test -z "$ac_c_werror_flag"
66836 || test ! -s conftest.err'
66837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66838 (eval $ac_try) 2>&5
66839 ac_status=$?
66840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66841 (exit $ac_status); }; } &&
66842 { ac_try='test -s conftest$ac_exeext'
66843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66844 (eval $ac_try) 2>&5
66845 ac_status=$?
66846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66847 (exit $ac_status); }; }; then
66848 eval "$as_ac_var=yes"
66849 else
66850 echo "$as_me: failed program was:" >&5
66851 sed 's/^/| /' conftest.$ac_ext >&5
66853 eval "$as_ac_var=no"
66855 rm -f conftest.err conftest.$ac_objext \
66856 conftest$ac_exeext conftest.$ac_ext
66858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66860 if test `eval echo '${'$as_ac_var'}'` = yes; then
66861 cat >>confdefs.h <<_ACEOF
66862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66863 _ACEOF
66866 done
66876 echo "$as_me:$LINENO: checking for sincos declaration" >&5
66877 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
66878 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
66879 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
66880 echo $ECHO_N "(cached) $ECHO_C" >&6
66881 else
66885 ac_ext=cc
66886 ac_cpp='$CXXCPP $CPPFLAGS'
66887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66891 cat >conftest.$ac_ext <<_ACEOF
66892 /* confdefs.h. */
66893 _ACEOF
66894 cat confdefs.h >>conftest.$ac_ext
66895 cat >>conftest.$ac_ext <<_ACEOF
66896 /* end confdefs.h. */
66897 #include <math.h>
66899 main ()
66901 sincos(0, 0, 0);
66903 return 0;
66905 _ACEOF
66906 rm -f conftest.$ac_objext
66907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66908 (eval $ac_compile) 2>conftest.er1
66909 ac_status=$?
66910 grep -v '^ *+' conftest.er1 >conftest.err
66911 rm -f conftest.er1
66912 cat conftest.err >&5
66913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66914 (exit $ac_status); } &&
66915 { ac_try='test -z "$ac_cxx_werror_flag"
66916 || test ! -s conftest.err'
66917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66918 (eval $ac_try) 2>&5
66919 ac_status=$?
66920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66921 (exit $ac_status); }; } &&
66922 { ac_try='test -s conftest.$ac_objext'
66923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66924 (eval $ac_try) 2>&5
66925 ac_status=$?
66926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66927 (exit $ac_status); }; }; then
66928 glibcxx_cv_func_sincos_use=yes
66929 else
66930 echo "$as_me: failed program was:" >&5
66931 sed 's/^/| /' conftest.$ac_ext >&5
66933 glibcxx_cv_func_sincos_use=no
66935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66936 ac_ext=c
66937 ac_cpp='$CPP $CPPFLAGS'
66938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66946 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
66947 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
66949 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66951 for ac_func in sincos
66953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66954 echo "$as_me:$LINENO: checking for $ac_func" >&5
66955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66956 if eval "test \"\${$as_ac_var+set}\" = set"; then
66957 echo $ECHO_N "(cached) $ECHO_C" >&6
66958 else
66959 if test x$gcc_no_link = xyes; then
66960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66962 { (exit 1); exit 1; }; }
66964 cat >conftest.$ac_ext <<_ACEOF
66965 /* confdefs.h. */
66966 _ACEOF
66967 cat confdefs.h >>conftest.$ac_ext
66968 cat >>conftest.$ac_ext <<_ACEOF
66969 /* end confdefs.h. */
66970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66972 #define $ac_func innocuous_$ac_func
66974 /* System header to define __stub macros and hopefully few prototypes,
66975 which can conflict with char $ac_func (); below.
66976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66977 <limits.h> exists even on freestanding compilers. */
66979 #ifdef __STDC__
66980 # include <limits.h>
66981 #else
66982 # include <assert.h>
66983 #endif
66985 #undef $ac_func
66987 /* Override any gcc2 internal prototype to avoid an error. */
66988 #ifdef __cplusplus
66989 extern "C"
66991 #endif
66992 /* We use char because int might match the return type of a gcc2
66993 builtin and then its argument prototype would still apply. */
66994 char $ac_func ();
66995 /* The GNU C library defines this for functions which it implements
66996 to always fail with ENOSYS. Some functions are actually named
66997 something starting with __ and the normal name is an alias. */
66998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66999 choke me
67000 #else
67001 char (*f) () = $ac_func;
67002 #endif
67003 #ifdef __cplusplus
67005 #endif
67008 main ()
67010 return f != $ac_func;
67012 return 0;
67014 _ACEOF
67015 rm -f conftest.$ac_objext conftest$ac_exeext
67016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67017 (eval $ac_link) 2>conftest.er1
67018 ac_status=$?
67019 grep -v '^ *+' conftest.er1 >conftest.err
67020 rm -f conftest.er1
67021 cat conftest.err >&5
67022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67023 (exit $ac_status); } &&
67024 { ac_try='test -z "$ac_c_werror_flag"
67025 || test ! -s conftest.err'
67026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67027 (eval $ac_try) 2>&5
67028 ac_status=$?
67029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67030 (exit $ac_status); }; } &&
67031 { ac_try='test -s conftest$ac_exeext'
67032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67033 (eval $ac_try) 2>&5
67034 ac_status=$?
67035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67036 (exit $ac_status); }; }; then
67037 eval "$as_ac_var=yes"
67038 else
67039 echo "$as_me: failed program was:" >&5
67040 sed 's/^/| /' conftest.$ac_ext >&5
67042 eval "$as_ac_var=no"
67044 rm -f conftest.err conftest.$ac_objext \
67045 conftest$ac_exeext conftest.$ac_ext
67047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67049 if test `eval echo '${'$as_ac_var'}'` = yes; then
67050 cat >>confdefs.h <<_ACEOF
67051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67052 _ACEOF
67055 done
67057 else
67059 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
67060 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
67061 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67062 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
67063 echo $ECHO_N "(cached) $ECHO_C" >&6
67064 else
67068 ac_ext=cc
67069 ac_cpp='$CXXCPP $CPPFLAGS'
67070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67074 cat >conftest.$ac_ext <<_ACEOF
67075 /* confdefs.h. */
67076 _ACEOF
67077 cat confdefs.h >>conftest.$ac_ext
67078 cat >>conftest.$ac_ext <<_ACEOF
67079 /* end confdefs.h. */
67080 #include <math.h>
67082 main ()
67084 _sincos(0, 0, 0);
67086 return 0;
67088 _ACEOF
67089 rm -f conftest.$ac_objext
67090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67091 (eval $ac_compile) 2>conftest.er1
67092 ac_status=$?
67093 grep -v '^ *+' conftest.er1 >conftest.err
67094 rm -f conftest.er1
67095 cat conftest.err >&5
67096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67097 (exit $ac_status); } &&
67098 { ac_try='test -z "$ac_cxx_werror_flag"
67099 || test ! -s conftest.err'
67100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67101 (eval $ac_try) 2>&5
67102 ac_status=$?
67103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67104 (exit $ac_status); }; } &&
67105 { ac_try='test -s conftest.$ac_objext'
67106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67107 (eval $ac_try) 2>&5
67108 ac_status=$?
67109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67110 (exit $ac_status); }; }; then
67111 glibcxx_cv_func__sincos_use=yes
67112 else
67113 echo "$as_me: failed program was:" >&5
67114 sed 's/^/| /' conftest.$ac_ext >&5
67116 glibcxx_cv_func__sincos_use=no
67118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67119 ac_ext=c
67120 ac_cpp='$CPP $CPPFLAGS'
67121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67129 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
67130 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
67132 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67134 for ac_func in _sincos
67136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67137 echo "$as_me:$LINENO: checking for $ac_func" >&5
67138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67139 if eval "test \"\${$as_ac_var+set}\" = set"; then
67140 echo $ECHO_N "(cached) $ECHO_C" >&6
67141 else
67142 if test x$gcc_no_link = xyes; then
67143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67145 { (exit 1); exit 1; }; }
67147 cat >conftest.$ac_ext <<_ACEOF
67148 /* confdefs.h. */
67149 _ACEOF
67150 cat confdefs.h >>conftest.$ac_ext
67151 cat >>conftest.$ac_ext <<_ACEOF
67152 /* end confdefs.h. */
67153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67155 #define $ac_func innocuous_$ac_func
67157 /* System header to define __stub macros and hopefully few prototypes,
67158 which can conflict with char $ac_func (); below.
67159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67160 <limits.h> exists even on freestanding compilers. */
67162 #ifdef __STDC__
67163 # include <limits.h>
67164 #else
67165 # include <assert.h>
67166 #endif
67168 #undef $ac_func
67170 /* Override any gcc2 internal prototype to avoid an error. */
67171 #ifdef __cplusplus
67172 extern "C"
67174 #endif
67175 /* We use char because int might match the return type of a gcc2
67176 builtin and then its argument prototype would still apply. */
67177 char $ac_func ();
67178 /* The GNU C library defines this for functions which it implements
67179 to always fail with ENOSYS. Some functions are actually named
67180 something starting with __ and the normal name is an alias. */
67181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67182 choke me
67183 #else
67184 char (*f) () = $ac_func;
67185 #endif
67186 #ifdef __cplusplus
67188 #endif
67191 main ()
67193 return f != $ac_func;
67195 return 0;
67197 _ACEOF
67198 rm -f conftest.$ac_objext conftest$ac_exeext
67199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67200 (eval $ac_link) 2>conftest.er1
67201 ac_status=$?
67202 grep -v '^ *+' conftest.er1 >conftest.err
67203 rm -f conftest.er1
67204 cat conftest.err >&5
67205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67206 (exit $ac_status); } &&
67207 { ac_try='test -z "$ac_c_werror_flag"
67208 || test ! -s conftest.err'
67209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67210 (eval $ac_try) 2>&5
67211 ac_status=$?
67212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67213 (exit $ac_status); }; } &&
67214 { ac_try='test -s conftest$ac_exeext'
67215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67216 (eval $ac_try) 2>&5
67217 ac_status=$?
67218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67219 (exit $ac_status); }; }; then
67220 eval "$as_ac_var=yes"
67221 else
67222 echo "$as_me: failed program was:" >&5
67223 sed 's/^/| /' conftest.$ac_ext >&5
67225 eval "$as_ac_var=no"
67227 rm -f conftest.err conftest.$ac_objext \
67228 conftest$ac_exeext conftest.$ac_ext
67230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67232 if test `eval echo '${'$as_ac_var'}'` = yes; then
67233 cat >>confdefs.h <<_ACEOF
67234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67235 _ACEOF
67238 done
67248 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
67249 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
67250 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67251 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
67252 echo $ECHO_N "(cached) $ECHO_C" >&6
67253 else
67257 ac_ext=cc
67258 ac_cpp='$CXXCPP $CPPFLAGS'
67259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67263 cat >conftest.$ac_ext <<_ACEOF
67264 /* confdefs.h. */
67265 _ACEOF
67266 cat confdefs.h >>conftest.$ac_ext
67267 cat >>conftest.$ac_ext <<_ACEOF
67268 /* end confdefs.h. */
67269 #include <math.h>
67270 #ifdef HAVE_IEEEFP_H
67271 #include <ieeefp.h>
67272 #endif
67275 main ()
67277 fpclass(0);
67279 return 0;
67281 _ACEOF
67282 rm -f conftest.$ac_objext
67283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67284 (eval $ac_compile) 2>conftest.er1
67285 ac_status=$?
67286 grep -v '^ *+' conftest.er1 >conftest.err
67287 rm -f conftest.er1
67288 cat conftest.err >&5
67289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67290 (exit $ac_status); } &&
67291 { ac_try='test -z "$ac_cxx_werror_flag"
67292 || test ! -s conftest.err'
67293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67294 (eval $ac_try) 2>&5
67295 ac_status=$?
67296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67297 (exit $ac_status); }; } &&
67298 { ac_try='test -s conftest.$ac_objext'
67299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67300 (eval $ac_try) 2>&5
67301 ac_status=$?
67302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67303 (exit $ac_status); }; }; then
67304 glibcxx_cv_func_fpclass_use=yes
67305 else
67306 echo "$as_me: failed program was:" >&5
67307 sed 's/^/| /' conftest.$ac_ext >&5
67309 glibcxx_cv_func_fpclass_use=no
67311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67312 ac_ext=c
67313 ac_cpp='$CPP $CPPFLAGS'
67314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67322 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
67323 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
67325 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67327 for ac_func in fpclass
67329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67330 echo "$as_me:$LINENO: checking for $ac_func" >&5
67331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67332 if eval "test \"\${$as_ac_var+set}\" = set"; then
67333 echo $ECHO_N "(cached) $ECHO_C" >&6
67334 else
67335 if test x$gcc_no_link = xyes; then
67336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67338 { (exit 1); exit 1; }; }
67340 cat >conftest.$ac_ext <<_ACEOF
67341 /* confdefs.h. */
67342 _ACEOF
67343 cat confdefs.h >>conftest.$ac_ext
67344 cat >>conftest.$ac_ext <<_ACEOF
67345 /* end confdefs.h. */
67346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67348 #define $ac_func innocuous_$ac_func
67350 /* System header to define __stub macros and hopefully few prototypes,
67351 which can conflict with char $ac_func (); below.
67352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67353 <limits.h> exists even on freestanding compilers. */
67355 #ifdef __STDC__
67356 # include <limits.h>
67357 #else
67358 # include <assert.h>
67359 #endif
67361 #undef $ac_func
67363 /* Override any gcc2 internal prototype to avoid an error. */
67364 #ifdef __cplusplus
67365 extern "C"
67367 #endif
67368 /* We use char because int might match the return type of a gcc2
67369 builtin and then its argument prototype would still apply. */
67370 char $ac_func ();
67371 /* The GNU C library defines this for functions which it implements
67372 to always fail with ENOSYS. Some functions are actually named
67373 something starting with __ and the normal name is an alias. */
67374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67375 choke me
67376 #else
67377 char (*f) () = $ac_func;
67378 #endif
67379 #ifdef __cplusplus
67381 #endif
67384 main ()
67386 return f != $ac_func;
67388 return 0;
67390 _ACEOF
67391 rm -f conftest.$ac_objext conftest$ac_exeext
67392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67393 (eval $ac_link) 2>conftest.er1
67394 ac_status=$?
67395 grep -v '^ *+' conftest.er1 >conftest.err
67396 rm -f conftest.er1
67397 cat conftest.err >&5
67398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67399 (exit $ac_status); } &&
67400 { ac_try='test -z "$ac_c_werror_flag"
67401 || test ! -s conftest.err'
67402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67403 (eval $ac_try) 2>&5
67404 ac_status=$?
67405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67406 (exit $ac_status); }; } &&
67407 { ac_try='test -s conftest$ac_exeext'
67408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67409 (eval $ac_try) 2>&5
67410 ac_status=$?
67411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67412 (exit $ac_status); }; }; then
67413 eval "$as_ac_var=yes"
67414 else
67415 echo "$as_me: failed program was:" >&5
67416 sed 's/^/| /' conftest.$ac_ext >&5
67418 eval "$as_ac_var=no"
67420 rm -f conftest.err conftest.$ac_objext \
67421 conftest$ac_exeext conftest.$ac_ext
67423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67425 if test `eval echo '${'$as_ac_var'}'` = yes; then
67426 cat >>confdefs.h <<_ACEOF
67427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67428 _ACEOF
67431 done
67433 else
67435 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
67436 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
67437 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67438 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
67439 echo $ECHO_N "(cached) $ECHO_C" >&6
67440 else
67444 ac_ext=cc
67445 ac_cpp='$CXXCPP $CPPFLAGS'
67446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67450 cat >conftest.$ac_ext <<_ACEOF
67451 /* confdefs.h. */
67452 _ACEOF
67453 cat confdefs.h >>conftest.$ac_ext
67454 cat >>conftest.$ac_ext <<_ACEOF
67455 /* end confdefs.h. */
67456 #include <math.h>
67457 #ifdef HAVE_IEEEFP_H
67458 #include <ieeefp.h>
67459 #endif
67462 main ()
67464 _fpclass(0);
67466 return 0;
67468 _ACEOF
67469 rm -f conftest.$ac_objext
67470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67471 (eval $ac_compile) 2>conftest.er1
67472 ac_status=$?
67473 grep -v '^ *+' conftest.er1 >conftest.err
67474 rm -f conftest.er1
67475 cat conftest.err >&5
67476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67477 (exit $ac_status); } &&
67478 { ac_try='test -z "$ac_cxx_werror_flag"
67479 || test ! -s conftest.err'
67480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67481 (eval $ac_try) 2>&5
67482 ac_status=$?
67483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67484 (exit $ac_status); }; } &&
67485 { ac_try='test -s conftest.$ac_objext'
67486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67487 (eval $ac_try) 2>&5
67488 ac_status=$?
67489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67490 (exit $ac_status); }; }; then
67491 glibcxx_cv_func__fpclass_use=yes
67492 else
67493 echo "$as_me: failed program was:" >&5
67494 sed 's/^/| /' conftest.$ac_ext >&5
67496 glibcxx_cv_func__fpclass_use=no
67498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67499 ac_ext=c
67500 ac_cpp='$CPP $CPPFLAGS'
67501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67509 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
67510 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
67512 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67514 for ac_func in _fpclass
67516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67517 echo "$as_me:$LINENO: checking for $ac_func" >&5
67518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67519 if eval "test \"\${$as_ac_var+set}\" = set"; then
67520 echo $ECHO_N "(cached) $ECHO_C" >&6
67521 else
67522 if test x$gcc_no_link = xyes; then
67523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67525 { (exit 1); exit 1; }; }
67527 cat >conftest.$ac_ext <<_ACEOF
67528 /* confdefs.h. */
67529 _ACEOF
67530 cat confdefs.h >>conftest.$ac_ext
67531 cat >>conftest.$ac_ext <<_ACEOF
67532 /* end confdefs.h. */
67533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67535 #define $ac_func innocuous_$ac_func
67537 /* System header to define __stub macros and hopefully few prototypes,
67538 which can conflict with char $ac_func (); below.
67539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67540 <limits.h> exists even on freestanding compilers. */
67542 #ifdef __STDC__
67543 # include <limits.h>
67544 #else
67545 # include <assert.h>
67546 #endif
67548 #undef $ac_func
67550 /* Override any gcc2 internal prototype to avoid an error. */
67551 #ifdef __cplusplus
67552 extern "C"
67554 #endif
67555 /* We use char because int might match the return type of a gcc2
67556 builtin and then its argument prototype would still apply. */
67557 char $ac_func ();
67558 /* The GNU C library defines this for functions which it implements
67559 to always fail with ENOSYS. Some functions are actually named
67560 something starting with __ and the normal name is an alias. */
67561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67562 choke me
67563 #else
67564 char (*f) () = $ac_func;
67565 #endif
67566 #ifdef __cplusplus
67568 #endif
67571 main ()
67573 return f != $ac_func;
67575 return 0;
67577 _ACEOF
67578 rm -f conftest.$ac_objext conftest$ac_exeext
67579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67580 (eval $ac_link) 2>conftest.er1
67581 ac_status=$?
67582 grep -v '^ *+' conftest.er1 >conftest.err
67583 rm -f conftest.er1
67584 cat conftest.err >&5
67585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67586 (exit $ac_status); } &&
67587 { ac_try='test -z "$ac_c_werror_flag"
67588 || test ! -s conftest.err'
67589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67590 (eval $ac_try) 2>&5
67591 ac_status=$?
67592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67593 (exit $ac_status); }; } &&
67594 { ac_try='test -s conftest$ac_exeext'
67595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67596 (eval $ac_try) 2>&5
67597 ac_status=$?
67598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67599 (exit $ac_status); }; }; then
67600 eval "$as_ac_var=yes"
67601 else
67602 echo "$as_me: failed program was:" >&5
67603 sed 's/^/| /' conftest.$ac_ext >&5
67605 eval "$as_ac_var=no"
67607 rm -f conftest.err conftest.$ac_objext \
67608 conftest$ac_exeext conftest.$ac_ext
67610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67612 if test `eval echo '${'$as_ac_var'}'` = yes; then
67613 cat >>confdefs.h <<_ACEOF
67614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67615 _ACEOF
67618 done
67628 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
67629 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
67630 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67631 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
67632 echo $ECHO_N "(cached) $ECHO_C" >&6
67633 else
67637 ac_ext=cc
67638 ac_cpp='$CXXCPP $CPPFLAGS'
67639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67643 cat >conftest.$ac_ext <<_ACEOF
67644 /* confdefs.h. */
67645 _ACEOF
67646 cat confdefs.h >>conftest.$ac_ext
67647 cat >>conftest.$ac_ext <<_ACEOF
67648 /* end confdefs.h. */
67649 #include <math.h>
67650 #ifdef HAVE_IEEEFP_H
67651 #include <ieeefp.h>
67652 #endif
67655 main ()
67657 qfpclass(0);
67659 return 0;
67661 _ACEOF
67662 rm -f conftest.$ac_objext
67663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67664 (eval $ac_compile) 2>conftest.er1
67665 ac_status=$?
67666 grep -v '^ *+' conftest.er1 >conftest.err
67667 rm -f conftest.er1
67668 cat conftest.err >&5
67669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67670 (exit $ac_status); } &&
67671 { ac_try='test -z "$ac_cxx_werror_flag"
67672 || test ! -s conftest.err'
67673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67674 (eval $ac_try) 2>&5
67675 ac_status=$?
67676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67677 (exit $ac_status); }; } &&
67678 { ac_try='test -s conftest.$ac_objext'
67679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67680 (eval $ac_try) 2>&5
67681 ac_status=$?
67682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67683 (exit $ac_status); }; }; then
67684 glibcxx_cv_func_qfpclass_use=yes
67685 else
67686 echo "$as_me: failed program was:" >&5
67687 sed 's/^/| /' conftest.$ac_ext >&5
67689 glibcxx_cv_func_qfpclass_use=no
67691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67692 ac_ext=c
67693 ac_cpp='$CPP $CPPFLAGS'
67694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67702 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
67703 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
67705 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67707 for ac_func in qfpclass
67709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67710 echo "$as_me:$LINENO: checking for $ac_func" >&5
67711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67712 if eval "test \"\${$as_ac_var+set}\" = set"; then
67713 echo $ECHO_N "(cached) $ECHO_C" >&6
67714 else
67715 if test x$gcc_no_link = xyes; then
67716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67718 { (exit 1); exit 1; }; }
67720 cat >conftest.$ac_ext <<_ACEOF
67721 /* confdefs.h. */
67722 _ACEOF
67723 cat confdefs.h >>conftest.$ac_ext
67724 cat >>conftest.$ac_ext <<_ACEOF
67725 /* end confdefs.h. */
67726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67728 #define $ac_func innocuous_$ac_func
67730 /* System header to define __stub macros and hopefully few prototypes,
67731 which can conflict with char $ac_func (); below.
67732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67733 <limits.h> exists even on freestanding compilers. */
67735 #ifdef __STDC__
67736 # include <limits.h>
67737 #else
67738 # include <assert.h>
67739 #endif
67741 #undef $ac_func
67743 /* Override any gcc2 internal prototype to avoid an error. */
67744 #ifdef __cplusplus
67745 extern "C"
67747 #endif
67748 /* We use char because int might match the return type of a gcc2
67749 builtin and then its argument prototype would still apply. */
67750 char $ac_func ();
67751 /* The GNU C library defines this for functions which it implements
67752 to always fail with ENOSYS. Some functions are actually named
67753 something starting with __ and the normal name is an alias. */
67754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67755 choke me
67756 #else
67757 char (*f) () = $ac_func;
67758 #endif
67759 #ifdef __cplusplus
67761 #endif
67764 main ()
67766 return f != $ac_func;
67768 return 0;
67770 _ACEOF
67771 rm -f conftest.$ac_objext conftest$ac_exeext
67772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67773 (eval $ac_link) 2>conftest.er1
67774 ac_status=$?
67775 grep -v '^ *+' conftest.er1 >conftest.err
67776 rm -f conftest.er1
67777 cat conftest.err >&5
67778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67779 (exit $ac_status); } &&
67780 { ac_try='test -z "$ac_c_werror_flag"
67781 || test ! -s conftest.err'
67782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67783 (eval $ac_try) 2>&5
67784 ac_status=$?
67785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67786 (exit $ac_status); }; } &&
67787 { ac_try='test -s conftest$ac_exeext'
67788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67789 (eval $ac_try) 2>&5
67790 ac_status=$?
67791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67792 (exit $ac_status); }; }; then
67793 eval "$as_ac_var=yes"
67794 else
67795 echo "$as_me: failed program was:" >&5
67796 sed 's/^/| /' conftest.$ac_ext >&5
67798 eval "$as_ac_var=no"
67800 rm -f conftest.err conftest.$ac_objext \
67801 conftest$ac_exeext conftest.$ac_ext
67803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67805 if test `eval echo '${'$as_ac_var'}'` = yes; then
67806 cat >>confdefs.h <<_ACEOF
67807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67808 _ACEOF
67811 done
67813 else
67815 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
67816 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
67817 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67818 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
67819 echo $ECHO_N "(cached) $ECHO_C" >&6
67820 else
67824 ac_ext=cc
67825 ac_cpp='$CXXCPP $CPPFLAGS'
67826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67830 cat >conftest.$ac_ext <<_ACEOF
67831 /* confdefs.h. */
67832 _ACEOF
67833 cat confdefs.h >>conftest.$ac_ext
67834 cat >>conftest.$ac_ext <<_ACEOF
67835 /* end confdefs.h. */
67836 #include <math.h>
67837 #ifdef HAVE_IEEEFP_H
67838 #include <ieeefp.h>
67839 #endif
67842 main ()
67844 _qfpclass(0);
67846 return 0;
67848 _ACEOF
67849 rm -f conftest.$ac_objext
67850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67851 (eval $ac_compile) 2>conftest.er1
67852 ac_status=$?
67853 grep -v '^ *+' conftest.er1 >conftest.err
67854 rm -f conftest.er1
67855 cat conftest.err >&5
67856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67857 (exit $ac_status); } &&
67858 { ac_try='test -z "$ac_cxx_werror_flag"
67859 || test ! -s conftest.err'
67860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67861 (eval $ac_try) 2>&5
67862 ac_status=$?
67863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67864 (exit $ac_status); }; } &&
67865 { ac_try='test -s conftest.$ac_objext'
67866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67867 (eval $ac_try) 2>&5
67868 ac_status=$?
67869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67870 (exit $ac_status); }; }; then
67871 glibcxx_cv_func__qfpclass_use=yes
67872 else
67873 echo "$as_me: failed program was:" >&5
67874 sed 's/^/| /' conftest.$ac_ext >&5
67876 glibcxx_cv_func__qfpclass_use=no
67878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67879 ac_ext=c
67880 ac_cpp='$CPP $CPPFLAGS'
67881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67889 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
67890 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
67892 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67894 for ac_func in _qfpclass
67896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67897 echo "$as_me:$LINENO: checking for $ac_func" >&5
67898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67899 if eval "test \"\${$as_ac_var+set}\" = set"; then
67900 echo $ECHO_N "(cached) $ECHO_C" >&6
67901 else
67902 if test x$gcc_no_link = xyes; then
67903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67905 { (exit 1); exit 1; }; }
67907 cat >conftest.$ac_ext <<_ACEOF
67908 /* confdefs.h. */
67909 _ACEOF
67910 cat confdefs.h >>conftest.$ac_ext
67911 cat >>conftest.$ac_ext <<_ACEOF
67912 /* end confdefs.h. */
67913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67915 #define $ac_func innocuous_$ac_func
67917 /* System header to define __stub macros and hopefully few prototypes,
67918 which can conflict with char $ac_func (); below.
67919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67920 <limits.h> exists even on freestanding compilers. */
67922 #ifdef __STDC__
67923 # include <limits.h>
67924 #else
67925 # include <assert.h>
67926 #endif
67928 #undef $ac_func
67930 /* Override any gcc2 internal prototype to avoid an error. */
67931 #ifdef __cplusplus
67932 extern "C"
67934 #endif
67935 /* We use char because int might match the return type of a gcc2
67936 builtin and then its argument prototype would still apply. */
67937 char $ac_func ();
67938 /* The GNU C library defines this for functions which it implements
67939 to always fail with ENOSYS. Some functions are actually named
67940 something starting with __ and the normal name is an alias. */
67941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67942 choke me
67943 #else
67944 char (*f) () = $ac_func;
67945 #endif
67946 #ifdef __cplusplus
67948 #endif
67951 main ()
67953 return f != $ac_func;
67955 return 0;
67957 _ACEOF
67958 rm -f conftest.$ac_objext conftest$ac_exeext
67959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67960 (eval $ac_link) 2>conftest.er1
67961 ac_status=$?
67962 grep -v '^ *+' conftest.er1 >conftest.err
67963 rm -f conftest.er1
67964 cat conftest.err >&5
67965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67966 (exit $ac_status); } &&
67967 { ac_try='test -z "$ac_c_werror_flag"
67968 || test ! -s conftest.err'
67969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67970 (eval $ac_try) 2>&5
67971 ac_status=$?
67972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67973 (exit $ac_status); }; } &&
67974 { ac_try='test -s conftest$ac_exeext'
67975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67976 (eval $ac_try) 2>&5
67977 ac_status=$?
67978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67979 (exit $ac_status); }; }; then
67980 eval "$as_ac_var=yes"
67981 else
67982 echo "$as_me: failed program was:" >&5
67983 sed 's/^/| /' conftest.$ac_ext >&5
67985 eval "$as_ac_var=no"
67987 rm -f conftest.err conftest.$ac_objext \
67988 conftest$ac_exeext conftest.$ac_ext
67990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67992 if test `eval echo '${'$as_ac_var'}'` = yes; then
67993 cat >>confdefs.h <<_ACEOF
67994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67995 _ACEOF
67998 done
68008 echo "$as_me:$LINENO: checking for hypot declaration" >&5
68009 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
68010 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
68011 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
68012 echo $ECHO_N "(cached) $ECHO_C" >&6
68013 else
68017 ac_ext=cc
68018 ac_cpp='$CXXCPP $CPPFLAGS'
68019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68023 cat >conftest.$ac_ext <<_ACEOF
68024 /* confdefs.h. */
68025 _ACEOF
68026 cat confdefs.h >>conftest.$ac_ext
68027 cat >>conftest.$ac_ext <<_ACEOF
68028 /* end confdefs.h. */
68029 #include <math.h>
68031 main ()
68033 hypot(0, 0);
68035 return 0;
68037 _ACEOF
68038 rm -f conftest.$ac_objext
68039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68040 (eval $ac_compile) 2>conftest.er1
68041 ac_status=$?
68042 grep -v '^ *+' conftest.er1 >conftest.err
68043 rm -f conftest.er1
68044 cat conftest.err >&5
68045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68046 (exit $ac_status); } &&
68047 { ac_try='test -z "$ac_cxx_werror_flag"
68048 || test ! -s conftest.err'
68049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68050 (eval $ac_try) 2>&5
68051 ac_status=$?
68052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68053 (exit $ac_status); }; } &&
68054 { ac_try='test -s conftest.$ac_objext'
68055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68056 (eval $ac_try) 2>&5
68057 ac_status=$?
68058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68059 (exit $ac_status); }; }; then
68060 glibcxx_cv_func_hypot_use=yes
68061 else
68062 echo "$as_me: failed program was:" >&5
68063 sed 's/^/| /' conftest.$ac_ext >&5
68065 glibcxx_cv_func_hypot_use=no
68067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68068 ac_ext=c
68069 ac_cpp='$CPP $CPPFLAGS'
68070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68078 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
68079 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
68081 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
68083 for ac_func in hypot
68085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68086 echo "$as_me:$LINENO: checking for $ac_func" >&5
68087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68088 if eval "test \"\${$as_ac_var+set}\" = set"; then
68089 echo $ECHO_N "(cached) $ECHO_C" >&6
68090 else
68091 if test x$gcc_no_link = xyes; then
68092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68094 { (exit 1); exit 1; }; }
68096 cat >conftest.$ac_ext <<_ACEOF
68097 /* confdefs.h. */
68098 _ACEOF
68099 cat confdefs.h >>conftest.$ac_ext
68100 cat >>conftest.$ac_ext <<_ACEOF
68101 /* end confdefs.h. */
68102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68104 #define $ac_func innocuous_$ac_func
68106 /* System header to define __stub macros and hopefully few prototypes,
68107 which can conflict with char $ac_func (); below.
68108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68109 <limits.h> exists even on freestanding compilers. */
68111 #ifdef __STDC__
68112 # include <limits.h>
68113 #else
68114 # include <assert.h>
68115 #endif
68117 #undef $ac_func
68119 /* Override any gcc2 internal prototype to avoid an error. */
68120 #ifdef __cplusplus
68121 extern "C"
68123 #endif
68124 /* We use char because int might match the return type of a gcc2
68125 builtin and then its argument prototype would still apply. */
68126 char $ac_func ();
68127 /* The GNU C library defines this for functions which it implements
68128 to always fail with ENOSYS. Some functions are actually named
68129 something starting with __ and the normal name is an alias. */
68130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68131 choke me
68132 #else
68133 char (*f) () = $ac_func;
68134 #endif
68135 #ifdef __cplusplus
68137 #endif
68140 main ()
68142 return f != $ac_func;
68144 return 0;
68146 _ACEOF
68147 rm -f conftest.$ac_objext conftest$ac_exeext
68148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68149 (eval $ac_link) 2>conftest.er1
68150 ac_status=$?
68151 grep -v '^ *+' conftest.er1 >conftest.err
68152 rm -f conftest.er1
68153 cat conftest.err >&5
68154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68155 (exit $ac_status); } &&
68156 { ac_try='test -z "$ac_c_werror_flag"
68157 || test ! -s conftest.err'
68158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68159 (eval $ac_try) 2>&5
68160 ac_status=$?
68161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68162 (exit $ac_status); }; } &&
68163 { ac_try='test -s conftest$ac_exeext'
68164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68165 (eval $ac_try) 2>&5
68166 ac_status=$?
68167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68168 (exit $ac_status); }; }; then
68169 eval "$as_ac_var=yes"
68170 else
68171 echo "$as_me: failed program was:" >&5
68172 sed 's/^/| /' conftest.$ac_ext >&5
68174 eval "$as_ac_var=no"
68176 rm -f conftest.err conftest.$ac_objext \
68177 conftest$ac_exeext conftest.$ac_ext
68179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68181 if test `eval echo '${'$as_ac_var'}'` = yes; then
68182 cat >>confdefs.h <<_ACEOF
68183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68184 _ACEOF
68187 done
68189 else
68191 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
68192 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
68193 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
68194 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
68195 echo $ECHO_N "(cached) $ECHO_C" >&6
68196 else
68200 ac_ext=cc
68201 ac_cpp='$CXXCPP $CPPFLAGS'
68202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68206 cat >conftest.$ac_ext <<_ACEOF
68207 /* confdefs.h. */
68208 _ACEOF
68209 cat confdefs.h >>conftest.$ac_ext
68210 cat >>conftest.$ac_ext <<_ACEOF
68211 /* end confdefs.h. */
68212 #include <math.h>
68214 main ()
68216 _hypot(0, 0);
68218 return 0;
68220 _ACEOF
68221 rm -f conftest.$ac_objext
68222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68223 (eval $ac_compile) 2>conftest.er1
68224 ac_status=$?
68225 grep -v '^ *+' conftest.er1 >conftest.err
68226 rm -f conftest.er1
68227 cat conftest.err >&5
68228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68229 (exit $ac_status); } &&
68230 { ac_try='test -z "$ac_cxx_werror_flag"
68231 || test ! -s conftest.err'
68232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68233 (eval $ac_try) 2>&5
68234 ac_status=$?
68235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68236 (exit $ac_status); }; } &&
68237 { ac_try='test -s conftest.$ac_objext'
68238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68239 (eval $ac_try) 2>&5
68240 ac_status=$?
68241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68242 (exit $ac_status); }; }; then
68243 glibcxx_cv_func__hypot_use=yes
68244 else
68245 echo "$as_me: failed program was:" >&5
68246 sed 's/^/| /' conftest.$ac_ext >&5
68248 glibcxx_cv_func__hypot_use=no
68250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68251 ac_ext=c
68252 ac_cpp='$CPP $CPPFLAGS'
68253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68261 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
68262 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
68264 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
68266 for ac_func in _hypot
68268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68269 echo "$as_me:$LINENO: checking for $ac_func" >&5
68270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68271 if eval "test \"\${$as_ac_var+set}\" = set"; then
68272 echo $ECHO_N "(cached) $ECHO_C" >&6
68273 else
68274 if test x$gcc_no_link = xyes; then
68275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68277 { (exit 1); exit 1; }; }
68279 cat >conftest.$ac_ext <<_ACEOF
68280 /* confdefs.h. */
68281 _ACEOF
68282 cat confdefs.h >>conftest.$ac_ext
68283 cat >>conftest.$ac_ext <<_ACEOF
68284 /* end confdefs.h. */
68285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68287 #define $ac_func innocuous_$ac_func
68289 /* System header to define __stub macros and hopefully few prototypes,
68290 which can conflict with char $ac_func (); below.
68291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68292 <limits.h> exists even on freestanding compilers. */
68294 #ifdef __STDC__
68295 # include <limits.h>
68296 #else
68297 # include <assert.h>
68298 #endif
68300 #undef $ac_func
68302 /* Override any gcc2 internal prototype to avoid an error. */
68303 #ifdef __cplusplus
68304 extern "C"
68306 #endif
68307 /* We use char because int might match the return type of a gcc2
68308 builtin and then its argument prototype would still apply. */
68309 char $ac_func ();
68310 /* The GNU C library defines this for functions which it implements
68311 to always fail with ENOSYS. Some functions are actually named
68312 something starting with __ and the normal name is an alias. */
68313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68314 choke me
68315 #else
68316 char (*f) () = $ac_func;
68317 #endif
68318 #ifdef __cplusplus
68320 #endif
68323 main ()
68325 return f != $ac_func;
68327 return 0;
68329 _ACEOF
68330 rm -f conftest.$ac_objext conftest$ac_exeext
68331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68332 (eval $ac_link) 2>conftest.er1
68333 ac_status=$?
68334 grep -v '^ *+' conftest.er1 >conftest.err
68335 rm -f conftest.er1
68336 cat conftest.err >&5
68337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68338 (exit $ac_status); } &&
68339 { ac_try='test -z "$ac_c_werror_flag"
68340 || test ! -s conftest.err'
68341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68342 (eval $ac_try) 2>&5
68343 ac_status=$?
68344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68345 (exit $ac_status); }; } &&
68346 { ac_try='test -s conftest$ac_exeext'
68347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68348 (eval $ac_try) 2>&5
68349 ac_status=$?
68350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68351 (exit $ac_status); }; }; then
68352 eval "$as_ac_var=yes"
68353 else
68354 echo "$as_me: failed program was:" >&5
68355 sed 's/^/| /' conftest.$ac_ext >&5
68357 eval "$as_ac_var=no"
68359 rm -f conftest.err conftest.$ac_objext \
68360 conftest$ac_exeext conftest.$ac_ext
68362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68364 if test `eval echo '${'$as_ac_var'}'` = yes; then
68365 cat >>confdefs.h <<_ACEOF
68366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68367 _ACEOF
68370 done
68380 echo "$as_me:$LINENO: checking for float trig functions" >&5
68381 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
68382 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
68383 echo $ECHO_N "(cached) $ECHO_C" >&6
68384 else
68388 ac_ext=cc
68389 ac_cpp='$CXXCPP $CPPFLAGS'
68390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68394 cat >conftest.$ac_ext <<_ACEOF
68395 /* confdefs.h. */
68396 _ACEOF
68397 cat confdefs.h >>conftest.$ac_ext
68398 cat >>conftest.$ac_ext <<_ACEOF
68399 /* end confdefs.h. */
68400 #include <math.h>
68402 main ()
68404 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
68406 return 0;
68408 _ACEOF
68409 rm -f conftest.$ac_objext
68410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68411 (eval $ac_compile) 2>conftest.er1
68412 ac_status=$?
68413 grep -v '^ *+' conftest.er1 >conftest.err
68414 rm -f conftest.er1
68415 cat conftest.err >&5
68416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68417 (exit $ac_status); } &&
68418 { ac_try='test -z "$ac_cxx_werror_flag"
68419 || test ! -s conftest.err'
68420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68421 (eval $ac_try) 2>&5
68422 ac_status=$?
68423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68424 (exit $ac_status); }; } &&
68425 { ac_try='test -s conftest.$ac_objext'
68426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68427 (eval $ac_try) 2>&5
68428 ac_status=$?
68429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68430 (exit $ac_status); }; }; then
68431 glibcxx_cv_func_float_trig_use=yes
68432 else
68433 echo "$as_me: failed program was:" >&5
68434 sed 's/^/| /' conftest.$ac_ext >&5
68436 glibcxx_cv_func_float_trig_use=no
68438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68439 ac_ext=c
68440 ac_cpp='$CPP $CPPFLAGS'
68441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68447 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
68448 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
68449 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
68459 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
68461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68462 echo "$as_me:$LINENO: checking for $ac_func" >&5
68463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68464 if eval "test \"\${$as_ac_var+set}\" = set"; then
68465 echo $ECHO_N "(cached) $ECHO_C" >&6
68466 else
68467 if test x$gcc_no_link = xyes; then
68468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68470 { (exit 1); exit 1; }; }
68472 cat >conftest.$ac_ext <<_ACEOF
68473 /* confdefs.h. */
68474 _ACEOF
68475 cat confdefs.h >>conftest.$ac_ext
68476 cat >>conftest.$ac_ext <<_ACEOF
68477 /* end confdefs.h. */
68478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68480 #define $ac_func innocuous_$ac_func
68482 /* System header to define __stub macros and hopefully few prototypes,
68483 which can conflict with char $ac_func (); below.
68484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68485 <limits.h> exists even on freestanding compilers. */
68487 #ifdef __STDC__
68488 # include <limits.h>
68489 #else
68490 # include <assert.h>
68491 #endif
68493 #undef $ac_func
68495 /* Override any gcc2 internal prototype to avoid an error. */
68496 #ifdef __cplusplus
68497 extern "C"
68499 #endif
68500 /* We use char because int might match the return type of a gcc2
68501 builtin and then its argument prototype would still apply. */
68502 char $ac_func ();
68503 /* The GNU C library defines this for functions which it implements
68504 to always fail with ENOSYS. Some functions are actually named
68505 something starting with __ and the normal name is an alias. */
68506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68507 choke me
68508 #else
68509 char (*f) () = $ac_func;
68510 #endif
68511 #ifdef __cplusplus
68513 #endif
68516 main ()
68518 return f != $ac_func;
68520 return 0;
68522 _ACEOF
68523 rm -f conftest.$ac_objext conftest$ac_exeext
68524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68525 (eval $ac_link) 2>conftest.er1
68526 ac_status=$?
68527 grep -v '^ *+' conftest.er1 >conftest.err
68528 rm -f conftest.er1
68529 cat conftest.err >&5
68530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68531 (exit $ac_status); } &&
68532 { ac_try='test -z "$ac_c_werror_flag"
68533 || test ! -s conftest.err'
68534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68535 (eval $ac_try) 2>&5
68536 ac_status=$?
68537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68538 (exit $ac_status); }; } &&
68539 { ac_try='test -s conftest$ac_exeext'
68540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68541 (eval $ac_try) 2>&5
68542 ac_status=$?
68543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68544 (exit $ac_status); }; }; then
68545 eval "$as_ac_var=yes"
68546 else
68547 echo "$as_me: failed program was:" >&5
68548 sed 's/^/| /' conftest.$ac_ext >&5
68550 eval "$as_ac_var=no"
68552 rm -f conftest.err conftest.$ac_objext \
68553 conftest$ac_exeext conftest.$ac_ext
68555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68557 if test `eval echo '${'$as_ac_var'}'` = yes; then
68558 cat >>confdefs.h <<_ACEOF
68559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68560 _ACEOF
68563 done
68565 else
68566 echo "$as_me:$LINENO: checking for _float trig functions" >&5
68567 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
68568 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
68569 echo $ECHO_N "(cached) $ECHO_C" >&6
68570 else
68574 ac_ext=cc
68575 ac_cpp='$CXXCPP $CPPFLAGS'
68576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68580 cat >conftest.$ac_ext <<_ACEOF
68581 /* confdefs.h. */
68582 _ACEOF
68583 cat confdefs.h >>conftest.$ac_ext
68584 cat >>conftest.$ac_ext <<_ACEOF
68585 /* end confdefs.h. */
68586 #include <math.h>
68588 main ()
68590 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
68592 return 0;
68594 _ACEOF
68595 rm -f conftest.$ac_objext
68596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68597 (eval $ac_compile) 2>conftest.er1
68598 ac_status=$?
68599 grep -v '^ *+' conftest.er1 >conftest.err
68600 rm -f conftest.er1
68601 cat conftest.err >&5
68602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68603 (exit $ac_status); } &&
68604 { ac_try='test -z "$ac_cxx_werror_flag"
68605 || test ! -s conftest.err'
68606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68607 (eval $ac_try) 2>&5
68608 ac_status=$?
68609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68610 (exit $ac_status); }; } &&
68611 { ac_try='test -s conftest.$ac_objext'
68612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68613 (eval $ac_try) 2>&5
68614 ac_status=$?
68615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68616 (exit $ac_status); }; }; then
68617 glibcxx_cv_func__float_trig_use=yes
68618 else
68619 echo "$as_me: failed program was:" >&5
68620 sed 's/^/| /' conftest.$ac_ext >&5
68622 glibcxx_cv_func__float_trig_use=no
68624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68625 ac_ext=c
68626 ac_cpp='$CPP $CPPFLAGS'
68627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68633 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
68634 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
68635 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
68645 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
68647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68648 echo "$as_me:$LINENO: checking for $ac_func" >&5
68649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68650 if eval "test \"\${$as_ac_var+set}\" = set"; then
68651 echo $ECHO_N "(cached) $ECHO_C" >&6
68652 else
68653 if test x$gcc_no_link = xyes; then
68654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68656 { (exit 1); exit 1; }; }
68658 cat >conftest.$ac_ext <<_ACEOF
68659 /* confdefs.h. */
68660 _ACEOF
68661 cat confdefs.h >>conftest.$ac_ext
68662 cat >>conftest.$ac_ext <<_ACEOF
68663 /* end confdefs.h. */
68664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68666 #define $ac_func innocuous_$ac_func
68668 /* System header to define __stub macros and hopefully few prototypes,
68669 which can conflict with char $ac_func (); below.
68670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68671 <limits.h> exists even on freestanding compilers. */
68673 #ifdef __STDC__
68674 # include <limits.h>
68675 #else
68676 # include <assert.h>
68677 #endif
68679 #undef $ac_func
68681 /* Override any gcc2 internal prototype to avoid an error. */
68682 #ifdef __cplusplus
68683 extern "C"
68685 #endif
68686 /* We use char because int might match the return type of a gcc2
68687 builtin and then its argument prototype would still apply. */
68688 char $ac_func ();
68689 /* The GNU C library defines this for functions which it implements
68690 to always fail with ENOSYS. Some functions are actually named
68691 something starting with __ and the normal name is an alias. */
68692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68693 choke me
68694 #else
68695 char (*f) () = $ac_func;
68696 #endif
68697 #ifdef __cplusplus
68699 #endif
68702 main ()
68704 return f != $ac_func;
68706 return 0;
68708 _ACEOF
68709 rm -f conftest.$ac_objext conftest$ac_exeext
68710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68711 (eval $ac_link) 2>conftest.er1
68712 ac_status=$?
68713 grep -v '^ *+' conftest.er1 >conftest.err
68714 rm -f conftest.er1
68715 cat conftest.err >&5
68716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68717 (exit $ac_status); } &&
68718 { ac_try='test -z "$ac_c_werror_flag"
68719 || test ! -s conftest.err'
68720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68721 (eval $ac_try) 2>&5
68722 ac_status=$?
68723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68724 (exit $ac_status); }; } &&
68725 { ac_try='test -s conftest$ac_exeext'
68726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68727 (eval $ac_try) 2>&5
68728 ac_status=$?
68729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68730 (exit $ac_status); }; }; then
68731 eval "$as_ac_var=yes"
68732 else
68733 echo "$as_me: failed program was:" >&5
68734 sed 's/^/| /' conftest.$ac_ext >&5
68736 eval "$as_ac_var=no"
68738 rm -f conftest.err conftest.$ac_objext \
68739 conftest$ac_exeext conftest.$ac_ext
68741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68743 if test `eval echo '${'$as_ac_var'}'` = yes; then
68744 cat >>confdefs.h <<_ACEOF
68745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68746 _ACEOF
68749 done
68767 echo "$as_me:$LINENO: checking for float round functions" >&5
68768 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
68769 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
68770 echo $ECHO_N "(cached) $ECHO_C" >&6
68771 else
68775 ac_ext=cc
68776 ac_cpp='$CXXCPP $CPPFLAGS'
68777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68781 cat >conftest.$ac_ext <<_ACEOF
68782 /* confdefs.h. */
68783 _ACEOF
68784 cat confdefs.h >>conftest.$ac_ext
68785 cat >>conftest.$ac_ext <<_ACEOF
68786 /* end confdefs.h. */
68787 #include <math.h>
68789 main ()
68791 ceilf (0); floorf (0);
68793 return 0;
68795 _ACEOF
68796 rm -f conftest.$ac_objext
68797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68798 (eval $ac_compile) 2>conftest.er1
68799 ac_status=$?
68800 grep -v '^ *+' conftest.er1 >conftest.err
68801 rm -f conftest.er1
68802 cat conftest.err >&5
68803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68804 (exit $ac_status); } &&
68805 { ac_try='test -z "$ac_cxx_werror_flag"
68806 || test ! -s conftest.err'
68807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68808 (eval $ac_try) 2>&5
68809 ac_status=$?
68810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68811 (exit $ac_status); }; } &&
68812 { ac_try='test -s conftest.$ac_objext'
68813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68814 (eval $ac_try) 2>&5
68815 ac_status=$?
68816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68817 (exit $ac_status); }; }; then
68818 glibcxx_cv_func_float_round_use=yes
68819 else
68820 echo "$as_me: failed program was:" >&5
68821 sed 's/^/| /' conftest.$ac_ext >&5
68823 glibcxx_cv_func_float_round_use=no
68825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68826 ac_ext=c
68827 ac_cpp='$CPP $CPPFLAGS'
68828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68834 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
68835 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
68836 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68839 for ac_func in ceilf floorf
68841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68842 echo "$as_me:$LINENO: checking for $ac_func" >&5
68843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68844 if eval "test \"\${$as_ac_var+set}\" = set"; then
68845 echo $ECHO_N "(cached) $ECHO_C" >&6
68846 else
68847 if test x$gcc_no_link = xyes; then
68848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68850 { (exit 1); exit 1; }; }
68852 cat >conftest.$ac_ext <<_ACEOF
68853 /* confdefs.h. */
68854 _ACEOF
68855 cat confdefs.h >>conftest.$ac_ext
68856 cat >>conftest.$ac_ext <<_ACEOF
68857 /* end confdefs.h. */
68858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68860 #define $ac_func innocuous_$ac_func
68862 /* System header to define __stub macros and hopefully few prototypes,
68863 which can conflict with char $ac_func (); below.
68864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68865 <limits.h> exists even on freestanding compilers. */
68867 #ifdef __STDC__
68868 # include <limits.h>
68869 #else
68870 # include <assert.h>
68871 #endif
68873 #undef $ac_func
68875 /* Override any gcc2 internal prototype to avoid an error. */
68876 #ifdef __cplusplus
68877 extern "C"
68879 #endif
68880 /* We use char because int might match the return type of a gcc2
68881 builtin and then its argument prototype would still apply. */
68882 char $ac_func ();
68883 /* The GNU C library defines this for functions which it implements
68884 to always fail with ENOSYS. Some functions are actually named
68885 something starting with __ and the normal name is an alias. */
68886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68887 choke me
68888 #else
68889 char (*f) () = $ac_func;
68890 #endif
68891 #ifdef __cplusplus
68893 #endif
68896 main ()
68898 return f != $ac_func;
68900 return 0;
68902 _ACEOF
68903 rm -f conftest.$ac_objext conftest$ac_exeext
68904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68905 (eval $ac_link) 2>conftest.er1
68906 ac_status=$?
68907 grep -v '^ *+' conftest.er1 >conftest.err
68908 rm -f conftest.er1
68909 cat conftest.err >&5
68910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68911 (exit $ac_status); } &&
68912 { ac_try='test -z "$ac_c_werror_flag"
68913 || test ! -s conftest.err'
68914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68915 (eval $ac_try) 2>&5
68916 ac_status=$?
68917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68918 (exit $ac_status); }; } &&
68919 { ac_try='test -s conftest$ac_exeext'
68920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68921 (eval $ac_try) 2>&5
68922 ac_status=$?
68923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68924 (exit $ac_status); }; }; then
68925 eval "$as_ac_var=yes"
68926 else
68927 echo "$as_me: failed program was:" >&5
68928 sed 's/^/| /' conftest.$ac_ext >&5
68930 eval "$as_ac_var=no"
68932 rm -f conftest.err conftest.$ac_objext \
68933 conftest$ac_exeext conftest.$ac_ext
68935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68937 if test `eval echo '${'$as_ac_var'}'` = yes; then
68938 cat >>confdefs.h <<_ACEOF
68939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68940 _ACEOF
68943 done
68945 else
68946 echo "$as_me:$LINENO: checking for _float round functions" >&5
68947 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
68948 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
68949 echo $ECHO_N "(cached) $ECHO_C" >&6
68950 else
68954 ac_ext=cc
68955 ac_cpp='$CXXCPP $CPPFLAGS'
68956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68960 cat >conftest.$ac_ext <<_ACEOF
68961 /* confdefs.h. */
68962 _ACEOF
68963 cat confdefs.h >>conftest.$ac_ext
68964 cat >>conftest.$ac_ext <<_ACEOF
68965 /* end confdefs.h. */
68966 #include <math.h>
68968 main ()
68970 _ceilf (0); _floorf (0);
68972 return 0;
68974 _ACEOF
68975 rm -f conftest.$ac_objext
68976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68977 (eval $ac_compile) 2>conftest.er1
68978 ac_status=$?
68979 grep -v '^ *+' conftest.er1 >conftest.err
68980 rm -f conftest.er1
68981 cat conftest.err >&5
68982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68983 (exit $ac_status); } &&
68984 { ac_try='test -z "$ac_cxx_werror_flag"
68985 || test ! -s conftest.err'
68986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68987 (eval $ac_try) 2>&5
68988 ac_status=$?
68989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68990 (exit $ac_status); }; } &&
68991 { ac_try='test -s conftest.$ac_objext'
68992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68993 (eval $ac_try) 2>&5
68994 ac_status=$?
68995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68996 (exit $ac_status); }; }; then
68997 glibcxx_cv_func__float_round_use=yes
68998 else
68999 echo "$as_me: failed program was:" >&5
69000 sed 's/^/| /' conftest.$ac_ext >&5
69002 glibcxx_cv_func__float_round_use=no
69004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69005 ac_ext=c
69006 ac_cpp='$CPP $CPPFLAGS'
69007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69013 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
69014 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
69015 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
69018 for ac_func in _ceilf _floorf
69020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69021 echo "$as_me:$LINENO: checking for $ac_func" >&5
69022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69023 if eval "test \"\${$as_ac_var+set}\" = set"; then
69024 echo $ECHO_N "(cached) $ECHO_C" >&6
69025 else
69026 if test x$gcc_no_link = xyes; then
69027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69029 { (exit 1); exit 1; }; }
69031 cat >conftest.$ac_ext <<_ACEOF
69032 /* confdefs.h. */
69033 _ACEOF
69034 cat confdefs.h >>conftest.$ac_ext
69035 cat >>conftest.$ac_ext <<_ACEOF
69036 /* end confdefs.h. */
69037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69039 #define $ac_func innocuous_$ac_func
69041 /* System header to define __stub macros and hopefully few prototypes,
69042 which can conflict with char $ac_func (); below.
69043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69044 <limits.h> exists even on freestanding compilers. */
69046 #ifdef __STDC__
69047 # include <limits.h>
69048 #else
69049 # include <assert.h>
69050 #endif
69052 #undef $ac_func
69054 /* Override any gcc2 internal prototype to avoid an error. */
69055 #ifdef __cplusplus
69056 extern "C"
69058 #endif
69059 /* We use char because int might match the return type of a gcc2
69060 builtin and then its argument prototype would still apply. */
69061 char $ac_func ();
69062 /* The GNU C library defines this for functions which it implements
69063 to always fail with ENOSYS. Some functions are actually named
69064 something starting with __ and the normal name is an alias. */
69065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69066 choke me
69067 #else
69068 char (*f) () = $ac_func;
69069 #endif
69070 #ifdef __cplusplus
69072 #endif
69075 main ()
69077 return f != $ac_func;
69079 return 0;
69081 _ACEOF
69082 rm -f conftest.$ac_objext conftest$ac_exeext
69083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69084 (eval $ac_link) 2>conftest.er1
69085 ac_status=$?
69086 grep -v '^ *+' conftest.er1 >conftest.err
69087 rm -f conftest.er1
69088 cat conftest.err >&5
69089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69090 (exit $ac_status); } &&
69091 { ac_try='test -z "$ac_c_werror_flag"
69092 || test ! -s conftest.err'
69093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69094 (eval $ac_try) 2>&5
69095 ac_status=$?
69096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69097 (exit $ac_status); }; } &&
69098 { ac_try='test -s conftest$ac_exeext'
69099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69100 (eval $ac_try) 2>&5
69101 ac_status=$?
69102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69103 (exit $ac_status); }; }; then
69104 eval "$as_ac_var=yes"
69105 else
69106 echo "$as_me: failed program was:" >&5
69107 sed 's/^/| /' conftest.$ac_ext >&5
69109 eval "$as_ac_var=no"
69111 rm -f conftest.err conftest.$ac_objext \
69112 conftest$ac_exeext conftest.$ac_ext
69114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69116 if test `eval echo '${'$as_ac_var'}'` = yes; then
69117 cat >>confdefs.h <<_ACEOF
69118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69119 _ACEOF
69122 done
69134 echo "$as_me:$LINENO: checking for expf declaration" >&5
69135 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
69136 if test x${glibcxx_cv_func_expf_use+set} != xset; then
69137 if test "${glibcxx_cv_func_expf_use+set}" = set; then
69138 echo $ECHO_N "(cached) $ECHO_C" >&6
69139 else
69143 ac_ext=cc
69144 ac_cpp='$CXXCPP $CPPFLAGS'
69145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69149 cat >conftest.$ac_ext <<_ACEOF
69150 /* confdefs.h. */
69151 _ACEOF
69152 cat confdefs.h >>conftest.$ac_ext
69153 cat >>conftest.$ac_ext <<_ACEOF
69154 /* end confdefs.h. */
69155 #include <math.h>
69156 #ifdef HAVE_IEEEFP_H
69157 #include <ieeefp.h>
69158 #endif
69161 main ()
69163 expf(0);
69165 return 0;
69167 _ACEOF
69168 rm -f conftest.$ac_objext
69169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69170 (eval $ac_compile) 2>conftest.er1
69171 ac_status=$?
69172 grep -v '^ *+' conftest.er1 >conftest.err
69173 rm -f conftest.er1
69174 cat conftest.err >&5
69175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69176 (exit $ac_status); } &&
69177 { ac_try='test -z "$ac_cxx_werror_flag"
69178 || test ! -s conftest.err'
69179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69180 (eval $ac_try) 2>&5
69181 ac_status=$?
69182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69183 (exit $ac_status); }; } &&
69184 { ac_try='test -s conftest.$ac_objext'
69185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69186 (eval $ac_try) 2>&5
69187 ac_status=$?
69188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69189 (exit $ac_status); }; }; then
69190 glibcxx_cv_func_expf_use=yes
69191 else
69192 echo "$as_me: failed program was:" >&5
69193 sed 's/^/| /' conftest.$ac_ext >&5
69195 glibcxx_cv_func_expf_use=no
69197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69198 ac_ext=c
69199 ac_cpp='$CPP $CPPFLAGS'
69200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69208 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
69209 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
69211 if test x$glibcxx_cv_func_expf_use = x"yes"; then
69213 for ac_func in expf
69215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69216 echo "$as_me:$LINENO: checking for $ac_func" >&5
69217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69218 if eval "test \"\${$as_ac_var+set}\" = set"; then
69219 echo $ECHO_N "(cached) $ECHO_C" >&6
69220 else
69221 if test x$gcc_no_link = xyes; then
69222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69224 { (exit 1); exit 1; }; }
69226 cat >conftest.$ac_ext <<_ACEOF
69227 /* confdefs.h. */
69228 _ACEOF
69229 cat confdefs.h >>conftest.$ac_ext
69230 cat >>conftest.$ac_ext <<_ACEOF
69231 /* end confdefs.h. */
69232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69234 #define $ac_func innocuous_$ac_func
69236 /* System header to define __stub macros and hopefully few prototypes,
69237 which can conflict with char $ac_func (); below.
69238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69239 <limits.h> exists even on freestanding compilers. */
69241 #ifdef __STDC__
69242 # include <limits.h>
69243 #else
69244 # include <assert.h>
69245 #endif
69247 #undef $ac_func
69249 /* Override any gcc2 internal prototype to avoid an error. */
69250 #ifdef __cplusplus
69251 extern "C"
69253 #endif
69254 /* We use char because int might match the return type of a gcc2
69255 builtin and then its argument prototype would still apply. */
69256 char $ac_func ();
69257 /* The GNU C library defines this for functions which it implements
69258 to always fail with ENOSYS. Some functions are actually named
69259 something starting with __ and the normal name is an alias. */
69260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69261 choke me
69262 #else
69263 char (*f) () = $ac_func;
69264 #endif
69265 #ifdef __cplusplus
69267 #endif
69270 main ()
69272 return f != $ac_func;
69274 return 0;
69276 _ACEOF
69277 rm -f conftest.$ac_objext conftest$ac_exeext
69278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69279 (eval $ac_link) 2>conftest.er1
69280 ac_status=$?
69281 grep -v '^ *+' conftest.er1 >conftest.err
69282 rm -f conftest.er1
69283 cat conftest.err >&5
69284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69285 (exit $ac_status); } &&
69286 { ac_try='test -z "$ac_c_werror_flag"
69287 || test ! -s conftest.err'
69288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69289 (eval $ac_try) 2>&5
69290 ac_status=$?
69291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69292 (exit $ac_status); }; } &&
69293 { ac_try='test -s conftest$ac_exeext'
69294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69295 (eval $ac_try) 2>&5
69296 ac_status=$?
69297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69298 (exit $ac_status); }; }; then
69299 eval "$as_ac_var=yes"
69300 else
69301 echo "$as_me: failed program was:" >&5
69302 sed 's/^/| /' conftest.$ac_ext >&5
69304 eval "$as_ac_var=no"
69306 rm -f conftest.err conftest.$ac_objext \
69307 conftest$ac_exeext conftest.$ac_ext
69309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69311 if test `eval echo '${'$as_ac_var'}'` = yes; then
69312 cat >>confdefs.h <<_ACEOF
69313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69314 _ACEOF
69317 done
69319 else
69321 echo "$as_me:$LINENO: checking for _expf declaration" >&5
69322 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
69323 if test x${glibcxx_cv_func__expf_use+set} != xset; then
69324 if test "${glibcxx_cv_func__expf_use+set}" = set; then
69325 echo $ECHO_N "(cached) $ECHO_C" >&6
69326 else
69330 ac_ext=cc
69331 ac_cpp='$CXXCPP $CPPFLAGS'
69332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69336 cat >conftest.$ac_ext <<_ACEOF
69337 /* confdefs.h. */
69338 _ACEOF
69339 cat confdefs.h >>conftest.$ac_ext
69340 cat >>conftest.$ac_ext <<_ACEOF
69341 /* end confdefs.h. */
69342 #include <math.h>
69343 #ifdef HAVE_IEEEFP_H
69344 #include <ieeefp.h>
69345 #endif
69348 main ()
69350 _expf(0);
69352 return 0;
69354 _ACEOF
69355 rm -f conftest.$ac_objext
69356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69357 (eval $ac_compile) 2>conftest.er1
69358 ac_status=$?
69359 grep -v '^ *+' conftest.er1 >conftest.err
69360 rm -f conftest.er1
69361 cat conftest.err >&5
69362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69363 (exit $ac_status); } &&
69364 { ac_try='test -z "$ac_cxx_werror_flag"
69365 || test ! -s conftest.err'
69366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69367 (eval $ac_try) 2>&5
69368 ac_status=$?
69369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69370 (exit $ac_status); }; } &&
69371 { ac_try='test -s conftest.$ac_objext'
69372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69373 (eval $ac_try) 2>&5
69374 ac_status=$?
69375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69376 (exit $ac_status); }; }; then
69377 glibcxx_cv_func__expf_use=yes
69378 else
69379 echo "$as_me: failed program was:" >&5
69380 sed 's/^/| /' conftest.$ac_ext >&5
69382 glibcxx_cv_func__expf_use=no
69384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69385 ac_ext=c
69386 ac_cpp='$CPP $CPPFLAGS'
69387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69395 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
69396 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
69398 if test x$glibcxx_cv_func__expf_use = x"yes"; then
69400 for ac_func in _expf
69402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69403 echo "$as_me:$LINENO: checking for $ac_func" >&5
69404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69405 if eval "test \"\${$as_ac_var+set}\" = set"; then
69406 echo $ECHO_N "(cached) $ECHO_C" >&6
69407 else
69408 if test x$gcc_no_link = xyes; then
69409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69411 { (exit 1); exit 1; }; }
69413 cat >conftest.$ac_ext <<_ACEOF
69414 /* confdefs.h. */
69415 _ACEOF
69416 cat confdefs.h >>conftest.$ac_ext
69417 cat >>conftest.$ac_ext <<_ACEOF
69418 /* end confdefs.h. */
69419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69421 #define $ac_func innocuous_$ac_func
69423 /* System header to define __stub macros and hopefully few prototypes,
69424 which can conflict with char $ac_func (); below.
69425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69426 <limits.h> exists even on freestanding compilers. */
69428 #ifdef __STDC__
69429 # include <limits.h>
69430 #else
69431 # include <assert.h>
69432 #endif
69434 #undef $ac_func
69436 /* Override any gcc2 internal prototype to avoid an error. */
69437 #ifdef __cplusplus
69438 extern "C"
69440 #endif
69441 /* We use char because int might match the return type of a gcc2
69442 builtin and then its argument prototype would still apply. */
69443 char $ac_func ();
69444 /* The GNU C library defines this for functions which it implements
69445 to always fail with ENOSYS. Some functions are actually named
69446 something starting with __ and the normal name is an alias. */
69447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69448 choke me
69449 #else
69450 char (*f) () = $ac_func;
69451 #endif
69452 #ifdef __cplusplus
69454 #endif
69457 main ()
69459 return f != $ac_func;
69461 return 0;
69463 _ACEOF
69464 rm -f conftest.$ac_objext conftest$ac_exeext
69465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69466 (eval $ac_link) 2>conftest.er1
69467 ac_status=$?
69468 grep -v '^ *+' conftest.er1 >conftest.err
69469 rm -f conftest.er1
69470 cat conftest.err >&5
69471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69472 (exit $ac_status); } &&
69473 { ac_try='test -z "$ac_c_werror_flag"
69474 || test ! -s conftest.err'
69475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69476 (eval $ac_try) 2>&5
69477 ac_status=$?
69478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69479 (exit $ac_status); }; } &&
69480 { ac_try='test -s conftest$ac_exeext'
69481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69482 (eval $ac_try) 2>&5
69483 ac_status=$?
69484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69485 (exit $ac_status); }; }; then
69486 eval "$as_ac_var=yes"
69487 else
69488 echo "$as_me: failed program was:" >&5
69489 sed 's/^/| /' conftest.$ac_ext >&5
69491 eval "$as_ac_var=no"
69493 rm -f conftest.err conftest.$ac_objext \
69494 conftest$ac_exeext conftest.$ac_ext
69496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69498 if test `eval echo '${'$as_ac_var'}'` = yes; then
69499 cat >>confdefs.h <<_ACEOF
69500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69501 _ACEOF
69504 done
69514 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
69515 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
69516 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
69517 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
69518 echo $ECHO_N "(cached) $ECHO_C" >&6
69519 else
69523 ac_ext=cc
69524 ac_cpp='$CXXCPP $CPPFLAGS'
69525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69529 cat >conftest.$ac_ext <<_ACEOF
69530 /* confdefs.h. */
69531 _ACEOF
69532 cat confdefs.h >>conftest.$ac_ext
69533 cat >>conftest.$ac_ext <<_ACEOF
69534 /* end confdefs.h. */
69535 #include <math.h>
69536 #ifdef HAVE_IEEEFP_H
69537 #include <ieeefp.h>
69538 #endif
69541 main ()
69543 isnanf(0);
69545 return 0;
69547 _ACEOF
69548 rm -f conftest.$ac_objext
69549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69550 (eval $ac_compile) 2>conftest.er1
69551 ac_status=$?
69552 grep -v '^ *+' conftest.er1 >conftest.err
69553 rm -f conftest.er1
69554 cat conftest.err >&5
69555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69556 (exit $ac_status); } &&
69557 { ac_try='test -z "$ac_cxx_werror_flag"
69558 || test ! -s conftest.err'
69559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69560 (eval $ac_try) 2>&5
69561 ac_status=$?
69562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69563 (exit $ac_status); }; } &&
69564 { ac_try='test -s conftest.$ac_objext'
69565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69566 (eval $ac_try) 2>&5
69567 ac_status=$?
69568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69569 (exit $ac_status); }; }; then
69570 glibcxx_cv_func_isnanf_use=yes
69571 else
69572 echo "$as_me: failed program was:" >&5
69573 sed 's/^/| /' conftest.$ac_ext >&5
69575 glibcxx_cv_func_isnanf_use=no
69577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69578 ac_ext=c
69579 ac_cpp='$CPP $CPPFLAGS'
69580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69588 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
69589 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
69591 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
69593 for ac_func in isnanf
69595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69596 echo "$as_me:$LINENO: checking for $ac_func" >&5
69597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69598 if eval "test \"\${$as_ac_var+set}\" = set"; then
69599 echo $ECHO_N "(cached) $ECHO_C" >&6
69600 else
69601 if test x$gcc_no_link = xyes; then
69602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69604 { (exit 1); exit 1; }; }
69606 cat >conftest.$ac_ext <<_ACEOF
69607 /* confdefs.h. */
69608 _ACEOF
69609 cat confdefs.h >>conftest.$ac_ext
69610 cat >>conftest.$ac_ext <<_ACEOF
69611 /* end confdefs.h. */
69612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69614 #define $ac_func innocuous_$ac_func
69616 /* System header to define __stub macros and hopefully few prototypes,
69617 which can conflict with char $ac_func (); below.
69618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69619 <limits.h> exists even on freestanding compilers. */
69621 #ifdef __STDC__
69622 # include <limits.h>
69623 #else
69624 # include <assert.h>
69625 #endif
69627 #undef $ac_func
69629 /* Override any gcc2 internal prototype to avoid an error. */
69630 #ifdef __cplusplus
69631 extern "C"
69633 #endif
69634 /* We use char because int might match the return type of a gcc2
69635 builtin and then its argument prototype would still apply. */
69636 char $ac_func ();
69637 /* The GNU C library defines this for functions which it implements
69638 to always fail with ENOSYS. Some functions are actually named
69639 something starting with __ and the normal name is an alias. */
69640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69641 choke me
69642 #else
69643 char (*f) () = $ac_func;
69644 #endif
69645 #ifdef __cplusplus
69647 #endif
69650 main ()
69652 return f != $ac_func;
69654 return 0;
69656 _ACEOF
69657 rm -f conftest.$ac_objext conftest$ac_exeext
69658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69659 (eval $ac_link) 2>conftest.er1
69660 ac_status=$?
69661 grep -v '^ *+' conftest.er1 >conftest.err
69662 rm -f conftest.er1
69663 cat conftest.err >&5
69664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69665 (exit $ac_status); } &&
69666 { ac_try='test -z "$ac_c_werror_flag"
69667 || test ! -s conftest.err'
69668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69669 (eval $ac_try) 2>&5
69670 ac_status=$?
69671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69672 (exit $ac_status); }; } &&
69673 { ac_try='test -s conftest$ac_exeext'
69674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69675 (eval $ac_try) 2>&5
69676 ac_status=$?
69677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69678 (exit $ac_status); }; }; then
69679 eval "$as_ac_var=yes"
69680 else
69681 echo "$as_me: failed program was:" >&5
69682 sed 's/^/| /' conftest.$ac_ext >&5
69684 eval "$as_ac_var=no"
69686 rm -f conftest.err conftest.$ac_objext \
69687 conftest$ac_exeext conftest.$ac_ext
69689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69691 if test `eval echo '${'$as_ac_var'}'` = yes; then
69692 cat >>confdefs.h <<_ACEOF
69693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69694 _ACEOF
69697 done
69699 else
69701 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
69702 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
69703 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
69704 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
69705 echo $ECHO_N "(cached) $ECHO_C" >&6
69706 else
69710 ac_ext=cc
69711 ac_cpp='$CXXCPP $CPPFLAGS'
69712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69716 cat >conftest.$ac_ext <<_ACEOF
69717 /* confdefs.h. */
69718 _ACEOF
69719 cat confdefs.h >>conftest.$ac_ext
69720 cat >>conftest.$ac_ext <<_ACEOF
69721 /* end confdefs.h. */
69722 #include <math.h>
69723 #ifdef HAVE_IEEEFP_H
69724 #include <ieeefp.h>
69725 #endif
69728 main ()
69730 _isnanf(0);
69732 return 0;
69734 _ACEOF
69735 rm -f conftest.$ac_objext
69736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69737 (eval $ac_compile) 2>conftest.er1
69738 ac_status=$?
69739 grep -v '^ *+' conftest.er1 >conftest.err
69740 rm -f conftest.er1
69741 cat conftest.err >&5
69742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69743 (exit $ac_status); } &&
69744 { ac_try='test -z "$ac_cxx_werror_flag"
69745 || test ! -s conftest.err'
69746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69747 (eval $ac_try) 2>&5
69748 ac_status=$?
69749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69750 (exit $ac_status); }; } &&
69751 { ac_try='test -s conftest.$ac_objext'
69752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69753 (eval $ac_try) 2>&5
69754 ac_status=$?
69755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69756 (exit $ac_status); }; }; then
69757 glibcxx_cv_func__isnanf_use=yes
69758 else
69759 echo "$as_me: failed program was:" >&5
69760 sed 's/^/| /' conftest.$ac_ext >&5
69762 glibcxx_cv_func__isnanf_use=no
69764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69765 ac_ext=c
69766 ac_cpp='$CPP $CPPFLAGS'
69767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69775 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
69776 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
69778 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
69780 for ac_func in _isnanf
69782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69783 echo "$as_me:$LINENO: checking for $ac_func" >&5
69784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69785 if eval "test \"\${$as_ac_var+set}\" = set"; then
69786 echo $ECHO_N "(cached) $ECHO_C" >&6
69787 else
69788 if test x$gcc_no_link = xyes; then
69789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69791 { (exit 1); exit 1; }; }
69793 cat >conftest.$ac_ext <<_ACEOF
69794 /* confdefs.h. */
69795 _ACEOF
69796 cat confdefs.h >>conftest.$ac_ext
69797 cat >>conftest.$ac_ext <<_ACEOF
69798 /* end confdefs.h. */
69799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69801 #define $ac_func innocuous_$ac_func
69803 /* System header to define __stub macros and hopefully few prototypes,
69804 which can conflict with char $ac_func (); below.
69805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69806 <limits.h> exists even on freestanding compilers. */
69808 #ifdef __STDC__
69809 # include <limits.h>
69810 #else
69811 # include <assert.h>
69812 #endif
69814 #undef $ac_func
69816 /* Override any gcc2 internal prototype to avoid an error. */
69817 #ifdef __cplusplus
69818 extern "C"
69820 #endif
69821 /* We use char because int might match the return type of a gcc2
69822 builtin and then its argument prototype would still apply. */
69823 char $ac_func ();
69824 /* The GNU C library defines this for functions which it implements
69825 to always fail with ENOSYS. Some functions are actually named
69826 something starting with __ and the normal name is an alias. */
69827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69828 choke me
69829 #else
69830 char (*f) () = $ac_func;
69831 #endif
69832 #ifdef __cplusplus
69834 #endif
69837 main ()
69839 return f != $ac_func;
69841 return 0;
69843 _ACEOF
69844 rm -f conftest.$ac_objext conftest$ac_exeext
69845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69846 (eval $ac_link) 2>conftest.er1
69847 ac_status=$?
69848 grep -v '^ *+' conftest.er1 >conftest.err
69849 rm -f conftest.er1
69850 cat conftest.err >&5
69851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69852 (exit $ac_status); } &&
69853 { ac_try='test -z "$ac_c_werror_flag"
69854 || test ! -s conftest.err'
69855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69856 (eval $ac_try) 2>&5
69857 ac_status=$?
69858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69859 (exit $ac_status); }; } &&
69860 { ac_try='test -s conftest$ac_exeext'
69861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69862 (eval $ac_try) 2>&5
69863 ac_status=$?
69864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69865 (exit $ac_status); }; }; then
69866 eval "$as_ac_var=yes"
69867 else
69868 echo "$as_me: failed program was:" >&5
69869 sed 's/^/| /' conftest.$ac_ext >&5
69871 eval "$as_ac_var=no"
69873 rm -f conftest.err conftest.$ac_objext \
69874 conftest$ac_exeext conftest.$ac_ext
69876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69878 if test `eval echo '${'$as_ac_var'}'` = yes; then
69879 cat >>confdefs.h <<_ACEOF
69880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69881 _ACEOF
69884 done
69894 echo "$as_me:$LINENO: checking for isinff declaration" >&5
69895 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
69896 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
69897 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
69898 echo $ECHO_N "(cached) $ECHO_C" >&6
69899 else
69903 ac_ext=cc
69904 ac_cpp='$CXXCPP $CPPFLAGS'
69905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69909 cat >conftest.$ac_ext <<_ACEOF
69910 /* confdefs.h. */
69911 _ACEOF
69912 cat confdefs.h >>conftest.$ac_ext
69913 cat >>conftest.$ac_ext <<_ACEOF
69914 /* end confdefs.h. */
69915 #include <math.h>
69916 #ifdef HAVE_IEEEFP_H
69917 #include <ieeefp.h>
69918 #endif
69921 main ()
69923 isinff(0);
69925 return 0;
69927 _ACEOF
69928 rm -f conftest.$ac_objext
69929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69930 (eval $ac_compile) 2>conftest.er1
69931 ac_status=$?
69932 grep -v '^ *+' conftest.er1 >conftest.err
69933 rm -f conftest.er1
69934 cat conftest.err >&5
69935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69936 (exit $ac_status); } &&
69937 { ac_try='test -z "$ac_cxx_werror_flag"
69938 || test ! -s conftest.err'
69939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69940 (eval $ac_try) 2>&5
69941 ac_status=$?
69942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69943 (exit $ac_status); }; } &&
69944 { ac_try='test -s conftest.$ac_objext'
69945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69946 (eval $ac_try) 2>&5
69947 ac_status=$?
69948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69949 (exit $ac_status); }; }; then
69950 glibcxx_cv_func_isinff_use=yes
69951 else
69952 echo "$as_me: failed program was:" >&5
69953 sed 's/^/| /' conftest.$ac_ext >&5
69955 glibcxx_cv_func_isinff_use=no
69957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69958 ac_ext=c
69959 ac_cpp='$CPP $CPPFLAGS'
69960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69968 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
69969 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
69971 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
69973 for ac_func in isinff
69975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69976 echo "$as_me:$LINENO: checking for $ac_func" >&5
69977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69978 if eval "test \"\${$as_ac_var+set}\" = set"; then
69979 echo $ECHO_N "(cached) $ECHO_C" >&6
69980 else
69981 if test x$gcc_no_link = xyes; then
69982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69984 { (exit 1); exit 1; }; }
69986 cat >conftest.$ac_ext <<_ACEOF
69987 /* confdefs.h. */
69988 _ACEOF
69989 cat confdefs.h >>conftest.$ac_ext
69990 cat >>conftest.$ac_ext <<_ACEOF
69991 /* end confdefs.h. */
69992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69994 #define $ac_func innocuous_$ac_func
69996 /* System header to define __stub macros and hopefully few prototypes,
69997 which can conflict with char $ac_func (); below.
69998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69999 <limits.h> exists even on freestanding compilers. */
70001 #ifdef __STDC__
70002 # include <limits.h>
70003 #else
70004 # include <assert.h>
70005 #endif
70007 #undef $ac_func
70009 /* Override any gcc2 internal prototype to avoid an error. */
70010 #ifdef __cplusplus
70011 extern "C"
70013 #endif
70014 /* We use char because int might match the return type of a gcc2
70015 builtin and then its argument prototype would still apply. */
70016 char $ac_func ();
70017 /* The GNU C library defines this for functions which it implements
70018 to always fail with ENOSYS. Some functions are actually named
70019 something starting with __ and the normal name is an alias. */
70020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70021 choke me
70022 #else
70023 char (*f) () = $ac_func;
70024 #endif
70025 #ifdef __cplusplus
70027 #endif
70030 main ()
70032 return f != $ac_func;
70034 return 0;
70036 _ACEOF
70037 rm -f conftest.$ac_objext conftest$ac_exeext
70038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70039 (eval $ac_link) 2>conftest.er1
70040 ac_status=$?
70041 grep -v '^ *+' conftest.er1 >conftest.err
70042 rm -f conftest.er1
70043 cat conftest.err >&5
70044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70045 (exit $ac_status); } &&
70046 { ac_try='test -z "$ac_c_werror_flag"
70047 || test ! -s conftest.err'
70048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70049 (eval $ac_try) 2>&5
70050 ac_status=$?
70051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70052 (exit $ac_status); }; } &&
70053 { ac_try='test -s conftest$ac_exeext'
70054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70055 (eval $ac_try) 2>&5
70056 ac_status=$?
70057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70058 (exit $ac_status); }; }; then
70059 eval "$as_ac_var=yes"
70060 else
70061 echo "$as_me: failed program was:" >&5
70062 sed 's/^/| /' conftest.$ac_ext >&5
70064 eval "$as_ac_var=no"
70066 rm -f conftest.err conftest.$ac_objext \
70067 conftest$ac_exeext conftest.$ac_ext
70069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70071 if test `eval echo '${'$as_ac_var'}'` = yes; then
70072 cat >>confdefs.h <<_ACEOF
70073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70074 _ACEOF
70077 done
70079 else
70081 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
70082 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
70083 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
70084 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
70085 echo $ECHO_N "(cached) $ECHO_C" >&6
70086 else
70090 ac_ext=cc
70091 ac_cpp='$CXXCPP $CPPFLAGS'
70092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70096 cat >conftest.$ac_ext <<_ACEOF
70097 /* confdefs.h. */
70098 _ACEOF
70099 cat confdefs.h >>conftest.$ac_ext
70100 cat >>conftest.$ac_ext <<_ACEOF
70101 /* end confdefs.h. */
70102 #include <math.h>
70103 #ifdef HAVE_IEEEFP_H
70104 #include <ieeefp.h>
70105 #endif
70108 main ()
70110 _isinff(0);
70112 return 0;
70114 _ACEOF
70115 rm -f conftest.$ac_objext
70116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70117 (eval $ac_compile) 2>conftest.er1
70118 ac_status=$?
70119 grep -v '^ *+' conftest.er1 >conftest.err
70120 rm -f conftest.er1
70121 cat conftest.err >&5
70122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70123 (exit $ac_status); } &&
70124 { ac_try='test -z "$ac_cxx_werror_flag"
70125 || test ! -s conftest.err'
70126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70127 (eval $ac_try) 2>&5
70128 ac_status=$?
70129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70130 (exit $ac_status); }; } &&
70131 { ac_try='test -s conftest.$ac_objext'
70132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70133 (eval $ac_try) 2>&5
70134 ac_status=$?
70135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70136 (exit $ac_status); }; }; then
70137 glibcxx_cv_func__isinff_use=yes
70138 else
70139 echo "$as_me: failed program was:" >&5
70140 sed 's/^/| /' conftest.$ac_ext >&5
70142 glibcxx_cv_func__isinff_use=no
70144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70145 ac_ext=c
70146 ac_cpp='$CPP $CPPFLAGS'
70147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70155 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
70156 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
70158 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
70160 for ac_func in _isinff
70162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70163 echo "$as_me:$LINENO: checking for $ac_func" >&5
70164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70165 if eval "test \"\${$as_ac_var+set}\" = set"; then
70166 echo $ECHO_N "(cached) $ECHO_C" >&6
70167 else
70168 if test x$gcc_no_link = xyes; then
70169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70171 { (exit 1); exit 1; }; }
70173 cat >conftest.$ac_ext <<_ACEOF
70174 /* confdefs.h. */
70175 _ACEOF
70176 cat confdefs.h >>conftest.$ac_ext
70177 cat >>conftest.$ac_ext <<_ACEOF
70178 /* end confdefs.h. */
70179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70181 #define $ac_func innocuous_$ac_func
70183 /* System header to define __stub macros and hopefully few prototypes,
70184 which can conflict with char $ac_func (); below.
70185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70186 <limits.h> exists even on freestanding compilers. */
70188 #ifdef __STDC__
70189 # include <limits.h>
70190 #else
70191 # include <assert.h>
70192 #endif
70194 #undef $ac_func
70196 /* Override any gcc2 internal prototype to avoid an error. */
70197 #ifdef __cplusplus
70198 extern "C"
70200 #endif
70201 /* We use char because int might match the return type of a gcc2
70202 builtin and then its argument prototype would still apply. */
70203 char $ac_func ();
70204 /* The GNU C library defines this for functions which it implements
70205 to always fail with ENOSYS. Some functions are actually named
70206 something starting with __ and the normal name is an alias. */
70207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70208 choke me
70209 #else
70210 char (*f) () = $ac_func;
70211 #endif
70212 #ifdef __cplusplus
70214 #endif
70217 main ()
70219 return f != $ac_func;
70221 return 0;
70223 _ACEOF
70224 rm -f conftest.$ac_objext conftest$ac_exeext
70225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70226 (eval $ac_link) 2>conftest.er1
70227 ac_status=$?
70228 grep -v '^ *+' conftest.er1 >conftest.err
70229 rm -f conftest.er1
70230 cat conftest.err >&5
70231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70232 (exit $ac_status); } &&
70233 { ac_try='test -z "$ac_c_werror_flag"
70234 || test ! -s conftest.err'
70235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70236 (eval $ac_try) 2>&5
70237 ac_status=$?
70238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70239 (exit $ac_status); }; } &&
70240 { ac_try='test -s conftest$ac_exeext'
70241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70242 (eval $ac_try) 2>&5
70243 ac_status=$?
70244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70245 (exit $ac_status); }; }; then
70246 eval "$as_ac_var=yes"
70247 else
70248 echo "$as_me: failed program was:" >&5
70249 sed 's/^/| /' conftest.$ac_ext >&5
70251 eval "$as_ac_var=no"
70253 rm -f conftest.err conftest.$ac_objext \
70254 conftest$ac_exeext conftest.$ac_ext
70256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70258 if test `eval echo '${'$as_ac_var'}'` = yes; then
70259 cat >>confdefs.h <<_ACEOF
70260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70261 _ACEOF
70264 done
70274 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
70275 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
70276 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
70277 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
70278 echo $ECHO_N "(cached) $ECHO_C" >&6
70279 else
70283 ac_ext=cc
70284 ac_cpp='$CXXCPP $CPPFLAGS'
70285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70289 cat >conftest.$ac_ext <<_ACEOF
70290 /* confdefs.h. */
70291 _ACEOF
70292 cat confdefs.h >>conftest.$ac_ext
70293 cat >>conftest.$ac_ext <<_ACEOF
70294 /* end confdefs.h. */
70295 #include <math.h>
70297 main ()
70299 atan2f(0, 0);
70301 return 0;
70303 _ACEOF
70304 rm -f conftest.$ac_objext
70305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70306 (eval $ac_compile) 2>conftest.er1
70307 ac_status=$?
70308 grep -v '^ *+' conftest.er1 >conftest.err
70309 rm -f conftest.er1
70310 cat conftest.err >&5
70311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70312 (exit $ac_status); } &&
70313 { ac_try='test -z "$ac_cxx_werror_flag"
70314 || test ! -s conftest.err'
70315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70316 (eval $ac_try) 2>&5
70317 ac_status=$?
70318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70319 (exit $ac_status); }; } &&
70320 { ac_try='test -s conftest.$ac_objext'
70321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70322 (eval $ac_try) 2>&5
70323 ac_status=$?
70324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70325 (exit $ac_status); }; }; then
70326 glibcxx_cv_func_atan2f_use=yes
70327 else
70328 echo "$as_me: failed program was:" >&5
70329 sed 's/^/| /' conftest.$ac_ext >&5
70331 glibcxx_cv_func_atan2f_use=no
70333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70334 ac_ext=c
70335 ac_cpp='$CPP $CPPFLAGS'
70336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70344 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
70345 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
70347 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
70349 for ac_func in atan2f
70351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70352 echo "$as_me:$LINENO: checking for $ac_func" >&5
70353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70354 if eval "test \"\${$as_ac_var+set}\" = set"; then
70355 echo $ECHO_N "(cached) $ECHO_C" >&6
70356 else
70357 if test x$gcc_no_link = xyes; then
70358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70360 { (exit 1); exit 1; }; }
70362 cat >conftest.$ac_ext <<_ACEOF
70363 /* confdefs.h. */
70364 _ACEOF
70365 cat confdefs.h >>conftest.$ac_ext
70366 cat >>conftest.$ac_ext <<_ACEOF
70367 /* end confdefs.h. */
70368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70370 #define $ac_func innocuous_$ac_func
70372 /* System header to define __stub macros and hopefully few prototypes,
70373 which can conflict with char $ac_func (); below.
70374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70375 <limits.h> exists even on freestanding compilers. */
70377 #ifdef __STDC__
70378 # include <limits.h>
70379 #else
70380 # include <assert.h>
70381 #endif
70383 #undef $ac_func
70385 /* Override any gcc2 internal prototype to avoid an error. */
70386 #ifdef __cplusplus
70387 extern "C"
70389 #endif
70390 /* We use char because int might match the return type of a gcc2
70391 builtin and then its argument prototype would still apply. */
70392 char $ac_func ();
70393 /* The GNU C library defines this for functions which it implements
70394 to always fail with ENOSYS. Some functions are actually named
70395 something starting with __ and the normal name is an alias. */
70396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70397 choke me
70398 #else
70399 char (*f) () = $ac_func;
70400 #endif
70401 #ifdef __cplusplus
70403 #endif
70406 main ()
70408 return f != $ac_func;
70410 return 0;
70412 _ACEOF
70413 rm -f conftest.$ac_objext conftest$ac_exeext
70414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70415 (eval $ac_link) 2>conftest.er1
70416 ac_status=$?
70417 grep -v '^ *+' conftest.er1 >conftest.err
70418 rm -f conftest.er1
70419 cat conftest.err >&5
70420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70421 (exit $ac_status); } &&
70422 { ac_try='test -z "$ac_c_werror_flag"
70423 || test ! -s conftest.err'
70424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70425 (eval $ac_try) 2>&5
70426 ac_status=$?
70427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70428 (exit $ac_status); }; } &&
70429 { ac_try='test -s conftest$ac_exeext'
70430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70431 (eval $ac_try) 2>&5
70432 ac_status=$?
70433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70434 (exit $ac_status); }; }; then
70435 eval "$as_ac_var=yes"
70436 else
70437 echo "$as_me: failed program was:" >&5
70438 sed 's/^/| /' conftest.$ac_ext >&5
70440 eval "$as_ac_var=no"
70442 rm -f conftest.err conftest.$ac_objext \
70443 conftest$ac_exeext conftest.$ac_ext
70445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70447 if test `eval echo '${'$as_ac_var'}'` = yes; then
70448 cat >>confdefs.h <<_ACEOF
70449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70450 _ACEOF
70453 done
70455 else
70457 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
70458 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
70459 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
70460 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
70461 echo $ECHO_N "(cached) $ECHO_C" >&6
70462 else
70466 ac_ext=cc
70467 ac_cpp='$CXXCPP $CPPFLAGS'
70468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70472 cat >conftest.$ac_ext <<_ACEOF
70473 /* confdefs.h. */
70474 _ACEOF
70475 cat confdefs.h >>conftest.$ac_ext
70476 cat >>conftest.$ac_ext <<_ACEOF
70477 /* end confdefs.h. */
70478 #include <math.h>
70480 main ()
70482 _atan2f(0, 0);
70484 return 0;
70486 _ACEOF
70487 rm -f conftest.$ac_objext
70488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70489 (eval $ac_compile) 2>conftest.er1
70490 ac_status=$?
70491 grep -v '^ *+' conftest.er1 >conftest.err
70492 rm -f conftest.er1
70493 cat conftest.err >&5
70494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70495 (exit $ac_status); } &&
70496 { ac_try='test -z "$ac_cxx_werror_flag"
70497 || test ! -s conftest.err'
70498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70499 (eval $ac_try) 2>&5
70500 ac_status=$?
70501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70502 (exit $ac_status); }; } &&
70503 { ac_try='test -s conftest.$ac_objext'
70504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70505 (eval $ac_try) 2>&5
70506 ac_status=$?
70507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70508 (exit $ac_status); }; }; then
70509 glibcxx_cv_func__atan2f_use=yes
70510 else
70511 echo "$as_me: failed program was:" >&5
70512 sed 's/^/| /' conftest.$ac_ext >&5
70514 glibcxx_cv_func__atan2f_use=no
70516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70517 ac_ext=c
70518 ac_cpp='$CPP $CPPFLAGS'
70519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70527 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
70528 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
70530 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
70532 for ac_func in _atan2f
70534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70535 echo "$as_me:$LINENO: checking for $ac_func" >&5
70536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70537 if eval "test \"\${$as_ac_var+set}\" = set"; then
70538 echo $ECHO_N "(cached) $ECHO_C" >&6
70539 else
70540 if test x$gcc_no_link = xyes; then
70541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70543 { (exit 1); exit 1; }; }
70545 cat >conftest.$ac_ext <<_ACEOF
70546 /* confdefs.h. */
70547 _ACEOF
70548 cat confdefs.h >>conftest.$ac_ext
70549 cat >>conftest.$ac_ext <<_ACEOF
70550 /* end confdefs.h. */
70551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70553 #define $ac_func innocuous_$ac_func
70555 /* System header to define __stub macros and hopefully few prototypes,
70556 which can conflict with char $ac_func (); below.
70557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70558 <limits.h> exists even on freestanding compilers. */
70560 #ifdef __STDC__
70561 # include <limits.h>
70562 #else
70563 # include <assert.h>
70564 #endif
70566 #undef $ac_func
70568 /* Override any gcc2 internal prototype to avoid an error. */
70569 #ifdef __cplusplus
70570 extern "C"
70572 #endif
70573 /* We use char because int might match the return type of a gcc2
70574 builtin and then its argument prototype would still apply. */
70575 char $ac_func ();
70576 /* The GNU C library defines this for functions which it implements
70577 to always fail with ENOSYS. Some functions are actually named
70578 something starting with __ and the normal name is an alias. */
70579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70580 choke me
70581 #else
70582 char (*f) () = $ac_func;
70583 #endif
70584 #ifdef __cplusplus
70586 #endif
70589 main ()
70591 return f != $ac_func;
70593 return 0;
70595 _ACEOF
70596 rm -f conftest.$ac_objext conftest$ac_exeext
70597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70598 (eval $ac_link) 2>conftest.er1
70599 ac_status=$?
70600 grep -v '^ *+' conftest.er1 >conftest.err
70601 rm -f conftest.er1
70602 cat conftest.err >&5
70603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70604 (exit $ac_status); } &&
70605 { ac_try='test -z "$ac_c_werror_flag"
70606 || test ! -s conftest.err'
70607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70608 (eval $ac_try) 2>&5
70609 ac_status=$?
70610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70611 (exit $ac_status); }; } &&
70612 { ac_try='test -s conftest$ac_exeext'
70613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70614 (eval $ac_try) 2>&5
70615 ac_status=$?
70616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70617 (exit $ac_status); }; }; then
70618 eval "$as_ac_var=yes"
70619 else
70620 echo "$as_me: failed program was:" >&5
70621 sed 's/^/| /' conftest.$ac_ext >&5
70623 eval "$as_ac_var=no"
70625 rm -f conftest.err conftest.$ac_objext \
70626 conftest$ac_exeext conftest.$ac_ext
70628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70630 if test `eval echo '${'$as_ac_var'}'` = yes; then
70631 cat >>confdefs.h <<_ACEOF
70632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70633 _ACEOF
70636 done
70646 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
70647 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
70648 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
70649 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
70650 echo $ECHO_N "(cached) $ECHO_C" >&6
70651 else
70655 ac_ext=cc
70656 ac_cpp='$CXXCPP $CPPFLAGS'
70657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70661 cat >conftest.$ac_ext <<_ACEOF
70662 /* confdefs.h. */
70663 _ACEOF
70664 cat confdefs.h >>conftest.$ac_ext
70665 cat >>conftest.$ac_ext <<_ACEOF
70666 /* end confdefs.h. */
70667 #include <math.h>
70668 #ifdef HAVE_IEEEFP_H
70669 #include <ieeefp.h>
70670 #endif
70673 main ()
70675 fabsf(0);
70677 return 0;
70679 _ACEOF
70680 rm -f conftest.$ac_objext
70681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70682 (eval $ac_compile) 2>conftest.er1
70683 ac_status=$?
70684 grep -v '^ *+' conftest.er1 >conftest.err
70685 rm -f conftest.er1
70686 cat conftest.err >&5
70687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70688 (exit $ac_status); } &&
70689 { ac_try='test -z "$ac_cxx_werror_flag"
70690 || test ! -s conftest.err'
70691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70692 (eval $ac_try) 2>&5
70693 ac_status=$?
70694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70695 (exit $ac_status); }; } &&
70696 { ac_try='test -s conftest.$ac_objext'
70697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70698 (eval $ac_try) 2>&5
70699 ac_status=$?
70700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70701 (exit $ac_status); }; }; then
70702 glibcxx_cv_func_fabsf_use=yes
70703 else
70704 echo "$as_me: failed program was:" >&5
70705 sed 's/^/| /' conftest.$ac_ext >&5
70707 glibcxx_cv_func_fabsf_use=no
70709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70710 ac_ext=c
70711 ac_cpp='$CPP $CPPFLAGS'
70712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70720 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
70721 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
70723 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
70725 for ac_func in fabsf
70727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70728 echo "$as_me:$LINENO: checking for $ac_func" >&5
70729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70730 if eval "test \"\${$as_ac_var+set}\" = set"; then
70731 echo $ECHO_N "(cached) $ECHO_C" >&6
70732 else
70733 if test x$gcc_no_link = xyes; then
70734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70736 { (exit 1); exit 1; }; }
70738 cat >conftest.$ac_ext <<_ACEOF
70739 /* confdefs.h. */
70740 _ACEOF
70741 cat confdefs.h >>conftest.$ac_ext
70742 cat >>conftest.$ac_ext <<_ACEOF
70743 /* end confdefs.h. */
70744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70746 #define $ac_func innocuous_$ac_func
70748 /* System header to define __stub macros and hopefully few prototypes,
70749 which can conflict with char $ac_func (); below.
70750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70751 <limits.h> exists even on freestanding compilers. */
70753 #ifdef __STDC__
70754 # include <limits.h>
70755 #else
70756 # include <assert.h>
70757 #endif
70759 #undef $ac_func
70761 /* Override any gcc2 internal prototype to avoid an error. */
70762 #ifdef __cplusplus
70763 extern "C"
70765 #endif
70766 /* We use char because int might match the return type of a gcc2
70767 builtin and then its argument prototype would still apply. */
70768 char $ac_func ();
70769 /* The GNU C library defines this for functions which it implements
70770 to always fail with ENOSYS. Some functions are actually named
70771 something starting with __ and the normal name is an alias. */
70772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70773 choke me
70774 #else
70775 char (*f) () = $ac_func;
70776 #endif
70777 #ifdef __cplusplus
70779 #endif
70782 main ()
70784 return f != $ac_func;
70786 return 0;
70788 _ACEOF
70789 rm -f conftest.$ac_objext conftest$ac_exeext
70790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70791 (eval $ac_link) 2>conftest.er1
70792 ac_status=$?
70793 grep -v '^ *+' conftest.er1 >conftest.err
70794 rm -f conftest.er1
70795 cat conftest.err >&5
70796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70797 (exit $ac_status); } &&
70798 { ac_try='test -z "$ac_c_werror_flag"
70799 || test ! -s conftest.err'
70800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70801 (eval $ac_try) 2>&5
70802 ac_status=$?
70803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70804 (exit $ac_status); }; } &&
70805 { ac_try='test -s conftest$ac_exeext'
70806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70807 (eval $ac_try) 2>&5
70808 ac_status=$?
70809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70810 (exit $ac_status); }; }; then
70811 eval "$as_ac_var=yes"
70812 else
70813 echo "$as_me: failed program was:" >&5
70814 sed 's/^/| /' conftest.$ac_ext >&5
70816 eval "$as_ac_var=no"
70818 rm -f conftest.err conftest.$ac_objext \
70819 conftest$ac_exeext conftest.$ac_ext
70821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70823 if test `eval echo '${'$as_ac_var'}'` = yes; then
70824 cat >>confdefs.h <<_ACEOF
70825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70826 _ACEOF
70829 done
70831 else
70833 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
70834 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
70835 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
70836 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
70837 echo $ECHO_N "(cached) $ECHO_C" >&6
70838 else
70842 ac_ext=cc
70843 ac_cpp='$CXXCPP $CPPFLAGS'
70844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70848 cat >conftest.$ac_ext <<_ACEOF
70849 /* confdefs.h. */
70850 _ACEOF
70851 cat confdefs.h >>conftest.$ac_ext
70852 cat >>conftest.$ac_ext <<_ACEOF
70853 /* end confdefs.h. */
70854 #include <math.h>
70855 #ifdef HAVE_IEEEFP_H
70856 #include <ieeefp.h>
70857 #endif
70860 main ()
70862 _fabsf(0);
70864 return 0;
70866 _ACEOF
70867 rm -f conftest.$ac_objext
70868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70869 (eval $ac_compile) 2>conftest.er1
70870 ac_status=$?
70871 grep -v '^ *+' conftest.er1 >conftest.err
70872 rm -f conftest.er1
70873 cat conftest.err >&5
70874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70875 (exit $ac_status); } &&
70876 { ac_try='test -z "$ac_cxx_werror_flag"
70877 || test ! -s conftest.err'
70878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70879 (eval $ac_try) 2>&5
70880 ac_status=$?
70881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70882 (exit $ac_status); }; } &&
70883 { ac_try='test -s conftest.$ac_objext'
70884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70885 (eval $ac_try) 2>&5
70886 ac_status=$?
70887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70888 (exit $ac_status); }; }; then
70889 glibcxx_cv_func__fabsf_use=yes
70890 else
70891 echo "$as_me: failed program was:" >&5
70892 sed 's/^/| /' conftest.$ac_ext >&5
70894 glibcxx_cv_func__fabsf_use=no
70896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70897 ac_ext=c
70898 ac_cpp='$CPP $CPPFLAGS'
70899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70907 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
70908 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
70910 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
70912 for ac_func in _fabsf
70914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70915 echo "$as_me:$LINENO: checking for $ac_func" >&5
70916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70917 if eval "test \"\${$as_ac_var+set}\" = set"; then
70918 echo $ECHO_N "(cached) $ECHO_C" >&6
70919 else
70920 if test x$gcc_no_link = xyes; then
70921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70923 { (exit 1); exit 1; }; }
70925 cat >conftest.$ac_ext <<_ACEOF
70926 /* confdefs.h. */
70927 _ACEOF
70928 cat confdefs.h >>conftest.$ac_ext
70929 cat >>conftest.$ac_ext <<_ACEOF
70930 /* end confdefs.h. */
70931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70933 #define $ac_func innocuous_$ac_func
70935 /* System header to define __stub macros and hopefully few prototypes,
70936 which can conflict with char $ac_func (); below.
70937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70938 <limits.h> exists even on freestanding compilers. */
70940 #ifdef __STDC__
70941 # include <limits.h>
70942 #else
70943 # include <assert.h>
70944 #endif
70946 #undef $ac_func
70948 /* Override any gcc2 internal prototype to avoid an error. */
70949 #ifdef __cplusplus
70950 extern "C"
70952 #endif
70953 /* We use char because int might match the return type of a gcc2
70954 builtin and then its argument prototype would still apply. */
70955 char $ac_func ();
70956 /* The GNU C library defines this for functions which it implements
70957 to always fail with ENOSYS. Some functions are actually named
70958 something starting with __ and the normal name is an alias. */
70959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70960 choke me
70961 #else
70962 char (*f) () = $ac_func;
70963 #endif
70964 #ifdef __cplusplus
70966 #endif
70969 main ()
70971 return f != $ac_func;
70973 return 0;
70975 _ACEOF
70976 rm -f conftest.$ac_objext conftest$ac_exeext
70977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70978 (eval $ac_link) 2>conftest.er1
70979 ac_status=$?
70980 grep -v '^ *+' conftest.er1 >conftest.err
70981 rm -f conftest.er1
70982 cat conftest.err >&5
70983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70984 (exit $ac_status); } &&
70985 { ac_try='test -z "$ac_c_werror_flag"
70986 || test ! -s conftest.err'
70987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70988 (eval $ac_try) 2>&5
70989 ac_status=$?
70990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70991 (exit $ac_status); }; } &&
70992 { ac_try='test -s conftest$ac_exeext'
70993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70994 (eval $ac_try) 2>&5
70995 ac_status=$?
70996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70997 (exit $ac_status); }; }; then
70998 eval "$as_ac_var=yes"
70999 else
71000 echo "$as_me: failed program was:" >&5
71001 sed 's/^/| /' conftest.$ac_ext >&5
71003 eval "$as_ac_var=no"
71005 rm -f conftest.err conftest.$ac_objext \
71006 conftest$ac_exeext conftest.$ac_ext
71008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71010 if test `eval echo '${'$as_ac_var'}'` = yes; then
71011 cat >>confdefs.h <<_ACEOF
71012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71013 _ACEOF
71016 done
71026 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
71027 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
71028 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
71029 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
71030 echo $ECHO_N "(cached) $ECHO_C" >&6
71031 else
71035 ac_ext=cc
71036 ac_cpp='$CXXCPP $CPPFLAGS'
71037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71041 cat >conftest.$ac_ext <<_ACEOF
71042 /* confdefs.h. */
71043 _ACEOF
71044 cat confdefs.h >>conftest.$ac_ext
71045 cat >>conftest.$ac_ext <<_ACEOF
71046 /* end confdefs.h. */
71047 #include <math.h>
71049 main ()
71051 fmodf(0, 0);
71053 return 0;
71055 _ACEOF
71056 rm -f conftest.$ac_objext
71057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71058 (eval $ac_compile) 2>conftest.er1
71059 ac_status=$?
71060 grep -v '^ *+' conftest.er1 >conftest.err
71061 rm -f conftest.er1
71062 cat conftest.err >&5
71063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71064 (exit $ac_status); } &&
71065 { ac_try='test -z "$ac_cxx_werror_flag"
71066 || test ! -s conftest.err'
71067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71068 (eval $ac_try) 2>&5
71069 ac_status=$?
71070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71071 (exit $ac_status); }; } &&
71072 { ac_try='test -s conftest.$ac_objext'
71073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71074 (eval $ac_try) 2>&5
71075 ac_status=$?
71076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71077 (exit $ac_status); }; }; then
71078 glibcxx_cv_func_fmodf_use=yes
71079 else
71080 echo "$as_me: failed program was:" >&5
71081 sed 's/^/| /' conftest.$ac_ext >&5
71083 glibcxx_cv_func_fmodf_use=no
71085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71086 ac_ext=c
71087 ac_cpp='$CPP $CPPFLAGS'
71088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71096 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
71097 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
71099 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
71101 for ac_func in fmodf
71103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71104 echo "$as_me:$LINENO: checking for $ac_func" >&5
71105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71106 if eval "test \"\${$as_ac_var+set}\" = set"; then
71107 echo $ECHO_N "(cached) $ECHO_C" >&6
71108 else
71109 if test x$gcc_no_link = xyes; then
71110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71112 { (exit 1); exit 1; }; }
71114 cat >conftest.$ac_ext <<_ACEOF
71115 /* confdefs.h. */
71116 _ACEOF
71117 cat confdefs.h >>conftest.$ac_ext
71118 cat >>conftest.$ac_ext <<_ACEOF
71119 /* end confdefs.h. */
71120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71122 #define $ac_func innocuous_$ac_func
71124 /* System header to define __stub macros and hopefully few prototypes,
71125 which can conflict with char $ac_func (); below.
71126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71127 <limits.h> exists even on freestanding compilers. */
71129 #ifdef __STDC__
71130 # include <limits.h>
71131 #else
71132 # include <assert.h>
71133 #endif
71135 #undef $ac_func
71137 /* Override any gcc2 internal prototype to avoid an error. */
71138 #ifdef __cplusplus
71139 extern "C"
71141 #endif
71142 /* We use char because int might match the return type of a gcc2
71143 builtin and then its argument prototype would still apply. */
71144 char $ac_func ();
71145 /* The GNU C library defines this for functions which it implements
71146 to always fail with ENOSYS. Some functions are actually named
71147 something starting with __ and the normal name is an alias. */
71148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71149 choke me
71150 #else
71151 char (*f) () = $ac_func;
71152 #endif
71153 #ifdef __cplusplus
71155 #endif
71158 main ()
71160 return f != $ac_func;
71162 return 0;
71164 _ACEOF
71165 rm -f conftest.$ac_objext conftest$ac_exeext
71166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71167 (eval $ac_link) 2>conftest.er1
71168 ac_status=$?
71169 grep -v '^ *+' conftest.er1 >conftest.err
71170 rm -f conftest.er1
71171 cat conftest.err >&5
71172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71173 (exit $ac_status); } &&
71174 { ac_try='test -z "$ac_c_werror_flag"
71175 || test ! -s conftest.err'
71176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71177 (eval $ac_try) 2>&5
71178 ac_status=$?
71179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71180 (exit $ac_status); }; } &&
71181 { ac_try='test -s conftest$ac_exeext'
71182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71183 (eval $ac_try) 2>&5
71184 ac_status=$?
71185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71186 (exit $ac_status); }; }; then
71187 eval "$as_ac_var=yes"
71188 else
71189 echo "$as_me: failed program was:" >&5
71190 sed 's/^/| /' conftest.$ac_ext >&5
71192 eval "$as_ac_var=no"
71194 rm -f conftest.err conftest.$ac_objext \
71195 conftest$ac_exeext conftest.$ac_ext
71197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71199 if test `eval echo '${'$as_ac_var'}'` = yes; then
71200 cat >>confdefs.h <<_ACEOF
71201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71202 _ACEOF
71205 done
71207 else
71209 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
71210 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
71211 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
71212 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
71213 echo $ECHO_N "(cached) $ECHO_C" >&6
71214 else
71218 ac_ext=cc
71219 ac_cpp='$CXXCPP $CPPFLAGS'
71220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71224 cat >conftest.$ac_ext <<_ACEOF
71225 /* confdefs.h. */
71226 _ACEOF
71227 cat confdefs.h >>conftest.$ac_ext
71228 cat >>conftest.$ac_ext <<_ACEOF
71229 /* end confdefs.h. */
71230 #include <math.h>
71232 main ()
71234 _fmodf(0, 0);
71236 return 0;
71238 _ACEOF
71239 rm -f conftest.$ac_objext
71240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71241 (eval $ac_compile) 2>conftest.er1
71242 ac_status=$?
71243 grep -v '^ *+' conftest.er1 >conftest.err
71244 rm -f conftest.er1
71245 cat conftest.err >&5
71246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71247 (exit $ac_status); } &&
71248 { ac_try='test -z "$ac_cxx_werror_flag"
71249 || test ! -s conftest.err'
71250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71251 (eval $ac_try) 2>&5
71252 ac_status=$?
71253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71254 (exit $ac_status); }; } &&
71255 { ac_try='test -s conftest.$ac_objext'
71256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71257 (eval $ac_try) 2>&5
71258 ac_status=$?
71259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71260 (exit $ac_status); }; }; then
71261 glibcxx_cv_func__fmodf_use=yes
71262 else
71263 echo "$as_me: failed program was:" >&5
71264 sed 's/^/| /' conftest.$ac_ext >&5
71266 glibcxx_cv_func__fmodf_use=no
71268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71269 ac_ext=c
71270 ac_cpp='$CPP $CPPFLAGS'
71271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71279 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
71280 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
71282 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
71284 for ac_func in _fmodf
71286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71287 echo "$as_me:$LINENO: checking for $ac_func" >&5
71288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71289 if eval "test \"\${$as_ac_var+set}\" = set"; then
71290 echo $ECHO_N "(cached) $ECHO_C" >&6
71291 else
71292 if test x$gcc_no_link = xyes; then
71293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71295 { (exit 1); exit 1; }; }
71297 cat >conftest.$ac_ext <<_ACEOF
71298 /* confdefs.h. */
71299 _ACEOF
71300 cat confdefs.h >>conftest.$ac_ext
71301 cat >>conftest.$ac_ext <<_ACEOF
71302 /* end confdefs.h. */
71303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71305 #define $ac_func innocuous_$ac_func
71307 /* System header to define __stub macros and hopefully few prototypes,
71308 which can conflict with char $ac_func (); below.
71309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71310 <limits.h> exists even on freestanding compilers. */
71312 #ifdef __STDC__
71313 # include <limits.h>
71314 #else
71315 # include <assert.h>
71316 #endif
71318 #undef $ac_func
71320 /* Override any gcc2 internal prototype to avoid an error. */
71321 #ifdef __cplusplus
71322 extern "C"
71324 #endif
71325 /* We use char because int might match the return type of a gcc2
71326 builtin and then its argument prototype would still apply. */
71327 char $ac_func ();
71328 /* The GNU C library defines this for functions which it implements
71329 to always fail with ENOSYS. Some functions are actually named
71330 something starting with __ and the normal name is an alias. */
71331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71332 choke me
71333 #else
71334 char (*f) () = $ac_func;
71335 #endif
71336 #ifdef __cplusplus
71338 #endif
71341 main ()
71343 return f != $ac_func;
71345 return 0;
71347 _ACEOF
71348 rm -f conftest.$ac_objext conftest$ac_exeext
71349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71350 (eval $ac_link) 2>conftest.er1
71351 ac_status=$?
71352 grep -v '^ *+' conftest.er1 >conftest.err
71353 rm -f conftest.er1
71354 cat conftest.err >&5
71355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71356 (exit $ac_status); } &&
71357 { ac_try='test -z "$ac_c_werror_flag"
71358 || test ! -s conftest.err'
71359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71360 (eval $ac_try) 2>&5
71361 ac_status=$?
71362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71363 (exit $ac_status); }; } &&
71364 { ac_try='test -s conftest$ac_exeext'
71365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71366 (eval $ac_try) 2>&5
71367 ac_status=$?
71368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71369 (exit $ac_status); }; }; then
71370 eval "$as_ac_var=yes"
71371 else
71372 echo "$as_me: failed program was:" >&5
71373 sed 's/^/| /' conftest.$ac_ext >&5
71375 eval "$as_ac_var=no"
71377 rm -f conftest.err conftest.$ac_objext \
71378 conftest$ac_exeext conftest.$ac_ext
71380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71382 if test `eval echo '${'$as_ac_var'}'` = yes; then
71383 cat >>confdefs.h <<_ACEOF
71384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71385 _ACEOF
71388 done
71398 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
71399 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
71400 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
71401 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
71402 echo $ECHO_N "(cached) $ECHO_C" >&6
71403 else
71407 ac_ext=cc
71408 ac_cpp='$CXXCPP $CPPFLAGS'
71409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71413 cat >conftest.$ac_ext <<_ACEOF
71414 /* confdefs.h. */
71415 _ACEOF
71416 cat confdefs.h >>conftest.$ac_ext
71417 cat >>conftest.$ac_ext <<_ACEOF
71418 /* end confdefs.h. */
71419 #include <math.h>
71421 main ()
71423 frexpf(0, 0);
71425 return 0;
71427 _ACEOF
71428 rm -f conftest.$ac_objext
71429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71430 (eval $ac_compile) 2>conftest.er1
71431 ac_status=$?
71432 grep -v '^ *+' conftest.er1 >conftest.err
71433 rm -f conftest.er1
71434 cat conftest.err >&5
71435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71436 (exit $ac_status); } &&
71437 { ac_try='test -z "$ac_cxx_werror_flag"
71438 || test ! -s conftest.err'
71439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71440 (eval $ac_try) 2>&5
71441 ac_status=$?
71442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71443 (exit $ac_status); }; } &&
71444 { ac_try='test -s conftest.$ac_objext'
71445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71446 (eval $ac_try) 2>&5
71447 ac_status=$?
71448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71449 (exit $ac_status); }; }; then
71450 glibcxx_cv_func_frexpf_use=yes
71451 else
71452 echo "$as_me: failed program was:" >&5
71453 sed 's/^/| /' conftest.$ac_ext >&5
71455 glibcxx_cv_func_frexpf_use=no
71457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71458 ac_ext=c
71459 ac_cpp='$CPP $CPPFLAGS'
71460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71468 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
71469 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
71471 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
71473 for ac_func in frexpf
71475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71476 echo "$as_me:$LINENO: checking for $ac_func" >&5
71477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71478 if eval "test \"\${$as_ac_var+set}\" = set"; then
71479 echo $ECHO_N "(cached) $ECHO_C" >&6
71480 else
71481 if test x$gcc_no_link = xyes; then
71482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71484 { (exit 1); exit 1; }; }
71486 cat >conftest.$ac_ext <<_ACEOF
71487 /* confdefs.h. */
71488 _ACEOF
71489 cat confdefs.h >>conftest.$ac_ext
71490 cat >>conftest.$ac_ext <<_ACEOF
71491 /* end confdefs.h. */
71492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71494 #define $ac_func innocuous_$ac_func
71496 /* System header to define __stub macros and hopefully few prototypes,
71497 which can conflict with char $ac_func (); below.
71498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71499 <limits.h> exists even on freestanding compilers. */
71501 #ifdef __STDC__
71502 # include <limits.h>
71503 #else
71504 # include <assert.h>
71505 #endif
71507 #undef $ac_func
71509 /* Override any gcc2 internal prototype to avoid an error. */
71510 #ifdef __cplusplus
71511 extern "C"
71513 #endif
71514 /* We use char because int might match the return type of a gcc2
71515 builtin and then its argument prototype would still apply. */
71516 char $ac_func ();
71517 /* The GNU C library defines this for functions which it implements
71518 to always fail with ENOSYS. Some functions are actually named
71519 something starting with __ and the normal name is an alias. */
71520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71521 choke me
71522 #else
71523 char (*f) () = $ac_func;
71524 #endif
71525 #ifdef __cplusplus
71527 #endif
71530 main ()
71532 return f != $ac_func;
71534 return 0;
71536 _ACEOF
71537 rm -f conftest.$ac_objext conftest$ac_exeext
71538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71539 (eval $ac_link) 2>conftest.er1
71540 ac_status=$?
71541 grep -v '^ *+' conftest.er1 >conftest.err
71542 rm -f conftest.er1
71543 cat conftest.err >&5
71544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71545 (exit $ac_status); } &&
71546 { ac_try='test -z "$ac_c_werror_flag"
71547 || test ! -s conftest.err'
71548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71549 (eval $ac_try) 2>&5
71550 ac_status=$?
71551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71552 (exit $ac_status); }; } &&
71553 { ac_try='test -s conftest$ac_exeext'
71554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71555 (eval $ac_try) 2>&5
71556 ac_status=$?
71557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71558 (exit $ac_status); }; }; then
71559 eval "$as_ac_var=yes"
71560 else
71561 echo "$as_me: failed program was:" >&5
71562 sed 's/^/| /' conftest.$ac_ext >&5
71564 eval "$as_ac_var=no"
71566 rm -f conftest.err conftest.$ac_objext \
71567 conftest$ac_exeext conftest.$ac_ext
71569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71571 if test `eval echo '${'$as_ac_var'}'` = yes; then
71572 cat >>confdefs.h <<_ACEOF
71573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71574 _ACEOF
71577 done
71579 else
71581 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
71582 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
71583 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
71584 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
71585 echo $ECHO_N "(cached) $ECHO_C" >&6
71586 else
71590 ac_ext=cc
71591 ac_cpp='$CXXCPP $CPPFLAGS'
71592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71596 cat >conftest.$ac_ext <<_ACEOF
71597 /* confdefs.h. */
71598 _ACEOF
71599 cat confdefs.h >>conftest.$ac_ext
71600 cat >>conftest.$ac_ext <<_ACEOF
71601 /* end confdefs.h. */
71602 #include <math.h>
71604 main ()
71606 _frexpf(0, 0);
71608 return 0;
71610 _ACEOF
71611 rm -f conftest.$ac_objext
71612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71613 (eval $ac_compile) 2>conftest.er1
71614 ac_status=$?
71615 grep -v '^ *+' conftest.er1 >conftest.err
71616 rm -f conftest.er1
71617 cat conftest.err >&5
71618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71619 (exit $ac_status); } &&
71620 { ac_try='test -z "$ac_cxx_werror_flag"
71621 || test ! -s conftest.err'
71622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71623 (eval $ac_try) 2>&5
71624 ac_status=$?
71625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71626 (exit $ac_status); }; } &&
71627 { ac_try='test -s conftest.$ac_objext'
71628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71629 (eval $ac_try) 2>&5
71630 ac_status=$?
71631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71632 (exit $ac_status); }; }; then
71633 glibcxx_cv_func__frexpf_use=yes
71634 else
71635 echo "$as_me: failed program was:" >&5
71636 sed 's/^/| /' conftest.$ac_ext >&5
71638 glibcxx_cv_func__frexpf_use=no
71640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71641 ac_ext=c
71642 ac_cpp='$CPP $CPPFLAGS'
71643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71651 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
71652 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
71654 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
71656 for ac_func in _frexpf
71658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71659 echo "$as_me:$LINENO: checking for $ac_func" >&5
71660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71661 if eval "test \"\${$as_ac_var+set}\" = set"; then
71662 echo $ECHO_N "(cached) $ECHO_C" >&6
71663 else
71664 if test x$gcc_no_link = xyes; then
71665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71667 { (exit 1); exit 1; }; }
71669 cat >conftest.$ac_ext <<_ACEOF
71670 /* confdefs.h. */
71671 _ACEOF
71672 cat confdefs.h >>conftest.$ac_ext
71673 cat >>conftest.$ac_ext <<_ACEOF
71674 /* end confdefs.h. */
71675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71677 #define $ac_func innocuous_$ac_func
71679 /* System header to define __stub macros and hopefully few prototypes,
71680 which can conflict with char $ac_func (); below.
71681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71682 <limits.h> exists even on freestanding compilers. */
71684 #ifdef __STDC__
71685 # include <limits.h>
71686 #else
71687 # include <assert.h>
71688 #endif
71690 #undef $ac_func
71692 /* Override any gcc2 internal prototype to avoid an error. */
71693 #ifdef __cplusplus
71694 extern "C"
71696 #endif
71697 /* We use char because int might match the return type of a gcc2
71698 builtin and then its argument prototype would still apply. */
71699 char $ac_func ();
71700 /* The GNU C library defines this for functions which it implements
71701 to always fail with ENOSYS. Some functions are actually named
71702 something starting with __ and the normal name is an alias. */
71703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71704 choke me
71705 #else
71706 char (*f) () = $ac_func;
71707 #endif
71708 #ifdef __cplusplus
71710 #endif
71713 main ()
71715 return f != $ac_func;
71717 return 0;
71719 _ACEOF
71720 rm -f conftest.$ac_objext conftest$ac_exeext
71721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71722 (eval $ac_link) 2>conftest.er1
71723 ac_status=$?
71724 grep -v '^ *+' conftest.er1 >conftest.err
71725 rm -f conftest.er1
71726 cat conftest.err >&5
71727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71728 (exit $ac_status); } &&
71729 { ac_try='test -z "$ac_c_werror_flag"
71730 || test ! -s conftest.err'
71731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71732 (eval $ac_try) 2>&5
71733 ac_status=$?
71734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71735 (exit $ac_status); }; } &&
71736 { ac_try='test -s conftest$ac_exeext'
71737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71738 (eval $ac_try) 2>&5
71739 ac_status=$?
71740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71741 (exit $ac_status); }; }; then
71742 eval "$as_ac_var=yes"
71743 else
71744 echo "$as_me: failed program was:" >&5
71745 sed 's/^/| /' conftest.$ac_ext >&5
71747 eval "$as_ac_var=no"
71749 rm -f conftest.err conftest.$ac_objext \
71750 conftest$ac_exeext conftest.$ac_ext
71752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71754 if test `eval echo '${'$as_ac_var'}'` = yes; then
71755 cat >>confdefs.h <<_ACEOF
71756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71757 _ACEOF
71760 done
71770 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
71771 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
71772 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
71773 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
71774 echo $ECHO_N "(cached) $ECHO_C" >&6
71775 else
71779 ac_ext=cc
71780 ac_cpp='$CXXCPP $CPPFLAGS'
71781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71785 cat >conftest.$ac_ext <<_ACEOF
71786 /* confdefs.h. */
71787 _ACEOF
71788 cat confdefs.h >>conftest.$ac_ext
71789 cat >>conftest.$ac_ext <<_ACEOF
71790 /* end confdefs.h. */
71791 #include <math.h>
71793 main ()
71795 hypotf(0, 0);
71797 return 0;
71799 _ACEOF
71800 rm -f conftest.$ac_objext
71801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71802 (eval $ac_compile) 2>conftest.er1
71803 ac_status=$?
71804 grep -v '^ *+' conftest.er1 >conftest.err
71805 rm -f conftest.er1
71806 cat conftest.err >&5
71807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71808 (exit $ac_status); } &&
71809 { ac_try='test -z "$ac_cxx_werror_flag"
71810 || test ! -s conftest.err'
71811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71812 (eval $ac_try) 2>&5
71813 ac_status=$?
71814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71815 (exit $ac_status); }; } &&
71816 { ac_try='test -s conftest.$ac_objext'
71817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71818 (eval $ac_try) 2>&5
71819 ac_status=$?
71820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71821 (exit $ac_status); }; }; then
71822 glibcxx_cv_func_hypotf_use=yes
71823 else
71824 echo "$as_me: failed program was:" >&5
71825 sed 's/^/| /' conftest.$ac_ext >&5
71827 glibcxx_cv_func_hypotf_use=no
71829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71830 ac_ext=c
71831 ac_cpp='$CPP $CPPFLAGS'
71832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71840 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
71841 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
71843 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
71845 for ac_func in hypotf
71847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71848 echo "$as_me:$LINENO: checking for $ac_func" >&5
71849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71850 if eval "test \"\${$as_ac_var+set}\" = set"; then
71851 echo $ECHO_N "(cached) $ECHO_C" >&6
71852 else
71853 if test x$gcc_no_link = xyes; then
71854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71856 { (exit 1); exit 1; }; }
71858 cat >conftest.$ac_ext <<_ACEOF
71859 /* confdefs.h. */
71860 _ACEOF
71861 cat confdefs.h >>conftest.$ac_ext
71862 cat >>conftest.$ac_ext <<_ACEOF
71863 /* end confdefs.h. */
71864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71866 #define $ac_func innocuous_$ac_func
71868 /* System header to define __stub macros and hopefully few prototypes,
71869 which can conflict with char $ac_func (); below.
71870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71871 <limits.h> exists even on freestanding compilers. */
71873 #ifdef __STDC__
71874 # include <limits.h>
71875 #else
71876 # include <assert.h>
71877 #endif
71879 #undef $ac_func
71881 /* Override any gcc2 internal prototype to avoid an error. */
71882 #ifdef __cplusplus
71883 extern "C"
71885 #endif
71886 /* We use char because int might match the return type of a gcc2
71887 builtin and then its argument prototype would still apply. */
71888 char $ac_func ();
71889 /* The GNU C library defines this for functions which it implements
71890 to always fail with ENOSYS. Some functions are actually named
71891 something starting with __ and the normal name is an alias. */
71892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71893 choke me
71894 #else
71895 char (*f) () = $ac_func;
71896 #endif
71897 #ifdef __cplusplus
71899 #endif
71902 main ()
71904 return f != $ac_func;
71906 return 0;
71908 _ACEOF
71909 rm -f conftest.$ac_objext conftest$ac_exeext
71910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71911 (eval $ac_link) 2>conftest.er1
71912 ac_status=$?
71913 grep -v '^ *+' conftest.er1 >conftest.err
71914 rm -f conftest.er1
71915 cat conftest.err >&5
71916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71917 (exit $ac_status); } &&
71918 { ac_try='test -z "$ac_c_werror_flag"
71919 || test ! -s conftest.err'
71920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71921 (eval $ac_try) 2>&5
71922 ac_status=$?
71923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71924 (exit $ac_status); }; } &&
71925 { ac_try='test -s conftest$ac_exeext'
71926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71927 (eval $ac_try) 2>&5
71928 ac_status=$?
71929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71930 (exit $ac_status); }; }; then
71931 eval "$as_ac_var=yes"
71932 else
71933 echo "$as_me: failed program was:" >&5
71934 sed 's/^/| /' conftest.$ac_ext >&5
71936 eval "$as_ac_var=no"
71938 rm -f conftest.err conftest.$ac_objext \
71939 conftest$ac_exeext conftest.$ac_ext
71941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71943 if test `eval echo '${'$as_ac_var'}'` = yes; then
71944 cat >>confdefs.h <<_ACEOF
71945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71946 _ACEOF
71949 done
71951 else
71953 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
71954 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
71955 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
71956 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
71957 echo $ECHO_N "(cached) $ECHO_C" >&6
71958 else
71962 ac_ext=cc
71963 ac_cpp='$CXXCPP $CPPFLAGS'
71964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71968 cat >conftest.$ac_ext <<_ACEOF
71969 /* confdefs.h. */
71970 _ACEOF
71971 cat confdefs.h >>conftest.$ac_ext
71972 cat >>conftest.$ac_ext <<_ACEOF
71973 /* end confdefs.h. */
71974 #include <math.h>
71976 main ()
71978 _hypotf(0, 0);
71980 return 0;
71982 _ACEOF
71983 rm -f conftest.$ac_objext
71984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71985 (eval $ac_compile) 2>conftest.er1
71986 ac_status=$?
71987 grep -v '^ *+' conftest.er1 >conftest.err
71988 rm -f conftest.er1
71989 cat conftest.err >&5
71990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71991 (exit $ac_status); } &&
71992 { ac_try='test -z "$ac_cxx_werror_flag"
71993 || test ! -s conftest.err'
71994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71995 (eval $ac_try) 2>&5
71996 ac_status=$?
71997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71998 (exit $ac_status); }; } &&
71999 { ac_try='test -s conftest.$ac_objext'
72000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72001 (eval $ac_try) 2>&5
72002 ac_status=$?
72003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72004 (exit $ac_status); }; }; then
72005 glibcxx_cv_func__hypotf_use=yes
72006 else
72007 echo "$as_me: failed program was:" >&5
72008 sed 's/^/| /' conftest.$ac_ext >&5
72010 glibcxx_cv_func__hypotf_use=no
72012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72013 ac_ext=c
72014 ac_cpp='$CPP $CPPFLAGS'
72015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72023 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
72024 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
72026 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
72028 for ac_func in _hypotf
72030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72031 echo "$as_me:$LINENO: checking for $ac_func" >&5
72032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72033 if eval "test \"\${$as_ac_var+set}\" = set"; then
72034 echo $ECHO_N "(cached) $ECHO_C" >&6
72035 else
72036 if test x$gcc_no_link = xyes; then
72037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72039 { (exit 1); exit 1; }; }
72041 cat >conftest.$ac_ext <<_ACEOF
72042 /* confdefs.h. */
72043 _ACEOF
72044 cat confdefs.h >>conftest.$ac_ext
72045 cat >>conftest.$ac_ext <<_ACEOF
72046 /* end confdefs.h. */
72047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72049 #define $ac_func innocuous_$ac_func
72051 /* System header to define __stub macros and hopefully few prototypes,
72052 which can conflict with char $ac_func (); below.
72053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72054 <limits.h> exists even on freestanding compilers. */
72056 #ifdef __STDC__
72057 # include <limits.h>
72058 #else
72059 # include <assert.h>
72060 #endif
72062 #undef $ac_func
72064 /* Override any gcc2 internal prototype to avoid an error. */
72065 #ifdef __cplusplus
72066 extern "C"
72068 #endif
72069 /* We use char because int might match the return type of a gcc2
72070 builtin and then its argument prototype would still apply. */
72071 char $ac_func ();
72072 /* The GNU C library defines this for functions which it implements
72073 to always fail with ENOSYS. Some functions are actually named
72074 something starting with __ and the normal name is an alias. */
72075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72076 choke me
72077 #else
72078 char (*f) () = $ac_func;
72079 #endif
72080 #ifdef __cplusplus
72082 #endif
72085 main ()
72087 return f != $ac_func;
72089 return 0;
72091 _ACEOF
72092 rm -f conftest.$ac_objext conftest$ac_exeext
72093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72094 (eval $ac_link) 2>conftest.er1
72095 ac_status=$?
72096 grep -v '^ *+' conftest.er1 >conftest.err
72097 rm -f conftest.er1
72098 cat conftest.err >&5
72099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72100 (exit $ac_status); } &&
72101 { ac_try='test -z "$ac_c_werror_flag"
72102 || test ! -s conftest.err'
72103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72104 (eval $ac_try) 2>&5
72105 ac_status=$?
72106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72107 (exit $ac_status); }; } &&
72108 { ac_try='test -s conftest$ac_exeext'
72109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72110 (eval $ac_try) 2>&5
72111 ac_status=$?
72112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72113 (exit $ac_status); }; }; then
72114 eval "$as_ac_var=yes"
72115 else
72116 echo "$as_me: failed program was:" >&5
72117 sed 's/^/| /' conftest.$ac_ext >&5
72119 eval "$as_ac_var=no"
72121 rm -f conftest.err conftest.$ac_objext \
72122 conftest$ac_exeext conftest.$ac_ext
72124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72126 if test `eval echo '${'$as_ac_var'}'` = yes; then
72127 cat >>confdefs.h <<_ACEOF
72128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72129 _ACEOF
72132 done
72142 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
72143 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
72144 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
72145 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
72146 echo $ECHO_N "(cached) $ECHO_C" >&6
72147 else
72151 ac_ext=cc
72152 ac_cpp='$CXXCPP $CPPFLAGS'
72153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72157 cat >conftest.$ac_ext <<_ACEOF
72158 /* confdefs.h. */
72159 _ACEOF
72160 cat confdefs.h >>conftest.$ac_ext
72161 cat >>conftest.$ac_ext <<_ACEOF
72162 /* end confdefs.h. */
72163 #include <math.h>
72165 main ()
72167 ldexpf(0, 0);
72169 return 0;
72171 _ACEOF
72172 rm -f conftest.$ac_objext
72173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72174 (eval $ac_compile) 2>conftest.er1
72175 ac_status=$?
72176 grep -v '^ *+' conftest.er1 >conftest.err
72177 rm -f conftest.er1
72178 cat conftest.err >&5
72179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72180 (exit $ac_status); } &&
72181 { ac_try='test -z "$ac_cxx_werror_flag"
72182 || test ! -s conftest.err'
72183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72184 (eval $ac_try) 2>&5
72185 ac_status=$?
72186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72187 (exit $ac_status); }; } &&
72188 { ac_try='test -s conftest.$ac_objext'
72189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72190 (eval $ac_try) 2>&5
72191 ac_status=$?
72192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72193 (exit $ac_status); }; }; then
72194 glibcxx_cv_func_ldexpf_use=yes
72195 else
72196 echo "$as_me: failed program was:" >&5
72197 sed 's/^/| /' conftest.$ac_ext >&5
72199 glibcxx_cv_func_ldexpf_use=no
72201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72202 ac_ext=c
72203 ac_cpp='$CPP $CPPFLAGS'
72204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72212 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
72213 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
72215 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
72217 for ac_func in ldexpf
72219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72220 echo "$as_me:$LINENO: checking for $ac_func" >&5
72221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72222 if eval "test \"\${$as_ac_var+set}\" = set"; then
72223 echo $ECHO_N "(cached) $ECHO_C" >&6
72224 else
72225 if test x$gcc_no_link = xyes; then
72226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72228 { (exit 1); exit 1; }; }
72230 cat >conftest.$ac_ext <<_ACEOF
72231 /* confdefs.h. */
72232 _ACEOF
72233 cat confdefs.h >>conftest.$ac_ext
72234 cat >>conftest.$ac_ext <<_ACEOF
72235 /* end confdefs.h. */
72236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72238 #define $ac_func innocuous_$ac_func
72240 /* System header to define __stub macros and hopefully few prototypes,
72241 which can conflict with char $ac_func (); below.
72242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72243 <limits.h> exists even on freestanding compilers. */
72245 #ifdef __STDC__
72246 # include <limits.h>
72247 #else
72248 # include <assert.h>
72249 #endif
72251 #undef $ac_func
72253 /* Override any gcc2 internal prototype to avoid an error. */
72254 #ifdef __cplusplus
72255 extern "C"
72257 #endif
72258 /* We use char because int might match the return type of a gcc2
72259 builtin and then its argument prototype would still apply. */
72260 char $ac_func ();
72261 /* The GNU C library defines this for functions which it implements
72262 to always fail with ENOSYS. Some functions are actually named
72263 something starting with __ and the normal name is an alias. */
72264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72265 choke me
72266 #else
72267 char (*f) () = $ac_func;
72268 #endif
72269 #ifdef __cplusplus
72271 #endif
72274 main ()
72276 return f != $ac_func;
72278 return 0;
72280 _ACEOF
72281 rm -f conftest.$ac_objext conftest$ac_exeext
72282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72283 (eval $ac_link) 2>conftest.er1
72284 ac_status=$?
72285 grep -v '^ *+' conftest.er1 >conftest.err
72286 rm -f conftest.er1
72287 cat conftest.err >&5
72288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72289 (exit $ac_status); } &&
72290 { ac_try='test -z "$ac_c_werror_flag"
72291 || test ! -s conftest.err'
72292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72293 (eval $ac_try) 2>&5
72294 ac_status=$?
72295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72296 (exit $ac_status); }; } &&
72297 { ac_try='test -s conftest$ac_exeext'
72298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72299 (eval $ac_try) 2>&5
72300 ac_status=$?
72301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72302 (exit $ac_status); }; }; then
72303 eval "$as_ac_var=yes"
72304 else
72305 echo "$as_me: failed program was:" >&5
72306 sed 's/^/| /' conftest.$ac_ext >&5
72308 eval "$as_ac_var=no"
72310 rm -f conftest.err conftest.$ac_objext \
72311 conftest$ac_exeext conftest.$ac_ext
72313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72315 if test `eval echo '${'$as_ac_var'}'` = yes; then
72316 cat >>confdefs.h <<_ACEOF
72317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72318 _ACEOF
72321 done
72323 else
72325 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
72326 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
72327 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
72328 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
72329 echo $ECHO_N "(cached) $ECHO_C" >&6
72330 else
72334 ac_ext=cc
72335 ac_cpp='$CXXCPP $CPPFLAGS'
72336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72340 cat >conftest.$ac_ext <<_ACEOF
72341 /* confdefs.h. */
72342 _ACEOF
72343 cat confdefs.h >>conftest.$ac_ext
72344 cat >>conftest.$ac_ext <<_ACEOF
72345 /* end confdefs.h. */
72346 #include <math.h>
72348 main ()
72350 _ldexpf(0, 0);
72352 return 0;
72354 _ACEOF
72355 rm -f conftest.$ac_objext
72356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72357 (eval $ac_compile) 2>conftest.er1
72358 ac_status=$?
72359 grep -v '^ *+' conftest.er1 >conftest.err
72360 rm -f conftest.er1
72361 cat conftest.err >&5
72362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72363 (exit $ac_status); } &&
72364 { ac_try='test -z "$ac_cxx_werror_flag"
72365 || test ! -s conftest.err'
72366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72367 (eval $ac_try) 2>&5
72368 ac_status=$?
72369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72370 (exit $ac_status); }; } &&
72371 { ac_try='test -s conftest.$ac_objext'
72372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72373 (eval $ac_try) 2>&5
72374 ac_status=$?
72375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72376 (exit $ac_status); }; }; then
72377 glibcxx_cv_func__ldexpf_use=yes
72378 else
72379 echo "$as_me: failed program was:" >&5
72380 sed 's/^/| /' conftest.$ac_ext >&5
72382 glibcxx_cv_func__ldexpf_use=no
72384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72385 ac_ext=c
72386 ac_cpp='$CPP $CPPFLAGS'
72387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72395 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
72396 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
72398 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
72400 for ac_func in _ldexpf
72402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72403 echo "$as_me:$LINENO: checking for $ac_func" >&5
72404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72405 if eval "test \"\${$as_ac_var+set}\" = set"; then
72406 echo $ECHO_N "(cached) $ECHO_C" >&6
72407 else
72408 if test x$gcc_no_link = xyes; then
72409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72411 { (exit 1); exit 1; }; }
72413 cat >conftest.$ac_ext <<_ACEOF
72414 /* confdefs.h. */
72415 _ACEOF
72416 cat confdefs.h >>conftest.$ac_ext
72417 cat >>conftest.$ac_ext <<_ACEOF
72418 /* end confdefs.h. */
72419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72421 #define $ac_func innocuous_$ac_func
72423 /* System header to define __stub macros and hopefully few prototypes,
72424 which can conflict with char $ac_func (); below.
72425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72426 <limits.h> exists even on freestanding compilers. */
72428 #ifdef __STDC__
72429 # include <limits.h>
72430 #else
72431 # include <assert.h>
72432 #endif
72434 #undef $ac_func
72436 /* Override any gcc2 internal prototype to avoid an error. */
72437 #ifdef __cplusplus
72438 extern "C"
72440 #endif
72441 /* We use char because int might match the return type of a gcc2
72442 builtin and then its argument prototype would still apply. */
72443 char $ac_func ();
72444 /* The GNU C library defines this for functions which it implements
72445 to always fail with ENOSYS. Some functions are actually named
72446 something starting with __ and the normal name is an alias. */
72447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72448 choke me
72449 #else
72450 char (*f) () = $ac_func;
72451 #endif
72452 #ifdef __cplusplus
72454 #endif
72457 main ()
72459 return f != $ac_func;
72461 return 0;
72463 _ACEOF
72464 rm -f conftest.$ac_objext conftest$ac_exeext
72465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72466 (eval $ac_link) 2>conftest.er1
72467 ac_status=$?
72468 grep -v '^ *+' conftest.er1 >conftest.err
72469 rm -f conftest.er1
72470 cat conftest.err >&5
72471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72472 (exit $ac_status); } &&
72473 { ac_try='test -z "$ac_c_werror_flag"
72474 || test ! -s conftest.err'
72475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72476 (eval $ac_try) 2>&5
72477 ac_status=$?
72478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72479 (exit $ac_status); }; } &&
72480 { ac_try='test -s conftest$ac_exeext'
72481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72482 (eval $ac_try) 2>&5
72483 ac_status=$?
72484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72485 (exit $ac_status); }; }; then
72486 eval "$as_ac_var=yes"
72487 else
72488 echo "$as_me: failed program was:" >&5
72489 sed 's/^/| /' conftest.$ac_ext >&5
72491 eval "$as_ac_var=no"
72493 rm -f conftest.err conftest.$ac_objext \
72494 conftest$ac_exeext conftest.$ac_ext
72496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72498 if test `eval echo '${'$as_ac_var'}'` = yes; then
72499 cat >>confdefs.h <<_ACEOF
72500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72501 _ACEOF
72504 done
72514 echo "$as_me:$LINENO: checking for logf declaration" >&5
72515 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
72516 if test x${glibcxx_cv_func_logf_use+set} != xset; then
72517 if test "${glibcxx_cv_func_logf_use+set}" = set; then
72518 echo $ECHO_N "(cached) $ECHO_C" >&6
72519 else
72523 ac_ext=cc
72524 ac_cpp='$CXXCPP $CPPFLAGS'
72525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72529 cat >conftest.$ac_ext <<_ACEOF
72530 /* confdefs.h. */
72531 _ACEOF
72532 cat confdefs.h >>conftest.$ac_ext
72533 cat >>conftest.$ac_ext <<_ACEOF
72534 /* end confdefs.h. */
72535 #include <math.h>
72536 #ifdef HAVE_IEEEFP_H
72537 #include <ieeefp.h>
72538 #endif
72541 main ()
72543 logf(0);
72545 return 0;
72547 _ACEOF
72548 rm -f conftest.$ac_objext
72549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72550 (eval $ac_compile) 2>conftest.er1
72551 ac_status=$?
72552 grep -v '^ *+' conftest.er1 >conftest.err
72553 rm -f conftest.er1
72554 cat conftest.err >&5
72555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72556 (exit $ac_status); } &&
72557 { ac_try='test -z "$ac_cxx_werror_flag"
72558 || test ! -s conftest.err'
72559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72560 (eval $ac_try) 2>&5
72561 ac_status=$?
72562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72563 (exit $ac_status); }; } &&
72564 { ac_try='test -s conftest.$ac_objext'
72565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72566 (eval $ac_try) 2>&5
72567 ac_status=$?
72568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72569 (exit $ac_status); }; }; then
72570 glibcxx_cv_func_logf_use=yes
72571 else
72572 echo "$as_me: failed program was:" >&5
72573 sed 's/^/| /' conftest.$ac_ext >&5
72575 glibcxx_cv_func_logf_use=no
72577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72578 ac_ext=c
72579 ac_cpp='$CPP $CPPFLAGS'
72580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72588 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
72589 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
72591 if test x$glibcxx_cv_func_logf_use = x"yes"; then
72593 for ac_func in logf
72595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72596 echo "$as_me:$LINENO: checking for $ac_func" >&5
72597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72598 if eval "test \"\${$as_ac_var+set}\" = set"; then
72599 echo $ECHO_N "(cached) $ECHO_C" >&6
72600 else
72601 if test x$gcc_no_link = xyes; then
72602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72604 { (exit 1); exit 1; }; }
72606 cat >conftest.$ac_ext <<_ACEOF
72607 /* confdefs.h. */
72608 _ACEOF
72609 cat confdefs.h >>conftest.$ac_ext
72610 cat >>conftest.$ac_ext <<_ACEOF
72611 /* end confdefs.h. */
72612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72614 #define $ac_func innocuous_$ac_func
72616 /* System header to define __stub macros and hopefully few prototypes,
72617 which can conflict with char $ac_func (); below.
72618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72619 <limits.h> exists even on freestanding compilers. */
72621 #ifdef __STDC__
72622 # include <limits.h>
72623 #else
72624 # include <assert.h>
72625 #endif
72627 #undef $ac_func
72629 /* Override any gcc2 internal prototype to avoid an error. */
72630 #ifdef __cplusplus
72631 extern "C"
72633 #endif
72634 /* We use char because int might match the return type of a gcc2
72635 builtin and then its argument prototype would still apply. */
72636 char $ac_func ();
72637 /* The GNU C library defines this for functions which it implements
72638 to always fail with ENOSYS. Some functions are actually named
72639 something starting with __ and the normal name is an alias. */
72640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72641 choke me
72642 #else
72643 char (*f) () = $ac_func;
72644 #endif
72645 #ifdef __cplusplus
72647 #endif
72650 main ()
72652 return f != $ac_func;
72654 return 0;
72656 _ACEOF
72657 rm -f conftest.$ac_objext conftest$ac_exeext
72658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72659 (eval $ac_link) 2>conftest.er1
72660 ac_status=$?
72661 grep -v '^ *+' conftest.er1 >conftest.err
72662 rm -f conftest.er1
72663 cat conftest.err >&5
72664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72665 (exit $ac_status); } &&
72666 { ac_try='test -z "$ac_c_werror_flag"
72667 || test ! -s conftest.err'
72668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72669 (eval $ac_try) 2>&5
72670 ac_status=$?
72671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72672 (exit $ac_status); }; } &&
72673 { ac_try='test -s conftest$ac_exeext'
72674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72675 (eval $ac_try) 2>&5
72676 ac_status=$?
72677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72678 (exit $ac_status); }; }; then
72679 eval "$as_ac_var=yes"
72680 else
72681 echo "$as_me: failed program was:" >&5
72682 sed 's/^/| /' conftest.$ac_ext >&5
72684 eval "$as_ac_var=no"
72686 rm -f conftest.err conftest.$ac_objext \
72687 conftest$ac_exeext conftest.$ac_ext
72689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72691 if test `eval echo '${'$as_ac_var'}'` = yes; then
72692 cat >>confdefs.h <<_ACEOF
72693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72694 _ACEOF
72697 done
72699 else
72701 echo "$as_me:$LINENO: checking for _logf declaration" >&5
72702 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
72703 if test x${glibcxx_cv_func__logf_use+set} != xset; then
72704 if test "${glibcxx_cv_func__logf_use+set}" = set; then
72705 echo $ECHO_N "(cached) $ECHO_C" >&6
72706 else
72710 ac_ext=cc
72711 ac_cpp='$CXXCPP $CPPFLAGS'
72712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72716 cat >conftest.$ac_ext <<_ACEOF
72717 /* confdefs.h. */
72718 _ACEOF
72719 cat confdefs.h >>conftest.$ac_ext
72720 cat >>conftest.$ac_ext <<_ACEOF
72721 /* end confdefs.h. */
72722 #include <math.h>
72723 #ifdef HAVE_IEEEFP_H
72724 #include <ieeefp.h>
72725 #endif
72728 main ()
72730 _logf(0);
72732 return 0;
72734 _ACEOF
72735 rm -f conftest.$ac_objext
72736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72737 (eval $ac_compile) 2>conftest.er1
72738 ac_status=$?
72739 grep -v '^ *+' conftest.er1 >conftest.err
72740 rm -f conftest.er1
72741 cat conftest.err >&5
72742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72743 (exit $ac_status); } &&
72744 { ac_try='test -z "$ac_cxx_werror_flag"
72745 || test ! -s conftest.err'
72746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72747 (eval $ac_try) 2>&5
72748 ac_status=$?
72749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72750 (exit $ac_status); }; } &&
72751 { ac_try='test -s conftest.$ac_objext'
72752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72753 (eval $ac_try) 2>&5
72754 ac_status=$?
72755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72756 (exit $ac_status); }; }; then
72757 glibcxx_cv_func__logf_use=yes
72758 else
72759 echo "$as_me: failed program was:" >&5
72760 sed 's/^/| /' conftest.$ac_ext >&5
72762 glibcxx_cv_func__logf_use=no
72764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72765 ac_ext=c
72766 ac_cpp='$CPP $CPPFLAGS'
72767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72775 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
72776 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
72778 if test x$glibcxx_cv_func__logf_use = x"yes"; then
72780 for ac_func in _logf
72782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72783 echo "$as_me:$LINENO: checking for $ac_func" >&5
72784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72785 if eval "test \"\${$as_ac_var+set}\" = set"; then
72786 echo $ECHO_N "(cached) $ECHO_C" >&6
72787 else
72788 if test x$gcc_no_link = xyes; then
72789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72791 { (exit 1); exit 1; }; }
72793 cat >conftest.$ac_ext <<_ACEOF
72794 /* confdefs.h. */
72795 _ACEOF
72796 cat confdefs.h >>conftest.$ac_ext
72797 cat >>conftest.$ac_ext <<_ACEOF
72798 /* end confdefs.h. */
72799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72801 #define $ac_func innocuous_$ac_func
72803 /* System header to define __stub macros and hopefully few prototypes,
72804 which can conflict with char $ac_func (); below.
72805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72806 <limits.h> exists even on freestanding compilers. */
72808 #ifdef __STDC__
72809 # include <limits.h>
72810 #else
72811 # include <assert.h>
72812 #endif
72814 #undef $ac_func
72816 /* Override any gcc2 internal prototype to avoid an error. */
72817 #ifdef __cplusplus
72818 extern "C"
72820 #endif
72821 /* We use char because int might match the return type of a gcc2
72822 builtin and then its argument prototype would still apply. */
72823 char $ac_func ();
72824 /* The GNU C library defines this for functions which it implements
72825 to always fail with ENOSYS. Some functions are actually named
72826 something starting with __ and the normal name is an alias. */
72827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72828 choke me
72829 #else
72830 char (*f) () = $ac_func;
72831 #endif
72832 #ifdef __cplusplus
72834 #endif
72837 main ()
72839 return f != $ac_func;
72841 return 0;
72843 _ACEOF
72844 rm -f conftest.$ac_objext conftest$ac_exeext
72845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72846 (eval $ac_link) 2>conftest.er1
72847 ac_status=$?
72848 grep -v '^ *+' conftest.er1 >conftest.err
72849 rm -f conftest.er1
72850 cat conftest.err >&5
72851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72852 (exit $ac_status); } &&
72853 { ac_try='test -z "$ac_c_werror_flag"
72854 || test ! -s conftest.err'
72855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72856 (eval $ac_try) 2>&5
72857 ac_status=$?
72858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72859 (exit $ac_status); }; } &&
72860 { ac_try='test -s conftest$ac_exeext'
72861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72862 (eval $ac_try) 2>&5
72863 ac_status=$?
72864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72865 (exit $ac_status); }; }; then
72866 eval "$as_ac_var=yes"
72867 else
72868 echo "$as_me: failed program was:" >&5
72869 sed 's/^/| /' conftest.$ac_ext >&5
72871 eval "$as_ac_var=no"
72873 rm -f conftest.err conftest.$ac_objext \
72874 conftest$ac_exeext conftest.$ac_ext
72876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72878 if test `eval echo '${'$as_ac_var'}'` = yes; then
72879 cat >>confdefs.h <<_ACEOF
72880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72881 _ACEOF
72884 done
72894 echo "$as_me:$LINENO: checking for log10f declaration" >&5
72895 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
72896 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
72897 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
72898 echo $ECHO_N "(cached) $ECHO_C" >&6
72899 else
72903 ac_ext=cc
72904 ac_cpp='$CXXCPP $CPPFLAGS'
72905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72909 cat >conftest.$ac_ext <<_ACEOF
72910 /* confdefs.h. */
72911 _ACEOF
72912 cat confdefs.h >>conftest.$ac_ext
72913 cat >>conftest.$ac_ext <<_ACEOF
72914 /* end confdefs.h. */
72915 #include <math.h>
72916 #ifdef HAVE_IEEEFP_H
72917 #include <ieeefp.h>
72918 #endif
72921 main ()
72923 log10f(0);
72925 return 0;
72927 _ACEOF
72928 rm -f conftest.$ac_objext
72929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72930 (eval $ac_compile) 2>conftest.er1
72931 ac_status=$?
72932 grep -v '^ *+' conftest.er1 >conftest.err
72933 rm -f conftest.er1
72934 cat conftest.err >&5
72935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72936 (exit $ac_status); } &&
72937 { ac_try='test -z "$ac_cxx_werror_flag"
72938 || test ! -s conftest.err'
72939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72940 (eval $ac_try) 2>&5
72941 ac_status=$?
72942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72943 (exit $ac_status); }; } &&
72944 { ac_try='test -s conftest.$ac_objext'
72945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72946 (eval $ac_try) 2>&5
72947 ac_status=$?
72948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72949 (exit $ac_status); }; }; then
72950 glibcxx_cv_func_log10f_use=yes
72951 else
72952 echo "$as_me: failed program was:" >&5
72953 sed 's/^/| /' conftest.$ac_ext >&5
72955 glibcxx_cv_func_log10f_use=no
72957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72958 ac_ext=c
72959 ac_cpp='$CPP $CPPFLAGS'
72960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72968 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
72969 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
72971 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
72973 for ac_func in log10f
72975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72976 echo "$as_me:$LINENO: checking for $ac_func" >&5
72977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72978 if eval "test \"\${$as_ac_var+set}\" = set"; then
72979 echo $ECHO_N "(cached) $ECHO_C" >&6
72980 else
72981 if test x$gcc_no_link = xyes; then
72982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72984 { (exit 1); exit 1; }; }
72986 cat >conftest.$ac_ext <<_ACEOF
72987 /* confdefs.h. */
72988 _ACEOF
72989 cat confdefs.h >>conftest.$ac_ext
72990 cat >>conftest.$ac_ext <<_ACEOF
72991 /* end confdefs.h. */
72992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72994 #define $ac_func innocuous_$ac_func
72996 /* System header to define __stub macros and hopefully few prototypes,
72997 which can conflict with char $ac_func (); below.
72998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72999 <limits.h> exists even on freestanding compilers. */
73001 #ifdef __STDC__
73002 # include <limits.h>
73003 #else
73004 # include <assert.h>
73005 #endif
73007 #undef $ac_func
73009 /* Override any gcc2 internal prototype to avoid an error. */
73010 #ifdef __cplusplus
73011 extern "C"
73013 #endif
73014 /* We use char because int might match the return type of a gcc2
73015 builtin and then its argument prototype would still apply. */
73016 char $ac_func ();
73017 /* The GNU C library defines this for functions which it implements
73018 to always fail with ENOSYS. Some functions are actually named
73019 something starting with __ and the normal name is an alias. */
73020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73021 choke me
73022 #else
73023 char (*f) () = $ac_func;
73024 #endif
73025 #ifdef __cplusplus
73027 #endif
73030 main ()
73032 return f != $ac_func;
73034 return 0;
73036 _ACEOF
73037 rm -f conftest.$ac_objext conftest$ac_exeext
73038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73039 (eval $ac_link) 2>conftest.er1
73040 ac_status=$?
73041 grep -v '^ *+' conftest.er1 >conftest.err
73042 rm -f conftest.er1
73043 cat conftest.err >&5
73044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73045 (exit $ac_status); } &&
73046 { ac_try='test -z "$ac_c_werror_flag"
73047 || test ! -s conftest.err'
73048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73049 (eval $ac_try) 2>&5
73050 ac_status=$?
73051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73052 (exit $ac_status); }; } &&
73053 { ac_try='test -s conftest$ac_exeext'
73054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73055 (eval $ac_try) 2>&5
73056 ac_status=$?
73057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73058 (exit $ac_status); }; }; then
73059 eval "$as_ac_var=yes"
73060 else
73061 echo "$as_me: failed program was:" >&5
73062 sed 's/^/| /' conftest.$ac_ext >&5
73064 eval "$as_ac_var=no"
73066 rm -f conftest.err conftest.$ac_objext \
73067 conftest$ac_exeext conftest.$ac_ext
73069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73071 if test `eval echo '${'$as_ac_var'}'` = yes; then
73072 cat >>confdefs.h <<_ACEOF
73073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73074 _ACEOF
73077 done
73079 else
73081 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
73082 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
73083 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73084 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
73085 echo $ECHO_N "(cached) $ECHO_C" >&6
73086 else
73090 ac_ext=cc
73091 ac_cpp='$CXXCPP $CPPFLAGS'
73092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73096 cat >conftest.$ac_ext <<_ACEOF
73097 /* confdefs.h. */
73098 _ACEOF
73099 cat confdefs.h >>conftest.$ac_ext
73100 cat >>conftest.$ac_ext <<_ACEOF
73101 /* end confdefs.h. */
73102 #include <math.h>
73103 #ifdef HAVE_IEEEFP_H
73104 #include <ieeefp.h>
73105 #endif
73108 main ()
73110 _log10f(0);
73112 return 0;
73114 _ACEOF
73115 rm -f conftest.$ac_objext
73116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73117 (eval $ac_compile) 2>conftest.er1
73118 ac_status=$?
73119 grep -v '^ *+' conftest.er1 >conftest.err
73120 rm -f conftest.er1
73121 cat conftest.err >&5
73122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73123 (exit $ac_status); } &&
73124 { ac_try='test -z "$ac_cxx_werror_flag"
73125 || test ! -s conftest.err'
73126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73127 (eval $ac_try) 2>&5
73128 ac_status=$?
73129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73130 (exit $ac_status); }; } &&
73131 { ac_try='test -s conftest.$ac_objext'
73132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73133 (eval $ac_try) 2>&5
73134 ac_status=$?
73135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73136 (exit $ac_status); }; }; then
73137 glibcxx_cv_func__log10f_use=yes
73138 else
73139 echo "$as_me: failed program was:" >&5
73140 sed 's/^/| /' conftest.$ac_ext >&5
73142 glibcxx_cv_func__log10f_use=no
73144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73145 ac_ext=c
73146 ac_cpp='$CPP $CPPFLAGS'
73147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73155 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
73156 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
73158 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73160 for ac_func in _log10f
73162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73163 echo "$as_me:$LINENO: checking for $ac_func" >&5
73164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73165 if eval "test \"\${$as_ac_var+set}\" = set"; then
73166 echo $ECHO_N "(cached) $ECHO_C" >&6
73167 else
73168 if test x$gcc_no_link = xyes; then
73169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73171 { (exit 1); exit 1; }; }
73173 cat >conftest.$ac_ext <<_ACEOF
73174 /* confdefs.h. */
73175 _ACEOF
73176 cat confdefs.h >>conftest.$ac_ext
73177 cat >>conftest.$ac_ext <<_ACEOF
73178 /* end confdefs.h. */
73179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73181 #define $ac_func innocuous_$ac_func
73183 /* System header to define __stub macros and hopefully few prototypes,
73184 which can conflict with char $ac_func (); below.
73185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73186 <limits.h> exists even on freestanding compilers. */
73188 #ifdef __STDC__
73189 # include <limits.h>
73190 #else
73191 # include <assert.h>
73192 #endif
73194 #undef $ac_func
73196 /* Override any gcc2 internal prototype to avoid an error. */
73197 #ifdef __cplusplus
73198 extern "C"
73200 #endif
73201 /* We use char because int might match the return type of a gcc2
73202 builtin and then its argument prototype would still apply. */
73203 char $ac_func ();
73204 /* The GNU C library defines this for functions which it implements
73205 to always fail with ENOSYS. Some functions are actually named
73206 something starting with __ and the normal name is an alias. */
73207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73208 choke me
73209 #else
73210 char (*f) () = $ac_func;
73211 #endif
73212 #ifdef __cplusplus
73214 #endif
73217 main ()
73219 return f != $ac_func;
73221 return 0;
73223 _ACEOF
73224 rm -f conftest.$ac_objext conftest$ac_exeext
73225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73226 (eval $ac_link) 2>conftest.er1
73227 ac_status=$?
73228 grep -v '^ *+' conftest.er1 >conftest.err
73229 rm -f conftest.er1
73230 cat conftest.err >&5
73231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73232 (exit $ac_status); } &&
73233 { ac_try='test -z "$ac_c_werror_flag"
73234 || test ! -s conftest.err'
73235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73236 (eval $ac_try) 2>&5
73237 ac_status=$?
73238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73239 (exit $ac_status); }; } &&
73240 { ac_try='test -s conftest$ac_exeext'
73241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73242 (eval $ac_try) 2>&5
73243 ac_status=$?
73244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73245 (exit $ac_status); }; }; then
73246 eval "$as_ac_var=yes"
73247 else
73248 echo "$as_me: failed program was:" >&5
73249 sed 's/^/| /' conftest.$ac_ext >&5
73251 eval "$as_ac_var=no"
73253 rm -f conftest.err conftest.$ac_objext \
73254 conftest$ac_exeext conftest.$ac_ext
73256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73258 if test `eval echo '${'$as_ac_var'}'` = yes; then
73259 cat >>confdefs.h <<_ACEOF
73260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73261 _ACEOF
73264 done
73274 echo "$as_me:$LINENO: checking for modff declaration" >&5
73275 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
73276 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73277 if test "${glibcxx_cv_func_modff_use+set}" = set; then
73278 echo $ECHO_N "(cached) $ECHO_C" >&6
73279 else
73283 ac_ext=cc
73284 ac_cpp='$CXXCPP $CPPFLAGS'
73285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73289 cat >conftest.$ac_ext <<_ACEOF
73290 /* confdefs.h. */
73291 _ACEOF
73292 cat confdefs.h >>conftest.$ac_ext
73293 cat >>conftest.$ac_ext <<_ACEOF
73294 /* end confdefs.h. */
73295 #include <math.h>
73297 main ()
73299 modff(0, 0);
73301 return 0;
73303 _ACEOF
73304 rm -f conftest.$ac_objext
73305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73306 (eval $ac_compile) 2>conftest.er1
73307 ac_status=$?
73308 grep -v '^ *+' conftest.er1 >conftest.err
73309 rm -f conftest.er1
73310 cat conftest.err >&5
73311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73312 (exit $ac_status); } &&
73313 { ac_try='test -z "$ac_cxx_werror_flag"
73314 || test ! -s conftest.err'
73315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73316 (eval $ac_try) 2>&5
73317 ac_status=$?
73318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73319 (exit $ac_status); }; } &&
73320 { ac_try='test -s conftest.$ac_objext'
73321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73322 (eval $ac_try) 2>&5
73323 ac_status=$?
73324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73325 (exit $ac_status); }; }; then
73326 glibcxx_cv_func_modff_use=yes
73327 else
73328 echo "$as_me: failed program was:" >&5
73329 sed 's/^/| /' conftest.$ac_ext >&5
73331 glibcxx_cv_func_modff_use=no
73333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73334 ac_ext=c
73335 ac_cpp='$CPP $CPPFLAGS'
73336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73344 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
73345 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
73347 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73349 for ac_func in modff
73351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73352 echo "$as_me:$LINENO: checking for $ac_func" >&5
73353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73354 if eval "test \"\${$as_ac_var+set}\" = set"; then
73355 echo $ECHO_N "(cached) $ECHO_C" >&6
73356 else
73357 if test x$gcc_no_link = xyes; then
73358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73360 { (exit 1); exit 1; }; }
73362 cat >conftest.$ac_ext <<_ACEOF
73363 /* confdefs.h. */
73364 _ACEOF
73365 cat confdefs.h >>conftest.$ac_ext
73366 cat >>conftest.$ac_ext <<_ACEOF
73367 /* end confdefs.h. */
73368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73370 #define $ac_func innocuous_$ac_func
73372 /* System header to define __stub macros and hopefully few prototypes,
73373 which can conflict with char $ac_func (); below.
73374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73375 <limits.h> exists even on freestanding compilers. */
73377 #ifdef __STDC__
73378 # include <limits.h>
73379 #else
73380 # include <assert.h>
73381 #endif
73383 #undef $ac_func
73385 /* Override any gcc2 internal prototype to avoid an error. */
73386 #ifdef __cplusplus
73387 extern "C"
73389 #endif
73390 /* We use char because int might match the return type of a gcc2
73391 builtin and then its argument prototype would still apply. */
73392 char $ac_func ();
73393 /* The GNU C library defines this for functions which it implements
73394 to always fail with ENOSYS. Some functions are actually named
73395 something starting with __ and the normal name is an alias. */
73396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73397 choke me
73398 #else
73399 char (*f) () = $ac_func;
73400 #endif
73401 #ifdef __cplusplus
73403 #endif
73406 main ()
73408 return f != $ac_func;
73410 return 0;
73412 _ACEOF
73413 rm -f conftest.$ac_objext conftest$ac_exeext
73414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73415 (eval $ac_link) 2>conftest.er1
73416 ac_status=$?
73417 grep -v '^ *+' conftest.er1 >conftest.err
73418 rm -f conftest.er1
73419 cat conftest.err >&5
73420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73421 (exit $ac_status); } &&
73422 { ac_try='test -z "$ac_c_werror_flag"
73423 || test ! -s conftest.err'
73424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73425 (eval $ac_try) 2>&5
73426 ac_status=$?
73427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73428 (exit $ac_status); }; } &&
73429 { ac_try='test -s conftest$ac_exeext'
73430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73431 (eval $ac_try) 2>&5
73432 ac_status=$?
73433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73434 (exit $ac_status); }; }; then
73435 eval "$as_ac_var=yes"
73436 else
73437 echo "$as_me: failed program was:" >&5
73438 sed 's/^/| /' conftest.$ac_ext >&5
73440 eval "$as_ac_var=no"
73442 rm -f conftest.err conftest.$ac_objext \
73443 conftest$ac_exeext conftest.$ac_ext
73445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73447 if test `eval echo '${'$as_ac_var'}'` = yes; then
73448 cat >>confdefs.h <<_ACEOF
73449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73450 _ACEOF
73453 done
73455 else
73457 echo "$as_me:$LINENO: checking for _modff declaration" >&5
73458 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
73459 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73460 if test "${glibcxx_cv_func__modff_use+set}" = set; then
73461 echo $ECHO_N "(cached) $ECHO_C" >&6
73462 else
73466 ac_ext=cc
73467 ac_cpp='$CXXCPP $CPPFLAGS'
73468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73472 cat >conftest.$ac_ext <<_ACEOF
73473 /* confdefs.h. */
73474 _ACEOF
73475 cat confdefs.h >>conftest.$ac_ext
73476 cat >>conftest.$ac_ext <<_ACEOF
73477 /* end confdefs.h. */
73478 #include <math.h>
73480 main ()
73482 _modff(0, 0);
73484 return 0;
73486 _ACEOF
73487 rm -f conftest.$ac_objext
73488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73489 (eval $ac_compile) 2>conftest.er1
73490 ac_status=$?
73491 grep -v '^ *+' conftest.er1 >conftest.err
73492 rm -f conftest.er1
73493 cat conftest.err >&5
73494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73495 (exit $ac_status); } &&
73496 { ac_try='test -z "$ac_cxx_werror_flag"
73497 || test ! -s conftest.err'
73498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73499 (eval $ac_try) 2>&5
73500 ac_status=$?
73501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73502 (exit $ac_status); }; } &&
73503 { ac_try='test -s conftest.$ac_objext'
73504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73505 (eval $ac_try) 2>&5
73506 ac_status=$?
73507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73508 (exit $ac_status); }; }; then
73509 glibcxx_cv_func__modff_use=yes
73510 else
73511 echo "$as_me: failed program was:" >&5
73512 sed 's/^/| /' conftest.$ac_ext >&5
73514 glibcxx_cv_func__modff_use=no
73516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73517 ac_ext=c
73518 ac_cpp='$CPP $CPPFLAGS'
73519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73527 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
73528 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
73530 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73532 for ac_func in _modff
73534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73535 echo "$as_me:$LINENO: checking for $ac_func" >&5
73536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73537 if eval "test \"\${$as_ac_var+set}\" = set"; then
73538 echo $ECHO_N "(cached) $ECHO_C" >&6
73539 else
73540 if test x$gcc_no_link = xyes; then
73541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73543 { (exit 1); exit 1; }; }
73545 cat >conftest.$ac_ext <<_ACEOF
73546 /* confdefs.h. */
73547 _ACEOF
73548 cat confdefs.h >>conftest.$ac_ext
73549 cat >>conftest.$ac_ext <<_ACEOF
73550 /* end confdefs.h. */
73551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73553 #define $ac_func innocuous_$ac_func
73555 /* System header to define __stub macros and hopefully few prototypes,
73556 which can conflict with char $ac_func (); below.
73557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73558 <limits.h> exists even on freestanding compilers. */
73560 #ifdef __STDC__
73561 # include <limits.h>
73562 #else
73563 # include <assert.h>
73564 #endif
73566 #undef $ac_func
73568 /* Override any gcc2 internal prototype to avoid an error. */
73569 #ifdef __cplusplus
73570 extern "C"
73572 #endif
73573 /* We use char because int might match the return type of a gcc2
73574 builtin and then its argument prototype would still apply. */
73575 char $ac_func ();
73576 /* The GNU C library defines this for functions which it implements
73577 to always fail with ENOSYS. Some functions are actually named
73578 something starting with __ and the normal name is an alias. */
73579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73580 choke me
73581 #else
73582 char (*f) () = $ac_func;
73583 #endif
73584 #ifdef __cplusplus
73586 #endif
73589 main ()
73591 return f != $ac_func;
73593 return 0;
73595 _ACEOF
73596 rm -f conftest.$ac_objext conftest$ac_exeext
73597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73598 (eval $ac_link) 2>conftest.er1
73599 ac_status=$?
73600 grep -v '^ *+' conftest.er1 >conftest.err
73601 rm -f conftest.er1
73602 cat conftest.err >&5
73603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73604 (exit $ac_status); } &&
73605 { ac_try='test -z "$ac_c_werror_flag"
73606 || test ! -s conftest.err'
73607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73608 (eval $ac_try) 2>&5
73609 ac_status=$?
73610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73611 (exit $ac_status); }; } &&
73612 { ac_try='test -s conftest$ac_exeext'
73613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73614 (eval $ac_try) 2>&5
73615 ac_status=$?
73616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73617 (exit $ac_status); }; }; then
73618 eval "$as_ac_var=yes"
73619 else
73620 echo "$as_me: failed program was:" >&5
73621 sed 's/^/| /' conftest.$ac_ext >&5
73623 eval "$as_ac_var=no"
73625 rm -f conftest.err conftest.$ac_objext \
73626 conftest$ac_exeext conftest.$ac_ext
73628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73630 if test `eval echo '${'$as_ac_var'}'` = yes; then
73631 cat >>confdefs.h <<_ACEOF
73632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73633 _ACEOF
73636 done
73646 echo "$as_me:$LINENO: checking for modf declaration" >&5
73647 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
73648 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73649 if test "${glibcxx_cv_func_modf_use+set}" = set; then
73650 echo $ECHO_N "(cached) $ECHO_C" >&6
73651 else
73655 ac_ext=cc
73656 ac_cpp='$CXXCPP $CPPFLAGS'
73657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73661 cat >conftest.$ac_ext <<_ACEOF
73662 /* confdefs.h. */
73663 _ACEOF
73664 cat confdefs.h >>conftest.$ac_ext
73665 cat >>conftest.$ac_ext <<_ACEOF
73666 /* end confdefs.h. */
73667 #include <math.h>
73669 main ()
73671 modf(0, 0);
73673 return 0;
73675 _ACEOF
73676 rm -f conftest.$ac_objext
73677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73678 (eval $ac_compile) 2>conftest.er1
73679 ac_status=$?
73680 grep -v '^ *+' conftest.er1 >conftest.err
73681 rm -f conftest.er1
73682 cat conftest.err >&5
73683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73684 (exit $ac_status); } &&
73685 { ac_try='test -z "$ac_cxx_werror_flag"
73686 || test ! -s conftest.err'
73687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73688 (eval $ac_try) 2>&5
73689 ac_status=$?
73690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73691 (exit $ac_status); }; } &&
73692 { ac_try='test -s conftest.$ac_objext'
73693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73694 (eval $ac_try) 2>&5
73695 ac_status=$?
73696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73697 (exit $ac_status); }; }; then
73698 glibcxx_cv_func_modf_use=yes
73699 else
73700 echo "$as_me: failed program was:" >&5
73701 sed 's/^/| /' conftest.$ac_ext >&5
73703 glibcxx_cv_func_modf_use=no
73705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73706 ac_ext=c
73707 ac_cpp='$CPP $CPPFLAGS'
73708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73716 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
73717 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
73719 if test x$glibcxx_cv_func_modf_use = x"yes"; then
73721 for ac_func in modf
73723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73724 echo "$as_me:$LINENO: checking for $ac_func" >&5
73725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73726 if eval "test \"\${$as_ac_var+set}\" = set"; then
73727 echo $ECHO_N "(cached) $ECHO_C" >&6
73728 else
73729 if test x$gcc_no_link = xyes; then
73730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73732 { (exit 1); exit 1; }; }
73734 cat >conftest.$ac_ext <<_ACEOF
73735 /* confdefs.h. */
73736 _ACEOF
73737 cat confdefs.h >>conftest.$ac_ext
73738 cat >>conftest.$ac_ext <<_ACEOF
73739 /* end confdefs.h. */
73740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73742 #define $ac_func innocuous_$ac_func
73744 /* System header to define __stub macros and hopefully few prototypes,
73745 which can conflict with char $ac_func (); below.
73746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73747 <limits.h> exists even on freestanding compilers. */
73749 #ifdef __STDC__
73750 # include <limits.h>
73751 #else
73752 # include <assert.h>
73753 #endif
73755 #undef $ac_func
73757 /* Override any gcc2 internal prototype to avoid an error. */
73758 #ifdef __cplusplus
73759 extern "C"
73761 #endif
73762 /* We use char because int might match the return type of a gcc2
73763 builtin and then its argument prototype would still apply. */
73764 char $ac_func ();
73765 /* The GNU C library defines this for functions which it implements
73766 to always fail with ENOSYS. Some functions are actually named
73767 something starting with __ and the normal name is an alias. */
73768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73769 choke me
73770 #else
73771 char (*f) () = $ac_func;
73772 #endif
73773 #ifdef __cplusplus
73775 #endif
73778 main ()
73780 return f != $ac_func;
73782 return 0;
73784 _ACEOF
73785 rm -f conftest.$ac_objext conftest$ac_exeext
73786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73787 (eval $ac_link) 2>conftest.er1
73788 ac_status=$?
73789 grep -v '^ *+' conftest.er1 >conftest.err
73790 rm -f conftest.er1
73791 cat conftest.err >&5
73792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73793 (exit $ac_status); } &&
73794 { ac_try='test -z "$ac_c_werror_flag"
73795 || test ! -s conftest.err'
73796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73797 (eval $ac_try) 2>&5
73798 ac_status=$?
73799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73800 (exit $ac_status); }; } &&
73801 { ac_try='test -s conftest$ac_exeext'
73802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73803 (eval $ac_try) 2>&5
73804 ac_status=$?
73805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73806 (exit $ac_status); }; }; then
73807 eval "$as_ac_var=yes"
73808 else
73809 echo "$as_me: failed program was:" >&5
73810 sed 's/^/| /' conftest.$ac_ext >&5
73812 eval "$as_ac_var=no"
73814 rm -f conftest.err conftest.$ac_objext \
73815 conftest$ac_exeext conftest.$ac_ext
73817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73819 if test `eval echo '${'$as_ac_var'}'` = yes; then
73820 cat >>confdefs.h <<_ACEOF
73821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73822 _ACEOF
73825 done
73827 else
73829 echo "$as_me:$LINENO: checking for _modf declaration" >&5
73830 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
73831 if test x${glibcxx_cv_func__modf_use+set} != xset; then
73832 if test "${glibcxx_cv_func__modf_use+set}" = set; then
73833 echo $ECHO_N "(cached) $ECHO_C" >&6
73834 else
73838 ac_ext=cc
73839 ac_cpp='$CXXCPP $CPPFLAGS'
73840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73844 cat >conftest.$ac_ext <<_ACEOF
73845 /* confdefs.h. */
73846 _ACEOF
73847 cat confdefs.h >>conftest.$ac_ext
73848 cat >>conftest.$ac_ext <<_ACEOF
73849 /* end confdefs.h. */
73850 #include <math.h>
73852 main ()
73854 _modf(0, 0);
73856 return 0;
73858 _ACEOF
73859 rm -f conftest.$ac_objext
73860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73861 (eval $ac_compile) 2>conftest.er1
73862 ac_status=$?
73863 grep -v '^ *+' conftest.er1 >conftest.err
73864 rm -f conftest.er1
73865 cat conftest.err >&5
73866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73867 (exit $ac_status); } &&
73868 { ac_try='test -z "$ac_cxx_werror_flag"
73869 || test ! -s conftest.err'
73870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73871 (eval $ac_try) 2>&5
73872 ac_status=$?
73873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73874 (exit $ac_status); }; } &&
73875 { ac_try='test -s conftest.$ac_objext'
73876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73877 (eval $ac_try) 2>&5
73878 ac_status=$?
73879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73880 (exit $ac_status); }; }; then
73881 glibcxx_cv_func__modf_use=yes
73882 else
73883 echo "$as_me: failed program was:" >&5
73884 sed 's/^/| /' conftest.$ac_ext >&5
73886 glibcxx_cv_func__modf_use=no
73888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73889 ac_ext=c
73890 ac_cpp='$CPP $CPPFLAGS'
73891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73899 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
73900 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
73902 if test x$glibcxx_cv_func__modf_use = x"yes"; then
73904 for ac_func in _modf
73906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73907 echo "$as_me:$LINENO: checking for $ac_func" >&5
73908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73909 if eval "test \"\${$as_ac_var+set}\" = set"; then
73910 echo $ECHO_N "(cached) $ECHO_C" >&6
73911 else
73912 if test x$gcc_no_link = xyes; then
73913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73915 { (exit 1); exit 1; }; }
73917 cat >conftest.$ac_ext <<_ACEOF
73918 /* confdefs.h. */
73919 _ACEOF
73920 cat confdefs.h >>conftest.$ac_ext
73921 cat >>conftest.$ac_ext <<_ACEOF
73922 /* end confdefs.h. */
73923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73925 #define $ac_func innocuous_$ac_func
73927 /* System header to define __stub macros and hopefully few prototypes,
73928 which can conflict with char $ac_func (); below.
73929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73930 <limits.h> exists even on freestanding compilers. */
73932 #ifdef __STDC__
73933 # include <limits.h>
73934 #else
73935 # include <assert.h>
73936 #endif
73938 #undef $ac_func
73940 /* Override any gcc2 internal prototype to avoid an error. */
73941 #ifdef __cplusplus
73942 extern "C"
73944 #endif
73945 /* We use char because int might match the return type of a gcc2
73946 builtin and then its argument prototype would still apply. */
73947 char $ac_func ();
73948 /* The GNU C library defines this for functions which it implements
73949 to always fail with ENOSYS. Some functions are actually named
73950 something starting with __ and the normal name is an alias. */
73951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73952 choke me
73953 #else
73954 char (*f) () = $ac_func;
73955 #endif
73956 #ifdef __cplusplus
73958 #endif
73961 main ()
73963 return f != $ac_func;
73965 return 0;
73967 _ACEOF
73968 rm -f conftest.$ac_objext conftest$ac_exeext
73969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73970 (eval $ac_link) 2>conftest.er1
73971 ac_status=$?
73972 grep -v '^ *+' conftest.er1 >conftest.err
73973 rm -f conftest.er1
73974 cat conftest.err >&5
73975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73976 (exit $ac_status); } &&
73977 { ac_try='test -z "$ac_c_werror_flag"
73978 || test ! -s conftest.err'
73979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73980 (eval $ac_try) 2>&5
73981 ac_status=$?
73982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73983 (exit $ac_status); }; } &&
73984 { ac_try='test -s conftest$ac_exeext'
73985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73986 (eval $ac_try) 2>&5
73987 ac_status=$?
73988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73989 (exit $ac_status); }; }; then
73990 eval "$as_ac_var=yes"
73991 else
73992 echo "$as_me: failed program was:" >&5
73993 sed 's/^/| /' conftest.$ac_ext >&5
73995 eval "$as_ac_var=no"
73997 rm -f conftest.err conftest.$ac_objext \
73998 conftest$ac_exeext conftest.$ac_ext
74000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74002 if test `eval echo '${'$as_ac_var'}'` = yes; then
74003 cat >>confdefs.h <<_ACEOF
74004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74005 _ACEOF
74008 done
74018 echo "$as_me:$LINENO: checking for powf declaration" >&5
74019 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
74020 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74021 if test "${glibcxx_cv_func_powf_use+set}" = set; then
74022 echo $ECHO_N "(cached) $ECHO_C" >&6
74023 else
74027 ac_ext=cc
74028 ac_cpp='$CXXCPP $CPPFLAGS'
74029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74033 cat >conftest.$ac_ext <<_ACEOF
74034 /* confdefs.h. */
74035 _ACEOF
74036 cat confdefs.h >>conftest.$ac_ext
74037 cat >>conftest.$ac_ext <<_ACEOF
74038 /* end confdefs.h. */
74039 #include <math.h>
74041 main ()
74043 powf(0, 0);
74045 return 0;
74047 _ACEOF
74048 rm -f conftest.$ac_objext
74049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74050 (eval $ac_compile) 2>conftest.er1
74051 ac_status=$?
74052 grep -v '^ *+' conftest.er1 >conftest.err
74053 rm -f conftest.er1
74054 cat conftest.err >&5
74055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74056 (exit $ac_status); } &&
74057 { ac_try='test -z "$ac_cxx_werror_flag"
74058 || test ! -s conftest.err'
74059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74060 (eval $ac_try) 2>&5
74061 ac_status=$?
74062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74063 (exit $ac_status); }; } &&
74064 { ac_try='test -s conftest.$ac_objext'
74065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74066 (eval $ac_try) 2>&5
74067 ac_status=$?
74068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74069 (exit $ac_status); }; }; then
74070 glibcxx_cv_func_powf_use=yes
74071 else
74072 echo "$as_me: failed program was:" >&5
74073 sed 's/^/| /' conftest.$ac_ext >&5
74075 glibcxx_cv_func_powf_use=no
74077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74078 ac_ext=c
74079 ac_cpp='$CPP $CPPFLAGS'
74080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74088 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
74089 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
74091 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74093 for ac_func in powf
74095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74096 echo "$as_me:$LINENO: checking for $ac_func" >&5
74097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74098 if eval "test \"\${$as_ac_var+set}\" = set"; then
74099 echo $ECHO_N "(cached) $ECHO_C" >&6
74100 else
74101 if test x$gcc_no_link = xyes; then
74102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74104 { (exit 1); exit 1; }; }
74106 cat >conftest.$ac_ext <<_ACEOF
74107 /* confdefs.h. */
74108 _ACEOF
74109 cat confdefs.h >>conftest.$ac_ext
74110 cat >>conftest.$ac_ext <<_ACEOF
74111 /* end confdefs.h. */
74112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74114 #define $ac_func innocuous_$ac_func
74116 /* System header to define __stub macros and hopefully few prototypes,
74117 which can conflict with char $ac_func (); below.
74118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74119 <limits.h> exists even on freestanding compilers. */
74121 #ifdef __STDC__
74122 # include <limits.h>
74123 #else
74124 # include <assert.h>
74125 #endif
74127 #undef $ac_func
74129 /* Override any gcc2 internal prototype to avoid an error. */
74130 #ifdef __cplusplus
74131 extern "C"
74133 #endif
74134 /* We use char because int might match the return type of a gcc2
74135 builtin and then its argument prototype would still apply. */
74136 char $ac_func ();
74137 /* The GNU C library defines this for functions which it implements
74138 to always fail with ENOSYS. Some functions are actually named
74139 something starting with __ and the normal name is an alias. */
74140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74141 choke me
74142 #else
74143 char (*f) () = $ac_func;
74144 #endif
74145 #ifdef __cplusplus
74147 #endif
74150 main ()
74152 return f != $ac_func;
74154 return 0;
74156 _ACEOF
74157 rm -f conftest.$ac_objext conftest$ac_exeext
74158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74159 (eval $ac_link) 2>conftest.er1
74160 ac_status=$?
74161 grep -v '^ *+' conftest.er1 >conftest.err
74162 rm -f conftest.er1
74163 cat conftest.err >&5
74164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74165 (exit $ac_status); } &&
74166 { ac_try='test -z "$ac_c_werror_flag"
74167 || test ! -s conftest.err'
74168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74169 (eval $ac_try) 2>&5
74170 ac_status=$?
74171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74172 (exit $ac_status); }; } &&
74173 { ac_try='test -s conftest$ac_exeext'
74174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74175 (eval $ac_try) 2>&5
74176 ac_status=$?
74177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74178 (exit $ac_status); }; }; then
74179 eval "$as_ac_var=yes"
74180 else
74181 echo "$as_me: failed program was:" >&5
74182 sed 's/^/| /' conftest.$ac_ext >&5
74184 eval "$as_ac_var=no"
74186 rm -f conftest.err conftest.$ac_objext \
74187 conftest$ac_exeext conftest.$ac_ext
74189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74191 if test `eval echo '${'$as_ac_var'}'` = yes; then
74192 cat >>confdefs.h <<_ACEOF
74193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74194 _ACEOF
74197 done
74199 else
74201 echo "$as_me:$LINENO: checking for _powf declaration" >&5
74202 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
74203 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74204 if test "${glibcxx_cv_func__powf_use+set}" = set; then
74205 echo $ECHO_N "(cached) $ECHO_C" >&6
74206 else
74210 ac_ext=cc
74211 ac_cpp='$CXXCPP $CPPFLAGS'
74212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74216 cat >conftest.$ac_ext <<_ACEOF
74217 /* confdefs.h. */
74218 _ACEOF
74219 cat confdefs.h >>conftest.$ac_ext
74220 cat >>conftest.$ac_ext <<_ACEOF
74221 /* end confdefs.h. */
74222 #include <math.h>
74224 main ()
74226 _powf(0, 0);
74228 return 0;
74230 _ACEOF
74231 rm -f conftest.$ac_objext
74232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74233 (eval $ac_compile) 2>conftest.er1
74234 ac_status=$?
74235 grep -v '^ *+' conftest.er1 >conftest.err
74236 rm -f conftest.er1
74237 cat conftest.err >&5
74238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74239 (exit $ac_status); } &&
74240 { ac_try='test -z "$ac_cxx_werror_flag"
74241 || test ! -s conftest.err'
74242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74243 (eval $ac_try) 2>&5
74244 ac_status=$?
74245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74246 (exit $ac_status); }; } &&
74247 { ac_try='test -s conftest.$ac_objext'
74248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74249 (eval $ac_try) 2>&5
74250 ac_status=$?
74251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74252 (exit $ac_status); }; }; then
74253 glibcxx_cv_func__powf_use=yes
74254 else
74255 echo "$as_me: failed program was:" >&5
74256 sed 's/^/| /' conftest.$ac_ext >&5
74258 glibcxx_cv_func__powf_use=no
74260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74261 ac_ext=c
74262 ac_cpp='$CPP $CPPFLAGS'
74263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74271 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
74272 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
74274 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74276 for ac_func in _powf
74278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74279 echo "$as_me:$LINENO: checking for $ac_func" >&5
74280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74281 if eval "test \"\${$as_ac_var+set}\" = set"; then
74282 echo $ECHO_N "(cached) $ECHO_C" >&6
74283 else
74284 if test x$gcc_no_link = xyes; then
74285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74287 { (exit 1); exit 1; }; }
74289 cat >conftest.$ac_ext <<_ACEOF
74290 /* confdefs.h. */
74291 _ACEOF
74292 cat confdefs.h >>conftest.$ac_ext
74293 cat >>conftest.$ac_ext <<_ACEOF
74294 /* end confdefs.h. */
74295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74297 #define $ac_func innocuous_$ac_func
74299 /* System header to define __stub macros and hopefully few prototypes,
74300 which can conflict with char $ac_func (); below.
74301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74302 <limits.h> exists even on freestanding compilers. */
74304 #ifdef __STDC__
74305 # include <limits.h>
74306 #else
74307 # include <assert.h>
74308 #endif
74310 #undef $ac_func
74312 /* Override any gcc2 internal prototype to avoid an error. */
74313 #ifdef __cplusplus
74314 extern "C"
74316 #endif
74317 /* We use char because int might match the return type of a gcc2
74318 builtin and then its argument prototype would still apply. */
74319 char $ac_func ();
74320 /* The GNU C library defines this for functions which it implements
74321 to always fail with ENOSYS. Some functions are actually named
74322 something starting with __ and the normal name is an alias. */
74323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74324 choke me
74325 #else
74326 char (*f) () = $ac_func;
74327 #endif
74328 #ifdef __cplusplus
74330 #endif
74333 main ()
74335 return f != $ac_func;
74337 return 0;
74339 _ACEOF
74340 rm -f conftest.$ac_objext conftest$ac_exeext
74341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74342 (eval $ac_link) 2>conftest.er1
74343 ac_status=$?
74344 grep -v '^ *+' conftest.er1 >conftest.err
74345 rm -f conftest.er1
74346 cat conftest.err >&5
74347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74348 (exit $ac_status); } &&
74349 { ac_try='test -z "$ac_c_werror_flag"
74350 || test ! -s conftest.err'
74351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74352 (eval $ac_try) 2>&5
74353 ac_status=$?
74354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74355 (exit $ac_status); }; } &&
74356 { ac_try='test -s conftest$ac_exeext'
74357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74358 (eval $ac_try) 2>&5
74359 ac_status=$?
74360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74361 (exit $ac_status); }; }; then
74362 eval "$as_ac_var=yes"
74363 else
74364 echo "$as_me: failed program was:" >&5
74365 sed 's/^/| /' conftest.$ac_ext >&5
74367 eval "$as_ac_var=no"
74369 rm -f conftest.err conftest.$ac_objext \
74370 conftest$ac_exeext conftest.$ac_ext
74372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74374 if test `eval echo '${'$as_ac_var'}'` = yes; then
74375 cat >>confdefs.h <<_ACEOF
74376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74377 _ACEOF
74380 done
74390 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
74391 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
74392 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74393 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
74394 echo $ECHO_N "(cached) $ECHO_C" >&6
74395 else
74399 ac_ext=cc
74400 ac_cpp='$CXXCPP $CPPFLAGS'
74401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74405 cat >conftest.$ac_ext <<_ACEOF
74406 /* confdefs.h. */
74407 _ACEOF
74408 cat confdefs.h >>conftest.$ac_ext
74409 cat >>conftest.$ac_ext <<_ACEOF
74410 /* end confdefs.h. */
74411 #include <math.h>
74412 #ifdef HAVE_IEEEFP_H
74413 #include <ieeefp.h>
74414 #endif
74417 main ()
74419 sqrtf(0);
74421 return 0;
74423 _ACEOF
74424 rm -f conftest.$ac_objext
74425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74426 (eval $ac_compile) 2>conftest.er1
74427 ac_status=$?
74428 grep -v '^ *+' conftest.er1 >conftest.err
74429 rm -f conftest.er1
74430 cat conftest.err >&5
74431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74432 (exit $ac_status); } &&
74433 { ac_try='test -z "$ac_cxx_werror_flag"
74434 || test ! -s conftest.err'
74435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74436 (eval $ac_try) 2>&5
74437 ac_status=$?
74438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74439 (exit $ac_status); }; } &&
74440 { ac_try='test -s conftest.$ac_objext'
74441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74442 (eval $ac_try) 2>&5
74443 ac_status=$?
74444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74445 (exit $ac_status); }; }; then
74446 glibcxx_cv_func_sqrtf_use=yes
74447 else
74448 echo "$as_me: failed program was:" >&5
74449 sed 's/^/| /' conftest.$ac_ext >&5
74451 glibcxx_cv_func_sqrtf_use=no
74453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74454 ac_ext=c
74455 ac_cpp='$CPP $CPPFLAGS'
74456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74464 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
74465 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
74467 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74469 for ac_func in sqrtf
74471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74472 echo "$as_me:$LINENO: checking for $ac_func" >&5
74473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74474 if eval "test \"\${$as_ac_var+set}\" = set"; then
74475 echo $ECHO_N "(cached) $ECHO_C" >&6
74476 else
74477 if test x$gcc_no_link = xyes; then
74478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74480 { (exit 1); exit 1; }; }
74482 cat >conftest.$ac_ext <<_ACEOF
74483 /* confdefs.h. */
74484 _ACEOF
74485 cat confdefs.h >>conftest.$ac_ext
74486 cat >>conftest.$ac_ext <<_ACEOF
74487 /* end confdefs.h. */
74488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74490 #define $ac_func innocuous_$ac_func
74492 /* System header to define __stub macros and hopefully few prototypes,
74493 which can conflict with char $ac_func (); below.
74494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74495 <limits.h> exists even on freestanding compilers. */
74497 #ifdef __STDC__
74498 # include <limits.h>
74499 #else
74500 # include <assert.h>
74501 #endif
74503 #undef $ac_func
74505 /* Override any gcc2 internal prototype to avoid an error. */
74506 #ifdef __cplusplus
74507 extern "C"
74509 #endif
74510 /* We use char because int might match the return type of a gcc2
74511 builtin and then its argument prototype would still apply. */
74512 char $ac_func ();
74513 /* The GNU C library defines this for functions which it implements
74514 to always fail with ENOSYS. Some functions are actually named
74515 something starting with __ and the normal name is an alias. */
74516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74517 choke me
74518 #else
74519 char (*f) () = $ac_func;
74520 #endif
74521 #ifdef __cplusplus
74523 #endif
74526 main ()
74528 return f != $ac_func;
74530 return 0;
74532 _ACEOF
74533 rm -f conftest.$ac_objext conftest$ac_exeext
74534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74535 (eval $ac_link) 2>conftest.er1
74536 ac_status=$?
74537 grep -v '^ *+' conftest.er1 >conftest.err
74538 rm -f conftest.er1
74539 cat conftest.err >&5
74540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74541 (exit $ac_status); } &&
74542 { ac_try='test -z "$ac_c_werror_flag"
74543 || test ! -s conftest.err'
74544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74545 (eval $ac_try) 2>&5
74546 ac_status=$?
74547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74548 (exit $ac_status); }; } &&
74549 { ac_try='test -s conftest$ac_exeext'
74550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74551 (eval $ac_try) 2>&5
74552 ac_status=$?
74553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74554 (exit $ac_status); }; }; then
74555 eval "$as_ac_var=yes"
74556 else
74557 echo "$as_me: failed program was:" >&5
74558 sed 's/^/| /' conftest.$ac_ext >&5
74560 eval "$as_ac_var=no"
74562 rm -f conftest.err conftest.$ac_objext \
74563 conftest$ac_exeext conftest.$ac_ext
74565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74567 if test `eval echo '${'$as_ac_var'}'` = yes; then
74568 cat >>confdefs.h <<_ACEOF
74569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74570 _ACEOF
74573 done
74575 else
74577 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
74578 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
74579 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74580 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
74581 echo $ECHO_N "(cached) $ECHO_C" >&6
74582 else
74586 ac_ext=cc
74587 ac_cpp='$CXXCPP $CPPFLAGS'
74588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74592 cat >conftest.$ac_ext <<_ACEOF
74593 /* confdefs.h. */
74594 _ACEOF
74595 cat confdefs.h >>conftest.$ac_ext
74596 cat >>conftest.$ac_ext <<_ACEOF
74597 /* end confdefs.h. */
74598 #include <math.h>
74599 #ifdef HAVE_IEEEFP_H
74600 #include <ieeefp.h>
74601 #endif
74604 main ()
74606 _sqrtf(0);
74608 return 0;
74610 _ACEOF
74611 rm -f conftest.$ac_objext
74612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74613 (eval $ac_compile) 2>conftest.er1
74614 ac_status=$?
74615 grep -v '^ *+' conftest.er1 >conftest.err
74616 rm -f conftest.er1
74617 cat conftest.err >&5
74618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74619 (exit $ac_status); } &&
74620 { ac_try='test -z "$ac_cxx_werror_flag"
74621 || test ! -s conftest.err'
74622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74623 (eval $ac_try) 2>&5
74624 ac_status=$?
74625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74626 (exit $ac_status); }; } &&
74627 { ac_try='test -s conftest.$ac_objext'
74628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74629 (eval $ac_try) 2>&5
74630 ac_status=$?
74631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74632 (exit $ac_status); }; }; then
74633 glibcxx_cv_func__sqrtf_use=yes
74634 else
74635 echo "$as_me: failed program was:" >&5
74636 sed 's/^/| /' conftest.$ac_ext >&5
74638 glibcxx_cv_func__sqrtf_use=no
74640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74641 ac_ext=c
74642 ac_cpp='$CPP $CPPFLAGS'
74643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74651 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
74652 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
74654 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74656 for ac_func in _sqrtf
74658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74659 echo "$as_me:$LINENO: checking for $ac_func" >&5
74660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74661 if eval "test \"\${$as_ac_var+set}\" = set"; then
74662 echo $ECHO_N "(cached) $ECHO_C" >&6
74663 else
74664 if test x$gcc_no_link = xyes; then
74665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74667 { (exit 1); exit 1; }; }
74669 cat >conftest.$ac_ext <<_ACEOF
74670 /* confdefs.h. */
74671 _ACEOF
74672 cat confdefs.h >>conftest.$ac_ext
74673 cat >>conftest.$ac_ext <<_ACEOF
74674 /* end confdefs.h. */
74675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74677 #define $ac_func innocuous_$ac_func
74679 /* System header to define __stub macros and hopefully few prototypes,
74680 which can conflict with char $ac_func (); below.
74681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74682 <limits.h> exists even on freestanding compilers. */
74684 #ifdef __STDC__
74685 # include <limits.h>
74686 #else
74687 # include <assert.h>
74688 #endif
74690 #undef $ac_func
74692 /* Override any gcc2 internal prototype to avoid an error. */
74693 #ifdef __cplusplus
74694 extern "C"
74696 #endif
74697 /* We use char because int might match the return type of a gcc2
74698 builtin and then its argument prototype would still apply. */
74699 char $ac_func ();
74700 /* The GNU C library defines this for functions which it implements
74701 to always fail with ENOSYS. Some functions are actually named
74702 something starting with __ and the normal name is an alias. */
74703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74704 choke me
74705 #else
74706 char (*f) () = $ac_func;
74707 #endif
74708 #ifdef __cplusplus
74710 #endif
74713 main ()
74715 return f != $ac_func;
74717 return 0;
74719 _ACEOF
74720 rm -f conftest.$ac_objext conftest$ac_exeext
74721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74722 (eval $ac_link) 2>conftest.er1
74723 ac_status=$?
74724 grep -v '^ *+' conftest.er1 >conftest.err
74725 rm -f conftest.er1
74726 cat conftest.err >&5
74727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74728 (exit $ac_status); } &&
74729 { ac_try='test -z "$ac_c_werror_flag"
74730 || test ! -s conftest.err'
74731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74732 (eval $ac_try) 2>&5
74733 ac_status=$?
74734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74735 (exit $ac_status); }; } &&
74736 { ac_try='test -s conftest$ac_exeext'
74737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74738 (eval $ac_try) 2>&5
74739 ac_status=$?
74740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74741 (exit $ac_status); }; }; then
74742 eval "$as_ac_var=yes"
74743 else
74744 echo "$as_me: failed program was:" >&5
74745 sed 's/^/| /' conftest.$ac_ext >&5
74747 eval "$as_ac_var=no"
74749 rm -f conftest.err conftest.$ac_objext \
74750 conftest$ac_exeext conftest.$ac_ext
74752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74754 if test `eval echo '${'$as_ac_var'}'` = yes; then
74755 cat >>confdefs.h <<_ACEOF
74756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74757 _ACEOF
74760 done
74770 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
74771 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
74772 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74773 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
74774 echo $ECHO_N "(cached) $ECHO_C" >&6
74775 else
74779 ac_ext=cc
74780 ac_cpp='$CXXCPP $CPPFLAGS'
74781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74785 cat >conftest.$ac_ext <<_ACEOF
74786 /* confdefs.h. */
74787 _ACEOF
74788 cat confdefs.h >>conftest.$ac_ext
74789 cat >>conftest.$ac_ext <<_ACEOF
74790 /* end confdefs.h. */
74791 #include <math.h>
74793 main ()
74795 sincosf(0, 0, 0);
74797 return 0;
74799 _ACEOF
74800 rm -f conftest.$ac_objext
74801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74802 (eval $ac_compile) 2>conftest.er1
74803 ac_status=$?
74804 grep -v '^ *+' conftest.er1 >conftest.err
74805 rm -f conftest.er1
74806 cat conftest.err >&5
74807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74808 (exit $ac_status); } &&
74809 { ac_try='test -z "$ac_cxx_werror_flag"
74810 || test ! -s conftest.err'
74811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74812 (eval $ac_try) 2>&5
74813 ac_status=$?
74814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74815 (exit $ac_status); }; } &&
74816 { ac_try='test -s conftest.$ac_objext'
74817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74818 (eval $ac_try) 2>&5
74819 ac_status=$?
74820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74821 (exit $ac_status); }; }; then
74822 glibcxx_cv_func_sincosf_use=yes
74823 else
74824 echo "$as_me: failed program was:" >&5
74825 sed 's/^/| /' conftest.$ac_ext >&5
74827 glibcxx_cv_func_sincosf_use=no
74829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74830 ac_ext=c
74831 ac_cpp='$CPP $CPPFLAGS'
74832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74840 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
74841 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
74843 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74845 for ac_func in sincosf
74847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74848 echo "$as_me:$LINENO: checking for $ac_func" >&5
74849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74850 if eval "test \"\${$as_ac_var+set}\" = set"; then
74851 echo $ECHO_N "(cached) $ECHO_C" >&6
74852 else
74853 if test x$gcc_no_link = xyes; then
74854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74856 { (exit 1); exit 1; }; }
74858 cat >conftest.$ac_ext <<_ACEOF
74859 /* confdefs.h. */
74860 _ACEOF
74861 cat confdefs.h >>conftest.$ac_ext
74862 cat >>conftest.$ac_ext <<_ACEOF
74863 /* end confdefs.h. */
74864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74866 #define $ac_func innocuous_$ac_func
74868 /* System header to define __stub macros and hopefully few prototypes,
74869 which can conflict with char $ac_func (); below.
74870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74871 <limits.h> exists even on freestanding compilers. */
74873 #ifdef __STDC__
74874 # include <limits.h>
74875 #else
74876 # include <assert.h>
74877 #endif
74879 #undef $ac_func
74881 /* Override any gcc2 internal prototype to avoid an error. */
74882 #ifdef __cplusplus
74883 extern "C"
74885 #endif
74886 /* We use char because int might match the return type of a gcc2
74887 builtin and then its argument prototype would still apply. */
74888 char $ac_func ();
74889 /* The GNU C library defines this for functions which it implements
74890 to always fail with ENOSYS. Some functions are actually named
74891 something starting with __ and the normal name is an alias. */
74892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74893 choke me
74894 #else
74895 char (*f) () = $ac_func;
74896 #endif
74897 #ifdef __cplusplus
74899 #endif
74902 main ()
74904 return f != $ac_func;
74906 return 0;
74908 _ACEOF
74909 rm -f conftest.$ac_objext conftest$ac_exeext
74910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74911 (eval $ac_link) 2>conftest.er1
74912 ac_status=$?
74913 grep -v '^ *+' conftest.er1 >conftest.err
74914 rm -f conftest.er1
74915 cat conftest.err >&5
74916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74917 (exit $ac_status); } &&
74918 { ac_try='test -z "$ac_c_werror_flag"
74919 || test ! -s conftest.err'
74920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74921 (eval $ac_try) 2>&5
74922 ac_status=$?
74923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74924 (exit $ac_status); }; } &&
74925 { ac_try='test -s conftest$ac_exeext'
74926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74927 (eval $ac_try) 2>&5
74928 ac_status=$?
74929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74930 (exit $ac_status); }; }; then
74931 eval "$as_ac_var=yes"
74932 else
74933 echo "$as_me: failed program was:" >&5
74934 sed 's/^/| /' conftest.$ac_ext >&5
74936 eval "$as_ac_var=no"
74938 rm -f conftest.err conftest.$ac_objext \
74939 conftest$ac_exeext conftest.$ac_ext
74941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74943 if test `eval echo '${'$as_ac_var'}'` = yes; then
74944 cat >>confdefs.h <<_ACEOF
74945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74946 _ACEOF
74949 done
74951 else
74953 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
74954 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
74955 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74956 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
74957 echo $ECHO_N "(cached) $ECHO_C" >&6
74958 else
74962 ac_ext=cc
74963 ac_cpp='$CXXCPP $CPPFLAGS'
74964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74968 cat >conftest.$ac_ext <<_ACEOF
74969 /* confdefs.h. */
74970 _ACEOF
74971 cat confdefs.h >>conftest.$ac_ext
74972 cat >>conftest.$ac_ext <<_ACEOF
74973 /* end confdefs.h. */
74974 #include <math.h>
74976 main ()
74978 _sincosf(0, 0, 0);
74980 return 0;
74982 _ACEOF
74983 rm -f conftest.$ac_objext
74984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74985 (eval $ac_compile) 2>conftest.er1
74986 ac_status=$?
74987 grep -v '^ *+' conftest.er1 >conftest.err
74988 rm -f conftest.er1
74989 cat conftest.err >&5
74990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74991 (exit $ac_status); } &&
74992 { ac_try='test -z "$ac_cxx_werror_flag"
74993 || test ! -s conftest.err'
74994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74995 (eval $ac_try) 2>&5
74996 ac_status=$?
74997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74998 (exit $ac_status); }; } &&
74999 { ac_try='test -s conftest.$ac_objext'
75000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75001 (eval $ac_try) 2>&5
75002 ac_status=$?
75003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75004 (exit $ac_status); }; }; then
75005 glibcxx_cv_func__sincosf_use=yes
75006 else
75007 echo "$as_me: failed program was:" >&5
75008 sed 's/^/| /' conftest.$ac_ext >&5
75010 glibcxx_cv_func__sincosf_use=no
75012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75013 ac_ext=c
75014 ac_cpp='$CPP $CPPFLAGS'
75015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75023 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
75024 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
75026 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75028 for ac_func in _sincosf
75030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75031 echo "$as_me:$LINENO: checking for $ac_func" >&5
75032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75033 if eval "test \"\${$as_ac_var+set}\" = set"; then
75034 echo $ECHO_N "(cached) $ECHO_C" >&6
75035 else
75036 if test x$gcc_no_link = xyes; then
75037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75039 { (exit 1); exit 1; }; }
75041 cat >conftest.$ac_ext <<_ACEOF
75042 /* confdefs.h. */
75043 _ACEOF
75044 cat confdefs.h >>conftest.$ac_ext
75045 cat >>conftest.$ac_ext <<_ACEOF
75046 /* end confdefs.h. */
75047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75049 #define $ac_func innocuous_$ac_func
75051 /* System header to define __stub macros and hopefully few prototypes,
75052 which can conflict with char $ac_func (); below.
75053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75054 <limits.h> exists even on freestanding compilers. */
75056 #ifdef __STDC__
75057 # include <limits.h>
75058 #else
75059 # include <assert.h>
75060 #endif
75062 #undef $ac_func
75064 /* Override any gcc2 internal prototype to avoid an error. */
75065 #ifdef __cplusplus
75066 extern "C"
75068 #endif
75069 /* We use char because int might match the return type of a gcc2
75070 builtin and then its argument prototype would still apply. */
75071 char $ac_func ();
75072 /* The GNU C library defines this for functions which it implements
75073 to always fail with ENOSYS. Some functions are actually named
75074 something starting with __ and the normal name is an alias. */
75075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75076 choke me
75077 #else
75078 char (*f) () = $ac_func;
75079 #endif
75080 #ifdef __cplusplus
75082 #endif
75085 main ()
75087 return f != $ac_func;
75089 return 0;
75091 _ACEOF
75092 rm -f conftest.$ac_objext conftest$ac_exeext
75093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75094 (eval $ac_link) 2>conftest.er1
75095 ac_status=$?
75096 grep -v '^ *+' conftest.er1 >conftest.err
75097 rm -f conftest.er1
75098 cat conftest.err >&5
75099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75100 (exit $ac_status); } &&
75101 { ac_try='test -z "$ac_c_werror_flag"
75102 || test ! -s conftest.err'
75103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75104 (eval $ac_try) 2>&5
75105 ac_status=$?
75106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75107 (exit $ac_status); }; } &&
75108 { ac_try='test -s conftest$ac_exeext'
75109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75110 (eval $ac_try) 2>&5
75111 ac_status=$?
75112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75113 (exit $ac_status); }; }; then
75114 eval "$as_ac_var=yes"
75115 else
75116 echo "$as_me: failed program was:" >&5
75117 sed 's/^/| /' conftest.$ac_ext >&5
75119 eval "$as_ac_var=no"
75121 rm -f conftest.err conftest.$ac_objext \
75122 conftest$ac_exeext conftest.$ac_ext
75124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75126 if test `eval echo '${'$as_ac_var'}'` = yes; then
75127 cat >>confdefs.h <<_ACEOF
75128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75129 _ACEOF
75132 done
75142 echo "$as_me:$LINENO: checking for finitef declaration" >&5
75143 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
75144 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75145 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
75146 echo $ECHO_N "(cached) $ECHO_C" >&6
75147 else
75151 ac_ext=cc
75152 ac_cpp='$CXXCPP $CPPFLAGS'
75153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75157 cat >conftest.$ac_ext <<_ACEOF
75158 /* confdefs.h. */
75159 _ACEOF
75160 cat confdefs.h >>conftest.$ac_ext
75161 cat >>conftest.$ac_ext <<_ACEOF
75162 /* end confdefs.h. */
75163 #include <math.h>
75164 #ifdef HAVE_IEEEFP_H
75165 #include <ieeefp.h>
75166 #endif
75169 main ()
75171 finitef(0);
75173 return 0;
75175 _ACEOF
75176 rm -f conftest.$ac_objext
75177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75178 (eval $ac_compile) 2>conftest.er1
75179 ac_status=$?
75180 grep -v '^ *+' conftest.er1 >conftest.err
75181 rm -f conftest.er1
75182 cat conftest.err >&5
75183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75184 (exit $ac_status); } &&
75185 { ac_try='test -z "$ac_cxx_werror_flag"
75186 || test ! -s conftest.err'
75187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75188 (eval $ac_try) 2>&5
75189 ac_status=$?
75190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75191 (exit $ac_status); }; } &&
75192 { ac_try='test -s conftest.$ac_objext'
75193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75194 (eval $ac_try) 2>&5
75195 ac_status=$?
75196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75197 (exit $ac_status); }; }; then
75198 glibcxx_cv_func_finitef_use=yes
75199 else
75200 echo "$as_me: failed program was:" >&5
75201 sed 's/^/| /' conftest.$ac_ext >&5
75203 glibcxx_cv_func_finitef_use=no
75205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75206 ac_ext=c
75207 ac_cpp='$CPP $CPPFLAGS'
75208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75216 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
75217 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
75219 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75221 for ac_func in finitef
75223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75224 echo "$as_me:$LINENO: checking for $ac_func" >&5
75225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75226 if eval "test \"\${$as_ac_var+set}\" = set"; then
75227 echo $ECHO_N "(cached) $ECHO_C" >&6
75228 else
75229 if test x$gcc_no_link = xyes; then
75230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75232 { (exit 1); exit 1; }; }
75234 cat >conftest.$ac_ext <<_ACEOF
75235 /* confdefs.h. */
75236 _ACEOF
75237 cat confdefs.h >>conftest.$ac_ext
75238 cat >>conftest.$ac_ext <<_ACEOF
75239 /* end confdefs.h. */
75240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75242 #define $ac_func innocuous_$ac_func
75244 /* System header to define __stub macros and hopefully few prototypes,
75245 which can conflict with char $ac_func (); below.
75246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75247 <limits.h> exists even on freestanding compilers. */
75249 #ifdef __STDC__
75250 # include <limits.h>
75251 #else
75252 # include <assert.h>
75253 #endif
75255 #undef $ac_func
75257 /* Override any gcc2 internal prototype to avoid an error. */
75258 #ifdef __cplusplus
75259 extern "C"
75261 #endif
75262 /* We use char because int might match the return type of a gcc2
75263 builtin and then its argument prototype would still apply. */
75264 char $ac_func ();
75265 /* The GNU C library defines this for functions which it implements
75266 to always fail with ENOSYS. Some functions are actually named
75267 something starting with __ and the normal name is an alias. */
75268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75269 choke me
75270 #else
75271 char (*f) () = $ac_func;
75272 #endif
75273 #ifdef __cplusplus
75275 #endif
75278 main ()
75280 return f != $ac_func;
75282 return 0;
75284 _ACEOF
75285 rm -f conftest.$ac_objext conftest$ac_exeext
75286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75287 (eval $ac_link) 2>conftest.er1
75288 ac_status=$?
75289 grep -v '^ *+' conftest.er1 >conftest.err
75290 rm -f conftest.er1
75291 cat conftest.err >&5
75292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75293 (exit $ac_status); } &&
75294 { ac_try='test -z "$ac_c_werror_flag"
75295 || test ! -s conftest.err'
75296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75297 (eval $ac_try) 2>&5
75298 ac_status=$?
75299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75300 (exit $ac_status); }; } &&
75301 { ac_try='test -s conftest$ac_exeext'
75302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75303 (eval $ac_try) 2>&5
75304 ac_status=$?
75305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75306 (exit $ac_status); }; }; then
75307 eval "$as_ac_var=yes"
75308 else
75309 echo "$as_me: failed program was:" >&5
75310 sed 's/^/| /' conftest.$ac_ext >&5
75312 eval "$as_ac_var=no"
75314 rm -f conftest.err conftest.$ac_objext \
75315 conftest$ac_exeext conftest.$ac_ext
75317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75319 if test `eval echo '${'$as_ac_var'}'` = yes; then
75320 cat >>confdefs.h <<_ACEOF
75321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75322 _ACEOF
75325 done
75327 else
75329 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
75330 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
75331 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75332 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
75333 echo $ECHO_N "(cached) $ECHO_C" >&6
75334 else
75338 ac_ext=cc
75339 ac_cpp='$CXXCPP $CPPFLAGS'
75340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75344 cat >conftest.$ac_ext <<_ACEOF
75345 /* confdefs.h. */
75346 _ACEOF
75347 cat confdefs.h >>conftest.$ac_ext
75348 cat >>conftest.$ac_ext <<_ACEOF
75349 /* end confdefs.h. */
75350 #include <math.h>
75351 #ifdef HAVE_IEEEFP_H
75352 #include <ieeefp.h>
75353 #endif
75356 main ()
75358 _finitef(0);
75360 return 0;
75362 _ACEOF
75363 rm -f conftest.$ac_objext
75364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75365 (eval $ac_compile) 2>conftest.er1
75366 ac_status=$?
75367 grep -v '^ *+' conftest.er1 >conftest.err
75368 rm -f conftest.er1
75369 cat conftest.err >&5
75370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75371 (exit $ac_status); } &&
75372 { ac_try='test -z "$ac_cxx_werror_flag"
75373 || test ! -s conftest.err'
75374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75375 (eval $ac_try) 2>&5
75376 ac_status=$?
75377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75378 (exit $ac_status); }; } &&
75379 { ac_try='test -s conftest.$ac_objext'
75380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75381 (eval $ac_try) 2>&5
75382 ac_status=$?
75383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75384 (exit $ac_status); }; }; then
75385 glibcxx_cv_func__finitef_use=yes
75386 else
75387 echo "$as_me: failed program was:" >&5
75388 sed 's/^/| /' conftest.$ac_ext >&5
75390 glibcxx_cv_func__finitef_use=no
75392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75393 ac_ext=c
75394 ac_cpp='$CPP $CPPFLAGS'
75395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75403 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
75404 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
75406 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75408 for ac_func in _finitef
75410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75411 echo "$as_me:$LINENO: checking for $ac_func" >&5
75412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75413 if eval "test \"\${$as_ac_var+set}\" = set"; then
75414 echo $ECHO_N "(cached) $ECHO_C" >&6
75415 else
75416 if test x$gcc_no_link = xyes; then
75417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75419 { (exit 1); exit 1; }; }
75421 cat >conftest.$ac_ext <<_ACEOF
75422 /* confdefs.h. */
75423 _ACEOF
75424 cat confdefs.h >>conftest.$ac_ext
75425 cat >>conftest.$ac_ext <<_ACEOF
75426 /* end confdefs.h. */
75427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75429 #define $ac_func innocuous_$ac_func
75431 /* System header to define __stub macros and hopefully few prototypes,
75432 which can conflict with char $ac_func (); below.
75433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75434 <limits.h> exists even on freestanding compilers. */
75436 #ifdef __STDC__
75437 # include <limits.h>
75438 #else
75439 # include <assert.h>
75440 #endif
75442 #undef $ac_func
75444 /* Override any gcc2 internal prototype to avoid an error. */
75445 #ifdef __cplusplus
75446 extern "C"
75448 #endif
75449 /* We use char because int might match the return type of a gcc2
75450 builtin and then its argument prototype would still apply. */
75451 char $ac_func ();
75452 /* The GNU C library defines this for functions which it implements
75453 to always fail with ENOSYS. Some functions are actually named
75454 something starting with __ and the normal name is an alias. */
75455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75456 choke me
75457 #else
75458 char (*f) () = $ac_func;
75459 #endif
75460 #ifdef __cplusplus
75462 #endif
75465 main ()
75467 return f != $ac_func;
75469 return 0;
75471 _ACEOF
75472 rm -f conftest.$ac_objext conftest$ac_exeext
75473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75474 (eval $ac_link) 2>conftest.er1
75475 ac_status=$?
75476 grep -v '^ *+' conftest.er1 >conftest.err
75477 rm -f conftest.er1
75478 cat conftest.err >&5
75479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75480 (exit $ac_status); } &&
75481 { ac_try='test -z "$ac_c_werror_flag"
75482 || test ! -s conftest.err'
75483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75484 (eval $ac_try) 2>&5
75485 ac_status=$?
75486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75487 (exit $ac_status); }; } &&
75488 { ac_try='test -s conftest$ac_exeext'
75489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75490 (eval $ac_try) 2>&5
75491 ac_status=$?
75492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75493 (exit $ac_status); }; }; then
75494 eval "$as_ac_var=yes"
75495 else
75496 echo "$as_me: failed program was:" >&5
75497 sed 's/^/| /' conftest.$ac_ext >&5
75499 eval "$as_ac_var=no"
75501 rm -f conftest.err conftest.$ac_objext \
75502 conftest$ac_exeext conftest.$ac_ext
75504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75506 if test `eval echo '${'$as_ac_var'}'` = yes; then
75507 cat >>confdefs.h <<_ACEOF
75508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75509 _ACEOF
75512 done
75522 echo "$as_me:$LINENO: checking for long double trig functions" >&5
75523 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
75524 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
75525 echo $ECHO_N "(cached) $ECHO_C" >&6
75526 else
75530 ac_ext=cc
75531 ac_cpp='$CXXCPP $CPPFLAGS'
75532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75536 cat >conftest.$ac_ext <<_ACEOF
75537 /* confdefs.h. */
75538 _ACEOF
75539 cat confdefs.h >>conftest.$ac_ext
75540 cat >>conftest.$ac_ext <<_ACEOF
75541 /* end confdefs.h. */
75542 #include <math.h>
75544 main ()
75546 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75548 return 0;
75550 _ACEOF
75551 rm -f conftest.$ac_objext
75552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75553 (eval $ac_compile) 2>conftest.er1
75554 ac_status=$?
75555 grep -v '^ *+' conftest.er1 >conftest.err
75556 rm -f conftest.er1
75557 cat conftest.err >&5
75558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75559 (exit $ac_status); } &&
75560 { ac_try='test -z "$ac_cxx_werror_flag"
75561 || test ! -s conftest.err'
75562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75563 (eval $ac_try) 2>&5
75564 ac_status=$?
75565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75566 (exit $ac_status); }; } &&
75567 { ac_try='test -s conftest.$ac_objext'
75568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75569 (eval $ac_try) 2>&5
75570 ac_status=$?
75571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75572 (exit $ac_status); }; }; then
75573 glibcxx_cv_func_long_double_trig_use=yes
75574 else
75575 echo "$as_me: failed program was:" >&5
75576 sed 's/^/| /' conftest.$ac_ext >&5
75578 glibcxx_cv_func_long_double_trig_use=no
75580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75581 ac_ext=c
75582 ac_cpp='$CPP $CPPFLAGS'
75583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75589 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
75590 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
75591 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75601 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75604 echo "$as_me:$LINENO: checking for $ac_func" >&5
75605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75606 if eval "test \"\${$as_ac_var+set}\" = set"; then
75607 echo $ECHO_N "(cached) $ECHO_C" >&6
75608 else
75609 if test x$gcc_no_link = xyes; then
75610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75612 { (exit 1); exit 1; }; }
75614 cat >conftest.$ac_ext <<_ACEOF
75615 /* confdefs.h. */
75616 _ACEOF
75617 cat confdefs.h >>conftest.$ac_ext
75618 cat >>conftest.$ac_ext <<_ACEOF
75619 /* end confdefs.h. */
75620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75622 #define $ac_func innocuous_$ac_func
75624 /* System header to define __stub macros and hopefully few prototypes,
75625 which can conflict with char $ac_func (); below.
75626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75627 <limits.h> exists even on freestanding compilers. */
75629 #ifdef __STDC__
75630 # include <limits.h>
75631 #else
75632 # include <assert.h>
75633 #endif
75635 #undef $ac_func
75637 /* Override any gcc2 internal prototype to avoid an error. */
75638 #ifdef __cplusplus
75639 extern "C"
75641 #endif
75642 /* We use char because int might match the return type of a gcc2
75643 builtin and then its argument prototype would still apply. */
75644 char $ac_func ();
75645 /* The GNU C library defines this for functions which it implements
75646 to always fail with ENOSYS. Some functions are actually named
75647 something starting with __ and the normal name is an alias. */
75648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75649 choke me
75650 #else
75651 char (*f) () = $ac_func;
75652 #endif
75653 #ifdef __cplusplus
75655 #endif
75658 main ()
75660 return f != $ac_func;
75662 return 0;
75664 _ACEOF
75665 rm -f conftest.$ac_objext conftest$ac_exeext
75666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75667 (eval $ac_link) 2>conftest.er1
75668 ac_status=$?
75669 grep -v '^ *+' conftest.er1 >conftest.err
75670 rm -f conftest.er1
75671 cat conftest.err >&5
75672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75673 (exit $ac_status); } &&
75674 { ac_try='test -z "$ac_c_werror_flag"
75675 || test ! -s conftest.err'
75676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75677 (eval $ac_try) 2>&5
75678 ac_status=$?
75679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75680 (exit $ac_status); }; } &&
75681 { ac_try='test -s conftest$ac_exeext'
75682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75683 (eval $ac_try) 2>&5
75684 ac_status=$?
75685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75686 (exit $ac_status); }; }; then
75687 eval "$as_ac_var=yes"
75688 else
75689 echo "$as_me: failed program was:" >&5
75690 sed 's/^/| /' conftest.$ac_ext >&5
75692 eval "$as_ac_var=no"
75694 rm -f conftest.err conftest.$ac_objext \
75695 conftest$ac_exeext conftest.$ac_ext
75697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75699 if test `eval echo '${'$as_ac_var'}'` = yes; then
75700 cat >>confdefs.h <<_ACEOF
75701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75702 _ACEOF
75705 done
75707 else
75708 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
75709 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
75710 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
75711 echo $ECHO_N "(cached) $ECHO_C" >&6
75712 else
75716 ac_ext=cc
75717 ac_cpp='$CXXCPP $CPPFLAGS'
75718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75722 cat >conftest.$ac_ext <<_ACEOF
75723 /* confdefs.h. */
75724 _ACEOF
75725 cat confdefs.h >>conftest.$ac_ext
75726 cat >>conftest.$ac_ext <<_ACEOF
75727 /* end confdefs.h. */
75728 #include <math.h>
75730 main ()
75732 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75734 return 0;
75736 _ACEOF
75737 rm -f conftest.$ac_objext
75738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75739 (eval $ac_compile) 2>conftest.er1
75740 ac_status=$?
75741 grep -v '^ *+' conftest.er1 >conftest.err
75742 rm -f conftest.er1
75743 cat conftest.err >&5
75744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75745 (exit $ac_status); } &&
75746 { ac_try='test -z "$ac_cxx_werror_flag"
75747 || test ! -s conftest.err'
75748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75749 (eval $ac_try) 2>&5
75750 ac_status=$?
75751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75752 (exit $ac_status); }; } &&
75753 { ac_try='test -s conftest.$ac_objext'
75754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75755 (eval $ac_try) 2>&5
75756 ac_status=$?
75757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75758 (exit $ac_status); }; }; then
75759 glibcxx_cv_func__long_double_trig_use=yes
75760 else
75761 echo "$as_me: failed program was:" >&5
75762 sed 's/^/| /' conftest.$ac_ext >&5
75764 glibcxx_cv_func__long_double_trig_use=no
75766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75767 ac_ext=c
75768 ac_cpp='$CPP $CPPFLAGS'
75769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75775 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
75776 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
75777 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75787 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75790 echo "$as_me:$LINENO: checking for $ac_func" >&5
75791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75792 if eval "test \"\${$as_ac_var+set}\" = set"; then
75793 echo $ECHO_N "(cached) $ECHO_C" >&6
75794 else
75795 if test x$gcc_no_link = xyes; then
75796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75798 { (exit 1); exit 1; }; }
75800 cat >conftest.$ac_ext <<_ACEOF
75801 /* confdefs.h. */
75802 _ACEOF
75803 cat confdefs.h >>conftest.$ac_ext
75804 cat >>conftest.$ac_ext <<_ACEOF
75805 /* end confdefs.h. */
75806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75808 #define $ac_func innocuous_$ac_func
75810 /* System header to define __stub macros and hopefully few prototypes,
75811 which can conflict with char $ac_func (); below.
75812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75813 <limits.h> exists even on freestanding compilers. */
75815 #ifdef __STDC__
75816 # include <limits.h>
75817 #else
75818 # include <assert.h>
75819 #endif
75821 #undef $ac_func
75823 /* Override any gcc2 internal prototype to avoid an error. */
75824 #ifdef __cplusplus
75825 extern "C"
75827 #endif
75828 /* We use char because int might match the return type of a gcc2
75829 builtin and then its argument prototype would still apply. */
75830 char $ac_func ();
75831 /* The GNU C library defines this for functions which it implements
75832 to always fail with ENOSYS. Some functions are actually named
75833 something starting with __ and the normal name is an alias. */
75834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75835 choke me
75836 #else
75837 char (*f) () = $ac_func;
75838 #endif
75839 #ifdef __cplusplus
75841 #endif
75844 main ()
75846 return f != $ac_func;
75848 return 0;
75850 _ACEOF
75851 rm -f conftest.$ac_objext conftest$ac_exeext
75852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75853 (eval $ac_link) 2>conftest.er1
75854 ac_status=$?
75855 grep -v '^ *+' conftest.er1 >conftest.err
75856 rm -f conftest.er1
75857 cat conftest.err >&5
75858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75859 (exit $ac_status); } &&
75860 { ac_try='test -z "$ac_c_werror_flag"
75861 || test ! -s conftest.err'
75862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75863 (eval $ac_try) 2>&5
75864 ac_status=$?
75865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75866 (exit $ac_status); }; } &&
75867 { ac_try='test -s conftest$ac_exeext'
75868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75869 (eval $ac_try) 2>&5
75870 ac_status=$?
75871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75872 (exit $ac_status); }; }; then
75873 eval "$as_ac_var=yes"
75874 else
75875 echo "$as_me: failed program was:" >&5
75876 sed 's/^/| /' conftest.$ac_ext >&5
75878 eval "$as_ac_var=no"
75880 rm -f conftest.err conftest.$ac_objext \
75881 conftest$ac_exeext conftest.$ac_ext
75883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75885 if test `eval echo '${'$as_ac_var'}'` = yes; then
75886 cat >>confdefs.h <<_ACEOF
75887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75888 _ACEOF
75891 done
75909 echo "$as_me:$LINENO: checking for long double round functions" >&5
75910 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
75911 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
75912 echo $ECHO_N "(cached) $ECHO_C" >&6
75913 else
75917 ac_ext=cc
75918 ac_cpp='$CXXCPP $CPPFLAGS'
75919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75923 cat >conftest.$ac_ext <<_ACEOF
75924 /* confdefs.h. */
75925 _ACEOF
75926 cat confdefs.h >>conftest.$ac_ext
75927 cat >>conftest.$ac_ext <<_ACEOF
75928 /* end confdefs.h. */
75929 #include <math.h>
75931 main ()
75933 ceill (0); floorl (0);
75935 return 0;
75937 _ACEOF
75938 rm -f conftest.$ac_objext
75939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75940 (eval $ac_compile) 2>conftest.er1
75941 ac_status=$?
75942 grep -v '^ *+' conftest.er1 >conftest.err
75943 rm -f conftest.er1
75944 cat conftest.err >&5
75945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75946 (exit $ac_status); } &&
75947 { ac_try='test -z "$ac_cxx_werror_flag"
75948 || test ! -s conftest.err'
75949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75950 (eval $ac_try) 2>&5
75951 ac_status=$?
75952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75953 (exit $ac_status); }; } &&
75954 { ac_try='test -s conftest.$ac_objext'
75955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75956 (eval $ac_try) 2>&5
75957 ac_status=$?
75958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75959 (exit $ac_status); }; }; then
75960 glibcxx_cv_func_long_double_round_use=yes
75961 else
75962 echo "$as_me: failed program was:" >&5
75963 sed 's/^/| /' conftest.$ac_ext >&5
75965 glibcxx_cv_func_long_double_round_use=no
75967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75968 ac_ext=c
75969 ac_cpp='$CPP $CPPFLAGS'
75970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75976 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
75977 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
75978 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75981 for ac_func in ceill floorl
75983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75984 echo "$as_me:$LINENO: checking for $ac_func" >&5
75985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75986 if eval "test \"\${$as_ac_var+set}\" = set"; then
75987 echo $ECHO_N "(cached) $ECHO_C" >&6
75988 else
75989 if test x$gcc_no_link = xyes; then
75990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75992 { (exit 1); exit 1; }; }
75994 cat >conftest.$ac_ext <<_ACEOF
75995 /* confdefs.h. */
75996 _ACEOF
75997 cat confdefs.h >>conftest.$ac_ext
75998 cat >>conftest.$ac_ext <<_ACEOF
75999 /* end confdefs.h. */
76000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76002 #define $ac_func innocuous_$ac_func
76004 /* System header to define __stub macros and hopefully few prototypes,
76005 which can conflict with char $ac_func (); below.
76006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76007 <limits.h> exists even on freestanding compilers. */
76009 #ifdef __STDC__
76010 # include <limits.h>
76011 #else
76012 # include <assert.h>
76013 #endif
76015 #undef $ac_func
76017 /* Override any gcc2 internal prototype to avoid an error. */
76018 #ifdef __cplusplus
76019 extern "C"
76021 #endif
76022 /* We use char because int might match the return type of a gcc2
76023 builtin and then its argument prototype would still apply. */
76024 char $ac_func ();
76025 /* The GNU C library defines this for functions which it implements
76026 to always fail with ENOSYS. Some functions are actually named
76027 something starting with __ and the normal name is an alias. */
76028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76029 choke me
76030 #else
76031 char (*f) () = $ac_func;
76032 #endif
76033 #ifdef __cplusplus
76035 #endif
76038 main ()
76040 return f != $ac_func;
76042 return 0;
76044 _ACEOF
76045 rm -f conftest.$ac_objext conftest$ac_exeext
76046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76047 (eval $ac_link) 2>conftest.er1
76048 ac_status=$?
76049 grep -v '^ *+' conftest.er1 >conftest.err
76050 rm -f conftest.er1
76051 cat conftest.err >&5
76052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76053 (exit $ac_status); } &&
76054 { ac_try='test -z "$ac_c_werror_flag"
76055 || test ! -s conftest.err'
76056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76057 (eval $ac_try) 2>&5
76058 ac_status=$?
76059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76060 (exit $ac_status); }; } &&
76061 { ac_try='test -s conftest$ac_exeext'
76062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76063 (eval $ac_try) 2>&5
76064 ac_status=$?
76065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76066 (exit $ac_status); }; }; then
76067 eval "$as_ac_var=yes"
76068 else
76069 echo "$as_me: failed program was:" >&5
76070 sed 's/^/| /' conftest.$ac_ext >&5
76072 eval "$as_ac_var=no"
76074 rm -f conftest.err conftest.$ac_objext \
76075 conftest$ac_exeext conftest.$ac_ext
76077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76079 if test `eval echo '${'$as_ac_var'}'` = yes; then
76080 cat >>confdefs.h <<_ACEOF
76081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76082 _ACEOF
76085 done
76087 else
76088 echo "$as_me:$LINENO: checking for _long double round functions" >&5
76089 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
76090 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
76091 echo $ECHO_N "(cached) $ECHO_C" >&6
76092 else
76096 ac_ext=cc
76097 ac_cpp='$CXXCPP $CPPFLAGS'
76098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76102 cat >conftest.$ac_ext <<_ACEOF
76103 /* confdefs.h. */
76104 _ACEOF
76105 cat confdefs.h >>conftest.$ac_ext
76106 cat >>conftest.$ac_ext <<_ACEOF
76107 /* end confdefs.h. */
76108 #include <math.h>
76110 main ()
76112 _ceill (0); _floorl (0);
76114 return 0;
76116 _ACEOF
76117 rm -f conftest.$ac_objext
76118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76119 (eval $ac_compile) 2>conftest.er1
76120 ac_status=$?
76121 grep -v '^ *+' conftest.er1 >conftest.err
76122 rm -f conftest.er1
76123 cat conftest.err >&5
76124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76125 (exit $ac_status); } &&
76126 { ac_try='test -z "$ac_cxx_werror_flag"
76127 || test ! -s conftest.err'
76128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76129 (eval $ac_try) 2>&5
76130 ac_status=$?
76131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76132 (exit $ac_status); }; } &&
76133 { ac_try='test -s conftest.$ac_objext'
76134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76135 (eval $ac_try) 2>&5
76136 ac_status=$?
76137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76138 (exit $ac_status); }; }; then
76139 glibcxx_cv_func__long_double_round_use=yes
76140 else
76141 echo "$as_me: failed program was:" >&5
76142 sed 's/^/| /' conftest.$ac_ext >&5
76144 glibcxx_cv_func__long_double_round_use=no
76146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76147 ac_ext=c
76148 ac_cpp='$CPP $CPPFLAGS'
76149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76155 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
76156 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
76157 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
76160 for ac_func in _ceill _floorl
76162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76163 echo "$as_me:$LINENO: checking for $ac_func" >&5
76164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76165 if eval "test \"\${$as_ac_var+set}\" = set"; then
76166 echo $ECHO_N "(cached) $ECHO_C" >&6
76167 else
76168 if test x$gcc_no_link = xyes; then
76169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76171 { (exit 1); exit 1; }; }
76173 cat >conftest.$ac_ext <<_ACEOF
76174 /* confdefs.h. */
76175 _ACEOF
76176 cat confdefs.h >>conftest.$ac_ext
76177 cat >>conftest.$ac_ext <<_ACEOF
76178 /* end confdefs.h. */
76179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76181 #define $ac_func innocuous_$ac_func
76183 /* System header to define __stub macros and hopefully few prototypes,
76184 which can conflict with char $ac_func (); below.
76185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76186 <limits.h> exists even on freestanding compilers. */
76188 #ifdef __STDC__
76189 # include <limits.h>
76190 #else
76191 # include <assert.h>
76192 #endif
76194 #undef $ac_func
76196 /* Override any gcc2 internal prototype to avoid an error. */
76197 #ifdef __cplusplus
76198 extern "C"
76200 #endif
76201 /* We use char because int might match the return type of a gcc2
76202 builtin and then its argument prototype would still apply. */
76203 char $ac_func ();
76204 /* The GNU C library defines this for functions which it implements
76205 to always fail with ENOSYS. Some functions are actually named
76206 something starting with __ and the normal name is an alias. */
76207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76208 choke me
76209 #else
76210 char (*f) () = $ac_func;
76211 #endif
76212 #ifdef __cplusplus
76214 #endif
76217 main ()
76219 return f != $ac_func;
76221 return 0;
76223 _ACEOF
76224 rm -f conftest.$ac_objext conftest$ac_exeext
76225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76226 (eval $ac_link) 2>conftest.er1
76227 ac_status=$?
76228 grep -v '^ *+' conftest.er1 >conftest.err
76229 rm -f conftest.er1
76230 cat conftest.err >&5
76231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76232 (exit $ac_status); } &&
76233 { ac_try='test -z "$ac_c_werror_flag"
76234 || test ! -s conftest.err'
76235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76236 (eval $ac_try) 2>&5
76237 ac_status=$?
76238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76239 (exit $ac_status); }; } &&
76240 { ac_try='test -s conftest$ac_exeext'
76241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76242 (eval $ac_try) 2>&5
76243 ac_status=$?
76244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76245 (exit $ac_status); }; }; then
76246 eval "$as_ac_var=yes"
76247 else
76248 echo "$as_me: failed program was:" >&5
76249 sed 's/^/| /' conftest.$ac_ext >&5
76251 eval "$as_ac_var=no"
76253 rm -f conftest.err conftest.$ac_objext \
76254 conftest$ac_exeext conftest.$ac_ext
76256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76258 if test `eval echo '${'$as_ac_var'}'` = yes; then
76259 cat >>confdefs.h <<_ACEOF
76260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76261 _ACEOF
76264 done
76276 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
76277 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
76278 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76279 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
76280 echo $ECHO_N "(cached) $ECHO_C" >&6
76281 else
76285 ac_ext=cc
76286 ac_cpp='$CXXCPP $CPPFLAGS'
76287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76291 cat >conftest.$ac_ext <<_ACEOF
76292 /* confdefs.h. */
76293 _ACEOF
76294 cat confdefs.h >>conftest.$ac_ext
76295 cat >>conftest.$ac_ext <<_ACEOF
76296 /* end confdefs.h. */
76297 #include <math.h>
76298 #ifdef HAVE_IEEEFP_H
76299 #include <ieeefp.h>
76300 #endif
76303 main ()
76305 isnanl(0);
76307 return 0;
76309 _ACEOF
76310 rm -f conftest.$ac_objext
76311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76312 (eval $ac_compile) 2>conftest.er1
76313 ac_status=$?
76314 grep -v '^ *+' conftest.er1 >conftest.err
76315 rm -f conftest.er1
76316 cat conftest.err >&5
76317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76318 (exit $ac_status); } &&
76319 { ac_try='test -z "$ac_cxx_werror_flag"
76320 || test ! -s conftest.err'
76321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76322 (eval $ac_try) 2>&5
76323 ac_status=$?
76324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76325 (exit $ac_status); }; } &&
76326 { ac_try='test -s conftest.$ac_objext'
76327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76328 (eval $ac_try) 2>&5
76329 ac_status=$?
76330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76331 (exit $ac_status); }; }; then
76332 glibcxx_cv_func_isnanl_use=yes
76333 else
76334 echo "$as_me: failed program was:" >&5
76335 sed 's/^/| /' conftest.$ac_ext >&5
76337 glibcxx_cv_func_isnanl_use=no
76339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76340 ac_ext=c
76341 ac_cpp='$CPP $CPPFLAGS'
76342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76350 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
76351 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
76353 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76355 for ac_func in isnanl
76357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76358 echo "$as_me:$LINENO: checking for $ac_func" >&5
76359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76360 if eval "test \"\${$as_ac_var+set}\" = set"; then
76361 echo $ECHO_N "(cached) $ECHO_C" >&6
76362 else
76363 if test x$gcc_no_link = xyes; then
76364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76366 { (exit 1); exit 1; }; }
76368 cat >conftest.$ac_ext <<_ACEOF
76369 /* confdefs.h. */
76370 _ACEOF
76371 cat confdefs.h >>conftest.$ac_ext
76372 cat >>conftest.$ac_ext <<_ACEOF
76373 /* end confdefs.h. */
76374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76376 #define $ac_func innocuous_$ac_func
76378 /* System header to define __stub macros and hopefully few prototypes,
76379 which can conflict with char $ac_func (); below.
76380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76381 <limits.h> exists even on freestanding compilers. */
76383 #ifdef __STDC__
76384 # include <limits.h>
76385 #else
76386 # include <assert.h>
76387 #endif
76389 #undef $ac_func
76391 /* Override any gcc2 internal prototype to avoid an error. */
76392 #ifdef __cplusplus
76393 extern "C"
76395 #endif
76396 /* We use char because int might match the return type of a gcc2
76397 builtin and then its argument prototype would still apply. */
76398 char $ac_func ();
76399 /* The GNU C library defines this for functions which it implements
76400 to always fail with ENOSYS. Some functions are actually named
76401 something starting with __ and the normal name is an alias. */
76402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76403 choke me
76404 #else
76405 char (*f) () = $ac_func;
76406 #endif
76407 #ifdef __cplusplus
76409 #endif
76412 main ()
76414 return f != $ac_func;
76416 return 0;
76418 _ACEOF
76419 rm -f conftest.$ac_objext conftest$ac_exeext
76420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76421 (eval $ac_link) 2>conftest.er1
76422 ac_status=$?
76423 grep -v '^ *+' conftest.er1 >conftest.err
76424 rm -f conftest.er1
76425 cat conftest.err >&5
76426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76427 (exit $ac_status); } &&
76428 { ac_try='test -z "$ac_c_werror_flag"
76429 || test ! -s conftest.err'
76430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76431 (eval $ac_try) 2>&5
76432 ac_status=$?
76433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76434 (exit $ac_status); }; } &&
76435 { ac_try='test -s conftest$ac_exeext'
76436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76437 (eval $ac_try) 2>&5
76438 ac_status=$?
76439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76440 (exit $ac_status); }; }; then
76441 eval "$as_ac_var=yes"
76442 else
76443 echo "$as_me: failed program was:" >&5
76444 sed 's/^/| /' conftest.$ac_ext >&5
76446 eval "$as_ac_var=no"
76448 rm -f conftest.err conftest.$ac_objext \
76449 conftest$ac_exeext conftest.$ac_ext
76451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76453 if test `eval echo '${'$as_ac_var'}'` = yes; then
76454 cat >>confdefs.h <<_ACEOF
76455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76456 _ACEOF
76459 done
76461 else
76463 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
76464 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
76465 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76466 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
76467 echo $ECHO_N "(cached) $ECHO_C" >&6
76468 else
76472 ac_ext=cc
76473 ac_cpp='$CXXCPP $CPPFLAGS'
76474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76478 cat >conftest.$ac_ext <<_ACEOF
76479 /* confdefs.h. */
76480 _ACEOF
76481 cat confdefs.h >>conftest.$ac_ext
76482 cat >>conftest.$ac_ext <<_ACEOF
76483 /* end confdefs.h. */
76484 #include <math.h>
76485 #ifdef HAVE_IEEEFP_H
76486 #include <ieeefp.h>
76487 #endif
76490 main ()
76492 _isnanl(0);
76494 return 0;
76496 _ACEOF
76497 rm -f conftest.$ac_objext
76498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76499 (eval $ac_compile) 2>conftest.er1
76500 ac_status=$?
76501 grep -v '^ *+' conftest.er1 >conftest.err
76502 rm -f conftest.er1
76503 cat conftest.err >&5
76504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76505 (exit $ac_status); } &&
76506 { ac_try='test -z "$ac_cxx_werror_flag"
76507 || test ! -s conftest.err'
76508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76509 (eval $ac_try) 2>&5
76510 ac_status=$?
76511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76512 (exit $ac_status); }; } &&
76513 { ac_try='test -s conftest.$ac_objext'
76514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76515 (eval $ac_try) 2>&5
76516 ac_status=$?
76517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76518 (exit $ac_status); }; }; then
76519 glibcxx_cv_func__isnanl_use=yes
76520 else
76521 echo "$as_me: failed program was:" >&5
76522 sed 's/^/| /' conftest.$ac_ext >&5
76524 glibcxx_cv_func__isnanl_use=no
76526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76527 ac_ext=c
76528 ac_cpp='$CPP $CPPFLAGS'
76529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76537 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
76538 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
76540 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76542 for ac_func in _isnanl
76544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76545 echo "$as_me:$LINENO: checking for $ac_func" >&5
76546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76547 if eval "test \"\${$as_ac_var+set}\" = set"; then
76548 echo $ECHO_N "(cached) $ECHO_C" >&6
76549 else
76550 if test x$gcc_no_link = xyes; then
76551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76553 { (exit 1); exit 1; }; }
76555 cat >conftest.$ac_ext <<_ACEOF
76556 /* confdefs.h. */
76557 _ACEOF
76558 cat confdefs.h >>conftest.$ac_ext
76559 cat >>conftest.$ac_ext <<_ACEOF
76560 /* end confdefs.h. */
76561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76563 #define $ac_func innocuous_$ac_func
76565 /* System header to define __stub macros and hopefully few prototypes,
76566 which can conflict with char $ac_func (); below.
76567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76568 <limits.h> exists even on freestanding compilers. */
76570 #ifdef __STDC__
76571 # include <limits.h>
76572 #else
76573 # include <assert.h>
76574 #endif
76576 #undef $ac_func
76578 /* Override any gcc2 internal prototype to avoid an error. */
76579 #ifdef __cplusplus
76580 extern "C"
76582 #endif
76583 /* We use char because int might match the return type of a gcc2
76584 builtin and then its argument prototype would still apply. */
76585 char $ac_func ();
76586 /* The GNU C library defines this for functions which it implements
76587 to always fail with ENOSYS. Some functions are actually named
76588 something starting with __ and the normal name is an alias. */
76589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76590 choke me
76591 #else
76592 char (*f) () = $ac_func;
76593 #endif
76594 #ifdef __cplusplus
76596 #endif
76599 main ()
76601 return f != $ac_func;
76603 return 0;
76605 _ACEOF
76606 rm -f conftest.$ac_objext conftest$ac_exeext
76607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76608 (eval $ac_link) 2>conftest.er1
76609 ac_status=$?
76610 grep -v '^ *+' conftest.er1 >conftest.err
76611 rm -f conftest.er1
76612 cat conftest.err >&5
76613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76614 (exit $ac_status); } &&
76615 { ac_try='test -z "$ac_c_werror_flag"
76616 || test ! -s conftest.err'
76617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76618 (eval $ac_try) 2>&5
76619 ac_status=$?
76620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76621 (exit $ac_status); }; } &&
76622 { ac_try='test -s conftest$ac_exeext'
76623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76624 (eval $ac_try) 2>&5
76625 ac_status=$?
76626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76627 (exit $ac_status); }; }; then
76628 eval "$as_ac_var=yes"
76629 else
76630 echo "$as_me: failed program was:" >&5
76631 sed 's/^/| /' conftest.$ac_ext >&5
76633 eval "$as_ac_var=no"
76635 rm -f conftest.err conftest.$ac_objext \
76636 conftest$ac_exeext conftest.$ac_ext
76638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76640 if test `eval echo '${'$as_ac_var'}'` = yes; then
76641 cat >>confdefs.h <<_ACEOF
76642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76643 _ACEOF
76646 done
76656 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
76657 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
76658 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76659 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
76660 echo $ECHO_N "(cached) $ECHO_C" >&6
76661 else
76665 ac_ext=cc
76666 ac_cpp='$CXXCPP $CPPFLAGS'
76667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76671 cat >conftest.$ac_ext <<_ACEOF
76672 /* confdefs.h. */
76673 _ACEOF
76674 cat confdefs.h >>conftest.$ac_ext
76675 cat >>conftest.$ac_ext <<_ACEOF
76676 /* end confdefs.h. */
76677 #include <math.h>
76678 #ifdef HAVE_IEEEFP_H
76679 #include <ieeefp.h>
76680 #endif
76683 main ()
76685 isinfl(0);
76687 return 0;
76689 _ACEOF
76690 rm -f conftest.$ac_objext
76691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76692 (eval $ac_compile) 2>conftest.er1
76693 ac_status=$?
76694 grep -v '^ *+' conftest.er1 >conftest.err
76695 rm -f conftest.er1
76696 cat conftest.err >&5
76697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76698 (exit $ac_status); } &&
76699 { ac_try='test -z "$ac_cxx_werror_flag"
76700 || test ! -s conftest.err'
76701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76702 (eval $ac_try) 2>&5
76703 ac_status=$?
76704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76705 (exit $ac_status); }; } &&
76706 { ac_try='test -s conftest.$ac_objext'
76707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76708 (eval $ac_try) 2>&5
76709 ac_status=$?
76710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76711 (exit $ac_status); }; }; then
76712 glibcxx_cv_func_isinfl_use=yes
76713 else
76714 echo "$as_me: failed program was:" >&5
76715 sed 's/^/| /' conftest.$ac_ext >&5
76717 glibcxx_cv_func_isinfl_use=no
76719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76720 ac_ext=c
76721 ac_cpp='$CPP $CPPFLAGS'
76722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76730 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
76731 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
76733 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76735 for ac_func in isinfl
76737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76738 echo "$as_me:$LINENO: checking for $ac_func" >&5
76739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76740 if eval "test \"\${$as_ac_var+set}\" = set"; then
76741 echo $ECHO_N "(cached) $ECHO_C" >&6
76742 else
76743 if test x$gcc_no_link = xyes; then
76744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76746 { (exit 1); exit 1; }; }
76748 cat >conftest.$ac_ext <<_ACEOF
76749 /* confdefs.h. */
76750 _ACEOF
76751 cat confdefs.h >>conftest.$ac_ext
76752 cat >>conftest.$ac_ext <<_ACEOF
76753 /* end confdefs.h. */
76754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76756 #define $ac_func innocuous_$ac_func
76758 /* System header to define __stub macros and hopefully few prototypes,
76759 which can conflict with char $ac_func (); below.
76760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76761 <limits.h> exists even on freestanding compilers. */
76763 #ifdef __STDC__
76764 # include <limits.h>
76765 #else
76766 # include <assert.h>
76767 #endif
76769 #undef $ac_func
76771 /* Override any gcc2 internal prototype to avoid an error. */
76772 #ifdef __cplusplus
76773 extern "C"
76775 #endif
76776 /* We use char because int might match the return type of a gcc2
76777 builtin and then its argument prototype would still apply. */
76778 char $ac_func ();
76779 /* The GNU C library defines this for functions which it implements
76780 to always fail with ENOSYS. Some functions are actually named
76781 something starting with __ and the normal name is an alias. */
76782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76783 choke me
76784 #else
76785 char (*f) () = $ac_func;
76786 #endif
76787 #ifdef __cplusplus
76789 #endif
76792 main ()
76794 return f != $ac_func;
76796 return 0;
76798 _ACEOF
76799 rm -f conftest.$ac_objext conftest$ac_exeext
76800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76801 (eval $ac_link) 2>conftest.er1
76802 ac_status=$?
76803 grep -v '^ *+' conftest.er1 >conftest.err
76804 rm -f conftest.er1
76805 cat conftest.err >&5
76806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76807 (exit $ac_status); } &&
76808 { ac_try='test -z "$ac_c_werror_flag"
76809 || test ! -s conftest.err'
76810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76811 (eval $ac_try) 2>&5
76812 ac_status=$?
76813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76814 (exit $ac_status); }; } &&
76815 { ac_try='test -s conftest$ac_exeext'
76816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76817 (eval $ac_try) 2>&5
76818 ac_status=$?
76819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76820 (exit $ac_status); }; }; then
76821 eval "$as_ac_var=yes"
76822 else
76823 echo "$as_me: failed program was:" >&5
76824 sed 's/^/| /' conftest.$ac_ext >&5
76826 eval "$as_ac_var=no"
76828 rm -f conftest.err conftest.$ac_objext \
76829 conftest$ac_exeext conftest.$ac_ext
76831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76833 if test `eval echo '${'$as_ac_var'}'` = yes; then
76834 cat >>confdefs.h <<_ACEOF
76835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76836 _ACEOF
76839 done
76841 else
76843 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
76844 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
76845 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76846 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
76847 echo $ECHO_N "(cached) $ECHO_C" >&6
76848 else
76852 ac_ext=cc
76853 ac_cpp='$CXXCPP $CPPFLAGS'
76854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76858 cat >conftest.$ac_ext <<_ACEOF
76859 /* confdefs.h. */
76860 _ACEOF
76861 cat confdefs.h >>conftest.$ac_ext
76862 cat >>conftest.$ac_ext <<_ACEOF
76863 /* end confdefs.h. */
76864 #include <math.h>
76865 #ifdef HAVE_IEEEFP_H
76866 #include <ieeefp.h>
76867 #endif
76870 main ()
76872 _isinfl(0);
76874 return 0;
76876 _ACEOF
76877 rm -f conftest.$ac_objext
76878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76879 (eval $ac_compile) 2>conftest.er1
76880 ac_status=$?
76881 grep -v '^ *+' conftest.er1 >conftest.err
76882 rm -f conftest.er1
76883 cat conftest.err >&5
76884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76885 (exit $ac_status); } &&
76886 { ac_try='test -z "$ac_cxx_werror_flag"
76887 || test ! -s conftest.err'
76888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76889 (eval $ac_try) 2>&5
76890 ac_status=$?
76891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76892 (exit $ac_status); }; } &&
76893 { ac_try='test -s conftest.$ac_objext'
76894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76895 (eval $ac_try) 2>&5
76896 ac_status=$?
76897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76898 (exit $ac_status); }; }; then
76899 glibcxx_cv_func__isinfl_use=yes
76900 else
76901 echo "$as_me: failed program was:" >&5
76902 sed 's/^/| /' conftest.$ac_ext >&5
76904 glibcxx_cv_func__isinfl_use=no
76906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76907 ac_ext=c
76908 ac_cpp='$CPP $CPPFLAGS'
76909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76917 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
76918 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
76920 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76922 for ac_func in _isinfl
76924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76925 echo "$as_me:$LINENO: checking for $ac_func" >&5
76926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76927 if eval "test \"\${$as_ac_var+set}\" = set"; then
76928 echo $ECHO_N "(cached) $ECHO_C" >&6
76929 else
76930 if test x$gcc_no_link = xyes; then
76931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76933 { (exit 1); exit 1; }; }
76935 cat >conftest.$ac_ext <<_ACEOF
76936 /* confdefs.h. */
76937 _ACEOF
76938 cat confdefs.h >>conftest.$ac_ext
76939 cat >>conftest.$ac_ext <<_ACEOF
76940 /* end confdefs.h. */
76941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76943 #define $ac_func innocuous_$ac_func
76945 /* System header to define __stub macros and hopefully few prototypes,
76946 which can conflict with char $ac_func (); below.
76947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76948 <limits.h> exists even on freestanding compilers. */
76950 #ifdef __STDC__
76951 # include <limits.h>
76952 #else
76953 # include <assert.h>
76954 #endif
76956 #undef $ac_func
76958 /* Override any gcc2 internal prototype to avoid an error. */
76959 #ifdef __cplusplus
76960 extern "C"
76962 #endif
76963 /* We use char because int might match the return type of a gcc2
76964 builtin and then its argument prototype would still apply. */
76965 char $ac_func ();
76966 /* The GNU C library defines this for functions which it implements
76967 to always fail with ENOSYS. Some functions are actually named
76968 something starting with __ and the normal name is an alias. */
76969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76970 choke me
76971 #else
76972 char (*f) () = $ac_func;
76973 #endif
76974 #ifdef __cplusplus
76976 #endif
76979 main ()
76981 return f != $ac_func;
76983 return 0;
76985 _ACEOF
76986 rm -f conftest.$ac_objext conftest$ac_exeext
76987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76988 (eval $ac_link) 2>conftest.er1
76989 ac_status=$?
76990 grep -v '^ *+' conftest.er1 >conftest.err
76991 rm -f conftest.er1
76992 cat conftest.err >&5
76993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76994 (exit $ac_status); } &&
76995 { ac_try='test -z "$ac_c_werror_flag"
76996 || test ! -s conftest.err'
76997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76998 (eval $ac_try) 2>&5
76999 ac_status=$?
77000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77001 (exit $ac_status); }; } &&
77002 { ac_try='test -s conftest$ac_exeext'
77003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77004 (eval $ac_try) 2>&5
77005 ac_status=$?
77006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77007 (exit $ac_status); }; }; then
77008 eval "$as_ac_var=yes"
77009 else
77010 echo "$as_me: failed program was:" >&5
77011 sed 's/^/| /' conftest.$ac_ext >&5
77013 eval "$as_ac_var=no"
77015 rm -f conftest.err conftest.$ac_objext \
77016 conftest$ac_exeext conftest.$ac_ext
77018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77020 if test `eval echo '${'$as_ac_var'}'` = yes; then
77021 cat >>confdefs.h <<_ACEOF
77022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77023 _ACEOF
77026 done
77036 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
77037 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
77038 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
77039 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
77040 echo $ECHO_N "(cached) $ECHO_C" >&6
77041 else
77045 ac_ext=cc
77046 ac_cpp='$CXXCPP $CPPFLAGS'
77047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77051 cat >conftest.$ac_ext <<_ACEOF
77052 /* confdefs.h. */
77053 _ACEOF
77054 cat confdefs.h >>conftest.$ac_ext
77055 cat >>conftest.$ac_ext <<_ACEOF
77056 /* end confdefs.h. */
77057 #include <math.h>
77059 main ()
77061 copysignl(0, 0);
77063 return 0;
77065 _ACEOF
77066 rm -f conftest.$ac_objext
77067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77068 (eval $ac_compile) 2>conftest.er1
77069 ac_status=$?
77070 grep -v '^ *+' conftest.er1 >conftest.err
77071 rm -f conftest.er1
77072 cat conftest.err >&5
77073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77074 (exit $ac_status); } &&
77075 { ac_try='test -z "$ac_cxx_werror_flag"
77076 || test ! -s conftest.err'
77077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77078 (eval $ac_try) 2>&5
77079 ac_status=$?
77080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77081 (exit $ac_status); }; } &&
77082 { ac_try='test -s conftest.$ac_objext'
77083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77084 (eval $ac_try) 2>&5
77085 ac_status=$?
77086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77087 (exit $ac_status); }; }; then
77088 glibcxx_cv_func_copysignl_use=yes
77089 else
77090 echo "$as_me: failed program was:" >&5
77091 sed 's/^/| /' conftest.$ac_ext >&5
77093 glibcxx_cv_func_copysignl_use=no
77095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77096 ac_ext=c
77097 ac_cpp='$CPP $CPPFLAGS'
77098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77106 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
77107 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
77109 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
77111 for ac_func in copysignl
77113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77114 echo "$as_me:$LINENO: checking for $ac_func" >&5
77115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77116 if eval "test \"\${$as_ac_var+set}\" = set"; then
77117 echo $ECHO_N "(cached) $ECHO_C" >&6
77118 else
77119 if test x$gcc_no_link = xyes; then
77120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77122 { (exit 1); exit 1; }; }
77124 cat >conftest.$ac_ext <<_ACEOF
77125 /* confdefs.h. */
77126 _ACEOF
77127 cat confdefs.h >>conftest.$ac_ext
77128 cat >>conftest.$ac_ext <<_ACEOF
77129 /* end confdefs.h. */
77130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77132 #define $ac_func innocuous_$ac_func
77134 /* System header to define __stub macros and hopefully few prototypes,
77135 which can conflict with char $ac_func (); below.
77136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77137 <limits.h> exists even on freestanding compilers. */
77139 #ifdef __STDC__
77140 # include <limits.h>
77141 #else
77142 # include <assert.h>
77143 #endif
77145 #undef $ac_func
77147 /* Override any gcc2 internal prototype to avoid an error. */
77148 #ifdef __cplusplus
77149 extern "C"
77151 #endif
77152 /* We use char because int might match the return type of a gcc2
77153 builtin and then its argument prototype would still apply. */
77154 char $ac_func ();
77155 /* The GNU C library defines this for functions which it implements
77156 to always fail with ENOSYS. Some functions are actually named
77157 something starting with __ and the normal name is an alias. */
77158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77159 choke me
77160 #else
77161 char (*f) () = $ac_func;
77162 #endif
77163 #ifdef __cplusplus
77165 #endif
77168 main ()
77170 return f != $ac_func;
77172 return 0;
77174 _ACEOF
77175 rm -f conftest.$ac_objext conftest$ac_exeext
77176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77177 (eval $ac_link) 2>conftest.er1
77178 ac_status=$?
77179 grep -v '^ *+' conftest.er1 >conftest.err
77180 rm -f conftest.er1
77181 cat conftest.err >&5
77182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77183 (exit $ac_status); } &&
77184 { ac_try='test -z "$ac_c_werror_flag"
77185 || test ! -s conftest.err'
77186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77187 (eval $ac_try) 2>&5
77188 ac_status=$?
77189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77190 (exit $ac_status); }; } &&
77191 { ac_try='test -s conftest$ac_exeext'
77192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77193 (eval $ac_try) 2>&5
77194 ac_status=$?
77195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77196 (exit $ac_status); }; }; then
77197 eval "$as_ac_var=yes"
77198 else
77199 echo "$as_me: failed program was:" >&5
77200 sed 's/^/| /' conftest.$ac_ext >&5
77202 eval "$as_ac_var=no"
77204 rm -f conftest.err conftest.$ac_objext \
77205 conftest$ac_exeext conftest.$ac_ext
77207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77209 if test `eval echo '${'$as_ac_var'}'` = yes; then
77210 cat >>confdefs.h <<_ACEOF
77211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77212 _ACEOF
77215 done
77217 else
77219 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
77220 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
77221 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
77222 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
77223 echo $ECHO_N "(cached) $ECHO_C" >&6
77224 else
77228 ac_ext=cc
77229 ac_cpp='$CXXCPP $CPPFLAGS'
77230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77234 cat >conftest.$ac_ext <<_ACEOF
77235 /* confdefs.h. */
77236 _ACEOF
77237 cat confdefs.h >>conftest.$ac_ext
77238 cat >>conftest.$ac_ext <<_ACEOF
77239 /* end confdefs.h. */
77240 #include <math.h>
77242 main ()
77244 _copysignl(0, 0);
77246 return 0;
77248 _ACEOF
77249 rm -f conftest.$ac_objext
77250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77251 (eval $ac_compile) 2>conftest.er1
77252 ac_status=$?
77253 grep -v '^ *+' conftest.er1 >conftest.err
77254 rm -f conftest.er1
77255 cat conftest.err >&5
77256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77257 (exit $ac_status); } &&
77258 { ac_try='test -z "$ac_cxx_werror_flag"
77259 || test ! -s conftest.err'
77260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77261 (eval $ac_try) 2>&5
77262 ac_status=$?
77263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77264 (exit $ac_status); }; } &&
77265 { ac_try='test -s conftest.$ac_objext'
77266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77267 (eval $ac_try) 2>&5
77268 ac_status=$?
77269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77270 (exit $ac_status); }; }; then
77271 glibcxx_cv_func__copysignl_use=yes
77272 else
77273 echo "$as_me: failed program was:" >&5
77274 sed 's/^/| /' conftest.$ac_ext >&5
77276 glibcxx_cv_func__copysignl_use=no
77278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77279 ac_ext=c
77280 ac_cpp='$CPP $CPPFLAGS'
77281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77289 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
77290 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
77292 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
77294 for ac_func in _copysignl
77296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77297 echo "$as_me:$LINENO: checking for $ac_func" >&5
77298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77299 if eval "test \"\${$as_ac_var+set}\" = set"; then
77300 echo $ECHO_N "(cached) $ECHO_C" >&6
77301 else
77302 if test x$gcc_no_link = xyes; then
77303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77305 { (exit 1); exit 1; }; }
77307 cat >conftest.$ac_ext <<_ACEOF
77308 /* confdefs.h. */
77309 _ACEOF
77310 cat confdefs.h >>conftest.$ac_ext
77311 cat >>conftest.$ac_ext <<_ACEOF
77312 /* end confdefs.h. */
77313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77315 #define $ac_func innocuous_$ac_func
77317 /* System header to define __stub macros and hopefully few prototypes,
77318 which can conflict with char $ac_func (); below.
77319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77320 <limits.h> exists even on freestanding compilers. */
77322 #ifdef __STDC__
77323 # include <limits.h>
77324 #else
77325 # include <assert.h>
77326 #endif
77328 #undef $ac_func
77330 /* Override any gcc2 internal prototype to avoid an error. */
77331 #ifdef __cplusplus
77332 extern "C"
77334 #endif
77335 /* We use char because int might match the return type of a gcc2
77336 builtin and then its argument prototype would still apply. */
77337 char $ac_func ();
77338 /* The GNU C library defines this for functions which it implements
77339 to always fail with ENOSYS. Some functions are actually named
77340 something starting with __ and the normal name is an alias. */
77341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77342 choke me
77343 #else
77344 char (*f) () = $ac_func;
77345 #endif
77346 #ifdef __cplusplus
77348 #endif
77351 main ()
77353 return f != $ac_func;
77355 return 0;
77357 _ACEOF
77358 rm -f conftest.$ac_objext conftest$ac_exeext
77359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77360 (eval $ac_link) 2>conftest.er1
77361 ac_status=$?
77362 grep -v '^ *+' conftest.er1 >conftest.err
77363 rm -f conftest.er1
77364 cat conftest.err >&5
77365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77366 (exit $ac_status); } &&
77367 { ac_try='test -z "$ac_c_werror_flag"
77368 || test ! -s conftest.err'
77369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77370 (eval $ac_try) 2>&5
77371 ac_status=$?
77372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77373 (exit $ac_status); }; } &&
77374 { ac_try='test -s conftest$ac_exeext'
77375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77376 (eval $ac_try) 2>&5
77377 ac_status=$?
77378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77379 (exit $ac_status); }; }; then
77380 eval "$as_ac_var=yes"
77381 else
77382 echo "$as_me: failed program was:" >&5
77383 sed 's/^/| /' conftest.$ac_ext >&5
77385 eval "$as_ac_var=no"
77387 rm -f conftest.err conftest.$ac_objext \
77388 conftest$ac_exeext conftest.$ac_ext
77390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77392 if test `eval echo '${'$as_ac_var'}'` = yes; then
77393 cat >>confdefs.h <<_ACEOF
77394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77395 _ACEOF
77398 done
77408 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
77409 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
77410 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
77411 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
77412 echo $ECHO_N "(cached) $ECHO_C" >&6
77413 else
77417 ac_ext=cc
77418 ac_cpp='$CXXCPP $CPPFLAGS'
77419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77423 cat >conftest.$ac_ext <<_ACEOF
77424 /* confdefs.h. */
77425 _ACEOF
77426 cat confdefs.h >>conftest.$ac_ext
77427 cat >>conftest.$ac_ext <<_ACEOF
77428 /* end confdefs.h. */
77429 #include <math.h>
77431 main ()
77433 atan2l(0, 0);
77435 return 0;
77437 _ACEOF
77438 rm -f conftest.$ac_objext
77439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77440 (eval $ac_compile) 2>conftest.er1
77441 ac_status=$?
77442 grep -v '^ *+' conftest.er1 >conftest.err
77443 rm -f conftest.er1
77444 cat conftest.err >&5
77445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77446 (exit $ac_status); } &&
77447 { ac_try='test -z "$ac_cxx_werror_flag"
77448 || test ! -s conftest.err'
77449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77450 (eval $ac_try) 2>&5
77451 ac_status=$?
77452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77453 (exit $ac_status); }; } &&
77454 { ac_try='test -s conftest.$ac_objext'
77455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77456 (eval $ac_try) 2>&5
77457 ac_status=$?
77458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77459 (exit $ac_status); }; }; then
77460 glibcxx_cv_func_atan2l_use=yes
77461 else
77462 echo "$as_me: failed program was:" >&5
77463 sed 's/^/| /' conftest.$ac_ext >&5
77465 glibcxx_cv_func_atan2l_use=no
77467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77468 ac_ext=c
77469 ac_cpp='$CPP $CPPFLAGS'
77470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77478 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
77479 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
77481 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
77483 for ac_func in atan2l
77485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77486 echo "$as_me:$LINENO: checking for $ac_func" >&5
77487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77488 if eval "test \"\${$as_ac_var+set}\" = set"; then
77489 echo $ECHO_N "(cached) $ECHO_C" >&6
77490 else
77491 if test x$gcc_no_link = xyes; then
77492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77494 { (exit 1); exit 1; }; }
77496 cat >conftest.$ac_ext <<_ACEOF
77497 /* confdefs.h. */
77498 _ACEOF
77499 cat confdefs.h >>conftest.$ac_ext
77500 cat >>conftest.$ac_ext <<_ACEOF
77501 /* end confdefs.h. */
77502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77504 #define $ac_func innocuous_$ac_func
77506 /* System header to define __stub macros and hopefully few prototypes,
77507 which can conflict with char $ac_func (); below.
77508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77509 <limits.h> exists even on freestanding compilers. */
77511 #ifdef __STDC__
77512 # include <limits.h>
77513 #else
77514 # include <assert.h>
77515 #endif
77517 #undef $ac_func
77519 /* Override any gcc2 internal prototype to avoid an error. */
77520 #ifdef __cplusplus
77521 extern "C"
77523 #endif
77524 /* We use char because int might match the return type of a gcc2
77525 builtin and then its argument prototype would still apply. */
77526 char $ac_func ();
77527 /* The GNU C library defines this for functions which it implements
77528 to always fail with ENOSYS. Some functions are actually named
77529 something starting with __ and the normal name is an alias. */
77530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77531 choke me
77532 #else
77533 char (*f) () = $ac_func;
77534 #endif
77535 #ifdef __cplusplus
77537 #endif
77540 main ()
77542 return f != $ac_func;
77544 return 0;
77546 _ACEOF
77547 rm -f conftest.$ac_objext conftest$ac_exeext
77548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77549 (eval $ac_link) 2>conftest.er1
77550 ac_status=$?
77551 grep -v '^ *+' conftest.er1 >conftest.err
77552 rm -f conftest.er1
77553 cat conftest.err >&5
77554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77555 (exit $ac_status); } &&
77556 { ac_try='test -z "$ac_c_werror_flag"
77557 || test ! -s conftest.err'
77558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77559 (eval $ac_try) 2>&5
77560 ac_status=$?
77561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77562 (exit $ac_status); }; } &&
77563 { ac_try='test -s conftest$ac_exeext'
77564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77565 (eval $ac_try) 2>&5
77566 ac_status=$?
77567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77568 (exit $ac_status); }; }; then
77569 eval "$as_ac_var=yes"
77570 else
77571 echo "$as_me: failed program was:" >&5
77572 sed 's/^/| /' conftest.$ac_ext >&5
77574 eval "$as_ac_var=no"
77576 rm -f conftest.err conftest.$ac_objext \
77577 conftest$ac_exeext conftest.$ac_ext
77579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77581 if test `eval echo '${'$as_ac_var'}'` = yes; then
77582 cat >>confdefs.h <<_ACEOF
77583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77584 _ACEOF
77587 done
77589 else
77591 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
77592 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
77593 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
77594 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
77595 echo $ECHO_N "(cached) $ECHO_C" >&6
77596 else
77600 ac_ext=cc
77601 ac_cpp='$CXXCPP $CPPFLAGS'
77602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77606 cat >conftest.$ac_ext <<_ACEOF
77607 /* confdefs.h. */
77608 _ACEOF
77609 cat confdefs.h >>conftest.$ac_ext
77610 cat >>conftest.$ac_ext <<_ACEOF
77611 /* end confdefs.h. */
77612 #include <math.h>
77614 main ()
77616 _atan2l(0, 0);
77618 return 0;
77620 _ACEOF
77621 rm -f conftest.$ac_objext
77622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77623 (eval $ac_compile) 2>conftest.er1
77624 ac_status=$?
77625 grep -v '^ *+' conftest.er1 >conftest.err
77626 rm -f conftest.er1
77627 cat conftest.err >&5
77628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77629 (exit $ac_status); } &&
77630 { ac_try='test -z "$ac_cxx_werror_flag"
77631 || test ! -s conftest.err'
77632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77633 (eval $ac_try) 2>&5
77634 ac_status=$?
77635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77636 (exit $ac_status); }; } &&
77637 { ac_try='test -s conftest.$ac_objext'
77638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77639 (eval $ac_try) 2>&5
77640 ac_status=$?
77641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77642 (exit $ac_status); }; }; then
77643 glibcxx_cv_func__atan2l_use=yes
77644 else
77645 echo "$as_me: failed program was:" >&5
77646 sed 's/^/| /' conftest.$ac_ext >&5
77648 glibcxx_cv_func__atan2l_use=no
77650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77651 ac_ext=c
77652 ac_cpp='$CPP $CPPFLAGS'
77653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77661 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
77662 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
77664 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
77666 for ac_func in _atan2l
77668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77669 echo "$as_me:$LINENO: checking for $ac_func" >&5
77670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77671 if eval "test \"\${$as_ac_var+set}\" = set"; then
77672 echo $ECHO_N "(cached) $ECHO_C" >&6
77673 else
77674 if test x$gcc_no_link = xyes; then
77675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77677 { (exit 1); exit 1; }; }
77679 cat >conftest.$ac_ext <<_ACEOF
77680 /* confdefs.h. */
77681 _ACEOF
77682 cat confdefs.h >>conftest.$ac_ext
77683 cat >>conftest.$ac_ext <<_ACEOF
77684 /* end confdefs.h. */
77685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77687 #define $ac_func innocuous_$ac_func
77689 /* System header to define __stub macros and hopefully few prototypes,
77690 which can conflict with char $ac_func (); below.
77691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77692 <limits.h> exists even on freestanding compilers. */
77694 #ifdef __STDC__
77695 # include <limits.h>
77696 #else
77697 # include <assert.h>
77698 #endif
77700 #undef $ac_func
77702 /* Override any gcc2 internal prototype to avoid an error. */
77703 #ifdef __cplusplus
77704 extern "C"
77706 #endif
77707 /* We use char because int might match the return type of a gcc2
77708 builtin and then its argument prototype would still apply. */
77709 char $ac_func ();
77710 /* The GNU C library defines this for functions which it implements
77711 to always fail with ENOSYS. Some functions are actually named
77712 something starting with __ and the normal name is an alias. */
77713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77714 choke me
77715 #else
77716 char (*f) () = $ac_func;
77717 #endif
77718 #ifdef __cplusplus
77720 #endif
77723 main ()
77725 return f != $ac_func;
77727 return 0;
77729 _ACEOF
77730 rm -f conftest.$ac_objext conftest$ac_exeext
77731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77732 (eval $ac_link) 2>conftest.er1
77733 ac_status=$?
77734 grep -v '^ *+' conftest.er1 >conftest.err
77735 rm -f conftest.er1
77736 cat conftest.err >&5
77737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77738 (exit $ac_status); } &&
77739 { ac_try='test -z "$ac_c_werror_flag"
77740 || test ! -s conftest.err'
77741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77742 (eval $ac_try) 2>&5
77743 ac_status=$?
77744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77745 (exit $ac_status); }; } &&
77746 { ac_try='test -s conftest$ac_exeext'
77747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77748 (eval $ac_try) 2>&5
77749 ac_status=$?
77750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77751 (exit $ac_status); }; }; then
77752 eval "$as_ac_var=yes"
77753 else
77754 echo "$as_me: failed program was:" >&5
77755 sed 's/^/| /' conftest.$ac_ext >&5
77757 eval "$as_ac_var=no"
77759 rm -f conftest.err conftest.$ac_objext \
77760 conftest$ac_exeext conftest.$ac_ext
77762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77764 if test `eval echo '${'$as_ac_var'}'` = yes; then
77765 cat >>confdefs.h <<_ACEOF
77766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77767 _ACEOF
77770 done
77780 echo "$as_me:$LINENO: checking for expl declaration" >&5
77781 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
77782 if test x${glibcxx_cv_func_expl_use+set} != xset; then
77783 if test "${glibcxx_cv_func_expl_use+set}" = set; then
77784 echo $ECHO_N "(cached) $ECHO_C" >&6
77785 else
77789 ac_ext=cc
77790 ac_cpp='$CXXCPP $CPPFLAGS'
77791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77795 cat >conftest.$ac_ext <<_ACEOF
77796 /* confdefs.h. */
77797 _ACEOF
77798 cat confdefs.h >>conftest.$ac_ext
77799 cat >>conftest.$ac_ext <<_ACEOF
77800 /* end confdefs.h. */
77801 #include <math.h>
77802 #ifdef HAVE_IEEEFP_H
77803 #include <ieeefp.h>
77804 #endif
77807 main ()
77809 expl(0);
77811 return 0;
77813 _ACEOF
77814 rm -f conftest.$ac_objext
77815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77816 (eval $ac_compile) 2>conftest.er1
77817 ac_status=$?
77818 grep -v '^ *+' conftest.er1 >conftest.err
77819 rm -f conftest.er1
77820 cat conftest.err >&5
77821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77822 (exit $ac_status); } &&
77823 { ac_try='test -z "$ac_cxx_werror_flag"
77824 || test ! -s conftest.err'
77825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77826 (eval $ac_try) 2>&5
77827 ac_status=$?
77828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77829 (exit $ac_status); }; } &&
77830 { ac_try='test -s conftest.$ac_objext'
77831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77832 (eval $ac_try) 2>&5
77833 ac_status=$?
77834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77835 (exit $ac_status); }; }; then
77836 glibcxx_cv_func_expl_use=yes
77837 else
77838 echo "$as_me: failed program was:" >&5
77839 sed 's/^/| /' conftest.$ac_ext >&5
77841 glibcxx_cv_func_expl_use=no
77843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77844 ac_ext=c
77845 ac_cpp='$CPP $CPPFLAGS'
77846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77854 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
77855 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
77857 if test x$glibcxx_cv_func_expl_use = x"yes"; then
77859 for ac_func in expl
77861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77862 echo "$as_me:$LINENO: checking for $ac_func" >&5
77863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77864 if eval "test \"\${$as_ac_var+set}\" = set"; then
77865 echo $ECHO_N "(cached) $ECHO_C" >&6
77866 else
77867 if test x$gcc_no_link = xyes; then
77868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77870 { (exit 1); exit 1; }; }
77872 cat >conftest.$ac_ext <<_ACEOF
77873 /* confdefs.h. */
77874 _ACEOF
77875 cat confdefs.h >>conftest.$ac_ext
77876 cat >>conftest.$ac_ext <<_ACEOF
77877 /* end confdefs.h. */
77878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77880 #define $ac_func innocuous_$ac_func
77882 /* System header to define __stub macros and hopefully few prototypes,
77883 which can conflict with char $ac_func (); below.
77884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77885 <limits.h> exists even on freestanding compilers. */
77887 #ifdef __STDC__
77888 # include <limits.h>
77889 #else
77890 # include <assert.h>
77891 #endif
77893 #undef $ac_func
77895 /* Override any gcc2 internal prototype to avoid an error. */
77896 #ifdef __cplusplus
77897 extern "C"
77899 #endif
77900 /* We use char because int might match the return type of a gcc2
77901 builtin and then its argument prototype would still apply. */
77902 char $ac_func ();
77903 /* The GNU C library defines this for functions which it implements
77904 to always fail with ENOSYS. Some functions are actually named
77905 something starting with __ and the normal name is an alias. */
77906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77907 choke me
77908 #else
77909 char (*f) () = $ac_func;
77910 #endif
77911 #ifdef __cplusplus
77913 #endif
77916 main ()
77918 return f != $ac_func;
77920 return 0;
77922 _ACEOF
77923 rm -f conftest.$ac_objext conftest$ac_exeext
77924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77925 (eval $ac_link) 2>conftest.er1
77926 ac_status=$?
77927 grep -v '^ *+' conftest.er1 >conftest.err
77928 rm -f conftest.er1
77929 cat conftest.err >&5
77930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77931 (exit $ac_status); } &&
77932 { ac_try='test -z "$ac_c_werror_flag"
77933 || test ! -s conftest.err'
77934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77935 (eval $ac_try) 2>&5
77936 ac_status=$?
77937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77938 (exit $ac_status); }; } &&
77939 { ac_try='test -s conftest$ac_exeext'
77940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77941 (eval $ac_try) 2>&5
77942 ac_status=$?
77943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77944 (exit $ac_status); }; }; then
77945 eval "$as_ac_var=yes"
77946 else
77947 echo "$as_me: failed program was:" >&5
77948 sed 's/^/| /' conftest.$ac_ext >&5
77950 eval "$as_ac_var=no"
77952 rm -f conftest.err conftest.$ac_objext \
77953 conftest$ac_exeext conftest.$ac_ext
77955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77957 if test `eval echo '${'$as_ac_var'}'` = yes; then
77958 cat >>confdefs.h <<_ACEOF
77959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77960 _ACEOF
77963 done
77965 else
77967 echo "$as_me:$LINENO: checking for _expl declaration" >&5
77968 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
77969 if test x${glibcxx_cv_func__expl_use+set} != xset; then
77970 if test "${glibcxx_cv_func__expl_use+set}" = set; then
77971 echo $ECHO_N "(cached) $ECHO_C" >&6
77972 else
77976 ac_ext=cc
77977 ac_cpp='$CXXCPP $CPPFLAGS'
77978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77982 cat >conftest.$ac_ext <<_ACEOF
77983 /* confdefs.h. */
77984 _ACEOF
77985 cat confdefs.h >>conftest.$ac_ext
77986 cat >>conftest.$ac_ext <<_ACEOF
77987 /* end confdefs.h. */
77988 #include <math.h>
77989 #ifdef HAVE_IEEEFP_H
77990 #include <ieeefp.h>
77991 #endif
77994 main ()
77996 _expl(0);
77998 return 0;
78000 _ACEOF
78001 rm -f conftest.$ac_objext
78002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78003 (eval $ac_compile) 2>conftest.er1
78004 ac_status=$?
78005 grep -v '^ *+' conftest.er1 >conftest.err
78006 rm -f conftest.er1
78007 cat conftest.err >&5
78008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78009 (exit $ac_status); } &&
78010 { ac_try='test -z "$ac_cxx_werror_flag"
78011 || test ! -s conftest.err'
78012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78013 (eval $ac_try) 2>&5
78014 ac_status=$?
78015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78016 (exit $ac_status); }; } &&
78017 { ac_try='test -s conftest.$ac_objext'
78018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78019 (eval $ac_try) 2>&5
78020 ac_status=$?
78021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78022 (exit $ac_status); }; }; then
78023 glibcxx_cv_func__expl_use=yes
78024 else
78025 echo "$as_me: failed program was:" >&5
78026 sed 's/^/| /' conftest.$ac_ext >&5
78028 glibcxx_cv_func__expl_use=no
78030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78031 ac_ext=c
78032 ac_cpp='$CPP $CPPFLAGS'
78033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78041 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
78042 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
78044 if test x$glibcxx_cv_func__expl_use = x"yes"; then
78046 for ac_func in _expl
78048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78049 echo "$as_me:$LINENO: checking for $ac_func" >&5
78050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78051 if eval "test \"\${$as_ac_var+set}\" = set"; then
78052 echo $ECHO_N "(cached) $ECHO_C" >&6
78053 else
78054 if test x$gcc_no_link = xyes; then
78055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78057 { (exit 1); exit 1; }; }
78059 cat >conftest.$ac_ext <<_ACEOF
78060 /* confdefs.h. */
78061 _ACEOF
78062 cat confdefs.h >>conftest.$ac_ext
78063 cat >>conftest.$ac_ext <<_ACEOF
78064 /* end confdefs.h. */
78065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78067 #define $ac_func innocuous_$ac_func
78069 /* System header to define __stub macros and hopefully few prototypes,
78070 which can conflict with char $ac_func (); below.
78071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78072 <limits.h> exists even on freestanding compilers. */
78074 #ifdef __STDC__
78075 # include <limits.h>
78076 #else
78077 # include <assert.h>
78078 #endif
78080 #undef $ac_func
78082 /* Override any gcc2 internal prototype to avoid an error. */
78083 #ifdef __cplusplus
78084 extern "C"
78086 #endif
78087 /* We use char because int might match the return type of a gcc2
78088 builtin and then its argument prototype would still apply. */
78089 char $ac_func ();
78090 /* The GNU C library defines this for functions which it implements
78091 to always fail with ENOSYS. Some functions are actually named
78092 something starting with __ and the normal name is an alias. */
78093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78094 choke me
78095 #else
78096 char (*f) () = $ac_func;
78097 #endif
78098 #ifdef __cplusplus
78100 #endif
78103 main ()
78105 return f != $ac_func;
78107 return 0;
78109 _ACEOF
78110 rm -f conftest.$ac_objext conftest$ac_exeext
78111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78112 (eval $ac_link) 2>conftest.er1
78113 ac_status=$?
78114 grep -v '^ *+' conftest.er1 >conftest.err
78115 rm -f conftest.er1
78116 cat conftest.err >&5
78117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78118 (exit $ac_status); } &&
78119 { ac_try='test -z "$ac_c_werror_flag"
78120 || test ! -s conftest.err'
78121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78122 (eval $ac_try) 2>&5
78123 ac_status=$?
78124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78125 (exit $ac_status); }; } &&
78126 { ac_try='test -s conftest$ac_exeext'
78127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78128 (eval $ac_try) 2>&5
78129 ac_status=$?
78130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78131 (exit $ac_status); }; }; then
78132 eval "$as_ac_var=yes"
78133 else
78134 echo "$as_me: failed program was:" >&5
78135 sed 's/^/| /' conftest.$ac_ext >&5
78137 eval "$as_ac_var=no"
78139 rm -f conftest.err conftest.$ac_objext \
78140 conftest$ac_exeext conftest.$ac_ext
78142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78144 if test `eval echo '${'$as_ac_var'}'` = yes; then
78145 cat >>confdefs.h <<_ACEOF
78146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78147 _ACEOF
78150 done
78160 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
78161 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
78162 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
78163 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
78164 echo $ECHO_N "(cached) $ECHO_C" >&6
78165 else
78169 ac_ext=cc
78170 ac_cpp='$CXXCPP $CPPFLAGS'
78171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78175 cat >conftest.$ac_ext <<_ACEOF
78176 /* confdefs.h. */
78177 _ACEOF
78178 cat confdefs.h >>conftest.$ac_ext
78179 cat >>conftest.$ac_ext <<_ACEOF
78180 /* end confdefs.h. */
78181 #include <math.h>
78182 #ifdef HAVE_IEEEFP_H
78183 #include <ieeefp.h>
78184 #endif
78187 main ()
78189 fabsl(0);
78191 return 0;
78193 _ACEOF
78194 rm -f conftest.$ac_objext
78195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78196 (eval $ac_compile) 2>conftest.er1
78197 ac_status=$?
78198 grep -v '^ *+' conftest.er1 >conftest.err
78199 rm -f conftest.er1
78200 cat conftest.err >&5
78201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78202 (exit $ac_status); } &&
78203 { ac_try='test -z "$ac_cxx_werror_flag"
78204 || test ! -s conftest.err'
78205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78206 (eval $ac_try) 2>&5
78207 ac_status=$?
78208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78209 (exit $ac_status); }; } &&
78210 { ac_try='test -s conftest.$ac_objext'
78211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78212 (eval $ac_try) 2>&5
78213 ac_status=$?
78214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78215 (exit $ac_status); }; }; then
78216 glibcxx_cv_func_fabsl_use=yes
78217 else
78218 echo "$as_me: failed program was:" >&5
78219 sed 's/^/| /' conftest.$ac_ext >&5
78221 glibcxx_cv_func_fabsl_use=no
78223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78224 ac_ext=c
78225 ac_cpp='$CPP $CPPFLAGS'
78226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78234 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
78235 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
78237 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
78239 for ac_func in fabsl
78241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78242 echo "$as_me:$LINENO: checking for $ac_func" >&5
78243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78244 if eval "test \"\${$as_ac_var+set}\" = set"; then
78245 echo $ECHO_N "(cached) $ECHO_C" >&6
78246 else
78247 if test x$gcc_no_link = xyes; then
78248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78250 { (exit 1); exit 1; }; }
78252 cat >conftest.$ac_ext <<_ACEOF
78253 /* confdefs.h. */
78254 _ACEOF
78255 cat confdefs.h >>conftest.$ac_ext
78256 cat >>conftest.$ac_ext <<_ACEOF
78257 /* end confdefs.h. */
78258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78260 #define $ac_func innocuous_$ac_func
78262 /* System header to define __stub macros and hopefully few prototypes,
78263 which can conflict with char $ac_func (); below.
78264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78265 <limits.h> exists even on freestanding compilers. */
78267 #ifdef __STDC__
78268 # include <limits.h>
78269 #else
78270 # include <assert.h>
78271 #endif
78273 #undef $ac_func
78275 /* Override any gcc2 internal prototype to avoid an error. */
78276 #ifdef __cplusplus
78277 extern "C"
78279 #endif
78280 /* We use char because int might match the return type of a gcc2
78281 builtin and then its argument prototype would still apply. */
78282 char $ac_func ();
78283 /* The GNU C library defines this for functions which it implements
78284 to always fail with ENOSYS. Some functions are actually named
78285 something starting with __ and the normal name is an alias. */
78286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78287 choke me
78288 #else
78289 char (*f) () = $ac_func;
78290 #endif
78291 #ifdef __cplusplus
78293 #endif
78296 main ()
78298 return f != $ac_func;
78300 return 0;
78302 _ACEOF
78303 rm -f conftest.$ac_objext conftest$ac_exeext
78304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78305 (eval $ac_link) 2>conftest.er1
78306 ac_status=$?
78307 grep -v '^ *+' conftest.er1 >conftest.err
78308 rm -f conftest.er1
78309 cat conftest.err >&5
78310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78311 (exit $ac_status); } &&
78312 { ac_try='test -z "$ac_c_werror_flag"
78313 || test ! -s conftest.err'
78314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78315 (eval $ac_try) 2>&5
78316 ac_status=$?
78317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78318 (exit $ac_status); }; } &&
78319 { ac_try='test -s conftest$ac_exeext'
78320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78321 (eval $ac_try) 2>&5
78322 ac_status=$?
78323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78324 (exit $ac_status); }; }; then
78325 eval "$as_ac_var=yes"
78326 else
78327 echo "$as_me: failed program was:" >&5
78328 sed 's/^/| /' conftest.$ac_ext >&5
78330 eval "$as_ac_var=no"
78332 rm -f conftest.err conftest.$ac_objext \
78333 conftest$ac_exeext conftest.$ac_ext
78335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78337 if test `eval echo '${'$as_ac_var'}'` = yes; then
78338 cat >>confdefs.h <<_ACEOF
78339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78340 _ACEOF
78343 done
78345 else
78347 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
78348 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
78349 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
78350 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
78351 echo $ECHO_N "(cached) $ECHO_C" >&6
78352 else
78356 ac_ext=cc
78357 ac_cpp='$CXXCPP $CPPFLAGS'
78358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78362 cat >conftest.$ac_ext <<_ACEOF
78363 /* confdefs.h. */
78364 _ACEOF
78365 cat confdefs.h >>conftest.$ac_ext
78366 cat >>conftest.$ac_ext <<_ACEOF
78367 /* end confdefs.h. */
78368 #include <math.h>
78369 #ifdef HAVE_IEEEFP_H
78370 #include <ieeefp.h>
78371 #endif
78374 main ()
78376 _fabsl(0);
78378 return 0;
78380 _ACEOF
78381 rm -f conftest.$ac_objext
78382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78383 (eval $ac_compile) 2>conftest.er1
78384 ac_status=$?
78385 grep -v '^ *+' conftest.er1 >conftest.err
78386 rm -f conftest.er1
78387 cat conftest.err >&5
78388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78389 (exit $ac_status); } &&
78390 { ac_try='test -z "$ac_cxx_werror_flag"
78391 || test ! -s conftest.err'
78392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78393 (eval $ac_try) 2>&5
78394 ac_status=$?
78395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78396 (exit $ac_status); }; } &&
78397 { ac_try='test -s conftest.$ac_objext'
78398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78399 (eval $ac_try) 2>&5
78400 ac_status=$?
78401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78402 (exit $ac_status); }; }; then
78403 glibcxx_cv_func__fabsl_use=yes
78404 else
78405 echo "$as_me: failed program was:" >&5
78406 sed 's/^/| /' conftest.$ac_ext >&5
78408 glibcxx_cv_func__fabsl_use=no
78410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78411 ac_ext=c
78412 ac_cpp='$CPP $CPPFLAGS'
78413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78421 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
78422 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
78424 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
78426 for ac_func in _fabsl
78428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78429 echo "$as_me:$LINENO: checking for $ac_func" >&5
78430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78431 if eval "test \"\${$as_ac_var+set}\" = set"; then
78432 echo $ECHO_N "(cached) $ECHO_C" >&6
78433 else
78434 if test x$gcc_no_link = xyes; then
78435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78437 { (exit 1); exit 1; }; }
78439 cat >conftest.$ac_ext <<_ACEOF
78440 /* confdefs.h. */
78441 _ACEOF
78442 cat confdefs.h >>conftest.$ac_ext
78443 cat >>conftest.$ac_ext <<_ACEOF
78444 /* end confdefs.h. */
78445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78447 #define $ac_func innocuous_$ac_func
78449 /* System header to define __stub macros and hopefully few prototypes,
78450 which can conflict with char $ac_func (); below.
78451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78452 <limits.h> exists even on freestanding compilers. */
78454 #ifdef __STDC__
78455 # include <limits.h>
78456 #else
78457 # include <assert.h>
78458 #endif
78460 #undef $ac_func
78462 /* Override any gcc2 internal prototype to avoid an error. */
78463 #ifdef __cplusplus
78464 extern "C"
78466 #endif
78467 /* We use char because int might match the return type of a gcc2
78468 builtin and then its argument prototype would still apply. */
78469 char $ac_func ();
78470 /* The GNU C library defines this for functions which it implements
78471 to always fail with ENOSYS. Some functions are actually named
78472 something starting with __ and the normal name is an alias. */
78473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78474 choke me
78475 #else
78476 char (*f) () = $ac_func;
78477 #endif
78478 #ifdef __cplusplus
78480 #endif
78483 main ()
78485 return f != $ac_func;
78487 return 0;
78489 _ACEOF
78490 rm -f conftest.$ac_objext conftest$ac_exeext
78491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78492 (eval $ac_link) 2>conftest.er1
78493 ac_status=$?
78494 grep -v '^ *+' conftest.er1 >conftest.err
78495 rm -f conftest.er1
78496 cat conftest.err >&5
78497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78498 (exit $ac_status); } &&
78499 { ac_try='test -z "$ac_c_werror_flag"
78500 || test ! -s conftest.err'
78501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78502 (eval $ac_try) 2>&5
78503 ac_status=$?
78504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78505 (exit $ac_status); }; } &&
78506 { ac_try='test -s conftest$ac_exeext'
78507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78508 (eval $ac_try) 2>&5
78509 ac_status=$?
78510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78511 (exit $ac_status); }; }; then
78512 eval "$as_ac_var=yes"
78513 else
78514 echo "$as_me: failed program was:" >&5
78515 sed 's/^/| /' conftest.$ac_ext >&5
78517 eval "$as_ac_var=no"
78519 rm -f conftest.err conftest.$ac_objext \
78520 conftest$ac_exeext conftest.$ac_ext
78522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78524 if test `eval echo '${'$as_ac_var'}'` = yes; then
78525 cat >>confdefs.h <<_ACEOF
78526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78527 _ACEOF
78530 done
78540 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
78541 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
78542 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
78543 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
78544 echo $ECHO_N "(cached) $ECHO_C" >&6
78545 else
78549 ac_ext=cc
78550 ac_cpp='$CXXCPP $CPPFLAGS'
78551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78555 cat >conftest.$ac_ext <<_ACEOF
78556 /* confdefs.h. */
78557 _ACEOF
78558 cat confdefs.h >>conftest.$ac_ext
78559 cat >>conftest.$ac_ext <<_ACEOF
78560 /* end confdefs.h. */
78561 #include <math.h>
78563 main ()
78565 fmodl(0, 0);
78567 return 0;
78569 _ACEOF
78570 rm -f conftest.$ac_objext
78571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78572 (eval $ac_compile) 2>conftest.er1
78573 ac_status=$?
78574 grep -v '^ *+' conftest.er1 >conftest.err
78575 rm -f conftest.er1
78576 cat conftest.err >&5
78577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78578 (exit $ac_status); } &&
78579 { ac_try='test -z "$ac_cxx_werror_flag"
78580 || test ! -s conftest.err'
78581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78582 (eval $ac_try) 2>&5
78583 ac_status=$?
78584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78585 (exit $ac_status); }; } &&
78586 { ac_try='test -s conftest.$ac_objext'
78587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78588 (eval $ac_try) 2>&5
78589 ac_status=$?
78590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78591 (exit $ac_status); }; }; then
78592 glibcxx_cv_func_fmodl_use=yes
78593 else
78594 echo "$as_me: failed program was:" >&5
78595 sed 's/^/| /' conftest.$ac_ext >&5
78597 glibcxx_cv_func_fmodl_use=no
78599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78600 ac_ext=c
78601 ac_cpp='$CPP $CPPFLAGS'
78602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78610 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
78611 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
78613 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
78615 for ac_func in fmodl
78617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78618 echo "$as_me:$LINENO: checking for $ac_func" >&5
78619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78620 if eval "test \"\${$as_ac_var+set}\" = set"; then
78621 echo $ECHO_N "(cached) $ECHO_C" >&6
78622 else
78623 if test x$gcc_no_link = xyes; then
78624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78626 { (exit 1); exit 1; }; }
78628 cat >conftest.$ac_ext <<_ACEOF
78629 /* confdefs.h. */
78630 _ACEOF
78631 cat confdefs.h >>conftest.$ac_ext
78632 cat >>conftest.$ac_ext <<_ACEOF
78633 /* end confdefs.h. */
78634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78636 #define $ac_func innocuous_$ac_func
78638 /* System header to define __stub macros and hopefully few prototypes,
78639 which can conflict with char $ac_func (); below.
78640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78641 <limits.h> exists even on freestanding compilers. */
78643 #ifdef __STDC__
78644 # include <limits.h>
78645 #else
78646 # include <assert.h>
78647 #endif
78649 #undef $ac_func
78651 /* Override any gcc2 internal prototype to avoid an error. */
78652 #ifdef __cplusplus
78653 extern "C"
78655 #endif
78656 /* We use char because int might match the return type of a gcc2
78657 builtin and then its argument prototype would still apply. */
78658 char $ac_func ();
78659 /* The GNU C library defines this for functions which it implements
78660 to always fail with ENOSYS. Some functions are actually named
78661 something starting with __ and the normal name is an alias. */
78662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78663 choke me
78664 #else
78665 char (*f) () = $ac_func;
78666 #endif
78667 #ifdef __cplusplus
78669 #endif
78672 main ()
78674 return f != $ac_func;
78676 return 0;
78678 _ACEOF
78679 rm -f conftest.$ac_objext conftest$ac_exeext
78680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78681 (eval $ac_link) 2>conftest.er1
78682 ac_status=$?
78683 grep -v '^ *+' conftest.er1 >conftest.err
78684 rm -f conftest.er1
78685 cat conftest.err >&5
78686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78687 (exit $ac_status); } &&
78688 { ac_try='test -z "$ac_c_werror_flag"
78689 || test ! -s conftest.err'
78690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78691 (eval $ac_try) 2>&5
78692 ac_status=$?
78693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78694 (exit $ac_status); }; } &&
78695 { ac_try='test -s conftest$ac_exeext'
78696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78697 (eval $ac_try) 2>&5
78698 ac_status=$?
78699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78700 (exit $ac_status); }; }; then
78701 eval "$as_ac_var=yes"
78702 else
78703 echo "$as_me: failed program was:" >&5
78704 sed 's/^/| /' conftest.$ac_ext >&5
78706 eval "$as_ac_var=no"
78708 rm -f conftest.err conftest.$ac_objext \
78709 conftest$ac_exeext conftest.$ac_ext
78711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78713 if test `eval echo '${'$as_ac_var'}'` = yes; then
78714 cat >>confdefs.h <<_ACEOF
78715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78716 _ACEOF
78719 done
78721 else
78723 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
78724 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
78725 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
78726 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
78727 echo $ECHO_N "(cached) $ECHO_C" >&6
78728 else
78732 ac_ext=cc
78733 ac_cpp='$CXXCPP $CPPFLAGS'
78734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78738 cat >conftest.$ac_ext <<_ACEOF
78739 /* confdefs.h. */
78740 _ACEOF
78741 cat confdefs.h >>conftest.$ac_ext
78742 cat >>conftest.$ac_ext <<_ACEOF
78743 /* end confdefs.h. */
78744 #include <math.h>
78746 main ()
78748 _fmodl(0, 0);
78750 return 0;
78752 _ACEOF
78753 rm -f conftest.$ac_objext
78754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78755 (eval $ac_compile) 2>conftest.er1
78756 ac_status=$?
78757 grep -v '^ *+' conftest.er1 >conftest.err
78758 rm -f conftest.er1
78759 cat conftest.err >&5
78760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78761 (exit $ac_status); } &&
78762 { ac_try='test -z "$ac_cxx_werror_flag"
78763 || test ! -s conftest.err'
78764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78765 (eval $ac_try) 2>&5
78766 ac_status=$?
78767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78768 (exit $ac_status); }; } &&
78769 { ac_try='test -s conftest.$ac_objext'
78770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78771 (eval $ac_try) 2>&5
78772 ac_status=$?
78773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78774 (exit $ac_status); }; }; then
78775 glibcxx_cv_func__fmodl_use=yes
78776 else
78777 echo "$as_me: failed program was:" >&5
78778 sed 's/^/| /' conftest.$ac_ext >&5
78780 glibcxx_cv_func__fmodl_use=no
78782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78783 ac_ext=c
78784 ac_cpp='$CPP $CPPFLAGS'
78785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78793 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
78794 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
78796 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
78798 for ac_func in _fmodl
78800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78801 echo "$as_me:$LINENO: checking for $ac_func" >&5
78802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78803 if eval "test \"\${$as_ac_var+set}\" = set"; then
78804 echo $ECHO_N "(cached) $ECHO_C" >&6
78805 else
78806 if test x$gcc_no_link = xyes; then
78807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78809 { (exit 1); exit 1; }; }
78811 cat >conftest.$ac_ext <<_ACEOF
78812 /* confdefs.h. */
78813 _ACEOF
78814 cat confdefs.h >>conftest.$ac_ext
78815 cat >>conftest.$ac_ext <<_ACEOF
78816 /* end confdefs.h. */
78817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78819 #define $ac_func innocuous_$ac_func
78821 /* System header to define __stub macros and hopefully few prototypes,
78822 which can conflict with char $ac_func (); below.
78823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78824 <limits.h> exists even on freestanding compilers. */
78826 #ifdef __STDC__
78827 # include <limits.h>
78828 #else
78829 # include <assert.h>
78830 #endif
78832 #undef $ac_func
78834 /* Override any gcc2 internal prototype to avoid an error. */
78835 #ifdef __cplusplus
78836 extern "C"
78838 #endif
78839 /* We use char because int might match the return type of a gcc2
78840 builtin and then its argument prototype would still apply. */
78841 char $ac_func ();
78842 /* The GNU C library defines this for functions which it implements
78843 to always fail with ENOSYS. Some functions are actually named
78844 something starting with __ and the normal name is an alias. */
78845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78846 choke me
78847 #else
78848 char (*f) () = $ac_func;
78849 #endif
78850 #ifdef __cplusplus
78852 #endif
78855 main ()
78857 return f != $ac_func;
78859 return 0;
78861 _ACEOF
78862 rm -f conftest.$ac_objext conftest$ac_exeext
78863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78864 (eval $ac_link) 2>conftest.er1
78865 ac_status=$?
78866 grep -v '^ *+' conftest.er1 >conftest.err
78867 rm -f conftest.er1
78868 cat conftest.err >&5
78869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78870 (exit $ac_status); } &&
78871 { ac_try='test -z "$ac_c_werror_flag"
78872 || test ! -s conftest.err'
78873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78874 (eval $ac_try) 2>&5
78875 ac_status=$?
78876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78877 (exit $ac_status); }; } &&
78878 { ac_try='test -s conftest$ac_exeext'
78879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78880 (eval $ac_try) 2>&5
78881 ac_status=$?
78882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78883 (exit $ac_status); }; }; then
78884 eval "$as_ac_var=yes"
78885 else
78886 echo "$as_me: failed program was:" >&5
78887 sed 's/^/| /' conftest.$ac_ext >&5
78889 eval "$as_ac_var=no"
78891 rm -f conftest.err conftest.$ac_objext \
78892 conftest$ac_exeext conftest.$ac_ext
78894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78896 if test `eval echo '${'$as_ac_var'}'` = yes; then
78897 cat >>confdefs.h <<_ACEOF
78898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78899 _ACEOF
78902 done
78912 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
78913 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
78914 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
78915 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
78916 echo $ECHO_N "(cached) $ECHO_C" >&6
78917 else
78921 ac_ext=cc
78922 ac_cpp='$CXXCPP $CPPFLAGS'
78923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78927 cat >conftest.$ac_ext <<_ACEOF
78928 /* confdefs.h. */
78929 _ACEOF
78930 cat confdefs.h >>conftest.$ac_ext
78931 cat >>conftest.$ac_ext <<_ACEOF
78932 /* end confdefs.h. */
78933 #include <math.h>
78935 main ()
78937 frexpl(0, 0);
78939 return 0;
78941 _ACEOF
78942 rm -f conftest.$ac_objext
78943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78944 (eval $ac_compile) 2>conftest.er1
78945 ac_status=$?
78946 grep -v '^ *+' conftest.er1 >conftest.err
78947 rm -f conftest.er1
78948 cat conftest.err >&5
78949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78950 (exit $ac_status); } &&
78951 { ac_try='test -z "$ac_cxx_werror_flag"
78952 || test ! -s conftest.err'
78953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78954 (eval $ac_try) 2>&5
78955 ac_status=$?
78956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78957 (exit $ac_status); }; } &&
78958 { ac_try='test -s conftest.$ac_objext'
78959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78960 (eval $ac_try) 2>&5
78961 ac_status=$?
78962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78963 (exit $ac_status); }; }; then
78964 glibcxx_cv_func_frexpl_use=yes
78965 else
78966 echo "$as_me: failed program was:" >&5
78967 sed 's/^/| /' conftest.$ac_ext >&5
78969 glibcxx_cv_func_frexpl_use=no
78971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78972 ac_ext=c
78973 ac_cpp='$CPP $CPPFLAGS'
78974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78982 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
78983 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
78985 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
78987 for ac_func in frexpl
78989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78990 echo "$as_me:$LINENO: checking for $ac_func" >&5
78991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78992 if eval "test \"\${$as_ac_var+set}\" = set"; then
78993 echo $ECHO_N "(cached) $ECHO_C" >&6
78994 else
78995 if test x$gcc_no_link = xyes; then
78996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78998 { (exit 1); exit 1; }; }
79000 cat >conftest.$ac_ext <<_ACEOF
79001 /* confdefs.h. */
79002 _ACEOF
79003 cat confdefs.h >>conftest.$ac_ext
79004 cat >>conftest.$ac_ext <<_ACEOF
79005 /* end confdefs.h. */
79006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79008 #define $ac_func innocuous_$ac_func
79010 /* System header to define __stub macros and hopefully few prototypes,
79011 which can conflict with char $ac_func (); below.
79012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79013 <limits.h> exists even on freestanding compilers. */
79015 #ifdef __STDC__
79016 # include <limits.h>
79017 #else
79018 # include <assert.h>
79019 #endif
79021 #undef $ac_func
79023 /* Override any gcc2 internal prototype to avoid an error. */
79024 #ifdef __cplusplus
79025 extern "C"
79027 #endif
79028 /* We use char because int might match the return type of a gcc2
79029 builtin and then its argument prototype would still apply. */
79030 char $ac_func ();
79031 /* The GNU C library defines this for functions which it implements
79032 to always fail with ENOSYS. Some functions are actually named
79033 something starting with __ and the normal name is an alias. */
79034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79035 choke me
79036 #else
79037 char (*f) () = $ac_func;
79038 #endif
79039 #ifdef __cplusplus
79041 #endif
79044 main ()
79046 return f != $ac_func;
79048 return 0;
79050 _ACEOF
79051 rm -f conftest.$ac_objext conftest$ac_exeext
79052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79053 (eval $ac_link) 2>conftest.er1
79054 ac_status=$?
79055 grep -v '^ *+' conftest.er1 >conftest.err
79056 rm -f conftest.er1
79057 cat conftest.err >&5
79058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79059 (exit $ac_status); } &&
79060 { ac_try='test -z "$ac_c_werror_flag"
79061 || test ! -s conftest.err'
79062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79063 (eval $ac_try) 2>&5
79064 ac_status=$?
79065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79066 (exit $ac_status); }; } &&
79067 { ac_try='test -s conftest$ac_exeext'
79068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79069 (eval $ac_try) 2>&5
79070 ac_status=$?
79071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79072 (exit $ac_status); }; }; then
79073 eval "$as_ac_var=yes"
79074 else
79075 echo "$as_me: failed program was:" >&5
79076 sed 's/^/| /' conftest.$ac_ext >&5
79078 eval "$as_ac_var=no"
79080 rm -f conftest.err conftest.$ac_objext \
79081 conftest$ac_exeext conftest.$ac_ext
79083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79085 if test `eval echo '${'$as_ac_var'}'` = yes; then
79086 cat >>confdefs.h <<_ACEOF
79087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79088 _ACEOF
79091 done
79093 else
79095 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
79096 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
79097 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
79098 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
79099 echo $ECHO_N "(cached) $ECHO_C" >&6
79100 else
79104 ac_ext=cc
79105 ac_cpp='$CXXCPP $CPPFLAGS'
79106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79110 cat >conftest.$ac_ext <<_ACEOF
79111 /* confdefs.h. */
79112 _ACEOF
79113 cat confdefs.h >>conftest.$ac_ext
79114 cat >>conftest.$ac_ext <<_ACEOF
79115 /* end confdefs.h. */
79116 #include <math.h>
79118 main ()
79120 _frexpl(0, 0);
79122 return 0;
79124 _ACEOF
79125 rm -f conftest.$ac_objext
79126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79127 (eval $ac_compile) 2>conftest.er1
79128 ac_status=$?
79129 grep -v '^ *+' conftest.er1 >conftest.err
79130 rm -f conftest.er1
79131 cat conftest.err >&5
79132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79133 (exit $ac_status); } &&
79134 { ac_try='test -z "$ac_cxx_werror_flag"
79135 || test ! -s conftest.err'
79136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79137 (eval $ac_try) 2>&5
79138 ac_status=$?
79139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79140 (exit $ac_status); }; } &&
79141 { ac_try='test -s conftest.$ac_objext'
79142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79143 (eval $ac_try) 2>&5
79144 ac_status=$?
79145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79146 (exit $ac_status); }; }; then
79147 glibcxx_cv_func__frexpl_use=yes
79148 else
79149 echo "$as_me: failed program was:" >&5
79150 sed 's/^/| /' conftest.$ac_ext >&5
79152 glibcxx_cv_func__frexpl_use=no
79154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79155 ac_ext=c
79156 ac_cpp='$CPP $CPPFLAGS'
79157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79165 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
79166 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
79168 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
79170 for ac_func in _frexpl
79172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79173 echo "$as_me:$LINENO: checking for $ac_func" >&5
79174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79175 if eval "test \"\${$as_ac_var+set}\" = set"; then
79176 echo $ECHO_N "(cached) $ECHO_C" >&6
79177 else
79178 if test x$gcc_no_link = xyes; then
79179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79181 { (exit 1); exit 1; }; }
79183 cat >conftest.$ac_ext <<_ACEOF
79184 /* confdefs.h. */
79185 _ACEOF
79186 cat confdefs.h >>conftest.$ac_ext
79187 cat >>conftest.$ac_ext <<_ACEOF
79188 /* end confdefs.h. */
79189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79191 #define $ac_func innocuous_$ac_func
79193 /* System header to define __stub macros and hopefully few prototypes,
79194 which can conflict with char $ac_func (); below.
79195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79196 <limits.h> exists even on freestanding compilers. */
79198 #ifdef __STDC__
79199 # include <limits.h>
79200 #else
79201 # include <assert.h>
79202 #endif
79204 #undef $ac_func
79206 /* Override any gcc2 internal prototype to avoid an error. */
79207 #ifdef __cplusplus
79208 extern "C"
79210 #endif
79211 /* We use char because int might match the return type of a gcc2
79212 builtin and then its argument prototype would still apply. */
79213 char $ac_func ();
79214 /* The GNU C library defines this for functions which it implements
79215 to always fail with ENOSYS. Some functions are actually named
79216 something starting with __ and the normal name is an alias. */
79217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79218 choke me
79219 #else
79220 char (*f) () = $ac_func;
79221 #endif
79222 #ifdef __cplusplus
79224 #endif
79227 main ()
79229 return f != $ac_func;
79231 return 0;
79233 _ACEOF
79234 rm -f conftest.$ac_objext conftest$ac_exeext
79235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79236 (eval $ac_link) 2>conftest.er1
79237 ac_status=$?
79238 grep -v '^ *+' conftest.er1 >conftest.err
79239 rm -f conftest.er1
79240 cat conftest.err >&5
79241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79242 (exit $ac_status); } &&
79243 { ac_try='test -z "$ac_c_werror_flag"
79244 || test ! -s conftest.err'
79245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79246 (eval $ac_try) 2>&5
79247 ac_status=$?
79248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79249 (exit $ac_status); }; } &&
79250 { ac_try='test -s conftest$ac_exeext'
79251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79252 (eval $ac_try) 2>&5
79253 ac_status=$?
79254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79255 (exit $ac_status); }; }; then
79256 eval "$as_ac_var=yes"
79257 else
79258 echo "$as_me: failed program was:" >&5
79259 sed 's/^/| /' conftest.$ac_ext >&5
79261 eval "$as_ac_var=no"
79263 rm -f conftest.err conftest.$ac_objext \
79264 conftest$ac_exeext conftest.$ac_ext
79266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79268 if test `eval echo '${'$as_ac_var'}'` = yes; then
79269 cat >>confdefs.h <<_ACEOF
79270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79271 _ACEOF
79274 done
79284 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
79285 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
79286 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
79287 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
79288 echo $ECHO_N "(cached) $ECHO_C" >&6
79289 else
79293 ac_ext=cc
79294 ac_cpp='$CXXCPP $CPPFLAGS'
79295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79299 cat >conftest.$ac_ext <<_ACEOF
79300 /* confdefs.h. */
79301 _ACEOF
79302 cat confdefs.h >>conftest.$ac_ext
79303 cat >>conftest.$ac_ext <<_ACEOF
79304 /* end confdefs.h. */
79305 #include <math.h>
79307 main ()
79309 hypotl(0, 0);
79311 return 0;
79313 _ACEOF
79314 rm -f conftest.$ac_objext
79315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79316 (eval $ac_compile) 2>conftest.er1
79317 ac_status=$?
79318 grep -v '^ *+' conftest.er1 >conftest.err
79319 rm -f conftest.er1
79320 cat conftest.err >&5
79321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79322 (exit $ac_status); } &&
79323 { ac_try='test -z "$ac_cxx_werror_flag"
79324 || test ! -s conftest.err'
79325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79326 (eval $ac_try) 2>&5
79327 ac_status=$?
79328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79329 (exit $ac_status); }; } &&
79330 { ac_try='test -s conftest.$ac_objext'
79331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79332 (eval $ac_try) 2>&5
79333 ac_status=$?
79334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79335 (exit $ac_status); }; }; then
79336 glibcxx_cv_func_hypotl_use=yes
79337 else
79338 echo "$as_me: failed program was:" >&5
79339 sed 's/^/| /' conftest.$ac_ext >&5
79341 glibcxx_cv_func_hypotl_use=no
79343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79344 ac_ext=c
79345 ac_cpp='$CPP $CPPFLAGS'
79346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79354 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
79355 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
79357 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
79359 for ac_func in hypotl
79361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79362 echo "$as_me:$LINENO: checking for $ac_func" >&5
79363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79364 if eval "test \"\${$as_ac_var+set}\" = set"; then
79365 echo $ECHO_N "(cached) $ECHO_C" >&6
79366 else
79367 if test x$gcc_no_link = xyes; then
79368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79370 { (exit 1); exit 1; }; }
79372 cat >conftest.$ac_ext <<_ACEOF
79373 /* confdefs.h. */
79374 _ACEOF
79375 cat confdefs.h >>conftest.$ac_ext
79376 cat >>conftest.$ac_ext <<_ACEOF
79377 /* end confdefs.h. */
79378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79380 #define $ac_func innocuous_$ac_func
79382 /* System header to define __stub macros and hopefully few prototypes,
79383 which can conflict with char $ac_func (); below.
79384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79385 <limits.h> exists even on freestanding compilers. */
79387 #ifdef __STDC__
79388 # include <limits.h>
79389 #else
79390 # include <assert.h>
79391 #endif
79393 #undef $ac_func
79395 /* Override any gcc2 internal prototype to avoid an error. */
79396 #ifdef __cplusplus
79397 extern "C"
79399 #endif
79400 /* We use char because int might match the return type of a gcc2
79401 builtin and then its argument prototype would still apply. */
79402 char $ac_func ();
79403 /* The GNU C library defines this for functions which it implements
79404 to always fail with ENOSYS. Some functions are actually named
79405 something starting with __ and the normal name is an alias. */
79406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79407 choke me
79408 #else
79409 char (*f) () = $ac_func;
79410 #endif
79411 #ifdef __cplusplus
79413 #endif
79416 main ()
79418 return f != $ac_func;
79420 return 0;
79422 _ACEOF
79423 rm -f conftest.$ac_objext conftest$ac_exeext
79424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79425 (eval $ac_link) 2>conftest.er1
79426 ac_status=$?
79427 grep -v '^ *+' conftest.er1 >conftest.err
79428 rm -f conftest.er1
79429 cat conftest.err >&5
79430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79431 (exit $ac_status); } &&
79432 { ac_try='test -z "$ac_c_werror_flag"
79433 || test ! -s conftest.err'
79434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79435 (eval $ac_try) 2>&5
79436 ac_status=$?
79437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79438 (exit $ac_status); }; } &&
79439 { ac_try='test -s conftest$ac_exeext'
79440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79441 (eval $ac_try) 2>&5
79442 ac_status=$?
79443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79444 (exit $ac_status); }; }; then
79445 eval "$as_ac_var=yes"
79446 else
79447 echo "$as_me: failed program was:" >&5
79448 sed 's/^/| /' conftest.$ac_ext >&5
79450 eval "$as_ac_var=no"
79452 rm -f conftest.err conftest.$ac_objext \
79453 conftest$ac_exeext conftest.$ac_ext
79455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79457 if test `eval echo '${'$as_ac_var'}'` = yes; then
79458 cat >>confdefs.h <<_ACEOF
79459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79460 _ACEOF
79463 done
79465 else
79467 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
79468 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
79469 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
79470 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
79471 echo $ECHO_N "(cached) $ECHO_C" >&6
79472 else
79476 ac_ext=cc
79477 ac_cpp='$CXXCPP $CPPFLAGS'
79478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79482 cat >conftest.$ac_ext <<_ACEOF
79483 /* confdefs.h. */
79484 _ACEOF
79485 cat confdefs.h >>conftest.$ac_ext
79486 cat >>conftest.$ac_ext <<_ACEOF
79487 /* end confdefs.h. */
79488 #include <math.h>
79490 main ()
79492 _hypotl(0, 0);
79494 return 0;
79496 _ACEOF
79497 rm -f conftest.$ac_objext
79498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79499 (eval $ac_compile) 2>conftest.er1
79500 ac_status=$?
79501 grep -v '^ *+' conftest.er1 >conftest.err
79502 rm -f conftest.er1
79503 cat conftest.err >&5
79504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79505 (exit $ac_status); } &&
79506 { ac_try='test -z "$ac_cxx_werror_flag"
79507 || test ! -s conftest.err'
79508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79509 (eval $ac_try) 2>&5
79510 ac_status=$?
79511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79512 (exit $ac_status); }; } &&
79513 { ac_try='test -s conftest.$ac_objext'
79514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79515 (eval $ac_try) 2>&5
79516 ac_status=$?
79517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79518 (exit $ac_status); }; }; then
79519 glibcxx_cv_func__hypotl_use=yes
79520 else
79521 echo "$as_me: failed program was:" >&5
79522 sed 's/^/| /' conftest.$ac_ext >&5
79524 glibcxx_cv_func__hypotl_use=no
79526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79527 ac_ext=c
79528 ac_cpp='$CPP $CPPFLAGS'
79529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79537 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
79538 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
79540 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
79542 for ac_func in _hypotl
79544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79545 echo "$as_me:$LINENO: checking for $ac_func" >&5
79546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79547 if eval "test \"\${$as_ac_var+set}\" = set"; then
79548 echo $ECHO_N "(cached) $ECHO_C" >&6
79549 else
79550 if test x$gcc_no_link = xyes; then
79551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79553 { (exit 1); exit 1; }; }
79555 cat >conftest.$ac_ext <<_ACEOF
79556 /* confdefs.h. */
79557 _ACEOF
79558 cat confdefs.h >>conftest.$ac_ext
79559 cat >>conftest.$ac_ext <<_ACEOF
79560 /* end confdefs.h. */
79561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79563 #define $ac_func innocuous_$ac_func
79565 /* System header to define __stub macros and hopefully few prototypes,
79566 which can conflict with char $ac_func (); below.
79567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79568 <limits.h> exists even on freestanding compilers. */
79570 #ifdef __STDC__
79571 # include <limits.h>
79572 #else
79573 # include <assert.h>
79574 #endif
79576 #undef $ac_func
79578 /* Override any gcc2 internal prototype to avoid an error. */
79579 #ifdef __cplusplus
79580 extern "C"
79582 #endif
79583 /* We use char because int might match the return type of a gcc2
79584 builtin and then its argument prototype would still apply. */
79585 char $ac_func ();
79586 /* The GNU C library defines this for functions which it implements
79587 to always fail with ENOSYS. Some functions are actually named
79588 something starting with __ and the normal name is an alias. */
79589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79590 choke me
79591 #else
79592 char (*f) () = $ac_func;
79593 #endif
79594 #ifdef __cplusplus
79596 #endif
79599 main ()
79601 return f != $ac_func;
79603 return 0;
79605 _ACEOF
79606 rm -f conftest.$ac_objext conftest$ac_exeext
79607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79608 (eval $ac_link) 2>conftest.er1
79609 ac_status=$?
79610 grep -v '^ *+' conftest.er1 >conftest.err
79611 rm -f conftest.er1
79612 cat conftest.err >&5
79613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79614 (exit $ac_status); } &&
79615 { ac_try='test -z "$ac_c_werror_flag"
79616 || test ! -s conftest.err'
79617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79618 (eval $ac_try) 2>&5
79619 ac_status=$?
79620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79621 (exit $ac_status); }; } &&
79622 { ac_try='test -s conftest$ac_exeext'
79623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79624 (eval $ac_try) 2>&5
79625 ac_status=$?
79626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79627 (exit $ac_status); }; }; then
79628 eval "$as_ac_var=yes"
79629 else
79630 echo "$as_me: failed program was:" >&5
79631 sed 's/^/| /' conftest.$ac_ext >&5
79633 eval "$as_ac_var=no"
79635 rm -f conftest.err conftest.$ac_objext \
79636 conftest$ac_exeext conftest.$ac_ext
79638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79640 if test `eval echo '${'$as_ac_var'}'` = yes; then
79641 cat >>confdefs.h <<_ACEOF
79642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79643 _ACEOF
79646 done
79656 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
79657 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
79658 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
79659 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
79660 echo $ECHO_N "(cached) $ECHO_C" >&6
79661 else
79665 ac_ext=cc
79666 ac_cpp='$CXXCPP $CPPFLAGS'
79667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79671 cat >conftest.$ac_ext <<_ACEOF
79672 /* confdefs.h. */
79673 _ACEOF
79674 cat confdefs.h >>conftest.$ac_ext
79675 cat >>conftest.$ac_ext <<_ACEOF
79676 /* end confdefs.h. */
79677 #include <math.h>
79679 main ()
79681 ldexpl(0, 0);
79683 return 0;
79685 _ACEOF
79686 rm -f conftest.$ac_objext
79687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79688 (eval $ac_compile) 2>conftest.er1
79689 ac_status=$?
79690 grep -v '^ *+' conftest.er1 >conftest.err
79691 rm -f conftest.er1
79692 cat conftest.err >&5
79693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79694 (exit $ac_status); } &&
79695 { ac_try='test -z "$ac_cxx_werror_flag"
79696 || test ! -s conftest.err'
79697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79698 (eval $ac_try) 2>&5
79699 ac_status=$?
79700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79701 (exit $ac_status); }; } &&
79702 { ac_try='test -s conftest.$ac_objext'
79703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79704 (eval $ac_try) 2>&5
79705 ac_status=$?
79706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79707 (exit $ac_status); }; }; then
79708 glibcxx_cv_func_ldexpl_use=yes
79709 else
79710 echo "$as_me: failed program was:" >&5
79711 sed 's/^/| /' conftest.$ac_ext >&5
79713 glibcxx_cv_func_ldexpl_use=no
79715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79716 ac_ext=c
79717 ac_cpp='$CPP $CPPFLAGS'
79718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79726 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
79727 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
79729 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
79731 for ac_func in ldexpl
79733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79734 echo "$as_me:$LINENO: checking for $ac_func" >&5
79735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79736 if eval "test \"\${$as_ac_var+set}\" = set"; then
79737 echo $ECHO_N "(cached) $ECHO_C" >&6
79738 else
79739 if test x$gcc_no_link = xyes; then
79740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79742 { (exit 1); exit 1; }; }
79744 cat >conftest.$ac_ext <<_ACEOF
79745 /* confdefs.h. */
79746 _ACEOF
79747 cat confdefs.h >>conftest.$ac_ext
79748 cat >>conftest.$ac_ext <<_ACEOF
79749 /* end confdefs.h. */
79750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79752 #define $ac_func innocuous_$ac_func
79754 /* System header to define __stub macros and hopefully few prototypes,
79755 which can conflict with char $ac_func (); below.
79756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79757 <limits.h> exists even on freestanding compilers. */
79759 #ifdef __STDC__
79760 # include <limits.h>
79761 #else
79762 # include <assert.h>
79763 #endif
79765 #undef $ac_func
79767 /* Override any gcc2 internal prototype to avoid an error. */
79768 #ifdef __cplusplus
79769 extern "C"
79771 #endif
79772 /* We use char because int might match the return type of a gcc2
79773 builtin and then its argument prototype would still apply. */
79774 char $ac_func ();
79775 /* The GNU C library defines this for functions which it implements
79776 to always fail with ENOSYS. Some functions are actually named
79777 something starting with __ and the normal name is an alias. */
79778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79779 choke me
79780 #else
79781 char (*f) () = $ac_func;
79782 #endif
79783 #ifdef __cplusplus
79785 #endif
79788 main ()
79790 return f != $ac_func;
79792 return 0;
79794 _ACEOF
79795 rm -f conftest.$ac_objext conftest$ac_exeext
79796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79797 (eval $ac_link) 2>conftest.er1
79798 ac_status=$?
79799 grep -v '^ *+' conftest.er1 >conftest.err
79800 rm -f conftest.er1
79801 cat conftest.err >&5
79802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79803 (exit $ac_status); } &&
79804 { ac_try='test -z "$ac_c_werror_flag"
79805 || test ! -s conftest.err'
79806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79807 (eval $ac_try) 2>&5
79808 ac_status=$?
79809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79810 (exit $ac_status); }; } &&
79811 { ac_try='test -s conftest$ac_exeext'
79812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79813 (eval $ac_try) 2>&5
79814 ac_status=$?
79815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79816 (exit $ac_status); }; }; then
79817 eval "$as_ac_var=yes"
79818 else
79819 echo "$as_me: failed program was:" >&5
79820 sed 's/^/| /' conftest.$ac_ext >&5
79822 eval "$as_ac_var=no"
79824 rm -f conftest.err conftest.$ac_objext \
79825 conftest$ac_exeext conftest.$ac_ext
79827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79829 if test `eval echo '${'$as_ac_var'}'` = yes; then
79830 cat >>confdefs.h <<_ACEOF
79831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79832 _ACEOF
79835 done
79837 else
79839 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
79840 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
79841 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
79842 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
79843 echo $ECHO_N "(cached) $ECHO_C" >&6
79844 else
79848 ac_ext=cc
79849 ac_cpp='$CXXCPP $CPPFLAGS'
79850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79854 cat >conftest.$ac_ext <<_ACEOF
79855 /* confdefs.h. */
79856 _ACEOF
79857 cat confdefs.h >>conftest.$ac_ext
79858 cat >>conftest.$ac_ext <<_ACEOF
79859 /* end confdefs.h. */
79860 #include <math.h>
79862 main ()
79864 _ldexpl(0, 0);
79866 return 0;
79868 _ACEOF
79869 rm -f conftest.$ac_objext
79870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79871 (eval $ac_compile) 2>conftest.er1
79872 ac_status=$?
79873 grep -v '^ *+' conftest.er1 >conftest.err
79874 rm -f conftest.er1
79875 cat conftest.err >&5
79876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79877 (exit $ac_status); } &&
79878 { ac_try='test -z "$ac_cxx_werror_flag"
79879 || test ! -s conftest.err'
79880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79881 (eval $ac_try) 2>&5
79882 ac_status=$?
79883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79884 (exit $ac_status); }; } &&
79885 { ac_try='test -s conftest.$ac_objext'
79886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79887 (eval $ac_try) 2>&5
79888 ac_status=$?
79889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79890 (exit $ac_status); }; }; then
79891 glibcxx_cv_func__ldexpl_use=yes
79892 else
79893 echo "$as_me: failed program was:" >&5
79894 sed 's/^/| /' conftest.$ac_ext >&5
79896 glibcxx_cv_func__ldexpl_use=no
79898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79899 ac_ext=c
79900 ac_cpp='$CPP $CPPFLAGS'
79901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79909 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
79910 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
79912 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
79914 for ac_func in _ldexpl
79916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79917 echo "$as_me:$LINENO: checking for $ac_func" >&5
79918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79919 if eval "test \"\${$as_ac_var+set}\" = set"; then
79920 echo $ECHO_N "(cached) $ECHO_C" >&6
79921 else
79922 if test x$gcc_no_link = xyes; then
79923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79925 { (exit 1); exit 1; }; }
79927 cat >conftest.$ac_ext <<_ACEOF
79928 /* confdefs.h. */
79929 _ACEOF
79930 cat confdefs.h >>conftest.$ac_ext
79931 cat >>conftest.$ac_ext <<_ACEOF
79932 /* end confdefs.h. */
79933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79935 #define $ac_func innocuous_$ac_func
79937 /* System header to define __stub macros and hopefully few prototypes,
79938 which can conflict with char $ac_func (); below.
79939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79940 <limits.h> exists even on freestanding compilers. */
79942 #ifdef __STDC__
79943 # include <limits.h>
79944 #else
79945 # include <assert.h>
79946 #endif
79948 #undef $ac_func
79950 /* Override any gcc2 internal prototype to avoid an error. */
79951 #ifdef __cplusplus
79952 extern "C"
79954 #endif
79955 /* We use char because int might match the return type of a gcc2
79956 builtin and then its argument prototype would still apply. */
79957 char $ac_func ();
79958 /* The GNU C library defines this for functions which it implements
79959 to always fail with ENOSYS. Some functions are actually named
79960 something starting with __ and the normal name is an alias. */
79961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79962 choke me
79963 #else
79964 char (*f) () = $ac_func;
79965 #endif
79966 #ifdef __cplusplus
79968 #endif
79971 main ()
79973 return f != $ac_func;
79975 return 0;
79977 _ACEOF
79978 rm -f conftest.$ac_objext conftest$ac_exeext
79979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79980 (eval $ac_link) 2>conftest.er1
79981 ac_status=$?
79982 grep -v '^ *+' conftest.er1 >conftest.err
79983 rm -f conftest.er1
79984 cat conftest.err >&5
79985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79986 (exit $ac_status); } &&
79987 { ac_try='test -z "$ac_c_werror_flag"
79988 || test ! -s conftest.err'
79989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79990 (eval $ac_try) 2>&5
79991 ac_status=$?
79992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79993 (exit $ac_status); }; } &&
79994 { ac_try='test -s conftest$ac_exeext'
79995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79996 (eval $ac_try) 2>&5
79997 ac_status=$?
79998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79999 (exit $ac_status); }; }; then
80000 eval "$as_ac_var=yes"
80001 else
80002 echo "$as_me: failed program was:" >&5
80003 sed 's/^/| /' conftest.$ac_ext >&5
80005 eval "$as_ac_var=no"
80007 rm -f conftest.err conftest.$ac_objext \
80008 conftest$ac_exeext conftest.$ac_ext
80010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80012 if test `eval echo '${'$as_ac_var'}'` = yes; then
80013 cat >>confdefs.h <<_ACEOF
80014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80015 _ACEOF
80018 done
80028 echo "$as_me:$LINENO: checking for logl declaration" >&5
80029 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
80030 if test x${glibcxx_cv_func_logl_use+set} != xset; then
80031 if test "${glibcxx_cv_func_logl_use+set}" = set; then
80032 echo $ECHO_N "(cached) $ECHO_C" >&6
80033 else
80037 ac_ext=cc
80038 ac_cpp='$CXXCPP $CPPFLAGS'
80039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80043 cat >conftest.$ac_ext <<_ACEOF
80044 /* confdefs.h. */
80045 _ACEOF
80046 cat confdefs.h >>conftest.$ac_ext
80047 cat >>conftest.$ac_ext <<_ACEOF
80048 /* end confdefs.h. */
80049 #include <math.h>
80050 #ifdef HAVE_IEEEFP_H
80051 #include <ieeefp.h>
80052 #endif
80055 main ()
80057 logl(0);
80059 return 0;
80061 _ACEOF
80062 rm -f conftest.$ac_objext
80063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80064 (eval $ac_compile) 2>conftest.er1
80065 ac_status=$?
80066 grep -v '^ *+' conftest.er1 >conftest.err
80067 rm -f conftest.er1
80068 cat conftest.err >&5
80069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80070 (exit $ac_status); } &&
80071 { ac_try='test -z "$ac_cxx_werror_flag"
80072 || test ! -s conftest.err'
80073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80074 (eval $ac_try) 2>&5
80075 ac_status=$?
80076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80077 (exit $ac_status); }; } &&
80078 { ac_try='test -s conftest.$ac_objext'
80079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80080 (eval $ac_try) 2>&5
80081 ac_status=$?
80082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80083 (exit $ac_status); }; }; then
80084 glibcxx_cv_func_logl_use=yes
80085 else
80086 echo "$as_me: failed program was:" >&5
80087 sed 's/^/| /' conftest.$ac_ext >&5
80089 glibcxx_cv_func_logl_use=no
80091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80092 ac_ext=c
80093 ac_cpp='$CPP $CPPFLAGS'
80094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80102 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
80103 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
80105 if test x$glibcxx_cv_func_logl_use = x"yes"; then
80107 for ac_func in logl
80109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80110 echo "$as_me:$LINENO: checking for $ac_func" >&5
80111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80112 if eval "test \"\${$as_ac_var+set}\" = set"; then
80113 echo $ECHO_N "(cached) $ECHO_C" >&6
80114 else
80115 if test x$gcc_no_link = xyes; then
80116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80118 { (exit 1); exit 1; }; }
80120 cat >conftest.$ac_ext <<_ACEOF
80121 /* confdefs.h. */
80122 _ACEOF
80123 cat confdefs.h >>conftest.$ac_ext
80124 cat >>conftest.$ac_ext <<_ACEOF
80125 /* end confdefs.h. */
80126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80128 #define $ac_func innocuous_$ac_func
80130 /* System header to define __stub macros and hopefully few prototypes,
80131 which can conflict with char $ac_func (); below.
80132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80133 <limits.h> exists even on freestanding compilers. */
80135 #ifdef __STDC__
80136 # include <limits.h>
80137 #else
80138 # include <assert.h>
80139 #endif
80141 #undef $ac_func
80143 /* Override any gcc2 internal prototype to avoid an error. */
80144 #ifdef __cplusplus
80145 extern "C"
80147 #endif
80148 /* We use char because int might match the return type of a gcc2
80149 builtin and then its argument prototype would still apply. */
80150 char $ac_func ();
80151 /* The GNU C library defines this for functions which it implements
80152 to always fail with ENOSYS. Some functions are actually named
80153 something starting with __ and the normal name is an alias. */
80154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80155 choke me
80156 #else
80157 char (*f) () = $ac_func;
80158 #endif
80159 #ifdef __cplusplus
80161 #endif
80164 main ()
80166 return f != $ac_func;
80168 return 0;
80170 _ACEOF
80171 rm -f conftest.$ac_objext conftest$ac_exeext
80172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80173 (eval $ac_link) 2>conftest.er1
80174 ac_status=$?
80175 grep -v '^ *+' conftest.er1 >conftest.err
80176 rm -f conftest.er1
80177 cat conftest.err >&5
80178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80179 (exit $ac_status); } &&
80180 { ac_try='test -z "$ac_c_werror_flag"
80181 || test ! -s conftest.err'
80182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80183 (eval $ac_try) 2>&5
80184 ac_status=$?
80185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80186 (exit $ac_status); }; } &&
80187 { ac_try='test -s conftest$ac_exeext'
80188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80189 (eval $ac_try) 2>&5
80190 ac_status=$?
80191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80192 (exit $ac_status); }; }; then
80193 eval "$as_ac_var=yes"
80194 else
80195 echo "$as_me: failed program was:" >&5
80196 sed 's/^/| /' conftest.$ac_ext >&5
80198 eval "$as_ac_var=no"
80200 rm -f conftest.err conftest.$ac_objext \
80201 conftest$ac_exeext conftest.$ac_ext
80203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80205 if test `eval echo '${'$as_ac_var'}'` = yes; then
80206 cat >>confdefs.h <<_ACEOF
80207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80208 _ACEOF
80211 done
80213 else
80215 echo "$as_me:$LINENO: checking for _logl declaration" >&5
80216 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
80217 if test x${glibcxx_cv_func__logl_use+set} != xset; then
80218 if test "${glibcxx_cv_func__logl_use+set}" = set; then
80219 echo $ECHO_N "(cached) $ECHO_C" >&6
80220 else
80224 ac_ext=cc
80225 ac_cpp='$CXXCPP $CPPFLAGS'
80226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80230 cat >conftest.$ac_ext <<_ACEOF
80231 /* confdefs.h. */
80232 _ACEOF
80233 cat confdefs.h >>conftest.$ac_ext
80234 cat >>conftest.$ac_ext <<_ACEOF
80235 /* end confdefs.h. */
80236 #include <math.h>
80237 #ifdef HAVE_IEEEFP_H
80238 #include <ieeefp.h>
80239 #endif
80242 main ()
80244 _logl(0);
80246 return 0;
80248 _ACEOF
80249 rm -f conftest.$ac_objext
80250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80251 (eval $ac_compile) 2>conftest.er1
80252 ac_status=$?
80253 grep -v '^ *+' conftest.er1 >conftest.err
80254 rm -f conftest.er1
80255 cat conftest.err >&5
80256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80257 (exit $ac_status); } &&
80258 { ac_try='test -z "$ac_cxx_werror_flag"
80259 || test ! -s conftest.err'
80260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80261 (eval $ac_try) 2>&5
80262 ac_status=$?
80263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80264 (exit $ac_status); }; } &&
80265 { ac_try='test -s conftest.$ac_objext'
80266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80267 (eval $ac_try) 2>&5
80268 ac_status=$?
80269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80270 (exit $ac_status); }; }; then
80271 glibcxx_cv_func__logl_use=yes
80272 else
80273 echo "$as_me: failed program was:" >&5
80274 sed 's/^/| /' conftest.$ac_ext >&5
80276 glibcxx_cv_func__logl_use=no
80278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80279 ac_ext=c
80280 ac_cpp='$CPP $CPPFLAGS'
80281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80289 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
80290 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
80292 if test x$glibcxx_cv_func__logl_use = x"yes"; then
80294 for ac_func in _logl
80296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80297 echo "$as_me:$LINENO: checking for $ac_func" >&5
80298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80299 if eval "test \"\${$as_ac_var+set}\" = set"; then
80300 echo $ECHO_N "(cached) $ECHO_C" >&6
80301 else
80302 if test x$gcc_no_link = xyes; then
80303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80305 { (exit 1); exit 1; }; }
80307 cat >conftest.$ac_ext <<_ACEOF
80308 /* confdefs.h. */
80309 _ACEOF
80310 cat confdefs.h >>conftest.$ac_ext
80311 cat >>conftest.$ac_ext <<_ACEOF
80312 /* end confdefs.h. */
80313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80315 #define $ac_func innocuous_$ac_func
80317 /* System header to define __stub macros and hopefully few prototypes,
80318 which can conflict with char $ac_func (); below.
80319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80320 <limits.h> exists even on freestanding compilers. */
80322 #ifdef __STDC__
80323 # include <limits.h>
80324 #else
80325 # include <assert.h>
80326 #endif
80328 #undef $ac_func
80330 /* Override any gcc2 internal prototype to avoid an error. */
80331 #ifdef __cplusplus
80332 extern "C"
80334 #endif
80335 /* We use char because int might match the return type of a gcc2
80336 builtin and then its argument prototype would still apply. */
80337 char $ac_func ();
80338 /* The GNU C library defines this for functions which it implements
80339 to always fail with ENOSYS. Some functions are actually named
80340 something starting with __ and the normal name is an alias. */
80341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80342 choke me
80343 #else
80344 char (*f) () = $ac_func;
80345 #endif
80346 #ifdef __cplusplus
80348 #endif
80351 main ()
80353 return f != $ac_func;
80355 return 0;
80357 _ACEOF
80358 rm -f conftest.$ac_objext conftest$ac_exeext
80359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80360 (eval $ac_link) 2>conftest.er1
80361 ac_status=$?
80362 grep -v '^ *+' conftest.er1 >conftest.err
80363 rm -f conftest.er1
80364 cat conftest.err >&5
80365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80366 (exit $ac_status); } &&
80367 { ac_try='test -z "$ac_c_werror_flag"
80368 || test ! -s conftest.err'
80369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80370 (eval $ac_try) 2>&5
80371 ac_status=$?
80372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80373 (exit $ac_status); }; } &&
80374 { ac_try='test -s conftest$ac_exeext'
80375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80376 (eval $ac_try) 2>&5
80377 ac_status=$?
80378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80379 (exit $ac_status); }; }; then
80380 eval "$as_ac_var=yes"
80381 else
80382 echo "$as_me: failed program was:" >&5
80383 sed 's/^/| /' conftest.$ac_ext >&5
80385 eval "$as_ac_var=no"
80387 rm -f conftest.err conftest.$ac_objext \
80388 conftest$ac_exeext conftest.$ac_ext
80390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80392 if test `eval echo '${'$as_ac_var'}'` = yes; then
80393 cat >>confdefs.h <<_ACEOF
80394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80395 _ACEOF
80398 done
80408 echo "$as_me:$LINENO: checking for log10l declaration" >&5
80409 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
80410 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
80411 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
80412 echo $ECHO_N "(cached) $ECHO_C" >&6
80413 else
80417 ac_ext=cc
80418 ac_cpp='$CXXCPP $CPPFLAGS'
80419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80423 cat >conftest.$ac_ext <<_ACEOF
80424 /* confdefs.h. */
80425 _ACEOF
80426 cat confdefs.h >>conftest.$ac_ext
80427 cat >>conftest.$ac_ext <<_ACEOF
80428 /* end confdefs.h. */
80429 #include <math.h>
80430 #ifdef HAVE_IEEEFP_H
80431 #include <ieeefp.h>
80432 #endif
80435 main ()
80437 log10l(0);
80439 return 0;
80441 _ACEOF
80442 rm -f conftest.$ac_objext
80443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80444 (eval $ac_compile) 2>conftest.er1
80445 ac_status=$?
80446 grep -v '^ *+' conftest.er1 >conftest.err
80447 rm -f conftest.er1
80448 cat conftest.err >&5
80449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80450 (exit $ac_status); } &&
80451 { ac_try='test -z "$ac_cxx_werror_flag"
80452 || test ! -s conftest.err'
80453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80454 (eval $ac_try) 2>&5
80455 ac_status=$?
80456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80457 (exit $ac_status); }; } &&
80458 { ac_try='test -s conftest.$ac_objext'
80459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80460 (eval $ac_try) 2>&5
80461 ac_status=$?
80462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80463 (exit $ac_status); }; }; then
80464 glibcxx_cv_func_log10l_use=yes
80465 else
80466 echo "$as_me: failed program was:" >&5
80467 sed 's/^/| /' conftest.$ac_ext >&5
80469 glibcxx_cv_func_log10l_use=no
80471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80472 ac_ext=c
80473 ac_cpp='$CPP $CPPFLAGS'
80474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80482 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
80483 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
80485 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
80487 for ac_func in log10l
80489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80490 echo "$as_me:$LINENO: checking for $ac_func" >&5
80491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80492 if eval "test \"\${$as_ac_var+set}\" = set"; then
80493 echo $ECHO_N "(cached) $ECHO_C" >&6
80494 else
80495 if test x$gcc_no_link = xyes; then
80496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80498 { (exit 1); exit 1; }; }
80500 cat >conftest.$ac_ext <<_ACEOF
80501 /* confdefs.h. */
80502 _ACEOF
80503 cat confdefs.h >>conftest.$ac_ext
80504 cat >>conftest.$ac_ext <<_ACEOF
80505 /* end confdefs.h. */
80506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80508 #define $ac_func innocuous_$ac_func
80510 /* System header to define __stub macros and hopefully few prototypes,
80511 which can conflict with char $ac_func (); below.
80512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80513 <limits.h> exists even on freestanding compilers. */
80515 #ifdef __STDC__
80516 # include <limits.h>
80517 #else
80518 # include <assert.h>
80519 #endif
80521 #undef $ac_func
80523 /* Override any gcc2 internal prototype to avoid an error. */
80524 #ifdef __cplusplus
80525 extern "C"
80527 #endif
80528 /* We use char because int might match the return type of a gcc2
80529 builtin and then its argument prototype would still apply. */
80530 char $ac_func ();
80531 /* The GNU C library defines this for functions which it implements
80532 to always fail with ENOSYS. Some functions are actually named
80533 something starting with __ and the normal name is an alias. */
80534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80535 choke me
80536 #else
80537 char (*f) () = $ac_func;
80538 #endif
80539 #ifdef __cplusplus
80541 #endif
80544 main ()
80546 return f != $ac_func;
80548 return 0;
80550 _ACEOF
80551 rm -f conftest.$ac_objext conftest$ac_exeext
80552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80553 (eval $ac_link) 2>conftest.er1
80554 ac_status=$?
80555 grep -v '^ *+' conftest.er1 >conftest.err
80556 rm -f conftest.er1
80557 cat conftest.err >&5
80558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80559 (exit $ac_status); } &&
80560 { ac_try='test -z "$ac_c_werror_flag"
80561 || test ! -s conftest.err'
80562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80563 (eval $ac_try) 2>&5
80564 ac_status=$?
80565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80566 (exit $ac_status); }; } &&
80567 { ac_try='test -s conftest$ac_exeext'
80568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80569 (eval $ac_try) 2>&5
80570 ac_status=$?
80571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80572 (exit $ac_status); }; }; then
80573 eval "$as_ac_var=yes"
80574 else
80575 echo "$as_me: failed program was:" >&5
80576 sed 's/^/| /' conftest.$ac_ext >&5
80578 eval "$as_ac_var=no"
80580 rm -f conftest.err conftest.$ac_objext \
80581 conftest$ac_exeext conftest.$ac_ext
80583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80585 if test `eval echo '${'$as_ac_var'}'` = yes; then
80586 cat >>confdefs.h <<_ACEOF
80587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80588 _ACEOF
80591 done
80593 else
80595 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
80596 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
80597 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
80598 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
80599 echo $ECHO_N "(cached) $ECHO_C" >&6
80600 else
80604 ac_ext=cc
80605 ac_cpp='$CXXCPP $CPPFLAGS'
80606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80610 cat >conftest.$ac_ext <<_ACEOF
80611 /* confdefs.h. */
80612 _ACEOF
80613 cat confdefs.h >>conftest.$ac_ext
80614 cat >>conftest.$ac_ext <<_ACEOF
80615 /* end confdefs.h. */
80616 #include <math.h>
80617 #ifdef HAVE_IEEEFP_H
80618 #include <ieeefp.h>
80619 #endif
80622 main ()
80624 _log10l(0);
80626 return 0;
80628 _ACEOF
80629 rm -f conftest.$ac_objext
80630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80631 (eval $ac_compile) 2>conftest.er1
80632 ac_status=$?
80633 grep -v '^ *+' conftest.er1 >conftest.err
80634 rm -f conftest.er1
80635 cat conftest.err >&5
80636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80637 (exit $ac_status); } &&
80638 { ac_try='test -z "$ac_cxx_werror_flag"
80639 || test ! -s conftest.err'
80640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80641 (eval $ac_try) 2>&5
80642 ac_status=$?
80643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80644 (exit $ac_status); }; } &&
80645 { ac_try='test -s conftest.$ac_objext'
80646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80647 (eval $ac_try) 2>&5
80648 ac_status=$?
80649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80650 (exit $ac_status); }; }; then
80651 glibcxx_cv_func__log10l_use=yes
80652 else
80653 echo "$as_me: failed program was:" >&5
80654 sed 's/^/| /' conftest.$ac_ext >&5
80656 glibcxx_cv_func__log10l_use=no
80658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80659 ac_ext=c
80660 ac_cpp='$CPP $CPPFLAGS'
80661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80669 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
80670 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
80672 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
80674 for ac_func in _log10l
80676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80677 echo "$as_me:$LINENO: checking for $ac_func" >&5
80678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80679 if eval "test \"\${$as_ac_var+set}\" = set"; then
80680 echo $ECHO_N "(cached) $ECHO_C" >&6
80681 else
80682 if test x$gcc_no_link = xyes; then
80683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80685 { (exit 1); exit 1; }; }
80687 cat >conftest.$ac_ext <<_ACEOF
80688 /* confdefs.h. */
80689 _ACEOF
80690 cat confdefs.h >>conftest.$ac_ext
80691 cat >>conftest.$ac_ext <<_ACEOF
80692 /* end confdefs.h. */
80693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80695 #define $ac_func innocuous_$ac_func
80697 /* System header to define __stub macros and hopefully few prototypes,
80698 which can conflict with char $ac_func (); below.
80699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80700 <limits.h> exists even on freestanding compilers. */
80702 #ifdef __STDC__
80703 # include <limits.h>
80704 #else
80705 # include <assert.h>
80706 #endif
80708 #undef $ac_func
80710 /* Override any gcc2 internal prototype to avoid an error. */
80711 #ifdef __cplusplus
80712 extern "C"
80714 #endif
80715 /* We use char because int might match the return type of a gcc2
80716 builtin and then its argument prototype would still apply. */
80717 char $ac_func ();
80718 /* The GNU C library defines this for functions which it implements
80719 to always fail with ENOSYS. Some functions are actually named
80720 something starting with __ and the normal name is an alias. */
80721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80722 choke me
80723 #else
80724 char (*f) () = $ac_func;
80725 #endif
80726 #ifdef __cplusplus
80728 #endif
80731 main ()
80733 return f != $ac_func;
80735 return 0;
80737 _ACEOF
80738 rm -f conftest.$ac_objext conftest$ac_exeext
80739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80740 (eval $ac_link) 2>conftest.er1
80741 ac_status=$?
80742 grep -v '^ *+' conftest.er1 >conftest.err
80743 rm -f conftest.er1
80744 cat conftest.err >&5
80745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80746 (exit $ac_status); } &&
80747 { ac_try='test -z "$ac_c_werror_flag"
80748 || test ! -s conftest.err'
80749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80750 (eval $ac_try) 2>&5
80751 ac_status=$?
80752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80753 (exit $ac_status); }; } &&
80754 { ac_try='test -s conftest$ac_exeext'
80755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80756 (eval $ac_try) 2>&5
80757 ac_status=$?
80758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80759 (exit $ac_status); }; }; then
80760 eval "$as_ac_var=yes"
80761 else
80762 echo "$as_me: failed program was:" >&5
80763 sed 's/^/| /' conftest.$ac_ext >&5
80765 eval "$as_ac_var=no"
80767 rm -f conftest.err conftest.$ac_objext \
80768 conftest$ac_exeext conftest.$ac_ext
80770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80772 if test `eval echo '${'$as_ac_var'}'` = yes; then
80773 cat >>confdefs.h <<_ACEOF
80774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80775 _ACEOF
80778 done
80788 echo "$as_me:$LINENO: checking for modfl declaration" >&5
80789 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
80790 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
80791 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
80792 echo $ECHO_N "(cached) $ECHO_C" >&6
80793 else
80797 ac_ext=cc
80798 ac_cpp='$CXXCPP $CPPFLAGS'
80799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80803 cat >conftest.$ac_ext <<_ACEOF
80804 /* confdefs.h. */
80805 _ACEOF
80806 cat confdefs.h >>conftest.$ac_ext
80807 cat >>conftest.$ac_ext <<_ACEOF
80808 /* end confdefs.h. */
80809 #include <math.h>
80811 main ()
80813 modfl(0, 0);
80815 return 0;
80817 _ACEOF
80818 rm -f conftest.$ac_objext
80819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80820 (eval $ac_compile) 2>conftest.er1
80821 ac_status=$?
80822 grep -v '^ *+' conftest.er1 >conftest.err
80823 rm -f conftest.er1
80824 cat conftest.err >&5
80825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80826 (exit $ac_status); } &&
80827 { ac_try='test -z "$ac_cxx_werror_flag"
80828 || test ! -s conftest.err'
80829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80830 (eval $ac_try) 2>&5
80831 ac_status=$?
80832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80833 (exit $ac_status); }; } &&
80834 { ac_try='test -s conftest.$ac_objext'
80835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80836 (eval $ac_try) 2>&5
80837 ac_status=$?
80838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80839 (exit $ac_status); }; }; then
80840 glibcxx_cv_func_modfl_use=yes
80841 else
80842 echo "$as_me: failed program was:" >&5
80843 sed 's/^/| /' conftest.$ac_ext >&5
80845 glibcxx_cv_func_modfl_use=no
80847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80848 ac_ext=c
80849 ac_cpp='$CPP $CPPFLAGS'
80850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80858 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
80859 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
80861 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
80863 for ac_func in modfl
80865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80866 echo "$as_me:$LINENO: checking for $ac_func" >&5
80867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80868 if eval "test \"\${$as_ac_var+set}\" = set"; then
80869 echo $ECHO_N "(cached) $ECHO_C" >&6
80870 else
80871 if test x$gcc_no_link = xyes; then
80872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80874 { (exit 1); exit 1; }; }
80876 cat >conftest.$ac_ext <<_ACEOF
80877 /* confdefs.h. */
80878 _ACEOF
80879 cat confdefs.h >>conftest.$ac_ext
80880 cat >>conftest.$ac_ext <<_ACEOF
80881 /* end confdefs.h. */
80882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80884 #define $ac_func innocuous_$ac_func
80886 /* System header to define __stub macros and hopefully few prototypes,
80887 which can conflict with char $ac_func (); below.
80888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80889 <limits.h> exists even on freestanding compilers. */
80891 #ifdef __STDC__
80892 # include <limits.h>
80893 #else
80894 # include <assert.h>
80895 #endif
80897 #undef $ac_func
80899 /* Override any gcc2 internal prototype to avoid an error. */
80900 #ifdef __cplusplus
80901 extern "C"
80903 #endif
80904 /* We use char because int might match the return type of a gcc2
80905 builtin and then its argument prototype would still apply. */
80906 char $ac_func ();
80907 /* The GNU C library defines this for functions which it implements
80908 to always fail with ENOSYS. Some functions are actually named
80909 something starting with __ and the normal name is an alias. */
80910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80911 choke me
80912 #else
80913 char (*f) () = $ac_func;
80914 #endif
80915 #ifdef __cplusplus
80917 #endif
80920 main ()
80922 return f != $ac_func;
80924 return 0;
80926 _ACEOF
80927 rm -f conftest.$ac_objext conftest$ac_exeext
80928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80929 (eval $ac_link) 2>conftest.er1
80930 ac_status=$?
80931 grep -v '^ *+' conftest.er1 >conftest.err
80932 rm -f conftest.er1
80933 cat conftest.err >&5
80934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80935 (exit $ac_status); } &&
80936 { ac_try='test -z "$ac_c_werror_flag"
80937 || test ! -s conftest.err'
80938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80939 (eval $ac_try) 2>&5
80940 ac_status=$?
80941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80942 (exit $ac_status); }; } &&
80943 { ac_try='test -s conftest$ac_exeext'
80944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80945 (eval $ac_try) 2>&5
80946 ac_status=$?
80947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80948 (exit $ac_status); }; }; then
80949 eval "$as_ac_var=yes"
80950 else
80951 echo "$as_me: failed program was:" >&5
80952 sed 's/^/| /' conftest.$ac_ext >&5
80954 eval "$as_ac_var=no"
80956 rm -f conftest.err conftest.$ac_objext \
80957 conftest$ac_exeext conftest.$ac_ext
80959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80961 if test `eval echo '${'$as_ac_var'}'` = yes; then
80962 cat >>confdefs.h <<_ACEOF
80963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80964 _ACEOF
80967 done
80969 else
80971 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
80972 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
80973 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
80974 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
80975 echo $ECHO_N "(cached) $ECHO_C" >&6
80976 else
80980 ac_ext=cc
80981 ac_cpp='$CXXCPP $CPPFLAGS'
80982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80986 cat >conftest.$ac_ext <<_ACEOF
80987 /* confdefs.h. */
80988 _ACEOF
80989 cat confdefs.h >>conftest.$ac_ext
80990 cat >>conftest.$ac_ext <<_ACEOF
80991 /* end confdefs.h. */
80992 #include <math.h>
80994 main ()
80996 _modfl(0, 0);
80998 return 0;
81000 _ACEOF
81001 rm -f conftest.$ac_objext
81002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81003 (eval $ac_compile) 2>conftest.er1
81004 ac_status=$?
81005 grep -v '^ *+' conftest.er1 >conftest.err
81006 rm -f conftest.er1
81007 cat conftest.err >&5
81008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81009 (exit $ac_status); } &&
81010 { ac_try='test -z "$ac_cxx_werror_flag"
81011 || test ! -s conftest.err'
81012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81013 (eval $ac_try) 2>&5
81014 ac_status=$?
81015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81016 (exit $ac_status); }; } &&
81017 { ac_try='test -s conftest.$ac_objext'
81018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81019 (eval $ac_try) 2>&5
81020 ac_status=$?
81021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81022 (exit $ac_status); }; }; then
81023 glibcxx_cv_func__modfl_use=yes
81024 else
81025 echo "$as_me: failed program was:" >&5
81026 sed 's/^/| /' conftest.$ac_ext >&5
81028 glibcxx_cv_func__modfl_use=no
81030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81031 ac_ext=c
81032 ac_cpp='$CPP $CPPFLAGS'
81033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81041 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
81042 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
81044 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
81046 for ac_func in _modfl
81048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81049 echo "$as_me:$LINENO: checking for $ac_func" >&5
81050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81051 if eval "test \"\${$as_ac_var+set}\" = set"; then
81052 echo $ECHO_N "(cached) $ECHO_C" >&6
81053 else
81054 if test x$gcc_no_link = xyes; then
81055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81057 { (exit 1); exit 1; }; }
81059 cat >conftest.$ac_ext <<_ACEOF
81060 /* confdefs.h. */
81061 _ACEOF
81062 cat confdefs.h >>conftest.$ac_ext
81063 cat >>conftest.$ac_ext <<_ACEOF
81064 /* end confdefs.h. */
81065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81067 #define $ac_func innocuous_$ac_func
81069 /* System header to define __stub macros and hopefully few prototypes,
81070 which can conflict with char $ac_func (); below.
81071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81072 <limits.h> exists even on freestanding compilers. */
81074 #ifdef __STDC__
81075 # include <limits.h>
81076 #else
81077 # include <assert.h>
81078 #endif
81080 #undef $ac_func
81082 /* Override any gcc2 internal prototype to avoid an error. */
81083 #ifdef __cplusplus
81084 extern "C"
81086 #endif
81087 /* We use char because int might match the return type of a gcc2
81088 builtin and then its argument prototype would still apply. */
81089 char $ac_func ();
81090 /* The GNU C library defines this for functions which it implements
81091 to always fail with ENOSYS. Some functions are actually named
81092 something starting with __ and the normal name is an alias. */
81093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81094 choke me
81095 #else
81096 char (*f) () = $ac_func;
81097 #endif
81098 #ifdef __cplusplus
81100 #endif
81103 main ()
81105 return f != $ac_func;
81107 return 0;
81109 _ACEOF
81110 rm -f conftest.$ac_objext conftest$ac_exeext
81111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81112 (eval $ac_link) 2>conftest.er1
81113 ac_status=$?
81114 grep -v '^ *+' conftest.er1 >conftest.err
81115 rm -f conftest.er1
81116 cat conftest.err >&5
81117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81118 (exit $ac_status); } &&
81119 { ac_try='test -z "$ac_c_werror_flag"
81120 || test ! -s conftest.err'
81121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81122 (eval $ac_try) 2>&5
81123 ac_status=$?
81124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81125 (exit $ac_status); }; } &&
81126 { ac_try='test -s conftest$ac_exeext'
81127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81128 (eval $ac_try) 2>&5
81129 ac_status=$?
81130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81131 (exit $ac_status); }; }; then
81132 eval "$as_ac_var=yes"
81133 else
81134 echo "$as_me: failed program was:" >&5
81135 sed 's/^/| /' conftest.$ac_ext >&5
81137 eval "$as_ac_var=no"
81139 rm -f conftest.err conftest.$ac_objext \
81140 conftest$ac_exeext conftest.$ac_ext
81142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81144 if test `eval echo '${'$as_ac_var'}'` = yes; then
81145 cat >>confdefs.h <<_ACEOF
81146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81147 _ACEOF
81150 done
81160 echo "$as_me:$LINENO: checking for powl declaration" >&5
81161 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
81162 if test x${glibcxx_cv_func_powl_use+set} != xset; then
81163 if test "${glibcxx_cv_func_powl_use+set}" = set; then
81164 echo $ECHO_N "(cached) $ECHO_C" >&6
81165 else
81169 ac_ext=cc
81170 ac_cpp='$CXXCPP $CPPFLAGS'
81171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81175 cat >conftest.$ac_ext <<_ACEOF
81176 /* confdefs.h. */
81177 _ACEOF
81178 cat confdefs.h >>conftest.$ac_ext
81179 cat >>conftest.$ac_ext <<_ACEOF
81180 /* end confdefs.h. */
81181 #include <math.h>
81183 main ()
81185 powl(0, 0);
81187 return 0;
81189 _ACEOF
81190 rm -f conftest.$ac_objext
81191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81192 (eval $ac_compile) 2>conftest.er1
81193 ac_status=$?
81194 grep -v '^ *+' conftest.er1 >conftest.err
81195 rm -f conftest.er1
81196 cat conftest.err >&5
81197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81198 (exit $ac_status); } &&
81199 { ac_try='test -z "$ac_cxx_werror_flag"
81200 || test ! -s conftest.err'
81201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81202 (eval $ac_try) 2>&5
81203 ac_status=$?
81204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81205 (exit $ac_status); }; } &&
81206 { ac_try='test -s conftest.$ac_objext'
81207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81208 (eval $ac_try) 2>&5
81209 ac_status=$?
81210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81211 (exit $ac_status); }; }; then
81212 glibcxx_cv_func_powl_use=yes
81213 else
81214 echo "$as_me: failed program was:" >&5
81215 sed 's/^/| /' conftest.$ac_ext >&5
81217 glibcxx_cv_func_powl_use=no
81219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81220 ac_ext=c
81221 ac_cpp='$CPP $CPPFLAGS'
81222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81230 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
81231 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
81233 if test x$glibcxx_cv_func_powl_use = x"yes"; then
81235 for ac_func in powl
81237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81238 echo "$as_me:$LINENO: checking for $ac_func" >&5
81239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81240 if eval "test \"\${$as_ac_var+set}\" = set"; then
81241 echo $ECHO_N "(cached) $ECHO_C" >&6
81242 else
81243 if test x$gcc_no_link = xyes; then
81244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81246 { (exit 1); exit 1; }; }
81248 cat >conftest.$ac_ext <<_ACEOF
81249 /* confdefs.h. */
81250 _ACEOF
81251 cat confdefs.h >>conftest.$ac_ext
81252 cat >>conftest.$ac_ext <<_ACEOF
81253 /* end confdefs.h. */
81254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81256 #define $ac_func innocuous_$ac_func
81258 /* System header to define __stub macros and hopefully few prototypes,
81259 which can conflict with char $ac_func (); below.
81260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81261 <limits.h> exists even on freestanding compilers. */
81263 #ifdef __STDC__
81264 # include <limits.h>
81265 #else
81266 # include <assert.h>
81267 #endif
81269 #undef $ac_func
81271 /* Override any gcc2 internal prototype to avoid an error. */
81272 #ifdef __cplusplus
81273 extern "C"
81275 #endif
81276 /* We use char because int might match the return type of a gcc2
81277 builtin and then its argument prototype would still apply. */
81278 char $ac_func ();
81279 /* The GNU C library defines this for functions which it implements
81280 to always fail with ENOSYS. Some functions are actually named
81281 something starting with __ and the normal name is an alias. */
81282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81283 choke me
81284 #else
81285 char (*f) () = $ac_func;
81286 #endif
81287 #ifdef __cplusplus
81289 #endif
81292 main ()
81294 return f != $ac_func;
81296 return 0;
81298 _ACEOF
81299 rm -f conftest.$ac_objext conftest$ac_exeext
81300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81301 (eval $ac_link) 2>conftest.er1
81302 ac_status=$?
81303 grep -v '^ *+' conftest.er1 >conftest.err
81304 rm -f conftest.er1
81305 cat conftest.err >&5
81306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81307 (exit $ac_status); } &&
81308 { ac_try='test -z "$ac_c_werror_flag"
81309 || test ! -s conftest.err'
81310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81311 (eval $ac_try) 2>&5
81312 ac_status=$?
81313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81314 (exit $ac_status); }; } &&
81315 { ac_try='test -s conftest$ac_exeext'
81316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81317 (eval $ac_try) 2>&5
81318 ac_status=$?
81319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81320 (exit $ac_status); }; }; then
81321 eval "$as_ac_var=yes"
81322 else
81323 echo "$as_me: failed program was:" >&5
81324 sed 's/^/| /' conftest.$ac_ext >&5
81326 eval "$as_ac_var=no"
81328 rm -f conftest.err conftest.$ac_objext \
81329 conftest$ac_exeext conftest.$ac_ext
81331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81333 if test `eval echo '${'$as_ac_var'}'` = yes; then
81334 cat >>confdefs.h <<_ACEOF
81335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81336 _ACEOF
81339 done
81341 else
81343 echo "$as_me:$LINENO: checking for _powl declaration" >&5
81344 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
81345 if test x${glibcxx_cv_func__powl_use+set} != xset; then
81346 if test "${glibcxx_cv_func__powl_use+set}" = set; then
81347 echo $ECHO_N "(cached) $ECHO_C" >&6
81348 else
81352 ac_ext=cc
81353 ac_cpp='$CXXCPP $CPPFLAGS'
81354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81358 cat >conftest.$ac_ext <<_ACEOF
81359 /* confdefs.h. */
81360 _ACEOF
81361 cat confdefs.h >>conftest.$ac_ext
81362 cat >>conftest.$ac_ext <<_ACEOF
81363 /* end confdefs.h. */
81364 #include <math.h>
81366 main ()
81368 _powl(0, 0);
81370 return 0;
81372 _ACEOF
81373 rm -f conftest.$ac_objext
81374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81375 (eval $ac_compile) 2>conftest.er1
81376 ac_status=$?
81377 grep -v '^ *+' conftest.er1 >conftest.err
81378 rm -f conftest.er1
81379 cat conftest.err >&5
81380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81381 (exit $ac_status); } &&
81382 { ac_try='test -z "$ac_cxx_werror_flag"
81383 || test ! -s conftest.err'
81384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81385 (eval $ac_try) 2>&5
81386 ac_status=$?
81387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81388 (exit $ac_status); }; } &&
81389 { ac_try='test -s conftest.$ac_objext'
81390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81391 (eval $ac_try) 2>&5
81392 ac_status=$?
81393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81394 (exit $ac_status); }; }; then
81395 glibcxx_cv_func__powl_use=yes
81396 else
81397 echo "$as_me: failed program was:" >&5
81398 sed 's/^/| /' conftest.$ac_ext >&5
81400 glibcxx_cv_func__powl_use=no
81402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81403 ac_ext=c
81404 ac_cpp='$CPP $CPPFLAGS'
81405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81413 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
81414 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
81416 if test x$glibcxx_cv_func__powl_use = x"yes"; then
81418 for ac_func in _powl
81420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81421 echo "$as_me:$LINENO: checking for $ac_func" >&5
81422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81423 if eval "test \"\${$as_ac_var+set}\" = set"; then
81424 echo $ECHO_N "(cached) $ECHO_C" >&6
81425 else
81426 if test x$gcc_no_link = xyes; then
81427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81429 { (exit 1); exit 1; }; }
81431 cat >conftest.$ac_ext <<_ACEOF
81432 /* confdefs.h. */
81433 _ACEOF
81434 cat confdefs.h >>conftest.$ac_ext
81435 cat >>conftest.$ac_ext <<_ACEOF
81436 /* end confdefs.h. */
81437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81439 #define $ac_func innocuous_$ac_func
81441 /* System header to define __stub macros and hopefully few prototypes,
81442 which can conflict with char $ac_func (); below.
81443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81444 <limits.h> exists even on freestanding compilers. */
81446 #ifdef __STDC__
81447 # include <limits.h>
81448 #else
81449 # include <assert.h>
81450 #endif
81452 #undef $ac_func
81454 /* Override any gcc2 internal prototype to avoid an error. */
81455 #ifdef __cplusplus
81456 extern "C"
81458 #endif
81459 /* We use char because int might match the return type of a gcc2
81460 builtin and then its argument prototype would still apply. */
81461 char $ac_func ();
81462 /* The GNU C library defines this for functions which it implements
81463 to always fail with ENOSYS. Some functions are actually named
81464 something starting with __ and the normal name is an alias. */
81465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81466 choke me
81467 #else
81468 char (*f) () = $ac_func;
81469 #endif
81470 #ifdef __cplusplus
81472 #endif
81475 main ()
81477 return f != $ac_func;
81479 return 0;
81481 _ACEOF
81482 rm -f conftest.$ac_objext conftest$ac_exeext
81483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81484 (eval $ac_link) 2>conftest.er1
81485 ac_status=$?
81486 grep -v '^ *+' conftest.er1 >conftest.err
81487 rm -f conftest.er1
81488 cat conftest.err >&5
81489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81490 (exit $ac_status); } &&
81491 { ac_try='test -z "$ac_c_werror_flag"
81492 || test ! -s conftest.err'
81493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81494 (eval $ac_try) 2>&5
81495 ac_status=$?
81496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81497 (exit $ac_status); }; } &&
81498 { ac_try='test -s conftest$ac_exeext'
81499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81500 (eval $ac_try) 2>&5
81501 ac_status=$?
81502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81503 (exit $ac_status); }; }; then
81504 eval "$as_ac_var=yes"
81505 else
81506 echo "$as_me: failed program was:" >&5
81507 sed 's/^/| /' conftest.$ac_ext >&5
81509 eval "$as_ac_var=no"
81511 rm -f conftest.err conftest.$ac_objext \
81512 conftest$ac_exeext conftest.$ac_ext
81514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81516 if test `eval echo '${'$as_ac_var'}'` = yes; then
81517 cat >>confdefs.h <<_ACEOF
81518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81519 _ACEOF
81522 done
81532 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
81533 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
81534 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
81535 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
81536 echo $ECHO_N "(cached) $ECHO_C" >&6
81537 else
81541 ac_ext=cc
81542 ac_cpp='$CXXCPP $CPPFLAGS'
81543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81547 cat >conftest.$ac_ext <<_ACEOF
81548 /* confdefs.h. */
81549 _ACEOF
81550 cat confdefs.h >>conftest.$ac_ext
81551 cat >>conftest.$ac_ext <<_ACEOF
81552 /* end confdefs.h. */
81553 #include <math.h>
81554 #ifdef HAVE_IEEEFP_H
81555 #include <ieeefp.h>
81556 #endif
81559 main ()
81561 sqrtl(0);
81563 return 0;
81565 _ACEOF
81566 rm -f conftest.$ac_objext
81567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81568 (eval $ac_compile) 2>conftest.er1
81569 ac_status=$?
81570 grep -v '^ *+' conftest.er1 >conftest.err
81571 rm -f conftest.er1
81572 cat conftest.err >&5
81573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81574 (exit $ac_status); } &&
81575 { ac_try='test -z "$ac_cxx_werror_flag"
81576 || test ! -s conftest.err'
81577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81578 (eval $ac_try) 2>&5
81579 ac_status=$?
81580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81581 (exit $ac_status); }; } &&
81582 { ac_try='test -s conftest.$ac_objext'
81583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81584 (eval $ac_try) 2>&5
81585 ac_status=$?
81586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81587 (exit $ac_status); }; }; then
81588 glibcxx_cv_func_sqrtl_use=yes
81589 else
81590 echo "$as_me: failed program was:" >&5
81591 sed 's/^/| /' conftest.$ac_ext >&5
81593 glibcxx_cv_func_sqrtl_use=no
81595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81596 ac_ext=c
81597 ac_cpp='$CPP $CPPFLAGS'
81598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81606 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
81607 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
81609 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
81611 for ac_func in sqrtl
81613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81614 echo "$as_me:$LINENO: checking for $ac_func" >&5
81615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81616 if eval "test \"\${$as_ac_var+set}\" = set"; then
81617 echo $ECHO_N "(cached) $ECHO_C" >&6
81618 else
81619 if test x$gcc_no_link = xyes; then
81620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81622 { (exit 1); exit 1; }; }
81624 cat >conftest.$ac_ext <<_ACEOF
81625 /* confdefs.h. */
81626 _ACEOF
81627 cat confdefs.h >>conftest.$ac_ext
81628 cat >>conftest.$ac_ext <<_ACEOF
81629 /* end confdefs.h. */
81630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81632 #define $ac_func innocuous_$ac_func
81634 /* System header to define __stub macros and hopefully few prototypes,
81635 which can conflict with char $ac_func (); below.
81636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81637 <limits.h> exists even on freestanding compilers. */
81639 #ifdef __STDC__
81640 # include <limits.h>
81641 #else
81642 # include <assert.h>
81643 #endif
81645 #undef $ac_func
81647 /* Override any gcc2 internal prototype to avoid an error. */
81648 #ifdef __cplusplus
81649 extern "C"
81651 #endif
81652 /* We use char because int might match the return type of a gcc2
81653 builtin and then its argument prototype would still apply. */
81654 char $ac_func ();
81655 /* The GNU C library defines this for functions which it implements
81656 to always fail with ENOSYS. Some functions are actually named
81657 something starting with __ and the normal name is an alias. */
81658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81659 choke me
81660 #else
81661 char (*f) () = $ac_func;
81662 #endif
81663 #ifdef __cplusplus
81665 #endif
81668 main ()
81670 return f != $ac_func;
81672 return 0;
81674 _ACEOF
81675 rm -f conftest.$ac_objext conftest$ac_exeext
81676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81677 (eval $ac_link) 2>conftest.er1
81678 ac_status=$?
81679 grep -v '^ *+' conftest.er1 >conftest.err
81680 rm -f conftest.er1
81681 cat conftest.err >&5
81682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81683 (exit $ac_status); } &&
81684 { ac_try='test -z "$ac_c_werror_flag"
81685 || test ! -s conftest.err'
81686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81687 (eval $ac_try) 2>&5
81688 ac_status=$?
81689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81690 (exit $ac_status); }; } &&
81691 { ac_try='test -s conftest$ac_exeext'
81692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81693 (eval $ac_try) 2>&5
81694 ac_status=$?
81695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81696 (exit $ac_status); }; }; then
81697 eval "$as_ac_var=yes"
81698 else
81699 echo "$as_me: failed program was:" >&5
81700 sed 's/^/| /' conftest.$ac_ext >&5
81702 eval "$as_ac_var=no"
81704 rm -f conftest.err conftest.$ac_objext \
81705 conftest$ac_exeext conftest.$ac_ext
81707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81709 if test `eval echo '${'$as_ac_var'}'` = yes; then
81710 cat >>confdefs.h <<_ACEOF
81711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81712 _ACEOF
81715 done
81717 else
81719 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
81720 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
81721 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
81722 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
81723 echo $ECHO_N "(cached) $ECHO_C" >&6
81724 else
81728 ac_ext=cc
81729 ac_cpp='$CXXCPP $CPPFLAGS'
81730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81734 cat >conftest.$ac_ext <<_ACEOF
81735 /* confdefs.h. */
81736 _ACEOF
81737 cat confdefs.h >>conftest.$ac_ext
81738 cat >>conftest.$ac_ext <<_ACEOF
81739 /* end confdefs.h. */
81740 #include <math.h>
81741 #ifdef HAVE_IEEEFP_H
81742 #include <ieeefp.h>
81743 #endif
81746 main ()
81748 _sqrtl(0);
81750 return 0;
81752 _ACEOF
81753 rm -f conftest.$ac_objext
81754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81755 (eval $ac_compile) 2>conftest.er1
81756 ac_status=$?
81757 grep -v '^ *+' conftest.er1 >conftest.err
81758 rm -f conftest.er1
81759 cat conftest.err >&5
81760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81761 (exit $ac_status); } &&
81762 { ac_try='test -z "$ac_cxx_werror_flag"
81763 || test ! -s conftest.err'
81764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81765 (eval $ac_try) 2>&5
81766 ac_status=$?
81767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81768 (exit $ac_status); }; } &&
81769 { ac_try='test -s conftest.$ac_objext'
81770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81771 (eval $ac_try) 2>&5
81772 ac_status=$?
81773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81774 (exit $ac_status); }; }; then
81775 glibcxx_cv_func__sqrtl_use=yes
81776 else
81777 echo "$as_me: failed program was:" >&5
81778 sed 's/^/| /' conftest.$ac_ext >&5
81780 glibcxx_cv_func__sqrtl_use=no
81782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81783 ac_ext=c
81784 ac_cpp='$CPP $CPPFLAGS'
81785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81793 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
81794 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
81796 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
81798 for ac_func in _sqrtl
81800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81801 echo "$as_me:$LINENO: checking for $ac_func" >&5
81802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81803 if eval "test \"\${$as_ac_var+set}\" = set"; then
81804 echo $ECHO_N "(cached) $ECHO_C" >&6
81805 else
81806 if test x$gcc_no_link = xyes; then
81807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81809 { (exit 1); exit 1; }; }
81811 cat >conftest.$ac_ext <<_ACEOF
81812 /* confdefs.h. */
81813 _ACEOF
81814 cat confdefs.h >>conftest.$ac_ext
81815 cat >>conftest.$ac_ext <<_ACEOF
81816 /* end confdefs.h. */
81817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81819 #define $ac_func innocuous_$ac_func
81821 /* System header to define __stub macros and hopefully few prototypes,
81822 which can conflict with char $ac_func (); below.
81823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81824 <limits.h> exists even on freestanding compilers. */
81826 #ifdef __STDC__
81827 # include <limits.h>
81828 #else
81829 # include <assert.h>
81830 #endif
81832 #undef $ac_func
81834 /* Override any gcc2 internal prototype to avoid an error. */
81835 #ifdef __cplusplus
81836 extern "C"
81838 #endif
81839 /* We use char because int might match the return type of a gcc2
81840 builtin and then its argument prototype would still apply. */
81841 char $ac_func ();
81842 /* The GNU C library defines this for functions which it implements
81843 to always fail with ENOSYS. Some functions are actually named
81844 something starting with __ and the normal name is an alias. */
81845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81846 choke me
81847 #else
81848 char (*f) () = $ac_func;
81849 #endif
81850 #ifdef __cplusplus
81852 #endif
81855 main ()
81857 return f != $ac_func;
81859 return 0;
81861 _ACEOF
81862 rm -f conftest.$ac_objext conftest$ac_exeext
81863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81864 (eval $ac_link) 2>conftest.er1
81865 ac_status=$?
81866 grep -v '^ *+' conftest.er1 >conftest.err
81867 rm -f conftest.er1
81868 cat conftest.err >&5
81869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81870 (exit $ac_status); } &&
81871 { ac_try='test -z "$ac_c_werror_flag"
81872 || test ! -s conftest.err'
81873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81874 (eval $ac_try) 2>&5
81875 ac_status=$?
81876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81877 (exit $ac_status); }; } &&
81878 { ac_try='test -s conftest$ac_exeext'
81879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81880 (eval $ac_try) 2>&5
81881 ac_status=$?
81882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81883 (exit $ac_status); }; }; then
81884 eval "$as_ac_var=yes"
81885 else
81886 echo "$as_me: failed program was:" >&5
81887 sed 's/^/| /' conftest.$ac_ext >&5
81889 eval "$as_ac_var=no"
81891 rm -f conftest.err conftest.$ac_objext \
81892 conftest$ac_exeext conftest.$ac_ext
81894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81896 if test `eval echo '${'$as_ac_var'}'` = yes; then
81897 cat >>confdefs.h <<_ACEOF
81898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81899 _ACEOF
81902 done
81912 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
81913 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
81914 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
81915 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
81916 echo $ECHO_N "(cached) $ECHO_C" >&6
81917 else
81921 ac_ext=cc
81922 ac_cpp='$CXXCPP $CPPFLAGS'
81923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81927 cat >conftest.$ac_ext <<_ACEOF
81928 /* confdefs.h. */
81929 _ACEOF
81930 cat confdefs.h >>conftest.$ac_ext
81931 cat >>conftest.$ac_ext <<_ACEOF
81932 /* end confdefs.h. */
81933 #include <math.h>
81935 main ()
81937 sincosl(0, 0, 0);
81939 return 0;
81941 _ACEOF
81942 rm -f conftest.$ac_objext
81943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81944 (eval $ac_compile) 2>conftest.er1
81945 ac_status=$?
81946 grep -v '^ *+' conftest.er1 >conftest.err
81947 rm -f conftest.er1
81948 cat conftest.err >&5
81949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81950 (exit $ac_status); } &&
81951 { ac_try='test -z "$ac_cxx_werror_flag"
81952 || test ! -s conftest.err'
81953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81954 (eval $ac_try) 2>&5
81955 ac_status=$?
81956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81957 (exit $ac_status); }; } &&
81958 { ac_try='test -s conftest.$ac_objext'
81959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81960 (eval $ac_try) 2>&5
81961 ac_status=$?
81962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81963 (exit $ac_status); }; }; then
81964 glibcxx_cv_func_sincosl_use=yes
81965 else
81966 echo "$as_me: failed program was:" >&5
81967 sed 's/^/| /' conftest.$ac_ext >&5
81969 glibcxx_cv_func_sincosl_use=no
81971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81972 ac_ext=c
81973 ac_cpp='$CPP $CPPFLAGS'
81974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81982 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
81983 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
81985 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
81987 for ac_func in sincosl
81989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81990 echo "$as_me:$LINENO: checking for $ac_func" >&5
81991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81992 if eval "test \"\${$as_ac_var+set}\" = set"; then
81993 echo $ECHO_N "(cached) $ECHO_C" >&6
81994 else
81995 if test x$gcc_no_link = xyes; then
81996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81998 { (exit 1); exit 1; }; }
82000 cat >conftest.$ac_ext <<_ACEOF
82001 /* confdefs.h. */
82002 _ACEOF
82003 cat confdefs.h >>conftest.$ac_ext
82004 cat >>conftest.$ac_ext <<_ACEOF
82005 /* end confdefs.h. */
82006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82008 #define $ac_func innocuous_$ac_func
82010 /* System header to define __stub macros and hopefully few prototypes,
82011 which can conflict with char $ac_func (); below.
82012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82013 <limits.h> exists even on freestanding compilers. */
82015 #ifdef __STDC__
82016 # include <limits.h>
82017 #else
82018 # include <assert.h>
82019 #endif
82021 #undef $ac_func
82023 /* Override any gcc2 internal prototype to avoid an error. */
82024 #ifdef __cplusplus
82025 extern "C"
82027 #endif
82028 /* We use char because int might match the return type of a gcc2
82029 builtin and then its argument prototype would still apply. */
82030 char $ac_func ();
82031 /* The GNU C library defines this for functions which it implements
82032 to always fail with ENOSYS. Some functions are actually named
82033 something starting with __ and the normal name is an alias. */
82034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82035 choke me
82036 #else
82037 char (*f) () = $ac_func;
82038 #endif
82039 #ifdef __cplusplus
82041 #endif
82044 main ()
82046 return f != $ac_func;
82048 return 0;
82050 _ACEOF
82051 rm -f conftest.$ac_objext conftest$ac_exeext
82052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82053 (eval $ac_link) 2>conftest.er1
82054 ac_status=$?
82055 grep -v '^ *+' conftest.er1 >conftest.err
82056 rm -f conftest.er1
82057 cat conftest.err >&5
82058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82059 (exit $ac_status); } &&
82060 { ac_try='test -z "$ac_c_werror_flag"
82061 || test ! -s conftest.err'
82062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82063 (eval $ac_try) 2>&5
82064 ac_status=$?
82065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82066 (exit $ac_status); }; } &&
82067 { ac_try='test -s conftest$ac_exeext'
82068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82069 (eval $ac_try) 2>&5
82070 ac_status=$?
82071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82072 (exit $ac_status); }; }; then
82073 eval "$as_ac_var=yes"
82074 else
82075 echo "$as_me: failed program was:" >&5
82076 sed 's/^/| /' conftest.$ac_ext >&5
82078 eval "$as_ac_var=no"
82080 rm -f conftest.err conftest.$ac_objext \
82081 conftest$ac_exeext conftest.$ac_ext
82083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82085 if test `eval echo '${'$as_ac_var'}'` = yes; then
82086 cat >>confdefs.h <<_ACEOF
82087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82088 _ACEOF
82091 done
82093 else
82095 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
82096 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
82097 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
82098 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
82099 echo $ECHO_N "(cached) $ECHO_C" >&6
82100 else
82104 ac_ext=cc
82105 ac_cpp='$CXXCPP $CPPFLAGS'
82106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82110 cat >conftest.$ac_ext <<_ACEOF
82111 /* confdefs.h. */
82112 _ACEOF
82113 cat confdefs.h >>conftest.$ac_ext
82114 cat >>conftest.$ac_ext <<_ACEOF
82115 /* end confdefs.h. */
82116 #include <math.h>
82118 main ()
82120 _sincosl(0, 0, 0);
82122 return 0;
82124 _ACEOF
82125 rm -f conftest.$ac_objext
82126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82127 (eval $ac_compile) 2>conftest.er1
82128 ac_status=$?
82129 grep -v '^ *+' conftest.er1 >conftest.err
82130 rm -f conftest.er1
82131 cat conftest.err >&5
82132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82133 (exit $ac_status); } &&
82134 { ac_try='test -z "$ac_cxx_werror_flag"
82135 || test ! -s conftest.err'
82136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82137 (eval $ac_try) 2>&5
82138 ac_status=$?
82139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82140 (exit $ac_status); }; } &&
82141 { ac_try='test -s conftest.$ac_objext'
82142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82143 (eval $ac_try) 2>&5
82144 ac_status=$?
82145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82146 (exit $ac_status); }; }; then
82147 glibcxx_cv_func__sincosl_use=yes
82148 else
82149 echo "$as_me: failed program was:" >&5
82150 sed 's/^/| /' conftest.$ac_ext >&5
82152 glibcxx_cv_func__sincosl_use=no
82154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82155 ac_ext=c
82156 ac_cpp='$CPP $CPPFLAGS'
82157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82165 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
82166 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
82168 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
82170 for ac_func in _sincosl
82172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82173 echo "$as_me:$LINENO: checking for $ac_func" >&5
82174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82175 if eval "test \"\${$as_ac_var+set}\" = set"; then
82176 echo $ECHO_N "(cached) $ECHO_C" >&6
82177 else
82178 if test x$gcc_no_link = xyes; then
82179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82181 { (exit 1); exit 1; }; }
82183 cat >conftest.$ac_ext <<_ACEOF
82184 /* confdefs.h. */
82185 _ACEOF
82186 cat confdefs.h >>conftest.$ac_ext
82187 cat >>conftest.$ac_ext <<_ACEOF
82188 /* end confdefs.h. */
82189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82191 #define $ac_func innocuous_$ac_func
82193 /* System header to define __stub macros and hopefully few prototypes,
82194 which can conflict with char $ac_func (); below.
82195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82196 <limits.h> exists even on freestanding compilers. */
82198 #ifdef __STDC__
82199 # include <limits.h>
82200 #else
82201 # include <assert.h>
82202 #endif
82204 #undef $ac_func
82206 /* Override any gcc2 internal prototype to avoid an error. */
82207 #ifdef __cplusplus
82208 extern "C"
82210 #endif
82211 /* We use char because int might match the return type of a gcc2
82212 builtin and then its argument prototype would still apply. */
82213 char $ac_func ();
82214 /* The GNU C library defines this for functions which it implements
82215 to always fail with ENOSYS. Some functions are actually named
82216 something starting with __ and the normal name is an alias. */
82217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82218 choke me
82219 #else
82220 char (*f) () = $ac_func;
82221 #endif
82222 #ifdef __cplusplus
82224 #endif
82227 main ()
82229 return f != $ac_func;
82231 return 0;
82233 _ACEOF
82234 rm -f conftest.$ac_objext conftest$ac_exeext
82235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82236 (eval $ac_link) 2>conftest.er1
82237 ac_status=$?
82238 grep -v '^ *+' conftest.er1 >conftest.err
82239 rm -f conftest.er1
82240 cat conftest.err >&5
82241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82242 (exit $ac_status); } &&
82243 { ac_try='test -z "$ac_c_werror_flag"
82244 || test ! -s conftest.err'
82245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82246 (eval $ac_try) 2>&5
82247 ac_status=$?
82248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82249 (exit $ac_status); }; } &&
82250 { ac_try='test -s conftest$ac_exeext'
82251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82252 (eval $ac_try) 2>&5
82253 ac_status=$?
82254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82255 (exit $ac_status); }; }; then
82256 eval "$as_ac_var=yes"
82257 else
82258 echo "$as_me: failed program was:" >&5
82259 sed 's/^/| /' conftest.$ac_ext >&5
82261 eval "$as_ac_var=no"
82263 rm -f conftest.err conftest.$ac_objext \
82264 conftest$ac_exeext conftest.$ac_ext
82266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82268 if test `eval echo '${'$as_ac_var'}'` = yes; then
82269 cat >>confdefs.h <<_ACEOF
82270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82271 _ACEOF
82274 done
82284 echo "$as_me:$LINENO: checking for finitel declaration" >&5
82285 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
82286 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
82287 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
82288 echo $ECHO_N "(cached) $ECHO_C" >&6
82289 else
82293 ac_ext=cc
82294 ac_cpp='$CXXCPP $CPPFLAGS'
82295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82299 cat >conftest.$ac_ext <<_ACEOF
82300 /* confdefs.h. */
82301 _ACEOF
82302 cat confdefs.h >>conftest.$ac_ext
82303 cat >>conftest.$ac_ext <<_ACEOF
82304 /* end confdefs.h. */
82305 #include <math.h>
82306 #ifdef HAVE_IEEEFP_H
82307 #include <ieeefp.h>
82308 #endif
82311 main ()
82313 finitel(0);
82315 return 0;
82317 _ACEOF
82318 rm -f conftest.$ac_objext
82319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82320 (eval $ac_compile) 2>conftest.er1
82321 ac_status=$?
82322 grep -v '^ *+' conftest.er1 >conftest.err
82323 rm -f conftest.er1
82324 cat conftest.err >&5
82325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82326 (exit $ac_status); } &&
82327 { ac_try='test -z "$ac_cxx_werror_flag"
82328 || test ! -s conftest.err'
82329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82330 (eval $ac_try) 2>&5
82331 ac_status=$?
82332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82333 (exit $ac_status); }; } &&
82334 { ac_try='test -s conftest.$ac_objext'
82335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82336 (eval $ac_try) 2>&5
82337 ac_status=$?
82338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82339 (exit $ac_status); }; }; then
82340 glibcxx_cv_func_finitel_use=yes
82341 else
82342 echo "$as_me: failed program was:" >&5
82343 sed 's/^/| /' conftest.$ac_ext >&5
82345 glibcxx_cv_func_finitel_use=no
82347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82348 ac_ext=c
82349 ac_cpp='$CPP $CPPFLAGS'
82350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82358 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
82359 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
82361 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
82363 for ac_func in finitel
82365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82366 echo "$as_me:$LINENO: checking for $ac_func" >&5
82367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82368 if eval "test \"\${$as_ac_var+set}\" = set"; then
82369 echo $ECHO_N "(cached) $ECHO_C" >&6
82370 else
82371 if test x$gcc_no_link = xyes; then
82372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82374 { (exit 1); exit 1; }; }
82376 cat >conftest.$ac_ext <<_ACEOF
82377 /* confdefs.h. */
82378 _ACEOF
82379 cat confdefs.h >>conftest.$ac_ext
82380 cat >>conftest.$ac_ext <<_ACEOF
82381 /* end confdefs.h. */
82382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82384 #define $ac_func innocuous_$ac_func
82386 /* System header to define __stub macros and hopefully few prototypes,
82387 which can conflict with char $ac_func (); below.
82388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82389 <limits.h> exists even on freestanding compilers. */
82391 #ifdef __STDC__
82392 # include <limits.h>
82393 #else
82394 # include <assert.h>
82395 #endif
82397 #undef $ac_func
82399 /* Override any gcc2 internal prototype to avoid an error. */
82400 #ifdef __cplusplus
82401 extern "C"
82403 #endif
82404 /* We use char because int might match the return type of a gcc2
82405 builtin and then its argument prototype would still apply. */
82406 char $ac_func ();
82407 /* The GNU C library defines this for functions which it implements
82408 to always fail with ENOSYS. Some functions are actually named
82409 something starting with __ and the normal name is an alias. */
82410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82411 choke me
82412 #else
82413 char (*f) () = $ac_func;
82414 #endif
82415 #ifdef __cplusplus
82417 #endif
82420 main ()
82422 return f != $ac_func;
82424 return 0;
82426 _ACEOF
82427 rm -f conftest.$ac_objext conftest$ac_exeext
82428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82429 (eval $ac_link) 2>conftest.er1
82430 ac_status=$?
82431 grep -v '^ *+' conftest.er1 >conftest.err
82432 rm -f conftest.er1
82433 cat conftest.err >&5
82434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82435 (exit $ac_status); } &&
82436 { ac_try='test -z "$ac_c_werror_flag"
82437 || test ! -s conftest.err'
82438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82439 (eval $ac_try) 2>&5
82440 ac_status=$?
82441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82442 (exit $ac_status); }; } &&
82443 { ac_try='test -s conftest$ac_exeext'
82444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82445 (eval $ac_try) 2>&5
82446 ac_status=$?
82447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82448 (exit $ac_status); }; }; then
82449 eval "$as_ac_var=yes"
82450 else
82451 echo "$as_me: failed program was:" >&5
82452 sed 's/^/| /' conftest.$ac_ext >&5
82454 eval "$as_ac_var=no"
82456 rm -f conftest.err conftest.$ac_objext \
82457 conftest$ac_exeext conftest.$ac_ext
82459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82461 if test `eval echo '${'$as_ac_var'}'` = yes; then
82462 cat >>confdefs.h <<_ACEOF
82463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82464 _ACEOF
82467 done
82469 else
82471 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
82472 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
82473 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
82474 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
82475 echo $ECHO_N "(cached) $ECHO_C" >&6
82476 else
82480 ac_ext=cc
82481 ac_cpp='$CXXCPP $CPPFLAGS'
82482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82486 cat >conftest.$ac_ext <<_ACEOF
82487 /* confdefs.h. */
82488 _ACEOF
82489 cat confdefs.h >>conftest.$ac_ext
82490 cat >>conftest.$ac_ext <<_ACEOF
82491 /* end confdefs.h. */
82492 #include <math.h>
82493 #ifdef HAVE_IEEEFP_H
82494 #include <ieeefp.h>
82495 #endif
82498 main ()
82500 _finitel(0);
82502 return 0;
82504 _ACEOF
82505 rm -f conftest.$ac_objext
82506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82507 (eval $ac_compile) 2>conftest.er1
82508 ac_status=$?
82509 grep -v '^ *+' conftest.er1 >conftest.err
82510 rm -f conftest.er1
82511 cat conftest.err >&5
82512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82513 (exit $ac_status); } &&
82514 { ac_try='test -z "$ac_cxx_werror_flag"
82515 || test ! -s conftest.err'
82516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82517 (eval $ac_try) 2>&5
82518 ac_status=$?
82519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82520 (exit $ac_status); }; } &&
82521 { ac_try='test -s conftest.$ac_objext'
82522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82523 (eval $ac_try) 2>&5
82524 ac_status=$?
82525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82526 (exit $ac_status); }; }; then
82527 glibcxx_cv_func__finitel_use=yes
82528 else
82529 echo "$as_me: failed program was:" >&5
82530 sed 's/^/| /' conftest.$ac_ext >&5
82532 glibcxx_cv_func__finitel_use=no
82534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82535 ac_ext=c
82536 ac_cpp='$CPP $CPPFLAGS'
82537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82545 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
82546 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
82548 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
82550 for ac_func in _finitel
82552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82553 echo "$as_me:$LINENO: checking for $ac_func" >&5
82554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82555 if eval "test \"\${$as_ac_var+set}\" = set"; then
82556 echo $ECHO_N "(cached) $ECHO_C" >&6
82557 else
82558 if test x$gcc_no_link = xyes; then
82559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82561 { (exit 1); exit 1; }; }
82563 cat >conftest.$ac_ext <<_ACEOF
82564 /* confdefs.h. */
82565 _ACEOF
82566 cat confdefs.h >>conftest.$ac_ext
82567 cat >>conftest.$ac_ext <<_ACEOF
82568 /* end confdefs.h. */
82569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82571 #define $ac_func innocuous_$ac_func
82573 /* System header to define __stub macros and hopefully few prototypes,
82574 which can conflict with char $ac_func (); below.
82575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82576 <limits.h> exists even on freestanding compilers. */
82578 #ifdef __STDC__
82579 # include <limits.h>
82580 #else
82581 # include <assert.h>
82582 #endif
82584 #undef $ac_func
82586 /* Override any gcc2 internal prototype to avoid an error. */
82587 #ifdef __cplusplus
82588 extern "C"
82590 #endif
82591 /* We use char because int might match the return type of a gcc2
82592 builtin and then its argument prototype would still apply. */
82593 char $ac_func ();
82594 /* The GNU C library defines this for functions which it implements
82595 to always fail with ENOSYS. Some functions are actually named
82596 something starting with __ and the normal name is an alias. */
82597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82598 choke me
82599 #else
82600 char (*f) () = $ac_func;
82601 #endif
82602 #ifdef __cplusplus
82604 #endif
82607 main ()
82609 return f != $ac_func;
82611 return 0;
82613 _ACEOF
82614 rm -f conftest.$ac_objext conftest$ac_exeext
82615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82616 (eval $ac_link) 2>conftest.er1
82617 ac_status=$?
82618 grep -v '^ *+' conftest.er1 >conftest.err
82619 rm -f conftest.er1
82620 cat conftest.err >&5
82621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82622 (exit $ac_status); } &&
82623 { ac_try='test -z "$ac_c_werror_flag"
82624 || test ! -s conftest.err'
82625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82626 (eval $ac_try) 2>&5
82627 ac_status=$?
82628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82629 (exit $ac_status); }; } &&
82630 { ac_try='test -s conftest$ac_exeext'
82631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82632 (eval $ac_try) 2>&5
82633 ac_status=$?
82634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82635 (exit $ac_status); }; }; then
82636 eval "$as_ac_var=yes"
82637 else
82638 echo "$as_me: failed program was:" >&5
82639 sed 's/^/| /' conftest.$ac_ext >&5
82641 eval "$as_ac_var=no"
82643 rm -f conftest.err conftest.$ac_objext \
82644 conftest$ac_exeext conftest.$ac_ext
82646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82648 if test `eval echo '${'$as_ac_var'}'` = yes; then
82649 cat >>confdefs.h <<_ACEOF
82650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82651 _ACEOF
82654 done
82663 LIBS="$ac_save_LIBS"
82664 CXXFLAGS="$ac_save_CXXFLAGS"
82668 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
82669 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
82670 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
82671 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
82672 echo $ECHO_N "(cached) $ECHO_C" >&6
82673 else
82677 ac_ext=cc
82678 ac_cpp='$CXXCPP $CPPFLAGS'
82679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82683 cat >conftest.$ac_ext <<_ACEOF
82684 /* confdefs.h. */
82685 _ACEOF
82686 cat confdefs.h >>conftest.$ac_ext
82687 cat >>conftest.$ac_ext <<_ACEOF
82688 /* end confdefs.h. */
82689 #include <math.h>
82691 main ()
82693 __builtin_abs(0);
82695 return 0;
82697 _ACEOF
82698 rm -f conftest.$ac_objext
82699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82700 (eval $ac_compile) 2>conftest.er1
82701 ac_status=$?
82702 grep -v '^ *+' conftest.er1 >conftest.err
82703 rm -f conftest.er1
82704 cat conftest.err >&5
82705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82706 (exit $ac_status); } &&
82707 { ac_try='test -z "$ac_cxx_werror_flag"
82708 || test ! -s conftest.err'
82709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82710 (eval $ac_try) 2>&5
82711 ac_status=$?
82712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82713 (exit $ac_status); }; } &&
82714 { ac_try='test -s conftest.$ac_objext'
82715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82716 (eval $ac_try) 2>&5
82717 ac_status=$?
82718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82719 (exit $ac_status); }; }; then
82720 glibcxx_cv_func___builtin_abs_use=yes
82721 else
82722 echo "$as_me: failed program was:" >&5
82723 sed 's/^/| /' conftest.$ac_ext >&5
82725 glibcxx_cv_func___builtin_abs_use=no
82727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82728 ac_ext=c
82729 ac_cpp='$CPP $CPPFLAGS'
82730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82738 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
82739 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
82740 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
82741 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
82742 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
82743 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
82744 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
82745 echo $ECHO_N "(cached) $ECHO_C" >&6
82746 else
82748 if test x$gcc_no_link = xyes; then
82749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82751 { (exit 1); exit 1; }; }
82753 cat >conftest.$ac_ext <<_ACEOF
82754 /* confdefs.h. */
82755 _ACEOF
82756 cat confdefs.h >>conftest.$ac_ext
82757 cat >>conftest.$ac_ext <<_ACEOF
82758 /* end confdefs.h. */
82759 #include <math.h>
82761 main ()
82763 __builtin_abs(0);
82765 return 0;
82767 _ACEOF
82768 rm -f conftest.$ac_objext conftest$ac_exeext
82769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82770 (eval $ac_link) 2>conftest.er1
82771 ac_status=$?
82772 grep -v '^ *+' conftest.er1 >conftest.err
82773 rm -f conftest.er1
82774 cat conftest.err >&5
82775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82776 (exit $ac_status); } &&
82777 { ac_try='test -z "$ac_c_werror_flag"
82778 || test ! -s conftest.err'
82779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82780 (eval $ac_try) 2>&5
82781 ac_status=$?
82782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82783 (exit $ac_status); }; } &&
82784 { ac_try='test -s conftest$ac_exeext'
82785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82786 (eval $ac_try) 2>&5
82787 ac_status=$?
82788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82789 (exit $ac_status); }; }; then
82790 glibcxx_cv_func___builtin_abs_link=yes
82791 else
82792 echo "$as_me: failed program was:" >&5
82793 sed 's/^/| /' conftest.$ac_ext >&5
82795 glibcxx_cv_func___builtin_abs_link=no
82797 rm -f conftest.err conftest.$ac_objext \
82798 conftest$ac_exeext conftest.$ac_ext
82803 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
82804 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
82806 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
82808 cat >>confdefs.h <<\_ACEOF
82809 #define HAVE___BUILTIN_ABS 1
82810 _ACEOF
82817 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
82818 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
82819 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
82820 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
82821 echo $ECHO_N "(cached) $ECHO_C" >&6
82822 else
82826 ac_ext=cc
82827 ac_cpp='$CXXCPP $CPPFLAGS'
82828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82832 cat >conftest.$ac_ext <<_ACEOF
82833 /* confdefs.h. */
82834 _ACEOF
82835 cat confdefs.h >>conftest.$ac_ext
82836 cat >>conftest.$ac_ext <<_ACEOF
82837 /* end confdefs.h. */
82838 #include <math.h>
82840 main ()
82842 __builtin_fabsf(0);
82844 return 0;
82846 _ACEOF
82847 rm -f conftest.$ac_objext
82848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82849 (eval $ac_compile) 2>conftest.er1
82850 ac_status=$?
82851 grep -v '^ *+' conftest.er1 >conftest.err
82852 rm -f conftest.er1
82853 cat conftest.err >&5
82854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82855 (exit $ac_status); } &&
82856 { ac_try='test -z "$ac_cxx_werror_flag"
82857 || test ! -s conftest.err'
82858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82859 (eval $ac_try) 2>&5
82860 ac_status=$?
82861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82862 (exit $ac_status); }; } &&
82863 { ac_try='test -s conftest.$ac_objext'
82864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82865 (eval $ac_try) 2>&5
82866 ac_status=$?
82867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82868 (exit $ac_status); }; }; then
82869 glibcxx_cv_func___builtin_fabsf_use=yes
82870 else
82871 echo "$as_me: failed program was:" >&5
82872 sed 's/^/| /' conftest.$ac_ext >&5
82874 glibcxx_cv_func___builtin_fabsf_use=no
82876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82877 ac_ext=c
82878 ac_cpp='$CPP $CPPFLAGS'
82879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82887 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
82888 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
82889 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
82890 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
82891 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
82892 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
82893 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
82894 echo $ECHO_N "(cached) $ECHO_C" >&6
82895 else
82897 if test x$gcc_no_link = xyes; then
82898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82900 { (exit 1); exit 1; }; }
82902 cat >conftest.$ac_ext <<_ACEOF
82903 /* confdefs.h. */
82904 _ACEOF
82905 cat confdefs.h >>conftest.$ac_ext
82906 cat >>conftest.$ac_ext <<_ACEOF
82907 /* end confdefs.h. */
82908 #include <math.h>
82910 main ()
82912 __builtin_fabsf(0);
82914 return 0;
82916 _ACEOF
82917 rm -f conftest.$ac_objext conftest$ac_exeext
82918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82919 (eval $ac_link) 2>conftest.er1
82920 ac_status=$?
82921 grep -v '^ *+' conftest.er1 >conftest.err
82922 rm -f conftest.er1
82923 cat conftest.err >&5
82924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82925 (exit $ac_status); } &&
82926 { ac_try='test -z "$ac_c_werror_flag"
82927 || test ! -s conftest.err'
82928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82929 (eval $ac_try) 2>&5
82930 ac_status=$?
82931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82932 (exit $ac_status); }; } &&
82933 { ac_try='test -s conftest$ac_exeext'
82934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82935 (eval $ac_try) 2>&5
82936 ac_status=$?
82937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82938 (exit $ac_status); }; }; then
82939 glibcxx_cv_func___builtin_fabsf_link=yes
82940 else
82941 echo "$as_me: failed program was:" >&5
82942 sed 's/^/| /' conftest.$ac_ext >&5
82944 glibcxx_cv_func___builtin_fabsf_link=no
82946 rm -f conftest.err conftest.$ac_objext \
82947 conftest$ac_exeext conftest.$ac_ext
82952 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
82953 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
82955 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
82957 cat >>confdefs.h <<\_ACEOF
82958 #define HAVE___BUILTIN_FABSF 1
82959 _ACEOF
82966 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
82967 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
82968 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
82969 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
82970 echo $ECHO_N "(cached) $ECHO_C" >&6
82971 else
82975 ac_ext=cc
82976 ac_cpp='$CXXCPP $CPPFLAGS'
82977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82981 cat >conftest.$ac_ext <<_ACEOF
82982 /* confdefs.h. */
82983 _ACEOF
82984 cat confdefs.h >>conftest.$ac_ext
82985 cat >>conftest.$ac_ext <<_ACEOF
82986 /* end confdefs.h. */
82987 #include <math.h>
82989 main ()
82991 __builtin_fabs(0);
82993 return 0;
82995 _ACEOF
82996 rm -f conftest.$ac_objext
82997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82998 (eval $ac_compile) 2>conftest.er1
82999 ac_status=$?
83000 grep -v '^ *+' conftest.er1 >conftest.err
83001 rm -f conftest.er1
83002 cat conftest.err >&5
83003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83004 (exit $ac_status); } &&
83005 { ac_try='test -z "$ac_cxx_werror_flag"
83006 || test ! -s conftest.err'
83007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83008 (eval $ac_try) 2>&5
83009 ac_status=$?
83010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83011 (exit $ac_status); }; } &&
83012 { ac_try='test -s conftest.$ac_objext'
83013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83014 (eval $ac_try) 2>&5
83015 ac_status=$?
83016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83017 (exit $ac_status); }; }; then
83018 glibcxx_cv_func___builtin_fabs_use=yes
83019 else
83020 echo "$as_me: failed program was:" >&5
83021 sed 's/^/| /' conftest.$ac_ext >&5
83023 glibcxx_cv_func___builtin_fabs_use=no
83025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83026 ac_ext=c
83027 ac_cpp='$CPP $CPPFLAGS'
83028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83036 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
83037 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
83038 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
83039 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
83040 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
83041 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
83042 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
83043 echo $ECHO_N "(cached) $ECHO_C" >&6
83044 else
83046 if test x$gcc_no_link = xyes; then
83047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83049 { (exit 1); exit 1; }; }
83051 cat >conftest.$ac_ext <<_ACEOF
83052 /* confdefs.h. */
83053 _ACEOF
83054 cat confdefs.h >>conftest.$ac_ext
83055 cat >>conftest.$ac_ext <<_ACEOF
83056 /* end confdefs.h. */
83057 #include <math.h>
83059 main ()
83061 __builtin_fabs(0);
83063 return 0;
83065 _ACEOF
83066 rm -f conftest.$ac_objext conftest$ac_exeext
83067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83068 (eval $ac_link) 2>conftest.er1
83069 ac_status=$?
83070 grep -v '^ *+' conftest.er1 >conftest.err
83071 rm -f conftest.er1
83072 cat conftest.err >&5
83073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83074 (exit $ac_status); } &&
83075 { ac_try='test -z "$ac_c_werror_flag"
83076 || test ! -s conftest.err'
83077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83078 (eval $ac_try) 2>&5
83079 ac_status=$?
83080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83081 (exit $ac_status); }; } &&
83082 { ac_try='test -s conftest$ac_exeext'
83083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83084 (eval $ac_try) 2>&5
83085 ac_status=$?
83086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83087 (exit $ac_status); }; }; then
83088 glibcxx_cv_func___builtin_fabs_link=yes
83089 else
83090 echo "$as_me: failed program was:" >&5
83091 sed 's/^/| /' conftest.$ac_ext >&5
83093 glibcxx_cv_func___builtin_fabs_link=no
83095 rm -f conftest.err conftest.$ac_objext \
83096 conftest$ac_exeext conftest.$ac_ext
83101 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
83102 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
83104 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
83106 cat >>confdefs.h <<\_ACEOF
83107 #define HAVE___BUILTIN_FABS 1
83108 _ACEOF
83115 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
83116 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
83117 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
83118 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
83119 echo $ECHO_N "(cached) $ECHO_C" >&6
83120 else
83124 ac_ext=cc
83125 ac_cpp='$CXXCPP $CPPFLAGS'
83126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83130 cat >conftest.$ac_ext <<_ACEOF
83131 /* confdefs.h. */
83132 _ACEOF
83133 cat confdefs.h >>conftest.$ac_ext
83134 cat >>conftest.$ac_ext <<_ACEOF
83135 /* end confdefs.h. */
83136 #include <math.h>
83138 main ()
83140 __builtin_fabsl(0);
83142 return 0;
83144 _ACEOF
83145 rm -f conftest.$ac_objext
83146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83147 (eval $ac_compile) 2>conftest.er1
83148 ac_status=$?
83149 grep -v '^ *+' conftest.er1 >conftest.err
83150 rm -f conftest.er1
83151 cat conftest.err >&5
83152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83153 (exit $ac_status); } &&
83154 { ac_try='test -z "$ac_cxx_werror_flag"
83155 || test ! -s conftest.err'
83156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83157 (eval $ac_try) 2>&5
83158 ac_status=$?
83159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83160 (exit $ac_status); }; } &&
83161 { ac_try='test -s conftest.$ac_objext'
83162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83163 (eval $ac_try) 2>&5
83164 ac_status=$?
83165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83166 (exit $ac_status); }; }; then
83167 glibcxx_cv_func___builtin_fabsl_use=yes
83168 else
83169 echo "$as_me: failed program was:" >&5
83170 sed 's/^/| /' conftest.$ac_ext >&5
83172 glibcxx_cv_func___builtin_fabsl_use=no
83174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83175 ac_ext=c
83176 ac_cpp='$CPP $CPPFLAGS'
83177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83185 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
83186 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
83187 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
83188 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
83189 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
83190 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
83191 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
83192 echo $ECHO_N "(cached) $ECHO_C" >&6
83193 else
83195 if test x$gcc_no_link = xyes; then
83196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83198 { (exit 1); exit 1; }; }
83200 cat >conftest.$ac_ext <<_ACEOF
83201 /* confdefs.h. */
83202 _ACEOF
83203 cat confdefs.h >>conftest.$ac_ext
83204 cat >>conftest.$ac_ext <<_ACEOF
83205 /* end confdefs.h. */
83206 #include <math.h>
83208 main ()
83210 __builtin_fabsl(0);
83212 return 0;
83214 _ACEOF
83215 rm -f conftest.$ac_objext conftest$ac_exeext
83216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83217 (eval $ac_link) 2>conftest.er1
83218 ac_status=$?
83219 grep -v '^ *+' conftest.er1 >conftest.err
83220 rm -f conftest.er1
83221 cat conftest.err >&5
83222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83223 (exit $ac_status); } &&
83224 { ac_try='test -z "$ac_c_werror_flag"
83225 || test ! -s conftest.err'
83226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83227 (eval $ac_try) 2>&5
83228 ac_status=$?
83229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83230 (exit $ac_status); }; } &&
83231 { ac_try='test -s conftest$ac_exeext'
83232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83233 (eval $ac_try) 2>&5
83234 ac_status=$?
83235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83236 (exit $ac_status); }; }; then
83237 glibcxx_cv_func___builtin_fabsl_link=yes
83238 else
83239 echo "$as_me: failed program was:" >&5
83240 sed 's/^/| /' conftest.$ac_ext >&5
83242 glibcxx_cv_func___builtin_fabsl_link=no
83244 rm -f conftest.err conftest.$ac_objext \
83245 conftest$ac_exeext conftest.$ac_ext
83250 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
83251 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
83253 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
83255 cat >>confdefs.h <<\_ACEOF
83256 #define HAVE___BUILTIN_FABSL 1
83257 _ACEOF
83264 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
83265 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
83266 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
83267 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
83268 echo $ECHO_N "(cached) $ECHO_C" >&6
83269 else
83273 ac_ext=cc
83274 ac_cpp='$CXXCPP $CPPFLAGS'
83275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83279 cat >conftest.$ac_ext <<_ACEOF
83280 /* confdefs.h. */
83281 _ACEOF
83282 cat confdefs.h >>conftest.$ac_ext
83283 cat >>conftest.$ac_ext <<_ACEOF
83284 /* end confdefs.h. */
83285 #include <math.h>
83287 main ()
83289 __builtin_labs(0);
83291 return 0;
83293 _ACEOF
83294 rm -f conftest.$ac_objext
83295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83296 (eval $ac_compile) 2>conftest.er1
83297 ac_status=$?
83298 grep -v '^ *+' conftest.er1 >conftest.err
83299 rm -f conftest.er1
83300 cat conftest.err >&5
83301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83302 (exit $ac_status); } &&
83303 { ac_try='test -z "$ac_cxx_werror_flag"
83304 || test ! -s conftest.err'
83305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83306 (eval $ac_try) 2>&5
83307 ac_status=$?
83308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83309 (exit $ac_status); }; } &&
83310 { ac_try='test -s conftest.$ac_objext'
83311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83312 (eval $ac_try) 2>&5
83313 ac_status=$?
83314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83315 (exit $ac_status); }; }; then
83316 glibcxx_cv_func___builtin_labs_use=yes
83317 else
83318 echo "$as_me: failed program was:" >&5
83319 sed 's/^/| /' conftest.$ac_ext >&5
83321 glibcxx_cv_func___builtin_labs_use=no
83323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83324 ac_ext=c
83325 ac_cpp='$CPP $CPPFLAGS'
83326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83334 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
83335 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
83336 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
83337 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
83338 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
83339 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
83340 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
83341 echo $ECHO_N "(cached) $ECHO_C" >&6
83342 else
83344 if test x$gcc_no_link = xyes; then
83345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83347 { (exit 1); exit 1; }; }
83349 cat >conftest.$ac_ext <<_ACEOF
83350 /* confdefs.h. */
83351 _ACEOF
83352 cat confdefs.h >>conftest.$ac_ext
83353 cat >>conftest.$ac_ext <<_ACEOF
83354 /* end confdefs.h. */
83355 #include <math.h>
83357 main ()
83359 __builtin_labs(0);
83361 return 0;
83363 _ACEOF
83364 rm -f conftest.$ac_objext conftest$ac_exeext
83365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83366 (eval $ac_link) 2>conftest.er1
83367 ac_status=$?
83368 grep -v '^ *+' conftest.er1 >conftest.err
83369 rm -f conftest.er1
83370 cat conftest.err >&5
83371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83372 (exit $ac_status); } &&
83373 { ac_try='test -z "$ac_c_werror_flag"
83374 || test ! -s conftest.err'
83375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83376 (eval $ac_try) 2>&5
83377 ac_status=$?
83378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83379 (exit $ac_status); }; } &&
83380 { ac_try='test -s conftest$ac_exeext'
83381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83382 (eval $ac_try) 2>&5
83383 ac_status=$?
83384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83385 (exit $ac_status); }; }; then
83386 glibcxx_cv_func___builtin_labs_link=yes
83387 else
83388 echo "$as_me: failed program was:" >&5
83389 sed 's/^/| /' conftest.$ac_ext >&5
83391 glibcxx_cv_func___builtin_labs_link=no
83393 rm -f conftest.err conftest.$ac_objext \
83394 conftest$ac_exeext conftest.$ac_ext
83399 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
83400 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
83402 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
83404 cat >>confdefs.h <<\_ACEOF
83405 #define HAVE___BUILTIN_LABS 1
83406 _ACEOF
83414 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
83415 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
83416 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
83417 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
83418 echo $ECHO_N "(cached) $ECHO_C" >&6
83419 else
83423 ac_ext=cc
83424 ac_cpp='$CXXCPP $CPPFLAGS'
83425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83429 cat >conftest.$ac_ext <<_ACEOF
83430 /* confdefs.h. */
83431 _ACEOF
83432 cat confdefs.h >>conftest.$ac_ext
83433 cat >>conftest.$ac_ext <<_ACEOF
83434 /* end confdefs.h. */
83435 #include <math.h>
83437 main ()
83439 __builtin_sqrtf(0);
83441 return 0;
83443 _ACEOF
83444 rm -f conftest.$ac_objext
83445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83446 (eval $ac_compile) 2>conftest.er1
83447 ac_status=$?
83448 grep -v '^ *+' conftest.er1 >conftest.err
83449 rm -f conftest.er1
83450 cat conftest.err >&5
83451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83452 (exit $ac_status); } &&
83453 { ac_try='test -z "$ac_cxx_werror_flag"
83454 || test ! -s conftest.err'
83455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83456 (eval $ac_try) 2>&5
83457 ac_status=$?
83458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83459 (exit $ac_status); }; } &&
83460 { ac_try='test -s conftest.$ac_objext'
83461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83462 (eval $ac_try) 2>&5
83463 ac_status=$?
83464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83465 (exit $ac_status); }; }; then
83466 glibcxx_cv_func___builtin_sqrtf_use=yes
83467 else
83468 echo "$as_me: failed program was:" >&5
83469 sed 's/^/| /' conftest.$ac_ext >&5
83471 glibcxx_cv_func___builtin_sqrtf_use=no
83473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83474 ac_ext=c
83475 ac_cpp='$CPP $CPPFLAGS'
83476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83484 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
83485 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
83486 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
83487 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
83488 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
83489 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
83490 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
83491 echo $ECHO_N "(cached) $ECHO_C" >&6
83492 else
83494 if test x$gcc_no_link = xyes; then
83495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83497 { (exit 1); exit 1; }; }
83499 cat >conftest.$ac_ext <<_ACEOF
83500 /* confdefs.h. */
83501 _ACEOF
83502 cat confdefs.h >>conftest.$ac_ext
83503 cat >>conftest.$ac_ext <<_ACEOF
83504 /* end confdefs.h. */
83505 #include <math.h>
83507 main ()
83509 __builtin_sqrtf(0);
83511 return 0;
83513 _ACEOF
83514 rm -f conftest.$ac_objext conftest$ac_exeext
83515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83516 (eval $ac_link) 2>conftest.er1
83517 ac_status=$?
83518 grep -v '^ *+' conftest.er1 >conftest.err
83519 rm -f conftest.er1
83520 cat conftest.err >&5
83521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83522 (exit $ac_status); } &&
83523 { ac_try='test -z "$ac_c_werror_flag"
83524 || test ! -s conftest.err'
83525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83526 (eval $ac_try) 2>&5
83527 ac_status=$?
83528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83529 (exit $ac_status); }; } &&
83530 { ac_try='test -s conftest$ac_exeext'
83531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83532 (eval $ac_try) 2>&5
83533 ac_status=$?
83534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83535 (exit $ac_status); }; }; then
83536 glibcxx_cv_func___builtin_sqrtf_link=yes
83537 else
83538 echo "$as_me: failed program was:" >&5
83539 sed 's/^/| /' conftest.$ac_ext >&5
83541 glibcxx_cv_func___builtin_sqrtf_link=no
83543 rm -f conftest.err conftest.$ac_objext \
83544 conftest$ac_exeext conftest.$ac_ext
83549 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
83550 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
83552 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
83554 cat >>confdefs.h <<\_ACEOF
83555 #define HAVE___BUILTIN_SQRTF 1
83556 _ACEOF
83563 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
83564 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
83565 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
83566 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
83567 echo $ECHO_N "(cached) $ECHO_C" >&6
83568 else
83572 ac_ext=cc
83573 ac_cpp='$CXXCPP $CPPFLAGS'
83574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83578 cat >conftest.$ac_ext <<_ACEOF
83579 /* confdefs.h. */
83580 _ACEOF
83581 cat confdefs.h >>conftest.$ac_ext
83582 cat >>conftest.$ac_ext <<_ACEOF
83583 /* end confdefs.h. */
83584 #include <math.h>
83586 main ()
83588 __builtin_sqrt(0);
83590 return 0;
83592 _ACEOF
83593 rm -f conftest.$ac_objext
83594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83595 (eval $ac_compile) 2>conftest.er1
83596 ac_status=$?
83597 grep -v '^ *+' conftest.er1 >conftest.err
83598 rm -f conftest.er1
83599 cat conftest.err >&5
83600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83601 (exit $ac_status); } &&
83602 { ac_try='test -z "$ac_cxx_werror_flag"
83603 || test ! -s conftest.err'
83604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83605 (eval $ac_try) 2>&5
83606 ac_status=$?
83607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83608 (exit $ac_status); }; } &&
83609 { ac_try='test -s conftest.$ac_objext'
83610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83611 (eval $ac_try) 2>&5
83612 ac_status=$?
83613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83614 (exit $ac_status); }; }; then
83615 glibcxx_cv_func___builtin_sqrt_use=yes
83616 else
83617 echo "$as_me: failed program was:" >&5
83618 sed 's/^/| /' conftest.$ac_ext >&5
83620 glibcxx_cv_func___builtin_sqrt_use=no
83622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83623 ac_ext=c
83624 ac_cpp='$CPP $CPPFLAGS'
83625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83633 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
83634 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
83635 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
83636 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
83637 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
83638 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
83639 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
83640 echo $ECHO_N "(cached) $ECHO_C" >&6
83641 else
83643 if test x$gcc_no_link = xyes; then
83644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83646 { (exit 1); exit 1; }; }
83648 cat >conftest.$ac_ext <<_ACEOF
83649 /* confdefs.h. */
83650 _ACEOF
83651 cat confdefs.h >>conftest.$ac_ext
83652 cat >>conftest.$ac_ext <<_ACEOF
83653 /* end confdefs.h. */
83654 #include <math.h>
83656 main ()
83658 __builtin_sqrt(0);
83660 return 0;
83662 _ACEOF
83663 rm -f conftest.$ac_objext conftest$ac_exeext
83664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83665 (eval $ac_link) 2>conftest.er1
83666 ac_status=$?
83667 grep -v '^ *+' conftest.er1 >conftest.err
83668 rm -f conftest.er1
83669 cat conftest.err >&5
83670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83671 (exit $ac_status); } &&
83672 { ac_try='test -z "$ac_c_werror_flag"
83673 || test ! -s conftest.err'
83674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83675 (eval $ac_try) 2>&5
83676 ac_status=$?
83677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83678 (exit $ac_status); }; } &&
83679 { ac_try='test -s conftest$ac_exeext'
83680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83681 (eval $ac_try) 2>&5
83682 ac_status=$?
83683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83684 (exit $ac_status); }; }; then
83685 glibcxx_cv_func___builtin_sqrt_link=yes
83686 else
83687 echo "$as_me: failed program was:" >&5
83688 sed 's/^/| /' conftest.$ac_ext >&5
83690 glibcxx_cv_func___builtin_sqrt_link=no
83692 rm -f conftest.err conftest.$ac_objext \
83693 conftest$ac_exeext conftest.$ac_ext
83698 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
83699 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
83701 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
83703 cat >>confdefs.h <<\_ACEOF
83704 #define HAVE___BUILTIN_SQRT 1
83705 _ACEOF
83712 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
83713 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
83714 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
83715 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
83716 echo $ECHO_N "(cached) $ECHO_C" >&6
83717 else
83721 ac_ext=cc
83722 ac_cpp='$CXXCPP $CPPFLAGS'
83723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83727 cat >conftest.$ac_ext <<_ACEOF
83728 /* confdefs.h. */
83729 _ACEOF
83730 cat confdefs.h >>conftest.$ac_ext
83731 cat >>conftest.$ac_ext <<_ACEOF
83732 /* end confdefs.h. */
83733 #include <math.h>
83735 main ()
83737 __builtin_sqrtl(0);
83739 return 0;
83741 _ACEOF
83742 rm -f conftest.$ac_objext
83743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83744 (eval $ac_compile) 2>conftest.er1
83745 ac_status=$?
83746 grep -v '^ *+' conftest.er1 >conftest.err
83747 rm -f conftest.er1
83748 cat conftest.err >&5
83749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83750 (exit $ac_status); } &&
83751 { ac_try='test -z "$ac_cxx_werror_flag"
83752 || test ! -s conftest.err'
83753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83754 (eval $ac_try) 2>&5
83755 ac_status=$?
83756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83757 (exit $ac_status); }; } &&
83758 { ac_try='test -s conftest.$ac_objext'
83759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83760 (eval $ac_try) 2>&5
83761 ac_status=$?
83762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83763 (exit $ac_status); }; }; then
83764 glibcxx_cv_func___builtin_sqrtl_use=yes
83765 else
83766 echo "$as_me: failed program was:" >&5
83767 sed 's/^/| /' conftest.$ac_ext >&5
83769 glibcxx_cv_func___builtin_sqrtl_use=no
83771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83772 ac_ext=c
83773 ac_cpp='$CPP $CPPFLAGS'
83774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83782 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
83783 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
83784 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
83785 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
83786 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
83787 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
83788 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
83789 echo $ECHO_N "(cached) $ECHO_C" >&6
83790 else
83792 if test x$gcc_no_link = xyes; then
83793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83795 { (exit 1); exit 1; }; }
83797 cat >conftest.$ac_ext <<_ACEOF
83798 /* confdefs.h. */
83799 _ACEOF
83800 cat confdefs.h >>conftest.$ac_ext
83801 cat >>conftest.$ac_ext <<_ACEOF
83802 /* end confdefs.h. */
83803 #include <math.h>
83805 main ()
83807 __builtin_sqrtl(0);
83809 return 0;
83811 _ACEOF
83812 rm -f conftest.$ac_objext conftest$ac_exeext
83813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83814 (eval $ac_link) 2>conftest.er1
83815 ac_status=$?
83816 grep -v '^ *+' conftest.er1 >conftest.err
83817 rm -f conftest.er1
83818 cat conftest.err >&5
83819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83820 (exit $ac_status); } &&
83821 { ac_try='test -z "$ac_c_werror_flag"
83822 || test ! -s conftest.err'
83823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83824 (eval $ac_try) 2>&5
83825 ac_status=$?
83826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83827 (exit $ac_status); }; } &&
83828 { ac_try='test -s conftest$ac_exeext'
83829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83830 (eval $ac_try) 2>&5
83831 ac_status=$?
83832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83833 (exit $ac_status); }; }; then
83834 glibcxx_cv_func___builtin_sqrtl_link=yes
83835 else
83836 echo "$as_me: failed program was:" >&5
83837 sed 's/^/| /' conftest.$ac_ext >&5
83839 glibcxx_cv_func___builtin_sqrtl_link=no
83841 rm -f conftest.err conftest.$ac_objext \
83842 conftest$ac_exeext conftest.$ac_ext
83847 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
83848 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
83850 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
83852 cat >>confdefs.h <<\_ACEOF
83853 #define HAVE___BUILTIN_SQRTL 1
83854 _ACEOF
83862 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
83863 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
83864 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
83865 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
83866 echo $ECHO_N "(cached) $ECHO_C" >&6
83867 else
83871 ac_ext=cc
83872 ac_cpp='$CXXCPP $CPPFLAGS'
83873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83877 cat >conftest.$ac_ext <<_ACEOF
83878 /* confdefs.h. */
83879 _ACEOF
83880 cat confdefs.h >>conftest.$ac_ext
83881 cat >>conftest.$ac_ext <<_ACEOF
83882 /* end confdefs.h. */
83883 #include <math.h>
83885 main ()
83887 __builtin_sinf(0);
83889 return 0;
83891 _ACEOF
83892 rm -f conftest.$ac_objext
83893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83894 (eval $ac_compile) 2>conftest.er1
83895 ac_status=$?
83896 grep -v '^ *+' conftest.er1 >conftest.err
83897 rm -f conftest.er1
83898 cat conftest.err >&5
83899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83900 (exit $ac_status); } &&
83901 { ac_try='test -z "$ac_cxx_werror_flag"
83902 || test ! -s conftest.err'
83903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83904 (eval $ac_try) 2>&5
83905 ac_status=$?
83906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83907 (exit $ac_status); }; } &&
83908 { ac_try='test -s conftest.$ac_objext'
83909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83910 (eval $ac_try) 2>&5
83911 ac_status=$?
83912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83913 (exit $ac_status); }; }; then
83914 glibcxx_cv_func___builtin_sinf_use=yes
83915 else
83916 echo "$as_me: failed program was:" >&5
83917 sed 's/^/| /' conftest.$ac_ext >&5
83919 glibcxx_cv_func___builtin_sinf_use=no
83921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83922 ac_ext=c
83923 ac_cpp='$CPP $CPPFLAGS'
83924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83932 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
83933 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
83934 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
83935 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
83936 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
83937 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
83938 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
83939 echo $ECHO_N "(cached) $ECHO_C" >&6
83940 else
83942 if test x$gcc_no_link = xyes; then
83943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83945 { (exit 1); exit 1; }; }
83947 cat >conftest.$ac_ext <<_ACEOF
83948 /* confdefs.h. */
83949 _ACEOF
83950 cat confdefs.h >>conftest.$ac_ext
83951 cat >>conftest.$ac_ext <<_ACEOF
83952 /* end confdefs.h. */
83953 #include <math.h>
83955 main ()
83957 __builtin_sinf(0);
83959 return 0;
83961 _ACEOF
83962 rm -f conftest.$ac_objext conftest$ac_exeext
83963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83964 (eval $ac_link) 2>conftest.er1
83965 ac_status=$?
83966 grep -v '^ *+' conftest.er1 >conftest.err
83967 rm -f conftest.er1
83968 cat conftest.err >&5
83969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83970 (exit $ac_status); } &&
83971 { ac_try='test -z "$ac_c_werror_flag"
83972 || test ! -s conftest.err'
83973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83974 (eval $ac_try) 2>&5
83975 ac_status=$?
83976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83977 (exit $ac_status); }; } &&
83978 { ac_try='test -s conftest$ac_exeext'
83979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83980 (eval $ac_try) 2>&5
83981 ac_status=$?
83982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83983 (exit $ac_status); }; }; then
83984 glibcxx_cv_func___builtin_sinf_link=yes
83985 else
83986 echo "$as_me: failed program was:" >&5
83987 sed 's/^/| /' conftest.$ac_ext >&5
83989 glibcxx_cv_func___builtin_sinf_link=no
83991 rm -f conftest.err conftest.$ac_objext \
83992 conftest$ac_exeext conftest.$ac_ext
83997 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
83998 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
84000 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
84002 cat >>confdefs.h <<\_ACEOF
84003 #define HAVE___BUILTIN_SINF 1
84004 _ACEOF
84011 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
84012 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
84013 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
84014 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
84015 echo $ECHO_N "(cached) $ECHO_C" >&6
84016 else
84020 ac_ext=cc
84021 ac_cpp='$CXXCPP $CPPFLAGS'
84022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84026 cat >conftest.$ac_ext <<_ACEOF
84027 /* confdefs.h. */
84028 _ACEOF
84029 cat confdefs.h >>conftest.$ac_ext
84030 cat >>conftest.$ac_ext <<_ACEOF
84031 /* end confdefs.h. */
84032 #include <math.h>
84034 main ()
84036 __builtin_sin(0);
84038 return 0;
84040 _ACEOF
84041 rm -f conftest.$ac_objext
84042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84043 (eval $ac_compile) 2>conftest.er1
84044 ac_status=$?
84045 grep -v '^ *+' conftest.er1 >conftest.err
84046 rm -f conftest.er1
84047 cat conftest.err >&5
84048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84049 (exit $ac_status); } &&
84050 { ac_try='test -z "$ac_cxx_werror_flag"
84051 || test ! -s conftest.err'
84052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84053 (eval $ac_try) 2>&5
84054 ac_status=$?
84055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84056 (exit $ac_status); }; } &&
84057 { ac_try='test -s conftest.$ac_objext'
84058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84059 (eval $ac_try) 2>&5
84060 ac_status=$?
84061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84062 (exit $ac_status); }; }; then
84063 glibcxx_cv_func___builtin_sin_use=yes
84064 else
84065 echo "$as_me: failed program was:" >&5
84066 sed 's/^/| /' conftest.$ac_ext >&5
84068 glibcxx_cv_func___builtin_sin_use=no
84070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84071 ac_ext=c
84072 ac_cpp='$CPP $CPPFLAGS'
84073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84081 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
84082 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
84083 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
84084 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
84085 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
84086 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
84087 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
84088 echo $ECHO_N "(cached) $ECHO_C" >&6
84089 else
84091 if test x$gcc_no_link = xyes; then
84092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84094 { (exit 1); exit 1; }; }
84096 cat >conftest.$ac_ext <<_ACEOF
84097 /* confdefs.h. */
84098 _ACEOF
84099 cat confdefs.h >>conftest.$ac_ext
84100 cat >>conftest.$ac_ext <<_ACEOF
84101 /* end confdefs.h. */
84102 #include <math.h>
84104 main ()
84106 __builtin_sin(0);
84108 return 0;
84110 _ACEOF
84111 rm -f conftest.$ac_objext conftest$ac_exeext
84112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84113 (eval $ac_link) 2>conftest.er1
84114 ac_status=$?
84115 grep -v '^ *+' conftest.er1 >conftest.err
84116 rm -f conftest.er1
84117 cat conftest.err >&5
84118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84119 (exit $ac_status); } &&
84120 { ac_try='test -z "$ac_c_werror_flag"
84121 || test ! -s conftest.err'
84122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84123 (eval $ac_try) 2>&5
84124 ac_status=$?
84125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84126 (exit $ac_status); }; } &&
84127 { ac_try='test -s conftest$ac_exeext'
84128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84129 (eval $ac_try) 2>&5
84130 ac_status=$?
84131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84132 (exit $ac_status); }; }; then
84133 glibcxx_cv_func___builtin_sin_link=yes
84134 else
84135 echo "$as_me: failed program was:" >&5
84136 sed 's/^/| /' conftest.$ac_ext >&5
84138 glibcxx_cv_func___builtin_sin_link=no
84140 rm -f conftest.err conftest.$ac_objext \
84141 conftest$ac_exeext conftest.$ac_ext
84146 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
84147 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
84149 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
84151 cat >>confdefs.h <<\_ACEOF
84152 #define HAVE___BUILTIN_SIN 1
84153 _ACEOF
84160 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
84161 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
84162 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
84163 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
84164 echo $ECHO_N "(cached) $ECHO_C" >&6
84165 else
84169 ac_ext=cc
84170 ac_cpp='$CXXCPP $CPPFLAGS'
84171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84175 cat >conftest.$ac_ext <<_ACEOF
84176 /* confdefs.h. */
84177 _ACEOF
84178 cat confdefs.h >>conftest.$ac_ext
84179 cat >>conftest.$ac_ext <<_ACEOF
84180 /* end confdefs.h. */
84181 #include <math.h>
84183 main ()
84185 __builtin_sinl(0);
84187 return 0;
84189 _ACEOF
84190 rm -f conftest.$ac_objext
84191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84192 (eval $ac_compile) 2>conftest.er1
84193 ac_status=$?
84194 grep -v '^ *+' conftest.er1 >conftest.err
84195 rm -f conftest.er1
84196 cat conftest.err >&5
84197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84198 (exit $ac_status); } &&
84199 { ac_try='test -z "$ac_cxx_werror_flag"
84200 || test ! -s conftest.err'
84201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84202 (eval $ac_try) 2>&5
84203 ac_status=$?
84204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84205 (exit $ac_status); }; } &&
84206 { ac_try='test -s conftest.$ac_objext'
84207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84208 (eval $ac_try) 2>&5
84209 ac_status=$?
84210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84211 (exit $ac_status); }; }; then
84212 glibcxx_cv_func___builtin_sinl_use=yes
84213 else
84214 echo "$as_me: failed program was:" >&5
84215 sed 's/^/| /' conftest.$ac_ext >&5
84217 glibcxx_cv_func___builtin_sinl_use=no
84219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84220 ac_ext=c
84221 ac_cpp='$CPP $CPPFLAGS'
84222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84230 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
84231 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
84232 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
84233 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
84234 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
84235 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
84236 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
84237 echo $ECHO_N "(cached) $ECHO_C" >&6
84238 else
84240 if test x$gcc_no_link = xyes; then
84241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84243 { (exit 1); exit 1; }; }
84245 cat >conftest.$ac_ext <<_ACEOF
84246 /* confdefs.h. */
84247 _ACEOF
84248 cat confdefs.h >>conftest.$ac_ext
84249 cat >>conftest.$ac_ext <<_ACEOF
84250 /* end confdefs.h. */
84251 #include <math.h>
84253 main ()
84255 __builtin_sinl(0);
84257 return 0;
84259 _ACEOF
84260 rm -f conftest.$ac_objext conftest$ac_exeext
84261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84262 (eval $ac_link) 2>conftest.er1
84263 ac_status=$?
84264 grep -v '^ *+' conftest.er1 >conftest.err
84265 rm -f conftest.er1
84266 cat conftest.err >&5
84267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84268 (exit $ac_status); } &&
84269 { ac_try='test -z "$ac_c_werror_flag"
84270 || test ! -s conftest.err'
84271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84272 (eval $ac_try) 2>&5
84273 ac_status=$?
84274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84275 (exit $ac_status); }; } &&
84276 { ac_try='test -s conftest$ac_exeext'
84277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84278 (eval $ac_try) 2>&5
84279 ac_status=$?
84280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84281 (exit $ac_status); }; }; then
84282 glibcxx_cv_func___builtin_sinl_link=yes
84283 else
84284 echo "$as_me: failed program was:" >&5
84285 sed 's/^/| /' conftest.$ac_ext >&5
84287 glibcxx_cv_func___builtin_sinl_link=no
84289 rm -f conftest.err conftest.$ac_objext \
84290 conftest$ac_exeext conftest.$ac_ext
84295 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
84296 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
84298 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
84300 cat >>confdefs.h <<\_ACEOF
84301 #define HAVE___BUILTIN_SINL 1
84302 _ACEOF
84310 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
84311 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
84312 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
84313 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
84314 echo $ECHO_N "(cached) $ECHO_C" >&6
84315 else
84319 ac_ext=cc
84320 ac_cpp='$CXXCPP $CPPFLAGS'
84321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84325 cat >conftest.$ac_ext <<_ACEOF
84326 /* confdefs.h. */
84327 _ACEOF
84328 cat confdefs.h >>conftest.$ac_ext
84329 cat >>conftest.$ac_ext <<_ACEOF
84330 /* end confdefs.h. */
84331 #include <math.h>
84333 main ()
84335 __builtin_cosf(0);
84337 return 0;
84339 _ACEOF
84340 rm -f conftest.$ac_objext
84341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84342 (eval $ac_compile) 2>conftest.er1
84343 ac_status=$?
84344 grep -v '^ *+' conftest.er1 >conftest.err
84345 rm -f conftest.er1
84346 cat conftest.err >&5
84347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84348 (exit $ac_status); } &&
84349 { ac_try='test -z "$ac_cxx_werror_flag"
84350 || test ! -s conftest.err'
84351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84352 (eval $ac_try) 2>&5
84353 ac_status=$?
84354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84355 (exit $ac_status); }; } &&
84356 { ac_try='test -s conftest.$ac_objext'
84357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84358 (eval $ac_try) 2>&5
84359 ac_status=$?
84360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84361 (exit $ac_status); }; }; then
84362 glibcxx_cv_func___builtin_cosf_use=yes
84363 else
84364 echo "$as_me: failed program was:" >&5
84365 sed 's/^/| /' conftest.$ac_ext >&5
84367 glibcxx_cv_func___builtin_cosf_use=no
84369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84370 ac_ext=c
84371 ac_cpp='$CPP $CPPFLAGS'
84372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84380 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
84381 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
84382 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
84383 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
84384 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
84385 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
84386 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
84387 echo $ECHO_N "(cached) $ECHO_C" >&6
84388 else
84390 if test x$gcc_no_link = xyes; then
84391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84393 { (exit 1); exit 1; }; }
84395 cat >conftest.$ac_ext <<_ACEOF
84396 /* confdefs.h. */
84397 _ACEOF
84398 cat confdefs.h >>conftest.$ac_ext
84399 cat >>conftest.$ac_ext <<_ACEOF
84400 /* end confdefs.h. */
84401 #include <math.h>
84403 main ()
84405 __builtin_cosf(0);
84407 return 0;
84409 _ACEOF
84410 rm -f conftest.$ac_objext conftest$ac_exeext
84411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84412 (eval $ac_link) 2>conftest.er1
84413 ac_status=$?
84414 grep -v '^ *+' conftest.er1 >conftest.err
84415 rm -f conftest.er1
84416 cat conftest.err >&5
84417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84418 (exit $ac_status); } &&
84419 { ac_try='test -z "$ac_c_werror_flag"
84420 || test ! -s conftest.err'
84421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84422 (eval $ac_try) 2>&5
84423 ac_status=$?
84424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84425 (exit $ac_status); }; } &&
84426 { ac_try='test -s conftest$ac_exeext'
84427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84428 (eval $ac_try) 2>&5
84429 ac_status=$?
84430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84431 (exit $ac_status); }; }; then
84432 glibcxx_cv_func___builtin_cosf_link=yes
84433 else
84434 echo "$as_me: failed program was:" >&5
84435 sed 's/^/| /' conftest.$ac_ext >&5
84437 glibcxx_cv_func___builtin_cosf_link=no
84439 rm -f conftest.err conftest.$ac_objext \
84440 conftest$ac_exeext conftest.$ac_ext
84445 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
84446 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
84448 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
84450 cat >>confdefs.h <<\_ACEOF
84451 #define HAVE___BUILTIN_COSF 1
84452 _ACEOF
84459 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
84460 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
84461 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
84462 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
84463 echo $ECHO_N "(cached) $ECHO_C" >&6
84464 else
84468 ac_ext=cc
84469 ac_cpp='$CXXCPP $CPPFLAGS'
84470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84474 cat >conftest.$ac_ext <<_ACEOF
84475 /* confdefs.h. */
84476 _ACEOF
84477 cat confdefs.h >>conftest.$ac_ext
84478 cat >>conftest.$ac_ext <<_ACEOF
84479 /* end confdefs.h. */
84480 #include <math.h>
84482 main ()
84484 __builtin_cos(0);
84486 return 0;
84488 _ACEOF
84489 rm -f conftest.$ac_objext
84490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84491 (eval $ac_compile) 2>conftest.er1
84492 ac_status=$?
84493 grep -v '^ *+' conftest.er1 >conftest.err
84494 rm -f conftest.er1
84495 cat conftest.err >&5
84496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84497 (exit $ac_status); } &&
84498 { ac_try='test -z "$ac_cxx_werror_flag"
84499 || test ! -s conftest.err'
84500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84501 (eval $ac_try) 2>&5
84502 ac_status=$?
84503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84504 (exit $ac_status); }; } &&
84505 { ac_try='test -s conftest.$ac_objext'
84506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84507 (eval $ac_try) 2>&5
84508 ac_status=$?
84509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84510 (exit $ac_status); }; }; then
84511 glibcxx_cv_func___builtin_cos_use=yes
84512 else
84513 echo "$as_me: failed program was:" >&5
84514 sed 's/^/| /' conftest.$ac_ext >&5
84516 glibcxx_cv_func___builtin_cos_use=no
84518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84519 ac_ext=c
84520 ac_cpp='$CPP $CPPFLAGS'
84521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84529 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
84530 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
84531 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
84532 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
84533 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
84534 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
84535 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
84536 echo $ECHO_N "(cached) $ECHO_C" >&6
84537 else
84539 if test x$gcc_no_link = xyes; then
84540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84542 { (exit 1); exit 1; }; }
84544 cat >conftest.$ac_ext <<_ACEOF
84545 /* confdefs.h. */
84546 _ACEOF
84547 cat confdefs.h >>conftest.$ac_ext
84548 cat >>conftest.$ac_ext <<_ACEOF
84549 /* end confdefs.h. */
84550 #include <math.h>
84552 main ()
84554 __builtin_cos(0);
84556 return 0;
84558 _ACEOF
84559 rm -f conftest.$ac_objext conftest$ac_exeext
84560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84561 (eval $ac_link) 2>conftest.er1
84562 ac_status=$?
84563 grep -v '^ *+' conftest.er1 >conftest.err
84564 rm -f conftest.er1
84565 cat conftest.err >&5
84566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84567 (exit $ac_status); } &&
84568 { ac_try='test -z "$ac_c_werror_flag"
84569 || test ! -s conftest.err'
84570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84571 (eval $ac_try) 2>&5
84572 ac_status=$?
84573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84574 (exit $ac_status); }; } &&
84575 { ac_try='test -s conftest$ac_exeext'
84576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84577 (eval $ac_try) 2>&5
84578 ac_status=$?
84579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84580 (exit $ac_status); }; }; then
84581 glibcxx_cv_func___builtin_cos_link=yes
84582 else
84583 echo "$as_me: failed program was:" >&5
84584 sed 's/^/| /' conftest.$ac_ext >&5
84586 glibcxx_cv_func___builtin_cos_link=no
84588 rm -f conftest.err conftest.$ac_objext \
84589 conftest$ac_exeext conftest.$ac_ext
84594 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
84595 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
84597 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
84599 cat >>confdefs.h <<\_ACEOF
84600 #define HAVE___BUILTIN_COS 1
84601 _ACEOF
84608 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
84609 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
84610 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
84611 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
84612 echo $ECHO_N "(cached) $ECHO_C" >&6
84613 else
84617 ac_ext=cc
84618 ac_cpp='$CXXCPP $CPPFLAGS'
84619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84623 cat >conftest.$ac_ext <<_ACEOF
84624 /* confdefs.h. */
84625 _ACEOF
84626 cat confdefs.h >>conftest.$ac_ext
84627 cat >>conftest.$ac_ext <<_ACEOF
84628 /* end confdefs.h. */
84629 #include <math.h>
84631 main ()
84633 __builtin_cosl(0);
84635 return 0;
84637 _ACEOF
84638 rm -f conftest.$ac_objext
84639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84640 (eval $ac_compile) 2>conftest.er1
84641 ac_status=$?
84642 grep -v '^ *+' conftest.er1 >conftest.err
84643 rm -f conftest.er1
84644 cat conftest.err >&5
84645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84646 (exit $ac_status); } &&
84647 { ac_try='test -z "$ac_cxx_werror_flag"
84648 || test ! -s conftest.err'
84649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84650 (eval $ac_try) 2>&5
84651 ac_status=$?
84652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84653 (exit $ac_status); }; } &&
84654 { ac_try='test -s conftest.$ac_objext'
84655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84656 (eval $ac_try) 2>&5
84657 ac_status=$?
84658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84659 (exit $ac_status); }; }; then
84660 glibcxx_cv_func___builtin_cosl_use=yes
84661 else
84662 echo "$as_me: failed program was:" >&5
84663 sed 's/^/| /' conftest.$ac_ext >&5
84665 glibcxx_cv_func___builtin_cosl_use=no
84667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84668 ac_ext=c
84669 ac_cpp='$CPP $CPPFLAGS'
84670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84678 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
84679 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
84680 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
84681 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
84682 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
84683 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
84684 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
84685 echo $ECHO_N "(cached) $ECHO_C" >&6
84686 else
84688 if test x$gcc_no_link = xyes; then
84689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84691 { (exit 1); exit 1; }; }
84693 cat >conftest.$ac_ext <<_ACEOF
84694 /* confdefs.h. */
84695 _ACEOF
84696 cat confdefs.h >>conftest.$ac_ext
84697 cat >>conftest.$ac_ext <<_ACEOF
84698 /* end confdefs.h. */
84699 #include <math.h>
84701 main ()
84703 __builtin_cosl(0);
84705 return 0;
84707 _ACEOF
84708 rm -f conftest.$ac_objext conftest$ac_exeext
84709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84710 (eval $ac_link) 2>conftest.er1
84711 ac_status=$?
84712 grep -v '^ *+' conftest.er1 >conftest.err
84713 rm -f conftest.er1
84714 cat conftest.err >&5
84715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84716 (exit $ac_status); } &&
84717 { ac_try='test -z "$ac_c_werror_flag"
84718 || test ! -s conftest.err'
84719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84720 (eval $ac_try) 2>&5
84721 ac_status=$?
84722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84723 (exit $ac_status); }; } &&
84724 { ac_try='test -s conftest$ac_exeext'
84725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84726 (eval $ac_try) 2>&5
84727 ac_status=$?
84728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84729 (exit $ac_status); }; }; then
84730 glibcxx_cv_func___builtin_cosl_link=yes
84731 else
84732 echo "$as_me: failed program was:" >&5
84733 sed 's/^/| /' conftest.$ac_ext >&5
84735 glibcxx_cv_func___builtin_cosl_link=no
84737 rm -f conftest.err conftest.$ac_objext \
84738 conftest$ac_exeext conftest.$ac_ext
84743 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
84744 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
84746 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
84748 cat >>confdefs.h <<\_ACEOF
84749 #define HAVE___BUILTIN_COSL 1
84750 _ACEOF
84759 echo "$as_me:$LINENO: checking for main in -lm" >&5
84760 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
84761 if test "${ac_cv_lib_m_main+set}" = set; then
84762 echo $ECHO_N "(cached) $ECHO_C" >&6
84763 else
84764 ac_check_lib_save_LIBS=$LIBS
84765 LIBS="-lm $LIBS"
84766 if test x$gcc_no_link = xyes; then
84767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84769 { (exit 1); exit 1; }; }
84771 cat >conftest.$ac_ext <<_ACEOF
84772 /* confdefs.h. */
84773 _ACEOF
84774 cat confdefs.h >>conftest.$ac_ext
84775 cat >>conftest.$ac_ext <<_ACEOF
84776 /* end confdefs.h. */
84780 main ()
84782 main ();
84784 return 0;
84786 _ACEOF
84787 rm -f conftest.$ac_objext conftest$ac_exeext
84788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84789 (eval $ac_link) 2>conftest.er1
84790 ac_status=$?
84791 grep -v '^ *+' conftest.er1 >conftest.err
84792 rm -f conftest.er1
84793 cat conftest.err >&5
84794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84795 (exit $ac_status); } &&
84796 { ac_try='test -z "$ac_c_werror_flag"
84797 || test ! -s conftest.err'
84798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84799 (eval $ac_try) 2>&5
84800 ac_status=$?
84801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84802 (exit $ac_status); }; } &&
84803 { ac_try='test -s conftest$ac_exeext'
84804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84805 (eval $ac_try) 2>&5
84806 ac_status=$?
84807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84808 (exit $ac_status); }; }; then
84809 ac_cv_lib_m_main=yes
84810 else
84811 echo "$as_me: failed program was:" >&5
84812 sed 's/^/| /' conftest.$ac_ext >&5
84814 ac_cv_lib_m_main=no
84816 rm -f conftest.err conftest.$ac_objext \
84817 conftest$ac_exeext conftest.$ac_ext
84818 LIBS=$ac_check_lib_save_LIBS
84820 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
84821 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
84822 if test $ac_cv_lib_m_main = yes; then
84823 cat >>confdefs.h <<_ACEOF
84824 #define HAVE_LIBM 1
84825 _ACEOF
84827 LIBS="-lm $LIBS"
84832 for ac_func in copysignf
84834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84835 echo "$as_me:$LINENO: checking for $ac_func" >&5
84836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84837 if eval "test \"\${$as_ac_var+set}\" = set"; then
84838 echo $ECHO_N "(cached) $ECHO_C" >&6
84839 else
84840 if test x$gcc_no_link = xyes; then
84841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84843 { (exit 1); exit 1; }; }
84845 cat >conftest.$ac_ext <<_ACEOF
84846 /* confdefs.h. */
84847 _ACEOF
84848 cat confdefs.h >>conftest.$ac_ext
84849 cat >>conftest.$ac_ext <<_ACEOF
84850 /* end confdefs.h. */
84851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84853 #define $ac_func innocuous_$ac_func
84855 /* System header to define __stub macros and hopefully few prototypes,
84856 which can conflict with char $ac_func (); below.
84857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84858 <limits.h> exists even on freestanding compilers. */
84860 #ifdef __STDC__
84861 # include <limits.h>
84862 #else
84863 # include <assert.h>
84864 #endif
84866 #undef $ac_func
84868 /* Override any gcc2 internal prototype to avoid an error. */
84869 #ifdef __cplusplus
84870 extern "C"
84872 #endif
84873 /* We use char because int might match the return type of a gcc2
84874 builtin and then its argument prototype would still apply. */
84875 char $ac_func ();
84876 /* The GNU C library defines this for functions which it implements
84877 to always fail with ENOSYS. Some functions are actually named
84878 something starting with __ and the normal name is an alias. */
84879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84880 choke me
84881 #else
84882 char (*f) () = $ac_func;
84883 #endif
84884 #ifdef __cplusplus
84886 #endif
84889 main ()
84891 return f != $ac_func;
84893 return 0;
84895 _ACEOF
84896 rm -f conftest.$ac_objext conftest$ac_exeext
84897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84898 (eval $ac_link) 2>conftest.er1
84899 ac_status=$?
84900 grep -v '^ *+' conftest.er1 >conftest.err
84901 rm -f conftest.er1
84902 cat conftest.err >&5
84903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84904 (exit $ac_status); } &&
84905 { ac_try='test -z "$ac_c_werror_flag"
84906 || test ! -s conftest.err'
84907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84908 (eval $ac_try) 2>&5
84909 ac_status=$?
84910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84911 (exit $ac_status); }; } &&
84912 { ac_try='test -s conftest$ac_exeext'
84913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84914 (eval $ac_try) 2>&5
84915 ac_status=$?
84916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84917 (exit $ac_status); }; }; then
84918 eval "$as_ac_var=yes"
84919 else
84920 echo "$as_me: failed program was:" >&5
84921 sed 's/^/| /' conftest.$ac_ext >&5
84923 eval "$as_ac_var=no"
84925 rm -f conftest.err conftest.$ac_objext \
84926 conftest$ac_exeext conftest.$ac_ext
84928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84930 if test `eval echo '${'$as_ac_var'}'` = yes; then
84931 cat >>confdefs.h <<_ACEOF
84932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84933 _ACEOF
84935 else
84936 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
84938 done
84942 for ac_func in __signbit
84944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84945 echo "$as_me:$LINENO: checking for $ac_func" >&5
84946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84947 if eval "test \"\${$as_ac_var+set}\" = set"; then
84948 echo $ECHO_N "(cached) $ECHO_C" >&6
84949 else
84950 if test x$gcc_no_link = xyes; then
84951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84953 { (exit 1); exit 1; }; }
84955 cat >conftest.$ac_ext <<_ACEOF
84956 /* confdefs.h. */
84957 _ACEOF
84958 cat confdefs.h >>conftest.$ac_ext
84959 cat >>conftest.$ac_ext <<_ACEOF
84960 /* end confdefs.h. */
84961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84963 #define $ac_func innocuous_$ac_func
84965 /* System header to define __stub macros and hopefully few prototypes,
84966 which can conflict with char $ac_func (); below.
84967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84968 <limits.h> exists even on freestanding compilers. */
84970 #ifdef __STDC__
84971 # include <limits.h>
84972 #else
84973 # include <assert.h>
84974 #endif
84976 #undef $ac_func
84978 /* Override any gcc2 internal prototype to avoid an error. */
84979 #ifdef __cplusplus
84980 extern "C"
84982 #endif
84983 /* We use char because int might match the return type of a gcc2
84984 builtin and then its argument prototype would still apply. */
84985 char $ac_func ();
84986 /* The GNU C library defines this for functions which it implements
84987 to always fail with ENOSYS. Some functions are actually named
84988 something starting with __ and the normal name is an alias. */
84989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84990 choke me
84991 #else
84992 char (*f) () = $ac_func;
84993 #endif
84994 #ifdef __cplusplus
84996 #endif
84999 main ()
85001 return f != $ac_func;
85003 return 0;
85005 _ACEOF
85006 rm -f conftest.$ac_objext conftest$ac_exeext
85007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85008 (eval $ac_link) 2>conftest.er1
85009 ac_status=$?
85010 grep -v '^ *+' conftest.er1 >conftest.err
85011 rm -f conftest.er1
85012 cat conftest.err >&5
85013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85014 (exit $ac_status); } &&
85015 { ac_try='test -z "$ac_c_werror_flag"
85016 || test ! -s conftest.err'
85017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85018 (eval $ac_try) 2>&5
85019 ac_status=$?
85020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85021 (exit $ac_status); }; } &&
85022 { ac_try='test -s conftest$ac_exeext'
85023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85024 (eval $ac_try) 2>&5
85025 ac_status=$?
85026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85027 (exit $ac_status); }; }; then
85028 eval "$as_ac_var=yes"
85029 else
85030 echo "$as_me: failed program was:" >&5
85031 sed 's/^/| /' conftest.$ac_ext >&5
85033 eval "$as_ac_var=no"
85035 rm -f conftest.err conftest.$ac_objext \
85036 conftest$ac_exeext conftest.$ac_ext
85038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85040 if test `eval echo '${'$as_ac_var'}'` = yes; then
85041 cat >>confdefs.h <<_ACEOF
85042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85043 _ACEOF
85045 else
85046 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85048 done
85052 for ac_func in __signbitf
85054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85055 echo "$as_me:$LINENO: checking for $ac_func" >&5
85056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85057 if eval "test \"\${$as_ac_var+set}\" = set"; then
85058 echo $ECHO_N "(cached) $ECHO_C" >&6
85059 else
85060 if test x$gcc_no_link = xyes; then
85061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85063 { (exit 1); exit 1; }; }
85065 cat >conftest.$ac_ext <<_ACEOF
85066 /* confdefs.h. */
85067 _ACEOF
85068 cat confdefs.h >>conftest.$ac_ext
85069 cat >>conftest.$ac_ext <<_ACEOF
85070 /* end confdefs.h. */
85071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85073 #define $ac_func innocuous_$ac_func
85075 /* System header to define __stub macros and hopefully few prototypes,
85076 which can conflict with char $ac_func (); below.
85077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85078 <limits.h> exists even on freestanding compilers. */
85080 #ifdef __STDC__
85081 # include <limits.h>
85082 #else
85083 # include <assert.h>
85084 #endif
85086 #undef $ac_func
85088 /* Override any gcc2 internal prototype to avoid an error. */
85089 #ifdef __cplusplus
85090 extern "C"
85092 #endif
85093 /* We use char because int might match the return type of a gcc2
85094 builtin and then its argument prototype would still apply. */
85095 char $ac_func ();
85096 /* The GNU C library defines this for functions which it implements
85097 to always fail with ENOSYS. Some functions are actually named
85098 something starting with __ and the normal name is an alias. */
85099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85100 choke me
85101 #else
85102 char (*f) () = $ac_func;
85103 #endif
85104 #ifdef __cplusplus
85106 #endif
85109 main ()
85111 return f != $ac_func;
85113 return 0;
85115 _ACEOF
85116 rm -f conftest.$ac_objext conftest$ac_exeext
85117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85118 (eval $ac_link) 2>conftest.er1
85119 ac_status=$?
85120 grep -v '^ *+' conftest.er1 >conftest.err
85121 rm -f conftest.er1
85122 cat conftest.err >&5
85123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85124 (exit $ac_status); } &&
85125 { ac_try='test -z "$ac_c_werror_flag"
85126 || test ! -s conftest.err'
85127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85128 (eval $ac_try) 2>&5
85129 ac_status=$?
85130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85131 (exit $ac_status); }; } &&
85132 { ac_try='test -s conftest$ac_exeext'
85133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85134 (eval $ac_try) 2>&5
85135 ac_status=$?
85136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85137 (exit $ac_status); }; }; then
85138 eval "$as_ac_var=yes"
85139 else
85140 echo "$as_me: failed program was:" >&5
85141 sed 's/^/| /' conftest.$ac_ext >&5
85143 eval "$as_ac_var=no"
85145 rm -f conftest.err conftest.$ac_objext \
85146 conftest$ac_exeext conftest.$ac_ext
85148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85150 if test `eval echo '${'$as_ac_var'}'` = yes; then
85151 cat >>confdefs.h <<_ACEOF
85152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85153 _ACEOF
85155 else
85156 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85158 done
85161 if test x$ac_cv_func_copysignl = x"yes"; then
85163 for ac_func in __signbitl
85165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85166 echo "$as_me:$LINENO: checking for $ac_func" >&5
85167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85168 if eval "test \"\${$as_ac_var+set}\" = set"; then
85169 echo $ECHO_N "(cached) $ECHO_C" >&6
85170 else
85171 if test x$gcc_no_link = xyes; then
85172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85174 { (exit 1); exit 1; }; }
85176 cat >conftest.$ac_ext <<_ACEOF
85177 /* confdefs.h. */
85178 _ACEOF
85179 cat confdefs.h >>conftest.$ac_ext
85180 cat >>conftest.$ac_ext <<_ACEOF
85181 /* end confdefs.h. */
85182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85184 #define $ac_func innocuous_$ac_func
85186 /* System header to define __stub macros and hopefully few prototypes,
85187 which can conflict with char $ac_func (); below.
85188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85189 <limits.h> exists even on freestanding compilers. */
85191 #ifdef __STDC__
85192 # include <limits.h>
85193 #else
85194 # include <assert.h>
85195 #endif
85197 #undef $ac_func
85199 /* Override any gcc2 internal prototype to avoid an error. */
85200 #ifdef __cplusplus
85201 extern "C"
85203 #endif
85204 /* We use char because int might match the return type of a gcc2
85205 builtin and then its argument prototype would still apply. */
85206 char $ac_func ();
85207 /* The GNU C library defines this for functions which it implements
85208 to always fail with ENOSYS. Some functions are actually named
85209 something starting with __ and the normal name is an alias. */
85210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85211 choke me
85212 #else
85213 char (*f) () = $ac_func;
85214 #endif
85215 #ifdef __cplusplus
85217 #endif
85220 main ()
85222 return f != $ac_func;
85224 return 0;
85226 _ACEOF
85227 rm -f conftest.$ac_objext conftest$ac_exeext
85228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85229 (eval $ac_link) 2>conftest.er1
85230 ac_status=$?
85231 grep -v '^ *+' conftest.er1 >conftest.err
85232 rm -f conftest.er1
85233 cat conftest.err >&5
85234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85235 (exit $ac_status); } &&
85236 { ac_try='test -z "$ac_c_werror_flag"
85237 || test ! -s conftest.err'
85238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85239 (eval $ac_try) 2>&5
85240 ac_status=$?
85241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85242 (exit $ac_status); }; } &&
85243 { ac_try='test -s conftest$ac_exeext'
85244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85245 (eval $ac_try) 2>&5
85246 ac_status=$?
85247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85248 (exit $ac_status); }; }; then
85249 eval "$as_ac_var=yes"
85250 else
85251 echo "$as_me: failed program was:" >&5
85252 sed 's/^/| /' conftest.$ac_ext >&5
85254 eval "$as_ac_var=no"
85256 rm -f conftest.err conftest.$ac_objext \
85257 conftest$ac_exeext conftest.$ac_ext
85259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85261 if test `eval echo '${'$as_ac_var'}'` = yes; then
85262 cat >>confdefs.h <<_ACEOF
85263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85264 _ACEOF
85266 else
85267 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85269 done
85273 # Used in libmath/Makefile.am.
85274 if test -n "$LIBMATHOBJS"; then
85275 need_libmath=yes
85280 ac_test_CXXFLAGS="${CXXFLAGS+set}"
85281 ac_save_CXXFLAGS="$CXXFLAGS"
85282 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
85285 echo "$as_me:$LINENO: checking for strtold declaration" >&5
85286 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
85287 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
85288 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
85289 echo $ECHO_N "(cached) $ECHO_C" >&6
85290 else
85294 ac_ext=cc
85295 ac_cpp='$CXXCPP $CPPFLAGS'
85296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85300 cat >conftest.$ac_ext <<_ACEOF
85301 /* confdefs.h. */
85302 _ACEOF
85303 cat confdefs.h >>conftest.$ac_ext
85304 cat >>conftest.$ac_ext <<_ACEOF
85305 /* end confdefs.h. */
85306 #include <stdlib.h>
85308 main ()
85310 strtold(0, 0);
85312 return 0;
85314 _ACEOF
85315 rm -f conftest.$ac_objext
85316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85317 (eval $ac_compile) 2>conftest.er1
85318 ac_status=$?
85319 grep -v '^ *+' conftest.er1 >conftest.err
85320 rm -f conftest.er1
85321 cat conftest.err >&5
85322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85323 (exit $ac_status); } &&
85324 { ac_try='test -z "$ac_cxx_werror_flag"
85325 || test ! -s conftest.err'
85326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85327 (eval $ac_try) 2>&5
85328 ac_status=$?
85329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85330 (exit $ac_status); }; } &&
85331 { ac_try='test -s conftest.$ac_objext'
85332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85333 (eval $ac_try) 2>&5
85334 ac_status=$?
85335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85336 (exit $ac_status); }; }; then
85337 glibcxx_cv_func_strtold_use=yes
85338 else
85339 echo "$as_me: failed program was:" >&5
85340 sed 's/^/| /' conftest.$ac_ext >&5
85342 glibcxx_cv_func_strtold_use=no
85344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85345 ac_ext=c
85346 ac_cpp='$CPP $CPPFLAGS'
85347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85355 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
85356 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
85357 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
85359 for ac_func in strtold
85361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85362 echo "$as_me:$LINENO: checking for $ac_func" >&5
85363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85364 if eval "test \"\${$as_ac_var+set}\" = set"; then
85365 echo $ECHO_N "(cached) $ECHO_C" >&6
85366 else
85367 if test x$gcc_no_link = xyes; then
85368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85370 { (exit 1); exit 1; }; }
85372 cat >conftest.$ac_ext <<_ACEOF
85373 /* confdefs.h. */
85374 _ACEOF
85375 cat confdefs.h >>conftest.$ac_ext
85376 cat >>conftest.$ac_ext <<_ACEOF
85377 /* end confdefs.h. */
85378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85380 #define $ac_func innocuous_$ac_func
85382 /* System header to define __stub macros and hopefully few prototypes,
85383 which can conflict with char $ac_func (); below.
85384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85385 <limits.h> exists even on freestanding compilers. */
85387 #ifdef __STDC__
85388 # include <limits.h>
85389 #else
85390 # include <assert.h>
85391 #endif
85393 #undef $ac_func
85395 /* Override any gcc2 internal prototype to avoid an error. */
85396 #ifdef __cplusplus
85397 extern "C"
85399 #endif
85400 /* We use char because int might match the return type of a gcc2
85401 builtin and then its argument prototype would still apply. */
85402 char $ac_func ();
85403 /* The GNU C library defines this for functions which it implements
85404 to always fail with ENOSYS. Some functions are actually named
85405 something starting with __ and the normal name is an alias. */
85406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85407 choke me
85408 #else
85409 char (*f) () = $ac_func;
85410 #endif
85411 #ifdef __cplusplus
85413 #endif
85416 main ()
85418 return f != $ac_func;
85420 return 0;
85422 _ACEOF
85423 rm -f conftest.$ac_objext conftest$ac_exeext
85424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85425 (eval $ac_link) 2>conftest.er1
85426 ac_status=$?
85427 grep -v '^ *+' conftest.er1 >conftest.err
85428 rm -f conftest.er1
85429 cat conftest.err >&5
85430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85431 (exit $ac_status); } &&
85432 { ac_try='test -z "$ac_c_werror_flag"
85433 || test ! -s conftest.err'
85434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85435 (eval $ac_try) 2>&5
85436 ac_status=$?
85437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85438 (exit $ac_status); }; } &&
85439 { ac_try='test -s conftest$ac_exeext'
85440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85441 (eval $ac_try) 2>&5
85442 ac_status=$?
85443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85444 (exit $ac_status); }; }; then
85445 eval "$as_ac_var=yes"
85446 else
85447 echo "$as_me: failed program was:" >&5
85448 sed 's/^/| /' conftest.$ac_ext >&5
85450 eval "$as_ac_var=no"
85452 rm -f conftest.err conftest.$ac_objext \
85453 conftest$ac_exeext conftest.$ac_ext
85455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85457 if test `eval echo '${'$as_ac_var'}'` = yes; then
85458 cat >>confdefs.h <<_ACEOF
85459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85460 _ACEOF
85463 done
85471 echo "$as_me:$LINENO: checking for strtof declaration" >&5
85472 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
85473 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
85474 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
85475 echo $ECHO_N "(cached) $ECHO_C" >&6
85476 else
85480 ac_ext=cc
85481 ac_cpp='$CXXCPP $CPPFLAGS'
85482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85486 cat >conftest.$ac_ext <<_ACEOF
85487 /* confdefs.h. */
85488 _ACEOF
85489 cat confdefs.h >>conftest.$ac_ext
85490 cat >>conftest.$ac_ext <<_ACEOF
85491 /* end confdefs.h. */
85492 #include <stdlib.h>
85494 main ()
85496 strtof(0, 0);
85498 return 0;
85500 _ACEOF
85501 rm -f conftest.$ac_objext
85502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85503 (eval $ac_compile) 2>conftest.er1
85504 ac_status=$?
85505 grep -v '^ *+' conftest.er1 >conftest.err
85506 rm -f conftest.er1
85507 cat conftest.err >&5
85508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85509 (exit $ac_status); } &&
85510 { ac_try='test -z "$ac_cxx_werror_flag"
85511 || test ! -s conftest.err'
85512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85513 (eval $ac_try) 2>&5
85514 ac_status=$?
85515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85516 (exit $ac_status); }; } &&
85517 { ac_try='test -s conftest.$ac_objext'
85518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85519 (eval $ac_try) 2>&5
85520 ac_status=$?
85521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85522 (exit $ac_status); }; }; then
85523 glibcxx_cv_func_strtof_use=yes
85524 else
85525 echo "$as_me: failed program was:" >&5
85526 sed 's/^/| /' conftest.$ac_ext >&5
85528 glibcxx_cv_func_strtof_use=no
85530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85531 ac_ext=c
85532 ac_cpp='$CPP $CPPFLAGS'
85533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85541 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
85542 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
85543 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
85545 for ac_func in strtof
85547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85548 echo "$as_me:$LINENO: checking for $ac_func" >&5
85549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85550 if eval "test \"\${$as_ac_var+set}\" = set"; then
85551 echo $ECHO_N "(cached) $ECHO_C" >&6
85552 else
85553 if test x$gcc_no_link = xyes; then
85554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85556 { (exit 1); exit 1; }; }
85558 cat >conftest.$ac_ext <<_ACEOF
85559 /* confdefs.h. */
85560 _ACEOF
85561 cat confdefs.h >>conftest.$ac_ext
85562 cat >>conftest.$ac_ext <<_ACEOF
85563 /* end confdefs.h. */
85564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85566 #define $ac_func innocuous_$ac_func
85568 /* System header to define __stub macros and hopefully few prototypes,
85569 which can conflict with char $ac_func (); below.
85570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85571 <limits.h> exists even on freestanding compilers. */
85573 #ifdef __STDC__
85574 # include <limits.h>
85575 #else
85576 # include <assert.h>
85577 #endif
85579 #undef $ac_func
85581 /* Override any gcc2 internal prototype to avoid an error. */
85582 #ifdef __cplusplus
85583 extern "C"
85585 #endif
85586 /* We use char because int might match the return type of a gcc2
85587 builtin and then its argument prototype would still apply. */
85588 char $ac_func ();
85589 /* The GNU C library defines this for functions which it implements
85590 to always fail with ENOSYS. Some functions are actually named
85591 something starting with __ and the normal name is an alias. */
85592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85593 choke me
85594 #else
85595 char (*f) () = $ac_func;
85596 #endif
85597 #ifdef __cplusplus
85599 #endif
85602 main ()
85604 return f != $ac_func;
85606 return 0;
85608 _ACEOF
85609 rm -f conftest.$ac_objext conftest$ac_exeext
85610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85611 (eval $ac_link) 2>conftest.er1
85612 ac_status=$?
85613 grep -v '^ *+' conftest.er1 >conftest.err
85614 rm -f conftest.er1
85615 cat conftest.err >&5
85616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85617 (exit $ac_status); } &&
85618 { ac_try='test -z "$ac_c_werror_flag"
85619 || test ! -s conftest.err'
85620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85621 (eval $ac_try) 2>&5
85622 ac_status=$?
85623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85624 (exit $ac_status); }; } &&
85625 { ac_try='test -s conftest$ac_exeext'
85626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85627 (eval $ac_try) 2>&5
85628 ac_status=$?
85629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85630 (exit $ac_status); }; }; then
85631 eval "$as_ac_var=yes"
85632 else
85633 echo "$as_me: failed program was:" >&5
85634 sed 's/^/| /' conftest.$ac_ext >&5
85636 eval "$as_ac_var=no"
85638 rm -f conftest.err conftest.$ac_objext \
85639 conftest$ac_exeext conftest.$ac_ext
85641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85643 if test `eval echo '${'$as_ac_var'}'` = yes; then
85644 cat >>confdefs.h <<_ACEOF
85645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85646 _ACEOF
85649 done
85657 CXXFLAGS="$ac_save_CXXFLAGS"
85660 # For LFS.
85661 cat >>confdefs.h <<\_ACEOF
85662 #define HAVE_INT64_T 1
85663 _ACEOF
85668 ac_ext=cc
85669 ac_cpp='$CXXCPP $CPPFLAGS'
85670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85674 ac_save_CXXFLAGS="$CXXFLAGS"
85675 CXXFLAGS="$CXXFLAGS -fno-exceptions"
85676 echo "$as_me:$LINENO: checking for LFS support" >&5
85677 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
85678 if test "${glibcxx_cv_LFS+set}" = set; then
85679 echo $ECHO_N "(cached) $ECHO_C" >&6
85680 else
85682 if test x$gcc_no_link = xyes; then
85683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85685 { (exit 1); exit 1; }; }
85687 cat >conftest.$ac_ext <<_ACEOF
85688 /* confdefs.h. */
85689 _ACEOF
85690 cat confdefs.h >>conftest.$ac_ext
85691 cat >>conftest.$ac_ext <<_ACEOF
85692 /* end confdefs.h. */
85693 #include <unistd.h>
85694 #include <stdio.h>
85695 #include <sys/stat.h>
85698 main ()
85700 FILE* fp;
85701 fopen64("t", "w");
85702 fseeko64(fp, 0, SEEK_CUR);
85703 ftello64(fp);
85704 lseek64(1, 0, SEEK_CUR);
85705 struct stat64 buf;
85706 fstat64(1, &buf);
85708 return 0;
85710 _ACEOF
85711 rm -f conftest.$ac_objext conftest$ac_exeext
85712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85713 (eval $ac_link) 2>conftest.er1
85714 ac_status=$?
85715 grep -v '^ *+' conftest.er1 >conftest.err
85716 rm -f conftest.er1
85717 cat conftest.err >&5
85718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85719 (exit $ac_status); } &&
85720 { ac_try='test -z "$ac_cxx_werror_flag"
85721 || test ! -s conftest.err'
85722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85723 (eval $ac_try) 2>&5
85724 ac_status=$?
85725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85726 (exit $ac_status); }; } &&
85727 { ac_try='test -s conftest$ac_exeext'
85728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85729 (eval $ac_try) 2>&5
85730 ac_status=$?
85731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85732 (exit $ac_status); }; }; then
85733 glibcxx_cv_LFS=yes
85734 else
85735 echo "$as_me: failed program was:" >&5
85736 sed 's/^/| /' conftest.$ac_ext >&5
85738 glibcxx_cv_LFS=no
85740 rm -f conftest.err conftest.$ac_objext \
85741 conftest$ac_exeext conftest.$ac_ext
85745 if test $glibcxx_cv_LFS = yes; then
85747 cat >>confdefs.h <<\_ACEOF
85748 #define _GLIBCXX_USE_LFS 1
85749 _ACEOF
85752 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
85753 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
85754 CXXFLAGS="$ac_save_CXXFLAGS"
85755 ac_ext=c
85756 ac_cpp='$CPP $CPPFLAGS'
85757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85763 # For showmanyc_helper().
85766 for ac_header in sys/ioctl.h sys/filio.h
85768 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85770 echo "$as_me:$LINENO: checking for $ac_header" >&5
85771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85773 echo $ECHO_N "(cached) $ECHO_C" >&6
85775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85777 else
85778 # Is the header compilable?
85779 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85780 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85781 cat >conftest.$ac_ext <<_ACEOF
85782 /* confdefs.h. */
85783 _ACEOF
85784 cat confdefs.h >>conftest.$ac_ext
85785 cat >>conftest.$ac_ext <<_ACEOF
85786 /* end confdefs.h. */
85787 $ac_includes_default
85788 #include <$ac_header>
85789 _ACEOF
85790 rm -f conftest.$ac_objext
85791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85792 (eval $ac_compile) 2>conftest.er1
85793 ac_status=$?
85794 grep -v '^ *+' conftest.er1 >conftest.err
85795 rm -f conftest.er1
85796 cat conftest.err >&5
85797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85798 (exit $ac_status); } &&
85799 { ac_try='test -z "$ac_c_werror_flag"
85800 || test ! -s conftest.err'
85801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85802 (eval $ac_try) 2>&5
85803 ac_status=$?
85804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85805 (exit $ac_status); }; } &&
85806 { ac_try='test -s conftest.$ac_objext'
85807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85808 (eval $ac_try) 2>&5
85809 ac_status=$?
85810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85811 (exit $ac_status); }; }; then
85812 ac_header_compiler=yes
85813 else
85814 echo "$as_me: failed program was:" >&5
85815 sed 's/^/| /' conftest.$ac_ext >&5
85817 ac_header_compiler=no
85819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85820 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85821 echo "${ECHO_T}$ac_header_compiler" >&6
85823 # Is the header present?
85824 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85825 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85826 cat >conftest.$ac_ext <<_ACEOF
85827 /* confdefs.h. */
85828 _ACEOF
85829 cat confdefs.h >>conftest.$ac_ext
85830 cat >>conftest.$ac_ext <<_ACEOF
85831 /* end confdefs.h. */
85832 #include <$ac_header>
85833 _ACEOF
85834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85835 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85836 ac_status=$?
85837 grep -v '^ *+' conftest.er1 >conftest.err
85838 rm -f conftest.er1
85839 cat conftest.err >&5
85840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85841 (exit $ac_status); } >/dev/null; then
85842 if test -s conftest.err; then
85843 ac_cpp_err=$ac_c_preproc_warn_flag
85844 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85845 else
85846 ac_cpp_err=
85848 else
85849 ac_cpp_err=yes
85851 if test -z "$ac_cpp_err"; then
85852 ac_header_preproc=yes
85853 else
85854 echo "$as_me: failed program was:" >&5
85855 sed 's/^/| /' conftest.$ac_ext >&5
85857 ac_header_preproc=no
85859 rm -f conftest.err conftest.$ac_ext
85860 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85861 echo "${ECHO_T}$ac_header_preproc" >&6
85863 # So? What about this header?
85864 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85865 yes:no: )
85866 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85867 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85868 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85869 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85870 ac_header_preproc=yes
85872 no:yes:* )
85873 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85874 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85875 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85876 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85877 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85878 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85879 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85880 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85882 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85883 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85884 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85886 cat <<\_ASBOX
85887 ## ----------------------------------------- ##
85888 ## Report this to the package-unused lists. ##
85889 ## ----------------------------------------- ##
85890 _ASBOX
85892 sed "s/^/$as_me: WARNING: /" >&2
85894 esac
85895 echo "$as_me:$LINENO: checking for $ac_header" >&5
85896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85898 echo $ECHO_N "(cached) $ECHO_C" >&6
85899 else
85900 eval "$as_ac_Header=\$ac_header_preproc"
85902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85907 cat >>confdefs.h <<_ACEOF
85908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85909 _ACEOF
85913 done
85916 echo "$as_me:$LINENO: checking for poll" >&5
85917 echo $ECHO_N "checking for poll... $ECHO_C" >&6
85918 if test "${glibcxx_cv_POLL+set}" = set; then
85919 echo $ECHO_N "(cached) $ECHO_C" >&6
85920 else
85922 if test x$gcc_no_link = xyes; then
85923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85925 { (exit 1); exit 1; }; }
85927 cat >conftest.$ac_ext <<_ACEOF
85928 /* confdefs.h. */
85929 _ACEOF
85930 cat confdefs.h >>conftest.$ac_ext
85931 cat >>conftest.$ac_ext <<_ACEOF
85932 /* end confdefs.h. */
85933 #include <poll.h>
85935 main ()
85937 struct pollfd pfd[1];
85938 pfd[0].events = POLLIN;
85939 poll(pfd, 1, 0);
85941 return 0;
85943 _ACEOF
85944 rm -f conftest.$ac_objext conftest$ac_exeext
85945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85946 (eval $ac_link) 2>conftest.er1
85947 ac_status=$?
85948 grep -v '^ *+' conftest.er1 >conftest.err
85949 rm -f conftest.er1
85950 cat conftest.err >&5
85951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85952 (exit $ac_status); } &&
85953 { ac_try='test -z "$ac_c_werror_flag"
85954 || test ! -s conftest.err'
85955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85956 (eval $ac_try) 2>&5
85957 ac_status=$?
85958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85959 (exit $ac_status); }; } &&
85960 { ac_try='test -s conftest$ac_exeext'
85961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85962 (eval $ac_try) 2>&5
85963 ac_status=$?
85964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85965 (exit $ac_status); }; }; then
85966 glibcxx_cv_POLL=yes
85967 else
85968 echo "$as_me: failed program was:" >&5
85969 sed 's/^/| /' conftest.$ac_ext >&5
85971 glibcxx_cv_POLL=no
85973 rm -f conftest.err conftest.$ac_objext \
85974 conftest$ac_exeext conftest.$ac_ext
85978 if test $glibcxx_cv_POLL = yes; then
85980 cat >>confdefs.h <<\_ACEOF
85981 #define HAVE_POLL 1
85982 _ACEOF
85985 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
85986 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
85989 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
85990 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
85991 if test "${glibcxx_cv_S_ISREG+set}" = set; then
85992 echo $ECHO_N "(cached) $ECHO_C" >&6
85993 else
85995 if test x$gcc_no_link = xyes; then
85996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85998 { (exit 1); exit 1; }; }
86000 cat >conftest.$ac_ext <<_ACEOF
86001 /* confdefs.h. */
86002 _ACEOF
86003 cat confdefs.h >>conftest.$ac_ext
86004 cat >>conftest.$ac_ext <<_ACEOF
86005 /* end confdefs.h. */
86006 #include <sys/stat.h>
86008 main ()
86010 struct stat buffer;
86011 fstat(0, &buffer);
86012 S_ISREG(buffer.st_mode);
86014 return 0;
86016 _ACEOF
86017 rm -f conftest.$ac_objext conftest$ac_exeext
86018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86019 (eval $ac_link) 2>conftest.er1
86020 ac_status=$?
86021 grep -v '^ *+' conftest.er1 >conftest.err
86022 rm -f conftest.er1
86023 cat conftest.err >&5
86024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86025 (exit $ac_status); } &&
86026 { ac_try='test -z "$ac_c_werror_flag"
86027 || test ! -s conftest.err'
86028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86029 (eval $ac_try) 2>&5
86030 ac_status=$?
86031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86032 (exit $ac_status); }; } &&
86033 { ac_try='test -s conftest$ac_exeext'
86034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86035 (eval $ac_try) 2>&5
86036 ac_status=$?
86037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86038 (exit $ac_status); }; }; then
86039 glibcxx_cv_S_ISREG=yes
86040 else
86041 echo "$as_me: failed program was:" >&5
86042 sed 's/^/| /' conftest.$ac_ext >&5
86044 glibcxx_cv_S_ISREG=no
86046 rm -f conftest.err conftest.$ac_objext \
86047 conftest$ac_exeext conftest.$ac_ext
86051 if test "${glibcxx_cv_S_IFREG+set}" = set; then
86052 echo $ECHO_N "(cached) $ECHO_C" >&6
86053 else
86055 if test x$gcc_no_link = xyes; then
86056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86058 { (exit 1); exit 1; }; }
86060 cat >conftest.$ac_ext <<_ACEOF
86061 /* confdefs.h. */
86062 _ACEOF
86063 cat confdefs.h >>conftest.$ac_ext
86064 cat >>conftest.$ac_ext <<_ACEOF
86065 /* end confdefs.h. */
86066 #include <sys/stat.h>
86068 main ()
86070 struct stat buffer;
86071 fstat(0, &buffer);
86072 S_IFREG & buffer.st_mode;
86074 return 0;
86076 _ACEOF
86077 rm -f conftest.$ac_objext conftest$ac_exeext
86078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86079 (eval $ac_link) 2>conftest.er1
86080 ac_status=$?
86081 grep -v '^ *+' conftest.er1 >conftest.err
86082 rm -f conftest.er1
86083 cat conftest.err >&5
86084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86085 (exit $ac_status); } &&
86086 { ac_try='test -z "$ac_c_werror_flag"
86087 || test ! -s conftest.err'
86088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86089 (eval $ac_try) 2>&5
86090 ac_status=$?
86091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86092 (exit $ac_status); }; } &&
86093 { ac_try='test -s conftest$ac_exeext'
86094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86095 (eval $ac_try) 2>&5
86096 ac_status=$?
86097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86098 (exit $ac_status); }; }; then
86099 glibcxx_cv_S_IFREG=yes
86100 else
86101 echo "$as_me: failed program was:" >&5
86102 sed 's/^/| /' conftest.$ac_ext >&5
86104 glibcxx_cv_S_IFREG=no
86106 rm -f conftest.err conftest.$ac_objext \
86107 conftest$ac_exeext conftest.$ac_ext
86111 res=no
86112 if test $glibcxx_cv_S_ISREG = yes; then
86114 cat >>confdefs.h <<\_ACEOF
86115 #define HAVE_S_ISREG 1
86116 _ACEOF
86118 res=S_ISREG
86119 elif test $glibcxx_cv_S_IFREG = yes; then
86121 cat >>confdefs.h <<\_ACEOF
86122 #define HAVE_S_IFREG 1
86123 _ACEOF
86125 res=S_IFREG
86127 echo "$as_me:$LINENO: result: $res" >&5
86128 echo "${ECHO_T}$res" >&6
86131 # For xsputn_2().
86133 for ac_header in sys/uio.h
86135 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86137 echo "$as_me:$LINENO: checking for $ac_header" >&5
86138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86140 echo $ECHO_N "(cached) $ECHO_C" >&6
86142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86144 else
86145 # Is the header compilable?
86146 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86147 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86148 cat >conftest.$ac_ext <<_ACEOF
86149 /* confdefs.h. */
86150 _ACEOF
86151 cat confdefs.h >>conftest.$ac_ext
86152 cat >>conftest.$ac_ext <<_ACEOF
86153 /* end confdefs.h. */
86154 $ac_includes_default
86155 #include <$ac_header>
86156 _ACEOF
86157 rm -f conftest.$ac_objext
86158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86159 (eval $ac_compile) 2>conftest.er1
86160 ac_status=$?
86161 grep -v '^ *+' conftest.er1 >conftest.err
86162 rm -f conftest.er1
86163 cat conftest.err >&5
86164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86165 (exit $ac_status); } &&
86166 { ac_try='test -z "$ac_c_werror_flag"
86167 || test ! -s conftest.err'
86168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86169 (eval $ac_try) 2>&5
86170 ac_status=$?
86171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86172 (exit $ac_status); }; } &&
86173 { ac_try='test -s conftest.$ac_objext'
86174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86175 (eval $ac_try) 2>&5
86176 ac_status=$?
86177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86178 (exit $ac_status); }; }; then
86179 ac_header_compiler=yes
86180 else
86181 echo "$as_me: failed program was:" >&5
86182 sed 's/^/| /' conftest.$ac_ext >&5
86184 ac_header_compiler=no
86186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86187 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86188 echo "${ECHO_T}$ac_header_compiler" >&6
86190 # Is the header present?
86191 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86192 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86193 cat >conftest.$ac_ext <<_ACEOF
86194 /* confdefs.h. */
86195 _ACEOF
86196 cat confdefs.h >>conftest.$ac_ext
86197 cat >>conftest.$ac_ext <<_ACEOF
86198 /* end confdefs.h. */
86199 #include <$ac_header>
86200 _ACEOF
86201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86202 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86203 ac_status=$?
86204 grep -v '^ *+' conftest.er1 >conftest.err
86205 rm -f conftest.er1
86206 cat conftest.err >&5
86207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86208 (exit $ac_status); } >/dev/null; then
86209 if test -s conftest.err; then
86210 ac_cpp_err=$ac_c_preproc_warn_flag
86211 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86212 else
86213 ac_cpp_err=
86215 else
86216 ac_cpp_err=yes
86218 if test -z "$ac_cpp_err"; then
86219 ac_header_preproc=yes
86220 else
86221 echo "$as_me: failed program was:" >&5
86222 sed 's/^/| /' conftest.$ac_ext >&5
86224 ac_header_preproc=no
86226 rm -f conftest.err conftest.$ac_ext
86227 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86228 echo "${ECHO_T}$ac_header_preproc" >&6
86230 # So? What about this header?
86231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86232 yes:no: )
86233 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86234 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86236 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86237 ac_header_preproc=yes
86239 no:yes:* )
86240 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86241 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86242 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86243 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86244 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86245 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86246 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86247 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86249 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86250 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86251 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86253 cat <<\_ASBOX
86254 ## ----------------------------------------- ##
86255 ## Report this to the package-unused lists. ##
86256 ## ----------------------------------------- ##
86257 _ASBOX
86259 sed "s/^/$as_me: WARNING: /" >&2
86261 esac
86262 echo "$as_me:$LINENO: checking for $ac_header" >&5
86263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86265 echo $ECHO_N "(cached) $ECHO_C" >&6
86266 else
86267 eval "$as_ac_Header=\$ac_header_preproc"
86269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86270 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86274 cat >>confdefs.h <<_ACEOF
86275 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86276 _ACEOF
86280 done
86283 echo "$as_me:$LINENO: checking for writev" >&5
86284 echo $ECHO_N "checking for writev... $ECHO_C" >&6
86285 if test "${glibcxx_cv_WRITEV+set}" = set; then
86286 echo $ECHO_N "(cached) $ECHO_C" >&6
86287 else
86289 if test x$gcc_no_link = xyes; then
86290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86292 { (exit 1); exit 1; }; }
86294 cat >conftest.$ac_ext <<_ACEOF
86295 /* confdefs.h. */
86296 _ACEOF
86297 cat confdefs.h >>conftest.$ac_ext
86298 cat >>conftest.$ac_ext <<_ACEOF
86299 /* end confdefs.h. */
86300 #include <sys/uio.h>
86302 main ()
86304 struct iovec iov[2];
86305 writev(0, iov, 0);
86307 return 0;
86309 _ACEOF
86310 rm -f conftest.$ac_objext conftest$ac_exeext
86311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86312 (eval $ac_link) 2>conftest.er1
86313 ac_status=$?
86314 grep -v '^ *+' conftest.er1 >conftest.err
86315 rm -f conftest.er1
86316 cat conftest.err >&5
86317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86318 (exit $ac_status); } &&
86319 { ac_try='test -z "$ac_c_werror_flag"
86320 || test ! -s conftest.err'
86321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86322 (eval $ac_try) 2>&5
86323 ac_status=$?
86324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86325 (exit $ac_status); }; } &&
86326 { ac_try='test -s conftest$ac_exeext'
86327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86328 (eval $ac_try) 2>&5
86329 ac_status=$?
86330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86331 (exit $ac_status); }; }; then
86332 glibcxx_cv_WRITEV=yes
86333 else
86334 echo "$as_me: failed program was:" >&5
86335 sed 's/^/| /' conftest.$ac_ext >&5
86337 glibcxx_cv_WRITEV=no
86339 rm -f conftest.err conftest.$ac_objext \
86340 conftest$ac_exeext conftest.$ac_ext
86344 if test $glibcxx_cv_WRITEV = yes; then
86346 cat >>confdefs.h <<\_ACEOF
86347 #define HAVE_WRITEV 1
86348 _ACEOF
86351 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
86352 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
86355 *-mingw32*)
86359 for ac_header in sys/types.h locale.h float.h
86361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86363 echo "$as_me:$LINENO: checking for $ac_header" >&5
86364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86366 echo $ECHO_N "(cached) $ECHO_C" >&6
86368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86369 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86370 else
86371 # Is the header compilable?
86372 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86373 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86374 cat >conftest.$ac_ext <<_ACEOF
86375 /* confdefs.h. */
86376 _ACEOF
86377 cat confdefs.h >>conftest.$ac_ext
86378 cat >>conftest.$ac_ext <<_ACEOF
86379 /* end confdefs.h. */
86380 $ac_includes_default
86381 #include <$ac_header>
86382 _ACEOF
86383 rm -f conftest.$ac_objext
86384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86385 (eval $ac_compile) 2>conftest.er1
86386 ac_status=$?
86387 grep -v '^ *+' conftest.er1 >conftest.err
86388 rm -f conftest.er1
86389 cat conftest.err >&5
86390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86391 (exit $ac_status); } &&
86392 { ac_try='test -z "$ac_c_werror_flag"
86393 || test ! -s conftest.err'
86394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86395 (eval $ac_try) 2>&5
86396 ac_status=$?
86397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86398 (exit $ac_status); }; } &&
86399 { ac_try='test -s conftest.$ac_objext'
86400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86401 (eval $ac_try) 2>&5
86402 ac_status=$?
86403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86404 (exit $ac_status); }; }; then
86405 ac_header_compiler=yes
86406 else
86407 echo "$as_me: failed program was:" >&5
86408 sed 's/^/| /' conftest.$ac_ext >&5
86410 ac_header_compiler=no
86412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86413 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86414 echo "${ECHO_T}$ac_header_compiler" >&6
86416 # Is the header present?
86417 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86418 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86419 cat >conftest.$ac_ext <<_ACEOF
86420 /* confdefs.h. */
86421 _ACEOF
86422 cat confdefs.h >>conftest.$ac_ext
86423 cat >>conftest.$ac_ext <<_ACEOF
86424 /* end confdefs.h. */
86425 #include <$ac_header>
86426 _ACEOF
86427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86428 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86429 ac_status=$?
86430 grep -v '^ *+' conftest.er1 >conftest.err
86431 rm -f conftest.er1
86432 cat conftest.err >&5
86433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86434 (exit $ac_status); } >/dev/null; then
86435 if test -s conftest.err; then
86436 ac_cpp_err=$ac_c_preproc_warn_flag
86437 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86438 else
86439 ac_cpp_err=
86441 else
86442 ac_cpp_err=yes
86444 if test -z "$ac_cpp_err"; then
86445 ac_header_preproc=yes
86446 else
86447 echo "$as_me: failed program was:" >&5
86448 sed 's/^/| /' conftest.$ac_ext >&5
86450 ac_header_preproc=no
86452 rm -f conftest.err conftest.$ac_ext
86453 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86454 echo "${ECHO_T}$ac_header_preproc" >&6
86456 # So? What about this header?
86457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86458 yes:no: )
86459 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86460 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86462 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86463 ac_header_preproc=yes
86465 no:yes:* )
86466 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86467 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86468 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86469 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86470 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86471 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86472 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86473 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86475 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86476 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86477 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86479 cat <<\_ASBOX
86480 ## ----------------------------------------- ##
86481 ## Report this to the package-unused lists. ##
86482 ## ----------------------------------------- ##
86483 _ASBOX
86485 sed "s/^/$as_me: WARNING: /" >&2
86487 esac
86488 echo "$as_me:$LINENO: checking for $ac_header" >&5
86489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86491 echo $ECHO_N "(cached) $ECHO_C" >&6
86492 else
86493 eval "$as_ac_Header=\$ac_header_preproc"
86495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86500 cat >>confdefs.h <<_ACEOF
86501 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86502 _ACEOF
86506 done
86509 # If we're not using GNU ld, then there's no point in even trying these
86510 # tests. Check for that first. We should have already tested for gld
86511 # by now (in libtool), but require it now just to be safe...
86512 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86513 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86517 # The name set by libtool depends on the version of libtool. Shame on us
86518 # for depending on an impl detail, but c'est la vie. Older versions used
86519 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86520 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86521 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86522 # set (hence we're using an older libtool), then set it.
86523 if test x${with_gnu_ld+set} != xset; then
86524 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86525 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86526 with_gnu_ld=no
86527 else
86528 with_gnu_ld=$ac_cv_prog_gnu_ld
86532 # Start by getting the version number. I think the libtool test already
86533 # does some of this, but throws away the result.
86534 if test x"$with_gnu_ld" = x"yes"; then
86535 echo "$as_me:$LINENO: checking for ld version" >&5
86536 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86538 ldver=`$LD --version 2>/dev/null | head -1 | \
86539 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
86541 glibcxx_gnu_ld_version=`echo $ldver | \
86542 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86543 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86544 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86547 # Set --gc-sections.
86548 glibcxx_gcsections_min_ld=21602
86549 if test x"$with_gnu_ld" = x"yes" &&
86550 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86552 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
86553 # NB: This flag only works reliably after 2.16.1. Configure tests
86554 # for this are difficult, so hard wire a value that should work.
86556 ac_test_CFLAGS="${CFLAGS+set}"
86557 ac_save_CFLAGS="$CFLAGS"
86558 CFLAGS='-Wl,--gc-sections'
86560 # Check for -Wl,--gc-sections
86561 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86562 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86563 if test x$gcc_no_link = xyes; then
86564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86566 { (exit 1); exit 1; }; }
86568 cat >conftest.$ac_ext <<_ACEOF
86569 /* confdefs.h. */
86570 _ACEOF
86571 cat confdefs.h >>conftest.$ac_ext
86572 cat >>conftest.$ac_ext <<_ACEOF
86573 /* end confdefs.h. */
86574 int one(void) { return 1; }
86575 int two(void) { return 2; }
86578 main ()
86580 two();
86582 return 0;
86584 _ACEOF
86585 rm -f conftest.$ac_objext conftest$ac_exeext
86586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86587 (eval $ac_link) 2>conftest.er1
86588 ac_status=$?
86589 grep -v '^ *+' conftest.er1 >conftest.err
86590 rm -f conftest.er1
86591 cat conftest.err >&5
86592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86593 (exit $ac_status); } &&
86594 { ac_try='test -z "$ac_c_werror_flag"
86595 || test ! -s conftest.err'
86596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86597 (eval $ac_try) 2>&5
86598 ac_status=$?
86599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86600 (exit $ac_status); }; } &&
86601 { ac_try='test -s conftest$ac_exeext'
86602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86603 (eval $ac_try) 2>&5
86604 ac_status=$?
86605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86606 (exit $ac_status); }; }; then
86607 ac_gcsections=yes
86608 else
86609 echo "$as_me: failed program was:" >&5
86610 sed 's/^/| /' conftest.$ac_ext >&5
86612 ac_gcsections=no
86614 rm -f conftest.err conftest.$ac_objext \
86615 conftest$ac_exeext conftest.$ac_ext
86616 if test "$ac_gcsections" = "yes"; then
86617 rm -f conftest.c
86618 touch conftest.c
86619 if $CC -c conftest.c; then
86620 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86621 grep "Warning: gc-sections option ignored" > /dev/null; then
86622 ac_gcsections=no
86625 rm -f conftest.c conftest.o conftest
86627 if test "$ac_gcsections" = "yes"; then
86628 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86630 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86631 echo "${ECHO_T}$ac_gcsections" >&6
86633 if test "$ac_test_CFLAGS" = set; then
86634 CFLAGS="$ac_save_CFLAGS"
86635 else
86636 # this is the suspicious part
86637 CFLAGS=''
86641 # Set -z,relro.
86642 # Note this is only for shared objects.
86643 ac_ld_relro=no
86644 if test x"$with_gnu_ld" = x"yes"; then
86645 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86646 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86647 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86648 if test -n "$cxx_z_relo"; then
86649 OPT_LDFLAGS="-Wl,-z,relro"
86650 ac_ld_relro=yes
86652 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86653 echo "${ECHO_T}$ac_ld_relro" >&6
86656 # Set linker optimization flags.
86657 if test x"$with_gnu_ld" = x"yes"; then
86658 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86666 echo "$as_me:$LINENO: checking for main in -lm" >&5
86667 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86668 if test "${ac_cv_lib_m_main+set}" = set; then
86669 echo $ECHO_N "(cached) $ECHO_C" >&6
86670 else
86671 ac_check_lib_save_LIBS=$LIBS
86672 LIBS="-lm $LIBS"
86673 if test x$gcc_no_link = xyes; then
86674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86676 { (exit 1); exit 1; }; }
86678 cat >conftest.$ac_ext <<_ACEOF
86679 /* confdefs.h. */
86680 _ACEOF
86681 cat confdefs.h >>conftest.$ac_ext
86682 cat >>conftest.$ac_ext <<_ACEOF
86683 /* end confdefs.h. */
86687 main ()
86689 main ();
86691 return 0;
86693 _ACEOF
86694 rm -f conftest.$ac_objext conftest$ac_exeext
86695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86696 (eval $ac_link) 2>conftest.er1
86697 ac_status=$?
86698 grep -v '^ *+' conftest.er1 >conftest.err
86699 rm -f conftest.er1
86700 cat conftest.err >&5
86701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86702 (exit $ac_status); } &&
86703 { ac_try='test -z "$ac_c_werror_flag"
86704 || test ! -s conftest.err'
86705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86706 (eval $ac_try) 2>&5
86707 ac_status=$?
86708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86709 (exit $ac_status); }; } &&
86710 { ac_try='test -s conftest$ac_exeext'
86711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86712 (eval $ac_try) 2>&5
86713 ac_status=$?
86714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86715 (exit $ac_status); }; }; then
86716 ac_cv_lib_m_main=yes
86717 else
86718 echo "$as_me: failed program was:" >&5
86719 sed 's/^/| /' conftest.$ac_ext >&5
86721 ac_cv_lib_m_main=no
86723 rm -f conftest.err conftest.$ac_objext \
86724 conftest$ac_exeext conftest.$ac_ext
86725 LIBS=$ac_check_lib_save_LIBS
86727 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86728 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86729 if test $ac_cv_lib_m_main = yes; then
86730 cat >>confdefs.h <<_ACEOF
86731 #define HAVE_LIBM 1
86732 _ACEOF
86734 LIBS="-lm $LIBS"
86739 for ac_func in copysignf
86741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86742 echo "$as_me:$LINENO: checking for $ac_func" >&5
86743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86744 if eval "test \"\${$as_ac_var+set}\" = set"; then
86745 echo $ECHO_N "(cached) $ECHO_C" >&6
86746 else
86747 if test x$gcc_no_link = xyes; then
86748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86750 { (exit 1); exit 1; }; }
86752 cat >conftest.$ac_ext <<_ACEOF
86753 /* confdefs.h. */
86754 _ACEOF
86755 cat confdefs.h >>conftest.$ac_ext
86756 cat >>conftest.$ac_ext <<_ACEOF
86757 /* end confdefs.h. */
86758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86760 #define $ac_func innocuous_$ac_func
86762 /* System header to define __stub macros and hopefully few prototypes,
86763 which can conflict with char $ac_func (); below.
86764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86765 <limits.h> exists even on freestanding compilers. */
86767 #ifdef __STDC__
86768 # include <limits.h>
86769 #else
86770 # include <assert.h>
86771 #endif
86773 #undef $ac_func
86775 /* Override any gcc2 internal prototype to avoid an error. */
86776 #ifdef __cplusplus
86777 extern "C"
86779 #endif
86780 /* We use char because int might match the return type of a gcc2
86781 builtin and then its argument prototype would still apply. */
86782 char $ac_func ();
86783 /* The GNU C library defines this for functions which it implements
86784 to always fail with ENOSYS. Some functions are actually named
86785 something starting with __ and the normal name is an alias. */
86786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86787 choke me
86788 #else
86789 char (*f) () = $ac_func;
86790 #endif
86791 #ifdef __cplusplus
86793 #endif
86796 main ()
86798 return f != $ac_func;
86800 return 0;
86802 _ACEOF
86803 rm -f conftest.$ac_objext conftest$ac_exeext
86804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86805 (eval $ac_link) 2>conftest.er1
86806 ac_status=$?
86807 grep -v '^ *+' conftest.er1 >conftest.err
86808 rm -f conftest.er1
86809 cat conftest.err >&5
86810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86811 (exit $ac_status); } &&
86812 { ac_try='test -z "$ac_c_werror_flag"
86813 || test ! -s conftest.err'
86814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86815 (eval $ac_try) 2>&5
86816 ac_status=$?
86817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86818 (exit $ac_status); }; } &&
86819 { ac_try='test -s conftest$ac_exeext'
86820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86821 (eval $ac_try) 2>&5
86822 ac_status=$?
86823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86824 (exit $ac_status); }; }; then
86825 eval "$as_ac_var=yes"
86826 else
86827 echo "$as_me: failed program was:" >&5
86828 sed 's/^/| /' conftest.$ac_ext >&5
86830 eval "$as_ac_var=no"
86832 rm -f conftest.err conftest.$ac_objext \
86833 conftest$ac_exeext conftest.$ac_ext
86835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86837 if test `eval echo '${'$as_ac_var'}'` = yes; then
86838 cat >>confdefs.h <<_ACEOF
86839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86840 _ACEOF
86842 else
86843 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86845 done
86849 for ac_func in __signbit
86851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86852 echo "$as_me:$LINENO: checking for $ac_func" >&5
86853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86854 if eval "test \"\${$as_ac_var+set}\" = set"; then
86855 echo $ECHO_N "(cached) $ECHO_C" >&6
86856 else
86857 if test x$gcc_no_link = xyes; then
86858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86860 { (exit 1); exit 1; }; }
86862 cat >conftest.$ac_ext <<_ACEOF
86863 /* confdefs.h. */
86864 _ACEOF
86865 cat confdefs.h >>conftest.$ac_ext
86866 cat >>conftest.$ac_ext <<_ACEOF
86867 /* end confdefs.h. */
86868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86870 #define $ac_func innocuous_$ac_func
86872 /* System header to define __stub macros and hopefully few prototypes,
86873 which can conflict with char $ac_func (); below.
86874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86875 <limits.h> exists even on freestanding compilers. */
86877 #ifdef __STDC__
86878 # include <limits.h>
86879 #else
86880 # include <assert.h>
86881 #endif
86883 #undef $ac_func
86885 /* Override any gcc2 internal prototype to avoid an error. */
86886 #ifdef __cplusplus
86887 extern "C"
86889 #endif
86890 /* We use char because int might match the return type of a gcc2
86891 builtin and then its argument prototype would still apply. */
86892 char $ac_func ();
86893 /* The GNU C library defines this for functions which it implements
86894 to always fail with ENOSYS. Some functions are actually named
86895 something starting with __ and the normal name is an alias. */
86896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86897 choke me
86898 #else
86899 char (*f) () = $ac_func;
86900 #endif
86901 #ifdef __cplusplus
86903 #endif
86906 main ()
86908 return f != $ac_func;
86910 return 0;
86912 _ACEOF
86913 rm -f conftest.$ac_objext conftest$ac_exeext
86914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86915 (eval $ac_link) 2>conftest.er1
86916 ac_status=$?
86917 grep -v '^ *+' conftest.er1 >conftest.err
86918 rm -f conftest.er1
86919 cat conftest.err >&5
86920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86921 (exit $ac_status); } &&
86922 { ac_try='test -z "$ac_c_werror_flag"
86923 || test ! -s conftest.err'
86924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86925 (eval $ac_try) 2>&5
86926 ac_status=$?
86927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86928 (exit $ac_status); }; } &&
86929 { ac_try='test -s conftest$ac_exeext'
86930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86931 (eval $ac_try) 2>&5
86932 ac_status=$?
86933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86934 (exit $ac_status); }; }; then
86935 eval "$as_ac_var=yes"
86936 else
86937 echo "$as_me: failed program was:" >&5
86938 sed 's/^/| /' conftest.$ac_ext >&5
86940 eval "$as_ac_var=no"
86942 rm -f conftest.err conftest.$ac_objext \
86943 conftest$ac_exeext conftest.$ac_ext
86945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86947 if test `eval echo '${'$as_ac_var'}'` = yes; then
86948 cat >>confdefs.h <<_ACEOF
86949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86950 _ACEOF
86952 else
86953 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86955 done
86959 for ac_func in __signbitf
86961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86962 echo "$as_me:$LINENO: checking for $ac_func" >&5
86963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86964 if eval "test \"\${$as_ac_var+set}\" = set"; then
86965 echo $ECHO_N "(cached) $ECHO_C" >&6
86966 else
86967 if test x$gcc_no_link = xyes; then
86968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86970 { (exit 1); exit 1; }; }
86972 cat >conftest.$ac_ext <<_ACEOF
86973 /* confdefs.h. */
86974 _ACEOF
86975 cat confdefs.h >>conftest.$ac_ext
86976 cat >>conftest.$ac_ext <<_ACEOF
86977 /* end confdefs.h. */
86978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86980 #define $ac_func innocuous_$ac_func
86982 /* System header to define __stub macros and hopefully few prototypes,
86983 which can conflict with char $ac_func (); below.
86984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86985 <limits.h> exists even on freestanding compilers. */
86987 #ifdef __STDC__
86988 # include <limits.h>
86989 #else
86990 # include <assert.h>
86991 #endif
86993 #undef $ac_func
86995 /* Override any gcc2 internal prototype to avoid an error. */
86996 #ifdef __cplusplus
86997 extern "C"
86999 #endif
87000 /* We use char because int might match the return type of a gcc2
87001 builtin and then its argument prototype would still apply. */
87002 char $ac_func ();
87003 /* The GNU C library defines this for functions which it implements
87004 to always fail with ENOSYS. Some functions are actually named
87005 something starting with __ and the normal name is an alias. */
87006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87007 choke me
87008 #else
87009 char (*f) () = $ac_func;
87010 #endif
87011 #ifdef __cplusplus
87013 #endif
87016 main ()
87018 return f != $ac_func;
87020 return 0;
87022 _ACEOF
87023 rm -f conftest.$ac_objext conftest$ac_exeext
87024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87025 (eval $ac_link) 2>conftest.er1
87026 ac_status=$?
87027 grep -v '^ *+' conftest.er1 >conftest.err
87028 rm -f conftest.er1
87029 cat conftest.err >&5
87030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87031 (exit $ac_status); } &&
87032 { ac_try='test -z "$ac_c_werror_flag"
87033 || test ! -s conftest.err'
87034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87035 (eval $ac_try) 2>&5
87036 ac_status=$?
87037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87038 (exit $ac_status); }; } &&
87039 { ac_try='test -s conftest$ac_exeext'
87040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87041 (eval $ac_try) 2>&5
87042 ac_status=$?
87043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87044 (exit $ac_status); }; }; then
87045 eval "$as_ac_var=yes"
87046 else
87047 echo "$as_me: failed program was:" >&5
87048 sed 's/^/| /' conftest.$ac_ext >&5
87050 eval "$as_ac_var=no"
87052 rm -f conftest.err conftest.$ac_objext \
87053 conftest$ac_exeext conftest.$ac_ext
87055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87057 if test `eval echo '${'$as_ac_var'}'` = yes; then
87058 cat >>confdefs.h <<_ACEOF
87059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87060 _ACEOF
87062 else
87063 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87065 done
87068 if test x$ac_cv_func_copysignl = x"yes"; then
87070 for ac_func in __signbitl
87072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87073 echo "$as_me:$LINENO: checking for $ac_func" >&5
87074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87075 if eval "test \"\${$as_ac_var+set}\" = set"; then
87076 echo $ECHO_N "(cached) $ECHO_C" >&6
87077 else
87078 if test x$gcc_no_link = xyes; then
87079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87081 { (exit 1); exit 1; }; }
87083 cat >conftest.$ac_ext <<_ACEOF
87084 /* confdefs.h. */
87085 _ACEOF
87086 cat confdefs.h >>conftest.$ac_ext
87087 cat >>conftest.$ac_ext <<_ACEOF
87088 /* end confdefs.h. */
87089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87091 #define $ac_func innocuous_$ac_func
87093 /* System header to define __stub macros and hopefully few prototypes,
87094 which can conflict with char $ac_func (); below.
87095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87096 <limits.h> exists even on freestanding compilers. */
87098 #ifdef __STDC__
87099 # include <limits.h>
87100 #else
87101 # include <assert.h>
87102 #endif
87104 #undef $ac_func
87106 /* Override any gcc2 internal prototype to avoid an error. */
87107 #ifdef __cplusplus
87108 extern "C"
87110 #endif
87111 /* We use char because int might match the return type of a gcc2
87112 builtin and then its argument prototype would still apply. */
87113 char $ac_func ();
87114 /* The GNU C library defines this for functions which it implements
87115 to always fail with ENOSYS. Some functions are actually named
87116 something starting with __ and the normal name is an alias. */
87117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87118 choke me
87119 #else
87120 char (*f) () = $ac_func;
87121 #endif
87122 #ifdef __cplusplus
87124 #endif
87127 main ()
87129 return f != $ac_func;
87131 return 0;
87133 _ACEOF
87134 rm -f conftest.$ac_objext conftest$ac_exeext
87135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87136 (eval $ac_link) 2>conftest.er1
87137 ac_status=$?
87138 grep -v '^ *+' conftest.er1 >conftest.err
87139 rm -f conftest.er1
87140 cat conftest.err >&5
87141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87142 (exit $ac_status); } &&
87143 { ac_try='test -z "$ac_c_werror_flag"
87144 || test ! -s conftest.err'
87145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87146 (eval $ac_try) 2>&5
87147 ac_status=$?
87148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87149 (exit $ac_status); }; } &&
87150 { ac_try='test -s conftest$ac_exeext'
87151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87152 (eval $ac_try) 2>&5
87153 ac_status=$?
87154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87155 (exit $ac_status); }; }; then
87156 eval "$as_ac_var=yes"
87157 else
87158 echo "$as_me: failed program was:" >&5
87159 sed 's/^/| /' conftest.$ac_ext >&5
87161 eval "$as_ac_var=no"
87163 rm -f conftest.err conftest.$ac_objext \
87164 conftest$ac_exeext conftest.$ac_ext
87166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87168 if test `eval echo '${'$as_ac_var'}'` = yes; then
87169 cat >>confdefs.h <<_ACEOF
87170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87171 _ACEOF
87173 else
87174 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87176 done
87180 # Used in libmath/Makefile.am.
87181 if test -n "$LIBMATHOBJS"; then
87182 need_libmath=yes
87187 *-netbsd*)
87200 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87201 machine/endian.h machine/param.h sys/machine.h sys/types.h \
87202 fp.h locale.h float.h inttypes.h
87204 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87206 echo "$as_me:$LINENO: checking for $ac_header" >&5
87207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87209 echo $ECHO_N "(cached) $ECHO_C" >&6
87211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87213 else
87214 # Is the header compilable?
87215 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87216 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87217 cat >conftest.$ac_ext <<_ACEOF
87218 /* confdefs.h. */
87219 _ACEOF
87220 cat confdefs.h >>conftest.$ac_ext
87221 cat >>conftest.$ac_ext <<_ACEOF
87222 /* end confdefs.h. */
87223 $ac_includes_default
87224 #include <$ac_header>
87225 _ACEOF
87226 rm -f conftest.$ac_objext
87227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87228 (eval $ac_compile) 2>conftest.er1
87229 ac_status=$?
87230 grep -v '^ *+' conftest.er1 >conftest.err
87231 rm -f conftest.er1
87232 cat conftest.err >&5
87233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87234 (exit $ac_status); } &&
87235 { ac_try='test -z "$ac_c_werror_flag"
87236 || test ! -s conftest.err'
87237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87238 (eval $ac_try) 2>&5
87239 ac_status=$?
87240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87241 (exit $ac_status); }; } &&
87242 { ac_try='test -s conftest.$ac_objext'
87243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87244 (eval $ac_try) 2>&5
87245 ac_status=$?
87246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87247 (exit $ac_status); }; }; then
87248 ac_header_compiler=yes
87249 else
87250 echo "$as_me: failed program was:" >&5
87251 sed 's/^/| /' conftest.$ac_ext >&5
87253 ac_header_compiler=no
87255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87257 echo "${ECHO_T}$ac_header_compiler" >&6
87259 # Is the header present?
87260 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87262 cat >conftest.$ac_ext <<_ACEOF
87263 /* confdefs.h. */
87264 _ACEOF
87265 cat confdefs.h >>conftest.$ac_ext
87266 cat >>conftest.$ac_ext <<_ACEOF
87267 /* end confdefs.h. */
87268 #include <$ac_header>
87269 _ACEOF
87270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87271 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87272 ac_status=$?
87273 grep -v '^ *+' conftest.er1 >conftest.err
87274 rm -f conftest.er1
87275 cat conftest.err >&5
87276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87277 (exit $ac_status); } >/dev/null; then
87278 if test -s conftest.err; then
87279 ac_cpp_err=$ac_c_preproc_warn_flag
87280 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87281 else
87282 ac_cpp_err=
87284 else
87285 ac_cpp_err=yes
87287 if test -z "$ac_cpp_err"; then
87288 ac_header_preproc=yes
87289 else
87290 echo "$as_me: failed program was:" >&5
87291 sed 's/^/| /' conftest.$ac_ext >&5
87293 ac_header_preproc=no
87295 rm -f conftest.err conftest.$ac_ext
87296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87297 echo "${ECHO_T}$ac_header_preproc" >&6
87299 # So? What about this header?
87300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87301 yes:no: )
87302 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87303 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87305 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87306 ac_header_preproc=yes
87308 no:yes:* )
87309 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87310 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87311 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87312 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87313 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87314 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87315 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87316 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87319 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87320 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87322 cat <<\_ASBOX
87323 ## ----------------------------------------- ##
87324 ## Report this to the package-unused lists. ##
87325 ## ----------------------------------------- ##
87326 _ASBOX
87328 sed "s/^/$as_me: WARNING: /" >&2
87330 esac
87331 echo "$as_me:$LINENO: checking for $ac_header" >&5
87332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87334 echo $ECHO_N "(cached) $ECHO_C" >&6
87335 else
87336 eval "$as_ac_Header=\$ac_header_preproc"
87338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87343 cat >>confdefs.h <<_ACEOF
87344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87345 _ACEOF
87349 done
87351 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87354 # If we're not using GNU ld, then there's no point in even trying these
87355 # tests. Check for that first. We should have already tested for gld
87356 # by now (in libtool), but require it now just to be safe...
87357 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87358 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87362 # The name set by libtool depends on the version of libtool. Shame on us
87363 # for depending on an impl detail, but c'est la vie. Older versions used
87364 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87365 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87366 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87367 # set (hence we're using an older libtool), then set it.
87368 if test x${with_gnu_ld+set} != xset; then
87369 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87370 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87371 with_gnu_ld=no
87372 else
87373 with_gnu_ld=$ac_cv_prog_gnu_ld
87377 # Start by getting the version number. I think the libtool test already
87378 # does some of this, but throws away the result.
87379 if test x"$with_gnu_ld" = x"yes"; then
87380 echo "$as_me:$LINENO: checking for ld version" >&5
87381 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87383 ldver=`$LD --version 2>/dev/null | head -1 | \
87384 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
87386 glibcxx_gnu_ld_version=`echo $ldver | \
87387 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87388 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87389 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87392 # Set --gc-sections.
87393 glibcxx_gcsections_min_ld=21602
87394 if test x"$with_gnu_ld" = x"yes" &&
87395 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87397 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
87398 # NB: This flag only works reliably after 2.16.1. Configure tests
87399 # for this are difficult, so hard wire a value that should work.
87401 ac_test_CFLAGS="${CFLAGS+set}"
87402 ac_save_CFLAGS="$CFLAGS"
87403 CFLAGS='-Wl,--gc-sections'
87405 # Check for -Wl,--gc-sections
87406 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87407 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87408 if test x$gcc_no_link = xyes; then
87409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87411 { (exit 1); exit 1; }; }
87413 cat >conftest.$ac_ext <<_ACEOF
87414 /* confdefs.h. */
87415 _ACEOF
87416 cat confdefs.h >>conftest.$ac_ext
87417 cat >>conftest.$ac_ext <<_ACEOF
87418 /* end confdefs.h. */
87419 int one(void) { return 1; }
87420 int two(void) { return 2; }
87423 main ()
87425 two();
87427 return 0;
87429 _ACEOF
87430 rm -f conftest.$ac_objext conftest$ac_exeext
87431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87432 (eval $ac_link) 2>conftest.er1
87433 ac_status=$?
87434 grep -v '^ *+' conftest.er1 >conftest.err
87435 rm -f conftest.er1
87436 cat conftest.err >&5
87437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87438 (exit $ac_status); } &&
87439 { ac_try='test -z "$ac_c_werror_flag"
87440 || test ! -s conftest.err'
87441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87442 (eval $ac_try) 2>&5
87443 ac_status=$?
87444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87445 (exit $ac_status); }; } &&
87446 { ac_try='test -s conftest$ac_exeext'
87447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87448 (eval $ac_try) 2>&5
87449 ac_status=$?
87450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87451 (exit $ac_status); }; }; then
87452 ac_gcsections=yes
87453 else
87454 echo "$as_me: failed program was:" >&5
87455 sed 's/^/| /' conftest.$ac_ext >&5
87457 ac_gcsections=no
87459 rm -f conftest.err conftest.$ac_objext \
87460 conftest$ac_exeext conftest.$ac_ext
87461 if test "$ac_gcsections" = "yes"; then
87462 rm -f conftest.c
87463 touch conftest.c
87464 if $CC -c conftest.c; then
87465 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87466 grep "Warning: gc-sections option ignored" > /dev/null; then
87467 ac_gcsections=no
87470 rm -f conftest.c conftest.o conftest
87472 if test "$ac_gcsections" = "yes"; then
87473 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87475 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87476 echo "${ECHO_T}$ac_gcsections" >&6
87478 if test "$ac_test_CFLAGS" = set; then
87479 CFLAGS="$ac_save_CFLAGS"
87480 else
87481 # this is the suspicious part
87482 CFLAGS=''
87486 # Set -z,relro.
87487 # Note this is only for shared objects.
87488 ac_ld_relro=no
87489 if test x"$with_gnu_ld" = x"yes"; then
87490 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87491 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87492 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87493 if test -n "$cxx_z_relo"; then
87494 OPT_LDFLAGS="-Wl,-z,relro"
87495 ac_ld_relro=yes
87497 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87498 echo "${ECHO_T}$ac_ld_relro" >&6
87501 # Set linker optimization flags.
87502 if test x"$with_gnu_ld" = x"yes"; then
87503 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87511 echo "$as_me:$LINENO: checking for main in -lm" >&5
87512 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87513 if test "${ac_cv_lib_m_main+set}" = set; then
87514 echo $ECHO_N "(cached) $ECHO_C" >&6
87515 else
87516 ac_check_lib_save_LIBS=$LIBS
87517 LIBS="-lm $LIBS"
87518 if test x$gcc_no_link = xyes; then
87519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87521 { (exit 1); exit 1; }; }
87523 cat >conftest.$ac_ext <<_ACEOF
87524 /* confdefs.h. */
87525 _ACEOF
87526 cat confdefs.h >>conftest.$ac_ext
87527 cat >>conftest.$ac_ext <<_ACEOF
87528 /* end confdefs.h. */
87532 main ()
87534 main ();
87536 return 0;
87538 _ACEOF
87539 rm -f conftest.$ac_objext conftest$ac_exeext
87540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87541 (eval $ac_link) 2>conftest.er1
87542 ac_status=$?
87543 grep -v '^ *+' conftest.er1 >conftest.err
87544 rm -f conftest.er1
87545 cat conftest.err >&5
87546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87547 (exit $ac_status); } &&
87548 { ac_try='test -z "$ac_c_werror_flag"
87549 || test ! -s conftest.err'
87550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87551 (eval $ac_try) 2>&5
87552 ac_status=$?
87553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87554 (exit $ac_status); }; } &&
87555 { ac_try='test -s conftest$ac_exeext'
87556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87557 (eval $ac_try) 2>&5
87558 ac_status=$?
87559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87560 (exit $ac_status); }; }; then
87561 ac_cv_lib_m_main=yes
87562 else
87563 echo "$as_me: failed program was:" >&5
87564 sed 's/^/| /' conftest.$ac_ext >&5
87566 ac_cv_lib_m_main=no
87568 rm -f conftest.err conftest.$ac_objext \
87569 conftest$ac_exeext conftest.$ac_ext
87570 LIBS=$ac_check_lib_save_LIBS
87572 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87573 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87574 if test $ac_cv_lib_m_main = yes; then
87575 cat >>confdefs.h <<_ACEOF
87576 #define HAVE_LIBM 1
87577 _ACEOF
87579 LIBS="-lm $LIBS"
87584 for ac_func in copysignf
87586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87587 echo "$as_me:$LINENO: checking for $ac_func" >&5
87588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87589 if eval "test \"\${$as_ac_var+set}\" = set"; then
87590 echo $ECHO_N "(cached) $ECHO_C" >&6
87591 else
87592 if test x$gcc_no_link = xyes; then
87593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87595 { (exit 1); exit 1; }; }
87597 cat >conftest.$ac_ext <<_ACEOF
87598 /* confdefs.h. */
87599 _ACEOF
87600 cat confdefs.h >>conftest.$ac_ext
87601 cat >>conftest.$ac_ext <<_ACEOF
87602 /* end confdefs.h. */
87603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87605 #define $ac_func innocuous_$ac_func
87607 /* System header to define __stub macros and hopefully few prototypes,
87608 which can conflict with char $ac_func (); below.
87609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87610 <limits.h> exists even on freestanding compilers. */
87612 #ifdef __STDC__
87613 # include <limits.h>
87614 #else
87615 # include <assert.h>
87616 #endif
87618 #undef $ac_func
87620 /* Override any gcc2 internal prototype to avoid an error. */
87621 #ifdef __cplusplus
87622 extern "C"
87624 #endif
87625 /* We use char because int might match the return type of a gcc2
87626 builtin and then its argument prototype would still apply. */
87627 char $ac_func ();
87628 /* The GNU C library defines this for functions which it implements
87629 to always fail with ENOSYS. Some functions are actually named
87630 something starting with __ and the normal name is an alias. */
87631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87632 choke me
87633 #else
87634 char (*f) () = $ac_func;
87635 #endif
87636 #ifdef __cplusplus
87638 #endif
87641 main ()
87643 return f != $ac_func;
87645 return 0;
87647 _ACEOF
87648 rm -f conftest.$ac_objext conftest$ac_exeext
87649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87650 (eval $ac_link) 2>conftest.er1
87651 ac_status=$?
87652 grep -v '^ *+' conftest.er1 >conftest.err
87653 rm -f conftest.er1
87654 cat conftest.err >&5
87655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87656 (exit $ac_status); } &&
87657 { ac_try='test -z "$ac_c_werror_flag"
87658 || test ! -s conftest.err'
87659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87660 (eval $ac_try) 2>&5
87661 ac_status=$?
87662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87663 (exit $ac_status); }; } &&
87664 { ac_try='test -s conftest$ac_exeext'
87665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87666 (eval $ac_try) 2>&5
87667 ac_status=$?
87668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87669 (exit $ac_status); }; }; then
87670 eval "$as_ac_var=yes"
87671 else
87672 echo "$as_me: failed program was:" >&5
87673 sed 's/^/| /' conftest.$ac_ext >&5
87675 eval "$as_ac_var=no"
87677 rm -f conftest.err conftest.$ac_objext \
87678 conftest$ac_exeext conftest.$ac_ext
87680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87682 if test `eval echo '${'$as_ac_var'}'` = yes; then
87683 cat >>confdefs.h <<_ACEOF
87684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87685 _ACEOF
87687 else
87688 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87690 done
87694 for ac_func in __signbit
87696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87697 echo "$as_me:$LINENO: checking for $ac_func" >&5
87698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87699 if eval "test \"\${$as_ac_var+set}\" = set"; then
87700 echo $ECHO_N "(cached) $ECHO_C" >&6
87701 else
87702 if test x$gcc_no_link = xyes; then
87703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87705 { (exit 1); exit 1; }; }
87707 cat >conftest.$ac_ext <<_ACEOF
87708 /* confdefs.h. */
87709 _ACEOF
87710 cat confdefs.h >>conftest.$ac_ext
87711 cat >>conftest.$ac_ext <<_ACEOF
87712 /* end confdefs.h. */
87713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87715 #define $ac_func innocuous_$ac_func
87717 /* System header to define __stub macros and hopefully few prototypes,
87718 which can conflict with char $ac_func (); below.
87719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87720 <limits.h> exists even on freestanding compilers. */
87722 #ifdef __STDC__
87723 # include <limits.h>
87724 #else
87725 # include <assert.h>
87726 #endif
87728 #undef $ac_func
87730 /* Override any gcc2 internal prototype to avoid an error. */
87731 #ifdef __cplusplus
87732 extern "C"
87734 #endif
87735 /* We use char because int might match the return type of a gcc2
87736 builtin and then its argument prototype would still apply. */
87737 char $ac_func ();
87738 /* The GNU C library defines this for functions which it implements
87739 to always fail with ENOSYS. Some functions are actually named
87740 something starting with __ and the normal name is an alias. */
87741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87742 choke me
87743 #else
87744 char (*f) () = $ac_func;
87745 #endif
87746 #ifdef __cplusplus
87748 #endif
87751 main ()
87753 return f != $ac_func;
87755 return 0;
87757 _ACEOF
87758 rm -f conftest.$ac_objext conftest$ac_exeext
87759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87760 (eval $ac_link) 2>conftest.er1
87761 ac_status=$?
87762 grep -v '^ *+' conftest.er1 >conftest.err
87763 rm -f conftest.er1
87764 cat conftest.err >&5
87765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87766 (exit $ac_status); } &&
87767 { ac_try='test -z "$ac_c_werror_flag"
87768 || test ! -s conftest.err'
87769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87770 (eval $ac_try) 2>&5
87771 ac_status=$?
87772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87773 (exit $ac_status); }; } &&
87774 { ac_try='test -s conftest$ac_exeext'
87775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87776 (eval $ac_try) 2>&5
87777 ac_status=$?
87778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87779 (exit $ac_status); }; }; then
87780 eval "$as_ac_var=yes"
87781 else
87782 echo "$as_me: failed program was:" >&5
87783 sed 's/^/| /' conftest.$ac_ext >&5
87785 eval "$as_ac_var=no"
87787 rm -f conftest.err conftest.$ac_objext \
87788 conftest$ac_exeext conftest.$ac_ext
87790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87792 if test `eval echo '${'$as_ac_var'}'` = yes; then
87793 cat >>confdefs.h <<_ACEOF
87794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87795 _ACEOF
87797 else
87798 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87800 done
87804 for ac_func in __signbitf
87806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87807 echo "$as_me:$LINENO: checking for $ac_func" >&5
87808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87809 if eval "test \"\${$as_ac_var+set}\" = set"; then
87810 echo $ECHO_N "(cached) $ECHO_C" >&6
87811 else
87812 if test x$gcc_no_link = xyes; then
87813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87815 { (exit 1); exit 1; }; }
87817 cat >conftest.$ac_ext <<_ACEOF
87818 /* confdefs.h. */
87819 _ACEOF
87820 cat confdefs.h >>conftest.$ac_ext
87821 cat >>conftest.$ac_ext <<_ACEOF
87822 /* end confdefs.h. */
87823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87825 #define $ac_func innocuous_$ac_func
87827 /* System header to define __stub macros and hopefully few prototypes,
87828 which can conflict with char $ac_func (); below.
87829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87830 <limits.h> exists even on freestanding compilers. */
87832 #ifdef __STDC__
87833 # include <limits.h>
87834 #else
87835 # include <assert.h>
87836 #endif
87838 #undef $ac_func
87840 /* Override any gcc2 internal prototype to avoid an error. */
87841 #ifdef __cplusplus
87842 extern "C"
87844 #endif
87845 /* We use char because int might match the return type of a gcc2
87846 builtin and then its argument prototype would still apply. */
87847 char $ac_func ();
87848 /* The GNU C library defines this for functions which it implements
87849 to always fail with ENOSYS. Some functions are actually named
87850 something starting with __ and the normal name is an alias. */
87851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87852 choke me
87853 #else
87854 char (*f) () = $ac_func;
87855 #endif
87856 #ifdef __cplusplus
87858 #endif
87861 main ()
87863 return f != $ac_func;
87865 return 0;
87867 _ACEOF
87868 rm -f conftest.$ac_objext conftest$ac_exeext
87869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87870 (eval $ac_link) 2>conftest.er1
87871 ac_status=$?
87872 grep -v '^ *+' conftest.er1 >conftest.err
87873 rm -f conftest.er1
87874 cat conftest.err >&5
87875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87876 (exit $ac_status); } &&
87877 { ac_try='test -z "$ac_c_werror_flag"
87878 || test ! -s conftest.err'
87879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87880 (eval $ac_try) 2>&5
87881 ac_status=$?
87882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87883 (exit $ac_status); }; } &&
87884 { ac_try='test -s conftest$ac_exeext'
87885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87886 (eval $ac_try) 2>&5
87887 ac_status=$?
87888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87889 (exit $ac_status); }; }; then
87890 eval "$as_ac_var=yes"
87891 else
87892 echo "$as_me: failed program was:" >&5
87893 sed 's/^/| /' conftest.$ac_ext >&5
87895 eval "$as_ac_var=no"
87897 rm -f conftest.err conftest.$ac_objext \
87898 conftest$ac_exeext conftest.$ac_ext
87900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87902 if test `eval echo '${'$as_ac_var'}'` = yes; then
87903 cat >>confdefs.h <<_ACEOF
87904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87905 _ACEOF
87907 else
87908 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87910 done
87913 if test x$ac_cv_func_copysignl = x"yes"; then
87915 for ac_func in __signbitl
87917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87918 echo "$as_me:$LINENO: checking for $ac_func" >&5
87919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87920 if eval "test \"\${$as_ac_var+set}\" = set"; then
87921 echo $ECHO_N "(cached) $ECHO_C" >&6
87922 else
87923 if test x$gcc_no_link = xyes; then
87924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87926 { (exit 1); exit 1; }; }
87928 cat >conftest.$ac_ext <<_ACEOF
87929 /* confdefs.h. */
87930 _ACEOF
87931 cat confdefs.h >>conftest.$ac_ext
87932 cat >>conftest.$ac_ext <<_ACEOF
87933 /* end confdefs.h. */
87934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87936 #define $ac_func innocuous_$ac_func
87938 /* System header to define __stub macros and hopefully few prototypes,
87939 which can conflict with char $ac_func (); below.
87940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87941 <limits.h> exists even on freestanding compilers. */
87943 #ifdef __STDC__
87944 # include <limits.h>
87945 #else
87946 # include <assert.h>
87947 #endif
87949 #undef $ac_func
87951 /* Override any gcc2 internal prototype to avoid an error. */
87952 #ifdef __cplusplus
87953 extern "C"
87955 #endif
87956 /* We use char because int might match the return type of a gcc2
87957 builtin and then its argument prototype would still apply. */
87958 char $ac_func ();
87959 /* The GNU C library defines this for functions which it implements
87960 to always fail with ENOSYS. Some functions are actually named
87961 something starting with __ and the normal name is an alias. */
87962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87963 choke me
87964 #else
87965 char (*f) () = $ac_func;
87966 #endif
87967 #ifdef __cplusplus
87969 #endif
87972 main ()
87974 return f != $ac_func;
87976 return 0;
87978 _ACEOF
87979 rm -f conftest.$ac_objext conftest$ac_exeext
87980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87981 (eval $ac_link) 2>conftest.er1
87982 ac_status=$?
87983 grep -v '^ *+' conftest.er1 >conftest.err
87984 rm -f conftest.er1
87985 cat conftest.err >&5
87986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87987 (exit $ac_status); } &&
87988 { ac_try='test -z "$ac_c_werror_flag"
87989 || test ! -s conftest.err'
87990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87991 (eval $ac_try) 2>&5
87992 ac_status=$?
87993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87994 (exit $ac_status); }; } &&
87995 { ac_try='test -s conftest$ac_exeext'
87996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87997 (eval $ac_try) 2>&5
87998 ac_status=$?
87999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88000 (exit $ac_status); }; }; then
88001 eval "$as_ac_var=yes"
88002 else
88003 echo "$as_me: failed program was:" >&5
88004 sed 's/^/| /' conftest.$ac_ext >&5
88006 eval "$as_ac_var=no"
88008 rm -f conftest.err conftest.$ac_objext \
88009 conftest$ac_exeext conftest.$ac_ext
88011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88013 if test `eval echo '${'$as_ac_var'}'` = yes; then
88014 cat >>confdefs.h <<_ACEOF
88015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88016 _ACEOF
88018 else
88019 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
88021 done
88025 # Used in libmath/Makefile.am.
88026 if test -n "$LIBMATHOBJS"; then
88027 need_libmath=yes
88031 cat >>confdefs.h <<\_ACEOF
88032 #define HAVE_COPYSIGN 1
88033 _ACEOF
88035 cat >>confdefs.h <<\_ACEOF
88036 #define HAVE_COPYSIGNF 1
88037 _ACEOF
88039 cat >>confdefs.h <<\_ACEOF
88040 #define HAVE_FINITEF 1
88041 _ACEOF
88043 cat >>confdefs.h <<\_ACEOF
88044 #define HAVE_FINITE 1
88045 _ACEOF
88047 cat >>confdefs.h <<\_ACEOF
88048 #define HAVE_FREXPF 1
88049 _ACEOF
88051 cat >>confdefs.h <<\_ACEOF
88052 #define HAVE_HYPOTF 1
88053 _ACEOF
88055 cat >>confdefs.h <<\_ACEOF
88056 #define HAVE_ISINF 1
88057 _ACEOF
88059 cat >>confdefs.h <<\_ACEOF
88060 #define HAVE_ISINFF 1
88061 _ACEOF
88063 cat >>confdefs.h <<\_ACEOF
88064 #define HAVE_ISNAN 1
88065 _ACEOF
88067 cat >>confdefs.h <<\_ACEOF
88068 #define HAVE_ISNANF 1
88069 _ACEOF
88071 if test x"long_double_math_on_this_cpu" = x"yes"; then
88072 cat >>confdefs.h <<\_ACEOF
88073 #define HAVE_FINITEL 1
88074 _ACEOF
88076 cat >>confdefs.h <<\_ACEOF
88077 #define HAVE_ISINFL 1
88078 _ACEOF
88080 cat >>confdefs.h <<\_ACEOF
88081 #define HAVE_ISNANL 1
88082 _ACEOF
88086 *-netware)
88095 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
88096 sys/types.h locale.h float.h inttypes.h
88098 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88100 echo "$as_me:$LINENO: checking for $ac_header" >&5
88101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88103 echo $ECHO_N "(cached) $ECHO_C" >&6
88105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88106 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88107 else
88108 # Is the header compilable?
88109 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88110 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88111 cat >conftest.$ac_ext <<_ACEOF
88112 /* confdefs.h. */
88113 _ACEOF
88114 cat confdefs.h >>conftest.$ac_ext
88115 cat >>conftest.$ac_ext <<_ACEOF
88116 /* end confdefs.h. */
88117 $ac_includes_default
88118 #include <$ac_header>
88119 _ACEOF
88120 rm -f conftest.$ac_objext
88121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88122 (eval $ac_compile) 2>conftest.er1
88123 ac_status=$?
88124 grep -v '^ *+' conftest.er1 >conftest.err
88125 rm -f conftest.er1
88126 cat conftest.err >&5
88127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88128 (exit $ac_status); } &&
88129 { ac_try='test -z "$ac_c_werror_flag"
88130 || test ! -s conftest.err'
88131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88132 (eval $ac_try) 2>&5
88133 ac_status=$?
88134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88135 (exit $ac_status); }; } &&
88136 { ac_try='test -s conftest.$ac_objext'
88137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88138 (eval $ac_try) 2>&5
88139 ac_status=$?
88140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88141 (exit $ac_status); }; }; then
88142 ac_header_compiler=yes
88143 else
88144 echo "$as_me: failed program was:" >&5
88145 sed 's/^/| /' conftest.$ac_ext >&5
88147 ac_header_compiler=no
88149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88150 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88151 echo "${ECHO_T}$ac_header_compiler" >&6
88153 # Is the header present?
88154 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88155 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88156 cat >conftest.$ac_ext <<_ACEOF
88157 /* confdefs.h. */
88158 _ACEOF
88159 cat confdefs.h >>conftest.$ac_ext
88160 cat >>conftest.$ac_ext <<_ACEOF
88161 /* end confdefs.h. */
88162 #include <$ac_header>
88163 _ACEOF
88164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88165 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88166 ac_status=$?
88167 grep -v '^ *+' conftest.er1 >conftest.err
88168 rm -f conftest.er1
88169 cat conftest.err >&5
88170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88171 (exit $ac_status); } >/dev/null; then
88172 if test -s conftest.err; then
88173 ac_cpp_err=$ac_c_preproc_warn_flag
88174 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88175 else
88176 ac_cpp_err=
88178 else
88179 ac_cpp_err=yes
88181 if test -z "$ac_cpp_err"; then
88182 ac_header_preproc=yes
88183 else
88184 echo "$as_me: failed program was:" >&5
88185 sed 's/^/| /' conftest.$ac_ext >&5
88187 ac_header_preproc=no
88189 rm -f conftest.err conftest.$ac_ext
88190 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88191 echo "${ECHO_T}$ac_header_preproc" >&6
88193 # So? What about this header?
88194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88195 yes:no: )
88196 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88197 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88199 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88200 ac_header_preproc=yes
88202 no:yes:* )
88203 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88204 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88205 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88206 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88207 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88208 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88209 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88210 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88212 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88213 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88214 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88216 cat <<\_ASBOX
88217 ## ----------------------------------------- ##
88218 ## Report this to the package-unused lists. ##
88219 ## ----------------------------------------- ##
88220 _ASBOX
88222 sed "s/^/$as_me: WARNING: /" >&2
88224 esac
88225 echo "$as_me:$LINENO: checking for $ac_header" >&5
88226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88228 echo $ECHO_N "(cached) $ECHO_C" >&6
88229 else
88230 eval "$as_ac_Header=\$ac_header_preproc"
88232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88233 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88236 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88237 cat >>confdefs.h <<_ACEOF
88238 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88239 _ACEOF
88243 done
88245 SECTION_FLAGS='-ffunction-sections -fdata-sections'
88248 # If we're not using GNU ld, then there's no point in even trying these
88249 # tests. Check for that first. We should have already tested for gld
88250 # by now (in libtool), but require it now just to be safe...
88251 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
88252 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
88256 # The name set by libtool depends on the version of libtool. Shame on us
88257 # for depending on an impl detail, but c'est la vie. Older versions used
88258 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
88259 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
88260 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
88261 # set (hence we're using an older libtool), then set it.
88262 if test x${with_gnu_ld+set} != xset; then
88263 if test x${ac_cv_prog_gnu_ld+set} != xset; then
88264 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
88265 with_gnu_ld=no
88266 else
88267 with_gnu_ld=$ac_cv_prog_gnu_ld
88271 # Start by getting the version number. I think the libtool test already
88272 # does some of this, but throws away the result.
88273 if test x"$with_gnu_ld" = x"yes"; then
88274 echo "$as_me:$LINENO: checking for ld version" >&5
88275 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
88277 ldver=`$LD --version 2>/dev/null | head -1 | \
88278 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
88280 glibcxx_gnu_ld_version=`echo $ldver | \
88281 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
88282 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
88283 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
88286 # Set --gc-sections.
88287 glibcxx_gcsections_min_ld=21602
88288 if test x"$with_gnu_ld" = x"yes" &&
88289 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
88291 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
88292 # NB: This flag only works reliably after 2.16.1. Configure tests
88293 # for this are difficult, so hard wire a value that should work.
88295 ac_test_CFLAGS="${CFLAGS+set}"
88296 ac_save_CFLAGS="$CFLAGS"
88297 CFLAGS='-Wl,--gc-sections'
88299 # Check for -Wl,--gc-sections
88300 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
88301 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
88302 if test x$gcc_no_link = xyes; then
88303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88305 { (exit 1); exit 1; }; }
88307 cat >conftest.$ac_ext <<_ACEOF
88308 /* confdefs.h. */
88309 _ACEOF
88310 cat confdefs.h >>conftest.$ac_ext
88311 cat >>conftest.$ac_ext <<_ACEOF
88312 /* end confdefs.h. */
88313 int one(void) { return 1; }
88314 int two(void) { return 2; }
88317 main ()
88319 two();
88321 return 0;
88323 _ACEOF
88324 rm -f conftest.$ac_objext conftest$ac_exeext
88325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88326 (eval $ac_link) 2>conftest.er1
88327 ac_status=$?
88328 grep -v '^ *+' conftest.er1 >conftest.err
88329 rm -f conftest.er1
88330 cat conftest.err >&5
88331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88332 (exit $ac_status); } &&
88333 { ac_try='test -z "$ac_c_werror_flag"
88334 || test ! -s conftest.err'
88335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88336 (eval $ac_try) 2>&5
88337 ac_status=$?
88338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88339 (exit $ac_status); }; } &&
88340 { ac_try='test -s conftest$ac_exeext'
88341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88342 (eval $ac_try) 2>&5
88343 ac_status=$?
88344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88345 (exit $ac_status); }; }; then
88346 ac_gcsections=yes
88347 else
88348 echo "$as_me: failed program was:" >&5
88349 sed 's/^/| /' conftest.$ac_ext >&5
88351 ac_gcsections=no
88353 rm -f conftest.err conftest.$ac_objext \
88354 conftest$ac_exeext conftest.$ac_ext
88355 if test "$ac_gcsections" = "yes"; then
88356 rm -f conftest.c
88357 touch conftest.c
88358 if $CC -c conftest.c; then
88359 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
88360 grep "Warning: gc-sections option ignored" > /dev/null; then
88361 ac_gcsections=no
88364 rm -f conftest.c conftest.o conftest
88366 if test "$ac_gcsections" = "yes"; then
88367 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
88369 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
88370 echo "${ECHO_T}$ac_gcsections" >&6
88372 if test "$ac_test_CFLAGS" = set; then
88373 CFLAGS="$ac_save_CFLAGS"
88374 else
88375 # this is the suspicious part
88376 CFLAGS=''
88380 # Set -z,relro.
88381 # Note this is only for shared objects.
88382 ac_ld_relro=no
88383 if test x"$with_gnu_ld" = x"yes"; then
88384 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
88385 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
88386 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
88387 if test -n "$cxx_z_relo"; then
88388 OPT_LDFLAGS="-Wl,-z,relro"
88389 ac_ld_relro=yes
88391 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
88392 echo "${ECHO_T}$ac_ld_relro" >&6
88395 # Set linker optimization flags.
88396 if test x"$with_gnu_ld" = x"yes"; then
88397 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
88405 echo "$as_me:$LINENO: checking for main in -lm" >&5
88406 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
88407 if test "${ac_cv_lib_m_main+set}" = set; then
88408 echo $ECHO_N "(cached) $ECHO_C" >&6
88409 else
88410 ac_check_lib_save_LIBS=$LIBS
88411 LIBS="-lm $LIBS"
88412 if test x$gcc_no_link = xyes; then
88413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88415 { (exit 1); exit 1; }; }
88417 cat >conftest.$ac_ext <<_ACEOF
88418 /* confdefs.h. */
88419 _ACEOF
88420 cat confdefs.h >>conftest.$ac_ext
88421 cat >>conftest.$ac_ext <<_ACEOF
88422 /* end confdefs.h. */
88426 main ()
88428 main ();
88430 return 0;
88432 _ACEOF
88433 rm -f conftest.$ac_objext conftest$ac_exeext
88434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88435 (eval $ac_link) 2>conftest.er1
88436 ac_status=$?
88437 grep -v '^ *+' conftest.er1 >conftest.err
88438 rm -f conftest.er1
88439 cat conftest.err >&5
88440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88441 (exit $ac_status); } &&
88442 { ac_try='test -z "$ac_c_werror_flag"
88443 || test ! -s conftest.err'
88444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88445 (eval $ac_try) 2>&5
88446 ac_status=$?
88447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88448 (exit $ac_status); }; } &&
88449 { ac_try='test -s conftest$ac_exeext'
88450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88451 (eval $ac_try) 2>&5
88452 ac_status=$?
88453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88454 (exit $ac_status); }; }; then
88455 ac_cv_lib_m_main=yes
88456 else
88457 echo "$as_me: failed program was:" >&5
88458 sed 's/^/| /' conftest.$ac_ext >&5
88460 ac_cv_lib_m_main=no
88462 rm -f conftest.err conftest.$ac_objext \
88463 conftest$ac_exeext conftest.$ac_ext
88464 LIBS=$ac_check_lib_save_LIBS
88466 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
88467 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
88468 if test $ac_cv_lib_m_main = yes; then
88469 cat >>confdefs.h <<_ACEOF
88470 #define HAVE_LIBM 1
88471 _ACEOF
88473 LIBS="-lm $LIBS"
88478 for ac_func in copysignf
88480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88481 echo "$as_me:$LINENO: checking for $ac_func" >&5
88482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88483 if eval "test \"\${$as_ac_var+set}\" = set"; then
88484 echo $ECHO_N "(cached) $ECHO_C" >&6
88485 else
88486 if test x$gcc_no_link = xyes; then
88487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88489 { (exit 1); exit 1; }; }
88491 cat >conftest.$ac_ext <<_ACEOF
88492 /* confdefs.h. */
88493 _ACEOF
88494 cat confdefs.h >>conftest.$ac_ext
88495 cat >>conftest.$ac_ext <<_ACEOF
88496 /* end confdefs.h. */
88497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88499 #define $ac_func innocuous_$ac_func
88501 /* System header to define __stub macros and hopefully few prototypes,
88502 which can conflict with char $ac_func (); below.
88503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88504 <limits.h> exists even on freestanding compilers. */
88506 #ifdef __STDC__
88507 # include <limits.h>
88508 #else
88509 # include <assert.h>
88510 #endif
88512 #undef $ac_func
88514 /* Override any gcc2 internal prototype to avoid an error. */
88515 #ifdef __cplusplus
88516 extern "C"
88518 #endif
88519 /* We use char because int might match the return type of a gcc2
88520 builtin and then its argument prototype would still apply. */
88521 char $ac_func ();
88522 /* The GNU C library defines this for functions which it implements
88523 to always fail with ENOSYS. Some functions are actually named
88524 something starting with __ and the normal name is an alias. */
88525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88526 choke me
88527 #else
88528 char (*f) () = $ac_func;
88529 #endif
88530 #ifdef __cplusplus
88532 #endif
88535 main ()
88537 return f != $ac_func;
88539 return 0;
88541 _ACEOF
88542 rm -f conftest.$ac_objext conftest$ac_exeext
88543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88544 (eval $ac_link) 2>conftest.er1
88545 ac_status=$?
88546 grep -v '^ *+' conftest.er1 >conftest.err
88547 rm -f conftest.er1
88548 cat conftest.err >&5
88549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88550 (exit $ac_status); } &&
88551 { ac_try='test -z "$ac_c_werror_flag"
88552 || test ! -s conftest.err'
88553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88554 (eval $ac_try) 2>&5
88555 ac_status=$?
88556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88557 (exit $ac_status); }; } &&
88558 { ac_try='test -s conftest$ac_exeext'
88559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88560 (eval $ac_try) 2>&5
88561 ac_status=$?
88562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88563 (exit $ac_status); }; }; then
88564 eval "$as_ac_var=yes"
88565 else
88566 echo "$as_me: failed program was:" >&5
88567 sed 's/^/| /' conftest.$ac_ext >&5
88569 eval "$as_ac_var=no"
88571 rm -f conftest.err conftest.$ac_objext \
88572 conftest$ac_exeext conftest.$ac_ext
88574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88576 if test `eval echo '${'$as_ac_var'}'` = yes; then
88577 cat >>confdefs.h <<_ACEOF
88578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88579 _ACEOF
88581 else
88582 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
88584 done
88588 for ac_func in __signbit
88590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88591 echo "$as_me:$LINENO: checking for $ac_func" >&5
88592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88593 if eval "test \"\${$as_ac_var+set}\" = set"; then
88594 echo $ECHO_N "(cached) $ECHO_C" >&6
88595 else
88596 if test x$gcc_no_link = xyes; then
88597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88599 { (exit 1); exit 1; }; }
88601 cat >conftest.$ac_ext <<_ACEOF
88602 /* confdefs.h. */
88603 _ACEOF
88604 cat confdefs.h >>conftest.$ac_ext
88605 cat >>conftest.$ac_ext <<_ACEOF
88606 /* end confdefs.h. */
88607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88609 #define $ac_func innocuous_$ac_func
88611 /* System header to define __stub macros and hopefully few prototypes,
88612 which can conflict with char $ac_func (); below.
88613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88614 <limits.h> exists even on freestanding compilers. */
88616 #ifdef __STDC__
88617 # include <limits.h>
88618 #else
88619 # include <assert.h>
88620 #endif
88622 #undef $ac_func
88624 /* Override any gcc2 internal prototype to avoid an error. */
88625 #ifdef __cplusplus
88626 extern "C"
88628 #endif
88629 /* We use char because int might match the return type of a gcc2
88630 builtin and then its argument prototype would still apply. */
88631 char $ac_func ();
88632 /* The GNU C library defines this for functions which it implements
88633 to always fail with ENOSYS. Some functions are actually named
88634 something starting with __ and the normal name is an alias. */
88635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88636 choke me
88637 #else
88638 char (*f) () = $ac_func;
88639 #endif
88640 #ifdef __cplusplus
88642 #endif
88645 main ()
88647 return f != $ac_func;
88649 return 0;
88651 _ACEOF
88652 rm -f conftest.$ac_objext conftest$ac_exeext
88653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88654 (eval $ac_link) 2>conftest.er1
88655 ac_status=$?
88656 grep -v '^ *+' conftest.er1 >conftest.err
88657 rm -f conftest.er1
88658 cat conftest.err >&5
88659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88660 (exit $ac_status); } &&
88661 { ac_try='test -z "$ac_c_werror_flag"
88662 || test ! -s conftest.err'
88663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88664 (eval $ac_try) 2>&5
88665 ac_status=$?
88666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88667 (exit $ac_status); }; } &&
88668 { ac_try='test -s conftest$ac_exeext'
88669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88670 (eval $ac_try) 2>&5
88671 ac_status=$?
88672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88673 (exit $ac_status); }; }; then
88674 eval "$as_ac_var=yes"
88675 else
88676 echo "$as_me: failed program was:" >&5
88677 sed 's/^/| /' conftest.$ac_ext >&5
88679 eval "$as_ac_var=no"
88681 rm -f conftest.err conftest.$ac_objext \
88682 conftest$ac_exeext conftest.$ac_ext
88684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88686 if test `eval echo '${'$as_ac_var'}'` = yes; then
88687 cat >>confdefs.h <<_ACEOF
88688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88689 _ACEOF
88691 else
88692 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
88694 done
88698 for ac_func in __signbitf
88700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88701 echo "$as_me:$LINENO: checking for $ac_func" >&5
88702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88703 if eval "test \"\${$as_ac_var+set}\" = set"; then
88704 echo $ECHO_N "(cached) $ECHO_C" >&6
88705 else
88706 if test x$gcc_no_link = xyes; then
88707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88709 { (exit 1); exit 1; }; }
88711 cat >conftest.$ac_ext <<_ACEOF
88712 /* confdefs.h. */
88713 _ACEOF
88714 cat confdefs.h >>conftest.$ac_ext
88715 cat >>conftest.$ac_ext <<_ACEOF
88716 /* end confdefs.h. */
88717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88719 #define $ac_func innocuous_$ac_func
88721 /* System header to define __stub macros and hopefully few prototypes,
88722 which can conflict with char $ac_func (); below.
88723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88724 <limits.h> exists even on freestanding compilers. */
88726 #ifdef __STDC__
88727 # include <limits.h>
88728 #else
88729 # include <assert.h>
88730 #endif
88732 #undef $ac_func
88734 /* Override any gcc2 internal prototype to avoid an error. */
88735 #ifdef __cplusplus
88736 extern "C"
88738 #endif
88739 /* We use char because int might match the return type of a gcc2
88740 builtin and then its argument prototype would still apply. */
88741 char $ac_func ();
88742 /* The GNU C library defines this for functions which it implements
88743 to always fail with ENOSYS. Some functions are actually named
88744 something starting with __ and the normal name is an alias. */
88745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88746 choke me
88747 #else
88748 char (*f) () = $ac_func;
88749 #endif
88750 #ifdef __cplusplus
88752 #endif
88755 main ()
88757 return f != $ac_func;
88759 return 0;
88761 _ACEOF
88762 rm -f conftest.$ac_objext conftest$ac_exeext
88763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88764 (eval $ac_link) 2>conftest.er1
88765 ac_status=$?
88766 grep -v '^ *+' conftest.er1 >conftest.err
88767 rm -f conftest.er1
88768 cat conftest.err >&5
88769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88770 (exit $ac_status); } &&
88771 { ac_try='test -z "$ac_c_werror_flag"
88772 || test ! -s conftest.err'
88773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88774 (eval $ac_try) 2>&5
88775 ac_status=$?
88776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88777 (exit $ac_status); }; } &&
88778 { ac_try='test -s conftest$ac_exeext'
88779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88780 (eval $ac_try) 2>&5
88781 ac_status=$?
88782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88783 (exit $ac_status); }; }; then
88784 eval "$as_ac_var=yes"
88785 else
88786 echo "$as_me: failed program was:" >&5
88787 sed 's/^/| /' conftest.$ac_ext >&5
88789 eval "$as_ac_var=no"
88791 rm -f conftest.err conftest.$ac_objext \
88792 conftest$ac_exeext conftest.$ac_ext
88794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88796 if test `eval echo '${'$as_ac_var'}'` = yes; then
88797 cat >>confdefs.h <<_ACEOF
88798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88799 _ACEOF
88801 else
88802 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
88804 done
88807 if test x$ac_cv_func_copysignl = x"yes"; then
88809 for ac_func in __signbitl
88811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88812 echo "$as_me:$LINENO: checking for $ac_func" >&5
88813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88814 if eval "test \"\${$as_ac_var+set}\" = set"; then
88815 echo $ECHO_N "(cached) $ECHO_C" >&6
88816 else
88817 if test x$gcc_no_link = xyes; then
88818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88820 { (exit 1); exit 1; }; }
88822 cat >conftest.$ac_ext <<_ACEOF
88823 /* confdefs.h. */
88824 _ACEOF
88825 cat confdefs.h >>conftest.$ac_ext
88826 cat >>conftest.$ac_ext <<_ACEOF
88827 /* end confdefs.h. */
88828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88830 #define $ac_func innocuous_$ac_func
88832 /* System header to define __stub macros and hopefully few prototypes,
88833 which can conflict with char $ac_func (); below.
88834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88835 <limits.h> exists even on freestanding compilers. */
88837 #ifdef __STDC__
88838 # include <limits.h>
88839 #else
88840 # include <assert.h>
88841 #endif
88843 #undef $ac_func
88845 /* Override any gcc2 internal prototype to avoid an error. */
88846 #ifdef __cplusplus
88847 extern "C"
88849 #endif
88850 /* We use char because int might match the return type of a gcc2
88851 builtin and then its argument prototype would still apply. */
88852 char $ac_func ();
88853 /* The GNU C library defines this for functions which it implements
88854 to always fail with ENOSYS. Some functions are actually named
88855 something starting with __ and the normal name is an alias. */
88856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88857 choke me
88858 #else
88859 char (*f) () = $ac_func;
88860 #endif
88861 #ifdef __cplusplus
88863 #endif
88866 main ()
88868 return f != $ac_func;
88870 return 0;
88872 _ACEOF
88873 rm -f conftest.$ac_objext conftest$ac_exeext
88874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88875 (eval $ac_link) 2>conftest.er1
88876 ac_status=$?
88877 grep -v '^ *+' conftest.er1 >conftest.err
88878 rm -f conftest.er1
88879 cat conftest.err >&5
88880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88881 (exit $ac_status); } &&
88882 { ac_try='test -z "$ac_c_werror_flag"
88883 || test ! -s conftest.err'
88884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88885 (eval $ac_try) 2>&5
88886 ac_status=$?
88887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88888 (exit $ac_status); }; } &&
88889 { ac_try='test -s conftest$ac_exeext'
88890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88891 (eval $ac_try) 2>&5
88892 ac_status=$?
88893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88894 (exit $ac_status); }; }; then
88895 eval "$as_ac_var=yes"
88896 else
88897 echo "$as_me: failed program was:" >&5
88898 sed 's/^/| /' conftest.$ac_ext >&5
88900 eval "$as_ac_var=no"
88902 rm -f conftest.err conftest.$ac_objext \
88903 conftest$ac_exeext conftest.$ac_ext
88905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88907 if test `eval echo '${'$as_ac_var'}'` = yes; then
88908 cat >>confdefs.h <<_ACEOF
88909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88910 _ACEOF
88912 else
88913 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
88915 done
88919 # Used in libmath/Makefile.am.
88920 if test -n "$LIBMATHOBJS"; then
88921 need_libmath=yes
88925 cat >>confdefs.h <<\_ACEOF
88926 #define HAVE_HYPOT 1
88927 _ACEOF
88929 cat >>confdefs.h <<\_ACEOF
88930 #define HAVE_ISINF 1
88931 _ACEOF
88933 cat >>confdefs.h <<\_ACEOF
88934 #define HAVE_ISNAN 1
88935 _ACEOF
88938 # For showmanyc_helper().
88941 for ac_header in sys/ioctl.h sys/filio.h
88943 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88945 echo "$as_me:$LINENO: checking for $ac_header" >&5
88946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88948 echo $ECHO_N "(cached) $ECHO_C" >&6
88950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88951 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88952 else
88953 # Is the header compilable?
88954 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88955 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88956 cat >conftest.$ac_ext <<_ACEOF
88957 /* confdefs.h. */
88958 _ACEOF
88959 cat confdefs.h >>conftest.$ac_ext
88960 cat >>conftest.$ac_ext <<_ACEOF
88961 /* end confdefs.h. */
88962 $ac_includes_default
88963 #include <$ac_header>
88964 _ACEOF
88965 rm -f conftest.$ac_objext
88966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88967 (eval $ac_compile) 2>conftest.er1
88968 ac_status=$?
88969 grep -v '^ *+' conftest.er1 >conftest.err
88970 rm -f conftest.er1
88971 cat conftest.err >&5
88972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88973 (exit $ac_status); } &&
88974 { ac_try='test -z "$ac_c_werror_flag"
88975 || test ! -s conftest.err'
88976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88977 (eval $ac_try) 2>&5
88978 ac_status=$?
88979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88980 (exit $ac_status); }; } &&
88981 { ac_try='test -s conftest.$ac_objext'
88982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88983 (eval $ac_try) 2>&5
88984 ac_status=$?
88985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88986 (exit $ac_status); }; }; then
88987 ac_header_compiler=yes
88988 else
88989 echo "$as_me: failed program was:" >&5
88990 sed 's/^/| /' conftest.$ac_ext >&5
88992 ac_header_compiler=no
88994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88995 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88996 echo "${ECHO_T}$ac_header_compiler" >&6
88998 # Is the header present?
88999 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89000 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89001 cat >conftest.$ac_ext <<_ACEOF
89002 /* confdefs.h. */
89003 _ACEOF
89004 cat confdefs.h >>conftest.$ac_ext
89005 cat >>conftest.$ac_ext <<_ACEOF
89006 /* end confdefs.h. */
89007 #include <$ac_header>
89008 _ACEOF
89009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89010 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89011 ac_status=$?
89012 grep -v '^ *+' conftest.er1 >conftest.err
89013 rm -f conftest.er1
89014 cat conftest.err >&5
89015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89016 (exit $ac_status); } >/dev/null; then
89017 if test -s conftest.err; then
89018 ac_cpp_err=$ac_c_preproc_warn_flag
89019 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89020 else
89021 ac_cpp_err=
89023 else
89024 ac_cpp_err=yes
89026 if test -z "$ac_cpp_err"; then
89027 ac_header_preproc=yes
89028 else
89029 echo "$as_me: failed program was:" >&5
89030 sed 's/^/| /' conftest.$ac_ext >&5
89032 ac_header_preproc=no
89034 rm -f conftest.err conftest.$ac_ext
89035 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89036 echo "${ECHO_T}$ac_header_preproc" >&6
89038 # So? What about this header?
89039 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89040 yes:no: )
89041 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89042 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89043 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89044 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89045 ac_header_preproc=yes
89047 no:yes:* )
89048 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89049 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89050 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89051 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89052 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89053 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89054 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89055 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89057 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89058 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89059 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89061 cat <<\_ASBOX
89062 ## ----------------------------------------- ##
89063 ## Report this to the package-unused lists. ##
89064 ## ----------------------------------------- ##
89065 _ASBOX
89067 sed "s/^/$as_me: WARNING: /" >&2
89069 esac
89070 echo "$as_me:$LINENO: checking for $ac_header" >&5
89071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89073 echo $ECHO_N "(cached) $ECHO_C" >&6
89074 else
89075 eval "$as_ac_Header=\$ac_header_preproc"
89077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89081 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89082 cat >>confdefs.h <<_ACEOF
89083 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89084 _ACEOF
89088 done
89091 echo "$as_me:$LINENO: checking for poll" >&5
89092 echo $ECHO_N "checking for poll... $ECHO_C" >&6
89093 if test "${glibcxx_cv_POLL+set}" = set; then
89094 echo $ECHO_N "(cached) $ECHO_C" >&6
89095 else
89097 if test x$gcc_no_link = xyes; then
89098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89100 { (exit 1); exit 1; }; }
89102 cat >conftest.$ac_ext <<_ACEOF
89103 /* confdefs.h. */
89104 _ACEOF
89105 cat confdefs.h >>conftest.$ac_ext
89106 cat >>conftest.$ac_ext <<_ACEOF
89107 /* end confdefs.h. */
89108 #include <poll.h>
89110 main ()
89112 struct pollfd pfd[1];
89113 pfd[0].events = POLLIN;
89114 poll(pfd, 1, 0);
89116 return 0;
89118 _ACEOF
89119 rm -f conftest.$ac_objext conftest$ac_exeext
89120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89121 (eval $ac_link) 2>conftest.er1
89122 ac_status=$?
89123 grep -v '^ *+' conftest.er1 >conftest.err
89124 rm -f conftest.er1
89125 cat conftest.err >&5
89126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89127 (exit $ac_status); } &&
89128 { ac_try='test -z "$ac_c_werror_flag"
89129 || test ! -s conftest.err'
89130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89131 (eval $ac_try) 2>&5
89132 ac_status=$?
89133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89134 (exit $ac_status); }; } &&
89135 { ac_try='test -s conftest$ac_exeext'
89136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89137 (eval $ac_try) 2>&5
89138 ac_status=$?
89139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89140 (exit $ac_status); }; }; then
89141 glibcxx_cv_POLL=yes
89142 else
89143 echo "$as_me: failed program was:" >&5
89144 sed 's/^/| /' conftest.$ac_ext >&5
89146 glibcxx_cv_POLL=no
89148 rm -f conftest.err conftest.$ac_objext \
89149 conftest$ac_exeext conftest.$ac_ext
89153 if test $glibcxx_cv_POLL = yes; then
89155 cat >>confdefs.h <<\_ACEOF
89156 #define HAVE_POLL 1
89157 _ACEOF
89160 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
89161 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
89164 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
89165 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
89166 if test "${glibcxx_cv_S_ISREG+set}" = set; then
89167 echo $ECHO_N "(cached) $ECHO_C" >&6
89168 else
89170 if test x$gcc_no_link = xyes; then
89171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89173 { (exit 1); exit 1; }; }
89175 cat >conftest.$ac_ext <<_ACEOF
89176 /* confdefs.h. */
89177 _ACEOF
89178 cat confdefs.h >>conftest.$ac_ext
89179 cat >>conftest.$ac_ext <<_ACEOF
89180 /* end confdefs.h. */
89181 #include <sys/stat.h>
89183 main ()
89185 struct stat buffer;
89186 fstat(0, &buffer);
89187 S_ISREG(buffer.st_mode);
89189 return 0;
89191 _ACEOF
89192 rm -f conftest.$ac_objext conftest$ac_exeext
89193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89194 (eval $ac_link) 2>conftest.er1
89195 ac_status=$?
89196 grep -v '^ *+' conftest.er1 >conftest.err
89197 rm -f conftest.er1
89198 cat conftest.err >&5
89199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89200 (exit $ac_status); } &&
89201 { ac_try='test -z "$ac_c_werror_flag"
89202 || test ! -s conftest.err'
89203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89204 (eval $ac_try) 2>&5
89205 ac_status=$?
89206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89207 (exit $ac_status); }; } &&
89208 { ac_try='test -s conftest$ac_exeext'
89209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89210 (eval $ac_try) 2>&5
89211 ac_status=$?
89212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89213 (exit $ac_status); }; }; then
89214 glibcxx_cv_S_ISREG=yes
89215 else
89216 echo "$as_me: failed program was:" >&5
89217 sed 's/^/| /' conftest.$ac_ext >&5
89219 glibcxx_cv_S_ISREG=no
89221 rm -f conftest.err conftest.$ac_objext \
89222 conftest$ac_exeext conftest.$ac_ext
89226 if test "${glibcxx_cv_S_IFREG+set}" = set; then
89227 echo $ECHO_N "(cached) $ECHO_C" >&6
89228 else
89230 if test x$gcc_no_link = xyes; then
89231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89233 { (exit 1); exit 1; }; }
89235 cat >conftest.$ac_ext <<_ACEOF
89236 /* confdefs.h. */
89237 _ACEOF
89238 cat confdefs.h >>conftest.$ac_ext
89239 cat >>conftest.$ac_ext <<_ACEOF
89240 /* end confdefs.h. */
89241 #include <sys/stat.h>
89243 main ()
89245 struct stat buffer;
89246 fstat(0, &buffer);
89247 S_IFREG & buffer.st_mode;
89249 return 0;
89251 _ACEOF
89252 rm -f conftest.$ac_objext conftest$ac_exeext
89253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89254 (eval $ac_link) 2>conftest.er1
89255 ac_status=$?
89256 grep -v '^ *+' conftest.er1 >conftest.err
89257 rm -f conftest.er1
89258 cat conftest.err >&5
89259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89260 (exit $ac_status); } &&
89261 { ac_try='test -z "$ac_c_werror_flag"
89262 || test ! -s conftest.err'
89263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89264 (eval $ac_try) 2>&5
89265 ac_status=$?
89266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89267 (exit $ac_status); }; } &&
89268 { ac_try='test -s conftest$ac_exeext'
89269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89270 (eval $ac_try) 2>&5
89271 ac_status=$?
89272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89273 (exit $ac_status); }; }; then
89274 glibcxx_cv_S_IFREG=yes
89275 else
89276 echo "$as_me: failed program was:" >&5
89277 sed 's/^/| /' conftest.$ac_ext >&5
89279 glibcxx_cv_S_IFREG=no
89281 rm -f conftest.err conftest.$ac_objext \
89282 conftest$ac_exeext conftest.$ac_ext
89286 res=no
89287 if test $glibcxx_cv_S_ISREG = yes; then
89289 cat >>confdefs.h <<\_ACEOF
89290 #define HAVE_S_ISREG 1
89291 _ACEOF
89293 res=S_ISREG
89294 elif test $glibcxx_cv_S_IFREG = yes; then
89296 cat >>confdefs.h <<\_ACEOF
89297 #define HAVE_S_IFREG 1
89298 _ACEOF
89300 res=S_IFREG
89302 echo "$as_me:$LINENO: result: $res" >&5
89303 echo "${ECHO_T}$res" >&6
89306 # For xsputn_2().
89308 for ac_header in sys/uio.h
89310 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89312 echo "$as_me:$LINENO: checking for $ac_header" >&5
89313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89314 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89315 echo $ECHO_N "(cached) $ECHO_C" >&6
89317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89319 else
89320 # Is the header compilable?
89321 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89322 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89323 cat >conftest.$ac_ext <<_ACEOF
89324 /* confdefs.h. */
89325 _ACEOF
89326 cat confdefs.h >>conftest.$ac_ext
89327 cat >>conftest.$ac_ext <<_ACEOF
89328 /* end confdefs.h. */
89329 $ac_includes_default
89330 #include <$ac_header>
89331 _ACEOF
89332 rm -f conftest.$ac_objext
89333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89334 (eval $ac_compile) 2>conftest.er1
89335 ac_status=$?
89336 grep -v '^ *+' conftest.er1 >conftest.err
89337 rm -f conftest.er1
89338 cat conftest.err >&5
89339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89340 (exit $ac_status); } &&
89341 { ac_try='test -z "$ac_c_werror_flag"
89342 || test ! -s conftest.err'
89343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89344 (eval $ac_try) 2>&5
89345 ac_status=$?
89346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89347 (exit $ac_status); }; } &&
89348 { ac_try='test -s conftest.$ac_objext'
89349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89350 (eval $ac_try) 2>&5
89351 ac_status=$?
89352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89353 (exit $ac_status); }; }; then
89354 ac_header_compiler=yes
89355 else
89356 echo "$as_me: failed program was:" >&5
89357 sed 's/^/| /' conftest.$ac_ext >&5
89359 ac_header_compiler=no
89361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89362 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89363 echo "${ECHO_T}$ac_header_compiler" >&6
89365 # Is the header present?
89366 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89367 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89368 cat >conftest.$ac_ext <<_ACEOF
89369 /* confdefs.h. */
89370 _ACEOF
89371 cat confdefs.h >>conftest.$ac_ext
89372 cat >>conftest.$ac_ext <<_ACEOF
89373 /* end confdefs.h. */
89374 #include <$ac_header>
89375 _ACEOF
89376 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89377 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89378 ac_status=$?
89379 grep -v '^ *+' conftest.er1 >conftest.err
89380 rm -f conftest.er1
89381 cat conftest.err >&5
89382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89383 (exit $ac_status); } >/dev/null; then
89384 if test -s conftest.err; then
89385 ac_cpp_err=$ac_c_preproc_warn_flag
89386 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89387 else
89388 ac_cpp_err=
89390 else
89391 ac_cpp_err=yes
89393 if test -z "$ac_cpp_err"; then
89394 ac_header_preproc=yes
89395 else
89396 echo "$as_me: failed program was:" >&5
89397 sed 's/^/| /' conftest.$ac_ext >&5
89399 ac_header_preproc=no
89401 rm -f conftest.err conftest.$ac_ext
89402 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89403 echo "${ECHO_T}$ac_header_preproc" >&6
89405 # So? What about this header?
89406 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89407 yes:no: )
89408 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89409 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89410 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89411 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89412 ac_header_preproc=yes
89414 no:yes:* )
89415 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89416 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89417 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89418 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89419 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89420 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89421 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89422 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89423 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89424 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89425 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89426 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89428 cat <<\_ASBOX
89429 ## ----------------------------------------- ##
89430 ## Report this to the package-unused lists. ##
89431 ## ----------------------------------------- ##
89432 _ASBOX
89434 sed "s/^/$as_me: WARNING: /" >&2
89436 esac
89437 echo "$as_me:$LINENO: checking for $ac_header" >&5
89438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89440 echo $ECHO_N "(cached) $ECHO_C" >&6
89441 else
89442 eval "$as_ac_Header=\$ac_header_preproc"
89444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89445 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89448 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89449 cat >>confdefs.h <<_ACEOF
89450 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89451 _ACEOF
89455 done
89458 echo "$as_me:$LINENO: checking for writev" >&5
89459 echo $ECHO_N "checking for writev... $ECHO_C" >&6
89460 if test "${glibcxx_cv_WRITEV+set}" = set; then
89461 echo $ECHO_N "(cached) $ECHO_C" >&6
89462 else
89464 if test x$gcc_no_link = xyes; then
89465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89467 { (exit 1); exit 1; }; }
89469 cat >conftest.$ac_ext <<_ACEOF
89470 /* confdefs.h. */
89471 _ACEOF
89472 cat confdefs.h >>conftest.$ac_ext
89473 cat >>conftest.$ac_ext <<_ACEOF
89474 /* end confdefs.h. */
89475 #include <sys/uio.h>
89477 main ()
89479 struct iovec iov[2];
89480 writev(0, iov, 0);
89482 return 0;
89484 _ACEOF
89485 rm -f conftest.$ac_objext conftest$ac_exeext
89486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89487 (eval $ac_link) 2>conftest.er1
89488 ac_status=$?
89489 grep -v '^ *+' conftest.er1 >conftest.err
89490 rm -f conftest.er1
89491 cat conftest.err >&5
89492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89493 (exit $ac_status); } &&
89494 { ac_try='test -z "$ac_c_werror_flag"
89495 || test ! -s conftest.err'
89496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89497 (eval $ac_try) 2>&5
89498 ac_status=$?
89499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89500 (exit $ac_status); }; } &&
89501 { ac_try='test -s conftest$ac_exeext'
89502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89503 (eval $ac_try) 2>&5
89504 ac_status=$?
89505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89506 (exit $ac_status); }; }; then
89507 glibcxx_cv_WRITEV=yes
89508 else
89509 echo "$as_me: failed program was:" >&5
89510 sed 's/^/| /' conftest.$ac_ext >&5
89512 glibcxx_cv_WRITEV=no
89514 rm -f conftest.err conftest.$ac_objext \
89515 conftest$ac_exeext conftest.$ac_ext
89519 if test $glibcxx_cv_WRITEV = yes; then
89521 cat >>confdefs.h <<\_ACEOF
89522 #define HAVE_WRITEV 1
89523 _ACEOF
89526 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
89527 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
89530 *-qnx6.1* | *-qnx6.2*)
89531 SECTION_FLAGS='-ffunction-sections -fdata-sections'
89534 # If we're not using GNU ld, then there's no point in even trying these
89535 # tests. Check for that first. We should have already tested for gld
89536 # by now (in libtool), but require it now just to be safe...
89537 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
89538 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
89542 # The name set by libtool depends on the version of libtool. Shame on us
89543 # for depending on an impl detail, but c'est la vie. Older versions used
89544 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
89545 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
89546 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
89547 # set (hence we're using an older libtool), then set it.
89548 if test x${with_gnu_ld+set} != xset; then
89549 if test x${ac_cv_prog_gnu_ld+set} != xset; then
89550 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
89551 with_gnu_ld=no
89552 else
89553 with_gnu_ld=$ac_cv_prog_gnu_ld
89557 # Start by getting the version number. I think the libtool test already
89558 # does some of this, but throws away the result.
89559 if test x"$with_gnu_ld" = x"yes"; then
89560 echo "$as_me:$LINENO: checking for ld version" >&5
89561 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
89563 ldver=`$LD --version 2>/dev/null | head -1 | \
89564 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
89566 glibcxx_gnu_ld_version=`echo $ldver | \
89567 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
89568 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
89569 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
89572 # Set --gc-sections.
89573 glibcxx_gcsections_min_ld=21602
89574 if test x"$with_gnu_ld" = x"yes" &&
89575 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
89577 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
89578 # NB: This flag only works reliably after 2.16.1. Configure tests
89579 # for this are difficult, so hard wire a value that should work.
89581 ac_test_CFLAGS="${CFLAGS+set}"
89582 ac_save_CFLAGS="$CFLAGS"
89583 CFLAGS='-Wl,--gc-sections'
89585 # Check for -Wl,--gc-sections
89586 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
89587 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
89588 if test x$gcc_no_link = xyes; then
89589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89591 { (exit 1); exit 1; }; }
89593 cat >conftest.$ac_ext <<_ACEOF
89594 /* confdefs.h. */
89595 _ACEOF
89596 cat confdefs.h >>conftest.$ac_ext
89597 cat >>conftest.$ac_ext <<_ACEOF
89598 /* end confdefs.h. */
89599 int one(void) { return 1; }
89600 int two(void) { return 2; }
89603 main ()
89605 two();
89607 return 0;
89609 _ACEOF
89610 rm -f conftest.$ac_objext conftest$ac_exeext
89611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89612 (eval $ac_link) 2>conftest.er1
89613 ac_status=$?
89614 grep -v '^ *+' conftest.er1 >conftest.err
89615 rm -f conftest.er1
89616 cat conftest.err >&5
89617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89618 (exit $ac_status); } &&
89619 { ac_try='test -z "$ac_c_werror_flag"
89620 || test ! -s conftest.err'
89621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89622 (eval $ac_try) 2>&5
89623 ac_status=$?
89624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89625 (exit $ac_status); }; } &&
89626 { ac_try='test -s conftest$ac_exeext'
89627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89628 (eval $ac_try) 2>&5
89629 ac_status=$?
89630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89631 (exit $ac_status); }; }; then
89632 ac_gcsections=yes
89633 else
89634 echo "$as_me: failed program was:" >&5
89635 sed 's/^/| /' conftest.$ac_ext >&5
89637 ac_gcsections=no
89639 rm -f conftest.err conftest.$ac_objext \
89640 conftest$ac_exeext conftest.$ac_ext
89641 if test "$ac_gcsections" = "yes"; then
89642 rm -f conftest.c
89643 touch conftest.c
89644 if $CC -c conftest.c; then
89645 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
89646 grep "Warning: gc-sections option ignored" > /dev/null; then
89647 ac_gcsections=no
89650 rm -f conftest.c conftest.o conftest
89652 if test "$ac_gcsections" = "yes"; then
89653 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
89655 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
89656 echo "${ECHO_T}$ac_gcsections" >&6
89658 if test "$ac_test_CFLAGS" = set; then
89659 CFLAGS="$ac_save_CFLAGS"
89660 else
89661 # this is the suspicious part
89662 CFLAGS=''
89666 # Set -z,relro.
89667 # Note this is only for shared objects.
89668 ac_ld_relro=no
89669 if test x"$with_gnu_ld" = x"yes"; then
89670 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
89671 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
89672 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
89673 if test -n "$cxx_z_relo"; then
89674 OPT_LDFLAGS="-Wl,-z,relro"
89675 ac_ld_relro=yes
89677 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
89678 echo "${ECHO_T}$ac_ld_relro" >&6
89681 # Set linker optimization flags.
89682 if test x"$with_gnu_ld" = x"yes"; then
89683 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
89691 echo "$as_me:$LINENO: checking for main in -lm" >&5
89692 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
89693 if test "${ac_cv_lib_m_main+set}" = set; then
89694 echo $ECHO_N "(cached) $ECHO_C" >&6
89695 else
89696 ac_check_lib_save_LIBS=$LIBS
89697 LIBS="-lm $LIBS"
89698 if test x$gcc_no_link = xyes; then
89699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89701 { (exit 1); exit 1; }; }
89703 cat >conftest.$ac_ext <<_ACEOF
89704 /* confdefs.h. */
89705 _ACEOF
89706 cat confdefs.h >>conftest.$ac_ext
89707 cat >>conftest.$ac_ext <<_ACEOF
89708 /* end confdefs.h. */
89712 main ()
89714 main ();
89716 return 0;
89718 _ACEOF
89719 rm -f conftest.$ac_objext conftest$ac_exeext
89720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89721 (eval $ac_link) 2>conftest.er1
89722 ac_status=$?
89723 grep -v '^ *+' conftest.er1 >conftest.err
89724 rm -f conftest.er1
89725 cat conftest.err >&5
89726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89727 (exit $ac_status); } &&
89728 { ac_try='test -z "$ac_c_werror_flag"
89729 || test ! -s conftest.err'
89730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89731 (eval $ac_try) 2>&5
89732 ac_status=$?
89733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89734 (exit $ac_status); }; } &&
89735 { ac_try='test -s conftest$ac_exeext'
89736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89737 (eval $ac_try) 2>&5
89738 ac_status=$?
89739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89740 (exit $ac_status); }; }; then
89741 ac_cv_lib_m_main=yes
89742 else
89743 echo "$as_me: failed program was:" >&5
89744 sed 's/^/| /' conftest.$ac_ext >&5
89746 ac_cv_lib_m_main=no
89748 rm -f conftest.err conftest.$ac_objext \
89749 conftest$ac_exeext conftest.$ac_ext
89750 LIBS=$ac_check_lib_save_LIBS
89752 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
89753 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
89754 if test $ac_cv_lib_m_main = yes; then
89755 cat >>confdefs.h <<_ACEOF
89756 #define HAVE_LIBM 1
89757 _ACEOF
89759 LIBS="-lm $LIBS"
89764 for ac_func in copysignf
89766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89767 echo "$as_me:$LINENO: checking for $ac_func" >&5
89768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89769 if eval "test \"\${$as_ac_var+set}\" = set"; then
89770 echo $ECHO_N "(cached) $ECHO_C" >&6
89771 else
89772 if test x$gcc_no_link = xyes; then
89773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89775 { (exit 1); exit 1; }; }
89777 cat >conftest.$ac_ext <<_ACEOF
89778 /* confdefs.h. */
89779 _ACEOF
89780 cat confdefs.h >>conftest.$ac_ext
89781 cat >>conftest.$ac_ext <<_ACEOF
89782 /* end confdefs.h. */
89783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89785 #define $ac_func innocuous_$ac_func
89787 /* System header to define __stub macros and hopefully few prototypes,
89788 which can conflict with char $ac_func (); below.
89789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89790 <limits.h> exists even on freestanding compilers. */
89792 #ifdef __STDC__
89793 # include <limits.h>
89794 #else
89795 # include <assert.h>
89796 #endif
89798 #undef $ac_func
89800 /* Override any gcc2 internal prototype to avoid an error. */
89801 #ifdef __cplusplus
89802 extern "C"
89804 #endif
89805 /* We use char because int might match the return type of a gcc2
89806 builtin and then its argument prototype would still apply. */
89807 char $ac_func ();
89808 /* The GNU C library defines this for functions which it implements
89809 to always fail with ENOSYS. Some functions are actually named
89810 something starting with __ and the normal name is an alias. */
89811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89812 choke me
89813 #else
89814 char (*f) () = $ac_func;
89815 #endif
89816 #ifdef __cplusplus
89818 #endif
89821 main ()
89823 return f != $ac_func;
89825 return 0;
89827 _ACEOF
89828 rm -f conftest.$ac_objext conftest$ac_exeext
89829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89830 (eval $ac_link) 2>conftest.er1
89831 ac_status=$?
89832 grep -v '^ *+' conftest.er1 >conftest.err
89833 rm -f conftest.er1
89834 cat conftest.err >&5
89835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89836 (exit $ac_status); } &&
89837 { ac_try='test -z "$ac_c_werror_flag"
89838 || test ! -s conftest.err'
89839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89840 (eval $ac_try) 2>&5
89841 ac_status=$?
89842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89843 (exit $ac_status); }; } &&
89844 { ac_try='test -s conftest$ac_exeext'
89845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89846 (eval $ac_try) 2>&5
89847 ac_status=$?
89848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89849 (exit $ac_status); }; }; then
89850 eval "$as_ac_var=yes"
89851 else
89852 echo "$as_me: failed program was:" >&5
89853 sed 's/^/| /' conftest.$ac_ext >&5
89855 eval "$as_ac_var=no"
89857 rm -f conftest.err conftest.$ac_objext \
89858 conftest$ac_exeext conftest.$ac_ext
89860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89862 if test `eval echo '${'$as_ac_var'}'` = yes; then
89863 cat >>confdefs.h <<_ACEOF
89864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89865 _ACEOF
89867 else
89868 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
89870 done
89874 for ac_func in __signbit
89876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89877 echo "$as_me:$LINENO: checking for $ac_func" >&5
89878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89879 if eval "test \"\${$as_ac_var+set}\" = set"; then
89880 echo $ECHO_N "(cached) $ECHO_C" >&6
89881 else
89882 if test x$gcc_no_link = xyes; then
89883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89885 { (exit 1); exit 1; }; }
89887 cat >conftest.$ac_ext <<_ACEOF
89888 /* confdefs.h. */
89889 _ACEOF
89890 cat confdefs.h >>conftest.$ac_ext
89891 cat >>conftest.$ac_ext <<_ACEOF
89892 /* end confdefs.h. */
89893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89895 #define $ac_func innocuous_$ac_func
89897 /* System header to define __stub macros and hopefully few prototypes,
89898 which can conflict with char $ac_func (); below.
89899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89900 <limits.h> exists even on freestanding compilers. */
89902 #ifdef __STDC__
89903 # include <limits.h>
89904 #else
89905 # include <assert.h>
89906 #endif
89908 #undef $ac_func
89910 /* Override any gcc2 internal prototype to avoid an error. */
89911 #ifdef __cplusplus
89912 extern "C"
89914 #endif
89915 /* We use char because int might match the return type of a gcc2
89916 builtin and then its argument prototype would still apply. */
89917 char $ac_func ();
89918 /* The GNU C library defines this for functions which it implements
89919 to always fail with ENOSYS. Some functions are actually named
89920 something starting with __ and the normal name is an alias. */
89921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89922 choke me
89923 #else
89924 char (*f) () = $ac_func;
89925 #endif
89926 #ifdef __cplusplus
89928 #endif
89931 main ()
89933 return f != $ac_func;
89935 return 0;
89937 _ACEOF
89938 rm -f conftest.$ac_objext conftest$ac_exeext
89939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89940 (eval $ac_link) 2>conftest.er1
89941 ac_status=$?
89942 grep -v '^ *+' conftest.er1 >conftest.err
89943 rm -f conftest.er1
89944 cat conftest.err >&5
89945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89946 (exit $ac_status); } &&
89947 { ac_try='test -z "$ac_c_werror_flag"
89948 || test ! -s conftest.err'
89949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89950 (eval $ac_try) 2>&5
89951 ac_status=$?
89952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89953 (exit $ac_status); }; } &&
89954 { ac_try='test -s conftest$ac_exeext'
89955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89956 (eval $ac_try) 2>&5
89957 ac_status=$?
89958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89959 (exit $ac_status); }; }; then
89960 eval "$as_ac_var=yes"
89961 else
89962 echo "$as_me: failed program was:" >&5
89963 sed 's/^/| /' conftest.$ac_ext >&5
89965 eval "$as_ac_var=no"
89967 rm -f conftest.err conftest.$ac_objext \
89968 conftest$ac_exeext conftest.$ac_ext
89970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89972 if test `eval echo '${'$as_ac_var'}'` = yes; then
89973 cat >>confdefs.h <<_ACEOF
89974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89975 _ACEOF
89977 else
89978 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
89980 done
89984 for ac_func in __signbitf
89986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89987 echo "$as_me:$LINENO: checking for $ac_func" >&5
89988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89989 if eval "test \"\${$as_ac_var+set}\" = set"; then
89990 echo $ECHO_N "(cached) $ECHO_C" >&6
89991 else
89992 if test x$gcc_no_link = xyes; then
89993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89995 { (exit 1); exit 1; }; }
89997 cat >conftest.$ac_ext <<_ACEOF
89998 /* confdefs.h. */
89999 _ACEOF
90000 cat confdefs.h >>conftest.$ac_ext
90001 cat >>conftest.$ac_ext <<_ACEOF
90002 /* end confdefs.h. */
90003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90005 #define $ac_func innocuous_$ac_func
90007 /* System header to define __stub macros and hopefully few prototypes,
90008 which can conflict with char $ac_func (); below.
90009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90010 <limits.h> exists even on freestanding compilers. */
90012 #ifdef __STDC__
90013 # include <limits.h>
90014 #else
90015 # include <assert.h>
90016 #endif
90018 #undef $ac_func
90020 /* Override any gcc2 internal prototype to avoid an error. */
90021 #ifdef __cplusplus
90022 extern "C"
90024 #endif
90025 /* We use char because int might match the return type of a gcc2
90026 builtin and then its argument prototype would still apply. */
90027 char $ac_func ();
90028 /* The GNU C library defines this for functions which it implements
90029 to always fail with ENOSYS. Some functions are actually named
90030 something starting with __ and the normal name is an alias. */
90031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90032 choke me
90033 #else
90034 char (*f) () = $ac_func;
90035 #endif
90036 #ifdef __cplusplus
90038 #endif
90041 main ()
90043 return f != $ac_func;
90045 return 0;
90047 _ACEOF
90048 rm -f conftest.$ac_objext conftest$ac_exeext
90049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90050 (eval $ac_link) 2>conftest.er1
90051 ac_status=$?
90052 grep -v '^ *+' conftest.er1 >conftest.err
90053 rm -f conftest.er1
90054 cat conftest.err >&5
90055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90056 (exit $ac_status); } &&
90057 { ac_try='test -z "$ac_c_werror_flag"
90058 || test ! -s conftest.err'
90059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90060 (eval $ac_try) 2>&5
90061 ac_status=$?
90062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90063 (exit $ac_status); }; } &&
90064 { ac_try='test -s conftest$ac_exeext'
90065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90066 (eval $ac_try) 2>&5
90067 ac_status=$?
90068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90069 (exit $ac_status); }; }; then
90070 eval "$as_ac_var=yes"
90071 else
90072 echo "$as_me: failed program was:" >&5
90073 sed 's/^/| /' conftest.$ac_ext >&5
90075 eval "$as_ac_var=no"
90077 rm -f conftest.err conftest.$ac_objext \
90078 conftest$ac_exeext conftest.$ac_ext
90080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90082 if test `eval echo '${'$as_ac_var'}'` = yes; then
90083 cat >>confdefs.h <<_ACEOF
90084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90085 _ACEOF
90087 else
90088 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
90090 done
90093 if test x$ac_cv_func_copysignl = x"yes"; then
90095 for ac_func in __signbitl
90097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90098 echo "$as_me:$LINENO: checking for $ac_func" >&5
90099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90100 if eval "test \"\${$as_ac_var+set}\" = set"; then
90101 echo $ECHO_N "(cached) $ECHO_C" >&6
90102 else
90103 if test x$gcc_no_link = xyes; then
90104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90106 { (exit 1); exit 1; }; }
90108 cat >conftest.$ac_ext <<_ACEOF
90109 /* confdefs.h. */
90110 _ACEOF
90111 cat confdefs.h >>conftest.$ac_ext
90112 cat >>conftest.$ac_ext <<_ACEOF
90113 /* end confdefs.h. */
90114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90116 #define $ac_func innocuous_$ac_func
90118 /* System header to define __stub macros and hopefully few prototypes,
90119 which can conflict with char $ac_func (); below.
90120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90121 <limits.h> exists even on freestanding compilers. */
90123 #ifdef __STDC__
90124 # include <limits.h>
90125 #else
90126 # include <assert.h>
90127 #endif
90129 #undef $ac_func
90131 /* Override any gcc2 internal prototype to avoid an error. */
90132 #ifdef __cplusplus
90133 extern "C"
90135 #endif
90136 /* We use char because int might match the return type of a gcc2
90137 builtin and then its argument prototype would still apply. */
90138 char $ac_func ();
90139 /* The GNU C library defines this for functions which it implements
90140 to always fail with ENOSYS. Some functions are actually named
90141 something starting with __ and the normal name is an alias. */
90142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90143 choke me
90144 #else
90145 char (*f) () = $ac_func;
90146 #endif
90147 #ifdef __cplusplus
90149 #endif
90152 main ()
90154 return f != $ac_func;
90156 return 0;
90158 _ACEOF
90159 rm -f conftest.$ac_objext conftest$ac_exeext
90160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90161 (eval $ac_link) 2>conftest.er1
90162 ac_status=$?
90163 grep -v '^ *+' conftest.er1 >conftest.err
90164 rm -f conftest.er1
90165 cat conftest.err >&5
90166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90167 (exit $ac_status); } &&
90168 { ac_try='test -z "$ac_c_werror_flag"
90169 || test ! -s conftest.err'
90170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90171 (eval $ac_try) 2>&5
90172 ac_status=$?
90173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90174 (exit $ac_status); }; } &&
90175 { ac_try='test -s conftest$ac_exeext'
90176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90177 (eval $ac_try) 2>&5
90178 ac_status=$?
90179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90180 (exit $ac_status); }; }; then
90181 eval "$as_ac_var=yes"
90182 else
90183 echo "$as_me: failed program was:" >&5
90184 sed 's/^/| /' conftest.$ac_ext >&5
90186 eval "$as_ac_var=no"
90188 rm -f conftest.err conftest.$ac_objext \
90189 conftest$ac_exeext conftest.$ac_ext
90191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90193 if test `eval echo '${'$as_ac_var'}'` = yes; then
90194 cat >>confdefs.h <<_ACEOF
90195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90196 _ACEOF
90198 else
90199 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
90201 done
90205 # Used in libmath/Makefile.am.
90206 if test -n "$LIBMATHOBJS"; then
90207 need_libmath=yes
90211 cat >>confdefs.h <<\_ACEOF
90212 #define HAVE_COSF 1
90213 _ACEOF
90215 cat >>confdefs.h <<\_ACEOF
90216 #define HAVE_COSL 1
90217 _ACEOF
90219 cat >>confdefs.h <<\_ACEOF
90220 #define HAVE_COSHF 1
90221 _ACEOF
90223 cat >>confdefs.h <<\_ACEOF
90224 #define HAVE_COSHL 1
90225 _ACEOF
90227 cat >>confdefs.h <<\_ACEOF
90228 #define HAVE_LOGF 1
90229 _ACEOF
90231 cat >>confdefs.h <<\_ACEOF
90232 #define HAVE_LOGL 1
90233 _ACEOF
90235 cat >>confdefs.h <<\_ACEOF
90236 #define HAVE_LOG10F 1
90237 _ACEOF
90239 cat >>confdefs.h <<\_ACEOF
90240 #define HAVE_LOG10L 1
90241 _ACEOF
90243 cat >>confdefs.h <<\_ACEOF
90244 #define HAVE_SINF 1
90245 _ACEOF
90247 cat >>confdefs.h <<\_ACEOF
90248 #define HAVE_SINL 1
90249 _ACEOF
90251 cat >>confdefs.h <<\_ACEOF
90252 #define HAVE_SINHF 1
90253 _ACEOF
90255 cat >>confdefs.h <<\_ACEOF
90256 #define HAVE_SINHL 1
90257 _ACEOF
90260 *-solaris*)
90261 case "$target" in
90262 # *-solaris2.5)
90263 # os_include_dir="os/solaris/solaris2.5"
90264 # ;;
90265 # *-solaris2.6)
90266 # os_include_dir="os/solaris/solaris2.6"
90267 # ;;
90268 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
90270 # If we're not using GNU ld, then there's no point in even trying these
90271 # tests. Check for that first. We should have already tested for gld
90272 # by now (in libtool), but require it now just to be safe...
90273 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
90274 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
90278 # The name set by libtool depends on the version of libtool. Shame on us
90279 # for depending on an impl detail, but c'est la vie. Older versions used
90280 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
90281 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
90282 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
90283 # set (hence we're using an older libtool), then set it.
90284 if test x${with_gnu_ld+set} != xset; then
90285 if test x${ac_cv_prog_gnu_ld+set} != xset; then
90286 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
90287 with_gnu_ld=no
90288 else
90289 with_gnu_ld=$ac_cv_prog_gnu_ld
90293 # Start by getting the version number. I think the libtool test already
90294 # does some of this, but throws away the result.
90295 if test x"$with_gnu_ld" = x"yes"; then
90296 echo "$as_me:$LINENO: checking for ld version" >&5
90297 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
90299 ldver=`$LD --version 2>/dev/null | head -1 | \
90300 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
90302 glibcxx_gnu_ld_version=`echo $ldver | \
90303 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
90304 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
90305 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
90308 # Set --gc-sections.
90309 glibcxx_gcsections_min_ld=21602
90310 if test x"$with_gnu_ld" = x"yes" &&
90311 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
90313 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
90314 # NB: This flag only works reliably after 2.16.1. Configure tests
90315 # for this are difficult, so hard wire a value that should work.
90317 ac_test_CFLAGS="${CFLAGS+set}"
90318 ac_save_CFLAGS="$CFLAGS"
90319 CFLAGS='-Wl,--gc-sections'
90321 # Check for -Wl,--gc-sections
90322 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
90323 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
90324 if test x$gcc_no_link = xyes; then
90325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90327 { (exit 1); exit 1; }; }
90329 cat >conftest.$ac_ext <<_ACEOF
90330 /* confdefs.h. */
90331 _ACEOF
90332 cat confdefs.h >>conftest.$ac_ext
90333 cat >>conftest.$ac_ext <<_ACEOF
90334 /* end confdefs.h. */
90335 int one(void) { return 1; }
90336 int two(void) { return 2; }
90339 main ()
90341 two();
90343 return 0;
90345 _ACEOF
90346 rm -f conftest.$ac_objext conftest$ac_exeext
90347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90348 (eval $ac_link) 2>conftest.er1
90349 ac_status=$?
90350 grep -v '^ *+' conftest.er1 >conftest.err
90351 rm -f conftest.er1
90352 cat conftest.err >&5
90353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90354 (exit $ac_status); } &&
90355 { ac_try='test -z "$ac_c_werror_flag"
90356 || test ! -s conftest.err'
90357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90358 (eval $ac_try) 2>&5
90359 ac_status=$?
90360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90361 (exit $ac_status); }; } &&
90362 { ac_try='test -s conftest$ac_exeext'
90363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90364 (eval $ac_try) 2>&5
90365 ac_status=$?
90366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90367 (exit $ac_status); }; }; then
90368 ac_gcsections=yes
90369 else
90370 echo "$as_me: failed program was:" >&5
90371 sed 's/^/| /' conftest.$ac_ext >&5
90373 ac_gcsections=no
90375 rm -f conftest.err conftest.$ac_objext \
90376 conftest$ac_exeext conftest.$ac_ext
90377 if test "$ac_gcsections" = "yes"; then
90378 rm -f conftest.c
90379 touch conftest.c
90380 if $CC -c conftest.c; then
90381 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
90382 grep "Warning: gc-sections option ignored" > /dev/null; then
90383 ac_gcsections=no
90386 rm -f conftest.c conftest.o conftest
90388 if test "$ac_gcsections" = "yes"; then
90389 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
90391 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
90392 echo "${ECHO_T}$ac_gcsections" >&6
90394 if test "$ac_test_CFLAGS" = set; then
90395 CFLAGS="$ac_save_CFLAGS"
90396 else
90397 # this is the suspicious part
90398 CFLAGS=''
90402 # Set -z,relro.
90403 # Note this is only for shared objects.
90404 ac_ld_relro=no
90405 if test x"$with_gnu_ld" = x"yes"; then
90406 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
90407 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
90408 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
90409 if test -n "$cxx_z_relo"; then
90410 OPT_LDFLAGS="-Wl,-z,relro"
90411 ac_ld_relro=yes
90413 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
90414 echo "${ECHO_T}$ac_ld_relro" >&6
90417 # Set linker optimization flags.
90418 if test x"$with_gnu_ld" = x"yes"; then
90419 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
90425 cat >>confdefs.h <<\_ACEOF
90426 #define HAVE_GETPAGESIZE 1
90427 _ACEOF
90429 cat >>confdefs.h <<\_ACEOF
90430 #define HAVE_SIGSETJMP 1
90431 _ACEOF
90433 cat >>confdefs.h <<\_ACEOF
90434 #define HAVE_MBSTATE_T 1
90435 _ACEOF
90437 cat >>confdefs.h <<\_ACEOF
90438 #define HAVE_POLL 1
90439 _ACEOF
90441 cat >>confdefs.h <<\_ACEOF
90442 #define HAVE_S_ISREG 1
90443 _ACEOF
90445 cat >>confdefs.h <<\_ACEOF
90446 #define HAVE_LC_MESSAGES 1
90447 _ACEOF
90449 cat >>confdefs.h <<\_ACEOF
90450 #define HAVE_FINITE 1
90451 _ACEOF
90453 cat >>confdefs.h <<\_ACEOF
90454 #define HAVE_FPCLASS 1
90455 _ACEOF
90457 cat >>confdefs.h <<\_ACEOF
90458 #define HAVE_GETPAGESIZE 1
90459 _ACEOF
90461 # All of the dependencies for wide character support are here, so
90462 # turn it on.
90463 cat >>confdefs.h <<\_ACEOF
90464 #define _GLIBCXX_USE_WCHAR_T 1
90465 _ACEOF
90467 # Are these tested for even when cross?
90468 cat >>confdefs.h <<\_ACEOF
90469 #define HAVE_FLOAT_H 1
90470 _ACEOF
90472 cat >>confdefs.h <<\_ACEOF
90473 #define HAVE_IEEEFP_H 1
90474 _ACEOF
90476 cat >>confdefs.h <<\_ACEOF
90477 #define HAVE_INTTYPES_H 1
90478 _ACEOF
90480 cat >>confdefs.h <<\_ACEOF
90481 #define HAVE_LOCALE_H 1
90482 _ACEOF
90484 cat >>confdefs.h <<\_ACEOF
90485 #define HAVE_NAN_H 1
90486 _ACEOF
90488 cat >>confdefs.h <<\_ACEOF
90489 #define HAVE_SYS_FILIO_H 1
90490 _ACEOF
90492 cat >>confdefs.h <<\_ACEOF
90493 #define HAVE_SYS_IOCTL_H 1
90494 _ACEOF
90496 cat >>confdefs.h <<\_ACEOF
90497 #define HAVE_SYS_ISA_DEFS_H 1
90498 _ACEOF
90500 cat >>confdefs.h <<\_ACEOF
90501 #define HAVE_SYS_RESOURCE_H 1
90502 _ACEOF
90504 cat >>confdefs.h <<\_ACEOF
90505 #define HAVE_SYS_TIME_H 1
90506 _ACEOF
90508 cat >>confdefs.h <<\_ACEOF
90509 #define HAVE_SYS_TYPES_H 1
90510 _ACEOF
90512 cat >>confdefs.h <<\_ACEOF
90513 #define HAVE_UNISTD_H 1
90514 _ACEOF
90516 cat >>confdefs.h <<\_ACEOF
90517 #define HAVE_WCHAR_H 1
90518 _ACEOF
90520 cat >>confdefs.h <<\_ACEOF
90521 #define HAVE_WCTYPE_H 1
90522 _ACEOF
90524 cat >>confdefs.h <<\_ACEOF
90525 #define HAVE_LIBM 1
90526 _ACEOF
90529 esac
90530 case "$target" in
90531 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
90532 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
90533 cat >>confdefs.h <<\_ACEOF
90534 #define HAVE___BUILTIN_ABS 1
90535 _ACEOF
90537 cat >>confdefs.h <<\_ACEOF
90538 #define HAVE___BUILTIN_LABS 1
90539 _ACEOF
90541 cat >>confdefs.h <<\_ACEOF
90542 #define HAVE___BUILTIN_FABS 1
90543 _ACEOF
90545 cat >>confdefs.h <<\_ACEOF
90546 #define HAVE___BUILTIN_FABSF 1
90547 _ACEOF
90549 cat >>confdefs.h <<\_ACEOF
90550 #define HAVE___BUILTIN_FABSL 1
90551 _ACEOF
90553 cat >>confdefs.h <<\_ACEOF
90554 #define HAVE___BUILTIN_COS 1
90555 _ACEOF
90557 cat >>confdefs.h <<\_ACEOF
90558 #define HAVE___BUILTIN_COSF 1
90559 _ACEOF
90561 cat >>confdefs.h <<\_ACEOF
90562 #define HAVE___BUILTIN_SIN 1
90563 _ACEOF
90565 cat >>confdefs.h <<\_ACEOF
90566 #define HAVE___BUILTIN_SINF 1
90567 _ACEOF
90570 esac
90571 case "$target" in
90572 *-*-solaris2.10)
90573 # These two C99 functions are present only in Solaris >= 10
90574 cat >>confdefs.h <<\_ACEOF
90575 #define HAVE_STRTOF 1
90576 _ACEOF
90578 cat >>confdefs.h <<\_ACEOF
90579 #define HAVE_STRTOLD 1
90580 _ACEOF
90583 esac
90584 cat >>confdefs.h <<\_ACEOF
90585 #define HAVE_MMAP 1
90586 _ACEOF
90588 cat >>confdefs.h <<\_ACEOF
90589 #define HAVE_COPYSIGN 1
90590 _ACEOF
90592 cat >>confdefs.h <<\_ACEOF
90593 #define HAVE_ISNAN 1
90594 _ACEOF
90596 cat >>confdefs.h <<\_ACEOF
90597 #define HAVE_ISNANF 1
90598 _ACEOF
90600 cat >>confdefs.h <<\_ACEOF
90601 #define HAVE_MODFF 1
90602 _ACEOF
90604 cat >>confdefs.h <<\_ACEOF
90605 #define HAVE_HYPOT 1
90606 _ACEOF
90609 *-tpf)
90618 for ac_header in nan.h endian.h machine/endian.h \
90619 sys/param.h sys/types.h locale.h float.h inttypes.h
90621 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90623 echo "$as_me:$LINENO: checking for $ac_header" >&5
90624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90626 echo $ECHO_N "(cached) $ECHO_C" >&6
90628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90630 else
90631 # Is the header compilable?
90632 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90633 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90634 cat >conftest.$ac_ext <<_ACEOF
90635 /* confdefs.h. */
90636 _ACEOF
90637 cat confdefs.h >>conftest.$ac_ext
90638 cat >>conftest.$ac_ext <<_ACEOF
90639 /* end confdefs.h. */
90640 $ac_includes_default
90641 #include <$ac_header>
90642 _ACEOF
90643 rm -f conftest.$ac_objext
90644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90645 (eval $ac_compile) 2>conftest.er1
90646 ac_status=$?
90647 grep -v '^ *+' conftest.er1 >conftest.err
90648 rm -f conftest.er1
90649 cat conftest.err >&5
90650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90651 (exit $ac_status); } &&
90652 { ac_try='test -z "$ac_c_werror_flag"
90653 || test ! -s conftest.err'
90654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90655 (eval $ac_try) 2>&5
90656 ac_status=$?
90657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90658 (exit $ac_status); }; } &&
90659 { ac_try='test -s conftest.$ac_objext'
90660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90661 (eval $ac_try) 2>&5
90662 ac_status=$?
90663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90664 (exit $ac_status); }; }; then
90665 ac_header_compiler=yes
90666 else
90667 echo "$as_me: failed program was:" >&5
90668 sed 's/^/| /' conftest.$ac_ext >&5
90670 ac_header_compiler=no
90672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90673 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90674 echo "${ECHO_T}$ac_header_compiler" >&6
90676 # Is the header present?
90677 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90678 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90679 cat >conftest.$ac_ext <<_ACEOF
90680 /* confdefs.h. */
90681 _ACEOF
90682 cat confdefs.h >>conftest.$ac_ext
90683 cat >>conftest.$ac_ext <<_ACEOF
90684 /* end confdefs.h. */
90685 #include <$ac_header>
90686 _ACEOF
90687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90688 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90689 ac_status=$?
90690 grep -v '^ *+' conftest.er1 >conftest.err
90691 rm -f conftest.er1
90692 cat conftest.err >&5
90693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90694 (exit $ac_status); } >/dev/null; then
90695 if test -s conftest.err; then
90696 ac_cpp_err=$ac_c_preproc_warn_flag
90697 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90698 else
90699 ac_cpp_err=
90701 else
90702 ac_cpp_err=yes
90704 if test -z "$ac_cpp_err"; then
90705 ac_header_preproc=yes
90706 else
90707 echo "$as_me: failed program was:" >&5
90708 sed 's/^/| /' conftest.$ac_ext >&5
90710 ac_header_preproc=no
90712 rm -f conftest.err conftest.$ac_ext
90713 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90714 echo "${ECHO_T}$ac_header_preproc" >&6
90716 # So? What about this header?
90717 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90718 yes:no: )
90719 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90720 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90722 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90723 ac_header_preproc=yes
90725 no:yes:* )
90726 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90727 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90728 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
90729 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
90730 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90731 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90732 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
90733 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
90734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90735 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90736 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90737 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90739 cat <<\_ASBOX
90740 ## ----------------------------------------- ##
90741 ## Report this to the package-unused lists. ##
90742 ## ----------------------------------------- ##
90743 _ASBOX
90745 sed "s/^/$as_me: WARNING: /" >&2
90747 esac
90748 echo "$as_me:$LINENO: checking for $ac_header" >&5
90749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90751 echo $ECHO_N "(cached) $ECHO_C" >&6
90752 else
90753 eval "$as_ac_Header=\$ac_header_preproc"
90755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90760 cat >>confdefs.h <<_ACEOF
90761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90762 _ACEOF
90766 done
90768 SECTION_FLAGS='-ffunction-sections -fdata-sections'
90771 # If we're not using GNU ld, then there's no point in even trying these
90772 # tests. Check for that first. We should have already tested for gld
90773 # by now (in libtool), but require it now just to be safe...
90774 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
90775 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
90779 # The name set by libtool depends on the version of libtool. Shame on us
90780 # for depending on an impl detail, but c'est la vie. Older versions used
90781 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
90782 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
90783 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
90784 # set (hence we're using an older libtool), then set it.
90785 if test x${with_gnu_ld+set} != xset; then
90786 if test x${ac_cv_prog_gnu_ld+set} != xset; then
90787 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
90788 with_gnu_ld=no
90789 else
90790 with_gnu_ld=$ac_cv_prog_gnu_ld
90794 # Start by getting the version number. I think the libtool test already
90795 # does some of this, but throws away the result.
90796 if test x"$with_gnu_ld" = x"yes"; then
90797 echo "$as_me:$LINENO: checking for ld version" >&5
90798 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
90800 ldver=`$LD --version 2>/dev/null | head -1 | \
90801 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
90803 glibcxx_gnu_ld_version=`echo $ldver | \
90804 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
90805 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
90806 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
90809 # Set --gc-sections.
90810 glibcxx_gcsections_min_ld=21602
90811 if test x"$with_gnu_ld" = x"yes" &&
90812 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
90814 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
90815 # NB: This flag only works reliably after 2.16.1. Configure tests
90816 # for this are difficult, so hard wire a value that should work.
90818 ac_test_CFLAGS="${CFLAGS+set}"
90819 ac_save_CFLAGS="$CFLAGS"
90820 CFLAGS='-Wl,--gc-sections'
90822 # Check for -Wl,--gc-sections
90823 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
90824 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
90825 if test x$gcc_no_link = xyes; then
90826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90828 { (exit 1); exit 1; }; }
90830 cat >conftest.$ac_ext <<_ACEOF
90831 /* confdefs.h. */
90832 _ACEOF
90833 cat confdefs.h >>conftest.$ac_ext
90834 cat >>conftest.$ac_ext <<_ACEOF
90835 /* end confdefs.h. */
90836 int one(void) { return 1; }
90837 int two(void) { return 2; }
90840 main ()
90842 two();
90844 return 0;
90846 _ACEOF
90847 rm -f conftest.$ac_objext conftest$ac_exeext
90848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90849 (eval $ac_link) 2>conftest.er1
90850 ac_status=$?
90851 grep -v '^ *+' conftest.er1 >conftest.err
90852 rm -f conftest.er1
90853 cat conftest.err >&5
90854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90855 (exit $ac_status); } &&
90856 { ac_try='test -z "$ac_c_werror_flag"
90857 || test ! -s conftest.err'
90858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90859 (eval $ac_try) 2>&5
90860 ac_status=$?
90861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90862 (exit $ac_status); }; } &&
90863 { ac_try='test -s conftest$ac_exeext'
90864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90865 (eval $ac_try) 2>&5
90866 ac_status=$?
90867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90868 (exit $ac_status); }; }; then
90869 ac_gcsections=yes
90870 else
90871 echo "$as_me: failed program was:" >&5
90872 sed 's/^/| /' conftest.$ac_ext >&5
90874 ac_gcsections=no
90876 rm -f conftest.err conftest.$ac_objext \
90877 conftest$ac_exeext conftest.$ac_ext
90878 if test "$ac_gcsections" = "yes"; then
90879 rm -f conftest.c
90880 touch conftest.c
90881 if $CC -c conftest.c; then
90882 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
90883 grep "Warning: gc-sections option ignored" > /dev/null; then
90884 ac_gcsections=no
90887 rm -f conftest.c conftest.o conftest
90889 if test "$ac_gcsections" = "yes"; then
90890 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
90892 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
90893 echo "${ECHO_T}$ac_gcsections" >&6
90895 if test "$ac_test_CFLAGS" = set; then
90896 CFLAGS="$ac_save_CFLAGS"
90897 else
90898 # this is the suspicious part
90899 CFLAGS=''
90903 # Set -z,relro.
90904 # Note this is only for shared objects.
90905 ac_ld_relro=no
90906 if test x"$with_gnu_ld" = x"yes"; then
90907 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
90908 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
90909 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
90910 if test -n "$cxx_z_relo"; then
90911 OPT_LDFLAGS="-Wl,-z,relro"
90912 ac_ld_relro=yes
90914 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
90915 echo "${ECHO_T}$ac_ld_relro" >&6
90918 # Set linker optimization flags.
90919 if test x"$with_gnu_ld" = x"yes"; then
90920 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
90928 echo "$as_me:$LINENO: checking for main in -lm" >&5
90929 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
90930 if test "${ac_cv_lib_m_main+set}" = set; then
90931 echo $ECHO_N "(cached) $ECHO_C" >&6
90932 else
90933 ac_check_lib_save_LIBS=$LIBS
90934 LIBS="-lm $LIBS"
90935 if test x$gcc_no_link = xyes; then
90936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90938 { (exit 1); exit 1; }; }
90940 cat >conftest.$ac_ext <<_ACEOF
90941 /* confdefs.h. */
90942 _ACEOF
90943 cat confdefs.h >>conftest.$ac_ext
90944 cat >>conftest.$ac_ext <<_ACEOF
90945 /* end confdefs.h. */
90949 main ()
90951 main ();
90953 return 0;
90955 _ACEOF
90956 rm -f conftest.$ac_objext conftest$ac_exeext
90957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90958 (eval $ac_link) 2>conftest.er1
90959 ac_status=$?
90960 grep -v '^ *+' conftest.er1 >conftest.err
90961 rm -f conftest.er1
90962 cat conftest.err >&5
90963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90964 (exit $ac_status); } &&
90965 { ac_try='test -z "$ac_c_werror_flag"
90966 || test ! -s conftest.err'
90967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90968 (eval $ac_try) 2>&5
90969 ac_status=$?
90970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90971 (exit $ac_status); }; } &&
90972 { ac_try='test -s conftest$ac_exeext'
90973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90974 (eval $ac_try) 2>&5
90975 ac_status=$?
90976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90977 (exit $ac_status); }; }; then
90978 ac_cv_lib_m_main=yes
90979 else
90980 echo "$as_me: failed program was:" >&5
90981 sed 's/^/| /' conftest.$ac_ext >&5
90983 ac_cv_lib_m_main=no
90985 rm -f conftest.err conftest.$ac_objext \
90986 conftest$ac_exeext conftest.$ac_ext
90987 LIBS=$ac_check_lib_save_LIBS
90989 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
90990 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
90991 if test $ac_cv_lib_m_main = yes; then
90992 cat >>confdefs.h <<_ACEOF
90993 #define HAVE_LIBM 1
90994 _ACEOF
90996 LIBS="-lm $LIBS"
91001 for ac_func in copysignf
91003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91004 echo "$as_me:$LINENO: checking for $ac_func" >&5
91005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91006 if eval "test \"\${$as_ac_var+set}\" = set"; then
91007 echo $ECHO_N "(cached) $ECHO_C" >&6
91008 else
91009 if test x$gcc_no_link = xyes; then
91010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91012 { (exit 1); exit 1; }; }
91014 cat >conftest.$ac_ext <<_ACEOF
91015 /* confdefs.h. */
91016 _ACEOF
91017 cat confdefs.h >>conftest.$ac_ext
91018 cat >>conftest.$ac_ext <<_ACEOF
91019 /* end confdefs.h. */
91020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91022 #define $ac_func innocuous_$ac_func
91024 /* System header to define __stub macros and hopefully few prototypes,
91025 which can conflict with char $ac_func (); below.
91026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91027 <limits.h> exists even on freestanding compilers. */
91029 #ifdef __STDC__
91030 # include <limits.h>
91031 #else
91032 # include <assert.h>
91033 #endif
91035 #undef $ac_func
91037 /* Override any gcc2 internal prototype to avoid an error. */
91038 #ifdef __cplusplus
91039 extern "C"
91041 #endif
91042 /* We use char because int might match the return type of a gcc2
91043 builtin and then its argument prototype would still apply. */
91044 char $ac_func ();
91045 /* The GNU C library defines this for functions which it implements
91046 to always fail with ENOSYS. Some functions are actually named
91047 something starting with __ and the normal name is an alias. */
91048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91049 choke me
91050 #else
91051 char (*f) () = $ac_func;
91052 #endif
91053 #ifdef __cplusplus
91055 #endif
91058 main ()
91060 return f != $ac_func;
91062 return 0;
91064 _ACEOF
91065 rm -f conftest.$ac_objext conftest$ac_exeext
91066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91067 (eval $ac_link) 2>conftest.er1
91068 ac_status=$?
91069 grep -v '^ *+' conftest.er1 >conftest.err
91070 rm -f conftest.er1
91071 cat conftest.err >&5
91072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91073 (exit $ac_status); } &&
91074 { ac_try='test -z "$ac_c_werror_flag"
91075 || test ! -s conftest.err'
91076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91077 (eval $ac_try) 2>&5
91078 ac_status=$?
91079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91080 (exit $ac_status); }; } &&
91081 { ac_try='test -s conftest$ac_exeext'
91082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91083 (eval $ac_try) 2>&5
91084 ac_status=$?
91085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91086 (exit $ac_status); }; }; then
91087 eval "$as_ac_var=yes"
91088 else
91089 echo "$as_me: failed program was:" >&5
91090 sed 's/^/| /' conftest.$ac_ext >&5
91092 eval "$as_ac_var=no"
91094 rm -f conftest.err conftest.$ac_objext \
91095 conftest$ac_exeext conftest.$ac_ext
91097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91099 if test `eval echo '${'$as_ac_var'}'` = yes; then
91100 cat >>confdefs.h <<_ACEOF
91101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91102 _ACEOF
91104 else
91105 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
91107 done
91111 for ac_func in __signbit
91113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91114 echo "$as_me:$LINENO: checking for $ac_func" >&5
91115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91116 if eval "test \"\${$as_ac_var+set}\" = set"; then
91117 echo $ECHO_N "(cached) $ECHO_C" >&6
91118 else
91119 if test x$gcc_no_link = xyes; then
91120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91122 { (exit 1); exit 1; }; }
91124 cat >conftest.$ac_ext <<_ACEOF
91125 /* confdefs.h. */
91126 _ACEOF
91127 cat confdefs.h >>conftest.$ac_ext
91128 cat >>conftest.$ac_ext <<_ACEOF
91129 /* end confdefs.h. */
91130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91132 #define $ac_func innocuous_$ac_func
91134 /* System header to define __stub macros and hopefully few prototypes,
91135 which can conflict with char $ac_func (); below.
91136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91137 <limits.h> exists even on freestanding compilers. */
91139 #ifdef __STDC__
91140 # include <limits.h>
91141 #else
91142 # include <assert.h>
91143 #endif
91145 #undef $ac_func
91147 /* Override any gcc2 internal prototype to avoid an error. */
91148 #ifdef __cplusplus
91149 extern "C"
91151 #endif
91152 /* We use char because int might match the return type of a gcc2
91153 builtin and then its argument prototype would still apply. */
91154 char $ac_func ();
91155 /* The GNU C library defines this for functions which it implements
91156 to always fail with ENOSYS. Some functions are actually named
91157 something starting with __ and the normal name is an alias. */
91158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91159 choke me
91160 #else
91161 char (*f) () = $ac_func;
91162 #endif
91163 #ifdef __cplusplus
91165 #endif
91168 main ()
91170 return f != $ac_func;
91172 return 0;
91174 _ACEOF
91175 rm -f conftest.$ac_objext conftest$ac_exeext
91176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91177 (eval $ac_link) 2>conftest.er1
91178 ac_status=$?
91179 grep -v '^ *+' conftest.er1 >conftest.err
91180 rm -f conftest.er1
91181 cat conftest.err >&5
91182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91183 (exit $ac_status); } &&
91184 { ac_try='test -z "$ac_c_werror_flag"
91185 || test ! -s conftest.err'
91186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91187 (eval $ac_try) 2>&5
91188 ac_status=$?
91189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91190 (exit $ac_status); }; } &&
91191 { ac_try='test -s conftest$ac_exeext'
91192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91193 (eval $ac_try) 2>&5
91194 ac_status=$?
91195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91196 (exit $ac_status); }; }; then
91197 eval "$as_ac_var=yes"
91198 else
91199 echo "$as_me: failed program was:" >&5
91200 sed 's/^/| /' conftest.$ac_ext >&5
91202 eval "$as_ac_var=no"
91204 rm -f conftest.err conftest.$ac_objext \
91205 conftest$ac_exeext conftest.$ac_ext
91207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91209 if test `eval echo '${'$as_ac_var'}'` = yes; then
91210 cat >>confdefs.h <<_ACEOF
91211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91212 _ACEOF
91214 else
91215 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
91217 done
91221 for ac_func in __signbitf
91223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91224 echo "$as_me:$LINENO: checking for $ac_func" >&5
91225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91226 if eval "test \"\${$as_ac_var+set}\" = set"; then
91227 echo $ECHO_N "(cached) $ECHO_C" >&6
91228 else
91229 if test x$gcc_no_link = xyes; then
91230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91232 { (exit 1); exit 1; }; }
91234 cat >conftest.$ac_ext <<_ACEOF
91235 /* confdefs.h. */
91236 _ACEOF
91237 cat confdefs.h >>conftest.$ac_ext
91238 cat >>conftest.$ac_ext <<_ACEOF
91239 /* end confdefs.h. */
91240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91242 #define $ac_func innocuous_$ac_func
91244 /* System header to define __stub macros and hopefully few prototypes,
91245 which can conflict with char $ac_func (); below.
91246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91247 <limits.h> exists even on freestanding compilers. */
91249 #ifdef __STDC__
91250 # include <limits.h>
91251 #else
91252 # include <assert.h>
91253 #endif
91255 #undef $ac_func
91257 /* Override any gcc2 internal prototype to avoid an error. */
91258 #ifdef __cplusplus
91259 extern "C"
91261 #endif
91262 /* We use char because int might match the return type of a gcc2
91263 builtin and then its argument prototype would still apply. */
91264 char $ac_func ();
91265 /* The GNU C library defines this for functions which it implements
91266 to always fail with ENOSYS. Some functions are actually named
91267 something starting with __ and the normal name is an alias. */
91268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91269 choke me
91270 #else
91271 char (*f) () = $ac_func;
91272 #endif
91273 #ifdef __cplusplus
91275 #endif
91278 main ()
91280 return f != $ac_func;
91282 return 0;
91284 _ACEOF
91285 rm -f conftest.$ac_objext conftest$ac_exeext
91286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91287 (eval $ac_link) 2>conftest.er1
91288 ac_status=$?
91289 grep -v '^ *+' conftest.er1 >conftest.err
91290 rm -f conftest.er1
91291 cat conftest.err >&5
91292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91293 (exit $ac_status); } &&
91294 { ac_try='test -z "$ac_c_werror_flag"
91295 || test ! -s conftest.err'
91296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91297 (eval $ac_try) 2>&5
91298 ac_status=$?
91299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91300 (exit $ac_status); }; } &&
91301 { ac_try='test -s conftest$ac_exeext'
91302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91303 (eval $ac_try) 2>&5
91304 ac_status=$?
91305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91306 (exit $ac_status); }; }; then
91307 eval "$as_ac_var=yes"
91308 else
91309 echo "$as_me: failed program was:" >&5
91310 sed 's/^/| /' conftest.$ac_ext >&5
91312 eval "$as_ac_var=no"
91314 rm -f conftest.err conftest.$ac_objext \
91315 conftest$ac_exeext conftest.$ac_ext
91317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91319 if test `eval echo '${'$as_ac_var'}'` = yes; then
91320 cat >>confdefs.h <<_ACEOF
91321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91322 _ACEOF
91324 else
91325 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
91327 done
91330 if test x$ac_cv_func_copysignl = x"yes"; then
91332 for ac_func in __signbitl
91334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91335 echo "$as_me:$LINENO: checking for $ac_func" >&5
91336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91337 if eval "test \"\${$as_ac_var+set}\" = set"; then
91338 echo $ECHO_N "(cached) $ECHO_C" >&6
91339 else
91340 if test x$gcc_no_link = xyes; then
91341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91343 { (exit 1); exit 1; }; }
91345 cat >conftest.$ac_ext <<_ACEOF
91346 /* confdefs.h. */
91347 _ACEOF
91348 cat confdefs.h >>conftest.$ac_ext
91349 cat >>conftest.$ac_ext <<_ACEOF
91350 /* end confdefs.h. */
91351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91353 #define $ac_func innocuous_$ac_func
91355 /* System header to define __stub macros and hopefully few prototypes,
91356 which can conflict with char $ac_func (); below.
91357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91358 <limits.h> exists even on freestanding compilers. */
91360 #ifdef __STDC__
91361 # include <limits.h>
91362 #else
91363 # include <assert.h>
91364 #endif
91366 #undef $ac_func
91368 /* Override any gcc2 internal prototype to avoid an error. */
91369 #ifdef __cplusplus
91370 extern "C"
91372 #endif
91373 /* We use char because int might match the return type of a gcc2
91374 builtin and then its argument prototype would still apply. */
91375 char $ac_func ();
91376 /* The GNU C library defines this for functions which it implements
91377 to always fail with ENOSYS. Some functions are actually named
91378 something starting with __ and the normal name is an alias. */
91379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91380 choke me
91381 #else
91382 char (*f) () = $ac_func;
91383 #endif
91384 #ifdef __cplusplus
91386 #endif
91389 main ()
91391 return f != $ac_func;
91393 return 0;
91395 _ACEOF
91396 rm -f conftest.$ac_objext conftest$ac_exeext
91397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91398 (eval $ac_link) 2>conftest.er1
91399 ac_status=$?
91400 grep -v '^ *+' conftest.er1 >conftest.err
91401 rm -f conftest.er1
91402 cat conftest.err >&5
91403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91404 (exit $ac_status); } &&
91405 { ac_try='test -z "$ac_c_werror_flag"
91406 || test ! -s conftest.err'
91407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91408 (eval $ac_try) 2>&5
91409 ac_status=$?
91410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91411 (exit $ac_status); }; } &&
91412 { ac_try='test -s conftest$ac_exeext'
91413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91414 (eval $ac_try) 2>&5
91415 ac_status=$?
91416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91417 (exit $ac_status); }; }; then
91418 eval "$as_ac_var=yes"
91419 else
91420 echo "$as_me: failed program was:" >&5
91421 sed 's/^/| /' conftest.$ac_ext >&5
91423 eval "$as_ac_var=no"
91425 rm -f conftest.err conftest.$ac_objext \
91426 conftest$ac_exeext conftest.$ac_ext
91428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91430 if test `eval echo '${'$as_ac_var'}'` = yes; then
91431 cat >>confdefs.h <<_ACEOF
91432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91433 _ACEOF
91435 else
91436 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
91438 done
91442 # Used in libmath/Makefile.am.
91443 if test -n "$LIBMATHOBJS"; then
91444 need_libmath=yes
91448 cat >>confdefs.h <<\_ACEOF
91449 #define HAVE_COPYSIGN 1
91450 _ACEOF
91452 cat >>confdefs.h <<\_ACEOF
91453 #define HAVE_COPYSIGNF 1
91454 _ACEOF
91456 cat >>confdefs.h <<\_ACEOF
91457 #define HAVE_FINITE 1
91458 _ACEOF
91460 cat >>confdefs.h <<\_ACEOF
91461 #define HAVE_FINITEF 1
91462 _ACEOF
91464 cat >>confdefs.h <<\_ACEOF
91465 #define HAVE_FREXPF 1
91466 _ACEOF
91468 cat >>confdefs.h <<\_ACEOF
91469 #define HAVE_HYPOTF 1
91470 _ACEOF
91472 cat >>confdefs.h <<\_ACEOF
91473 #define HAVE_ISINF 1
91474 _ACEOF
91476 cat >>confdefs.h <<\_ACEOF
91477 #define HAVE_ISINFF 1
91478 _ACEOF
91480 cat >>confdefs.h <<\_ACEOF
91481 #define HAVE_ISNAN 1
91482 _ACEOF
91484 cat >>confdefs.h <<\_ACEOF
91485 #define HAVE_ISNANF 1
91486 _ACEOF
91488 cat >>confdefs.h <<\_ACEOF
91489 #define HAVE_SINCOS 1
91490 _ACEOF
91492 cat >>confdefs.h <<\_ACEOF
91493 #define HAVE_SINCOSF 1
91494 _ACEOF
91496 if test x"long_double_math_on_this_cpu" = x"yes"; then
91497 cat >>confdefs.h <<\_ACEOF
91498 #define HAVE_FINITEL 1
91499 _ACEOF
91501 cat >>confdefs.h <<\_ACEOF
91502 #define HAVE_HYPOTL 1
91503 _ACEOF
91505 cat >>confdefs.h <<\_ACEOF
91506 #define HAVE_ISINFL 1
91507 _ACEOF
91509 cat >>confdefs.h <<\_ACEOF
91510 #define HAVE_ISNANL 1
91511 _ACEOF
91515 *-vxworks)
91516 cat >>confdefs.h <<\_ACEOF
91517 #define HAVE_MMAP 1
91518 _ACEOF
91520 cat >>confdefs.h <<\_ACEOF
91521 #define HAVE_ACOSF 1
91522 _ACEOF
91524 cat >>confdefs.h <<\_ACEOF
91525 #define HAVE_ASINF 1
91526 _ACEOF
91528 cat >>confdefs.h <<\_ACEOF
91529 #define HAVE_ATAN2F 1
91530 _ACEOF
91532 cat >>confdefs.h <<\_ACEOF
91533 #define HAVE_ATANF 1
91534 _ACEOF
91536 cat >>confdefs.h <<\_ACEOF
91537 #define HAVE_CEILF 1
91538 _ACEOF
91540 cat >>confdefs.h <<\_ACEOF
91541 #define HAVE_COSF 1
91542 _ACEOF
91544 cat >>confdefs.h <<\_ACEOF
91545 #define HAVE_COSHF 1
91546 _ACEOF
91548 cat >>confdefs.h <<\_ACEOF
91549 #define HAVE_EXPF 1
91550 _ACEOF
91552 cat >>confdefs.h <<\_ACEOF
91553 #define HAVE_FABSF 1
91554 _ACEOF
91556 cat >>confdefs.h <<\_ACEOF
91557 #define HAVE_FLOORF 1
91558 _ACEOF
91560 cat >>confdefs.h <<\_ACEOF
91561 #define HAVE_FMODF 1
91562 _ACEOF
91564 cat >>confdefs.h <<\_ACEOF
91565 #define HAVE_HYPOT 1
91566 _ACEOF
91568 cat >>confdefs.h <<\_ACEOF
91569 #define HAVE_LOG10F 1
91570 _ACEOF
91572 cat >>confdefs.h <<\_ACEOF
91573 #define HAVE_LOGF 1
91574 _ACEOF
91576 cat >>confdefs.h <<\_ACEOF
91577 #define HAVE_POWF 1
91578 _ACEOF
91580 cat >>confdefs.h <<\_ACEOF
91581 #define HAVE_SINF 1
91582 _ACEOF
91584 cat >>confdefs.h <<\_ACEOF
91585 #define HAVE_SINHF 1
91586 _ACEOF
91588 cat >>confdefs.h <<\_ACEOF
91589 #define HAVE_SQRTF 1
91590 _ACEOF
91592 cat >>confdefs.h <<\_ACEOF
91593 #define HAVE_TANF 1
91594 _ACEOF
91596 cat >>confdefs.h <<\_ACEOF
91597 #define HAVE_TANHF 1
91598 _ACEOF
91601 *-windiss*)
91602 cat >>confdefs.h <<\_ACEOF
91603 #define HAVE_ACOSF 1
91604 _ACEOF
91606 cat >>confdefs.h <<\_ACEOF
91607 #define HAVE_ACOSL 1
91608 _ACEOF
91610 cat >>confdefs.h <<\_ACEOF
91611 #define HAVE_ASINF 1
91612 _ACEOF
91614 cat >>confdefs.h <<\_ACEOF
91615 #define HAVE_ASINL 1
91616 _ACEOF
91618 cat >>confdefs.h <<\_ACEOF
91619 #define HAVE_ATAN2F 1
91620 _ACEOF
91622 cat >>confdefs.h <<\_ACEOF
91623 #define HAVE_ATAN2L 1
91624 _ACEOF
91626 cat >>confdefs.h <<\_ACEOF
91627 #define HAVE_ATANF 1
91628 _ACEOF
91630 cat >>confdefs.h <<\_ACEOF
91631 #define HAVE_ATANL 1
91632 _ACEOF
91634 cat >>confdefs.h <<\_ACEOF
91635 #define HAVE_CEILF 1
91636 _ACEOF
91638 cat >>confdefs.h <<\_ACEOF
91639 #define HAVE_CEILL 1
91640 _ACEOF
91642 cat >>confdefs.h <<\_ACEOF
91643 #define HAVE_COPYSIGN 1
91644 _ACEOF
91646 cat >>confdefs.h <<\_ACEOF
91647 #define HAVE_COPYSIGNF 1
91648 _ACEOF
91650 cat >>confdefs.h <<\_ACEOF
91651 #define HAVE_COSF 1
91652 _ACEOF
91654 cat >>confdefs.h <<\_ACEOF
91655 #define HAVE_COSL 1
91656 _ACEOF
91658 cat >>confdefs.h <<\_ACEOF
91659 #define HAVE_COSHF 1
91660 _ACEOF
91662 cat >>confdefs.h <<\_ACEOF
91663 #define HAVE_COSHL 1
91664 _ACEOF
91666 cat >>confdefs.h <<\_ACEOF
91667 #define HAVE_EXPF 1
91668 _ACEOF
91670 cat >>confdefs.h <<\_ACEOF
91671 #define HAVE_EXPL 1
91672 _ACEOF
91674 cat >>confdefs.h <<\_ACEOF
91675 #define HAVE_FABSF 1
91676 _ACEOF
91678 cat >>confdefs.h <<\_ACEOF
91679 #define HAVE_FABSL 1
91680 _ACEOF
91682 cat >>confdefs.h <<\_ACEOF
91683 #define HAVE_FLOORF 1
91684 _ACEOF
91686 cat >>confdefs.h <<\_ACEOF
91687 #define HAVE_FLOORL 1
91688 _ACEOF
91690 cat >>confdefs.h <<\_ACEOF
91691 #define HAVE_FMODF 1
91692 _ACEOF
91694 cat >>confdefs.h <<\_ACEOF
91695 #define HAVE_FMODL 1
91696 _ACEOF
91698 cat >>confdefs.h <<\_ACEOF
91699 #define HAVE_FREXPF 1
91700 _ACEOF
91702 cat >>confdefs.h <<\_ACEOF
91703 #define HAVE_FREXPL 1
91704 _ACEOF
91706 cat >>confdefs.h <<\_ACEOF
91707 #define HAVE_LDEXPF 1
91708 _ACEOF
91710 cat >>confdefs.h <<\_ACEOF
91711 #define HAVE_LDEXPL 1
91712 _ACEOF
91714 cat >>confdefs.h <<\_ACEOF
91715 #define HAVE_LOG10F 1
91716 _ACEOF
91718 cat >>confdefs.h <<\_ACEOF
91719 #define HAVE_LOG10L 1
91720 _ACEOF
91722 cat >>confdefs.h <<\_ACEOF
91723 #define HAVE_LOGF 1
91724 _ACEOF
91726 cat >>confdefs.h <<\_ACEOF
91727 #define HAVE_MODFF 1
91728 _ACEOF
91730 cat >>confdefs.h <<\_ACEOF
91731 #define HAVE_MODFL 1
91732 _ACEOF
91734 cat >>confdefs.h <<\_ACEOF
91735 #define HAVE_POWF 1
91736 _ACEOF
91738 cat >>confdefs.h <<\_ACEOF
91739 #define HAVE_POWL 1
91740 _ACEOF
91742 cat >>confdefs.h <<\_ACEOF
91743 #define HAVE_SINF 1
91744 _ACEOF
91746 cat >>confdefs.h <<\_ACEOF
91747 #define HAVE_SINL 1
91748 _ACEOF
91750 cat >>confdefs.h <<\_ACEOF
91751 #define HAVE_SINHF 1
91752 _ACEOF
91754 cat >>confdefs.h <<\_ACEOF
91755 #define HAVE_SINHL 1
91756 _ACEOF
91758 cat >>confdefs.h <<\_ACEOF
91759 #define HAVE_SQRTF 1
91760 _ACEOF
91762 cat >>confdefs.h <<\_ACEOF
91763 #define HAVE_SQRTL 1
91764 _ACEOF
91766 cat >>confdefs.h <<\_ACEOF
91767 #define HAVE_TANF 1
91768 _ACEOF
91770 cat >>confdefs.h <<\_ACEOF
91771 #define HAVE_TANL 1
91772 _ACEOF
91774 cat >>confdefs.h <<\_ACEOF
91775 #define HAVE_TANHF 1
91776 _ACEOF
91778 cat >>confdefs.h <<\_ACEOF
91779 #define HAVE_TANHL 1
91780 _ACEOF
91784 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
91785 echo "$as_me: error: No support for this host/target combination." >&2;}
91786 { (exit 1); exit 1; }; }
91788 esac
91792 # At some point, we should differentiate between architectures
91793 # like x86, which have long double versions, and alpha/powerpc/etc.,
91794 # which don't. For the time being, punt.
91795 if test x"long_double_math_on_this_cpu" = x"yes"; then
91796 cat >>confdefs.h <<\_ACEOF
91797 #define HAVE_ACOSL 1
91798 _ACEOF
91800 cat >>confdefs.h <<\_ACEOF
91801 #define HAVE_ASINL 1
91802 _ACEOF
91804 cat >>confdefs.h <<\_ACEOF
91805 #define HAVE_ATAN2L 1
91806 _ACEOF
91808 cat >>confdefs.h <<\_ACEOF
91809 #define HAVE_ATANL 1
91810 _ACEOF
91812 cat >>confdefs.h <<\_ACEOF
91813 #define HAVE_CEILL 1
91814 _ACEOF
91816 cat >>confdefs.h <<\_ACEOF
91817 #define HAVE_COPYSIGNL 1
91818 _ACEOF
91820 cat >>confdefs.h <<\_ACEOF
91821 #define HAVE_COSL 1
91822 _ACEOF
91824 cat >>confdefs.h <<\_ACEOF
91825 #define HAVE_COSHL 1
91826 _ACEOF
91828 cat >>confdefs.h <<\_ACEOF
91829 #define HAVE_EXPL 1
91830 _ACEOF
91832 cat >>confdefs.h <<\_ACEOF
91833 #define HAVE_FABSL 1
91834 _ACEOF
91836 cat >>confdefs.h <<\_ACEOF
91837 #define HAVE_FLOORL 1
91838 _ACEOF
91840 cat >>confdefs.h <<\_ACEOF
91841 #define HAVE_FMODL 1
91842 _ACEOF
91844 cat >>confdefs.h <<\_ACEOF
91845 #define HAVE_FREXPL 1
91846 _ACEOF
91848 cat >>confdefs.h <<\_ACEOF
91849 #define HAVE_LDEXPL 1
91850 _ACEOF
91852 cat >>confdefs.h <<\_ACEOF
91853 #define HAVE_LOG10L 1
91854 _ACEOF
91856 cat >>confdefs.h <<\_ACEOF
91857 #define HAVE_LOGL 1
91858 _ACEOF
91860 cat >>confdefs.h <<\_ACEOF
91861 #define HAVE_MODFL 1
91862 _ACEOF
91864 cat >>confdefs.h <<\_ACEOF
91865 #define HAVE_POWL 1
91866 _ACEOF
91868 cat >>confdefs.h <<\_ACEOF
91869 #define HAVE_SINCOSL 1
91870 _ACEOF
91872 cat >>confdefs.h <<\_ACEOF
91873 #define HAVE_SINL 1
91874 _ACEOF
91876 cat >>confdefs.h <<\_ACEOF
91877 #define HAVE_SINHL 1
91878 _ACEOF
91880 cat >>confdefs.h <<\_ACEOF
91881 #define HAVE_SQRTL 1
91882 _ACEOF
91884 cat >>confdefs.h <<\_ACEOF
91885 #define HAVE_TANL 1
91886 _ACEOF
91888 cat >>confdefs.h <<\_ACEOF
91889 #define HAVE_TANHL 1
91890 _ACEOF
91894 # Assume we have _Unwind_GetIPInfo for cross-compiles.
91895 cat >>confdefs.h <<\_ACEOF
91896 #define HAVE_GETIPINFO 1
91897 _ACEOF
91902 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
91905 # Check whether --enable-symvers or --disable-symvers was given.
91906 if test "${enable_symvers+set}" = set; then
91907 enableval="$enable_symvers"
91909 case "$enableval" in
91910 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
91911 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
91912 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
91913 { (exit 1); exit 1; }; } ;;
91914 esac
91916 else
91917 enable_symvers=yes
91921 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
91922 # don't know enough about $LD to do tricks...
91925 # Turn a 'yes' into a suitable default.
91926 if test x$enable_symvers = xyes ; then
91927 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
91928 enable_symvers=no
91929 else
91930 if test $with_gnu_ld = yes ; then
91931 enable_symvers=gnu
91932 else
91933 case ${target_os} in
91934 darwin*)
91935 enable_symvers=darwin ;;
91937 enable_symvers=no ;;
91938 esac
91943 # Check to see if 'darwin' or 'darwin-export' can win.
91944 if test x$enable_symvers = xdarwin-export ; then
91945 enable_symvers=darwin
91948 # Check to see if 'gnu' can win.
91949 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
91950 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
91951 echo "$as_me:$LINENO: checking for shared libgcc" >&5
91952 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
91953 ac_save_CFLAGS="$CFLAGS"
91954 CFLAGS=' -lgcc_s'
91955 if test x$gcc_no_link = xyes; then
91956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91958 { (exit 1); exit 1; }; }
91960 cat >conftest.$ac_ext <<_ACEOF
91961 /* confdefs.h. */
91962 _ACEOF
91963 cat confdefs.h >>conftest.$ac_ext
91964 cat >>conftest.$ac_ext <<_ACEOF
91965 /* end confdefs.h. */
91968 main ()
91970 return 0;
91972 return 0;
91974 _ACEOF
91975 rm -f conftest.$ac_objext conftest$ac_exeext
91976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91977 (eval $ac_link) 2>conftest.er1
91978 ac_status=$?
91979 grep -v '^ *+' conftest.er1 >conftest.err
91980 rm -f conftest.er1
91981 cat conftest.err >&5
91982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91983 (exit $ac_status); } &&
91984 { ac_try='test -z "$ac_c_werror_flag"
91985 || test ! -s conftest.err'
91986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91987 (eval $ac_try) 2>&5
91988 ac_status=$?
91989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91990 (exit $ac_status); }; } &&
91991 { ac_try='test -s conftest$ac_exeext'
91992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91993 (eval $ac_try) 2>&5
91994 ac_status=$?
91995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91996 (exit $ac_status); }; }; then
91997 glibcxx_shared_libgcc=yes
91998 else
91999 echo "$as_me: failed program was:" >&5
92000 sed 's/^/| /' conftest.$ac_ext >&5
92002 glibcxx_shared_libgcc=no
92004 rm -f conftest.err conftest.$ac_objext \
92005 conftest$ac_exeext conftest.$ac_ext
92006 CFLAGS="$ac_save_CFLAGS"
92007 if test $glibcxx_shared_libgcc = no; then
92008 cat > conftest.c <<EOF
92009 int main (void) { return 0; }
92011 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
92012 -shared -shared-libgcc -o conftest.so \
92013 conftest.c -v 2>&1 >/dev/null \
92014 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
92015 rm -f conftest.c conftest.so
92016 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
92017 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
92018 if test x$gcc_no_link = xyes; then
92019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92021 { (exit 1); exit 1; }; }
92023 cat >conftest.$ac_ext <<_ACEOF
92024 /* confdefs.h. */
92025 _ACEOF
92026 cat confdefs.h >>conftest.$ac_ext
92027 cat >>conftest.$ac_ext <<_ACEOF
92028 /* end confdefs.h. */
92031 main ()
92033 return 0;
92035 return 0;
92037 _ACEOF
92038 rm -f conftest.$ac_objext conftest$ac_exeext
92039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92040 (eval $ac_link) 2>conftest.er1
92041 ac_status=$?
92042 grep -v '^ *+' conftest.er1 >conftest.err
92043 rm -f conftest.er1
92044 cat conftest.err >&5
92045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92046 (exit $ac_status); } &&
92047 { ac_try='test -z "$ac_c_werror_flag"
92048 || test ! -s conftest.err'
92049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92050 (eval $ac_try) 2>&5
92051 ac_status=$?
92052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92053 (exit $ac_status); }; } &&
92054 { ac_try='test -s conftest$ac_exeext'
92055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92056 (eval $ac_try) 2>&5
92057 ac_status=$?
92058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92059 (exit $ac_status); }; }; then
92060 glibcxx_shared_libgcc=yes
92061 else
92062 echo "$as_me: failed program was:" >&5
92063 sed 's/^/| /' conftest.$ac_ext >&5
92066 rm -f conftest.err conftest.$ac_objext \
92067 conftest$ac_exeext conftest.$ac_ext
92068 CFLAGS="$ac_save_CFLAGS"
92071 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
92072 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
92074 # For GNU ld, we need at least this version. The format is described in
92075 # GLIBCXX_CHECK_LINKER_FEATURES above.
92076 glibcxx_min_gnu_ld_version=21400
92078 # If no shared libgcc, can't win.
92079 if test $glibcxx_shared_libgcc != yes; then
92080 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
92081 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
92082 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
92083 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
92084 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
92085 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
92086 enable_symvers=no
92087 elif test $with_gnu_ld != yes ; then
92088 # just fail for now
92089 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
92090 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
92091 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
92092 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
92093 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
92094 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
92095 enable_symvers=no
92096 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
92097 # The right tools, the right setup, but too old. Fallbacks?
92098 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
92099 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
92100 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
92101 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
92102 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
92103 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
92104 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
92105 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
92106 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
92107 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
92108 enable_symvers=no
92112 # Everything parsed; figure out what file to use.
92113 case $enable_symvers in
92115 SYMVER_FILE=config/abi/pre/none.ver
92117 gnu)
92118 SYMVER_FILE=config/abi/pre/gnu.ver
92120 cat >>confdefs.h <<\_ACEOF
92121 #define _GLIBCXX_SYMVER_GNU 1
92122 _ACEOF
92125 gnu-versioned-namespace)
92126 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
92128 cat >>confdefs.h <<\_ACEOF
92129 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
92130 _ACEOF
92133 darwin)
92134 SYMVER_FILE=config/abi/pre/gnu.ver
92136 cat >>confdefs.h <<\_ACEOF
92137 #define _GLIBCXX_SYMVER_DARWIN 1
92138 _ACEOF
92141 esac
92143 if test x$enable_symvers != xno ; then
92145 cat >>confdefs.h <<\_ACEOF
92146 #define _GLIBCXX_SYMVER 1
92147 _ACEOF
92157 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
92158 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
92160 # Now, set up compatibility support, if any.
92161 # In addition, need this to deal with std::size_t mangling in
92162 # src/compatibility.cc. In a perfect world, could use
92163 # typeid(std::size_t).name()[0] to do direct substitution.
92164 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
92165 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
92166 ac_save_CFLAGS="$CFLAGS"
92167 CFLAGS="-Werror"
92168 cat >conftest.$ac_ext <<_ACEOF
92169 /* confdefs.h. */
92170 _ACEOF
92171 cat confdefs.h >>conftest.$ac_ext
92172 cat >>conftest.$ac_ext <<_ACEOF
92173 /* end confdefs.h. */
92176 main ()
92178 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
92180 return 0;
92182 _ACEOF
92183 rm -f conftest.$ac_objext
92184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92185 (eval $ac_compile) 2>conftest.er1
92186 ac_status=$?
92187 grep -v '^ *+' conftest.er1 >conftest.err
92188 rm -f conftest.er1
92189 cat conftest.err >&5
92190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92191 (exit $ac_status); } &&
92192 { ac_try='test -z "$ac_c_werror_flag"
92193 || test ! -s conftest.err'
92194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92195 (eval $ac_try) 2>&5
92196 ac_status=$?
92197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92198 (exit $ac_status); }; } &&
92199 { ac_try='test -s conftest.$ac_objext'
92200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92201 (eval $ac_try) 2>&5
92202 ac_status=$?
92203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92204 (exit $ac_status); }; }; then
92205 glibcxx_size_t_is_i=yes
92206 else
92207 echo "$as_me: failed program was:" >&5
92208 sed 's/^/| /' conftest.$ac_ext >&5
92210 glibcxx_size_t_is_i=no
92212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92213 CFLAGS=$ac_save_CFLAGS
92214 if test "$glibcxx_size_t_is_i" = yes; then
92216 cat >>confdefs.h <<\_ACEOF
92217 #define _GLIBCXX_SIZE_T_IS_UINT 1
92218 _ACEOF
92221 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
92222 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
92224 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
92225 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
92226 ac_save_CFLAGS="$CFLAGS"
92227 CFLAGS="-Werror"
92228 cat >conftest.$ac_ext <<_ACEOF
92229 /* confdefs.h. */
92230 _ACEOF
92231 cat confdefs.h >>conftest.$ac_ext
92232 cat >>conftest.$ac_ext <<_ACEOF
92233 /* end confdefs.h. */
92236 main ()
92238 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
92240 return 0;
92242 _ACEOF
92243 rm -f conftest.$ac_objext
92244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92245 (eval $ac_compile) 2>conftest.er1
92246 ac_status=$?
92247 grep -v '^ *+' conftest.er1 >conftest.err
92248 rm -f conftest.er1
92249 cat conftest.err >&5
92250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92251 (exit $ac_status); } &&
92252 { ac_try='test -z "$ac_c_werror_flag"
92253 || test ! -s conftest.err'
92254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92255 (eval $ac_try) 2>&5
92256 ac_status=$?
92257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92258 (exit $ac_status); }; } &&
92259 { ac_try='test -s conftest.$ac_objext'
92260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92261 (eval $ac_try) 2>&5
92262 ac_status=$?
92263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92264 (exit $ac_status); }; }; then
92265 glibcxx_ptrdiff_t_is_i=yes
92266 else
92267 echo "$as_me: failed program was:" >&5
92268 sed 's/^/| /' conftest.$ac_ext >&5
92270 glibcxx_ptrdiff_t_is_i=no
92272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92273 CFLAGS=$ac_save_CFLAGS
92274 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
92276 cat >>confdefs.h <<\_ACEOF
92277 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
92278 _ACEOF
92281 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
92282 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
92285 # Check whether --enable-visibility or --disable-visibility was given.
92286 if test "${enable_visibility+set}" = set; then
92287 enableval="$enable_visibility"
92289 case "$enableval" in
92290 yes|no) ;;
92291 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
92292 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
92293 { (exit 1); exit 1; }; } ;;
92294 esac
92296 else
92297 enable_visibility=yes
92301 if test x$enable_visibility = xyes ; then
92302 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
92303 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
92304 if test "${have_attribute_visibility+set}" = set; then
92305 echo $ECHO_N "(cached) $ECHO_C" >&6
92306 else
92308 save_CFLAGS="$CFLAGS"
92309 CFLAGS="$CFLAGS -Werror"
92310 cat >conftest.$ac_ext <<_ACEOF
92311 /* confdefs.h. */
92312 _ACEOF
92313 cat confdefs.h >>conftest.$ac_ext
92314 cat >>conftest.$ac_ext <<_ACEOF
92315 /* end confdefs.h. */
92316 void __attribute__((visibility("hidden"))) foo(void) { }
92318 main ()
92322 return 0;
92324 _ACEOF
92325 rm -f conftest.$ac_objext
92326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92327 (eval $ac_compile) 2>conftest.er1
92328 ac_status=$?
92329 grep -v '^ *+' conftest.er1 >conftest.err
92330 rm -f conftest.er1
92331 cat conftest.err >&5
92332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92333 (exit $ac_status); } &&
92334 { ac_try='test -z "$ac_c_werror_flag"
92335 || test ! -s conftest.err'
92336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92337 (eval $ac_try) 2>&5
92338 ac_status=$?
92339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92340 (exit $ac_status); }; } &&
92341 { ac_try='test -s conftest.$ac_objext'
92342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92343 (eval $ac_try) 2>&5
92344 ac_status=$?
92345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92346 (exit $ac_status); }; }; then
92347 have_attribute_visibility=yes
92348 else
92349 echo "$as_me: failed program was:" >&5
92350 sed 's/^/| /' conftest.$ac_ext >&5
92352 have_attribute_visibility=no
92354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92355 CFLAGS="$save_CFLAGS"
92357 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
92358 echo "${ECHO_T}$have_attribute_visibility" >&6
92359 if test $have_attribute_visibility = no; then
92360 enable_visibility=no
92365 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
92366 echo "$as_me: visibility supported: $enable_visibility" >&6;}
92369 ac_ldbl_compat=no
92370 case "$target" in
92371 powerpc*-*-linux* | \
92372 powerpc*-*-gnu* | \
92373 sparc*-*-linux* | \
92374 s390*-*-linux* | \
92375 alpha*-*-linux*)
92376 cat >conftest.$ac_ext <<_ACEOF
92377 /* confdefs.h. */
92378 _ACEOF
92379 cat confdefs.h >>conftest.$ac_ext
92380 cat >>conftest.$ac_ext <<_ACEOF
92381 /* end confdefs.h. */
92384 main ()
92387 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
92388 #error no need for long double compatibility
92389 #endif
92392 return 0;
92394 _ACEOF
92395 rm -f conftest.$ac_objext
92396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92397 (eval $ac_compile) 2>conftest.er1
92398 ac_status=$?
92399 grep -v '^ *+' conftest.er1 >conftest.err
92400 rm -f conftest.er1
92401 cat conftest.err >&5
92402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92403 (exit $ac_status); } &&
92404 { ac_try='test -z "$ac_c_werror_flag"
92405 || test ! -s conftest.err'
92406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92407 (eval $ac_try) 2>&5
92408 ac_status=$?
92409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92410 (exit $ac_status); }; } &&
92411 { ac_try='test -s conftest.$ac_objext'
92412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92413 (eval $ac_try) 2>&5
92414 ac_status=$?
92415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92416 (exit $ac_status); }; }; then
92417 ac_ldbl_compat=yes
92418 else
92419 echo "$as_me: failed program was:" >&5
92420 sed 's/^/| /' conftest.$ac_ext >&5
92422 ac_ldbl_compat=no
92424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92425 if test "$ac_ldbl_compat" = yes; then
92427 cat >>confdefs.h <<\_ACEOF
92428 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
92429 _ACEOF
92431 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
92433 esac
92436 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
92438 if $GLIBCXX_IS_NATIVE ; then
92439 # Do checks for resource limit functions.
92441 setrlimit_have_headers=yes
92445 for ac_header in unistd.h sys/time.h sys/resource.h
92447 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92449 echo "$as_me:$LINENO: checking for $ac_header" >&5
92450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92452 echo $ECHO_N "(cached) $ECHO_C" >&6
92454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92455 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92456 else
92457 # Is the header compilable?
92458 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92459 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92460 cat >conftest.$ac_ext <<_ACEOF
92461 /* confdefs.h. */
92462 _ACEOF
92463 cat confdefs.h >>conftest.$ac_ext
92464 cat >>conftest.$ac_ext <<_ACEOF
92465 /* end confdefs.h. */
92466 $ac_includes_default
92467 #include <$ac_header>
92468 _ACEOF
92469 rm -f conftest.$ac_objext
92470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92471 (eval $ac_compile) 2>conftest.er1
92472 ac_status=$?
92473 grep -v '^ *+' conftest.er1 >conftest.err
92474 rm -f conftest.er1
92475 cat conftest.err >&5
92476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92477 (exit $ac_status); } &&
92478 { ac_try='test -z "$ac_c_werror_flag"
92479 || test ! -s conftest.err'
92480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92481 (eval $ac_try) 2>&5
92482 ac_status=$?
92483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92484 (exit $ac_status); }; } &&
92485 { ac_try='test -s conftest.$ac_objext'
92486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92487 (eval $ac_try) 2>&5
92488 ac_status=$?
92489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92490 (exit $ac_status); }; }; then
92491 ac_header_compiler=yes
92492 else
92493 echo "$as_me: failed program was:" >&5
92494 sed 's/^/| /' conftest.$ac_ext >&5
92496 ac_header_compiler=no
92498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92499 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92500 echo "${ECHO_T}$ac_header_compiler" >&6
92502 # Is the header present?
92503 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92504 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92505 cat >conftest.$ac_ext <<_ACEOF
92506 /* confdefs.h. */
92507 _ACEOF
92508 cat confdefs.h >>conftest.$ac_ext
92509 cat >>conftest.$ac_ext <<_ACEOF
92510 /* end confdefs.h. */
92511 #include <$ac_header>
92512 _ACEOF
92513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92514 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92515 ac_status=$?
92516 grep -v '^ *+' conftest.er1 >conftest.err
92517 rm -f conftest.er1
92518 cat conftest.err >&5
92519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92520 (exit $ac_status); } >/dev/null; then
92521 if test -s conftest.err; then
92522 ac_cpp_err=$ac_c_preproc_warn_flag
92523 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92524 else
92525 ac_cpp_err=
92527 else
92528 ac_cpp_err=yes
92530 if test -z "$ac_cpp_err"; then
92531 ac_header_preproc=yes
92532 else
92533 echo "$as_me: failed program was:" >&5
92534 sed 's/^/| /' conftest.$ac_ext >&5
92536 ac_header_preproc=no
92538 rm -f conftest.err conftest.$ac_ext
92539 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92540 echo "${ECHO_T}$ac_header_preproc" >&6
92542 # So? What about this header?
92543 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92544 yes:no: )
92545 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92546 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92547 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92548 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92549 ac_header_preproc=yes
92551 no:yes:* )
92552 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92553 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92554 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
92555 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
92556 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92557 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92558 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
92559 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
92560 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92561 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92562 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92563 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92565 cat <<\_ASBOX
92566 ## ----------------------------------------- ##
92567 ## Report this to the package-unused lists. ##
92568 ## ----------------------------------------- ##
92569 _ASBOX
92571 sed "s/^/$as_me: WARNING: /" >&2
92573 esac
92574 echo "$as_me:$LINENO: checking for $ac_header" >&5
92575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92577 echo $ECHO_N "(cached) $ECHO_C" >&6
92578 else
92579 eval "$as_ac_Header=\$ac_header_preproc"
92581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92585 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92586 cat >>confdefs.h <<_ACEOF
92587 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92588 _ACEOF
92590 else
92591 setrlimit_have_headers=no
92594 done
92596 # If don't have the headers, then we can't run the tests now, and we
92597 # won't be seeing any of these during testsuite compilation.
92598 if test $setrlimit_have_headers = yes; then
92599 # Can't do these in a loop, else the resulting syntax is wrong.
92601 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
92602 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
92603 cat >conftest.$ac_ext <<_ACEOF
92604 /* confdefs.h. */
92605 _ACEOF
92606 cat confdefs.h >>conftest.$ac_ext
92607 cat >>conftest.$ac_ext <<_ACEOF
92608 /* end confdefs.h. */
92609 #include <unistd.h>
92610 #include <sys/time.h>
92611 #include <sys/resource.h>
92614 main ()
92616 int f = RLIMIT_DATA ;
92618 return 0;
92620 _ACEOF
92621 rm -f conftest.$ac_objext
92622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92623 (eval $ac_compile) 2>conftest.er1
92624 ac_status=$?
92625 grep -v '^ *+' conftest.er1 >conftest.err
92626 rm -f conftest.er1
92627 cat conftest.err >&5
92628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92629 (exit $ac_status); } &&
92630 { ac_try='test -z "$ac_c_werror_flag"
92631 || test ! -s conftest.err'
92632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92633 (eval $ac_try) 2>&5
92634 ac_status=$?
92635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92636 (exit $ac_status); }; } &&
92637 { ac_try='test -s conftest.$ac_objext'
92638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92639 (eval $ac_try) 2>&5
92640 ac_status=$?
92641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92642 (exit $ac_status); }; }; then
92643 glibcxx_mresult=1
92644 else
92645 echo "$as_me: failed program was:" >&5
92646 sed 's/^/| /' conftest.$ac_ext >&5
92648 glibcxx_mresult=0
92650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92652 cat >>confdefs.h <<_ACEOF
92653 #define HAVE_LIMIT_DATA $glibcxx_mresult
92654 _ACEOF
92656 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
92657 echo "$as_me:$LINENO: result: $res" >&5
92658 echo "${ECHO_T}$res" >&6
92661 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
92662 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
92663 cat >conftest.$ac_ext <<_ACEOF
92664 /* confdefs.h. */
92665 _ACEOF
92666 cat confdefs.h >>conftest.$ac_ext
92667 cat >>conftest.$ac_ext <<_ACEOF
92668 /* end confdefs.h. */
92669 #include <unistd.h>
92670 #include <sys/time.h>
92671 #include <sys/resource.h>
92674 main ()
92676 int f = RLIMIT_RSS ;
92678 return 0;
92680 _ACEOF
92681 rm -f conftest.$ac_objext
92682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92683 (eval $ac_compile) 2>conftest.er1
92684 ac_status=$?
92685 grep -v '^ *+' conftest.er1 >conftest.err
92686 rm -f conftest.er1
92687 cat conftest.err >&5
92688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92689 (exit $ac_status); } &&
92690 { ac_try='test -z "$ac_c_werror_flag"
92691 || test ! -s conftest.err'
92692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92693 (eval $ac_try) 2>&5
92694 ac_status=$?
92695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92696 (exit $ac_status); }; } &&
92697 { ac_try='test -s conftest.$ac_objext'
92698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92699 (eval $ac_try) 2>&5
92700 ac_status=$?
92701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92702 (exit $ac_status); }; }; then
92703 glibcxx_mresult=1
92704 else
92705 echo "$as_me: failed program was:" >&5
92706 sed 's/^/| /' conftest.$ac_ext >&5
92708 glibcxx_mresult=0
92710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92712 cat >>confdefs.h <<_ACEOF
92713 #define HAVE_LIMIT_RSS $glibcxx_mresult
92714 _ACEOF
92716 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
92717 echo "$as_me:$LINENO: result: $res" >&5
92718 echo "${ECHO_T}$res" >&6
92721 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
92722 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
92723 cat >conftest.$ac_ext <<_ACEOF
92724 /* confdefs.h. */
92725 _ACEOF
92726 cat confdefs.h >>conftest.$ac_ext
92727 cat >>conftest.$ac_ext <<_ACEOF
92728 /* end confdefs.h. */
92729 #include <unistd.h>
92730 #include <sys/time.h>
92731 #include <sys/resource.h>
92734 main ()
92736 int f = RLIMIT_VMEM ;
92738 return 0;
92740 _ACEOF
92741 rm -f conftest.$ac_objext
92742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92743 (eval $ac_compile) 2>conftest.er1
92744 ac_status=$?
92745 grep -v '^ *+' conftest.er1 >conftest.err
92746 rm -f conftest.er1
92747 cat conftest.err >&5
92748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92749 (exit $ac_status); } &&
92750 { ac_try='test -z "$ac_c_werror_flag"
92751 || test ! -s conftest.err'
92752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92753 (eval $ac_try) 2>&5
92754 ac_status=$?
92755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92756 (exit $ac_status); }; } &&
92757 { ac_try='test -s conftest.$ac_objext'
92758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92759 (eval $ac_try) 2>&5
92760 ac_status=$?
92761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92762 (exit $ac_status); }; }; then
92763 glibcxx_mresult=1
92764 else
92765 echo "$as_me: failed program was:" >&5
92766 sed 's/^/| /' conftest.$ac_ext >&5
92768 glibcxx_mresult=0
92770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92772 cat >>confdefs.h <<_ACEOF
92773 #define HAVE_LIMIT_VMEM $glibcxx_mresult
92774 _ACEOF
92776 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
92777 echo "$as_me:$LINENO: result: $res" >&5
92778 echo "${ECHO_T}$res" >&6
92781 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
92782 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
92783 cat >conftest.$ac_ext <<_ACEOF
92784 /* confdefs.h. */
92785 _ACEOF
92786 cat confdefs.h >>conftest.$ac_ext
92787 cat >>conftest.$ac_ext <<_ACEOF
92788 /* end confdefs.h. */
92789 #include <unistd.h>
92790 #include <sys/time.h>
92791 #include <sys/resource.h>
92794 main ()
92796 int f = RLIMIT_AS ;
92798 return 0;
92800 _ACEOF
92801 rm -f conftest.$ac_objext
92802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92803 (eval $ac_compile) 2>conftest.er1
92804 ac_status=$?
92805 grep -v '^ *+' conftest.er1 >conftest.err
92806 rm -f conftest.er1
92807 cat conftest.err >&5
92808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92809 (exit $ac_status); } &&
92810 { ac_try='test -z "$ac_c_werror_flag"
92811 || test ! -s conftest.err'
92812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92813 (eval $ac_try) 2>&5
92814 ac_status=$?
92815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92816 (exit $ac_status); }; } &&
92817 { ac_try='test -s conftest.$ac_objext'
92818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92819 (eval $ac_try) 2>&5
92820 ac_status=$?
92821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92822 (exit $ac_status); }; }; then
92823 glibcxx_mresult=1
92824 else
92825 echo "$as_me: failed program was:" >&5
92826 sed 's/^/| /' conftest.$ac_ext >&5
92828 glibcxx_mresult=0
92830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92832 cat >>confdefs.h <<_ACEOF
92833 #define HAVE_LIMIT_AS $glibcxx_mresult
92834 _ACEOF
92836 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
92837 echo "$as_me:$LINENO: result: $res" >&5
92838 echo "${ECHO_T}$res" >&6
92841 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
92842 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
92843 cat >conftest.$ac_ext <<_ACEOF
92844 /* confdefs.h. */
92845 _ACEOF
92846 cat confdefs.h >>conftest.$ac_ext
92847 cat >>conftest.$ac_ext <<_ACEOF
92848 /* end confdefs.h. */
92849 #include <unistd.h>
92850 #include <sys/time.h>
92851 #include <sys/resource.h>
92854 main ()
92856 int f = RLIMIT_FSIZE ;
92858 return 0;
92860 _ACEOF
92861 rm -f conftest.$ac_objext
92862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92863 (eval $ac_compile) 2>conftest.er1
92864 ac_status=$?
92865 grep -v '^ *+' conftest.er1 >conftest.err
92866 rm -f conftest.er1
92867 cat conftest.err >&5
92868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92869 (exit $ac_status); } &&
92870 { ac_try='test -z "$ac_c_werror_flag"
92871 || test ! -s conftest.err'
92872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92873 (eval $ac_try) 2>&5
92874 ac_status=$?
92875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92876 (exit $ac_status); }; } &&
92877 { ac_try='test -s conftest.$ac_objext'
92878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92879 (eval $ac_try) 2>&5
92880 ac_status=$?
92881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92882 (exit $ac_status); }; }; then
92883 glibcxx_mresult=1
92884 else
92885 echo "$as_me: failed program was:" >&5
92886 sed 's/^/| /' conftest.$ac_ext >&5
92888 glibcxx_mresult=0
92890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92892 cat >>confdefs.h <<_ACEOF
92893 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
92894 _ACEOF
92896 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
92897 echo "$as_me:$LINENO: result: $res" >&5
92898 echo "${ECHO_T}$res" >&6
92901 # Check for rlimit, setrlimit.
92902 if test "${ac_setrlimit+set}" = set; then
92903 echo $ECHO_N "(cached) $ECHO_C" >&6
92904 else
92906 cat >conftest.$ac_ext <<_ACEOF
92907 /* confdefs.h. */
92908 _ACEOF
92909 cat confdefs.h >>conftest.$ac_ext
92910 cat >>conftest.$ac_ext <<_ACEOF
92911 /* end confdefs.h. */
92912 #include <unistd.h>
92913 #include <sys/time.h>
92914 #include <sys/resource.h>
92917 main ()
92919 struct rlimit r;
92920 setrlimit(0, &r);
92922 return 0;
92924 _ACEOF
92925 rm -f conftest.$ac_objext
92926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92927 (eval $ac_compile) 2>conftest.er1
92928 ac_status=$?
92929 grep -v '^ *+' conftest.er1 >conftest.err
92930 rm -f conftest.er1
92931 cat conftest.err >&5
92932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92933 (exit $ac_status); } &&
92934 { ac_try='test -z "$ac_c_werror_flag"
92935 || test ! -s conftest.err'
92936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92937 (eval $ac_try) 2>&5
92938 ac_status=$?
92939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92940 (exit $ac_status); }; } &&
92941 { ac_try='test -s conftest.$ac_objext'
92942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92943 (eval $ac_try) 2>&5
92944 ac_status=$?
92945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92946 (exit $ac_status); }; }; then
92947 ac_setrlimit=yes
92948 else
92949 echo "$as_me: failed program was:" >&5
92950 sed 's/^/| /' conftest.$ac_ext >&5
92952 ac_setrlimit=no
92954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92960 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
92961 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
92962 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
92963 ac_res_limits=yes
92965 cat >>confdefs.h <<\_ACEOF
92966 #define _GLIBCXX_RES_LIMITS 1
92967 _ACEOF
92969 else
92970 ac_res_limits=no
92972 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
92973 echo "${ECHO_T}$ac_res_limits" >&6
92976 # Look for setenv, so that extended locale tests can be performed.
92978 echo "$as_me:$LINENO: checking for setenv declaration" >&5
92979 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
92980 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
92981 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
92982 echo $ECHO_N "(cached) $ECHO_C" >&6
92983 else
92987 ac_ext=cc
92988 ac_cpp='$CXXCPP $CPPFLAGS'
92989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92993 cat >conftest.$ac_ext <<_ACEOF
92994 /* confdefs.h. */
92995 _ACEOF
92996 cat confdefs.h >>conftest.$ac_ext
92997 cat >>conftest.$ac_ext <<_ACEOF
92998 /* end confdefs.h. */
92999 #include <stdlib.h>
93001 main ()
93003 setenv(0, 0, 0);
93005 return 0;
93007 _ACEOF
93008 rm -f conftest.$ac_objext
93009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93010 (eval $ac_compile) 2>conftest.er1
93011 ac_status=$?
93012 grep -v '^ *+' conftest.er1 >conftest.err
93013 rm -f conftest.er1
93014 cat conftest.err >&5
93015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93016 (exit $ac_status); } &&
93017 { ac_try='test -z "$ac_cxx_werror_flag"
93018 || test ! -s conftest.err'
93019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93020 (eval $ac_try) 2>&5
93021 ac_status=$?
93022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93023 (exit $ac_status); }; } &&
93024 { ac_try='test -s conftest.$ac_objext'
93025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93026 (eval $ac_try) 2>&5
93027 ac_status=$?
93028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93029 (exit $ac_status); }; }; then
93030 glibcxx_cv_func_setenv_use=yes
93031 else
93032 echo "$as_me: failed program was:" >&5
93033 sed 's/^/| /' conftest.$ac_ext >&5
93035 glibcxx_cv_func_setenv_use=no
93037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93038 ac_ext=c
93039 ac_cpp='$CPP $CPPFLAGS'
93040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93048 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
93049 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
93050 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
93052 for ac_func in setenv
93054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93055 echo "$as_me:$LINENO: checking for $ac_func" >&5
93056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93057 if eval "test \"\${$as_ac_var+set}\" = set"; then
93058 echo $ECHO_N "(cached) $ECHO_C" >&6
93059 else
93060 if test x$gcc_no_link = xyes; then
93061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93063 { (exit 1); exit 1; }; }
93065 cat >conftest.$ac_ext <<_ACEOF
93066 /* confdefs.h. */
93067 _ACEOF
93068 cat confdefs.h >>conftest.$ac_ext
93069 cat >>conftest.$ac_ext <<_ACEOF
93070 /* end confdefs.h. */
93071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93073 #define $ac_func innocuous_$ac_func
93075 /* System header to define __stub macros and hopefully few prototypes,
93076 which can conflict with char $ac_func (); below.
93077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93078 <limits.h> exists even on freestanding compilers. */
93080 #ifdef __STDC__
93081 # include <limits.h>
93082 #else
93083 # include <assert.h>
93084 #endif
93086 #undef $ac_func
93088 /* Override any gcc2 internal prototype to avoid an error. */
93089 #ifdef __cplusplus
93090 extern "C"
93092 #endif
93093 /* We use char because int might match the return type of a gcc2
93094 builtin and then its argument prototype would still apply. */
93095 char $ac_func ();
93096 /* The GNU C library defines this for functions which it implements
93097 to always fail with ENOSYS. Some functions are actually named
93098 something starting with __ and the normal name is an alias. */
93099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93100 choke me
93101 #else
93102 char (*f) () = $ac_func;
93103 #endif
93104 #ifdef __cplusplus
93106 #endif
93109 main ()
93111 return f != $ac_func;
93113 return 0;
93115 _ACEOF
93116 rm -f conftest.$ac_objext conftest$ac_exeext
93117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93118 (eval $ac_link) 2>conftest.er1
93119 ac_status=$?
93120 grep -v '^ *+' conftest.er1 >conftest.err
93121 rm -f conftest.er1
93122 cat conftest.err >&5
93123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93124 (exit $ac_status); } &&
93125 { ac_try='test -z "$ac_c_werror_flag"
93126 || test ! -s conftest.err'
93127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93128 (eval $ac_try) 2>&5
93129 ac_status=$?
93130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93131 (exit $ac_status); }; } &&
93132 { ac_try='test -s conftest$ac_exeext'
93133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93134 (eval $ac_try) 2>&5
93135 ac_status=$?
93136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93137 (exit $ac_status); }; }; then
93138 eval "$as_ac_var=yes"
93139 else
93140 echo "$as_me: failed program was:" >&5
93141 sed 's/^/| /' conftest.$ac_ext >&5
93143 eval "$as_ac_var=no"
93145 rm -f conftest.err conftest.$ac_objext \
93146 conftest$ac_exeext conftest.$ac_ext
93148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93150 if test `eval echo '${'$as_ac_var'}'` = yes; then
93151 cat >>confdefs.h <<_ACEOF
93152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93153 _ACEOF
93156 done
93162 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
93163 test $enable_symvers != no; then
93164 case "$host" in
93165 *-*-cygwin*)
93166 enable_abi_check=no ;;
93168 enable_abi_check=yes ;;
93169 esac
93170 else
93171 # Only build this as native, since automake does not understand
93172 # CXX_FOR_BUILD.
93173 enable_abi_check=no
93176 # Export file names for ABI checking.
93177 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
93181 # Propagate the target-specific source directories through the build chain.
93182 ATOMICITY_SRCDIR=config/${atomicity_dir}
93183 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
93184 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
93185 OS_INC_SRCDIR=config/${os_include_dir}
93186 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
93194 # Determine cross-compile flags and AM_CONDITIONALs.
93195 #AC_SUBST(GLIBCXX_IS_NATIVE)
93196 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
93197 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
93198 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
93201 if test $is_hosted = yes; then
93202 GLIBCXX_HOSTED_TRUE=
93203 GLIBCXX_HOSTED_FALSE='#'
93204 else
93205 GLIBCXX_HOSTED_TRUE='#'
93206 GLIBCXX_HOSTED_FALSE=
93212 if test $enable_libstdcxx_pch = yes; then
93213 GLIBCXX_BUILD_PCH_TRUE=
93214 GLIBCXX_BUILD_PCH_FALSE='#'
93215 else
93216 GLIBCXX_BUILD_PCH_TRUE='#'
93217 GLIBCXX_BUILD_PCH_FALSE=
93223 if test $enable_cheaders = c; then
93224 GLIBCXX_C_HEADERS_C_TRUE=
93225 GLIBCXX_C_HEADERS_C_FALSE='#'
93226 else
93227 GLIBCXX_C_HEADERS_C_TRUE='#'
93228 GLIBCXX_C_HEADERS_C_FALSE=
93234 if test $enable_cheaders = c_std; then
93235 GLIBCXX_C_HEADERS_C_STD_TRUE=
93236 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
93237 else
93238 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
93239 GLIBCXX_C_HEADERS_C_STD_FALSE=
93245 if test $enable_cheaders = c_global; then
93246 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
93247 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
93248 else
93249 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
93250 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
93256 if test $c_compatibility = yes; then
93257 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
93258 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
93259 else
93260 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
93261 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
93267 if test $c_extra = yes; then
93268 GLIBCXX_C_HEADERS_EXTRA_TRUE=
93269 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
93270 else
93271 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
93272 GLIBCXX_C_HEADERS_EXTRA_FALSE=
93278 if test $enable_libstdcxx_debug = yes; then
93279 GLIBCXX_BUILD_DEBUG_TRUE=
93280 GLIBCXX_BUILD_DEBUG_FALSE='#'
93281 else
93282 GLIBCXX_BUILD_DEBUG_TRUE='#'
93283 GLIBCXX_BUILD_DEBUG_FALSE=
93289 if test $enable_symvers != no; then
93290 ENABLE_SYMVERS_TRUE=
93291 ENABLE_SYMVERS_FALSE='#'
93292 else
93293 ENABLE_SYMVERS_TRUE='#'
93294 ENABLE_SYMVERS_FALSE=
93300 if test $enable_symvers = gnu; then
93301 ENABLE_SYMVERS_GNU_TRUE=
93302 ENABLE_SYMVERS_GNU_FALSE='#'
93303 else
93304 ENABLE_SYMVERS_GNU_TRUE='#'
93305 ENABLE_SYMVERS_GNU_FALSE=
93311 if test $enable_symvers = gnu-versioned-namespace; then
93312 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
93313 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
93314 else
93315 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
93316 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
93322 if test $enable_symvers = darwin; then
93323 ENABLE_SYMVERS_DARWIN_TRUE=
93324 ENABLE_SYMVERS_DARWIN_FALSE='#'
93325 else
93326 ENABLE_SYMVERS_DARWIN_TRUE='#'
93327 ENABLE_SYMVERS_DARWIN_FALSE=
93333 if test $enable_visibility = yes; then
93334 ENABLE_VISIBILITY_TRUE=
93335 ENABLE_VISIBILITY_FALSE='#'
93336 else
93337 ENABLE_VISIBILITY_TRUE='#'
93338 ENABLE_VISIBILITY_FALSE=
93344 if test $ac_ldbl_compat = yes; then
93345 GLIBCXX_LDBL_COMPAT_TRUE=
93346 GLIBCXX_LDBL_COMPAT_FALSE='#'
93347 else
93348 GLIBCXX_LDBL_COMPAT_TRUE='#'
93349 GLIBCXX_LDBL_COMPAT_FALSE=
93355 cat >confcache <<\_ACEOF
93356 # This file is a shell script that caches the results of configure
93357 # tests run on this system so they can be shared between configure
93358 # scripts and configure runs, see configure's option --config-cache.
93359 # It is not useful on other systems. If it contains results you don't
93360 # want to keep, you may remove or edit it.
93362 # config.status only pays attention to the cache file if you give it
93363 # the --recheck option to rerun configure.
93365 # `ac_cv_env_foo' variables (set or unset) will be overridden when
93366 # loading this file, other *unset* `ac_cv_foo' will be assigned the
93367 # following values.
93369 _ACEOF
93371 # The following way of writing the cache mishandles newlines in values,
93372 # but we know of no workaround that is simple, portable, and efficient.
93373 # So, don't put newlines in cache variables' values.
93374 # Ultrix sh set writes to stderr and can't be redirected directly,
93375 # and sets the high bit in the cache file unless we assign to the vars.
93377 (set) 2>&1 |
93378 case `(ac_space=' '; set | grep ac_space) 2>&1` in
93379 *ac_space=\ *)
93380 # `set' does not quote correctly, so add quotes (double-quote
93381 # substitution turns \\\\ into \\, and sed turns \\ into \).
93382 sed -n \
93383 "s/'/'\\\\''/g;
93384 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
93387 # `set' quotes correctly as required by POSIX, so do not add quotes.
93388 sed -n \
93389 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
93391 esac;
93393 sed '
93394 t clear
93395 : clear
93396 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
93397 t end
93398 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
93399 : end' >>confcache
93400 if diff $cache_file confcache >/dev/null 2>&1; then :; else
93401 if test -w $cache_file; then
93402 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
93403 cat confcache >$cache_file
93404 else
93405 echo "not updating unwritable cache $cache_file"
93408 rm -f confcache
93410 if test ${multilib} = yes; then
93411 multilib_arg="--enable-multilib"
93412 else
93413 multilib_arg=
93416 # Export all the install information.
93418 glibcxx_toolexecdir=no
93419 glibcxx_toolexeclibdir=no
93420 glibcxx_prefixdir=$prefix
93422 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
93423 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
93425 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
93426 if test "${with_gxx_include_dir+set}" = set; then
93427 withval="$with_gxx_include_dir"
93428 case "$withval" in
93429 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
93430 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
93431 { (exit 1); exit 1; }; } ;;
93432 no) gxx_include_dir=no ;;
93433 *) gxx_include_dir=$withval ;;
93434 esac
93435 else
93436 gxx_include_dir=no
93438 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
93439 echo "${ECHO_T}$gxx_include_dir" >&6
93441 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
93442 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
93443 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
93444 if test "${enable_version_specific_runtime_libs+set}" = set; then
93445 enableval="$enable_version_specific_runtime_libs"
93446 case "$enableval" in
93447 yes) version_specific_libs=yes ;;
93448 no) version_specific_libs=no ;;
93449 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
93450 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
93451 { (exit 1); exit 1; }; };;
93452 esac
93453 else
93454 version_specific_libs=no
93456 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
93457 echo "${ECHO_T}$version_specific_libs" >&6
93459 # Default case for install directory for include files.
93460 if test $version_specific_libs = no && test $gxx_include_dir = no; then
93461 gxx_include_dir='include/c++/${gcc_version}'
93462 if test -n "$with_cross_host" &&
93463 test x"$with_cross_host" != x"no"; then
93464 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
93465 else
93466 gxx_include_dir='${prefix}/'"$gxx_include_dir"
93470 # Version-specific runtime libs processing.
93471 if test $version_specific_libs = yes; then
93472 # Need the gcc compiler version to know where to install libraries
93473 # and header files if --enable-version-specific-runtime-libs option
93474 # is selected. FIXME: these variables are misnamed, there are
93475 # no executables installed in _toolexecdir or _toolexeclibdir.
93476 if test x"$gxx_include_dir" = x"no"; then
93477 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
93479 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
93480 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
93483 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
93484 # Install a library built with a cross compiler in tooldir, not libdir.
93485 if test x"$glibcxx_toolexecdir" = x"no"; then
93486 if test -n "$with_cross_host" &&
93487 test x"$with_cross_host" != x"no"; then
93488 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
93489 glibcxx_toolexeclibdir='${toolexecdir}/lib'
93490 else
93491 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
93492 glibcxx_toolexeclibdir='${libdir}'
93494 multi_os_directory=`$CXX -print-multi-os-directory`
93495 case $multi_os_directory in
93496 .) ;; # Avoid trailing /.
93497 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
93498 esac
93501 echo "$as_me:$LINENO: checking for install location" >&5
93502 echo $ECHO_N "checking for install location... $ECHO_C" >&6
93503 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
93504 echo "${ECHO_T}$gxx_include_dir" >&6
93512 # Export all the include and flag information to Makefiles.
93514 # Used for every C++ compile we perform.
93515 GLIBCXX_INCLUDES="\
93516 -I$glibcxx_builddir/include/$host_alias \
93517 -I$glibcxx_builddir/include \
93518 -I$glibcxx_srcdir/libsupc++"
93520 # For Canadian crosses, pick this up too.
93521 if test $CANADIAN = yes; then
93522 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
93525 # Stuff in the actual top level. Currently only used by libsupc++ to
93526 # get unwind* headers from the gcc dir.
93527 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
93528 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
93530 # Now, export this to all the little Makefiles....
93535 # Optimization flags that are probably a good idea for thrill-seekers. Just
93536 # uncomment the lines below and make, everything else is ready to go...
93537 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
93538 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
93541 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
93545 if test "$enable_shared" = yes; then
93546 LIBSUPCXX_PICFLAGS="-prefer-pic"
93547 else
93548 LIBSUPCXX_PICFLAGS=
93552 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
93554 ac_config_files="$ac_config_files scripts/testsuite_flags"
93557 ac_config_commands="$ac_config_commands default"
93560 cat >confcache <<\_ACEOF
93561 # This file is a shell script that caches the results of configure
93562 # tests run on this system so they can be shared between configure
93563 # scripts and configure runs, see configure's option --config-cache.
93564 # It is not useful on other systems. If it contains results you don't
93565 # want to keep, you may remove or edit it.
93567 # config.status only pays attention to the cache file if you give it
93568 # the --recheck option to rerun configure.
93570 # `ac_cv_env_foo' variables (set or unset) will be overridden when
93571 # loading this file, other *unset* `ac_cv_foo' will be assigned the
93572 # following values.
93574 _ACEOF
93576 # The following way of writing the cache mishandles newlines in values,
93577 # but we know of no workaround that is simple, portable, and efficient.
93578 # So, don't put newlines in cache variables' values.
93579 # Ultrix sh set writes to stderr and can't be redirected directly,
93580 # and sets the high bit in the cache file unless we assign to the vars.
93582 (set) 2>&1 |
93583 case `(ac_space=' '; set | grep ac_space) 2>&1` in
93584 *ac_space=\ *)
93585 # `set' does not quote correctly, so add quotes (double-quote
93586 # substitution turns \\\\ into \\, and sed turns \\ into \).
93587 sed -n \
93588 "s/'/'\\\\''/g;
93589 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
93592 # `set' quotes correctly as required by POSIX, so do not add quotes.
93593 sed -n \
93594 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
93596 esac;
93598 sed '
93599 t clear
93600 : clear
93601 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
93602 t end
93603 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
93604 : end' >>confcache
93605 if diff $cache_file confcache >/dev/null 2>&1; then :; else
93606 if test -w $cache_file; then
93607 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
93608 cat confcache >$cache_file
93609 else
93610 echo "not updating unwritable cache $cache_file"
93613 rm -f confcache
93615 test "x$prefix" = xNONE && prefix=$ac_default_prefix
93616 # Let make expand exec_prefix.
93617 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
93619 # VPATH may cause trouble with some makes, so we remove $(srcdir),
93620 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
93621 # trailing colons and then remove the whole line if VPATH becomes empty
93622 # (actually we leave an empty line to preserve line numbers).
93623 if test "x$srcdir" = x.; then
93624 ac_vpsub='/^[ ]*VPATH[ ]*=/{
93625 s/:*\$(srcdir):*/:/;
93626 s/:*\${srcdir}:*/:/;
93627 s/:*@srcdir@:*/:/;
93628 s/^\([^=]*=[ ]*\):*/\1/;
93629 s/:*$//;
93630 s/^[^=]*=[ ]*$//;
93634 DEFS=-DHAVE_CONFIG_H
93636 ac_libobjs=
93637 ac_ltlibobjs=
93638 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
93639 # 1. Remove the extension, and $U if already installed.
93640 ac_i=`echo "$ac_i" |
93641 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
93642 # 2. Add them.
93643 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
93644 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
93645 done
93646 LIBOBJS=$ac_libobjs
93648 LTLIBOBJS=$ac_ltlibobjs
93651 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
93652 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
93653 Usually this means the macro was only invoked conditionally." >&5
93654 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
93655 Usually this means the macro was only invoked conditionally." >&2;}
93656 { (exit 1); exit 1; }; }
93658 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
93659 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
93660 Usually this means the macro was only invoked conditionally." >&5
93661 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
93662 Usually this means the macro was only invoked conditionally." >&2;}
93663 { (exit 1); exit 1; }; }
93665 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
93666 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
93667 Usually this means the macro was only invoked conditionally." >&5
93668 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
93669 Usually this means the macro was only invoked conditionally." >&2;}
93670 { (exit 1); exit 1; }; }
93672 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
93673 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
93674 Usually this means the macro was only invoked conditionally." >&5
93675 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
93676 Usually this means the macro was only invoked conditionally." >&2;}
93677 { (exit 1); exit 1; }; }
93679 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
93680 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
93681 Usually this means the macro was only invoked conditionally." >&5
93682 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
93683 Usually this means the macro was only invoked conditionally." >&2;}
93684 { (exit 1); exit 1; }; }
93686 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
93687 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
93688 Usually this means the macro was only invoked conditionally." >&5
93689 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
93690 Usually this means the macro was only invoked conditionally." >&2;}
93691 { (exit 1); exit 1; }; }
93693 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
93694 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
93695 Usually this means the macro was only invoked conditionally." >&5
93696 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
93697 Usually this means the macro was only invoked conditionally." >&2;}
93698 { (exit 1); exit 1; }; }
93700 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
93701 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
93702 Usually this means the macro was only invoked conditionally." >&5
93703 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
93704 Usually this means the macro was only invoked conditionally." >&2;}
93705 { (exit 1); exit 1; }; }
93707 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
93708 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
93709 Usually this means the macro was only invoked conditionally." >&5
93710 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
93711 Usually this means the macro was only invoked conditionally." >&2;}
93712 { (exit 1); exit 1; }; }
93714 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
93715 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
93716 Usually this means the macro was only invoked conditionally." >&5
93717 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
93718 Usually this means the macro was only invoked conditionally." >&2;}
93719 { (exit 1); exit 1; }; }
93721 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
93722 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
93723 Usually this means the macro was only invoked conditionally." >&5
93724 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
93725 Usually this means the macro was only invoked conditionally." >&2;}
93726 { (exit 1); exit 1; }; }
93728 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
93729 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
93730 Usually this means the macro was only invoked conditionally." >&5
93731 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
93732 Usually this means the macro was only invoked conditionally." >&2;}
93733 { (exit 1); exit 1; }; }
93735 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
93736 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
93737 Usually this means the macro was only invoked conditionally." >&5
93738 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
93739 Usually this means the macro was only invoked conditionally." >&2;}
93740 { (exit 1); exit 1; }; }
93742 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
93743 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
93744 Usually this means the macro was only invoked conditionally." >&5
93745 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
93746 Usually this means the macro was only invoked conditionally." >&2;}
93747 { (exit 1); exit 1; }; }
93749 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
93750 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
93751 Usually this means the macro was only invoked conditionally." >&5
93752 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
93753 Usually this means the macro was only invoked conditionally." >&2;}
93754 { (exit 1); exit 1; }; }
93757 : ${CONFIG_STATUS=./config.status}
93758 ac_clean_files_save=$ac_clean_files
93759 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
93760 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
93761 echo "$as_me: creating $CONFIG_STATUS" >&6;}
93762 cat >$CONFIG_STATUS <<_ACEOF
93763 #! $SHELL
93764 # Generated by $as_me.
93765 # Run this file to recreate the current configuration.
93766 # Compiler output produced by configure, useful for debugging
93767 # configure, is in config.log if it exists.
93769 debug=false
93770 ac_cs_recheck=false
93771 ac_cs_silent=false
93772 SHELL=\${CONFIG_SHELL-$SHELL}
93773 _ACEOF
93775 cat >>$CONFIG_STATUS <<\_ACEOF
93776 ## --------------------- ##
93777 ## M4sh Initialization. ##
93778 ## --------------------- ##
93780 # Be Bourne compatible
93781 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
93782 emulate sh
93783 NULLCMD=:
93784 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
93785 # is contrary to our usage. Disable this feature.
93786 alias -g '${1+"$@"}'='"$@"'
93787 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
93788 set -o posix
93790 DUALCASE=1; export DUALCASE # for MKS sh
93792 # Support unset when possible.
93793 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
93794 as_unset=unset
93795 else
93796 as_unset=false
93800 # Work around bugs in pre-3.0 UWIN ksh.
93801 $as_unset ENV MAIL MAILPATH
93802 PS1='$ '
93803 PS2='> '
93804 PS4='+ '
93806 # NLS nuisances.
93807 for as_var in \
93808 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
93809 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
93810 LC_TELEPHONE LC_TIME
93812 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
93813 eval $as_var=C; export $as_var
93814 else
93815 $as_unset $as_var
93817 done
93819 # Required to use basename.
93820 if expr a : '\(a\)' >/dev/null 2>&1; then
93821 as_expr=expr
93822 else
93823 as_expr=false
93826 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
93827 as_basename=basename
93828 else
93829 as_basename=false
93833 # Name of the executable.
93834 as_me=`$as_basename "$0" ||
93835 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
93836 X"$0" : 'X\(//\)$' \| \
93837 X"$0" : 'X\(/\)$' \| \
93838 . : '\(.\)' 2>/dev/null ||
93839 echo X/"$0" |
93840 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
93841 /^X\/\(\/\/\)$/{ s//\1/; q; }
93842 /^X\/\(\/\).*/{ s//\1/; q; }
93843 s/.*/./; q'`
93846 # PATH needs CR, and LINENO needs CR and PATH.
93847 # Avoid depending upon Character Ranges.
93848 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
93849 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
93850 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
93851 as_cr_digits='0123456789'
93852 as_cr_alnum=$as_cr_Letters$as_cr_digits
93854 # The user is always right.
93855 if test "${PATH_SEPARATOR+set}" != set; then
93856 echo "#! /bin/sh" >conf$$.sh
93857 echo "exit 0" >>conf$$.sh
93858 chmod +x conf$$.sh
93859 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
93860 PATH_SEPARATOR=';'
93861 else
93862 PATH_SEPARATOR=:
93864 rm -f conf$$.sh
93868 as_lineno_1=$LINENO
93869 as_lineno_2=$LINENO
93870 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
93871 test "x$as_lineno_1" != "x$as_lineno_2" &&
93872 test "x$as_lineno_3" = "x$as_lineno_2" || {
93873 # Find who we are. Look in the path if we contain no path at all
93874 # relative or not.
93875 case $0 in
93876 *[\\/]* ) as_myself=$0 ;;
93877 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93878 for as_dir in $PATH
93880 IFS=$as_save_IFS
93881 test -z "$as_dir" && as_dir=.
93882 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
93883 done
93886 esac
93887 # We did not find ourselves, most probably we were run as `sh COMMAND'
93888 # in which case we are not to be found in the path.
93889 if test "x$as_myself" = x; then
93890 as_myself=$0
93892 if test ! -f "$as_myself"; then
93893 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
93894 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
93895 { (exit 1); exit 1; }; }
93897 case $CONFIG_SHELL in
93899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93900 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
93902 IFS=$as_save_IFS
93903 test -z "$as_dir" && as_dir=.
93904 for as_base in sh bash ksh sh5; do
93905 case $as_dir in
93907 if ("$as_dir/$as_base" -c '
93908 as_lineno_1=$LINENO
93909 as_lineno_2=$LINENO
93910 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
93911 test "x$as_lineno_1" != "x$as_lineno_2" &&
93912 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
93913 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
93914 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
93915 CONFIG_SHELL=$as_dir/$as_base
93916 export CONFIG_SHELL
93917 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
93918 fi;;
93919 esac
93920 done
93921 done
93923 esac
93925 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
93926 # uniformly replaced by the line number. The first 'sed' inserts a
93927 # line-number line before each line; the second 'sed' does the real
93928 # work. The second script uses 'N' to pair each line-number line
93929 # with the numbered line, and appends trailing '-' during
93930 # substitution so that $LINENO is not a special case at line end.
93931 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
93932 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
93933 sed '=' <$as_myself |
93934 sed '
93936 s,$,-,
93937 : loop
93938 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
93939 t loop
93940 s,-$,,
93941 s,^['$as_cr_digits']*\n,,
93942 ' >$as_me.lineno &&
93943 chmod +x $as_me.lineno ||
93944 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
93945 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
93946 { (exit 1); exit 1; }; }
93948 # Don't try to exec as it changes $[0], causing all sort of problems
93949 # (the dirname of $[0] is not the place where we might find the
93950 # original and so on. Autoconf is especially sensible to this).
93951 . ./$as_me.lineno
93952 # Exit status is that of the last command.
93953 exit
93957 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
93958 *c*,-n*) ECHO_N= ECHO_C='
93959 ' ECHO_T=' ' ;;
93960 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
93961 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
93962 esac
93964 if expr a : '\(a\)' >/dev/null 2>&1; then
93965 as_expr=expr
93966 else
93967 as_expr=false
93970 rm -f conf$$ conf$$.exe conf$$.file
93971 echo >conf$$.file
93972 if ln -s conf$$.file conf$$ 2>/dev/null; then
93973 # We could just check for DJGPP; but this test a) works b) is more generic
93974 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
93975 if test -f conf$$.exe; then
93976 # Don't use ln at all; we don't have any links
93977 as_ln_s='cp -p'
93978 else
93979 as_ln_s='ln -s'
93981 elif ln conf$$.file conf$$ 2>/dev/null; then
93982 as_ln_s=ln
93983 else
93984 as_ln_s='cp -p'
93986 rm -f conf$$ conf$$.exe conf$$.file
93988 if mkdir -p . 2>/dev/null; then
93989 as_mkdir_p=:
93990 else
93991 test -d ./-p && rmdir ./-p
93992 as_mkdir_p=false
93995 as_executable_p="test -f"
93997 # Sed expression to map a string onto a valid CPP name.
93998 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
94000 # Sed expression to map a string onto a valid variable name.
94001 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
94004 # IFS
94005 # We need space, tab and new line, in precisely that order.
94006 as_nl='
94008 IFS=" $as_nl"
94010 # CDPATH.
94011 $as_unset CDPATH
94013 exec 6>&1
94015 # Open the log real soon, to keep \$[0] and so on meaningful, and to
94016 # report actual input values of CONFIG_FILES etc. instead of their
94017 # values after options handling. Logging --version etc. is OK.
94018 exec 5>>config.log
94020 echo
94021 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
94022 ## Running $as_me. ##
94023 _ASBOX
94024 } >&5
94025 cat >&5 <<_CSEOF
94027 This file was extended by package-unused $as_me version-unused, which was
94028 generated by GNU Autoconf 2.59. Invocation command line was
94030 CONFIG_FILES = $CONFIG_FILES
94031 CONFIG_HEADERS = $CONFIG_HEADERS
94032 CONFIG_LINKS = $CONFIG_LINKS
94033 CONFIG_COMMANDS = $CONFIG_COMMANDS
94034 $ $0 $@
94036 _CSEOF
94037 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
94038 echo >&5
94039 _ACEOF
94041 # Files that config.status was made for.
94042 if test -n "$ac_config_files"; then
94043 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
94046 if test -n "$ac_config_headers"; then
94047 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
94050 if test -n "$ac_config_links"; then
94051 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
94054 if test -n "$ac_config_commands"; then
94055 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
94058 cat >>$CONFIG_STATUS <<\_ACEOF
94060 ac_cs_usage="\
94061 \`$as_me' instantiates files from templates according to the
94062 current configuration.
94064 Usage: $0 [OPTIONS] [FILE]...
94066 -h, --help print this help, then exit
94067 -V, --version print version number, then exit
94068 -q, --quiet do not print progress messages
94069 -d, --debug don't remove temporary files
94070 --recheck update $as_me by reconfiguring in the same conditions
94071 --file=FILE[:TEMPLATE]
94072 instantiate the configuration file FILE
94073 --header=FILE[:TEMPLATE]
94074 instantiate the configuration header FILE
94076 Configuration files:
94077 $config_files
94079 Configuration headers:
94080 $config_headers
94082 Configuration commands:
94083 $config_commands
94085 Report bugs to <bug-autoconf@gnu.org>."
94086 _ACEOF
94088 cat >>$CONFIG_STATUS <<_ACEOF
94089 ac_cs_version="\\
94090 package-unused config.status version-unused
94091 configured by $0, generated by GNU Autoconf 2.59,
94092 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
94094 Copyright (C) 2003 Free Software Foundation, Inc.
94095 This config.status script is free software; the Free Software Foundation
94096 gives unlimited permission to copy, distribute and modify it."
94097 srcdir=$srcdir
94098 INSTALL="$INSTALL"
94099 _ACEOF
94101 cat >>$CONFIG_STATUS <<\_ACEOF
94102 # If no file are specified by the user, then we need to provide default
94103 # value. By we need to know if files were specified by the user.
94104 ac_need_defaults=:
94105 while test $# != 0
94107 case $1 in
94108 --*=*)
94109 ac_option=`expr "x$1" : 'x\([^=]*\)='`
94110 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
94111 ac_shift=:
94114 ac_option=$1
94115 ac_optarg=$2
94116 ac_shift=shift
94118 *) # This is not an option, so the user has probably given explicit
94119 # arguments.
94120 ac_option=$1
94121 ac_need_defaults=false;;
94122 esac
94124 case $ac_option in
94125 # Handling of the options.
94126 _ACEOF
94127 cat >>$CONFIG_STATUS <<\_ACEOF
94128 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
94129 ac_cs_recheck=: ;;
94130 --version | --vers* | -V )
94131 echo "$ac_cs_version"; exit 0 ;;
94132 --he | --h)
94133 # Conflict between --help and --header
94134 { { echo "$as_me:$LINENO: error: ambiguous option: $1
94135 Try \`$0 --help' for more information." >&5
94136 echo "$as_me: error: ambiguous option: $1
94137 Try \`$0 --help' for more information." >&2;}
94138 { (exit 1); exit 1; }; };;
94139 --help | --hel | -h )
94140 echo "$ac_cs_usage"; exit 0 ;;
94141 --debug | --d* | -d )
94142 debug=: ;;
94143 --file | --fil | --fi | --f )
94144 $ac_shift
94145 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
94146 ac_need_defaults=false;;
94147 --header | --heade | --head | --hea )
94148 $ac_shift
94149 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
94150 ac_need_defaults=false;;
94151 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
94152 | -silent | --silent | --silen | --sile | --sil | --si | --s)
94153 ac_cs_silent=: ;;
94155 # This is an error.
94156 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
94157 Try \`$0 --help' for more information." >&5
94158 echo "$as_me: error: unrecognized option: $1
94159 Try \`$0 --help' for more information." >&2;}
94160 { (exit 1); exit 1; }; } ;;
94162 *) ac_config_targets="$ac_config_targets $1" ;;
94164 esac
94165 shift
94166 done
94168 ac_configure_extra_args=
94170 if $ac_cs_silent; then
94171 exec 6>/dev/null
94172 ac_configure_extra_args="$ac_configure_extra_args --silent"
94175 _ACEOF
94176 cat >>$CONFIG_STATUS <<_ACEOF
94177 if \$ac_cs_recheck; then
94178 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
94179 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
94182 _ACEOF
94184 cat >>$CONFIG_STATUS <<_ACEOF
94186 # INIT-COMMANDS section.
94190 srcdir="$srcdir"
94191 host="$host"
94192 target="$target"
94193 with_multisubdir="$with_multisubdir"
94194 with_multisrctop="$with_multisrctop"
94195 with_target_subdir="$with_target_subdir"
94196 ac_configure_args="${multilib_arg} ${ac_configure_args}"
94197 multi_basedir="$multi_basedir"
94198 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
94199 CC="$CC"
94202 # The HP-UX ksh and POSIX shell print the target directory to stdout
94203 # if CDPATH is set.
94204 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
94206 sed_quote_subst='$sed_quote_subst'
94207 double_quote_subst='$double_quote_subst'
94208 delay_variable_subst='$delay_variable_subst'
94209 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
94210 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
94211 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
94212 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
94213 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
94214 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
94215 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
94216 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
94217 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
94218 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
94219 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
94220 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
94221 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
94222 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
94223 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
94224 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
94225 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
94226 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
94227 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
94228 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
94229 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
94230 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
94231 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
94232 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
94233 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
94234 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
94235 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
94236 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94237 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
94238 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
94239 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
94240 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
94241 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
94242 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
94243 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94244 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94245 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94246 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
94247 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
94248 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
94249 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
94250 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
94251 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
94252 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"`'
94253 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
94254 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
94255 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
94256 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
94257 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
94258 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
94259 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
94260 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
94261 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
94262 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
94263 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
94264 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94265 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94266 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
94267 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
94268 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
94269 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
94270 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
94271 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94272 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94273 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94274 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94275 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94276 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94277 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
94278 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
94279 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
94280 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
94281 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
94282 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
94283 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
94284 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
94285 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
94286 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
94287 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
94288 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
94289 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
94290 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
94291 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
94292 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94293 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
94294 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
94295 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94296 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
94297 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
94298 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
94299 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
94300 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
94301 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
94302 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
94303 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
94304 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
94305 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
94306 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
94307 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94308 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94309 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94310 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
94311 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
94312 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
94313 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
94314 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
94315 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
94316 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
94317 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
94318 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
94319 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
94320 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
94321 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
94322 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
94323 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
94324 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
94325 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94326 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94327 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94328 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94329 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94330 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94331 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94332 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94333 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94334 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94335 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94336 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94337 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94338 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94339 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94340 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94341 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94342 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94343 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94344 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94345 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94346 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94347 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94348 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94349 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94350 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94351 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94352 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94353 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94354 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94355 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94356 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94357 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94358 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94359 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94360 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94361 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94362 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94363 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94364 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94365 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94366 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94367 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94368 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94369 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94370 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94372 LTCC='$LTCC'
94373 LTCFLAGS='$LTCFLAGS'
94374 compiler='$compiler_DEFAULT'
94376 # Quote evaled strings.
94377 for var in SED \
94378 GREP \
94379 EGREP \
94380 FGREP \
94381 LD \
94382 NM \
94383 LN_S \
94384 lt_SP2NL \
94385 lt_NL2SP \
94386 reload_flag \
94387 deplibs_check_method \
94388 file_magic_cmd \
94389 AR \
94390 AR_FLAGS \
94391 STRIP \
94392 RANLIB \
94393 CC \
94394 CFLAGS \
94395 compiler \
94396 lt_cv_sys_global_symbol_pipe \
94397 lt_cv_sys_global_symbol_to_cdecl \
94398 lt_cv_sys_global_symbol_to_c_name_address \
94399 SHELL \
94400 ECHO \
94401 lt_prog_compiler_no_builtin_flag \
94402 lt_prog_compiler_wl \
94403 lt_prog_compiler_pic \
94404 lt_prog_compiler_static \
94405 lt_cv_prog_compiler_c_o \
94406 need_locks \
94407 shrext_cmds \
94408 export_dynamic_flag_spec \
94409 whole_archive_flag_spec \
94410 compiler_needs_object \
94411 with_gnu_ld \
94412 allow_undefined_flag \
94413 no_undefined_flag \
94414 hardcode_libdir_flag_spec \
94415 hardcode_libdir_flag_spec_ld \
94416 hardcode_libdir_separator \
94417 fix_srcfile_path \
94418 exclude_expsyms \
94419 include_expsyms \
94420 file_list_spec \
94421 variables_saved_for_relink \
94422 libname_spec \
94423 library_names_spec \
94424 soname_spec \
94425 finish_eval \
94426 old_striplib \
94427 striplib \
94428 predep_objects \
94429 postdep_objects \
94430 predeps \
94431 postdeps \
94432 compiler_lib_search_path \
94433 LD_CXX \
94434 compiler_CXX \
94435 lt_prog_compiler_no_builtin_flag_CXX \
94436 lt_prog_compiler_wl_CXX \
94437 lt_prog_compiler_pic_CXX \
94438 lt_prog_compiler_static_CXX \
94439 lt_cv_prog_compiler_c_o_CXX \
94440 export_dynamic_flag_spec_CXX \
94441 whole_archive_flag_spec_CXX \
94442 compiler_needs_object_CXX \
94443 with_gnu_ld_CXX \
94444 allow_undefined_flag_CXX \
94445 no_undefined_flag_CXX \
94446 hardcode_libdir_flag_spec_CXX \
94447 hardcode_libdir_flag_spec_ld_CXX \
94448 hardcode_libdir_separator_CXX \
94449 fix_srcfile_path_CXX \
94450 exclude_expsyms_CXX \
94451 include_expsyms_CXX \
94452 file_list_spec_CXX \
94453 predep_objects_CXX \
94454 postdep_objects_CXX \
94455 predeps_CXX \
94456 postdeps_CXX \
94457 compiler_lib_search_path_CXX; do
94458 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
94459 *[\\\\\\\`\\"\\\$]*)
94460 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
94463 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
94465 esac
94466 done
94468 # Double-quote double-evaled strings.
94469 for var in reload_cmds \
94470 old_postinstall_cmds \
94471 old_postuninstall_cmds \
94472 old_archive_cmds \
94473 extract_expsyms_cmds \
94474 old_archive_from_new_cmds \
94475 old_archive_from_expsyms_cmds \
94476 archive_cmds \
94477 archive_expsym_cmds \
94478 module_cmds \
94479 module_expsym_cmds \
94480 export_symbols_cmds \
94481 prelink_cmds \
94482 postinstall_cmds \
94483 postuninstall_cmds \
94484 finish_cmds \
94485 sys_lib_search_path_spec \
94486 sys_lib_dlsearch_path_spec \
94487 old_archive_cmds_CXX \
94488 old_archive_from_new_cmds_CXX \
94489 old_archive_from_expsyms_cmds_CXX \
94490 archive_cmds_CXX \
94491 archive_expsym_cmds_CXX \
94492 module_cmds_CXX \
94493 module_expsym_cmds_CXX \
94494 export_symbols_cmds_CXX \
94495 prelink_cmds_CXX; do
94496 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
94497 *[\\\\\\\`\\"\\\$]*)
94498 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
94501 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
94503 esac
94504 done
94506 # Fix-up fallback echo if it was mangled by the above quoting rules.
94507 case \$lt_ECHO in
94508 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
94510 esac
94512 ac_aux_dir='$ac_aux_dir'
94513 xsi_shell='$xsi_shell'
94514 lt_shell_append='$lt_shell_append'
94516 # See if we are running on zsh, and set the options which allow our
94517 # commands through without removal of \ escapes INIT.
94518 if test -n "\${ZSH_VERSION+set}" ; then
94519 setopt NO_GLOB_SUBST
94523 PACKAGE='$PACKAGE'
94524 VERSION='$VERSION'
94525 TIMESTAMP='$TIMESTAMP'
94526 RM='$RM'
94527 ofile='$ofile'
94534 # Variables needed in config.status (file generation) which aren't already
94535 # passed by autoconf.
94536 SUBDIRS="$SUBDIRS"
94539 _ACEOF
94543 cat >>$CONFIG_STATUS <<\_ACEOF
94544 for ac_config_target in $ac_config_targets
94546 case "$ac_config_target" in
94547 # Handling of arguments.
94548 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
94549 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
94550 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
94551 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
94552 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
94553 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
94554 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
94555 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
94556 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
94557 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
94558 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
94559 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
94560 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
94561 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
94562 { (exit 1); exit 1; }; };;
94563 esac
94564 done
94566 # If the user did not use the arguments to specify the items to instantiate,
94567 # then the envvar interface is used. Set only those that are not.
94568 # We use the long form for the default assignment because of an extremely
94569 # bizarre bug on SunOS 4.1.3.
94570 if $ac_need_defaults; then
94571 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
94572 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
94573 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
94576 # Have a temporary directory for convenience. Make it in the build tree
94577 # simply because there is no reason to put it here, and in addition,
94578 # creating and moving files from /tmp can sometimes cause problems.
94579 # Create a temporary directory, and hook for its removal unless debugging.
94580 $debug ||
94582 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
94583 trap '{ (exit 1); exit 1; }' 1 2 13 15
94586 # Create a (secure) tmp directory for tmp files.
94589 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
94590 test -n "$tmp" && test -d "$tmp"
94591 } ||
94593 tmp=./confstat$$-$RANDOM
94594 (umask 077 && mkdir $tmp)
94595 } ||
94597 echo "$me: cannot create a temporary directory in ." >&2
94598 { (exit 1); exit 1; }
94601 _ACEOF
94603 cat >>$CONFIG_STATUS <<_ACEOF
94606 # CONFIG_FILES section.
94609 # No need to generate the scripts if there are no CONFIG_FILES.
94610 # This happens for instance when ./config.status config.h
94611 if test -n "\$CONFIG_FILES"; then
94612 # Protect against being on the right side of a sed subst in config.status.
94613 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
94614 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
94615 s,@SHELL@,$SHELL,;t t
94616 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
94617 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
94618 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
94619 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
94620 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
94621 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
94622 s,@exec_prefix@,$exec_prefix,;t t
94623 s,@prefix@,$prefix,;t t
94624 s,@program_transform_name@,$program_transform_name,;t t
94625 s,@bindir@,$bindir,;t t
94626 s,@sbindir@,$sbindir,;t t
94627 s,@libexecdir@,$libexecdir,;t t
94628 s,@datadir@,$datadir,;t t
94629 s,@sysconfdir@,$sysconfdir,;t t
94630 s,@sharedstatedir@,$sharedstatedir,;t t
94631 s,@localstatedir@,$localstatedir,;t t
94632 s,@libdir@,$libdir,;t t
94633 s,@includedir@,$includedir,;t t
94634 s,@oldincludedir@,$oldincludedir,;t t
94635 s,@infodir@,$infodir,;t t
94636 s,@mandir@,$mandir,;t t
94637 s,@build_alias@,$build_alias,;t t
94638 s,@host_alias@,$host_alias,;t t
94639 s,@target_alias@,$target_alias,;t t
94640 s,@DEFS@,$DEFS,;t t
94641 s,@ECHO_C@,$ECHO_C,;t t
94642 s,@ECHO_N@,$ECHO_N,;t t
94643 s,@ECHO_T@,$ECHO_T,;t t
94644 s,@LIBS@,$LIBS,;t t
94645 s,@libtool_VERSION@,$libtool_VERSION,;t t
94646 s,@multi_basedir@,$multi_basedir,;t t
94647 s,@build@,$build,;t t
94648 s,@build_cpu@,$build_cpu,;t t
94649 s,@build_vendor@,$build_vendor,;t t
94650 s,@build_os@,$build_os,;t t
94651 s,@host@,$host,;t t
94652 s,@host_cpu@,$host_cpu,;t t
94653 s,@host_vendor@,$host_vendor,;t t
94654 s,@host_os@,$host_os,;t t
94655 s,@target@,$target,;t t
94656 s,@target_cpu@,$target_cpu,;t t
94657 s,@target_vendor@,$target_vendor,;t t
94658 s,@target_os@,$target_os,;t t
94659 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
94660 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
94661 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
94662 s,@CYGPATH_W@,$CYGPATH_W,;t t
94663 s,@PACKAGE@,$PACKAGE,;t t
94664 s,@VERSION@,$VERSION,;t t
94665 s,@ACLOCAL@,$ACLOCAL,;t t
94666 s,@AUTOCONF@,$AUTOCONF,;t t
94667 s,@AUTOMAKE@,$AUTOMAKE,;t t
94668 s,@AUTOHEADER@,$AUTOHEADER,;t t
94669 s,@MAKEINFO@,$MAKEINFO,;t t
94670 s,@install_sh@,$install_sh,;t t
94671 s,@STRIP@,$STRIP,;t t
94672 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
94673 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
94674 s,@mkdir_p@,$mkdir_p,;t t
94675 s,@AWK@,$AWK,;t t
94676 s,@SET_MAKE@,$SET_MAKE,;t t
94677 s,@am__leading_dot@,$am__leading_dot,;t t
94678 s,@AMTAR@,$AMTAR,;t t
94679 s,@am__tar@,$am__tar,;t t
94680 s,@am__untar@,$am__untar,;t t
94681 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
94682 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
94683 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
94684 s,@CC@,$CC,;t t
94685 s,@ac_ct_CC@,$ac_ct_CC,;t t
94686 s,@EXEEXT@,$EXEEXT,;t t
94687 s,@OBJEXT@,$OBJEXT,;t t
94688 s,@CXX@,$CXX,;t t
94689 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
94690 s,@CFLAGS@,$CFLAGS,;t t
94691 s,@CXXFLAGS@,$CXXFLAGS,;t t
94692 s,@LN_S@,$LN_S,;t t
94693 s,@AS@,$AS,;t t
94694 s,@ac_ct_AS@,$ac_ct_AS,;t t
94695 s,@AR@,$AR,;t t
94696 s,@ac_ct_AR@,$ac_ct_AR,;t t
94697 s,@RANLIB@,$RANLIB,;t t
94698 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
94699 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
94700 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
94701 s,@MAINT@,$MAINT,;t t
94702 s,@CPP@,$CPP,;t t
94703 s,@CPPFLAGS@,$CPPFLAGS,;t t
94704 s,@EGREP@,$EGREP,;t t
94705 s,@LIBTOOL@,$LIBTOOL,;t t
94706 s,@SED@,$SED,;t t
94707 s,@FGREP@,$FGREP,;t t
94708 s,@GREP@,$GREP,;t t
94709 s,@LD@,$LD,;t t
94710 s,@DUMPBIN@,$DUMPBIN,;t t
94711 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
94712 s,@NM@,$NM,;t t
94713 s,@lt_ECHO@,$lt_ECHO,;t t
94714 s,@LDFLAGS@,$LDFLAGS,;t t
94715 s,@CXXCPP@,$CXXCPP,;t t
94716 s,@enable_shared@,$enable_shared,;t t
94717 s,@enable_static@,$enable_static,;t t
94718 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
94719 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
94720 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
94721 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
94722 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
94723 s,@CSTDIO_H@,$CSTDIO_H,;t t
94724 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
94725 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
94726 s,@check_msgfmt@,$check_msgfmt,;t t
94727 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
94728 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
94729 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
94730 s,@USE_NLS@,$USE_NLS,;t t
94731 s,@CLOCALE_H@,$CLOCALE_H,;t t
94732 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
94733 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
94734 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
94735 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
94736 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
94737 s,@CMONEY_CC@,$CMONEY_CC,;t t
94738 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
94739 s,@CTIME_H@,$CTIME_H,;t t
94740 s,@CTIME_CC@,$CTIME_CC,;t t
94741 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
94742 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
94743 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
94744 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
94745 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
94746 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
94747 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
94748 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
94749 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
94750 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
94751 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
94752 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
94753 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
94754 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
94755 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
94756 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
94757 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
94758 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
94759 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
94760 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
94761 s,@WERROR@,$WERROR,;t t
94762 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
94763 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
94764 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
94765 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
94766 s,@LIBICONV@,$LIBICONV,;t t
94767 s,@LTLIBICONV@,$LTLIBICONV,;t t
94768 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
94769 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
94770 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
94771 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
94772 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
94773 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
94774 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
94775 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
94776 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
94777 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
94778 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
94779 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
94780 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
94781 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
94782 s,@baseline_dir@,$baseline_dir,;t t
94783 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
94784 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
94785 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
94786 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
94787 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
94788 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
94789 s,@gxx_include_dir@,$gxx_include_dir,;t t
94790 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
94791 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
94792 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
94793 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
94794 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
94795 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
94796 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
94797 s,@LIBOBJS@,$LIBOBJS,;t t
94798 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
94799 CEOF
94801 _ACEOF
94803 cat >>$CONFIG_STATUS <<\_ACEOF
94804 # Split the substitutions into bite-sized pieces for seds with
94805 # small command number limits, like on Digital OSF/1 and HP-UX.
94806 ac_max_sed_lines=48
94807 ac_sed_frag=1 # Number of current file.
94808 ac_beg=1 # First line for current file.
94809 ac_end=$ac_max_sed_lines # Line after last line for current file.
94810 ac_more_lines=:
94811 ac_sed_cmds=
94812 while $ac_more_lines; do
94813 if test $ac_beg -gt 1; then
94814 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
94815 else
94816 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
94818 if test ! -s $tmp/subs.frag; then
94819 ac_more_lines=false
94820 else
94821 # The purpose of the label and of the branching condition is to
94822 # speed up the sed processing (if there are no `@' at all, there
94823 # is no need to browse any of the substitutions).
94824 # These are the two extra sed commands mentioned above.
94825 (echo ':t
94826 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
94827 if test -z "$ac_sed_cmds"; then
94828 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
94829 else
94830 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
94832 ac_sed_frag=`expr $ac_sed_frag + 1`
94833 ac_beg=$ac_end
94834 ac_end=`expr $ac_end + $ac_max_sed_lines`
94836 done
94837 if test -z "$ac_sed_cmds"; then
94838 ac_sed_cmds=cat
94840 fi # test -n "$CONFIG_FILES"
94842 _ACEOF
94843 cat >>$CONFIG_STATUS <<\_ACEOF
94844 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
94845 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
94846 case $ac_file in
94847 - | *:- | *:-:* ) # input from stdin
94848 cat >$tmp/stdin
94849 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
94850 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
94851 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
94852 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
94853 * ) ac_file_in=$ac_file.in ;;
94854 esac
94856 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
94857 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
94858 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
94859 X"$ac_file" : 'X\(//\)[^/]' \| \
94860 X"$ac_file" : 'X\(//\)$' \| \
94861 X"$ac_file" : 'X\(/\)' \| \
94862 . : '\(.\)' 2>/dev/null ||
94863 echo X"$ac_file" |
94864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
94865 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
94866 /^X\(\/\/\)$/{ s//\1/; q; }
94867 /^X\(\/\).*/{ s//\1/; q; }
94868 s/.*/./; q'`
94869 { if $as_mkdir_p; then
94870 mkdir -p "$ac_dir"
94871 else
94872 as_dir="$ac_dir"
94873 as_dirs=
94874 while test ! -d "$as_dir"; do
94875 as_dirs="$as_dir $as_dirs"
94876 as_dir=`(dirname "$as_dir") 2>/dev/null ||
94877 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
94878 X"$as_dir" : 'X\(//\)[^/]' \| \
94879 X"$as_dir" : 'X\(//\)$' \| \
94880 X"$as_dir" : 'X\(/\)' \| \
94881 . : '\(.\)' 2>/dev/null ||
94882 echo X"$as_dir" |
94883 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
94884 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
94885 /^X\(\/\/\)$/{ s//\1/; q; }
94886 /^X\(\/\).*/{ s//\1/; q; }
94887 s/.*/./; q'`
94888 done
94889 test ! -n "$as_dirs" || mkdir $as_dirs
94890 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
94891 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
94892 { (exit 1); exit 1; }; }; }
94894 ac_builddir=.
94896 if test "$ac_dir" != .; then
94897 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
94898 # A "../" for each directory in $ac_dir_suffix.
94899 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
94900 else
94901 ac_dir_suffix= ac_top_builddir=
94904 case $srcdir in
94905 .) # No --srcdir option. We are building in place.
94906 ac_srcdir=.
94907 if test -z "$ac_top_builddir"; then
94908 ac_top_srcdir=.
94909 else
94910 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
94911 fi ;;
94912 [\\/]* | ?:[\\/]* ) # Absolute path.
94913 ac_srcdir=$srcdir$ac_dir_suffix;
94914 ac_top_srcdir=$srcdir ;;
94915 *) # Relative path.
94916 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
94917 ac_top_srcdir=$ac_top_builddir$srcdir ;;
94918 esac
94920 # Do not use `cd foo && pwd` to compute absolute paths, because
94921 # the directories may not exist.
94922 case `pwd` in
94923 .) ac_abs_builddir="$ac_dir";;
94925 case "$ac_dir" in
94926 .) ac_abs_builddir=`pwd`;;
94927 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
94928 *) ac_abs_builddir=`pwd`/"$ac_dir";;
94929 esac;;
94930 esac
94931 case $ac_abs_builddir in
94932 .) ac_abs_top_builddir=${ac_top_builddir}.;;
94934 case ${ac_top_builddir}. in
94935 .) ac_abs_top_builddir=$ac_abs_builddir;;
94936 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
94937 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
94938 esac;;
94939 esac
94940 case $ac_abs_builddir in
94941 .) ac_abs_srcdir=$ac_srcdir;;
94943 case $ac_srcdir in
94944 .) ac_abs_srcdir=$ac_abs_builddir;;
94945 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
94946 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
94947 esac;;
94948 esac
94949 case $ac_abs_builddir in
94950 .) ac_abs_top_srcdir=$ac_top_srcdir;;
94952 case $ac_top_srcdir in
94953 .) ac_abs_top_srcdir=$ac_abs_builddir;;
94954 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
94955 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
94956 esac;;
94957 esac
94960 case $INSTALL in
94961 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
94962 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
94963 esac
94965 if test x"$ac_file" != x-; then
94966 { echo "$as_me:$LINENO: creating $ac_file" >&5
94967 echo "$as_me: creating $ac_file" >&6;}
94968 rm -f "$ac_file"
94970 # Let's still pretend it is `configure' which instantiates (i.e., don't
94971 # use $as_me), people would be surprised to read:
94972 # /* config.h. Generated by config.status. */
94973 if test x"$ac_file" = x-; then
94974 configure_input=
94975 else
94976 configure_input="$ac_file. "
94978 configure_input=$configure_input"Generated from `echo $ac_file_in |
94979 sed 's,.*/,,'` by configure."
94981 # First look for the input files in the build tree, otherwise in the
94982 # src tree.
94983 ac_file_inputs=`IFS=:
94984 for f in $ac_file_in; do
94985 case $f in
94986 -) echo $tmp/stdin ;;
94987 [\\/$]*)
94988 # Absolute (can't be DOS-style, as IFS=:)
94989 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
94990 echo "$as_me: error: cannot find input file: $f" >&2;}
94991 { (exit 1); exit 1; }; }
94992 echo "$f";;
94993 *) # Relative
94994 if test -f "$f"; then
94995 # Build tree
94996 echo "$f"
94997 elif test -f "$srcdir/$f"; then
94998 # Source tree
94999 echo "$srcdir/$f"
95000 else
95001 # /dev/null tree
95002 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95003 echo "$as_me: error: cannot find input file: $f" >&2;}
95004 { (exit 1); exit 1; }; }
95005 fi;;
95006 esac
95007 done` || { (exit 1); exit 1; }
95008 _ACEOF
95009 cat >>$CONFIG_STATUS <<_ACEOF
95010 sed "$ac_vpsub
95011 $extrasub
95012 _ACEOF
95013 cat >>$CONFIG_STATUS <<\_ACEOF
95015 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
95016 s,@configure_input@,$configure_input,;t t
95017 s,@srcdir@,$ac_srcdir,;t t
95018 s,@abs_srcdir@,$ac_abs_srcdir,;t t
95019 s,@top_srcdir@,$ac_top_srcdir,;t t
95020 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
95021 s,@builddir@,$ac_builddir,;t t
95022 s,@abs_builddir@,$ac_abs_builddir,;t t
95023 s,@top_builddir@,$ac_top_builddir,;t t
95024 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
95025 s,@INSTALL@,$ac_INSTALL,;t t
95026 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
95027 rm -f $tmp/stdin
95028 if test x"$ac_file" != x-; then
95029 mv $tmp/out $ac_file
95030 else
95031 cat $tmp/out
95032 rm -f $tmp/out
95035 # Run the commands associated with the file.
95036 case $ac_file in
95037 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
95038 esac
95039 done
95040 _ACEOF
95041 cat >>$CONFIG_STATUS <<\_ACEOF
95044 # CONFIG_HEADER section.
95047 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
95048 # NAME is the cpp macro being defined and VALUE is the value it is being given.
95050 # ac_d sets the value in "#define NAME VALUE" lines.
95051 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
95052 ac_dB='[ ].*$,\1#\2'
95053 ac_dC=' '
95054 ac_dD=',;t'
95055 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
95056 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
95057 ac_uB='$,\1#\2define\3'
95058 ac_uC=' '
95059 ac_uD=',;t'
95061 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
95062 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
95063 case $ac_file in
95064 - | *:- | *:-:* ) # input from stdin
95065 cat >$tmp/stdin
95066 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95067 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95068 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95069 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95070 * ) ac_file_in=$ac_file.in ;;
95071 esac
95073 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
95074 echo "$as_me: creating $ac_file" >&6;}
95076 # First look for the input files in the build tree, otherwise in the
95077 # src tree.
95078 ac_file_inputs=`IFS=:
95079 for f in $ac_file_in; do
95080 case $f in
95081 -) echo $tmp/stdin ;;
95082 [\\/$]*)
95083 # Absolute (can't be DOS-style, as IFS=:)
95084 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95085 echo "$as_me: error: cannot find input file: $f" >&2;}
95086 { (exit 1); exit 1; }; }
95087 # Do quote $f, to prevent DOS paths from being IFS'd.
95088 echo "$f";;
95089 *) # Relative
95090 if test -f "$f"; then
95091 # Build tree
95092 echo "$f"
95093 elif test -f "$srcdir/$f"; then
95094 # Source tree
95095 echo "$srcdir/$f"
95096 else
95097 # /dev/null tree
95098 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95099 echo "$as_me: error: cannot find input file: $f" >&2;}
95100 { (exit 1); exit 1; }; }
95101 fi;;
95102 esac
95103 done` || { (exit 1); exit 1; }
95104 # Remove the trailing spaces.
95105 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
95107 _ACEOF
95109 # Transform confdefs.h into two sed scripts, `conftest.defines' and
95110 # `conftest.undefs', that substitutes the proper values into
95111 # config.h.in to produce config.h. The first handles `#define'
95112 # templates, and the second `#undef' templates.
95113 # And first: Protect against being on the right side of a sed subst in
95114 # config.status. Protect against being in an unquoted here document
95115 # in config.status.
95116 rm -f conftest.defines conftest.undefs
95117 # Using a here document instead of a string reduces the quoting nightmare.
95118 # Putting comments in sed scripts is not portable.
95120 # `end' is used to avoid that the second main sed command (meant for
95121 # 0-ary CPP macros) applies to n-ary macro definitions.
95122 # See the Autoconf documentation for `clear'.
95123 cat >confdef2sed.sed <<\_ACEOF
95124 s/[\\&,]/\\&/g
95125 s,[\\$`],\\&,g
95126 t clear
95127 : clear
95128 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
95129 t end
95130 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
95131 : end
95132 _ACEOF
95133 # If some macros were called several times there might be several times
95134 # the same #defines, which is useless. Nevertheless, we may not want to
95135 # sort them, since we want the *last* AC-DEFINE to be honored.
95136 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
95137 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
95138 rm -f confdef2sed.sed
95140 # This sed command replaces #undef with comments. This is necessary, for
95141 # example, in the case of _POSIX_SOURCE, which is predefined and required
95142 # on some systems where configure will not decide to define it.
95143 cat >>conftest.undefs <<\_ACEOF
95144 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
95145 _ACEOF
95147 # Break up conftest.defines because some shells have a limit on the size
95148 # of here documents, and old seds have small limits too (100 cmds).
95149 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
95150 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
95151 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
95152 echo ' :' >>$CONFIG_STATUS
95153 rm -f conftest.tail
95154 while grep . conftest.defines >/dev/null
95156 # Write a limited-size here document to $tmp/defines.sed.
95157 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
95158 # Speed up: don't consider the non `#define' lines.
95159 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
95160 # Work around the forget-to-reset-the-flag bug.
95161 echo 't clr' >>$CONFIG_STATUS
95162 echo ': clr' >>$CONFIG_STATUS
95163 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
95164 echo 'CEOF
95165 sed -f $tmp/defines.sed $tmp/in >$tmp/out
95166 rm -f $tmp/in
95167 mv $tmp/out $tmp/in
95168 ' >>$CONFIG_STATUS
95169 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
95170 rm -f conftest.defines
95171 mv conftest.tail conftest.defines
95172 done
95173 rm -f conftest.defines
95174 echo ' fi # grep' >>$CONFIG_STATUS
95175 echo >>$CONFIG_STATUS
95177 # Break up conftest.undefs because some shells have a limit on the size
95178 # of here documents, and old seds have small limits too (100 cmds).
95179 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
95180 rm -f conftest.tail
95181 while grep . conftest.undefs >/dev/null
95183 # Write a limited-size here document to $tmp/undefs.sed.
95184 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
95185 # Speed up: don't consider the non `#undef'
95186 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
95187 # Work around the forget-to-reset-the-flag bug.
95188 echo 't clr' >>$CONFIG_STATUS
95189 echo ': clr' >>$CONFIG_STATUS
95190 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
95191 echo 'CEOF
95192 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
95193 rm -f $tmp/in
95194 mv $tmp/out $tmp/in
95195 ' >>$CONFIG_STATUS
95196 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
95197 rm -f conftest.undefs
95198 mv conftest.tail conftest.undefs
95199 done
95200 rm -f conftest.undefs
95202 cat >>$CONFIG_STATUS <<\_ACEOF
95203 # Let's still pretend it is `configure' which instantiates (i.e., don't
95204 # use $as_me), people would be surprised to read:
95205 # /* config.h. Generated by config.status. */
95206 if test x"$ac_file" = x-; then
95207 echo "/* Generated by configure. */" >$tmp/config.h
95208 else
95209 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
95211 cat $tmp/in >>$tmp/config.h
95212 rm -f $tmp/in
95213 if test x"$ac_file" != x-; then
95214 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
95215 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
95216 echo "$as_me: $ac_file is unchanged" >&6;}
95217 else
95218 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
95219 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95220 X"$ac_file" : 'X\(//\)[^/]' \| \
95221 X"$ac_file" : 'X\(//\)$' \| \
95222 X"$ac_file" : 'X\(/\)' \| \
95223 . : '\(.\)' 2>/dev/null ||
95224 echo X"$ac_file" |
95225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95226 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95227 /^X\(\/\/\)$/{ s//\1/; q; }
95228 /^X\(\/\).*/{ s//\1/; q; }
95229 s/.*/./; q'`
95230 { if $as_mkdir_p; then
95231 mkdir -p "$ac_dir"
95232 else
95233 as_dir="$ac_dir"
95234 as_dirs=
95235 while test ! -d "$as_dir"; do
95236 as_dirs="$as_dir $as_dirs"
95237 as_dir=`(dirname "$as_dir") 2>/dev/null ||
95238 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95239 X"$as_dir" : 'X\(//\)[^/]' \| \
95240 X"$as_dir" : 'X\(//\)$' \| \
95241 X"$as_dir" : 'X\(/\)' \| \
95242 . : '\(.\)' 2>/dev/null ||
95243 echo X"$as_dir" |
95244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95245 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95246 /^X\(\/\/\)$/{ s//\1/; q; }
95247 /^X\(\/\).*/{ s//\1/; q; }
95248 s/.*/./; q'`
95249 done
95250 test ! -n "$as_dirs" || mkdir $as_dirs
95251 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
95252 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
95253 { (exit 1); exit 1; }; }; }
95255 rm -f $ac_file
95256 mv $tmp/config.h $ac_file
95258 else
95259 cat $tmp/config.h
95260 rm -f $tmp/config.h
95262 # Compute $ac_file's index in $config_headers.
95263 _am_stamp_count=1
95264 for _am_header in $config_headers :; do
95265 case $_am_header in
95266 $ac_file | $ac_file:* )
95267 break ;;
95269 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
95270 esac
95271 done
95272 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
95273 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95274 X$ac_file : 'X\(//\)[^/]' \| \
95275 X$ac_file : 'X\(//\)$' \| \
95276 X$ac_file : 'X\(/\)' \| \
95277 . : '\(.\)' 2>/dev/null ||
95278 echo X$ac_file |
95279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95280 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95281 /^X\(\/\/\)$/{ s//\1/; q; }
95282 /^X\(\/\).*/{ s//\1/; q; }
95283 s/.*/./; q'`/stamp-h$_am_stamp_count
95284 done
95285 _ACEOF
95286 cat >>$CONFIG_STATUS <<\_ACEOF
95289 # CONFIG_COMMANDS section.
95291 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
95292 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
95293 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
95294 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
95295 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95296 X"$ac_dest" : 'X\(//\)[^/]' \| \
95297 X"$ac_dest" : 'X\(//\)$' \| \
95298 X"$ac_dest" : 'X\(/\)' \| \
95299 . : '\(.\)' 2>/dev/null ||
95300 echo X"$ac_dest" |
95301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95302 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95303 /^X\(\/\/\)$/{ s//\1/; q; }
95304 /^X\(\/\).*/{ s//\1/; q; }
95305 s/.*/./; q'`
95306 { if $as_mkdir_p; then
95307 mkdir -p "$ac_dir"
95308 else
95309 as_dir="$ac_dir"
95310 as_dirs=
95311 while test ! -d "$as_dir"; do
95312 as_dirs="$as_dir $as_dirs"
95313 as_dir=`(dirname "$as_dir") 2>/dev/null ||
95314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95315 X"$as_dir" : 'X\(//\)[^/]' \| \
95316 X"$as_dir" : 'X\(//\)$' \| \
95317 X"$as_dir" : 'X\(/\)' \| \
95318 . : '\(.\)' 2>/dev/null ||
95319 echo X"$as_dir" |
95320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95321 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95322 /^X\(\/\/\)$/{ s//\1/; q; }
95323 /^X\(\/\).*/{ s//\1/; q; }
95324 s/.*/./; q'`
95325 done
95326 test ! -n "$as_dirs" || mkdir $as_dirs
95327 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
95328 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
95329 { (exit 1); exit 1; }; }; }
95331 ac_builddir=.
95333 if test "$ac_dir" != .; then
95334 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
95335 # A "../" for each directory in $ac_dir_suffix.
95336 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
95337 else
95338 ac_dir_suffix= ac_top_builddir=
95341 case $srcdir in
95342 .) # No --srcdir option. We are building in place.
95343 ac_srcdir=.
95344 if test -z "$ac_top_builddir"; then
95345 ac_top_srcdir=.
95346 else
95347 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
95348 fi ;;
95349 [\\/]* | ?:[\\/]* ) # Absolute path.
95350 ac_srcdir=$srcdir$ac_dir_suffix;
95351 ac_top_srcdir=$srcdir ;;
95352 *) # Relative path.
95353 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
95354 ac_top_srcdir=$ac_top_builddir$srcdir ;;
95355 esac
95357 # Do not use `cd foo && pwd` to compute absolute paths, because
95358 # the directories may not exist.
95359 case `pwd` in
95360 .) ac_abs_builddir="$ac_dir";;
95362 case "$ac_dir" in
95363 .) ac_abs_builddir=`pwd`;;
95364 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
95365 *) ac_abs_builddir=`pwd`/"$ac_dir";;
95366 esac;;
95367 esac
95368 case $ac_abs_builddir in
95369 .) ac_abs_top_builddir=${ac_top_builddir}.;;
95371 case ${ac_top_builddir}. in
95372 .) ac_abs_top_builddir=$ac_abs_builddir;;
95373 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
95374 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
95375 esac;;
95376 esac
95377 case $ac_abs_builddir in
95378 .) ac_abs_srcdir=$ac_srcdir;;
95380 case $ac_srcdir in
95381 .) ac_abs_srcdir=$ac_abs_builddir;;
95382 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
95383 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
95384 esac;;
95385 esac
95386 case $ac_abs_builddir in
95387 .) ac_abs_top_srcdir=$ac_top_srcdir;;
95389 case $ac_top_srcdir in
95390 .) ac_abs_top_srcdir=$ac_abs_builddir;;
95391 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
95392 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
95393 esac;;
95394 esac
95397 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
95398 echo "$as_me: executing $ac_dest commands" >&6;}
95399 case $ac_dest in
95400 default-1 )
95401 # Only add multilib support code if we just rebuilt the top-level
95402 # Makefile.
95403 case " $CONFIG_FILES " in
95404 *" Makefile "*)
95405 ac_file=Makefile . ${multi_basedir}/config-ml.in
95407 esac ;;
95408 libtool )
95410 # See if we are running on zsh, and set the options which allow our
95411 # commands through without removal of \ escapes.
95412 if test -n "${ZSH_VERSION+set}" ; then
95413 setopt NO_GLOB_SUBST
95416 cfgfile="${ofile}T"
95417 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
95418 $RM "$cfgfile"
95420 cat <<_LT_EOF >> "$cfgfile"
95421 #! $SHELL
95423 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
95424 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
95425 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
95426 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
95428 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
95429 # 2006, 2007 Free Software Foundation, Inc.
95431 # This file is part of GNU Libtool:
95432 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
95434 # This program is free software; you can redistribute it and/or modify
95435 # it under the terms of the GNU General Public License as published by
95436 # the Free Software Foundation; either version 2 of the License, or
95437 # (at your option) any later version.
95439 # This program is distributed in the hope that it will be useful, but
95440 # WITHOUT ANY WARRANTY; without even the implied warranty of
95441 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
95442 # General Public License for more details.
95444 # You should have received a copy of the GNU General Public License
95445 # along with this program; if not, a copy can be downloaded from
95446 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
95447 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
95448 # MA 02110-1301, USA.
95450 # As a special exception to the GNU General Public License, if you
95451 # distribute this file as part of a program that contains a
95452 # configuration script generated by Autoconf, you may include it under
95453 # the same distribution terms that you use for the rest of that program.
95456 # The names of the tagged configurations supported by this script.
95457 available_tags="CXX "
95459 # ### BEGIN LIBTOOL CONFIG
95461 # Which release of libtool.m4 was used?
95462 macro_version=$macro_version
95463 macro_revision=$macro_revision
95465 # Whether or not to build shared libraries.
95466 build_libtool_libs=$enable_shared
95468 # Whether or not to build static libraries.
95469 build_old_libs=$enable_static
95471 # What type of objects to build.
95472 pic_mode=$pic_mode
95474 # Whether or not to optimize for fast installation.
95475 fast_install=$enable_fast_install
95477 # The host system.
95478 host_alias=$host_alias
95479 host=$host
95480 host_os=$host_os
95482 # The build system.
95483 build_alias=$build_alias
95484 build=$build
95485 build_os=$build_os
95487 # A sed program that does not truncate output.
95488 SED=$lt_SED
95490 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
95491 Xsed="\$SED -e 1s/^X//"
95493 # A grep program that handles long lines.
95494 GREP=$lt_GREP
95496 # An ERE matcher.
95497 EGREP=$lt_EGREP
95499 # A literal string matcher.
95500 FGREP=$lt_FGREP
95502 # A BSD- or MS-compatible name lister.
95503 NM=$lt_NM
95505 # Whether we need soft or hard links.
95506 LN_S=$lt_LN_S
95508 # What is the maximum length of a command?
95509 max_cmd_len=$max_cmd_len
95511 # Object file suffix (normally "o").
95512 objext=$ac_objext
95514 # Executable file suffix (normally "").
95515 exeext=$exeext
95517 # whether the shell understands "unset".
95518 lt_unset=$lt_unset
95520 # turn spaces into newlines.
95521 SP2NL=$lt_lt_SP2NL
95523 # turn newlines into spaces.
95524 NL2SP=$lt_lt_NL2SP
95526 # How to create reloadable object files.
95527 reload_flag=$lt_reload_flag
95528 reload_cmds=$lt_reload_cmds
95530 # Method to check whether dependent libraries are shared objects.
95531 deplibs_check_method=$lt_deplibs_check_method
95533 # Command to use when deplibs_check_method == "file_magic".
95534 file_magic_cmd=$lt_file_magic_cmd
95536 # The archiver.
95537 AR=$lt_AR
95538 AR_FLAGS=$lt_AR_FLAGS
95540 # A symbol stripping program.
95541 STRIP=$lt_STRIP
95543 # Commands used to install an old-style archive.
95544 RANLIB=$lt_RANLIB
95545 old_postinstall_cmds=$lt_old_postinstall_cmds
95546 old_postuninstall_cmds=$lt_old_postuninstall_cmds
95548 # A C compiler.
95549 LTCC=$lt_CC
95551 # LTCC compiler flags.
95552 LTCFLAGS=$lt_CFLAGS
95554 # Take the output of nm and produce a listing of raw symbols and C names.
95555 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
95557 # Transform the output of nm in a proper C declaration.
95558 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
95560 # Transform the output of nm in a C name address pair.
95561 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
95563 # The name of the directory that contains temporary libtool files.
95564 objdir=$objdir
95566 # Shell to use when invoking shell scripts.
95567 SHELL=$lt_SHELL
95569 # An echo program that does not interpret backslashes.
95570 ECHO=$lt_ECHO
95572 # Used to examine libraries when file_magic_cmd begins with "file".
95573 MAGIC_CMD=$MAGIC_CMD
95575 # Must we lock files when doing compilation?
95576 need_locks=$lt_need_locks
95578 # Old archive suffix (normally "a").
95579 libext=$libext
95581 # Shared library suffix (normally ".so").
95582 shrext_cmds=$lt_shrext_cmds
95584 # The commands to extract the exported symbol list from a shared archive.
95585 extract_expsyms_cmds=$lt_extract_expsyms_cmds
95587 # Variables whose values should be saved in libtool wrapper scripts and
95588 # restored at link time.
95589 variables_saved_for_relink=$lt_variables_saved_for_relink
95591 # Do we need the "lib" prefix for modules?
95592 need_lib_prefix=$need_lib_prefix
95594 # Do we need a version for libraries?
95595 need_version=$need_version
95597 # Library versioning type.
95598 version_type=$version_type
95600 # Shared library runtime path variable.
95601 runpath_var=$runpath_var
95603 # Shared library path variable.
95604 shlibpath_var=$shlibpath_var
95606 # Is shlibpath searched before the hard-coded library search path?
95607 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
95609 # Format of library name prefix.
95610 libname_spec=$lt_libname_spec
95612 # List of archive names. First name is the real one, the rest are links.
95613 # The last name is the one that the linker finds with -lNAME
95614 library_names_spec=$lt_library_names_spec
95616 # The coded name of the library, if different from the real name.
95617 soname_spec=$lt_soname_spec
95619 # Command to use after installation of a shared archive.
95620 postinstall_cmds=$lt_postinstall_cmds
95622 # Command to use after uninstallation of a shared archive.
95623 postuninstall_cmds=$lt_postuninstall_cmds
95625 # Commands used to finish a libtool library installation in a directory.
95626 finish_cmds=$lt_finish_cmds
95628 # As "finish_cmds", except a single script fragment to be evaled but
95629 # not shown.
95630 finish_eval=$lt_finish_eval
95632 # Whether we should hardcode library paths into libraries.
95633 hardcode_into_libs=$hardcode_into_libs
95635 # Compile-time system search path for libraries.
95636 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
95638 # Run-time system search path for libraries.
95639 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
95641 # Whether dlopen is supported.
95642 dlopen_support=$enable_dlopen
95644 # Whether dlopen of programs is supported.
95645 dlopen_self=$enable_dlopen_self
95647 # Whether dlopen of statically linked programs is supported.
95648 dlopen_self_static=$enable_dlopen_self_static
95650 # Commands to strip libraries.
95651 old_striplib=$lt_old_striplib
95652 striplib=$lt_striplib
95655 # The linker used to build libraries.
95656 LD=$lt_LD
95658 # Commands used to build an old-style archive.
95659 old_archive_cmds=$lt_old_archive_cmds
95661 # A language specific compiler.
95662 CC=$lt_compiler
95664 # Is the compiler the GNU compiler?
95665 with_gcc=$GCC
95667 # Compiler flag to turn off builtin functions.
95668 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
95670 # How to pass a linker flag through the compiler.
95671 wl=$lt_lt_prog_compiler_wl
95673 # Additional compiler flags for building library objects.
95674 pic_flag=$lt_lt_prog_compiler_pic
95676 # Compiler flag to prevent dynamic linking.
95677 link_static_flag=$lt_lt_prog_compiler_static
95679 # Does compiler simultaneously support -c and -o options?
95680 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
95682 # Whether or not to add -lc for building shared libraries.
95683 build_libtool_need_lc=$archive_cmds_need_lc
95685 # Whether or not to disallow shared libs when runtime libs are static.
95686 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
95688 # Compiler flag to allow reflexive dlopens.
95689 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
95691 # Compiler flag to generate shared objects directly from archives.
95692 whole_archive_flag_spec=$lt_whole_archive_flag_spec
95694 # Whether the compiler copes with passing no objects directly.
95695 compiler_needs_object=$lt_compiler_needs_object
95697 # Create an old-style archive from a shared archive.
95698 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
95700 # Create a temporary old-style archive to link instead of a shared archive.
95701 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
95703 # Commands used to build a shared archive.
95704 archive_cmds=$lt_archive_cmds
95705 archive_expsym_cmds=$lt_archive_expsym_cmds
95707 # Commands used to build a loadable module if different from building
95708 # a shared archive.
95709 module_cmds=$lt_module_cmds
95710 module_expsym_cmds=$lt_module_expsym_cmds
95712 # Whether we are building with GNU ld or not.
95713 with_gnu_ld=$lt_with_gnu_ld
95715 # Flag that allows shared libraries with undefined symbols to be built.
95716 allow_undefined_flag=$lt_allow_undefined_flag
95718 # Flag that enforces no undefined symbols.
95719 no_undefined_flag=$lt_no_undefined_flag
95721 # Flag to hardcode \$libdir into a binary during linking.
95722 # This must work even if \$libdir does not exist
95723 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
95725 # If ld is used when linking, flag to hardcode \$libdir into a binary
95726 # during linking. This must work even if \$libdir does not exist.
95727 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
95729 # Whether we need a single "-rpath" flag with a separated argument.
95730 hardcode_libdir_separator=$lt_hardcode_libdir_separator
95732 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
95733 # DIR into the resulting binary.
95734 hardcode_direct=$hardcode_direct
95736 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
95737 # DIR into the resulting binary and the resulting library dependency is
95738 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
95739 # library is relocated.
95740 hardcode_direct_absolute=$hardcode_direct_absolute
95742 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
95743 # into the resulting binary.
95744 hardcode_minus_L=$hardcode_minus_L
95746 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
95747 # into the resulting binary.
95748 hardcode_shlibpath_var=$hardcode_shlibpath_var
95750 # Set to "yes" if building a shared library automatically hardcodes DIR
95751 # into the library and all subsequent libraries and executables linked
95752 # against it.
95753 hardcode_automatic=$hardcode_automatic
95755 # Set to yes if linker adds runtime paths of dependent libraries
95756 # to runtime path list.
95757 inherit_rpath=$inherit_rpath
95759 # Whether libtool must link a program against all its dependency libraries.
95760 link_all_deplibs=$link_all_deplibs
95762 # Fix the shell variable \$srcfile for the compiler.
95763 fix_srcfile_path=$lt_fix_srcfile_path
95765 # Set to "yes" if exported symbols are required.
95766 always_export_symbols=$always_export_symbols
95768 # The commands to list exported symbols.
95769 export_symbols_cmds=$lt_export_symbols_cmds
95771 # Symbols that should not be listed in the preloaded symbols.
95772 exclude_expsyms=$lt_exclude_expsyms
95774 # Symbols that must always be exported.
95775 include_expsyms=$lt_include_expsyms
95777 # Commands necessary for linking programs (against libraries) with templates.
95778 prelink_cmds=$lt_prelink_cmds
95780 # Specify filename containing input files.
95781 file_list_spec=$lt_file_list_spec
95783 # How to hardcode a shared library path into an executable.
95784 hardcode_action=$hardcode_action
95786 # Dependencies to place before and after the objects being linked to
95787 # create a shared library.
95788 predep_objects=$lt_predep_objects
95789 postdep_objects=$lt_postdep_objects
95790 predeps=$lt_predeps
95791 postdeps=$lt_postdeps
95793 # The library search path used internally by the compiler when linking
95794 # a shared library.
95795 compiler_lib_search_path=$lt_compiler_lib_search_path
95797 # ### END LIBTOOL CONFIG
95799 _LT_EOF
95801 case $host_os in
95802 aix3*)
95803 cat <<\_LT_EOF >> "$cfgfile"
95804 # AIX sometimes has problems with the GCC collect2 program. For some
95805 # reason, if we set the COLLECT_NAMES environment variable, the problems
95806 # vanish in a puff of smoke.
95807 if test "X${COLLECT_NAMES+set}" != Xset; then
95808 COLLECT_NAMES=
95809 export COLLECT_NAMES
95811 _LT_EOF
95813 esac
95816 ltmain="$ac_aux_dir/ltmain.sh"
95819 # We use sed instead of cat because bash on DJGPP gets confused if
95820 # if finds mixed CR/LF and LF-only lines. Since sed operates in
95821 # text mode, it properly converts lines to CR/LF. This bash problem
95822 # is reportedly fixed, but why not run on old versions too?
95823 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
95824 || (rm -f "$cfgfile"; exit 1)
95826 case $xsi_shell in
95827 yes)
95828 cat << \_LT_EOF >> "$cfgfile"
95829 # func_dirname file append nondir_replacement
95830 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
95831 # otherwise set result to NONDIR_REPLACEMENT.
95832 func_dirname ()
95834 case ${1} in
95835 */*) func_dirname_result="${1%/*}${2}" ;;
95836 * ) func_dirname_result="${3}" ;;
95837 esac
95840 # func_basename file
95841 func_basename ()
95843 func_basename_result="${1##*/}"
95846 # func_stripname prefix suffix name
95847 # strip PREFIX and SUFFIX off of NAME.
95848 # PREFIX and SUFFIX must not contain globbing or regex special
95849 # characters, hashes, percent signs, but SUFFIX may contain a leading
95850 # dot (in which case that matches only a dot).
95851 func_stripname ()
95853 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
95854 # positional parameters, so assign one to ordinary parameter first.
95855 func_stripname_result=${3}
95856 func_stripname_result=${func_stripname_result#"${1}"}
95857 func_stripname_result=${func_stripname_result%"${2}"}
95860 # func_opt_split
95861 func_opt_split ()
95863 func_opt_split_opt=${1%%=*}
95864 func_opt_split_arg=${1#*=}
95867 # func_lo2o object
95868 func_lo2o ()
95870 case ${1} in
95871 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
95872 *) func_lo2o_result=${1} ;;
95873 esac
95875 _LT_EOF
95877 *) # Bourne compatible functions.
95878 cat << \_LT_EOF >> "$cfgfile"
95879 # func_dirname file append nondir_replacement
95880 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
95881 # otherwise set result to NONDIR_REPLACEMENT.
95882 func_dirname ()
95884 # Extract subdirectory from the argument.
95885 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
95886 if test "X$func_dirname_result" = "X${1}"; then
95887 func_dirname_result="${3}"
95888 else
95889 func_dirname_result="$func_dirname_result${2}"
95893 # func_basename file
95894 func_basename ()
95896 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
95899 # func_stripname prefix suffix name
95900 # strip PREFIX and SUFFIX off of NAME.
95901 # PREFIX and SUFFIX must not contain globbing or regex special
95902 # characters, hashes, percent signs, but SUFFIX may contain a leading
95903 # dot (in which case that matches only a dot).
95904 # func_strip_suffix prefix name
95905 func_stripname ()
95907 case ${2} in
95908 .*) func_stripname_result=`$ECHO "X${3}" \
95909 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
95910 *) func_stripname_result=`$ECHO "X${3}" \
95911 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
95912 esac
95915 # sed scripts:
95916 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
95917 my_sed_long_arg='1s/^-[^=]*=//'
95919 # func_opt_split
95920 func_opt_split ()
95922 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
95923 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
95926 # func_lo2o object
95927 func_lo2o ()
95929 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
95931 _LT_EOF
95932 esac
95934 case $lt_shell_append in
95935 yes)
95936 cat << \_LT_EOF >> "$cfgfile"
95938 # func_append var value
95939 # Append VALUE to the end of shell variable VAR.
95940 func_append ()
95942 eval "$1+=\$2"
95944 _LT_EOF
95947 cat << \_LT_EOF >> "$cfgfile"
95949 # func_append var value
95950 # Append VALUE to the end of shell variable VAR.
95951 func_append ()
95953 eval "$1=\$$1\$2"
95955 _LT_EOF
95957 esac
95960 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
95961 || (rm -f "$cfgfile"; exit 1)
95963 mv -f "$cfgfile" "$ofile" ||
95964 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
95965 chmod +x "$ofile"
95968 cat <<_LT_EOF >> "$ofile"
95970 # ### BEGIN LIBTOOL TAG CONFIG: CXX
95972 # The linker used to build libraries.
95973 LD=$lt_LD_CXX
95975 # Commands used to build an old-style archive.
95976 old_archive_cmds=$lt_old_archive_cmds_CXX
95978 # A language specific compiler.
95979 CC=$lt_compiler_CXX
95981 # Is the compiler the GNU compiler?
95982 with_gcc=$GCC_CXX
95984 # Compiler flag to turn off builtin functions.
95985 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
95987 # How to pass a linker flag through the compiler.
95988 wl=$lt_lt_prog_compiler_wl_CXX
95990 # Additional compiler flags for building library objects.
95991 pic_flag=$lt_lt_prog_compiler_pic_CXX
95993 # Compiler flag to prevent dynamic linking.
95994 link_static_flag=$lt_lt_prog_compiler_static_CXX
95996 # Does compiler simultaneously support -c and -o options?
95997 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
95999 # Whether or not to add -lc for building shared libraries.
96000 build_libtool_need_lc=$archive_cmds_need_lc_CXX
96002 # Whether or not to disallow shared libs when runtime libs are static.
96003 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
96005 # Compiler flag to allow reflexive dlopens.
96006 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
96008 # Compiler flag to generate shared objects directly from archives.
96009 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
96011 # Whether the compiler copes with passing no objects directly.
96012 compiler_needs_object=$lt_compiler_needs_object_CXX
96014 # Create an old-style archive from a shared archive.
96015 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
96017 # Create a temporary old-style archive to link instead of a shared archive.
96018 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
96020 # Commands used to build a shared archive.
96021 archive_cmds=$lt_archive_cmds_CXX
96022 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
96024 # Commands used to build a loadable module if different from building
96025 # a shared archive.
96026 module_cmds=$lt_module_cmds_CXX
96027 module_expsym_cmds=$lt_module_expsym_cmds_CXX
96029 # Whether we are building with GNU ld or not.
96030 with_gnu_ld=$lt_with_gnu_ld_CXX
96032 # Flag that allows shared libraries with undefined symbols to be built.
96033 allow_undefined_flag=$lt_allow_undefined_flag_CXX
96035 # Flag that enforces no undefined symbols.
96036 no_undefined_flag=$lt_no_undefined_flag_CXX
96038 # Flag to hardcode \$libdir into a binary during linking.
96039 # This must work even if \$libdir does not exist
96040 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
96042 # If ld is used when linking, flag to hardcode \$libdir into a binary
96043 # during linking. This must work even if \$libdir does not exist.
96044 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
96046 # Whether we need a single "-rpath" flag with a separated argument.
96047 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
96049 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
96050 # DIR into the resulting binary.
96051 hardcode_direct=$hardcode_direct_CXX
96053 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
96054 # DIR into the resulting binary and the resulting library dependency is
96055 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
96056 # library is relocated.
96057 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
96059 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
96060 # into the resulting binary.
96061 hardcode_minus_L=$hardcode_minus_L_CXX
96063 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
96064 # into the resulting binary.
96065 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
96067 # Set to "yes" if building a shared library automatically hardcodes DIR
96068 # into the library and all subsequent libraries and executables linked
96069 # against it.
96070 hardcode_automatic=$hardcode_automatic_CXX
96072 # Set to yes if linker adds runtime paths of dependent libraries
96073 # to runtime path list.
96074 inherit_rpath=$inherit_rpath_CXX
96076 # Whether libtool must link a program against all its dependency libraries.
96077 link_all_deplibs=$link_all_deplibs_CXX
96079 # Fix the shell variable \$srcfile for the compiler.
96080 fix_srcfile_path=$lt_fix_srcfile_path_CXX
96082 # Set to "yes" if exported symbols are required.
96083 always_export_symbols=$always_export_symbols_CXX
96085 # The commands to list exported symbols.
96086 export_symbols_cmds=$lt_export_symbols_cmds_CXX
96088 # Symbols that should not be listed in the preloaded symbols.
96089 exclude_expsyms=$lt_exclude_expsyms_CXX
96091 # Symbols that must always be exported.
96092 include_expsyms=$lt_include_expsyms_CXX
96094 # Commands necessary for linking programs (against libraries) with templates.
96095 prelink_cmds=$lt_prelink_cmds_CXX
96097 # Specify filename containing input files.
96098 file_list_spec=$lt_file_list_spec_CXX
96100 # How to hardcode a shared library path into an executable.
96101 hardcode_action=$hardcode_action_CXX
96103 # Dependencies to place before and after the objects being linked to
96104 # create a shared library.
96105 predep_objects=$lt_predep_objects_CXX
96106 postdep_objects=$lt_postdep_objects_CXX
96107 predeps=$lt_predeps_CXX
96108 postdeps=$lt_postdeps_CXX
96110 # The library search path used internally by the compiler when linking
96111 # a shared library.
96112 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
96114 # ### END LIBTOOL TAG CONFIG: CXX
96115 _LT_EOF
96118 default ) if test -n "$CONFIG_FILES"; then
96119 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
96120 # that multilib installs will end up installed in the correct place.
96121 # The testsuite needs it for multilib-aware ABI baseline files.
96122 # To work around this not being passed down from config-ml.in ->
96123 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
96124 # append it here. Only modify Makefiles that have just been created.
96126 # Also, get rid of this simulated-VPATH thing that automake does.
96127 cat > vpsed << \_EOF
96128 s!`test -f '$<' || echo '$(srcdir)/'`!!
96129 _EOF
96130 for i in $SUBDIRS; do
96131 case $CONFIG_FILES in
96132 *${i}/Makefile*)
96133 #echo "Adding MULTISUBDIR to $i/Makefile"
96134 sed -f vpsed $i/Makefile > tmp
96135 grep '^MULTISUBDIR =' Makefile >> tmp
96136 mv tmp $i/Makefile
96138 esac
96139 done
96140 rm vpsed
96142 (cd include && ${MAKE-make})
96144 esac
96145 done
96146 _ACEOF
96148 cat >>$CONFIG_STATUS <<\_ACEOF
96150 { (exit 0); exit 0; }
96151 _ACEOF
96152 chmod +x $CONFIG_STATUS
96153 ac_clean_files=$ac_clean_files_save
96156 # configure is writing to config.log, and then calls config.status.
96157 # config.status does its own redirection, appending to config.log.
96158 # Unfortunately, on DOS this fails, as config.log is still kept open
96159 # by configure, so config.status won't be able to write to it; its
96160 # output is simply discarded. So we exec the FD to /dev/null,
96161 # effectively closing config.log, so it can be properly (re)opened and
96162 # appended to by config.status. When coming back to configure, we
96163 # need to make the FD available again.
96164 if test "$no_create" != yes; then
96165 ac_cs_success=:
96166 ac_config_status_args=
96167 test "$silent" = yes &&
96168 ac_config_status_args="$ac_config_status_args --quiet"
96169 exec 5>/dev/null
96170 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
96171 exec 5>>config.log
96172 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
96173 # would make configure fail if this is the last instruction.
96174 $ac_cs_success || { (exit 1); exit 1; }