revert: re PR target/32313 (Bootstrap failure running gengtype in stage 2.)
[official-gcc.git] / libstdc++-v3 / configure
blob2085f5ac349a0dc4262e4d877d352d6227e117a1
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 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4749 if test -n $lt_cv_sys_max_cmd_len; then
4750 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4751 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4752 else
4753 # Make teststring a little bigger before we do anything with it.
4754 # a 1K string should be a reasonable start.
4755 for i in 1 2 3 4 5 6 7 8 ; do
4756 teststring=$teststring$teststring
4757 done
4758 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4759 # If test is not a shell built-in, we'll probably end up computing a
4760 # maximum length that is only half of the actual maximum length, but
4761 # we can't tell.
4762 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4763 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4764 test $i != 17 # 1/2 MB should be enough
4766 i=`expr $i + 1`
4767 teststring=$teststring$teststring
4768 done
4769 # Only check the string length outside the loop.
4770 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4771 teststring=
4772 # Add a significant safety factor because C++ compilers can tack on
4773 # massive amounts of additional arguments before passing them to the
4774 # linker. It appears as though 1/2 is a usable value.
4775 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4778 esac
4782 if test -n $lt_cv_sys_max_cmd_len ; then
4783 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4784 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4785 else
4786 echo "$as_me:$LINENO: result: none" >&5
4787 echo "${ECHO_T}none" >&6
4789 max_cmd_len=$lt_cv_sys_max_cmd_len
4797 : ${CP="cp -f"}
4798 : ${MV="mv -f"}
4799 : ${RM="rm -f"}
4801 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4802 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4803 # Try some XSI features
4804 xsi_shell=no
4805 ( _lt_dummy="a/b/c"
4806 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4807 = c,a/b,, ) >/dev/null 2>&1 \
4808 && xsi_shell=yes
4809 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4810 echo "${ECHO_T}$xsi_shell" >&6
4813 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4814 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4815 lt_shell_append=no
4816 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4817 >/dev/null 2>&1 \
4818 && lt_shell_append=yes
4819 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4820 echo "${ECHO_T}$lt_shell_append" >&6
4823 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4824 lt_unset=unset
4825 else
4826 lt_unset=false
4833 # test EBCDIC or ASCII
4834 case `echo X|tr X '\101'` in
4835 A) # ASCII based system
4836 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4837 lt_SP2NL='tr \040 \012'
4838 lt_NL2SP='tr \015\012 \040\040'
4840 *) # EBCDIC based system
4841 lt_SP2NL='tr \100 \n'
4842 lt_NL2SP='tr \r\n \100\100'
4844 esac
4854 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4855 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4856 if test "${lt_cv_ld_reload_flag+set}" = set; then
4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4858 else
4859 lt_cv_ld_reload_flag='-r'
4861 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4862 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4863 reload_flag=$lt_cv_ld_reload_flag
4864 case $reload_flag in
4865 "" | " "*) ;;
4866 *) reload_flag=" $reload_flag" ;;
4867 esac
4868 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4869 case $host_os in
4870 darwin*)
4871 if test "$GCC" = yes; then
4872 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4873 else
4874 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4877 esac
4888 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4889 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4890 if test "${lt_cv_deplibs_check_method+set}" = set; then
4891 echo $ECHO_N "(cached) $ECHO_C" >&6
4892 else
4893 lt_cv_file_magic_cmd='$MAGIC_CMD'
4894 lt_cv_file_magic_test_file=
4895 lt_cv_deplibs_check_method='unknown'
4896 # Need to set the preceding variable on all platforms that support
4897 # interlibrary dependencies.
4898 # 'none' -- dependencies not supported.
4899 # `unknown' -- same as none, but documents that we really don't know.
4900 # 'pass_all' -- all dependencies passed with no checks.
4901 # 'test_compile' -- check by making test program.
4902 # 'file_magic [[regex]]' -- check by looking for files in library path
4903 # which responds to the $file_magic_cmd with a given extended regex.
4904 # If you have `file' or equivalent on your system and you're not sure
4905 # whether `pass_all' will *always* work, you probably want this one.
4907 case $host_os in
4908 aix4* | aix5*)
4909 lt_cv_deplibs_check_method=pass_all
4912 beos*)
4913 lt_cv_deplibs_check_method=pass_all
4916 bsdi[45]*)
4917 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4918 lt_cv_file_magic_cmd='/usr/bin/file -L'
4919 lt_cv_file_magic_test_file=/shlib/libc.so
4922 cygwin*)
4923 # func_win32_libid is a shell function defined in ltmain.sh
4924 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4925 lt_cv_file_magic_cmd='func_win32_libid'
4928 mingw* | pw32*)
4929 # Base MSYS/MinGW do not provide the 'file' command needed by
4930 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4931 # unless we find 'file', for example because we are cross-compiling.
4932 if ( file / ) >/dev/null 2>&1; then
4933 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4934 lt_cv_file_magic_cmd='func_win32_libid'
4935 else
4936 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4937 lt_cv_file_magic_cmd='$OBJDUMP -f'
4941 darwin* | rhapsody*)
4942 lt_cv_deplibs_check_method=pass_all
4945 freebsd* | dragonfly*)
4946 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4947 case $host_cpu in
4948 i*86 )
4949 # Not sure whether the presence of OpenBSD here was a mistake.
4950 # Let's accept both of them until this is cleared up.
4951 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4952 lt_cv_file_magic_cmd=/usr/bin/file
4953 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4955 esac
4956 else
4957 lt_cv_deplibs_check_method=pass_all
4961 gnu*)
4962 lt_cv_deplibs_check_method=pass_all
4965 hpux10.20* | hpux11*)
4966 lt_cv_file_magic_cmd=/usr/bin/file
4967 case $host_cpu in
4968 ia64*)
4969 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4970 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4972 hppa*64*)
4973 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4974 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4977 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4978 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4980 esac
4983 interix[3-9]*)
4984 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4985 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4988 irix5* | irix6* | nonstopux*)
4989 case $LD in
4990 *-32|*"-32 ") libmagic=32-bit;;
4991 *-n32|*"-n32 ") libmagic=N32;;
4992 *-64|*"-64 ") libmagic=64-bit;;
4993 *) libmagic=never-match;;
4994 esac
4995 lt_cv_deplibs_check_method=pass_all
4998 # This must be Linux ELF.
4999 linux* | k*bsd*-gnu)
5000 lt_cv_deplibs_check_method=pass_all
5003 netbsd*)
5004 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5005 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5006 else
5007 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5011 newos6*)
5012 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5013 lt_cv_file_magic_cmd=/usr/bin/file
5014 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5017 *nto* | *qnx*)
5018 lt_cv_deplibs_check_method=pass_all
5021 openbsd*)
5022 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5023 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5024 else
5025 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5029 osf3* | osf4* | osf5*)
5030 lt_cv_deplibs_check_method=pass_all
5033 rdos*)
5034 lt_cv_deplibs_check_method=pass_all
5037 solaris*)
5038 lt_cv_deplibs_check_method=pass_all
5041 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5042 lt_cv_deplibs_check_method=pass_all
5045 sysv4 | sysv4.3*)
5046 case $host_vendor in
5047 motorola)
5048 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5049 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5051 ncr)
5052 lt_cv_deplibs_check_method=pass_all
5054 sequent)
5055 lt_cv_file_magic_cmd='/bin/file'
5056 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5058 sni)
5059 lt_cv_file_magic_cmd='/bin/file'
5060 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5061 lt_cv_file_magic_test_file=/lib/libc.so
5063 siemens)
5064 lt_cv_deplibs_check_method=pass_all
5067 lt_cv_deplibs_check_method=pass_all
5069 esac
5072 tpf*)
5073 lt_cv_deplibs_check_method=pass_all
5075 esac
5078 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5079 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5080 file_magic_cmd=$lt_cv_file_magic_cmd
5081 deplibs_check_method=$lt_cv_deplibs_check_method
5082 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5095 if test -n "$ac_tool_prefix"; then
5096 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5097 set dummy ${ac_tool_prefix}ar; ac_word=$2
5098 echo "$as_me:$LINENO: checking for $ac_word" >&5
5099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5100 if test "${ac_cv_prog_AR+set}" = set; then
5101 echo $ECHO_N "(cached) $ECHO_C" >&6
5102 else
5103 if test -n "$AR"; then
5104 ac_cv_prog_AR="$AR" # Let the user override the test.
5105 else
5106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5107 for as_dir in $PATH
5109 IFS=$as_save_IFS
5110 test -z "$as_dir" && as_dir=.
5111 for ac_exec_ext in '' $ac_executable_extensions; do
5112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5113 ac_cv_prog_AR="${ac_tool_prefix}ar"
5114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5115 break 2
5117 done
5118 done
5122 AR=$ac_cv_prog_AR
5123 if test -n "$AR"; then
5124 echo "$as_me:$LINENO: result: $AR" >&5
5125 echo "${ECHO_T}$AR" >&6
5126 else
5127 echo "$as_me:$LINENO: result: no" >&5
5128 echo "${ECHO_T}no" >&6
5132 if test -z "$ac_cv_prog_AR"; then
5133 ac_ct_AR=$AR
5134 # Extract the first word of "ar", so it can be a program name with args.
5135 set dummy ar; ac_word=$2
5136 echo "$as_me:$LINENO: checking for $ac_word" >&5
5137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5138 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5139 echo $ECHO_N "(cached) $ECHO_C" >&6
5140 else
5141 if test -n "$ac_ct_AR"; then
5142 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5143 else
5144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5145 for as_dir in $PATH
5147 IFS=$as_save_IFS
5148 test -z "$as_dir" && as_dir=.
5149 for ac_exec_ext in '' $ac_executable_extensions; do
5150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5151 ac_cv_prog_ac_ct_AR="ar"
5152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 break 2
5155 done
5156 done
5158 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5161 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5162 if test -n "$ac_ct_AR"; then
5163 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5164 echo "${ECHO_T}$ac_ct_AR" >&6
5165 else
5166 echo "$as_me:$LINENO: result: no" >&5
5167 echo "${ECHO_T}no" >&6
5170 AR=$ac_ct_AR
5171 else
5172 AR="$ac_cv_prog_AR"
5175 test -z "$AR" && AR=ar
5176 test -z "$AR_FLAGS" && AR_FLAGS=cru
5188 if test -n "$ac_tool_prefix"; then
5189 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5190 set dummy ${ac_tool_prefix}strip; ac_word=$2
5191 echo "$as_me:$LINENO: checking for $ac_word" >&5
5192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5193 if test "${ac_cv_prog_STRIP+set}" = set; then
5194 echo $ECHO_N "(cached) $ECHO_C" >&6
5195 else
5196 if test -n "$STRIP"; then
5197 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5198 else
5199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5200 for as_dir in $PATH
5202 IFS=$as_save_IFS
5203 test -z "$as_dir" && as_dir=.
5204 for ac_exec_ext in '' $ac_executable_extensions; do
5205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5206 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 break 2
5210 done
5211 done
5215 STRIP=$ac_cv_prog_STRIP
5216 if test -n "$STRIP"; then
5217 echo "$as_me:$LINENO: result: $STRIP" >&5
5218 echo "${ECHO_T}$STRIP" >&6
5219 else
5220 echo "$as_me:$LINENO: result: no" >&5
5221 echo "${ECHO_T}no" >&6
5225 if test -z "$ac_cv_prog_STRIP"; then
5226 ac_ct_STRIP=$STRIP
5227 # Extract the first word of "strip", so it can be a program name with args.
5228 set dummy strip; ac_word=$2
5229 echo "$as_me:$LINENO: checking for $ac_word" >&5
5230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5231 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5232 echo $ECHO_N "(cached) $ECHO_C" >&6
5233 else
5234 if test -n "$ac_ct_STRIP"; then
5235 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5236 else
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 for as_dir in $PATH
5240 IFS=$as_save_IFS
5241 test -z "$as_dir" && as_dir=.
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_ac_ct_STRIP="strip"
5245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 break 2
5248 done
5249 done
5251 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5254 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5255 if test -n "$ac_ct_STRIP"; then
5256 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5257 echo "${ECHO_T}$ac_ct_STRIP" >&6
5258 else
5259 echo "$as_me:$LINENO: result: no" >&5
5260 echo "${ECHO_T}no" >&6
5263 STRIP=$ac_ct_STRIP
5264 else
5265 STRIP="$ac_cv_prog_STRIP"
5268 test -z "$STRIP" && STRIP=:
5275 if test -n "$ac_tool_prefix"; then
5276 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5277 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5278 echo "$as_me:$LINENO: checking for $ac_word" >&5
5279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5280 if test "${ac_cv_prog_RANLIB+set}" = set; then
5281 echo $ECHO_N "(cached) $ECHO_C" >&6
5282 else
5283 if test -n "$RANLIB"; then
5284 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5285 else
5286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 for as_dir in $PATH
5289 IFS=$as_save_IFS
5290 test -z "$as_dir" && as_dir=.
5291 for ac_exec_ext in '' $ac_executable_extensions; do
5292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5293 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5295 break 2
5297 done
5298 done
5302 RANLIB=$ac_cv_prog_RANLIB
5303 if test -n "$RANLIB"; then
5304 echo "$as_me:$LINENO: result: $RANLIB" >&5
5305 echo "${ECHO_T}$RANLIB" >&6
5306 else
5307 echo "$as_me:$LINENO: result: no" >&5
5308 echo "${ECHO_T}no" >&6
5312 if test -z "$ac_cv_prog_RANLIB"; then
5313 ac_ct_RANLIB=$RANLIB
5314 # Extract the first word of "ranlib", so it can be a program name with args.
5315 set dummy ranlib; ac_word=$2
5316 echo "$as_me:$LINENO: checking for $ac_word" >&5
5317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5318 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5319 echo $ECHO_N "(cached) $ECHO_C" >&6
5320 else
5321 if test -n "$ac_ct_RANLIB"; then
5322 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5323 else
5324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5325 for as_dir in $PATH
5327 IFS=$as_save_IFS
5328 test -z "$as_dir" && as_dir=.
5329 for ac_exec_ext in '' $ac_executable_extensions; do
5330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5331 ac_cv_prog_ac_ct_RANLIB="ranlib"
5332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5333 break 2
5335 done
5336 done
5338 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5341 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5342 if test -n "$ac_ct_RANLIB"; then
5343 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5344 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5345 else
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5350 RANLIB=$ac_ct_RANLIB
5351 else
5352 RANLIB="$ac_cv_prog_RANLIB"
5355 test -z "$RANLIB" && RANLIB=:
5362 # Determine commands to create old-style static archives.
5363 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5364 old_postinstall_cmds='chmod 644 $oldlib'
5365 old_postuninstall_cmds=
5367 if test -n "$RANLIB"; then
5368 case $host_os in
5369 openbsd*)
5370 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5373 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5375 esac
5376 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5412 # If no C compiler was specified, use CC.
5413 LTCC=${LTCC-"$CC"}
5415 # If no C compiler flags were specified, use CFLAGS.
5416 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5418 # Allow CC to be a program name with arguments.
5419 compiler=$CC
5422 # Check for command to grab the raw symbol name followed by C symbol from nm.
5423 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5424 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5425 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5426 echo $ECHO_N "(cached) $ECHO_C" >&6
5427 else
5429 # These are sane defaults that work on at least a few old systems.
5430 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5432 # Character class describing NM global symbol codes.
5433 symcode='[BCDEGRST]'
5435 # Regexp to match symbols that can be accessed directly from C.
5436 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5438 # Define system-specific variables.
5439 case $host_os in
5440 aix*)
5441 symcode='[BCDT]'
5443 cygwin* | mingw* | pw32*)
5444 symcode='[ABCDGISTW]'
5446 hpux*)
5447 if test "$host_cpu" = ia64; then
5448 symcode='[ABCDEGRST]'
5451 irix* | nonstopux*)
5452 symcode='[BCDEGRST]'
5454 osf*)
5455 symcode='[BCDEGQRST]'
5457 solaris*)
5458 symcode='[BDRT]'
5460 sco3.2v5*)
5461 symcode='[DT]'
5463 sysv4.2uw2*)
5464 symcode='[DT]'
5466 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5467 symcode='[ABDT]'
5469 sysv4)
5470 symcode='[DFNSTU]'
5472 esac
5474 # If we're using GNU nm, then use its standard symbol codes.
5475 case `$NM -V 2>&1` in
5476 *GNU* | *'with BFD'*)
5477 symcode='[ABCDGIRSTW]' ;;
5478 esac
5480 # Transform an extracted symbol line into a proper C declaration.
5481 # Some systems (esp. on ia64) link data and code symbols differently,
5482 # so use this general approach.
5483 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5485 # Transform an extracted symbol line into symbol name and symbol address
5486 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5488 # Handle CRLF in mingw tool chain
5489 opt_cr=
5490 case $build_os in
5491 mingw*)
5492 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5494 esac
5496 # Try without a prefix underscore, then with it.
5497 for ac_symprfx in "" "_"; do
5499 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5500 symxfrm="\\1 $ac_symprfx\\2 \\2"
5502 # Write the raw and C identifiers.
5503 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5504 # Fake it for dumpbin and say T for any non-static function
5505 # and D for any global variable.
5506 # Also find C++ and __fastcall symbols from MSVC++,
5507 # which start with @ or ?.
5508 lt_cv_sys_global_symbol_pipe="$AWK '"\
5509 " {last_section=section; section=\$ 3};"\
5510 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5511 " \$ 0!~/External *\|/{next};"\
5512 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5513 " {if(hide[section]) next};"\
5514 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5515 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5516 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5517 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5518 " ' prfx=^$ac_symprfx"
5519 else
5520 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5523 # Check to see that the pipe works correctly.
5524 pipe_works=no
5526 rm -f conftest*
5527 cat > conftest.$ac_ext <<_LT_EOF
5528 #ifdef __cplusplus
5529 extern "C" {
5530 #endif
5531 char nm_test_var;
5532 void nm_test_func(void);
5533 void nm_test_func(void){}
5534 #ifdef __cplusplus
5536 #endif
5537 int main(){nm_test_var='a';nm_test_func();return(0);}
5538 _LT_EOF
5540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5541 (eval $ac_compile) 2>&5
5542 ac_status=$?
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); }; then
5545 # Now try to grab the symbols.
5546 nlist=conftest.nm
5547 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5548 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5549 ac_status=$?
5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); } && test -s "$nlist"; then
5552 # Try sorting and uniquifying the output.
5553 if sort "$nlist" | uniq > "$nlist"T; then
5554 mv -f "$nlist"T "$nlist"
5555 else
5556 rm -f "$nlist"T
5559 # Make sure that we snagged all the symbols we need.
5560 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5561 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5562 cat <<_LT_EOF > conftest.$ac_ext
5563 #ifdef __cplusplus
5564 extern "C" {
5565 #endif
5567 _LT_EOF
5568 # Now generate the symbol file.
5569 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5571 cat <<_LT_EOF >> conftest.$ac_ext
5573 /* The mapping between symbol names and symbols. */
5574 const struct {
5575 const char *name;
5576 void *address;
5578 lt__PROGRAM__LTX_preloaded_symbols[] =
5580 { "@PROGRAM@", (void *) 0 },
5581 _LT_EOF
5582 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5583 cat <<\_LT_EOF >> conftest.$ac_ext
5584 {0, (void *) 0}
5587 /* This works around a problem in FreeBSD linker */
5588 #ifdef FREEBSD_WORKAROUND
5589 static const void *lt_preloaded_setup() {
5590 return lt__PROGRAM__LTX_preloaded_symbols;
5592 #endif
5594 #ifdef __cplusplus
5596 #endif
5597 _LT_EOF
5598 # Now try linking the two files.
5599 mv conftest.$ac_objext conftstm.$ac_objext
5600 lt_save_LIBS="$LIBS"
5601 lt_save_CFLAGS="$CFLAGS"
5602 LIBS="conftstm.$ac_objext"
5603 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5605 (eval $ac_link) 2>&5
5606 ac_status=$?
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5609 pipe_works=yes
5611 LIBS="$lt_save_LIBS"
5612 CFLAGS="$lt_save_CFLAGS"
5613 else
5614 echo "cannot find nm_test_func in $nlist" >&5
5616 else
5617 echo "cannot find nm_test_var in $nlist" >&5
5619 else
5620 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5622 else
5623 echo "$progname: failed program was:" >&5
5624 cat conftest.$ac_ext >&5
5626 rm -f conftest* conftst*
5628 # Do not use the global_symbol_pipe unless it works.
5629 if test "$pipe_works" = yes; then
5630 break
5631 else
5632 lt_cv_sys_global_symbol_pipe=
5634 done
5638 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5639 lt_cv_sys_global_symbol_to_cdecl=
5641 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5642 echo "$as_me:$LINENO: result: failed" >&5
5643 echo "${ECHO_T}failed" >&6
5644 else
5645 echo "$as_me:$LINENO: result: ok" >&5
5646 echo "${ECHO_T}ok" >&6
5665 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5666 if test "${enable_libtool_lock+set}" = set; then
5667 enableval="$enable_libtool_lock"
5670 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5672 # Some flags need to be propagated to the compiler or linker for good
5673 # libtool support.
5674 case $host in
5675 ia64-*-hpux*)
5676 # Find out which ABI we are using.
5677 echo 'int i;' > conftest.$ac_ext
5678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5679 (eval $ac_compile) 2>&5
5680 ac_status=$?
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); }; then
5683 case `/usr/bin/file conftest.$ac_objext` in
5684 *ELF-32*)
5685 HPUX_IA64_MODE="32"
5687 *ELF-64*)
5688 HPUX_IA64_MODE="64"
5690 esac
5692 rm -rf conftest*
5694 *-*-irix6*)
5695 # Find out which ABI we are using.
5696 echo '#line 5696 "configure"' > conftest.$ac_ext
5697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5698 (eval $ac_compile) 2>&5
5699 ac_status=$?
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); }; then
5702 if test "$lt_cv_prog_gnu_ld" = yes; then
5703 case `/usr/bin/file conftest.$ac_objext` in
5704 *32-bit*)
5705 LD="${LD-ld} -melf32bsmip"
5707 *N32*)
5708 LD="${LD-ld} -melf32bmipn32"
5710 *64-bit*)
5711 LD="${LD-ld} -melf64bmip"
5713 esac
5714 else
5715 case `/usr/bin/file conftest.$ac_objext` in
5716 *32-bit*)
5717 LD="${LD-ld} -32"
5719 *N32*)
5720 LD="${LD-ld} -n32"
5722 *64-bit*)
5723 LD="${LD-ld} -64"
5725 esac
5728 rm -rf conftest*
5731 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5732 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5733 # Find out which ABI we are using.
5734 echo 'int i;' > conftest.$ac_ext
5735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5736 (eval $ac_compile) 2>&5
5737 ac_status=$?
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); }; then
5740 case `/usr/bin/file conftest.o` in
5741 *32-bit*)
5742 case $host in
5743 x86_64-*kfreebsd*-gnu)
5744 LD="${LD-ld} -m elf_i386_fbsd"
5746 x86_64-*linux*)
5747 LD="${LD-ld} -m elf_i386"
5749 ppc64-*linux*|powerpc64-*linux*)
5750 LD="${LD-ld} -m elf32ppclinux"
5752 s390x-*linux*)
5753 LD="${LD-ld} -m elf_s390"
5755 sparc64-*linux*)
5756 LD="${LD-ld} -m elf32_sparc"
5758 esac
5760 *64-bit*)
5761 case $host in
5762 x86_64-*kfreebsd*-gnu)
5763 LD="${LD-ld} -m elf_x86_64_fbsd"
5765 x86_64-*linux*)
5766 LD="${LD-ld} -m elf_x86_64"
5768 ppc*-*linux*|powerpc*-*linux*)
5769 LD="${LD-ld} -m elf64ppc"
5771 s390*-*linux*|s390*-*tpf*)
5772 LD="${LD-ld} -m elf64_s390"
5774 sparc*-*linux*)
5775 LD="${LD-ld} -m elf64_sparc"
5777 esac
5779 esac
5781 rm -rf conftest*
5784 *-*-sco3.2v5*)
5785 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5786 SAVE_CFLAGS="$CFLAGS"
5787 CFLAGS="$CFLAGS -belf"
5788 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5789 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5790 if test "${lt_cv_cc_needs_belf+set}" = set; then
5791 echo $ECHO_N "(cached) $ECHO_C" >&6
5792 else
5793 ac_ext=c
5794 ac_cpp='$CPP $CPPFLAGS'
5795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5799 if test x$gcc_no_link = xyes; then
5800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5802 { (exit 1); exit 1; }; }
5804 cat >conftest.$ac_ext <<_ACEOF
5805 /* confdefs.h. */
5806 _ACEOF
5807 cat confdefs.h >>conftest.$ac_ext
5808 cat >>conftest.$ac_ext <<_ACEOF
5809 /* end confdefs.h. */
5812 main ()
5816 return 0;
5818 _ACEOF
5819 rm -f conftest.$ac_objext conftest$ac_exeext
5820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5821 (eval $ac_link) 2>conftest.er1
5822 ac_status=$?
5823 grep -v '^ *+' conftest.er1 >conftest.err
5824 rm -f conftest.er1
5825 cat conftest.err >&5
5826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827 (exit $ac_status); } &&
5828 { ac_try='test -z "$ac_c_werror_flag"
5829 || test ! -s conftest.err'
5830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5831 (eval $ac_try) 2>&5
5832 ac_status=$?
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); }; } &&
5835 { ac_try='test -s conftest$ac_exeext'
5836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5837 (eval $ac_try) 2>&5
5838 ac_status=$?
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); }; }; then
5841 lt_cv_cc_needs_belf=yes
5842 else
5843 echo "$as_me: failed program was:" >&5
5844 sed 's/^/| /' conftest.$ac_ext >&5
5846 lt_cv_cc_needs_belf=no
5848 rm -f conftest.err conftest.$ac_objext \
5849 conftest$ac_exeext conftest.$ac_ext
5850 ac_ext=c
5851 ac_cpp='$CPP $CPPFLAGS'
5852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5857 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5858 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5859 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5860 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5861 CFLAGS="$SAVE_CFLAGS"
5864 sparc*-*solaris*)
5865 # Find out which ABI we are using.
5866 echo 'int i;' > conftest.$ac_ext
5867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5868 (eval $ac_compile) 2>&5
5869 ac_status=$?
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; then
5872 case `/usr/bin/file conftest.o` in
5873 *64-bit*)
5874 case $lt_cv_prog_gnu_ld in
5875 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5876 *) LD="${LD-ld} -64" ;;
5877 esac
5879 esac
5881 rm -rf conftest*
5883 esac
5885 need_locks="$enable_libtool_lock"
5887 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5888 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5889 if test "${ac_cv_header_stdc+set}" = set; then
5890 echo $ECHO_N "(cached) $ECHO_C" >&6
5891 else
5892 cat >conftest.$ac_ext <<_ACEOF
5893 /* confdefs.h. */
5894 _ACEOF
5895 cat confdefs.h >>conftest.$ac_ext
5896 cat >>conftest.$ac_ext <<_ACEOF
5897 /* end confdefs.h. */
5898 #include <stdlib.h>
5899 #include <stdarg.h>
5900 #include <string.h>
5901 #include <float.h>
5904 main ()
5908 return 0;
5910 _ACEOF
5911 rm -f conftest.$ac_objext
5912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5913 (eval $ac_compile) 2>conftest.er1
5914 ac_status=$?
5915 grep -v '^ *+' conftest.er1 >conftest.err
5916 rm -f conftest.er1
5917 cat conftest.err >&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); } &&
5920 { ac_try='test -z "$ac_c_werror_flag"
5921 || test ! -s conftest.err'
5922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5923 (eval $ac_try) 2>&5
5924 ac_status=$?
5925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926 (exit $ac_status); }; } &&
5927 { ac_try='test -s conftest.$ac_objext'
5928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5929 (eval $ac_try) 2>&5
5930 ac_status=$?
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); }; }; then
5933 ac_cv_header_stdc=yes
5934 else
5935 echo "$as_me: failed program was:" >&5
5936 sed 's/^/| /' conftest.$ac_ext >&5
5938 ac_cv_header_stdc=no
5940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5942 if test $ac_cv_header_stdc = yes; then
5943 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5944 cat >conftest.$ac_ext <<_ACEOF
5945 /* confdefs.h. */
5946 _ACEOF
5947 cat confdefs.h >>conftest.$ac_ext
5948 cat >>conftest.$ac_ext <<_ACEOF
5949 /* end confdefs.h. */
5950 #include <string.h>
5952 _ACEOF
5953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5954 $EGREP "memchr" >/dev/null 2>&1; then
5956 else
5957 ac_cv_header_stdc=no
5959 rm -f conftest*
5963 if test $ac_cv_header_stdc = yes; then
5964 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5965 cat >conftest.$ac_ext <<_ACEOF
5966 /* confdefs.h. */
5967 _ACEOF
5968 cat confdefs.h >>conftest.$ac_ext
5969 cat >>conftest.$ac_ext <<_ACEOF
5970 /* end confdefs.h. */
5971 #include <stdlib.h>
5973 _ACEOF
5974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5975 $EGREP "free" >/dev/null 2>&1; then
5977 else
5978 ac_cv_header_stdc=no
5980 rm -f conftest*
5984 if test $ac_cv_header_stdc = yes; then
5985 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5986 if test "$cross_compiling" = yes; then
5988 else
5989 cat >conftest.$ac_ext <<_ACEOF
5990 /* confdefs.h. */
5991 _ACEOF
5992 cat confdefs.h >>conftest.$ac_ext
5993 cat >>conftest.$ac_ext <<_ACEOF
5994 /* end confdefs.h. */
5995 #include <ctype.h>
5996 #if ((' ' & 0x0FF) == 0x020)
5997 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5998 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5999 #else
6000 # define ISLOWER(c) \
6001 (('a' <= (c) && (c) <= 'i') \
6002 || ('j' <= (c) && (c) <= 'r') \
6003 || ('s' <= (c) && (c) <= 'z'))
6004 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6005 #endif
6007 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6009 main ()
6011 int i;
6012 for (i = 0; i < 256; i++)
6013 if (XOR (islower (i), ISLOWER (i))
6014 || toupper (i) != TOUPPER (i))
6015 exit(2);
6016 exit (0);
6018 _ACEOF
6019 rm -f conftest$ac_exeext
6020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6021 (eval $ac_link) 2>&5
6022 ac_status=$?
6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6026 (eval $ac_try) 2>&5
6027 ac_status=$?
6028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029 (exit $ac_status); }; }; then
6031 else
6032 echo "$as_me: program exited with status $ac_status" >&5
6033 echo "$as_me: failed program was:" >&5
6034 sed 's/^/| /' conftest.$ac_ext >&5
6036 ( exit $ac_status )
6037 ac_cv_header_stdc=no
6039 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6043 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6044 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6045 if test $ac_cv_header_stdc = yes; then
6047 cat >>confdefs.h <<\_ACEOF
6048 #define STDC_HEADERS 1
6049 _ACEOF
6053 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6063 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6064 inttypes.h stdint.h unistd.h
6066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6067 echo "$as_me:$LINENO: checking for $ac_header" >&5
6068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6070 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 else
6072 cat >conftest.$ac_ext <<_ACEOF
6073 /* confdefs.h. */
6074 _ACEOF
6075 cat confdefs.h >>conftest.$ac_ext
6076 cat >>conftest.$ac_ext <<_ACEOF
6077 /* end confdefs.h. */
6078 $ac_includes_default
6080 #include <$ac_header>
6081 _ACEOF
6082 rm -f conftest.$ac_objext
6083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6084 (eval $ac_compile) 2>conftest.er1
6085 ac_status=$?
6086 grep -v '^ *+' conftest.er1 >conftest.err
6087 rm -f conftest.er1
6088 cat conftest.err >&5
6089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090 (exit $ac_status); } &&
6091 { ac_try='test -z "$ac_c_werror_flag"
6092 || test ! -s conftest.err'
6093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6094 (eval $ac_try) 2>&5
6095 ac_status=$?
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); }; } &&
6098 { ac_try='test -s conftest.$ac_objext'
6099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6100 (eval $ac_try) 2>&5
6101 ac_status=$?
6102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); }; }; then
6104 eval "$as_ac_Header=yes"
6105 else
6106 echo "$as_me: failed program was:" >&5
6107 sed 's/^/| /' conftest.$ac_ext >&5
6109 eval "$as_ac_Header=no"
6111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6116 cat >>confdefs.h <<_ACEOF
6117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6118 _ACEOF
6122 done
6126 for ac_header in dlfcn.h
6128 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6129 echo "$as_me:$LINENO: checking for $ac_header" >&5
6130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6132 echo $ECHO_N "(cached) $ECHO_C" >&6
6133 else
6134 cat >conftest.$ac_ext <<_ACEOF
6135 /* confdefs.h. */
6136 _ACEOF
6137 cat confdefs.h >>conftest.$ac_ext
6138 cat >>conftest.$ac_ext <<_ACEOF
6139 /* end confdefs.h. */
6140 $ac_includes_default
6142 #include <$ac_header>
6143 _ACEOF
6144 rm -f conftest.$ac_objext
6145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6146 (eval $ac_compile) 2>conftest.er1
6147 ac_status=$?
6148 grep -v '^ *+' conftest.er1 >conftest.err
6149 rm -f conftest.er1
6150 cat conftest.err >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); } &&
6153 { ac_try='test -z "$ac_c_werror_flag"
6154 || test ! -s conftest.err'
6155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6156 (eval $ac_try) 2>&5
6157 ac_status=$?
6158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159 (exit $ac_status); }; } &&
6160 { ac_try='test -s conftest.$ac_objext'
6161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6162 (eval $ac_try) 2>&5
6163 ac_status=$?
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); }; }; then
6166 eval "$as_ac_Header=yes"
6167 else
6168 echo "$as_me: failed program was:" >&5
6169 sed 's/^/| /' conftest.$ac_ext >&5
6171 eval "$as_ac_Header=no"
6173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6178 cat >>confdefs.h <<_ACEOF
6179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6180 _ACEOF
6184 done
6188 ac_ext=cc
6189 ac_cpp='$CXXCPP $CPPFLAGS'
6190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6193 if test -n "$ac_tool_prefix"; then
6194 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6196 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6197 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6198 echo "$as_me:$LINENO: checking for $ac_word" >&5
6199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6200 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6202 else
6203 if test -n "$CXX"; then
6204 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6205 else
6206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6207 for as_dir in $PATH
6209 IFS=$as_save_IFS
6210 test -z "$as_dir" && as_dir=.
6211 for ac_exec_ext in '' $ac_executable_extensions; do
6212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6213 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6215 break 2
6217 done
6218 done
6222 CXX=$glibcxx_cv_prog_CXX
6223 if test -n "$CXX"; then
6224 echo "$as_me:$LINENO: result: $CXX" >&5
6225 echo "${ECHO_T}$CXX" >&6
6226 else
6227 echo "$as_me:$LINENO: result: no" >&5
6228 echo "${ECHO_T}no" >&6
6231 test -n "$CXX" && break
6232 done
6234 if test -z "$CXX"; then
6235 ac_ct_CXX=$CXX
6236 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6238 # Extract the first word of "$ac_prog", so it can be a program name with args.
6239 set dummy $ac_prog; ac_word=$2
6240 echo "$as_me:$LINENO: checking for $ac_word" >&5
6241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6242 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 else
6245 if test -n "$ac_ct_CXX"; then
6246 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6247 else
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 for as_dir in $PATH
6251 IFS=$as_save_IFS
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6255 ac_cv_prog_ac_ct_CXX="$ac_prog"
6256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 break 2
6259 done
6260 done
6264 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6265 if test -n "$ac_ct_CXX"; then
6266 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6267 echo "${ECHO_T}$ac_ct_CXX" >&6
6268 else
6269 echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6
6273 test -n "$ac_ct_CXX" && break
6274 done
6275 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6277 CXX=$ac_ct_CXX
6281 # Provide some information about the compiler.
6282 echo "$as_me:$LINENO:" \
6283 "checking for C++ compiler version" >&5
6284 ac_compiler=`set X $ac_compile; echo $2`
6285 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6286 (eval $ac_compiler --version </dev/null >&5) 2>&5
6287 ac_status=$?
6288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289 (exit $ac_status); }
6290 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6291 (eval $ac_compiler -v </dev/null >&5) 2>&5
6292 ac_status=$?
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); }
6295 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6296 (eval $ac_compiler -V </dev/null >&5) 2>&5
6297 ac_status=$?
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); }
6301 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6302 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6303 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6304 echo $ECHO_N "(cached) $ECHO_C" >&6
6305 else
6306 cat >conftest.$ac_ext <<_ACEOF
6307 /* confdefs.h. */
6308 _ACEOF
6309 cat confdefs.h >>conftest.$ac_ext
6310 cat >>conftest.$ac_ext <<_ACEOF
6311 /* end confdefs.h. */
6314 main ()
6316 #ifndef __GNUC__
6317 choke me
6318 #endif
6321 return 0;
6323 _ACEOF
6324 rm -f conftest.$ac_objext
6325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6326 (eval $ac_compile) 2>conftest.er1
6327 ac_status=$?
6328 grep -v '^ *+' conftest.er1 >conftest.err
6329 rm -f conftest.er1
6330 cat conftest.err >&5
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332 (exit $ac_status); } &&
6333 { ac_try='test -z "$ac_cxx_werror_flag"
6334 || test ! -s conftest.err'
6335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6336 (eval $ac_try) 2>&5
6337 ac_status=$?
6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 (exit $ac_status); }; } &&
6340 { ac_try='test -s conftest.$ac_objext'
6341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6342 (eval $ac_try) 2>&5
6343 ac_status=$?
6344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6345 (exit $ac_status); }; }; then
6346 ac_compiler_gnu=yes
6347 else
6348 echo "$as_me: failed program was:" >&5
6349 sed 's/^/| /' conftest.$ac_ext >&5
6351 ac_compiler_gnu=no
6353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6354 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6357 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6358 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6359 GXX=`test $ac_compiler_gnu = yes && echo yes`
6360 ac_test_CXXFLAGS=${CXXFLAGS+set}
6361 ac_save_CXXFLAGS=$CXXFLAGS
6362 CXXFLAGS="-g"
6363 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6364 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6365 if test "${ac_cv_prog_cxx_g+set}" = set; then
6366 echo $ECHO_N "(cached) $ECHO_C" >&6
6367 else
6368 cat >conftest.$ac_ext <<_ACEOF
6369 /* confdefs.h. */
6370 _ACEOF
6371 cat confdefs.h >>conftest.$ac_ext
6372 cat >>conftest.$ac_ext <<_ACEOF
6373 /* end confdefs.h. */
6376 main ()
6380 return 0;
6382 _ACEOF
6383 rm -f conftest.$ac_objext
6384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6385 (eval $ac_compile) 2>conftest.er1
6386 ac_status=$?
6387 grep -v '^ *+' conftest.er1 >conftest.err
6388 rm -f conftest.er1
6389 cat conftest.err >&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } &&
6392 { ac_try='test -z "$ac_cxx_werror_flag"
6393 || test ! -s conftest.err'
6394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6395 (eval $ac_try) 2>&5
6396 ac_status=$?
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); }; } &&
6399 { ac_try='test -s conftest.$ac_objext'
6400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6401 (eval $ac_try) 2>&5
6402 ac_status=$?
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); }; }; then
6405 ac_cv_prog_cxx_g=yes
6406 else
6407 echo "$as_me: failed program was:" >&5
6408 sed 's/^/| /' conftest.$ac_ext >&5
6410 ac_cv_prog_cxx_g=no
6412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6414 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6415 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6416 if test "$ac_test_CXXFLAGS" = set; then
6417 CXXFLAGS=$ac_save_CXXFLAGS
6418 elif test $ac_cv_prog_cxx_g = yes; then
6419 if test "$GXX" = yes; then
6420 CXXFLAGS="-g -O2"
6421 else
6422 CXXFLAGS="-g"
6424 else
6425 if test "$GXX" = yes; then
6426 CXXFLAGS="-O2"
6427 else
6428 CXXFLAGS=
6431 for ac_declaration in \
6432 '' \
6433 'extern "C" void std::exit (int) throw (); using std::exit;' \
6434 'extern "C" void std::exit (int); using std::exit;' \
6435 'extern "C" void exit (int) throw ();' \
6436 'extern "C" void exit (int);' \
6437 'void exit (int);'
6439 cat >conftest.$ac_ext <<_ACEOF
6440 /* confdefs.h. */
6441 _ACEOF
6442 cat confdefs.h >>conftest.$ac_ext
6443 cat >>conftest.$ac_ext <<_ACEOF
6444 /* end confdefs.h. */
6445 $ac_declaration
6446 #include <stdlib.h>
6448 main ()
6450 exit (42);
6452 return 0;
6454 _ACEOF
6455 rm -f conftest.$ac_objext
6456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6457 (eval $ac_compile) 2>conftest.er1
6458 ac_status=$?
6459 grep -v '^ *+' conftest.er1 >conftest.err
6460 rm -f conftest.er1
6461 cat conftest.err >&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); } &&
6464 { ac_try='test -z "$ac_cxx_werror_flag"
6465 || test ! -s conftest.err'
6466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6467 (eval $ac_try) 2>&5
6468 ac_status=$?
6469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 (exit $ac_status); }; } &&
6471 { ac_try='test -s conftest.$ac_objext'
6472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6473 (eval $ac_try) 2>&5
6474 ac_status=$?
6475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 (exit $ac_status); }; }; then
6478 else
6479 echo "$as_me: failed program was:" >&5
6480 sed 's/^/| /' conftest.$ac_ext >&5
6482 continue
6484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6485 cat >conftest.$ac_ext <<_ACEOF
6486 /* confdefs.h. */
6487 _ACEOF
6488 cat confdefs.h >>conftest.$ac_ext
6489 cat >>conftest.$ac_ext <<_ACEOF
6490 /* end confdefs.h. */
6491 $ac_declaration
6493 main ()
6495 exit (42);
6497 return 0;
6499 _ACEOF
6500 rm -f conftest.$ac_objext
6501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6502 (eval $ac_compile) 2>conftest.er1
6503 ac_status=$?
6504 grep -v '^ *+' conftest.er1 >conftest.err
6505 rm -f conftest.er1
6506 cat conftest.err >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); } &&
6509 { ac_try='test -z "$ac_cxx_werror_flag"
6510 || test ! -s conftest.err'
6511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6512 (eval $ac_try) 2>&5
6513 ac_status=$?
6514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515 (exit $ac_status); }; } &&
6516 { ac_try='test -s conftest.$ac_objext'
6517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6518 (eval $ac_try) 2>&5
6519 ac_status=$?
6520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521 (exit $ac_status); }; }; then
6522 break
6523 else
6524 echo "$as_me: failed program was:" >&5
6525 sed 's/^/| /' conftest.$ac_ext >&5
6528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6529 done
6530 rm -f conftest*
6531 if test -n "$ac_declaration"; then
6532 echo '#ifdef __cplusplus' >>confdefs.h
6533 echo $ac_declaration >>confdefs.h
6534 echo '#endif' >>confdefs.h
6537 ac_ext=c
6538 ac_cpp='$CPP $CPPFLAGS'
6539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6543 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6544 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6545 (test "X$CXX" != "Xg++"))) ; then
6546 ac_ext=cc
6547 ac_cpp='$CXXCPP $CPPFLAGS'
6548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6551 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6552 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6553 if test -z "$CXXCPP"; then
6554 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6555 echo $ECHO_N "(cached) $ECHO_C" >&6
6556 else
6557 # Double quotes because CXXCPP needs to be expanded
6558 for CXXCPP in "$CXX -E" "/lib/cpp"
6560 ac_preproc_ok=false
6561 for ac_cxx_preproc_warn_flag in '' yes
6563 # Use a header file that comes with gcc, so configuring glibc
6564 # with a fresh cross-compiler works.
6565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6566 # <limits.h> exists even on freestanding compilers.
6567 # On the NeXT, cc -E runs the code through the compiler's parser,
6568 # not just through cpp. "Syntax error" is here to catch this case.
6569 cat >conftest.$ac_ext <<_ACEOF
6570 /* confdefs.h. */
6571 _ACEOF
6572 cat confdefs.h >>conftest.$ac_ext
6573 cat >>conftest.$ac_ext <<_ACEOF
6574 /* end confdefs.h. */
6575 #ifdef __STDC__
6576 # include <limits.h>
6577 #else
6578 # include <assert.h>
6579 #endif
6580 Syntax error
6581 _ACEOF
6582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6584 ac_status=$?
6585 grep -v '^ *+' conftest.er1 >conftest.err
6586 rm -f conftest.er1
6587 cat conftest.err >&5
6588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589 (exit $ac_status); } >/dev/null; then
6590 if test -s conftest.err; then
6591 ac_cpp_err=$ac_cxx_preproc_warn_flag
6592 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6593 else
6594 ac_cpp_err=
6596 else
6597 ac_cpp_err=yes
6599 if test -z "$ac_cpp_err"; then
6601 else
6602 echo "$as_me: failed program was:" >&5
6603 sed 's/^/| /' conftest.$ac_ext >&5
6605 # Broken: fails on valid input.
6606 continue
6608 rm -f conftest.err conftest.$ac_ext
6610 # OK, works on sane cases. Now check whether non-existent headers
6611 # can be detected and how.
6612 cat >conftest.$ac_ext <<_ACEOF
6613 /* confdefs.h. */
6614 _ACEOF
6615 cat confdefs.h >>conftest.$ac_ext
6616 cat >>conftest.$ac_ext <<_ACEOF
6617 /* end confdefs.h. */
6618 #include <ac_nonexistent.h>
6619 _ACEOF
6620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6621 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6622 ac_status=$?
6623 grep -v '^ *+' conftest.er1 >conftest.err
6624 rm -f conftest.er1
6625 cat conftest.err >&5
6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627 (exit $ac_status); } >/dev/null; then
6628 if test -s conftest.err; then
6629 ac_cpp_err=$ac_cxx_preproc_warn_flag
6630 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6631 else
6632 ac_cpp_err=
6634 else
6635 ac_cpp_err=yes
6637 if test -z "$ac_cpp_err"; then
6638 # Broken: success on invalid input.
6639 continue
6640 else
6641 echo "$as_me: failed program was:" >&5
6642 sed 's/^/| /' conftest.$ac_ext >&5
6644 # Passes both tests.
6645 ac_preproc_ok=:
6646 break
6648 rm -f conftest.err conftest.$ac_ext
6650 done
6651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6652 rm -f conftest.err conftest.$ac_ext
6653 if $ac_preproc_ok; then
6654 break
6657 done
6658 ac_cv_prog_CXXCPP=$CXXCPP
6661 CXXCPP=$ac_cv_prog_CXXCPP
6662 else
6663 ac_cv_prog_CXXCPP=$CXXCPP
6665 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6666 echo "${ECHO_T}$CXXCPP" >&6
6667 ac_preproc_ok=false
6668 for ac_cxx_preproc_warn_flag in '' yes
6670 # Use a header file that comes with gcc, so configuring glibc
6671 # with a fresh cross-compiler works.
6672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6673 # <limits.h> exists even on freestanding compilers.
6674 # On the NeXT, cc -E runs the code through the compiler's parser,
6675 # not just through cpp. "Syntax error" is here to catch this case.
6676 cat >conftest.$ac_ext <<_ACEOF
6677 /* confdefs.h. */
6678 _ACEOF
6679 cat confdefs.h >>conftest.$ac_ext
6680 cat >>conftest.$ac_ext <<_ACEOF
6681 /* end confdefs.h. */
6682 #ifdef __STDC__
6683 # include <limits.h>
6684 #else
6685 # include <assert.h>
6686 #endif
6687 Syntax error
6688 _ACEOF
6689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6690 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6691 ac_status=$?
6692 grep -v '^ *+' conftest.er1 >conftest.err
6693 rm -f conftest.er1
6694 cat conftest.err >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } >/dev/null; then
6697 if test -s conftest.err; then
6698 ac_cpp_err=$ac_cxx_preproc_warn_flag
6699 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6700 else
6701 ac_cpp_err=
6703 else
6704 ac_cpp_err=yes
6706 if test -z "$ac_cpp_err"; then
6708 else
6709 echo "$as_me: failed program was:" >&5
6710 sed 's/^/| /' conftest.$ac_ext >&5
6712 # Broken: fails on valid input.
6713 continue
6715 rm -f conftest.err conftest.$ac_ext
6717 # OK, works on sane cases. Now check whether non-existent headers
6718 # can be detected and how.
6719 cat >conftest.$ac_ext <<_ACEOF
6720 /* confdefs.h. */
6721 _ACEOF
6722 cat confdefs.h >>conftest.$ac_ext
6723 cat >>conftest.$ac_ext <<_ACEOF
6724 /* end confdefs.h. */
6725 #include <ac_nonexistent.h>
6726 _ACEOF
6727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6729 ac_status=$?
6730 grep -v '^ *+' conftest.er1 >conftest.err
6731 rm -f conftest.er1
6732 cat conftest.err >&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); } >/dev/null; then
6735 if test -s conftest.err; then
6736 ac_cpp_err=$ac_cxx_preproc_warn_flag
6737 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6738 else
6739 ac_cpp_err=
6741 else
6742 ac_cpp_err=yes
6744 if test -z "$ac_cpp_err"; then
6745 # Broken: success on invalid input.
6746 continue
6747 else
6748 echo "$as_me: failed program was:" >&5
6749 sed 's/^/| /' conftest.$ac_ext >&5
6751 # Passes both tests.
6752 ac_preproc_ok=:
6753 break
6755 rm -f conftest.err conftest.$ac_ext
6757 done
6758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6759 rm -f conftest.err conftest.$ac_ext
6760 if $ac_preproc_ok; then
6762 else
6763 _lt_caught_CXX_error=yes
6766 ac_ext=c
6767 ac_cpp='$CPP $CPPFLAGS'
6768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6772 else
6773 _lt_caught_CXX_error=yes
6780 # This can be used to rebuild libtool when needed
6781 LIBTOOL_DEPS="$ltmain"
6783 # Always use our own libtool.
6784 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6810 test -z "$LN_S" && LN_S="ln -s"
6825 if test -n "${ZSH_VERSION+set}" ; then
6826 setopt NO_GLOB_SUBST
6829 echo "$as_me:$LINENO: checking for objdir" >&5
6830 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6831 if test "${lt_cv_objdir+set}" = set; then
6832 echo $ECHO_N "(cached) $ECHO_C" >&6
6833 else
6834 rm -f .libs 2>/dev/null
6835 mkdir .libs 2>/dev/null
6836 if test -d .libs; then
6837 lt_cv_objdir=.libs
6838 else
6839 # MS-DOS does not allow filenames that begin with a dot.
6840 lt_cv_objdir=_libs
6842 rmdir .libs 2>/dev/null
6844 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6845 echo "${ECHO_T}$lt_cv_objdir" >&6
6846 objdir=$lt_cv_objdir
6852 cat >>confdefs.h <<_ACEOF
6853 #define LT_OBJDIR "$lt_cv_objdir/"
6854 _ACEOF
6872 case $host_os in
6873 aix3*)
6874 # AIX sometimes has problems with the GCC collect2 program. For some
6875 # reason, if we set the COLLECT_NAMES environment variable, the problems
6876 # vanish in a puff of smoke.
6877 if test "X${COLLECT_NAMES+set}" != Xset; then
6878 COLLECT_NAMES=
6879 export COLLECT_NAMES
6882 esac
6884 # Sed substitution that helps us do robust quoting. It backslashifies
6885 # metacharacters that are still active within double-quoted strings.
6886 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6888 # Same as above, but do not quote variable references.
6889 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6891 # Sed substitution to delay expansion of an escaped shell variable in a
6892 # double_quote_subst'ed string.
6893 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6895 # Sed substitution to delay expansion of an escaped single quote.
6896 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6898 # Sed substitution to avoid accidental globbing in evaled expressions
6899 no_glob_subst='s/\*/\\\*/g'
6901 # Global variables:
6902 ofile=libtool
6903 can_build_shared=yes
6905 # All known linkers require a `.a' archive for static linking (except MSVC,
6906 # which needs '.lib').
6907 libext=a
6909 with_gnu_ld="$lt_cv_prog_gnu_ld"
6911 old_CC="$CC"
6912 old_CFLAGS="$CFLAGS"
6914 # Set sane defaults for various variables
6915 test -z "$CC" && CC=cc
6916 test -z "$LTCC" && LTCC=$CC
6917 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6918 test -z "$LD" && LD=ld
6919 test -z "$ac_objext" && ac_objext=o
6921 for cc_temp in $compiler""; do
6922 case $cc_temp in
6923 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6924 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6925 \-*) ;;
6926 *) break;;
6927 esac
6928 done
6929 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6932 # Only perform the check for file, if the check method requires it
6933 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6934 case $deplibs_check_method in
6935 file_magic*)
6936 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6937 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6938 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6939 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6940 echo $ECHO_N "(cached) $ECHO_C" >&6
6941 else
6942 case $MAGIC_CMD in
6943 [\\/*] | ?:[\\/]*)
6944 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6947 lt_save_MAGIC_CMD="$MAGIC_CMD"
6948 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6949 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6950 for ac_dir in $ac_dummy; do
6951 IFS="$lt_save_ifs"
6952 test -z "$ac_dir" && ac_dir=.
6953 if test -f $ac_dir/${ac_tool_prefix}file; then
6954 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6955 if test -n "$file_magic_test_file"; then
6956 case $deplibs_check_method in
6957 "file_magic "*)
6958 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6959 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6960 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6961 $EGREP "$file_magic_regex" > /dev/null; then
6963 else
6964 cat <<_LT_EOF 1>&2
6966 *** Warning: the command libtool uses to detect shared libraries,
6967 *** $file_magic_cmd, produces output that libtool cannot recognize.
6968 *** The result is that libtool may fail to recognize shared libraries
6969 *** as such. This will affect the creation of libtool libraries that
6970 *** depend on shared libraries, but programs linked with such libtool
6971 *** libraries will work regardless of this problem. Nevertheless, you
6972 *** may want to report the problem to your system manager and/or to
6973 *** bug-libtool@gnu.org
6975 _LT_EOF
6976 fi ;;
6977 esac
6979 break
6981 done
6982 IFS="$lt_save_ifs"
6983 MAGIC_CMD="$lt_save_MAGIC_CMD"
6985 esac
6988 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6989 if test -n "$MAGIC_CMD"; then
6990 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6991 echo "${ECHO_T}$MAGIC_CMD" >&6
6992 else
6993 echo "$as_me:$LINENO: result: no" >&5
6994 echo "${ECHO_T}no" >&6
7001 if test -z "$lt_cv_path_MAGIC_CMD"; then
7002 if test -n "$ac_tool_prefix"; then
7003 echo "$as_me:$LINENO: checking for file" >&5
7004 echo $ECHO_N "checking for file... $ECHO_C" >&6
7005 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7006 echo $ECHO_N "(cached) $ECHO_C" >&6
7007 else
7008 case $MAGIC_CMD in
7009 [\\/*] | ?:[\\/]*)
7010 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7013 lt_save_MAGIC_CMD="$MAGIC_CMD"
7014 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7015 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7016 for ac_dir in $ac_dummy; do
7017 IFS="$lt_save_ifs"
7018 test -z "$ac_dir" && ac_dir=.
7019 if test -f $ac_dir/file; then
7020 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7021 if test -n "$file_magic_test_file"; then
7022 case $deplibs_check_method in
7023 "file_magic "*)
7024 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7025 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7026 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7027 $EGREP "$file_magic_regex" > /dev/null; then
7029 else
7030 cat <<_LT_EOF 1>&2
7032 *** Warning: the command libtool uses to detect shared libraries,
7033 *** $file_magic_cmd, produces output that libtool cannot recognize.
7034 *** The result is that libtool may fail to recognize shared libraries
7035 *** as such. This will affect the creation of libtool libraries that
7036 *** depend on shared libraries, but programs linked with such libtool
7037 *** libraries will work regardless of this problem. Nevertheless, you
7038 *** may want to report the problem to your system manager and/or to
7039 *** bug-libtool@gnu.org
7041 _LT_EOF
7042 fi ;;
7043 esac
7045 break
7047 done
7048 IFS="$lt_save_ifs"
7049 MAGIC_CMD="$lt_save_MAGIC_CMD"
7051 esac
7054 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7055 if test -n "$MAGIC_CMD"; then
7056 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7057 echo "${ECHO_T}$MAGIC_CMD" >&6
7058 else
7059 echo "$as_me:$LINENO: result: no" >&5
7060 echo "${ECHO_T}no" >&6
7064 else
7065 MAGIC_CMD=:
7071 esac
7073 # Use C for the default configuration in the libtool script
7075 lt_save_CC="$CC"
7076 ac_ext=c
7077 ac_cpp='$CPP $CPPFLAGS'
7078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7083 # Source file extension for C test sources.
7084 ac_ext=c
7086 # Object file extension for compiled C test sources.
7087 objext=o
7088 objext=$objext
7090 # Code to be used in simple compile tests
7091 lt_simple_compile_test_code="int some_variable = 0;"
7093 # Code to be used in simple link tests
7094 lt_simple_link_test_code='int main(){return(0);}'
7102 # If no C compiler was specified, use CC.
7103 LTCC=${LTCC-"$CC"}
7105 # If no C compiler flags were specified, use CFLAGS.
7106 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7108 # Allow CC to be a program name with arguments.
7109 compiler=$CC
7111 # Save the default compiler, since it gets overwritten when the other
7112 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7113 compiler_DEFAULT=$CC
7115 # save warnings/boilerplate of simple test code
7116 ac_outfile=conftest.$ac_objext
7117 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7118 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7119 _lt_compiler_boilerplate=`cat conftest.err`
7120 $RM conftest*
7122 ac_outfile=conftest.$ac_objext
7123 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7124 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7125 _lt_linker_boilerplate=`cat conftest.err`
7126 $RM conftest*
7129 ## CAVEAT EMPTOR:
7130 ## There is no encapsulation within the following macros, do not change
7131 ## the running order or otherwise move them around unless you know exactly
7132 ## what you are doing...
7133 if test -n "$compiler"; then
7135 lt_prog_compiler_no_builtin_flag=
7137 if test "$GCC" = yes; then
7138 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7140 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7141 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7142 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7143 echo $ECHO_N "(cached) $ECHO_C" >&6
7144 else
7145 lt_cv_prog_compiler_rtti_exceptions=no
7146 ac_outfile=conftest.$ac_objext
7147 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7148 lt_compiler_flag="-fno-rtti -fno-exceptions"
7149 # Insert the option either (1) after the last *FLAGS variable, or
7150 # (2) before a word containing "conftest.", or (3) at the end.
7151 # Note that $ac_compile itself does not contain backslashes and begins
7152 # with a dollar sign (not a hyphen), so the echo should work correctly.
7153 # The option is referenced via a variable to avoid confusing sed.
7154 lt_compile=`echo "$ac_compile" | $SED \
7155 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7156 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7157 -e 's:$: $lt_compiler_flag:'`
7158 (eval echo "\"\$as_me:7158: $lt_compile\"" >&5)
7159 (eval "$lt_compile" 2>conftest.err)
7160 ac_status=$?
7161 cat conftest.err >&5
7162 echo "$as_me:7162: \$? = $ac_status" >&5
7163 if (exit $ac_status) && test -s "$ac_outfile"; then
7164 # The compiler can only warn and ignore the option if not recognized
7165 # So say no if there are warnings other than the usual output.
7166 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7167 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7168 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7169 lt_cv_prog_compiler_rtti_exceptions=yes
7172 $RM conftest*
7175 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7176 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7178 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7179 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7180 else
7191 lt_prog_compiler_wl=
7192 lt_prog_compiler_pic=
7193 lt_prog_compiler_static=
7195 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7196 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7198 if test "$GCC" = yes; then
7199 lt_prog_compiler_wl='-Wl,'
7200 lt_prog_compiler_static='-static'
7202 case $host_os in
7203 aix*)
7204 # All AIX code is PIC.
7205 if test "$host_cpu" = ia64; then
7206 # AIX 5 now supports IA64 processor
7207 lt_prog_compiler_static='-Bstatic'
7211 amigaos*)
7212 if test "$host_cpu" = m68k; then
7213 # FIXME: we need at least 68020 code to build shared libraries, but
7214 # adding the `-m68020' flag to GCC prevents building anything better,
7215 # like `-m68040'.
7216 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7220 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7221 # PIC is the default for these OSes.
7224 mingw* | cygwin* | pw32* | os2*)
7225 # This hack is so that the source file can tell whether it is being
7226 # built for inclusion in a dll (and should export symbols for example).
7227 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7228 # (--disable-auto-import) libraries
7229 lt_prog_compiler_pic='-DDLL_EXPORT'
7232 darwin* | rhapsody*)
7233 # PIC is the default on this platform
7234 # Common symbols not allowed in MH_DYLIB files
7235 lt_prog_compiler_pic='-fno-common'
7238 hpux*)
7239 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7240 # not for PA HP-UX.
7241 case $host_cpu in
7242 hppa*64*|ia64*)
7243 # +Z the default
7246 lt_prog_compiler_pic='-fPIC'
7248 esac
7251 interix[3-9]*)
7252 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7253 # Instead, we relocate shared libraries at runtime.
7256 msdosdjgpp*)
7257 # Just because we use GCC doesn't mean we suddenly get shared libraries
7258 # on systems that don't support them.
7259 lt_prog_compiler_can_build_shared=no
7260 enable_shared=no
7263 *nto* | *qnx*)
7264 # QNX uses GNU C++, but need to define -shared option too, otherwise
7265 # it will coredump.
7266 lt_prog_compiler_pic='-fPIC -shared'
7269 sysv4*MP*)
7270 if test -d /usr/nec; then
7271 lt_prog_compiler_pic=-Kconform_pic
7276 lt_prog_compiler_pic='-fPIC'
7278 esac
7279 else
7280 # PORTME Check for flag to pass linker flags through the system compiler.
7281 case $host_os in
7282 aix*)
7283 lt_prog_compiler_wl='-Wl,'
7284 if test "$host_cpu" = ia64; then
7285 # AIX 5 now supports IA64 processor
7286 lt_prog_compiler_static='-Bstatic'
7287 else
7288 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7291 darwin*)
7292 # PIC is the default on this platform
7293 # Common symbols not allowed in MH_DYLIB files
7294 case $cc_basename in
7295 xlc*)
7296 lt_prog_compiler_pic='-qnocommon'
7297 lt_prog_compiler_wl='-Wl,'
7299 esac
7302 mingw* | cygwin* | pw32* | os2*)
7303 # This hack is so that the source file can tell whether it is being
7304 # built for inclusion in a dll (and should export symbols for example).
7305 lt_prog_compiler_pic='-DDLL_EXPORT'
7308 hpux9* | hpux10* | hpux11*)
7309 lt_prog_compiler_wl='-Wl,'
7310 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7311 # not for PA HP-UX.
7312 case $host_cpu in
7313 hppa*64*|ia64*)
7314 # +Z the default
7317 lt_prog_compiler_pic='+Z'
7319 esac
7320 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7321 lt_prog_compiler_static='${wl}-a ${wl}archive'
7324 irix5* | irix6* | nonstopux*)
7325 lt_prog_compiler_wl='-Wl,'
7326 # PIC (with -KPIC) is the default.
7327 lt_prog_compiler_static='-non_shared'
7330 linux* | k*bsd*-gnu)
7331 case $cc_basename in
7332 icc* | ecc*)
7333 lt_prog_compiler_wl='-Wl,'
7334 lt_prog_compiler_pic='-KPIC'
7335 lt_prog_compiler_static='-static'
7337 pgcc* | pgf77* | pgf90* | pgf95*)
7338 # Portland Group compilers (*not* the Pentium gcc compiler,
7339 # which looks to be a dead project)
7340 lt_prog_compiler_wl='-Wl,'
7341 lt_prog_compiler_pic='-fpic'
7342 lt_prog_compiler_static='-Bstatic'
7344 ccc*)
7345 lt_prog_compiler_wl='-Wl,'
7346 # All Alpha code is PIC.
7347 lt_prog_compiler_static='-non_shared'
7350 case `$CC -V 2>&1 | sed 5q` in
7351 *Sun\ C*)
7352 # Sun C 5.9
7353 lt_prog_compiler_pic='-KPIC'
7354 lt_prog_compiler_static='-Bstatic'
7355 lt_prog_compiler_wl='-Wl,'
7357 *Sun\ F*)
7358 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7359 lt_prog_compiler_pic='-KPIC'
7360 lt_prog_compiler_static='-Bstatic'
7361 lt_prog_compiler_wl=''
7363 esac
7365 esac
7368 newsos6)
7369 lt_prog_compiler_pic='-KPIC'
7370 lt_prog_compiler_static='-Bstatic'
7373 *nto* | *qnx*)
7374 # QNX uses GNU C++, but need to define -shared option too, otherwise
7375 # it will coredump.
7376 lt_prog_compiler_pic='-fPIC -shared'
7379 osf3* | osf4* | osf5*)
7380 lt_prog_compiler_wl='-Wl,'
7381 # All OSF/1 code is PIC.
7382 lt_prog_compiler_static='-non_shared'
7385 rdos*)
7386 lt_prog_compiler_static='-non_shared'
7389 solaris*)
7390 lt_prog_compiler_pic='-KPIC'
7391 lt_prog_compiler_static='-Bstatic'
7392 case $cc_basename in
7393 f77* | f90* | f95*)
7394 lt_prog_compiler_wl='-Qoption ld ';;
7396 lt_prog_compiler_wl='-Wl,';;
7397 esac
7400 sunos4*)
7401 lt_prog_compiler_wl='-Qoption ld '
7402 lt_prog_compiler_pic='-PIC'
7403 lt_prog_compiler_static='-Bstatic'
7406 sysv4 | sysv4.2uw2* | sysv4.3*)
7407 lt_prog_compiler_wl='-Wl,'
7408 lt_prog_compiler_pic='-KPIC'
7409 lt_prog_compiler_static='-Bstatic'
7412 sysv4*MP*)
7413 if test -d /usr/nec ;then
7414 lt_prog_compiler_pic='-Kconform_pic'
7415 lt_prog_compiler_static='-Bstatic'
7419 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7420 lt_prog_compiler_wl='-Wl,'
7421 lt_prog_compiler_pic='-KPIC'
7422 lt_prog_compiler_static='-Bstatic'
7425 unicos*)
7426 lt_prog_compiler_wl='-Wl,'
7427 lt_prog_compiler_can_build_shared=no
7430 uts4*)
7431 lt_prog_compiler_pic='-pic'
7432 lt_prog_compiler_static='-Bstatic'
7436 lt_prog_compiler_can_build_shared=no
7438 esac
7441 case $host_os in
7442 # For platforms which do not support PIC, -DPIC is meaningless:
7443 *djgpp*)
7444 lt_prog_compiler_pic=
7447 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7449 esac
7450 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7451 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7459 # Check to make sure the PIC flag actually works.
7461 if test -n "$lt_prog_compiler_pic"; then
7462 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7463 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7464 if test "${lt_prog_compiler_pic_works+set}" = set; then
7465 echo $ECHO_N "(cached) $ECHO_C" >&6
7466 else
7467 lt_prog_compiler_pic_works=no
7468 ac_outfile=conftest.$ac_objext
7469 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7470 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7471 # Insert the option either (1) after the last *FLAGS variable, or
7472 # (2) before a word containing "conftest.", or (3) at the end.
7473 # Note that $ac_compile itself does not contain backslashes and begins
7474 # with a dollar sign (not a hyphen), so the echo should work correctly.
7475 # The option is referenced via a variable to avoid confusing sed.
7476 lt_compile=`echo "$ac_compile" | $SED \
7477 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7478 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7479 -e 's:$: $lt_compiler_flag:'`
7480 (eval echo "\"\$as_me:7480: $lt_compile\"" >&5)
7481 (eval "$lt_compile" 2>conftest.err)
7482 ac_status=$?
7483 cat conftest.err >&5
7484 echo "$as_me:7484: \$? = $ac_status" >&5
7485 if (exit $ac_status) && test -s "$ac_outfile"; then
7486 # The compiler can only warn and ignore the option if not recognized
7487 # So say no if there are warnings other than the usual output.
7488 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7489 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7490 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7491 lt_prog_compiler_pic_works=yes
7494 $RM conftest*
7497 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7498 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7500 if test x"$lt_prog_compiler_pic_works" = xyes; then
7501 case $lt_prog_compiler_pic in
7502 "" | " "*) ;;
7503 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7504 esac
7505 else
7506 lt_prog_compiler_pic=
7507 lt_prog_compiler_can_build_shared=no
7518 # Check to make sure the static flag actually works.
7520 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7521 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7522 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7523 if test "${lt_prog_compiler_static_works+set}" = set; then
7524 echo $ECHO_N "(cached) $ECHO_C" >&6
7525 else
7526 lt_prog_compiler_static_works=no
7527 save_LDFLAGS="$LDFLAGS"
7528 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7529 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7530 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7531 # The linker can only warn and ignore the option if not recognized
7532 # So say no if there are warnings
7533 if test -s conftest.err; then
7534 # Append any errors to the config.log.
7535 cat conftest.err 1>&5
7536 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7537 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7538 if diff conftest.exp conftest.er2 >/dev/null; then
7539 lt_prog_compiler_static_works=yes
7541 else
7542 lt_prog_compiler_static_works=yes
7545 $RM conftest*
7546 LDFLAGS="$save_LDFLAGS"
7549 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7550 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7552 if test x"$lt_prog_compiler_static_works" = xyes; then
7554 else
7555 lt_prog_compiler_static=
7564 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7565 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7566 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7567 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 else
7569 lt_cv_prog_compiler_c_o=no
7570 $RM -r conftest 2>/dev/null
7571 mkdir conftest
7572 cd conftest
7573 mkdir out
7574 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7576 lt_compiler_flag="-o out/conftest2.$ac_objext"
7577 # Insert the option either (1) after the last *FLAGS variable, or
7578 # (2) before a word containing "conftest.", or (3) at the end.
7579 # Note that $ac_compile itself does not contain backslashes and begins
7580 # with a dollar sign (not a hyphen), so the echo should work correctly.
7581 lt_compile=`echo "$ac_compile" | $SED \
7582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7584 -e 's:$: $lt_compiler_flag:'`
7585 (eval echo "\"\$as_me:7585: $lt_compile\"" >&5)
7586 (eval "$lt_compile" 2>out/conftest.err)
7587 ac_status=$?
7588 cat out/conftest.err >&5
7589 echo "$as_me:7589: \$? = $ac_status" >&5
7590 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7591 then
7592 # The compiler can only warn and ignore the option if not recognized
7593 # So say no if there are warnings
7594 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7595 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7596 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7597 lt_cv_prog_compiler_c_o=yes
7600 chmod u+w . 2>&5
7601 $RM conftest*
7602 # SGI C++ compiler will create directory out/ii_files/ for
7603 # template instantiation
7604 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7605 $RM out/* && rmdir out
7606 cd ..
7607 $RM -r conftest
7608 $RM conftest*
7611 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7612 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7619 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7620 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7621 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7622 echo $ECHO_N "(cached) $ECHO_C" >&6
7623 else
7624 lt_cv_prog_compiler_c_o=no
7625 $RM -r conftest 2>/dev/null
7626 mkdir conftest
7627 cd conftest
7628 mkdir out
7629 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7631 lt_compiler_flag="-o out/conftest2.$ac_objext"
7632 # Insert the option either (1) after the last *FLAGS variable, or
7633 # (2) before a word containing "conftest.", or (3) at the end.
7634 # Note that $ac_compile itself does not contain backslashes and begins
7635 # with a dollar sign (not a hyphen), so the echo should work correctly.
7636 lt_compile=`echo "$ac_compile" | $SED \
7637 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7638 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7639 -e 's:$: $lt_compiler_flag:'`
7640 (eval echo "\"\$as_me:7640: $lt_compile\"" >&5)
7641 (eval "$lt_compile" 2>out/conftest.err)
7642 ac_status=$?
7643 cat out/conftest.err >&5
7644 echo "$as_me:7644: \$? = $ac_status" >&5
7645 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7646 then
7647 # The compiler can only warn and ignore the option if not recognized
7648 # So say no if there are warnings
7649 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7650 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7651 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7652 lt_cv_prog_compiler_c_o=yes
7655 chmod u+w . 2>&5
7656 $RM conftest*
7657 # SGI C++ compiler will create directory out/ii_files/ for
7658 # template instantiation
7659 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7660 $RM out/* && rmdir out
7661 cd ..
7662 $RM -r conftest
7663 $RM conftest*
7666 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7667 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7672 hard_links="nottested"
7673 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7674 # do not overwrite the value of need_locks provided by the user
7675 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7676 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7677 hard_links=yes
7678 $RM conftest*
7679 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7680 touch conftest.a
7681 ln conftest.a conftest.b 2>&5 || hard_links=no
7682 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7683 echo "$as_me:$LINENO: result: $hard_links" >&5
7684 echo "${ECHO_T}$hard_links" >&6
7685 if test "$hard_links" = no; then
7686 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7687 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7688 need_locks=warn
7690 else
7691 need_locks=no
7699 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7700 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7702 runpath_var=
7703 allow_undefined_flag=
7704 always_export_symbols=no
7705 archive_cmds=
7706 archive_expsym_cmds=
7707 compiler_needs_object=no
7708 enable_shared_with_static_runtimes=no
7709 export_dynamic_flag_spec=
7710 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7711 hardcode_automatic=no
7712 hardcode_direct=no
7713 hardcode_direct_absolute=no
7714 hardcode_libdir_flag_spec=
7715 hardcode_libdir_flag_spec_ld=
7716 hardcode_libdir_separator=
7717 hardcode_minus_L=no
7718 hardcode_shlibpath_var=unsupported
7719 inherit_rpath=no
7720 link_all_deplibs=unknown
7721 module_cmds=
7722 module_expsym_cmds=
7723 old_archive_from_new_cmds=
7724 old_archive_from_expsyms_cmds=
7725 thread_safe_flag_spec=
7726 whole_archive_flag_spec=
7727 # include_expsyms should be a list of space-separated symbols to be *always*
7728 # included in the symbol list
7729 include_expsyms=
7730 # exclude_expsyms can be an extended regexp of symbols to exclude
7731 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7732 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7733 # as well as any symbol that contains `d'.
7734 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7735 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7736 # platforms (ab)use it in PIC code, but their linkers get confused if
7737 # the symbol is explicitly referenced. Since portable code cannot
7738 # rely on this symbol name, it's probably fine to never include it in
7739 # preloaded symbol tables.
7740 extract_expsyms_cmds=
7742 case $host_os in
7743 cygwin* | mingw* | pw32*)
7744 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7745 # When not using gcc, we currently assume that we are using
7746 # Microsoft Visual C++.
7747 if test "$GCC" != yes; then
7748 with_gnu_ld=no
7751 interix*)
7752 # we just hope/assume this is gcc and not c89 (= MSVC++)
7753 with_gnu_ld=yes
7755 openbsd*)
7756 with_gnu_ld=no
7758 esac
7760 ld_shlibs=yes
7761 if test "$with_gnu_ld" = yes; then
7762 # If archive_cmds runs LD, not CC, wlarc should be empty
7763 wlarc='${wl}'
7765 # Set some defaults for GNU ld with shared library support. These
7766 # are reset later if shared libraries are not supported. Putting them
7767 # here allows them to be overridden if necessary.
7768 runpath_var=LD_RUN_PATH
7769 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7770 export_dynamic_flag_spec='${wl}--export-dynamic'
7771 # ancient GNU ld didn't support --whole-archive et. al.
7772 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7773 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7774 else
7775 whole_archive_flag_spec=
7777 supports_anon_versioning=no
7778 case `$LD -v 2>&1` in
7779 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7780 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7781 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7782 *\ 2.11.*) ;; # other 2.11 versions
7783 *) supports_anon_versioning=yes ;;
7784 esac
7786 # See if GNU ld supports shared libraries.
7787 case $host_os in
7788 aix3* | aix4* | aix5*)
7789 # On AIX/PPC, the GNU linker is very broken
7790 if test "$host_cpu" != ia64; then
7791 ld_shlibs=no
7792 cat <<_LT_EOF 1>&2
7794 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7795 *** to be unable to reliably create shared libraries on AIX.
7796 *** Therefore, libtool is disabling shared libraries support. If you
7797 *** really care for shared libraries, you may want to modify your PATH
7798 *** so that a non-GNU linker is found, and then restart.
7800 _LT_EOF
7804 amigaos*)
7805 if test "$host_cpu" = m68k; then
7806 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7807 hardcode_libdir_flag_spec='-L$libdir'
7808 hardcode_minus_L=yes
7811 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7812 # that the semantics of dynamic libraries on AmigaOS, at least up
7813 # to version 4, is to share data among multiple programs linked
7814 # with the same dynamic library. Since this doesn't match the
7815 # behavior of shared libraries on other platforms, we can't use
7816 # them.
7817 ld_shlibs=no
7820 beos*)
7821 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7822 allow_undefined_flag=unsupported
7823 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7824 # support --undefined. This deserves some investigation. FIXME
7825 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7826 else
7827 ld_shlibs=no
7831 cygwin* | mingw* | pw32*)
7832 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7833 # as there is no search path for DLLs.
7834 hardcode_libdir_flag_spec='-L$libdir'
7835 allow_undefined_flag=unsupported
7836 always_export_symbols=no
7837 enable_shared_with_static_runtimes=yes
7838 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7840 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7841 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7842 # If the export-symbols file already is a .def file (1st line
7843 # is EXPORTS), use it as is; otherwise, prepend...
7844 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7845 cp $export_symbols $output_objdir/$soname.def;
7846 else
7847 echo EXPORTS > $output_objdir/$soname.def;
7848 cat $export_symbols >> $output_objdir/$soname.def;
7850 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7851 else
7852 ld_shlibs=no
7856 interix[3-9]*)
7857 hardcode_direct=no
7858 hardcode_shlibpath_var=no
7859 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7860 export_dynamic_flag_spec='${wl}-E'
7861 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7862 # Instead, shared libraries are loaded at an image base (0x10000000 by
7863 # default) and relocated if they conflict, which is a slow very memory
7864 # consuming and fragmenting process. To avoid this, we pick a random,
7865 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7866 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7867 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7868 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7871 gnu* | linux* | tpf* | k*bsd*-gnu)
7872 tmp_diet=no
7873 if test "$host_os" = linux-dietlibc; then
7874 case $cc_basename in
7875 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7876 esac
7878 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7879 && test "$tmp_diet" = no
7880 then
7881 tmp_addflag=
7882 case $cc_basename,$host_cpu in
7883 pgcc*) # Portland Group C compiler
7884 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7885 tmp_addflag=' $pic_flag'
7887 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7888 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7889 tmp_addflag=' $pic_flag -Mnomain' ;;
7890 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7891 tmp_addflag=' -i_dynamic' ;;
7892 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7893 tmp_addflag=' -i_dynamic -nofor_main' ;;
7894 ifc* | ifort*) # Intel Fortran compiler
7895 tmp_addflag=' -nofor_main' ;;
7896 esac
7897 case `$CC -V 2>&1 | sed 5q` in
7898 *Sun\ C*) # Sun C 5.9
7899 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7900 compiler_needs_object=yes
7901 tmp_sharedflag='-G' ;;
7902 *Sun\ F*) # Sun Fortran 8.3
7903 tmp_sharedflag='-G' ;;
7905 tmp_sharedflag='-shared' ;;
7906 esac
7907 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7909 if test "x$supports_anon_versioning" = xyes; then
7910 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7911 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7912 echo "local: *; };" >> $output_objdir/$libname.ver~
7913 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7915 else
7916 ld_shlibs=no
7920 netbsd*)
7921 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7922 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7923 wlarc=
7924 else
7925 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7926 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7930 solaris*)
7931 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7932 ld_shlibs=no
7933 cat <<_LT_EOF 1>&2
7935 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7936 *** create shared libraries on Solaris systems. Therefore, libtool
7937 *** is disabling shared libraries support. We urge you to upgrade GNU
7938 *** binutils to release 2.9.1 or newer. Another option is to modify
7939 *** your PATH or compiler configuration so that the native linker is
7940 *** used, and then restart.
7942 _LT_EOF
7943 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7944 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7945 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7946 else
7947 ld_shlibs=no
7951 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7952 case `$LD -v 2>&1` in
7953 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7954 ld_shlibs=no
7955 cat <<_LT_EOF 1>&2
7957 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7958 *** reliably create shared libraries on SCO systems. Therefore, libtool
7959 *** is disabling shared libraries support. We urge you to upgrade GNU
7960 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7961 *** your PATH or compiler configuration so that the native linker is
7962 *** used, and then restart.
7964 _LT_EOF
7967 # For security reasons, it is highly recommended that you always
7968 # use absolute paths for naming shared libraries, and exclude the
7969 # DT_RUNPATH tag from executables and libraries. But doing so
7970 # requires that you compile everything twice, which is a pain.
7971 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7972 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7973 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7974 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7975 else
7976 ld_shlibs=no
7979 esac
7982 sunos4*)
7983 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7984 wlarc=
7985 hardcode_direct=yes
7986 hardcode_shlibpath_var=no
7990 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7991 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7992 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7993 else
7994 ld_shlibs=no
7997 esac
7999 if test "$ld_shlibs" = no; then
8000 runpath_var=
8001 hardcode_libdir_flag_spec=
8002 export_dynamic_flag_spec=
8003 whole_archive_flag_spec=
8005 else
8006 # PORTME fill in a description of your system's linker (not GNU ld)
8007 case $host_os in
8008 aix3*)
8009 allow_undefined_flag=unsupported
8010 always_export_symbols=yes
8011 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8012 # Note: this linker hardcodes the directories in LIBPATH if there
8013 # are no directories specified by -L.
8014 hardcode_minus_L=yes
8015 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8016 # Neither direct hardcoding nor static linking is supported with a
8017 # broken collect2.
8018 hardcode_direct=unsupported
8022 aix4* | aix5*)
8023 if test "$host_cpu" = ia64; then
8024 # On IA64, the linker does run time linking by default, so we don't
8025 # have to do anything special.
8026 aix_use_runtimelinking=no
8027 exp_sym_flag='-Bexport'
8028 no_entry_flag=""
8029 else
8030 # If we're using GNU nm, then we don't want the "-C" option.
8031 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8032 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8033 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8034 else
8035 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8037 aix_use_runtimelinking=no
8039 # Test if we are trying to use run time linking or normal
8040 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8041 # need to do runtime linking.
8042 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8043 for ld_flag in $LDFLAGS; do
8044 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8045 aix_use_runtimelinking=yes
8046 break
8048 done
8050 esac
8052 exp_sym_flag='-bexport'
8053 no_entry_flag='-bnoentry'
8056 # When large executables or shared objects are built, AIX ld can
8057 # have problems creating the table of contents. If linking a library
8058 # or program results in "error TOC overflow" add -mminimal-toc to
8059 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8060 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8062 archive_cmds=''
8063 hardcode_direct=yes
8064 hardcode_direct_absolute=yes
8065 hardcode_libdir_separator=':'
8066 link_all_deplibs=yes
8067 file_list_spec='${wl}-f,'
8069 if test "$GCC" = yes; then
8070 case $host_os in aix4.[012]|aix4.[012].*)
8071 # We only want to do this on AIX 4.2 and lower, the check
8072 # below for broken collect2 doesn't work under 4.3+
8073 collect2name=`${CC} -print-prog-name=collect2`
8074 if test -f "$collect2name" &&
8075 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8076 then
8077 # We have reworked collect2
8079 else
8080 # We have old collect2
8081 hardcode_direct=unsupported
8082 # It fails to find uninstalled libraries when the uninstalled
8083 # path is not listed in the libpath. Setting hardcode_minus_L
8084 # to unsupported forces relinking
8085 hardcode_minus_L=yes
8086 hardcode_libdir_flag_spec='-L$libdir'
8087 hardcode_libdir_separator=
8090 esac
8091 shared_flag='-shared'
8092 if test "$aix_use_runtimelinking" = yes; then
8093 shared_flag="$shared_flag "'${wl}-G'
8095 else
8096 # not using gcc
8097 if test "$host_cpu" = ia64; then
8098 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8099 # chokes on -Wl,-G. The following line is correct:
8100 shared_flag='-G'
8101 else
8102 if test "$aix_use_runtimelinking" = yes; then
8103 shared_flag='${wl}-G'
8104 else
8105 shared_flag='${wl}-bM:SRE'
8110 # It seems that -bexpall does not export symbols beginning with
8111 # underscore (_), so it is better to generate a list of symbols to export.
8112 always_export_symbols=yes
8113 if test "$aix_use_runtimelinking" = yes; then
8114 # Warning - without using the other runtime loading flags (-brtl),
8115 # -berok will link without error, but may produce a broken library.
8116 allow_undefined_flag='-berok'
8117 # Determine the default libpath from the value encoded in an
8118 # empty executable.
8119 if test x$gcc_no_link = xyes; then
8120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8122 { (exit 1); exit 1; }; }
8124 cat >conftest.$ac_ext <<_ACEOF
8125 /* confdefs.h. */
8126 _ACEOF
8127 cat confdefs.h >>conftest.$ac_ext
8128 cat >>conftest.$ac_ext <<_ACEOF
8129 /* end confdefs.h. */
8132 main ()
8136 return 0;
8138 _ACEOF
8139 rm -f conftest.$ac_objext conftest$ac_exeext
8140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8141 (eval $ac_link) 2>conftest.er1
8142 ac_status=$?
8143 grep -v '^ *+' conftest.er1 >conftest.err
8144 rm -f conftest.er1
8145 cat conftest.err >&5
8146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147 (exit $ac_status); } &&
8148 { ac_try='test -z "$ac_c_werror_flag"
8149 || test ! -s conftest.err'
8150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8151 (eval $ac_try) 2>&5
8152 ac_status=$?
8153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 (exit $ac_status); }; } &&
8155 { ac_try='test -s conftest$ac_exeext'
8156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8157 (eval $ac_try) 2>&5
8158 ac_status=$?
8159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8160 (exit $ac_status); }; }; then
8162 lt_aix_libpath_sed='
8163 /Import File Strings/,/^$/ {
8164 /^0/ {
8165 s/^0 *\(.*\)$/\1/
8169 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8170 # Check for a 64-bit object if we didn't find anything.
8171 if test -z "$aix_libpath"; then
8172 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8174 else
8175 echo "$as_me: failed program was:" >&5
8176 sed 's/^/| /' conftest.$ac_ext >&5
8179 rm -f conftest.err conftest.$ac_objext \
8180 conftest$ac_exeext conftest.$ac_ext
8181 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8183 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8184 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8185 else
8186 if test "$host_cpu" = ia64; then
8187 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8188 allow_undefined_flag="-z nodefs"
8189 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8190 else
8191 # Determine the default libpath from the value encoded in an
8192 # empty executable.
8193 if test x$gcc_no_link = xyes; then
8194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8196 { (exit 1); exit 1; }; }
8198 cat >conftest.$ac_ext <<_ACEOF
8199 /* confdefs.h. */
8200 _ACEOF
8201 cat confdefs.h >>conftest.$ac_ext
8202 cat >>conftest.$ac_ext <<_ACEOF
8203 /* end confdefs.h. */
8206 main ()
8210 return 0;
8212 _ACEOF
8213 rm -f conftest.$ac_objext conftest$ac_exeext
8214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8215 (eval $ac_link) 2>conftest.er1
8216 ac_status=$?
8217 grep -v '^ *+' conftest.er1 >conftest.err
8218 rm -f conftest.er1
8219 cat conftest.err >&5
8220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221 (exit $ac_status); } &&
8222 { ac_try='test -z "$ac_c_werror_flag"
8223 || test ! -s conftest.err'
8224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8225 (eval $ac_try) 2>&5
8226 ac_status=$?
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); }; } &&
8229 { ac_try='test -s conftest$ac_exeext'
8230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8231 (eval $ac_try) 2>&5
8232 ac_status=$?
8233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8234 (exit $ac_status); }; }; then
8236 lt_aix_libpath_sed='
8237 /Import File Strings/,/^$/ {
8238 /^0/ {
8239 s/^0 *\(.*\)$/\1/
8243 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8244 # Check for a 64-bit object if we didn't find anything.
8245 if test -z "$aix_libpath"; then
8246 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8248 else
8249 echo "$as_me: failed program was:" >&5
8250 sed 's/^/| /' conftest.$ac_ext >&5
8253 rm -f conftest.err conftest.$ac_objext \
8254 conftest$ac_exeext conftest.$ac_ext
8255 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8257 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8258 # Warning - without using the other run time loading flags,
8259 # -berok will link without error, but may produce a broken library.
8260 no_undefined_flag=' ${wl}-bernotok'
8261 allow_undefined_flag=' ${wl}-berok'
8262 # Exported symbols can be pulled into shared objects from archives
8263 whole_archive_flag_spec='$convenience'
8264 archive_cmds_need_lc=yes
8265 # This is similar to how AIX traditionally builds its shared libraries.
8266 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8271 amigaos*)
8272 if test "$host_cpu" = m68k; then
8273 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8274 hardcode_libdir_flag_spec='-L$libdir'
8275 hardcode_minus_L=yes
8277 # see comment about different semantics on the GNU ld section
8278 ld_shlibs=no
8281 bsdi[45]*)
8282 export_dynamic_flag_spec=-rdynamic
8285 cygwin* | mingw* | pw32*)
8286 # When not using gcc, we currently assume that we are using
8287 # Microsoft Visual C++.
8288 # hardcode_libdir_flag_spec is actually meaningless, as there is
8289 # no search path for DLLs.
8290 hardcode_libdir_flag_spec=' '
8291 allow_undefined_flag=unsupported
8292 # Tell ltmain to make .lib files, not .a files.
8293 libext=lib
8294 # Tell ltmain to make .dll files, not .so files.
8295 shrext_cmds=".dll"
8296 # FIXME: Setting linknames here is a bad hack.
8297 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8298 # The linker will automatically build a .lib file if we build a DLL.
8299 old_archive_from_new_cmds='true'
8300 # FIXME: Should let the user specify the lib program.
8301 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8302 fix_srcfile_path='`cygpath -w "$srcfile"`'
8303 enable_shared_with_static_runtimes=yes
8306 darwin* | rhapsody*)
8307 case $host_os in
8308 rhapsody* | darwin1.[012])
8309 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8311 *) # Darwin 1.3 on
8312 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8313 10.[012])
8314 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8316 10.*)
8317 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8319 esac
8321 esac
8322 archive_cmds_need_lc=no
8323 hardcode_direct=no
8324 hardcode_automatic=yes
8325 hardcode_shlibpath_var=unsupported
8326 whole_archive_flag_spec=''
8327 link_all_deplibs=yes
8328 if test "$GCC" = yes ; then
8329 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8330 echo $ECHO_N "(cached) $ECHO_C" >&6
8331 else
8332 lt_cv_apple_cc_single_mod=no
8333 if test -z "${LT_MULTI_MODULE}"; then
8334 # By default we will add the -single_module flag. You can override
8335 # by either setting the environment variable LT_MULTI_MODULE
8336 # non-empty at configure time, or by adding -multi-module to the
8337 # link flags.
8338 echo "int foo(void){return 1;}" > conftest.c
8339 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8340 -dynamiclib ${wl}-single_module conftest.c
8341 if test -f libconftest.dylib; then
8342 lt_cv_apple_cc_single_mod=yes
8343 rm libconftest.dylib
8345 rm conftest.$ac_ext
8349 output_verbose_link_cmd=echo
8350 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8351 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8352 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8353 else
8354 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8355 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8357 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8358 module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8359 else
8360 case $cc_basename in
8361 xlc*)
8362 output_verbose_link_cmd=echo
8363 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8364 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8365 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8366 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8367 module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8370 ld_shlibs=no
8372 esac
8376 dgux*)
8377 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8378 hardcode_libdir_flag_spec='-L$libdir'
8379 hardcode_shlibpath_var=no
8382 freebsd1*)
8383 ld_shlibs=no
8386 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8387 # support. Future versions do this automatically, but an explicit c++rt0.o
8388 # does not break anything, and helps significantly (at the cost of a little
8389 # extra space).
8390 freebsd2.2*)
8391 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8392 hardcode_libdir_flag_spec='-R$libdir'
8393 hardcode_direct=yes
8394 hardcode_shlibpath_var=no
8397 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8398 freebsd2*)
8399 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8400 hardcode_direct=yes
8401 hardcode_minus_L=yes
8402 hardcode_shlibpath_var=no
8405 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8406 freebsd* | dragonfly*)
8407 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8408 hardcode_libdir_flag_spec='-R$libdir'
8409 hardcode_direct=yes
8410 hardcode_shlibpath_var=no
8413 hpux9*)
8414 if test "$GCC" = yes; then
8415 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8416 else
8417 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8419 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8420 hardcode_libdir_separator=:
8421 hardcode_direct=yes
8423 # hardcode_minus_L: Not really in the search PATH,
8424 # but as the default location of the library.
8425 hardcode_minus_L=yes
8426 export_dynamic_flag_spec='${wl}-E'
8429 hpux10*)
8430 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8431 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8432 else
8433 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8435 if test "$with_gnu_ld" = no; then
8436 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8437 hardcode_libdir_flag_spec_ld='+b $libdir'
8438 hardcode_libdir_separator=:
8439 hardcode_direct=yes
8440 hardcode_direct_absolute=yes
8441 export_dynamic_flag_spec='${wl}-E'
8442 # hardcode_minus_L: Not really in the search PATH,
8443 # but as the default location of the library.
8444 hardcode_minus_L=yes
8448 hpux11*)
8449 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8450 case $host_cpu in
8451 hppa*64*)
8452 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8454 ia64*)
8455 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8458 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8460 esac
8461 else
8462 case $host_cpu in
8463 hppa*64*)
8464 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8466 ia64*)
8467 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8470 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8472 esac
8474 if test "$with_gnu_ld" = no; then
8475 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8476 hardcode_libdir_separator=:
8478 case $host_cpu in
8479 hppa*64*|ia64*)
8480 hardcode_direct=no
8481 hardcode_shlibpath_var=no
8484 hardcode_direct=yes
8485 hardcode_direct_absolute=yes
8486 export_dynamic_flag_spec='${wl}-E'
8488 # hardcode_minus_L: Not really in the search PATH,
8489 # but as the default location of the library.
8490 hardcode_minus_L=yes
8492 esac
8496 irix5* | irix6* | nonstopux*)
8497 if test "$GCC" = yes; then
8498 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8499 # Try to use the -exported_symbol ld option, if it does not
8500 # work, assume that -exports_file does not work either and
8501 # implicitly export all symbols.
8502 save_LDFLAGS="$LDFLAGS"
8503 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8504 if test x$gcc_no_link = xyes; then
8505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8507 { (exit 1); exit 1; }; }
8509 cat >conftest.$ac_ext <<_ACEOF
8510 int foo(void) {}
8511 _ACEOF
8512 rm -f conftest.$ac_objext conftest$ac_exeext
8513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8514 (eval $ac_link) 2>conftest.er1
8515 ac_status=$?
8516 grep -v '^ *+' conftest.er1 >conftest.err
8517 rm -f conftest.er1
8518 cat conftest.err >&5
8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8520 (exit $ac_status); } &&
8521 { ac_try='test -z "$ac_c_werror_flag"
8522 || test ! -s conftest.err'
8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8524 (eval $ac_try) 2>&5
8525 ac_status=$?
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); }; } &&
8528 { ac_try='test -s conftest$ac_exeext'
8529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8530 (eval $ac_try) 2>&5
8531 ac_status=$?
8532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8533 (exit $ac_status); }; }; then
8534 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8536 else
8537 echo "$as_me: failed program was:" >&5
8538 sed 's/^/| /' conftest.$ac_ext >&5
8541 rm -f conftest.err conftest.$ac_objext \
8542 conftest$ac_exeext conftest.$ac_ext
8543 LDFLAGS="$save_LDFLAGS"
8544 else
8545 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8546 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8548 archive_cmds_need_lc='no'
8549 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8550 hardcode_libdir_separator=:
8551 inherit_rpath=yes
8552 link_all_deplibs=yes
8555 netbsd*)
8556 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8557 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8558 else
8559 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8561 hardcode_libdir_flag_spec='-R$libdir'
8562 hardcode_direct=yes
8563 hardcode_shlibpath_var=no
8566 newsos6)
8567 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8568 hardcode_direct=yes
8569 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8570 hardcode_libdir_separator=:
8571 hardcode_shlibpath_var=no
8574 *nto* | *qnx*)
8577 openbsd*)
8578 hardcode_direct=yes
8579 hardcode_shlibpath_var=no
8580 hardcode_direct_absolute=yes
8581 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8582 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8583 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8584 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8585 export_dynamic_flag_spec='${wl}-E'
8586 else
8587 case $host_os in
8588 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8589 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8590 hardcode_libdir_flag_spec='-R$libdir'
8593 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8594 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8596 esac
8600 os2*)
8601 hardcode_libdir_flag_spec='-L$libdir'
8602 hardcode_minus_L=yes
8603 allow_undefined_flag=unsupported
8604 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8605 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8608 osf3*)
8609 if test "$GCC" = yes; then
8610 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8611 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8612 else
8613 allow_undefined_flag=' -expect_unresolved \*'
8614 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8616 archive_cmds_need_lc='no'
8617 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8618 hardcode_libdir_separator=:
8621 osf4* | osf5*) # as osf3* with the addition of -msym flag
8622 if test "$GCC" = yes; then
8623 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8624 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8625 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8626 else
8627 allow_undefined_flag=' -expect_unresolved \*'
8628 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8629 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8630 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8632 # Both c and cxx compiler support -rpath directly
8633 hardcode_libdir_flag_spec='-rpath $libdir'
8635 archive_cmds_need_lc='no'
8636 hardcode_libdir_separator=:
8639 solaris*)
8640 no_undefined_flag=' -z defs'
8641 if test "$GCC" = yes; then
8642 wlarc='${wl}'
8643 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8644 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8645 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8646 else
8647 case `$CC -V 2>&1` in
8648 *"Compilers 5.0"*)
8649 wlarc=''
8650 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8651 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8652 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8655 wlarc='${wl}'
8656 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8657 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8658 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8660 esac
8662 hardcode_libdir_flag_spec='-R$libdir'
8663 hardcode_shlibpath_var=no
8664 case $host_os in
8665 solaris2.[0-5] | solaris2.[0-5].*) ;;
8667 # The compiler driver will combine and reorder linker options,
8668 # but understands `-z linker_flag'. GCC discards it without `$wl',
8669 # but is careful enough not to reorder.
8670 # Supported since Solaris 2.6 (maybe 2.5.1?)
8671 if test "$GCC" = yes; then
8672 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8673 else
8674 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8677 esac
8678 link_all_deplibs=yes
8681 sunos4*)
8682 if test "x$host_vendor" = xsequent; then
8683 # Use $CC to link under sequent, because it throws in some extra .o
8684 # files that make .init and .fini sections work.
8685 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8686 else
8687 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8689 hardcode_libdir_flag_spec='-L$libdir'
8690 hardcode_direct=yes
8691 hardcode_minus_L=yes
8692 hardcode_shlibpath_var=no
8695 sysv4)
8696 case $host_vendor in
8697 sni)
8698 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8699 hardcode_direct=yes # is this really true???
8701 siemens)
8702 ## LD is ld it makes a PLAMLIB
8703 ## CC just makes a GrossModule.
8704 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8705 reload_cmds='$CC -r -o $output$reload_objs'
8706 hardcode_direct=no
8708 motorola)
8709 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8710 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8712 esac
8713 runpath_var='LD_RUN_PATH'
8714 hardcode_shlibpath_var=no
8717 sysv4.3*)
8718 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8719 hardcode_shlibpath_var=no
8720 export_dynamic_flag_spec='-Bexport'
8723 sysv4*MP*)
8724 if test -d /usr/nec; then
8725 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8726 hardcode_shlibpath_var=no
8727 runpath_var=LD_RUN_PATH
8728 hardcode_runpath_var=yes
8729 ld_shlibs=yes
8733 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8734 no_undefined_flag='${wl}-z,text'
8735 archive_cmds_need_lc=no
8736 hardcode_shlibpath_var=no
8737 runpath_var='LD_RUN_PATH'
8739 if test "$GCC" = yes; then
8740 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8741 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8742 else
8743 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8744 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8748 sysv5* | sco3.2v5* | sco5v6*)
8749 # Note: We can NOT use -z defs as we might desire, because we do not
8750 # link with -lc, and that would cause any symbols used from libc to
8751 # always be unresolved, which means just about no library would
8752 # ever link correctly. If we're not using GNU ld we use -z text
8753 # though, which does catch some bad symbols but isn't as heavy-handed
8754 # as -z defs.
8755 no_undefined_flag='${wl}-z,text'
8756 allow_undefined_flag='${wl}-z,nodefs'
8757 archive_cmds_need_lc=no
8758 hardcode_shlibpath_var=no
8759 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8760 hardcode_libdir_separator=':'
8761 link_all_deplibs=yes
8762 export_dynamic_flag_spec='${wl}-Bexport'
8763 runpath_var='LD_RUN_PATH'
8765 if test "$GCC" = yes; then
8766 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8767 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8768 else
8769 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8770 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8774 uts4*)
8775 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8776 hardcode_libdir_flag_spec='-L$libdir'
8777 hardcode_shlibpath_var=no
8781 ld_shlibs=no
8783 esac
8785 if test x$host_vendor = xsni; then
8786 case $host in
8787 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8788 export_dynamic_flag_spec='${wl}-Blargedynsym'
8790 esac
8794 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8795 echo "${ECHO_T}$ld_shlibs" >&6
8796 test "$ld_shlibs" = no && can_build_shared=no
8798 with_gnu_ld=$with_gnu_ld
8815 # Do we need to explicitly link libc?
8817 case "x$archive_cmds_need_lc" in
8818 x|xyes)
8819 # Assume -lc should be added
8820 archive_cmds_need_lc=yes
8822 if test "$enable_shared" = yes && test "$GCC" = yes; then
8823 case $archive_cmds in
8824 *'~'*)
8825 # FIXME: we may have to deal with multi-command sequences.
8827 '$CC '*)
8828 # Test whether the compiler implicitly links with -lc since on some
8829 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8830 # to ld, don't add -lc before -lgcc.
8831 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8832 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8833 $RM conftest*
8834 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8837 (eval $ac_compile) 2>&5
8838 ac_status=$?
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 (exit $ac_status); } 2>conftest.err; then
8841 soname=conftest
8842 lib=conftest
8843 libobjs=conftest.$ac_objext
8844 deplibs=
8845 wl=$lt_prog_compiler_wl
8846 pic_flag=$lt_prog_compiler_pic
8847 compiler_flags=-v
8848 linker_flags=-v
8849 verstring=
8850 output_objdir=.
8851 libname=conftest
8852 lt_save_allow_undefined_flag=$allow_undefined_flag
8853 allow_undefined_flag=
8854 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8855 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8856 ac_status=$?
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); }
8859 then
8860 archive_cmds_need_lc=no
8861 else
8862 archive_cmds_need_lc=yes
8864 allow_undefined_flag=$lt_save_allow_undefined_flag
8865 else
8866 cat conftest.err 1>&5
8868 $RM conftest*
8869 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8870 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8872 esac
8875 esac
9033 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9034 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9035 withGCC=$GCC
9036 if test "$withGCC" = yes; then
9037 case $host_os in
9038 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9039 *) lt_awk_arg="/^libraries:/" ;;
9040 esac
9041 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9042 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9043 # if the path contains ";" then we assume it to be the separator
9044 # otherwise default to the standard path separator (i.e. ":") - it is
9045 # assumed that no part of a normal pathname contains ";" but that should
9046 # okay in the real world where ";" in dirpaths is itself problematic.
9047 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9048 else
9049 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9051 # Ok, now we have the path, separated by spaces, we can step through it
9052 # and add multilib dir if necessary.
9053 lt_tmp_lt_search_path_spec=
9054 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9055 for lt_sys_path in $lt_search_path_spec; do
9056 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9057 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9058 else
9059 test -d "$lt_sys_path" && \
9060 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9062 done
9063 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9064 BEGIN {RS=" "; FS="/|\n";} {
9065 lt_foo="";
9066 lt_count=0;
9067 for (lt_i = NF; lt_i > 0; lt_i--) {
9068 if ($lt_i != "" && $lt_i != ".") {
9069 if ($lt_i == "..") {
9070 lt_count++;
9071 } else {
9072 if (lt_count == 0) {
9073 lt_foo="/" $lt_i lt_foo;
9074 } else {
9075 lt_count--;
9080 if (lt_foo != "") { lt_freq[lt_foo]++; }
9081 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9083 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9084 else
9085 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9087 library_names_spec=
9088 libname_spec='lib$name'
9089 soname_spec=
9090 shrext_cmds=".so"
9091 postinstall_cmds=
9092 postuninstall_cmds=
9093 finish_cmds=
9094 finish_eval=
9095 shlibpath_var=
9096 shlibpath_overrides_runpath=unknown
9097 version_type=none
9098 dynamic_linker="$host_os ld.so"
9099 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9100 need_lib_prefix=unknown
9101 hardcode_into_libs=no
9103 # when you set need_version to no, make sure it does not cause -set_version
9104 # flags to be left without arguments
9105 need_version=unknown
9107 case $host_os in
9108 aix3*)
9109 version_type=linux
9110 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9111 shlibpath_var=LIBPATH
9113 # AIX 3 has no versioning support, so we append a major version to the name.
9114 soname_spec='${libname}${release}${shared_ext}$major'
9117 aix4* | aix5*)
9118 version_type=linux
9119 need_lib_prefix=no
9120 need_version=no
9121 hardcode_into_libs=yes
9122 if test "$host_cpu" = ia64; then
9123 # AIX 5 supports IA64
9124 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9125 shlibpath_var=LD_LIBRARY_PATH
9126 else
9127 # With GCC up to 2.95.x, collect2 would create an import file
9128 # for dependence libraries. The import file would start with
9129 # the line `#! .'. This would cause the generated library to
9130 # depend on `.', always an invalid library. This was fixed in
9131 # development snapshots of GCC prior to 3.0.
9132 case $host_os in
9133 aix4 | aix4.[01] | aix4.[01].*)
9134 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9135 echo ' yes '
9136 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9138 else
9139 can_build_shared=no
9142 esac
9143 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9144 # soname into executable. Probably we can add versioning support to
9145 # collect2, so additional links can be useful in future.
9146 if test "$aix_use_runtimelinking" = yes; then
9147 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9148 # instead of lib<name>.a to let people know that these are not
9149 # typical AIX shared libraries.
9150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9151 else
9152 # We preserve .a as extension for shared libraries through AIX4.2
9153 # and later when we are not doing run time linking.
9154 library_names_spec='${libname}${release}.a $libname.a'
9155 soname_spec='${libname}${release}${shared_ext}$major'
9157 shlibpath_var=LIBPATH
9161 amigaos*)
9162 if test "$host_cpu" = m68k; then
9163 library_names_spec='$libname.ixlibrary $libname.a'
9164 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9165 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9166 else
9167 dynamic_linker=no
9171 beos*)
9172 library_names_spec='${libname}${shared_ext}'
9173 dynamic_linker="$host_os ld.so"
9174 shlibpath_var=LIBRARY_PATH
9177 bsdi[45]*)
9178 version_type=linux
9179 need_version=no
9180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9181 soname_spec='${libname}${release}${shared_ext}$major'
9182 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9183 shlibpath_var=LD_LIBRARY_PATH
9184 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9185 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9186 # the default ld.so.conf also contains /usr/contrib/lib and
9187 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9188 # libtool to hard-code these into programs
9191 cygwin* | mingw* | pw32*)
9192 version_type=windows
9193 shrext_cmds=".dll"
9194 need_version=no
9195 need_lib_prefix=no
9197 case $withGCC,$host_os in
9198 yes,cygwin* | yes,mingw* | yes,pw32*)
9199 library_names_spec='$libname.dll.a'
9200 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9201 postinstall_cmds='base_file=`basename \${file}`~
9202 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9203 dldir=$destdir/`dirname \$dlpath`~
9204 test -d \$dldir || mkdir -p \$dldir~
9205 $install_prog $dir/$dlname \$dldir/$dlname~
9206 chmod a+x \$dldir/$dlname~
9207 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9208 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9210 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9211 dlpath=$dir/\$dldll~
9212 $RM \$dlpath'
9213 shlibpath_overrides_runpath=yes
9215 case $host_os in
9216 cygwin*)
9217 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9218 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9219 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9221 mingw*)
9222 # MinGW DLLs use traditional 'lib' prefix
9223 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9224 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9225 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9226 # It is most probably a Windows format PATH printed by
9227 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9228 # path with ; separators, and with drive letters. We can handle the
9229 # drive letters (cygwin fileutils understands them), so leave them,
9230 # especially as we might pass files found there to a mingw objdump,
9231 # which wouldn't understand a cygwinified path. Ahh.
9232 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9233 else
9234 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9237 pw32*)
9238 # pw32 DLLs use 'pw' prefix rather than 'lib'
9239 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9241 esac
9245 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9247 esac
9248 dynamic_linker='Win32 ld.exe'
9249 # FIXME: first we should search . and the directory the executable is in
9250 shlibpath_var=PATH
9253 darwin* | rhapsody*)
9254 dynamic_linker="$host_os dyld"
9255 version_type=darwin
9256 need_lib_prefix=no
9257 need_version=no
9258 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9259 soname_spec='${libname}${release}${major}$shared_ext'
9260 shlibpath_overrides_runpath=yes
9261 shlibpath_var=DYLD_LIBRARY_PATH
9262 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9264 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9265 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9268 dgux*)
9269 version_type=linux
9270 need_lib_prefix=no
9271 need_version=no
9272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9273 soname_spec='${libname}${release}${shared_ext}$major'
9274 shlibpath_var=LD_LIBRARY_PATH
9277 freebsd1*)
9278 dynamic_linker=no
9281 freebsd* | dragonfly*)
9282 # DragonFly does not have aout. When/if they implement a new
9283 # versioning mechanism, adjust this.
9284 if test -x /usr/bin/objformat; then
9285 objformat=`/usr/bin/objformat`
9286 else
9287 case $host_os in
9288 freebsd[123]*) objformat=aout ;;
9289 *) objformat=elf ;;
9290 esac
9292 version_type=freebsd-$objformat
9293 case $version_type in
9294 freebsd-elf*)
9295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9296 need_version=no
9297 need_lib_prefix=no
9299 freebsd-*)
9300 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9301 need_version=yes
9303 esac
9304 shlibpath_var=LD_LIBRARY_PATH
9305 case $host_os in
9306 freebsd2*)
9307 shlibpath_overrides_runpath=yes
9309 freebsd3.[01]* | freebsdelf3.[01]*)
9310 shlibpath_overrides_runpath=yes
9311 hardcode_into_libs=yes
9313 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9314 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9315 shlibpath_overrides_runpath=no
9316 hardcode_into_libs=yes
9318 *) # from 4.6 on, and DragonFly
9319 shlibpath_overrides_runpath=yes
9320 hardcode_into_libs=yes
9322 esac
9325 gnu*)
9326 version_type=linux
9327 need_lib_prefix=no
9328 need_version=no
9329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9330 soname_spec='${libname}${release}${shared_ext}$major'
9331 shlibpath_var=LD_LIBRARY_PATH
9332 hardcode_into_libs=yes
9335 hpux9* | hpux10* | hpux11*)
9336 # Give a soname corresponding to the major version so that dld.sl refuses to
9337 # link against other versions.
9338 version_type=sunos
9339 need_lib_prefix=no
9340 need_version=no
9341 case $host_cpu in
9342 ia64*)
9343 shrext_cmds='.so'
9344 hardcode_into_libs=yes
9345 dynamic_linker="$host_os dld.so"
9346 shlibpath_var=LD_LIBRARY_PATH
9347 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9349 soname_spec='${libname}${release}${shared_ext}$major'
9350 if test "X$HPUX_IA64_MODE" = X32; then
9351 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9352 else
9353 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9355 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9357 hppa*64*)
9358 shrext_cmds='.sl'
9359 hardcode_into_libs=yes
9360 dynamic_linker="$host_os dld.sl"
9361 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9362 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9364 soname_spec='${libname}${release}${shared_ext}$major'
9365 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9366 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9369 shrext_cmds='.sl'
9370 dynamic_linker="$host_os dld.sl"
9371 shlibpath_var=SHLIB_PATH
9372 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9374 soname_spec='${libname}${release}${shared_ext}$major'
9376 esac
9377 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9378 postinstall_cmds='chmod 555 $lib'
9381 interix[3-9]*)
9382 version_type=linux
9383 need_lib_prefix=no
9384 need_version=no
9385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9386 soname_spec='${libname}${release}${shared_ext}$major'
9387 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9388 shlibpath_var=LD_LIBRARY_PATH
9389 shlibpath_overrides_runpath=no
9390 hardcode_into_libs=yes
9393 irix5* | irix6* | nonstopux*)
9394 case $host_os in
9395 nonstopux*) version_type=nonstopux ;;
9397 if test "$lt_cv_prog_gnu_ld" = yes; then
9398 version_type=linux
9399 else
9400 version_type=irix
9401 fi ;;
9402 esac
9403 need_lib_prefix=no
9404 need_version=no
9405 soname_spec='${libname}${release}${shared_ext}$major'
9406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9407 case $host_os in
9408 irix5* | nonstopux*)
9409 libsuff= shlibsuff=
9412 case $LD in # libtool.m4 will add one of these switches to LD
9413 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9414 libsuff= shlibsuff= libmagic=32-bit;;
9415 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9416 libsuff=32 shlibsuff=N32 libmagic=N32;;
9417 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9418 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9419 *) libsuff= shlibsuff= libmagic=never-match;;
9420 esac
9422 esac
9423 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9424 shlibpath_overrides_runpath=no
9425 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9426 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9427 hardcode_into_libs=yes
9430 # No shared lib support for Linux oldld, aout, or coff.
9431 linux*oldld* | linux*aout* | linux*coff*)
9432 dynamic_linker=no
9435 # This must be Linux ELF.
9436 linux* | k*bsd*-gnu)
9437 version_type=linux
9438 need_lib_prefix=no
9439 need_version=no
9440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9441 soname_spec='${libname}${release}${shared_ext}$major'
9442 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9443 shlibpath_var=LD_LIBRARY_PATH
9444 shlibpath_overrides_runpath=no
9445 # Some binutils ld are patched to set DT_RUNPATH
9446 save_LDFLAGS=$LDFLAGS
9447 save_libdir=$libdir
9448 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9449 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9450 if test x$gcc_no_link = xyes; then
9451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9453 { (exit 1); exit 1; }; }
9455 cat >conftest.$ac_ext <<_ACEOF
9456 /* confdefs.h. */
9457 _ACEOF
9458 cat confdefs.h >>conftest.$ac_ext
9459 cat >>conftest.$ac_ext <<_ACEOF
9460 /* end confdefs.h. */
9463 main ()
9467 return 0;
9469 _ACEOF
9470 rm -f conftest.$ac_objext conftest$ac_exeext
9471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9472 (eval $ac_link) 2>conftest.er1
9473 ac_status=$?
9474 grep -v '^ *+' conftest.er1 >conftest.err
9475 rm -f conftest.er1
9476 cat conftest.err >&5
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); } &&
9479 { ac_try='test -z "$ac_c_werror_flag"
9480 || test ! -s conftest.err'
9481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9482 (eval $ac_try) 2>&5
9483 ac_status=$?
9484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9485 (exit $ac_status); }; } &&
9486 { ac_try='test -s conftest$ac_exeext'
9487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9488 (eval $ac_try) 2>&5
9489 ac_status=$?
9490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 (exit $ac_status); }; }; then
9492 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9493 shlibpath_overrides_runpath=yes
9496 else
9497 echo "$as_me: failed program was:" >&5
9498 sed 's/^/| /' conftest.$ac_ext >&5
9501 rm -f conftest.err conftest.$ac_objext \
9502 conftest$ac_exeext conftest.$ac_ext
9503 LDFLAGS=$save_LDFLAGS
9504 libdir=$save_libdir
9506 # This implies no fast_install, which is unacceptable.
9507 # Some rework will be needed to allow for fast_install
9508 # before this can be enabled.
9509 hardcode_into_libs=yes
9511 # Append ld.so.conf contents to the search path
9512 if test -f /etc/ld.so.conf; then
9513 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9514 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9517 # We used to test for /lib/ld.so.1 and disable shared libraries on
9518 # powerpc, because MkLinux only supported shared libraries with the
9519 # GNU dynamic linker. Since this was broken with cross compilers,
9520 # most powerpc-linux boxes support dynamic linking these days and
9521 # people can always --disable-shared, the test was removed, and we
9522 # assume the GNU/Linux dynamic linker is in use.
9523 dynamic_linker='GNU/Linux ld.so'
9526 netbsd*)
9527 version_type=sunos
9528 need_lib_prefix=no
9529 need_version=no
9530 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9532 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9533 dynamic_linker='NetBSD (a.out) ld.so'
9534 else
9535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9536 soname_spec='${libname}${release}${shared_ext}$major'
9537 dynamic_linker='NetBSD ld.elf_so'
9539 shlibpath_var=LD_LIBRARY_PATH
9540 shlibpath_overrides_runpath=yes
9541 hardcode_into_libs=yes
9544 newsos6)
9545 version_type=linux
9546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9547 shlibpath_var=LD_LIBRARY_PATH
9548 shlibpath_overrides_runpath=yes
9551 *nto* | *qnx*)
9552 version_type=qnx
9553 need_lib_prefix=no
9554 need_version=no
9555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9556 soname_spec='${libname}${release}${shared_ext}$major'
9557 shlibpath_var=LD_LIBRARY_PATH
9558 shlibpath_overrides_runpath=no
9559 hardcode_into_libs=yes
9560 dynamic_linker='ldqnx.so'
9563 openbsd*)
9564 version_type=sunos
9565 sys_lib_dlsearch_path_spec="/usr/lib"
9566 need_lib_prefix=no
9567 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9568 case $host_os in
9569 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9570 *) need_version=no ;;
9571 esac
9572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9573 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9574 shlibpath_var=LD_LIBRARY_PATH
9575 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9576 case $host_os in
9577 openbsd2.[89] | openbsd2.[89].*)
9578 shlibpath_overrides_runpath=no
9581 shlibpath_overrides_runpath=yes
9583 esac
9584 else
9585 shlibpath_overrides_runpath=yes
9589 os2*)
9590 libname_spec='$name'
9591 shrext_cmds=".dll"
9592 need_lib_prefix=no
9593 library_names_spec='$libname${shared_ext} $libname.a'
9594 dynamic_linker='OS/2 ld.exe'
9595 shlibpath_var=LIBPATH
9598 osf3* | osf4* | osf5*)
9599 version_type=osf
9600 need_lib_prefix=no
9601 need_version=no
9602 soname_spec='${libname}${release}${shared_ext}$major'
9603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9604 shlibpath_var=LD_LIBRARY_PATH
9605 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9606 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9609 rdos*)
9610 dynamic_linker=no
9613 solaris*)
9614 version_type=linux
9615 need_lib_prefix=no
9616 need_version=no
9617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9618 soname_spec='${libname}${release}${shared_ext}$major'
9619 shlibpath_var=LD_LIBRARY_PATH
9620 shlibpath_overrides_runpath=yes
9621 hardcode_into_libs=yes
9622 # ldd complains unless libraries are executable
9623 postinstall_cmds='chmod +x $lib'
9626 sunos4*)
9627 version_type=sunos
9628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9629 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9630 shlibpath_var=LD_LIBRARY_PATH
9631 shlibpath_overrides_runpath=yes
9632 if test "$with_gnu_ld" = yes; then
9633 need_lib_prefix=no
9635 need_version=yes
9638 sysv4 | sysv4.3*)
9639 version_type=linux
9640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9641 soname_spec='${libname}${release}${shared_ext}$major'
9642 shlibpath_var=LD_LIBRARY_PATH
9643 case $host_vendor in
9644 sni)
9645 shlibpath_overrides_runpath=no
9646 need_lib_prefix=no
9647 runpath_var=LD_RUN_PATH
9649 siemens)
9650 need_lib_prefix=no
9652 motorola)
9653 need_lib_prefix=no
9654 need_version=no
9655 shlibpath_overrides_runpath=no
9656 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9658 esac
9661 sysv4*MP*)
9662 if test -d /usr/nec ;then
9663 version_type=linux
9664 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9665 soname_spec='$libname${shared_ext}.$major'
9666 shlibpath_var=LD_LIBRARY_PATH
9670 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9671 version_type=freebsd-elf
9672 need_lib_prefix=no
9673 need_version=no
9674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9675 soname_spec='${libname}${release}${shared_ext}$major'
9676 shlibpath_var=LD_LIBRARY_PATH
9677 shlibpath_overrides_runpath=yes
9678 hardcode_into_libs=yes
9679 if test "$with_gnu_ld" = yes; then
9680 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9681 else
9682 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9683 case $host_os in
9684 sco3.2v5*)
9685 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9687 esac
9689 sys_lib_dlsearch_path_spec='/usr/lib'
9692 tpf*)
9693 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9694 version_type=linux
9695 need_lib_prefix=no
9696 need_version=no
9697 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9698 shlibpath_var=LD_LIBRARY_PATH
9699 shlibpath_overrides_runpath=no
9700 hardcode_into_libs=yes
9703 uts4*)
9704 version_type=linux
9705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9706 soname_spec='${libname}${release}${shared_ext}$major'
9707 shlibpath_var=LD_LIBRARY_PATH
9711 dynamic_linker=no
9713 esac
9714 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9715 echo "${ECHO_T}$dynamic_linker" >&6
9716 test "$dynamic_linker" = no && can_build_shared=no
9718 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9719 if test "$GCC" = yes; then
9720 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9809 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9810 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9811 hardcode_action=
9812 if test -n "$hardcode_libdir_flag_spec" ||
9813 test -n "$runpath_var" ||
9814 test "X$hardcode_automatic" = "Xyes" ; then
9816 # We can hardcode non-existent directories.
9817 if test "$hardcode_direct" != no &&
9818 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9819 # have to relink, otherwise we might link with an installed library
9820 # when we should be linking with a yet-to-be-installed one
9821 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9822 test "$hardcode_minus_L" != no; then
9823 # Linking always hardcodes the temporary library directory.
9824 hardcode_action=relink
9825 else
9826 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9827 hardcode_action=immediate
9829 else
9830 # We cannot hardcode anything, or else we can only hardcode existing
9831 # directories.
9832 hardcode_action=unsupported
9834 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9835 echo "${ECHO_T}$hardcode_action" >&6
9837 if test "$hardcode_action" = relink ||
9838 test "$inherit_rpath" = yes; then
9839 # Fast installation is not supported
9840 enable_fast_install=no
9841 elif test "$shlibpath_overrides_runpath" = yes ||
9842 test "$enable_shared" = no; then
9843 # Fast installation is not necessary
9844 enable_fast_install=needless
9852 if test "x$enable_dlopen" != xyes; then
9853 enable_dlopen=unknown
9854 enable_dlopen_self=unknown
9855 enable_dlopen_self_static=unknown
9856 else
9857 lt_cv_dlopen=no
9858 lt_cv_dlopen_libs=
9860 case $host_os in
9861 beos*)
9862 lt_cv_dlopen="load_add_on"
9863 lt_cv_dlopen_libs=
9864 lt_cv_dlopen_self=yes
9867 mingw* | pw32*)
9868 lt_cv_dlopen="LoadLibrary"
9869 lt_cv_dlopen_libs=
9872 cygwin*)
9873 lt_cv_dlopen="dlopen"
9874 lt_cv_dlopen_libs=
9877 darwin*)
9878 # if libdl is installed we need to link against it
9879 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9880 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9881 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9882 echo $ECHO_N "(cached) $ECHO_C" >&6
9883 else
9884 ac_check_lib_save_LIBS=$LIBS
9885 LIBS="-ldl $LIBS"
9886 if test x$gcc_no_link = xyes; then
9887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9889 { (exit 1); exit 1; }; }
9891 cat >conftest.$ac_ext <<_ACEOF
9892 /* confdefs.h. */
9893 _ACEOF
9894 cat confdefs.h >>conftest.$ac_ext
9895 cat >>conftest.$ac_ext <<_ACEOF
9896 /* end confdefs.h. */
9898 /* Override any gcc2 internal prototype to avoid an error. */
9899 #ifdef __cplusplus
9900 extern "C"
9901 #endif
9902 /* We use char because int might match the return type of a gcc2
9903 builtin and then its argument prototype would still apply. */
9904 char dlopen ();
9906 main ()
9908 dlopen ();
9910 return 0;
9912 _ACEOF
9913 rm -f conftest.$ac_objext conftest$ac_exeext
9914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9915 (eval $ac_link) 2>conftest.er1
9916 ac_status=$?
9917 grep -v '^ *+' conftest.er1 >conftest.err
9918 rm -f conftest.er1
9919 cat conftest.err >&5
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); } &&
9922 { ac_try='test -z "$ac_c_werror_flag"
9923 || test ! -s conftest.err'
9924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925 (eval $ac_try) 2>&5
9926 ac_status=$?
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); }; } &&
9929 { ac_try='test -s conftest$ac_exeext'
9930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9931 (eval $ac_try) 2>&5
9932 ac_status=$?
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); }; }; then
9935 ac_cv_lib_dl_dlopen=yes
9936 else
9937 echo "$as_me: failed program was:" >&5
9938 sed 's/^/| /' conftest.$ac_ext >&5
9940 ac_cv_lib_dl_dlopen=no
9942 rm -f conftest.err conftest.$ac_objext \
9943 conftest$ac_exeext conftest.$ac_ext
9944 LIBS=$ac_check_lib_save_LIBS
9946 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9947 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9948 if test $ac_cv_lib_dl_dlopen = yes; then
9949 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9950 else
9952 lt_cv_dlopen="dyld"
9953 lt_cv_dlopen_libs=
9954 lt_cv_dlopen_self=yes
9961 echo "$as_me:$LINENO: checking for shl_load" >&5
9962 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9963 if test "${ac_cv_func_shl_load+set}" = set; then
9964 echo $ECHO_N "(cached) $ECHO_C" >&6
9965 else
9966 if test x$gcc_no_link = xyes; then
9967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9969 { (exit 1); exit 1; }; }
9971 cat >conftest.$ac_ext <<_ACEOF
9972 /* confdefs.h. */
9973 _ACEOF
9974 cat confdefs.h >>conftest.$ac_ext
9975 cat >>conftest.$ac_ext <<_ACEOF
9976 /* end confdefs.h. */
9977 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9979 #define shl_load innocuous_shl_load
9981 /* System header to define __stub macros and hopefully few prototypes,
9982 which can conflict with char shl_load (); below.
9983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9984 <limits.h> exists even on freestanding compilers. */
9986 #ifdef __STDC__
9987 # include <limits.h>
9988 #else
9989 # include <assert.h>
9990 #endif
9992 #undef shl_load
9994 /* Override any gcc2 internal prototype to avoid an error. */
9995 #ifdef __cplusplus
9996 extern "C"
9998 #endif
9999 /* We use char because int might match the return type of a gcc2
10000 builtin and then its argument prototype would still apply. */
10001 char shl_load ();
10002 /* The GNU C library defines this for functions which it implements
10003 to always fail with ENOSYS. Some functions are actually named
10004 something starting with __ and the normal name is an alias. */
10005 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10006 choke me
10007 #else
10008 char (*f) () = shl_load;
10009 #endif
10010 #ifdef __cplusplus
10012 #endif
10015 main ()
10017 return f != shl_load;
10019 return 0;
10021 _ACEOF
10022 rm -f conftest.$ac_objext conftest$ac_exeext
10023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10024 (eval $ac_link) 2>conftest.er1
10025 ac_status=$?
10026 grep -v '^ *+' conftest.er1 >conftest.err
10027 rm -f conftest.er1
10028 cat conftest.err >&5
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); } &&
10031 { ac_try='test -z "$ac_c_werror_flag"
10032 || test ! -s conftest.err'
10033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10034 (eval $ac_try) 2>&5
10035 ac_status=$?
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 (exit $ac_status); }; } &&
10038 { ac_try='test -s conftest$ac_exeext'
10039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10040 (eval $ac_try) 2>&5
10041 ac_status=$?
10042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043 (exit $ac_status); }; }; then
10044 ac_cv_func_shl_load=yes
10045 else
10046 echo "$as_me: failed program was:" >&5
10047 sed 's/^/| /' conftest.$ac_ext >&5
10049 ac_cv_func_shl_load=no
10051 rm -f conftest.err conftest.$ac_objext \
10052 conftest$ac_exeext conftest.$ac_ext
10054 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10055 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10056 if test $ac_cv_func_shl_load = yes; then
10057 lt_cv_dlopen="shl_load"
10058 else
10059 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10060 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10061 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10062 echo $ECHO_N "(cached) $ECHO_C" >&6
10063 else
10064 ac_check_lib_save_LIBS=$LIBS
10065 LIBS="-ldld $LIBS"
10066 if test x$gcc_no_link = xyes; then
10067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10069 { (exit 1); exit 1; }; }
10071 cat >conftest.$ac_ext <<_ACEOF
10072 /* confdefs.h. */
10073 _ACEOF
10074 cat confdefs.h >>conftest.$ac_ext
10075 cat >>conftest.$ac_ext <<_ACEOF
10076 /* end confdefs.h. */
10078 /* Override any gcc2 internal prototype to avoid an error. */
10079 #ifdef __cplusplus
10080 extern "C"
10081 #endif
10082 /* We use char because int might match the return type of a gcc2
10083 builtin and then its argument prototype would still apply. */
10084 char shl_load ();
10086 main ()
10088 shl_load ();
10090 return 0;
10092 _ACEOF
10093 rm -f conftest.$ac_objext conftest$ac_exeext
10094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10095 (eval $ac_link) 2>conftest.er1
10096 ac_status=$?
10097 grep -v '^ *+' conftest.er1 >conftest.err
10098 rm -f conftest.er1
10099 cat conftest.err >&5
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); } &&
10102 { ac_try='test -z "$ac_c_werror_flag"
10103 || test ! -s conftest.err'
10104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10105 (eval $ac_try) 2>&5
10106 ac_status=$?
10107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108 (exit $ac_status); }; } &&
10109 { ac_try='test -s conftest$ac_exeext'
10110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10111 (eval $ac_try) 2>&5
10112 ac_status=$?
10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); }; }; then
10115 ac_cv_lib_dld_shl_load=yes
10116 else
10117 echo "$as_me: failed program was:" >&5
10118 sed 's/^/| /' conftest.$ac_ext >&5
10120 ac_cv_lib_dld_shl_load=no
10122 rm -f conftest.err conftest.$ac_objext \
10123 conftest$ac_exeext conftest.$ac_ext
10124 LIBS=$ac_check_lib_save_LIBS
10126 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10127 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10128 if test $ac_cv_lib_dld_shl_load = yes; then
10129 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10130 else
10131 echo "$as_me:$LINENO: checking for dlopen" >&5
10132 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10133 if test "${ac_cv_func_dlopen+set}" = set; then
10134 echo $ECHO_N "(cached) $ECHO_C" >&6
10135 else
10136 if test x$gcc_no_link = xyes; then
10137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10139 { (exit 1); exit 1; }; }
10141 cat >conftest.$ac_ext <<_ACEOF
10142 /* confdefs.h. */
10143 _ACEOF
10144 cat confdefs.h >>conftest.$ac_ext
10145 cat >>conftest.$ac_ext <<_ACEOF
10146 /* end confdefs.h. */
10147 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10149 #define dlopen innocuous_dlopen
10151 /* System header to define __stub macros and hopefully few prototypes,
10152 which can conflict with char dlopen (); below.
10153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10154 <limits.h> exists even on freestanding compilers. */
10156 #ifdef __STDC__
10157 # include <limits.h>
10158 #else
10159 # include <assert.h>
10160 #endif
10162 #undef dlopen
10164 /* Override any gcc2 internal prototype to avoid an error. */
10165 #ifdef __cplusplus
10166 extern "C"
10168 #endif
10169 /* We use char because int might match the return type of a gcc2
10170 builtin and then its argument prototype would still apply. */
10171 char dlopen ();
10172 /* The GNU C library defines this for functions which it implements
10173 to always fail with ENOSYS. Some functions are actually named
10174 something starting with __ and the normal name is an alias. */
10175 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10176 choke me
10177 #else
10178 char (*f) () = dlopen;
10179 #endif
10180 #ifdef __cplusplus
10182 #endif
10185 main ()
10187 return f != dlopen;
10189 return 0;
10191 _ACEOF
10192 rm -f conftest.$ac_objext conftest$ac_exeext
10193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10194 (eval $ac_link) 2>conftest.er1
10195 ac_status=$?
10196 grep -v '^ *+' conftest.er1 >conftest.err
10197 rm -f conftest.er1
10198 cat conftest.err >&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); } &&
10201 { ac_try='test -z "$ac_c_werror_flag"
10202 || test ! -s conftest.err'
10203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10204 (eval $ac_try) 2>&5
10205 ac_status=$?
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); }; } &&
10208 { ac_try='test -s conftest$ac_exeext'
10209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10210 (eval $ac_try) 2>&5
10211 ac_status=$?
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); }; }; then
10214 ac_cv_func_dlopen=yes
10215 else
10216 echo "$as_me: failed program was:" >&5
10217 sed 's/^/| /' conftest.$ac_ext >&5
10219 ac_cv_func_dlopen=no
10221 rm -f conftest.err conftest.$ac_objext \
10222 conftest$ac_exeext conftest.$ac_ext
10224 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10225 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10226 if test $ac_cv_func_dlopen = yes; then
10227 lt_cv_dlopen="dlopen"
10228 else
10229 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10230 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10231 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10232 echo $ECHO_N "(cached) $ECHO_C" >&6
10233 else
10234 ac_check_lib_save_LIBS=$LIBS
10235 LIBS="-ldl $LIBS"
10236 if test x$gcc_no_link = xyes; then
10237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10239 { (exit 1); exit 1; }; }
10241 cat >conftest.$ac_ext <<_ACEOF
10242 /* confdefs.h. */
10243 _ACEOF
10244 cat confdefs.h >>conftest.$ac_ext
10245 cat >>conftest.$ac_ext <<_ACEOF
10246 /* end confdefs.h. */
10248 /* Override any gcc2 internal prototype to avoid an error. */
10249 #ifdef __cplusplus
10250 extern "C"
10251 #endif
10252 /* We use char because int might match the return type of a gcc2
10253 builtin and then its argument prototype would still apply. */
10254 char dlopen ();
10256 main ()
10258 dlopen ();
10260 return 0;
10262 _ACEOF
10263 rm -f conftest.$ac_objext conftest$ac_exeext
10264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10265 (eval $ac_link) 2>conftest.er1
10266 ac_status=$?
10267 grep -v '^ *+' conftest.er1 >conftest.err
10268 rm -f conftest.er1
10269 cat conftest.err >&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); } &&
10272 { ac_try='test -z "$ac_c_werror_flag"
10273 || test ! -s conftest.err'
10274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10275 (eval $ac_try) 2>&5
10276 ac_status=$?
10277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278 (exit $ac_status); }; } &&
10279 { ac_try='test -s conftest$ac_exeext'
10280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10281 (eval $ac_try) 2>&5
10282 ac_status=$?
10283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10284 (exit $ac_status); }; }; then
10285 ac_cv_lib_dl_dlopen=yes
10286 else
10287 echo "$as_me: failed program was:" >&5
10288 sed 's/^/| /' conftest.$ac_ext >&5
10290 ac_cv_lib_dl_dlopen=no
10292 rm -f conftest.err conftest.$ac_objext \
10293 conftest$ac_exeext conftest.$ac_ext
10294 LIBS=$ac_check_lib_save_LIBS
10296 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10297 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10298 if test $ac_cv_lib_dl_dlopen = yes; then
10299 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10300 else
10301 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10302 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10303 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10305 else
10306 ac_check_lib_save_LIBS=$LIBS
10307 LIBS="-lsvld $LIBS"
10308 if test x$gcc_no_link = xyes; then
10309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10311 { (exit 1); exit 1; }; }
10313 cat >conftest.$ac_ext <<_ACEOF
10314 /* confdefs.h. */
10315 _ACEOF
10316 cat confdefs.h >>conftest.$ac_ext
10317 cat >>conftest.$ac_ext <<_ACEOF
10318 /* end confdefs.h. */
10320 /* Override any gcc2 internal prototype to avoid an error. */
10321 #ifdef __cplusplus
10322 extern "C"
10323 #endif
10324 /* We use char because int might match the return type of a gcc2
10325 builtin and then its argument prototype would still apply. */
10326 char dlopen ();
10328 main ()
10330 dlopen ();
10332 return 0;
10334 _ACEOF
10335 rm -f conftest.$ac_objext conftest$ac_exeext
10336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10337 (eval $ac_link) 2>conftest.er1
10338 ac_status=$?
10339 grep -v '^ *+' conftest.er1 >conftest.err
10340 rm -f conftest.er1
10341 cat conftest.err >&5
10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343 (exit $ac_status); } &&
10344 { ac_try='test -z "$ac_c_werror_flag"
10345 || test ! -s conftest.err'
10346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10347 (eval $ac_try) 2>&5
10348 ac_status=$?
10349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); }; } &&
10351 { ac_try='test -s conftest$ac_exeext'
10352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10353 (eval $ac_try) 2>&5
10354 ac_status=$?
10355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356 (exit $ac_status); }; }; then
10357 ac_cv_lib_svld_dlopen=yes
10358 else
10359 echo "$as_me: failed program was:" >&5
10360 sed 's/^/| /' conftest.$ac_ext >&5
10362 ac_cv_lib_svld_dlopen=no
10364 rm -f conftest.err conftest.$ac_objext \
10365 conftest$ac_exeext conftest.$ac_ext
10366 LIBS=$ac_check_lib_save_LIBS
10368 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10369 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10370 if test $ac_cv_lib_svld_dlopen = yes; then
10371 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10372 else
10373 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10374 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10375 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10376 echo $ECHO_N "(cached) $ECHO_C" >&6
10377 else
10378 ac_check_lib_save_LIBS=$LIBS
10379 LIBS="-ldld $LIBS"
10380 if test x$gcc_no_link = xyes; then
10381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10383 { (exit 1); exit 1; }; }
10385 cat >conftest.$ac_ext <<_ACEOF
10386 /* confdefs.h. */
10387 _ACEOF
10388 cat confdefs.h >>conftest.$ac_ext
10389 cat >>conftest.$ac_ext <<_ACEOF
10390 /* end confdefs.h. */
10392 /* Override any gcc2 internal prototype to avoid an error. */
10393 #ifdef __cplusplus
10394 extern "C"
10395 #endif
10396 /* We use char because int might match the return type of a gcc2
10397 builtin and then its argument prototype would still apply. */
10398 char dld_link ();
10400 main ()
10402 dld_link ();
10404 return 0;
10406 _ACEOF
10407 rm -f conftest.$ac_objext conftest$ac_exeext
10408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10409 (eval $ac_link) 2>conftest.er1
10410 ac_status=$?
10411 grep -v '^ *+' conftest.er1 >conftest.err
10412 rm -f conftest.er1
10413 cat conftest.err >&5
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); } &&
10416 { ac_try='test -z "$ac_c_werror_flag"
10417 || test ! -s conftest.err'
10418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10419 (eval $ac_try) 2>&5
10420 ac_status=$?
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); }; } &&
10423 { ac_try='test -s conftest$ac_exeext'
10424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10425 (eval $ac_try) 2>&5
10426 ac_status=$?
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); }; }; then
10429 ac_cv_lib_dld_dld_link=yes
10430 else
10431 echo "$as_me: failed program was:" >&5
10432 sed 's/^/| /' conftest.$ac_ext >&5
10434 ac_cv_lib_dld_dld_link=no
10436 rm -f conftest.err conftest.$ac_objext \
10437 conftest$ac_exeext conftest.$ac_ext
10438 LIBS=$ac_check_lib_save_LIBS
10440 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10441 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10442 if test $ac_cv_lib_dld_dld_link = yes; then
10443 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10462 esac
10464 if test "x$lt_cv_dlopen" != xno; then
10465 enable_dlopen=yes
10466 else
10467 enable_dlopen=no
10470 case $lt_cv_dlopen in
10471 dlopen)
10472 save_CPPFLAGS="$CPPFLAGS"
10473 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10475 save_LDFLAGS="$LDFLAGS"
10476 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10478 save_LIBS="$LIBS"
10479 LIBS="$lt_cv_dlopen_libs $LIBS"
10481 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10482 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10483 if test "${lt_cv_dlopen_self+set}" = set; then
10484 echo $ECHO_N "(cached) $ECHO_C" >&6
10485 else
10486 if test "$cross_compiling" = yes; then :
10487 lt_cv_dlopen_self=cross
10488 else
10489 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10490 lt_status=$lt_dlunknown
10491 cat > conftest.$ac_ext <<_LT_EOF
10492 #line 10492 "configure"
10493 #include "confdefs.h"
10495 #if HAVE_DLFCN_H
10496 #include <dlfcn.h>
10497 #endif
10499 #include <stdio.h>
10501 #ifdef RTLD_GLOBAL
10502 # define LT_DLGLOBAL RTLD_GLOBAL
10503 #else
10504 # ifdef DL_GLOBAL
10505 # define LT_DLGLOBAL DL_GLOBAL
10506 # else
10507 # define LT_DLGLOBAL 0
10508 # endif
10509 #endif
10511 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10512 find out it does not work in some platform. */
10513 #ifndef LT_DLLAZY_OR_NOW
10514 # ifdef RTLD_LAZY
10515 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10516 # else
10517 # ifdef DL_LAZY
10518 # define LT_DLLAZY_OR_NOW DL_LAZY
10519 # else
10520 # ifdef RTLD_NOW
10521 # define LT_DLLAZY_OR_NOW RTLD_NOW
10522 # else
10523 # ifdef DL_NOW
10524 # define LT_DLLAZY_OR_NOW DL_NOW
10525 # else
10526 # define LT_DLLAZY_OR_NOW 0
10527 # endif
10528 # endif
10529 # endif
10530 # endif
10531 #endif
10533 #ifdef __cplusplus
10534 extern "C" void exit (int);
10535 #endif
10537 void fnord() { int i=42;}
10538 int main ()
10540 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10541 int status = $lt_dlunknown;
10543 if (self)
10545 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10546 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10547 /* dlclose (self); */
10549 else
10550 puts (dlerror ());
10552 exit (status);
10554 _LT_EOF
10555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10556 (eval $ac_link) 2>&5
10557 ac_status=$?
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10560 (./conftest; exit; ) >&5 2>/dev/null
10561 lt_status=$?
10562 case x$lt_status in
10563 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10564 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10565 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10566 esac
10567 else :
10568 # compilation failed
10569 lt_cv_dlopen_self=no
10572 rm -fr conftest*
10576 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10577 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10579 if test "x$lt_cv_dlopen_self" = xyes; then
10580 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10581 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10582 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10583 if test "${lt_cv_dlopen_self_static+set}" = set; then
10584 echo $ECHO_N "(cached) $ECHO_C" >&6
10585 else
10586 if test "$cross_compiling" = yes; then :
10587 lt_cv_dlopen_self_static=cross
10588 else
10589 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10590 lt_status=$lt_dlunknown
10591 cat > conftest.$ac_ext <<_LT_EOF
10592 #line 10592 "configure"
10593 #include "confdefs.h"
10595 #if HAVE_DLFCN_H
10596 #include <dlfcn.h>
10597 #endif
10599 #include <stdio.h>
10601 #ifdef RTLD_GLOBAL
10602 # define LT_DLGLOBAL RTLD_GLOBAL
10603 #else
10604 # ifdef DL_GLOBAL
10605 # define LT_DLGLOBAL DL_GLOBAL
10606 # else
10607 # define LT_DLGLOBAL 0
10608 # endif
10609 #endif
10611 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10612 find out it does not work in some platform. */
10613 #ifndef LT_DLLAZY_OR_NOW
10614 # ifdef RTLD_LAZY
10615 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10616 # else
10617 # ifdef DL_LAZY
10618 # define LT_DLLAZY_OR_NOW DL_LAZY
10619 # else
10620 # ifdef RTLD_NOW
10621 # define LT_DLLAZY_OR_NOW RTLD_NOW
10622 # else
10623 # ifdef DL_NOW
10624 # define LT_DLLAZY_OR_NOW DL_NOW
10625 # else
10626 # define LT_DLLAZY_OR_NOW 0
10627 # endif
10628 # endif
10629 # endif
10630 # endif
10631 #endif
10633 #ifdef __cplusplus
10634 extern "C" void exit (int);
10635 #endif
10637 void fnord() { int i=42;}
10638 int main ()
10640 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10641 int status = $lt_dlunknown;
10643 if (self)
10645 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10646 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10647 /* dlclose (self); */
10649 else
10650 puts (dlerror ());
10652 exit (status);
10654 _LT_EOF
10655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10656 (eval $ac_link) 2>&5
10657 ac_status=$?
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10660 (./conftest; exit; ) >&5 2>/dev/null
10661 lt_status=$?
10662 case x$lt_status in
10663 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10664 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10665 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10666 esac
10667 else :
10668 # compilation failed
10669 lt_cv_dlopen_self_static=no
10672 rm -fr conftest*
10676 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10677 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10680 CPPFLAGS="$save_CPPFLAGS"
10681 LDFLAGS="$save_LDFLAGS"
10682 LIBS="$save_LIBS"
10684 esac
10686 case $lt_cv_dlopen_self in
10687 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10688 *) enable_dlopen_self=unknown ;;
10689 esac
10691 case $lt_cv_dlopen_self_static in
10692 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10693 *) enable_dlopen_self_static=unknown ;;
10694 esac
10713 striplib=
10714 old_striplib=
10715 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10716 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10717 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10718 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10719 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10720 echo "$as_me:$LINENO: result: yes" >&5
10721 echo "${ECHO_T}yes" >&6
10722 else
10723 # FIXME - insert some real tests, host_os isn't really good enough
10724 case $host_os in
10725 darwin*)
10726 if test -n "$STRIP" ; then
10727 striplib="$STRIP -x"
10728 old_striplib="$STRIP -S"
10729 echo "$as_me:$LINENO: result: yes" >&5
10730 echo "${ECHO_T}yes" >&6
10731 else
10732 echo "$as_me:$LINENO: result: no" >&5
10733 echo "${ECHO_T}no" >&6
10737 echo "$as_me:$LINENO: result: no" >&5
10738 echo "${ECHO_T}no" >&6
10740 esac
10754 # Report which library types will actually be built
10755 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10756 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10757 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10758 echo "${ECHO_T}$can_build_shared" >&6
10760 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10761 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10762 test "$can_build_shared" = "no" && enable_shared=no
10764 # On AIX, shared libraries and static libraries use the same namespace, and
10765 # are all built from PIC.
10766 case $host_os in
10767 aix3*)
10768 test "$enable_shared" = yes && enable_static=no
10769 if test -n "$RANLIB"; then
10770 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10771 postinstall_cmds='$RANLIB $lib'
10775 aix4* | aix5*)
10776 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10777 test "$enable_shared" = yes && enable_static=no
10780 esac
10781 echo "$as_me:$LINENO: result: $enable_shared" >&5
10782 echo "${ECHO_T}$enable_shared" >&6
10784 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10785 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10786 # Make sure either enable_shared or enable_static is yes.
10787 test "$enable_shared" = yes || enable_static=yes
10788 echo "$as_me:$LINENO: result: $enable_static" >&5
10789 echo "${ECHO_T}$enable_static" >&6
10795 ac_ext=c
10796 ac_cpp='$CPP $CPPFLAGS'
10797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10801 CC="$lt_save_CC"
10804 ac_ext=cc
10805 ac_cpp='$CXXCPP $CPPFLAGS'
10806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10810 archive_cmds_need_lc_CXX=no
10811 allow_undefined_flag_CXX=
10812 always_export_symbols_CXX=no
10813 archive_expsym_cmds_CXX=
10814 compiler_needs_object_CXX=no
10815 export_dynamic_flag_spec_CXX=
10816 hardcode_direct_CXX=no
10817 hardcode_direct_absolute_CXX=no
10818 hardcode_libdir_flag_spec_CXX=
10819 hardcode_libdir_flag_spec_ld_CXX=
10820 hardcode_libdir_separator_CXX=
10821 hardcode_minus_L_CXX=no
10822 hardcode_shlibpath_var_CXX=unsupported
10823 hardcode_automatic_CXX=no
10824 inherit_rpath_CXX=no
10825 module_cmds_CXX=
10826 module_expsym_cmds_CXX=
10827 link_all_deplibs_CXX=unknown
10828 old_archive_cmds_CXX=$old_archive_cmds
10829 no_undefined_flag_CXX=
10830 whole_archive_flag_spec_CXX=
10831 enable_shared_with_static_runtimes_CXX=no
10833 # Source file extension for C++ test sources.
10834 ac_ext=cpp
10836 # Object file extension for compiled C++ test sources.
10837 objext=o
10838 objext_CXX=$objext
10840 # No sense in running all these tests if we already determined that
10841 # the CXX compiler isn't working. Some variables (like enable_shared)
10842 # are currently assumed to apply to all compilers on this platform,
10843 # and will be corrupted by setting them based on a non-working compiler.
10844 if test "$_lt_caught_CXX_error" != yes; then
10845 # Code to be used in simple compile tests
10846 lt_simple_compile_test_code="int some_variable = 0;"
10848 # Code to be used in simple link tests
10849 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10851 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10858 # If no C compiler was specified, use CC.
10859 LTCC=${LTCC-"$CC"}
10861 # If no C compiler flags were specified, use CFLAGS.
10862 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10864 # Allow CC to be a program name with arguments.
10865 compiler=$CC
10868 # save warnings/boilerplate of simple test code
10869 ac_outfile=conftest.$ac_objext
10870 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10871 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10872 _lt_compiler_boilerplate=`cat conftest.err`
10873 $RM conftest*
10875 ac_outfile=conftest.$ac_objext
10876 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10877 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10878 _lt_linker_boilerplate=`cat conftest.err`
10879 $RM conftest*
10882 # Allow CC to be a program name with arguments.
10883 lt_save_CC=$CC
10884 lt_save_LD=$LD
10885 lt_save_GCC=$GCC
10886 GCC=$GXX
10887 lt_save_with_gnu_ld=$with_gnu_ld
10888 lt_save_path_LD=$lt_cv_path_LD
10889 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10890 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10891 else
10892 $as_unset lt_cv_prog_gnu_ld
10894 if test -n "${lt_cv_path_LDCXX+set}"; then
10895 lt_cv_path_LD=$lt_cv_path_LDCXX
10896 else
10897 $as_unset lt_cv_path_LD
10899 test -z "${LDCXX+set}" || LD=$LDCXX
10900 CC=${CXX-"c++"}
10901 compiler=$CC
10902 compiler_CXX=$CC
10903 for cc_temp in $compiler""; do
10904 case $cc_temp in
10905 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10906 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10907 \-*) ;;
10908 *) break;;
10909 esac
10910 done
10911 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10914 if test -n "$compiler"; then
10915 # We don't want -fno-exception when compiling C++ code, so set the
10916 # no_builtin_flag separately
10917 if test "$GXX" = yes; then
10918 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10919 else
10920 lt_prog_compiler_no_builtin_flag_CXX=
10923 if test "$GXX" = yes; then
10924 # Set up default GNU C++ configuration
10928 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10929 if test "${with_gnu_ld+set}" = set; then
10930 withval="$with_gnu_ld"
10931 test "$withval" = no || with_gnu_ld=yes
10932 else
10933 with_gnu_ld=no
10935 ac_prog=ld
10936 if test "$GCC" = yes; then
10937 # Check if gcc -print-prog-name=ld gives a path.
10938 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10939 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10940 case $host in
10941 *-*-mingw*)
10942 # gcc leaves a trailing carriage return which upsets mingw
10943 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10945 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10946 esac
10947 case $ac_prog in
10948 # Accept absolute paths.
10949 [\\/]* | ?:[\\/]*)
10950 re_direlt='/[^/][^/]*/\.\./'
10951 # Canonicalize the pathname of ld
10952 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10953 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10954 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10955 done
10956 test -z "$LD" && LD="$ac_prog"
10959 # If it fails, then pretend we aren't using GCC.
10960 ac_prog=ld
10963 # If it is relative, then search for the first ld in PATH.
10964 with_gnu_ld=unknown
10966 esac
10967 elif test "$with_gnu_ld" = yes; then
10968 echo "$as_me:$LINENO: checking for GNU ld" >&5
10969 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10970 else
10971 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10972 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10974 if test "${lt_cv_path_LD+set}" = set; then
10975 echo $ECHO_N "(cached) $ECHO_C" >&6
10976 else
10977 if test -z "$LD"; then
10978 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10979 for ac_dir in $PATH; do
10980 IFS="$lt_save_ifs"
10981 test -z "$ac_dir" && ac_dir=.
10982 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10983 lt_cv_path_LD="$ac_dir/$ac_prog"
10984 # Check to see if the program is GNU ld. I'd rather use --version,
10985 # but apparently some variants of GNU ld only accept -v.
10986 # Break only if it was the GNU/non-GNU ld that we prefer.
10987 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10988 *GNU* | *'with BFD'*)
10989 test "$with_gnu_ld" != no && break
10992 test "$with_gnu_ld" != yes && break
10994 esac
10996 done
10997 IFS="$lt_save_ifs"
10998 else
10999 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11003 LD="$lt_cv_path_LD"
11004 if test -n "$LD"; then
11005 echo "$as_me:$LINENO: result: $LD" >&5
11006 echo "${ECHO_T}$LD" >&6
11007 else
11008 echo "$as_me:$LINENO: result: no" >&5
11009 echo "${ECHO_T}no" >&6
11011 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11012 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11013 { (exit 1); exit 1; }; }
11014 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11015 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11016 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11017 echo $ECHO_N "(cached) $ECHO_C" >&6
11018 else
11019 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11020 case `$LD -v 2>&1 </dev/null` in
11021 *GNU* | *'with BFD'*)
11022 lt_cv_prog_gnu_ld=yes
11025 lt_cv_prog_gnu_ld=no
11027 esac
11029 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11030 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11031 with_gnu_ld=$lt_cv_prog_gnu_ld
11039 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11040 # archiving commands below assume that GNU ld is being used.
11041 if test "$with_gnu_ld" = yes; then
11042 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11043 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11045 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11046 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11048 # If archive_cmds runs LD, not CC, wlarc should be empty
11049 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11050 # investigate it a little bit more. (MM)
11051 wlarc='${wl}'
11053 # ancient GNU ld didn't support --whole-archive et. al.
11054 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11055 $GREP 'no-whole-archive' > /dev/null; then
11056 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11057 else
11058 whole_archive_flag_spec_CXX=
11060 else
11061 with_gnu_ld=no
11062 wlarc=
11064 # A generic and very simple default shared library creation
11065 # command for GNU C++ for the case where it uses the native
11066 # linker, instead of GNU ld. If possible, this setting should
11067 # overridden to take advantage of the native linker features on
11068 # the platform it is being used on.
11069 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11072 # Commands to make compiler produce verbose output that lists
11073 # what "hidden" libraries, object files and flags are used when
11074 # linking a shared library.
11075 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11077 else
11078 GXX=no
11079 with_gnu_ld=no
11080 wlarc=
11083 # PORTME: fill in a description of your system's C++ link characteristics
11084 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11085 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11086 ld_shlibs_CXX=yes
11087 case $host_os in
11088 aix3*)
11089 # FIXME: insert proper C++ library support
11090 ld_shlibs_CXX=no
11092 aix4* | aix5*)
11093 if test "$host_cpu" = ia64; then
11094 # On IA64, the linker does run time linking by default, so we don't
11095 # have to do anything special.
11096 aix_use_runtimelinking=no
11097 exp_sym_flag='-Bexport'
11098 no_entry_flag=""
11099 else
11100 aix_use_runtimelinking=no
11102 # Test if we are trying to use run time linking or normal
11103 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11104 # need to do runtime linking.
11105 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11106 for ld_flag in $LDFLAGS; do
11107 case $ld_flag in
11108 *-brtl*)
11109 aix_use_runtimelinking=yes
11110 break
11112 esac
11113 done
11115 esac
11117 exp_sym_flag='-bexport'
11118 no_entry_flag='-bnoentry'
11121 # When large executables or shared objects are built, AIX ld can
11122 # have problems creating the table of contents. If linking a library
11123 # or program results in "error TOC overflow" add -mminimal-toc to
11124 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11125 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11127 archive_cmds_CXX=''
11128 hardcode_direct_CXX=yes
11129 hardcode_direct_absolute_CXX=yes
11130 hardcode_libdir_separator_CXX=':'
11131 link_all_deplibs_CXX=yes
11132 file_list_spec_CXX='${wl}-f,'
11134 if test "$GXX" = yes; then
11135 case $host_os in aix4.[012]|aix4.[012].*)
11136 # We only want to do this on AIX 4.2 and lower, the check
11137 # below for broken collect2 doesn't work under 4.3+
11138 collect2name=`${CC} -print-prog-name=collect2`
11139 if test -f "$collect2name" &&
11140 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11141 then
11142 # We have reworked collect2
11144 else
11145 # We have old collect2
11146 hardcode_direct_CXX=unsupported
11147 # It fails to find uninstalled libraries when the uninstalled
11148 # path is not listed in the libpath. Setting hardcode_minus_L
11149 # to unsupported forces relinking
11150 hardcode_minus_L_CXX=yes
11151 hardcode_libdir_flag_spec_CXX='-L$libdir'
11152 hardcode_libdir_separator_CXX=
11154 esac
11155 shared_flag='-shared'
11156 if test "$aix_use_runtimelinking" = yes; then
11157 shared_flag="$shared_flag "'${wl}-G'
11159 else
11160 # not using gcc
11161 if test "$host_cpu" = ia64; then
11162 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11163 # chokes on -Wl,-G. The following line is correct:
11164 shared_flag='-G'
11165 else
11166 if test "$aix_use_runtimelinking" = yes; then
11167 shared_flag='${wl}-G'
11168 else
11169 shared_flag='${wl}-bM:SRE'
11174 # It seems that -bexpall does not export symbols beginning with
11175 # underscore (_), so it is better to generate a list of symbols to
11176 # export.
11177 always_export_symbols_CXX=yes
11178 if test "$aix_use_runtimelinking" = yes; then
11179 # Warning - without using the other runtime loading flags (-brtl),
11180 # -berok will link without error, but may produce a broken library.
11181 allow_undefined_flag_CXX='-berok'
11182 # Determine the default libpath from the value encoded in an empty
11183 # executable.
11184 if test x$gcc_no_link = xyes; then
11185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11187 { (exit 1); exit 1; }; }
11189 cat >conftest.$ac_ext <<_ACEOF
11190 /* confdefs.h. */
11191 _ACEOF
11192 cat confdefs.h >>conftest.$ac_ext
11193 cat >>conftest.$ac_ext <<_ACEOF
11194 /* end confdefs.h. */
11197 main ()
11201 return 0;
11203 _ACEOF
11204 rm -f conftest.$ac_objext conftest$ac_exeext
11205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11206 (eval $ac_link) 2>conftest.er1
11207 ac_status=$?
11208 grep -v '^ *+' conftest.er1 >conftest.err
11209 rm -f conftest.er1
11210 cat conftest.err >&5
11211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 (exit $ac_status); } &&
11213 { ac_try='test -z "$ac_cxx_werror_flag"
11214 || test ! -s conftest.err'
11215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11216 (eval $ac_try) 2>&5
11217 ac_status=$?
11218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219 (exit $ac_status); }; } &&
11220 { ac_try='test -s conftest$ac_exeext'
11221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11222 (eval $ac_try) 2>&5
11223 ac_status=$?
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); }; }; then
11227 lt_aix_libpath_sed='
11228 /Import File Strings/,/^$/ {
11229 /^0/ {
11230 s/^0 *\(.*\)$/\1/
11234 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11235 # Check for a 64-bit object if we didn't find anything.
11236 if test -z "$aix_libpath"; then
11237 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11239 else
11240 echo "$as_me: failed program was:" >&5
11241 sed 's/^/| /' conftest.$ac_ext >&5
11244 rm -f conftest.err conftest.$ac_objext \
11245 conftest$ac_exeext conftest.$ac_ext
11246 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11248 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11250 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11251 else
11252 if test "$host_cpu" = ia64; then
11253 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11254 allow_undefined_flag_CXX="-z nodefs"
11255 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11256 else
11257 # Determine the default libpath from the value encoded in an
11258 # empty executable.
11259 if test x$gcc_no_link = xyes; then
11260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11262 { (exit 1); exit 1; }; }
11264 cat >conftest.$ac_ext <<_ACEOF
11265 /* confdefs.h. */
11266 _ACEOF
11267 cat confdefs.h >>conftest.$ac_ext
11268 cat >>conftest.$ac_ext <<_ACEOF
11269 /* end confdefs.h. */
11272 main ()
11276 return 0;
11278 _ACEOF
11279 rm -f conftest.$ac_objext conftest$ac_exeext
11280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11281 (eval $ac_link) 2>conftest.er1
11282 ac_status=$?
11283 grep -v '^ *+' conftest.er1 >conftest.err
11284 rm -f conftest.er1
11285 cat conftest.err >&5
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); } &&
11288 { ac_try='test -z "$ac_cxx_werror_flag"
11289 || test ! -s conftest.err'
11290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11291 (eval $ac_try) 2>&5
11292 ac_status=$?
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); }; } &&
11295 { ac_try='test -s conftest$ac_exeext'
11296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11297 (eval $ac_try) 2>&5
11298 ac_status=$?
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); }; }; then
11302 lt_aix_libpath_sed='
11303 /Import File Strings/,/^$/ {
11304 /^0/ {
11305 s/^0 *\(.*\)$/\1/
11309 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11310 # Check for a 64-bit object if we didn't find anything.
11311 if test -z "$aix_libpath"; then
11312 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11314 else
11315 echo "$as_me: failed program was:" >&5
11316 sed 's/^/| /' conftest.$ac_ext >&5
11319 rm -f conftest.err conftest.$ac_objext \
11320 conftest$ac_exeext conftest.$ac_ext
11321 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11323 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11324 # Warning - without using the other run time loading flags,
11325 # -berok will link without error, but may produce a broken library.
11326 no_undefined_flag_CXX=' ${wl}-bernotok'
11327 allow_undefined_flag_CXX=' ${wl}-berok'
11328 # Exported symbols can be pulled into shared objects from archives
11329 whole_archive_flag_spec_CXX='$convenience'
11330 archive_cmds_need_lc_CXX=yes
11331 # This is similar to how AIX traditionally builds its shared
11332 # libraries.
11333 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11338 beos*)
11339 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11340 allow_undefined_flag_CXX=unsupported
11341 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11342 # support --undefined. This deserves some investigation. FIXME
11343 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11344 else
11345 ld_shlibs_CXX=no
11349 chorus*)
11350 case $cc_basename in
11352 # FIXME: insert proper C++ library support
11353 ld_shlibs_CXX=no
11355 esac
11358 cygwin* | mingw* | pw32*)
11359 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11360 # as there is no search path for DLLs.
11361 hardcode_libdir_flag_spec_CXX='-L$libdir'
11362 allow_undefined_flag_CXX=unsupported
11363 always_export_symbols_CXX=no
11364 enable_shared_with_static_runtimes_CXX=yes
11366 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11367 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11368 # If the export-symbols file already is a .def file (1st line
11369 # is EXPORTS), use it as is; otherwise, prepend...
11370 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11371 cp $export_symbols $output_objdir/$soname.def;
11372 else
11373 echo EXPORTS > $output_objdir/$soname.def;
11374 cat $export_symbols >> $output_objdir/$soname.def;
11376 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11377 else
11378 ld_shlibs_CXX=no
11381 darwin* | rhapsody*)
11382 case $host_os in
11383 rhapsody* | darwin1.[012])
11384 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11386 *) # Darwin 1.3 on
11387 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11388 10.[012])
11389 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11391 10.*)
11392 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11394 esac
11396 esac
11397 archive_cmds_need_lc_CXX=no
11398 hardcode_direct_CXX=no
11399 hardcode_automatic_CXX=yes
11400 hardcode_shlibpath_var_CXX=unsupported
11401 whole_archive_flag_spec_CXX=''
11402 link_all_deplibs_CXX=yes
11404 if test "$GXX" = yes ; then
11405 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11406 echo $ECHO_N "(cached) $ECHO_C" >&6
11407 else
11408 lt_cv_apple_cc_single_mod=no
11409 if test -z "${LT_MULTI_MODULE}"; then
11410 # By default we will add the -single_module flag. You can override
11411 # by either setting the environment variable LT_MULTI_MODULE
11412 # non-empty at configure time, or by adding -multi-module to the
11413 # link flags.
11414 echo "int foo(void){return 1;}" > conftest.c
11415 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11416 -dynamiclib ${wl}-single_module conftest.c
11417 if test -f libconftest.dylib; then
11418 lt_cv_apple_cc_single_mod=yes
11419 rm libconftest.dylib
11421 rm conftest.$ac_ext
11425 output_verbose_link_cmd=echo
11426 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11427 archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11428 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11429 else
11430 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11431 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11433 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11434 module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11435 else
11436 case $cc_basename in
11437 xlc*)
11438 output_verbose_link_cmd=echo
11439 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO "$rpath/$soname"` $verstring'
11440 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11441 # Don't fix this by using the ld -exported_symbols_list flag,
11442 # it doesn't exist in older darwin lds
11443 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11444 module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11447 ld_shlibs_CXX=no
11449 esac
11453 dgux*)
11454 case $cc_basename in
11455 ec++*)
11456 # FIXME: insert proper C++ library support
11457 ld_shlibs_CXX=no
11459 ghcx*)
11460 # Green Hills C++ Compiler
11461 # FIXME: insert proper C++ library support
11462 ld_shlibs_CXX=no
11465 # FIXME: insert proper C++ library support
11466 ld_shlibs_CXX=no
11468 esac
11471 freebsd[12]*)
11472 # C++ shared libraries reported to be fairly broken before
11473 # switch to ELF
11474 ld_shlibs_CXX=no
11477 freebsd-elf*)
11478 archive_cmds_need_lc_CXX=no
11481 freebsd* | dragonfly*)
11482 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11483 # conventions
11484 ld_shlibs_CXX=yes
11487 gnu*)
11490 hpux9*)
11491 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11492 hardcode_libdir_separator_CXX=:
11493 export_dynamic_flag_spec_CXX='${wl}-E'
11494 hardcode_direct_CXX=yes
11495 hardcode_minus_L_CXX=yes # Not in the search PATH,
11496 # but as the default
11497 # location of the library.
11499 case $cc_basename in
11500 CC*)
11501 # FIXME: insert proper C++ library support
11502 ld_shlibs_CXX=no
11504 aCC*)
11505 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11506 # Commands to make compiler produce verbose output that lists
11507 # what "hidden" libraries, object files and flags are used when
11508 # linking a shared library.
11510 # There doesn't appear to be a way to prevent this compiler from
11511 # explicitly linking system object files so we need to strip them
11512 # from the output so that they don't get included in the library
11513 # dependencies.
11514 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11517 if test "$GXX" = yes; then
11518 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11519 else
11520 # FIXME: insert proper C++ library support
11521 ld_shlibs_CXX=no
11524 esac
11527 hpux10*|hpux11*)
11528 if test $with_gnu_ld = no; then
11529 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11530 hardcode_libdir_separator_CXX=:
11532 case $host_cpu in
11533 hppa*64*|ia64*)
11536 export_dynamic_flag_spec_CXX='${wl}-E'
11538 esac
11540 case $host_cpu in
11541 hppa*64*|ia64*)
11542 hardcode_direct_CXX=no
11543 hardcode_shlibpath_var_CXX=no
11546 hardcode_direct_CXX=yes
11547 hardcode_direct_absolute_CXX=yes
11548 hardcode_minus_L_CXX=yes # Not in the search PATH,
11549 # but as the default
11550 # location of the library.
11552 esac
11554 case $cc_basename in
11555 CC*)
11556 # FIXME: insert proper C++ library support
11557 ld_shlibs_CXX=no
11559 aCC*)
11560 case $host_cpu in
11561 hppa*64*)
11562 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11564 ia64*)
11565 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11568 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11570 esac
11571 # Commands to make compiler produce verbose output that lists
11572 # what "hidden" libraries, object files and flags are used when
11573 # linking a shared library.
11575 # There doesn't appear to be a way to prevent this compiler from
11576 # explicitly linking system object files so we need to strip them
11577 # from the output so that they don't get included in the library
11578 # dependencies.
11579 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11582 if test "$GXX" = yes; then
11583 if test $with_gnu_ld = no; then
11584 case $host_cpu in
11585 hppa*64*)
11586 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11588 ia64*)
11589 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11592 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11594 esac
11596 else
11597 # FIXME: insert proper C++ library support
11598 ld_shlibs_CXX=no
11601 esac
11604 interix[3-9]*)
11605 hardcode_direct_CXX=no
11606 hardcode_shlibpath_var_CXX=no
11607 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11608 export_dynamic_flag_spec_CXX='${wl}-E'
11609 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11610 # Instead, shared libraries are loaded at an image base (0x10000000 by
11611 # default) and relocated if they conflict, which is a slow very memory
11612 # consuming and fragmenting process. To avoid this, we pick a random,
11613 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11614 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11615 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11616 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11618 irix5* | irix6*)
11619 case $cc_basename in
11620 CC*)
11621 # SGI C++
11622 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11624 # Archives containing C++ object files must be created using
11625 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11626 # necessary to make sure instantiated templates are included
11627 # in the archive.
11628 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11631 if test "$GXX" = yes; then
11632 if test "$with_gnu_ld" = no; then
11633 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11634 else
11635 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
11638 link_all_deplibs_CXX=yes
11640 esac
11641 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11642 hardcode_libdir_separator_CXX=:
11643 inherit_rpath_CXX=yes
11646 linux* | k*bsd*-gnu)
11647 case $cc_basename in
11648 KCC*)
11649 # Kuck and Associates, Inc. (KAI) C++ Compiler
11651 # KCC will only create a shared library if the output file
11652 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11653 # to its proper name (with version) after linking.
11654 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11655 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
11656 # Commands to make compiler produce verbose output that lists
11657 # what "hidden" libraries, object files and flags are used when
11658 # linking a shared library.
11660 # There doesn't appear to be a way to prevent this compiler from
11661 # explicitly linking system object files so we need to strip them
11662 # from the output so that they don't get included in the library
11663 # dependencies.
11664 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11666 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11667 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11669 # Archives containing C++ object files must be created using
11670 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11671 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11673 icpc* | ecpc* )
11674 # Intel C++
11675 with_gnu_ld=yes
11676 # version 8.0 and above of icpc choke on multiply defined symbols
11677 # if we add $predep_objects and $postdep_objects, however 7.1 and
11678 # earlier do not add the objects themselves.
11679 case `$CC -V 2>&1` in
11680 *"Version 7."*)
11681 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11682 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11684 *) # Version 8.0 or newer
11685 tmp_idyn=
11686 case $host_cpu in
11687 ia64*) tmp_idyn=' -i_dynamic';;
11688 esac
11689 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11690 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11692 esac
11693 archive_cmds_need_lc_CXX=no
11694 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11695 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11696 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11698 pgCC*)
11699 # Portland Group C++ compiler
11700 case `$CC -V` in
11701 *pgCC\ [1-5]*)
11702 prelink_cmds_CXX='tpldir=Template.dir~
11703 rm -rf $tpldir~
11704 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11705 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11706 old_archive_cmds_CXX='tpldir=Template.dir~
11707 rm -rf $tpldir~
11708 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11709 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11710 $RANLIB $oldlib'
11711 archive_cmds_CXX='tpldir=Template.dir~
11712 rm -rf $tpldir~
11713 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11714 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11715 archive_expsym_cmds_CXX='tpldir=Template.dir~
11716 rm -rf $tpldir~
11717 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11718 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11720 *) # Version 6 will use weak symbols
11721 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11722 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11724 esac
11726 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11727 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11728 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11730 cxx*)
11731 # Compaq C++
11732 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11733 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11735 runpath_var=LD_RUN_PATH
11736 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11737 hardcode_libdir_separator_CXX=:
11739 # Commands to make compiler produce verbose output that lists
11740 # what "hidden" libraries, object files and flags are used when
11741 # linking a shared library.
11743 # There doesn't appear to be a way to prevent this compiler from
11744 # explicitly linking system object files so we need to strip them
11745 # from the output so that they don't get included in the library
11746 # dependencies.
11747 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11750 case `$CC -V 2>&1 | sed 5q` in
11751 *Sun\ C*)
11752 # Sun C++ 5.9
11753 no_undefined_flag_CXX=' -zdefs'
11754 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11755 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
11756 hardcode_libdir_flag_spec_CXX='-R$libdir'
11757 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11758 compiler_needs_object_CXX=yes
11760 # Not sure whether something based on
11761 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11762 # would be better.
11763 output_verbose_link_cmd='echo'
11765 # Archives containing C++ object files must be created using
11766 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11767 # necessary to make sure instantiated templates are included
11768 # in the archive.
11769 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11771 esac
11773 esac
11776 lynxos*)
11777 # FIXME: insert proper C++ library support
11778 ld_shlibs_CXX=no
11781 m88k*)
11782 # FIXME: insert proper C++ library support
11783 ld_shlibs_CXX=no
11786 mvs*)
11787 case $cc_basename in
11788 cxx*)
11789 # FIXME: insert proper C++ library support
11790 ld_shlibs_CXX=no
11793 # FIXME: insert proper C++ library support
11794 ld_shlibs_CXX=no
11796 esac
11799 netbsd*)
11800 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11801 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11802 wlarc=
11803 hardcode_libdir_flag_spec_CXX='-R$libdir'
11804 hardcode_direct_CXX=yes
11805 hardcode_shlibpath_var_CXX=no
11807 # Workaround some broken pre-1.5 toolchains
11808 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11811 *nto* | *qnx*)
11812 ld_shlibs_CXX=yes
11815 openbsd2*)
11816 # C++ shared libraries are fairly broken
11817 ld_shlibs_CXX=no
11820 openbsd*)
11821 hardcode_direct_CXX=yes
11822 hardcode_shlibpath_var_CXX=no
11823 hardcode_direct_absolute_CXX=yes
11824 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11825 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11826 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11827 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11828 export_dynamic_flag_spec_CXX='${wl}-E'
11829 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11831 output_verbose_link_cmd=echo
11834 osf3* | osf4* | osf5*)
11835 case $cc_basename in
11836 KCC*)
11837 # Kuck and Associates, Inc. (KAI) C++ Compiler
11839 # KCC will only create a shared library if the output file
11840 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11841 # to its proper name (with version) after linking.
11842 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11844 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11845 hardcode_libdir_separator_CXX=:
11847 # Archives containing C++ object files must be created using
11848 # the KAI C++ compiler.
11849 case $host in
11850 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11851 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11852 esac
11854 RCC*)
11855 # Rational C++ 2.4.1
11856 # FIXME: insert proper C++ library support
11857 ld_shlibs_CXX=no
11859 cxx*)
11860 case $host in
11861 osf3*)
11862 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11863 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11864 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11867 allow_undefined_flag_CXX=' -expect_unresolved \*'
11868 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11869 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11870 echo "-hidden">> $lib.exp~
11871 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
11872 $RM $lib.exp'
11873 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11875 esac
11877 hardcode_libdir_separator_CXX=:
11879 # Commands to make compiler produce verbose output that lists
11880 # what "hidden" libraries, object files and flags are used when
11881 # linking a shared library.
11883 # There doesn't appear to be a way to prevent this compiler from
11884 # explicitly linking system object files so we need to strip them
11885 # from the output so that they don't get included in the library
11886 # dependencies.
11887 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11890 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11891 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11892 case $host in
11893 osf3*)
11894 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11897 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11899 esac
11901 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11902 hardcode_libdir_separator_CXX=:
11904 # Commands to make compiler produce verbose output that lists
11905 # what "hidden" libraries, object files and flags are used when
11906 # linking a shared library.
11907 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11909 else
11910 # FIXME: insert proper C++ library support
11911 ld_shlibs_CXX=no
11914 esac
11917 psos*)
11918 # FIXME: insert proper C++ library support
11919 ld_shlibs_CXX=no
11922 sunos4*)
11923 case $cc_basename in
11924 CC*)
11925 # Sun C++ 4.x
11926 # FIXME: insert proper C++ library support
11927 ld_shlibs_CXX=no
11929 lcc*)
11930 # Lucid
11931 # FIXME: insert proper C++ library support
11932 ld_shlibs_CXX=no
11935 # FIXME: insert proper C++ library support
11936 ld_shlibs_CXX=no
11938 esac
11941 solaris*)
11942 case $cc_basename in
11943 CC*)
11944 # Sun C++ 4.2, 5.x and Centerline C++
11945 archive_cmds_need_lc_CXX=yes
11946 no_undefined_flag_CXX=' -zdefs'
11947 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11948 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11949 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11951 hardcode_libdir_flag_spec_CXX='-R$libdir'
11952 hardcode_shlibpath_var_CXX=no
11953 case $host_os in
11954 solaris2.[0-5] | solaris2.[0-5].*) ;;
11956 # The compiler driver will combine and reorder linker options,
11957 # but understands `-z linker_flag'.
11958 # Supported since Solaris 2.6 (maybe 2.5.1?)
11959 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11961 esac
11962 link_all_deplibs_CXX=yes
11964 output_verbose_link_cmd='echo'
11966 # Archives containing C++ object files must be created using
11967 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11968 # necessary to make sure instantiated templates are included
11969 # in the archive.
11970 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11972 gcx*)
11973 # Green Hills C++ Compiler
11974 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11976 # The C++ compiler must be used to create the archive.
11977 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11980 # GNU C++ compiler with Solaris linker
11981 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11982 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11983 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
11984 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11985 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11986 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11988 # Commands to make compiler produce verbose output that lists
11989 # what "hidden" libraries, object files and flags are used when
11990 # linking a shared library.
11991 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11992 else
11993 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11994 # platform.
11995 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11996 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11997 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11999 # Commands to make compiler produce verbose output that lists
12000 # what "hidden" libraries, object files and flags are used when
12001 # linking a shared library.
12002 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12005 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12006 case $host_os in
12007 solaris2.[0-5] | solaris2.[0-5].*) ;;
12009 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12011 esac
12014 esac
12017 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12018 no_undefined_flag_CXX='${wl}-z,text'
12019 archive_cmds_need_lc_CXX=no
12020 hardcode_shlibpath_var_CXX=no
12021 runpath_var='LD_RUN_PATH'
12023 case $cc_basename in
12024 CC*)
12025 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12026 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12029 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12030 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12032 esac
12035 sysv5* | sco3.2v5* | sco5v6*)
12036 # Note: We can NOT use -z defs as we might desire, because we do not
12037 # link with -lc, and that would cause any symbols used from libc to
12038 # always be unresolved, which means just about no library would
12039 # ever link correctly. If we're not using GNU ld we use -z text
12040 # though, which does catch some bad symbols but isn't as heavy-handed
12041 # as -z defs.
12042 no_undefined_flag_CXX='${wl}-z,text'
12043 allow_undefined_flag_CXX='${wl}-z,nodefs'
12044 archive_cmds_need_lc_CXX=no
12045 hardcode_shlibpath_var_CXX=no
12046 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12047 hardcode_libdir_separator_CXX=':'
12048 link_all_deplibs_CXX=yes
12049 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12050 runpath_var='LD_RUN_PATH'
12052 case $cc_basename in
12053 CC*)
12054 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12055 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12058 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12059 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12061 esac
12064 tandem*)
12065 case $cc_basename in
12066 NCC*)
12067 # NonStop-UX NCC 3.20
12068 # FIXME: insert proper C++ library support
12069 ld_shlibs_CXX=no
12072 # FIXME: insert proper C++ library support
12073 ld_shlibs_CXX=no
12075 esac
12078 vxworks*)
12079 # FIXME: insert proper C++ library support
12080 ld_shlibs_CXX=no
12084 # FIXME: insert proper C++ library support
12085 ld_shlibs_CXX=no
12087 esac
12089 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12090 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12091 test "$ld_shlibs_CXX" = no && can_build_shared=no
12093 GCC_CXX="$GXX"
12094 LD_CXX="$LD"
12096 ## CAVEAT EMPTOR:
12097 ## There is no encapsulation within the following macros, do not change
12098 ## the running order or otherwise move them around unless you know exactly
12099 ## what you are doing...
12100 # Dependencies to place before and after the object being linked:
12101 predep_objects_CXX=
12102 postdep_objects_CXX=
12103 predeps_CXX=
12104 postdeps_CXX=
12105 compiler_lib_search_path_CXX=
12107 cat > conftest.$ac_ext <<_LT_EOF
12108 class Foo
12110 public:
12111 Foo (void) { a = 0; }
12112 private:
12113 int a;
12115 _LT_EOF
12117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12118 (eval $ac_compile) 2>&5
12119 ac_status=$?
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); }; then
12122 # Parse the compiler output and extract the necessary
12123 # objects, libraries and library flags.
12125 # Sentinel used to keep track of whether or not we are before
12126 # the conftest object file.
12127 pre_test_object_deps_done=no
12129 # The `*' in the case matches for architectures that use `case' in
12130 # $output_verbose_cmd can trigger glob expansion during the loop
12131 # eval without this substitution.
12132 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12134 for p in `eval $output_verbose_link_cmd`; do
12135 case $p in
12137 -L* | -R* | -l*)
12138 # Some compilers place space between "-{L,R}" and the path.
12139 # Remove the space.
12140 if test $p = "-L" ||
12141 test $p = "-R"; then
12142 prev=$p
12143 continue
12144 else
12145 prev=
12148 if test "$pre_test_object_deps_done" = no; then
12149 case $p in
12150 -L* | -R*)
12151 # Internal compiler library paths should come after those
12152 # provided the user. The postdeps already come after the
12153 # user supplied libs so there is no need to process them.
12154 if test -z "$compiler_lib_search_path_CXX"; then
12155 compiler_lib_search_path_CXX="${prev}${p}"
12156 else
12157 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12160 # The "-l" case would never come before the object being
12161 # linked, so don't bother handling this case.
12162 esac
12163 else
12164 if test -z "$postdeps_CXX"; then
12165 postdeps_CXX="${prev}${p}"
12166 else
12167 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12172 *.$objext)
12173 # This assumes that the test object file only shows up
12174 # once in the compiler output.
12175 if test "$p" = "conftest.$objext"; then
12176 pre_test_object_deps_done=yes
12177 continue
12180 if test "$pre_test_object_deps_done" = no; then
12181 if test -z "$predep_objects_CXX"; then
12182 predep_objects_CXX="$p"
12183 else
12184 predep_objects_CXX="$predep_objects_CXX $p"
12186 else
12187 if test -z "$postdep_objects_CXX"; then
12188 postdep_objects_CXX="$p"
12189 else
12190 postdep_objects_CXX="$postdep_objects_CXX $p"
12195 *) ;; # Ignore the rest.
12197 esac
12198 done
12200 # Clean up.
12201 rm -f a.out a.exe
12202 else
12203 echo "libtool.m4: error: problem compiling CXX test program"
12206 $RM -f confest.$objext
12208 # PORTME: override above test on systems where it is broken
12209 case $host_os in
12210 interix[3-9]*)
12211 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12212 # hack all around it, let's just trust "g++" to DTRT.
12213 predep_objects_CXX=
12214 postdep_objects_CXX=
12215 postdeps_CXX=
12218 linux*)
12219 case `$CC -V 2>&1 | sed 5q` in
12220 *Sun\ C*)
12221 # Sun C++ 5.9
12223 # The more standards-conforming stlport4 library is
12224 # incompatible with the Cstd library. Avoid specifying
12225 # it if it's in CXXFLAGS. Ignore libCrun as
12226 # -library=stlport4 depends on it.
12227 case " $CXX $CXXFLAGS " in
12228 *" -library=stlport4 "*)
12229 solaris_use_stlport4=yes
12231 esac
12233 if test "$solaris_use_stlport4" != yes; then
12234 postdeps_CXX='-library=Cstd -library=Crun'
12237 esac
12240 solaris*)
12241 case $cc_basename in
12242 CC*)
12243 # The more standards-conforming stlport4 library is
12244 # incompatible with the Cstd library. Avoid specifying
12245 # it if it's in CXXFLAGS. Ignore libCrun as
12246 # -library=stlport4 depends on it.
12247 case " $CXX $CXXFLAGS " in
12248 *" -library=stlport4 "*)
12249 solaris_use_stlport4=yes
12251 esac
12253 # Adding this requires a known-good setup of shared libraries for
12254 # Sun compiler versions before 5.6, else PIC objects from an old
12255 # archive will be linked into the output, leading to subtle bugs.
12256 if test "$solaris_use_stlport4" != yes; then
12257 postdeps_CXX='-library=Cstd -library=Crun'
12260 esac
12262 esac
12265 case " $postdeps_CXX " in
12266 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12267 esac
12294 lt_prog_compiler_wl_CXX=
12295 lt_prog_compiler_pic_CXX=
12296 lt_prog_compiler_static_CXX=
12298 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12299 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12301 # C++ specific cases for pic, static, wl, etc.
12302 if test "$GXX" = yes; then
12303 lt_prog_compiler_wl_CXX='-Wl,'
12304 lt_prog_compiler_static_CXX='-static'
12306 case $host_os in
12307 aix*)
12308 # All AIX code is PIC.
12309 if test "$host_cpu" = ia64; then
12310 # AIX 5 now supports IA64 processor
12311 lt_prog_compiler_static_CXX='-Bstatic'
12314 amigaos*)
12315 if test "$host_cpu" = m68k; then
12316 # FIXME: we need at least 68020 code to build shared libraries, but
12317 # adding the `-m68020' flag to GCC prevents building anything better,
12318 # like `-m68040'.
12319 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12322 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12323 # PIC is the default for these OSes.
12325 mingw* | cygwin* | os2* | pw32*)
12326 # This hack is so that the source file can tell whether it is being
12327 # built for inclusion in a dll (and should export symbols for example).
12328 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12329 # (--disable-auto-import) libraries
12330 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12332 darwin* | rhapsody*)
12333 # PIC is the default on this platform
12334 # Common symbols not allowed in MH_DYLIB files
12335 lt_prog_compiler_pic_CXX='-fno-common'
12337 *djgpp*)
12338 # DJGPP does not support shared libraries at all
12339 lt_prog_compiler_pic_CXX=
12341 interix[3-9]*)
12342 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12343 # Instead, we relocate shared libraries at runtime.
12345 sysv4*MP*)
12346 if test -d /usr/nec; then
12347 lt_prog_compiler_pic_CXX=-Kconform_pic
12350 hpux*)
12351 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12352 # not for PA HP-UX.
12353 case $host_cpu in
12354 hppa*64*|ia64*)
12357 lt_prog_compiler_pic_CXX='-fPIC'
12359 esac
12361 *qnx* | *nto*)
12362 # QNX uses GNU C++, but need to define -shared option too, otherwise
12363 # it will coredump.
12364 lt_prog_compiler_pic_CXX='-fPIC -shared'
12367 lt_prog_compiler_pic_CXX='-fPIC'
12369 esac
12370 else
12371 case $host_os in
12372 aix4* | aix5*)
12373 # All AIX code is PIC.
12374 if test "$host_cpu" = ia64; then
12375 # AIX 5 now supports IA64 processor
12376 lt_prog_compiler_static_CXX='-Bstatic'
12377 else
12378 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12381 chorus*)
12382 case $cc_basename in
12383 cxch68*)
12384 # Green Hills C++ Compiler
12385 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12387 esac
12389 darwin*)
12390 # PIC is the default on this platform
12391 # Common symbols not allowed in MH_DYLIB files
12392 case $cc_basename in
12393 xlc*)
12394 lt_prog_compiler_pic_CXX='-qnocommon'
12395 lt_prog_compiler_wl_CXX='-Wl,'
12397 esac
12399 dgux*)
12400 case $cc_basename in
12401 ec++*)
12402 lt_prog_compiler_pic_CXX='-KPIC'
12404 ghcx*)
12405 # Green Hills C++ Compiler
12406 lt_prog_compiler_pic_CXX='-pic'
12410 esac
12412 freebsd* | dragonfly*)
12413 # FreeBSD uses GNU C++
12415 hpux9* | hpux10* | hpux11*)
12416 case $cc_basename in
12417 CC*)
12418 lt_prog_compiler_wl_CXX='-Wl,'
12419 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12420 if test "$host_cpu" != ia64; then
12421 lt_prog_compiler_pic_CXX='+Z'
12424 aCC*)
12425 lt_prog_compiler_wl_CXX='-Wl,'
12426 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12427 case $host_cpu in
12428 hppa*64*|ia64*)
12429 # +Z the default
12432 lt_prog_compiler_pic_CXX='+Z'
12434 esac
12438 esac
12440 interix*)
12441 # This is c89, which is MS Visual C++ (no shared libs)
12442 # Anyone wants to do a port?
12444 irix5* | irix6* | nonstopux*)
12445 case $cc_basename in
12446 CC*)
12447 lt_prog_compiler_wl_CXX='-Wl,'
12448 lt_prog_compiler_static_CXX='-non_shared'
12449 # CC pic flag -KPIC is the default.
12453 esac
12455 linux* | k*bsd*-gnu)
12456 case $cc_basename in
12457 KCC*)
12458 # KAI C++ Compiler
12459 lt_prog_compiler_wl_CXX='--backend -Wl,'
12460 lt_prog_compiler_pic_CXX='-fPIC'
12462 icpc* | ecpc* )
12463 # Intel C++
12464 lt_prog_compiler_wl_CXX='-Wl,'
12465 lt_prog_compiler_pic_CXX='-KPIC'
12466 lt_prog_compiler_static_CXX='-static'
12468 pgCC*)
12469 # Portland Group C++ compiler
12470 lt_prog_compiler_wl_CXX='-Wl,'
12471 lt_prog_compiler_pic_CXX='-fpic'
12472 lt_prog_compiler_static_CXX='-Bstatic'
12474 cxx*)
12475 # Compaq C++
12476 # Make sure the PIC flag is empty. It appears that all Alpha
12477 # Linux and Compaq Tru64 Unix objects are PIC.
12478 lt_prog_compiler_pic_CXX=
12479 lt_prog_compiler_static_CXX='-non_shared'
12482 case `$CC -V 2>&1 | sed 5q` in
12483 *Sun\ C*)
12484 # Sun C++ 5.9
12485 lt_prog_compiler_pic_CXX='-KPIC'
12486 lt_prog_compiler_static_CXX='-Bstatic'
12487 lt_prog_compiler_wl_CXX='-Qoption ld '
12489 esac
12491 esac
12493 lynxos*)
12495 m88k*)
12497 mvs*)
12498 case $cc_basename in
12499 cxx*)
12500 lt_prog_compiler_pic_CXX='-W c,exportall'
12504 esac
12506 netbsd*)
12508 *qnx* | *nto*)
12509 # QNX uses GNU C++, but need to define -shared option too, otherwise
12510 # it will coredump.
12511 lt_prog_compiler_pic_CXX='-fPIC -shared'
12513 osf3* | osf4* | osf5*)
12514 case $cc_basename in
12515 KCC*)
12516 lt_prog_compiler_wl_CXX='--backend -Wl,'
12518 RCC*)
12519 # Rational C++ 2.4.1
12520 lt_prog_compiler_pic_CXX='-pic'
12522 cxx*)
12523 # Digital/Compaq C++
12524 lt_prog_compiler_wl_CXX='-Wl,'
12525 # Make sure the PIC flag is empty. It appears that all Alpha
12526 # Linux and Compaq Tru64 Unix objects are PIC.
12527 lt_prog_compiler_pic_CXX=
12528 lt_prog_compiler_static_CXX='-non_shared'
12532 esac
12534 psos*)
12536 solaris*)
12537 case $cc_basename in
12538 CC*)
12539 # Sun C++ 4.2, 5.x and Centerline C++
12540 lt_prog_compiler_pic_CXX='-KPIC'
12541 lt_prog_compiler_static_CXX='-Bstatic'
12542 lt_prog_compiler_wl_CXX='-Qoption ld '
12544 gcx*)
12545 # Green Hills C++ Compiler
12546 lt_prog_compiler_pic_CXX='-PIC'
12550 esac
12552 sunos4*)
12553 case $cc_basename in
12554 CC*)
12555 # Sun C++ 4.x
12556 lt_prog_compiler_pic_CXX='-pic'
12557 lt_prog_compiler_static_CXX='-Bstatic'
12559 lcc*)
12560 # Lucid
12561 lt_prog_compiler_pic_CXX='-pic'
12565 esac
12567 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12568 case $cc_basename in
12569 CC*)
12570 lt_prog_compiler_wl_CXX='-Wl,'
12571 lt_prog_compiler_pic_CXX='-KPIC'
12572 lt_prog_compiler_static_CXX='-Bstatic'
12574 esac
12576 tandem*)
12577 case $cc_basename in
12578 NCC*)
12579 # NonStop-UX NCC 3.20
12580 lt_prog_compiler_pic_CXX='-KPIC'
12584 esac
12586 vxworks*)
12589 lt_prog_compiler_can_build_shared_CXX=no
12591 esac
12594 case $host_os in
12595 # For platforms which do not support PIC, -DPIC is meaningless:
12596 *djgpp*)
12597 lt_prog_compiler_pic_CXX=
12600 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12602 esac
12603 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12604 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12609 # Check to make sure the PIC flag actually works.
12611 if test -n "$lt_prog_compiler_pic_CXX"; then
12612 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12613 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12614 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12615 echo $ECHO_N "(cached) $ECHO_C" >&6
12616 else
12617 lt_prog_compiler_pic_works_CXX=no
12618 ac_outfile=conftest.$ac_objext
12619 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12620 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12621 # Insert the option either (1) after the last *FLAGS variable, or
12622 # (2) before a word containing "conftest.", or (3) at the end.
12623 # Note that $ac_compile itself does not contain backslashes and begins
12624 # with a dollar sign (not a hyphen), so the echo should work correctly.
12625 # The option is referenced via a variable to avoid confusing sed.
12626 lt_compile=`echo "$ac_compile" | $SED \
12627 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12628 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12629 -e 's:$: $lt_compiler_flag:'`
12630 (eval echo "\"\$as_me:12630: $lt_compile\"" >&5)
12631 (eval "$lt_compile" 2>conftest.err)
12632 ac_status=$?
12633 cat conftest.err >&5
12634 echo "$as_me:12634: \$? = $ac_status" >&5
12635 if (exit $ac_status) && test -s "$ac_outfile"; then
12636 # The compiler can only warn and ignore the option if not recognized
12637 # So say no if there are warnings other than the usual output.
12638 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12639 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12640 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12641 lt_prog_compiler_pic_works_CXX=yes
12644 $RM conftest*
12647 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12648 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12650 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12651 case $lt_prog_compiler_pic_CXX in
12652 "" | " "*) ;;
12653 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12654 esac
12655 else
12656 lt_prog_compiler_pic_CXX=
12657 lt_prog_compiler_can_build_shared_CXX=no
12665 # Check to make sure the static flag actually works.
12667 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12668 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12669 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12670 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12671 echo $ECHO_N "(cached) $ECHO_C" >&6
12672 else
12673 lt_prog_compiler_static_works_CXX=no
12674 save_LDFLAGS="$LDFLAGS"
12675 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12676 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12677 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12678 # The linker can only warn and ignore the option if not recognized
12679 # So say no if there are warnings
12680 if test -s conftest.err; then
12681 # Append any errors to the config.log.
12682 cat conftest.err 1>&5
12683 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12684 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12685 if diff conftest.exp conftest.er2 >/dev/null; then
12686 lt_prog_compiler_static_works_CXX=yes
12688 else
12689 lt_prog_compiler_static_works_CXX=yes
12692 $RM conftest*
12693 LDFLAGS="$save_LDFLAGS"
12696 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12697 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12699 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12701 else
12702 lt_prog_compiler_static_CXX=
12708 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12709 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12710 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12711 echo $ECHO_N "(cached) $ECHO_C" >&6
12712 else
12713 lt_cv_prog_compiler_c_o_CXX=no
12714 $RM -r conftest 2>/dev/null
12715 mkdir conftest
12716 cd conftest
12717 mkdir out
12718 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12720 lt_compiler_flag="-o out/conftest2.$ac_objext"
12721 # Insert the option either (1) after the last *FLAGS variable, or
12722 # (2) before a word containing "conftest.", or (3) at the end.
12723 # Note that $ac_compile itself does not contain backslashes and begins
12724 # with a dollar sign (not a hyphen), so the echo should work correctly.
12725 lt_compile=`echo "$ac_compile" | $SED \
12726 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12727 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12728 -e 's:$: $lt_compiler_flag:'`
12729 (eval echo "\"\$as_me:12729: $lt_compile\"" >&5)
12730 (eval "$lt_compile" 2>out/conftest.err)
12731 ac_status=$?
12732 cat out/conftest.err >&5
12733 echo "$as_me:12733: \$? = $ac_status" >&5
12734 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12735 then
12736 # The compiler can only warn and ignore the option if not recognized
12737 # So say no if there are warnings
12738 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12739 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12740 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12741 lt_cv_prog_compiler_c_o_CXX=yes
12744 chmod u+w . 2>&5
12745 $RM conftest*
12746 # SGI C++ compiler will create directory out/ii_files/ for
12747 # template instantiation
12748 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12749 $RM out/* && rmdir out
12750 cd ..
12751 $RM -r conftest
12752 $RM conftest*
12755 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12756 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12760 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12761 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12762 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12763 echo $ECHO_N "(cached) $ECHO_C" >&6
12764 else
12765 lt_cv_prog_compiler_c_o_CXX=no
12766 $RM -r conftest 2>/dev/null
12767 mkdir conftest
12768 cd conftest
12769 mkdir out
12770 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12772 lt_compiler_flag="-o out/conftest2.$ac_objext"
12773 # Insert the option either (1) after the last *FLAGS variable, or
12774 # (2) before a word containing "conftest.", or (3) at the end.
12775 # Note that $ac_compile itself does not contain backslashes and begins
12776 # with a dollar sign (not a hyphen), so the echo should work correctly.
12777 lt_compile=`echo "$ac_compile" | $SED \
12778 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12779 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12780 -e 's:$: $lt_compiler_flag:'`
12781 (eval echo "\"\$as_me:12781: $lt_compile\"" >&5)
12782 (eval "$lt_compile" 2>out/conftest.err)
12783 ac_status=$?
12784 cat out/conftest.err >&5
12785 echo "$as_me:12785: \$? = $ac_status" >&5
12786 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12787 then
12788 # The compiler can only warn and ignore the option if not recognized
12789 # So say no if there are warnings
12790 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12791 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12792 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12793 lt_cv_prog_compiler_c_o_CXX=yes
12796 chmod u+w . 2>&5
12797 $RM conftest*
12798 # SGI C++ compiler will create directory out/ii_files/ for
12799 # template instantiation
12800 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12801 $RM out/* && rmdir out
12802 cd ..
12803 $RM -r conftest
12804 $RM conftest*
12807 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12808 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12813 hard_links="nottested"
12814 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12815 # do not overwrite the value of need_locks provided by the user
12816 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12817 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12818 hard_links=yes
12819 $RM conftest*
12820 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12821 touch conftest.a
12822 ln conftest.a conftest.b 2>&5 || hard_links=no
12823 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12824 echo "$as_me:$LINENO: result: $hard_links" >&5
12825 echo "${ECHO_T}$hard_links" >&6
12826 if test "$hard_links" = no; then
12827 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12828 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12829 need_locks=warn
12831 else
12832 need_locks=no
12837 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12838 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12840 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12841 case $host_os in
12842 aix4* | aix5*)
12843 # If we're using GNU nm, then we don't want the "-C" option.
12844 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12845 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12846 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12847 else
12848 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12851 pw32*)
12852 export_symbols_cmds_CXX="$ltdll_cmds"
12854 cygwin* | mingw*)
12855 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
12858 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12860 esac
12862 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12863 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12864 test "$ld_shlibs_CXX" = no && can_build_shared=no
12866 with_gnu_ld_CXX=$with_gnu_ld
12874 # Do we need to explicitly link libc?
12876 case "x$archive_cmds_need_lc_CXX" in
12877 x|xyes)
12878 # Assume -lc should be added
12879 archive_cmds_need_lc_CXX=yes
12881 if test "$enable_shared" = yes && test "$GCC" = yes; then
12882 case $archive_cmds_CXX in
12883 *'~'*)
12884 # FIXME: we may have to deal with multi-command sequences.
12886 '$CC '*)
12887 # Test whether the compiler implicitly links with -lc since on some
12888 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12889 # to ld, don't add -lc before -lgcc.
12890 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12891 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12892 $RM conftest*
12893 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12896 (eval $ac_compile) 2>&5
12897 ac_status=$?
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } 2>conftest.err; then
12900 soname=conftest
12901 lib=conftest
12902 libobjs=conftest.$ac_objext
12903 deplibs=
12904 wl=$lt_prog_compiler_wl_CXX
12905 pic_flag=$lt_prog_compiler_pic_CXX
12906 compiler_flags=-v
12907 linker_flags=-v
12908 verstring=
12909 output_objdir=.
12910 libname=conftest
12911 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12912 allow_undefined_flag_CXX=
12913 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12914 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12915 ac_status=$?
12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); }
12918 then
12919 archive_cmds_need_lc_CXX=no
12920 else
12921 archive_cmds_need_lc_CXX=yes
12923 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12924 else
12925 cat conftest.err 1>&5
12927 $RM conftest*
12928 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12929 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12931 esac
12934 esac
12999 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13000 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13001 withGCC=$GXX
13002 library_names_spec=
13003 libname_spec='lib$name'
13004 soname_spec=
13005 shrext_cmds=".so"
13006 postinstall_cmds=
13007 postuninstall_cmds=
13008 finish_cmds=
13009 finish_eval=
13010 shlibpath_var=
13011 shlibpath_overrides_runpath=unknown
13012 version_type=none
13013 dynamic_linker="$host_os ld.so"
13014 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13015 need_lib_prefix=unknown
13016 hardcode_into_libs=no
13018 # when you set need_version to no, make sure it does not cause -set_version
13019 # flags to be left without arguments
13020 need_version=unknown
13022 case $host_os in
13023 aix3*)
13024 version_type=linux
13025 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13026 shlibpath_var=LIBPATH
13028 # AIX 3 has no versioning support, so we append a major version to the name.
13029 soname_spec='${libname}${release}${shared_ext}$major'
13032 aix4* | aix5*)
13033 version_type=linux
13034 need_lib_prefix=no
13035 need_version=no
13036 hardcode_into_libs=yes
13037 if test "$host_cpu" = ia64; then
13038 # AIX 5 supports IA64
13039 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13040 shlibpath_var=LD_LIBRARY_PATH
13041 else
13042 # With GCC up to 2.95.x, collect2 would create an import file
13043 # for dependence libraries. The import file would start with
13044 # the line `#! .'. This would cause the generated library to
13045 # depend on `.', always an invalid library. This was fixed in
13046 # development snapshots of GCC prior to 3.0.
13047 case $host_os in
13048 aix4 | aix4.[01] | aix4.[01].*)
13049 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13050 echo ' yes '
13051 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13053 else
13054 can_build_shared=no
13057 esac
13058 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13059 # soname into executable. Probably we can add versioning support to
13060 # collect2, so additional links can be useful in future.
13061 if test "$aix_use_runtimelinking" = yes; then
13062 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13063 # instead of lib<name>.a to let people know that these are not
13064 # typical AIX shared libraries.
13065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13066 else
13067 # We preserve .a as extension for shared libraries through AIX4.2
13068 # and later when we are not doing run time linking.
13069 library_names_spec='${libname}${release}.a $libname.a'
13070 soname_spec='${libname}${release}${shared_ext}$major'
13072 shlibpath_var=LIBPATH
13076 amigaos*)
13077 if test "$host_cpu" = m68k; then
13078 library_names_spec='$libname.ixlibrary $libname.a'
13079 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13080 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13081 else
13082 dynamic_linker=no
13086 beos*)
13087 library_names_spec='${libname}${shared_ext}'
13088 dynamic_linker="$host_os ld.so"
13089 shlibpath_var=LIBRARY_PATH
13092 bsdi[45]*)
13093 version_type=linux
13094 need_version=no
13095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13096 soname_spec='${libname}${release}${shared_ext}$major'
13097 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13098 shlibpath_var=LD_LIBRARY_PATH
13099 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13100 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13101 # the default ld.so.conf also contains /usr/contrib/lib and
13102 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13103 # libtool to hard-code these into programs
13106 cygwin* | mingw* | pw32*)
13107 version_type=windows
13108 shrext_cmds=".dll"
13109 need_version=no
13110 need_lib_prefix=no
13112 case $withGCC,$host_os in
13113 yes,cygwin* | yes,mingw* | yes,pw32*)
13114 library_names_spec='$libname.dll.a'
13115 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13116 postinstall_cmds='base_file=`basename \${file}`~
13117 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13118 dldir=$destdir/`dirname \$dlpath`~
13119 test -d \$dldir || mkdir -p \$dldir~
13120 $install_prog $dir/$dlname \$dldir/$dlname~
13121 chmod a+x \$dldir/$dlname~
13122 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13123 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13125 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13126 dlpath=$dir/\$dldll~
13127 $RM \$dlpath'
13128 shlibpath_overrides_runpath=yes
13130 case $host_os in
13131 cygwin*)
13132 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13133 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13134 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13136 mingw*)
13137 # MinGW DLLs use traditional 'lib' prefix
13138 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13139 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13140 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13141 # It is most probably a Windows format PATH printed by
13142 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13143 # path with ; separators, and with drive letters. We can handle the
13144 # drive letters (cygwin fileutils understands them), so leave them,
13145 # especially as we might pass files found there to a mingw objdump,
13146 # which wouldn't understand a cygwinified path. Ahh.
13147 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13148 else
13149 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13152 pw32*)
13153 # pw32 DLLs use 'pw' prefix rather than 'lib'
13154 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13156 esac
13160 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13162 esac
13163 dynamic_linker='Win32 ld.exe'
13164 # FIXME: first we should search . and the directory the executable is in
13165 shlibpath_var=PATH
13168 darwin* | rhapsody*)
13169 dynamic_linker="$host_os dyld"
13170 version_type=darwin
13171 need_lib_prefix=no
13172 need_version=no
13173 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13174 soname_spec='${libname}${release}${major}$shared_ext'
13175 shlibpath_overrides_runpath=yes
13176 shlibpath_var=DYLD_LIBRARY_PATH
13177 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13179 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13182 dgux*)
13183 version_type=linux
13184 need_lib_prefix=no
13185 need_version=no
13186 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13187 soname_spec='${libname}${release}${shared_ext}$major'
13188 shlibpath_var=LD_LIBRARY_PATH
13191 freebsd1*)
13192 dynamic_linker=no
13195 freebsd* | dragonfly*)
13196 # DragonFly does not have aout. When/if they implement a new
13197 # versioning mechanism, adjust this.
13198 if test -x /usr/bin/objformat; then
13199 objformat=`/usr/bin/objformat`
13200 else
13201 case $host_os in
13202 freebsd[123]*) objformat=aout ;;
13203 *) objformat=elf ;;
13204 esac
13206 version_type=freebsd-$objformat
13207 case $version_type in
13208 freebsd-elf*)
13209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13210 need_version=no
13211 need_lib_prefix=no
13213 freebsd-*)
13214 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13215 need_version=yes
13217 esac
13218 shlibpath_var=LD_LIBRARY_PATH
13219 case $host_os in
13220 freebsd2*)
13221 shlibpath_overrides_runpath=yes
13223 freebsd3.[01]* | freebsdelf3.[01]*)
13224 shlibpath_overrides_runpath=yes
13225 hardcode_into_libs=yes
13227 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13228 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13229 shlibpath_overrides_runpath=no
13230 hardcode_into_libs=yes
13232 *) # from 4.6 on, and DragonFly
13233 shlibpath_overrides_runpath=yes
13234 hardcode_into_libs=yes
13236 esac
13239 gnu*)
13240 version_type=linux
13241 need_lib_prefix=no
13242 need_version=no
13243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13244 soname_spec='${libname}${release}${shared_ext}$major'
13245 shlibpath_var=LD_LIBRARY_PATH
13246 hardcode_into_libs=yes
13249 hpux9* | hpux10* | hpux11*)
13250 # Give a soname corresponding to the major version so that dld.sl refuses to
13251 # link against other versions.
13252 version_type=sunos
13253 need_lib_prefix=no
13254 need_version=no
13255 case $host_cpu in
13256 ia64*)
13257 shrext_cmds='.so'
13258 hardcode_into_libs=yes
13259 dynamic_linker="$host_os dld.so"
13260 shlibpath_var=LD_LIBRARY_PATH
13261 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13263 soname_spec='${libname}${release}${shared_ext}$major'
13264 if test "X$HPUX_IA64_MODE" = X32; then
13265 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13266 else
13267 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13269 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13271 hppa*64*)
13272 shrext_cmds='.sl'
13273 hardcode_into_libs=yes
13274 dynamic_linker="$host_os dld.sl"
13275 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13276 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13278 soname_spec='${libname}${release}${shared_ext}$major'
13279 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13280 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13283 shrext_cmds='.sl'
13284 dynamic_linker="$host_os dld.sl"
13285 shlibpath_var=SHLIB_PATH
13286 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13288 soname_spec='${libname}${release}${shared_ext}$major'
13290 esac
13291 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13292 postinstall_cmds='chmod 555 $lib'
13295 interix[3-9]*)
13296 version_type=linux
13297 need_lib_prefix=no
13298 need_version=no
13299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13300 soname_spec='${libname}${release}${shared_ext}$major'
13301 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13302 shlibpath_var=LD_LIBRARY_PATH
13303 shlibpath_overrides_runpath=no
13304 hardcode_into_libs=yes
13307 irix5* | irix6* | nonstopux*)
13308 case $host_os in
13309 nonstopux*) version_type=nonstopux ;;
13311 if test "$lt_cv_prog_gnu_ld" = yes; then
13312 version_type=linux
13313 else
13314 version_type=irix
13315 fi ;;
13316 esac
13317 need_lib_prefix=no
13318 need_version=no
13319 soname_spec='${libname}${release}${shared_ext}$major'
13320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13321 case $host_os in
13322 irix5* | nonstopux*)
13323 libsuff= shlibsuff=
13326 case $LD in # libtool.m4 will add one of these switches to LD
13327 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13328 libsuff= shlibsuff= libmagic=32-bit;;
13329 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13330 libsuff=32 shlibsuff=N32 libmagic=N32;;
13331 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13332 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13333 *) libsuff= shlibsuff= libmagic=never-match;;
13334 esac
13336 esac
13337 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13338 shlibpath_overrides_runpath=no
13339 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13340 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13341 hardcode_into_libs=yes
13344 # No shared lib support for Linux oldld, aout, or coff.
13345 linux*oldld* | linux*aout* | linux*coff*)
13346 dynamic_linker=no
13349 # This must be Linux ELF.
13350 linux* | k*bsd*-gnu)
13351 version_type=linux
13352 need_lib_prefix=no
13353 need_version=no
13354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13355 soname_spec='${libname}${release}${shared_ext}$major'
13356 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13357 shlibpath_var=LD_LIBRARY_PATH
13358 shlibpath_overrides_runpath=no
13359 # Some binutils ld are patched to set DT_RUNPATH
13360 save_LDFLAGS=$LDFLAGS
13361 save_libdir=$libdir
13362 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13363 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13364 if test x$gcc_no_link = xyes; then
13365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13367 { (exit 1); exit 1; }; }
13369 cat >conftest.$ac_ext <<_ACEOF
13370 /* confdefs.h. */
13371 _ACEOF
13372 cat confdefs.h >>conftest.$ac_ext
13373 cat >>conftest.$ac_ext <<_ACEOF
13374 /* end confdefs.h. */
13377 main ()
13381 return 0;
13383 _ACEOF
13384 rm -f conftest.$ac_objext conftest$ac_exeext
13385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13386 (eval $ac_link) 2>conftest.er1
13387 ac_status=$?
13388 grep -v '^ *+' conftest.er1 >conftest.err
13389 rm -f conftest.er1
13390 cat conftest.err >&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); } &&
13393 { ac_try='test -z "$ac_cxx_werror_flag"
13394 || test ! -s conftest.err'
13395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13396 (eval $ac_try) 2>&5
13397 ac_status=$?
13398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399 (exit $ac_status); }; } &&
13400 { ac_try='test -s conftest$ac_exeext'
13401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13402 (eval $ac_try) 2>&5
13403 ac_status=$?
13404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13405 (exit $ac_status); }; }; then
13406 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13407 shlibpath_overrides_runpath=yes
13410 else
13411 echo "$as_me: failed program was:" >&5
13412 sed 's/^/| /' conftest.$ac_ext >&5
13415 rm -f conftest.err conftest.$ac_objext \
13416 conftest$ac_exeext conftest.$ac_ext
13417 LDFLAGS=$save_LDFLAGS
13418 libdir=$save_libdir
13420 # This implies no fast_install, which is unacceptable.
13421 # Some rework will be needed to allow for fast_install
13422 # before this can be enabled.
13423 hardcode_into_libs=yes
13425 # Append ld.so.conf contents to the search path
13426 if test -f /etc/ld.so.conf; then
13427 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13428 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13431 # We used to test for /lib/ld.so.1 and disable shared libraries on
13432 # powerpc, because MkLinux only supported shared libraries with the
13433 # GNU dynamic linker. Since this was broken with cross compilers,
13434 # most powerpc-linux boxes support dynamic linking these days and
13435 # people can always --disable-shared, the test was removed, and we
13436 # assume the GNU/Linux dynamic linker is in use.
13437 dynamic_linker='GNU/Linux ld.so'
13440 netbsd*)
13441 version_type=sunos
13442 need_lib_prefix=no
13443 need_version=no
13444 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13446 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13447 dynamic_linker='NetBSD (a.out) ld.so'
13448 else
13449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13450 soname_spec='${libname}${release}${shared_ext}$major'
13451 dynamic_linker='NetBSD ld.elf_so'
13453 shlibpath_var=LD_LIBRARY_PATH
13454 shlibpath_overrides_runpath=yes
13455 hardcode_into_libs=yes
13458 newsos6)
13459 version_type=linux
13460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13461 shlibpath_var=LD_LIBRARY_PATH
13462 shlibpath_overrides_runpath=yes
13465 *nto* | *qnx*)
13466 version_type=qnx
13467 need_lib_prefix=no
13468 need_version=no
13469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13470 soname_spec='${libname}${release}${shared_ext}$major'
13471 shlibpath_var=LD_LIBRARY_PATH
13472 shlibpath_overrides_runpath=no
13473 hardcode_into_libs=yes
13474 dynamic_linker='ldqnx.so'
13477 openbsd*)
13478 version_type=sunos
13479 sys_lib_dlsearch_path_spec="/usr/lib"
13480 need_lib_prefix=no
13481 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13482 case $host_os in
13483 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13484 *) need_version=no ;;
13485 esac
13486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13487 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13488 shlibpath_var=LD_LIBRARY_PATH
13489 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13490 case $host_os in
13491 openbsd2.[89] | openbsd2.[89].*)
13492 shlibpath_overrides_runpath=no
13495 shlibpath_overrides_runpath=yes
13497 esac
13498 else
13499 shlibpath_overrides_runpath=yes
13503 os2*)
13504 libname_spec='$name'
13505 shrext_cmds=".dll"
13506 need_lib_prefix=no
13507 library_names_spec='$libname${shared_ext} $libname.a'
13508 dynamic_linker='OS/2 ld.exe'
13509 shlibpath_var=LIBPATH
13512 osf3* | osf4* | osf5*)
13513 version_type=osf
13514 need_lib_prefix=no
13515 need_version=no
13516 soname_spec='${libname}${release}${shared_ext}$major'
13517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13518 shlibpath_var=LD_LIBRARY_PATH
13519 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13520 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13523 rdos*)
13524 dynamic_linker=no
13527 solaris*)
13528 version_type=linux
13529 need_lib_prefix=no
13530 need_version=no
13531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13532 soname_spec='${libname}${release}${shared_ext}$major'
13533 shlibpath_var=LD_LIBRARY_PATH
13534 shlibpath_overrides_runpath=yes
13535 hardcode_into_libs=yes
13536 # ldd complains unless libraries are executable
13537 postinstall_cmds='chmod +x $lib'
13540 sunos4*)
13541 version_type=sunos
13542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13543 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13544 shlibpath_var=LD_LIBRARY_PATH
13545 shlibpath_overrides_runpath=yes
13546 if test "$with_gnu_ld" = yes; then
13547 need_lib_prefix=no
13549 need_version=yes
13552 sysv4 | sysv4.3*)
13553 version_type=linux
13554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13555 soname_spec='${libname}${release}${shared_ext}$major'
13556 shlibpath_var=LD_LIBRARY_PATH
13557 case $host_vendor in
13558 sni)
13559 shlibpath_overrides_runpath=no
13560 need_lib_prefix=no
13561 runpath_var=LD_RUN_PATH
13563 siemens)
13564 need_lib_prefix=no
13566 motorola)
13567 need_lib_prefix=no
13568 need_version=no
13569 shlibpath_overrides_runpath=no
13570 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13572 esac
13575 sysv4*MP*)
13576 if test -d /usr/nec ;then
13577 version_type=linux
13578 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13579 soname_spec='$libname${shared_ext}.$major'
13580 shlibpath_var=LD_LIBRARY_PATH
13584 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13585 version_type=freebsd-elf
13586 need_lib_prefix=no
13587 need_version=no
13588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13589 soname_spec='${libname}${release}${shared_ext}$major'
13590 shlibpath_var=LD_LIBRARY_PATH
13591 shlibpath_overrides_runpath=yes
13592 hardcode_into_libs=yes
13593 if test "$with_gnu_ld" = yes; then
13594 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13595 else
13596 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13597 case $host_os in
13598 sco3.2v5*)
13599 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13601 esac
13603 sys_lib_dlsearch_path_spec='/usr/lib'
13606 tpf*)
13607 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13608 version_type=linux
13609 need_lib_prefix=no
13610 need_version=no
13611 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13612 shlibpath_var=LD_LIBRARY_PATH
13613 shlibpath_overrides_runpath=no
13614 hardcode_into_libs=yes
13617 uts4*)
13618 version_type=linux
13619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13620 soname_spec='${libname}${release}${shared_ext}$major'
13621 shlibpath_var=LD_LIBRARY_PATH
13625 dynamic_linker=no
13627 esac
13628 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13629 echo "${ECHO_T}$dynamic_linker" >&6
13630 test "$dynamic_linker" = no && can_build_shared=no
13632 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13633 if test "$GCC" = yes; then
13634 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13672 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13673 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13674 hardcode_action_CXX=
13675 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13676 test -n "$runpath_var_CXX" ||
13677 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13679 # We can hardcode non-existent directories.
13680 if test "$hardcode_direct_CXX" != no &&
13681 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13682 # have to relink, otherwise we might link with an installed library
13683 # when we should be linking with a yet-to-be-installed one
13684 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13685 test "$hardcode_minus_L_CXX" != no; then
13686 # Linking always hardcodes the temporary library directory.
13687 hardcode_action_CXX=relink
13688 else
13689 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13690 hardcode_action_CXX=immediate
13692 else
13693 # We cannot hardcode anything, or else we can only hardcode existing
13694 # directories.
13695 hardcode_action_CXX=unsupported
13697 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13698 echo "${ECHO_T}$hardcode_action_CXX" >&6
13700 if test "$hardcode_action_CXX" = relink ||
13701 test "$inherit_rpath_CXX" = yes; then
13702 # Fast installation is not supported
13703 enable_fast_install=no
13704 elif test "$shlibpath_overrides_runpath" = yes ||
13705 test "$enable_shared" = no; then
13706 # Fast installation is not necessary
13707 enable_fast_install=needless
13716 fi # test -n "$compiler"
13718 CC=$lt_save_CC
13719 LDCXX=$LD
13720 LD=$lt_save_LD
13721 GCC=$lt_save_GCC
13722 with_gnu_ld=$lt_save_with_gnu_ld
13723 lt_cv_path_LDCXX=$lt_cv_path_LD
13724 lt_cv_path_LD=$lt_save_path_LD
13725 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13726 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13727 fi # test "$_lt_caught_CXX_error" != yes
13729 ac_ext=c
13730 ac_cpp='$CPP $CPPFLAGS'
13731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13747 ac_config_commands="$ac_config_commands libtool"
13752 # Only expand once:
13758 # Possibly disable most of the library.
13759 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13760 ## than just ignoring the results. Faster /and/ more correct, win win.
13762 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13763 if test "${enable_hosted_libstdcxx+set}" = set; then
13764 enableval="$enable_hosted_libstdcxx"
13766 else
13767 case "$host" in
13768 arm*-*-symbianelf*)
13769 enable_hosted_libstdcxx=no
13772 enable_hosted_libstdcxx=yes
13774 esac
13776 if test "$enable_hosted_libstdcxx" = no; then
13777 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13778 echo "$as_me: Only freestanding libraries will be built" >&6;}
13779 is_hosted=no
13780 hosted_define=0
13781 enable_abi_check=no
13782 enable_libstdcxx_pch=no
13783 else
13784 is_hosted=yes
13785 hosted_define=1
13789 cat >>confdefs.h <<_ACEOF
13790 #define _GLIBCXX_HOSTED $hosted_define
13791 _ACEOF
13795 # Check for compiler support that doesn't require linking.
13797 echo "$as_me:$LINENO: checking for exception model to use" >&5
13798 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13801 ac_ext=cc
13802 ac_cpp='$CXXCPP $CPPFLAGS'
13803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13807 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13808 if test "${enable_sjlj_exceptions+set}" = set; then
13809 enableval="$enable_sjlj_exceptions"
13811 case "$enableval" in
13812 yes|no|auto) ;;
13813 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13814 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13815 { (exit 1); exit 1; }; } ;;
13816 esac
13818 else
13819 enable_sjlj_exceptions=auto
13823 if test $enable_sjlj_exceptions = auto; then
13824 # Botheration. Now we've got to detect the exception model. Link tests
13825 # against libgcc.a are problematic since we've not been given proper -L
13826 # bits for single-tree newlib and libgloss.
13828 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
13829 cat > conftest.$ac_ext << EOF
13830 #line 13830 "configure"
13831 struct S { ~S(); };
13832 void bar();
13833 void foo()
13835 S s;
13836 bar();
13839 old_CXXFLAGS="$CXXFLAGS"
13840 CXXFLAGS=-S
13841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13842 (eval $ac_compile) 2>&5
13843 ac_status=$?
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); }; then
13846 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13847 enable_sjlj_exceptions=yes
13848 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13849 enable_sjlj_exceptions=no
13850 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13851 enable_sjlj_exceptions=no
13854 CXXFLAGS="$old_CXXFLAGS"
13855 rm -f conftest*
13858 # This is a tad weird, for hysterical raisins. We have to map
13859 # enable/disable to two different models.
13860 case $enable_sjlj_exceptions in
13861 yes)
13863 cat >>confdefs.h <<\_ACEOF
13864 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13865 _ACEOF
13867 ac_exception_model_name=sjlj
13870 ac_exception_model_name="call frame"
13873 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13874 echo "$as_me: error: unable to detect exception model" >&2;}
13875 { (exit 1); exit 1; }; }
13877 esac
13878 ac_ext=c
13879 ac_cpp='$CPP $CPPFLAGS'
13880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13884 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13885 echo "${ECHO_T}$ac_exception_model_name" >&6
13888 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13889 if test "${enable_libstdcxx_pch+set}" = set; then
13890 enableval="$enable_libstdcxx_pch"
13892 case "$enableval" in
13893 yes|no) ;;
13894 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13895 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13896 { (exit 1); exit 1; }; } ;;
13897 esac
13899 else
13900 enable_libstdcxx_pch=$is_hosted
13903 if test $enable_libstdcxx_pch = yes; then
13904 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13905 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13906 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13907 echo $ECHO_N "(cached) $ECHO_C" >&6
13908 else
13909 ac_save_CXXFLAGS="$CXXFLAGS"
13910 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13913 ac_ext=cc
13914 ac_cpp='$CXXCPP $CPPFLAGS'
13915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13919 echo '#include <math.h>' > conftest.h
13920 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13921 -o conftest.h.gch 1>&5 2>&1 &&
13922 echo '#error "pch failed"' > conftest.h &&
13923 echo '#include "conftest.h"' > conftest.cc &&
13924 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13925 then
13926 glibcxx_cv_prog_CXX_pch=yes
13927 else
13928 glibcxx_cv_prog_CXX_pch=no
13930 rm -f conftest*
13931 CXXFLAGS=$ac_save_CXXFLAGS
13932 ac_ext=c
13933 ac_cpp='$CPP $CPPFLAGS'
13934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13940 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13941 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13942 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13945 echo "$as_me:$LINENO: checking for enabled PCH" >&5
13946 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13947 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13948 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13951 if test $enable_libstdcxx_pch = yes; then
13952 glibcxx_PCHFLAGS="-include bits/stdtr1c++.h"
13953 else
13954 glibcxx_PCHFLAGS=""
13959 # Enable all the variable C++ runtime options.
13961 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
13962 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
13963 # Check whether --enable-cstdio or --disable-cstdio was given.
13964 if test "${enable_cstdio+set}" = set; then
13965 enableval="$enable_cstdio"
13967 case "$enableval" in
13968 stdio) ;;
13969 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
13970 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
13971 { (exit 1); exit 1; }; } ;;
13972 esac
13974 else
13975 enable_cstdio=stdio
13979 # Now that libio has been removed, you can have any color you want as long
13980 # as it's black. This is one big no-op until other packages are added, but
13981 # showing the framework never hurts.
13982 case ${enable_cstdio} in
13983 stdio)
13984 CSTDIO_H=config/io/c_io_stdio.h
13985 BASIC_FILE_H=config/io/basic_file_stdio.h
13986 BASIC_FILE_CC=config/io/basic_file_stdio.cc
13987 echo "$as_me:$LINENO: result: stdio" >&5
13988 echo "${ECHO_T}stdio" >&6
13990 esac
13997 # Check whether --enable-clocale or --disable-clocale was given.
13998 if test "${enable_clocale+set}" = set; then
13999 enableval="$enable_clocale"
14001 case "$enableval" in
14002 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14003 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14004 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14005 { (exit 1); exit 1; }; } ;;
14006 esac
14008 else
14009 enable_clocale=auto
14013 # Deal with gettext issues. Default to not using it (=no) until we detect
14014 # support for it later. Let the user turn it off via --e/d, but let that
14015 # default to on for easier handling.
14016 USE_NLS=no
14017 # Check whether --enable-nls or --disable-nls was given.
14018 if test "${enable_nls+set}" = set; then
14019 enableval="$enable_nls"
14021 else
14022 enable_nls=yes
14025 # Either a known packaage, or "auto"
14026 if test $enable_clocale = no || test $enable_clocale = yes; then
14027 enable_clocale=auto
14029 enable_clocale_flag=$enable_clocale
14031 # Probe for locale model to use if none specified.
14032 # Default to "generic".
14033 if test $enable_clocale_flag = auto; then
14034 case ${target_os} in
14035 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14036 enable_clocale_flag=gnu
14038 darwin* | freebsd*)
14039 enable_clocale_flag=darwin
14042 enable_clocale_flag=generic
14044 esac
14047 # Sanity check model, and test for special functionality.
14048 if test $enable_clocale_flag = gnu; then
14049 cat >conftest.$ac_ext <<_ACEOF
14050 /* confdefs.h. */
14051 _ACEOF
14052 cat confdefs.h >>conftest.$ac_ext
14053 cat >>conftest.$ac_ext <<_ACEOF
14054 /* end confdefs.h. */
14056 #include <features.h>
14057 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14058 _GLIBCXX_ok
14059 #endif
14061 _ACEOF
14062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14063 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14064 enable_clocale_flag=gnu
14065 else
14066 enable_clocale_flag=generic
14068 rm -f conftest*
14071 # Test for bugs early in glibc-2.2.x series
14072 if test "$cross_compiling" = yes; then
14073 enable_clocale_flag=generic
14074 else
14075 cat >conftest.$ac_ext <<_ACEOF
14076 /* confdefs.h. */
14077 _ACEOF
14078 cat confdefs.h >>conftest.$ac_ext
14079 cat >>conftest.$ac_ext <<_ACEOF
14080 /* end confdefs.h. */
14082 #define _GNU_SOURCE 1
14083 #include <locale.h>
14084 #include <string.h>
14085 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14086 extern __typeof(newlocale) __newlocale;
14087 extern __typeof(duplocale) __duplocale;
14088 extern __typeof(strcoll_l) __strcoll_l;
14089 #endif
14090 int main()
14092 const char __one[] = "Äuglein Augmen";
14093 const char __two[] = "Äuglein";
14094 int i;
14095 int j;
14096 __locale_t loc;
14097 __locale_t loc_dup;
14098 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14099 loc_dup = __duplocale(loc);
14100 i = __strcoll_l(__one, __two, loc);
14101 j = __strcoll_l(__one, __two, loc_dup);
14102 return 0;
14105 _ACEOF
14106 rm -f conftest$ac_exeext
14107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14108 (eval $ac_link) 2>&5
14109 ac_status=$?
14110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14113 (eval $ac_try) 2>&5
14114 ac_status=$?
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); }; }; then
14117 enable_clocale_flag=gnu
14118 else
14119 echo "$as_me: program exited with status $ac_status" >&5
14120 echo "$as_me: failed program was:" >&5
14121 sed 's/^/| /' conftest.$ac_ext >&5
14123 ( exit $ac_status )
14124 enable_clocale_flag=generic
14126 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14129 # Set it to scream when it hurts.
14130 ac_save_CFLAGS="$CFLAGS"
14131 CFLAGS="-Wimplicit-function-declaration -Werror"
14133 # Use strxfrm_l if available.
14134 cat >conftest.$ac_ext <<_ACEOF
14135 /* confdefs.h. */
14136 _ACEOF
14137 cat confdefs.h >>conftest.$ac_ext
14138 cat >>conftest.$ac_ext <<_ACEOF
14139 /* end confdefs.h. */
14140 #define _GNU_SOURCE 1
14141 #include <string.h>
14142 #include <locale.h>
14144 main ()
14146 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14148 return 0;
14150 _ACEOF
14151 rm -f conftest.$ac_objext
14152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14153 (eval $ac_compile) 2>conftest.er1
14154 ac_status=$?
14155 grep -v '^ *+' conftest.er1 >conftest.err
14156 rm -f conftest.er1
14157 cat conftest.err >&5
14158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14159 (exit $ac_status); } &&
14160 { ac_try='test -z "$ac_c_werror_flag"
14161 || test ! -s conftest.err'
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); }; } &&
14167 { ac_try='test -s conftest.$ac_objext'
14168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14169 (eval $ac_try) 2>&5
14170 ac_status=$?
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); }; }; then
14174 cat >>confdefs.h <<\_ACEOF
14175 #define HAVE_STRXFRM_L 1
14176 _ACEOF
14178 else
14179 echo "$as_me: failed program was:" >&5
14180 sed 's/^/| /' conftest.$ac_ext >&5
14183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14185 # Use strerror_l if available.
14186 cat >conftest.$ac_ext <<_ACEOF
14187 /* confdefs.h. */
14188 _ACEOF
14189 cat confdefs.h >>conftest.$ac_ext
14190 cat >>conftest.$ac_ext <<_ACEOF
14191 /* end confdefs.h. */
14192 #define _GNU_SOURCE 1
14193 #include <string.h>
14194 #include <locale.h>
14196 main ()
14198 __locale_t loc; strerror_l(5, loc);
14200 return 0;
14202 _ACEOF
14203 rm -f conftest.$ac_objext
14204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14205 (eval $ac_compile) 2>conftest.er1
14206 ac_status=$?
14207 grep -v '^ *+' conftest.er1 >conftest.err
14208 rm -f conftest.er1
14209 cat conftest.err >&5
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); } &&
14212 { ac_try='test -z "$ac_c_werror_flag"
14213 || test ! -s conftest.err'
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); }; } &&
14219 { ac_try='test -s conftest.$ac_objext'
14220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14221 (eval $ac_try) 2>&5
14222 ac_status=$?
14223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224 (exit $ac_status); }; }; then
14226 cat >>confdefs.h <<\_ACEOF
14227 #define HAVE_STRERROR_L 1
14228 _ACEOF
14230 else
14231 echo "$as_me: failed program was:" >&5
14232 sed 's/^/| /' conftest.$ac_ext >&5
14235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14237 CFLAGS="$ac_save_CFLAGS"
14240 # Perhaps use strerror_r if available, and strerror_l isn't.
14241 ac_save_CFLAGS="$CFLAGS"
14242 CFLAGS="-Wimplicit-function-declaration -Werror"
14243 cat >conftest.$ac_ext <<_ACEOF
14244 /* confdefs.h. */
14245 _ACEOF
14246 cat confdefs.h >>conftest.$ac_ext
14247 cat >>conftest.$ac_ext <<_ACEOF
14248 /* end confdefs.h. */
14249 #define _GNU_SOURCE 1
14250 #include <string.h>
14251 #include <locale.h>
14253 main ()
14255 char s[128]; strerror_r(5, s, 128);
14257 return 0;
14259 _ACEOF
14260 rm -f conftest.$ac_objext
14261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14262 (eval $ac_compile) 2>conftest.er1
14263 ac_status=$?
14264 grep -v '^ *+' conftest.er1 >conftest.err
14265 rm -f conftest.er1
14266 cat conftest.err >&5
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268 (exit $ac_status); } &&
14269 { ac_try='test -z "$ac_c_werror_flag"
14270 || test ! -s conftest.err'
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); }; } &&
14276 { ac_try='test -s conftest.$ac_objext'
14277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14278 (eval $ac_try) 2>&5
14279 ac_status=$?
14280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14281 (exit $ac_status); }; }; then
14283 cat >>confdefs.h <<\_ACEOF
14284 #define HAVE_STRERROR_R 1
14285 _ACEOF
14287 else
14288 echo "$as_me: failed program was:" >&5
14289 sed 's/^/| /' conftest.$ac_ext >&5
14292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14293 CFLAGS="$ac_save_CFLAGS"
14295 # Set configure bits for specified locale package
14296 echo "$as_me:$LINENO: checking for C locale to use" >&5
14297 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14298 case ${enable_clocale_flag} in
14299 generic)
14300 echo "$as_me:$LINENO: result: generic" >&5
14301 echo "${ECHO_T}generic" >&6
14303 CLOCALE_H=config/locale/generic/c_locale.h
14304 CLOCALE_CC=config/locale/generic/c_locale.cc
14305 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14306 CCOLLATE_CC=config/locale/generic/collate_members.cc
14307 CCTYPE_CC=config/locale/generic/ctype_members.cc
14308 CMESSAGES_H=config/locale/generic/messages_members.h
14309 CMESSAGES_CC=config/locale/generic/messages_members.cc
14310 CMONEY_CC=config/locale/generic/monetary_members.cc
14311 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14312 CTIME_H=config/locale/generic/time_members.h
14313 CTIME_CC=config/locale/generic/time_members.cc
14314 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14316 darwin)
14317 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14318 echo "${ECHO_T}darwin or freebsd" >&6
14320 CLOCALE_H=config/locale/generic/c_locale.h
14321 CLOCALE_CC=config/locale/generic/c_locale.cc
14322 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14323 CCOLLATE_CC=config/locale/generic/collate_members.cc
14324 CCTYPE_CC=config/locale/darwin/ctype_members.cc
14325 CMESSAGES_H=config/locale/generic/messages_members.h
14326 CMESSAGES_CC=config/locale/generic/messages_members.cc
14327 CMONEY_CC=config/locale/generic/monetary_members.cc
14328 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14329 CTIME_H=config/locale/generic/time_members.h
14330 CTIME_CC=config/locale/generic/time_members.cc
14331 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14334 gnu)
14335 echo "$as_me:$LINENO: result: gnu" >&5
14336 echo "${ECHO_T}gnu" >&6
14338 # Declare intention to use gettext, and add support for specific
14339 # languages.
14340 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14341 ALL_LINGUAS="de fr"
14343 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14344 # Extract the first word of "msgfmt", so it can be a program name with args.
14345 set dummy msgfmt; ac_word=$2
14346 echo "$as_me:$LINENO: checking for $ac_word" >&5
14347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14348 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14349 echo $ECHO_N "(cached) $ECHO_C" >&6
14350 else
14351 if test -n "$check_msgfmt"; then
14352 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14353 else
14354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14355 for as_dir in $PATH
14357 IFS=$as_save_IFS
14358 test -z "$as_dir" && as_dir=.
14359 for ac_exec_ext in '' $ac_executable_extensions; do
14360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14361 ac_cv_prog_check_msgfmt="yes"
14362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14363 break 2
14365 done
14366 done
14368 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14371 check_msgfmt=$ac_cv_prog_check_msgfmt
14372 if test -n "$check_msgfmt"; then
14373 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14374 echo "${ECHO_T}$check_msgfmt" >&6
14375 else
14376 echo "$as_me:$LINENO: result: no" >&5
14377 echo "${ECHO_T}no" >&6
14380 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14381 USE_NLS=yes
14383 # Export the build objects.
14384 for ling in $ALL_LINGUAS; do \
14385 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14386 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14387 done
14391 CLOCALE_H=config/locale/gnu/c_locale.h
14392 CLOCALE_CC=config/locale/gnu/c_locale.cc
14393 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14394 CCOLLATE_CC=config/locale/gnu/collate_members.cc
14395 CCTYPE_CC=config/locale/gnu/ctype_members.cc
14396 CMESSAGES_H=config/locale/gnu/messages_members.h
14397 CMESSAGES_CC=config/locale/gnu/messages_members.cc
14398 CMONEY_CC=config/locale/gnu/monetary_members.cc
14399 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14400 CTIME_H=config/locale/gnu/time_members.h
14401 CTIME_CC=config/locale/gnu/time_members.cc
14402 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14404 ieee_1003.1-2001)
14405 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14406 echo "${ECHO_T}IEEE 1003.1" >&6
14408 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14409 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14410 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14411 CCOLLATE_CC=config/locale/generic/collate_members.cc
14412 CCTYPE_CC=config/locale/generic/ctype_members.cc
14413 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14414 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14415 CMONEY_CC=config/locale/generic/monetary_members.cc
14416 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14417 CTIME_H=config/locale/generic/time_members.h
14418 CTIME_CC=config/locale/generic/time_members.cc
14419 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14421 esac
14423 # This is where the testsuite looks for locale catalogs, using the
14424 # -DLOCALEDIR define during testsuite compilation.
14425 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14428 # A standalone libintl (e.g., GNU libintl) may be in use.
14429 if test $USE_NLS = yes; then
14431 for ac_header in libintl.h
14433 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14435 echo "$as_me:$LINENO: checking for $ac_header" >&5
14436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14438 echo $ECHO_N "(cached) $ECHO_C" >&6
14440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14442 else
14443 # Is the header compilable?
14444 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14445 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14446 cat >conftest.$ac_ext <<_ACEOF
14447 /* confdefs.h. */
14448 _ACEOF
14449 cat confdefs.h >>conftest.$ac_ext
14450 cat >>conftest.$ac_ext <<_ACEOF
14451 /* end confdefs.h. */
14452 $ac_includes_default
14453 #include <$ac_header>
14454 _ACEOF
14455 rm -f conftest.$ac_objext
14456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14457 (eval $ac_compile) 2>conftest.er1
14458 ac_status=$?
14459 grep -v '^ *+' conftest.er1 >conftest.err
14460 rm -f conftest.er1
14461 cat conftest.err >&5
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 (exit $ac_status); } &&
14464 { ac_try='test -z "$ac_c_werror_flag"
14465 || test ! -s conftest.err'
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); }; } &&
14471 { ac_try='test -s conftest.$ac_objext'
14472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14473 (eval $ac_try) 2>&5
14474 ac_status=$?
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); }; }; then
14477 ac_header_compiler=yes
14478 else
14479 echo "$as_me: failed program was:" >&5
14480 sed 's/^/| /' conftest.$ac_ext >&5
14482 ac_header_compiler=no
14484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14486 echo "${ECHO_T}$ac_header_compiler" >&6
14488 # Is the header present?
14489 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14490 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14491 cat >conftest.$ac_ext <<_ACEOF
14492 /* confdefs.h. */
14493 _ACEOF
14494 cat confdefs.h >>conftest.$ac_ext
14495 cat >>conftest.$ac_ext <<_ACEOF
14496 /* end confdefs.h. */
14497 #include <$ac_header>
14498 _ACEOF
14499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14500 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14501 ac_status=$?
14502 grep -v '^ *+' conftest.er1 >conftest.err
14503 rm -f conftest.er1
14504 cat conftest.err >&5
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); } >/dev/null; then
14507 if test -s conftest.err; then
14508 ac_cpp_err=$ac_c_preproc_warn_flag
14509 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14510 else
14511 ac_cpp_err=
14513 else
14514 ac_cpp_err=yes
14516 if test -z "$ac_cpp_err"; then
14517 ac_header_preproc=yes
14518 else
14519 echo "$as_me: failed program was:" >&5
14520 sed 's/^/| /' conftest.$ac_ext >&5
14522 ac_header_preproc=no
14524 rm -f conftest.err conftest.$ac_ext
14525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14526 echo "${ECHO_T}$ac_header_preproc" >&6
14528 # So? What about this header?
14529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14530 yes:no: )
14531 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14532 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14534 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14535 ac_header_preproc=yes
14537 no:yes:* )
14538 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14539 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14540 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14541 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14542 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14543 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14544 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14545 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14547 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14548 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14549 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14551 cat <<\_ASBOX
14552 ## ----------------------------------------- ##
14553 ## Report this to the package-unused lists. ##
14554 ## ----------------------------------------- ##
14555 _ASBOX
14557 sed "s/^/$as_me: WARNING: /" >&2
14559 esac
14560 echo "$as_me:$LINENO: checking for $ac_header" >&5
14561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14563 echo $ECHO_N "(cached) $ECHO_C" >&6
14564 else
14565 eval "$as_ac_Header=\$ac_header_preproc"
14567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14571 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14572 cat >>confdefs.h <<_ACEOF
14573 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14574 _ACEOF
14576 else
14577 USE_NLS=no
14580 done
14582 echo "$as_me:$LINENO: checking for library containing gettext" >&5
14583 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14584 if test "${ac_cv_search_gettext+set}" = set; then
14585 echo $ECHO_N "(cached) $ECHO_C" >&6
14586 else
14587 ac_func_search_save_LIBS=$LIBS
14588 ac_cv_search_gettext=no
14589 if test x$gcc_no_link = xyes; then
14590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14592 { (exit 1); exit 1; }; }
14594 cat >conftest.$ac_ext <<_ACEOF
14595 /* confdefs.h. */
14596 _ACEOF
14597 cat confdefs.h >>conftest.$ac_ext
14598 cat >>conftest.$ac_ext <<_ACEOF
14599 /* end confdefs.h. */
14601 /* Override any gcc2 internal prototype to avoid an error. */
14602 #ifdef __cplusplus
14603 extern "C"
14604 #endif
14605 /* We use char because int might match the return type of a gcc2
14606 builtin and then its argument prototype would still apply. */
14607 char gettext ();
14609 main ()
14611 gettext ();
14613 return 0;
14615 _ACEOF
14616 rm -f conftest.$ac_objext conftest$ac_exeext
14617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14618 (eval $ac_link) 2>conftest.er1
14619 ac_status=$?
14620 grep -v '^ *+' conftest.er1 >conftest.err
14621 rm -f conftest.er1
14622 cat conftest.err >&5
14623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14624 (exit $ac_status); } &&
14625 { ac_try='test -z "$ac_c_werror_flag"
14626 || test ! -s conftest.err'
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); }; } &&
14632 { ac_try='test -s conftest$ac_exeext'
14633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14634 (eval $ac_try) 2>&5
14635 ac_status=$?
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); }; }; then
14638 ac_cv_search_gettext="none required"
14639 else
14640 echo "$as_me: failed program was:" >&5
14641 sed 's/^/| /' conftest.$ac_ext >&5
14644 rm -f conftest.err conftest.$ac_objext \
14645 conftest$ac_exeext conftest.$ac_ext
14646 if test "$ac_cv_search_gettext" = no; then
14647 for ac_lib in intl; do
14648 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14649 if test x$gcc_no_link = xyes; then
14650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14652 { (exit 1); exit 1; }; }
14654 cat >conftest.$ac_ext <<_ACEOF
14655 /* confdefs.h. */
14656 _ACEOF
14657 cat confdefs.h >>conftest.$ac_ext
14658 cat >>conftest.$ac_ext <<_ACEOF
14659 /* end confdefs.h. */
14661 /* Override any gcc2 internal prototype to avoid an error. */
14662 #ifdef __cplusplus
14663 extern "C"
14664 #endif
14665 /* We use char because int might match the return type of a gcc2
14666 builtin and then its argument prototype would still apply. */
14667 char gettext ();
14669 main ()
14671 gettext ();
14673 return 0;
14675 _ACEOF
14676 rm -f conftest.$ac_objext conftest$ac_exeext
14677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14678 (eval $ac_link) 2>conftest.er1
14679 ac_status=$?
14680 grep -v '^ *+' conftest.er1 >conftest.err
14681 rm -f conftest.er1
14682 cat conftest.err >&5
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); } &&
14685 { ac_try='test -z "$ac_c_werror_flag"
14686 || test ! -s conftest.err'
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); }; } &&
14692 { ac_try='test -s conftest$ac_exeext'
14693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14694 (eval $ac_try) 2>&5
14695 ac_status=$?
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); }; }; then
14698 ac_cv_search_gettext="-l$ac_lib"
14699 break
14700 else
14701 echo "$as_me: failed program was:" >&5
14702 sed 's/^/| /' conftest.$ac_ext >&5
14705 rm -f conftest.err conftest.$ac_objext \
14706 conftest$ac_exeext conftest.$ac_ext
14707 done
14709 LIBS=$ac_func_search_save_LIBS
14711 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
14712 echo "${ECHO_T}$ac_cv_search_gettext" >&6
14713 if test "$ac_cv_search_gettext" != no; then
14714 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
14716 else
14717 USE_NLS=no
14721 if test $USE_NLS = yes; then
14723 cat >>confdefs.h <<\_ACEOF
14724 #define _GLIBCXX_USE_NLS 1
14725 _ACEOF
14744 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
14745 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
14746 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
14747 if test "${enable_libstdcxx_allocator+set}" = set; then
14748 enableval="$enable_libstdcxx_allocator"
14750 case "$enableval" in
14751 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
14752 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
14753 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
14754 { (exit 1); exit 1; }; } ;;
14755 esac
14757 else
14758 enable_libstdcxx_allocator=auto
14762 # If they didn't use this option switch, or if they specified --enable
14763 # with no specific model, we'll have to look for one. If they
14764 # specified --disable (???), do likewise.
14765 if test $enable_libstdcxx_allocator = no ||
14766 test $enable_libstdcxx_allocator = yes;
14767 then
14768 enable_libstdcxx_allocator=auto
14771 # Either a known package, or "auto". Auto implies the default choice
14772 # for a particular platform.
14773 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
14775 # Probe for host-specific support if no specific model is specified.
14776 # Default to "new".
14777 if test $enable_libstdcxx_allocator_flag = auto; then
14778 case ${target_os} in
14779 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14780 enable_libstdcxx_allocator_flag=new
14783 enable_libstdcxx_allocator_flag=new
14785 esac
14787 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
14788 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
14791 # Set configure bits for specified locale package
14792 case ${enable_libstdcxx_allocator_flag} in
14793 bitmap)
14794 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
14795 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
14797 malloc)
14798 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
14799 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
14802 ALLOCATOR_H=config/allocator/mt_allocator_base.h
14803 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
14805 new)
14806 ALLOCATOR_H=config/allocator/new_allocator_base.h
14807 ALLOCATOR_NAME=__gnu_cxx::new_allocator
14809 pool)
14810 ALLOCATOR_H=config/allocator/pool_allocator_base.h
14811 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
14813 esac
14819 # Check whether --enable-cheaders or --disable-cheaders was given.
14820 if test "${enable_cheaders+set}" = set; then
14821 enableval="$enable_cheaders"
14823 case "$enableval" in
14824 c|c_std|c_global) ;;
14825 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
14826 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
14827 { (exit 1); exit 1; }; } ;;
14828 esac
14830 else
14831 enable_cheaders=$c_model
14834 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
14835 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
14837 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
14839 # Allow overrides to configure.host here.
14840 if test $enable_cheaders = c_global; then
14841 c_compatibility=yes
14844 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
14845 c_extra=yes
14855 # Check whether --enable-long-long or --disable-long-long was given.
14856 if test "${enable_long_long+set}" = set; then
14857 enableval="$enable_long_long"
14859 case "$enableval" in
14860 yes|no) ;;
14861 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
14862 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
14863 { (exit 1); exit 1; }; } ;;
14864 esac
14866 else
14867 enable_long_long=yes
14870 if test $enable_long_long = yes; then
14872 cat >>confdefs.h <<\_ACEOF
14873 #define _GLIBCXX_USE_LONG_LONG 1
14874 _ACEOF
14877 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
14878 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
14879 echo "$as_me:$LINENO: result: $enable_long_long" >&5
14880 echo "${ECHO_T}$enable_long_long" >&6
14883 # Check whether --enable-wchar_t or --disable-wchar_t was given.
14884 if test "${enable_wchar_t+set}" = set; then
14885 enableval="$enable_wchar_t"
14887 case "$enableval" in
14888 yes|no) ;;
14889 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
14890 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
14891 { (exit 1); exit 1; }; } ;;
14892 esac
14894 else
14895 enable_wchar_t=yes
14899 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
14901 for ac_header in wchar.h
14903 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14905 echo "$as_me:$LINENO: checking for $ac_header" >&5
14906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14908 echo $ECHO_N "(cached) $ECHO_C" >&6
14910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14912 else
14913 # Is the header compilable?
14914 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14915 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14916 cat >conftest.$ac_ext <<_ACEOF
14917 /* confdefs.h. */
14918 _ACEOF
14919 cat confdefs.h >>conftest.$ac_ext
14920 cat >>conftest.$ac_ext <<_ACEOF
14921 /* end confdefs.h. */
14922 $ac_includes_default
14923 #include <$ac_header>
14924 _ACEOF
14925 rm -f conftest.$ac_objext
14926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14927 (eval $ac_compile) 2>conftest.er1
14928 ac_status=$?
14929 grep -v '^ *+' conftest.er1 >conftest.err
14930 rm -f conftest.er1
14931 cat conftest.err >&5
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); } &&
14934 { ac_try='test -z "$ac_c_werror_flag"
14935 || test ! -s conftest.err'
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); }; } &&
14941 { ac_try='test -s conftest.$ac_objext'
14942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14943 (eval $ac_try) 2>&5
14944 ac_status=$?
14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); }; }; then
14947 ac_header_compiler=yes
14948 else
14949 echo "$as_me: failed program was:" >&5
14950 sed 's/^/| /' conftest.$ac_ext >&5
14952 ac_header_compiler=no
14954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14956 echo "${ECHO_T}$ac_header_compiler" >&6
14958 # Is the header present?
14959 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14960 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14961 cat >conftest.$ac_ext <<_ACEOF
14962 /* confdefs.h. */
14963 _ACEOF
14964 cat confdefs.h >>conftest.$ac_ext
14965 cat >>conftest.$ac_ext <<_ACEOF
14966 /* end confdefs.h. */
14967 #include <$ac_header>
14968 _ACEOF
14969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14970 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14971 ac_status=$?
14972 grep -v '^ *+' conftest.er1 >conftest.err
14973 rm -f conftest.er1
14974 cat conftest.err >&5
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); } >/dev/null; then
14977 if test -s conftest.err; then
14978 ac_cpp_err=$ac_c_preproc_warn_flag
14979 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14980 else
14981 ac_cpp_err=
14983 else
14984 ac_cpp_err=yes
14986 if test -z "$ac_cpp_err"; then
14987 ac_header_preproc=yes
14988 else
14989 echo "$as_me: failed program was:" >&5
14990 sed 's/^/| /' conftest.$ac_ext >&5
14992 ac_header_preproc=no
14994 rm -f conftest.err conftest.$ac_ext
14995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14996 echo "${ECHO_T}$ac_header_preproc" >&6
14998 # So? What about this header?
14999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15000 yes:no: )
15001 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15002 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15004 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15005 ac_header_preproc=yes
15007 no:yes:* )
15008 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15009 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15010 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15011 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15012 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15013 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15014 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15015 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15017 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15018 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15019 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15021 cat <<\_ASBOX
15022 ## ----------------------------------------- ##
15023 ## Report this to the package-unused lists. ##
15024 ## ----------------------------------------- ##
15025 _ASBOX
15027 sed "s/^/$as_me: WARNING: /" >&2
15029 esac
15030 echo "$as_me:$LINENO: checking for $ac_header" >&5
15031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15033 echo $ECHO_N "(cached) $ECHO_C" >&6
15034 else
15035 eval "$as_ac_Header=\$ac_header_preproc"
15037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15042 cat >>confdefs.h <<_ACEOF
15043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15044 _ACEOF
15045 ac_has_wchar_h=yes
15046 else
15047 ac_has_wchar_h=no
15050 done
15052 echo "$as_me:$LINENO: checking for mbstate_t" >&5
15053 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15054 cat >conftest.$ac_ext <<_ACEOF
15055 /* confdefs.h. */
15056 _ACEOF
15057 cat confdefs.h >>conftest.$ac_ext
15058 cat >>conftest.$ac_ext <<_ACEOF
15059 /* end confdefs.h. */
15060 #include <wchar.h>
15062 main ()
15064 mbstate_t teststate;
15066 return 0;
15068 _ACEOF
15069 rm -f conftest.$ac_objext
15070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15071 (eval $ac_compile) 2>conftest.er1
15072 ac_status=$?
15073 grep -v '^ *+' conftest.er1 >conftest.err
15074 rm -f conftest.er1
15075 cat conftest.err >&5
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); } &&
15078 { ac_try='test -z "$ac_c_werror_flag"
15079 || test ! -s conftest.err'
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); }; } &&
15085 { ac_try='test -s conftest.$ac_objext'
15086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15087 (eval $ac_try) 2>&5
15088 ac_status=$?
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); }; }; then
15091 have_mbstate_t=yes
15092 else
15093 echo "$as_me: failed program was:" >&5
15094 sed 's/^/| /' conftest.$ac_ext >&5
15096 have_mbstate_t=no
15098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15099 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15100 echo "${ECHO_T}$have_mbstate_t" >&6
15101 if test x"$have_mbstate_t" = xyes; then
15103 cat >>confdefs.h <<\_ACEOF
15104 #define HAVE_MBSTATE_T 1
15105 _ACEOF
15109 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15110 # ac_has_wchar_h.
15112 for ac_header in wctype.h
15114 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15116 echo "$as_me:$LINENO: checking for $ac_header" >&5
15117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15119 echo $ECHO_N "(cached) $ECHO_C" >&6
15121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15123 else
15124 # Is the header compilable?
15125 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15126 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15127 cat >conftest.$ac_ext <<_ACEOF
15128 /* confdefs.h. */
15129 _ACEOF
15130 cat confdefs.h >>conftest.$ac_ext
15131 cat >>conftest.$ac_ext <<_ACEOF
15132 /* end confdefs.h. */
15133 $ac_includes_default
15134 #include <$ac_header>
15135 _ACEOF
15136 rm -f conftest.$ac_objext
15137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15138 (eval $ac_compile) 2>conftest.er1
15139 ac_status=$?
15140 grep -v '^ *+' conftest.er1 >conftest.err
15141 rm -f conftest.er1
15142 cat conftest.err >&5
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); } &&
15145 { ac_try='test -z "$ac_c_werror_flag"
15146 || test ! -s conftest.err'
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); }; } &&
15152 { ac_try='test -s conftest.$ac_objext'
15153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15154 (eval $ac_try) 2>&5
15155 ac_status=$?
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); }; }; then
15158 ac_header_compiler=yes
15159 else
15160 echo "$as_me: failed program was:" >&5
15161 sed 's/^/| /' conftest.$ac_ext >&5
15163 ac_header_compiler=no
15165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15166 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15167 echo "${ECHO_T}$ac_header_compiler" >&6
15169 # Is the header present?
15170 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15171 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15172 cat >conftest.$ac_ext <<_ACEOF
15173 /* confdefs.h. */
15174 _ACEOF
15175 cat confdefs.h >>conftest.$ac_ext
15176 cat >>conftest.$ac_ext <<_ACEOF
15177 /* end confdefs.h. */
15178 #include <$ac_header>
15179 _ACEOF
15180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15181 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15182 ac_status=$?
15183 grep -v '^ *+' conftest.er1 >conftest.err
15184 rm -f conftest.er1
15185 cat conftest.err >&5
15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15187 (exit $ac_status); } >/dev/null; then
15188 if test -s conftest.err; then
15189 ac_cpp_err=$ac_c_preproc_warn_flag
15190 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15191 else
15192 ac_cpp_err=
15194 else
15195 ac_cpp_err=yes
15197 if test -z "$ac_cpp_err"; then
15198 ac_header_preproc=yes
15199 else
15200 echo "$as_me: failed program was:" >&5
15201 sed 's/^/| /' conftest.$ac_ext >&5
15203 ac_header_preproc=no
15205 rm -f conftest.err conftest.$ac_ext
15206 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15207 echo "${ECHO_T}$ac_header_preproc" >&6
15209 # So? What about this header?
15210 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15211 yes:no: )
15212 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15213 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15215 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15216 ac_header_preproc=yes
15218 no:yes:* )
15219 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15220 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15221 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15222 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15223 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15224 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15225 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15226 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15228 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15229 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15230 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15232 cat <<\_ASBOX
15233 ## ----------------------------------------- ##
15234 ## Report this to the package-unused lists. ##
15235 ## ----------------------------------------- ##
15236 _ASBOX
15238 sed "s/^/$as_me: WARNING: /" >&2
15240 esac
15241 echo "$as_me:$LINENO: checking for $ac_header" >&5
15242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15244 echo $ECHO_N "(cached) $ECHO_C" >&6
15245 else
15246 eval "$as_ac_Header=\$ac_header_preproc"
15248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15249 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15252 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15253 cat >>confdefs.h <<_ACEOF
15254 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15255 _ACEOF
15256 ac_has_wctype_h=yes
15257 else
15258 ac_has_wctype_h=no
15261 done
15264 if test x"$enable_wchar_t" = x"yes"; then
15268 ac_ext=cc
15269 ac_cpp='$CXXCPP $CPPFLAGS'
15270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15275 if test x"$ac_has_wchar_h" = xyes &&
15276 test x"$ac_has_wctype_h" = xyes; then
15277 cat >conftest.$ac_ext <<_ACEOF
15278 /* confdefs.h. */
15279 _ACEOF
15280 cat confdefs.h >>conftest.$ac_ext
15281 cat >>conftest.$ac_ext <<_ACEOF
15282 /* end confdefs.h. */
15283 #include <wchar.h>
15284 #include <stddef.h>
15285 wint_t i;
15286 long l = WEOF;
15287 long j = WCHAR_MIN;
15288 long k = WCHAR_MAX;
15289 namespace test
15291 using ::btowc;
15292 using ::fgetwc;
15293 using ::fgetws;
15294 using ::fputwc;
15295 using ::fputws;
15296 using ::fwide;
15297 using ::fwprintf;
15298 using ::fwscanf;
15299 using ::getwc;
15300 using ::getwchar;
15301 using ::mbrlen;
15302 using ::mbrtowc;
15303 using ::mbsinit;
15304 using ::mbsrtowcs;
15305 using ::putwc;
15306 using ::putwchar;
15307 using ::swprintf;
15308 using ::swscanf;
15309 using ::ungetwc;
15310 using ::vfwprintf;
15311 using ::vswprintf;
15312 using ::vwprintf;
15313 using ::wcrtomb;
15314 using ::wcscat;
15315 using ::wcschr;
15316 using ::wcscmp;
15317 using ::wcscoll;
15318 using ::wcscpy;
15319 using ::wcscspn;
15320 using ::wcsftime;
15321 using ::wcslen;
15322 using ::wcsncat;
15323 using ::wcsncmp;
15324 using ::wcsncpy;
15325 using ::wcspbrk;
15326 using ::wcsrchr;
15327 using ::wcsrtombs;
15328 using ::wcsspn;
15329 using ::wcsstr;
15330 using ::wcstod;
15331 using ::wcstok;
15332 using ::wcstol;
15333 using ::wcstoul;
15334 using ::wcsxfrm;
15335 using ::wctob;
15336 using ::wmemchr;
15337 using ::wmemcmp;
15338 using ::wmemcpy;
15339 using ::wmemmove;
15340 using ::wmemset;
15341 using ::wprintf;
15342 using ::wscanf;
15346 main ()
15350 return 0;
15352 _ACEOF
15353 rm -f conftest.$ac_objext
15354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15355 (eval $ac_compile) 2>conftest.er1
15356 ac_status=$?
15357 grep -v '^ *+' conftest.er1 >conftest.err
15358 rm -f conftest.er1
15359 cat conftest.err >&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); } &&
15362 { ac_try='test -z "$ac_cxx_werror_flag"
15363 || test ! -s conftest.err'
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); }; } &&
15369 { ac_try='test -s conftest.$ac_objext'
15370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15371 (eval $ac_try) 2>&5
15372 ac_status=$?
15373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374 (exit $ac_status); }; }; then
15376 else
15377 echo "$as_me: failed program was:" >&5
15378 sed 's/^/| /' conftest.$ac_ext >&5
15380 enable_wchar_t=no
15382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15383 else
15384 enable_wchar_t=no
15387 ac_ext=c
15388 ac_cpp='$CPP $CPPFLAGS'
15389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15395 if test x"$enable_wchar_t" = x"yes"; then
15397 cat >>confdefs.h <<\_ACEOF
15398 #define _GLIBCXX_USE_WCHAR_T 1
15399 _ACEOF
15403 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15404 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15405 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15406 echo "${ECHO_T}$enable_wchar_t" >&6
15410 # Check whether --enable-c99 or --disable-c99 was given.
15411 if test "${enable_c99+set}" = set; then
15412 enableval="$enable_c99"
15414 case "$enableval" in
15415 yes|no) ;;
15416 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15417 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15418 { (exit 1); exit 1; }; } ;;
15419 esac
15421 else
15422 enable_c99=yes
15426 if test x"$enable_c99" = x"yes"; then
15430 ac_ext=cc
15431 ac_cpp='$CXXCPP $CPPFLAGS'
15432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15437 # Check for the existence of <math.h> functions used if C99 is enabled.
15438 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15439 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15440 if test "${ac_c99_math+set}" = set; then
15441 echo $ECHO_N "(cached) $ECHO_C" >&6
15442 else
15444 cat >conftest.$ac_ext <<_ACEOF
15445 /* confdefs.h. */
15446 _ACEOF
15447 cat confdefs.h >>conftest.$ac_ext
15448 cat >>conftest.$ac_ext <<_ACEOF
15449 /* end confdefs.h. */
15450 #include <math.h>
15452 main ()
15454 fpclassify(0.0);
15455 isfinite(0.0);
15456 isinf(0.0);
15457 isnan(0.0);
15458 isnormal(0.0);
15459 signbit(0.0);
15460 isgreater(0.0,0.0);
15461 isgreaterequal(0.0,0.0);
15462 isless(0.0,0.0);
15463 islessequal(0.0,0.0);
15464 islessgreater(0.0,0.0);
15465 islessgreater(0.0,0.0);
15466 isunordered(0.0,0.0);
15469 return 0;
15471 _ACEOF
15472 rm -f conftest.$ac_objext
15473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15474 (eval $ac_compile) 2>conftest.er1
15475 ac_status=$?
15476 grep -v '^ *+' conftest.er1 >conftest.err
15477 rm -f conftest.er1
15478 cat conftest.err >&5
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); } &&
15481 { ac_try='test -z "$ac_cxx_werror_flag"
15482 || test ! -s conftest.err'
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); }; } &&
15488 { ac_try='test -s conftest.$ac_objext'
15489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15490 (eval $ac_try) 2>&5
15491 ac_status=$?
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); }; }; then
15494 ac_c99_math=yes
15495 else
15496 echo "$as_me: failed program was:" >&5
15497 sed 's/^/| /' conftest.$ac_ext >&5
15499 ac_c99_math=no
15501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15505 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
15506 echo "${ECHO_T}$ac_c99_math" >&6
15507 if test x"$ac_c99_math" = x"yes"; then
15509 cat >>confdefs.h <<\_ACEOF
15510 #define _GLIBCXX_USE_C99_MATH 1
15511 _ACEOF
15515 # Check for the existence of <complex.h> complex math functions.
15516 # This is necessary even though libstdc++ uses the builtin versions
15517 # of these functions, because if the builtin cannot be used, a reference
15518 # to the library function is emitted.
15520 for ac_header in tgmath.h
15522 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15524 echo "$as_me:$LINENO: checking for $ac_header" >&5
15525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15527 echo $ECHO_N "(cached) $ECHO_C" >&6
15529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15531 else
15532 # Is the header compilable?
15533 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15534 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15535 cat >conftest.$ac_ext <<_ACEOF
15536 /* confdefs.h. */
15537 _ACEOF
15538 cat confdefs.h >>conftest.$ac_ext
15539 cat >>conftest.$ac_ext <<_ACEOF
15540 /* end confdefs.h. */
15541 $ac_includes_default
15542 #include <$ac_header>
15543 _ACEOF
15544 rm -f conftest.$ac_objext
15545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15546 (eval $ac_compile) 2>conftest.er1
15547 ac_status=$?
15548 grep -v '^ *+' conftest.er1 >conftest.err
15549 rm -f conftest.er1
15550 cat conftest.err >&5
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); } &&
15553 { ac_try='test -z "$ac_cxx_werror_flag"
15554 || test ! -s conftest.err'
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); }; } &&
15560 { ac_try='test -s conftest.$ac_objext'
15561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15562 (eval $ac_try) 2>&5
15563 ac_status=$?
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); }; }; then
15566 ac_header_compiler=yes
15567 else
15568 echo "$as_me: failed program was:" >&5
15569 sed 's/^/| /' conftest.$ac_ext >&5
15571 ac_header_compiler=no
15573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15574 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15575 echo "${ECHO_T}$ac_header_compiler" >&6
15577 # Is the header present?
15578 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15579 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15580 cat >conftest.$ac_ext <<_ACEOF
15581 /* confdefs.h. */
15582 _ACEOF
15583 cat confdefs.h >>conftest.$ac_ext
15584 cat >>conftest.$ac_ext <<_ACEOF
15585 /* end confdefs.h. */
15586 #include <$ac_header>
15587 _ACEOF
15588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15589 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15590 ac_status=$?
15591 grep -v '^ *+' conftest.er1 >conftest.err
15592 rm -f conftest.er1
15593 cat conftest.err >&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); } >/dev/null; then
15596 if test -s conftest.err; then
15597 ac_cpp_err=$ac_cxx_preproc_warn_flag
15598 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15599 else
15600 ac_cpp_err=
15602 else
15603 ac_cpp_err=yes
15605 if test -z "$ac_cpp_err"; then
15606 ac_header_preproc=yes
15607 else
15608 echo "$as_me: failed program was:" >&5
15609 sed 's/^/| /' conftest.$ac_ext >&5
15611 ac_header_preproc=no
15613 rm -f conftest.err conftest.$ac_ext
15614 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15615 echo "${ECHO_T}$ac_header_preproc" >&6
15617 # So? What about this header?
15618 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15619 yes:no: )
15620 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15621 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15623 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15624 ac_header_preproc=yes
15626 no:yes:* )
15627 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15628 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15629 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15630 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15631 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15632 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15633 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15634 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15636 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15637 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15638 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15640 cat <<\_ASBOX
15641 ## ----------------------------------------- ##
15642 ## Report this to the package-unused lists. ##
15643 ## ----------------------------------------- ##
15644 _ASBOX
15646 sed "s/^/$as_me: WARNING: /" >&2
15648 esac
15649 echo "$as_me:$LINENO: checking for $ac_header" >&5
15650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15652 echo $ECHO_N "(cached) $ECHO_C" >&6
15653 else
15654 eval "$as_ac_Header=\$ac_header_preproc"
15656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15661 cat >>confdefs.h <<_ACEOF
15662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15663 _ACEOF
15664 ac_has_tgmath_h=yes
15665 else
15666 ac_has_tgmath_h=no
15669 done
15672 for ac_header in complex.h
15674 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15676 echo "$as_me:$LINENO: checking for $ac_header" >&5
15677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15679 echo $ECHO_N "(cached) $ECHO_C" >&6
15681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15682 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15683 else
15684 # Is the header compilable?
15685 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15686 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15687 cat >conftest.$ac_ext <<_ACEOF
15688 /* confdefs.h. */
15689 _ACEOF
15690 cat confdefs.h >>conftest.$ac_ext
15691 cat >>conftest.$ac_ext <<_ACEOF
15692 /* end confdefs.h. */
15693 $ac_includes_default
15694 #include <$ac_header>
15695 _ACEOF
15696 rm -f conftest.$ac_objext
15697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15698 (eval $ac_compile) 2>conftest.er1
15699 ac_status=$?
15700 grep -v '^ *+' conftest.er1 >conftest.err
15701 rm -f conftest.er1
15702 cat conftest.err >&5
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); } &&
15705 { ac_try='test -z "$ac_cxx_werror_flag"
15706 || test ! -s conftest.err'
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); }; } &&
15712 { ac_try='test -s conftest.$ac_objext'
15713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15714 (eval $ac_try) 2>&5
15715 ac_status=$?
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); }; }; then
15718 ac_header_compiler=yes
15719 else
15720 echo "$as_me: failed program was:" >&5
15721 sed 's/^/| /' conftest.$ac_ext >&5
15723 ac_header_compiler=no
15725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15726 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15727 echo "${ECHO_T}$ac_header_compiler" >&6
15729 # Is the header present?
15730 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15731 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15732 cat >conftest.$ac_ext <<_ACEOF
15733 /* confdefs.h. */
15734 _ACEOF
15735 cat confdefs.h >>conftest.$ac_ext
15736 cat >>conftest.$ac_ext <<_ACEOF
15737 /* end confdefs.h. */
15738 #include <$ac_header>
15739 _ACEOF
15740 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15741 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15742 ac_status=$?
15743 grep -v '^ *+' conftest.er1 >conftest.err
15744 rm -f conftest.er1
15745 cat conftest.err >&5
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); } >/dev/null; then
15748 if test -s conftest.err; then
15749 ac_cpp_err=$ac_cxx_preproc_warn_flag
15750 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15751 else
15752 ac_cpp_err=
15754 else
15755 ac_cpp_err=yes
15757 if test -z "$ac_cpp_err"; then
15758 ac_header_preproc=yes
15759 else
15760 echo "$as_me: failed program was:" >&5
15761 sed 's/^/| /' conftest.$ac_ext >&5
15763 ac_header_preproc=no
15765 rm -f conftest.err conftest.$ac_ext
15766 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15767 echo "${ECHO_T}$ac_header_preproc" >&6
15769 # So? What about this header?
15770 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15771 yes:no: )
15772 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15773 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15775 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15776 ac_header_preproc=yes
15778 no:yes:* )
15779 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15780 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15781 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15782 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15783 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15784 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15785 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15786 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15788 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15789 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15790 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15792 cat <<\_ASBOX
15793 ## ----------------------------------------- ##
15794 ## Report this to the package-unused lists. ##
15795 ## ----------------------------------------- ##
15796 _ASBOX
15798 sed "s/^/$as_me: WARNING: /" >&2
15800 esac
15801 echo "$as_me:$LINENO: checking for $ac_header" >&5
15802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15804 echo $ECHO_N "(cached) $ECHO_C" >&6
15805 else
15806 eval "$as_ac_Header=\$ac_header_preproc"
15808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15812 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15813 cat >>confdefs.h <<_ACEOF
15814 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15815 _ACEOF
15816 ac_has_complex_h=yes
15817 else
15818 ac_has_complex_h=no
15821 done
15823 ac_c99_complex=no;
15824 if test x"$ac_has_complex_h" = x"yes"; then
15825 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
15826 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
15827 cat >conftest.$ac_ext <<_ACEOF
15828 /* confdefs.h. */
15829 _ACEOF
15830 cat confdefs.h >>conftest.$ac_ext
15831 cat >>conftest.$ac_ext <<_ACEOF
15832 /* end confdefs.h. */
15833 #include <complex.h>
15835 main ()
15837 typedef __complex__ float float_type; float_type tmpf;
15838 cabsf(tmpf);
15839 cargf(tmpf);
15840 ccosf(tmpf);
15841 ccoshf(tmpf);
15842 cexpf(tmpf);
15843 clogf(tmpf);
15844 csinf(tmpf);
15845 csinhf(tmpf);
15846 csqrtf(tmpf);
15847 ctanf(tmpf);
15848 ctanhf(tmpf);
15849 cpowf(tmpf, tmpf);
15850 typedef __complex__ double double_type; double_type tmpd;
15851 cabs(tmpd);
15852 carg(tmpd);
15853 ccos(tmpd);
15854 ccosh(tmpd);
15855 cexp(tmpd);
15856 clog(tmpd);
15857 csin(tmpd);
15858 csinh(tmpd);
15859 csqrt(tmpd);
15860 ctan(tmpd);
15861 ctanh(tmpd);
15862 cpow(tmpd, tmpd);
15863 typedef __complex__ long double ld_type; ld_type tmpld;
15864 cabsl(tmpld);
15865 cargl(tmpld);
15866 ccosl(tmpld);
15867 ccoshl(tmpld);
15868 cexpl(tmpld);
15869 clogl(tmpld);
15870 csinl(tmpld);
15871 csinhl(tmpld);
15872 csqrtl(tmpld);
15873 ctanl(tmpld);
15874 ctanhl(tmpld);
15875 cpowl(tmpld, tmpld);
15878 return 0;
15880 _ACEOF
15881 rm -f conftest.$ac_objext
15882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15883 (eval $ac_compile) 2>conftest.er1
15884 ac_status=$?
15885 grep -v '^ *+' conftest.er1 >conftest.err
15886 rm -f conftest.er1
15887 cat conftest.err >&5
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); } &&
15890 { ac_try='test -z "$ac_cxx_werror_flag"
15891 || test ! -s conftest.err'
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); }; } &&
15897 { ac_try='test -s conftest.$ac_objext'
15898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15899 (eval $ac_try) 2>&5
15900 ac_status=$?
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); }; }; then
15903 ac_c99_complex=yes
15904 else
15905 echo "$as_me: failed program was:" >&5
15906 sed 's/^/| /' conftest.$ac_ext >&5
15908 ac_c99_complex=no
15910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15912 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
15913 echo "${ECHO_T}$ac_c99_complex" >&6
15914 if test x"$ac_c99_complex" = x"yes"; then
15916 cat >>confdefs.h <<\_ACEOF
15917 #define _GLIBCXX_USE_C99_COMPLEX 1
15918 _ACEOF
15922 # Check for the existence in <stdio.h> of vscanf, et. al.
15923 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
15924 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
15925 if test "${ac_c99_stdio+set}" = set; then
15926 echo $ECHO_N "(cached) $ECHO_C" >&6
15927 else
15929 cat >conftest.$ac_ext <<_ACEOF
15930 /* confdefs.h. */
15931 _ACEOF
15932 cat confdefs.h >>conftest.$ac_ext
15933 cat >>conftest.$ac_ext <<_ACEOF
15934 /* end confdefs.h. */
15935 #include <stdio.h>
15936 #include <stdarg.h>
15937 void foo(char* fmt, ...)
15939 va_list args; va_start(args, fmt);
15940 vfscanf(stderr, "%i", args);
15941 vscanf("%i", args);
15942 vsnprintf(fmt, 0, "%i", args);
15943 vsscanf(fmt, "%i", args);
15946 main ()
15948 snprintf("12", 0, "%i");
15950 return 0;
15952 _ACEOF
15953 rm -f conftest.$ac_objext
15954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15955 (eval $ac_compile) 2>conftest.er1
15956 ac_status=$?
15957 grep -v '^ *+' conftest.er1 >conftest.err
15958 rm -f conftest.er1
15959 cat conftest.err >&5
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); } &&
15962 { ac_try='test -z "$ac_cxx_werror_flag"
15963 || test ! -s conftest.err'
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); }; } &&
15969 { ac_try='test -s conftest.$ac_objext'
15970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15971 (eval $ac_try) 2>&5
15972 ac_status=$?
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); }; }; then
15975 ac_c99_stdio=yes
15976 else
15977 echo "$as_me: failed program was:" >&5
15978 sed 's/^/| /' conftest.$ac_ext >&5
15980 ac_c99_stdio=no
15982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15986 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
15987 echo "${ECHO_T}$ac_c99_stdio" >&6
15989 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
15990 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
15991 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
15992 if test "${ac_c99_stdlib+set}" = set; then
15993 echo $ECHO_N "(cached) $ECHO_C" >&6
15994 else
15996 cat >conftest.$ac_ext <<_ACEOF
15997 /* confdefs.h. */
15998 _ACEOF
15999 cat confdefs.h >>conftest.$ac_ext
16000 cat >>conftest.$ac_ext <<_ACEOF
16001 /* end confdefs.h. */
16002 #include <stdlib.h>
16004 main ()
16006 char* tmp;
16007 strtof("gnu", &tmp);
16008 strtold("gnu", &tmp);
16009 strtoll("gnu", &tmp, 10);
16010 strtoull("gnu", &tmp, 10);
16011 llabs(10);
16012 lldiv(10,1);
16013 atoll("10");
16014 _Exit(0);
16015 lldiv_t mydivt;
16017 return 0;
16019 _ACEOF
16020 rm -f conftest.$ac_objext
16021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16022 (eval $ac_compile) 2>conftest.er1
16023 ac_status=$?
16024 grep -v '^ *+' conftest.er1 >conftest.err
16025 rm -f conftest.er1
16026 cat conftest.err >&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); } &&
16029 { ac_try='test -z "$ac_cxx_werror_flag"
16030 || test ! -s conftest.err'
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); }; } &&
16036 { ac_try='test -s conftest.$ac_objext'
16037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16038 (eval $ac_try) 2>&5
16039 ac_status=$?
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); }; }; then
16042 ac_c99_stdlib=yes
16043 else
16044 echo "$as_me: failed program was:" >&5
16045 sed 's/^/| /' conftest.$ac_ext >&5
16047 ac_c99_stdlib=no
16049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16053 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
16054 echo "${ECHO_T}$ac_c99_stdlib" >&6
16056 # Check for the existence in <wchar.h> of wcstold, etc.
16057 ac_c99_wchar=no;
16058 if test x"$ac_has_wchar_h" = xyes &&
16059 test x"$ac_has_wctype_h" = xyes; then
16060 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16061 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16062 cat >conftest.$ac_ext <<_ACEOF
16063 /* confdefs.h. */
16064 _ACEOF
16065 cat confdefs.h >>conftest.$ac_ext
16066 cat >>conftest.$ac_ext <<_ACEOF
16067 /* end confdefs.h. */
16068 #include <wchar.h>
16069 namespace test
16071 using ::wcstold;
16072 using ::wcstoll;
16073 using ::wcstoull;
16077 main ()
16081 return 0;
16083 _ACEOF
16084 rm -f conftest.$ac_objext
16085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16086 (eval $ac_compile) 2>conftest.er1
16087 ac_status=$?
16088 grep -v '^ *+' conftest.er1 >conftest.err
16089 rm -f conftest.er1
16090 cat conftest.err >&5
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); } &&
16093 { ac_try='test -z "$ac_cxx_werror_flag"
16094 || test ! -s conftest.err'
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); }; } &&
16100 { ac_try='test -s conftest.$ac_objext'
16101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16102 (eval $ac_try) 2>&5
16103 ac_status=$?
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); }; }; then
16106 ac_c99_wchar=yes
16107 else
16108 echo "$as_me: failed program was:" >&5
16109 sed 's/^/| /' conftest.$ac_ext >&5
16111 ac_c99_wchar=no
16113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16115 # Checks for wide character functions that may not be present.
16116 # Injection of these is wrapped with guard macros.
16117 # NB: only put functions here, instead of immediately above, if
16118 # absolutely necessary.
16119 cat >conftest.$ac_ext <<_ACEOF
16120 /* confdefs.h. */
16121 _ACEOF
16122 cat confdefs.h >>conftest.$ac_ext
16123 cat >>conftest.$ac_ext <<_ACEOF
16124 /* end confdefs.h. */
16125 #include <wchar.h>
16126 namespace test { using ::vfwscanf; }
16128 main ()
16132 return 0;
16134 _ACEOF
16135 rm -f conftest.$ac_objext
16136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16137 (eval $ac_compile) 2>conftest.er1
16138 ac_status=$?
16139 grep -v '^ *+' conftest.er1 >conftest.err
16140 rm -f conftest.er1
16141 cat conftest.err >&5
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); } &&
16144 { ac_try='test -z "$ac_cxx_werror_flag"
16145 || test ! -s conftest.err'
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); }; } &&
16151 { ac_try='test -s conftest.$ac_objext'
16152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16153 (eval $ac_try) 2>&5
16154 ac_status=$?
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156 (exit $ac_status); }; }; then
16158 cat >>confdefs.h <<\_ACEOF
16159 #define HAVE_VFWSCANF 1
16160 _ACEOF
16162 else
16163 echo "$as_me: failed program was:" >&5
16164 sed 's/^/| /' conftest.$ac_ext >&5
16167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16169 cat >conftest.$ac_ext <<_ACEOF
16170 /* confdefs.h. */
16171 _ACEOF
16172 cat confdefs.h >>conftest.$ac_ext
16173 cat >>conftest.$ac_ext <<_ACEOF
16174 /* end confdefs.h. */
16175 #include <wchar.h>
16176 namespace test { using ::vswscanf; }
16178 main ()
16182 return 0;
16184 _ACEOF
16185 rm -f conftest.$ac_objext
16186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16187 (eval $ac_compile) 2>conftest.er1
16188 ac_status=$?
16189 grep -v '^ *+' conftest.er1 >conftest.err
16190 rm -f conftest.er1
16191 cat conftest.err >&5
16192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193 (exit $ac_status); } &&
16194 { ac_try='test -z "$ac_cxx_werror_flag"
16195 || test ! -s conftest.err'
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); }; } &&
16201 { ac_try='test -s conftest.$ac_objext'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16204 ac_status=$?
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; }; then
16208 cat >>confdefs.h <<\_ACEOF
16209 #define HAVE_VSWSCANF 1
16210 _ACEOF
16212 else
16213 echo "$as_me: failed program was:" >&5
16214 sed 's/^/| /' conftest.$ac_ext >&5
16217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16219 cat >conftest.$ac_ext <<_ACEOF
16220 /* confdefs.h. */
16221 _ACEOF
16222 cat confdefs.h >>conftest.$ac_ext
16223 cat >>conftest.$ac_ext <<_ACEOF
16224 /* end confdefs.h. */
16225 #include <wchar.h>
16226 namespace test { using ::vwscanf; }
16228 main ()
16232 return 0;
16234 _ACEOF
16235 rm -f conftest.$ac_objext
16236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16237 (eval $ac_compile) 2>conftest.er1
16238 ac_status=$?
16239 grep -v '^ *+' conftest.er1 >conftest.err
16240 rm -f conftest.er1
16241 cat conftest.err >&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); } &&
16244 { ac_try='test -z "$ac_cxx_werror_flag"
16245 || test ! -s conftest.err'
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); }; } &&
16251 { ac_try='test -s conftest.$ac_objext'
16252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16253 (eval $ac_try) 2>&5
16254 ac_status=$?
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); }; }; then
16258 cat >>confdefs.h <<\_ACEOF
16259 #define HAVE_VWSCANF 1
16260 _ACEOF
16262 else
16263 echo "$as_me: failed program was:" >&5
16264 sed 's/^/| /' conftest.$ac_ext >&5
16267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16269 cat >conftest.$ac_ext <<_ACEOF
16270 /* confdefs.h. */
16271 _ACEOF
16272 cat confdefs.h >>conftest.$ac_ext
16273 cat >>conftest.$ac_ext <<_ACEOF
16274 /* end confdefs.h. */
16275 #include <wchar.h>
16276 namespace test { using ::wcstof; }
16278 main ()
16282 return 0;
16284 _ACEOF
16285 rm -f conftest.$ac_objext
16286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16287 (eval $ac_compile) 2>conftest.er1
16288 ac_status=$?
16289 grep -v '^ *+' conftest.er1 >conftest.err
16290 rm -f conftest.er1
16291 cat conftest.err >&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); } &&
16294 { ac_try='test -z "$ac_cxx_werror_flag"
16295 || test ! -s conftest.err'
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); }; } &&
16301 { ac_try='test -s conftest.$ac_objext'
16302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16303 (eval $ac_try) 2>&5
16304 ac_status=$?
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 (exit $ac_status); }; }; then
16308 cat >>confdefs.h <<\_ACEOF
16309 #define HAVE_WCSTOF 1
16310 _ACEOF
16312 else
16313 echo "$as_me: failed program was:" >&5
16314 sed 's/^/| /' conftest.$ac_ext >&5
16317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16319 cat >conftest.$ac_ext <<_ACEOF
16320 /* confdefs.h. */
16321 _ACEOF
16322 cat confdefs.h >>conftest.$ac_ext
16323 cat >>conftest.$ac_ext <<_ACEOF
16324 /* end confdefs.h. */
16325 #include <wctype.h>
16327 main ()
16329 wint_t t; int i = iswblank(t);
16331 return 0;
16333 _ACEOF
16334 rm -f conftest.$ac_objext
16335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16336 (eval $ac_compile) 2>conftest.er1
16337 ac_status=$?
16338 grep -v '^ *+' conftest.er1 >conftest.err
16339 rm -f conftest.er1
16340 cat conftest.err >&5
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 (exit $ac_status); } &&
16343 { ac_try='test -z "$ac_cxx_werror_flag"
16344 || test ! -s conftest.err'
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); }; } &&
16350 { ac_try='test -s conftest.$ac_objext'
16351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352 (eval $ac_try) 2>&5
16353 ac_status=$?
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; }; then
16357 cat >>confdefs.h <<\_ACEOF
16358 #define HAVE_ISWBLANK 1
16359 _ACEOF
16361 else
16362 echo "$as_me: failed program was:" >&5
16363 sed 's/^/| /' conftest.$ac_ext >&5
16366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16368 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
16369 echo "${ECHO_T}$ac_c99_wchar" >&6
16372 # Option parsed, now set things appropriately.
16373 if test x"$ac_c99_math" = x"no" ||
16374 test x"$ac_c99_complex" = x"no" ||
16375 test x"$ac_c99_stdio" = x"no" ||
16376 test x"$ac_c99_stdlib" = x"no" ||
16377 test x"$ac_c99_wchar" = x"no"; then
16378 enable_c99=no;
16379 else
16381 cat >>confdefs.h <<\_ACEOF
16382 #define _GLIBCXX_USE_C99 1
16383 _ACEOF
16387 ac_ext=c
16388 ac_cpp='$CPP $CPPFLAGS'
16389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16395 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
16396 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
16397 echo "$as_me:$LINENO: result: $enable_c99" >&5
16398 echo "${ECHO_T}$enable_c99" >&6
16401 # Check whether --enable-concept-checks or --disable-concept-checks was given.
16402 if test "${enable_concept_checks+set}" = set; then
16403 enableval="$enable_concept_checks"
16405 case "$enableval" in
16406 yes|no) ;;
16407 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
16408 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
16409 { (exit 1); exit 1; }; } ;;
16410 esac
16412 else
16413 enable_concept_checks=no
16416 if test $enable_concept_checks = yes; then
16418 cat >>confdefs.h <<\_ACEOF
16419 #define _GLIBCXX_CONCEPT_CHECKS 1
16420 _ACEOF
16425 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
16426 if test "${enable_libstdcxx_debug_flags+set}" = set; then
16427 enableval="$enable_libstdcxx_debug_flags"
16428 case "x$enable_libstdcxx_debug_flags" in
16429 xno | x) enable_libstdcxx_debug_flags= ;;
16430 x-*) ;;
16431 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
16432 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
16433 { (exit 1); exit 1; }; } ;;
16434 esac
16435 else
16436 enable_libstdcxx_debug_flags="-g3 -O0"
16440 # Option parsed, now set things appropriately
16441 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16444 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
16445 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16448 echo "$as_me:$LINENO: checking for additional debug build" >&5
16449 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
16450 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
16451 if test "${enable_libstdcxx_debug+set}" = set; then
16452 enableval="$enable_libstdcxx_debug"
16454 case "$enableval" in
16455 yes|no) ;;
16456 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
16457 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
16458 { (exit 1); exit 1; }; } ;;
16459 esac
16461 else
16462 enable_libstdcxx_debug=no
16465 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
16466 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
16469 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
16470 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
16471 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
16472 if test "${enable_cxx_flags+set}" = set; then
16473 enableval="$enable_cxx_flags"
16474 case "x$enable_cxx_flags" in
16475 xno | x) enable_cxx_flags= ;;
16476 x-*) ;;
16477 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
16478 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
16479 { (exit 1); exit 1; }; } ;;
16480 esac
16481 else
16482 enable_cxx_flags=
16486 # Run through flags (either default or command-line) and set anything
16487 # extra (e.g., #defines) that must accompany particular g++ options.
16488 if test -n "$enable_cxx_flags"; then
16489 for f in $enable_cxx_flags; do
16490 case "$f" in
16491 -fhonor-std) ;;
16492 -*) ;;
16493 *) # and we're trying to pass /what/ exactly?
16494 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
16495 echo "$as_me: error: compiler flags start with a -" >&2;}
16496 { (exit 1); exit 1; }; } ;;
16497 esac
16498 done
16501 EXTRA_CXX_FLAGS="$enable_cxx_flags"
16502 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
16503 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
16507 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
16508 if test "${enable_fully_dynamic_string+set}" = set; then
16509 enableval="$enable_fully_dynamic_string"
16511 case "$enableval" in
16512 yes|no) ;;
16513 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
16514 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
16515 { (exit 1); exit 1; }; } ;;
16516 esac
16518 else
16519 enable_fully_dynamic_string=no
16522 if test $enable_fully_dynamic_string = yes; then
16524 cat >>confdefs.h <<\_ACEOF
16525 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
16526 _ACEOF
16531 # No surprises, no surprises...
16533 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
16534 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
16535 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
16536 echo "$as_me:$LINENO: result: $target_thread_file" >&5
16537 echo "${ECHO_T}$target_thread_file" >&6
16539 if test $target_thread_file != single; then
16541 cat >>confdefs.h <<\_ACEOF
16542 #define HAVE_GTHR_DEFAULT 1
16543 _ACEOF
16547 glibcxx_thread_h=gthr-$target_thread_file.h
16549 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
16550 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
16551 enable_thread=yes
16552 else
16553 enable_thread=no
16559 echo "$as_me:$LINENO: checking for atomic builtins" >&5
16560 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
16563 ac_ext=cc
16564 ac_cpp='$CXXCPP $CPPFLAGS'
16565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16570 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
16571 cat > conftest.$ac_ext << EOF
16572 #line 16572 "configure"
16573 int main()
16575 // NB: _Atomic_word not necessarily int.
16576 typedef int atomic_type;
16577 atomic_type c1;
16578 atomic_type c2;
16579 const atomic_type c3(0);
16580 if (__sync_fetch_and_add(&c1, c2) == c3)
16582 // Do something.
16584 return 0;
16587 old_CXXFLAGS="$CXXFLAGS"
16588 CXXFLAGS=-S
16589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16590 (eval $ac_compile) 2>&5
16591 ac_status=$?
16592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16593 (exit $ac_status); }; then
16594 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
16595 enable_atomic_builtins=no
16596 else
16598 cat >>confdefs.h <<\_ACEOF
16599 #define _GLIBCXX_ATOMIC_BUILTINS 1
16600 _ACEOF
16602 enable_atomic_builtins=yes
16603 atomicity_dir=cpu/generic/atomicity_builtins
16606 CXXFLAGS="$old_CXXFLAGS"
16607 rm -f conftest*
16609 # Now, if still generic, set to mutex.
16610 if test $atomicity_dir = "cpu/generic" ; then
16611 atomicity_dir=cpu/generic/atomicity_mutex
16613 ac_ext=c
16614 ac_cpp='$CPP $CPPFLAGS'
16615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16619 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
16620 echo "${ECHO_T}$enable_atomic_builtins" >&6
16622 if test $atomicity_dir = cpu/generic/atomic_mutex ; then
16623 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
16624 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16625 if test $target_thread_file = single; then
16626 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
16627 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16628 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16629 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16630 else
16631 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
16632 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16633 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
16634 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16639 # All these tests are for C++; save the language and the compiler flags.
16640 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16641 # found in GLIBCXX_CONFIGURE.
16644 ac_ext=cc
16645 ac_cpp='$CXXCPP $CPPFLAGS'
16646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16650 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16651 ac_save_CXXFLAGS="$CXXFLAGS"
16653 # Check for maintainer-mode bits.
16654 if test x"$USE_MAINTAINER_MODE" = xno; then
16655 WERROR=''
16656 else
16657 WERROR='-Werror'
16660 # Check for -ffunction-sections -fdata-sections
16661 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16662 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
16663 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16664 cat >conftest.$ac_ext <<_ACEOF
16665 /* confdefs.h. */
16666 _ACEOF
16667 cat confdefs.h >>conftest.$ac_ext
16668 cat >>conftest.$ac_ext <<_ACEOF
16669 /* end confdefs.h. */
16670 int foo; void bar() { };
16672 main ()
16676 return 0;
16678 _ACEOF
16679 rm -f conftest.$ac_objext
16680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16681 (eval $ac_compile) 2>conftest.er1
16682 ac_status=$?
16683 grep -v '^ *+' conftest.er1 >conftest.err
16684 rm -f conftest.er1
16685 cat conftest.err >&5
16686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687 (exit $ac_status); } &&
16688 { ac_try='test -z "$ac_cxx_werror_flag"
16689 || test ! -s conftest.err'
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); }; } &&
16695 { ac_try='test -s conftest.$ac_objext'
16696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16697 (eval $ac_try) 2>&5
16698 ac_status=$?
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); }; }; then
16701 ac_fdsections=yes
16702 else
16703 echo "$as_me: failed program was:" >&5
16704 sed 's/^/| /' conftest.$ac_ext >&5
16706 ac_fdsections=no
16708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16709 if test "$ac_test_CXXFLAGS" = set; then
16710 CXXFLAGS="$ac_save_CXXFLAGS"
16711 else
16712 # this is the suspicious part
16713 CXXFLAGS=''
16715 if test x"$ac_fdsections" = x"yes"; then
16716 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16718 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
16719 echo "${ECHO_T}$ac_fdsections" >&6
16721 ac_ext=c
16722 ac_cpp='$CPP $CPPFLAGS'
16723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16731 if $GLIBCXX_IS_NATIVE; then
16733 # We can do more elaborate tests that assume a working linker.
16734 CANADIAN=no
16736 # Check for available headers.
16752 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
16753 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
16754 sys/types.h sys/ipc.h sys/sem.h
16756 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16758 echo "$as_me:$LINENO: checking for $ac_header" >&5
16759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16761 echo $ECHO_N "(cached) $ECHO_C" >&6
16763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16765 else
16766 # Is the header compilable?
16767 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16768 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16769 cat >conftest.$ac_ext <<_ACEOF
16770 /* confdefs.h. */
16771 _ACEOF
16772 cat confdefs.h >>conftest.$ac_ext
16773 cat >>conftest.$ac_ext <<_ACEOF
16774 /* end confdefs.h. */
16775 $ac_includes_default
16776 #include <$ac_header>
16777 _ACEOF
16778 rm -f conftest.$ac_objext
16779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16780 (eval $ac_compile) 2>conftest.er1
16781 ac_status=$?
16782 grep -v '^ *+' conftest.er1 >conftest.err
16783 rm -f conftest.er1
16784 cat conftest.err >&5
16785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786 (exit $ac_status); } &&
16787 { ac_try='test -z "$ac_c_werror_flag"
16788 || test ! -s conftest.err'
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); }; } &&
16794 { ac_try='test -s conftest.$ac_objext'
16795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16796 (eval $ac_try) 2>&5
16797 ac_status=$?
16798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799 (exit $ac_status); }; }; then
16800 ac_header_compiler=yes
16801 else
16802 echo "$as_me: failed program was:" >&5
16803 sed 's/^/| /' conftest.$ac_ext >&5
16805 ac_header_compiler=no
16807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16808 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16809 echo "${ECHO_T}$ac_header_compiler" >&6
16811 # Is the header present?
16812 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16813 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16814 cat >conftest.$ac_ext <<_ACEOF
16815 /* confdefs.h. */
16816 _ACEOF
16817 cat confdefs.h >>conftest.$ac_ext
16818 cat >>conftest.$ac_ext <<_ACEOF
16819 /* end confdefs.h. */
16820 #include <$ac_header>
16821 _ACEOF
16822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16823 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16824 ac_status=$?
16825 grep -v '^ *+' conftest.er1 >conftest.err
16826 rm -f conftest.er1
16827 cat conftest.err >&5
16828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16829 (exit $ac_status); } >/dev/null; then
16830 if test -s conftest.err; then
16831 ac_cpp_err=$ac_c_preproc_warn_flag
16832 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16833 else
16834 ac_cpp_err=
16836 else
16837 ac_cpp_err=yes
16839 if test -z "$ac_cpp_err"; then
16840 ac_header_preproc=yes
16841 else
16842 echo "$as_me: failed program was:" >&5
16843 sed 's/^/| /' conftest.$ac_ext >&5
16845 ac_header_preproc=no
16847 rm -f conftest.err conftest.$ac_ext
16848 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16849 echo "${ECHO_T}$ac_header_preproc" >&6
16851 # So? What about this header?
16852 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16853 yes:no: )
16854 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16855 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16856 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16857 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16858 ac_header_preproc=yes
16860 no:yes:* )
16861 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16862 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16863 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16864 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16865 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16866 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16867 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16868 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16869 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16870 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16871 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16872 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16874 cat <<\_ASBOX
16875 ## ----------------------------------------- ##
16876 ## Report this to the package-unused lists. ##
16877 ## ----------------------------------------- ##
16878 _ASBOX
16880 sed "s/^/$as_me: WARNING: /" >&2
16882 esac
16883 echo "$as_me:$LINENO: checking for $ac_header" >&5
16884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16886 echo $ECHO_N "(cached) $ECHO_C" >&6
16887 else
16888 eval "$as_ac_Header=\$ac_header_preproc"
16890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16891 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16894 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16895 cat >>confdefs.h <<_ACEOF
16896 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16897 _ACEOF
16901 done
16906 # Check whether --with-gnu-ld or --without-gnu-ld was given.
16907 if test "${with_gnu_ld+set}" = set; then
16908 withval="$with_gnu_ld"
16909 test "$withval" = no || with_gnu_ld=yes
16910 else
16911 with_gnu_ld=no
16913 ac_prog=ld
16914 if test "$GCC" = yes; then
16915 # Check if gcc -print-prog-name=ld gives a path.
16916 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
16917 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
16918 case $host in
16919 *-*-mingw*)
16920 # gcc leaves a trailing carriage return which upsets mingw
16921 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16923 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16924 esac
16925 case $ac_prog in
16926 # Accept absolute paths.
16927 [\\/]* | ?:[\\/]*)
16928 re_direlt='/[^/][^/]*/\.\./'
16929 # Canonicalize the pathname of ld
16930 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
16931 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
16932 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
16933 done
16934 test -z "$LD" && LD="$ac_prog"
16937 # If it fails, then pretend we aren't using GCC.
16938 ac_prog=ld
16941 # If it is relative, then search for the first ld in PATH.
16942 with_gnu_ld=unknown
16944 esac
16945 elif test "$with_gnu_ld" = yes; then
16946 echo "$as_me:$LINENO: checking for GNU ld" >&5
16947 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
16948 else
16949 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
16950 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
16952 if test "${lt_cv_path_LD+set}" = set; then
16953 echo $ECHO_N "(cached) $ECHO_C" >&6
16954 else
16955 if test -z "$LD"; then
16956 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16957 for ac_dir in $PATH; do
16958 IFS="$lt_save_ifs"
16959 test -z "$ac_dir" && ac_dir=.
16960 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16961 lt_cv_path_LD="$ac_dir/$ac_prog"
16962 # Check to see if the program is GNU ld. I'd rather use --version,
16963 # but apparently some variants of GNU ld only accept -v.
16964 # Break only if it was the GNU/non-GNU ld that we prefer.
16965 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16966 *GNU* | *'with BFD'*)
16967 test "$with_gnu_ld" != no && break
16970 test "$with_gnu_ld" != yes && break
16972 esac
16974 done
16975 IFS="$lt_save_ifs"
16976 else
16977 lt_cv_path_LD="$LD" # Let the user override the test with a path.
16981 LD="$lt_cv_path_LD"
16982 if test -n "$LD"; then
16983 echo "$as_me:$LINENO: result: $LD" >&5
16984 echo "${ECHO_T}$LD" >&6
16985 else
16986 echo "$as_me:$LINENO: result: no" >&5
16987 echo "${ECHO_T}no" >&6
16989 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
16990 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
16991 { (exit 1); exit 1; }; }
16992 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
16993 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
16994 if test "${lt_cv_prog_gnu_ld+set}" = set; then
16995 echo $ECHO_N "(cached) $ECHO_C" >&6
16996 else
16997 # I'd rather use --version here, but apparently some GNU lds only accept -v.
16998 case `$LD -v 2>&1 </dev/null` in
16999 *GNU* | *'with BFD'*)
17000 lt_cv_prog_gnu_ld=yes
17003 lt_cv_prog_gnu_ld=no
17005 esac
17007 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
17008 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
17009 with_gnu_ld=$lt_cv_prog_gnu_ld
17017 # If we're not using GNU ld, then there's no point in even trying these
17018 # tests. Check for that first. We should have already tested for gld
17019 # by now (in libtool), but require it now just to be safe...
17020 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
17021 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
17025 # The name set by libtool depends on the version of libtool. Shame on us
17026 # for depending on an impl detail, but c'est la vie. Older versions used
17027 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
17028 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
17029 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
17030 # set (hence we're using an older libtool), then set it.
17031 if test x${with_gnu_ld+set} != xset; then
17032 if test x${ac_cv_prog_gnu_ld+set} != xset; then
17033 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
17034 with_gnu_ld=no
17035 else
17036 with_gnu_ld=$ac_cv_prog_gnu_ld
17040 # Start by getting the version number. I think the libtool test already
17041 # does some of this, but throws away the result.
17042 if test x"$with_gnu_ld" = x"yes"; then
17043 echo "$as_me:$LINENO: checking for ld version" >&5
17044 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
17046 ldver=`$LD --version 2>/dev/null | head -1 | \
17047 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
17049 glibcxx_gnu_ld_version=`echo $ldver | \
17050 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
17051 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
17052 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
17055 # Set --gc-sections.
17056 glibcxx_gcsections_min_ld=21602
17057 if test x"$with_gnu_ld" = x"yes" &&
17058 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
17060 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
17061 # NB: This flag only works reliably after 2.16.1. Configure tests
17062 # for this are difficult, so hard wire a value that should work.
17064 ac_test_CFLAGS="${CFLAGS+set}"
17065 ac_save_CFLAGS="$CFLAGS"
17066 CFLAGS='-Wl,--gc-sections'
17068 # Check for -Wl,--gc-sections
17069 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
17070 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
17071 if test x$gcc_no_link = xyes; then
17072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17074 { (exit 1); exit 1; }; }
17076 cat >conftest.$ac_ext <<_ACEOF
17077 /* confdefs.h. */
17078 _ACEOF
17079 cat confdefs.h >>conftest.$ac_ext
17080 cat >>conftest.$ac_ext <<_ACEOF
17081 /* end confdefs.h. */
17082 int one(void) { return 1; }
17083 int two(void) { return 2; }
17086 main ()
17088 two();
17090 return 0;
17092 _ACEOF
17093 rm -f conftest.$ac_objext conftest$ac_exeext
17094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17095 (eval $ac_link) 2>conftest.er1
17096 ac_status=$?
17097 grep -v '^ *+' conftest.er1 >conftest.err
17098 rm -f conftest.er1
17099 cat conftest.err >&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); } &&
17102 { ac_try='test -z "$ac_c_werror_flag"
17103 || test ! -s conftest.err'
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); }; } &&
17109 { ac_try='test -s conftest$ac_exeext'
17110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17111 (eval $ac_try) 2>&5
17112 ac_status=$?
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); }; }; then
17115 ac_gcsections=yes
17116 else
17117 echo "$as_me: failed program was:" >&5
17118 sed 's/^/| /' conftest.$ac_ext >&5
17120 ac_gcsections=no
17122 rm -f conftest.err conftest.$ac_objext \
17123 conftest$ac_exeext conftest.$ac_ext
17124 if test "$ac_gcsections" = "yes"; then
17125 rm -f conftest.c
17126 touch conftest.c
17127 if $CC -c conftest.c; then
17128 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
17129 grep "Warning: gc-sections option ignored" > /dev/null; then
17130 ac_gcsections=no
17133 rm -f conftest.c conftest.o conftest
17135 if test "$ac_gcsections" = "yes"; then
17136 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
17138 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
17139 echo "${ECHO_T}$ac_gcsections" >&6
17141 if test "$ac_test_CFLAGS" = set; then
17142 CFLAGS="$ac_save_CFLAGS"
17143 else
17144 # this is the suspicious part
17145 CFLAGS=''
17149 # Set -z,relro.
17150 # Note this is only for shared objects.
17151 ac_ld_relro=no
17152 if test x"$with_gnu_ld" = x"yes"; then
17153 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
17154 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
17155 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
17156 if test -n "$cxx_z_relo"; then
17157 OPT_LDFLAGS="-Wl,-z,relro"
17158 ac_ld_relro=yes
17160 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
17161 echo "${ECHO_T}$ac_ld_relro" >&6
17164 # Set linker optimization flags.
17165 if test x"$with_gnu_ld" = x"yes"; then
17166 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
17173 ac_test_CXXFLAGS="${CXXFLAGS+set}"
17174 ac_save_CXXFLAGS="$CXXFLAGS"
17175 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
17177 echo "$as_me:$LINENO: checking for sin in -lm" >&5
17178 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
17179 if test "${ac_cv_lib_m_sin+set}" = set; then
17180 echo $ECHO_N "(cached) $ECHO_C" >&6
17181 else
17182 ac_check_lib_save_LIBS=$LIBS
17183 LIBS="-lm $LIBS"
17184 if test x$gcc_no_link = xyes; then
17185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17187 { (exit 1); exit 1; }; }
17189 cat >conftest.$ac_ext <<_ACEOF
17190 /* confdefs.h. */
17191 _ACEOF
17192 cat confdefs.h >>conftest.$ac_ext
17193 cat >>conftest.$ac_ext <<_ACEOF
17194 /* end confdefs.h. */
17196 /* Override any gcc2 internal prototype to avoid an error. */
17197 #ifdef __cplusplus
17198 extern "C"
17199 #endif
17200 /* We use char because int might match the return type of a gcc2
17201 builtin and then its argument prototype would still apply. */
17202 char sin ();
17204 main ()
17206 sin ();
17208 return 0;
17210 _ACEOF
17211 rm -f conftest.$ac_objext conftest$ac_exeext
17212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17213 (eval $ac_link) 2>conftest.er1
17214 ac_status=$?
17215 grep -v '^ *+' conftest.er1 >conftest.err
17216 rm -f conftest.er1
17217 cat conftest.err >&5
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); } &&
17220 { ac_try='test -z "$ac_c_werror_flag"
17221 || test ! -s conftest.err'
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); }; } &&
17227 { ac_try='test -s conftest$ac_exeext'
17228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17229 (eval $ac_try) 2>&5
17230 ac_status=$?
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); }; }; then
17233 ac_cv_lib_m_sin=yes
17234 else
17235 echo "$as_me: failed program was:" >&5
17236 sed 's/^/| /' conftest.$ac_ext >&5
17238 ac_cv_lib_m_sin=no
17240 rm -f conftest.err conftest.$ac_objext \
17241 conftest$ac_exeext conftest.$ac_ext
17242 LIBS=$ac_check_lib_save_LIBS
17244 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
17245 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
17246 if test $ac_cv_lib_m_sin = yes; then
17247 libm="-lm"
17250 ac_save_LIBS="$LIBS"
17251 LIBS="$LIBS $libm"
17255 echo "$as_me:$LINENO: checking for isinf declaration" >&5
17256 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
17257 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
17258 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
17259 echo $ECHO_N "(cached) $ECHO_C" >&6
17260 else
17264 ac_ext=cc
17265 ac_cpp='$CXXCPP $CPPFLAGS'
17266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17270 cat >conftest.$ac_ext <<_ACEOF
17271 /* confdefs.h. */
17272 _ACEOF
17273 cat confdefs.h >>conftest.$ac_ext
17274 cat >>conftest.$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17276 #include <math.h>
17277 #ifdef HAVE_IEEEFP_H
17278 #include <ieeefp.h>
17279 #endif
17282 main ()
17284 isinf(0);
17286 return 0;
17288 _ACEOF
17289 rm -f conftest.$ac_objext
17290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17291 (eval $ac_compile) 2>conftest.er1
17292 ac_status=$?
17293 grep -v '^ *+' conftest.er1 >conftest.err
17294 rm -f conftest.er1
17295 cat conftest.err >&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); } &&
17298 { ac_try='test -z "$ac_cxx_werror_flag"
17299 || test ! -s conftest.err'
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); }; } &&
17305 { ac_try='test -s conftest.$ac_objext'
17306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17307 (eval $ac_try) 2>&5
17308 ac_status=$?
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); }; }; then
17311 glibcxx_cv_func_isinf_use=yes
17312 else
17313 echo "$as_me: failed program was:" >&5
17314 sed 's/^/| /' conftest.$ac_ext >&5
17316 glibcxx_cv_func_isinf_use=no
17318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17319 ac_ext=c
17320 ac_cpp='$CPP $CPPFLAGS'
17321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
17330 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
17332 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
17334 for ac_func in isinf
17336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17337 echo "$as_me:$LINENO: checking for $ac_func" >&5
17338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17339 if eval "test \"\${$as_ac_var+set}\" = set"; then
17340 echo $ECHO_N "(cached) $ECHO_C" >&6
17341 else
17342 if test x$gcc_no_link = xyes; then
17343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17345 { (exit 1); exit 1; }; }
17347 cat >conftest.$ac_ext <<_ACEOF
17348 /* confdefs.h. */
17349 _ACEOF
17350 cat confdefs.h >>conftest.$ac_ext
17351 cat >>conftest.$ac_ext <<_ACEOF
17352 /* end confdefs.h. */
17353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17355 #define $ac_func innocuous_$ac_func
17357 /* System header to define __stub macros and hopefully few prototypes,
17358 which can conflict with char $ac_func (); below.
17359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17360 <limits.h> exists even on freestanding compilers. */
17362 #ifdef __STDC__
17363 # include <limits.h>
17364 #else
17365 # include <assert.h>
17366 #endif
17368 #undef $ac_func
17370 /* Override any gcc2 internal prototype to avoid an error. */
17371 #ifdef __cplusplus
17372 extern "C"
17374 #endif
17375 /* We use char because int might match the return type of a gcc2
17376 builtin and then its argument prototype would still apply. */
17377 char $ac_func ();
17378 /* The GNU C library defines this for functions which it implements
17379 to always fail with ENOSYS. Some functions are actually named
17380 something starting with __ and the normal name is an alias. */
17381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17382 choke me
17383 #else
17384 char (*f) () = $ac_func;
17385 #endif
17386 #ifdef __cplusplus
17388 #endif
17391 main ()
17393 return f != $ac_func;
17395 return 0;
17397 _ACEOF
17398 rm -f conftest.$ac_objext conftest$ac_exeext
17399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17400 (eval $ac_link) 2>conftest.er1
17401 ac_status=$?
17402 grep -v '^ *+' conftest.er1 >conftest.err
17403 rm -f conftest.er1
17404 cat conftest.err >&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); } &&
17407 { ac_try='test -z "$ac_c_werror_flag"
17408 || test ! -s conftest.err'
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); }; } &&
17414 { ac_try='test -s conftest$ac_exeext'
17415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17416 (eval $ac_try) 2>&5
17417 ac_status=$?
17418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17419 (exit $ac_status); }; }; then
17420 eval "$as_ac_var=yes"
17421 else
17422 echo "$as_me: failed program was:" >&5
17423 sed 's/^/| /' conftest.$ac_ext >&5
17425 eval "$as_ac_var=no"
17427 rm -f conftest.err conftest.$ac_objext \
17428 conftest$ac_exeext conftest.$ac_ext
17430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17432 if test `eval echo '${'$as_ac_var'}'` = yes; then
17433 cat >>confdefs.h <<_ACEOF
17434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17435 _ACEOF
17438 done
17440 else
17442 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
17443 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
17444 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
17445 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
17446 echo $ECHO_N "(cached) $ECHO_C" >&6
17447 else
17451 ac_ext=cc
17452 ac_cpp='$CXXCPP $CPPFLAGS'
17453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17457 cat >conftest.$ac_ext <<_ACEOF
17458 /* confdefs.h. */
17459 _ACEOF
17460 cat confdefs.h >>conftest.$ac_ext
17461 cat >>conftest.$ac_ext <<_ACEOF
17462 /* end confdefs.h. */
17463 #include <math.h>
17464 #ifdef HAVE_IEEEFP_H
17465 #include <ieeefp.h>
17466 #endif
17469 main ()
17471 _isinf(0);
17473 return 0;
17475 _ACEOF
17476 rm -f conftest.$ac_objext
17477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17478 (eval $ac_compile) 2>conftest.er1
17479 ac_status=$?
17480 grep -v '^ *+' conftest.er1 >conftest.err
17481 rm -f conftest.er1
17482 cat conftest.err >&5
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); } &&
17485 { ac_try='test -z "$ac_cxx_werror_flag"
17486 || test ! -s conftest.err'
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); }; } &&
17492 { ac_try='test -s conftest.$ac_objext'
17493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17494 (eval $ac_try) 2>&5
17495 ac_status=$?
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); }; }; then
17498 glibcxx_cv_func__isinf_use=yes
17499 else
17500 echo "$as_me: failed program was:" >&5
17501 sed 's/^/| /' conftest.$ac_ext >&5
17503 glibcxx_cv_func__isinf_use=no
17505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17506 ac_ext=c
17507 ac_cpp='$CPP $CPPFLAGS'
17508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
17517 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
17519 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
17521 for ac_func in _isinf
17523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17524 echo "$as_me:$LINENO: checking for $ac_func" >&5
17525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17526 if eval "test \"\${$as_ac_var+set}\" = set"; then
17527 echo $ECHO_N "(cached) $ECHO_C" >&6
17528 else
17529 if test x$gcc_no_link = xyes; then
17530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17532 { (exit 1); exit 1; }; }
17534 cat >conftest.$ac_ext <<_ACEOF
17535 /* confdefs.h. */
17536 _ACEOF
17537 cat confdefs.h >>conftest.$ac_ext
17538 cat >>conftest.$ac_ext <<_ACEOF
17539 /* end confdefs.h. */
17540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17542 #define $ac_func innocuous_$ac_func
17544 /* System header to define __stub macros and hopefully few prototypes,
17545 which can conflict with char $ac_func (); below.
17546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17547 <limits.h> exists even on freestanding compilers. */
17549 #ifdef __STDC__
17550 # include <limits.h>
17551 #else
17552 # include <assert.h>
17553 #endif
17555 #undef $ac_func
17557 /* Override any gcc2 internal prototype to avoid an error. */
17558 #ifdef __cplusplus
17559 extern "C"
17561 #endif
17562 /* We use char because int might match the return type of a gcc2
17563 builtin and then its argument prototype would still apply. */
17564 char $ac_func ();
17565 /* The GNU C library defines this for functions which it implements
17566 to always fail with ENOSYS. Some functions are actually named
17567 something starting with __ and the normal name is an alias. */
17568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17569 choke me
17570 #else
17571 char (*f) () = $ac_func;
17572 #endif
17573 #ifdef __cplusplus
17575 #endif
17578 main ()
17580 return f != $ac_func;
17582 return 0;
17584 _ACEOF
17585 rm -f conftest.$ac_objext conftest$ac_exeext
17586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17587 (eval $ac_link) 2>conftest.er1
17588 ac_status=$?
17589 grep -v '^ *+' conftest.er1 >conftest.err
17590 rm -f conftest.er1
17591 cat conftest.err >&5
17592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593 (exit $ac_status); } &&
17594 { ac_try='test -z "$ac_c_werror_flag"
17595 || test ! -s conftest.err'
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); }; } &&
17601 { ac_try='test -s conftest$ac_exeext'
17602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17603 (eval $ac_try) 2>&5
17604 ac_status=$?
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); }; }; then
17607 eval "$as_ac_var=yes"
17608 else
17609 echo "$as_me: failed program was:" >&5
17610 sed 's/^/| /' conftest.$ac_ext >&5
17612 eval "$as_ac_var=no"
17614 rm -f conftest.err conftest.$ac_objext \
17615 conftest$ac_exeext conftest.$ac_ext
17617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17619 if test `eval echo '${'$as_ac_var'}'` = yes; then
17620 cat >>confdefs.h <<_ACEOF
17621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17622 _ACEOF
17625 done
17635 echo "$as_me:$LINENO: checking for isnan declaration" >&5
17636 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
17637 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
17638 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
17639 echo $ECHO_N "(cached) $ECHO_C" >&6
17640 else
17644 ac_ext=cc
17645 ac_cpp='$CXXCPP $CPPFLAGS'
17646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17650 cat >conftest.$ac_ext <<_ACEOF
17651 /* confdefs.h. */
17652 _ACEOF
17653 cat confdefs.h >>conftest.$ac_ext
17654 cat >>conftest.$ac_ext <<_ACEOF
17655 /* end confdefs.h. */
17656 #include <math.h>
17657 #ifdef HAVE_IEEEFP_H
17658 #include <ieeefp.h>
17659 #endif
17662 main ()
17664 isnan(0);
17666 return 0;
17668 _ACEOF
17669 rm -f conftest.$ac_objext
17670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17671 (eval $ac_compile) 2>conftest.er1
17672 ac_status=$?
17673 grep -v '^ *+' conftest.er1 >conftest.err
17674 rm -f conftest.er1
17675 cat conftest.err >&5
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); } &&
17678 { ac_try='test -z "$ac_cxx_werror_flag"
17679 || test ! -s conftest.err'
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); }; } &&
17685 { ac_try='test -s conftest.$ac_objext'
17686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17687 (eval $ac_try) 2>&5
17688 ac_status=$?
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); }; }; then
17691 glibcxx_cv_func_isnan_use=yes
17692 else
17693 echo "$as_me: failed program was:" >&5
17694 sed 's/^/| /' conftest.$ac_ext >&5
17696 glibcxx_cv_func_isnan_use=no
17698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17699 ac_ext=c
17700 ac_cpp='$CPP $CPPFLAGS'
17701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
17710 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
17712 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
17714 for ac_func in isnan
17716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17717 echo "$as_me:$LINENO: checking for $ac_func" >&5
17718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17719 if eval "test \"\${$as_ac_var+set}\" = set"; then
17720 echo $ECHO_N "(cached) $ECHO_C" >&6
17721 else
17722 if test x$gcc_no_link = xyes; then
17723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17725 { (exit 1); exit 1; }; }
17727 cat >conftest.$ac_ext <<_ACEOF
17728 /* confdefs.h. */
17729 _ACEOF
17730 cat confdefs.h >>conftest.$ac_ext
17731 cat >>conftest.$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17735 #define $ac_func innocuous_$ac_func
17737 /* System header to define __stub macros and hopefully few prototypes,
17738 which can conflict with char $ac_func (); below.
17739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17740 <limits.h> exists even on freestanding compilers. */
17742 #ifdef __STDC__
17743 # include <limits.h>
17744 #else
17745 # include <assert.h>
17746 #endif
17748 #undef $ac_func
17750 /* Override any gcc2 internal prototype to avoid an error. */
17751 #ifdef __cplusplus
17752 extern "C"
17754 #endif
17755 /* We use char because int might match the return type of a gcc2
17756 builtin and then its argument prototype would still apply. */
17757 char $ac_func ();
17758 /* The GNU C library defines this for functions which it implements
17759 to always fail with ENOSYS. Some functions are actually named
17760 something starting with __ and the normal name is an alias. */
17761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17762 choke me
17763 #else
17764 char (*f) () = $ac_func;
17765 #endif
17766 #ifdef __cplusplus
17768 #endif
17771 main ()
17773 return f != $ac_func;
17775 return 0;
17777 _ACEOF
17778 rm -f conftest.$ac_objext conftest$ac_exeext
17779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17780 (eval $ac_link) 2>conftest.er1
17781 ac_status=$?
17782 grep -v '^ *+' conftest.er1 >conftest.err
17783 rm -f conftest.er1
17784 cat conftest.err >&5
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); } &&
17787 { ac_try='test -z "$ac_c_werror_flag"
17788 || test ! -s conftest.err'
17789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17790 (eval $ac_try) 2>&5
17791 ac_status=$?
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); }; } &&
17794 { ac_try='test -s conftest$ac_exeext'
17795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17796 (eval $ac_try) 2>&5
17797 ac_status=$?
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); }; }; then
17800 eval "$as_ac_var=yes"
17801 else
17802 echo "$as_me: failed program was:" >&5
17803 sed 's/^/| /' conftest.$ac_ext >&5
17805 eval "$as_ac_var=no"
17807 rm -f conftest.err conftest.$ac_objext \
17808 conftest$ac_exeext conftest.$ac_ext
17810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17812 if test `eval echo '${'$as_ac_var'}'` = yes; then
17813 cat >>confdefs.h <<_ACEOF
17814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17815 _ACEOF
17818 done
17820 else
17822 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
17823 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
17824 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
17825 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
17826 echo $ECHO_N "(cached) $ECHO_C" >&6
17827 else
17831 ac_ext=cc
17832 ac_cpp='$CXXCPP $CPPFLAGS'
17833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17837 cat >conftest.$ac_ext <<_ACEOF
17838 /* confdefs.h. */
17839 _ACEOF
17840 cat confdefs.h >>conftest.$ac_ext
17841 cat >>conftest.$ac_ext <<_ACEOF
17842 /* end confdefs.h. */
17843 #include <math.h>
17844 #ifdef HAVE_IEEEFP_H
17845 #include <ieeefp.h>
17846 #endif
17849 main ()
17851 _isnan(0);
17853 return 0;
17855 _ACEOF
17856 rm -f conftest.$ac_objext
17857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17858 (eval $ac_compile) 2>conftest.er1
17859 ac_status=$?
17860 grep -v '^ *+' conftest.er1 >conftest.err
17861 rm -f conftest.er1
17862 cat conftest.err >&5
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); } &&
17865 { ac_try='test -z "$ac_cxx_werror_flag"
17866 || test ! -s conftest.err'
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); }; } &&
17872 { ac_try='test -s conftest.$ac_objext'
17873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17874 (eval $ac_try) 2>&5
17875 ac_status=$?
17876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877 (exit $ac_status); }; }; then
17878 glibcxx_cv_func__isnan_use=yes
17879 else
17880 echo "$as_me: failed program was:" >&5
17881 sed 's/^/| /' conftest.$ac_ext >&5
17883 glibcxx_cv_func__isnan_use=no
17885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17886 ac_ext=c
17887 ac_cpp='$CPP $CPPFLAGS'
17888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
17897 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
17899 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
17901 for ac_func in _isnan
17903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17904 echo "$as_me:$LINENO: checking for $ac_func" >&5
17905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17906 if eval "test \"\${$as_ac_var+set}\" = set"; then
17907 echo $ECHO_N "(cached) $ECHO_C" >&6
17908 else
17909 if test x$gcc_no_link = xyes; then
17910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17912 { (exit 1); exit 1; }; }
17914 cat >conftest.$ac_ext <<_ACEOF
17915 /* confdefs.h. */
17916 _ACEOF
17917 cat confdefs.h >>conftest.$ac_ext
17918 cat >>conftest.$ac_ext <<_ACEOF
17919 /* end confdefs.h. */
17920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17922 #define $ac_func innocuous_$ac_func
17924 /* System header to define __stub macros and hopefully few prototypes,
17925 which can conflict with char $ac_func (); below.
17926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17927 <limits.h> exists even on freestanding compilers. */
17929 #ifdef __STDC__
17930 # include <limits.h>
17931 #else
17932 # include <assert.h>
17933 #endif
17935 #undef $ac_func
17937 /* Override any gcc2 internal prototype to avoid an error. */
17938 #ifdef __cplusplus
17939 extern "C"
17941 #endif
17942 /* We use char because int might match the return type of a gcc2
17943 builtin and then its argument prototype would still apply. */
17944 char $ac_func ();
17945 /* The GNU C library defines this for functions which it implements
17946 to always fail with ENOSYS. Some functions are actually named
17947 something starting with __ and the normal name is an alias. */
17948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17949 choke me
17950 #else
17951 char (*f) () = $ac_func;
17952 #endif
17953 #ifdef __cplusplus
17955 #endif
17958 main ()
17960 return f != $ac_func;
17962 return 0;
17964 _ACEOF
17965 rm -f conftest.$ac_objext conftest$ac_exeext
17966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17967 (eval $ac_link) 2>conftest.er1
17968 ac_status=$?
17969 grep -v '^ *+' conftest.er1 >conftest.err
17970 rm -f conftest.er1
17971 cat conftest.err >&5
17972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17973 (exit $ac_status); } &&
17974 { ac_try='test -z "$ac_c_werror_flag"
17975 || test ! -s conftest.err'
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); }; } &&
17981 { ac_try='test -s conftest$ac_exeext'
17982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17983 (eval $ac_try) 2>&5
17984 ac_status=$?
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); }; }; then
17987 eval "$as_ac_var=yes"
17988 else
17989 echo "$as_me: failed program was:" >&5
17990 sed 's/^/| /' conftest.$ac_ext >&5
17992 eval "$as_ac_var=no"
17994 rm -f conftest.err conftest.$ac_objext \
17995 conftest$ac_exeext conftest.$ac_ext
17997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17999 if test `eval echo '${'$as_ac_var'}'` = yes; then
18000 cat >>confdefs.h <<_ACEOF
18001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18002 _ACEOF
18005 done
18015 echo "$as_me:$LINENO: checking for finite declaration" >&5
18016 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
18017 if test x${glibcxx_cv_func_finite_use+set} != xset; then
18018 if test "${glibcxx_cv_func_finite_use+set}" = set; then
18019 echo $ECHO_N "(cached) $ECHO_C" >&6
18020 else
18024 ac_ext=cc
18025 ac_cpp='$CXXCPP $CPPFLAGS'
18026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18030 cat >conftest.$ac_ext <<_ACEOF
18031 /* confdefs.h. */
18032 _ACEOF
18033 cat confdefs.h >>conftest.$ac_ext
18034 cat >>conftest.$ac_ext <<_ACEOF
18035 /* end confdefs.h. */
18036 #include <math.h>
18037 #ifdef HAVE_IEEEFP_H
18038 #include <ieeefp.h>
18039 #endif
18042 main ()
18044 finite(0);
18046 return 0;
18048 _ACEOF
18049 rm -f conftest.$ac_objext
18050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18051 (eval $ac_compile) 2>conftest.er1
18052 ac_status=$?
18053 grep -v '^ *+' conftest.er1 >conftest.err
18054 rm -f conftest.er1
18055 cat conftest.err >&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); } &&
18058 { ac_try='test -z "$ac_cxx_werror_flag"
18059 || test ! -s conftest.err'
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); }; } &&
18065 { ac_try='test -s conftest.$ac_objext'
18066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18067 (eval $ac_try) 2>&5
18068 ac_status=$?
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); }; }; then
18071 glibcxx_cv_func_finite_use=yes
18072 else
18073 echo "$as_me: failed program was:" >&5
18074 sed 's/^/| /' conftest.$ac_ext >&5
18076 glibcxx_cv_func_finite_use=no
18078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18079 ac_ext=c
18080 ac_cpp='$CPP $CPPFLAGS'
18081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18089 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
18090 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
18092 if test x$glibcxx_cv_func_finite_use = x"yes"; then
18094 for ac_func in finite
18096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18097 echo "$as_me:$LINENO: checking for $ac_func" >&5
18098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18099 if eval "test \"\${$as_ac_var+set}\" = set"; then
18100 echo $ECHO_N "(cached) $ECHO_C" >&6
18101 else
18102 if test x$gcc_no_link = xyes; then
18103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18105 { (exit 1); exit 1; }; }
18107 cat >conftest.$ac_ext <<_ACEOF
18108 /* confdefs.h. */
18109 _ACEOF
18110 cat confdefs.h >>conftest.$ac_ext
18111 cat >>conftest.$ac_ext <<_ACEOF
18112 /* end confdefs.h. */
18113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18115 #define $ac_func innocuous_$ac_func
18117 /* System header to define __stub macros and hopefully few prototypes,
18118 which can conflict with char $ac_func (); below.
18119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18120 <limits.h> exists even on freestanding compilers. */
18122 #ifdef __STDC__
18123 # include <limits.h>
18124 #else
18125 # include <assert.h>
18126 #endif
18128 #undef $ac_func
18130 /* Override any gcc2 internal prototype to avoid an error. */
18131 #ifdef __cplusplus
18132 extern "C"
18134 #endif
18135 /* We use char because int might match the return type of a gcc2
18136 builtin and then its argument prototype would still apply. */
18137 char $ac_func ();
18138 /* The GNU C library defines this for functions which it implements
18139 to always fail with ENOSYS. Some functions are actually named
18140 something starting with __ and the normal name is an alias. */
18141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18142 choke me
18143 #else
18144 char (*f) () = $ac_func;
18145 #endif
18146 #ifdef __cplusplus
18148 #endif
18151 main ()
18153 return f != $ac_func;
18155 return 0;
18157 _ACEOF
18158 rm -f conftest.$ac_objext conftest$ac_exeext
18159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18160 (eval $ac_link) 2>conftest.er1
18161 ac_status=$?
18162 grep -v '^ *+' conftest.er1 >conftest.err
18163 rm -f conftest.er1
18164 cat conftest.err >&5
18165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); } &&
18167 { ac_try='test -z "$ac_c_werror_flag"
18168 || test ! -s conftest.err'
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); }; } &&
18174 { ac_try='test -s conftest$ac_exeext'
18175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18176 (eval $ac_try) 2>&5
18177 ac_status=$?
18178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18179 (exit $ac_status); }; }; then
18180 eval "$as_ac_var=yes"
18181 else
18182 echo "$as_me: failed program was:" >&5
18183 sed 's/^/| /' conftest.$ac_ext >&5
18185 eval "$as_ac_var=no"
18187 rm -f conftest.err conftest.$ac_objext \
18188 conftest$ac_exeext conftest.$ac_ext
18190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18192 if test `eval echo '${'$as_ac_var'}'` = yes; then
18193 cat >>confdefs.h <<_ACEOF
18194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18195 _ACEOF
18198 done
18200 else
18202 echo "$as_me:$LINENO: checking for _finite declaration" >&5
18203 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
18204 if test x${glibcxx_cv_func__finite_use+set} != xset; then
18205 if test "${glibcxx_cv_func__finite_use+set}" = set; then
18206 echo $ECHO_N "(cached) $ECHO_C" >&6
18207 else
18211 ac_ext=cc
18212 ac_cpp='$CXXCPP $CPPFLAGS'
18213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18217 cat >conftest.$ac_ext <<_ACEOF
18218 /* confdefs.h. */
18219 _ACEOF
18220 cat confdefs.h >>conftest.$ac_ext
18221 cat >>conftest.$ac_ext <<_ACEOF
18222 /* end confdefs.h. */
18223 #include <math.h>
18224 #ifdef HAVE_IEEEFP_H
18225 #include <ieeefp.h>
18226 #endif
18229 main ()
18231 _finite(0);
18233 return 0;
18235 _ACEOF
18236 rm -f conftest.$ac_objext
18237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18238 (eval $ac_compile) 2>conftest.er1
18239 ac_status=$?
18240 grep -v '^ *+' conftest.er1 >conftest.err
18241 rm -f conftest.er1
18242 cat conftest.err >&5
18243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244 (exit $ac_status); } &&
18245 { ac_try='test -z "$ac_cxx_werror_flag"
18246 || test ! -s conftest.err'
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); }; } &&
18252 { ac_try='test -s conftest.$ac_objext'
18253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18254 (eval $ac_try) 2>&5
18255 ac_status=$?
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); }; }; then
18258 glibcxx_cv_func__finite_use=yes
18259 else
18260 echo "$as_me: failed program was:" >&5
18261 sed 's/^/| /' conftest.$ac_ext >&5
18263 glibcxx_cv_func__finite_use=no
18265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18266 ac_ext=c
18267 ac_cpp='$CPP $CPPFLAGS'
18268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18276 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
18277 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
18279 if test x$glibcxx_cv_func__finite_use = x"yes"; then
18281 for ac_func in _finite
18283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18284 echo "$as_me:$LINENO: checking for $ac_func" >&5
18285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18286 if eval "test \"\${$as_ac_var+set}\" = set"; then
18287 echo $ECHO_N "(cached) $ECHO_C" >&6
18288 else
18289 if test x$gcc_no_link = xyes; then
18290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18292 { (exit 1); exit 1; }; }
18294 cat >conftest.$ac_ext <<_ACEOF
18295 /* confdefs.h. */
18296 _ACEOF
18297 cat confdefs.h >>conftest.$ac_ext
18298 cat >>conftest.$ac_ext <<_ACEOF
18299 /* end confdefs.h. */
18300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18302 #define $ac_func innocuous_$ac_func
18304 /* System header to define __stub macros and hopefully few prototypes,
18305 which can conflict with char $ac_func (); below.
18306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18307 <limits.h> exists even on freestanding compilers. */
18309 #ifdef __STDC__
18310 # include <limits.h>
18311 #else
18312 # include <assert.h>
18313 #endif
18315 #undef $ac_func
18317 /* Override any gcc2 internal prototype to avoid an error. */
18318 #ifdef __cplusplus
18319 extern "C"
18321 #endif
18322 /* We use char because int might match the return type of a gcc2
18323 builtin and then its argument prototype would still apply. */
18324 char $ac_func ();
18325 /* The GNU C library defines this for functions which it implements
18326 to always fail with ENOSYS. Some functions are actually named
18327 something starting with __ and the normal name is an alias. */
18328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18329 choke me
18330 #else
18331 char (*f) () = $ac_func;
18332 #endif
18333 #ifdef __cplusplus
18335 #endif
18338 main ()
18340 return f != $ac_func;
18342 return 0;
18344 _ACEOF
18345 rm -f conftest.$ac_objext conftest$ac_exeext
18346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18347 (eval $ac_link) 2>conftest.er1
18348 ac_status=$?
18349 grep -v '^ *+' conftest.er1 >conftest.err
18350 rm -f conftest.er1
18351 cat conftest.err >&5
18352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18353 (exit $ac_status); } &&
18354 { ac_try='test -z "$ac_c_werror_flag"
18355 || test ! -s conftest.err'
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); }; } &&
18361 { ac_try='test -s conftest$ac_exeext'
18362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18363 (eval $ac_try) 2>&5
18364 ac_status=$?
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); }; }; then
18367 eval "$as_ac_var=yes"
18368 else
18369 echo "$as_me: failed program was:" >&5
18370 sed 's/^/| /' conftest.$ac_ext >&5
18372 eval "$as_ac_var=no"
18374 rm -f conftest.err conftest.$ac_objext \
18375 conftest$ac_exeext conftest.$ac_ext
18377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18379 if test `eval echo '${'$as_ac_var'}'` = yes; then
18380 cat >>confdefs.h <<_ACEOF
18381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18382 _ACEOF
18385 done
18395 echo "$as_me:$LINENO: checking for copysign declaration" >&5
18396 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
18397 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
18398 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
18399 echo $ECHO_N "(cached) $ECHO_C" >&6
18400 else
18404 ac_ext=cc
18405 ac_cpp='$CXXCPP $CPPFLAGS'
18406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18410 cat >conftest.$ac_ext <<_ACEOF
18411 /* confdefs.h. */
18412 _ACEOF
18413 cat confdefs.h >>conftest.$ac_ext
18414 cat >>conftest.$ac_ext <<_ACEOF
18415 /* end confdefs.h. */
18416 #include <math.h>
18418 main ()
18420 copysign(0, 0);
18422 return 0;
18424 _ACEOF
18425 rm -f conftest.$ac_objext
18426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18427 (eval $ac_compile) 2>conftest.er1
18428 ac_status=$?
18429 grep -v '^ *+' conftest.er1 >conftest.err
18430 rm -f conftest.er1
18431 cat conftest.err >&5
18432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433 (exit $ac_status); } &&
18434 { ac_try='test -z "$ac_cxx_werror_flag"
18435 || test ! -s conftest.err'
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); }; } &&
18441 { ac_try='test -s conftest.$ac_objext'
18442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18443 (eval $ac_try) 2>&5
18444 ac_status=$?
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); }; }; then
18447 glibcxx_cv_func_copysign_use=yes
18448 else
18449 echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.$ac_ext >&5
18452 glibcxx_cv_func_copysign_use=no
18454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18455 ac_ext=c
18456 ac_cpp='$CPP $CPPFLAGS'
18457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18465 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
18466 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
18468 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
18470 for ac_func in copysign
18472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18473 echo "$as_me:$LINENO: checking for $ac_func" >&5
18474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18475 if eval "test \"\${$as_ac_var+set}\" = set"; then
18476 echo $ECHO_N "(cached) $ECHO_C" >&6
18477 else
18478 if test x$gcc_no_link = xyes; then
18479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18481 { (exit 1); exit 1; }; }
18483 cat >conftest.$ac_ext <<_ACEOF
18484 /* confdefs.h. */
18485 _ACEOF
18486 cat confdefs.h >>conftest.$ac_ext
18487 cat >>conftest.$ac_ext <<_ACEOF
18488 /* end confdefs.h. */
18489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18491 #define $ac_func innocuous_$ac_func
18493 /* System header to define __stub macros and hopefully few prototypes,
18494 which can conflict with char $ac_func (); below.
18495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18496 <limits.h> exists even on freestanding compilers. */
18498 #ifdef __STDC__
18499 # include <limits.h>
18500 #else
18501 # include <assert.h>
18502 #endif
18504 #undef $ac_func
18506 /* Override any gcc2 internal prototype to avoid an error. */
18507 #ifdef __cplusplus
18508 extern "C"
18510 #endif
18511 /* We use char because int might match the return type of a gcc2
18512 builtin and then its argument prototype would still apply. */
18513 char $ac_func ();
18514 /* The GNU C library defines this for functions which it implements
18515 to always fail with ENOSYS. Some functions are actually named
18516 something starting with __ and the normal name is an alias. */
18517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18518 choke me
18519 #else
18520 char (*f) () = $ac_func;
18521 #endif
18522 #ifdef __cplusplus
18524 #endif
18527 main ()
18529 return f != $ac_func;
18531 return 0;
18533 _ACEOF
18534 rm -f conftest.$ac_objext conftest$ac_exeext
18535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18536 (eval $ac_link) 2>conftest.er1
18537 ac_status=$?
18538 grep -v '^ *+' conftest.er1 >conftest.err
18539 rm -f conftest.er1
18540 cat conftest.err >&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); } &&
18543 { ac_try='test -z "$ac_c_werror_flag"
18544 || test ! -s conftest.err'
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); }; } &&
18550 { ac_try='test -s conftest$ac_exeext'
18551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18552 (eval $ac_try) 2>&5
18553 ac_status=$?
18554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18555 (exit $ac_status); }; }; then
18556 eval "$as_ac_var=yes"
18557 else
18558 echo "$as_me: failed program was:" >&5
18559 sed 's/^/| /' conftest.$ac_ext >&5
18561 eval "$as_ac_var=no"
18563 rm -f conftest.err conftest.$ac_objext \
18564 conftest$ac_exeext conftest.$ac_ext
18566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18568 if test `eval echo '${'$as_ac_var'}'` = yes; then
18569 cat >>confdefs.h <<_ACEOF
18570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18571 _ACEOF
18574 done
18576 else
18578 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
18579 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
18580 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
18581 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
18582 echo $ECHO_N "(cached) $ECHO_C" >&6
18583 else
18587 ac_ext=cc
18588 ac_cpp='$CXXCPP $CPPFLAGS'
18589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18593 cat >conftest.$ac_ext <<_ACEOF
18594 /* confdefs.h. */
18595 _ACEOF
18596 cat confdefs.h >>conftest.$ac_ext
18597 cat >>conftest.$ac_ext <<_ACEOF
18598 /* end confdefs.h. */
18599 #include <math.h>
18601 main ()
18603 _copysign(0, 0);
18605 return 0;
18607 _ACEOF
18608 rm -f conftest.$ac_objext
18609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18610 (eval $ac_compile) 2>conftest.er1
18611 ac_status=$?
18612 grep -v '^ *+' conftest.er1 >conftest.err
18613 rm -f conftest.er1
18614 cat conftest.err >&5
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); } &&
18617 { ac_try='test -z "$ac_cxx_werror_flag"
18618 || test ! -s conftest.err'
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); }; } &&
18624 { ac_try='test -s conftest.$ac_objext'
18625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18626 (eval $ac_try) 2>&5
18627 ac_status=$?
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); }; }; then
18630 glibcxx_cv_func__copysign_use=yes
18631 else
18632 echo "$as_me: failed program was:" >&5
18633 sed 's/^/| /' conftest.$ac_ext >&5
18635 glibcxx_cv_func__copysign_use=no
18637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18638 ac_ext=c
18639 ac_cpp='$CPP $CPPFLAGS'
18640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18648 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
18649 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
18651 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
18653 for ac_func in _copysign
18655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18656 echo "$as_me:$LINENO: checking for $ac_func" >&5
18657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18658 if eval "test \"\${$as_ac_var+set}\" = set"; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18660 else
18661 if test x$gcc_no_link = xyes; then
18662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18664 { (exit 1); exit 1; }; }
18666 cat >conftest.$ac_ext <<_ACEOF
18667 /* confdefs.h. */
18668 _ACEOF
18669 cat confdefs.h >>conftest.$ac_ext
18670 cat >>conftest.$ac_ext <<_ACEOF
18671 /* end confdefs.h. */
18672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18674 #define $ac_func innocuous_$ac_func
18676 /* System header to define __stub macros and hopefully few prototypes,
18677 which can conflict with char $ac_func (); below.
18678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18679 <limits.h> exists even on freestanding compilers. */
18681 #ifdef __STDC__
18682 # include <limits.h>
18683 #else
18684 # include <assert.h>
18685 #endif
18687 #undef $ac_func
18689 /* Override any gcc2 internal prototype to avoid an error. */
18690 #ifdef __cplusplus
18691 extern "C"
18693 #endif
18694 /* We use char because int might match the return type of a gcc2
18695 builtin and then its argument prototype would still apply. */
18696 char $ac_func ();
18697 /* The GNU C library defines this for functions which it implements
18698 to always fail with ENOSYS. Some functions are actually named
18699 something starting with __ and the normal name is an alias. */
18700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18701 choke me
18702 #else
18703 char (*f) () = $ac_func;
18704 #endif
18705 #ifdef __cplusplus
18707 #endif
18710 main ()
18712 return f != $ac_func;
18714 return 0;
18716 _ACEOF
18717 rm -f conftest.$ac_objext conftest$ac_exeext
18718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18719 (eval $ac_link) 2>conftest.er1
18720 ac_status=$?
18721 grep -v '^ *+' conftest.er1 >conftest.err
18722 rm -f conftest.er1
18723 cat conftest.err >&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); } &&
18726 { ac_try='test -z "$ac_c_werror_flag"
18727 || test ! -s conftest.err'
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); }; } &&
18733 { ac_try='test -s conftest$ac_exeext'
18734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18735 (eval $ac_try) 2>&5
18736 ac_status=$?
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); }; }; then
18739 eval "$as_ac_var=yes"
18740 else
18741 echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.$ac_ext >&5
18744 eval "$as_ac_var=no"
18746 rm -f conftest.err conftest.$ac_objext \
18747 conftest$ac_exeext conftest.$ac_ext
18749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18751 if test `eval echo '${'$as_ac_var'}'` = yes; then
18752 cat >>confdefs.h <<_ACEOF
18753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18754 _ACEOF
18757 done
18767 echo "$as_me:$LINENO: checking for sincos declaration" >&5
18768 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
18769 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
18770 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
18771 echo $ECHO_N "(cached) $ECHO_C" >&6
18772 else
18776 ac_ext=cc
18777 ac_cpp='$CXXCPP $CPPFLAGS'
18778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18782 cat >conftest.$ac_ext <<_ACEOF
18783 /* confdefs.h. */
18784 _ACEOF
18785 cat confdefs.h >>conftest.$ac_ext
18786 cat >>conftest.$ac_ext <<_ACEOF
18787 /* end confdefs.h. */
18788 #include <math.h>
18790 main ()
18792 sincos(0, 0, 0);
18794 return 0;
18796 _ACEOF
18797 rm -f conftest.$ac_objext
18798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18799 (eval $ac_compile) 2>conftest.er1
18800 ac_status=$?
18801 grep -v '^ *+' conftest.er1 >conftest.err
18802 rm -f conftest.er1
18803 cat conftest.err >&5
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); } &&
18806 { ac_try='test -z "$ac_cxx_werror_flag"
18807 || test ! -s conftest.err'
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); }; } &&
18813 { ac_try='test -s conftest.$ac_objext'
18814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18815 (eval $ac_try) 2>&5
18816 ac_status=$?
18817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18818 (exit $ac_status); }; }; then
18819 glibcxx_cv_func_sincos_use=yes
18820 else
18821 echo "$as_me: failed program was:" >&5
18822 sed 's/^/| /' conftest.$ac_ext >&5
18824 glibcxx_cv_func_sincos_use=no
18826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18827 ac_ext=c
18828 ac_cpp='$CPP $CPPFLAGS'
18829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18837 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
18838 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
18840 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
18842 for ac_func in sincos
18844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18845 echo "$as_me:$LINENO: checking for $ac_func" >&5
18846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18847 if eval "test \"\${$as_ac_var+set}\" = set"; then
18848 echo $ECHO_N "(cached) $ECHO_C" >&6
18849 else
18850 if test x$gcc_no_link = xyes; then
18851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18853 { (exit 1); exit 1; }; }
18855 cat >conftest.$ac_ext <<_ACEOF
18856 /* confdefs.h. */
18857 _ACEOF
18858 cat confdefs.h >>conftest.$ac_ext
18859 cat >>conftest.$ac_ext <<_ACEOF
18860 /* end confdefs.h. */
18861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18863 #define $ac_func innocuous_$ac_func
18865 /* System header to define __stub macros and hopefully few prototypes,
18866 which can conflict with char $ac_func (); below.
18867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18868 <limits.h> exists even on freestanding compilers. */
18870 #ifdef __STDC__
18871 # include <limits.h>
18872 #else
18873 # include <assert.h>
18874 #endif
18876 #undef $ac_func
18878 /* Override any gcc2 internal prototype to avoid an error. */
18879 #ifdef __cplusplus
18880 extern "C"
18882 #endif
18883 /* We use char because int might match the return type of a gcc2
18884 builtin and then its argument prototype would still apply. */
18885 char $ac_func ();
18886 /* The GNU C library defines this for functions which it implements
18887 to always fail with ENOSYS. Some functions are actually named
18888 something starting with __ and the normal name is an alias. */
18889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18890 choke me
18891 #else
18892 char (*f) () = $ac_func;
18893 #endif
18894 #ifdef __cplusplus
18896 #endif
18899 main ()
18901 return f != $ac_func;
18903 return 0;
18905 _ACEOF
18906 rm -f conftest.$ac_objext conftest$ac_exeext
18907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18908 (eval $ac_link) 2>conftest.er1
18909 ac_status=$?
18910 grep -v '^ *+' conftest.er1 >conftest.err
18911 rm -f conftest.er1
18912 cat conftest.err >&5
18913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914 (exit $ac_status); } &&
18915 { ac_try='test -z "$ac_c_werror_flag"
18916 || test ! -s conftest.err'
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); }; } &&
18922 { ac_try='test -s conftest$ac_exeext'
18923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18924 (eval $ac_try) 2>&5
18925 ac_status=$?
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); }; }; then
18928 eval "$as_ac_var=yes"
18929 else
18930 echo "$as_me: failed program was:" >&5
18931 sed 's/^/| /' conftest.$ac_ext >&5
18933 eval "$as_ac_var=no"
18935 rm -f conftest.err conftest.$ac_objext \
18936 conftest$ac_exeext conftest.$ac_ext
18938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18940 if test `eval echo '${'$as_ac_var'}'` = yes; then
18941 cat >>confdefs.h <<_ACEOF
18942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18943 _ACEOF
18946 done
18948 else
18950 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
18951 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
18952 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
18953 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
18954 echo $ECHO_N "(cached) $ECHO_C" >&6
18955 else
18959 ac_ext=cc
18960 ac_cpp='$CXXCPP $CPPFLAGS'
18961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18965 cat >conftest.$ac_ext <<_ACEOF
18966 /* confdefs.h. */
18967 _ACEOF
18968 cat confdefs.h >>conftest.$ac_ext
18969 cat >>conftest.$ac_ext <<_ACEOF
18970 /* end confdefs.h. */
18971 #include <math.h>
18973 main ()
18975 _sincos(0, 0, 0);
18977 return 0;
18979 _ACEOF
18980 rm -f conftest.$ac_objext
18981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18982 (eval $ac_compile) 2>conftest.er1
18983 ac_status=$?
18984 grep -v '^ *+' conftest.er1 >conftest.err
18985 rm -f conftest.er1
18986 cat conftest.err >&5
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); } &&
18989 { ac_try='test -z "$ac_cxx_werror_flag"
18990 || test ! -s conftest.err'
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); }; } &&
18996 { ac_try='test -s conftest.$ac_objext'
18997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18998 (eval $ac_try) 2>&5
18999 ac_status=$?
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); }; }; then
19002 glibcxx_cv_func__sincos_use=yes
19003 else
19004 echo "$as_me: failed program was:" >&5
19005 sed 's/^/| /' conftest.$ac_ext >&5
19007 glibcxx_cv_func__sincos_use=no
19009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19010 ac_ext=c
19011 ac_cpp='$CPP $CPPFLAGS'
19012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19020 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
19021 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
19023 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
19025 for ac_func in _sincos
19027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19028 echo "$as_me:$LINENO: checking for $ac_func" >&5
19029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19030 if eval "test \"\${$as_ac_var+set}\" = set"; then
19031 echo $ECHO_N "(cached) $ECHO_C" >&6
19032 else
19033 if test x$gcc_no_link = xyes; then
19034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19036 { (exit 1); exit 1; }; }
19038 cat >conftest.$ac_ext <<_ACEOF
19039 /* confdefs.h. */
19040 _ACEOF
19041 cat confdefs.h >>conftest.$ac_ext
19042 cat >>conftest.$ac_ext <<_ACEOF
19043 /* end confdefs.h. */
19044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19046 #define $ac_func innocuous_$ac_func
19048 /* System header to define __stub macros and hopefully few prototypes,
19049 which can conflict with char $ac_func (); below.
19050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19051 <limits.h> exists even on freestanding compilers. */
19053 #ifdef __STDC__
19054 # include <limits.h>
19055 #else
19056 # include <assert.h>
19057 #endif
19059 #undef $ac_func
19061 /* Override any gcc2 internal prototype to avoid an error. */
19062 #ifdef __cplusplus
19063 extern "C"
19065 #endif
19066 /* We use char because int might match the return type of a gcc2
19067 builtin and then its argument prototype would still apply. */
19068 char $ac_func ();
19069 /* The GNU C library defines this for functions which it implements
19070 to always fail with ENOSYS. Some functions are actually named
19071 something starting with __ and the normal name is an alias. */
19072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19073 choke me
19074 #else
19075 char (*f) () = $ac_func;
19076 #endif
19077 #ifdef __cplusplus
19079 #endif
19082 main ()
19084 return f != $ac_func;
19086 return 0;
19088 _ACEOF
19089 rm -f conftest.$ac_objext conftest$ac_exeext
19090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19091 (eval $ac_link) 2>conftest.er1
19092 ac_status=$?
19093 grep -v '^ *+' conftest.er1 >conftest.err
19094 rm -f conftest.er1
19095 cat conftest.err >&5
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); } &&
19098 { ac_try='test -z "$ac_c_werror_flag"
19099 || test ! -s conftest.err'
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); }; } &&
19105 { ac_try='test -s conftest$ac_exeext'
19106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19107 (eval $ac_try) 2>&5
19108 ac_status=$?
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); }; }; then
19111 eval "$as_ac_var=yes"
19112 else
19113 echo "$as_me: failed program was:" >&5
19114 sed 's/^/| /' conftest.$ac_ext >&5
19116 eval "$as_ac_var=no"
19118 rm -f conftest.err conftest.$ac_objext \
19119 conftest$ac_exeext conftest.$ac_ext
19121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19123 if test `eval echo '${'$as_ac_var'}'` = yes; then
19124 cat >>confdefs.h <<_ACEOF
19125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19126 _ACEOF
19129 done
19139 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
19140 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
19141 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
19142 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
19143 echo $ECHO_N "(cached) $ECHO_C" >&6
19144 else
19148 ac_ext=cc
19149 ac_cpp='$CXXCPP $CPPFLAGS'
19150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19154 cat >conftest.$ac_ext <<_ACEOF
19155 /* confdefs.h. */
19156 _ACEOF
19157 cat confdefs.h >>conftest.$ac_ext
19158 cat >>conftest.$ac_ext <<_ACEOF
19159 /* end confdefs.h. */
19160 #include <math.h>
19161 #ifdef HAVE_IEEEFP_H
19162 #include <ieeefp.h>
19163 #endif
19166 main ()
19168 fpclass(0);
19170 return 0;
19172 _ACEOF
19173 rm -f conftest.$ac_objext
19174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19175 (eval $ac_compile) 2>conftest.er1
19176 ac_status=$?
19177 grep -v '^ *+' conftest.er1 >conftest.err
19178 rm -f conftest.er1
19179 cat conftest.err >&5
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); } &&
19182 { ac_try='test -z "$ac_cxx_werror_flag"
19183 || test ! -s conftest.err'
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); }; } &&
19189 { ac_try='test -s conftest.$ac_objext'
19190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19191 (eval $ac_try) 2>&5
19192 ac_status=$?
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); }; }; then
19195 glibcxx_cv_func_fpclass_use=yes
19196 else
19197 echo "$as_me: failed program was:" >&5
19198 sed 's/^/| /' conftest.$ac_ext >&5
19200 glibcxx_cv_func_fpclass_use=no
19202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19203 ac_ext=c
19204 ac_cpp='$CPP $CPPFLAGS'
19205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19213 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
19214 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
19216 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
19218 for ac_func in fpclass
19220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19221 echo "$as_me:$LINENO: checking for $ac_func" >&5
19222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19223 if eval "test \"\${$as_ac_var+set}\" = set"; then
19224 echo $ECHO_N "(cached) $ECHO_C" >&6
19225 else
19226 if test x$gcc_no_link = xyes; then
19227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19229 { (exit 1); exit 1; }; }
19231 cat >conftest.$ac_ext <<_ACEOF
19232 /* confdefs.h. */
19233 _ACEOF
19234 cat confdefs.h >>conftest.$ac_ext
19235 cat >>conftest.$ac_ext <<_ACEOF
19236 /* end confdefs.h. */
19237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19239 #define $ac_func innocuous_$ac_func
19241 /* System header to define __stub macros and hopefully few prototypes,
19242 which can conflict with char $ac_func (); below.
19243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19244 <limits.h> exists even on freestanding compilers. */
19246 #ifdef __STDC__
19247 # include <limits.h>
19248 #else
19249 # include <assert.h>
19250 #endif
19252 #undef $ac_func
19254 /* Override any gcc2 internal prototype to avoid an error. */
19255 #ifdef __cplusplus
19256 extern "C"
19258 #endif
19259 /* We use char because int might match the return type of a gcc2
19260 builtin and then its argument prototype would still apply. */
19261 char $ac_func ();
19262 /* The GNU C library defines this for functions which it implements
19263 to always fail with ENOSYS. Some functions are actually named
19264 something starting with __ and the normal name is an alias. */
19265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19266 choke me
19267 #else
19268 char (*f) () = $ac_func;
19269 #endif
19270 #ifdef __cplusplus
19272 #endif
19275 main ()
19277 return f != $ac_func;
19279 return 0;
19281 _ACEOF
19282 rm -f conftest.$ac_objext conftest$ac_exeext
19283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19284 (eval $ac_link) 2>conftest.er1
19285 ac_status=$?
19286 grep -v '^ *+' conftest.er1 >conftest.err
19287 rm -f conftest.er1
19288 cat conftest.err >&5
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); } &&
19291 { ac_try='test -z "$ac_c_werror_flag"
19292 || test ! -s conftest.err'
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); }; } &&
19298 { ac_try='test -s conftest$ac_exeext'
19299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19300 (eval $ac_try) 2>&5
19301 ac_status=$?
19302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19303 (exit $ac_status); }; }; then
19304 eval "$as_ac_var=yes"
19305 else
19306 echo "$as_me: failed program was:" >&5
19307 sed 's/^/| /' conftest.$ac_ext >&5
19309 eval "$as_ac_var=no"
19311 rm -f conftest.err conftest.$ac_objext \
19312 conftest$ac_exeext conftest.$ac_ext
19314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19316 if test `eval echo '${'$as_ac_var'}'` = yes; then
19317 cat >>confdefs.h <<_ACEOF
19318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19319 _ACEOF
19322 done
19324 else
19326 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
19327 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
19328 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
19329 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
19330 echo $ECHO_N "(cached) $ECHO_C" >&6
19331 else
19335 ac_ext=cc
19336 ac_cpp='$CXXCPP $CPPFLAGS'
19337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19341 cat >conftest.$ac_ext <<_ACEOF
19342 /* confdefs.h. */
19343 _ACEOF
19344 cat confdefs.h >>conftest.$ac_ext
19345 cat >>conftest.$ac_ext <<_ACEOF
19346 /* end confdefs.h. */
19347 #include <math.h>
19348 #ifdef HAVE_IEEEFP_H
19349 #include <ieeefp.h>
19350 #endif
19353 main ()
19355 _fpclass(0);
19357 return 0;
19359 _ACEOF
19360 rm -f conftest.$ac_objext
19361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19362 (eval $ac_compile) 2>conftest.er1
19363 ac_status=$?
19364 grep -v '^ *+' conftest.er1 >conftest.err
19365 rm -f conftest.er1
19366 cat conftest.err >&5
19367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19368 (exit $ac_status); } &&
19369 { ac_try='test -z "$ac_cxx_werror_flag"
19370 || test ! -s conftest.err'
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); }; } &&
19376 { ac_try='test -s conftest.$ac_objext'
19377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19378 (eval $ac_try) 2>&5
19379 ac_status=$?
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); }; }; then
19382 glibcxx_cv_func__fpclass_use=yes
19383 else
19384 echo "$as_me: failed program was:" >&5
19385 sed 's/^/| /' conftest.$ac_ext >&5
19387 glibcxx_cv_func__fpclass_use=no
19389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19390 ac_ext=c
19391 ac_cpp='$CPP $CPPFLAGS'
19392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19400 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
19401 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
19403 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
19405 for ac_func in _fpclass
19407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19408 echo "$as_me:$LINENO: checking for $ac_func" >&5
19409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19410 if eval "test \"\${$as_ac_var+set}\" = set"; then
19411 echo $ECHO_N "(cached) $ECHO_C" >&6
19412 else
19413 if test x$gcc_no_link = xyes; then
19414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19416 { (exit 1); exit 1; }; }
19418 cat >conftest.$ac_ext <<_ACEOF
19419 /* confdefs.h. */
19420 _ACEOF
19421 cat confdefs.h >>conftest.$ac_ext
19422 cat >>conftest.$ac_ext <<_ACEOF
19423 /* end confdefs.h. */
19424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19426 #define $ac_func innocuous_$ac_func
19428 /* System header to define __stub macros and hopefully few prototypes,
19429 which can conflict with char $ac_func (); below.
19430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19431 <limits.h> exists even on freestanding compilers. */
19433 #ifdef __STDC__
19434 # include <limits.h>
19435 #else
19436 # include <assert.h>
19437 #endif
19439 #undef $ac_func
19441 /* Override any gcc2 internal prototype to avoid an error. */
19442 #ifdef __cplusplus
19443 extern "C"
19445 #endif
19446 /* We use char because int might match the return type of a gcc2
19447 builtin and then its argument prototype would still apply. */
19448 char $ac_func ();
19449 /* The GNU C library defines this for functions which it implements
19450 to always fail with ENOSYS. Some functions are actually named
19451 something starting with __ and the normal name is an alias. */
19452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19453 choke me
19454 #else
19455 char (*f) () = $ac_func;
19456 #endif
19457 #ifdef __cplusplus
19459 #endif
19462 main ()
19464 return f != $ac_func;
19466 return 0;
19468 _ACEOF
19469 rm -f conftest.$ac_objext conftest$ac_exeext
19470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19471 (eval $ac_link) 2>conftest.er1
19472 ac_status=$?
19473 grep -v '^ *+' conftest.er1 >conftest.err
19474 rm -f conftest.er1
19475 cat conftest.err >&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); } &&
19478 { ac_try='test -z "$ac_c_werror_flag"
19479 || test ! -s conftest.err'
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); }; } &&
19485 { ac_try='test -s conftest$ac_exeext'
19486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19487 (eval $ac_try) 2>&5
19488 ac_status=$?
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); }; }; then
19491 eval "$as_ac_var=yes"
19492 else
19493 echo "$as_me: failed program was:" >&5
19494 sed 's/^/| /' conftest.$ac_ext >&5
19496 eval "$as_ac_var=no"
19498 rm -f conftest.err conftest.$ac_objext \
19499 conftest$ac_exeext conftest.$ac_ext
19501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19503 if test `eval echo '${'$as_ac_var'}'` = yes; then
19504 cat >>confdefs.h <<_ACEOF
19505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19506 _ACEOF
19509 done
19519 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
19520 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
19521 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
19522 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
19523 echo $ECHO_N "(cached) $ECHO_C" >&6
19524 else
19528 ac_ext=cc
19529 ac_cpp='$CXXCPP $CPPFLAGS'
19530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19534 cat >conftest.$ac_ext <<_ACEOF
19535 /* confdefs.h. */
19536 _ACEOF
19537 cat confdefs.h >>conftest.$ac_ext
19538 cat >>conftest.$ac_ext <<_ACEOF
19539 /* end confdefs.h. */
19540 #include <math.h>
19541 #ifdef HAVE_IEEEFP_H
19542 #include <ieeefp.h>
19543 #endif
19546 main ()
19548 qfpclass(0);
19550 return 0;
19552 _ACEOF
19553 rm -f conftest.$ac_objext
19554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19555 (eval $ac_compile) 2>conftest.er1
19556 ac_status=$?
19557 grep -v '^ *+' conftest.er1 >conftest.err
19558 rm -f conftest.er1
19559 cat conftest.err >&5
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); } &&
19562 { ac_try='test -z "$ac_cxx_werror_flag"
19563 || test ! -s conftest.err'
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); }; } &&
19569 { ac_try='test -s conftest.$ac_objext'
19570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19571 (eval $ac_try) 2>&5
19572 ac_status=$?
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); }; }; then
19575 glibcxx_cv_func_qfpclass_use=yes
19576 else
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19580 glibcxx_cv_func_qfpclass_use=no
19582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19583 ac_ext=c
19584 ac_cpp='$CPP $CPPFLAGS'
19585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19593 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
19594 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
19596 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
19598 for ac_func in qfpclass
19600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19601 echo "$as_me:$LINENO: checking for $ac_func" >&5
19602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19603 if eval "test \"\${$as_ac_var+set}\" = set"; then
19604 echo $ECHO_N "(cached) $ECHO_C" >&6
19605 else
19606 if test x$gcc_no_link = xyes; then
19607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19609 { (exit 1); exit 1; }; }
19611 cat >conftest.$ac_ext <<_ACEOF
19612 /* confdefs.h. */
19613 _ACEOF
19614 cat confdefs.h >>conftest.$ac_ext
19615 cat >>conftest.$ac_ext <<_ACEOF
19616 /* end confdefs.h. */
19617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19619 #define $ac_func innocuous_$ac_func
19621 /* System header to define __stub macros and hopefully few prototypes,
19622 which can conflict with char $ac_func (); below.
19623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19624 <limits.h> exists even on freestanding compilers. */
19626 #ifdef __STDC__
19627 # include <limits.h>
19628 #else
19629 # include <assert.h>
19630 #endif
19632 #undef $ac_func
19634 /* Override any gcc2 internal prototype to avoid an error. */
19635 #ifdef __cplusplus
19636 extern "C"
19638 #endif
19639 /* We use char because int might match the return type of a gcc2
19640 builtin and then its argument prototype would still apply. */
19641 char $ac_func ();
19642 /* The GNU C library defines this for functions which it implements
19643 to always fail with ENOSYS. Some functions are actually named
19644 something starting with __ and the normal name is an alias. */
19645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19646 choke me
19647 #else
19648 char (*f) () = $ac_func;
19649 #endif
19650 #ifdef __cplusplus
19652 #endif
19655 main ()
19657 return f != $ac_func;
19659 return 0;
19661 _ACEOF
19662 rm -f conftest.$ac_objext conftest$ac_exeext
19663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19664 (eval $ac_link) 2>conftest.er1
19665 ac_status=$?
19666 grep -v '^ *+' conftest.er1 >conftest.err
19667 rm -f conftest.er1
19668 cat conftest.err >&5
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); } &&
19671 { ac_try='test -z "$ac_c_werror_flag"
19672 || test ! -s conftest.err'
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); }; } &&
19678 { ac_try='test -s conftest$ac_exeext'
19679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19680 (eval $ac_try) 2>&5
19681 ac_status=$?
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); }; }; then
19684 eval "$as_ac_var=yes"
19685 else
19686 echo "$as_me: failed program was:" >&5
19687 sed 's/^/| /' conftest.$ac_ext >&5
19689 eval "$as_ac_var=no"
19691 rm -f conftest.err conftest.$ac_objext \
19692 conftest$ac_exeext conftest.$ac_ext
19694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19696 if test `eval echo '${'$as_ac_var'}'` = yes; then
19697 cat >>confdefs.h <<_ACEOF
19698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19699 _ACEOF
19702 done
19704 else
19706 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
19707 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
19708 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
19709 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
19710 echo $ECHO_N "(cached) $ECHO_C" >&6
19711 else
19715 ac_ext=cc
19716 ac_cpp='$CXXCPP $CPPFLAGS'
19717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19721 cat >conftest.$ac_ext <<_ACEOF
19722 /* confdefs.h. */
19723 _ACEOF
19724 cat confdefs.h >>conftest.$ac_ext
19725 cat >>conftest.$ac_ext <<_ACEOF
19726 /* end confdefs.h. */
19727 #include <math.h>
19728 #ifdef HAVE_IEEEFP_H
19729 #include <ieeefp.h>
19730 #endif
19733 main ()
19735 _qfpclass(0);
19737 return 0;
19739 _ACEOF
19740 rm -f conftest.$ac_objext
19741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19742 (eval $ac_compile) 2>conftest.er1
19743 ac_status=$?
19744 grep -v '^ *+' conftest.er1 >conftest.err
19745 rm -f conftest.er1
19746 cat conftest.err >&5
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); } &&
19749 { ac_try='test -z "$ac_cxx_werror_flag"
19750 || test ! -s conftest.err'
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); }; } &&
19756 { ac_try='test -s conftest.$ac_objext'
19757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19758 (eval $ac_try) 2>&5
19759 ac_status=$?
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); }; }; then
19762 glibcxx_cv_func__qfpclass_use=yes
19763 else
19764 echo "$as_me: failed program was:" >&5
19765 sed 's/^/| /' conftest.$ac_ext >&5
19767 glibcxx_cv_func__qfpclass_use=no
19769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19770 ac_ext=c
19771 ac_cpp='$CPP $CPPFLAGS'
19772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19780 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
19781 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
19783 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
19785 for ac_func in _qfpclass
19787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19788 echo "$as_me:$LINENO: checking for $ac_func" >&5
19789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19790 if eval "test \"\${$as_ac_var+set}\" = set"; then
19791 echo $ECHO_N "(cached) $ECHO_C" >&6
19792 else
19793 if test x$gcc_no_link = xyes; then
19794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19796 { (exit 1); exit 1; }; }
19798 cat >conftest.$ac_ext <<_ACEOF
19799 /* confdefs.h. */
19800 _ACEOF
19801 cat confdefs.h >>conftest.$ac_ext
19802 cat >>conftest.$ac_ext <<_ACEOF
19803 /* end confdefs.h. */
19804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19806 #define $ac_func innocuous_$ac_func
19808 /* System header to define __stub macros and hopefully few prototypes,
19809 which can conflict with char $ac_func (); below.
19810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19811 <limits.h> exists even on freestanding compilers. */
19813 #ifdef __STDC__
19814 # include <limits.h>
19815 #else
19816 # include <assert.h>
19817 #endif
19819 #undef $ac_func
19821 /* Override any gcc2 internal prototype to avoid an error. */
19822 #ifdef __cplusplus
19823 extern "C"
19825 #endif
19826 /* We use char because int might match the return type of a gcc2
19827 builtin and then its argument prototype would still apply. */
19828 char $ac_func ();
19829 /* The GNU C library defines this for functions which it implements
19830 to always fail with ENOSYS. Some functions are actually named
19831 something starting with __ and the normal name is an alias. */
19832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19833 choke me
19834 #else
19835 char (*f) () = $ac_func;
19836 #endif
19837 #ifdef __cplusplus
19839 #endif
19842 main ()
19844 return f != $ac_func;
19846 return 0;
19848 _ACEOF
19849 rm -f conftest.$ac_objext conftest$ac_exeext
19850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19851 (eval $ac_link) 2>conftest.er1
19852 ac_status=$?
19853 grep -v '^ *+' conftest.er1 >conftest.err
19854 rm -f conftest.er1
19855 cat conftest.err >&5
19856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19857 (exit $ac_status); } &&
19858 { ac_try='test -z "$ac_c_werror_flag"
19859 || test ! -s conftest.err'
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); }; } &&
19865 { ac_try='test -s conftest$ac_exeext'
19866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19867 (eval $ac_try) 2>&5
19868 ac_status=$?
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); }; }; then
19871 eval "$as_ac_var=yes"
19872 else
19873 echo "$as_me: failed program was:" >&5
19874 sed 's/^/| /' conftest.$ac_ext >&5
19876 eval "$as_ac_var=no"
19878 rm -f conftest.err conftest.$ac_objext \
19879 conftest$ac_exeext conftest.$ac_ext
19881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19883 if test `eval echo '${'$as_ac_var'}'` = yes; then
19884 cat >>confdefs.h <<_ACEOF
19885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19886 _ACEOF
19889 done
19899 echo "$as_me:$LINENO: checking for hypot declaration" >&5
19900 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
19901 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
19902 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
19903 echo $ECHO_N "(cached) $ECHO_C" >&6
19904 else
19908 ac_ext=cc
19909 ac_cpp='$CXXCPP $CPPFLAGS'
19910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19914 cat >conftest.$ac_ext <<_ACEOF
19915 /* confdefs.h. */
19916 _ACEOF
19917 cat confdefs.h >>conftest.$ac_ext
19918 cat >>conftest.$ac_ext <<_ACEOF
19919 /* end confdefs.h. */
19920 #include <math.h>
19922 main ()
19924 hypot(0, 0);
19926 return 0;
19928 _ACEOF
19929 rm -f conftest.$ac_objext
19930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19931 (eval $ac_compile) 2>conftest.er1
19932 ac_status=$?
19933 grep -v '^ *+' conftest.er1 >conftest.err
19934 rm -f conftest.er1
19935 cat conftest.err >&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } &&
19938 { ac_try='test -z "$ac_cxx_werror_flag"
19939 || test ! -s conftest.err'
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); }; } &&
19945 { ac_try='test -s conftest.$ac_objext'
19946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947 (eval $ac_try) 2>&5
19948 ac_status=$?
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; }; then
19951 glibcxx_cv_func_hypot_use=yes
19952 else
19953 echo "$as_me: failed program was:" >&5
19954 sed 's/^/| /' conftest.$ac_ext >&5
19956 glibcxx_cv_func_hypot_use=no
19958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19959 ac_ext=c
19960 ac_cpp='$CPP $CPPFLAGS'
19961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19969 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
19970 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
19972 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
19974 for ac_func in hypot
19976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19977 echo "$as_me:$LINENO: checking for $ac_func" >&5
19978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19979 if eval "test \"\${$as_ac_var+set}\" = set"; then
19980 echo $ECHO_N "(cached) $ECHO_C" >&6
19981 else
19982 if test x$gcc_no_link = xyes; then
19983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19985 { (exit 1); exit 1; }; }
19987 cat >conftest.$ac_ext <<_ACEOF
19988 /* confdefs.h. */
19989 _ACEOF
19990 cat confdefs.h >>conftest.$ac_ext
19991 cat >>conftest.$ac_ext <<_ACEOF
19992 /* end confdefs.h. */
19993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19995 #define $ac_func innocuous_$ac_func
19997 /* System header to define __stub macros and hopefully few prototypes,
19998 which can conflict with char $ac_func (); below.
19999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20000 <limits.h> exists even on freestanding compilers. */
20002 #ifdef __STDC__
20003 # include <limits.h>
20004 #else
20005 # include <assert.h>
20006 #endif
20008 #undef $ac_func
20010 /* Override any gcc2 internal prototype to avoid an error. */
20011 #ifdef __cplusplus
20012 extern "C"
20014 #endif
20015 /* We use char because int might match the return type of a gcc2
20016 builtin and then its argument prototype would still apply. */
20017 char $ac_func ();
20018 /* The GNU C library defines this for functions which it implements
20019 to always fail with ENOSYS. Some functions are actually named
20020 something starting with __ and the normal name is an alias. */
20021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20022 choke me
20023 #else
20024 char (*f) () = $ac_func;
20025 #endif
20026 #ifdef __cplusplus
20028 #endif
20031 main ()
20033 return f != $ac_func;
20035 return 0;
20037 _ACEOF
20038 rm -f conftest.$ac_objext conftest$ac_exeext
20039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20040 (eval $ac_link) 2>conftest.er1
20041 ac_status=$?
20042 grep -v '^ *+' conftest.er1 >conftest.err
20043 rm -f conftest.er1
20044 cat conftest.err >&5
20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); } &&
20047 { ac_try='test -z "$ac_c_werror_flag"
20048 || test ! -s conftest.err'
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); }; } &&
20054 { ac_try='test -s conftest$ac_exeext'
20055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20056 (eval $ac_try) 2>&5
20057 ac_status=$?
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); }; }; then
20060 eval "$as_ac_var=yes"
20061 else
20062 echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.$ac_ext >&5
20065 eval "$as_ac_var=no"
20067 rm -f conftest.err conftest.$ac_objext \
20068 conftest$ac_exeext conftest.$ac_ext
20070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20072 if test `eval echo '${'$as_ac_var'}'` = yes; then
20073 cat >>confdefs.h <<_ACEOF
20074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20075 _ACEOF
20078 done
20080 else
20082 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
20083 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
20084 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20085 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
20086 echo $ECHO_N "(cached) $ECHO_C" >&6
20087 else
20091 ac_ext=cc
20092 ac_cpp='$CXXCPP $CPPFLAGS'
20093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20097 cat >conftest.$ac_ext <<_ACEOF
20098 /* confdefs.h. */
20099 _ACEOF
20100 cat confdefs.h >>conftest.$ac_ext
20101 cat >>conftest.$ac_ext <<_ACEOF
20102 /* end confdefs.h. */
20103 #include <math.h>
20105 main ()
20107 _hypot(0, 0);
20109 return 0;
20111 _ACEOF
20112 rm -f conftest.$ac_objext
20113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20114 (eval $ac_compile) 2>conftest.er1
20115 ac_status=$?
20116 grep -v '^ *+' conftest.er1 >conftest.err
20117 rm -f conftest.er1
20118 cat conftest.err >&5
20119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20120 (exit $ac_status); } &&
20121 { ac_try='test -z "$ac_cxx_werror_flag"
20122 || test ! -s conftest.err'
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); }; } &&
20128 { ac_try='test -s conftest.$ac_objext'
20129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20130 (eval $ac_try) 2>&5
20131 ac_status=$?
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); }; }; then
20134 glibcxx_cv_func__hypot_use=yes
20135 else
20136 echo "$as_me: failed program was:" >&5
20137 sed 's/^/| /' conftest.$ac_ext >&5
20139 glibcxx_cv_func__hypot_use=no
20141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20142 ac_ext=c
20143 ac_cpp='$CPP $CPPFLAGS'
20144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20152 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
20153 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
20155 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20157 for ac_func in _hypot
20159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20160 echo "$as_me:$LINENO: checking for $ac_func" >&5
20161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20162 if eval "test \"\${$as_ac_var+set}\" = set"; then
20163 echo $ECHO_N "(cached) $ECHO_C" >&6
20164 else
20165 if test x$gcc_no_link = xyes; then
20166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20168 { (exit 1); exit 1; }; }
20170 cat >conftest.$ac_ext <<_ACEOF
20171 /* confdefs.h. */
20172 _ACEOF
20173 cat confdefs.h >>conftest.$ac_ext
20174 cat >>conftest.$ac_ext <<_ACEOF
20175 /* end confdefs.h. */
20176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20178 #define $ac_func innocuous_$ac_func
20180 /* System header to define __stub macros and hopefully few prototypes,
20181 which can conflict with char $ac_func (); below.
20182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20183 <limits.h> exists even on freestanding compilers. */
20185 #ifdef __STDC__
20186 # include <limits.h>
20187 #else
20188 # include <assert.h>
20189 #endif
20191 #undef $ac_func
20193 /* Override any gcc2 internal prototype to avoid an error. */
20194 #ifdef __cplusplus
20195 extern "C"
20197 #endif
20198 /* We use char because int might match the return type of a gcc2
20199 builtin and then its argument prototype would still apply. */
20200 char $ac_func ();
20201 /* The GNU C library defines this for functions which it implements
20202 to always fail with ENOSYS. Some functions are actually named
20203 something starting with __ and the normal name is an alias. */
20204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20205 choke me
20206 #else
20207 char (*f) () = $ac_func;
20208 #endif
20209 #ifdef __cplusplus
20211 #endif
20214 main ()
20216 return f != $ac_func;
20218 return 0;
20220 _ACEOF
20221 rm -f conftest.$ac_objext conftest$ac_exeext
20222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20223 (eval $ac_link) 2>conftest.er1
20224 ac_status=$?
20225 grep -v '^ *+' conftest.er1 >conftest.err
20226 rm -f conftest.er1
20227 cat conftest.err >&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } &&
20230 { ac_try='test -z "$ac_c_werror_flag"
20231 || test ! -s conftest.err'
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); }; } &&
20237 { ac_try='test -s conftest$ac_exeext'
20238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20239 (eval $ac_try) 2>&5
20240 ac_status=$?
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); }; }; then
20243 eval "$as_ac_var=yes"
20244 else
20245 echo "$as_me: failed program was:" >&5
20246 sed 's/^/| /' conftest.$ac_ext >&5
20248 eval "$as_ac_var=no"
20250 rm -f conftest.err conftest.$ac_objext \
20251 conftest$ac_exeext conftest.$ac_ext
20253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20255 if test `eval echo '${'$as_ac_var'}'` = yes; then
20256 cat >>confdefs.h <<_ACEOF
20257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20258 _ACEOF
20261 done
20271 echo "$as_me:$LINENO: checking for float trig functions" >&5
20272 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
20273 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
20274 echo $ECHO_N "(cached) $ECHO_C" >&6
20275 else
20279 ac_ext=cc
20280 ac_cpp='$CXXCPP $CPPFLAGS'
20281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20285 cat >conftest.$ac_ext <<_ACEOF
20286 /* confdefs.h. */
20287 _ACEOF
20288 cat confdefs.h >>conftest.$ac_ext
20289 cat >>conftest.$ac_ext <<_ACEOF
20290 /* end confdefs.h. */
20291 #include <math.h>
20293 main ()
20295 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20297 return 0;
20299 _ACEOF
20300 rm -f conftest.$ac_objext
20301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20302 (eval $ac_compile) 2>conftest.er1
20303 ac_status=$?
20304 grep -v '^ *+' conftest.er1 >conftest.err
20305 rm -f conftest.er1
20306 cat conftest.err >&5
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); } &&
20309 { ac_try='test -z "$ac_cxx_werror_flag"
20310 || test ! -s conftest.err'
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); }; } &&
20316 { ac_try='test -s conftest.$ac_objext'
20317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20318 (eval $ac_try) 2>&5
20319 ac_status=$?
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); }; }; then
20322 glibcxx_cv_func_float_trig_use=yes
20323 else
20324 echo "$as_me: failed program was:" >&5
20325 sed 's/^/| /' conftest.$ac_ext >&5
20327 glibcxx_cv_func_float_trig_use=no
20329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20330 ac_ext=c
20331 ac_cpp='$CPP $CPPFLAGS'
20332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20338 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
20339 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
20340 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20350 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20353 echo "$as_me:$LINENO: checking for $ac_func" >&5
20354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20355 if eval "test \"\${$as_ac_var+set}\" = set"; then
20356 echo $ECHO_N "(cached) $ECHO_C" >&6
20357 else
20358 if test x$gcc_no_link = xyes; then
20359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20361 { (exit 1); exit 1; }; }
20363 cat >conftest.$ac_ext <<_ACEOF
20364 /* confdefs.h. */
20365 _ACEOF
20366 cat confdefs.h >>conftest.$ac_ext
20367 cat >>conftest.$ac_ext <<_ACEOF
20368 /* end confdefs.h. */
20369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20371 #define $ac_func innocuous_$ac_func
20373 /* System header to define __stub macros and hopefully few prototypes,
20374 which can conflict with char $ac_func (); below.
20375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20376 <limits.h> exists even on freestanding compilers. */
20378 #ifdef __STDC__
20379 # include <limits.h>
20380 #else
20381 # include <assert.h>
20382 #endif
20384 #undef $ac_func
20386 /* Override any gcc2 internal prototype to avoid an error. */
20387 #ifdef __cplusplus
20388 extern "C"
20390 #endif
20391 /* We use char because int might match the return type of a gcc2
20392 builtin and then its argument prototype would still apply. */
20393 char $ac_func ();
20394 /* The GNU C library defines this for functions which it implements
20395 to always fail with ENOSYS. Some functions are actually named
20396 something starting with __ and the normal name is an alias. */
20397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20398 choke me
20399 #else
20400 char (*f) () = $ac_func;
20401 #endif
20402 #ifdef __cplusplus
20404 #endif
20407 main ()
20409 return f != $ac_func;
20411 return 0;
20413 _ACEOF
20414 rm -f conftest.$ac_objext conftest$ac_exeext
20415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20416 (eval $ac_link) 2>conftest.er1
20417 ac_status=$?
20418 grep -v '^ *+' conftest.er1 >conftest.err
20419 rm -f conftest.er1
20420 cat conftest.err >&5
20421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); } &&
20423 { ac_try='test -z "$ac_c_werror_flag"
20424 || test ! -s conftest.err'
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); }; } &&
20430 { ac_try='test -s conftest$ac_exeext'
20431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20432 (eval $ac_try) 2>&5
20433 ac_status=$?
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); }; }; then
20436 eval "$as_ac_var=yes"
20437 else
20438 echo "$as_me: failed program was:" >&5
20439 sed 's/^/| /' conftest.$ac_ext >&5
20441 eval "$as_ac_var=no"
20443 rm -f conftest.err conftest.$ac_objext \
20444 conftest$ac_exeext conftest.$ac_ext
20446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20448 if test `eval echo '${'$as_ac_var'}'` = yes; then
20449 cat >>confdefs.h <<_ACEOF
20450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20451 _ACEOF
20454 done
20456 else
20457 echo "$as_me:$LINENO: checking for _float trig functions" >&5
20458 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
20459 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
20460 echo $ECHO_N "(cached) $ECHO_C" >&6
20461 else
20465 ac_ext=cc
20466 ac_cpp='$CXXCPP $CPPFLAGS'
20467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20471 cat >conftest.$ac_ext <<_ACEOF
20472 /* confdefs.h. */
20473 _ACEOF
20474 cat confdefs.h >>conftest.$ac_ext
20475 cat >>conftest.$ac_ext <<_ACEOF
20476 /* end confdefs.h. */
20477 #include <math.h>
20479 main ()
20481 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20483 return 0;
20485 _ACEOF
20486 rm -f conftest.$ac_objext
20487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20488 (eval $ac_compile) 2>conftest.er1
20489 ac_status=$?
20490 grep -v '^ *+' conftest.er1 >conftest.err
20491 rm -f conftest.er1
20492 cat conftest.err >&5
20493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20494 (exit $ac_status); } &&
20495 { ac_try='test -z "$ac_cxx_werror_flag"
20496 || test ! -s conftest.err'
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); }; } &&
20502 { ac_try='test -s conftest.$ac_objext'
20503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20504 (eval $ac_try) 2>&5
20505 ac_status=$?
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); }; }; then
20508 glibcxx_cv_func__float_trig_use=yes
20509 else
20510 echo "$as_me: failed program was:" >&5
20511 sed 's/^/| /' conftest.$ac_ext >&5
20513 glibcxx_cv_func__float_trig_use=no
20515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20516 ac_ext=c
20517 ac_cpp='$CPP $CPPFLAGS'
20518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20524 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
20525 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
20526 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20536 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20539 echo "$as_me:$LINENO: checking for $ac_func" >&5
20540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20541 if eval "test \"\${$as_ac_var+set}\" = set"; then
20542 echo $ECHO_N "(cached) $ECHO_C" >&6
20543 else
20544 if test x$gcc_no_link = xyes; then
20545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20547 { (exit 1); exit 1; }; }
20549 cat >conftest.$ac_ext <<_ACEOF
20550 /* confdefs.h. */
20551 _ACEOF
20552 cat confdefs.h >>conftest.$ac_ext
20553 cat >>conftest.$ac_ext <<_ACEOF
20554 /* end confdefs.h. */
20555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20557 #define $ac_func innocuous_$ac_func
20559 /* System header to define __stub macros and hopefully few prototypes,
20560 which can conflict with char $ac_func (); below.
20561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20562 <limits.h> exists even on freestanding compilers. */
20564 #ifdef __STDC__
20565 # include <limits.h>
20566 #else
20567 # include <assert.h>
20568 #endif
20570 #undef $ac_func
20572 /* Override any gcc2 internal prototype to avoid an error. */
20573 #ifdef __cplusplus
20574 extern "C"
20576 #endif
20577 /* We use char because int might match the return type of a gcc2
20578 builtin and then its argument prototype would still apply. */
20579 char $ac_func ();
20580 /* The GNU C library defines this for functions which it implements
20581 to always fail with ENOSYS. Some functions are actually named
20582 something starting with __ and the normal name is an alias. */
20583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20584 choke me
20585 #else
20586 char (*f) () = $ac_func;
20587 #endif
20588 #ifdef __cplusplus
20590 #endif
20593 main ()
20595 return f != $ac_func;
20597 return 0;
20599 _ACEOF
20600 rm -f conftest.$ac_objext conftest$ac_exeext
20601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20602 (eval $ac_link) 2>conftest.er1
20603 ac_status=$?
20604 grep -v '^ *+' conftest.er1 >conftest.err
20605 rm -f conftest.er1
20606 cat conftest.err >&5
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); } &&
20609 { ac_try='test -z "$ac_c_werror_flag"
20610 || test ! -s conftest.err'
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); }; } &&
20616 { ac_try='test -s conftest$ac_exeext'
20617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20618 (eval $ac_try) 2>&5
20619 ac_status=$?
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); }; }; then
20622 eval "$as_ac_var=yes"
20623 else
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.$ac_ext >&5
20627 eval "$as_ac_var=no"
20629 rm -f conftest.err conftest.$ac_objext \
20630 conftest$ac_exeext conftest.$ac_ext
20632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20634 if test `eval echo '${'$as_ac_var'}'` = yes; then
20635 cat >>confdefs.h <<_ACEOF
20636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20637 _ACEOF
20640 done
20658 echo "$as_me:$LINENO: checking for float round functions" >&5
20659 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
20660 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
20661 echo $ECHO_N "(cached) $ECHO_C" >&6
20662 else
20666 ac_ext=cc
20667 ac_cpp='$CXXCPP $CPPFLAGS'
20668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20672 cat >conftest.$ac_ext <<_ACEOF
20673 /* confdefs.h. */
20674 _ACEOF
20675 cat confdefs.h >>conftest.$ac_ext
20676 cat >>conftest.$ac_ext <<_ACEOF
20677 /* end confdefs.h. */
20678 #include <math.h>
20680 main ()
20682 ceilf (0); floorf (0);
20684 return 0;
20686 _ACEOF
20687 rm -f conftest.$ac_objext
20688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20689 (eval $ac_compile) 2>conftest.er1
20690 ac_status=$?
20691 grep -v '^ *+' conftest.er1 >conftest.err
20692 rm -f conftest.er1
20693 cat conftest.err >&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); } &&
20696 { ac_try='test -z "$ac_cxx_werror_flag"
20697 || test ! -s conftest.err'
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); }; } &&
20703 { ac_try='test -s conftest.$ac_objext'
20704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20705 (eval $ac_try) 2>&5
20706 ac_status=$?
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); }; }; then
20709 glibcxx_cv_func_float_round_use=yes
20710 else
20711 echo "$as_me: failed program was:" >&5
20712 sed 's/^/| /' conftest.$ac_ext >&5
20714 glibcxx_cv_func_float_round_use=no
20716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20717 ac_ext=c
20718 ac_cpp='$CPP $CPPFLAGS'
20719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20725 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
20726 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
20727 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20730 for ac_func in ceilf floorf
20732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20733 echo "$as_me:$LINENO: checking for $ac_func" >&5
20734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20735 if eval "test \"\${$as_ac_var+set}\" = set"; then
20736 echo $ECHO_N "(cached) $ECHO_C" >&6
20737 else
20738 if test x$gcc_no_link = xyes; then
20739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20741 { (exit 1); exit 1; }; }
20743 cat >conftest.$ac_ext <<_ACEOF
20744 /* confdefs.h. */
20745 _ACEOF
20746 cat confdefs.h >>conftest.$ac_ext
20747 cat >>conftest.$ac_ext <<_ACEOF
20748 /* end confdefs.h. */
20749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20751 #define $ac_func innocuous_$ac_func
20753 /* System header to define __stub macros and hopefully few prototypes,
20754 which can conflict with char $ac_func (); below.
20755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20756 <limits.h> exists even on freestanding compilers. */
20758 #ifdef __STDC__
20759 # include <limits.h>
20760 #else
20761 # include <assert.h>
20762 #endif
20764 #undef $ac_func
20766 /* Override any gcc2 internal prototype to avoid an error. */
20767 #ifdef __cplusplus
20768 extern "C"
20770 #endif
20771 /* We use char because int might match the return type of a gcc2
20772 builtin and then its argument prototype would still apply. */
20773 char $ac_func ();
20774 /* The GNU C library defines this for functions which it implements
20775 to always fail with ENOSYS. Some functions are actually named
20776 something starting with __ and the normal name is an alias. */
20777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20778 choke me
20779 #else
20780 char (*f) () = $ac_func;
20781 #endif
20782 #ifdef __cplusplus
20784 #endif
20787 main ()
20789 return f != $ac_func;
20791 return 0;
20793 _ACEOF
20794 rm -f conftest.$ac_objext conftest$ac_exeext
20795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20796 (eval $ac_link) 2>conftest.er1
20797 ac_status=$?
20798 grep -v '^ *+' conftest.er1 >conftest.err
20799 rm -f conftest.er1
20800 cat conftest.err >&5
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); } &&
20803 { ac_try='test -z "$ac_c_werror_flag"
20804 || test ! -s conftest.err'
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); }; } &&
20810 { ac_try='test -s conftest$ac_exeext'
20811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20812 (eval $ac_try) 2>&5
20813 ac_status=$?
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); }; }; then
20816 eval "$as_ac_var=yes"
20817 else
20818 echo "$as_me: failed program was:" >&5
20819 sed 's/^/| /' conftest.$ac_ext >&5
20821 eval "$as_ac_var=no"
20823 rm -f conftest.err conftest.$ac_objext \
20824 conftest$ac_exeext conftest.$ac_ext
20826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20828 if test `eval echo '${'$as_ac_var'}'` = yes; then
20829 cat >>confdefs.h <<_ACEOF
20830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20831 _ACEOF
20834 done
20836 else
20837 echo "$as_me:$LINENO: checking for _float round functions" >&5
20838 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
20839 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
20840 echo $ECHO_N "(cached) $ECHO_C" >&6
20841 else
20845 ac_ext=cc
20846 ac_cpp='$CXXCPP $CPPFLAGS'
20847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20851 cat >conftest.$ac_ext <<_ACEOF
20852 /* confdefs.h. */
20853 _ACEOF
20854 cat confdefs.h >>conftest.$ac_ext
20855 cat >>conftest.$ac_ext <<_ACEOF
20856 /* end confdefs.h. */
20857 #include <math.h>
20859 main ()
20861 _ceilf (0); _floorf (0);
20863 return 0;
20865 _ACEOF
20866 rm -f conftest.$ac_objext
20867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20868 (eval $ac_compile) 2>conftest.er1
20869 ac_status=$?
20870 grep -v '^ *+' conftest.er1 >conftest.err
20871 rm -f conftest.er1
20872 cat conftest.err >&5
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); } &&
20875 { ac_try='test -z "$ac_cxx_werror_flag"
20876 || test ! -s conftest.err'
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); }; } &&
20882 { ac_try='test -s conftest.$ac_objext'
20883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20884 (eval $ac_try) 2>&5
20885 ac_status=$?
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); }; }; then
20888 glibcxx_cv_func__float_round_use=yes
20889 else
20890 echo "$as_me: failed program was:" >&5
20891 sed 's/^/| /' conftest.$ac_ext >&5
20893 glibcxx_cv_func__float_round_use=no
20895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20896 ac_ext=c
20897 ac_cpp='$CPP $CPPFLAGS'
20898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20904 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
20905 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
20906 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20909 for ac_func in _ceilf _floorf
20911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20912 echo "$as_me:$LINENO: checking for $ac_func" >&5
20913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20914 if eval "test \"\${$as_ac_var+set}\" = set"; then
20915 echo $ECHO_N "(cached) $ECHO_C" >&6
20916 else
20917 if test x$gcc_no_link = xyes; then
20918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20920 { (exit 1); exit 1; }; }
20922 cat >conftest.$ac_ext <<_ACEOF
20923 /* confdefs.h. */
20924 _ACEOF
20925 cat confdefs.h >>conftest.$ac_ext
20926 cat >>conftest.$ac_ext <<_ACEOF
20927 /* end confdefs.h. */
20928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20930 #define $ac_func innocuous_$ac_func
20932 /* System header to define __stub macros and hopefully few prototypes,
20933 which can conflict with char $ac_func (); below.
20934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20935 <limits.h> exists even on freestanding compilers. */
20937 #ifdef __STDC__
20938 # include <limits.h>
20939 #else
20940 # include <assert.h>
20941 #endif
20943 #undef $ac_func
20945 /* Override any gcc2 internal prototype to avoid an error. */
20946 #ifdef __cplusplus
20947 extern "C"
20949 #endif
20950 /* We use char because int might match the return type of a gcc2
20951 builtin and then its argument prototype would still apply. */
20952 char $ac_func ();
20953 /* The GNU C library defines this for functions which it implements
20954 to always fail with ENOSYS. Some functions are actually named
20955 something starting with __ and the normal name is an alias. */
20956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20957 choke me
20958 #else
20959 char (*f) () = $ac_func;
20960 #endif
20961 #ifdef __cplusplus
20963 #endif
20966 main ()
20968 return f != $ac_func;
20970 return 0;
20972 _ACEOF
20973 rm -f conftest.$ac_objext conftest$ac_exeext
20974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20975 (eval $ac_link) 2>conftest.er1
20976 ac_status=$?
20977 grep -v '^ *+' conftest.er1 >conftest.err
20978 rm -f conftest.er1
20979 cat conftest.err >&5
20980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981 (exit $ac_status); } &&
20982 { ac_try='test -z "$ac_c_werror_flag"
20983 || test ! -s conftest.err'
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); }; } &&
20989 { ac_try='test -s conftest$ac_exeext'
20990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20991 (eval $ac_try) 2>&5
20992 ac_status=$?
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); }; }; then
20995 eval "$as_ac_var=yes"
20996 else
20997 echo "$as_me: failed program was:" >&5
20998 sed 's/^/| /' conftest.$ac_ext >&5
21000 eval "$as_ac_var=no"
21002 rm -f conftest.err conftest.$ac_objext \
21003 conftest$ac_exeext conftest.$ac_ext
21005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21007 if test `eval echo '${'$as_ac_var'}'` = yes; then
21008 cat >>confdefs.h <<_ACEOF
21009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21010 _ACEOF
21013 done
21025 echo "$as_me:$LINENO: checking for expf declaration" >&5
21026 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
21027 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21028 if test "${glibcxx_cv_func_expf_use+set}" = set; then
21029 echo $ECHO_N "(cached) $ECHO_C" >&6
21030 else
21034 ac_ext=cc
21035 ac_cpp='$CXXCPP $CPPFLAGS'
21036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21040 cat >conftest.$ac_ext <<_ACEOF
21041 /* confdefs.h. */
21042 _ACEOF
21043 cat confdefs.h >>conftest.$ac_ext
21044 cat >>conftest.$ac_ext <<_ACEOF
21045 /* end confdefs.h. */
21046 #include <math.h>
21047 #ifdef HAVE_IEEEFP_H
21048 #include <ieeefp.h>
21049 #endif
21052 main ()
21054 expf(0);
21056 return 0;
21058 _ACEOF
21059 rm -f conftest.$ac_objext
21060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21061 (eval $ac_compile) 2>conftest.er1
21062 ac_status=$?
21063 grep -v '^ *+' conftest.er1 >conftest.err
21064 rm -f conftest.er1
21065 cat conftest.err >&5
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); } &&
21068 { ac_try='test -z "$ac_cxx_werror_flag"
21069 || test ! -s conftest.err'
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); }; } &&
21075 { ac_try='test -s conftest.$ac_objext'
21076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21077 (eval $ac_try) 2>&5
21078 ac_status=$?
21079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21080 (exit $ac_status); }; }; then
21081 glibcxx_cv_func_expf_use=yes
21082 else
21083 echo "$as_me: failed program was:" >&5
21084 sed 's/^/| /' conftest.$ac_ext >&5
21086 glibcxx_cv_func_expf_use=no
21088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21089 ac_ext=c
21090 ac_cpp='$CPP $CPPFLAGS'
21091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21099 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
21100 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
21102 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21104 for ac_func in expf
21106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21107 echo "$as_me:$LINENO: checking for $ac_func" >&5
21108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21109 if eval "test \"\${$as_ac_var+set}\" = set"; then
21110 echo $ECHO_N "(cached) $ECHO_C" >&6
21111 else
21112 if test x$gcc_no_link = xyes; then
21113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21115 { (exit 1); exit 1; }; }
21117 cat >conftest.$ac_ext <<_ACEOF
21118 /* confdefs.h. */
21119 _ACEOF
21120 cat confdefs.h >>conftest.$ac_ext
21121 cat >>conftest.$ac_ext <<_ACEOF
21122 /* end confdefs.h. */
21123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21125 #define $ac_func innocuous_$ac_func
21127 /* System header to define __stub macros and hopefully few prototypes,
21128 which can conflict with char $ac_func (); below.
21129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21130 <limits.h> exists even on freestanding compilers. */
21132 #ifdef __STDC__
21133 # include <limits.h>
21134 #else
21135 # include <assert.h>
21136 #endif
21138 #undef $ac_func
21140 /* Override any gcc2 internal prototype to avoid an error. */
21141 #ifdef __cplusplus
21142 extern "C"
21144 #endif
21145 /* We use char because int might match the return type of a gcc2
21146 builtin and then its argument prototype would still apply. */
21147 char $ac_func ();
21148 /* The GNU C library defines this for functions which it implements
21149 to always fail with ENOSYS. Some functions are actually named
21150 something starting with __ and the normal name is an alias. */
21151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21152 choke me
21153 #else
21154 char (*f) () = $ac_func;
21155 #endif
21156 #ifdef __cplusplus
21158 #endif
21161 main ()
21163 return f != $ac_func;
21165 return 0;
21167 _ACEOF
21168 rm -f conftest.$ac_objext conftest$ac_exeext
21169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21170 (eval $ac_link) 2>conftest.er1
21171 ac_status=$?
21172 grep -v '^ *+' conftest.er1 >conftest.err
21173 rm -f conftest.er1
21174 cat conftest.err >&5
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); } &&
21177 { ac_try='test -z "$ac_c_werror_flag"
21178 || test ! -s conftest.err'
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); }; } &&
21184 { ac_try='test -s conftest$ac_exeext'
21185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21186 (eval $ac_try) 2>&5
21187 ac_status=$?
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); }; }; then
21190 eval "$as_ac_var=yes"
21191 else
21192 echo "$as_me: failed program was:" >&5
21193 sed 's/^/| /' conftest.$ac_ext >&5
21195 eval "$as_ac_var=no"
21197 rm -f conftest.err conftest.$ac_objext \
21198 conftest$ac_exeext conftest.$ac_ext
21200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21202 if test `eval echo '${'$as_ac_var'}'` = yes; then
21203 cat >>confdefs.h <<_ACEOF
21204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21205 _ACEOF
21208 done
21210 else
21212 echo "$as_me:$LINENO: checking for _expf declaration" >&5
21213 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
21214 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21215 if test "${glibcxx_cv_func__expf_use+set}" = set; then
21216 echo $ECHO_N "(cached) $ECHO_C" >&6
21217 else
21221 ac_ext=cc
21222 ac_cpp='$CXXCPP $CPPFLAGS'
21223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21227 cat >conftest.$ac_ext <<_ACEOF
21228 /* confdefs.h. */
21229 _ACEOF
21230 cat confdefs.h >>conftest.$ac_ext
21231 cat >>conftest.$ac_ext <<_ACEOF
21232 /* end confdefs.h. */
21233 #include <math.h>
21234 #ifdef HAVE_IEEEFP_H
21235 #include <ieeefp.h>
21236 #endif
21239 main ()
21241 _expf(0);
21243 return 0;
21245 _ACEOF
21246 rm -f conftest.$ac_objext
21247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21248 (eval $ac_compile) 2>conftest.er1
21249 ac_status=$?
21250 grep -v '^ *+' conftest.er1 >conftest.err
21251 rm -f conftest.er1
21252 cat conftest.err >&5
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); } &&
21255 { ac_try='test -z "$ac_cxx_werror_flag"
21256 || test ! -s conftest.err'
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); }; } &&
21262 { ac_try='test -s conftest.$ac_objext'
21263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21264 (eval $ac_try) 2>&5
21265 ac_status=$?
21266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21267 (exit $ac_status); }; }; then
21268 glibcxx_cv_func__expf_use=yes
21269 else
21270 echo "$as_me: failed program was:" >&5
21271 sed 's/^/| /' conftest.$ac_ext >&5
21273 glibcxx_cv_func__expf_use=no
21275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21276 ac_ext=c
21277 ac_cpp='$CPP $CPPFLAGS'
21278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21286 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
21287 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
21289 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21291 for ac_func in _expf
21293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21294 echo "$as_me:$LINENO: checking for $ac_func" >&5
21295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21296 if eval "test \"\${$as_ac_var+set}\" = set"; then
21297 echo $ECHO_N "(cached) $ECHO_C" >&6
21298 else
21299 if test x$gcc_no_link = xyes; then
21300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21302 { (exit 1); exit 1; }; }
21304 cat >conftest.$ac_ext <<_ACEOF
21305 /* confdefs.h. */
21306 _ACEOF
21307 cat confdefs.h >>conftest.$ac_ext
21308 cat >>conftest.$ac_ext <<_ACEOF
21309 /* end confdefs.h. */
21310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21312 #define $ac_func innocuous_$ac_func
21314 /* System header to define __stub macros and hopefully few prototypes,
21315 which can conflict with char $ac_func (); below.
21316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21317 <limits.h> exists even on freestanding compilers. */
21319 #ifdef __STDC__
21320 # include <limits.h>
21321 #else
21322 # include <assert.h>
21323 #endif
21325 #undef $ac_func
21327 /* Override any gcc2 internal prototype to avoid an error. */
21328 #ifdef __cplusplus
21329 extern "C"
21331 #endif
21332 /* We use char because int might match the return type of a gcc2
21333 builtin and then its argument prototype would still apply. */
21334 char $ac_func ();
21335 /* The GNU C library defines this for functions which it implements
21336 to always fail with ENOSYS. Some functions are actually named
21337 something starting with __ and the normal name is an alias. */
21338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21339 choke me
21340 #else
21341 char (*f) () = $ac_func;
21342 #endif
21343 #ifdef __cplusplus
21345 #endif
21348 main ()
21350 return f != $ac_func;
21352 return 0;
21354 _ACEOF
21355 rm -f conftest.$ac_objext conftest$ac_exeext
21356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21357 (eval $ac_link) 2>conftest.er1
21358 ac_status=$?
21359 grep -v '^ *+' conftest.er1 >conftest.err
21360 rm -f conftest.er1
21361 cat conftest.err >&5
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); } &&
21364 { ac_try='test -z "$ac_c_werror_flag"
21365 || test ! -s conftest.err'
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); }; } &&
21371 { ac_try='test -s conftest$ac_exeext'
21372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21373 (eval $ac_try) 2>&5
21374 ac_status=$?
21375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376 (exit $ac_status); }; }; then
21377 eval "$as_ac_var=yes"
21378 else
21379 echo "$as_me: failed program was:" >&5
21380 sed 's/^/| /' conftest.$ac_ext >&5
21382 eval "$as_ac_var=no"
21384 rm -f conftest.err conftest.$ac_objext \
21385 conftest$ac_exeext conftest.$ac_ext
21387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21389 if test `eval echo '${'$as_ac_var'}'` = yes; then
21390 cat >>confdefs.h <<_ACEOF
21391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21392 _ACEOF
21395 done
21405 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
21406 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
21407 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21408 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
21409 echo $ECHO_N "(cached) $ECHO_C" >&6
21410 else
21414 ac_ext=cc
21415 ac_cpp='$CXXCPP $CPPFLAGS'
21416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21420 cat >conftest.$ac_ext <<_ACEOF
21421 /* confdefs.h. */
21422 _ACEOF
21423 cat confdefs.h >>conftest.$ac_ext
21424 cat >>conftest.$ac_ext <<_ACEOF
21425 /* end confdefs.h. */
21426 #include <math.h>
21427 #ifdef HAVE_IEEEFP_H
21428 #include <ieeefp.h>
21429 #endif
21432 main ()
21434 isnanf(0);
21436 return 0;
21438 _ACEOF
21439 rm -f conftest.$ac_objext
21440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21441 (eval $ac_compile) 2>conftest.er1
21442 ac_status=$?
21443 grep -v '^ *+' conftest.er1 >conftest.err
21444 rm -f conftest.er1
21445 cat conftest.err >&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); } &&
21448 { ac_try='test -z "$ac_cxx_werror_flag"
21449 || test ! -s conftest.err'
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); }; } &&
21455 { ac_try='test -s conftest.$ac_objext'
21456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21457 (eval $ac_try) 2>&5
21458 ac_status=$?
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); }; }; then
21461 glibcxx_cv_func_isnanf_use=yes
21462 else
21463 echo "$as_me: failed program was:" >&5
21464 sed 's/^/| /' conftest.$ac_ext >&5
21466 glibcxx_cv_func_isnanf_use=no
21468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21469 ac_ext=c
21470 ac_cpp='$CPP $CPPFLAGS'
21471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21479 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
21480 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
21482 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21484 for ac_func in isnanf
21486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21487 echo "$as_me:$LINENO: checking for $ac_func" >&5
21488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21489 if eval "test \"\${$as_ac_var+set}\" = set"; then
21490 echo $ECHO_N "(cached) $ECHO_C" >&6
21491 else
21492 if test x$gcc_no_link = xyes; then
21493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21495 { (exit 1); exit 1; }; }
21497 cat >conftest.$ac_ext <<_ACEOF
21498 /* confdefs.h. */
21499 _ACEOF
21500 cat confdefs.h >>conftest.$ac_ext
21501 cat >>conftest.$ac_ext <<_ACEOF
21502 /* end confdefs.h. */
21503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21505 #define $ac_func innocuous_$ac_func
21507 /* System header to define __stub macros and hopefully few prototypes,
21508 which can conflict with char $ac_func (); below.
21509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21510 <limits.h> exists even on freestanding compilers. */
21512 #ifdef __STDC__
21513 # include <limits.h>
21514 #else
21515 # include <assert.h>
21516 #endif
21518 #undef $ac_func
21520 /* Override any gcc2 internal prototype to avoid an error. */
21521 #ifdef __cplusplus
21522 extern "C"
21524 #endif
21525 /* We use char because int might match the return type of a gcc2
21526 builtin and then its argument prototype would still apply. */
21527 char $ac_func ();
21528 /* The GNU C library defines this for functions which it implements
21529 to always fail with ENOSYS. Some functions are actually named
21530 something starting with __ and the normal name is an alias. */
21531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21532 choke me
21533 #else
21534 char (*f) () = $ac_func;
21535 #endif
21536 #ifdef __cplusplus
21538 #endif
21541 main ()
21543 return f != $ac_func;
21545 return 0;
21547 _ACEOF
21548 rm -f conftest.$ac_objext conftest$ac_exeext
21549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21550 (eval $ac_link) 2>conftest.er1
21551 ac_status=$?
21552 grep -v '^ *+' conftest.er1 >conftest.err
21553 rm -f conftest.er1
21554 cat conftest.err >&5
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); } &&
21557 { ac_try='test -z "$ac_c_werror_flag"
21558 || test ! -s conftest.err'
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); }; } &&
21564 { ac_try='test -s conftest$ac_exeext'
21565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21566 (eval $ac_try) 2>&5
21567 ac_status=$?
21568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21569 (exit $ac_status); }; }; then
21570 eval "$as_ac_var=yes"
21571 else
21572 echo "$as_me: failed program was:" >&5
21573 sed 's/^/| /' conftest.$ac_ext >&5
21575 eval "$as_ac_var=no"
21577 rm -f conftest.err conftest.$ac_objext \
21578 conftest$ac_exeext conftest.$ac_ext
21580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21582 if test `eval echo '${'$as_ac_var'}'` = yes; then
21583 cat >>confdefs.h <<_ACEOF
21584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21585 _ACEOF
21588 done
21590 else
21592 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
21593 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
21594 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21595 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
21596 echo $ECHO_N "(cached) $ECHO_C" >&6
21597 else
21601 ac_ext=cc
21602 ac_cpp='$CXXCPP $CPPFLAGS'
21603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21607 cat >conftest.$ac_ext <<_ACEOF
21608 /* confdefs.h. */
21609 _ACEOF
21610 cat confdefs.h >>conftest.$ac_ext
21611 cat >>conftest.$ac_ext <<_ACEOF
21612 /* end confdefs.h. */
21613 #include <math.h>
21614 #ifdef HAVE_IEEEFP_H
21615 #include <ieeefp.h>
21616 #endif
21619 main ()
21621 _isnanf(0);
21623 return 0;
21625 _ACEOF
21626 rm -f conftest.$ac_objext
21627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21628 (eval $ac_compile) 2>conftest.er1
21629 ac_status=$?
21630 grep -v '^ *+' conftest.er1 >conftest.err
21631 rm -f conftest.er1
21632 cat conftest.err >&5
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); } &&
21635 { ac_try='test -z "$ac_cxx_werror_flag"
21636 || test ! -s conftest.err'
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); }; } &&
21642 { ac_try='test -s conftest.$ac_objext'
21643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21644 (eval $ac_try) 2>&5
21645 ac_status=$?
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); }; }; then
21648 glibcxx_cv_func__isnanf_use=yes
21649 else
21650 echo "$as_me: failed program was:" >&5
21651 sed 's/^/| /' conftest.$ac_ext >&5
21653 glibcxx_cv_func__isnanf_use=no
21655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21656 ac_ext=c
21657 ac_cpp='$CPP $CPPFLAGS'
21658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21666 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
21667 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
21669 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21671 for ac_func in _isnanf
21673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21674 echo "$as_me:$LINENO: checking for $ac_func" >&5
21675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21676 if eval "test \"\${$as_ac_var+set}\" = set"; then
21677 echo $ECHO_N "(cached) $ECHO_C" >&6
21678 else
21679 if test x$gcc_no_link = xyes; then
21680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21682 { (exit 1); exit 1; }; }
21684 cat >conftest.$ac_ext <<_ACEOF
21685 /* confdefs.h. */
21686 _ACEOF
21687 cat confdefs.h >>conftest.$ac_ext
21688 cat >>conftest.$ac_ext <<_ACEOF
21689 /* end confdefs.h. */
21690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21692 #define $ac_func innocuous_$ac_func
21694 /* System header to define __stub macros and hopefully few prototypes,
21695 which can conflict with char $ac_func (); below.
21696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21697 <limits.h> exists even on freestanding compilers. */
21699 #ifdef __STDC__
21700 # include <limits.h>
21701 #else
21702 # include <assert.h>
21703 #endif
21705 #undef $ac_func
21707 /* Override any gcc2 internal prototype to avoid an error. */
21708 #ifdef __cplusplus
21709 extern "C"
21711 #endif
21712 /* We use char because int might match the return type of a gcc2
21713 builtin and then its argument prototype would still apply. */
21714 char $ac_func ();
21715 /* The GNU C library defines this for functions which it implements
21716 to always fail with ENOSYS. Some functions are actually named
21717 something starting with __ and the normal name is an alias. */
21718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21719 choke me
21720 #else
21721 char (*f) () = $ac_func;
21722 #endif
21723 #ifdef __cplusplus
21725 #endif
21728 main ()
21730 return f != $ac_func;
21732 return 0;
21734 _ACEOF
21735 rm -f conftest.$ac_objext conftest$ac_exeext
21736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21737 (eval $ac_link) 2>conftest.er1
21738 ac_status=$?
21739 grep -v '^ *+' conftest.er1 >conftest.err
21740 rm -f conftest.er1
21741 cat conftest.err >&5
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); } &&
21744 { ac_try='test -z "$ac_c_werror_flag"
21745 || test ! -s conftest.err'
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); }; } &&
21751 { ac_try='test -s conftest$ac_exeext'
21752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21753 (eval $ac_try) 2>&5
21754 ac_status=$?
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); }; }; then
21757 eval "$as_ac_var=yes"
21758 else
21759 echo "$as_me: failed program was:" >&5
21760 sed 's/^/| /' conftest.$ac_ext >&5
21762 eval "$as_ac_var=no"
21764 rm -f conftest.err conftest.$ac_objext \
21765 conftest$ac_exeext conftest.$ac_ext
21767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21769 if test `eval echo '${'$as_ac_var'}'` = yes; then
21770 cat >>confdefs.h <<_ACEOF
21771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21772 _ACEOF
21775 done
21785 echo "$as_me:$LINENO: checking for isinff declaration" >&5
21786 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
21787 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21788 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
21789 echo $ECHO_N "(cached) $ECHO_C" >&6
21790 else
21794 ac_ext=cc
21795 ac_cpp='$CXXCPP $CPPFLAGS'
21796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21800 cat >conftest.$ac_ext <<_ACEOF
21801 /* confdefs.h. */
21802 _ACEOF
21803 cat confdefs.h >>conftest.$ac_ext
21804 cat >>conftest.$ac_ext <<_ACEOF
21805 /* end confdefs.h. */
21806 #include <math.h>
21807 #ifdef HAVE_IEEEFP_H
21808 #include <ieeefp.h>
21809 #endif
21812 main ()
21814 isinff(0);
21816 return 0;
21818 _ACEOF
21819 rm -f conftest.$ac_objext
21820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21821 (eval $ac_compile) 2>conftest.er1
21822 ac_status=$?
21823 grep -v '^ *+' conftest.er1 >conftest.err
21824 rm -f conftest.er1
21825 cat conftest.err >&5
21826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21827 (exit $ac_status); } &&
21828 { ac_try='test -z "$ac_cxx_werror_flag"
21829 || test ! -s conftest.err'
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); }; } &&
21835 { ac_try='test -s conftest.$ac_objext'
21836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21837 (eval $ac_try) 2>&5
21838 ac_status=$?
21839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840 (exit $ac_status); }; }; then
21841 glibcxx_cv_func_isinff_use=yes
21842 else
21843 echo "$as_me: failed program was:" >&5
21844 sed 's/^/| /' conftest.$ac_ext >&5
21846 glibcxx_cv_func_isinff_use=no
21848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21849 ac_ext=c
21850 ac_cpp='$CPP $CPPFLAGS'
21851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21859 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
21860 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
21862 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21864 for ac_func in isinff
21866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21867 echo "$as_me:$LINENO: checking for $ac_func" >&5
21868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21869 if eval "test \"\${$as_ac_var+set}\" = set"; then
21870 echo $ECHO_N "(cached) $ECHO_C" >&6
21871 else
21872 if test x$gcc_no_link = xyes; then
21873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21875 { (exit 1); exit 1; }; }
21877 cat >conftest.$ac_ext <<_ACEOF
21878 /* confdefs.h. */
21879 _ACEOF
21880 cat confdefs.h >>conftest.$ac_ext
21881 cat >>conftest.$ac_ext <<_ACEOF
21882 /* end confdefs.h. */
21883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21885 #define $ac_func innocuous_$ac_func
21887 /* System header to define __stub macros and hopefully few prototypes,
21888 which can conflict with char $ac_func (); below.
21889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21890 <limits.h> exists even on freestanding compilers. */
21892 #ifdef __STDC__
21893 # include <limits.h>
21894 #else
21895 # include <assert.h>
21896 #endif
21898 #undef $ac_func
21900 /* Override any gcc2 internal prototype to avoid an error. */
21901 #ifdef __cplusplus
21902 extern "C"
21904 #endif
21905 /* We use char because int might match the return type of a gcc2
21906 builtin and then its argument prototype would still apply. */
21907 char $ac_func ();
21908 /* The GNU C library defines this for functions which it implements
21909 to always fail with ENOSYS. Some functions are actually named
21910 something starting with __ and the normal name is an alias. */
21911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21912 choke me
21913 #else
21914 char (*f) () = $ac_func;
21915 #endif
21916 #ifdef __cplusplus
21918 #endif
21921 main ()
21923 return f != $ac_func;
21925 return 0;
21927 _ACEOF
21928 rm -f conftest.$ac_objext conftest$ac_exeext
21929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21930 (eval $ac_link) 2>conftest.er1
21931 ac_status=$?
21932 grep -v '^ *+' conftest.er1 >conftest.err
21933 rm -f conftest.er1
21934 cat conftest.err >&5
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); } &&
21937 { ac_try='test -z "$ac_c_werror_flag"
21938 || test ! -s conftest.err'
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); }; } &&
21944 { ac_try='test -s conftest$ac_exeext'
21945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21946 (eval $ac_try) 2>&5
21947 ac_status=$?
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); }; }; then
21950 eval "$as_ac_var=yes"
21951 else
21952 echo "$as_me: failed program was:" >&5
21953 sed 's/^/| /' conftest.$ac_ext >&5
21955 eval "$as_ac_var=no"
21957 rm -f conftest.err conftest.$ac_objext \
21958 conftest$ac_exeext conftest.$ac_ext
21960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21962 if test `eval echo '${'$as_ac_var'}'` = yes; then
21963 cat >>confdefs.h <<_ACEOF
21964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21965 _ACEOF
21968 done
21970 else
21972 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
21973 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
21974 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21975 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
21976 echo $ECHO_N "(cached) $ECHO_C" >&6
21977 else
21981 ac_ext=cc
21982 ac_cpp='$CXXCPP $CPPFLAGS'
21983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21987 cat >conftest.$ac_ext <<_ACEOF
21988 /* confdefs.h. */
21989 _ACEOF
21990 cat confdefs.h >>conftest.$ac_ext
21991 cat >>conftest.$ac_ext <<_ACEOF
21992 /* end confdefs.h. */
21993 #include <math.h>
21994 #ifdef HAVE_IEEEFP_H
21995 #include <ieeefp.h>
21996 #endif
21999 main ()
22001 _isinff(0);
22003 return 0;
22005 _ACEOF
22006 rm -f conftest.$ac_objext
22007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22008 (eval $ac_compile) 2>conftest.er1
22009 ac_status=$?
22010 grep -v '^ *+' conftest.er1 >conftest.err
22011 rm -f conftest.er1
22012 cat conftest.err >&5
22013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22014 (exit $ac_status); } &&
22015 { ac_try='test -z "$ac_cxx_werror_flag"
22016 || test ! -s conftest.err'
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); }; } &&
22022 { ac_try='test -s conftest.$ac_objext'
22023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22024 (eval $ac_try) 2>&5
22025 ac_status=$?
22026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22027 (exit $ac_status); }; }; then
22028 glibcxx_cv_func__isinff_use=yes
22029 else
22030 echo "$as_me: failed program was:" >&5
22031 sed 's/^/| /' conftest.$ac_ext >&5
22033 glibcxx_cv_func__isinff_use=no
22035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22036 ac_ext=c
22037 ac_cpp='$CPP $CPPFLAGS'
22038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22046 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
22047 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
22049 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22051 for ac_func in _isinff
22053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22054 echo "$as_me:$LINENO: checking for $ac_func" >&5
22055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22056 if eval "test \"\${$as_ac_var+set}\" = set"; then
22057 echo $ECHO_N "(cached) $ECHO_C" >&6
22058 else
22059 if test x$gcc_no_link = xyes; then
22060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22062 { (exit 1); exit 1; }; }
22064 cat >conftest.$ac_ext <<_ACEOF
22065 /* confdefs.h. */
22066 _ACEOF
22067 cat confdefs.h >>conftest.$ac_ext
22068 cat >>conftest.$ac_ext <<_ACEOF
22069 /* end confdefs.h. */
22070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22072 #define $ac_func innocuous_$ac_func
22074 /* System header to define __stub macros and hopefully few prototypes,
22075 which can conflict with char $ac_func (); below.
22076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22077 <limits.h> exists even on freestanding compilers. */
22079 #ifdef __STDC__
22080 # include <limits.h>
22081 #else
22082 # include <assert.h>
22083 #endif
22085 #undef $ac_func
22087 /* Override any gcc2 internal prototype to avoid an error. */
22088 #ifdef __cplusplus
22089 extern "C"
22091 #endif
22092 /* We use char because int might match the return type of a gcc2
22093 builtin and then its argument prototype would still apply. */
22094 char $ac_func ();
22095 /* The GNU C library defines this for functions which it implements
22096 to always fail with ENOSYS. Some functions are actually named
22097 something starting with __ and the normal name is an alias. */
22098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22099 choke me
22100 #else
22101 char (*f) () = $ac_func;
22102 #endif
22103 #ifdef __cplusplus
22105 #endif
22108 main ()
22110 return f != $ac_func;
22112 return 0;
22114 _ACEOF
22115 rm -f conftest.$ac_objext conftest$ac_exeext
22116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22117 (eval $ac_link) 2>conftest.er1
22118 ac_status=$?
22119 grep -v '^ *+' conftest.er1 >conftest.err
22120 rm -f conftest.er1
22121 cat conftest.err >&5
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); } &&
22124 { ac_try='test -z "$ac_c_werror_flag"
22125 || test ! -s conftest.err'
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); }; } &&
22131 { ac_try='test -s conftest$ac_exeext'
22132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22133 (eval $ac_try) 2>&5
22134 ac_status=$?
22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136 (exit $ac_status); }; }; then
22137 eval "$as_ac_var=yes"
22138 else
22139 echo "$as_me: failed program was:" >&5
22140 sed 's/^/| /' conftest.$ac_ext >&5
22142 eval "$as_ac_var=no"
22144 rm -f conftest.err conftest.$ac_objext \
22145 conftest$ac_exeext conftest.$ac_ext
22147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22149 if test `eval echo '${'$as_ac_var'}'` = yes; then
22150 cat >>confdefs.h <<_ACEOF
22151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22152 _ACEOF
22155 done
22165 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
22166 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
22167 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22168 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
22169 echo $ECHO_N "(cached) $ECHO_C" >&6
22170 else
22174 ac_ext=cc
22175 ac_cpp='$CXXCPP $CPPFLAGS'
22176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22180 cat >conftest.$ac_ext <<_ACEOF
22181 /* confdefs.h. */
22182 _ACEOF
22183 cat confdefs.h >>conftest.$ac_ext
22184 cat >>conftest.$ac_ext <<_ACEOF
22185 /* end confdefs.h. */
22186 #include <math.h>
22188 main ()
22190 atan2f(0, 0);
22192 return 0;
22194 _ACEOF
22195 rm -f conftest.$ac_objext
22196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22197 (eval $ac_compile) 2>conftest.er1
22198 ac_status=$?
22199 grep -v '^ *+' conftest.er1 >conftest.err
22200 rm -f conftest.er1
22201 cat conftest.err >&5
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); } &&
22204 { ac_try='test -z "$ac_cxx_werror_flag"
22205 || test ! -s conftest.err'
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); }; } &&
22211 { ac_try='test -s conftest.$ac_objext'
22212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22213 (eval $ac_try) 2>&5
22214 ac_status=$?
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); }; }; then
22217 glibcxx_cv_func_atan2f_use=yes
22218 else
22219 echo "$as_me: failed program was:" >&5
22220 sed 's/^/| /' conftest.$ac_ext >&5
22222 glibcxx_cv_func_atan2f_use=no
22224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22225 ac_ext=c
22226 ac_cpp='$CPP $CPPFLAGS'
22227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22235 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
22236 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
22238 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22240 for ac_func in atan2f
22242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22243 echo "$as_me:$LINENO: checking for $ac_func" >&5
22244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22245 if eval "test \"\${$as_ac_var+set}\" = set"; then
22246 echo $ECHO_N "(cached) $ECHO_C" >&6
22247 else
22248 if test x$gcc_no_link = xyes; then
22249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22251 { (exit 1); exit 1; }; }
22253 cat >conftest.$ac_ext <<_ACEOF
22254 /* confdefs.h. */
22255 _ACEOF
22256 cat confdefs.h >>conftest.$ac_ext
22257 cat >>conftest.$ac_ext <<_ACEOF
22258 /* end confdefs.h. */
22259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22261 #define $ac_func innocuous_$ac_func
22263 /* System header to define __stub macros and hopefully few prototypes,
22264 which can conflict with char $ac_func (); below.
22265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22266 <limits.h> exists even on freestanding compilers. */
22268 #ifdef __STDC__
22269 # include <limits.h>
22270 #else
22271 # include <assert.h>
22272 #endif
22274 #undef $ac_func
22276 /* Override any gcc2 internal prototype to avoid an error. */
22277 #ifdef __cplusplus
22278 extern "C"
22280 #endif
22281 /* We use char because int might match the return type of a gcc2
22282 builtin and then its argument prototype would still apply. */
22283 char $ac_func ();
22284 /* The GNU C library defines this for functions which it implements
22285 to always fail with ENOSYS. Some functions are actually named
22286 something starting with __ and the normal name is an alias. */
22287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22288 choke me
22289 #else
22290 char (*f) () = $ac_func;
22291 #endif
22292 #ifdef __cplusplus
22294 #endif
22297 main ()
22299 return f != $ac_func;
22301 return 0;
22303 _ACEOF
22304 rm -f conftest.$ac_objext conftest$ac_exeext
22305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22306 (eval $ac_link) 2>conftest.er1
22307 ac_status=$?
22308 grep -v '^ *+' conftest.er1 >conftest.err
22309 rm -f conftest.er1
22310 cat conftest.err >&5
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); } &&
22313 { ac_try='test -z "$ac_c_werror_flag"
22314 || test ! -s conftest.err'
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); }; } &&
22320 { ac_try='test -s conftest$ac_exeext'
22321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22322 (eval $ac_try) 2>&5
22323 ac_status=$?
22324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22325 (exit $ac_status); }; }; then
22326 eval "$as_ac_var=yes"
22327 else
22328 echo "$as_me: failed program was:" >&5
22329 sed 's/^/| /' conftest.$ac_ext >&5
22331 eval "$as_ac_var=no"
22333 rm -f conftest.err conftest.$ac_objext \
22334 conftest$ac_exeext conftest.$ac_ext
22336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22338 if test `eval echo '${'$as_ac_var'}'` = yes; then
22339 cat >>confdefs.h <<_ACEOF
22340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22341 _ACEOF
22344 done
22346 else
22348 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
22349 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
22350 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22351 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
22352 echo $ECHO_N "(cached) $ECHO_C" >&6
22353 else
22357 ac_ext=cc
22358 ac_cpp='$CXXCPP $CPPFLAGS'
22359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22363 cat >conftest.$ac_ext <<_ACEOF
22364 /* confdefs.h. */
22365 _ACEOF
22366 cat confdefs.h >>conftest.$ac_ext
22367 cat >>conftest.$ac_ext <<_ACEOF
22368 /* end confdefs.h. */
22369 #include <math.h>
22371 main ()
22373 _atan2f(0, 0);
22375 return 0;
22377 _ACEOF
22378 rm -f conftest.$ac_objext
22379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22380 (eval $ac_compile) 2>conftest.er1
22381 ac_status=$?
22382 grep -v '^ *+' conftest.er1 >conftest.err
22383 rm -f conftest.er1
22384 cat conftest.err >&5
22385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22386 (exit $ac_status); } &&
22387 { ac_try='test -z "$ac_cxx_werror_flag"
22388 || test ! -s conftest.err'
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); }; } &&
22394 { ac_try='test -s conftest.$ac_objext'
22395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22396 (eval $ac_try) 2>&5
22397 ac_status=$?
22398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22399 (exit $ac_status); }; }; then
22400 glibcxx_cv_func__atan2f_use=yes
22401 else
22402 echo "$as_me: failed program was:" >&5
22403 sed 's/^/| /' conftest.$ac_ext >&5
22405 glibcxx_cv_func__atan2f_use=no
22407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22408 ac_ext=c
22409 ac_cpp='$CPP $CPPFLAGS'
22410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22418 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
22419 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
22421 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22423 for ac_func in _atan2f
22425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22426 echo "$as_me:$LINENO: checking for $ac_func" >&5
22427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22428 if eval "test \"\${$as_ac_var+set}\" = set"; then
22429 echo $ECHO_N "(cached) $ECHO_C" >&6
22430 else
22431 if test x$gcc_no_link = xyes; then
22432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22434 { (exit 1); exit 1; }; }
22436 cat >conftest.$ac_ext <<_ACEOF
22437 /* confdefs.h. */
22438 _ACEOF
22439 cat confdefs.h >>conftest.$ac_ext
22440 cat >>conftest.$ac_ext <<_ACEOF
22441 /* end confdefs.h. */
22442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22444 #define $ac_func innocuous_$ac_func
22446 /* System header to define __stub macros and hopefully few prototypes,
22447 which can conflict with char $ac_func (); below.
22448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22449 <limits.h> exists even on freestanding compilers. */
22451 #ifdef __STDC__
22452 # include <limits.h>
22453 #else
22454 # include <assert.h>
22455 #endif
22457 #undef $ac_func
22459 /* Override any gcc2 internal prototype to avoid an error. */
22460 #ifdef __cplusplus
22461 extern "C"
22463 #endif
22464 /* We use char because int might match the return type of a gcc2
22465 builtin and then its argument prototype would still apply. */
22466 char $ac_func ();
22467 /* The GNU C library defines this for functions which it implements
22468 to always fail with ENOSYS. Some functions are actually named
22469 something starting with __ and the normal name is an alias. */
22470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22471 choke me
22472 #else
22473 char (*f) () = $ac_func;
22474 #endif
22475 #ifdef __cplusplus
22477 #endif
22480 main ()
22482 return f != $ac_func;
22484 return 0;
22486 _ACEOF
22487 rm -f conftest.$ac_objext conftest$ac_exeext
22488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22489 (eval $ac_link) 2>conftest.er1
22490 ac_status=$?
22491 grep -v '^ *+' conftest.er1 >conftest.err
22492 rm -f conftest.er1
22493 cat conftest.err >&5
22494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495 (exit $ac_status); } &&
22496 { ac_try='test -z "$ac_c_werror_flag"
22497 || test ! -s conftest.err'
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); }; } &&
22503 { ac_try='test -s conftest$ac_exeext'
22504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22505 (eval $ac_try) 2>&5
22506 ac_status=$?
22507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22508 (exit $ac_status); }; }; then
22509 eval "$as_ac_var=yes"
22510 else
22511 echo "$as_me: failed program was:" >&5
22512 sed 's/^/| /' conftest.$ac_ext >&5
22514 eval "$as_ac_var=no"
22516 rm -f conftest.err conftest.$ac_objext \
22517 conftest$ac_exeext conftest.$ac_ext
22519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22521 if test `eval echo '${'$as_ac_var'}'` = yes; then
22522 cat >>confdefs.h <<_ACEOF
22523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22524 _ACEOF
22527 done
22537 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
22538 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
22539 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22540 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
22541 echo $ECHO_N "(cached) $ECHO_C" >&6
22542 else
22546 ac_ext=cc
22547 ac_cpp='$CXXCPP $CPPFLAGS'
22548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22552 cat >conftest.$ac_ext <<_ACEOF
22553 /* confdefs.h. */
22554 _ACEOF
22555 cat confdefs.h >>conftest.$ac_ext
22556 cat >>conftest.$ac_ext <<_ACEOF
22557 /* end confdefs.h. */
22558 #include <math.h>
22559 #ifdef HAVE_IEEEFP_H
22560 #include <ieeefp.h>
22561 #endif
22564 main ()
22566 fabsf(0);
22568 return 0;
22570 _ACEOF
22571 rm -f conftest.$ac_objext
22572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22573 (eval $ac_compile) 2>conftest.er1
22574 ac_status=$?
22575 grep -v '^ *+' conftest.er1 >conftest.err
22576 rm -f conftest.er1
22577 cat conftest.err >&5
22578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22579 (exit $ac_status); } &&
22580 { ac_try='test -z "$ac_cxx_werror_flag"
22581 || test ! -s conftest.err'
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); }; } &&
22587 { ac_try='test -s conftest.$ac_objext'
22588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22589 (eval $ac_try) 2>&5
22590 ac_status=$?
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); }; }; then
22593 glibcxx_cv_func_fabsf_use=yes
22594 else
22595 echo "$as_me: failed program was:" >&5
22596 sed 's/^/| /' conftest.$ac_ext >&5
22598 glibcxx_cv_func_fabsf_use=no
22600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22601 ac_ext=c
22602 ac_cpp='$CPP $CPPFLAGS'
22603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22611 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
22612 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
22614 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22616 for ac_func in fabsf
22618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22619 echo "$as_me:$LINENO: checking for $ac_func" >&5
22620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22621 if eval "test \"\${$as_ac_var+set}\" = set"; then
22622 echo $ECHO_N "(cached) $ECHO_C" >&6
22623 else
22624 if test x$gcc_no_link = xyes; then
22625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22627 { (exit 1); exit 1; }; }
22629 cat >conftest.$ac_ext <<_ACEOF
22630 /* confdefs.h. */
22631 _ACEOF
22632 cat confdefs.h >>conftest.$ac_ext
22633 cat >>conftest.$ac_ext <<_ACEOF
22634 /* end confdefs.h. */
22635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22637 #define $ac_func innocuous_$ac_func
22639 /* System header to define __stub macros and hopefully few prototypes,
22640 which can conflict with char $ac_func (); below.
22641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22642 <limits.h> exists even on freestanding compilers. */
22644 #ifdef __STDC__
22645 # include <limits.h>
22646 #else
22647 # include <assert.h>
22648 #endif
22650 #undef $ac_func
22652 /* Override any gcc2 internal prototype to avoid an error. */
22653 #ifdef __cplusplus
22654 extern "C"
22656 #endif
22657 /* We use char because int might match the return type of a gcc2
22658 builtin and then its argument prototype would still apply. */
22659 char $ac_func ();
22660 /* The GNU C library defines this for functions which it implements
22661 to always fail with ENOSYS. Some functions are actually named
22662 something starting with __ and the normal name is an alias. */
22663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22664 choke me
22665 #else
22666 char (*f) () = $ac_func;
22667 #endif
22668 #ifdef __cplusplus
22670 #endif
22673 main ()
22675 return f != $ac_func;
22677 return 0;
22679 _ACEOF
22680 rm -f conftest.$ac_objext conftest$ac_exeext
22681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22682 (eval $ac_link) 2>conftest.er1
22683 ac_status=$?
22684 grep -v '^ *+' conftest.er1 >conftest.err
22685 rm -f conftest.er1
22686 cat conftest.err >&5
22687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22688 (exit $ac_status); } &&
22689 { ac_try='test -z "$ac_c_werror_flag"
22690 || test ! -s conftest.err'
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); }; } &&
22696 { ac_try='test -s conftest$ac_exeext'
22697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22698 (eval $ac_try) 2>&5
22699 ac_status=$?
22700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22701 (exit $ac_status); }; }; then
22702 eval "$as_ac_var=yes"
22703 else
22704 echo "$as_me: failed program was:" >&5
22705 sed 's/^/| /' conftest.$ac_ext >&5
22707 eval "$as_ac_var=no"
22709 rm -f conftest.err conftest.$ac_objext \
22710 conftest$ac_exeext conftest.$ac_ext
22712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22714 if test `eval echo '${'$as_ac_var'}'` = yes; then
22715 cat >>confdefs.h <<_ACEOF
22716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22717 _ACEOF
22720 done
22722 else
22724 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
22725 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
22726 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22727 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
22728 echo $ECHO_N "(cached) $ECHO_C" >&6
22729 else
22733 ac_ext=cc
22734 ac_cpp='$CXXCPP $CPPFLAGS'
22735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22739 cat >conftest.$ac_ext <<_ACEOF
22740 /* confdefs.h. */
22741 _ACEOF
22742 cat confdefs.h >>conftest.$ac_ext
22743 cat >>conftest.$ac_ext <<_ACEOF
22744 /* end confdefs.h. */
22745 #include <math.h>
22746 #ifdef HAVE_IEEEFP_H
22747 #include <ieeefp.h>
22748 #endif
22751 main ()
22753 _fabsf(0);
22755 return 0;
22757 _ACEOF
22758 rm -f conftest.$ac_objext
22759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22760 (eval $ac_compile) 2>conftest.er1
22761 ac_status=$?
22762 grep -v '^ *+' conftest.er1 >conftest.err
22763 rm -f conftest.er1
22764 cat conftest.err >&5
22765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22766 (exit $ac_status); } &&
22767 { ac_try='test -z "$ac_cxx_werror_flag"
22768 || test ! -s conftest.err'
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); }; } &&
22774 { ac_try='test -s conftest.$ac_objext'
22775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22776 (eval $ac_try) 2>&5
22777 ac_status=$?
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); }; }; then
22780 glibcxx_cv_func__fabsf_use=yes
22781 else
22782 echo "$as_me: failed program was:" >&5
22783 sed 's/^/| /' conftest.$ac_ext >&5
22785 glibcxx_cv_func__fabsf_use=no
22787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22788 ac_ext=c
22789 ac_cpp='$CPP $CPPFLAGS'
22790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22798 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
22799 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
22801 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22803 for ac_func in _fabsf
22805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22806 echo "$as_me:$LINENO: checking for $ac_func" >&5
22807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22808 if eval "test \"\${$as_ac_var+set}\" = set"; then
22809 echo $ECHO_N "(cached) $ECHO_C" >&6
22810 else
22811 if test x$gcc_no_link = xyes; then
22812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22814 { (exit 1); exit 1; }; }
22816 cat >conftest.$ac_ext <<_ACEOF
22817 /* confdefs.h. */
22818 _ACEOF
22819 cat confdefs.h >>conftest.$ac_ext
22820 cat >>conftest.$ac_ext <<_ACEOF
22821 /* end confdefs.h. */
22822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22824 #define $ac_func innocuous_$ac_func
22826 /* System header to define __stub macros and hopefully few prototypes,
22827 which can conflict with char $ac_func (); below.
22828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22829 <limits.h> exists even on freestanding compilers. */
22831 #ifdef __STDC__
22832 # include <limits.h>
22833 #else
22834 # include <assert.h>
22835 #endif
22837 #undef $ac_func
22839 /* Override any gcc2 internal prototype to avoid an error. */
22840 #ifdef __cplusplus
22841 extern "C"
22843 #endif
22844 /* We use char because int might match the return type of a gcc2
22845 builtin and then its argument prototype would still apply. */
22846 char $ac_func ();
22847 /* The GNU C library defines this for functions which it implements
22848 to always fail with ENOSYS. Some functions are actually named
22849 something starting with __ and the normal name is an alias. */
22850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22851 choke me
22852 #else
22853 char (*f) () = $ac_func;
22854 #endif
22855 #ifdef __cplusplus
22857 #endif
22860 main ()
22862 return f != $ac_func;
22864 return 0;
22866 _ACEOF
22867 rm -f conftest.$ac_objext conftest$ac_exeext
22868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22869 (eval $ac_link) 2>conftest.er1
22870 ac_status=$?
22871 grep -v '^ *+' conftest.er1 >conftest.err
22872 rm -f conftest.er1
22873 cat conftest.err >&5
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); } &&
22876 { ac_try='test -z "$ac_c_werror_flag"
22877 || test ! -s conftest.err'
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); }; } &&
22883 { ac_try='test -s conftest$ac_exeext'
22884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22885 (eval $ac_try) 2>&5
22886 ac_status=$?
22887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22888 (exit $ac_status); }; }; then
22889 eval "$as_ac_var=yes"
22890 else
22891 echo "$as_me: failed program was:" >&5
22892 sed 's/^/| /' conftest.$ac_ext >&5
22894 eval "$as_ac_var=no"
22896 rm -f conftest.err conftest.$ac_objext \
22897 conftest$ac_exeext conftest.$ac_ext
22899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22901 if test `eval echo '${'$as_ac_var'}'` = yes; then
22902 cat >>confdefs.h <<_ACEOF
22903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22904 _ACEOF
22907 done
22917 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
22918 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
22919 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22920 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
22921 echo $ECHO_N "(cached) $ECHO_C" >&6
22922 else
22926 ac_ext=cc
22927 ac_cpp='$CXXCPP $CPPFLAGS'
22928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22932 cat >conftest.$ac_ext <<_ACEOF
22933 /* confdefs.h. */
22934 _ACEOF
22935 cat confdefs.h >>conftest.$ac_ext
22936 cat >>conftest.$ac_ext <<_ACEOF
22937 /* end confdefs.h. */
22938 #include <math.h>
22940 main ()
22942 fmodf(0, 0);
22944 return 0;
22946 _ACEOF
22947 rm -f conftest.$ac_objext
22948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22949 (eval $ac_compile) 2>conftest.er1
22950 ac_status=$?
22951 grep -v '^ *+' conftest.er1 >conftest.err
22952 rm -f conftest.er1
22953 cat conftest.err >&5
22954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22955 (exit $ac_status); } &&
22956 { ac_try='test -z "$ac_cxx_werror_flag"
22957 || test ! -s conftest.err'
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); }; } &&
22963 { ac_try='test -s conftest.$ac_objext'
22964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22965 (eval $ac_try) 2>&5
22966 ac_status=$?
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); }; }; then
22969 glibcxx_cv_func_fmodf_use=yes
22970 else
22971 echo "$as_me: failed program was:" >&5
22972 sed 's/^/| /' conftest.$ac_ext >&5
22974 glibcxx_cv_func_fmodf_use=no
22976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22977 ac_ext=c
22978 ac_cpp='$CPP $CPPFLAGS'
22979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22987 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
22988 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
22990 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22992 for ac_func in fmodf
22994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22995 echo "$as_me:$LINENO: checking for $ac_func" >&5
22996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22997 if eval "test \"\${$as_ac_var+set}\" = set"; then
22998 echo $ECHO_N "(cached) $ECHO_C" >&6
22999 else
23000 if test x$gcc_no_link = xyes; then
23001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23003 { (exit 1); exit 1; }; }
23005 cat >conftest.$ac_ext <<_ACEOF
23006 /* confdefs.h. */
23007 _ACEOF
23008 cat confdefs.h >>conftest.$ac_ext
23009 cat >>conftest.$ac_ext <<_ACEOF
23010 /* end confdefs.h. */
23011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23013 #define $ac_func innocuous_$ac_func
23015 /* System header to define __stub macros and hopefully few prototypes,
23016 which can conflict with char $ac_func (); below.
23017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23018 <limits.h> exists even on freestanding compilers. */
23020 #ifdef __STDC__
23021 # include <limits.h>
23022 #else
23023 # include <assert.h>
23024 #endif
23026 #undef $ac_func
23028 /* Override any gcc2 internal prototype to avoid an error. */
23029 #ifdef __cplusplus
23030 extern "C"
23032 #endif
23033 /* We use char because int might match the return type of a gcc2
23034 builtin and then its argument prototype would still apply. */
23035 char $ac_func ();
23036 /* The GNU C library defines this for functions which it implements
23037 to always fail with ENOSYS. Some functions are actually named
23038 something starting with __ and the normal name is an alias. */
23039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23040 choke me
23041 #else
23042 char (*f) () = $ac_func;
23043 #endif
23044 #ifdef __cplusplus
23046 #endif
23049 main ()
23051 return f != $ac_func;
23053 return 0;
23055 _ACEOF
23056 rm -f conftest.$ac_objext conftest$ac_exeext
23057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23058 (eval $ac_link) 2>conftest.er1
23059 ac_status=$?
23060 grep -v '^ *+' conftest.er1 >conftest.err
23061 rm -f conftest.er1
23062 cat conftest.err >&5
23063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23064 (exit $ac_status); } &&
23065 { ac_try='test -z "$ac_c_werror_flag"
23066 || test ! -s conftest.err'
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); }; } &&
23072 { ac_try='test -s conftest$ac_exeext'
23073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23074 (eval $ac_try) 2>&5
23075 ac_status=$?
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); }; }; then
23078 eval "$as_ac_var=yes"
23079 else
23080 echo "$as_me: failed program was:" >&5
23081 sed 's/^/| /' conftest.$ac_ext >&5
23083 eval "$as_ac_var=no"
23085 rm -f conftest.err conftest.$ac_objext \
23086 conftest$ac_exeext conftest.$ac_ext
23088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23090 if test `eval echo '${'$as_ac_var'}'` = yes; then
23091 cat >>confdefs.h <<_ACEOF
23092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23093 _ACEOF
23096 done
23098 else
23100 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
23101 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
23102 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23103 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
23104 echo $ECHO_N "(cached) $ECHO_C" >&6
23105 else
23109 ac_ext=cc
23110 ac_cpp='$CXXCPP $CPPFLAGS'
23111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23115 cat >conftest.$ac_ext <<_ACEOF
23116 /* confdefs.h. */
23117 _ACEOF
23118 cat confdefs.h >>conftest.$ac_ext
23119 cat >>conftest.$ac_ext <<_ACEOF
23120 /* end confdefs.h. */
23121 #include <math.h>
23123 main ()
23125 _fmodf(0, 0);
23127 return 0;
23129 _ACEOF
23130 rm -f conftest.$ac_objext
23131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23132 (eval $ac_compile) 2>conftest.er1
23133 ac_status=$?
23134 grep -v '^ *+' conftest.er1 >conftest.err
23135 rm -f conftest.er1
23136 cat conftest.err >&5
23137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138 (exit $ac_status); } &&
23139 { ac_try='test -z "$ac_cxx_werror_flag"
23140 || test ! -s conftest.err'
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); }; } &&
23146 { ac_try='test -s conftest.$ac_objext'
23147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23148 (eval $ac_try) 2>&5
23149 ac_status=$?
23150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23151 (exit $ac_status); }; }; then
23152 glibcxx_cv_func__fmodf_use=yes
23153 else
23154 echo "$as_me: failed program was:" >&5
23155 sed 's/^/| /' conftest.$ac_ext >&5
23157 glibcxx_cv_func__fmodf_use=no
23159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23160 ac_ext=c
23161 ac_cpp='$CPP $CPPFLAGS'
23162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23170 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
23171 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
23173 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23175 for ac_func in _fmodf
23177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23178 echo "$as_me:$LINENO: checking for $ac_func" >&5
23179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23180 if eval "test \"\${$as_ac_var+set}\" = set"; then
23181 echo $ECHO_N "(cached) $ECHO_C" >&6
23182 else
23183 if test x$gcc_no_link = xyes; then
23184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23186 { (exit 1); exit 1; }; }
23188 cat >conftest.$ac_ext <<_ACEOF
23189 /* confdefs.h. */
23190 _ACEOF
23191 cat confdefs.h >>conftest.$ac_ext
23192 cat >>conftest.$ac_ext <<_ACEOF
23193 /* end confdefs.h. */
23194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23196 #define $ac_func innocuous_$ac_func
23198 /* System header to define __stub macros and hopefully few prototypes,
23199 which can conflict with char $ac_func (); below.
23200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23201 <limits.h> exists even on freestanding compilers. */
23203 #ifdef __STDC__
23204 # include <limits.h>
23205 #else
23206 # include <assert.h>
23207 #endif
23209 #undef $ac_func
23211 /* Override any gcc2 internal prototype to avoid an error. */
23212 #ifdef __cplusplus
23213 extern "C"
23215 #endif
23216 /* We use char because int might match the return type of a gcc2
23217 builtin and then its argument prototype would still apply. */
23218 char $ac_func ();
23219 /* The GNU C library defines this for functions which it implements
23220 to always fail with ENOSYS. Some functions are actually named
23221 something starting with __ and the normal name is an alias. */
23222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23223 choke me
23224 #else
23225 char (*f) () = $ac_func;
23226 #endif
23227 #ifdef __cplusplus
23229 #endif
23232 main ()
23234 return f != $ac_func;
23236 return 0;
23238 _ACEOF
23239 rm -f conftest.$ac_objext conftest$ac_exeext
23240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23241 (eval $ac_link) 2>conftest.er1
23242 ac_status=$?
23243 grep -v '^ *+' conftest.er1 >conftest.err
23244 rm -f conftest.er1
23245 cat conftest.err >&5
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); } &&
23248 { ac_try='test -z "$ac_c_werror_flag"
23249 || test ! -s conftest.err'
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); }; } &&
23255 { ac_try='test -s conftest$ac_exeext'
23256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23257 (eval $ac_try) 2>&5
23258 ac_status=$?
23259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23260 (exit $ac_status); }; }; then
23261 eval "$as_ac_var=yes"
23262 else
23263 echo "$as_me: failed program was:" >&5
23264 sed 's/^/| /' conftest.$ac_ext >&5
23266 eval "$as_ac_var=no"
23268 rm -f conftest.err conftest.$ac_objext \
23269 conftest$ac_exeext conftest.$ac_ext
23271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23273 if test `eval echo '${'$as_ac_var'}'` = yes; then
23274 cat >>confdefs.h <<_ACEOF
23275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23276 _ACEOF
23279 done
23289 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
23290 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
23291 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23292 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
23293 echo $ECHO_N "(cached) $ECHO_C" >&6
23294 else
23298 ac_ext=cc
23299 ac_cpp='$CXXCPP $CPPFLAGS'
23300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23304 cat >conftest.$ac_ext <<_ACEOF
23305 /* confdefs.h. */
23306 _ACEOF
23307 cat confdefs.h >>conftest.$ac_ext
23308 cat >>conftest.$ac_ext <<_ACEOF
23309 /* end confdefs.h. */
23310 #include <math.h>
23312 main ()
23314 frexpf(0, 0);
23316 return 0;
23318 _ACEOF
23319 rm -f conftest.$ac_objext
23320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23321 (eval $ac_compile) 2>conftest.er1
23322 ac_status=$?
23323 grep -v '^ *+' conftest.er1 >conftest.err
23324 rm -f conftest.er1
23325 cat conftest.err >&5
23326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23327 (exit $ac_status); } &&
23328 { ac_try='test -z "$ac_cxx_werror_flag"
23329 || test ! -s conftest.err'
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); }; } &&
23335 { ac_try='test -s conftest.$ac_objext'
23336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23337 (eval $ac_try) 2>&5
23338 ac_status=$?
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); }; }; then
23341 glibcxx_cv_func_frexpf_use=yes
23342 else
23343 echo "$as_me: failed program was:" >&5
23344 sed 's/^/| /' conftest.$ac_ext >&5
23346 glibcxx_cv_func_frexpf_use=no
23348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23349 ac_ext=c
23350 ac_cpp='$CPP $CPPFLAGS'
23351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23359 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
23360 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
23362 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23364 for ac_func in frexpf
23366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23367 echo "$as_me:$LINENO: checking for $ac_func" >&5
23368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23369 if eval "test \"\${$as_ac_var+set}\" = set"; then
23370 echo $ECHO_N "(cached) $ECHO_C" >&6
23371 else
23372 if test x$gcc_no_link = xyes; then
23373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23375 { (exit 1); exit 1; }; }
23377 cat >conftest.$ac_ext <<_ACEOF
23378 /* confdefs.h. */
23379 _ACEOF
23380 cat confdefs.h >>conftest.$ac_ext
23381 cat >>conftest.$ac_ext <<_ACEOF
23382 /* end confdefs.h. */
23383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23385 #define $ac_func innocuous_$ac_func
23387 /* System header to define __stub macros and hopefully few prototypes,
23388 which can conflict with char $ac_func (); below.
23389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23390 <limits.h> exists even on freestanding compilers. */
23392 #ifdef __STDC__
23393 # include <limits.h>
23394 #else
23395 # include <assert.h>
23396 #endif
23398 #undef $ac_func
23400 /* Override any gcc2 internal prototype to avoid an error. */
23401 #ifdef __cplusplus
23402 extern "C"
23404 #endif
23405 /* We use char because int might match the return type of a gcc2
23406 builtin and then its argument prototype would still apply. */
23407 char $ac_func ();
23408 /* The GNU C library defines this for functions which it implements
23409 to always fail with ENOSYS. Some functions are actually named
23410 something starting with __ and the normal name is an alias. */
23411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23412 choke me
23413 #else
23414 char (*f) () = $ac_func;
23415 #endif
23416 #ifdef __cplusplus
23418 #endif
23421 main ()
23423 return f != $ac_func;
23425 return 0;
23427 _ACEOF
23428 rm -f conftest.$ac_objext conftest$ac_exeext
23429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23430 (eval $ac_link) 2>conftest.er1
23431 ac_status=$?
23432 grep -v '^ *+' conftest.er1 >conftest.err
23433 rm -f conftest.er1
23434 cat conftest.err >&5
23435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436 (exit $ac_status); } &&
23437 { ac_try='test -z "$ac_c_werror_flag"
23438 || test ! -s conftest.err'
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); }; } &&
23444 { ac_try='test -s conftest$ac_exeext'
23445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23446 (eval $ac_try) 2>&5
23447 ac_status=$?
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); }; }; then
23450 eval "$as_ac_var=yes"
23451 else
23452 echo "$as_me: failed program was:" >&5
23453 sed 's/^/| /' conftest.$ac_ext >&5
23455 eval "$as_ac_var=no"
23457 rm -f conftest.err conftest.$ac_objext \
23458 conftest$ac_exeext conftest.$ac_ext
23460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23462 if test `eval echo '${'$as_ac_var'}'` = yes; then
23463 cat >>confdefs.h <<_ACEOF
23464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23465 _ACEOF
23468 done
23470 else
23472 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
23473 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
23474 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23475 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
23476 echo $ECHO_N "(cached) $ECHO_C" >&6
23477 else
23481 ac_ext=cc
23482 ac_cpp='$CXXCPP $CPPFLAGS'
23483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23487 cat >conftest.$ac_ext <<_ACEOF
23488 /* confdefs.h. */
23489 _ACEOF
23490 cat confdefs.h >>conftest.$ac_ext
23491 cat >>conftest.$ac_ext <<_ACEOF
23492 /* end confdefs.h. */
23493 #include <math.h>
23495 main ()
23497 _frexpf(0, 0);
23499 return 0;
23501 _ACEOF
23502 rm -f conftest.$ac_objext
23503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23504 (eval $ac_compile) 2>conftest.er1
23505 ac_status=$?
23506 grep -v '^ *+' conftest.er1 >conftest.err
23507 rm -f conftest.er1
23508 cat conftest.err >&5
23509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23510 (exit $ac_status); } &&
23511 { ac_try='test -z "$ac_cxx_werror_flag"
23512 || test ! -s conftest.err'
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); }; } &&
23518 { ac_try='test -s conftest.$ac_objext'
23519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23520 (eval $ac_try) 2>&5
23521 ac_status=$?
23522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23523 (exit $ac_status); }; }; then
23524 glibcxx_cv_func__frexpf_use=yes
23525 else
23526 echo "$as_me: failed program was:" >&5
23527 sed 's/^/| /' conftest.$ac_ext >&5
23529 glibcxx_cv_func__frexpf_use=no
23531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23532 ac_ext=c
23533 ac_cpp='$CPP $CPPFLAGS'
23534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23542 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
23543 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
23545 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23547 for ac_func in _frexpf
23549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23550 echo "$as_me:$LINENO: checking for $ac_func" >&5
23551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23552 if eval "test \"\${$as_ac_var+set}\" = set"; then
23553 echo $ECHO_N "(cached) $ECHO_C" >&6
23554 else
23555 if test x$gcc_no_link = xyes; then
23556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23558 { (exit 1); exit 1; }; }
23560 cat >conftest.$ac_ext <<_ACEOF
23561 /* confdefs.h. */
23562 _ACEOF
23563 cat confdefs.h >>conftest.$ac_ext
23564 cat >>conftest.$ac_ext <<_ACEOF
23565 /* end confdefs.h. */
23566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23568 #define $ac_func innocuous_$ac_func
23570 /* System header to define __stub macros and hopefully few prototypes,
23571 which can conflict with char $ac_func (); below.
23572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23573 <limits.h> exists even on freestanding compilers. */
23575 #ifdef __STDC__
23576 # include <limits.h>
23577 #else
23578 # include <assert.h>
23579 #endif
23581 #undef $ac_func
23583 /* Override any gcc2 internal prototype to avoid an error. */
23584 #ifdef __cplusplus
23585 extern "C"
23587 #endif
23588 /* We use char because int might match the return type of a gcc2
23589 builtin and then its argument prototype would still apply. */
23590 char $ac_func ();
23591 /* The GNU C library defines this for functions which it implements
23592 to always fail with ENOSYS. Some functions are actually named
23593 something starting with __ and the normal name is an alias. */
23594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23595 choke me
23596 #else
23597 char (*f) () = $ac_func;
23598 #endif
23599 #ifdef __cplusplus
23601 #endif
23604 main ()
23606 return f != $ac_func;
23608 return 0;
23610 _ACEOF
23611 rm -f conftest.$ac_objext conftest$ac_exeext
23612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23613 (eval $ac_link) 2>conftest.er1
23614 ac_status=$?
23615 grep -v '^ *+' conftest.er1 >conftest.err
23616 rm -f conftest.er1
23617 cat conftest.err >&5
23618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23619 (exit $ac_status); } &&
23620 { ac_try='test -z "$ac_c_werror_flag"
23621 || test ! -s conftest.err'
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); }; } &&
23627 { ac_try='test -s conftest$ac_exeext'
23628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23629 (eval $ac_try) 2>&5
23630 ac_status=$?
23631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23632 (exit $ac_status); }; }; then
23633 eval "$as_ac_var=yes"
23634 else
23635 echo "$as_me: failed program was:" >&5
23636 sed 's/^/| /' conftest.$ac_ext >&5
23638 eval "$as_ac_var=no"
23640 rm -f conftest.err conftest.$ac_objext \
23641 conftest$ac_exeext conftest.$ac_ext
23643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23645 if test `eval echo '${'$as_ac_var'}'` = yes; then
23646 cat >>confdefs.h <<_ACEOF
23647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23648 _ACEOF
23651 done
23661 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
23662 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
23663 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23664 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
23665 echo $ECHO_N "(cached) $ECHO_C" >&6
23666 else
23670 ac_ext=cc
23671 ac_cpp='$CXXCPP $CPPFLAGS'
23672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23676 cat >conftest.$ac_ext <<_ACEOF
23677 /* confdefs.h. */
23678 _ACEOF
23679 cat confdefs.h >>conftest.$ac_ext
23680 cat >>conftest.$ac_ext <<_ACEOF
23681 /* end confdefs.h. */
23682 #include <math.h>
23684 main ()
23686 hypotf(0, 0);
23688 return 0;
23690 _ACEOF
23691 rm -f conftest.$ac_objext
23692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23693 (eval $ac_compile) 2>conftest.er1
23694 ac_status=$?
23695 grep -v '^ *+' conftest.er1 >conftest.err
23696 rm -f conftest.er1
23697 cat conftest.err >&5
23698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23699 (exit $ac_status); } &&
23700 { ac_try='test -z "$ac_cxx_werror_flag"
23701 || test ! -s conftest.err'
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); }; } &&
23707 { ac_try='test -s conftest.$ac_objext'
23708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23709 (eval $ac_try) 2>&5
23710 ac_status=$?
23711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23712 (exit $ac_status); }; }; then
23713 glibcxx_cv_func_hypotf_use=yes
23714 else
23715 echo "$as_me: failed program was:" >&5
23716 sed 's/^/| /' conftest.$ac_ext >&5
23718 glibcxx_cv_func_hypotf_use=no
23720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23721 ac_ext=c
23722 ac_cpp='$CPP $CPPFLAGS'
23723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23731 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
23732 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
23734 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23736 for ac_func in hypotf
23738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23739 echo "$as_me:$LINENO: checking for $ac_func" >&5
23740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23741 if eval "test \"\${$as_ac_var+set}\" = set"; then
23742 echo $ECHO_N "(cached) $ECHO_C" >&6
23743 else
23744 if test x$gcc_no_link = xyes; then
23745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23747 { (exit 1); exit 1; }; }
23749 cat >conftest.$ac_ext <<_ACEOF
23750 /* confdefs.h. */
23751 _ACEOF
23752 cat confdefs.h >>conftest.$ac_ext
23753 cat >>conftest.$ac_ext <<_ACEOF
23754 /* end confdefs.h. */
23755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23757 #define $ac_func innocuous_$ac_func
23759 /* System header to define __stub macros and hopefully few prototypes,
23760 which can conflict with char $ac_func (); below.
23761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23762 <limits.h> exists even on freestanding compilers. */
23764 #ifdef __STDC__
23765 # include <limits.h>
23766 #else
23767 # include <assert.h>
23768 #endif
23770 #undef $ac_func
23772 /* Override any gcc2 internal prototype to avoid an error. */
23773 #ifdef __cplusplus
23774 extern "C"
23776 #endif
23777 /* We use char because int might match the return type of a gcc2
23778 builtin and then its argument prototype would still apply. */
23779 char $ac_func ();
23780 /* The GNU C library defines this for functions which it implements
23781 to always fail with ENOSYS. Some functions are actually named
23782 something starting with __ and the normal name is an alias. */
23783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23784 choke me
23785 #else
23786 char (*f) () = $ac_func;
23787 #endif
23788 #ifdef __cplusplus
23790 #endif
23793 main ()
23795 return f != $ac_func;
23797 return 0;
23799 _ACEOF
23800 rm -f conftest.$ac_objext conftest$ac_exeext
23801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23802 (eval $ac_link) 2>conftest.er1
23803 ac_status=$?
23804 grep -v '^ *+' conftest.er1 >conftest.err
23805 rm -f conftest.er1
23806 cat conftest.err >&5
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); } &&
23809 { ac_try='test -z "$ac_c_werror_flag"
23810 || test ! -s conftest.err'
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); }; } &&
23816 { ac_try='test -s conftest$ac_exeext'
23817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23818 (eval $ac_try) 2>&5
23819 ac_status=$?
23820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23821 (exit $ac_status); }; }; then
23822 eval "$as_ac_var=yes"
23823 else
23824 echo "$as_me: failed program was:" >&5
23825 sed 's/^/| /' conftest.$ac_ext >&5
23827 eval "$as_ac_var=no"
23829 rm -f conftest.err conftest.$ac_objext \
23830 conftest$ac_exeext conftest.$ac_ext
23832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23834 if test `eval echo '${'$as_ac_var'}'` = yes; then
23835 cat >>confdefs.h <<_ACEOF
23836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23837 _ACEOF
23840 done
23842 else
23844 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
23845 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
23846 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23847 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
23848 echo $ECHO_N "(cached) $ECHO_C" >&6
23849 else
23853 ac_ext=cc
23854 ac_cpp='$CXXCPP $CPPFLAGS'
23855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23859 cat >conftest.$ac_ext <<_ACEOF
23860 /* confdefs.h. */
23861 _ACEOF
23862 cat confdefs.h >>conftest.$ac_ext
23863 cat >>conftest.$ac_ext <<_ACEOF
23864 /* end confdefs.h. */
23865 #include <math.h>
23867 main ()
23869 _hypotf(0, 0);
23871 return 0;
23873 _ACEOF
23874 rm -f conftest.$ac_objext
23875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23876 (eval $ac_compile) 2>conftest.er1
23877 ac_status=$?
23878 grep -v '^ *+' conftest.er1 >conftest.err
23879 rm -f conftest.er1
23880 cat conftest.err >&5
23881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23882 (exit $ac_status); } &&
23883 { ac_try='test -z "$ac_cxx_werror_flag"
23884 || test ! -s conftest.err'
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); }; } &&
23890 { ac_try='test -s conftest.$ac_objext'
23891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23892 (eval $ac_try) 2>&5
23893 ac_status=$?
23894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23895 (exit $ac_status); }; }; then
23896 glibcxx_cv_func__hypotf_use=yes
23897 else
23898 echo "$as_me: failed program was:" >&5
23899 sed 's/^/| /' conftest.$ac_ext >&5
23901 glibcxx_cv_func__hypotf_use=no
23903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23904 ac_ext=c
23905 ac_cpp='$CPP $CPPFLAGS'
23906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23914 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
23915 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
23917 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23919 for ac_func in _hypotf
23921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23922 echo "$as_me:$LINENO: checking for $ac_func" >&5
23923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23924 if eval "test \"\${$as_ac_var+set}\" = set"; then
23925 echo $ECHO_N "(cached) $ECHO_C" >&6
23926 else
23927 if test x$gcc_no_link = xyes; then
23928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23930 { (exit 1); exit 1; }; }
23932 cat >conftest.$ac_ext <<_ACEOF
23933 /* confdefs.h. */
23934 _ACEOF
23935 cat confdefs.h >>conftest.$ac_ext
23936 cat >>conftest.$ac_ext <<_ACEOF
23937 /* end confdefs.h. */
23938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23940 #define $ac_func innocuous_$ac_func
23942 /* System header to define __stub macros and hopefully few prototypes,
23943 which can conflict with char $ac_func (); below.
23944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23945 <limits.h> exists even on freestanding compilers. */
23947 #ifdef __STDC__
23948 # include <limits.h>
23949 #else
23950 # include <assert.h>
23951 #endif
23953 #undef $ac_func
23955 /* Override any gcc2 internal prototype to avoid an error. */
23956 #ifdef __cplusplus
23957 extern "C"
23959 #endif
23960 /* We use char because int might match the return type of a gcc2
23961 builtin and then its argument prototype would still apply. */
23962 char $ac_func ();
23963 /* The GNU C library defines this for functions which it implements
23964 to always fail with ENOSYS. Some functions are actually named
23965 something starting with __ and the normal name is an alias. */
23966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23967 choke me
23968 #else
23969 char (*f) () = $ac_func;
23970 #endif
23971 #ifdef __cplusplus
23973 #endif
23976 main ()
23978 return f != $ac_func;
23980 return 0;
23982 _ACEOF
23983 rm -f conftest.$ac_objext conftest$ac_exeext
23984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23985 (eval $ac_link) 2>conftest.er1
23986 ac_status=$?
23987 grep -v '^ *+' conftest.er1 >conftest.err
23988 rm -f conftest.er1
23989 cat conftest.err >&5
23990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23991 (exit $ac_status); } &&
23992 { ac_try='test -z "$ac_c_werror_flag"
23993 || test ! -s conftest.err'
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); }; } &&
23999 { ac_try='test -s conftest$ac_exeext'
24000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24001 (eval $ac_try) 2>&5
24002 ac_status=$?
24003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24004 (exit $ac_status); }; }; then
24005 eval "$as_ac_var=yes"
24006 else
24007 echo "$as_me: failed program was:" >&5
24008 sed 's/^/| /' conftest.$ac_ext >&5
24010 eval "$as_ac_var=no"
24012 rm -f conftest.err conftest.$ac_objext \
24013 conftest$ac_exeext conftest.$ac_ext
24015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24017 if test `eval echo '${'$as_ac_var'}'` = yes; then
24018 cat >>confdefs.h <<_ACEOF
24019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24020 _ACEOF
24023 done
24033 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
24034 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
24035 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24036 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
24037 echo $ECHO_N "(cached) $ECHO_C" >&6
24038 else
24042 ac_ext=cc
24043 ac_cpp='$CXXCPP $CPPFLAGS'
24044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24048 cat >conftest.$ac_ext <<_ACEOF
24049 /* confdefs.h. */
24050 _ACEOF
24051 cat confdefs.h >>conftest.$ac_ext
24052 cat >>conftest.$ac_ext <<_ACEOF
24053 /* end confdefs.h. */
24054 #include <math.h>
24056 main ()
24058 ldexpf(0, 0);
24060 return 0;
24062 _ACEOF
24063 rm -f conftest.$ac_objext
24064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24065 (eval $ac_compile) 2>conftest.er1
24066 ac_status=$?
24067 grep -v '^ *+' conftest.er1 >conftest.err
24068 rm -f conftest.er1
24069 cat conftest.err >&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); } &&
24072 { ac_try='test -z "$ac_cxx_werror_flag"
24073 || test ! -s conftest.err'
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); }; } &&
24079 { ac_try='test -s conftest.$ac_objext'
24080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24081 (eval $ac_try) 2>&5
24082 ac_status=$?
24083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24084 (exit $ac_status); }; }; then
24085 glibcxx_cv_func_ldexpf_use=yes
24086 else
24087 echo "$as_me: failed program was:" >&5
24088 sed 's/^/| /' conftest.$ac_ext >&5
24090 glibcxx_cv_func_ldexpf_use=no
24092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24093 ac_ext=c
24094 ac_cpp='$CPP $CPPFLAGS'
24095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24103 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
24104 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
24106 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24108 for ac_func in ldexpf
24110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24111 echo "$as_me:$LINENO: checking for $ac_func" >&5
24112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24113 if eval "test \"\${$as_ac_var+set}\" = set"; then
24114 echo $ECHO_N "(cached) $ECHO_C" >&6
24115 else
24116 if test x$gcc_no_link = xyes; then
24117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24119 { (exit 1); exit 1; }; }
24121 cat >conftest.$ac_ext <<_ACEOF
24122 /* confdefs.h. */
24123 _ACEOF
24124 cat confdefs.h >>conftest.$ac_ext
24125 cat >>conftest.$ac_ext <<_ACEOF
24126 /* end confdefs.h. */
24127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24129 #define $ac_func innocuous_$ac_func
24131 /* System header to define __stub macros and hopefully few prototypes,
24132 which can conflict with char $ac_func (); below.
24133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24134 <limits.h> exists even on freestanding compilers. */
24136 #ifdef __STDC__
24137 # include <limits.h>
24138 #else
24139 # include <assert.h>
24140 #endif
24142 #undef $ac_func
24144 /* Override any gcc2 internal prototype to avoid an error. */
24145 #ifdef __cplusplus
24146 extern "C"
24148 #endif
24149 /* We use char because int might match the return type of a gcc2
24150 builtin and then its argument prototype would still apply. */
24151 char $ac_func ();
24152 /* The GNU C library defines this for functions which it implements
24153 to always fail with ENOSYS. Some functions are actually named
24154 something starting with __ and the normal name is an alias. */
24155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24156 choke me
24157 #else
24158 char (*f) () = $ac_func;
24159 #endif
24160 #ifdef __cplusplus
24162 #endif
24165 main ()
24167 return f != $ac_func;
24169 return 0;
24171 _ACEOF
24172 rm -f conftest.$ac_objext conftest$ac_exeext
24173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24174 (eval $ac_link) 2>conftest.er1
24175 ac_status=$?
24176 grep -v '^ *+' conftest.er1 >conftest.err
24177 rm -f conftest.er1
24178 cat conftest.err >&5
24179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24180 (exit $ac_status); } &&
24181 { ac_try='test -z "$ac_c_werror_flag"
24182 || test ! -s conftest.err'
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); }; } &&
24188 { ac_try='test -s conftest$ac_exeext'
24189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24190 (eval $ac_try) 2>&5
24191 ac_status=$?
24192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24193 (exit $ac_status); }; }; then
24194 eval "$as_ac_var=yes"
24195 else
24196 echo "$as_me: failed program was:" >&5
24197 sed 's/^/| /' conftest.$ac_ext >&5
24199 eval "$as_ac_var=no"
24201 rm -f conftest.err conftest.$ac_objext \
24202 conftest$ac_exeext conftest.$ac_ext
24204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24206 if test `eval echo '${'$as_ac_var'}'` = yes; then
24207 cat >>confdefs.h <<_ACEOF
24208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24209 _ACEOF
24212 done
24214 else
24216 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
24217 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
24218 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24219 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
24220 echo $ECHO_N "(cached) $ECHO_C" >&6
24221 else
24225 ac_ext=cc
24226 ac_cpp='$CXXCPP $CPPFLAGS'
24227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24231 cat >conftest.$ac_ext <<_ACEOF
24232 /* confdefs.h. */
24233 _ACEOF
24234 cat confdefs.h >>conftest.$ac_ext
24235 cat >>conftest.$ac_ext <<_ACEOF
24236 /* end confdefs.h. */
24237 #include <math.h>
24239 main ()
24241 _ldexpf(0, 0);
24243 return 0;
24245 _ACEOF
24246 rm -f conftest.$ac_objext
24247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24248 (eval $ac_compile) 2>conftest.er1
24249 ac_status=$?
24250 grep -v '^ *+' conftest.er1 >conftest.err
24251 rm -f conftest.er1
24252 cat conftest.err >&5
24253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24254 (exit $ac_status); } &&
24255 { ac_try='test -z "$ac_cxx_werror_flag"
24256 || test ! -s conftest.err'
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); }; } &&
24262 { ac_try='test -s conftest.$ac_objext'
24263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24264 (eval $ac_try) 2>&5
24265 ac_status=$?
24266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24267 (exit $ac_status); }; }; then
24268 glibcxx_cv_func__ldexpf_use=yes
24269 else
24270 echo "$as_me: failed program was:" >&5
24271 sed 's/^/| /' conftest.$ac_ext >&5
24273 glibcxx_cv_func__ldexpf_use=no
24275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24276 ac_ext=c
24277 ac_cpp='$CPP $CPPFLAGS'
24278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24286 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
24287 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
24289 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24291 for ac_func in _ldexpf
24293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24294 echo "$as_me:$LINENO: checking for $ac_func" >&5
24295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24296 if eval "test \"\${$as_ac_var+set}\" = set"; then
24297 echo $ECHO_N "(cached) $ECHO_C" >&6
24298 else
24299 if test x$gcc_no_link = xyes; then
24300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24302 { (exit 1); exit 1; }; }
24304 cat >conftest.$ac_ext <<_ACEOF
24305 /* confdefs.h. */
24306 _ACEOF
24307 cat confdefs.h >>conftest.$ac_ext
24308 cat >>conftest.$ac_ext <<_ACEOF
24309 /* end confdefs.h. */
24310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24312 #define $ac_func innocuous_$ac_func
24314 /* System header to define __stub macros and hopefully few prototypes,
24315 which can conflict with char $ac_func (); below.
24316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24317 <limits.h> exists even on freestanding compilers. */
24319 #ifdef __STDC__
24320 # include <limits.h>
24321 #else
24322 # include <assert.h>
24323 #endif
24325 #undef $ac_func
24327 /* Override any gcc2 internal prototype to avoid an error. */
24328 #ifdef __cplusplus
24329 extern "C"
24331 #endif
24332 /* We use char because int might match the return type of a gcc2
24333 builtin and then its argument prototype would still apply. */
24334 char $ac_func ();
24335 /* The GNU C library defines this for functions which it implements
24336 to always fail with ENOSYS. Some functions are actually named
24337 something starting with __ and the normal name is an alias. */
24338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24339 choke me
24340 #else
24341 char (*f) () = $ac_func;
24342 #endif
24343 #ifdef __cplusplus
24345 #endif
24348 main ()
24350 return f != $ac_func;
24352 return 0;
24354 _ACEOF
24355 rm -f conftest.$ac_objext conftest$ac_exeext
24356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24357 (eval $ac_link) 2>conftest.er1
24358 ac_status=$?
24359 grep -v '^ *+' conftest.er1 >conftest.err
24360 rm -f conftest.er1
24361 cat conftest.err >&5
24362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24363 (exit $ac_status); } &&
24364 { ac_try='test -z "$ac_c_werror_flag"
24365 || test ! -s conftest.err'
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); }; } &&
24371 { ac_try='test -s conftest$ac_exeext'
24372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24373 (eval $ac_try) 2>&5
24374 ac_status=$?
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); }; }; then
24377 eval "$as_ac_var=yes"
24378 else
24379 echo "$as_me: failed program was:" >&5
24380 sed 's/^/| /' conftest.$ac_ext >&5
24382 eval "$as_ac_var=no"
24384 rm -f conftest.err conftest.$ac_objext \
24385 conftest$ac_exeext conftest.$ac_ext
24387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24389 if test `eval echo '${'$as_ac_var'}'` = yes; then
24390 cat >>confdefs.h <<_ACEOF
24391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24392 _ACEOF
24395 done
24405 echo "$as_me:$LINENO: checking for logf declaration" >&5
24406 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
24407 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24408 if test "${glibcxx_cv_func_logf_use+set}" = set; then
24409 echo $ECHO_N "(cached) $ECHO_C" >&6
24410 else
24414 ac_ext=cc
24415 ac_cpp='$CXXCPP $CPPFLAGS'
24416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24420 cat >conftest.$ac_ext <<_ACEOF
24421 /* confdefs.h. */
24422 _ACEOF
24423 cat confdefs.h >>conftest.$ac_ext
24424 cat >>conftest.$ac_ext <<_ACEOF
24425 /* end confdefs.h. */
24426 #include <math.h>
24427 #ifdef HAVE_IEEEFP_H
24428 #include <ieeefp.h>
24429 #endif
24432 main ()
24434 logf(0);
24436 return 0;
24438 _ACEOF
24439 rm -f conftest.$ac_objext
24440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24441 (eval $ac_compile) 2>conftest.er1
24442 ac_status=$?
24443 grep -v '^ *+' conftest.er1 >conftest.err
24444 rm -f conftest.er1
24445 cat conftest.err >&5
24446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24447 (exit $ac_status); } &&
24448 { ac_try='test -z "$ac_cxx_werror_flag"
24449 || test ! -s conftest.err'
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); }; } &&
24455 { ac_try='test -s conftest.$ac_objext'
24456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24457 (eval $ac_try) 2>&5
24458 ac_status=$?
24459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24460 (exit $ac_status); }; }; then
24461 glibcxx_cv_func_logf_use=yes
24462 else
24463 echo "$as_me: failed program was:" >&5
24464 sed 's/^/| /' conftest.$ac_ext >&5
24466 glibcxx_cv_func_logf_use=no
24468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24469 ac_ext=c
24470 ac_cpp='$CPP $CPPFLAGS'
24471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24479 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
24480 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
24482 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24484 for ac_func in logf
24486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24487 echo "$as_me:$LINENO: checking for $ac_func" >&5
24488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24489 if eval "test \"\${$as_ac_var+set}\" = set"; then
24490 echo $ECHO_N "(cached) $ECHO_C" >&6
24491 else
24492 if test x$gcc_no_link = xyes; then
24493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24495 { (exit 1); exit 1; }; }
24497 cat >conftest.$ac_ext <<_ACEOF
24498 /* confdefs.h. */
24499 _ACEOF
24500 cat confdefs.h >>conftest.$ac_ext
24501 cat >>conftest.$ac_ext <<_ACEOF
24502 /* end confdefs.h. */
24503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24505 #define $ac_func innocuous_$ac_func
24507 /* System header to define __stub macros and hopefully few prototypes,
24508 which can conflict with char $ac_func (); below.
24509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24510 <limits.h> exists even on freestanding compilers. */
24512 #ifdef __STDC__
24513 # include <limits.h>
24514 #else
24515 # include <assert.h>
24516 #endif
24518 #undef $ac_func
24520 /* Override any gcc2 internal prototype to avoid an error. */
24521 #ifdef __cplusplus
24522 extern "C"
24524 #endif
24525 /* We use char because int might match the return type of a gcc2
24526 builtin and then its argument prototype would still apply. */
24527 char $ac_func ();
24528 /* The GNU C library defines this for functions which it implements
24529 to always fail with ENOSYS. Some functions are actually named
24530 something starting with __ and the normal name is an alias. */
24531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24532 choke me
24533 #else
24534 char (*f) () = $ac_func;
24535 #endif
24536 #ifdef __cplusplus
24538 #endif
24541 main ()
24543 return f != $ac_func;
24545 return 0;
24547 _ACEOF
24548 rm -f conftest.$ac_objext conftest$ac_exeext
24549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24550 (eval $ac_link) 2>conftest.er1
24551 ac_status=$?
24552 grep -v '^ *+' conftest.er1 >conftest.err
24553 rm -f conftest.er1
24554 cat conftest.err >&5
24555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556 (exit $ac_status); } &&
24557 { ac_try='test -z "$ac_c_werror_flag"
24558 || test ! -s conftest.err'
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); }; } &&
24564 { ac_try='test -s conftest$ac_exeext'
24565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24566 (eval $ac_try) 2>&5
24567 ac_status=$?
24568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24569 (exit $ac_status); }; }; then
24570 eval "$as_ac_var=yes"
24571 else
24572 echo "$as_me: failed program was:" >&5
24573 sed 's/^/| /' conftest.$ac_ext >&5
24575 eval "$as_ac_var=no"
24577 rm -f conftest.err conftest.$ac_objext \
24578 conftest$ac_exeext conftest.$ac_ext
24580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24582 if test `eval echo '${'$as_ac_var'}'` = yes; then
24583 cat >>confdefs.h <<_ACEOF
24584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24585 _ACEOF
24588 done
24590 else
24592 echo "$as_me:$LINENO: checking for _logf declaration" >&5
24593 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
24594 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24595 if test "${glibcxx_cv_func__logf_use+set}" = set; then
24596 echo $ECHO_N "(cached) $ECHO_C" >&6
24597 else
24601 ac_ext=cc
24602 ac_cpp='$CXXCPP $CPPFLAGS'
24603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24607 cat >conftest.$ac_ext <<_ACEOF
24608 /* confdefs.h. */
24609 _ACEOF
24610 cat confdefs.h >>conftest.$ac_ext
24611 cat >>conftest.$ac_ext <<_ACEOF
24612 /* end confdefs.h. */
24613 #include <math.h>
24614 #ifdef HAVE_IEEEFP_H
24615 #include <ieeefp.h>
24616 #endif
24619 main ()
24621 _logf(0);
24623 return 0;
24625 _ACEOF
24626 rm -f conftest.$ac_objext
24627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24628 (eval $ac_compile) 2>conftest.er1
24629 ac_status=$?
24630 grep -v '^ *+' conftest.er1 >conftest.err
24631 rm -f conftest.er1
24632 cat conftest.err >&5
24633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24634 (exit $ac_status); } &&
24635 { ac_try='test -z "$ac_cxx_werror_flag"
24636 || test ! -s conftest.err'
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); }; } &&
24642 { ac_try='test -s conftest.$ac_objext'
24643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24644 (eval $ac_try) 2>&5
24645 ac_status=$?
24646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24647 (exit $ac_status); }; }; then
24648 glibcxx_cv_func__logf_use=yes
24649 else
24650 echo "$as_me: failed program was:" >&5
24651 sed 's/^/| /' conftest.$ac_ext >&5
24653 glibcxx_cv_func__logf_use=no
24655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24656 ac_ext=c
24657 ac_cpp='$CPP $CPPFLAGS'
24658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24666 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
24667 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
24669 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24671 for ac_func in _logf
24673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24674 echo "$as_me:$LINENO: checking for $ac_func" >&5
24675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24676 if eval "test \"\${$as_ac_var+set}\" = set"; then
24677 echo $ECHO_N "(cached) $ECHO_C" >&6
24678 else
24679 if test x$gcc_no_link = xyes; then
24680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24682 { (exit 1); exit 1; }; }
24684 cat >conftest.$ac_ext <<_ACEOF
24685 /* confdefs.h. */
24686 _ACEOF
24687 cat confdefs.h >>conftest.$ac_ext
24688 cat >>conftest.$ac_ext <<_ACEOF
24689 /* end confdefs.h. */
24690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24692 #define $ac_func innocuous_$ac_func
24694 /* System header to define __stub macros and hopefully few prototypes,
24695 which can conflict with char $ac_func (); below.
24696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24697 <limits.h> exists even on freestanding compilers. */
24699 #ifdef __STDC__
24700 # include <limits.h>
24701 #else
24702 # include <assert.h>
24703 #endif
24705 #undef $ac_func
24707 /* Override any gcc2 internal prototype to avoid an error. */
24708 #ifdef __cplusplus
24709 extern "C"
24711 #endif
24712 /* We use char because int might match the return type of a gcc2
24713 builtin and then its argument prototype would still apply. */
24714 char $ac_func ();
24715 /* The GNU C library defines this for functions which it implements
24716 to always fail with ENOSYS. Some functions are actually named
24717 something starting with __ and the normal name is an alias. */
24718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24719 choke me
24720 #else
24721 char (*f) () = $ac_func;
24722 #endif
24723 #ifdef __cplusplus
24725 #endif
24728 main ()
24730 return f != $ac_func;
24732 return 0;
24734 _ACEOF
24735 rm -f conftest.$ac_objext conftest$ac_exeext
24736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24737 (eval $ac_link) 2>conftest.er1
24738 ac_status=$?
24739 grep -v '^ *+' conftest.er1 >conftest.err
24740 rm -f conftest.er1
24741 cat conftest.err >&5
24742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24743 (exit $ac_status); } &&
24744 { ac_try='test -z "$ac_c_werror_flag"
24745 || test ! -s conftest.err'
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); }; } &&
24751 { ac_try='test -s conftest$ac_exeext'
24752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24753 (eval $ac_try) 2>&5
24754 ac_status=$?
24755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24756 (exit $ac_status); }; }; then
24757 eval "$as_ac_var=yes"
24758 else
24759 echo "$as_me: failed program was:" >&5
24760 sed 's/^/| /' conftest.$ac_ext >&5
24762 eval "$as_ac_var=no"
24764 rm -f conftest.err conftest.$ac_objext \
24765 conftest$ac_exeext conftest.$ac_ext
24767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24769 if test `eval echo '${'$as_ac_var'}'` = yes; then
24770 cat >>confdefs.h <<_ACEOF
24771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24772 _ACEOF
24775 done
24785 echo "$as_me:$LINENO: checking for log10f declaration" >&5
24786 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
24787 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24788 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
24789 echo $ECHO_N "(cached) $ECHO_C" >&6
24790 else
24794 ac_ext=cc
24795 ac_cpp='$CXXCPP $CPPFLAGS'
24796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24800 cat >conftest.$ac_ext <<_ACEOF
24801 /* confdefs.h. */
24802 _ACEOF
24803 cat confdefs.h >>conftest.$ac_ext
24804 cat >>conftest.$ac_ext <<_ACEOF
24805 /* end confdefs.h. */
24806 #include <math.h>
24807 #ifdef HAVE_IEEEFP_H
24808 #include <ieeefp.h>
24809 #endif
24812 main ()
24814 log10f(0);
24816 return 0;
24818 _ACEOF
24819 rm -f conftest.$ac_objext
24820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24821 (eval $ac_compile) 2>conftest.er1
24822 ac_status=$?
24823 grep -v '^ *+' conftest.er1 >conftest.err
24824 rm -f conftest.er1
24825 cat conftest.err >&5
24826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24827 (exit $ac_status); } &&
24828 { ac_try='test -z "$ac_cxx_werror_flag"
24829 || test ! -s conftest.err'
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); }; } &&
24835 { ac_try='test -s conftest.$ac_objext'
24836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24837 (eval $ac_try) 2>&5
24838 ac_status=$?
24839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24840 (exit $ac_status); }; }; then
24841 glibcxx_cv_func_log10f_use=yes
24842 else
24843 echo "$as_me: failed program was:" >&5
24844 sed 's/^/| /' conftest.$ac_ext >&5
24846 glibcxx_cv_func_log10f_use=no
24848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24849 ac_ext=c
24850 ac_cpp='$CPP $CPPFLAGS'
24851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24859 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
24860 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
24862 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24864 for ac_func in log10f
24866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24867 echo "$as_me:$LINENO: checking for $ac_func" >&5
24868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24869 if eval "test \"\${$as_ac_var+set}\" = set"; then
24870 echo $ECHO_N "(cached) $ECHO_C" >&6
24871 else
24872 if test x$gcc_no_link = xyes; then
24873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24875 { (exit 1); exit 1; }; }
24877 cat >conftest.$ac_ext <<_ACEOF
24878 /* confdefs.h. */
24879 _ACEOF
24880 cat confdefs.h >>conftest.$ac_ext
24881 cat >>conftest.$ac_ext <<_ACEOF
24882 /* end confdefs.h. */
24883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24885 #define $ac_func innocuous_$ac_func
24887 /* System header to define __stub macros and hopefully few prototypes,
24888 which can conflict with char $ac_func (); below.
24889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24890 <limits.h> exists even on freestanding compilers. */
24892 #ifdef __STDC__
24893 # include <limits.h>
24894 #else
24895 # include <assert.h>
24896 #endif
24898 #undef $ac_func
24900 /* Override any gcc2 internal prototype to avoid an error. */
24901 #ifdef __cplusplus
24902 extern "C"
24904 #endif
24905 /* We use char because int might match the return type of a gcc2
24906 builtin and then its argument prototype would still apply. */
24907 char $ac_func ();
24908 /* The GNU C library defines this for functions which it implements
24909 to always fail with ENOSYS. Some functions are actually named
24910 something starting with __ and the normal name is an alias. */
24911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24912 choke me
24913 #else
24914 char (*f) () = $ac_func;
24915 #endif
24916 #ifdef __cplusplus
24918 #endif
24921 main ()
24923 return f != $ac_func;
24925 return 0;
24927 _ACEOF
24928 rm -f conftest.$ac_objext conftest$ac_exeext
24929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24930 (eval $ac_link) 2>conftest.er1
24931 ac_status=$?
24932 grep -v '^ *+' conftest.er1 >conftest.err
24933 rm -f conftest.er1
24934 cat conftest.err >&5
24935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24936 (exit $ac_status); } &&
24937 { ac_try='test -z "$ac_c_werror_flag"
24938 || test ! -s conftest.err'
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); }; } &&
24944 { ac_try='test -s conftest$ac_exeext'
24945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24946 (eval $ac_try) 2>&5
24947 ac_status=$?
24948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24949 (exit $ac_status); }; }; then
24950 eval "$as_ac_var=yes"
24951 else
24952 echo "$as_me: failed program was:" >&5
24953 sed 's/^/| /' conftest.$ac_ext >&5
24955 eval "$as_ac_var=no"
24957 rm -f conftest.err conftest.$ac_objext \
24958 conftest$ac_exeext conftest.$ac_ext
24960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24962 if test `eval echo '${'$as_ac_var'}'` = yes; then
24963 cat >>confdefs.h <<_ACEOF
24964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24965 _ACEOF
24968 done
24970 else
24972 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
24973 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
24974 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24975 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
24976 echo $ECHO_N "(cached) $ECHO_C" >&6
24977 else
24981 ac_ext=cc
24982 ac_cpp='$CXXCPP $CPPFLAGS'
24983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24987 cat >conftest.$ac_ext <<_ACEOF
24988 /* confdefs.h. */
24989 _ACEOF
24990 cat confdefs.h >>conftest.$ac_ext
24991 cat >>conftest.$ac_ext <<_ACEOF
24992 /* end confdefs.h. */
24993 #include <math.h>
24994 #ifdef HAVE_IEEEFP_H
24995 #include <ieeefp.h>
24996 #endif
24999 main ()
25001 _log10f(0);
25003 return 0;
25005 _ACEOF
25006 rm -f conftest.$ac_objext
25007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25008 (eval $ac_compile) 2>conftest.er1
25009 ac_status=$?
25010 grep -v '^ *+' conftest.er1 >conftest.err
25011 rm -f conftest.er1
25012 cat conftest.err >&5
25013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25014 (exit $ac_status); } &&
25015 { ac_try='test -z "$ac_cxx_werror_flag"
25016 || test ! -s conftest.err'
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); }; } &&
25022 { ac_try='test -s conftest.$ac_objext'
25023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25024 (eval $ac_try) 2>&5
25025 ac_status=$?
25026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25027 (exit $ac_status); }; }; then
25028 glibcxx_cv_func__log10f_use=yes
25029 else
25030 echo "$as_me: failed program was:" >&5
25031 sed 's/^/| /' conftest.$ac_ext >&5
25033 glibcxx_cv_func__log10f_use=no
25035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25036 ac_ext=c
25037 ac_cpp='$CPP $CPPFLAGS'
25038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25046 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
25047 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
25049 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25051 for ac_func in _log10f
25053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25054 echo "$as_me:$LINENO: checking for $ac_func" >&5
25055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25056 if eval "test \"\${$as_ac_var+set}\" = set"; then
25057 echo $ECHO_N "(cached) $ECHO_C" >&6
25058 else
25059 if test x$gcc_no_link = xyes; then
25060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25062 { (exit 1); exit 1; }; }
25064 cat >conftest.$ac_ext <<_ACEOF
25065 /* confdefs.h. */
25066 _ACEOF
25067 cat confdefs.h >>conftest.$ac_ext
25068 cat >>conftest.$ac_ext <<_ACEOF
25069 /* end confdefs.h. */
25070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25072 #define $ac_func innocuous_$ac_func
25074 /* System header to define __stub macros and hopefully few prototypes,
25075 which can conflict with char $ac_func (); below.
25076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25077 <limits.h> exists even on freestanding compilers. */
25079 #ifdef __STDC__
25080 # include <limits.h>
25081 #else
25082 # include <assert.h>
25083 #endif
25085 #undef $ac_func
25087 /* Override any gcc2 internal prototype to avoid an error. */
25088 #ifdef __cplusplus
25089 extern "C"
25091 #endif
25092 /* We use char because int might match the return type of a gcc2
25093 builtin and then its argument prototype would still apply. */
25094 char $ac_func ();
25095 /* The GNU C library defines this for functions which it implements
25096 to always fail with ENOSYS. Some functions are actually named
25097 something starting with __ and the normal name is an alias. */
25098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25099 choke me
25100 #else
25101 char (*f) () = $ac_func;
25102 #endif
25103 #ifdef __cplusplus
25105 #endif
25108 main ()
25110 return f != $ac_func;
25112 return 0;
25114 _ACEOF
25115 rm -f conftest.$ac_objext conftest$ac_exeext
25116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25117 (eval $ac_link) 2>conftest.er1
25118 ac_status=$?
25119 grep -v '^ *+' conftest.er1 >conftest.err
25120 rm -f conftest.er1
25121 cat conftest.err >&5
25122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123 (exit $ac_status); } &&
25124 { ac_try='test -z "$ac_c_werror_flag"
25125 || test ! -s conftest.err'
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); }; } &&
25131 { ac_try='test -s conftest$ac_exeext'
25132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25133 (eval $ac_try) 2>&5
25134 ac_status=$?
25135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25136 (exit $ac_status); }; }; then
25137 eval "$as_ac_var=yes"
25138 else
25139 echo "$as_me: failed program was:" >&5
25140 sed 's/^/| /' conftest.$ac_ext >&5
25142 eval "$as_ac_var=no"
25144 rm -f conftest.err conftest.$ac_objext \
25145 conftest$ac_exeext conftest.$ac_ext
25147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25149 if test `eval echo '${'$as_ac_var'}'` = yes; then
25150 cat >>confdefs.h <<_ACEOF
25151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25152 _ACEOF
25155 done
25165 echo "$as_me:$LINENO: checking for modff declaration" >&5
25166 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
25167 if test x${glibcxx_cv_func_modff_use+set} != xset; then
25168 if test "${glibcxx_cv_func_modff_use+set}" = set; then
25169 echo $ECHO_N "(cached) $ECHO_C" >&6
25170 else
25174 ac_ext=cc
25175 ac_cpp='$CXXCPP $CPPFLAGS'
25176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25180 cat >conftest.$ac_ext <<_ACEOF
25181 /* confdefs.h. */
25182 _ACEOF
25183 cat confdefs.h >>conftest.$ac_ext
25184 cat >>conftest.$ac_ext <<_ACEOF
25185 /* end confdefs.h. */
25186 #include <math.h>
25188 main ()
25190 modff(0, 0);
25192 return 0;
25194 _ACEOF
25195 rm -f conftest.$ac_objext
25196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25197 (eval $ac_compile) 2>conftest.er1
25198 ac_status=$?
25199 grep -v '^ *+' conftest.er1 >conftest.err
25200 rm -f conftest.er1
25201 cat conftest.err >&5
25202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25203 (exit $ac_status); } &&
25204 { ac_try='test -z "$ac_cxx_werror_flag"
25205 || test ! -s conftest.err'
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); }; } &&
25211 { ac_try='test -s conftest.$ac_objext'
25212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25213 (eval $ac_try) 2>&5
25214 ac_status=$?
25215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25216 (exit $ac_status); }; }; then
25217 glibcxx_cv_func_modff_use=yes
25218 else
25219 echo "$as_me: failed program was:" >&5
25220 sed 's/^/| /' conftest.$ac_ext >&5
25222 glibcxx_cv_func_modff_use=no
25224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25225 ac_ext=c
25226 ac_cpp='$CPP $CPPFLAGS'
25227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25235 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
25236 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
25238 if test x$glibcxx_cv_func_modff_use = x"yes"; then
25240 for ac_func in modff
25242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25243 echo "$as_me:$LINENO: checking for $ac_func" >&5
25244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25245 if eval "test \"\${$as_ac_var+set}\" = set"; then
25246 echo $ECHO_N "(cached) $ECHO_C" >&6
25247 else
25248 if test x$gcc_no_link = xyes; then
25249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25251 { (exit 1); exit 1; }; }
25253 cat >conftest.$ac_ext <<_ACEOF
25254 /* confdefs.h. */
25255 _ACEOF
25256 cat confdefs.h >>conftest.$ac_ext
25257 cat >>conftest.$ac_ext <<_ACEOF
25258 /* end confdefs.h. */
25259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25261 #define $ac_func innocuous_$ac_func
25263 /* System header to define __stub macros and hopefully few prototypes,
25264 which can conflict with char $ac_func (); below.
25265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25266 <limits.h> exists even on freestanding compilers. */
25268 #ifdef __STDC__
25269 # include <limits.h>
25270 #else
25271 # include <assert.h>
25272 #endif
25274 #undef $ac_func
25276 /* Override any gcc2 internal prototype to avoid an error. */
25277 #ifdef __cplusplus
25278 extern "C"
25280 #endif
25281 /* We use char because int might match the return type of a gcc2
25282 builtin and then its argument prototype would still apply. */
25283 char $ac_func ();
25284 /* The GNU C library defines this for functions which it implements
25285 to always fail with ENOSYS. Some functions are actually named
25286 something starting with __ and the normal name is an alias. */
25287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25288 choke me
25289 #else
25290 char (*f) () = $ac_func;
25291 #endif
25292 #ifdef __cplusplus
25294 #endif
25297 main ()
25299 return f != $ac_func;
25301 return 0;
25303 _ACEOF
25304 rm -f conftest.$ac_objext conftest$ac_exeext
25305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25306 (eval $ac_link) 2>conftest.er1
25307 ac_status=$?
25308 grep -v '^ *+' conftest.er1 >conftest.err
25309 rm -f conftest.er1
25310 cat conftest.err >&5
25311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25312 (exit $ac_status); } &&
25313 { ac_try='test -z "$ac_c_werror_flag"
25314 || test ! -s conftest.err'
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); }; } &&
25320 { ac_try='test -s conftest$ac_exeext'
25321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25322 (eval $ac_try) 2>&5
25323 ac_status=$?
25324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25325 (exit $ac_status); }; }; then
25326 eval "$as_ac_var=yes"
25327 else
25328 echo "$as_me: failed program was:" >&5
25329 sed 's/^/| /' conftest.$ac_ext >&5
25331 eval "$as_ac_var=no"
25333 rm -f conftest.err conftest.$ac_objext \
25334 conftest$ac_exeext conftest.$ac_ext
25336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25338 if test `eval echo '${'$as_ac_var'}'` = yes; then
25339 cat >>confdefs.h <<_ACEOF
25340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25341 _ACEOF
25344 done
25346 else
25348 echo "$as_me:$LINENO: checking for _modff declaration" >&5
25349 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
25350 if test x${glibcxx_cv_func__modff_use+set} != xset; then
25351 if test "${glibcxx_cv_func__modff_use+set}" = set; then
25352 echo $ECHO_N "(cached) $ECHO_C" >&6
25353 else
25357 ac_ext=cc
25358 ac_cpp='$CXXCPP $CPPFLAGS'
25359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25363 cat >conftest.$ac_ext <<_ACEOF
25364 /* confdefs.h. */
25365 _ACEOF
25366 cat confdefs.h >>conftest.$ac_ext
25367 cat >>conftest.$ac_ext <<_ACEOF
25368 /* end confdefs.h. */
25369 #include <math.h>
25371 main ()
25373 _modff(0, 0);
25375 return 0;
25377 _ACEOF
25378 rm -f conftest.$ac_objext
25379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25380 (eval $ac_compile) 2>conftest.er1
25381 ac_status=$?
25382 grep -v '^ *+' conftest.er1 >conftest.err
25383 rm -f conftest.er1
25384 cat conftest.err >&5
25385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25386 (exit $ac_status); } &&
25387 { ac_try='test -z "$ac_cxx_werror_flag"
25388 || test ! -s conftest.err'
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); }; } &&
25394 { ac_try='test -s conftest.$ac_objext'
25395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25396 (eval $ac_try) 2>&5
25397 ac_status=$?
25398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25399 (exit $ac_status); }; }; then
25400 glibcxx_cv_func__modff_use=yes
25401 else
25402 echo "$as_me: failed program was:" >&5
25403 sed 's/^/| /' conftest.$ac_ext >&5
25405 glibcxx_cv_func__modff_use=no
25407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25408 ac_ext=c
25409 ac_cpp='$CPP $CPPFLAGS'
25410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25418 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
25419 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
25421 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25423 for ac_func in _modff
25425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25426 echo "$as_me:$LINENO: checking for $ac_func" >&5
25427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25428 if eval "test \"\${$as_ac_var+set}\" = set"; then
25429 echo $ECHO_N "(cached) $ECHO_C" >&6
25430 else
25431 if test x$gcc_no_link = xyes; then
25432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25434 { (exit 1); exit 1; }; }
25436 cat >conftest.$ac_ext <<_ACEOF
25437 /* confdefs.h. */
25438 _ACEOF
25439 cat confdefs.h >>conftest.$ac_ext
25440 cat >>conftest.$ac_ext <<_ACEOF
25441 /* end confdefs.h. */
25442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25444 #define $ac_func innocuous_$ac_func
25446 /* System header to define __stub macros and hopefully few prototypes,
25447 which can conflict with char $ac_func (); below.
25448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25449 <limits.h> exists even on freestanding compilers. */
25451 #ifdef __STDC__
25452 # include <limits.h>
25453 #else
25454 # include <assert.h>
25455 #endif
25457 #undef $ac_func
25459 /* Override any gcc2 internal prototype to avoid an error. */
25460 #ifdef __cplusplus
25461 extern "C"
25463 #endif
25464 /* We use char because int might match the return type of a gcc2
25465 builtin and then its argument prototype would still apply. */
25466 char $ac_func ();
25467 /* The GNU C library defines this for functions which it implements
25468 to always fail with ENOSYS. Some functions are actually named
25469 something starting with __ and the normal name is an alias. */
25470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25471 choke me
25472 #else
25473 char (*f) () = $ac_func;
25474 #endif
25475 #ifdef __cplusplus
25477 #endif
25480 main ()
25482 return f != $ac_func;
25484 return 0;
25486 _ACEOF
25487 rm -f conftest.$ac_objext conftest$ac_exeext
25488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25489 (eval $ac_link) 2>conftest.er1
25490 ac_status=$?
25491 grep -v '^ *+' conftest.er1 >conftest.err
25492 rm -f conftest.er1
25493 cat conftest.err >&5
25494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25495 (exit $ac_status); } &&
25496 { ac_try='test -z "$ac_c_werror_flag"
25497 || test ! -s conftest.err'
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); }; } &&
25503 { ac_try='test -s conftest$ac_exeext'
25504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25505 (eval $ac_try) 2>&5
25506 ac_status=$?
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); }; }; then
25509 eval "$as_ac_var=yes"
25510 else
25511 echo "$as_me: failed program was:" >&5
25512 sed 's/^/| /' conftest.$ac_ext >&5
25514 eval "$as_ac_var=no"
25516 rm -f conftest.err conftest.$ac_objext \
25517 conftest$ac_exeext conftest.$ac_ext
25519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25521 if test `eval echo '${'$as_ac_var'}'` = yes; then
25522 cat >>confdefs.h <<_ACEOF
25523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25524 _ACEOF
25527 done
25537 echo "$as_me:$LINENO: checking for modf declaration" >&5
25538 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
25539 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25540 if test "${glibcxx_cv_func_modf_use+set}" = set; then
25541 echo $ECHO_N "(cached) $ECHO_C" >&6
25542 else
25546 ac_ext=cc
25547 ac_cpp='$CXXCPP $CPPFLAGS'
25548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25552 cat >conftest.$ac_ext <<_ACEOF
25553 /* confdefs.h. */
25554 _ACEOF
25555 cat confdefs.h >>conftest.$ac_ext
25556 cat >>conftest.$ac_ext <<_ACEOF
25557 /* end confdefs.h. */
25558 #include <math.h>
25560 main ()
25562 modf(0, 0);
25564 return 0;
25566 _ACEOF
25567 rm -f conftest.$ac_objext
25568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25569 (eval $ac_compile) 2>conftest.er1
25570 ac_status=$?
25571 grep -v '^ *+' conftest.er1 >conftest.err
25572 rm -f conftest.er1
25573 cat conftest.err >&5
25574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25575 (exit $ac_status); } &&
25576 { ac_try='test -z "$ac_cxx_werror_flag"
25577 || test ! -s conftest.err'
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); }; } &&
25583 { ac_try='test -s conftest.$ac_objext'
25584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25585 (eval $ac_try) 2>&5
25586 ac_status=$?
25587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25588 (exit $ac_status); }; }; then
25589 glibcxx_cv_func_modf_use=yes
25590 else
25591 echo "$as_me: failed program was:" >&5
25592 sed 's/^/| /' conftest.$ac_ext >&5
25594 glibcxx_cv_func_modf_use=no
25596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25597 ac_ext=c
25598 ac_cpp='$CPP $CPPFLAGS'
25599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25607 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
25608 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
25610 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25612 for ac_func in modf
25614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25615 echo "$as_me:$LINENO: checking for $ac_func" >&5
25616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25617 if eval "test \"\${$as_ac_var+set}\" = set"; then
25618 echo $ECHO_N "(cached) $ECHO_C" >&6
25619 else
25620 if test x$gcc_no_link = xyes; then
25621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25623 { (exit 1); exit 1; }; }
25625 cat >conftest.$ac_ext <<_ACEOF
25626 /* confdefs.h. */
25627 _ACEOF
25628 cat confdefs.h >>conftest.$ac_ext
25629 cat >>conftest.$ac_ext <<_ACEOF
25630 /* end confdefs.h. */
25631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25633 #define $ac_func innocuous_$ac_func
25635 /* System header to define __stub macros and hopefully few prototypes,
25636 which can conflict with char $ac_func (); below.
25637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25638 <limits.h> exists even on freestanding compilers. */
25640 #ifdef __STDC__
25641 # include <limits.h>
25642 #else
25643 # include <assert.h>
25644 #endif
25646 #undef $ac_func
25648 /* Override any gcc2 internal prototype to avoid an error. */
25649 #ifdef __cplusplus
25650 extern "C"
25652 #endif
25653 /* We use char because int might match the return type of a gcc2
25654 builtin and then its argument prototype would still apply. */
25655 char $ac_func ();
25656 /* The GNU C library defines this for functions which it implements
25657 to always fail with ENOSYS. Some functions are actually named
25658 something starting with __ and the normal name is an alias. */
25659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25660 choke me
25661 #else
25662 char (*f) () = $ac_func;
25663 #endif
25664 #ifdef __cplusplus
25666 #endif
25669 main ()
25671 return f != $ac_func;
25673 return 0;
25675 _ACEOF
25676 rm -f conftest.$ac_objext conftest$ac_exeext
25677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25678 (eval $ac_link) 2>conftest.er1
25679 ac_status=$?
25680 grep -v '^ *+' conftest.er1 >conftest.err
25681 rm -f conftest.er1
25682 cat conftest.err >&5
25683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25684 (exit $ac_status); } &&
25685 { ac_try='test -z "$ac_c_werror_flag"
25686 || test ! -s conftest.err'
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); }; } &&
25692 { ac_try='test -s conftest$ac_exeext'
25693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25694 (eval $ac_try) 2>&5
25695 ac_status=$?
25696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25697 (exit $ac_status); }; }; then
25698 eval "$as_ac_var=yes"
25699 else
25700 echo "$as_me: failed program was:" >&5
25701 sed 's/^/| /' conftest.$ac_ext >&5
25703 eval "$as_ac_var=no"
25705 rm -f conftest.err conftest.$ac_objext \
25706 conftest$ac_exeext conftest.$ac_ext
25708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25710 if test `eval echo '${'$as_ac_var'}'` = yes; then
25711 cat >>confdefs.h <<_ACEOF
25712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25713 _ACEOF
25716 done
25718 else
25720 echo "$as_me:$LINENO: checking for _modf declaration" >&5
25721 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
25722 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25723 if test "${glibcxx_cv_func__modf_use+set}" = set; then
25724 echo $ECHO_N "(cached) $ECHO_C" >&6
25725 else
25729 ac_ext=cc
25730 ac_cpp='$CXXCPP $CPPFLAGS'
25731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25735 cat >conftest.$ac_ext <<_ACEOF
25736 /* confdefs.h. */
25737 _ACEOF
25738 cat confdefs.h >>conftest.$ac_ext
25739 cat >>conftest.$ac_ext <<_ACEOF
25740 /* end confdefs.h. */
25741 #include <math.h>
25743 main ()
25745 _modf(0, 0);
25747 return 0;
25749 _ACEOF
25750 rm -f conftest.$ac_objext
25751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25752 (eval $ac_compile) 2>conftest.er1
25753 ac_status=$?
25754 grep -v '^ *+' conftest.er1 >conftest.err
25755 rm -f conftest.er1
25756 cat conftest.err >&5
25757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25758 (exit $ac_status); } &&
25759 { ac_try='test -z "$ac_cxx_werror_flag"
25760 || test ! -s conftest.err'
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); }; } &&
25766 { ac_try='test -s conftest.$ac_objext'
25767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25768 (eval $ac_try) 2>&5
25769 ac_status=$?
25770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25771 (exit $ac_status); }; }; then
25772 glibcxx_cv_func__modf_use=yes
25773 else
25774 echo "$as_me: failed program was:" >&5
25775 sed 's/^/| /' conftest.$ac_ext >&5
25777 glibcxx_cv_func__modf_use=no
25779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25780 ac_ext=c
25781 ac_cpp='$CPP $CPPFLAGS'
25782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25790 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
25791 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
25793 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25795 for ac_func in _modf
25797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25798 echo "$as_me:$LINENO: checking for $ac_func" >&5
25799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25800 if eval "test \"\${$as_ac_var+set}\" = set"; then
25801 echo $ECHO_N "(cached) $ECHO_C" >&6
25802 else
25803 if test x$gcc_no_link = xyes; then
25804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25806 { (exit 1); exit 1; }; }
25808 cat >conftest.$ac_ext <<_ACEOF
25809 /* confdefs.h. */
25810 _ACEOF
25811 cat confdefs.h >>conftest.$ac_ext
25812 cat >>conftest.$ac_ext <<_ACEOF
25813 /* end confdefs.h. */
25814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25816 #define $ac_func innocuous_$ac_func
25818 /* System header to define __stub macros and hopefully few prototypes,
25819 which can conflict with char $ac_func (); below.
25820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25821 <limits.h> exists even on freestanding compilers. */
25823 #ifdef __STDC__
25824 # include <limits.h>
25825 #else
25826 # include <assert.h>
25827 #endif
25829 #undef $ac_func
25831 /* Override any gcc2 internal prototype to avoid an error. */
25832 #ifdef __cplusplus
25833 extern "C"
25835 #endif
25836 /* We use char because int might match the return type of a gcc2
25837 builtin and then its argument prototype would still apply. */
25838 char $ac_func ();
25839 /* The GNU C library defines this for functions which it implements
25840 to always fail with ENOSYS. Some functions are actually named
25841 something starting with __ and the normal name is an alias. */
25842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25843 choke me
25844 #else
25845 char (*f) () = $ac_func;
25846 #endif
25847 #ifdef __cplusplus
25849 #endif
25852 main ()
25854 return f != $ac_func;
25856 return 0;
25858 _ACEOF
25859 rm -f conftest.$ac_objext conftest$ac_exeext
25860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25861 (eval $ac_link) 2>conftest.er1
25862 ac_status=$?
25863 grep -v '^ *+' conftest.er1 >conftest.err
25864 rm -f conftest.er1
25865 cat conftest.err >&5
25866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25867 (exit $ac_status); } &&
25868 { ac_try='test -z "$ac_c_werror_flag"
25869 || test ! -s conftest.err'
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); }; } &&
25875 { ac_try='test -s conftest$ac_exeext'
25876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25877 (eval $ac_try) 2>&5
25878 ac_status=$?
25879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25880 (exit $ac_status); }; }; then
25881 eval "$as_ac_var=yes"
25882 else
25883 echo "$as_me: failed program was:" >&5
25884 sed 's/^/| /' conftest.$ac_ext >&5
25886 eval "$as_ac_var=no"
25888 rm -f conftest.err conftest.$ac_objext \
25889 conftest$ac_exeext conftest.$ac_ext
25891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25893 if test `eval echo '${'$as_ac_var'}'` = yes; then
25894 cat >>confdefs.h <<_ACEOF
25895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25896 _ACEOF
25899 done
25909 echo "$as_me:$LINENO: checking for powf declaration" >&5
25910 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
25911 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25912 if test "${glibcxx_cv_func_powf_use+set}" = set; then
25913 echo $ECHO_N "(cached) $ECHO_C" >&6
25914 else
25918 ac_ext=cc
25919 ac_cpp='$CXXCPP $CPPFLAGS'
25920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25924 cat >conftest.$ac_ext <<_ACEOF
25925 /* confdefs.h. */
25926 _ACEOF
25927 cat confdefs.h >>conftest.$ac_ext
25928 cat >>conftest.$ac_ext <<_ACEOF
25929 /* end confdefs.h. */
25930 #include <math.h>
25932 main ()
25934 powf(0, 0);
25936 return 0;
25938 _ACEOF
25939 rm -f conftest.$ac_objext
25940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25941 (eval $ac_compile) 2>conftest.er1
25942 ac_status=$?
25943 grep -v '^ *+' conftest.er1 >conftest.err
25944 rm -f conftest.er1
25945 cat conftest.err >&5
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); } &&
25948 { ac_try='test -z "$ac_cxx_werror_flag"
25949 || test ! -s conftest.err'
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); }; } &&
25955 { ac_try='test -s conftest.$ac_objext'
25956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25957 (eval $ac_try) 2>&5
25958 ac_status=$?
25959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25960 (exit $ac_status); }; }; then
25961 glibcxx_cv_func_powf_use=yes
25962 else
25963 echo "$as_me: failed program was:" >&5
25964 sed 's/^/| /' conftest.$ac_ext >&5
25966 glibcxx_cv_func_powf_use=no
25968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25969 ac_ext=c
25970 ac_cpp='$CPP $CPPFLAGS'
25971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25979 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
25980 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
25982 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25984 for ac_func in powf
25986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25987 echo "$as_me:$LINENO: checking for $ac_func" >&5
25988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25989 if eval "test \"\${$as_ac_var+set}\" = set"; then
25990 echo $ECHO_N "(cached) $ECHO_C" >&6
25991 else
25992 if test x$gcc_no_link = xyes; then
25993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25995 { (exit 1); exit 1; }; }
25997 cat >conftest.$ac_ext <<_ACEOF
25998 /* confdefs.h. */
25999 _ACEOF
26000 cat confdefs.h >>conftest.$ac_ext
26001 cat >>conftest.$ac_ext <<_ACEOF
26002 /* end confdefs.h. */
26003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26005 #define $ac_func innocuous_$ac_func
26007 /* System header to define __stub macros and hopefully few prototypes,
26008 which can conflict with char $ac_func (); below.
26009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26010 <limits.h> exists even on freestanding compilers. */
26012 #ifdef __STDC__
26013 # include <limits.h>
26014 #else
26015 # include <assert.h>
26016 #endif
26018 #undef $ac_func
26020 /* Override any gcc2 internal prototype to avoid an error. */
26021 #ifdef __cplusplus
26022 extern "C"
26024 #endif
26025 /* We use char because int might match the return type of a gcc2
26026 builtin and then its argument prototype would still apply. */
26027 char $ac_func ();
26028 /* The GNU C library defines this for functions which it implements
26029 to always fail with ENOSYS. Some functions are actually named
26030 something starting with __ and the normal name is an alias. */
26031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26032 choke me
26033 #else
26034 char (*f) () = $ac_func;
26035 #endif
26036 #ifdef __cplusplus
26038 #endif
26041 main ()
26043 return f != $ac_func;
26045 return 0;
26047 _ACEOF
26048 rm -f conftest.$ac_objext conftest$ac_exeext
26049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26050 (eval $ac_link) 2>conftest.er1
26051 ac_status=$?
26052 grep -v '^ *+' conftest.er1 >conftest.err
26053 rm -f conftest.er1
26054 cat conftest.err >&5
26055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26056 (exit $ac_status); } &&
26057 { ac_try='test -z "$ac_c_werror_flag"
26058 || test ! -s conftest.err'
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); }; } &&
26064 { ac_try='test -s conftest$ac_exeext'
26065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26066 (eval $ac_try) 2>&5
26067 ac_status=$?
26068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26069 (exit $ac_status); }; }; then
26070 eval "$as_ac_var=yes"
26071 else
26072 echo "$as_me: failed program was:" >&5
26073 sed 's/^/| /' conftest.$ac_ext >&5
26075 eval "$as_ac_var=no"
26077 rm -f conftest.err conftest.$ac_objext \
26078 conftest$ac_exeext conftest.$ac_ext
26080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26082 if test `eval echo '${'$as_ac_var'}'` = yes; then
26083 cat >>confdefs.h <<_ACEOF
26084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26085 _ACEOF
26088 done
26090 else
26092 echo "$as_me:$LINENO: checking for _powf declaration" >&5
26093 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
26094 if test x${glibcxx_cv_func__powf_use+set} != xset; then
26095 if test "${glibcxx_cv_func__powf_use+set}" = set; then
26096 echo $ECHO_N "(cached) $ECHO_C" >&6
26097 else
26101 ac_ext=cc
26102 ac_cpp='$CXXCPP $CPPFLAGS'
26103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26107 cat >conftest.$ac_ext <<_ACEOF
26108 /* confdefs.h. */
26109 _ACEOF
26110 cat confdefs.h >>conftest.$ac_ext
26111 cat >>conftest.$ac_ext <<_ACEOF
26112 /* end confdefs.h. */
26113 #include <math.h>
26115 main ()
26117 _powf(0, 0);
26119 return 0;
26121 _ACEOF
26122 rm -f conftest.$ac_objext
26123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26124 (eval $ac_compile) 2>conftest.er1
26125 ac_status=$?
26126 grep -v '^ *+' conftest.er1 >conftest.err
26127 rm -f conftest.er1
26128 cat conftest.err >&5
26129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26130 (exit $ac_status); } &&
26131 { ac_try='test -z "$ac_cxx_werror_flag"
26132 || test ! -s conftest.err'
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); }; } &&
26138 { ac_try='test -s conftest.$ac_objext'
26139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26140 (eval $ac_try) 2>&5
26141 ac_status=$?
26142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26143 (exit $ac_status); }; }; then
26144 glibcxx_cv_func__powf_use=yes
26145 else
26146 echo "$as_me: failed program was:" >&5
26147 sed 's/^/| /' conftest.$ac_ext >&5
26149 glibcxx_cv_func__powf_use=no
26151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26152 ac_ext=c
26153 ac_cpp='$CPP $CPPFLAGS'
26154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
26163 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
26165 if test x$glibcxx_cv_func__powf_use = x"yes"; then
26167 for ac_func in _powf
26169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26170 echo "$as_me:$LINENO: checking for $ac_func" >&5
26171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26172 if eval "test \"\${$as_ac_var+set}\" = set"; then
26173 echo $ECHO_N "(cached) $ECHO_C" >&6
26174 else
26175 if test x$gcc_no_link = xyes; then
26176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26178 { (exit 1); exit 1; }; }
26180 cat >conftest.$ac_ext <<_ACEOF
26181 /* confdefs.h. */
26182 _ACEOF
26183 cat confdefs.h >>conftest.$ac_ext
26184 cat >>conftest.$ac_ext <<_ACEOF
26185 /* end confdefs.h. */
26186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26188 #define $ac_func innocuous_$ac_func
26190 /* System header to define __stub macros and hopefully few prototypes,
26191 which can conflict with char $ac_func (); below.
26192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26193 <limits.h> exists even on freestanding compilers. */
26195 #ifdef __STDC__
26196 # include <limits.h>
26197 #else
26198 # include <assert.h>
26199 #endif
26201 #undef $ac_func
26203 /* Override any gcc2 internal prototype to avoid an error. */
26204 #ifdef __cplusplus
26205 extern "C"
26207 #endif
26208 /* We use char because int might match the return type of a gcc2
26209 builtin and then its argument prototype would still apply. */
26210 char $ac_func ();
26211 /* The GNU C library defines this for functions which it implements
26212 to always fail with ENOSYS. Some functions are actually named
26213 something starting with __ and the normal name is an alias. */
26214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26215 choke me
26216 #else
26217 char (*f) () = $ac_func;
26218 #endif
26219 #ifdef __cplusplus
26221 #endif
26224 main ()
26226 return f != $ac_func;
26228 return 0;
26230 _ACEOF
26231 rm -f conftest.$ac_objext conftest$ac_exeext
26232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26233 (eval $ac_link) 2>conftest.er1
26234 ac_status=$?
26235 grep -v '^ *+' conftest.er1 >conftest.err
26236 rm -f conftest.er1
26237 cat conftest.err >&5
26238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26239 (exit $ac_status); } &&
26240 { ac_try='test -z "$ac_c_werror_flag"
26241 || test ! -s conftest.err'
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); }; } &&
26247 { ac_try='test -s conftest$ac_exeext'
26248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26249 (eval $ac_try) 2>&5
26250 ac_status=$?
26251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26252 (exit $ac_status); }; }; then
26253 eval "$as_ac_var=yes"
26254 else
26255 echo "$as_me: failed program was:" >&5
26256 sed 's/^/| /' conftest.$ac_ext >&5
26258 eval "$as_ac_var=no"
26260 rm -f conftest.err conftest.$ac_objext \
26261 conftest$ac_exeext conftest.$ac_ext
26263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26265 if test `eval echo '${'$as_ac_var'}'` = yes; then
26266 cat >>confdefs.h <<_ACEOF
26267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26268 _ACEOF
26271 done
26281 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
26282 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
26283 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
26284 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
26285 echo $ECHO_N "(cached) $ECHO_C" >&6
26286 else
26290 ac_ext=cc
26291 ac_cpp='$CXXCPP $CPPFLAGS'
26292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26296 cat >conftest.$ac_ext <<_ACEOF
26297 /* confdefs.h. */
26298 _ACEOF
26299 cat confdefs.h >>conftest.$ac_ext
26300 cat >>conftest.$ac_ext <<_ACEOF
26301 /* end confdefs.h. */
26302 #include <math.h>
26303 #ifdef HAVE_IEEEFP_H
26304 #include <ieeefp.h>
26305 #endif
26308 main ()
26310 sqrtf(0);
26312 return 0;
26314 _ACEOF
26315 rm -f conftest.$ac_objext
26316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26317 (eval $ac_compile) 2>conftest.er1
26318 ac_status=$?
26319 grep -v '^ *+' conftest.er1 >conftest.err
26320 rm -f conftest.er1
26321 cat conftest.err >&5
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); } &&
26324 { ac_try='test -z "$ac_cxx_werror_flag"
26325 || test ! -s conftest.err'
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); }; } &&
26331 { ac_try='test -s conftest.$ac_objext'
26332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26333 (eval $ac_try) 2>&5
26334 ac_status=$?
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); }; }; then
26337 glibcxx_cv_func_sqrtf_use=yes
26338 else
26339 echo "$as_me: failed program was:" >&5
26340 sed 's/^/| /' conftest.$ac_ext >&5
26342 glibcxx_cv_func_sqrtf_use=no
26344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26345 ac_ext=c
26346 ac_cpp='$CPP $CPPFLAGS'
26347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26355 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
26356 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
26358 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
26360 for ac_func in sqrtf
26362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26363 echo "$as_me:$LINENO: checking for $ac_func" >&5
26364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26365 if eval "test \"\${$as_ac_var+set}\" = set"; then
26366 echo $ECHO_N "(cached) $ECHO_C" >&6
26367 else
26368 if test x$gcc_no_link = xyes; then
26369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26371 { (exit 1); exit 1; }; }
26373 cat >conftest.$ac_ext <<_ACEOF
26374 /* confdefs.h. */
26375 _ACEOF
26376 cat confdefs.h >>conftest.$ac_ext
26377 cat >>conftest.$ac_ext <<_ACEOF
26378 /* end confdefs.h. */
26379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26381 #define $ac_func innocuous_$ac_func
26383 /* System header to define __stub macros and hopefully few prototypes,
26384 which can conflict with char $ac_func (); below.
26385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26386 <limits.h> exists even on freestanding compilers. */
26388 #ifdef __STDC__
26389 # include <limits.h>
26390 #else
26391 # include <assert.h>
26392 #endif
26394 #undef $ac_func
26396 /* Override any gcc2 internal prototype to avoid an error. */
26397 #ifdef __cplusplus
26398 extern "C"
26400 #endif
26401 /* We use char because int might match the return type of a gcc2
26402 builtin and then its argument prototype would still apply. */
26403 char $ac_func ();
26404 /* The GNU C library defines this for functions which it implements
26405 to always fail with ENOSYS. Some functions are actually named
26406 something starting with __ and the normal name is an alias. */
26407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26408 choke me
26409 #else
26410 char (*f) () = $ac_func;
26411 #endif
26412 #ifdef __cplusplus
26414 #endif
26417 main ()
26419 return f != $ac_func;
26421 return 0;
26423 _ACEOF
26424 rm -f conftest.$ac_objext conftest$ac_exeext
26425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26426 (eval $ac_link) 2>conftest.er1
26427 ac_status=$?
26428 grep -v '^ *+' conftest.er1 >conftest.err
26429 rm -f conftest.er1
26430 cat conftest.err >&5
26431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26432 (exit $ac_status); } &&
26433 { ac_try='test -z "$ac_c_werror_flag"
26434 || test ! -s conftest.err'
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); }; } &&
26440 { ac_try='test -s conftest$ac_exeext'
26441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26442 (eval $ac_try) 2>&5
26443 ac_status=$?
26444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26445 (exit $ac_status); }; }; then
26446 eval "$as_ac_var=yes"
26447 else
26448 echo "$as_me: failed program was:" >&5
26449 sed 's/^/| /' conftest.$ac_ext >&5
26451 eval "$as_ac_var=no"
26453 rm -f conftest.err conftest.$ac_objext \
26454 conftest$ac_exeext conftest.$ac_ext
26456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26458 if test `eval echo '${'$as_ac_var'}'` = yes; then
26459 cat >>confdefs.h <<_ACEOF
26460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26461 _ACEOF
26464 done
26466 else
26468 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
26469 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
26470 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
26471 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
26472 echo $ECHO_N "(cached) $ECHO_C" >&6
26473 else
26477 ac_ext=cc
26478 ac_cpp='$CXXCPP $CPPFLAGS'
26479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26483 cat >conftest.$ac_ext <<_ACEOF
26484 /* confdefs.h. */
26485 _ACEOF
26486 cat confdefs.h >>conftest.$ac_ext
26487 cat >>conftest.$ac_ext <<_ACEOF
26488 /* end confdefs.h. */
26489 #include <math.h>
26490 #ifdef HAVE_IEEEFP_H
26491 #include <ieeefp.h>
26492 #endif
26495 main ()
26497 _sqrtf(0);
26499 return 0;
26501 _ACEOF
26502 rm -f conftest.$ac_objext
26503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26504 (eval $ac_compile) 2>conftest.er1
26505 ac_status=$?
26506 grep -v '^ *+' conftest.er1 >conftest.err
26507 rm -f conftest.er1
26508 cat conftest.err >&5
26509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26510 (exit $ac_status); } &&
26511 { ac_try='test -z "$ac_cxx_werror_flag"
26512 || test ! -s conftest.err'
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); }; } &&
26518 { ac_try='test -s conftest.$ac_objext'
26519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26520 (eval $ac_try) 2>&5
26521 ac_status=$?
26522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 (exit $ac_status); }; }; then
26524 glibcxx_cv_func__sqrtf_use=yes
26525 else
26526 echo "$as_me: failed program was:" >&5
26527 sed 's/^/| /' conftest.$ac_ext >&5
26529 glibcxx_cv_func__sqrtf_use=no
26531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26532 ac_ext=c
26533 ac_cpp='$CPP $CPPFLAGS'
26534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26542 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
26543 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
26545 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
26547 for ac_func in _sqrtf
26549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26550 echo "$as_me:$LINENO: checking for $ac_func" >&5
26551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26552 if eval "test \"\${$as_ac_var+set}\" = set"; then
26553 echo $ECHO_N "(cached) $ECHO_C" >&6
26554 else
26555 if test x$gcc_no_link = xyes; then
26556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26558 { (exit 1); exit 1; }; }
26560 cat >conftest.$ac_ext <<_ACEOF
26561 /* confdefs.h. */
26562 _ACEOF
26563 cat confdefs.h >>conftest.$ac_ext
26564 cat >>conftest.$ac_ext <<_ACEOF
26565 /* end confdefs.h. */
26566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26568 #define $ac_func innocuous_$ac_func
26570 /* System header to define __stub macros and hopefully few prototypes,
26571 which can conflict with char $ac_func (); below.
26572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26573 <limits.h> exists even on freestanding compilers. */
26575 #ifdef __STDC__
26576 # include <limits.h>
26577 #else
26578 # include <assert.h>
26579 #endif
26581 #undef $ac_func
26583 /* Override any gcc2 internal prototype to avoid an error. */
26584 #ifdef __cplusplus
26585 extern "C"
26587 #endif
26588 /* We use char because int might match the return type of a gcc2
26589 builtin and then its argument prototype would still apply. */
26590 char $ac_func ();
26591 /* The GNU C library defines this for functions which it implements
26592 to always fail with ENOSYS. Some functions are actually named
26593 something starting with __ and the normal name is an alias. */
26594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26595 choke me
26596 #else
26597 char (*f) () = $ac_func;
26598 #endif
26599 #ifdef __cplusplus
26601 #endif
26604 main ()
26606 return f != $ac_func;
26608 return 0;
26610 _ACEOF
26611 rm -f conftest.$ac_objext conftest$ac_exeext
26612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26613 (eval $ac_link) 2>conftest.er1
26614 ac_status=$?
26615 grep -v '^ *+' conftest.er1 >conftest.err
26616 rm -f conftest.er1
26617 cat conftest.err >&5
26618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26619 (exit $ac_status); } &&
26620 { ac_try='test -z "$ac_c_werror_flag"
26621 || test ! -s conftest.err'
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); }; } &&
26627 { ac_try='test -s conftest$ac_exeext'
26628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26629 (eval $ac_try) 2>&5
26630 ac_status=$?
26631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26632 (exit $ac_status); }; }; then
26633 eval "$as_ac_var=yes"
26634 else
26635 echo "$as_me: failed program was:" >&5
26636 sed 's/^/| /' conftest.$ac_ext >&5
26638 eval "$as_ac_var=no"
26640 rm -f conftest.err conftest.$ac_objext \
26641 conftest$ac_exeext conftest.$ac_ext
26643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26645 if test `eval echo '${'$as_ac_var'}'` = yes; then
26646 cat >>confdefs.h <<_ACEOF
26647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26648 _ACEOF
26651 done
26661 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
26662 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
26663 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
26664 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
26665 echo $ECHO_N "(cached) $ECHO_C" >&6
26666 else
26670 ac_ext=cc
26671 ac_cpp='$CXXCPP $CPPFLAGS'
26672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26676 cat >conftest.$ac_ext <<_ACEOF
26677 /* confdefs.h. */
26678 _ACEOF
26679 cat confdefs.h >>conftest.$ac_ext
26680 cat >>conftest.$ac_ext <<_ACEOF
26681 /* end confdefs.h. */
26682 #include <math.h>
26684 main ()
26686 sincosf(0, 0, 0);
26688 return 0;
26690 _ACEOF
26691 rm -f conftest.$ac_objext
26692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26693 (eval $ac_compile) 2>conftest.er1
26694 ac_status=$?
26695 grep -v '^ *+' conftest.er1 >conftest.err
26696 rm -f conftest.er1
26697 cat conftest.err >&5
26698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26699 (exit $ac_status); } &&
26700 { ac_try='test -z "$ac_cxx_werror_flag"
26701 || test ! -s conftest.err'
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); }; } &&
26707 { ac_try='test -s conftest.$ac_objext'
26708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26709 (eval $ac_try) 2>&5
26710 ac_status=$?
26711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26712 (exit $ac_status); }; }; then
26713 glibcxx_cv_func_sincosf_use=yes
26714 else
26715 echo "$as_me: failed program was:" >&5
26716 sed 's/^/| /' conftest.$ac_ext >&5
26718 glibcxx_cv_func_sincosf_use=no
26720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26721 ac_ext=c
26722 ac_cpp='$CPP $CPPFLAGS'
26723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26731 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
26732 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
26734 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
26736 for ac_func in sincosf
26738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26739 echo "$as_me:$LINENO: checking for $ac_func" >&5
26740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26741 if eval "test \"\${$as_ac_var+set}\" = set"; then
26742 echo $ECHO_N "(cached) $ECHO_C" >&6
26743 else
26744 if test x$gcc_no_link = xyes; then
26745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26747 { (exit 1); exit 1; }; }
26749 cat >conftest.$ac_ext <<_ACEOF
26750 /* confdefs.h. */
26751 _ACEOF
26752 cat confdefs.h >>conftest.$ac_ext
26753 cat >>conftest.$ac_ext <<_ACEOF
26754 /* end confdefs.h. */
26755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26757 #define $ac_func innocuous_$ac_func
26759 /* System header to define __stub macros and hopefully few prototypes,
26760 which can conflict with char $ac_func (); below.
26761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26762 <limits.h> exists even on freestanding compilers. */
26764 #ifdef __STDC__
26765 # include <limits.h>
26766 #else
26767 # include <assert.h>
26768 #endif
26770 #undef $ac_func
26772 /* Override any gcc2 internal prototype to avoid an error. */
26773 #ifdef __cplusplus
26774 extern "C"
26776 #endif
26777 /* We use char because int might match the return type of a gcc2
26778 builtin and then its argument prototype would still apply. */
26779 char $ac_func ();
26780 /* The GNU C library defines this for functions which it implements
26781 to always fail with ENOSYS. Some functions are actually named
26782 something starting with __ and the normal name is an alias. */
26783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26784 choke me
26785 #else
26786 char (*f) () = $ac_func;
26787 #endif
26788 #ifdef __cplusplus
26790 #endif
26793 main ()
26795 return f != $ac_func;
26797 return 0;
26799 _ACEOF
26800 rm -f conftest.$ac_objext conftest$ac_exeext
26801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26802 (eval $ac_link) 2>conftest.er1
26803 ac_status=$?
26804 grep -v '^ *+' conftest.er1 >conftest.err
26805 rm -f conftest.er1
26806 cat conftest.err >&5
26807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808 (exit $ac_status); } &&
26809 { ac_try='test -z "$ac_c_werror_flag"
26810 || test ! -s conftest.err'
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); }; } &&
26816 { ac_try='test -s conftest$ac_exeext'
26817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26818 (eval $ac_try) 2>&5
26819 ac_status=$?
26820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 (exit $ac_status); }; }; then
26822 eval "$as_ac_var=yes"
26823 else
26824 echo "$as_me: failed program was:" >&5
26825 sed 's/^/| /' conftest.$ac_ext >&5
26827 eval "$as_ac_var=no"
26829 rm -f conftest.err conftest.$ac_objext \
26830 conftest$ac_exeext conftest.$ac_ext
26832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26834 if test `eval echo '${'$as_ac_var'}'` = yes; then
26835 cat >>confdefs.h <<_ACEOF
26836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26837 _ACEOF
26840 done
26842 else
26844 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
26845 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
26846 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
26847 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
26848 echo $ECHO_N "(cached) $ECHO_C" >&6
26849 else
26853 ac_ext=cc
26854 ac_cpp='$CXXCPP $CPPFLAGS'
26855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26859 cat >conftest.$ac_ext <<_ACEOF
26860 /* confdefs.h. */
26861 _ACEOF
26862 cat confdefs.h >>conftest.$ac_ext
26863 cat >>conftest.$ac_ext <<_ACEOF
26864 /* end confdefs.h. */
26865 #include <math.h>
26867 main ()
26869 _sincosf(0, 0, 0);
26871 return 0;
26873 _ACEOF
26874 rm -f conftest.$ac_objext
26875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26876 (eval $ac_compile) 2>conftest.er1
26877 ac_status=$?
26878 grep -v '^ *+' conftest.er1 >conftest.err
26879 rm -f conftest.er1
26880 cat conftest.err >&5
26881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26882 (exit $ac_status); } &&
26883 { ac_try='test -z "$ac_cxx_werror_flag"
26884 || test ! -s conftest.err'
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); }; } &&
26890 { ac_try='test -s conftest.$ac_objext'
26891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26892 (eval $ac_try) 2>&5
26893 ac_status=$?
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); }; }; then
26896 glibcxx_cv_func__sincosf_use=yes
26897 else
26898 echo "$as_me: failed program was:" >&5
26899 sed 's/^/| /' conftest.$ac_ext >&5
26901 glibcxx_cv_func__sincosf_use=no
26903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26904 ac_ext=c
26905 ac_cpp='$CPP $CPPFLAGS'
26906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26914 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
26915 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
26917 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
26919 for ac_func in _sincosf
26921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26922 echo "$as_me:$LINENO: checking for $ac_func" >&5
26923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26924 if eval "test \"\${$as_ac_var+set}\" = set"; then
26925 echo $ECHO_N "(cached) $ECHO_C" >&6
26926 else
26927 if test x$gcc_no_link = xyes; then
26928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26930 { (exit 1); exit 1; }; }
26932 cat >conftest.$ac_ext <<_ACEOF
26933 /* confdefs.h. */
26934 _ACEOF
26935 cat confdefs.h >>conftest.$ac_ext
26936 cat >>conftest.$ac_ext <<_ACEOF
26937 /* end confdefs.h. */
26938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26940 #define $ac_func innocuous_$ac_func
26942 /* System header to define __stub macros and hopefully few prototypes,
26943 which can conflict with char $ac_func (); below.
26944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26945 <limits.h> exists even on freestanding compilers. */
26947 #ifdef __STDC__
26948 # include <limits.h>
26949 #else
26950 # include <assert.h>
26951 #endif
26953 #undef $ac_func
26955 /* Override any gcc2 internal prototype to avoid an error. */
26956 #ifdef __cplusplus
26957 extern "C"
26959 #endif
26960 /* We use char because int might match the return type of a gcc2
26961 builtin and then its argument prototype would still apply. */
26962 char $ac_func ();
26963 /* The GNU C library defines this for functions which it implements
26964 to always fail with ENOSYS. Some functions are actually named
26965 something starting with __ and the normal name is an alias. */
26966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26967 choke me
26968 #else
26969 char (*f) () = $ac_func;
26970 #endif
26971 #ifdef __cplusplus
26973 #endif
26976 main ()
26978 return f != $ac_func;
26980 return 0;
26982 _ACEOF
26983 rm -f conftest.$ac_objext conftest$ac_exeext
26984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26985 (eval $ac_link) 2>conftest.er1
26986 ac_status=$?
26987 grep -v '^ *+' conftest.er1 >conftest.err
26988 rm -f conftest.er1
26989 cat conftest.err >&5
26990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26991 (exit $ac_status); } &&
26992 { ac_try='test -z "$ac_c_werror_flag"
26993 || test ! -s conftest.err'
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); }; } &&
26999 { ac_try='test -s conftest$ac_exeext'
27000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27001 (eval $ac_try) 2>&5
27002 ac_status=$?
27003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27004 (exit $ac_status); }; }; then
27005 eval "$as_ac_var=yes"
27006 else
27007 echo "$as_me: failed program was:" >&5
27008 sed 's/^/| /' conftest.$ac_ext >&5
27010 eval "$as_ac_var=no"
27012 rm -f conftest.err conftest.$ac_objext \
27013 conftest$ac_exeext conftest.$ac_ext
27015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27017 if test `eval echo '${'$as_ac_var'}'` = yes; then
27018 cat >>confdefs.h <<_ACEOF
27019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27020 _ACEOF
27023 done
27033 echo "$as_me:$LINENO: checking for finitef declaration" >&5
27034 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
27035 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
27036 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
27037 echo $ECHO_N "(cached) $ECHO_C" >&6
27038 else
27042 ac_ext=cc
27043 ac_cpp='$CXXCPP $CPPFLAGS'
27044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27048 cat >conftest.$ac_ext <<_ACEOF
27049 /* confdefs.h. */
27050 _ACEOF
27051 cat confdefs.h >>conftest.$ac_ext
27052 cat >>conftest.$ac_ext <<_ACEOF
27053 /* end confdefs.h. */
27054 #include <math.h>
27055 #ifdef HAVE_IEEEFP_H
27056 #include <ieeefp.h>
27057 #endif
27060 main ()
27062 finitef(0);
27064 return 0;
27066 _ACEOF
27067 rm -f conftest.$ac_objext
27068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27069 (eval $ac_compile) 2>conftest.er1
27070 ac_status=$?
27071 grep -v '^ *+' conftest.er1 >conftest.err
27072 rm -f conftest.er1
27073 cat conftest.err >&5
27074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27075 (exit $ac_status); } &&
27076 { ac_try='test -z "$ac_cxx_werror_flag"
27077 || test ! -s conftest.err'
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); }; } &&
27083 { ac_try='test -s conftest.$ac_objext'
27084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27085 (eval $ac_try) 2>&5
27086 ac_status=$?
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); }; }; then
27089 glibcxx_cv_func_finitef_use=yes
27090 else
27091 echo "$as_me: failed program was:" >&5
27092 sed 's/^/| /' conftest.$ac_ext >&5
27094 glibcxx_cv_func_finitef_use=no
27096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27097 ac_ext=c
27098 ac_cpp='$CPP $CPPFLAGS'
27099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27107 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
27108 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
27110 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
27112 for ac_func in finitef
27114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27115 echo "$as_me:$LINENO: checking for $ac_func" >&5
27116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27117 if eval "test \"\${$as_ac_var+set}\" = set"; then
27118 echo $ECHO_N "(cached) $ECHO_C" >&6
27119 else
27120 if test x$gcc_no_link = xyes; then
27121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27123 { (exit 1); exit 1; }; }
27125 cat >conftest.$ac_ext <<_ACEOF
27126 /* confdefs.h. */
27127 _ACEOF
27128 cat confdefs.h >>conftest.$ac_ext
27129 cat >>conftest.$ac_ext <<_ACEOF
27130 /* end confdefs.h. */
27131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27133 #define $ac_func innocuous_$ac_func
27135 /* System header to define __stub macros and hopefully few prototypes,
27136 which can conflict with char $ac_func (); below.
27137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27138 <limits.h> exists even on freestanding compilers. */
27140 #ifdef __STDC__
27141 # include <limits.h>
27142 #else
27143 # include <assert.h>
27144 #endif
27146 #undef $ac_func
27148 /* Override any gcc2 internal prototype to avoid an error. */
27149 #ifdef __cplusplus
27150 extern "C"
27152 #endif
27153 /* We use char because int might match the return type of a gcc2
27154 builtin and then its argument prototype would still apply. */
27155 char $ac_func ();
27156 /* The GNU C library defines this for functions which it implements
27157 to always fail with ENOSYS. Some functions are actually named
27158 something starting with __ and the normal name is an alias. */
27159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27160 choke me
27161 #else
27162 char (*f) () = $ac_func;
27163 #endif
27164 #ifdef __cplusplus
27166 #endif
27169 main ()
27171 return f != $ac_func;
27173 return 0;
27175 _ACEOF
27176 rm -f conftest.$ac_objext conftest$ac_exeext
27177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27178 (eval $ac_link) 2>conftest.er1
27179 ac_status=$?
27180 grep -v '^ *+' conftest.er1 >conftest.err
27181 rm -f conftest.er1
27182 cat conftest.err >&5
27183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27184 (exit $ac_status); } &&
27185 { ac_try='test -z "$ac_c_werror_flag"
27186 || test ! -s conftest.err'
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); }; } &&
27192 { ac_try='test -s conftest$ac_exeext'
27193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27194 (eval $ac_try) 2>&5
27195 ac_status=$?
27196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27197 (exit $ac_status); }; }; then
27198 eval "$as_ac_var=yes"
27199 else
27200 echo "$as_me: failed program was:" >&5
27201 sed 's/^/| /' conftest.$ac_ext >&5
27203 eval "$as_ac_var=no"
27205 rm -f conftest.err conftest.$ac_objext \
27206 conftest$ac_exeext conftest.$ac_ext
27208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27210 if test `eval echo '${'$as_ac_var'}'` = yes; then
27211 cat >>confdefs.h <<_ACEOF
27212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27213 _ACEOF
27216 done
27218 else
27220 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
27221 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
27222 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
27223 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
27224 echo $ECHO_N "(cached) $ECHO_C" >&6
27225 else
27229 ac_ext=cc
27230 ac_cpp='$CXXCPP $CPPFLAGS'
27231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27235 cat >conftest.$ac_ext <<_ACEOF
27236 /* confdefs.h. */
27237 _ACEOF
27238 cat confdefs.h >>conftest.$ac_ext
27239 cat >>conftest.$ac_ext <<_ACEOF
27240 /* end confdefs.h. */
27241 #include <math.h>
27242 #ifdef HAVE_IEEEFP_H
27243 #include <ieeefp.h>
27244 #endif
27247 main ()
27249 _finitef(0);
27251 return 0;
27253 _ACEOF
27254 rm -f conftest.$ac_objext
27255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27256 (eval $ac_compile) 2>conftest.er1
27257 ac_status=$?
27258 grep -v '^ *+' conftest.er1 >conftest.err
27259 rm -f conftest.er1
27260 cat conftest.err >&5
27261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27262 (exit $ac_status); } &&
27263 { ac_try='test -z "$ac_cxx_werror_flag"
27264 || test ! -s conftest.err'
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); }; } &&
27270 { ac_try='test -s conftest.$ac_objext'
27271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27272 (eval $ac_try) 2>&5
27273 ac_status=$?
27274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27275 (exit $ac_status); }; }; then
27276 glibcxx_cv_func__finitef_use=yes
27277 else
27278 echo "$as_me: failed program was:" >&5
27279 sed 's/^/| /' conftest.$ac_ext >&5
27281 glibcxx_cv_func__finitef_use=no
27283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27284 ac_ext=c
27285 ac_cpp='$CPP $CPPFLAGS'
27286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27294 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
27295 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
27297 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
27299 for ac_func in _finitef
27301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27302 echo "$as_me:$LINENO: checking for $ac_func" >&5
27303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27304 if eval "test \"\${$as_ac_var+set}\" = set"; then
27305 echo $ECHO_N "(cached) $ECHO_C" >&6
27306 else
27307 if test x$gcc_no_link = xyes; then
27308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27310 { (exit 1); exit 1; }; }
27312 cat >conftest.$ac_ext <<_ACEOF
27313 /* confdefs.h. */
27314 _ACEOF
27315 cat confdefs.h >>conftest.$ac_ext
27316 cat >>conftest.$ac_ext <<_ACEOF
27317 /* end confdefs.h. */
27318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27320 #define $ac_func innocuous_$ac_func
27322 /* System header to define __stub macros and hopefully few prototypes,
27323 which can conflict with char $ac_func (); below.
27324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27325 <limits.h> exists even on freestanding compilers. */
27327 #ifdef __STDC__
27328 # include <limits.h>
27329 #else
27330 # include <assert.h>
27331 #endif
27333 #undef $ac_func
27335 /* Override any gcc2 internal prototype to avoid an error. */
27336 #ifdef __cplusplus
27337 extern "C"
27339 #endif
27340 /* We use char because int might match the return type of a gcc2
27341 builtin and then its argument prototype would still apply. */
27342 char $ac_func ();
27343 /* The GNU C library defines this for functions which it implements
27344 to always fail with ENOSYS. Some functions are actually named
27345 something starting with __ and the normal name is an alias. */
27346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27347 choke me
27348 #else
27349 char (*f) () = $ac_func;
27350 #endif
27351 #ifdef __cplusplus
27353 #endif
27356 main ()
27358 return f != $ac_func;
27360 return 0;
27362 _ACEOF
27363 rm -f conftest.$ac_objext conftest$ac_exeext
27364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27365 (eval $ac_link) 2>conftest.er1
27366 ac_status=$?
27367 grep -v '^ *+' conftest.er1 >conftest.err
27368 rm -f conftest.er1
27369 cat conftest.err >&5
27370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27371 (exit $ac_status); } &&
27372 { ac_try='test -z "$ac_c_werror_flag"
27373 || test ! -s conftest.err'
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); }; } &&
27379 { ac_try='test -s conftest$ac_exeext'
27380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27381 (eval $ac_try) 2>&5
27382 ac_status=$?
27383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27384 (exit $ac_status); }; }; then
27385 eval "$as_ac_var=yes"
27386 else
27387 echo "$as_me: failed program was:" >&5
27388 sed 's/^/| /' conftest.$ac_ext >&5
27390 eval "$as_ac_var=no"
27392 rm -f conftest.err conftest.$ac_objext \
27393 conftest$ac_exeext conftest.$ac_ext
27395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27397 if test `eval echo '${'$as_ac_var'}'` = yes; then
27398 cat >>confdefs.h <<_ACEOF
27399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27400 _ACEOF
27403 done
27413 echo "$as_me:$LINENO: checking for long double trig functions" >&5
27414 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
27415 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
27416 echo $ECHO_N "(cached) $ECHO_C" >&6
27417 else
27421 ac_ext=cc
27422 ac_cpp='$CXXCPP $CPPFLAGS'
27423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27427 cat >conftest.$ac_ext <<_ACEOF
27428 /* confdefs.h. */
27429 _ACEOF
27430 cat confdefs.h >>conftest.$ac_ext
27431 cat >>conftest.$ac_ext <<_ACEOF
27432 /* end confdefs.h. */
27433 #include <math.h>
27435 main ()
27437 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
27439 return 0;
27441 _ACEOF
27442 rm -f conftest.$ac_objext
27443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27444 (eval $ac_compile) 2>conftest.er1
27445 ac_status=$?
27446 grep -v '^ *+' conftest.er1 >conftest.err
27447 rm -f conftest.er1
27448 cat conftest.err >&5
27449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27450 (exit $ac_status); } &&
27451 { ac_try='test -z "$ac_cxx_werror_flag"
27452 || test ! -s conftest.err'
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); }; } &&
27458 { ac_try='test -s conftest.$ac_objext'
27459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27460 (eval $ac_try) 2>&5
27461 ac_status=$?
27462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27463 (exit $ac_status); }; }; then
27464 glibcxx_cv_func_long_double_trig_use=yes
27465 else
27466 echo "$as_me: failed program was:" >&5
27467 sed 's/^/| /' conftest.$ac_ext >&5
27469 glibcxx_cv_func_long_double_trig_use=no
27471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27472 ac_ext=c
27473 ac_cpp='$CPP $CPPFLAGS'
27474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27480 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
27481 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
27482 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
27492 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
27494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27495 echo "$as_me:$LINENO: checking for $ac_func" >&5
27496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27497 if eval "test \"\${$as_ac_var+set}\" = set"; then
27498 echo $ECHO_N "(cached) $ECHO_C" >&6
27499 else
27500 if test x$gcc_no_link = xyes; then
27501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27503 { (exit 1); exit 1; }; }
27505 cat >conftest.$ac_ext <<_ACEOF
27506 /* confdefs.h. */
27507 _ACEOF
27508 cat confdefs.h >>conftest.$ac_ext
27509 cat >>conftest.$ac_ext <<_ACEOF
27510 /* end confdefs.h. */
27511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27513 #define $ac_func innocuous_$ac_func
27515 /* System header to define __stub macros and hopefully few prototypes,
27516 which can conflict with char $ac_func (); below.
27517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27518 <limits.h> exists even on freestanding compilers. */
27520 #ifdef __STDC__
27521 # include <limits.h>
27522 #else
27523 # include <assert.h>
27524 #endif
27526 #undef $ac_func
27528 /* Override any gcc2 internal prototype to avoid an error. */
27529 #ifdef __cplusplus
27530 extern "C"
27532 #endif
27533 /* We use char because int might match the return type of a gcc2
27534 builtin and then its argument prototype would still apply. */
27535 char $ac_func ();
27536 /* The GNU C library defines this for functions which it implements
27537 to always fail with ENOSYS. Some functions are actually named
27538 something starting with __ and the normal name is an alias. */
27539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27540 choke me
27541 #else
27542 char (*f) () = $ac_func;
27543 #endif
27544 #ifdef __cplusplus
27546 #endif
27549 main ()
27551 return f != $ac_func;
27553 return 0;
27555 _ACEOF
27556 rm -f conftest.$ac_objext conftest$ac_exeext
27557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27558 (eval $ac_link) 2>conftest.er1
27559 ac_status=$?
27560 grep -v '^ *+' conftest.er1 >conftest.err
27561 rm -f conftest.er1
27562 cat conftest.err >&5
27563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27564 (exit $ac_status); } &&
27565 { ac_try='test -z "$ac_c_werror_flag"
27566 || test ! -s conftest.err'
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); }; } &&
27572 { ac_try='test -s conftest$ac_exeext'
27573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27574 (eval $ac_try) 2>&5
27575 ac_status=$?
27576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27577 (exit $ac_status); }; }; then
27578 eval "$as_ac_var=yes"
27579 else
27580 echo "$as_me: failed program was:" >&5
27581 sed 's/^/| /' conftest.$ac_ext >&5
27583 eval "$as_ac_var=no"
27585 rm -f conftest.err conftest.$ac_objext \
27586 conftest$ac_exeext conftest.$ac_ext
27588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27590 if test `eval echo '${'$as_ac_var'}'` = yes; then
27591 cat >>confdefs.h <<_ACEOF
27592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27593 _ACEOF
27596 done
27598 else
27599 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
27600 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
27601 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
27602 echo $ECHO_N "(cached) $ECHO_C" >&6
27603 else
27607 ac_ext=cc
27608 ac_cpp='$CXXCPP $CPPFLAGS'
27609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27613 cat >conftest.$ac_ext <<_ACEOF
27614 /* confdefs.h. */
27615 _ACEOF
27616 cat confdefs.h >>conftest.$ac_ext
27617 cat >>conftest.$ac_ext <<_ACEOF
27618 /* end confdefs.h. */
27619 #include <math.h>
27621 main ()
27623 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
27625 return 0;
27627 _ACEOF
27628 rm -f conftest.$ac_objext
27629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27630 (eval $ac_compile) 2>conftest.er1
27631 ac_status=$?
27632 grep -v '^ *+' conftest.er1 >conftest.err
27633 rm -f conftest.er1
27634 cat conftest.err >&5
27635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27636 (exit $ac_status); } &&
27637 { ac_try='test -z "$ac_cxx_werror_flag"
27638 || test ! -s conftest.err'
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); }; } &&
27644 { ac_try='test -s conftest.$ac_objext'
27645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27646 (eval $ac_try) 2>&5
27647 ac_status=$?
27648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649 (exit $ac_status); }; }; then
27650 glibcxx_cv_func__long_double_trig_use=yes
27651 else
27652 echo "$as_me: failed program was:" >&5
27653 sed 's/^/| /' conftest.$ac_ext >&5
27655 glibcxx_cv_func__long_double_trig_use=no
27657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27658 ac_ext=c
27659 ac_cpp='$CPP $CPPFLAGS'
27660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27666 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
27667 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
27668 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
27678 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
27680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27681 echo "$as_me:$LINENO: checking for $ac_func" >&5
27682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27683 if eval "test \"\${$as_ac_var+set}\" = set"; then
27684 echo $ECHO_N "(cached) $ECHO_C" >&6
27685 else
27686 if test x$gcc_no_link = xyes; then
27687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27689 { (exit 1); exit 1; }; }
27691 cat >conftest.$ac_ext <<_ACEOF
27692 /* confdefs.h. */
27693 _ACEOF
27694 cat confdefs.h >>conftest.$ac_ext
27695 cat >>conftest.$ac_ext <<_ACEOF
27696 /* end confdefs.h. */
27697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27699 #define $ac_func innocuous_$ac_func
27701 /* System header to define __stub macros and hopefully few prototypes,
27702 which can conflict with char $ac_func (); below.
27703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27704 <limits.h> exists even on freestanding compilers. */
27706 #ifdef __STDC__
27707 # include <limits.h>
27708 #else
27709 # include <assert.h>
27710 #endif
27712 #undef $ac_func
27714 /* Override any gcc2 internal prototype to avoid an error. */
27715 #ifdef __cplusplus
27716 extern "C"
27718 #endif
27719 /* We use char because int might match the return type of a gcc2
27720 builtin and then its argument prototype would still apply. */
27721 char $ac_func ();
27722 /* The GNU C library defines this for functions which it implements
27723 to always fail with ENOSYS. Some functions are actually named
27724 something starting with __ and the normal name is an alias. */
27725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27726 choke me
27727 #else
27728 char (*f) () = $ac_func;
27729 #endif
27730 #ifdef __cplusplus
27732 #endif
27735 main ()
27737 return f != $ac_func;
27739 return 0;
27741 _ACEOF
27742 rm -f conftest.$ac_objext conftest$ac_exeext
27743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27744 (eval $ac_link) 2>conftest.er1
27745 ac_status=$?
27746 grep -v '^ *+' conftest.er1 >conftest.err
27747 rm -f conftest.er1
27748 cat conftest.err >&5
27749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27750 (exit $ac_status); } &&
27751 { ac_try='test -z "$ac_c_werror_flag"
27752 || test ! -s conftest.err'
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); }; } &&
27758 { ac_try='test -s conftest$ac_exeext'
27759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27760 (eval $ac_try) 2>&5
27761 ac_status=$?
27762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27763 (exit $ac_status); }; }; then
27764 eval "$as_ac_var=yes"
27765 else
27766 echo "$as_me: failed program was:" >&5
27767 sed 's/^/| /' conftest.$ac_ext >&5
27769 eval "$as_ac_var=no"
27771 rm -f conftest.err conftest.$ac_objext \
27772 conftest$ac_exeext conftest.$ac_ext
27774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27776 if test `eval echo '${'$as_ac_var'}'` = yes; then
27777 cat >>confdefs.h <<_ACEOF
27778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27779 _ACEOF
27782 done
27800 echo "$as_me:$LINENO: checking for long double round functions" >&5
27801 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
27802 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
27803 echo $ECHO_N "(cached) $ECHO_C" >&6
27804 else
27808 ac_ext=cc
27809 ac_cpp='$CXXCPP $CPPFLAGS'
27810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27814 cat >conftest.$ac_ext <<_ACEOF
27815 /* confdefs.h. */
27816 _ACEOF
27817 cat confdefs.h >>conftest.$ac_ext
27818 cat >>conftest.$ac_ext <<_ACEOF
27819 /* end confdefs.h. */
27820 #include <math.h>
27822 main ()
27824 ceill (0); floorl (0);
27826 return 0;
27828 _ACEOF
27829 rm -f conftest.$ac_objext
27830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27831 (eval $ac_compile) 2>conftest.er1
27832 ac_status=$?
27833 grep -v '^ *+' conftest.er1 >conftest.err
27834 rm -f conftest.er1
27835 cat conftest.err >&5
27836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27837 (exit $ac_status); } &&
27838 { ac_try='test -z "$ac_cxx_werror_flag"
27839 || test ! -s conftest.err'
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); }; } &&
27845 { ac_try='test -s conftest.$ac_objext'
27846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27847 (eval $ac_try) 2>&5
27848 ac_status=$?
27849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27850 (exit $ac_status); }; }; then
27851 glibcxx_cv_func_long_double_round_use=yes
27852 else
27853 echo "$as_me: failed program was:" >&5
27854 sed 's/^/| /' conftest.$ac_ext >&5
27856 glibcxx_cv_func_long_double_round_use=no
27858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27859 ac_ext=c
27860 ac_cpp='$CPP $CPPFLAGS'
27861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27867 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
27868 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
27869 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
27872 for ac_func in ceill floorl
27874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27875 echo "$as_me:$LINENO: checking for $ac_func" >&5
27876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27877 if eval "test \"\${$as_ac_var+set}\" = set"; then
27878 echo $ECHO_N "(cached) $ECHO_C" >&6
27879 else
27880 if test x$gcc_no_link = xyes; then
27881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27883 { (exit 1); exit 1; }; }
27885 cat >conftest.$ac_ext <<_ACEOF
27886 /* confdefs.h. */
27887 _ACEOF
27888 cat confdefs.h >>conftest.$ac_ext
27889 cat >>conftest.$ac_ext <<_ACEOF
27890 /* end confdefs.h. */
27891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27893 #define $ac_func innocuous_$ac_func
27895 /* System header to define __stub macros and hopefully few prototypes,
27896 which can conflict with char $ac_func (); below.
27897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27898 <limits.h> exists even on freestanding compilers. */
27900 #ifdef __STDC__
27901 # include <limits.h>
27902 #else
27903 # include <assert.h>
27904 #endif
27906 #undef $ac_func
27908 /* Override any gcc2 internal prototype to avoid an error. */
27909 #ifdef __cplusplus
27910 extern "C"
27912 #endif
27913 /* We use char because int might match the return type of a gcc2
27914 builtin and then its argument prototype would still apply. */
27915 char $ac_func ();
27916 /* The GNU C library defines this for functions which it implements
27917 to always fail with ENOSYS. Some functions are actually named
27918 something starting with __ and the normal name is an alias. */
27919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27920 choke me
27921 #else
27922 char (*f) () = $ac_func;
27923 #endif
27924 #ifdef __cplusplus
27926 #endif
27929 main ()
27931 return f != $ac_func;
27933 return 0;
27935 _ACEOF
27936 rm -f conftest.$ac_objext conftest$ac_exeext
27937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27938 (eval $ac_link) 2>conftest.er1
27939 ac_status=$?
27940 grep -v '^ *+' conftest.er1 >conftest.err
27941 rm -f conftest.er1
27942 cat conftest.err >&5
27943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27944 (exit $ac_status); } &&
27945 { ac_try='test -z "$ac_c_werror_flag"
27946 || test ! -s conftest.err'
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); }; } &&
27952 { ac_try='test -s conftest$ac_exeext'
27953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27954 (eval $ac_try) 2>&5
27955 ac_status=$?
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); }; }; then
27958 eval "$as_ac_var=yes"
27959 else
27960 echo "$as_me: failed program was:" >&5
27961 sed 's/^/| /' conftest.$ac_ext >&5
27963 eval "$as_ac_var=no"
27965 rm -f conftest.err conftest.$ac_objext \
27966 conftest$ac_exeext conftest.$ac_ext
27968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27970 if test `eval echo '${'$as_ac_var'}'` = yes; then
27971 cat >>confdefs.h <<_ACEOF
27972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27973 _ACEOF
27976 done
27978 else
27979 echo "$as_me:$LINENO: checking for _long double round functions" >&5
27980 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
27981 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
27982 echo $ECHO_N "(cached) $ECHO_C" >&6
27983 else
27987 ac_ext=cc
27988 ac_cpp='$CXXCPP $CPPFLAGS'
27989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27993 cat >conftest.$ac_ext <<_ACEOF
27994 /* confdefs.h. */
27995 _ACEOF
27996 cat confdefs.h >>conftest.$ac_ext
27997 cat >>conftest.$ac_ext <<_ACEOF
27998 /* end confdefs.h. */
27999 #include <math.h>
28001 main ()
28003 _ceill (0); _floorl (0);
28005 return 0;
28007 _ACEOF
28008 rm -f conftest.$ac_objext
28009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28010 (eval $ac_compile) 2>conftest.er1
28011 ac_status=$?
28012 grep -v '^ *+' conftest.er1 >conftest.err
28013 rm -f conftest.er1
28014 cat conftest.err >&5
28015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28016 (exit $ac_status); } &&
28017 { ac_try='test -z "$ac_cxx_werror_flag"
28018 || test ! -s conftest.err'
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); }; } &&
28024 { ac_try='test -s conftest.$ac_objext'
28025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28026 (eval $ac_try) 2>&5
28027 ac_status=$?
28028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28029 (exit $ac_status); }; }; then
28030 glibcxx_cv_func__long_double_round_use=yes
28031 else
28032 echo "$as_me: failed program was:" >&5
28033 sed 's/^/| /' conftest.$ac_ext >&5
28035 glibcxx_cv_func__long_double_round_use=no
28037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28038 ac_ext=c
28039 ac_cpp='$CPP $CPPFLAGS'
28040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28046 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
28047 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
28048 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
28051 for ac_func in _ceill _floorl
28053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28054 echo "$as_me:$LINENO: checking for $ac_func" >&5
28055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28056 if eval "test \"\${$as_ac_var+set}\" = set"; then
28057 echo $ECHO_N "(cached) $ECHO_C" >&6
28058 else
28059 if test x$gcc_no_link = xyes; then
28060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28062 { (exit 1); exit 1; }; }
28064 cat >conftest.$ac_ext <<_ACEOF
28065 /* confdefs.h. */
28066 _ACEOF
28067 cat confdefs.h >>conftest.$ac_ext
28068 cat >>conftest.$ac_ext <<_ACEOF
28069 /* end confdefs.h. */
28070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28072 #define $ac_func innocuous_$ac_func
28074 /* System header to define __stub macros and hopefully few prototypes,
28075 which can conflict with char $ac_func (); below.
28076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28077 <limits.h> exists even on freestanding compilers. */
28079 #ifdef __STDC__
28080 # include <limits.h>
28081 #else
28082 # include <assert.h>
28083 #endif
28085 #undef $ac_func
28087 /* Override any gcc2 internal prototype to avoid an error. */
28088 #ifdef __cplusplus
28089 extern "C"
28091 #endif
28092 /* We use char because int might match the return type of a gcc2
28093 builtin and then its argument prototype would still apply. */
28094 char $ac_func ();
28095 /* The GNU C library defines this for functions which it implements
28096 to always fail with ENOSYS. Some functions are actually named
28097 something starting with __ and the normal name is an alias. */
28098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28099 choke me
28100 #else
28101 char (*f) () = $ac_func;
28102 #endif
28103 #ifdef __cplusplus
28105 #endif
28108 main ()
28110 return f != $ac_func;
28112 return 0;
28114 _ACEOF
28115 rm -f conftest.$ac_objext conftest$ac_exeext
28116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28117 (eval $ac_link) 2>conftest.er1
28118 ac_status=$?
28119 grep -v '^ *+' conftest.er1 >conftest.err
28120 rm -f conftest.er1
28121 cat conftest.err >&5
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); } &&
28124 { ac_try='test -z "$ac_c_werror_flag"
28125 || test ! -s conftest.err'
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); }; } &&
28131 { ac_try='test -s conftest$ac_exeext'
28132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28133 (eval $ac_try) 2>&5
28134 ac_status=$?
28135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136 (exit $ac_status); }; }; then
28137 eval "$as_ac_var=yes"
28138 else
28139 echo "$as_me: failed program was:" >&5
28140 sed 's/^/| /' conftest.$ac_ext >&5
28142 eval "$as_ac_var=no"
28144 rm -f conftest.err conftest.$ac_objext \
28145 conftest$ac_exeext conftest.$ac_ext
28147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28149 if test `eval echo '${'$as_ac_var'}'` = yes; then
28150 cat >>confdefs.h <<_ACEOF
28151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28152 _ACEOF
28155 done
28167 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
28168 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
28169 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
28170 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
28171 echo $ECHO_N "(cached) $ECHO_C" >&6
28172 else
28176 ac_ext=cc
28177 ac_cpp='$CXXCPP $CPPFLAGS'
28178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28182 cat >conftest.$ac_ext <<_ACEOF
28183 /* confdefs.h. */
28184 _ACEOF
28185 cat confdefs.h >>conftest.$ac_ext
28186 cat >>conftest.$ac_ext <<_ACEOF
28187 /* end confdefs.h. */
28188 #include <math.h>
28189 #ifdef HAVE_IEEEFP_H
28190 #include <ieeefp.h>
28191 #endif
28194 main ()
28196 isnanl(0);
28198 return 0;
28200 _ACEOF
28201 rm -f conftest.$ac_objext
28202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28203 (eval $ac_compile) 2>conftest.er1
28204 ac_status=$?
28205 grep -v '^ *+' conftest.er1 >conftest.err
28206 rm -f conftest.er1
28207 cat conftest.err >&5
28208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28209 (exit $ac_status); } &&
28210 { ac_try='test -z "$ac_cxx_werror_flag"
28211 || test ! -s conftest.err'
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); }; } &&
28217 { ac_try='test -s conftest.$ac_objext'
28218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28219 (eval $ac_try) 2>&5
28220 ac_status=$?
28221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28222 (exit $ac_status); }; }; then
28223 glibcxx_cv_func_isnanl_use=yes
28224 else
28225 echo "$as_me: failed program was:" >&5
28226 sed 's/^/| /' conftest.$ac_ext >&5
28228 glibcxx_cv_func_isnanl_use=no
28230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28231 ac_ext=c
28232 ac_cpp='$CPP $CPPFLAGS'
28233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
28242 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
28244 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
28246 for ac_func in isnanl
28248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28249 echo "$as_me:$LINENO: checking for $ac_func" >&5
28250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28251 if eval "test \"\${$as_ac_var+set}\" = set"; then
28252 echo $ECHO_N "(cached) $ECHO_C" >&6
28253 else
28254 if test x$gcc_no_link = xyes; then
28255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28257 { (exit 1); exit 1; }; }
28259 cat >conftest.$ac_ext <<_ACEOF
28260 /* confdefs.h. */
28261 _ACEOF
28262 cat confdefs.h >>conftest.$ac_ext
28263 cat >>conftest.$ac_ext <<_ACEOF
28264 /* end confdefs.h. */
28265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28267 #define $ac_func innocuous_$ac_func
28269 /* System header to define __stub macros and hopefully few prototypes,
28270 which can conflict with char $ac_func (); below.
28271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28272 <limits.h> exists even on freestanding compilers. */
28274 #ifdef __STDC__
28275 # include <limits.h>
28276 #else
28277 # include <assert.h>
28278 #endif
28280 #undef $ac_func
28282 /* Override any gcc2 internal prototype to avoid an error. */
28283 #ifdef __cplusplus
28284 extern "C"
28286 #endif
28287 /* We use char because int might match the return type of a gcc2
28288 builtin and then its argument prototype would still apply. */
28289 char $ac_func ();
28290 /* The GNU C library defines this for functions which it implements
28291 to always fail with ENOSYS. Some functions are actually named
28292 something starting with __ and the normal name is an alias. */
28293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28294 choke me
28295 #else
28296 char (*f) () = $ac_func;
28297 #endif
28298 #ifdef __cplusplus
28300 #endif
28303 main ()
28305 return f != $ac_func;
28307 return 0;
28309 _ACEOF
28310 rm -f conftest.$ac_objext conftest$ac_exeext
28311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28312 (eval $ac_link) 2>conftest.er1
28313 ac_status=$?
28314 grep -v '^ *+' conftest.er1 >conftest.err
28315 rm -f conftest.er1
28316 cat conftest.err >&5
28317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28318 (exit $ac_status); } &&
28319 { ac_try='test -z "$ac_c_werror_flag"
28320 || test ! -s conftest.err'
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); }; } &&
28326 { ac_try='test -s conftest$ac_exeext'
28327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28328 (eval $ac_try) 2>&5
28329 ac_status=$?
28330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28331 (exit $ac_status); }; }; then
28332 eval "$as_ac_var=yes"
28333 else
28334 echo "$as_me: failed program was:" >&5
28335 sed 's/^/| /' conftest.$ac_ext >&5
28337 eval "$as_ac_var=no"
28339 rm -f conftest.err conftest.$ac_objext \
28340 conftest$ac_exeext conftest.$ac_ext
28342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28344 if test `eval echo '${'$as_ac_var'}'` = yes; then
28345 cat >>confdefs.h <<_ACEOF
28346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28347 _ACEOF
28350 done
28352 else
28354 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
28355 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
28356 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
28357 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
28358 echo $ECHO_N "(cached) $ECHO_C" >&6
28359 else
28363 ac_ext=cc
28364 ac_cpp='$CXXCPP $CPPFLAGS'
28365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28369 cat >conftest.$ac_ext <<_ACEOF
28370 /* confdefs.h. */
28371 _ACEOF
28372 cat confdefs.h >>conftest.$ac_ext
28373 cat >>conftest.$ac_ext <<_ACEOF
28374 /* end confdefs.h. */
28375 #include <math.h>
28376 #ifdef HAVE_IEEEFP_H
28377 #include <ieeefp.h>
28378 #endif
28381 main ()
28383 _isnanl(0);
28385 return 0;
28387 _ACEOF
28388 rm -f conftest.$ac_objext
28389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28390 (eval $ac_compile) 2>conftest.er1
28391 ac_status=$?
28392 grep -v '^ *+' conftest.er1 >conftest.err
28393 rm -f conftest.er1
28394 cat conftest.err >&5
28395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28396 (exit $ac_status); } &&
28397 { ac_try='test -z "$ac_cxx_werror_flag"
28398 || test ! -s conftest.err'
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); }; } &&
28404 { ac_try='test -s conftest.$ac_objext'
28405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28406 (eval $ac_try) 2>&5
28407 ac_status=$?
28408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28409 (exit $ac_status); }; }; then
28410 glibcxx_cv_func__isnanl_use=yes
28411 else
28412 echo "$as_me: failed program was:" >&5
28413 sed 's/^/| /' conftest.$ac_ext >&5
28415 glibcxx_cv_func__isnanl_use=no
28417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28418 ac_ext=c
28419 ac_cpp='$CPP $CPPFLAGS'
28420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28428 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
28429 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
28431 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
28433 for ac_func in _isnanl
28435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28436 echo "$as_me:$LINENO: checking for $ac_func" >&5
28437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28438 if eval "test \"\${$as_ac_var+set}\" = set"; then
28439 echo $ECHO_N "(cached) $ECHO_C" >&6
28440 else
28441 if test x$gcc_no_link = xyes; then
28442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28444 { (exit 1); exit 1; }; }
28446 cat >conftest.$ac_ext <<_ACEOF
28447 /* confdefs.h. */
28448 _ACEOF
28449 cat confdefs.h >>conftest.$ac_ext
28450 cat >>conftest.$ac_ext <<_ACEOF
28451 /* end confdefs.h. */
28452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28454 #define $ac_func innocuous_$ac_func
28456 /* System header to define __stub macros and hopefully few prototypes,
28457 which can conflict with char $ac_func (); below.
28458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28459 <limits.h> exists even on freestanding compilers. */
28461 #ifdef __STDC__
28462 # include <limits.h>
28463 #else
28464 # include <assert.h>
28465 #endif
28467 #undef $ac_func
28469 /* Override any gcc2 internal prototype to avoid an error. */
28470 #ifdef __cplusplus
28471 extern "C"
28473 #endif
28474 /* We use char because int might match the return type of a gcc2
28475 builtin and then its argument prototype would still apply. */
28476 char $ac_func ();
28477 /* The GNU C library defines this for functions which it implements
28478 to always fail with ENOSYS. Some functions are actually named
28479 something starting with __ and the normal name is an alias. */
28480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28481 choke me
28482 #else
28483 char (*f) () = $ac_func;
28484 #endif
28485 #ifdef __cplusplus
28487 #endif
28490 main ()
28492 return f != $ac_func;
28494 return 0;
28496 _ACEOF
28497 rm -f conftest.$ac_objext conftest$ac_exeext
28498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28499 (eval $ac_link) 2>conftest.er1
28500 ac_status=$?
28501 grep -v '^ *+' conftest.er1 >conftest.err
28502 rm -f conftest.er1
28503 cat conftest.err >&5
28504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28505 (exit $ac_status); } &&
28506 { ac_try='test -z "$ac_c_werror_flag"
28507 || test ! -s conftest.err'
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); }; } &&
28513 { ac_try='test -s conftest$ac_exeext'
28514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28515 (eval $ac_try) 2>&5
28516 ac_status=$?
28517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28518 (exit $ac_status); }; }; then
28519 eval "$as_ac_var=yes"
28520 else
28521 echo "$as_me: failed program was:" >&5
28522 sed 's/^/| /' conftest.$ac_ext >&5
28524 eval "$as_ac_var=no"
28526 rm -f conftest.err conftest.$ac_objext \
28527 conftest$ac_exeext conftest.$ac_ext
28529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28531 if test `eval echo '${'$as_ac_var'}'` = yes; then
28532 cat >>confdefs.h <<_ACEOF
28533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28534 _ACEOF
28537 done
28547 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
28548 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
28549 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
28550 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
28551 echo $ECHO_N "(cached) $ECHO_C" >&6
28552 else
28556 ac_ext=cc
28557 ac_cpp='$CXXCPP $CPPFLAGS'
28558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28562 cat >conftest.$ac_ext <<_ACEOF
28563 /* confdefs.h. */
28564 _ACEOF
28565 cat confdefs.h >>conftest.$ac_ext
28566 cat >>conftest.$ac_ext <<_ACEOF
28567 /* end confdefs.h. */
28568 #include <math.h>
28569 #ifdef HAVE_IEEEFP_H
28570 #include <ieeefp.h>
28571 #endif
28574 main ()
28576 isinfl(0);
28578 return 0;
28580 _ACEOF
28581 rm -f conftest.$ac_objext
28582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28583 (eval $ac_compile) 2>conftest.er1
28584 ac_status=$?
28585 grep -v '^ *+' conftest.er1 >conftest.err
28586 rm -f conftest.er1
28587 cat conftest.err >&5
28588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28589 (exit $ac_status); } &&
28590 { ac_try='test -z "$ac_cxx_werror_flag"
28591 || test ! -s conftest.err'
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); }; } &&
28597 { ac_try='test -s conftest.$ac_objext'
28598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28599 (eval $ac_try) 2>&5
28600 ac_status=$?
28601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28602 (exit $ac_status); }; }; then
28603 glibcxx_cv_func_isinfl_use=yes
28604 else
28605 echo "$as_me: failed program was:" >&5
28606 sed 's/^/| /' conftest.$ac_ext >&5
28608 glibcxx_cv_func_isinfl_use=no
28610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28611 ac_ext=c
28612 ac_cpp='$CPP $CPPFLAGS'
28613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28621 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
28622 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
28624 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
28626 for ac_func in isinfl
28628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28629 echo "$as_me:$LINENO: checking for $ac_func" >&5
28630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28631 if eval "test \"\${$as_ac_var+set}\" = set"; then
28632 echo $ECHO_N "(cached) $ECHO_C" >&6
28633 else
28634 if test x$gcc_no_link = xyes; then
28635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28637 { (exit 1); exit 1; }; }
28639 cat >conftest.$ac_ext <<_ACEOF
28640 /* confdefs.h. */
28641 _ACEOF
28642 cat confdefs.h >>conftest.$ac_ext
28643 cat >>conftest.$ac_ext <<_ACEOF
28644 /* end confdefs.h. */
28645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28647 #define $ac_func innocuous_$ac_func
28649 /* System header to define __stub macros and hopefully few prototypes,
28650 which can conflict with char $ac_func (); below.
28651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28652 <limits.h> exists even on freestanding compilers. */
28654 #ifdef __STDC__
28655 # include <limits.h>
28656 #else
28657 # include <assert.h>
28658 #endif
28660 #undef $ac_func
28662 /* Override any gcc2 internal prototype to avoid an error. */
28663 #ifdef __cplusplus
28664 extern "C"
28666 #endif
28667 /* We use char because int might match the return type of a gcc2
28668 builtin and then its argument prototype would still apply. */
28669 char $ac_func ();
28670 /* The GNU C library defines this for functions which it implements
28671 to always fail with ENOSYS. Some functions are actually named
28672 something starting with __ and the normal name is an alias. */
28673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28674 choke me
28675 #else
28676 char (*f) () = $ac_func;
28677 #endif
28678 #ifdef __cplusplus
28680 #endif
28683 main ()
28685 return f != $ac_func;
28687 return 0;
28689 _ACEOF
28690 rm -f conftest.$ac_objext conftest$ac_exeext
28691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28692 (eval $ac_link) 2>conftest.er1
28693 ac_status=$?
28694 grep -v '^ *+' conftest.er1 >conftest.err
28695 rm -f conftest.er1
28696 cat conftest.err >&5
28697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698 (exit $ac_status); } &&
28699 { ac_try='test -z "$ac_c_werror_flag"
28700 || test ! -s conftest.err'
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); }; } &&
28706 { ac_try='test -s conftest$ac_exeext'
28707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28708 (eval $ac_try) 2>&5
28709 ac_status=$?
28710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28711 (exit $ac_status); }; }; then
28712 eval "$as_ac_var=yes"
28713 else
28714 echo "$as_me: failed program was:" >&5
28715 sed 's/^/| /' conftest.$ac_ext >&5
28717 eval "$as_ac_var=no"
28719 rm -f conftest.err conftest.$ac_objext \
28720 conftest$ac_exeext conftest.$ac_ext
28722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28724 if test `eval echo '${'$as_ac_var'}'` = yes; then
28725 cat >>confdefs.h <<_ACEOF
28726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28727 _ACEOF
28730 done
28732 else
28734 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
28735 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
28736 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
28737 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
28738 echo $ECHO_N "(cached) $ECHO_C" >&6
28739 else
28743 ac_ext=cc
28744 ac_cpp='$CXXCPP $CPPFLAGS'
28745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28749 cat >conftest.$ac_ext <<_ACEOF
28750 /* confdefs.h. */
28751 _ACEOF
28752 cat confdefs.h >>conftest.$ac_ext
28753 cat >>conftest.$ac_ext <<_ACEOF
28754 /* end confdefs.h. */
28755 #include <math.h>
28756 #ifdef HAVE_IEEEFP_H
28757 #include <ieeefp.h>
28758 #endif
28761 main ()
28763 _isinfl(0);
28765 return 0;
28767 _ACEOF
28768 rm -f conftest.$ac_objext
28769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28770 (eval $ac_compile) 2>conftest.er1
28771 ac_status=$?
28772 grep -v '^ *+' conftest.er1 >conftest.err
28773 rm -f conftest.er1
28774 cat conftest.err >&5
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); } &&
28777 { ac_try='test -z "$ac_cxx_werror_flag"
28778 || test ! -s conftest.err'
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); }; } &&
28784 { ac_try='test -s conftest.$ac_objext'
28785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28786 (eval $ac_try) 2>&5
28787 ac_status=$?
28788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28789 (exit $ac_status); }; }; then
28790 glibcxx_cv_func__isinfl_use=yes
28791 else
28792 echo "$as_me: failed program was:" >&5
28793 sed 's/^/| /' conftest.$ac_ext >&5
28795 glibcxx_cv_func__isinfl_use=no
28797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28798 ac_ext=c
28799 ac_cpp='$CPP $CPPFLAGS'
28800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28808 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
28809 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
28811 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
28813 for ac_func in _isinfl
28815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28816 echo "$as_me:$LINENO: checking for $ac_func" >&5
28817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28818 if eval "test \"\${$as_ac_var+set}\" = set"; then
28819 echo $ECHO_N "(cached) $ECHO_C" >&6
28820 else
28821 if test x$gcc_no_link = xyes; then
28822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28824 { (exit 1); exit 1; }; }
28826 cat >conftest.$ac_ext <<_ACEOF
28827 /* confdefs.h. */
28828 _ACEOF
28829 cat confdefs.h >>conftest.$ac_ext
28830 cat >>conftest.$ac_ext <<_ACEOF
28831 /* end confdefs.h. */
28832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28834 #define $ac_func innocuous_$ac_func
28836 /* System header to define __stub macros and hopefully few prototypes,
28837 which can conflict with char $ac_func (); below.
28838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28839 <limits.h> exists even on freestanding compilers. */
28841 #ifdef __STDC__
28842 # include <limits.h>
28843 #else
28844 # include <assert.h>
28845 #endif
28847 #undef $ac_func
28849 /* Override any gcc2 internal prototype to avoid an error. */
28850 #ifdef __cplusplus
28851 extern "C"
28853 #endif
28854 /* We use char because int might match the return type of a gcc2
28855 builtin and then its argument prototype would still apply. */
28856 char $ac_func ();
28857 /* The GNU C library defines this for functions which it implements
28858 to always fail with ENOSYS. Some functions are actually named
28859 something starting with __ and the normal name is an alias. */
28860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28861 choke me
28862 #else
28863 char (*f) () = $ac_func;
28864 #endif
28865 #ifdef __cplusplus
28867 #endif
28870 main ()
28872 return f != $ac_func;
28874 return 0;
28876 _ACEOF
28877 rm -f conftest.$ac_objext conftest$ac_exeext
28878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28879 (eval $ac_link) 2>conftest.er1
28880 ac_status=$?
28881 grep -v '^ *+' conftest.er1 >conftest.err
28882 rm -f conftest.er1
28883 cat conftest.err >&5
28884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28885 (exit $ac_status); } &&
28886 { ac_try='test -z "$ac_c_werror_flag"
28887 || test ! -s conftest.err'
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); }; } &&
28893 { ac_try='test -s conftest$ac_exeext'
28894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28895 (eval $ac_try) 2>&5
28896 ac_status=$?
28897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28898 (exit $ac_status); }; }; then
28899 eval "$as_ac_var=yes"
28900 else
28901 echo "$as_me: failed program was:" >&5
28902 sed 's/^/| /' conftest.$ac_ext >&5
28904 eval "$as_ac_var=no"
28906 rm -f conftest.err conftest.$ac_objext \
28907 conftest$ac_exeext conftest.$ac_ext
28909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28911 if test `eval echo '${'$as_ac_var'}'` = yes; then
28912 cat >>confdefs.h <<_ACEOF
28913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28914 _ACEOF
28917 done
28927 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
28928 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
28929 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
28930 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
28931 echo $ECHO_N "(cached) $ECHO_C" >&6
28932 else
28936 ac_ext=cc
28937 ac_cpp='$CXXCPP $CPPFLAGS'
28938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28942 cat >conftest.$ac_ext <<_ACEOF
28943 /* confdefs.h. */
28944 _ACEOF
28945 cat confdefs.h >>conftest.$ac_ext
28946 cat >>conftest.$ac_ext <<_ACEOF
28947 /* end confdefs.h. */
28948 #include <math.h>
28950 main ()
28952 copysignl(0, 0);
28954 return 0;
28956 _ACEOF
28957 rm -f conftest.$ac_objext
28958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28959 (eval $ac_compile) 2>conftest.er1
28960 ac_status=$?
28961 grep -v '^ *+' conftest.er1 >conftest.err
28962 rm -f conftest.er1
28963 cat conftest.err >&5
28964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28965 (exit $ac_status); } &&
28966 { ac_try='test -z "$ac_cxx_werror_flag"
28967 || test ! -s conftest.err'
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); }; } &&
28973 { ac_try='test -s conftest.$ac_objext'
28974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28975 (eval $ac_try) 2>&5
28976 ac_status=$?
28977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28978 (exit $ac_status); }; }; then
28979 glibcxx_cv_func_copysignl_use=yes
28980 else
28981 echo "$as_me: failed program was:" >&5
28982 sed 's/^/| /' conftest.$ac_ext >&5
28984 glibcxx_cv_func_copysignl_use=no
28986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28987 ac_ext=c
28988 ac_cpp='$CPP $CPPFLAGS'
28989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28997 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
28998 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
29000 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
29002 for ac_func in copysignl
29004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29005 echo "$as_me:$LINENO: checking for $ac_func" >&5
29006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29007 if eval "test \"\${$as_ac_var+set}\" = set"; then
29008 echo $ECHO_N "(cached) $ECHO_C" >&6
29009 else
29010 if test x$gcc_no_link = xyes; then
29011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29013 { (exit 1); exit 1; }; }
29015 cat >conftest.$ac_ext <<_ACEOF
29016 /* confdefs.h. */
29017 _ACEOF
29018 cat confdefs.h >>conftest.$ac_ext
29019 cat >>conftest.$ac_ext <<_ACEOF
29020 /* end confdefs.h. */
29021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29023 #define $ac_func innocuous_$ac_func
29025 /* System header to define __stub macros and hopefully few prototypes,
29026 which can conflict with char $ac_func (); below.
29027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29028 <limits.h> exists even on freestanding compilers. */
29030 #ifdef __STDC__
29031 # include <limits.h>
29032 #else
29033 # include <assert.h>
29034 #endif
29036 #undef $ac_func
29038 /* Override any gcc2 internal prototype to avoid an error. */
29039 #ifdef __cplusplus
29040 extern "C"
29042 #endif
29043 /* We use char because int might match the return type of a gcc2
29044 builtin and then its argument prototype would still apply. */
29045 char $ac_func ();
29046 /* The GNU C library defines this for functions which it implements
29047 to always fail with ENOSYS. Some functions are actually named
29048 something starting with __ and the normal name is an alias. */
29049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29050 choke me
29051 #else
29052 char (*f) () = $ac_func;
29053 #endif
29054 #ifdef __cplusplus
29056 #endif
29059 main ()
29061 return f != $ac_func;
29063 return 0;
29065 _ACEOF
29066 rm -f conftest.$ac_objext conftest$ac_exeext
29067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29068 (eval $ac_link) 2>conftest.er1
29069 ac_status=$?
29070 grep -v '^ *+' conftest.er1 >conftest.err
29071 rm -f conftest.er1
29072 cat conftest.err >&5
29073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29074 (exit $ac_status); } &&
29075 { ac_try='test -z "$ac_c_werror_flag"
29076 || test ! -s conftest.err'
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); }; } &&
29082 { ac_try='test -s conftest$ac_exeext'
29083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29084 (eval $ac_try) 2>&5
29085 ac_status=$?
29086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29087 (exit $ac_status); }; }; then
29088 eval "$as_ac_var=yes"
29089 else
29090 echo "$as_me: failed program was:" >&5
29091 sed 's/^/| /' conftest.$ac_ext >&5
29093 eval "$as_ac_var=no"
29095 rm -f conftest.err conftest.$ac_objext \
29096 conftest$ac_exeext conftest.$ac_ext
29098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29100 if test `eval echo '${'$as_ac_var'}'` = yes; then
29101 cat >>confdefs.h <<_ACEOF
29102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29103 _ACEOF
29106 done
29108 else
29110 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
29111 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
29112 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
29113 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
29114 echo $ECHO_N "(cached) $ECHO_C" >&6
29115 else
29119 ac_ext=cc
29120 ac_cpp='$CXXCPP $CPPFLAGS'
29121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29125 cat >conftest.$ac_ext <<_ACEOF
29126 /* confdefs.h. */
29127 _ACEOF
29128 cat confdefs.h >>conftest.$ac_ext
29129 cat >>conftest.$ac_ext <<_ACEOF
29130 /* end confdefs.h. */
29131 #include <math.h>
29133 main ()
29135 _copysignl(0, 0);
29137 return 0;
29139 _ACEOF
29140 rm -f conftest.$ac_objext
29141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29142 (eval $ac_compile) 2>conftest.er1
29143 ac_status=$?
29144 grep -v '^ *+' conftest.er1 >conftest.err
29145 rm -f conftest.er1
29146 cat conftest.err >&5
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); } &&
29149 { ac_try='test -z "$ac_cxx_werror_flag"
29150 || test ! -s conftest.err'
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); }; } &&
29156 { ac_try='test -s conftest.$ac_objext'
29157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29158 (eval $ac_try) 2>&5
29159 ac_status=$?
29160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29161 (exit $ac_status); }; }; then
29162 glibcxx_cv_func__copysignl_use=yes
29163 else
29164 echo "$as_me: failed program was:" >&5
29165 sed 's/^/| /' conftest.$ac_ext >&5
29167 glibcxx_cv_func__copysignl_use=no
29169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29170 ac_ext=c
29171 ac_cpp='$CPP $CPPFLAGS'
29172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29180 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
29181 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
29183 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
29185 for ac_func in _copysignl
29187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29188 echo "$as_me:$LINENO: checking for $ac_func" >&5
29189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29190 if eval "test \"\${$as_ac_var+set}\" = set"; then
29191 echo $ECHO_N "(cached) $ECHO_C" >&6
29192 else
29193 if test x$gcc_no_link = xyes; then
29194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29196 { (exit 1); exit 1; }; }
29198 cat >conftest.$ac_ext <<_ACEOF
29199 /* confdefs.h. */
29200 _ACEOF
29201 cat confdefs.h >>conftest.$ac_ext
29202 cat >>conftest.$ac_ext <<_ACEOF
29203 /* end confdefs.h. */
29204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29206 #define $ac_func innocuous_$ac_func
29208 /* System header to define __stub macros and hopefully few prototypes,
29209 which can conflict with char $ac_func (); below.
29210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29211 <limits.h> exists even on freestanding compilers. */
29213 #ifdef __STDC__
29214 # include <limits.h>
29215 #else
29216 # include <assert.h>
29217 #endif
29219 #undef $ac_func
29221 /* Override any gcc2 internal prototype to avoid an error. */
29222 #ifdef __cplusplus
29223 extern "C"
29225 #endif
29226 /* We use char because int might match the return type of a gcc2
29227 builtin and then its argument prototype would still apply. */
29228 char $ac_func ();
29229 /* The GNU C library defines this for functions which it implements
29230 to always fail with ENOSYS. Some functions are actually named
29231 something starting with __ and the normal name is an alias. */
29232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29233 choke me
29234 #else
29235 char (*f) () = $ac_func;
29236 #endif
29237 #ifdef __cplusplus
29239 #endif
29242 main ()
29244 return f != $ac_func;
29246 return 0;
29248 _ACEOF
29249 rm -f conftest.$ac_objext conftest$ac_exeext
29250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29251 (eval $ac_link) 2>conftest.er1
29252 ac_status=$?
29253 grep -v '^ *+' conftest.er1 >conftest.err
29254 rm -f conftest.er1
29255 cat conftest.err >&5
29256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29257 (exit $ac_status); } &&
29258 { ac_try='test -z "$ac_c_werror_flag"
29259 || test ! -s conftest.err'
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); }; } &&
29265 { ac_try='test -s conftest$ac_exeext'
29266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29267 (eval $ac_try) 2>&5
29268 ac_status=$?
29269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29270 (exit $ac_status); }; }; then
29271 eval "$as_ac_var=yes"
29272 else
29273 echo "$as_me: failed program was:" >&5
29274 sed 's/^/| /' conftest.$ac_ext >&5
29276 eval "$as_ac_var=no"
29278 rm -f conftest.err conftest.$ac_objext \
29279 conftest$ac_exeext conftest.$ac_ext
29281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29283 if test `eval echo '${'$as_ac_var'}'` = yes; then
29284 cat >>confdefs.h <<_ACEOF
29285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29286 _ACEOF
29289 done
29299 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
29300 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
29301 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
29302 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
29303 echo $ECHO_N "(cached) $ECHO_C" >&6
29304 else
29308 ac_ext=cc
29309 ac_cpp='$CXXCPP $CPPFLAGS'
29310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29314 cat >conftest.$ac_ext <<_ACEOF
29315 /* confdefs.h. */
29316 _ACEOF
29317 cat confdefs.h >>conftest.$ac_ext
29318 cat >>conftest.$ac_ext <<_ACEOF
29319 /* end confdefs.h. */
29320 #include <math.h>
29322 main ()
29324 atan2l(0, 0);
29326 return 0;
29328 _ACEOF
29329 rm -f conftest.$ac_objext
29330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29331 (eval $ac_compile) 2>conftest.er1
29332 ac_status=$?
29333 grep -v '^ *+' conftest.er1 >conftest.err
29334 rm -f conftest.er1
29335 cat conftest.err >&5
29336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29337 (exit $ac_status); } &&
29338 { ac_try='test -z "$ac_cxx_werror_flag"
29339 || test ! -s conftest.err'
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); }; } &&
29345 { ac_try='test -s conftest.$ac_objext'
29346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29347 (eval $ac_try) 2>&5
29348 ac_status=$?
29349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29350 (exit $ac_status); }; }; then
29351 glibcxx_cv_func_atan2l_use=yes
29352 else
29353 echo "$as_me: failed program was:" >&5
29354 sed 's/^/| /' conftest.$ac_ext >&5
29356 glibcxx_cv_func_atan2l_use=no
29358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29359 ac_ext=c
29360 ac_cpp='$CPP $CPPFLAGS'
29361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29369 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
29370 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
29372 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
29374 for ac_func in atan2l
29376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29377 echo "$as_me:$LINENO: checking for $ac_func" >&5
29378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29379 if eval "test \"\${$as_ac_var+set}\" = set"; then
29380 echo $ECHO_N "(cached) $ECHO_C" >&6
29381 else
29382 if test x$gcc_no_link = xyes; then
29383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29385 { (exit 1); exit 1; }; }
29387 cat >conftest.$ac_ext <<_ACEOF
29388 /* confdefs.h. */
29389 _ACEOF
29390 cat confdefs.h >>conftest.$ac_ext
29391 cat >>conftest.$ac_ext <<_ACEOF
29392 /* end confdefs.h. */
29393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29395 #define $ac_func innocuous_$ac_func
29397 /* System header to define __stub macros and hopefully few prototypes,
29398 which can conflict with char $ac_func (); below.
29399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29400 <limits.h> exists even on freestanding compilers. */
29402 #ifdef __STDC__
29403 # include <limits.h>
29404 #else
29405 # include <assert.h>
29406 #endif
29408 #undef $ac_func
29410 /* Override any gcc2 internal prototype to avoid an error. */
29411 #ifdef __cplusplus
29412 extern "C"
29414 #endif
29415 /* We use char because int might match the return type of a gcc2
29416 builtin and then its argument prototype would still apply. */
29417 char $ac_func ();
29418 /* The GNU C library defines this for functions which it implements
29419 to always fail with ENOSYS. Some functions are actually named
29420 something starting with __ and the normal name is an alias. */
29421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29422 choke me
29423 #else
29424 char (*f) () = $ac_func;
29425 #endif
29426 #ifdef __cplusplus
29428 #endif
29431 main ()
29433 return f != $ac_func;
29435 return 0;
29437 _ACEOF
29438 rm -f conftest.$ac_objext conftest$ac_exeext
29439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29440 (eval $ac_link) 2>conftest.er1
29441 ac_status=$?
29442 grep -v '^ *+' conftest.er1 >conftest.err
29443 rm -f conftest.er1
29444 cat conftest.err >&5
29445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29446 (exit $ac_status); } &&
29447 { ac_try='test -z "$ac_c_werror_flag"
29448 || test ! -s conftest.err'
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); }; } &&
29454 { ac_try='test -s conftest$ac_exeext'
29455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29456 (eval $ac_try) 2>&5
29457 ac_status=$?
29458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29459 (exit $ac_status); }; }; then
29460 eval "$as_ac_var=yes"
29461 else
29462 echo "$as_me: failed program was:" >&5
29463 sed 's/^/| /' conftest.$ac_ext >&5
29465 eval "$as_ac_var=no"
29467 rm -f conftest.err conftest.$ac_objext \
29468 conftest$ac_exeext conftest.$ac_ext
29470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29472 if test `eval echo '${'$as_ac_var'}'` = yes; then
29473 cat >>confdefs.h <<_ACEOF
29474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29475 _ACEOF
29478 done
29480 else
29482 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
29483 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
29484 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
29485 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
29486 echo $ECHO_N "(cached) $ECHO_C" >&6
29487 else
29491 ac_ext=cc
29492 ac_cpp='$CXXCPP $CPPFLAGS'
29493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29497 cat >conftest.$ac_ext <<_ACEOF
29498 /* confdefs.h. */
29499 _ACEOF
29500 cat confdefs.h >>conftest.$ac_ext
29501 cat >>conftest.$ac_ext <<_ACEOF
29502 /* end confdefs.h. */
29503 #include <math.h>
29505 main ()
29507 _atan2l(0, 0);
29509 return 0;
29511 _ACEOF
29512 rm -f conftest.$ac_objext
29513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29514 (eval $ac_compile) 2>conftest.er1
29515 ac_status=$?
29516 grep -v '^ *+' conftest.er1 >conftest.err
29517 rm -f conftest.er1
29518 cat conftest.err >&5
29519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29520 (exit $ac_status); } &&
29521 { ac_try='test -z "$ac_cxx_werror_flag"
29522 || test ! -s conftest.err'
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); }; } &&
29528 { ac_try='test -s conftest.$ac_objext'
29529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29530 (eval $ac_try) 2>&5
29531 ac_status=$?
29532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29533 (exit $ac_status); }; }; then
29534 glibcxx_cv_func__atan2l_use=yes
29535 else
29536 echo "$as_me: failed program was:" >&5
29537 sed 's/^/| /' conftest.$ac_ext >&5
29539 glibcxx_cv_func__atan2l_use=no
29541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29542 ac_ext=c
29543 ac_cpp='$CPP $CPPFLAGS'
29544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29552 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
29553 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
29555 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
29557 for ac_func in _atan2l
29559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29560 echo "$as_me:$LINENO: checking for $ac_func" >&5
29561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29562 if eval "test \"\${$as_ac_var+set}\" = set"; then
29563 echo $ECHO_N "(cached) $ECHO_C" >&6
29564 else
29565 if test x$gcc_no_link = xyes; then
29566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29568 { (exit 1); exit 1; }; }
29570 cat >conftest.$ac_ext <<_ACEOF
29571 /* confdefs.h. */
29572 _ACEOF
29573 cat confdefs.h >>conftest.$ac_ext
29574 cat >>conftest.$ac_ext <<_ACEOF
29575 /* end confdefs.h. */
29576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29578 #define $ac_func innocuous_$ac_func
29580 /* System header to define __stub macros and hopefully few prototypes,
29581 which can conflict with char $ac_func (); below.
29582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29583 <limits.h> exists even on freestanding compilers. */
29585 #ifdef __STDC__
29586 # include <limits.h>
29587 #else
29588 # include <assert.h>
29589 #endif
29591 #undef $ac_func
29593 /* Override any gcc2 internal prototype to avoid an error. */
29594 #ifdef __cplusplus
29595 extern "C"
29597 #endif
29598 /* We use char because int might match the return type of a gcc2
29599 builtin and then its argument prototype would still apply. */
29600 char $ac_func ();
29601 /* The GNU C library defines this for functions which it implements
29602 to always fail with ENOSYS. Some functions are actually named
29603 something starting with __ and the normal name is an alias. */
29604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29605 choke me
29606 #else
29607 char (*f) () = $ac_func;
29608 #endif
29609 #ifdef __cplusplus
29611 #endif
29614 main ()
29616 return f != $ac_func;
29618 return 0;
29620 _ACEOF
29621 rm -f conftest.$ac_objext conftest$ac_exeext
29622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29623 (eval $ac_link) 2>conftest.er1
29624 ac_status=$?
29625 grep -v '^ *+' conftest.er1 >conftest.err
29626 rm -f conftest.er1
29627 cat conftest.err >&5
29628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629 (exit $ac_status); } &&
29630 { ac_try='test -z "$ac_c_werror_flag"
29631 || test ! -s conftest.err'
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); }; } &&
29637 { ac_try='test -s conftest$ac_exeext'
29638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29639 (eval $ac_try) 2>&5
29640 ac_status=$?
29641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29642 (exit $ac_status); }; }; then
29643 eval "$as_ac_var=yes"
29644 else
29645 echo "$as_me: failed program was:" >&5
29646 sed 's/^/| /' conftest.$ac_ext >&5
29648 eval "$as_ac_var=no"
29650 rm -f conftest.err conftest.$ac_objext \
29651 conftest$ac_exeext conftest.$ac_ext
29653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29655 if test `eval echo '${'$as_ac_var'}'` = yes; then
29656 cat >>confdefs.h <<_ACEOF
29657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29658 _ACEOF
29661 done
29671 echo "$as_me:$LINENO: checking for expl declaration" >&5
29672 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
29673 if test x${glibcxx_cv_func_expl_use+set} != xset; then
29674 if test "${glibcxx_cv_func_expl_use+set}" = set; then
29675 echo $ECHO_N "(cached) $ECHO_C" >&6
29676 else
29680 ac_ext=cc
29681 ac_cpp='$CXXCPP $CPPFLAGS'
29682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29686 cat >conftest.$ac_ext <<_ACEOF
29687 /* confdefs.h. */
29688 _ACEOF
29689 cat confdefs.h >>conftest.$ac_ext
29690 cat >>conftest.$ac_ext <<_ACEOF
29691 /* end confdefs.h. */
29692 #include <math.h>
29693 #ifdef HAVE_IEEEFP_H
29694 #include <ieeefp.h>
29695 #endif
29698 main ()
29700 expl(0);
29702 return 0;
29704 _ACEOF
29705 rm -f conftest.$ac_objext
29706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29707 (eval $ac_compile) 2>conftest.er1
29708 ac_status=$?
29709 grep -v '^ *+' conftest.er1 >conftest.err
29710 rm -f conftest.er1
29711 cat conftest.err >&5
29712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29713 (exit $ac_status); } &&
29714 { ac_try='test -z "$ac_cxx_werror_flag"
29715 || test ! -s conftest.err'
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); }; } &&
29721 { ac_try='test -s conftest.$ac_objext'
29722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29723 (eval $ac_try) 2>&5
29724 ac_status=$?
29725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29726 (exit $ac_status); }; }; then
29727 glibcxx_cv_func_expl_use=yes
29728 else
29729 echo "$as_me: failed program was:" >&5
29730 sed 's/^/| /' conftest.$ac_ext >&5
29732 glibcxx_cv_func_expl_use=no
29734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29735 ac_ext=c
29736 ac_cpp='$CPP $CPPFLAGS'
29737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29745 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
29746 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
29748 if test x$glibcxx_cv_func_expl_use = x"yes"; then
29750 for ac_func in expl
29752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29753 echo "$as_me:$LINENO: checking for $ac_func" >&5
29754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29755 if eval "test \"\${$as_ac_var+set}\" = set"; then
29756 echo $ECHO_N "(cached) $ECHO_C" >&6
29757 else
29758 if test x$gcc_no_link = xyes; then
29759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29761 { (exit 1); exit 1; }; }
29763 cat >conftest.$ac_ext <<_ACEOF
29764 /* confdefs.h. */
29765 _ACEOF
29766 cat confdefs.h >>conftest.$ac_ext
29767 cat >>conftest.$ac_ext <<_ACEOF
29768 /* end confdefs.h. */
29769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29771 #define $ac_func innocuous_$ac_func
29773 /* System header to define __stub macros and hopefully few prototypes,
29774 which can conflict with char $ac_func (); below.
29775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29776 <limits.h> exists even on freestanding compilers. */
29778 #ifdef __STDC__
29779 # include <limits.h>
29780 #else
29781 # include <assert.h>
29782 #endif
29784 #undef $ac_func
29786 /* Override any gcc2 internal prototype to avoid an error. */
29787 #ifdef __cplusplus
29788 extern "C"
29790 #endif
29791 /* We use char because int might match the return type of a gcc2
29792 builtin and then its argument prototype would still apply. */
29793 char $ac_func ();
29794 /* The GNU C library defines this for functions which it implements
29795 to always fail with ENOSYS. Some functions are actually named
29796 something starting with __ and the normal name is an alias. */
29797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29798 choke me
29799 #else
29800 char (*f) () = $ac_func;
29801 #endif
29802 #ifdef __cplusplus
29804 #endif
29807 main ()
29809 return f != $ac_func;
29811 return 0;
29813 _ACEOF
29814 rm -f conftest.$ac_objext conftest$ac_exeext
29815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29816 (eval $ac_link) 2>conftest.er1
29817 ac_status=$?
29818 grep -v '^ *+' conftest.er1 >conftest.err
29819 rm -f conftest.er1
29820 cat conftest.err >&5
29821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29822 (exit $ac_status); } &&
29823 { ac_try='test -z "$ac_c_werror_flag"
29824 || test ! -s conftest.err'
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); }; } &&
29830 { ac_try='test -s conftest$ac_exeext'
29831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29832 (eval $ac_try) 2>&5
29833 ac_status=$?
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); }; }; then
29836 eval "$as_ac_var=yes"
29837 else
29838 echo "$as_me: failed program was:" >&5
29839 sed 's/^/| /' conftest.$ac_ext >&5
29841 eval "$as_ac_var=no"
29843 rm -f conftest.err conftest.$ac_objext \
29844 conftest$ac_exeext conftest.$ac_ext
29846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29848 if test `eval echo '${'$as_ac_var'}'` = yes; then
29849 cat >>confdefs.h <<_ACEOF
29850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29851 _ACEOF
29854 done
29856 else
29858 echo "$as_me:$LINENO: checking for _expl declaration" >&5
29859 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
29860 if test x${glibcxx_cv_func__expl_use+set} != xset; then
29861 if test "${glibcxx_cv_func__expl_use+set}" = set; then
29862 echo $ECHO_N "(cached) $ECHO_C" >&6
29863 else
29867 ac_ext=cc
29868 ac_cpp='$CXXCPP $CPPFLAGS'
29869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29873 cat >conftest.$ac_ext <<_ACEOF
29874 /* confdefs.h. */
29875 _ACEOF
29876 cat confdefs.h >>conftest.$ac_ext
29877 cat >>conftest.$ac_ext <<_ACEOF
29878 /* end confdefs.h. */
29879 #include <math.h>
29880 #ifdef HAVE_IEEEFP_H
29881 #include <ieeefp.h>
29882 #endif
29885 main ()
29887 _expl(0);
29889 return 0;
29891 _ACEOF
29892 rm -f conftest.$ac_objext
29893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29894 (eval $ac_compile) 2>conftest.er1
29895 ac_status=$?
29896 grep -v '^ *+' conftest.er1 >conftest.err
29897 rm -f conftest.er1
29898 cat conftest.err >&5
29899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29900 (exit $ac_status); } &&
29901 { ac_try='test -z "$ac_cxx_werror_flag"
29902 || test ! -s conftest.err'
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); }; } &&
29908 { ac_try='test -s conftest.$ac_objext'
29909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29910 (eval $ac_try) 2>&5
29911 ac_status=$?
29912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29913 (exit $ac_status); }; }; then
29914 glibcxx_cv_func__expl_use=yes
29915 else
29916 echo "$as_me: failed program was:" >&5
29917 sed 's/^/| /' conftest.$ac_ext >&5
29919 glibcxx_cv_func__expl_use=no
29921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29922 ac_ext=c
29923 ac_cpp='$CPP $CPPFLAGS'
29924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29932 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
29933 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
29935 if test x$glibcxx_cv_func__expl_use = x"yes"; then
29937 for ac_func in _expl
29939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29940 echo "$as_me:$LINENO: checking for $ac_func" >&5
29941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29942 if eval "test \"\${$as_ac_var+set}\" = set"; then
29943 echo $ECHO_N "(cached) $ECHO_C" >&6
29944 else
29945 if test x$gcc_no_link = xyes; then
29946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29948 { (exit 1); exit 1; }; }
29950 cat >conftest.$ac_ext <<_ACEOF
29951 /* confdefs.h. */
29952 _ACEOF
29953 cat confdefs.h >>conftest.$ac_ext
29954 cat >>conftest.$ac_ext <<_ACEOF
29955 /* end confdefs.h. */
29956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29958 #define $ac_func innocuous_$ac_func
29960 /* System header to define __stub macros and hopefully few prototypes,
29961 which can conflict with char $ac_func (); below.
29962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29963 <limits.h> exists even on freestanding compilers. */
29965 #ifdef __STDC__
29966 # include <limits.h>
29967 #else
29968 # include <assert.h>
29969 #endif
29971 #undef $ac_func
29973 /* Override any gcc2 internal prototype to avoid an error. */
29974 #ifdef __cplusplus
29975 extern "C"
29977 #endif
29978 /* We use char because int might match the return type of a gcc2
29979 builtin and then its argument prototype would still apply. */
29980 char $ac_func ();
29981 /* The GNU C library defines this for functions which it implements
29982 to always fail with ENOSYS. Some functions are actually named
29983 something starting with __ and the normal name is an alias. */
29984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29985 choke me
29986 #else
29987 char (*f) () = $ac_func;
29988 #endif
29989 #ifdef __cplusplus
29991 #endif
29994 main ()
29996 return f != $ac_func;
29998 return 0;
30000 _ACEOF
30001 rm -f conftest.$ac_objext conftest$ac_exeext
30002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30003 (eval $ac_link) 2>conftest.er1
30004 ac_status=$?
30005 grep -v '^ *+' conftest.er1 >conftest.err
30006 rm -f conftest.er1
30007 cat conftest.err >&5
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); } &&
30010 { ac_try='test -z "$ac_c_werror_flag"
30011 || test ! -s conftest.err'
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); }; } &&
30017 { ac_try='test -s conftest$ac_exeext'
30018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30019 (eval $ac_try) 2>&5
30020 ac_status=$?
30021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30022 (exit $ac_status); }; }; then
30023 eval "$as_ac_var=yes"
30024 else
30025 echo "$as_me: failed program was:" >&5
30026 sed 's/^/| /' conftest.$ac_ext >&5
30028 eval "$as_ac_var=no"
30030 rm -f conftest.err conftest.$ac_objext \
30031 conftest$ac_exeext conftest.$ac_ext
30033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30035 if test `eval echo '${'$as_ac_var'}'` = yes; then
30036 cat >>confdefs.h <<_ACEOF
30037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30038 _ACEOF
30041 done
30051 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
30052 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
30053 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30054 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
30055 echo $ECHO_N "(cached) $ECHO_C" >&6
30056 else
30060 ac_ext=cc
30061 ac_cpp='$CXXCPP $CPPFLAGS'
30062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30066 cat >conftest.$ac_ext <<_ACEOF
30067 /* confdefs.h. */
30068 _ACEOF
30069 cat confdefs.h >>conftest.$ac_ext
30070 cat >>conftest.$ac_ext <<_ACEOF
30071 /* end confdefs.h. */
30072 #include <math.h>
30073 #ifdef HAVE_IEEEFP_H
30074 #include <ieeefp.h>
30075 #endif
30078 main ()
30080 fabsl(0);
30082 return 0;
30084 _ACEOF
30085 rm -f conftest.$ac_objext
30086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30087 (eval $ac_compile) 2>conftest.er1
30088 ac_status=$?
30089 grep -v '^ *+' conftest.er1 >conftest.err
30090 rm -f conftest.er1
30091 cat conftest.err >&5
30092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30093 (exit $ac_status); } &&
30094 { ac_try='test -z "$ac_cxx_werror_flag"
30095 || test ! -s conftest.err'
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); }; } &&
30101 { ac_try='test -s conftest.$ac_objext'
30102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30103 (eval $ac_try) 2>&5
30104 ac_status=$?
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); }; }; then
30107 glibcxx_cv_func_fabsl_use=yes
30108 else
30109 echo "$as_me: failed program was:" >&5
30110 sed 's/^/| /' conftest.$ac_ext >&5
30112 glibcxx_cv_func_fabsl_use=no
30114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30115 ac_ext=c
30116 ac_cpp='$CPP $CPPFLAGS'
30117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30125 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
30126 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
30128 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30130 for ac_func in fabsl
30132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30133 echo "$as_me:$LINENO: checking for $ac_func" >&5
30134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30135 if eval "test \"\${$as_ac_var+set}\" = set"; then
30136 echo $ECHO_N "(cached) $ECHO_C" >&6
30137 else
30138 if test x$gcc_no_link = xyes; then
30139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30141 { (exit 1); exit 1; }; }
30143 cat >conftest.$ac_ext <<_ACEOF
30144 /* confdefs.h. */
30145 _ACEOF
30146 cat confdefs.h >>conftest.$ac_ext
30147 cat >>conftest.$ac_ext <<_ACEOF
30148 /* end confdefs.h. */
30149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30151 #define $ac_func innocuous_$ac_func
30153 /* System header to define __stub macros and hopefully few prototypes,
30154 which can conflict with char $ac_func (); below.
30155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30156 <limits.h> exists even on freestanding compilers. */
30158 #ifdef __STDC__
30159 # include <limits.h>
30160 #else
30161 # include <assert.h>
30162 #endif
30164 #undef $ac_func
30166 /* Override any gcc2 internal prototype to avoid an error. */
30167 #ifdef __cplusplus
30168 extern "C"
30170 #endif
30171 /* We use char because int might match the return type of a gcc2
30172 builtin and then its argument prototype would still apply. */
30173 char $ac_func ();
30174 /* The GNU C library defines this for functions which it implements
30175 to always fail with ENOSYS. Some functions are actually named
30176 something starting with __ and the normal name is an alias. */
30177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30178 choke me
30179 #else
30180 char (*f) () = $ac_func;
30181 #endif
30182 #ifdef __cplusplus
30184 #endif
30187 main ()
30189 return f != $ac_func;
30191 return 0;
30193 _ACEOF
30194 rm -f conftest.$ac_objext conftest$ac_exeext
30195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30196 (eval $ac_link) 2>conftest.er1
30197 ac_status=$?
30198 grep -v '^ *+' conftest.er1 >conftest.err
30199 rm -f conftest.er1
30200 cat conftest.err >&5
30201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30202 (exit $ac_status); } &&
30203 { ac_try='test -z "$ac_c_werror_flag"
30204 || test ! -s conftest.err'
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); }; } &&
30210 { ac_try='test -s conftest$ac_exeext'
30211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30212 (eval $ac_try) 2>&5
30213 ac_status=$?
30214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30215 (exit $ac_status); }; }; then
30216 eval "$as_ac_var=yes"
30217 else
30218 echo "$as_me: failed program was:" >&5
30219 sed 's/^/| /' conftest.$ac_ext >&5
30221 eval "$as_ac_var=no"
30223 rm -f conftest.err conftest.$ac_objext \
30224 conftest$ac_exeext conftest.$ac_ext
30226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30228 if test `eval echo '${'$as_ac_var'}'` = yes; then
30229 cat >>confdefs.h <<_ACEOF
30230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30231 _ACEOF
30234 done
30236 else
30238 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
30239 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
30240 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30241 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
30242 echo $ECHO_N "(cached) $ECHO_C" >&6
30243 else
30247 ac_ext=cc
30248 ac_cpp='$CXXCPP $CPPFLAGS'
30249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30253 cat >conftest.$ac_ext <<_ACEOF
30254 /* confdefs.h. */
30255 _ACEOF
30256 cat confdefs.h >>conftest.$ac_ext
30257 cat >>conftest.$ac_ext <<_ACEOF
30258 /* end confdefs.h. */
30259 #include <math.h>
30260 #ifdef HAVE_IEEEFP_H
30261 #include <ieeefp.h>
30262 #endif
30265 main ()
30267 _fabsl(0);
30269 return 0;
30271 _ACEOF
30272 rm -f conftest.$ac_objext
30273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30274 (eval $ac_compile) 2>conftest.er1
30275 ac_status=$?
30276 grep -v '^ *+' conftest.er1 >conftest.err
30277 rm -f conftest.er1
30278 cat conftest.err >&5
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); } &&
30281 { ac_try='test -z "$ac_cxx_werror_flag"
30282 || test ! -s conftest.err'
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); }; } &&
30288 { ac_try='test -s conftest.$ac_objext'
30289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30290 (eval $ac_try) 2>&5
30291 ac_status=$?
30292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30293 (exit $ac_status); }; }; then
30294 glibcxx_cv_func__fabsl_use=yes
30295 else
30296 echo "$as_me: failed program was:" >&5
30297 sed 's/^/| /' conftest.$ac_ext >&5
30299 glibcxx_cv_func__fabsl_use=no
30301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30302 ac_ext=c
30303 ac_cpp='$CPP $CPPFLAGS'
30304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30312 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
30313 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
30315 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30317 for ac_func in _fabsl
30319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30320 echo "$as_me:$LINENO: checking for $ac_func" >&5
30321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30322 if eval "test \"\${$as_ac_var+set}\" = set"; then
30323 echo $ECHO_N "(cached) $ECHO_C" >&6
30324 else
30325 if test x$gcc_no_link = xyes; then
30326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30328 { (exit 1); exit 1; }; }
30330 cat >conftest.$ac_ext <<_ACEOF
30331 /* confdefs.h. */
30332 _ACEOF
30333 cat confdefs.h >>conftest.$ac_ext
30334 cat >>conftest.$ac_ext <<_ACEOF
30335 /* end confdefs.h. */
30336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30338 #define $ac_func innocuous_$ac_func
30340 /* System header to define __stub macros and hopefully few prototypes,
30341 which can conflict with char $ac_func (); below.
30342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30343 <limits.h> exists even on freestanding compilers. */
30345 #ifdef __STDC__
30346 # include <limits.h>
30347 #else
30348 # include <assert.h>
30349 #endif
30351 #undef $ac_func
30353 /* Override any gcc2 internal prototype to avoid an error. */
30354 #ifdef __cplusplus
30355 extern "C"
30357 #endif
30358 /* We use char because int might match the return type of a gcc2
30359 builtin and then its argument prototype would still apply. */
30360 char $ac_func ();
30361 /* The GNU C library defines this for functions which it implements
30362 to always fail with ENOSYS. Some functions are actually named
30363 something starting with __ and the normal name is an alias. */
30364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30365 choke me
30366 #else
30367 char (*f) () = $ac_func;
30368 #endif
30369 #ifdef __cplusplus
30371 #endif
30374 main ()
30376 return f != $ac_func;
30378 return 0;
30380 _ACEOF
30381 rm -f conftest.$ac_objext conftest$ac_exeext
30382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30383 (eval $ac_link) 2>conftest.er1
30384 ac_status=$?
30385 grep -v '^ *+' conftest.er1 >conftest.err
30386 rm -f conftest.er1
30387 cat conftest.err >&5
30388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30389 (exit $ac_status); } &&
30390 { ac_try='test -z "$ac_c_werror_flag"
30391 || test ! -s conftest.err'
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); }; } &&
30397 { ac_try='test -s conftest$ac_exeext'
30398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30399 (eval $ac_try) 2>&5
30400 ac_status=$?
30401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30402 (exit $ac_status); }; }; then
30403 eval "$as_ac_var=yes"
30404 else
30405 echo "$as_me: failed program was:" >&5
30406 sed 's/^/| /' conftest.$ac_ext >&5
30408 eval "$as_ac_var=no"
30410 rm -f conftest.err conftest.$ac_objext \
30411 conftest$ac_exeext conftest.$ac_ext
30413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30415 if test `eval echo '${'$as_ac_var'}'` = yes; then
30416 cat >>confdefs.h <<_ACEOF
30417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30418 _ACEOF
30421 done
30431 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
30432 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
30433 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30434 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
30435 echo $ECHO_N "(cached) $ECHO_C" >&6
30436 else
30440 ac_ext=cc
30441 ac_cpp='$CXXCPP $CPPFLAGS'
30442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30446 cat >conftest.$ac_ext <<_ACEOF
30447 /* confdefs.h. */
30448 _ACEOF
30449 cat confdefs.h >>conftest.$ac_ext
30450 cat >>conftest.$ac_ext <<_ACEOF
30451 /* end confdefs.h. */
30452 #include <math.h>
30454 main ()
30456 fmodl(0, 0);
30458 return 0;
30460 _ACEOF
30461 rm -f conftest.$ac_objext
30462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30463 (eval $ac_compile) 2>conftest.er1
30464 ac_status=$?
30465 grep -v '^ *+' conftest.er1 >conftest.err
30466 rm -f conftest.er1
30467 cat conftest.err >&5
30468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30469 (exit $ac_status); } &&
30470 { ac_try='test -z "$ac_cxx_werror_flag"
30471 || test ! -s conftest.err'
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); }; } &&
30477 { ac_try='test -s conftest.$ac_objext'
30478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30479 (eval $ac_try) 2>&5
30480 ac_status=$?
30481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30482 (exit $ac_status); }; }; then
30483 glibcxx_cv_func_fmodl_use=yes
30484 else
30485 echo "$as_me: failed program was:" >&5
30486 sed 's/^/| /' conftest.$ac_ext >&5
30488 glibcxx_cv_func_fmodl_use=no
30490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30491 ac_ext=c
30492 ac_cpp='$CPP $CPPFLAGS'
30493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30501 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
30502 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
30504 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30506 for ac_func in fmodl
30508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30509 echo "$as_me:$LINENO: checking for $ac_func" >&5
30510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30511 if eval "test \"\${$as_ac_var+set}\" = set"; then
30512 echo $ECHO_N "(cached) $ECHO_C" >&6
30513 else
30514 if test x$gcc_no_link = xyes; then
30515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30517 { (exit 1); exit 1; }; }
30519 cat >conftest.$ac_ext <<_ACEOF
30520 /* confdefs.h. */
30521 _ACEOF
30522 cat confdefs.h >>conftest.$ac_ext
30523 cat >>conftest.$ac_ext <<_ACEOF
30524 /* end confdefs.h. */
30525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30527 #define $ac_func innocuous_$ac_func
30529 /* System header to define __stub macros and hopefully few prototypes,
30530 which can conflict with char $ac_func (); below.
30531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30532 <limits.h> exists even on freestanding compilers. */
30534 #ifdef __STDC__
30535 # include <limits.h>
30536 #else
30537 # include <assert.h>
30538 #endif
30540 #undef $ac_func
30542 /* Override any gcc2 internal prototype to avoid an error. */
30543 #ifdef __cplusplus
30544 extern "C"
30546 #endif
30547 /* We use char because int might match the return type of a gcc2
30548 builtin and then its argument prototype would still apply. */
30549 char $ac_func ();
30550 /* The GNU C library defines this for functions which it implements
30551 to always fail with ENOSYS. Some functions are actually named
30552 something starting with __ and the normal name is an alias. */
30553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30554 choke me
30555 #else
30556 char (*f) () = $ac_func;
30557 #endif
30558 #ifdef __cplusplus
30560 #endif
30563 main ()
30565 return f != $ac_func;
30567 return 0;
30569 _ACEOF
30570 rm -f conftest.$ac_objext conftest$ac_exeext
30571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30572 (eval $ac_link) 2>conftest.er1
30573 ac_status=$?
30574 grep -v '^ *+' conftest.er1 >conftest.err
30575 rm -f conftest.er1
30576 cat conftest.err >&5
30577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30578 (exit $ac_status); } &&
30579 { ac_try='test -z "$ac_c_werror_flag"
30580 || test ! -s conftest.err'
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); }; } &&
30586 { ac_try='test -s conftest$ac_exeext'
30587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30588 (eval $ac_try) 2>&5
30589 ac_status=$?
30590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30591 (exit $ac_status); }; }; then
30592 eval "$as_ac_var=yes"
30593 else
30594 echo "$as_me: failed program was:" >&5
30595 sed 's/^/| /' conftest.$ac_ext >&5
30597 eval "$as_ac_var=no"
30599 rm -f conftest.err conftest.$ac_objext \
30600 conftest$ac_exeext conftest.$ac_ext
30602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30604 if test `eval echo '${'$as_ac_var'}'` = yes; then
30605 cat >>confdefs.h <<_ACEOF
30606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30607 _ACEOF
30610 done
30612 else
30614 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
30615 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
30616 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30617 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
30618 echo $ECHO_N "(cached) $ECHO_C" >&6
30619 else
30623 ac_ext=cc
30624 ac_cpp='$CXXCPP $CPPFLAGS'
30625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30629 cat >conftest.$ac_ext <<_ACEOF
30630 /* confdefs.h. */
30631 _ACEOF
30632 cat confdefs.h >>conftest.$ac_ext
30633 cat >>conftest.$ac_ext <<_ACEOF
30634 /* end confdefs.h. */
30635 #include <math.h>
30637 main ()
30639 _fmodl(0, 0);
30641 return 0;
30643 _ACEOF
30644 rm -f conftest.$ac_objext
30645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30646 (eval $ac_compile) 2>conftest.er1
30647 ac_status=$?
30648 grep -v '^ *+' conftest.er1 >conftest.err
30649 rm -f conftest.er1
30650 cat conftest.err >&5
30651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30652 (exit $ac_status); } &&
30653 { ac_try='test -z "$ac_cxx_werror_flag"
30654 || test ! -s conftest.err'
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); }; } &&
30660 { ac_try='test -s conftest.$ac_objext'
30661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30662 (eval $ac_try) 2>&5
30663 ac_status=$?
30664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30665 (exit $ac_status); }; }; then
30666 glibcxx_cv_func__fmodl_use=yes
30667 else
30668 echo "$as_me: failed program was:" >&5
30669 sed 's/^/| /' conftest.$ac_ext >&5
30671 glibcxx_cv_func__fmodl_use=no
30673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30674 ac_ext=c
30675 ac_cpp='$CPP $CPPFLAGS'
30676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30684 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
30685 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
30687 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30689 for ac_func in _fmodl
30691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30692 echo "$as_me:$LINENO: checking for $ac_func" >&5
30693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30694 if eval "test \"\${$as_ac_var+set}\" = set"; then
30695 echo $ECHO_N "(cached) $ECHO_C" >&6
30696 else
30697 if test x$gcc_no_link = xyes; then
30698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30700 { (exit 1); exit 1; }; }
30702 cat >conftest.$ac_ext <<_ACEOF
30703 /* confdefs.h. */
30704 _ACEOF
30705 cat confdefs.h >>conftest.$ac_ext
30706 cat >>conftest.$ac_ext <<_ACEOF
30707 /* end confdefs.h. */
30708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30710 #define $ac_func innocuous_$ac_func
30712 /* System header to define __stub macros and hopefully few prototypes,
30713 which can conflict with char $ac_func (); below.
30714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30715 <limits.h> exists even on freestanding compilers. */
30717 #ifdef __STDC__
30718 # include <limits.h>
30719 #else
30720 # include <assert.h>
30721 #endif
30723 #undef $ac_func
30725 /* Override any gcc2 internal prototype to avoid an error. */
30726 #ifdef __cplusplus
30727 extern "C"
30729 #endif
30730 /* We use char because int might match the return type of a gcc2
30731 builtin and then its argument prototype would still apply. */
30732 char $ac_func ();
30733 /* The GNU C library defines this for functions which it implements
30734 to always fail with ENOSYS. Some functions are actually named
30735 something starting with __ and the normal name is an alias. */
30736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30737 choke me
30738 #else
30739 char (*f) () = $ac_func;
30740 #endif
30741 #ifdef __cplusplus
30743 #endif
30746 main ()
30748 return f != $ac_func;
30750 return 0;
30752 _ACEOF
30753 rm -f conftest.$ac_objext conftest$ac_exeext
30754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30755 (eval $ac_link) 2>conftest.er1
30756 ac_status=$?
30757 grep -v '^ *+' conftest.er1 >conftest.err
30758 rm -f conftest.er1
30759 cat conftest.err >&5
30760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30761 (exit $ac_status); } &&
30762 { ac_try='test -z "$ac_c_werror_flag"
30763 || test ! -s conftest.err'
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); }; } &&
30769 { ac_try='test -s conftest$ac_exeext'
30770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30771 (eval $ac_try) 2>&5
30772 ac_status=$?
30773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30774 (exit $ac_status); }; }; then
30775 eval "$as_ac_var=yes"
30776 else
30777 echo "$as_me: failed program was:" >&5
30778 sed 's/^/| /' conftest.$ac_ext >&5
30780 eval "$as_ac_var=no"
30782 rm -f conftest.err conftest.$ac_objext \
30783 conftest$ac_exeext conftest.$ac_ext
30785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30787 if test `eval echo '${'$as_ac_var'}'` = yes; then
30788 cat >>confdefs.h <<_ACEOF
30789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30790 _ACEOF
30793 done
30803 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
30804 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
30805 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30806 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
30807 echo $ECHO_N "(cached) $ECHO_C" >&6
30808 else
30812 ac_ext=cc
30813 ac_cpp='$CXXCPP $CPPFLAGS'
30814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30818 cat >conftest.$ac_ext <<_ACEOF
30819 /* confdefs.h. */
30820 _ACEOF
30821 cat confdefs.h >>conftest.$ac_ext
30822 cat >>conftest.$ac_ext <<_ACEOF
30823 /* end confdefs.h. */
30824 #include <math.h>
30826 main ()
30828 frexpl(0, 0);
30830 return 0;
30832 _ACEOF
30833 rm -f conftest.$ac_objext
30834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30835 (eval $ac_compile) 2>conftest.er1
30836 ac_status=$?
30837 grep -v '^ *+' conftest.er1 >conftest.err
30838 rm -f conftest.er1
30839 cat conftest.err >&5
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); } &&
30842 { ac_try='test -z "$ac_cxx_werror_flag"
30843 || test ! -s conftest.err'
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); }; } &&
30849 { ac_try='test -s conftest.$ac_objext'
30850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30851 (eval $ac_try) 2>&5
30852 ac_status=$?
30853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30854 (exit $ac_status); }; }; then
30855 glibcxx_cv_func_frexpl_use=yes
30856 else
30857 echo "$as_me: failed program was:" >&5
30858 sed 's/^/| /' conftest.$ac_ext >&5
30860 glibcxx_cv_func_frexpl_use=no
30862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30863 ac_ext=c
30864 ac_cpp='$CPP $CPPFLAGS'
30865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30873 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
30874 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
30876 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30878 for ac_func in frexpl
30880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30881 echo "$as_me:$LINENO: checking for $ac_func" >&5
30882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30883 if eval "test \"\${$as_ac_var+set}\" = set"; then
30884 echo $ECHO_N "(cached) $ECHO_C" >&6
30885 else
30886 if test x$gcc_no_link = xyes; then
30887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30889 { (exit 1); exit 1; }; }
30891 cat >conftest.$ac_ext <<_ACEOF
30892 /* confdefs.h. */
30893 _ACEOF
30894 cat confdefs.h >>conftest.$ac_ext
30895 cat >>conftest.$ac_ext <<_ACEOF
30896 /* end confdefs.h. */
30897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30899 #define $ac_func innocuous_$ac_func
30901 /* System header to define __stub macros and hopefully few prototypes,
30902 which can conflict with char $ac_func (); below.
30903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30904 <limits.h> exists even on freestanding compilers. */
30906 #ifdef __STDC__
30907 # include <limits.h>
30908 #else
30909 # include <assert.h>
30910 #endif
30912 #undef $ac_func
30914 /* Override any gcc2 internal prototype to avoid an error. */
30915 #ifdef __cplusplus
30916 extern "C"
30918 #endif
30919 /* We use char because int might match the return type of a gcc2
30920 builtin and then its argument prototype would still apply. */
30921 char $ac_func ();
30922 /* The GNU C library defines this for functions which it implements
30923 to always fail with ENOSYS. Some functions are actually named
30924 something starting with __ and the normal name is an alias. */
30925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30926 choke me
30927 #else
30928 char (*f) () = $ac_func;
30929 #endif
30930 #ifdef __cplusplus
30932 #endif
30935 main ()
30937 return f != $ac_func;
30939 return 0;
30941 _ACEOF
30942 rm -f conftest.$ac_objext conftest$ac_exeext
30943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30944 (eval $ac_link) 2>conftest.er1
30945 ac_status=$?
30946 grep -v '^ *+' conftest.er1 >conftest.err
30947 rm -f conftest.er1
30948 cat conftest.err >&5
30949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30950 (exit $ac_status); } &&
30951 { ac_try='test -z "$ac_c_werror_flag"
30952 || test ! -s conftest.err'
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); }; } &&
30958 { ac_try='test -s conftest$ac_exeext'
30959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30960 (eval $ac_try) 2>&5
30961 ac_status=$?
30962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30963 (exit $ac_status); }; }; then
30964 eval "$as_ac_var=yes"
30965 else
30966 echo "$as_me: failed program was:" >&5
30967 sed 's/^/| /' conftest.$ac_ext >&5
30969 eval "$as_ac_var=no"
30971 rm -f conftest.err conftest.$ac_objext \
30972 conftest$ac_exeext conftest.$ac_ext
30974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30976 if test `eval echo '${'$as_ac_var'}'` = yes; then
30977 cat >>confdefs.h <<_ACEOF
30978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30979 _ACEOF
30982 done
30984 else
30986 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
30987 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
30988 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30989 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
30990 echo $ECHO_N "(cached) $ECHO_C" >&6
30991 else
30995 ac_ext=cc
30996 ac_cpp='$CXXCPP $CPPFLAGS'
30997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31001 cat >conftest.$ac_ext <<_ACEOF
31002 /* confdefs.h. */
31003 _ACEOF
31004 cat confdefs.h >>conftest.$ac_ext
31005 cat >>conftest.$ac_ext <<_ACEOF
31006 /* end confdefs.h. */
31007 #include <math.h>
31009 main ()
31011 _frexpl(0, 0);
31013 return 0;
31015 _ACEOF
31016 rm -f conftest.$ac_objext
31017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31018 (eval $ac_compile) 2>conftest.er1
31019 ac_status=$?
31020 grep -v '^ *+' conftest.er1 >conftest.err
31021 rm -f conftest.er1
31022 cat conftest.err >&5
31023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31024 (exit $ac_status); } &&
31025 { ac_try='test -z "$ac_cxx_werror_flag"
31026 || test ! -s conftest.err'
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); }; } &&
31032 { ac_try='test -s conftest.$ac_objext'
31033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31034 (eval $ac_try) 2>&5
31035 ac_status=$?
31036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31037 (exit $ac_status); }; }; then
31038 glibcxx_cv_func__frexpl_use=yes
31039 else
31040 echo "$as_me: failed program was:" >&5
31041 sed 's/^/| /' conftest.$ac_ext >&5
31043 glibcxx_cv_func__frexpl_use=no
31045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31046 ac_ext=c
31047 ac_cpp='$CPP $CPPFLAGS'
31048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31056 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
31057 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
31059 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31061 for ac_func in _frexpl
31063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31064 echo "$as_me:$LINENO: checking for $ac_func" >&5
31065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31066 if eval "test \"\${$as_ac_var+set}\" = set"; then
31067 echo $ECHO_N "(cached) $ECHO_C" >&6
31068 else
31069 if test x$gcc_no_link = xyes; then
31070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31072 { (exit 1); exit 1; }; }
31074 cat >conftest.$ac_ext <<_ACEOF
31075 /* confdefs.h. */
31076 _ACEOF
31077 cat confdefs.h >>conftest.$ac_ext
31078 cat >>conftest.$ac_ext <<_ACEOF
31079 /* end confdefs.h. */
31080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31082 #define $ac_func innocuous_$ac_func
31084 /* System header to define __stub macros and hopefully few prototypes,
31085 which can conflict with char $ac_func (); below.
31086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31087 <limits.h> exists even on freestanding compilers. */
31089 #ifdef __STDC__
31090 # include <limits.h>
31091 #else
31092 # include <assert.h>
31093 #endif
31095 #undef $ac_func
31097 /* Override any gcc2 internal prototype to avoid an error. */
31098 #ifdef __cplusplus
31099 extern "C"
31101 #endif
31102 /* We use char because int might match the return type of a gcc2
31103 builtin and then its argument prototype would still apply. */
31104 char $ac_func ();
31105 /* The GNU C library defines this for functions which it implements
31106 to always fail with ENOSYS. Some functions are actually named
31107 something starting with __ and the normal name is an alias. */
31108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31109 choke me
31110 #else
31111 char (*f) () = $ac_func;
31112 #endif
31113 #ifdef __cplusplus
31115 #endif
31118 main ()
31120 return f != $ac_func;
31122 return 0;
31124 _ACEOF
31125 rm -f conftest.$ac_objext conftest$ac_exeext
31126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31127 (eval $ac_link) 2>conftest.er1
31128 ac_status=$?
31129 grep -v '^ *+' conftest.er1 >conftest.err
31130 rm -f conftest.er1
31131 cat conftest.err >&5
31132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31133 (exit $ac_status); } &&
31134 { ac_try='test -z "$ac_c_werror_flag"
31135 || test ! -s conftest.err'
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); }; } &&
31141 { ac_try='test -s conftest$ac_exeext'
31142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31143 (eval $ac_try) 2>&5
31144 ac_status=$?
31145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31146 (exit $ac_status); }; }; then
31147 eval "$as_ac_var=yes"
31148 else
31149 echo "$as_me: failed program was:" >&5
31150 sed 's/^/| /' conftest.$ac_ext >&5
31152 eval "$as_ac_var=no"
31154 rm -f conftest.err conftest.$ac_objext \
31155 conftest$ac_exeext conftest.$ac_ext
31157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31159 if test `eval echo '${'$as_ac_var'}'` = yes; then
31160 cat >>confdefs.h <<_ACEOF
31161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31162 _ACEOF
31165 done
31175 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
31176 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
31177 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31178 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
31179 echo $ECHO_N "(cached) $ECHO_C" >&6
31180 else
31184 ac_ext=cc
31185 ac_cpp='$CXXCPP $CPPFLAGS'
31186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31190 cat >conftest.$ac_ext <<_ACEOF
31191 /* confdefs.h. */
31192 _ACEOF
31193 cat confdefs.h >>conftest.$ac_ext
31194 cat >>conftest.$ac_ext <<_ACEOF
31195 /* end confdefs.h. */
31196 #include <math.h>
31198 main ()
31200 hypotl(0, 0);
31202 return 0;
31204 _ACEOF
31205 rm -f conftest.$ac_objext
31206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31207 (eval $ac_compile) 2>conftest.er1
31208 ac_status=$?
31209 grep -v '^ *+' conftest.er1 >conftest.err
31210 rm -f conftest.er1
31211 cat conftest.err >&5
31212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31213 (exit $ac_status); } &&
31214 { ac_try='test -z "$ac_cxx_werror_flag"
31215 || test ! -s conftest.err'
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); }; } &&
31221 { ac_try='test -s conftest.$ac_objext'
31222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31223 (eval $ac_try) 2>&5
31224 ac_status=$?
31225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31226 (exit $ac_status); }; }; then
31227 glibcxx_cv_func_hypotl_use=yes
31228 else
31229 echo "$as_me: failed program was:" >&5
31230 sed 's/^/| /' conftest.$ac_ext >&5
31232 glibcxx_cv_func_hypotl_use=no
31234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31235 ac_ext=c
31236 ac_cpp='$CPP $CPPFLAGS'
31237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31245 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
31246 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
31248 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31250 for ac_func in hypotl
31252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31253 echo "$as_me:$LINENO: checking for $ac_func" >&5
31254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31255 if eval "test \"\${$as_ac_var+set}\" = set"; then
31256 echo $ECHO_N "(cached) $ECHO_C" >&6
31257 else
31258 if test x$gcc_no_link = xyes; then
31259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31261 { (exit 1); exit 1; }; }
31263 cat >conftest.$ac_ext <<_ACEOF
31264 /* confdefs.h. */
31265 _ACEOF
31266 cat confdefs.h >>conftest.$ac_ext
31267 cat >>conftest.$ac_ext <<_ACEOF
31268 /* end confdefs.h. */
31269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31271 #define $ac_func innocuous_$ac_func
31273 /* System header to define __stub macros and hopefully few prototypes,
31274 which can conflict with char $ac_func (); below.
31275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31276 <limits.h> exists even on freestanding compilers. */
31278 #ifdef __STDC__
31279 # include <limits.h>
31280 #else
31281 # include <assert.h>
31282 #endif
31284 #undef $ac_func
31286 /* Override any gcc2 internal prototype to avoid an error. */
31287 #ifdef __cplusplus
31288 extern "C"
31290 #endif
31291 /* We use char because int might match the return type of a gcc2
31292 builtin and then its argument prototype would still apply. */
31293 char $ac_func ();
31294 /* The GNU C library defines this for functions which it implements
31295 to always fail with ENOSYS. Some functions are actually named
31296 something starting with __ and the normal name is an alias. */
31297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31298 choke me
31299 #else
31300 char (*f) () = $ac_func;
31301 #endif
31302 #ifdef __cplusplus
31304 #endif
31307 main ()
31309 return f != $ac_func;
31311 return 0;
31313 _ACEOF
31314 rm -f conftest.$ac_objext conftest$ac_exeext
31315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31316 (eval $ac_link) 2>conftest.er1
31317 ac_status=$?
31318 grep -v '^ *+' conftest.er1 >conftest.err
31319 rm -f conftest.er1
31320 cat conftest.err >&5
31321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31322 (exit $ac_status); } &&
31323 { ac_try='test -z "$ac_c_werror_flag"
31324 || test ! -s conftest.err'
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); }; } &&
31330 { ac_try='test -s conftest$ac_exeext'
31331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31332 (eval $ac_try) 2>&5
31333 ac_status=$?
31334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31335 (exit $ac_status); }; }; then
31336 eval "$as_ac_var=yes"
31337 else
31338 echo "$as_me: failed program was:" >&5
31339 sed 's/^/| /' conftest.$ac_ext >&5
31341 eval "$as_ac_var=no"
31343 rm -f conftest.err conftest.$ac_objext \
31344 conftest$ac_exeext conftest.$ac_ext
31346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31348 if test `eval echo '${'$as_ac_var'}'` = yes; then
31349 cat >>confdefs.h <<_ACEOF
31350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31351 _ACEOF
31354 done
31356 else
31358 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
31359 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
31360 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31361 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
31362 echo $ECHO_N "(cached) $ECHO_C" >&6
31363 else
31367 ac_ext=cc
31368 ac_cpp='$CXXCPP $CPPFLAGS'
31369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31373 cat >conftest.$ac_ext <<_ACEOF
31374 /* confdefs.h. */
31375 _ACEOF
31376 cat confdefs.h >>conftest.$ac_ext
31377 cat >>conftest.$ac_ext <<_ACEOF
31378 /* end confdefs.h. */
31379 #include <math.h>
31381 main ()
31383 _hypotl(0, 0);
31385 return 0;
31387 _ACEOF
31388 rm -f conftest.$ac_objext
31389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31390 (eval $ac_compile) 2>conftest.er1
31391 ac_status=$?
31392 grep -v '^ *+' conftest.er1 >conftest.err
31393 rm -f conftest.er1
31394 cat conftest.err >&5
31395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31396 (exit $ac_status); } &&
31397 { ac_try='test -z "$ac_cxx_werror_flag"
31398 || test ! -s conftest.err'
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); }; } &&
31404 { ac_try='test -s conftest.$ac_objext'
31405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31406 (eval $ac_try) 2>&5
31407 ac_status=$?
31408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31409 (exit $ac_status); }; }; then
31410 glibcxx_cv_func__hypotl_use=yes
31411 else
31412 echo "$as_me: failed program was:" >&5
31413 sed 's/^/| /' conftest.$ac_ext >&5
31415 glibcxx_cv_func__hypotl_use=no
31417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31418 ac_ext=c
31419 ac_cpp='$CPP $CPPFLAGS'
31420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31428 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
31429 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
31431 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31433 for ac_func in _hypotl
31435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31436 echo "$as_me:$LINENO: checking for $ac_func" >&5
31437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31438 if eval "test \"\${$as_ac_var+set}\" = set"; then
31439 echo $ECHO_N "(cached) $ECHO_C" >&6
31440 else
31441 if test x$gcc_no_link = xyes; then
31442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31444 { (exit 1); exit 1; }; }
31446 cat >conftest.$ac_ext <<_ACEOF
31447 /* confdefs.h. */
31448 _ACEOF
31449 cat confdefs.h >>conftest.$ac_ext
31450 cat >>conftest.$ac_ext <<_ACEOF
31451 /* end confdefs.h. */
31452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31454 #define $ac_func innocuous_$ac_func
31456 /* System header to define __stub macros and hopefully few prototypes,
31457 which can conflict with char $ac_func (); below.
31458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31459 <limits.h> exists even on freestanding compilers. */
31461 #ifdef __STDC__
31462 # include <limits.h>
31463 #else
31464 # include <assert.h>
31465 #endif
31467 #undef $ac_func
31469 /* Override any gcc2 internal prototype to avoid an error. */
31470 #ifdef __cplusplus
31471 extern "C"
31473 #endif
31474 /* We use char because int might match the return type of a gcc2
31475 builtin and then its argument prototype would still apply. */
31476 char $ac_func ();
31477 /* The GNU C library defines this for functions which it implements
31478 to always fail with ENOSYS. Some functions are actually named
31479 something starting with __ and the normal name is an alias. */
31480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31481 choke me
31482 #else
31483 char (*f) () = $ac_func;
31484 #endif
31485 #ifdef __cplusplus
31487 #endif
31490 main ()
31492 return f != $ac_func;
31494 return 0;
31496 _ACEOF
31497 rm -f conftest.$ac_objext conftest$ac_exeext
31498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31499 (eval $ac_link) 2>conftest.er1
31500 ac_status=$?
31501 grep -v '^ *+' conftest.er1 >conftest.err
31502 rm -f conftest.er1
31503 cat conftest.err >&5
31504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31505 (exit $ac_status); } &&
31506 { ac_try='test -z "$ac_c_werror_flag"
31507 || test ! -s conftest.err'
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); }; } &&
31513 { ac_try='test -s conftest$ac_exeext'
31514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31515 (eval $ac_try) 2>&5
31516 ac_status=$?
31517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31518 (exit $ac_status); }; }; then
31519 eval "$as_ac_var=yes"
31520 else
31521 echo "$as_me: failed program was:" >&5
31522 sed 's/^/| /' conftest.$ac_ext >&5
31524 eval "$as_ac_var=no"
31526 rm -f conftest.err conftest.$ac_objext \
31527 conftest$ac_exeext conftest.$ac_ext
31529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31531 if test `eval echo '${'$as_ac_var'}'` = yes; then
31532 cat >>confdefs.h <<_ACEOF
31533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31534 _ACEOF
31537 done
31547 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
31548 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
31549 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31550 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
31551 echo $ECHO_N "(cached) $ECHO_C" >&6
31552 else
31556 ac_ext=cc
31557 ac_cpp='$CXXCPP $CPPFLAGS'
31558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31562 cat >conftest.$ac_ext <<_ACEOF
31563 /* confdefs.h. */
31564 _ACEOF
31565 cat confdefs.h >>conftest.$ac_ext
31566 cat >>conftest.$ac_ext <<_ACEOF
31567 /* end confdefs.h. */
31568 #include <math.h>
31570 main ()
31572 ldexpl(0, 0);
31574 return 0;
31576 _ACEOF
31577 rm -f conftest.$ac_objext
31578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31579 (eval $ac_compile) 2>conftest.er1
31580 ac_status=$?
31581 grep -v '^ *+' conftest.er1 >conftest.err
31582 rm -f conftest.er1
31583 cat conftest.err >&5
31584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31585 (exit $ac_status); } &&
31586 { ac_try='test -z "$ac_cxx_werror_flag"
31587 || test ! -s conftest.err'
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); }; } &&
31593 { ac_try='test -s conftest.$ac_objext'
31594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31595 (eval $ac_try) 2>&5
31596 ac_status=$?
31597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31598 (exit $ac_status); }; }; then
31599 glibcxx_cv_func_ldexpl_use=yes
31600 else
31601 echo "$as_me: failed program was:" >&5
31602 sed 's/^/| /' conftest.$ac_ext >&5
31604 glibcxx_cv_func_ldexpl_use=no
31606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31607 ac_ext=c
31608 ac_cpp='$CPP $CPPFLAGS'
31609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31617 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
31618 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
31620 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31622 for ac_func in ldexpl
31624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31625 echo "$as_me:$LINENO: checking for $ac_func" >&5
31626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31627 if eval "test \"\${$as_ac_var+set}\" = set"; then
31628 echo $ECHO_N "(cached) $ECHO_C" >&6
31629 else
31630 if test x$gcc_no_link = xyes; then
31631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31633 { (exit 1); exit 1; }; }
31635 cat >conftest.$ac_ext <<_ACEOF
31636 /* confdefs.h. */
31637 _ACEOF
31638 cat confdefs.h >>conftest.$ac_ext
31639 cat >>conftest.$ac_ext <<_ACEOF
31640 /* end confdefs.h. */
31641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31643 #define $ac_func innocuous_$ac_func
31645 /* System header to define __stub macros and hopefully few prototypes,
31646 which can conflict with char $ac_func (); below.
31647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31648 <limits.h> exists even on freestanding compilers. */
31650 #ifdef __STDC__
31651 # include <limits.h>
31652 #else
31653 # include <assert.h>
31654 #endif
31656 #undef $ac_func
31658 /* Override any gcc2 internal prototype to avoid an error. */
31659 #ifdef __cplusplus
31660 extern "C"
31662 #endif
31663 /* We use char because int might match the return type of a gcc2
31664 builtin and then its argument prototype would still apply. */
31665 char $ac_func ();
31666 /* The GNU C library defines this for functions which it implements
31667 to always fail with ENOSYS. Some functions are actually named
31668 something starting with __ and the normal name is an alias. */
31669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31670 choke me
31671 #else
31672 char (*f) () = $ac_func;
31673 #endif
31674 #ifdef __cplusplus
31676 #endif
31679 main ()
31681 return f != $ac_func;
31683 return 0;
31685 _ACEOF
31686 rm -f conftest.$ac_objext conftest$ac_exeext
31687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31688 (eval $ac_link) 2>conftest.er1
31689 ac_status=$?
31690 grep -v '^ *+' conftest.er1 >conftest.err
31691 rm -f conftest.er1
31692 cat conftest.err >&5
31693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31694 (exit $ac_status); } &&
31695 { ac_try='test -z "$ac_c_werror_flag"
31696 || test ! -s conftest.err'
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); }; } &&
31702 { ac_try='test -s conftest$ac_exeext'
31703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31704 (eval $ac_try) 2>&5
31705 ac_status=$?
31706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31707 (exit $ac_status); }; }; then
31708 eval "$as_ac_var=yes"
31709 else
31710 echo "$as_me: failed program was:" >&5
31711 sed 's/^/| /' conftest.$ac_ext >&5
31713 eval "$as_ac_var=no"
31715 rm -f conftest.err conftest.$ac_objext \
31716 conftest$ac_exeext conftest.$ac_ext
31718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31720 if test `eval echo '${'$as_ac_var'}'` = yes; then
31721 cat >>confdefs.h <<_ACEOF
31722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31723 _ACEOF
31726 done
31728 else
31730 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
31731 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
31732 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31733 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
31734 echo $ECHO_N "(cached) $ECHO_C" >&6
31735 else
31739 ac_ext=cc
31740 ac_cpp='$CXXCPP $CPPFLAGS'
31741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31745 cat >conftest.$ac_ext <<_ACEOF
31746 /* confdefs.h. */
31747 _ACEOF
31748 cat confdefs.h >>conftest.$ac_ext
31749 cat >>conftest.$ac_ext <<_ACEOF
31750 /* end confdefs.h. */
31751 #include <math.h>
31753 main ()
31755 _ldexpl(0, 0);
31757 return 0;
31759 _ACEOF
31760 rm -f conftest.$ac_objext
31761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31762 (eval $ac_compile) 2>conftest.er1
31763 ac_status=$?
31764 grep -v '^ *+' conftest.er1 >conftest.err
31765 rm -f conftest.er1
31766 cat conftest.err >&5
31767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31768 (exit $ac_status); } &&
31769 { ac_try='test -z "$ac_cxx_werror_flag"
31770 || test ! -s conftest.err'
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); }; } &&
31776 { ac_try='test -s conftest.$ac_objext'
31777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31778 (eval $ac_try) 2>&5
31779 ac_status=$?
31780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31781 (exit $ac_status); }; }; then
31782 glibcxx_cv_func__ldexpl_use=yes
31783 else
31784 echo "$as_me: failed program was:" >&5
31785 sed 's/^/| /' conftest.$ac_ext >&5
31787 glibcxx_cv_func__ldexpl_use=no
31789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31790 ac_ext=c
31791 ac_cpp='$CPP $CPPFLAGS'
31792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
31801 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
31803 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31805 for ac_func in _ldexpl
31807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31808 echo "$as_me:$LINENO: checking for $ac_func" >&5
31809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31810 if eval "test \"\${$as_ac_var+set}\" = set"; then
31811 echo $ECHO_N "(cached) $ECHO_C" >&6
31812 else
31813 if test x$gcc_no_link = xyes; then
31814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31816 { (exit 1); exit 1; }; }
31818 cat >conftest.$ac_ext <<_ACEOF
31819 /* confdefs.h. */
31820 _ACEOF
31821 cat confdefs.h >>conftest.$ac_ext
31822 cat >>conftest.$ac_ext <<_ACEOF
31823 /* end confdefs.h. */
31824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31826 #define $ac_func innocuous_$ac_func
31828 /* System header to define __stub macros and hopefully few prototypes,
31829 which can conflict with char $ac_func (); below.
31830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31831 <limits.h> exists even on freestanding compilers. */
31833 #ifdef __STDC__
31834 # include <limits.h>
31835 #else
31836 # include <assert.h>
31837 #endif
31839 #undef $ac_func
31841 /* Override any gcc2 internal prototype to avoid an error. */
31842 #ifdef __cplusplus
31843 extern "C"
31845 #endif
31846 /* We use char because int might match the return type of a gcc2
31847 builtin and then its argument prototype would still apply. */
31848 char $ac_func ();
31849 /* The GNU C library defines this for functions which it implements
31850 to always fail with ENOSYS. Some functions are actually named
31851 something starting with __ and the normal name is an alias. */
31852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31853 choke me
31854 #else
31855 char (*f) () = $ac_func;
31856 #endif
31857 #ifdef __cplusplus
31859 #endif
31862 main ()
31864 return f != $ac_func;
31866 return 0;
31868 _ACEOF
31869 rm -f conftest.$ac_objext conftest$ac_exeext
31870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31871 (eval $ac_link) 2>conftest.er1
31872 ac_status=$?
31873 grep -v '^ *+' conftest.er1 >conftest.err
31874 rm -f conftest.er1
31875 cat conftest.err >&5
31876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31877 (exit $ac_status); } &&
31878 { ac_try='test -z "$ac_c_werror_flag"
31879 || test ! -s conftest.err'
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); }; } &&
31885 { ac_try='test -s conftest$ac_exeext'
31886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31887 (eval $ac_try) 2>&5
31888 ac_status=$?
31889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31890 (exit $ac_status); }; }; then
31891 eval "$as_ac_var=yes"
31892 else
31893 echo "$as_me: failed program was:" >&5
31894 sed 's/^/| /' conftest.$ac_ext >&5
31896 eval "$as_ac_var=no"
31898 rm -f conftest.err conftest.$ac_objext \
31899 conftest$ac_exeext conftest.$ac_ext
31901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31903 if test `eval echo '${'$as_ac_var'}'` = yes; then
31904 cat >>confdefs.h <<_ACEOF
31905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31906 _ACEOF
31909 done
31919 echo "$as_me:$LINENO: checking for logl declaration" >&5
31920 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
31921 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31922 if test "${glibcxx_cv_func_logl_use+set}" = set; then
31923 echo $ECHO_N "(cached) $ECHO_C" >&6
31924 else
31928 ac_ext=cc
31929 ac_cpp='$CXXCPP $CPPFLAGS'
31930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31934 cat >conftest.$ac_ext <<_ACEOF
31935 /* confdefs.h. */
31936 _ACEOF
31937 cat confdefs.h >>conftest.$ac_ext
31938 cat >>conftest.$ac_ext <<_ACEOF
31939 /* end confdefs.h. */
31940 #include <math.h>
31941 #ifdef HAVE_IEEEFP_H
31942 #include <ieeefp.h>
31943 #endif
31946 main ()
31948 logl(0);
31950 return 0;
31952 _ACEOF
31953 rm -f conftest.$ac_objext
31954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31955 (eval $ac_compile) 2>conftest.er1
31956 ac_status=$?
31957 grep -v '^ *+' conftest.er1 >conftest.err
31958 rm -f conftest.er1
31959 cat conftest.err >&5
31960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31961 (exit $ac_status); } &&
31962 { ac_try='test -z "$ac_cxx_werror_flag"
31963 || test ! -s conftest.err'
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); }; } &&
31969 { ac_try='test -s conftest.$ac_objext'
31970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31971 (eval $ac_try) 2>&5
31972 ac_status=$?
31973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31974 (exit $ac_status); }; }; then
31975 glibcxx_cv_func_logl_use=yes
31976 else
31977 echo "$as_me: failed program was:" >&5
31978 sed 's/^/| /' conftest.$ac_ext >&5
31980 glibcxx_cv_func_logl_use=no
31982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31983 ac_ext=c
31984 ac_cpp='$CPP $CPPFLAGS'
31985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31993 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
31994 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
31996 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31998 for ac_func in logl
32000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32001 echo "$as_me:$LINENO: checking for $ac_func" >&5
32002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32003 if eval "test \"\${$as_ac_var+set}\" = set"; then
32004 echo $ECHO_N "(cached) $ECHO_C" >&6
32005 else
32006 if test x$gcc_no_link = xyes; then
32007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32009 { (exit 1); exit 1; }; }
32011 cat >conftest.$ac_ext <<_ACEOF
32012 /* confdefs.h. */
32013 _ACEOF
32014 cat confdefs.h >>conftest.$ac_ext
32015 cat >>conftest.$ac_ext <<_ACEOF
32016 /* end confdefs.h. */
32017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32019 #define $ac_func innocuous_$ac_func
32021 /* System header to define __stub macros and hopefully few prototypes,
32022 which can conflict with char $ac_func (); below.
32023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32024 <limits.h> exists even on freestanding compilers. */
32026 #ifdef __STDC__
32027 # include <limits.h>
32028 #else
32029 # include <assert.h>
32030 #endif
32032 #undef $ac_func
32034 /* Override any gcc2 internal prototype to avoid an error. */
32035 #ifdef __cplusplus
32036 extern "C"
32038 #endif
32039 /* We use char because int might match the return type of a gcc2
32040 builtin and then its argument prototype would still apply. */
32041 char $ac_func ();
32042 /* The GNU C library defines this for functions which it implements
32043 to always fail with ENOSYS. Some functions are actually named
32044 something starting with __ and the normal name is an alias. */
32045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32046 choke me
32047 #else
32048 char (*f) () = $ac_func;
32049 #endif
32050 #ifdef __cplusplus
32052 #endif
32055 main ()
32057 return f != $ac_func;
32059 return 0;
32061 _ACEOF
32062 rm -f conftest.$ac_objext conftest$ac_exeext
32063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32064 (eval $ac_link) 2>conftest.er1
32065 ac_status=$?
32066 grep -v '^ *+' conftest.er1 >conftest.err
32067 rm -f conftest.er1
32068 cat conftest.err >&5
32069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32070 (exit $ac_status); } &&
32071 { ac_try='test -z "$ac_c_werror_flag"
32072 || test ! -s conftest.err'
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); }; } &&
32078 { ac_try='test -s conftest$ac_exeext'
32079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32080 (eval $ac_try) 2>&5
32081 ac_status=$?
32082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32083 (exit $ac_status); }; }; then
32084 eval "$as_ac_var=yes"
32085 else
32086 echo "$as_me: failed program was:" >&5
32087 sed 's/^/| /' conftest.$ac_ext >&5
32089 eval "$as_ac_var=no"
32091 rm -f conftest.err conftest.$ac_objext \
32092 conftest$ac_exeext conftest.$ac_ext
32094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32096 if test `eval echo '${'$as_ac_var'}'` = yes; then
32097 cat >>confdefs.h <<_ACEOF
32098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32099 _ACEOF
32102 done
32104 else
32106 echo "$as_me:$LINENO: checking for _logl declaration" >&5
32107 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
32108 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32109 if test "${glibcxx_cv_func__logl_use+set}" = set; then
32110 echo $ECHO_N "(cached) $ECHO_C" >&6
32111 else
32115 ac_ext=cc
32116 ac_cpp='$CXXCPP $CPPFLAGS'
32117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32121 cat >conftest.$ac_ext <<_ACEOF
32122 /* confdefs.h. */
32123 _ACEOF
32124 cat confdefs.h >>conftest.$ac_ext
32125 cat >>conftest.$ac_ext <<_ACEOF
32126 /* end confdefs.h. */
32127 #include <math.h>
32128 #ifdef HAVE_IEEEFP_H
32129 #include <ieeefp.h>
32130 #endif
32133 main ()
32135 _logl(0);
32137 return 0;
32139 _ACEOF
32140 rm -f conftest.$ac_objext
32141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32142 (eval $ac_compile) 2>conftest.er1
32143 ac_status=$?
32144 grep -v '^ *+' conftest.er1 >conftest.err
32145 rm -f conftest.er1
32146 cat conftest.err >&5
32147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32148 (exit $ac_status); } &&
32149 { ac_try='test -z "$ac_cxx_werror_flag"
32150 || test ! -s conftest.err'
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); }; } &&
32156 { ac_try='test -s conftest.$ac_objext'
32157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32158 (eval $ac_try) 2>&5
32159 ac_status=$?
32160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32161 (exit $ac_status); }; }; then
32162 glibcxx_cv_func__logl_use=yes
32163 else
32164 echo "$as_me: failed program was:" >&5
32165 sed 's/^/| /' conftest.$ac_ext >&5
32167 glibcxx_cv_func__logl_use=no
32169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32170 ac_ext=c
32171 ac_cpp='$CPP $CPPFLAGS'
32172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32180 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
32181 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
32183 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32185 for ac_func in _logl
32187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32188 echo "$as_me:$LINENO: checking for $ac_func" >&5
32189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32190 if eval "test \"\${$as_ac_var+set}\" = set"; then
32191 echo $ECHO_N "(cached) $ECHO_C" >&6
32192 else
32193 if test x$gcc_no_link = xyes; then
32194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32196 { (exit 1); exit 1; }; }
32198 cat >conftest.$ac_ext <<_ACEOF
32199 /* confdefs.h. */
32200 _ACEOF
32201 cat confdefs.h >>conftest.$ac_ext
32202 cat >>conftest.$ac_ext <<_ACEOF
32203 /* end confdefs.h. */
32204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32206 #define $ac_func innocuous_$ac_func
32208 /* System header to define __stub macros and hopefully few prototypes,
32209 which can conflict with char $ac_func (); below.
32210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32211 <limits.h> exists even on freestanding compilers. */
32213 #ifdef __STDC__
32214 # include <limits.h>
32215 #else
32216 # include <assert.h>
32217 #endif
32219 #undef $ac_func
32221 /* Override any gcc2 internal prototype to avoid an error. */
32222 #ifdef __cplusplus
32223 extern "C"
32225 #endif
32226 /* We use char because int might match the return type of a gcc2
32227 builtin and then its argument prototype would still apply. */
32228 char $ac_func ();
32229 /* The GNU C library defines this for functions which it implements
32230 to always fail with ENOSYS. Some functions are actually named
32231 something starting with __ and the normal name is an alias. */
32232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32233 choke me
32234 #else
32235 char (*f) () = $ac_func;
32236 #endif
32237 #ifdef __cplusplus
32239 #endif
32242 main ()
32244 return f != $ac_func;
32246 return 0;
32248 _ACEOF
32249 rm -f conftest.$ac_objext conftest$ac_exeext
32250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32251 (eval $ac_link) 2>conftest.er1
32252 ac_status=$?
32253 grep -v '^ *+' conftest.er1 >conftest.err
32254 rm -f conftest.er1
32255 cat conftest.err >&5
32256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32257 (exit $ac_status); } &&
32258 { ac_try='test -z "$ac_c_werror_flag"
32259 || test ! -s conftest.err'
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); }; } &&
32265 { ac_try='test -s conftest$ac_exeext'
32266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32267 (eval $ac_try) 2>&5
32268 ac_status=$?
32269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32270 (exit $ac_status); }; }; then
32271 eval "$as_ac_var=yes"
32272 else
32273 echo "$as_me: failed program was:" >&5
32274 sed 's/^/| /' conftest.$ac_ext >&5
32276 eval "$as_ac_var=no"
32278 rm -f conftest.err conftest.$ac_objext \
32279 conftest$ac_exeext conftest.$ac_ext
32281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32283 if test `eval echo '${'$as_ac_var'}'` = yes; then
32284 cat >>confdefs.h <<_ACEOF
32285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32286 _ACEOF
32289 done
32299 echo "$as_me:$LINENO: checking for log10l declaration" >&5
32300 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
32301 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32302 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
32303 echo $ECHO_N "(cached) $ECHO_C" >&6
32304 else
32308 ac_ext=cc
32309 ac_cpp='$CXXCPP $CPPFLAGS'
32310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32314 cat >conftest.$ac_ext <<_ACEOF
32315 /* confdefs.h. */
32316 _ACEOF
32317 cat confdefs.h >>conftest.$ac_ext
32318 cat >>conftest.$ac_ext <<_ACEOF
32319 /* end confdefs.h. */
32320 #include <math.h>
32321 #ifdef HAVE_IEEEFP_H
32322 #include <ieeefp.h>
32323 #endif
32326 main ()
32328 log10l(0);
32330 return 0;
32332 _ACEOF
32333 rm -f conftest.$ac_objext
32334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32335 (eval $ac_compile) 2>conftest.er1
32336 ac_status=$?
32337 grep -v '^ *+' conftest.er1 >conftest.err
32338 rm -f conftest.er1
32339 cat conftest.err >&5
32340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32341 (exit $ac_status); } &&
32342 { ac_try='test -z "$ac_cxx_werror_flag"
32343 || test ! -s conftest.err'
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); }; } &&
32349 { ac_try='test -s conftest.$ac_objext'
32350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32351 (eval $ac_try) 2>&5
32352 ac_status=$?
32353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32354 (exit $ac_status); }; }; then
32355 glibcxx_cv_func_log10l_use=yes
32356 else
32357 echo "$as_me: failed program was:" >&5
32358 sed 's/^/| /' conftest.$ac_ext >&5
32360 glibcxx_cv_func_log10l_use=no
32362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32363 ac_ext=c
32364 ac_cpp='$CPP $CPPFLAGS'
32365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32373 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
32374 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
32376 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32378 for ac_func in log10l
32380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32381 echo "$as_me:$LINENO: checking for $ac_func" >&5
32382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32383 if eval "test \"\${$as_ac_var+set}\" = set"; then
32384 echo $ECHO_N "(cached) $ECHO_C" >&6
32385 else
32386 if test x$gcc_no_link = xyes; then
32387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32389 { (exit 1); exit 1; }; }
32391 cat >conftest.$ac_ext <<_ACEOF
32392 /* confdefs.h. */
32393 _ACEOF
32394 cat confdefs.h >>conftest.$ac_ext
32395 cat >>conftest.$ac_ext <<_ACEOF
32396 /* end confdefs.h. */
32397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32399 #define $ac_func innocuous_$ac_func
32401 /* System header to define __stub macros and hopefully few prototypes,
32402 which can conflict with char $ac_func (); below.
32403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32404 <limits.h> exists even on freestanding compilers. */
32406 #ifdef __STDC__
32407 # include <limits.h>
32408 #else
32409 # include <assert.h>
32410 #endif
32412 #undef $ac_func
32414 /* Override any gcc2 internal prototype to avoid an error. */
32415 #ifdef __cplusplus
32416 extern "C"
32418 #endif
32419 /* We use char because int might match the return type of a gcc2
32420 builtin and then its argument prototype would still apply. */
32421 char $ac_func ();
32422 /* The GNU C library defines this for functions which it implements
32423 to always fail with ENOSYS. Some functions are actually named
32424 something starting with __ and the normal name is an alias. */
32425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32426 choke me
32427 #else
32428 char (*f) () = $ac_func;
32429 #endif
32430 #ifdef __cplusplus
32432 #endif
32435 main ()
32437 return f != $ac_func;
32439 return 0;
32441 _ACEOF
32442 rm -f conftest.$ac_objext conftest$ac_exeext
32443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32444 (eval $ac_link) 2>conftest.er1
32445 ac_status=$?
32446 grep -v '^ *+' conftest.er1 >conftest.err
32447 rm -f conftest.er1
32448 cat conftest.err >&5
32449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32450 (exit $ac_status); } &&
32451 { ac_try='test -z "$ac_c_werror_flag"
32452 || test ! -s conftest.err'
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); }; } &&
32458 { ac_try='test -s conftest$ac_exeext'
32459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32460 (eval $ac_try) 2>&5
32461 ac_status=$?
32462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32463 (exit $ac_status); }; }; then
32464 eval "$as_ac_var=yes"
32465 else
32466 echo "$as_me: failed program was:" >&5
32467 sed 's/^/| /' conftest.$ac_ext >&5
32469 eval "$as_ac_var=no"
32471 rm -f conftest.err conftest.$ac_objext \
32472 conftest$ac_exeext conftest.$ac_ext
32474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32476 if test `eval echo '${'$as_ac_var'}'` = yes; then
32477 cat >>confdefs.h <<_ACEOF
32478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32479 _ACEOF
32482 done
32484 else
32486 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
32487 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
32488 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32489 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
32490 echo $ECHO_N "(cached) $ECHO_C" >&6
32491 else
32495 ac_ext=cc
32496 ac_cpp='$CXXCPP $CPPFLAGS'
32497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32501 cat >conftest.$ac_ext <<_ACEOF
32502 /* confdefs.h. */
32503 _ACEOF
32504 cat confdefs.h >>conftest.$ac_ext
32505 cat >>conftest.$ac_ext <<_ACEOF
32506 /* end confdefs.h. */
32507 #include <math.h>
32508 #ifdef HAVE_IEEEFP_H
32509 #include <ieeefp.h>
32510 #endif
32513 main ()
32515 _log10l(0);
32517 return 0;
32519 _ACEOF
32520 rm -f conftest.$ac_objext
32521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32522 (eval $ac_compile) 2>conftest.er1
32523 ac_status=$?
32524 grep -v '^ *+' conftest.er1 >conftest.err
32525 rm -f conftest.er1
32526 cat conftest.err >&5
32527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32528 (exit $ac_status); } &&
32529 { ac_try='test -z "$ac_cxx_werror_flag"
32530 || test ! -s conftest.err'
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); }; } &&
32536 { ac_try='test -s conftest.$ac_objext'
32537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32538 (eval $ac_try) 2>&5
32539 ac_status=$?
32540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32541 (exit $ac_status); }; }; then
32542 glibcxx_cv_func__log10l_use=yes
32543 else
32544 echo "$as_me: failed program was:" >&5
32545 sed 's/^/| /' conftest.$ac_ext >&5
32547 glibcxx_cv_func__log10l_use=no
32549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32550 ac_ext=c
32551 ac_cpp='$CPP $CPPFLAGS'
32552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32560 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
32561 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
32563 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32565 for ac_func in _log10l
32567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32568 echo "$as_me:$LINENO: checking for $ac_func" >&5
32569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32570 if eval "test \"\${$as_ac_var+set}\" = set"; then
32571 echo $ECHO_N "(cached) $ECHO_C" >&6
32572 else
32573 if test x$gcc_no_link = xyes; then
32574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32576 { (exit 1); exit 1; }; }
32578 cat >conftest.$ac_ext <<_ACEOF
32579 /* confdefs.h. */
32580 _ACEOF
32581 cat confdefs.h >>conftest.$ac_ext
32582 cat >>conftest.$ac_ext <<_ACEOF
32583 /* end confdefs.h. */
32584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32586 #define $ac_func innocuous_$ac_func
32588 /* System header to define __stub macros and hopefully few prototypes,
32589 which can conflict with char $ac_func (); below.
32590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32591 <limits.h> exists even on freestanding compilers. */
32593 #ifdef __STDC__
32594 # include <limits.h>
32595 #else
32596 # include <assert.h>
32597 #endif
32599 #undef $ac_func
32601 /* Override any gcc2 internal prototype to avoid an error. */
32602 #ifdef __cplusplus
32603 extern "C"
32605 #endif
32606 /* We use char because int might match the return type of a gcc2
32607 builtin and then its argument prototype would still apply. */
32608 char $ac_func ();
32609 /* The GNU C library defines this for functions which it implements
32610 to always fail with ENOSYS. Some functions are actually named
32611 something starting with __ and the normal name is an alias. */
32612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32613 choke me
32614 #else
32615 char (*f) () = $ac_func;
32616 #endif
32617 #ifdef __cplusplus
32619 #endif
32622 main ()
32624 return f != $ac_func;
32626 return 0;
32628 _ACEOF
32629 rm -f conftest.$ac_objext conftest$ac_exeext
32630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32631 (eval $ac_link) 2>conftest.er1
32632 ac_status=$?
32633 grep -v '^ *+' conftest.er1 >conftest.err
32634 rm -f conftest.er1
32635 cat conftest.err >&5
32636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32637 (exit $ac_status); } &&
32638 { ac_try='test -z "$ac_c_werror_flag"
32639 || test ! -s conftest.err'
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); }; } &&
32645 { ac_try='test -s conftest$ac_exeext'
32646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32647 (eval $ac_try) 2>&5
32648 ac_status=$?
32649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32650 (exit $ac_status); }; }; then
32651 eval "$as_ac_var=yes"
32652 else
32653 echo "$as_me: failed program was:" >&5
32654 sed 's/^/| /' conftest.$ac_ext >&5
32656 eval "$as_ac_var=no"
32658 rm -f conftest.err conftest.$ac_objext \
32659 conftest$ac_exeext conftest.$ac_ext
32661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32663 if test `eval echo '${'$as_ac_var'}'` = yes; then
32664 cat >>confdefs.h <<_ACEOF
32665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32666 _ACEOF
32669 done
32679 echo "$as_me:$LINENO: checking for modfl declaration" >&5
32680 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
32681 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32682 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
32683 echo $ECHO_N "(cached) $ECHO_C" >&6
32684 else
32688 ac_ext=cc
32689 ac_cpp='$CXXCPP $CPPFLAGS'
32690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32694 cat >conftest.$ac_ext <<_ACEOF
32695 /* confdefs.h. */
32696 _ACEOF
32697 cat confdefs.h >>conftest.$ac_ext
32698 cat >>conftest.$ac_ext <<_ACEOF
32699 /* end confdefs.h. */
32700 #include <math.h>
32702 main ()
32704 modfl(0, 0);
32706 return 0;
32708 _ACEOF
32709 rm -f conftest.$ac_objext
32710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32711 (eval $ac_compile) 2>conftest.er1
32712 ac_status=$?
32713 grep -v '^ *+' conftest.er1 >conftest.err
32714 rm -f conftest.er1
32715 cat conftest.err >&5
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); } &&
32718 { ac_try='test -z "$ac_cxx_werror_flag"
32719 || test ! -s conftest.err'
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); }; } &&
32725 { ac_try='test -s conftest.$ac_objext'
32726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32727 (eval $ac_try) 2>&5
32728 ac_status=$?
32729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32730 (exit $ac_status); }; }; then
32731 glibcxx_cv_func_modfl_use=yes
32732 else
32733 echo "$as_me: failed program was:" >&5
32734 sed 's/^/| /' conftest.$ac_ext >&5
32736 glibcxx_cv_func_modfl_use=no
32738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32739 ac_ext=c
32740 ac_cpp='$CPP $CPPFLAGS'
32741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32749 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
32750 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
32752 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32754 for ac_func in modfl
32756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32757 echo "$as_me:$LINENO: checking for $ac_func" >&5
32758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32759 if eval "test \"\${$as_ac_var+set}\" = set"; then
32760 echo $ECHO_N "(cached) $ECHO_C" >&6
32761 else
32762 if test x$gcc_no_link = xyes; then
32763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32765 { (exit 1); exit 1; }; }
32767 cat >conftest.$ac_ext <<_ACEOF
32768 /* confdefs.h. */
32769 _ACEOF
32770 cat confdefs.h >>conftest.$ac_ext
32771 cat >>conftest.$ac_ext <<_ACEOF
32772 /* end confdefs.h. */
32773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32775 #define $ac_func innocuous_$ac_func
32777 /* System header to define __stub macros and hopefully few prototypes,
32778 which can conflict with char $ac_func (); below.
32779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32780 <limits.h> exists even on freestanding compilers. */
32782 #ifdef __STDC__
32783 # include <limits.h>
32784 #else
32785 # include <assert.h>
32786 #endif
32788 #undef $ac_func
32790 /* Override any gcc2 internal prototype to avoid an error. */
32791 #ifdef __cplusplus
32792 extern "C"
32794 #endif
32795 /* We use char because int might match the return type of a gcc2
32796 builtin and then its argument prototype would still apply. */
32797 char $ac_func ();
32798 /* The GNU C library defines this for functions which it implements
32799 to always fail with ENOSYS. Some functions are actually named
32800 something starting with __ and the normal name is an alias. */
32801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32802 choke me
32803 #else
32804 char (*f) () = $ac_func;
32805 #endif
32806 #ifdef __cplusplus
32808 #endif
32811 main ()
32813 return f != $ac_func;
32815 return 0;
32817 _ACEOF
32818 rm -f conftest.$ac_objext conftest$ac_exeext
32819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32820 (eval $ac_link) 2>conftest.er1
32821 ac_status=$?
32822 grep -v '^ *+' conftest.er1 >conftest.err
32823 rm -f conftest.er1
32824 cat conftest.err >&5
32825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32826 (exit $ac_status); } &&
32827 { ac_try='test -z "$ac_c_werror_flag"
32828 || test ! -s conftest.err'
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); }; } &&
32834 { ac_try='test -s conftest$ac_exeext'
32835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32836 (eval $ac_try) 2>&5
32837 ac_status=$?
32838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32839 (exit $ac_status); }; }; then
32840 eval "$as_ac_var=yes"
32841 else
32842 echo "$as_me: failed program was:" >&5
32843 sed 's/^/| /' conftest.$ac_ext >&5
32845 eval "$as_ac_var=no"
32847 rm -f conftest.err conftest.$ac_objext \
32848 conftest$ac_exeext conftest.$ac_ext
32850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32852 if test `eval echo '${'$as_ac_var'}'` = yes; then
32853 cat >>confdefs.h <<_ACEOF
32854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32855 _ACEOF
32858 done
32860 else
32862 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
32863 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
32864 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32865 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
32866 echo $ECHO_N "(cached) $ECHO_C" >&6
32867 else
32871 ac_ext=cc
32872 ac_cpp='$CXXCPP $CPPFLAGS'
32873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32877 cat >conftest.$ac_ext <<_ACEOF
32878 /* confdefs.h. */
32879 _ACEOF
32880 cat confdefs.h >>conftest.$ac_ext
32881 cat >>conftest.$ac_ext <<_ACEOF
32882 /* end confdefs.h. */
32883 #include <math.h>
32885 main ()
32887 _modfl(0, 0);
32889 return 0;
32891 _ACEOF
32892 rm -f conftest.$ac_objext
32893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32894 (eval $ac_compile) 2>conftest.er1
32895 ac_status=$?
32896 grep -v '^ *+' conftest.er1 >conftest.err
32897 rm -f conftest.er1
32898 cat conftest.err >&5
32899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32900 (exit $ac_status); } &&
32901 { ac_try='test -z "$ac_cxx_werror_flag"
32902 || test ! -s conftest.err'
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); }; } &&
32908 { ac_try='test -s conftest.$ac_objext'
32909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32910 (eval $ac_try) 2>&5
32911 ac_status=$?
32912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32913 (exit $ac_status); }; }; then
32914 glibcxx_cv_func__modfl_use=yes
32915 else
32916 echo "$as_me: failed program was:" >&5
32917 sed 's/^/| /' conftest.$ac_ext >&5
32919 glibcxx_cv_func__modfl_use=no
32921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32922 ac_ext=c
32923 ac_cpp='$CPP $CPPFLAGS'
32924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32932 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
32933 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
32935 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32937 for ac_func in _modfl
32939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32940 echo "$as_me:$LINENO: checking for $ac_func" >&5
32941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32942 if eval "test \"\${$as_ac_var+set}\" = set"; then
32943 echo $ECHO_N "(cached) $ECHO_C" >&6
32944 else
32945 if test x$gcc_no_link = xyes; then
32946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32948 { (exit 1); exit 1; }; }
32950 cat >conftest.$ac_ext <<_ACEOF
32951 /* confdefs.h. */
32952 _ACEOF
32953 cat confdefs.h >>conftest.$ac_ext
32954 cat >>conftest.$ac_ext <<_ACEOF
32955 /* end confdefs.h. */
32956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32958 #define $ac_func innocuous_$ac_func
32960 /* System header to define __stub macros and hopefully few prototypes,
32961 which can conflict with char $ac_func (); below.
32962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32963 <limits.h> exists even on freestanding compilers. */
32965 #ifdef __STDC__
32966 # include <limits.h>
32967 #else
32968 # include <assert.h>
32969 #endif
32971 #undef $ac_func
32973 /* Override any gcc2 internal prototype to avoid an error. */
32974 #ifdef __cplusplus
32975 extern "C"
32977 #endif
32978 /* We use char because int might match the return type of a gcc2
32979 builtin and then its argument prototype would still apply. */
32980 char $ac_func ();
32981 /* The GNU C library defines this for functions which it implements
32982 to always fail with ENOSYS. Some functions are actually named
32983 something starting with __ and the normal name is an alias. */
32984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32985 choke me
32986 #else
32987 char (*f) () = $ac_func;
32988 #endif
32989 #ifdef __cplusplus
32991 #endif
32994 main ()
32996 return f != $ac_func;
32998 return 0;
33000 _ACEOF
33001 rm -f conftest.$ac_objext conftest$ac_exeext
33002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33003 (eval $ac_link) 2>conftest.er1
33004 ac_status=$?
33005 grep -v '^ *+' conftest.er1 >conftest.err
33006 rm -f conftest.er1
33007 cat conftest.err >&5
33008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33009 (exit $ac_status); } &&
33010 { ac_try='test -z "$ac_c_werror_flag"
33011 || test ! -s conftest.err'
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); }; } &&
33017 { ac_try='test -s conftest$ac_exeext'
33018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33019 (eval $ac_try) 2>&5
33020 ac_status=$?
33021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33022 (exit $ac_status); }; }; then
33023 eval "$as_ac_var=yes"
33024 else
33025 echo "$as_me: failed program was:" >&5
33026 sed 's/^/| /' conftest.$ac_ext >&5
33028 eval "$as_ac_var=no"
33030 rm -f conftest.err conftest.$ac_objext \
33031 conftest$ac_exeext conftest.$ac_ext
33033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33035 if test `eval echo '${'$as_ac_var'}'` = yes; then
33036 cat >>confdefs.h <<_ACEOF
33037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33038 _ACEOF
33041 done
33051 echo "$as_me:$LINENO: checking for powl declaration" >&5
33052 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
33053 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33054 if test "${glibcxx_cv_func_powl_use+set}" = set; then
33055 echo $ECHO_N "(cached) $ECHO_C" >&6
33056 else
33060 ac_ext=cc
33061 ac_cpp='$CXXCPP $CPPFLAGS'
33062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33066 cat >conftest.$ac_ext <<_ACEOF
33067 /* confdefs.h. */
33068 _ACEOF
33069 cat confdefs.h >>conftest.$ac_ext
33070 cat >>conftest.$ac_ext <<_ACEOF
33071 /* end confdefs.h. */
33072 #include <math.h>
33074 main ()
33076 powl(0, 0);
33078 return 0;
33080 _ACEOF
33081 rm -f conftest.$ac_objext
33082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33083 (eval $ac_compile) 2>conftest.er1
33084 ac_status=$?
33085 grep -v '^ *+' conftest.er1 >conftest.err
33086 rm -f conftest.er1
33087 cat conftest.err >&5
33088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33089 (exit $ac_status); } &&
33090 { ac_try='test -z "$ac_cxx_werror_flag"
33091 || test ! -s conftest.err'
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); }; } &&
33097 { ac_try='test -s conftest.$ac_objext'
33098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33099 (eval $ac_try) 2>&5
33100 ac_status=$?
33101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33102 (exit $ac_status); }; }; then
33103 glibcxx_cv_func_powl_use=yes
33104 else
33105 echo "$as_me: failed program was:" >&5
33106 sed 's/^/| /' conftest.$ac_ext >&5
33108 glibcxx_cv_func_powl_use=no
33110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33111 ac_ext=c
33112 ac_cpp='$CPP $CPPFLAGS'
33113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33121 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
33122 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
33124 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33126 for ac_func in powl
33128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33129 echo "$as_me:$LINENO: checking for $ac_func" >&5
33130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33131 if eval "test \"\${$as_ac_var+set}\" = set"; then
33132 echo $ECHO_N "(cached) $ECHO_C" >&6
33133 else
33134 if test x$gcc_no_link = xyes; then
33135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33137 { (exit 1); exit 1; }; }
33139 cat >conftest.$ac_ext <<_ACEOF
33140 /* confdefs.h. */
33141 _ACEOF
33142 cat confdefs.h >>conftest.$ac_ext
33143 cat >>conftest.$ac_ext <<_ACEOF
33144 /* end confdefs.h. */
33145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33147 #define $ac_func innocuous_$ac_func
33149 /* System header to define __stub macros and hopefully few prototypes,
33150 which can conflict with char $ac_func (); below.
33151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33152 <limits.h> exists even on freestanding compilers. */
33154 #ifdef __STDC__
33155 # include <limits.h>
33156 #else
33157 # include <assert.h>
33158 #endif
33160 #undef $ac_func
33162 /* Override any gcc2 internal prototype to avoid an error. */
33163 #ifdef __cplusplus
33164 extern "C"
33166 #endif
33167 /* We use char because int might match the return type of a gcc2
33168 builtin and then its argument prototype would still apply. */
33169 char $ac_func ();
33170 /* The GNU C library defines this for functions which it implements
33171 to always fail with ENOSYS. Some functions are actually named
33172 something starting with __ and the normal name is an alias. */
33173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33174 choke me
33175 #else
33176 char (*f) () = $ac_func;
33177 #endif
33178 #ifdef __cplusplus
33180 #endif
33183 main ()
33185 return f != $ac_func;
33187 return 0;
33189 _ACEOF
33190 rm -f conftest.$ac_objext conftest$ac_exeext
33191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33192 (eval $ac_link) 2>conftest.er1
33193 ac_status=$?
33194 grep -v '^ *+' conftest.er1 >conftest.err
33195 rm -f conftest.er1
33196 cat conftest.err >&5
33197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33198 (exit $ac_status); } &&
33199 { ac_try='test -z "$ac_c_werror_flag"
33200 || test ! -s conftest.err'
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); }; } &&
33206 { ac_try='test -s conftest$ac_exeext'
33207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33208 (eval $ac_try) 2>&5
33209 ac_status=$?
33210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33211 (exit $ac_status); }; }; then
33212 eval "$as_ac_var=yes"
33213 else
33214 echo "$as_me: failed program was:" >&5
33215 sed 's/^/| /' conftest.$ac_ext >&5
33217 eval "$as_ac_var=no"
33219 rm -f conftest.err conftest.$ac_objext \
33220 conftest$ac_exeext conftest.$ac_ext
33222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33224 if test `eval echo '${'$as_ac_var'}'` = yes; then
33225 cat >>confdefs.h <<_ACEOF
33226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33227 _ACEOF
33230 done
33232 else
33234 echo "$as_me:$LINENO: checking for _powl declaration" >&5
33235 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
33236 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33237 if test "${glibcxx_cv_func__powl_use+set}" = set; then
33238 echo $ECHO_N "(cached) $ECHO_C" >&6
33239 else
33243 ac_ext=cc
33244 ac_cpp='$CXXCPP $CPPFLAGS'
33245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33249 cat >conftest.$ac_ext <<_ACEOF
33250 /* confdefs.h. */
33251 _ACEOF
33252 cat confdefs.h >>conftest.$ac_ext
33253 cat >>conftest.$ac_ext <<_ACEOF
33254 /* end confdefs.h. */
33255 #include <math.h>
33257 main ()
33259 _powl(0, 0);
33261 return 0;
33263 _ACEOF
33264 rm -f conftest.$ac_objext
33265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33266 (eval $ac_compile) 2>conftest.er1
33267 ac_status=$?
33268 grep -v '^ *+' conftest.er1 >conftest.err
33269 rm -f conftest.er1
33270 cat conftest.err >&5
33271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33272 (exit $ac_status); } &&
33273 { ac_try='test -z "$ac_cxx_werror_flag"
33274 || test ! -s conftest.err'
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); }; } &&
33280 { ac_try='test -s conftest.$ac_objext'
33281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33282 (eval $ac_try) 2>&5
33283 ac_status=$?
33284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33285 (exit $ac_status); }; }; then
33286 glibcxx_cv_func__powl_use=yes
33287 else
33288 echo "$as_me: failed program was:" >&5
33289 sed 's/^/| /' conftest.$ac_ext >&5
33291 glibcxx_cv_func__powl_use=no
33293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33294 ac_ext=c
33295 ac_cpp='$CPP $CPPFLAGS'
33296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33304 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
33305 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
33307 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33309 for ac_func in _powl
33311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33312 echo "$as_me:$LINENO: checking for $ac_func" >&5
33313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33314 if eval "test \"\${$as_ac_var+set}\" = set"; then
33315 echo $ECHO_N "(cached) $ECHO_C" >&6
33316 else
33317 if test x$gcc_no_link = xyes; then
33318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33320 { (exit 1); exit 1; }; }
33322 cat >conftest.$ac_ext <<_ACEOF
33323 /* confdefs.h. */
33324 _ACEOF
33325 cat confdefs.h >>conftest.$ac_ext
33326 cat >>conftest.$ac_ext <<_ACEOF
33327 /* end confdefs.h. */
33328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33330 #define $ac_func innocuous_$ac_func
33332 /* System header to define __stub macros and hopefully few prototypes,
33333 which can conflict with char $ac_func (); below.
33334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33335 <limits.h> exists even on freestanding compilers. */
33337 #ifdef __STDC__
33338 # include <limits.h>
33339 #else
33340 # include <assert.h>
33341 #endif
33343 #undef $ac_func
33345 /* Override any gcc2 internal prototype to avoid an error. */
33346 #ifdef __cplusplus
33347 extern "C"
33349 #endif
33350 /* We use char because int might match the return type of a gcc2
33351 builtin and then its argument prototype would still apply. */
33352 char $ac_func ();
33353 /* The GNU C library defines this for functions which it implements
33354 to always fail with ENOSYS. Some functions are actually named
33355 something starting with __ and the normal name is an alias. */
33356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33357 choke me
33358 #else
33359 char (*f) () = $ac_func;
33360 #endif
33361 #ifdef __cplusplus
33363 #endif
33366 main ()
33368 return f != $ac_func;
33370 return 0;
33372 _ACEOF
33373 rm -f conftest.$ac_objext conftest$ac_exeext
33374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33375 (eval $ac_link) 2>conftest.er1
33376 ac_status=$?
33377 grep -v '^ *+' conftest.er1 >conftest.err
33378 rm -f conftest.er1
33379 cat conftest.err >&5
33380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33381 (exit $ac_status); } &&
33382 { ac_try='test -z "$ac_c_werror_flag"
33383 || test ! -s conftest.err'
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); }; } &&
33389 { ac_try='test -s conftest$ac_exeext'
33390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33391 (eval $ac_try) 2>&5
33392 ac_status=$?
33393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33394 (exit $ac_status); }; }; then
33395 eval "$as_ac_var=yes"
33396 else
33397 echo "$as_me: failed program was:" >&5
33398 sed 's/^/| /' conftest.$ac_ext >&5
33400 eval "$as_ac_var=no"
33402 rm -f conftest.err conftest.$ac_objext \
33403 conftest$ac_exeext conftest.$ac_ext
33405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33407 if test `eval echo '${'$as_ac_var'}'` = yes; then
33408 cat >>confdefs.h <<_ACEOF
33409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33410 _ACEOF
33413 done
33423 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
33424 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
33425 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33426 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
33427 echo $ECHO_N "(cached) $ECHO_C" >&6
33428 else
33432 ac_ext=cc
33433 ac_cpp='$CXXCPP $CPPFLAGS'
33434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33438 cat >conftest.$ac_ext <<_ACEOF
33439 /* confdefs.h. */
33440 _ACEOF
33441 cat confdefs.h >>conftest.$ac_ext
33442 cat >>conftest.$ac_ext <<_ACEOF
33443 /* end confdefs.h. */
33444 #include <math.h>
33445 #ifdef HAVE_IEEEFP_H
33446 #include <ieeefp.h>
33447 #endif
33450 main ()
33452 sqrtl(0);
33454 return 0;
33456 _ACEOF
33457 rm -f conftest.$ac_objext
33458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33459 (eval $ac_compile) 2>conftest.er1
33460 ac_status=$?
33461 grep -v '^ *+' conftest.er1 >conftest.err
33462 rm -f conftest.er1
33463 cat conftest.err >&5
33464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33465 (exit $ac_status); } &&
33466 { ac_try='test -z "$ac_cxx_werror_flag"
33467 || test ! -s conftest.err'
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); }; } &&
33473 { ac_try='test -s conftest.$ac_objext'
33474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33475 (eval $ac_try) 2>&5
33476 ac_status=$?
33477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33478 (exit $ac_status); }; }; then
33479 glibcxx_cv_func_sqrtl_use=yes
33480 else
33481 echo "$as_me: failed program was:" >&5
33482 sed 's/^/| /' conftest.$ac_ext >&5
33484 glibcxx_cv_func_sqrtl_use=no
33486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33487 ac_ext=c
33488 ac_cpp='$CPP $CPPFLAGS'
33489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33497 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
33498 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
33500 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33502 for ac_func in sqrtl
33504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33505 echo "$as_me:$LINENO: checking for $ac_func" >&5
33506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33507 if eval "test \"\${$as_ac_var+set}\" = set"; then
33508 echo $ECHO_N "(cached) $ECHO_C" >&6
33509 else
33510 if test x$gcc_no_link = xyes; then
33511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33513 { (exit 1); exit 1; }; }
33515 cat >conftest.$ac_ext <<_ACEOF
33516 /* confdefs.h. */
33517 _ACEOF
33518 cat confdefs.h >>conftest.$ac_ext
33519 cat >>conftest.$ac_ext <<_ACEOF
33520 /* end confdefs.h. */
33521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33523 #define $ac_func innocuous_$ac_func
33525 /* System header to define __stub macros and hopefully few prototypes,
33526 which can conflict with char $ac_func (); below.
33527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33528 <limits.h> exists even on freestanding compilers. */
33530 #ifdef __STDC__
33531 # include <limits.h>
33532 #else
33533 # include <assert.h>
33534 #endif
33536 #undef $ac_func
33538 /* Override any gcc2 internal prototype to avoid an error. */
33539 #ifdef __cplusplus
33540 extern "C"
33542 #endif
33543 /* We use char because int might match the return type of a gcc2
33544 builtin and then its argument prototype would still apply. */
33545 char $ac_func ();
33546 /* The GNU C library defines this for functions which it implements
33547 to always fail with ENOSYS. Some functions are actually named
33548 something starting with __ and the normal name is an alias. */
33549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33550 choke me
33551 #else
33552 char (*f) () = $ac_func;
33553 #endif
33554 #ifdef __cplusplus
33556 #endif
33559 main ()
33561 return f != $ac_func;
33563 return 0;
33565 _ACEOF
33566 rm -f conftest.$ac_objext conftest$ac_exeext
33567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33568 (eval $ac_link) 2>conftest.er1
33569 ac_status=$?
33570 grep -v '^ *+' conftest.er1 >conftest.err
33571 rm -f conftest.er1
33572 cat conftest.err >&5
33573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33574 (exit $ac_status); } &&
33575 { ac_try='test -z "$ac_c_werror_flag"
33576 || test ! -s conftest.err'
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); }; } &&
33582 { ac_try='test -s conftest$ac_exeext'
33583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33584 (eval $ac_try) 2>&5
33585 ac_status=$?
33586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33587 (exit $ac_status); }; }; then
33588 eval "$as_ac_var=yes"
33589 else
33590 echo "$as_me: failed program was:" >&5
33591 sed 's/^/| /' conftest.$ac_ext >&5
33593 eval "$as_ac_var=no"
33595 rm -f conftest.err conftest.$ac_objext \
33596 conftest$ac_exeext conftest.$ac_ext
33598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33600 if test `eval echo '${'$as_ac_var'}'` = yes; then
33601 cat >>confdefs.h <<_ACEOF
33602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33603 _ACEOF
33606 done
33608 else
33610 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
33611 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
33612 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33613 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
33614 echo $ECHO_N "(cached) $ECHO_C" >&6
33615 else
33619 ac_ext=cc
33620 ac_cpp='$CXXCPP $CPPFLAGS'
33621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33625 cat >conftest.$ac_ext <<_ACEOF
33626 /* confdefs.h. */
33627 _ACEOF
33628 cat confdefs.h >>conftest.$ac_ext
33629 cat >>conftest.$ac_ext <<_ACEOF
33630 /* end confdefs.h. */
33631 #include <math.h>
33632 #ifdef HAVE_IEEEFP_H
33633 #include <ieeefp.h>
33634 #endif
33637 main ()
33639 _sqrtl(0);
33641 return 0;
33643 _ACEOF
33644 rm -f conftest.$ac_objext
33645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33646 (eval $ac_compile) 2>conftest.er1
33647 ac_status=$?
33648 grep -v '^ *+' conftest.er1 >conftest.err
33649 rm -f conftest.er1
33650 cat conftest.err >&5
33651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33652 (exit $ac_status); } &&
33653 { ac_try='test -z "$ac_cxx_werror_flag"
33654 || test ! -s conftest.err'
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); }; } &&
33660 { ac_try='test -s conftest.$ac_objext'
33661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33662 (eval $ac_try) 2>&5
33663 ac_status=$?
33664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33665 (exit $ac_status); }; }; then
33666 glibcxx_cv_func__sqrtl_use=yes
33667 else
33668 echo "$as_me: failed program was:" >&5
33669 sed 's/^/| /' conftest.$ac_ext >&5
33671 glibcxx_cv_func__sqrtl_use=no
33673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33674 ac_ext=c
33675 ac_cpp='$CPP $CPPFLAGS'
33676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33684 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
33685 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
33687 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33689 for ac_func in _sqrtl
33691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33692 echo "$as_me:$LINENO: checking for $ac_func" >&5
33693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33694 if eval "test \"\${$as_ac_var+set}\" = set"; then
33695 echo $ECHO_N "(cached) $ECHO_C" >&6
33696 else
33697 if test x$gcc_no_link = xyes; then
33698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33700 { (exit 1); exit 1; }; }
33702 cat >conftest.$ac_ext <<_ACEOF
33703 /* confdefs.h. */
33704 _ACEOF
33705 cat confdefs.h >>conftest.$ac_ext
33706 cat >>conftest.$ac_ext <<_ACEOF
33707 /* end confdefs.h. */
33708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33710 #define $ac_func innocuous_$ac_func
33712 /* System header to define __stub macros and hopefully few prototypes,
33713 which can conflict with char $ac_func (); below.
33714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33715 <limits.h> exists even on freestanding compilers. */
33717 #ifdef __STDC__
33718 # include <limits.h>
33719 #else
33720 # include <assert.h>
33721 #endif
33723 #undef $ac_func
33725 /* Override any gcc2 internal prototype to avoid an error. */
33726 #ifdef __cplusplus
33727 extern "C"
33729 #endif
33730 /* We use char because int might match the return type of a gcc2
33731 builtin and then its argument prototype would still apply. */
33732 char $ac_func ();
33733 /* The GNU C library defines this for functions which it implements
33734 to always fail with ENOSYS. Some functions are actually named
33735 something starting with __ and the normal name is an alias. */
33736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33737 choke me
33738 #else
33739 char (*f) () = $ac_func;
33740 #endif
33741 #ifdef __cplusplus
33743 #endif
33746 main ()
33748 return f != $ac_func;
33750 return 0;
33752 _ACEOF
33753 rm -f conftest.$ac_objext conftest$ac_exeext
33754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33755 (eval $ac_link) 2>conftest.er1
33756 ac_status=$?
33757 grep -v '^ *+' conftest.er1 >conftest.err
33758 rm -f conftest.er1
33759 cat conftest.err >&5
33760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33761 (exit $ac_status); } &&
33762 { ac_try='test -z "$ac_c_werror_flag"
33763 || test ! -s conftest.err'
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); }; } &&
33769 { ac_try='test -s conftest$ac_exeext'
33770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33771 (eval $ac_try) 2>&5
33772 ac_status=$?
33773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33774 (exit $ac_status); }; }; then
33775 eval "$as_ac_var=yes"
33776 else
33777 echo "$as_me: failed program was:" >&5
33778 sed 's/^/| /' conftest.$ac_ext >&5
33780 eval "$as_ac_var=no"
33782 rm -f conftest.err conftest.$ac_objext \
33783 conftest$ac_exeext conftest.$ac_ext
33785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33787 if test `eval echo '${'$as_ac_var'}'` = yes; then
33788 cat >>confdefs.h <<_ACEOF
33789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33790 _ACEOF
33793 done
33803 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
33804 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
33805 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33806 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
33807 echo $ECHO_N "(cached) $ECHO_C" >&6
33808 else
33812 ac_ext=cc
33813 ac_cpp='$CXXCPP $CPPFLAGS'
33814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33818 cat >conftest.$ac_ext <<_ACEOF
33819 /* confdefs.h. */
33820 _ACEOF
33821 cat confdefs.h >>conftest.$ac_ext
33822 cat >>conftest.$ac_ext <<_ACEOF
33823 /* end confdefs.h. */
33824 #include <math.h>
33826 main ()
33828 sincosl(0, 0, 0);
33830 return 0;
33832 _ACEOF
33833 rm -f conftest.$ac_objext
33834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33835 (eval $ac_compile) 2>conftest.er1
33836 ac_status=$?
33837 grep -v '^ *+' conftest.er1 >conftest.err
33838 rm -f conftest.er1
33839 cat conftest.err >&5
33840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33841 (exit $ac_status); } &&
33842 { ac_try='test -z "$ac_cxx_werror_flag"
33843 || test ! -s conftest.err'
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); }; } &&
33849 { ac_try='test -s conftest.$ac_objext'
33850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33851 (eval $ac_try) 2>&5
33852 ac_status=$?
33853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33854 (exit $ac_status); }; }; then
33855 glibcxx_cv_func_sincosl_use=yes
33856 else
33857 echo "$as_me: failed program was:" >&5
33858 sed 's/^/| /' conftest.$ac_ext >&5
33860 glibcxx_cv_func_sincosl_use=no
33862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33863 ac_ext=c
33864 ac_cpp='$CPP $CPPFLAGS'
33865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33873 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
33874 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
33876 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33878 for ac_func in sincosl
33880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33881 echo "$as_me:$LINENO: checking for $ac_func" >&5
33882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33883 if eval "test \"\${$as_ac_var+set}\" = set"; then
33884 echo $ECHO_N "(cached) $ECHO_C" >&6
33885 else
33886 if test x$gcc_no_link = xyes; then
33887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33889 { (exit 1); exit 1; }; }
33891 cat >conftest.$ac_ext <<_ACEOF
33892 /* confdefs.h. */
33893 _ACEOF
33894 cat confdefs.h >>conftest.$ac_ext
33895 cat >>conftest.$ac_ext <<_ACEOF
33896 /* end confdefs.h. */
33897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33899 #define $ac_func innocuous_$ac_func
33901 /* System header to define __stub macros and hopefully few prototypes,
33902 which can conflict with char $ac_func (); below.
33903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33904 <limits.h> exists even on freestanding compilers. */
33906 #ifdef __STDC__
33907 # include <limits.h>
33908 #else
33909 # include <assert.h>
33910 #endif
33912 #undef $ac_func
33914 /* Override any gcc2 internal prototype to avoid an error. */
33915 #ifdef __cplusplus
33916 extern "C"
33918 #endif
33919 /* We use char because int might match the return type of a gcc2
33920 builtin and then its argument prototype would still apply. */
33921 char $ac_func ();
33922 /* The GNU C library defines this for functions which it implements
33923 to always fail with ENOSYS. Some functions are actually named
33924 something starting with __ and the normal name is an alias. */
33925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33926 choke me
33927 #else
33928 char (*f) () = $ac_func;
33929 #endif
33930 #ifdef __cplusplus
33932 #endif
33935 main ()
33937 return f != $ac_func;
33939 return 0;
33941 _ACEOF
33942 rm -f conftest.$ac_objext conftest$ac_exeext
33943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33944 (eval $ac_link) 2>conftest.er1
33945 ac_status=$?
33946 grep -v '^ *+' conftest.er1 >conftest.err
33947 rm -f conftest.er1
33948 cat conftest.err >&5
33949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33950 (exit $ac_status); } &&
33951 { ac_try='test -z "$ac_c_werror_flag"
33952 || test ! -s conftest.err'
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); }; } &&
33958 { ac_try='test -s conftest$ac_exeext'
33959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33960 (eval $ac_try) 2>&5
33961 ac_status=$?
33962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33963 (exit $ac_status); }; }; then
33964 eval "$as_ac_var=yes"
33965 else
33966 echo "$as_me: failed program was:" >&5
33967 sed 's/^/| /' conftest.$ac_ext >&5
33969 eval "$as_ac_var=no"
33971 rm -f conftest.err conftest.$ac_objext \
33972 conftest$ac_exeext conftest.$ac_ext
33974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33976 if test `eval echo '${'$as_ac_var'}'` = yes; then
33977 cat >>confdefs.h <<_ACEOF
33978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33979 _ACEOF
33982 done
33984 else
33986 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
33987 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
33988 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33989 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
33990 echo $ECHO_N "(cached) $ECHO_C" >&6
33991 else
33995 ac_ext=cc
33996 ac_cpp='$CXXCPP $CPPFLAGS'
33997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34001 cat >conftest.$ac_ext <<_ACEOF
34002 /* confdefs.h. */
34003 _ACEOF
34004 cat confdefs.h >>conftest.$ac_ext
34005 cat >>conftest.$ac_ext <<_ACEOF
34006 /* end confdefs.h. */
34007 #include <math.h>
34009 main ()
34011 _sincosl(0, 0, 0);
34013 return 0;
34015 _ACEOF
34016 rm -f conftest.$ac_objext
34017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34018 (eval $ac_compile) 2>conftest.er1
34019 ac_status=$?
34020 grep -v '^ *+' conftest.er1 >conftest.err
34021 rm -f conftest.er1
34022 cat conftest.err >&5
34023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34024 (exit $ac_status); } &&
34025 { ac_try='test -z "$ac_cxx_werror_flag"
34026 || test ! -s conftest.err'
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); }; } &&
34032 { ac_try='test -s conftest.$ac_objext'
34033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34034 (eval $ac_try) 2>&5
34035 ac_status=$?
34036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34037 (exit $ac_status); }; }; then
34038 glibcxx_cv_func__sincosl_use=yes
34039 else
34040 echo "$as_me: failed program was:" >&5
34041 sed 's/^/| /' conftest.$ac_ext >&5
34043 glibcxx_cv_func__sincosl_use=no
34045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34046 ac_ext=c
34047 ac_cpp='$CPP $CPPFLAGS'
34048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34056 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
34057 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
34059 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34061 for ac_func in _sincosl
34063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34064 echo "$as_me:$LINENO: checking for $ac_func" >&5
34065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34066 if eval "test \"\${$as_ac_var+set}\" = set"; then
34067 echo $ECHO_N "(cached) $ECHO_C" >&6
34068 else
34069 if test x$gcc_no_link = xyes; then
34070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34072 { (exit 1); exit 1; }; }
34074 cat >conftest.$ac_ext <<_ACEOF
34075 /* confdefs.h. */
34076 _ACEOF
34077 cat confdefs.h >>conftest.$ac_ext
34078 cat >>conftest.$ac_ext <<_ACEOF
34079 /* end confdefs.h. */
34080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34082 #define $ac_func innocuous_$ac_func
34084 /* System header to define __stub macros and hopefully few prototypes,
34085 which can conflict with char $ac_func (); below.
34086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34087 <limits.h> exists even on freestanding compilers. */
34089 #ifdef __STDC__
34090 # include <limits.h>
34091 #else
34092 # include <assert.h>
34093 #endif
34095 #undef $ac_func
34097 /* Override any gcc2 internal prototype to avoid an error. */
34098 #ifdef __cplusplus
34099 extern "C"
34101 #endif
34102 /* We use char because int might match the return type of a gcc2
34103 builtin and then its argument prototype would still apply. */
34104 char $ac_func ();
34105 /* The GNU C library defines this for functions which it implements
34106 to always fail with ENOSYS. Some functions are actually named
34107 something starting with __ and the normal name is an alias. */
34108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34109 choke me
34110 #else
34111 char (*f) () = $ac_func;
34112 #endif
34113 #ifdef __cplusplus
34115 #endif
34118 main ()
34120 return f != $ac_func;
34122 return 0;
34124 _ACEOF
34125 rm -f conftest.$ac_objext conftest$ac_exeext
34126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34127 (eval $ac_link) 2>conftest.er1
34128 ac_status=$?
34129 grep -v '^ *+' conftest.er1 >conftest.err
34130 rm -f conftest.er1
34131 cat conftest.err >&5
34132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34133 (exit $ac_status); } &&
34134 { ac_try='test -z "$ac_c_werror_flag"
34135 || test ! -s conftest.err'
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); }; } &&
34141 { ac_try='test -s conftest$ac_exeext'
34142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34143 (eval $ac_try) 2>&5
34144 ac_status=$?
34145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34146 (exit $ac_status); }; }; then
34147 eval "$as_ac_var=yes"
34148 else
34149 echo "$as_me: failed program was:" >&5
34150 sed 's/^/| /' conftest.$ac_ext >&5
34152 eval "$as_ac_var=no"
34154 rm -f conftest.err conftest.$ac_objext \
34155 conftest$ac_exeext conftest.$ac_ext
34157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34159 if test `eval echo '${'$as_ac_var'}'` = yes; then
34160 cat >>confdefs.h <<_ACEOF
34161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34162 _ACEOF
34165 done
34175 echo "$as_me:$LINENO: checking for finitel declaration" >&5
34176 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
34177 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34178 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
34179 echo $ECHO_N "(cached) $ECHO_C" >&6
34180 else
34184 ac_ext=cc
34185 ac_cpp='$CXXCPP $CPPFLAGS'
34186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34190 cat >conftest.$ac_ext <<_ACEOF
34191 /* confdefs.h. */
34192 _ACEOF
34193 cat confdefs.h >>conftest.$ac_ext
34194 cat >>conftest.$ac_ext <<_ACEOF
34195 /* end confdefs.h. */
34196 #include <math.h>
34197 #ifdef HAVE_IEEEFP_H
34198 #include <ieeefp.h>
34199 #endif
34202 main ()
34204 finitel(0);
34206 return 0;
34208 _ACEOF
34209 rm -f conftest.$ac_objext
34210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34211 (eval $ac_compile) 2>conftest.er1
34212 ac_status=$?
34213 grep -v '^ *+' conftest.er1 >conftest.err
34214 rm -f conftest.er1
34215 cat conftest.err >&5
34216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217 (exit $ac_status); } &&
34218 { ac_try='test -z "$ac_cxx_werror_flag"
34219 || test ! -s conftest.err'
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); }; } &&
34225 { ac_try='test -s conftest.$ac_objext'
34226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34227 (eval $ac_try) 2>&5
34228 ac_status=$?
34229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34230 (exit $ac_status); }; }; then
34231 glibcxx_cv_func_finitel_use=yes
34232 else
34233 echo "$as_me: failed program was:" >&5
34234 sed 's/^/| /' conftest.$ac_ext >&5
34236 glibcxx_cv_func_finitel_use=no
34238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34239 ac_ext=c
34240 ac_cpp='$CPP $CPPFLAGS'
34241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34249 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
34250 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
34252 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34254 for ac_func in finitel
34256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34257 echo "$as_me:$LINENO: checking for $ac_func" >&5
34258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34259 if eval "test \"\${$as_ac_var+set}\" = set"; then
34260 echo $ECHO_N "(cached) $ECHO_C" >&6
34261 else
34262 if test x$gcc_no_link = xyes; then
34263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34265 { (exit 1); exit 1; }; }
34267 cat >conftest.$ac_ext <<_ACEOF
34268 /* confdefs.h. */
34269 _ACEOF
34270 cat confdefs.h >>conftest.$ac_ext
34271 cat >>conftest.$ac_ext <<_ACEOF
34272 /* end confdefs.h. */
34273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34275 #define $ac_func innocuous_$ac_func
34277 /* System header to define __stub macros and hopefully few prototypes,
34278 which can conflict with char $ac_func (); below.
34279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34280 <limits.h> exists even on freestanding compilers. */
34282 #ifdef __STDC__
34283 # include <limits.h>
34284 #else
34285 # include <assert.h>
34286 #endif
34288 #undef $ac_func
34290 /* Override any gcc2 internal prototype to avoid an error. */
34291 #ifdef __cplusplus
34292 extern "C"
34294 #endif
34295 /* We use char because int might match the return type of a gcc2
34296 builtin and then its argument prototype would still apply. */
34297 char $ac_func ();
34298 /* The GNU C library defines this for functions which it implements
34299 to always fail with ENOSYS. Some functions are actually named
34300 something starting with __ and the normal name is an alias. */
34301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34302 choke me
34303 #else
34304 char (*f) () = $ac_func;
34305 #endif
34306 #ifdef __cplusplus
34308 #endif
34311 main ()
34313 return f != $ac_func;
34315 return 0;
34317 _ACEOF
34318 rm -f conftest.$ac_objext conftest$ac_exeext
34319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34320 (eval $ac_link) 2>conftest.er1
34321 ac_status=$?
34322 grep -v '^ *+' conftest.er1 >conftest.err
34323 rm -f conftest.er1
34324 cat conftest.err >&5
34325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34326 (exit $ac_status); } &&
34327 { ac_try='test -z "$ac_c_werror_flag"
34328 || test ! -s conftest.err'
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); }; } &&
34334 { ac_try='test -s conftest$ac_exeext'
34335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34336 (eval $ac_try) 2>&5
34337 ac_status=$?
34338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34339 (exit $ac_status); }; }; then
34340 eval "$as_ac_var=yes"
34341 else
34342 echo "$as_me: failed program was:" >&5
34343 sed 's/^/| /' conftest.$ac_ext >&5
34345 eval "$as_ac_var=no"
34347 rm -f conftest.err conftest.$ac_objext \
34348 conftest$ac_exeext conftest.$ac_ext
34350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34352 if test `eval echo '${'$as_ac_var'}'` = yes; then
34353 cat >>confdefs.h <<_ACEOF
34354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34355 _ACEOF
34358 done
34360 else
34362 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
34363 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
34364 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34365 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
34366 echo $ECHO_N "(cached) $ECHO_C" >&6
34367 else
34371 ac_ext=cc
34372 ac_cpp='$CXXCPP $CPPFLAGS'
34373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34377 cat >conftest.$ac_ext <<_ACEOF
34378 /* confdefs.h. */
34379 _ACEOF
34380 cat confdefs.h >>conftest.$ac_ext
34381 cat >>conftest.$ac_ext <<_ACEOF
34382 /* end confdefs.h. */
34383 #include <math.h>
34384 #ifdef HAVE_IEEEFP_H
34385 #include <ieeefp.h>
34386 #endif
34389 main ()
34391 _finitel(0);
34393 return 0;
34395 _ACEOF
34396 rm -f conftest.$ac_objext
34397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34398 (eval $ac_compile) 2>conftest.er1
34399 ac_status=$?
34400 grep -v '^ *+' conftest.er1 >conftest.err
34401 rm -f conftest.er1
34402 cat conftest.err >&5
34403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 (exit $ac_status); } &&
34405 { ac_try='test -z "$ac_cxx_werror_flag"
34406 || test ! -s conftest.err'
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); }; } &&
34412 { ac_try='test -s conftest.$ac_objext'
34413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34414 (eval $ac_try) 2>&5
34415 ac_status=$?
34416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34417 (exit $ac_status); }; }; then
34418 glibcxx_cv_func__finitel_use=yes
34419 else
34420 echo "$as_me: failed program was:" >&5
34421 sed 's/^/| /' conftest.$ac_ext >&5
34423 glibcxx_cv_func__finitel_use=no
34425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34426 ac_ext=c
34427 ac_cpp='$CPP $CPPFLAGS'
34428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34436 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
34437 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
34439 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34441 for ac_func in _finitel
34443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34444 echo "$as_me:$LINENO: checking for $ac_func" >&5
34445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34446 if eval "test \"\${$as_ac_var+set}\" = set"; then
34447 echo $ECHO_N "(cached) $ECHO_C" >&6
34448 else
34449 if test x$gcc_no_link = xyes; then
34450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34452 { (exit 1); exit 1; }; }
34454 cat >conftest.$ac_ext <<_ACEOF
34455 /* confdefs.h. */
34456 _ACEOF
34457 cat confdefs.h >>conftest.$ac_ext
34458 cat >>conftest.$ac_ext <<_ACEOF
34459 /* end confdefs.h. */
34460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34462 #define $ac_func innocuous_$ac_func
34464 /* System header to define __stub macros and hopefully few prototypes,
34465 which can conflict with char $ac_func (); below.
34466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34467 <limits.h> exists even on freestanding compilers. */
34469 #ifdef __STDC__
34470 # include <limits.h>
34471 #else
34472 # include <assert.h>
34473 #endif
34475 #undef $ac_func
34477 /* Override any gcc2 internal prototype to avoid an error. */
34478 #ifdef __cplusplus
34479 extern "C"
34481 #endif
34482 /* We use char because int might match the return type of a gcc2
34483 builtin and then its argument prototype would still apply. */
34484 char $ac_func ();
34485 /* The GNU C library defines this for functions which it implements
34486 to always fail with ENOSYS. Some functions are actually named
34487 something starting with __ and the normal name is an alias. */
34488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34489 choke me
34490 #else
34491 char (*f) () = $ac_func;
34492 #endif
34493 #ifdef __cplusplus
34495 #endif
34498 main ()
34500 return f != $ac_func;
34502 return 0;
34504 _ACEOF
34505 rm -f conftest.$ac_objext conftest$ac_exeext
34506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34507 (eval $ac_link) 2>conftest.er1
34508 ac_status=$?
34509 grep -v '^ *+' conftest.er1 >conftest.err
34510 rm -f conftest.er1
34511 cat conftest.err >&5
34512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34513 (exit $ac_status); } &&
34514 { ac_try='test -z "$ac_c_werror_flag"
34515 || test ! -s conftest.err'
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); }; } &&
34521 { ac_try='test -s conftest$ac_exeext'
34522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34523 (eval $ac_try) 2>&5
34524 ac_status=$?
34525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34526 (exit $ac_status); }; }; then
34527 eval "$as_ac_var=yes"
34528 else
34529 echo "$as_me: failed program was:" >&5
34530 sed 's/^/| /' conftest.$ac_ext >&5
34532 eval "$as_ac_var=no"
34534 rm -f conftest.err conftest.$ac_objext \
34535 conftest$ac_exeext conftest.$ac_ext
34537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34539 if test `eval echo '${'$as_ac_var'}'` = yes; then
34540 cat >>confdefs.h <<_ACEOF
34541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34542 _ACEOF
34545 done
34554 LIBS="$ac_save_LIBS"
34555 CXXFLAGS="$ac_save_CXXFLAGS"
34559 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
34560 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
34561 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
34562 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
34563 echo $ECHO_N "(cached) $ECHO_C" >&6
34564 else
34568 ac_ext=cc
34569 ac_cpp='$CXXCPP $CPPFLAGS'
34570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34574 cat >conftest.$ac_ext <<_ACEOF
34575 /* confdefs.h. */
34576 _ACEOF
34577 cat confdefs.h >>conftest.$ac_ext
34578 cat >>conftest.$ac_ext <<_ACEOF
34579 /* end confdefs.h. */
34580 #include <math.h>
34582 main ()
34584 __builtin_abs(0);
34586 return 0;
34588 _ACEOF
34589 rm -f conftest.$ac_objext
34590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34591 (eval $ac_compile) 2>conftest.er1
34592 ac_status=$?
34593 grep -v '^ *+' conftest.er1 >conftest.err
34594 rm -f conftest.er1
34595 cat conftest.err >&5
34596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34597 (exit $ac_status); } &&
34598 { ac_try='test -z "$ac_cxx_werror_flag"
34599 || test ! -s conftest.err'
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); }; } &&
34605 { ac_try='test -s conftest.$ac_objext'
34606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34607 (eval $ac_try) 2>&5
34608 ac_status=$?
34609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34610 (exit $ac_status); }; }; then
34611 glibcxx_cv_func___builtin_abs_use=yes
34612 else
34613 echo "$as_me: failed program was:" >&5
34614 sed 's/^/| /' conftest.$ac_ext >&5
34616 glibcxx_cv_func___builtin_abs_use=no
34618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34619 ac_ext=c
34620 ac_cpp='$CPP $CPPFLAGS'
34621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34629 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
34630 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
34631 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
34632 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
34633 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
34634 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
34635 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
34636 echo $ECHO_N "(cached) $ECHO_C" >&6
34637 else
34639 if test x$gcc_no_link = xyes; then
34640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34642 { (exit 1); exit 1; }; }
34644 cat >conftest.$ac_ext <<_ACEOF
34645 /* confdefs.h. */
34646 _ACEOF
34647 cat confdefs.h >>conftest.$ac_ext
34648 cat >>conftest.$ac_ext <<_ACEOF
34649 /* end confdefs.h. */
34650 #include <math.h>
34652 main ()
34654 __builtin_abs(0);
34656 return 0;
34658 _ACEOF
34659 rm -f conftest.$ac_objext conftest$ac_exeext
34660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34661 (eval $ac_link) 2>conftest.er1
34662 ac_status=$?
34663 grep -v '^ *+' conftest.er1 >conftest.err
34664 rm -f conftest.er1
34665 cat conftest.err >&5
34666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34667 (exit $ac_status); } &&
34668 { ac_try='test -z "$ac_c_werror_flag"
34669 || test ! -s conftest.err'
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); }; } &&
34675 { ac_try='test -s conftest$ac_exeext'
34676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34677 (eval $ac_try) 2>&5
34678 ac_status=$?
34679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34680 (exit $ac_status); }; }; then
34681 glibcxx_cv_func___builtin_abs_link=yes
34682 else
34683 echo "$as_me: failed program was:" >&5
34684 sed 's/^/| /' conftest.$ac_ext >&5
34686 glibcxx_cv_func___builtin_abs_link=no
34688 rm -f conftest.err conftest.$ac_objext \
34689 conftest$ac_exeext conftest.$ac_ext
34694 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
34695 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
34697 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
34699 cat >>confdefs.h <<\_ACEOF
34700 #define HAVE___BUILTIN_ABS 1
34701 _ACEOF
34708 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
34709 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
34710 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
34711 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
34712 echo $ECHO_N "(cached) $ECHO_C" >&6
34713 else
34717 ac_ext=cc
34718 ac_cpp='$CXXCPP $CPPFLAGS'
34719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34723 cat >conftest.$ac_ext <<_ACEOF
34724 /* confdefs.h. */
34725 _ACEOF
34726 cat confdefs.h >>conftest.$ac_ext
34727 cat >>conftest.$ac_ext <<_ACEOF
34728 /* end confdefs.h. */
34729 #include <math.h>
34731 main ()
34733 __builtin_fabsf(0);
34735 return 0;
34737 _ACEOF
34738 rm -f conftest.$ac_objext
34739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34740 (eval $ac_compile) 2>conftest.er1
34741 ac_status=$?
34742 grep -v '^ *+' conftest.er1 >conftest.err
34743 rm -f conftest.er1
34744 cat conftest.err >&5
34745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34746 (exit $ac_status); } &&
34747 { ac_try='test -z "$ac_cxx_werror_flag"
34748 || test ! -s conftest.err'
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); }; } &&
34754 { ac_try='test -s conftest.$ac_objext'
34755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34756 (eval $ac_try) 2>&5
34757 ac_status=$?
34758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34759 (exit $ac_status); }; }; then
34760 glibcxx_cv_func___builtin_fabsf_use=yes
34761 else
34762 echo "$as_me: failed program was:" >&5
34763 sed 's/^/| /' conftest.$ac_ext >&5
34765 glibcxx_cv_func___builtin_fabsf_use=no
34767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34768 ac_ext=c
34769 ac_cpp='$CPP $CPPFLAGS'
34770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34778 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
34779 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
34780 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
34781 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
34782 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
34783 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
34784 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
34785 echo $ECHO_N "(cached) $ECHO_C" >&6
34786 else
34788 if test x$gcc_no_link = xyes; then
34789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34791 { (exit 1); exit 1; }; }
34793 cat >conftest.$ac_ext <<_ACEOF
34794 /* confdefs.h. */
34795 _ACEOF
34796 cat confdefs.h >>conftest.$ac_ext
34797 cat >>conftest.$ac_ext <<_ACEOF
34798 /* end confdefs.h. */
34799 #include <math.h>
34801 main ()
34803 __builtin_fabsf(0);
34805 return 0;
34807 _ACEOF
34808 rm -f conftest.$ac_objext conftest$ac_exeext
34809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34810 (eval $ac_link) 2>conftest.er1
34811 ac_status=$?
34812 grep -v '^ *+' conftest.er1 >conftest.err
34813 rm -f conftest.er1
34814 cat conftest.err >&5
34815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34816 (exit $ac_status); } &&
34817 { ac_try='test -z "$ac_c_werror_flag"
34818 || test ! -s conftest.err'
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); }; } &&
34824 { ac_try='test -s conftest$ac_exeext'
34825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34826 (eval $ac_try) 2>&5
34827 ac_status=$?
34828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34829 (exit $ac_status); }; }; then
34830 glibcxx_cv_func___builtin_fabsf_link=yes
34831 else
34832 echo "$as_me: failed program was:" >&5
34833 sed 's/^/| /' conftest.$ac_ext >&5
34835 glibcxx_cv_func___builtin_fabsf_link=no
34837 rm -f conftest.err conftest.$ac_objext \
34838 conftest$ac_exeext conftest.$ac_ext
34843 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
34844 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
34846 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
34848 cat >>confdefs.h <<\_ACEOF
34849 #define HAVE___BUILTIN_FABSF 1
34850 _ACEOF
34857 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
34858 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
34859 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
34860 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
34861 echo $ECHO_N "(cached) $ECHO_C" >&6
34862 else
34866 ac_ext=cc
34867 ac_cpp='$CXXCPP $CPPFLAGS'
34868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34872 cat >conftest.$ac_ext <<_ACEOF
34873 /* confdefs.h. */
34874 _ACEOF
34875 cat confdefs.h >>conftest.$ac_ext
34876 cat >>conftest.$ac_ext <<_ACEOF
34877 /* end confdefs.h. */
34878 #include <math.h>
34880 main ()
34882 __builtin_fabs(0);
34884 return 0;
34886 _ACEOF
34887 rm -f conftest.$ac_objext
34888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34889 (eval $ac_compile) 2>conftest.er1
34890 ac_status=$?
34891 grep -v '^ *+' conftest.er1 >conftest.err
34892 rm -f conftest.er1
34893 cat conftest.err >&5
34894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34895 (exit $ac_status); } &&
34896 { ac_try='test -z "$ac_cxx_werror_flag"
34897 || test ! -s conftest.err'
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); }; } &&
34903 { ac_try='test -s conftest.$ac_objext'
34904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34905 (eval $ac_try) 2>&5
34906 ac_status=$?
34907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34908 (exit $ac_status); }; }; then
34909 glibcxx_cv_func___builtin_fabs_use=yes
34910 else
34911 echo "$as_me: failed program was:" >&5
34912 sed 's/^/| /' conftest.$ac_ext >&5
34914 glibcxx_cv_func___builtin_fabs_use=no
34916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34917 ac_ext=c
34918 ac_cpp='$CPP $CPPFLAGS'
34919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34927 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
34928 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
34929 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
34930 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
34931 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
34932 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
34933 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
34934 echo $ECHO_N "(cached) $ECHO_C" >&6
34935 else
34937 if test x$gcc_no_link = xyes; then
34938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34940 { (exit 1); exit 1; }; }
34942 cat >conftest.$ac_ext <<_ACEOF
34943 /* confdefs.h. */
34944 _ACEOF
34945 cat confdefs.h >>conftest.$ac_ext
34946 cat >>conftest.$ac_ext <<_ACEOF
34947 /* end confdefs.h. */
34948 #include <math.h>
34950 main ()
34952 __builtin_fabs(0);
34954 return 0;
34956 _ACEOF
34957 rm -f conftest.$ac_objext conftest$ac_exeext
34958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34959 (eval $ac_link) 2>conftest.er1
34960 ac_status=$?
34961 grep -v '^ *+' conftest.er1 >conftest.err
34962 rm -f conftest.er1
34963 cat conftest.err >&5
34964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34965 (exit $ac_status); } &&
34966 { ac_try='test -z "$ac_c_werror_flag"
34967 || test ! -s conftest.err'
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); }; } &&
34973 { ac_try='test -s conftest$ac_exeext'
34974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34975 (eval $ac_try) 2>&5
34976 ac_status=$?
34977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34978 (exit $ac_status); }; }; then
34979 glibcxx_cv_func___builtin_fabs_link=yes
34980 else
34981 echo "$as_me: failed program was:" >&5
34982 sed 's/^/| /' conftest.$ac_ext >&5
34984 glibcxx_cv_func___builtin_fabs_link=no
34986 rm -f conftest.err conftest.$ac_objext \
34987 conftest$ac_exeext conftest.$ac_ext
34992 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
34993 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
34995 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
34997 cat >>confdefs.h <<\_ACEOF
34998 #define HAVE___BUILTIN_FABS 1
34999 _ACEOF
35006 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
35007 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
35008 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
35009 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
35010 echo $ECHO_N "(cached) $ECHO_C" >&6
35011 else
35015 ac_ext=cc
35016 ac_cpp='$CXXCPP $CPPFLAGS'
35017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35021 cat >conftest.$ac_ext <<_ACEOF
35022 /* confdefs.h. */
35023 _ACEOF
35024 cat confdefs.h >>conftest.$ac_ext
35025 cat >>conftest.$ac_ext <<_ACEOF
35026 /* end confdefs.h. */
35027 #include <math.h>
35029 main ()
35031 __builtin_fabsl(0);
35033 return 0;
35035 _ACEOF
35036 rm -f conftest.$ac_objext
35037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35038 (eval $ac_compile) 2>conftest.er1
35039 ac_status=$?
35040 grep -v '^ *+' conftest.er1 >conftest.err
35041 rm -f conftest.er1
35042 cat conftest.err >&5
35043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35044 (exit $ac_status); } &&
35045 { ac_try='test -z "$ac_cxx_werror_flag"
35046 || test ! -s conftest.err'
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); }; } &&
35052 { ac_try='test -s conftest.$ac_objext'
35053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35054 (eval $ac_try) 2>&5
35055 ac_status=$?
35056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35057 (exit $ac_status); }; }; then
35058 glibcxx_cv_func___builtin_fabsl_use=yes
35059 else
35060 echo "$as_me: failed program was:" >&5
35061 sed 's/^/| /' conftest.$ac_ext >&5
35063 glibcxx_cv_func___builtin_fabsl_use=no
35065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35066 ac_ext=c
35067 ac_cpp='$CPP $CPPFLAGS'
35068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35076 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
35077 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
35078 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
35079 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
35080 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
35081 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
35082 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
35083 echo $ECHO_N "(cached) $ECHO_C" >&6
35084 else
35086 if test x$gcc_no_link = xyes; then
35087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35089 { (exit 1); exit 1; }; }
35091 cat >conftest.$ac_ext <<_ACEOF
35092 /* confdefs.h. */
35093 _ACEOF
35094 cat confdefs.h >>conftest.$ac_ext
35095 cat >>conftest.$ac_ext <<_ACEOF
35096 /* end confdefs.h. */
35097 #include <math.h>
35099 main ()
35101 __builtin_fabsl(0);
35103 return 0;
35105 _ACEOF
35106 rm -f conftest.$ac_objext conftest$ac_exeext
35107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35108 (eval $ac_link) 2>conftest.er1
35109 ac_status=$?
35110 grep -v '^ *+' conftest.er1 >conftest.err
35111 rm -f conftest.er1
35112 cat conftest.err >&5
35113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35114 (exit $ac_status); } &&
35115 { ac_try='test -z "$ac_c_werror_flag"
35116 || test ! -s conftest.err'
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); }; } &&
35122 { ac_try='test -s conftest$ac_exeext'
35123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35124 (eval $ac_try) 2>&5
35125 ac_status=$?
35126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35127 (exit $ac_status); }; }; then
35128 glibcxx_cv_func___builtin_fabsl_link=yes
35129 else
35130 echo "$as_me: failed program was:" >&5
35131 sed 's/^/| /' conftest.$ac_ext >&5
35133 glibcxx_cv_func___builtin_fabsl_link=no
35135 rm -f conftest.err conftest.$ac_objext \
35136 conftest$ac_exeext conftest.$ac_ext
35141 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
35142 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
35144 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
35146 cat >>confdefs.h <<\_ACEOF
35147 #define HAVE___BUILTIN_FABSL 1
35148 _ACEOF
35155 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
35156 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
35157 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
35158 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
35159 echo $ECHO_N "(cached) $ECHO_C" >&6
35160 else
35164 ac_ext=cc
35165 ac_cpp='$CXXCPP $CPPFLAGS'
35166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35170 cat >conftest.$ac_ext <<_ACEOF
35171 /* confdefs.h. */
35172 _ACEOF
35173 cat confdefs.h >>conftest.$ac_ext
35174 cat >>conftest.$ac_ext <<_ACEOF
35175 /* end confdefs.h. */
35176 #include <math.h>
35178 main ()
35180 __builtin_labs(0);
35182 return 0;
35184 _ACEOF
35185 rm -f conftest.$ac_objext
35186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35187 (eval $ac_compile) 2>conftest.er1
35188 ac_status=$?
35189 grep -v '^ *+' conftest.er1 >conftest.err
35190 rm -f conftest.er1
35191 cat conftest.err >&5
35192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35193 (exit $ac_status); } &&
35194 { ac_try='test -z "$ac_cxx_werror_flag"
35195 || test ! -s conftest.err'
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); }; } &&
35201 { ac_try='test -s conftest.$ac_objext'
35202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35203 (eval $ac_try) 2>&5
35204 ac_status=$?
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); }; }; then
35207 glibcxx_cv_func___builtin_labs_use=yes
35208 else
35209 echo "$as_me: failed program was:" >&5
35210 sed 's/^/| /' conftest.$ac_ext >&5
35212 glibcxx_cv_func___builtin_labs_use=no
35214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35215 ac_ext=c
35216 ac_cpp='$CPP $CPPFLAGS'
35217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35225 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
35226 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
35227 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
35228 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
35229 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
35230 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
35231 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
35232 echo $ECHO_N "(cached) $ECHO_C" >&6
35233 else
35235 if test x$gcc_no_link = xyes; then
35236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35238 { (exit 1); exit 1; }; }
35240 cat >conftest.$ac_ext <<_ACEOF
35241 /* confdefs.h. */
35242 _ACEOF
35243 cat confdefs.h >>conftest.$ac_ext
35244 cat >>conftest.$ac_ext <<_ACEOF
35245 /* end confdefs.h. */
35246 #include <math.h>
35248 main ()
35250 __builtin_labs(0);
35252 return 0;
35254 _ACEOF
35255 rm -f conftest.$ac_objext conftest$ac_exeext
35256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35257 (eval $ac_link) 2>conftest.er1
35258 ac_status=$?
35259 grep -v '^ *+' conftest.er1 >conftest.err
35260 rm -f conftest.er1
35261 cat conftest.err >&5
35262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35263 (exit $ac_status); } &&
35264 { ac_try='test -z "$ac_c_werror_flag"
35265 || test ! -s conftest.err'
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); }; } &&
35271 { ac_try='test -s conftest$ac_exeext'
35272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35273 (eval $ac_try) 2>&5
35274 ac_status=$?
35275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35276 (exit $ac_status); }; }; then
35277 glibcxx_cv_func___builtin_labs_link=yes
35278 else
35279 echo "$as_me: failed program was:" >&5
35280 sed 's/^/| /' conftest.$ac_ext >&5
35282 glibcxx_cv_func___builtin_labs_link=no
35284 rm -f conftest.err conftest.$ac_objext \
35285 conftest$ac_exeext conftest.$ac_ext
35290 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
35291 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
35293 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
35295 cat >>confdefs.h <<\_ACEOF
35296 #define HAVE___BUILTIN_LABS 1
35297 _ACEOF
35305 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
35306 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
35307 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
35308 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
35309 echo $ECHO_N "(cached) $ECHO_C" >&6
35310 else
35314 ac_ext=cc
35315 ac_cpp='$CXXCPP $CPPFLAGS'
35316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35320 cat >conftest.$ac_ext <<_ACEOF
35321 /* confdefs.h. */
35322 _ACEOF
35323 cat confdefs.h >>conftest.$ac_ext
35324 cat >>conftest.$ac_ext <<_ACEOF
35325 /* end confdefs.h. */
35326 #include <math.h>
35328 main ()
35330 __builtin_sqrtf(0);
35332 return 0;
35334 _ACEOF
35335 rm -f conftest.$ac_objext
35336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35337 (eval $ac_compile) 2>conftest.er1
35338 ac_status=$?
35339 grep -v '^ *+' conftest.er1 >conftest.err
35340 rm -f conftest.er1
35341 cat conftest.err >&5
35342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35343 (exit $ac_status); } &&
35344 { ac_try='test -z "$ac_cxx_werror_flag"
35345 || test ! -s conftest.err'
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); }; } &&
35351 { ac_try='test -s conftest.$ac_objext'
35352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35353 (eval $ac_try) 2>&5
35354 ac_status=$?
35355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35356 (exit $ac_status); }; }; then
35357 glibcxx_cv_func___builtin_sqrtf_use=yes
35358 else
35359 echo "$as_me: failed program was:" >&5
35360 sed 's/^/| /' conftest.$ac_ext >&5
35362 glibcxx_cv_func___builtin_sqrtf_use=no
35364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35365 ac_ext=c
35366 ac_cpp='$CPP $CPPFLAGS'
35367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35375 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
35376 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
35377 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
35378 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
35379 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
35380 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
35381 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
35382 echo $ECHO_N "(cached) $ECHO_C" >&6
35383 else
35385 if test x$gcc_no_link = xyes; then
35386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35388 { (exit 1); exit 1; }; }
35390 cat >conftest.$ac_ext <<_ACEOF
35391 /* confdefs.h. */
35392 _ACEOF
35393 cat confdefs.h >>conftest.$ac_ext
35394 cat >>conftest.$ac_ext <<_ACEOF
35395 /* end confdefs.h. */
35396 #include <math.h>
35398 main ()
35400 __builtin_sqrtf(0);
35402 return 0;
35404 _ACEOF
35405 rm -f conftest.$ac_objext conftest$ac_exeext
35406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35407 (eval $ac_link) 2>conftest.er1
35408 ac_status=$?
35409 grep -v '^ *+' conftest.er1 >conftest.err
35410 rm -f conftest.er1
35411 cat conftest.err >&5
35412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35413 (exit $ac_status); } &&
35414 { ac_try='test -z "$ac_c_werror_flag"
35415 || test ! -s conftest.err'
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); }; } &&
35421 { ac_try='test -s conftest$ac_exeext'
35422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35423 (eval $ac_try) 2>&5
35424 ac_status=$?
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); }; }; then
35427 glibcxx_cv_func___builtin_sqrtf_link=yes
35428 else
35429 echo "$as_me: failed program was:" >&5
35430 sed 's/^/| /' conftest.$ac_ext >&5
35432 glibcxx_cv_func___builtin_sqrtf_link=no
35434 rm -f conftest.err conftest.$ac_objext \
35435 conftest$ac_exeext conftest.$ac_ext
35440 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
35441 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
35443 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
35445 cat >>confdefs.h <<\_ACEOF
35446 #define HAVE___BUILTIN_SQRTF 1
35447 _ACEOF
35454 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
35455 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
35456 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
35457 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
35458 echo $ECHO_N "(cached) $ECHO_C" >&6
35459 else
35463 ac_ext=cc
35464 ac_cpp='$CXXCPP $CPPFLAGS'
35465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35469 cat >conftest.$ac_ext <<_ACEOF
35470 /* confdefs.h. */
35471 _ACEOF
35472 cat confdefs.h >>conftest.$ac_ext
35473 cat >>conftest.$ac_ext <<_ACEOF
35474 /* end confdefs.h. */
35475 #include <math.h>
35477 main ()
35479 __builtin_sqrt(0);
35481 return 0;
35483 _ACEOF
35484 rm -f conftest.$ac_objext
35485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35486 (eval $ac_compile) 2>conftest.er1
35487 ac_status=$?
35488 grep -v '^ *+' conftest.er1 >conftest.err
35489 rm -f conftest.er1
35490 cat conftest.err >&5
35491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35492 (exit $ac_status); } &&
35493 { ac_try='test -z "$ac_cxx_werror_flag"
35494 || test ! -s conftest.err'
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); }; } &&
35500 { ac_try='test -s conftest.$ac_objext'
35501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35502 (eval $ac_try) 2>&5
35503 ac_status=$?
35504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35505 (exit $ac_status); }; }; then
35506 glibcxx_cv_func___builtin_sqrt_use=yes
35507 else
35508 echo "$as_me: failed program was:" >&5
35509 sed 's/^/| /' conftest.$ac_ext >&5
35511 glibcxx_cv_func___builtin_sqrt_use=no
35513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35514 ac_ext=c
35515 ac_cpp='$CPP $CPPFLAGS'
35516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35524 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
35525 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
35526 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
35527 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
35528 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
35529 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
35530 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
35531 echo $ECHO_N "(cached) $ECHO_C" >&6
35532 else
35534 if test x$gcc_no_link = xyes; then
35535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35537 { (exit 1); exit 1; }; }
35539 cat >conftest.$ac_ext <<_ACEOF
35540 /* confdefs.h. */
35541 _ACEOF
35542 cat confdefs.h >>conftest.$ac_ext
35543 cat >>conftest.$ac_ext <<_ACEOF
35544 /* end confdefs.h. */
35545 #include <math.h>
35547 main ()
35549 __builtin_sqrt(0);
35551 return 0;
35553 _ACEOF
35554 rm -f conftest.$ac_objext conftest$ac_exeext
35555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35556 (eval $ac_link) 2>conftest.er1
35557 ac_status=$?
35558 grep -v '^ *+' conftest.er1 >conftest.err
35559 rm -f conftest.er1
35560 cat conftest.err >&5
35561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35562 (exit $ac_status); } &&
35563 { ac_try='test -z "$ac_c_werror_flag"
35564 || test ! -s conftest.err'
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); }; } &&
35570 { ac_try='test -s conftest$ac_exeext'
35571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35572 (eval $ac_try) 2>&5
35573 ac_status=$?
35574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35575 (exit $ac_status); }; }; then
35576 glibcxx_cv_func___builtin_sqrt_link=yes
35577 else
35578 echo "$as_me: failed program was:" >&5
35579 sed 's/^/| /' conftest.$ac_ext >&5
35581 glibcxx_cv_func___builtin_sqrt_link=no
35583 rm -f conftest.err conftest.$ac_objext \
35584 conftest$ac_exeext conftest.$ac_ext
35589 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
35590 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
35592 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
35594 cat >>confdefs.h <<\_ACEOF
35595 #define HAVE___BUILTIN_SQRT 1
35596 _ACEOF
35603 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
35604 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
35605 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
35606 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
35607 echo $ECHO_N "(cached) $ECHO_C" >&6
35608 else
35612 ac_ext=cc
35613 ac_cpp='$CXXCPP $CPPFLAGS'
35614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35618 cat >conftest.$ac_ext <<_ACEOF
35619 /* confdefs.h. */
35620 _ACEOF
35621 cat confdefs.h >>conftest.$ac_ext
35622 cat >>conftest.$ac_ext <<_ACEOF
35623 /* end confdefs.h. */
35624 #include <math.h>
35626 main ()
35628 __builtin_sqrtl(0);
35630 return 0;
35632 _ACEOF
35633 rm -f conftest.$ac_objext
35634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35635 (eval $ac_compile) 2>conftest.er1
35636 ac_status=$?
35637 grep -v '^ *+' conftest.er1 >conftest.err
35638 rm -f conftest.er1
35639 cat conftest.err >&5
35640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35641 (exit $ac_status); } &&
35642 { ac_try='test -z "$ac_cxx_werror_flag"
35643 || test ! -s conftest.err'
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); }; } &&
35649 { ac_try='test -s conftest.$ac_objext'
35650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35651 (eval $ac_try) 2>&5
35652 ac_status=$?
35653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35654 (exit $ac_status); }; }; then
35655 glibcxx_cv_func___builtin_sqrtl_use=yes
35656 else
35657 echo "$as_me: failed program was:" >&5
35658 sed 's/^/| /' conftest.$ac_ext >&5
35660 glibcxx_cv_func___builtin_sqrtl_use=no
35662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35663 ac_ext=c
35664 ac_cpp='$CPP $CPPFLAGS'
35665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35673 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
35674 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
35675 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
35676 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
35677 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
35678 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
35679 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
35680 echo $ECHO_N "(cached) $ECHO_C" >&6
35681 else
35683 if test x$gcc_no_link = xyes; then
35684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35686 { (exit 1); exit 1; }; }
35688 cat >conftest.$ac_ext <<_ACEOF
35689 /* confdefs.h. */
35690 _ACEOF
35691 cat confdefs.h >>conftest.$ac_ext
35692 cat >>conftest.$ac_ext <<_ACEOF
35693 /* end confdefs.h. */
35694 #include <math.h>
35696 main ()
35698 __builtin_sqrtl(0);
35700 return 0;
35702 _ACEOF
35703 rm -f conftest.$ac_objext conftest$ac_exeext
35704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35705 (eval $ac_link) 2>conftest.er1
35706 ac_status=$?
35707 grep -v '^ *+' conftest.er1 >conftest.err
35708 rm -f conftest.er1
35709 cat conftest.err >&5
35710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35711 (exit $ac_status); } &&
35712 { ac_try='test -z "$ac_c_werror_flag"
35713 || test ! -s conftest.err'
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); }; } &&
35719 { ac_try='test -s conftest$ac_exeext'
35720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35721 (eval $ac_try) 2>&5
35722 ac_status=$?
35723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35724 (exit $ac_status); }; }; then
35725 glibcxx_cv_func___builtin_sqrtl_link=yes
35726 else
35727 echo "$as_me: failed program was:" >&5
35728 sed 's/^/| /' conftest.$ac_ext >&5
35730 glibcxx_cv_func___builtin_sqrtl_link=no
35732 rm -f conftest.err conftest.$ac_objext \
35733 conftest$ac_exeext conftest.$ac_ext
35738 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
35739 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
35741 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
35743 cat >>confdefs.h <<\_ACEOF
35744 #define HAVE___BUILTIN_SQRTL 1
35745 _ACEOF
35753 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
35754 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
35755 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
35756 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
35757 echo $ECHO_N "(cached) $ECHO_C" >&6
35758 else
35762 ac_ext=cc
35763 ac_cpp='$CXXCPP $CPPFLAGS'
35764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35768 cat >conftest.$ac_ext <<_ACEOF
35769 /* confdefs.h. */
35770 _ACEOF
35771 cat confdefs.h >>conftest.$ac_ext
35772 cat >>conftest.$ac_ext <<_ACEOF
35773 /* end confdefs.h. */
35774 #include <math.h>
35776 main ()
35778 __builtin_sinf(0);
35780 return 0;
35782 _ACEOF
35783 rm -f conftest.$ac_objext
35784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35785 (eval $ac_compile) 2>conftest.er1
35786 ac_status=$?
35787 grep -v '^ *+' conftest.er1 >conftest.err
35788 rm -f conftest.er1
35789 cat conftest.err >&5
35790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35791 (exit $ac_status); } &&
35792 { ac_try='test -z "$ac_cxx_werror_flag"
35793 || test ! -s conftest.err'
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); }; } &&
35799 { ac_try='test -s conftest.$ac_objext'
35800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35801 (eval $ac_try) 2>&5
35802 ac_status=$?
35803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 (exit $ac_status); }; }; then
35805 glibcxx_cv_func___builtin_sinf_use=yes
35806 else
35807 echo "$as_me: failed program was:" >&5
35808 sed 's/^/| /' conftest.$ac_ext >&5
35810 glibcxx_cv_func___builtin_sinf_use=no
35812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35813 ac_ext=c
35814 ac_cpp='$CPP $CPPFLAGS'
35815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35823 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
35824 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
35825 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
35826 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
35827 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
35828 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
35829 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
35830 echo $ECHO_N "(cached) $ECHO_C" >&6
35831 else
35833 if test x$gcc_no_link = xyes; then
35834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35836 { (exit 1); exit 1; }; }
35838 cat >conftest.$ac_ext <<_ACEOF
35839 /* confdefs.h. */
35840 _ACEOF
35841 cat confdefs.h >>conftest.$ac_ext
35842 cat >>conftest.$ac_ext <<_ACEOF
35843 /* end confdefs.h. */
35844 #include <math.h>
35846 main ()
35848 __builtin_sinf(0);
35850 return 0;
35852 _ACEOF
35853 rm -f conftest.$ac_objext conftest$ac_exeext
35854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35855 (eval $ac_link) 2>conftest.er1
35856 ac_status=$?
35857 grep -v '^ *+' conftest.er1 >conftest.err
35858 rm -f conftest.er1
35859 cat conftest.err >&5
35860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35861 (exit $ac_status); } &&
35862 { ac_try='test -z "$ac_c_werror_flag"
35863 || test ! -s conftest.err'
35864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35865 (eval $ac_try) 2>&5
35866 ac_status=$?
35867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868 (exit $ac_status); }; } &&
35869 { ac_try='test -s conftest$ac_exeext'
35870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35871 (eval $ac_try) 2>&5
35872 ac_status=$?
35873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35874 (exit $ac_status); }; }; then
35875 glibcxx_cv_func___builtin_sinf_link=yes
35876 else
35877 echo "$as_me: failed program was:" >&5
35878 sed 's/^/| /' conftest.$ac_ext >&5
35880 glibcxx_cv_func___builtin_sinf_link=no
35882 rm -f conftest.err conftest.$ac_objext \
35883 conftest$ac_exeext conftest.$ac_ext
35888 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
35889 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
35891 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
35893 cat >>confdefs.h <<\_ACEOF
35894 #define HAVE___BUILTIN_SINF 1
35895 _ACEOF
35902 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
35903 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
35904 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
35905 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
35906 echo $ECHO_N "(cached) $ECHO_C" >&6
35907 else
35911 ac_ext=cc
35912 ac_cpp='$CXXCPP $CPPFLAGS'
35913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35917 cat >conftest.$ac_ext <<_ACEOF
35918 /* confdefs.h. */
35919 _ACEOF
35920 cat confdefs.h >>conftest.$ac_ext
35921 cat >>conftest.$ac_ext <<_ACEOF
35922 /* end confdefs.h. */
35923 #include <math.h>
35925 main ()
35927 __builtin_sin(0);
35929 return 0;
35931 _ACEOF
35932 rm -f conftest.$ac_objext
35933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35934 (eval $ac_compile) 2>conftest.er1
35935 ac_status=$?
35936 grep -v '^ *+' conftest.er1 >conftest.err
35937 rm -f conftest.er1
35938 cat conftest.err >&5
35939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35940 (exit $ac_status); } &&
35941 { ac_try='test -z "$ac_cxx_werror_flag"
35942 || test ! -s conftest.err'
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); }; } &&
35948 { ac_try='test -s conftest.$ac_objext'
35949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35950 (eval $ac_try) 2>&5
35951 ac_status=$?
35952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35953 (exit $ac_status); }; }; then
35954 glibcxx_cv_func___builtin_sin_use=yes
35955 else
35956 echo "$as_me: failed program was:" >&5
35957 sed 's/^/| /' conftest.$ac_ext >&5
35959 glibcxx_cv_func___builtin_sin_use=no
35961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35962 ac_ext=c
35963 ac_cpp='$CPP $CPPFLAGS'
35964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35972 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
35973 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
35974 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
35975 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
35976 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
35977 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
35978 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
35979 echo $ECHO_N "(cached) $ECHO_C" >&6
35980 else
35982 if test x$gcc_no_link = xyes; then
35983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35985 { (exit 1); exit 1; }; }
35987 cat >conftest.$ac_ext <<_ACEOF
35988 /* confdefs.h. */
35989 _ACEOF
35990 cat confdefs.h >>conftest.$ac_ext
35991 cat >>conftest.$ac_ext <<_ACEOF
35992 /* end confdefs.h. */
35993 #include <math.h>
35995 main ()
35997 __builtin_sin(0);
35999 return 0;
36001 _ACEOF
36002 rm -f conftest.$ac_objext conftest$ac_exeext
36003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36004 (eval $ac_link) 2>conftest.er1
36005 ac_status=$?
36006 grep -v '^ *+' conftest.er1 >conftest.err
36007 rm -f conftest.er1
36008 cat conftest.err >&5
36009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36010 (exit $ac_status); } &&
36011 { ac_try='test -z "$ac_c_werror_flag"
36012 || test ! -s conftest.err'
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); }; } &&
36018 { ac_try='test -s conftest$ac_exeext'
36019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36020 (eval $ac_try) 2>&5
36021 ac_status=$?
36022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36023 (exit $ac_status); }; }; then
36024 glibcxx_cv_func___builtin_sin_link=yes
36025 else
36026 echo "$as_me: failed program was:" >&5
36027 sed 's/^/| /' conftest.$ac_ext >&5
36029 glibcxx_cv_func___builtin_sin_link=no
36031 rm -f conftest.err conftest.$ac_objext \
36032 conftest$ac_exeext conftest.$ac_ext
36037 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
36038 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
36040 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
36042 cat >>confdefs.h <<\_ACEOF
36043 #define HAVE___BUILTIN_SIN 1
36044 _ACEOF
36051 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
36052 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
36053 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
36054 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
36055 echo $ECHO_N "(cached) $ECHO_C" >&6
36056 else
36060 ac_ext=cc
36061 ac_cpp='$CXXCPP $CPPFLAGS'
36062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36066 cat >conftest.$ac_ext <<_ACEOF
36067 /* confdefs.h. */
36068 _ACEOF
36069 cat confdefs.h >>conftest.$ac_ext
36070 cat >>conftest.$ac_ext <<_ACEOF
36071 /* end confdefs.h. */
36072 #include <math.h>
36074 main ()
36076 __builtin_sinl(0);
36078 return 0;
36080 _ACEOF
36081 rm -f conftest.$ac_objext
36082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36083 (eval $ac_compile) 2>conftest.er1
36084 ac_status=$?
36085 grep -v '^ *+' conftest.er1 >conftest.err
36086 rm -f conftest.er1
36087 cat conftest.err >&5
36088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36089 (exit $ac_status); } &&
36090 { ac_try='test -z "$ac_cxx_werror_flag"
36091 || test ! -s conftest.err'
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); }; } &&
36097 { ac_try='test -s conftest.$ac_objext'
36098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36099 (eval $ac_try) 2>&5
36100 ac_status=$?
36101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36102 (exit $ac_status); }; }; then
36103 glibcxx_cv_func___builtin_sinl_use=yes
36104 else
36105 echo "$as_me: failed program was:" >&5
36106 sed 's/^/| /' conftest.$ac_ext >&5
36108 glibcxx_cv_func___builtin_sinl_use=no
36110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36111 ac_ext=c
36112 ac_cpp='$CPP $CPPFLAGS'
36113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36121 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
36122 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
36123 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
36124 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
36125 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
36126 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
36127 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
36128 echo $ECHO_N "(cached) $ECHO_C" >&6
36129 else
36131 if test x$gcc_no_link = xyes; then
36132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36134 { (exit 1); exit 1; }; }
36136 cat >conftest.$ac_ext <<_ACEOF
36137 /* confdefs.h. */
36138 _ACEOF
36139 cat confdefs.h >>conftest.$ac_ext
36140 cat >>conftest.$ac_ext <<_ACEOF
36141 /* end confdefs.h. */
36142 #include <math.h>
36144 main ()
36146 __builtin_sinl(0);
36148 return 0;
36150 _ACEOF
36151 rm -f conftest.$ac_objext conftest$ac_exeext
36152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36153 (eval $ac_link) 2>conftest.er1
36154 ac_status=$?
36155 grep -v '^ *+' conftest.er1 >conftest.err
36156 rm -f conftest.er1
36157 cat conftest.err >&5
36158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36159 (exit $ac_status); } &&
36160 { ac_try='test -z "$ac_c_werror_flag"
36161 || test ! -s conftest.err'
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); }; } &&
36167 { ac_try='test -s conftest$ac_exeext'
36168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36169 (eval $ac_try) 2>&5
36170 ac_status=$?
36171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36172 (exit $ac_status); }; }; then
36173 glibcxx_cv_func___builtin_sinl_link=yes
36174 else
36175 echo "$as_me: failed program was:" >&5
36176 sed 's/^/| /' conftest.$ac_ext >&5
36178 glibcxx_cv_func___builtin_sinl_link=no
36180 rm -f conftest.err conftest.$ac_objext \
36181 conftest$ac_exeext conftest.$ac_ext
36186 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
36187 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
36189 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
36191 cat >>confdefs.h <<\_ACEOF
36192 #define HAVE___BUILTIN_SINL 1
36193 _ACEOF
36201 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
36202 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
36203 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
36204 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
36205 echo $ECHO_N "(cached) $ECHO_C" >&6
36206 else
36210 ac_ext=cc
36211 ac_cpp='$CXXCPP $CPPFLAGS'
36212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36216 cat >conftest.$ac_ext <<_ACEOF
36217 /* confdefs.h. */
36218 _ACEOF
36219 cat confdefs.h >>conftest.$ac_ext
36220 cat >>conftest.$ac_ext <<_ACEOF
36221 /* end confdefs.h. */
36222 #include <math.h>
36224 main ()
36226 __builtin_cosf(0);
36228 return 0;
36230 _ACEOF
36231 rm -f conftest.$ac_objext
36232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36233 (eval $ac_compile) 2>conftest.er1
36234 ac_status=$?
36235 grep -v '^ *+' conftest.er1 >conftest.err
36236 rm -f conftest.er1
36237 cat conftest.err >&5
36238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36239 (exit $ac_status); } &&
36240 { ac_try='test -z "$ac_cxx_werror_flag"
36241 || test ! -s conftest.err'
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); }; } &&
36247 { ac_try='test -s conftest.$ac_objext'
36248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36249 (eval $ac_try) 2>&5
36250 ac_status=$?
36251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36252 (exit $ac_status); }; }; then
36253 glibcxx_cv_func___builtin_cosf_use=yes
36254 else
36255 echo "$as_me: failed program was:" >&5
36256 sed 's/^/| /' conftest.$ac_ext >&5
36258 glibcxx_cv_func___builtin_cosf_use=no
36260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36261 ac_ext=c
36262 ac_cpp='$CPP $CPPFLAGS'
36263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36271 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
36272 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
36273 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
36274 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
36275 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
36276 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
36277 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
36278 echo $ECHO_N "(cached) $ECHO_C" >&6
36279 else
36281 if test x$gcc_no_link = xyes; then
36282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36284 { (exit 1); exit 1; }; }
36286 cat >conftest.$ac_ext <<_ACEOF
36287 /* confdefs.h. */
36288 _ACEOF
36289 cat confdefs.h >>conftest.$ac_ext
36290 cat >>conftest.$ac_ext <<_ACEOF
36291 /* end confdefs.h. */
36292 #include <math.h>
36294 main ()
36296 __builtin_cosf(0);
36298 return 0;
36300 _ACEOF
36301 rm -f conftest.$ac_objext conftest$ac_exeext
36302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36303 (eval $ac_link) 2>conftest.er1
36304 ac_status=$?
36305 grep -v '^ *+' conftest.er1 >conftest.err
36306 rm -f conftest.er1
36307 cat conftest.err >&5
36308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36309 (exit $ac_status); } &&
36310 { ac_try='test -z "$ac_c_werror_flag"
36311 || test ! -s conftest.err'
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); }; } &&
36317 { ac_try='test -s conftest$ac_exeext'
36318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36319 (eval $ac_try) 2>&5
36320 ac_status=$?
36321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36322 (exit $ac_status); }; }; then
36323 glibcxx_cv_func___builtin_cosf_link=yes
36324 else
36325 echo "$as_me: failed program was:" >&5
36326 sed 's/^/| /' conftest.$ac_ext >&5
36328 glibcxx_cv_func___builtin_cosf_link=no
36330 rm -f conftest.err conftest.$ac_objext \
36331 conftest$ac_exeext conftest.$ac_ext
36336 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
36337 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
36339 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
36341 cat >>confdefs.h <<\_ACEOF
36342 #define HAVE___BUILTIN_COSF 1
36343 _ACEOF
36350 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
36351 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
36352 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
36353 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
36354 echo $ECHO_N "(cached) $ECHO_C" >&6
36355 else
36359 ac_ext=cc
36360 ac_cpp='$CXXCPP $CPPFLAGS'
36361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36365 cat >conftest.$ac_ext <<_ACEOF
36366 /* confdefs.h. */
36367 _ACEOF
36368 cat confdefs.h >>conftest.$ac_ext
36369 cat >>conftest.$ac_ext <<_ACEOF
36370 /* end confdefs.h. */
36371 #include <math.h>
36373 main ()
36375 __builtin_cos(0);
36377 return 0;
36379 _ACEOF
36380 rm -f conftest.$ac_objext
36381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36382 (eval $ac_compile) 2>conftest.er1
36383 ac_status=$?
36384 grep -v '^ *+' conftest.er1 >conftest.err
36385 rm -f conftest.er1
36386 cat conftest.err >&5
36387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36388 (exit $ac_status); } &&
36389 { ac_try='test -z "$ac_cxx_werror_flag"
36390 || test ! -s conftest.err'
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); }; } &&
36396 { ac_try='test -s conftest.$ac_objext'
36397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36398 (eval $ac_try) 2>&5
36399 ac_status=$?
36400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36401 (exit $ac_status); }; }; then
36402 glibcxx_cv_func___builtin_cos_use=yes
36403 else
36404 echo "$as_me: failed program was:" >&5
36405 sed 's/^/| /' conftest.$ac_ext >&5
36407 glibcxx_cv_func___builtin_cos_use=no
36409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36410 ac_ext=c
36411 ac_cpp='$CPP $CPPFLAGS'
36412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36420 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
36421 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
36422 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
36423 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
36424 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
36425 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
36426 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
36427 echo $ECHO_N "(cached) $ECHO_C" >&6
36428 else
36430 if test x$gcc_no_link = xyes; then
36431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36433 { (exit 1); exit 1; }; }
36435 cat >conftest.$ac_ext <<_ACEOF
36436 /* confdefs.h. */
36437 _ACEOF
36438 cat confdefs.h >>conftest.$ac_ext
36439 cat >>conftest.$ac_ext <<_ACEOF
36440 /* end confdefs.h. */
36441 #include <math.h>
36443 main ()
36445 __builtin_cos(0);
36447 return 0;
36449 _ACEOF
36450 rm -f conftest.$ac_objext conftest$ac_exeext
36451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36452 (eval $ac_link) 2>conftest.er1
36453 ac_status=$?
36454 grep -v '^ *+' conftest.er1 >conftest.err
36455 rm -f conftest.er1
36456 cat conftest.err >&5
36457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36458 (exit $ac_status); } &&
36459 { ac_try='test -z "$ac_c_werror_flag"
36460 || test ! -s conftest.err'
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); }; } &&
36466 { ac_try='test -s conftest$ac_exeext'
36467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36468 (eval $ac_try) 2>&5
36469 ac_status=$?
36470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36471 (exit $ac_status); }; }; then
36472 glibcxx_cv_func___builtin_cos_link=yes
36473 else
36474 echo "$as_me: failed program was:" >&5
36475 sed 's/^/| /' conftest.$ac_ext >&5
36477 glibcxx_cv_func___builtin_cos_link=no
36479 rm -f conftest.err conftest.$ac_objext \
36480 conftest$ac_exeext conftest.$ac_ext
36485 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
36486 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
36488 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
36490 cat >>confdefs.h <<\_ACEOF
36491 #define HAVE___BUILTIN_COS 1
36492 _ACEOF
36499 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
36500 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
36501 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
36502 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
36503 echo $ECHO_N "(cached) $ECHO_C" >&6
36504 else
36508 ac_ext=cc
36509 ac_cpp='$CXXCPP $CPPFLAGS'
36510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36514 cat >conftest.$ac_ext <<_ACEOF
36515 /* confdefs.h. */
36516 _ACEOF
36517 cat confdefs.h >>conftest.$ac_ext
36518 cat >>conftest.$ac_ext <<_ACEOF
36519 /* end confdefs.h. */
36520 #include <math.h>
36522 main ()
36524 __builtin_cosl(0);
36526 return 0;
36528 _ACEOF
36529 rm -f conftest.$ac_objext
36530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36531 (eval $ac_compile) 2>conftest.er1
36532 ac_status=$?
36533 grep -v '^ *+' conftest.er1 >conftest.err
36534 rm -f conftest.er1
36535 cat conftest.err >&5
36536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36537 (exit $ac_status); } &&
36538 { ac_try='test -z "$ac_cxx_werror_flag"
36539 || test ! -s conftest.err'
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); }; } &&
36545 { ac_try='test -s conftest.$ac_objext'
36546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36547 (eval $ac_try) 2>&5
36548 ac_status=$?
36549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36550 (exit $ac_status); }; }; then
36551 glibcxx_cv_func___builtin_cosl_use=yes
36552 else
36553 echo "$as_me: failed program was:" >&5
36554 sed 's/^/| /' conftest.$ac_ext >&5
36556 glibcxx_cv_func___builtin_cosl_use=no
36558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36559 ac_ext=c
36560 ac_cpp='$CPP $CPPFLAGS'
36561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36569 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
36570 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
36571 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
36572 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
36573 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
36574 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
36575 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
36576 echo $ECHO_N "(cached) $ECHO_C" >&6
36577 else
36579 if test x$gcc_no_link = xyes; then
36580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36582 { (exit 1); exit 1; }; }
36584 cat >conftest.$ac_ext <<_ACEOF
36585 /* confdefs.h. */
36586 _ACEOF
36587 cat confdefs.h >>conftest.$ac_ext
36588 cat >>conftest.$ac_ext <<_ACEOF
36589 /* end confdefs.h. */
36590 #include <math.h>
36592 main ()
36594 __builtin_cosl(0);
36596 return 0;
36598 _ACEOF
36599 rm -f conftest.$ac_objext conftest$ac_exeext
36600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36601 (eval $ac_link) 2>conftest.er1
36602 ac_status=$?
36603 grep -v '^ *+' conftest.er1 >conftest.err
36604 rm -f conftest.er1
36605 cat conftest.err >&5
36606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36607 (exit $ac_status); } &&
36608 { ac_try='test -z "$ac_c_werror_flag"
36609 || test ! -s conftest.err'
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); }; } &&
36615 { ac_try='test -s conftest$ac_exeext'
36616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36617 (eval $ac_try) 2>&5
36618 ac_status=$?
36619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36620 (exit $ac_status); }; }; then
36621 glibcxx_cv_func___builtin_cosl_link=yes
36622 else
36623 echo "$as_me: failed program was:" >&5
36624 sed 's/^/| /' conftest.$ac_ext >&5
36626 glibcxx_cv_func___builtin_cosl_link=no
36628 rm -f conftest.err conftest.$ac_objext \
36629 conftest$ac_exeext conftest.$ac_ext
36634 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
36635 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
36637 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
36639 cat >>confdefs.h <<\_ACEOF
36640 #define HAVE___BUILTIN_COSL 1
36641 _ACEOF
36650 echo "$as_me:$LINENO: checking for main in -lm" >&5
36651 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
36652 if test "${ac_cv_lib_m_main+set}" = set; then
36653 echo $ECHO_N "(cached) $ECHO_C" >&6
36654 else
36655 ac_check_lib_save_LIBS=$LIBS
36656 LIBS="-lm $LIBS"
36657 if test x$gcc_no_link = xyes; then
36658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36660 { (exit 1); exit 1; }; }
36662 cat >conftest.$ac_ext <<_ACEOF
36663 /* confdefs.h. */
36664 _ACEOF
36665 cat confdefs.h >>conftest.$ac_ext
36666 cat >>conftest.$ac_ext <<_ACEOF
36667 /* end confdefs.h. */
36671 main ()
36673 main ();
36675 return 0;
36677 _ACEOF
36678 rm -f conftest.$ac_objext conftest$ac_exeext
36679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36680 (eval $ac_link) 2>conftest.er1
36681 ac_status=$?
36682 grep -v '^ *+' conftest.er1 >conftest.err
36683 rm -f conftest.er1
36684 cat conftest.err >&5
36685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36686 (exit $ac_status); } &&
36687 { ac_try='test -z "$ac_c_werror_flag"
36688 || test ! -s conftest.err'
36689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36690 (eval $ac_try) 2>&5
36691 ac_status=$?
36692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693 (exit $ac_status); }; } &&
36694 { ac_try='test -s conftest$ac_exeext'
36695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36696 (eval $ac_try) 2>&5
36697 ac_status=$?
36698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699 (exit $ac_status); }; }; then
36700 ac_cv_lib_m_main=yes
36701 else
36702 echo "$as_me: failed program was:" >&5
36703 sed 's/^/| /' conftest.$ac_ext >&5
36705 ac_cv_lib_m_main=no
36707 rm -f conftest.err conftest.$ac_objext \
36708 conftest$ac_exeext conftest.$ac_ext
36709 LIBS=$ac_check_lib_save_LIBS
36711 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
36712 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
36713 if test $ac_cv_lib_m_main = yes; then
36714 cat >>confdefs.h <<_ACEOF
36715 #define HAVE_LIBM 1
36716 _ACEOF
36718 LIBS="-lm $LIBS"
36723 for ac_func in copysignf
36725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36726 echo "$as_me:$LINENO: checking for $ac_func" >&5
36727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36728 if eval "test \"\${$as_ac_var+set}\" = set"; then
36729 echo $ECHO_N "(cached) $ECHO_C" >&6
36730 else
36731 if test x$gcc_no_link = xyes; then
36732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36734 { (exit 1); exit 1; }; }
36736 cat >conftest.$ac_ext <<_ACEOF
36737 /* confdefs.h. */
36738 _ACEOF
36739 cat confdefs.h >>conftest.$ac_ext
36740 cat >>conftest.$ac_ext <<_ACEOF
36741 /* end confdefs.h. */
36742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36744 #define $ac_func innocuous_$ac_func
36746 /* System header to define __stub macros and hopefully few prototypes,
36747 which can conflict with char $ac_func (); below.
36748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36749 <limits.h> exists even on freestanding compilers. */
36751 #ifdef __STDC__
36752 # include <limits.h>
36753 #else
36754 # include <assert.h>
36755 #endif
36757 #undef $ac_func
36759 /* Override any gcc2 internal prototype to avoid an error. */
36760 #ifdef __cplusplus
36761 extern "C"
36763 #endif
36764 /* We use char because int might match the return type of a gcc2
36765 builtin and then its argument prototype would still apply. */
36766 char $ac_func ();
36767 /* The GNU C library defines this for functions which it implements
36768 to always fail with ENOSYS. Some functions are actually named
36769 something starting with __ and the normal name is an alias. */
36770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36771 choke me
36772 #else
36773 char (*f) () = $ac_func;
36774 #endif
36775 #ifdef __cplusplus
36777 #endif
36780 main ()
36782 return f != $ac_func;
36784 return 0;
36786 _ACEOF
36787 rm -f conftest.$ac_objext conftest$ac_exeext
36788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36789 (eval $ac_link) 2>conftest.er1
36790 ac_status=$?
36791 grep -v '^ *+' conftest.er1 >conftest.err
36792 rm -f conftest.er1
36793 cat conftest.err >&5
36794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36795 (exit $ac_status); } &&
36796 { ac_try='test -z "$ac_c_werror_flag"
36797 || test ! -s conftest.err'
36798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36799 (eval $ac_try) 2>&5
36800 ac_status=$?
36801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36802 (exit $ac_status); }; } &&
36803 { ac_try='test -s conftest$ac_exeext'
36804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36805 (eval $ac_try) 2>&5
36806 ac_status=$?
36807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36808 (exit $ac_status); }; }; then
36809 eval "$as_ac_var=yes"
36810 else
36811 echo "$as_me: failed program was:" >&5
36812 sed 's/^/| /' conftest.$ac_ext >&5
36814 eval "$as_ac_var=no"
36816 rm -f conftest.err conftest.$ac_objext \
36817 conftest$ac_exeext conftest.$ac_ext
36819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36821 if test `eval echo '${'$as_ac_var'}'` = yes; then
36822 cat >>confdefs.h <<_ACEOF
36823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36824 _ACEOF
36826 else
36827 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
36829 done
36833 for ac_func in __signbit
36835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36836 echo "$as_me:$LINENO: checking for $ac_func" >&5
36837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36838 if eval "test \"\${$as_ac_var+set}\" = set"; then
36839 echo $ECHO_N "(cached) $ECHO_C" >&6
36840 else
36841 if test x$gcc_no_link = xyes; then
36842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36844 { (exit 1); exit 1; }; }
36846 cat >conftest.$ac_ext <<_ACEOF
36847 /* confdefs.h. */
36848 _ACEOF
36849 cat confdefs.h >>conftest.$ac_ext
36850 cat >>conftest.$ac_ext <<_ACEOF
36851 /* end confdefs.h. */
36852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36854 #define $ac_func innocuous_$ac_func
36856 /* System header to define __stub macros and hopefully few prototypes,
36857 which can conflict with char $ac_func (); below.
36858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36859 <limits.h> exists even on freestanding compilers. */
36861 #ifdef __STDC__
36862 # include <limits.h>
36863 #else
36864 # include <assert.h>
36865 #endif
36867 #undef $ac_func
36869 /* Override any gcc2 internal prototype to avoid an error. */
36870 #ifdef __cplusplus
36871 extern "C"
36873 #endif
36874 /* We use char because int might match the return type of a gcc2
36875 builtin and then its argument prototype would still apply. */
36876 char $ac_func ();
36877 /* The GNU C library defines this for functions which it implements
36878 to always fail with ENOSYS. Some functions are actually named
36879 something starting with __ and the normal name is an alias. */
36880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36881 choke me
36882 #else
36883 char (*f) () = $ac_func;
36884 #endif
36885 #ifdef __cplusplus
36887 #endif
36890 main ()
36892 return f != $ac_func;
36894 return 0;
36896 _ACEOF
36897 rm -f conftest.$ac_objext conftest$ac_exeext
36898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36899 (eval $ac_link) 2>conftest.er1
36900 ac_status=$?
36901 grep -v '^ *+' conftest.er1 >conftest.err
36902 rm -f conftest.er1
36903 cat conftest.err >&5
36904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36905 (exit $ac_status); } &&
36906 { ac_try='test -z "$ac_c_werror_flag"
36907 || test ! -s conftest.err'
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); }; } &&
36913 { ac_try='test -s conftest$ac_exeext'
36914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36915 (eval $ac_try) 2>&5
36916 ac_status=$?
36917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36918 (exit $ac_status); }; }; then
36919 eval "$as_ac_var=yes"
36920 else
36921 echo "$as_me: failed program was:" >&5
36922 sed 's/^/| /' conftest.$ac_ext >&5
36924 eval "$as_ac_var=no"
36926 rm -f conftest.err conftest.$ac_objext \
36927 conftest$ac_exeext conftest.$ac_ext
36929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36931 if test `eval echo '${'$as_ac_var'}'` = yes; then
36932 cat >>confdefs.h <<_ACEOF
36933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36934 _ACEOF
36936 else
36937 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
36939 done
36943 for ac_func in __signbitf
36945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36946 echo "$as_me:$LINENO: checking for $ac_func" >&5
36947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36948 if eval "test \"\${$as_ac_var+set}\" = set"; then
36949 echo $ECHO_N "(cached) $ECHO_C" >&6
36950 else
36951 if test x$gcc_no_link = xyes; then
36952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36954 { (exit 1); exit 1; }; }
36956 cat >conftest.$ac_ext <<_ACEOF
36957 /* confdefs.h. */
36958 _ACEOF
36959 cat confdefs.h >>conftest.$ac_ext
36960 cat >>conftest.$ac_ext <<_ACEOF
36961 /* end confdefs.h. */
36962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36964 #define $ac_func innocuous_$ac_func
36966 /* System header to define __stub macros and hopefully few prototypes,
36967 which can conflict with char $ac_func (); below.
36968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36969 <limits.h> exists even on freestanding compilers. */
36971 #ifdef __STDC__
36972 # include <limits.h>
36973 #else
36974 # include <assert.h>
36975 #endif
36977 #undef $ac_func
36979 /* Override any gcc2 internal prototype to avoid an error. */
36980 #ifdef __cplusplus
36981 extern "C"
36983 #endif
36984 /* We use char because int might match the return type of a gcc2
36985 builtin and then its argument prototype would still apply. */
36986 char $ac_func ();
36987 /* The GNU C library defines this for functions which it implements
36988 to always fail with ENOSYS. Some functions are actually named
36989 something starting with __ and the normal name is an alias. */
36990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36991 choke me
36992 #else
36993 char (*f) () = $ac_func;
36994 #endif
36995 #ifdef __cplusplus
36997 #endif
37000 main ()
37002 return f != $ac_func;
37004 return 0;
37006 _ACEOF
37007 rm -f conftest.$ac_objext conftest$ac_exeext
37008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37009 (eval $ac_link) 2>conftest.er1
37010 ac_status=$?
37011 grep -v '^ *+' conftest.er1 >conftest.err
37012 rm -f conftest.er1
37013 cat conftest.err >&5
37014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37015 (exit $ac_status); } &&
37016 { ac_try='test -z "$ac_c_werror_flag"
37017 || test ! -s conftest.err'
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); }; } &&
37023 { ac_try='test -s conftest$ac_exeext'
37024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37025 (eval $ac_try) 2>&5
37026 ac_status=$?
37027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37028 (exit $ac_status); }; }; then
37029 eval "$as_ac_var=yes"
37030 else
37031 echo "$as_me: failed program was:" >&5
37032 sed 's/^/| /' conftest.$ac_ext >&5
37034 eval "$as_ac_var=no"
37036 rm -f conftest.err conftest.$ac_objext \
37037 conftest$ac_exeext conftest.$ac_ext
37039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37041 if test `eval echo '${'$as_ac_var'}'` = yes; then
37042 cat >>confdefs.h <<_ACEOF
37043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37044 _ACEOF
37046 else
37047 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
37049 done
37052 if test x$ac_cv_func_copysignl = x"yes"; then
37054 for ac_func in __signbitl
37056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37057 echo "$as_me:$LINENO: checking for $ac_func" >&5
37058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37059 if eval "test \"\${$as_ac_var+set}\" = set"; then
37060 echo $ECHO_N "(cached) $ECHO_C" >&6
37061 else
37062 if test x$gcc_no_link = xyes; then
37063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37065 { (exit 1); exit 1; }; }
37067 cat >conftest.$ac_ext <<_ACEOF
37068 /* confdefs.h. */
37069 _ACEOF
37070 cat confdefs.h >>conftest.$ac_ext
37071 cat >>conftest.$ac_ext <<_ACEOF
37072 /* end confdefs.h. */
37073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37075 #define $ac_func innocuous_$ac_func
37077 /* System header to define __stub macros and hopefully few prototypes,
37078 which can conflict with char $ac_func (); below.
37079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37080 <limits.h> exists even on freestanding compilers. */
37082 #ifdef __STDC__
37083 # include <limits.h>
37084 #else
37085 # include <assert.h>
37086 #endif
37088 #undef $ac_func
37090 /* Override any gcc2 internal prototype to avoid an error. */
37091 #ifdef __cplusplus
37092 extern "C"
37094 #endif
37095 /* We use char because int might match the return type of a gcc2
37096 builtin and then its argument prototype would still apply. */
37097 char $ac_func ();
37098 /* The GNU C library defines this for functions which it implements
37099 to always fail with ENOSYS. Some functions are actually named
37100 something starting with __ and the normal name is an alias. */
37101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37102 choke me
37103 #else
37104 char (*f) () = $ac_func;
37105 #endif
37106 #ifdef __cplusplus
37108 #endif
37111 main ()
37113 return f != $ac_func;
37115 return 0;
37117 _ACEOF
37118 rm -f conftest.$ac_objext conftest$ac_exeext
37119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37120 (eval $ac_link) 2>conftest.er1
37121 ac_status=$?
37122 grep -v '^ *+' conftest.er1 >conftest.err
37123 rm -f conftest.er1
37124 cat conftest.err >&5
37125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37126 (exit $ac_status); } &&
37127 { ac_try='test -z "$ac_c_werror_flag"
37128 || test ! -s conftest.err'
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); }; } &&
37134 { ac_try='test -s conftest$ac_exeext'
37135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37136 (eval $ac_try) 2>&5
37137 ac_status=$?
37138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37139 (exit $ac_status); }; }; then
37140 eval "$as_ac_var=yes"
37141 else
37142 echo "$as_me: failed program was:" >&5
37143 sed 's/^/| /' conftest.$ac_ext >&5
37145 eval "$as_ac_var=no"
37147 rm -f conftest.err conftest.$ac_objext \
37148 conftest$ac_exeext conftest.$ac_ext
37150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37152 if test `eval echo '${'$as_ac_var'}'` = yes; then
37153 cat >>confdefs.h <<_ACEOF
37154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37155 _ACEOF
37157 else
37158 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
37160 done
37164 # Used in libmath/Makefile.am.
37165 if test -n "$LIBMATHOBJS"; then
37166 need_libmath=yes
37171 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37172 ac_save_CXXFLAGS="$CXXFLAGS"
37173 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37176 echo "$as_me:$LINENO: checking for strtold declaration" >&5
37177 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
37178 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37179 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
37180 echo $ECHO_N "(cached) $ECHO_C" >&6
37181 else
37185 ac_ext=cc
37186 ac_cpp='$CXXCPP $CPPFLAGS'
37187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37191 cat >conftest.$ac_ext <<_ACEOF
37192 /* confdefs.h. */
37193 _ACEOF
37194 cat confdefs.h >>conftest.$ac_ext
37195 cat >>conftest.$ac_ext <<_ACEOF
37196 /* end confdefs.h. */
37197 #include <stdlib.h>
37199 main ()
37201 strtold(0, 0);
37203 return 0;
37205 _ACEOF
37206 rm -f conftest.$ac_objext
37207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37208 (eval $ac_compile) 2>conftest.er1
37209 ac_status=$?
37210 grep -v '^ *+' conftest.er1 >conftest.err
37211 rm -f conftest.er1
37212 cat conftest.err >&5
37213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37214 (exit $ac_status); } &&
37215 { ac_try='test -z "$ac_cxx_werror_flag"
37216 || test ! -s conftest.err'
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); }; } &&
37222 { ac_try='test -s conftest.$ac_objext'
37223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37224 (eval $ac_try) 2>&5
37225 ac_status=$?
37226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37227 (exit $ac_status); }; }; then
37228 glibcxx_cv_func_strtold_use=yes
37229 else
37230 echo "$as_me: failed program was:" >&5
37231 sed 's/^/| /' conftest.$ac_ext >&5
37233 glibcxx_cv_func_strtold_use=no
37235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37236 ac_ext=c
37237 ac_cpp='$CPP $CPPFLAGS'
37238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37246 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
37247 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
37248 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
37250 for ac_func in strtold
37252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37253 echo "$as_me:$LINENO: checking for $ac_func" >&5
37254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37255 if eval "test \"\${$as_ac_var+set}\" = set"; then
37256 echo $ECHO_N "(cached) $ECHO_C" >&6
37257 else
37258 if test x$gcc_no_link = xyes; then
37259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37261 { (exit 1); exit 1; }; }
37263 cat >conftest.$ac_ext <<_ACEOF
37264 /* confdefs.h. */
37265 _ACEOF
37266 cat confdefs.h >>conftest.$ac_ext
37267 cat >>conftest.$ac_ext <<_ACEOF
37268 /* end confdefs.h. */
37269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37271 #define $ac_func innocuous_$ac_func
37273 /* System header to define __stub macros and hopefully few prototypes,
37274 which can conflict with char $ac_func (); below.
37275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37276 <limits.h> exists even on freestanding compilers. */
37278 #ifdef __STDC__
37279 # include <limits.h>
37280 #else
37281 # include <assert.h>
37282 #endif
37284 #undef $ac_func
37286 /* Override any gcc2 internal prototype to avoid an error. */
37287 #ifdef __cplusplus
37288 extern "C"
37290 #endif
37291 /* We use char because int might match the return type of a gcc2
37292 builtin and then its argument prototype would still apply. */
37293 char $ac_func ();
37294 /* The GNU C library defines this for functions which it implements
37295 to always fail with ENOSYS. Some functions are actually named
37296 something starting with __ and the normal name is an alias. */
37297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37298 choke me
37299 #else
37300 char (*f) () = $ac_func;
37301 #endif
37302 #ifdef __cplusplus
37304 #endif
37307 main ()
37309 return f != $ac_func;
37311 return 0;
37313 _ACEOF
37314 rm -f conftest.$ac_objext conftest$ac_exeext
37315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37316 (eval $ac_link) 2>conftest.er1
37317 ac_status=$?
37318 grep -v '^ *+' conftest.er1 >conftest.err
37319 rm -f conftest.er1
37320 cat conftest.err >&5
37321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37322 (exit $ac_status); } &&
37323 { ac_try='test -z "$ac_c_werror_flag"
37324 || test ! -s conftest.err'
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); }; } &&
37330 { ac_try='test -s conftest$ac_exeext'
37331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37332 (eval $ac_try) 2>&5
37333 ac_status=$?
37334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37335 (exit $ac_status); }; }; then
37336 eval "$as_ac_var=yes"
37337 else
37338 echo "$as_me: failed program was:" >&5
37339 sed 's/^/| /' conftest.$ac_ext >&5
37341 eval "$as_ac_var=no"
37343 rm -f conftest.err conftest.$ac_objext \
37344 conftest$ac_exeext conftest.$ac_ext
37346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37348 if test `eval echo '${'$as_ac_var'}'` = yes; then
37349 cat >>confdefs.h <<_ACEOF
37350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37351 _ACEOF
37354 done
37362 echo "$as_me:$LINENO: checking for strtof declaration" >&5
37363 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
37364 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
37365 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
37366 echo $ECHO_N "(cached) $ECHO_C" >&6
37367 else
37371 ac_ext=cc
37372 ac_cpp='$CXXCPP $CPPFLAGS'
37373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37377 cat >conftest.$ac_ext <<_ACEOF
37378 /* confdefs.h. */
37379 _ACEOF
37380 cat confdefs.h >>conftest.$ac_ext
37381 cat >>conftest.$ac_ext <<_ACEOF
37382 /* end confdefs.h. */
37383 #include <stdlib.h>
37385 main ()
37387 strtof(0, 0);
37389 return 0;
37391 _ACEOF
37392 rm -f conftest.$ac_objext
37393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37394 (eval $ac_compile) 2>conftest.er1
37395 ac_status=$?
37396 grep -v '^ *+' conftest.er1 >conftest.err
37397 rm -f conftest.er1
37398 cat conftest.err >&5
37399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37400 (exit $ac_status); } &&
37401 { ac_try='test -z "$ac_cxx_werror_flag"
37402 || test ! -s conftest.err'
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); }; } &&
37408 { ac_try='test -s conftest.$ac_objext'
37409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37410 (eval $ac_try) 2>&5
37411 ac_status=$?
37412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37413 (exit $ac_status); }; }; then
37414 glibcxx_cv_func_strtof_use=yes
37415 else
37416 echo "$as_me: failed program was:" >&5
37417 sed 's/^/| /' conftest.$ac_ext >&5
37419 glibcxx_cv_func_strtof_use=no
37421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37422 ac_ext=c
37423 ac_cpp='$CPP $CPPFLAGS'
37424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37432 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
37433 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
37434 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
37436 for ac_func in strtof
37438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37439 echo "$as_me:$LINENO: checking for $ac_func" >&5
37440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37441 if eval "test \"\${$as_ac_var+set}\" = set"; then
37442 echo $ECHO_N "(cached) $ECHO_C" >&6
37443 else
37444 if test x$gcc_no_link = xyes; then
37445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37447 { (exit 1); exit 1; }; }
37449 cat >conftest.$ac_ext <<_ACEOF
37450 /* confdefs.h. */
37451 _ACEOF
37452 cat confdefs.h >>conftest.$ac_ext
37453 cat >>conftest.$ac_ext <<_ACEOF
37454 /* end confdefs.h. */
37455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37457 #define $ac_func innocuous_$ac_func
37459 /* System header to define __stub macros and hopefully few prototypes,
37460 which can conflict with char $ac_func (); below.
37461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37462 <limits.h> exists even on freestanding compilers. */
37464 #ifdef __STDC__
37465 # include <limits.h>
37466 #else
37467 # include <assert.h>
37468 #endif
37470 #undef $ac_func
37472 /* Override any gcc2 internal prototype to avoid an error. */
37473 #ifdef __cplusplus
37474 extern "C"
37476 #endif
37477 /* We use char because int might match the return type of a gcc2
37478 builtin and then its argument prototype would still apply. */
37479 char $ac_func ();
37480 /* The GNU C library defines this for functions which it implements
37481 to always fail with ENOSYS. Some functions are actually named
37482 something starting with __ and the normal name is an alias. */
37483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37484 choke me
37485 #else
37486 char (*f) () = $ac_func;
37487 #endif
37488 #ifdef __cplusplus
37490 #endif
37493 main ()
37495 return f != $ac_func;
37497 return 0;
37499 _ACEOF
37500 rm -f conftest.$ac_objext conftest$ac_exeext
37501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37502 (eval $ac_link) 2>conftest.er1
37503 ac_status=$?
37504 grep -v '^ *+' conftest.er1 >conftest.err
37505 rm -f conftest.er1
37506 cat conftest.err >&5
37507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37508 (exit $ac_status); } &&
37509 { ac_try='test -z "$ac_c_werror_flag"
37510 || test ! -s conftest.err'
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); }; } &&
37516 { ac_try='test -s conftest$ac_exeext'
37517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37518 (eval $ac_try) 2>&5
37519 ac_status=$?
37520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37521 (exit $ac_status); }; }; then
37522 eval "$as_ac_var=yes"
37523 else
37524 echo "$as_me: failed program was:" >&5
37525 sed 's/^/| /' conftest.$ac_ext >&5
37527 eval "$as_ac_var=no"
37529 rm -f conftest.err conftest.$ac_objext \
37530 conftest$ac_exeext conftest.$ac_ext
37532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37534 if test `eval echo '${'$as_ac_var'}'` = yes; then
37535 cat >>confdefs.h <<_ACEOF
37536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37537 _ACEOF
37540 done
37548 CXXFLAGS="$ac_save_CXXFLAGS"
37551 # For showmanyc_helper().
37554 for ac_header in sys/ioctl.h sys/filio.h
37556 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37558 echo "$as_me:$LINENO: checking for $ac_header" >&5
37559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37561 echo $ECHO_N "(cached) $ECHO_C" >&6
37563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37565 else
37566 # Is the header compilable?
37567 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37568 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37569 cat >conftest.$ac_ext <<_ACEOF
37570 /* confdefs.h. */
37571 _ACEOF
37572 cat confdefs.h >>conftest.$ac_ext
37573 cat >>conftest.$ac_ext <<_ACEOF
37574 /* end confdefs.h. */
37575 $ac_includes_default
37576 #include <$ac_header>
37577 _ACEOF
37578 rm -f conftest.$ac_objext
37579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37580 (eval $ac_compile) 2>conftest.er1
37581 ac_status=$?
37582 grep -v '^ *+' conftest.er1 >conftest.err
37583 rm -f conftest.er1
37584 cat conftest.err >&5
37585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37586 (exit $ac_status); } &&
37587 { ac_try='test -z "$ac_c_werror_flag"
37588 || test ! -s conftest.err'
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); }; } &&
37594 { ac_try='test -s conftest.$ac_objext'
37595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37596 (eval $ac_try) 2>&5
37597 ac_status=$?
37598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37599 (exit $ac_status); }; }; then
37600 ac_header_compiler=yes
37601 else
37602 echo "$as_me: failed program was:" >&5
37603 sed 's/^/| /' conftest.$ac_ext >&5
37605 ac_header_compiler=no
37607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37609 echo "${ECHO_T}$ac_header_compiler" >&6
37611 # Is the header present?
37612 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37613 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37614 cat >conftest.$ac_ext <<_ACEOF
37615 /* confdefs.h. */
37616 _ACEOF
37617 cat confdefs.h >>conftest.$ac_ext
37618 cat >>conftest.$ac_ext <<_ACEOF
37619 /* end confdefs.h. */
37620 #include <$ac_header>
37621 _ACEOF
37622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37623 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37624 ac_status=$?
37625 grep -v '^ *+' conftest.er1 >conftest.err
37626 rm -f conftest.er1
37627 cat conftest.err >&5
37628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37629 (exit $ac_status); } >/dev/null; then
37630 if test -s conftest.err; then
37631 ac_cpp_err=$ac_c_preproc_warn_flag
37632 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37633 else
37634 ac_cpp_err=
37636 else
37637 ac_cpp_err=yes
37639 if test -z "$ac_cpp_err"; then
37640 ac_header_preproc=yes
37641 else
37642 echo "$as_me: failed program was:" >&5
37643 sed 's/^/| /' conftest.$ac_ext >&5
37645 ac_header_preproc=no
37647 rm -f conftest.err conftest.$ac_ext
37648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37649 echo "${ECHO_T}$ac_header_preproc" >&6
37651 # So? What about this header?
37652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37653 yes:no: )
37654 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37655 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37657 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37658 ac_header_preproc=yes
37660 no:yes:* )
37661 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37662 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37663 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37664 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37665 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37666 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37667 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37668 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37670 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37671 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37672 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37674 cat <<\_ASBOX
37675 ## ----------------------------------------- ##
37676 ## Report this to the package-unused lists. ##
37677 ## ----------------------------------------- ##
37678 _ASBOX
37680 sed "s/^/$as_me: WARNING: /" >&2
37682 esac
37683 echo "$as_me:$LINENO: checking for $ac_header" >&5
37684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37686 echo $ECHO_N "(cached) $ECHO_C" >&6
37687 else
37688 eval "$as_ac_Header=\$ac_header_preproc"
37690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37695 cat >>confdefs.h <<_ACEOF
37696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37697 _ACEOF
37701 done
37704 echo "$as_me:$LINENO: checking for poll" >&5
37705 echo $ECHO_N "checking for poll... $ECHO_C" >&6
37706 if test "${glibcxx_cv_POLL+set}" = set; then
37707 echo $ECHO_N "(cached) $ECHO_C" >&6
37708 else
37710 if test x$gcc_no_link = xyes; then
37711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37713 { (exit 1); exit 1; }; }
37715 cat >conftest.$ac_ext <<_ACEOF
37716 /* confdefs.h. */
37717 _ACEOF
37718 cat confdefs.h >>conftest.$ac_ext
37719 cat >>conftest.$ac_ext <<_ACEOF
37720 /* end confdefs.h. */
37721 #include <poll.h>
37723 main ()
37725 struct pollfd pfd[1];
37726 pfd[0].events = POLLIN;
37727 poll(pfd, 1, 0);
37729 return 0;
37731 _ACEOF
37732 rm -f conftest.$ac_objext conftest$ac_exeext
37733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37734 (eval $ac_link) 2>conftest.er1
37735 ac_status=$?
37736 grep -v '^ *+' conftest.er1 >conftest.err
37737 rm -f conftest.er1
37738 cat conftest.err >&5
37739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37740 (exit $ac_status); } &&
37741 { ac_try='test -z "$ac_c_werror_flag"
37742 || test ! -s conftest.err'
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); }; } &&
37748 { ac_try='test -s conftest$ac_exeext'
37749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37750 (eval $ac_try) 2>&5
37751 ac_status=$?
37752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37753 (exit $ac_status); }; }; then
37754 glibcxx_cv_POLL=yes
37755 else
37756 echo "$as_me: failed program was:" >&5
37757 sed 's/^/| /' conftest.$ac_ext >&5
37759 glibcxx_cv_POLL=no
37761 rm -f conftest.err conftest.$ac_objext \
37762 conftest$ac_exeext conftest.$ac_ext
37766 if test $glibcxx_cv_POLL = yes; then
37768 cat >>confdefs.h <<\_ACEOF
37769 #define HAVE_POLL 1
37770 _ACEOF
37773 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
37774 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
37777 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
37778 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
37779 if test "${glibcxx_cv_S_ISREG+set}" = set; then
37780 echo $ECHO_N "(cached) $ECHO_C" >&6
37781 else
37783 if test x$gcc_no_link = xyes; then
37784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37786 { (exit 1); exit 1; }; }
37788 cat >conftest.$ac_ext <<_ACEOF
37789 /* confdefs.h. */
37790 _ACEOF
37791 cat confdefs.h >>conftest.$ac_ext
37792 cat >>conftest.$ac_ext <<_ACEOF
37793 /* end confdefs.h. */
37794 #include <sys/stat.h>
37796 main ()
37798 struct stat buffer;
37799 fstat(0, &buffer);
37800 S_ISREG(buffer.st_mode);
37802 return 0;
37804 _ACEOF
37805 rm -f conftest.$ac_objext conftest$ac_exeext
37806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37807 (eval $ac_link) 2>conftest.er1
37808 ac_status=$?
37809 grep -v '^ *+' conftest.er1 >conftest.err
37810 rm -f conftest.er1
37811 cat conftest.err >&5
37812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37813 (exit $ac_status); } &&
37814 { ac_try='test -z "$ac_c_werror_flag"
37815 || test ! -s conftest.err'
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); }; } &&
37821 { ac_try='test -s conftest$ac_exeext'
37822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37823 (eval $ac_try) 2>&5
37824 ac_status=$?
37825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37826 (exit $ac_status); }; }; then
37827 glibcxx_cv_S_ISREG=yes
37828 else
37829 echo "$as_me: failed program was:" >&5
37830 sed 's/^/| /' conftest.$ac_ext >&5
37832 glibcxx_cv_S_ISREG=no
37834 rm -f conftest.err conftest.$ac_objext \
37835 conftest$ac_exeext conftest.$ac_ext
37839 if test "${glibcxx_cv_S_IFREG+set}" = set; then
37840 echo $ECHO_N "(cached) $ECHO_C" >&6
37841 else
37843 if test x$gcc_no_link = xyes; then
37844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37846 { (exit 1); exit 1; }; }
37848 cat >conftest.$ac_ext <<_ACEOF
37849 /* confdefs.h. */
37850 _ACEOF
37851 cat confdefs.h >>conftest.$ac_ext
37852 cat >>conftest.$ac_ext <<_ACEOF
37853 /* end confdefs.h. */
37854 #include <sys/stat.h>
37856 main ()
37858 struct stat buffer;
37859 fstat(0, &buffer);
37860 S_IFREG & buffer.st_mode;
37862 return 0;
37864 _ACEOF
37865 rm -f conftest.$ac_objext conftest$ac_exeext
37866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37867 (eval $ac_link) 2>conftest.er1
37868 ac_status=$?
37869 grep -v '^ *+' conftest.er1 >conftest.err
37870 rm -f conftest.er1
37871 cat conftest.err >&5
37872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37873 (exit $ac_status); } &&
37874 { ac_try='test -z "$ac_c_werror_flag"
37875 || test ! -s conftest.err'
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); }; } &&
37881 { ac_try='test -s conftest$ac_exeext'
37882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37883 (eval $ac_try) 2>&5
37884 ac_status=$?
37885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37886 (exit $ac_status); }; }; then
37887 glibcxx_cv_S_IFREG=yes
37888 else
37889 echo "$as_me: failed program was:" >&5
37890 sed 's/^/| /' conftest.$ac_ext >&5
37892 glibcxx_cv_S_IFREG=no
37894 rm -f conftest.err conftest.$ac_objext \
37895 conftest$ac_exeext conftest.$ac_ext
37899 res=no
37900 if test $glibcxx_cv_S_ISREG = yes; then
37902 cat >>confdefs.h <<\_ACEOF
37903 #define HAVE_S_ISREG 1
37904 _ACEOF
37906 res=S_ISREG
37907 elif test $glibcxx_cv_S_IFREG = yes; then
37909 cat >>confdefs.h <<\_ACEOF
37910 #define HAVE_S_IFREG 1
37911 _ACEOF
37913 res=S_IFREG
37915 echo "$as_me:$LINENO: result: $res" >&5
37916 echo "${ECHO_T}$res" >&6
37919 # For xsputn_2().
37921 for ac_header in sys/uio.h
37923 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37925 echo "$as_me:$LINENO: checking for $ac_header" >&5
37926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37928 echo $ECHO_N "(cached) $ECHO_C" >&6
37930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37931 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37932 else
37933 # Is the header compilable?
37934 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37935 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37936 cat >conftest.$ac_ext <<_ACEOF
37937 /* confdefs.h. */
37938 _ACEOF
37939 cat confdefs.h >>conftest.$ac_ext
37940 cat >>conftest.$ac_ext <<_ACEOF
37941 /* end confdefs.h. */
37942 $ac_includes_default
37943 #include <$ac_header>
37944 _ACEOF
37945 rm -f conftest.$ac_objext
37946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37947 (eval $ac_compile) 2>conftest.er1
37948 ac_status=$?
37949 grep -v '^ *+' conftest.er1 >conftest.err
37950 rm -f conftest.er1
37951 cat conftest.err >&5
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); } &&
37954 { ac_try='test -z "$ac_c_werror_flag"
37955 || test ! -s conftest.err'
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); }; } &&
37961 { ac_try='test -s conftest.$ac_objext'
37962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37963 (eval $ac_try) 2>&5
37964 ac_status=$?
37965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37966 (exit $ac_status); }; }; then
37967 ac_header_compiler=yes
37968 else
37969 echo "$as_me: failed program was:" >&5
37970 sed 's/^/| /' conftest.$ac_ext >&5
37972 ac_header_compiler=no
37974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37975 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37976 echo "${ECHO_T}$ac_header_compiler" >&6
37978 # Is the header present?
37979 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37980 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37981 cat >conftest.$ac_ext <<_ACEOF
37982 /* confdefs.h. */
37983 _ACEOF
37984 cat confdefs.h >>conftest.$ac_ext
37985 cat >>conftest.$ac_ext <<_ACEOF
37986 /* end confdefs.h. */
37987 #include <$ac_header>
37988 _ACEOF
37989 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37990 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37991 ac_status=$?
37992 grep -v '^ *+' conftest.er1 >conftest.err
37993 rm -f conftest.er1
37994 cat conftest.err >&5
37995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37996 (exit $ac_status); } >/dev/null; then
37997 if test -s conftest.err; then
37998 ac_cpp_err=$ac_c_preproc_warn_flag
37999 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38000 else
38001 ac_cpp_err=
38003 else
38004 ac_cpp_err=yes
38006 if test -z "$ac_cpp_err"; then
38007 ac_header_preproc=yes
38008 else
38009 echo "$as_me: failed program was:" >&5
38010 sed 's/^/| /' conftest.$ac_ext >&5
38012 ac_header_preproc=no
38014 rm -f conftest.err conftest.$ac_ext
38015 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38016 echo "${ECHO_T}$ac_header_preproc" >&6
38018 # So? What about this header?
38019 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38020 yes:no: )
38021 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38022 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38024 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38025 ac_header_preproc=yes
38027 no:yes:* )
38028 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38029 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38030 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38031 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38032 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38033 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38034 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38035 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38036 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38037 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38038 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38039 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38041 cat <<\_ASBOX
38042 ## ----------------------------------------- ##
38043 ## Report this to the package-unused lists. ##
38044 ## ----------------------------------------- ##
38045 _ASBOX
38047 sed "s/^/$as_me: WARNING: /" >&2
38049 esac
38050 echo "$as_me:$LINENO: checking for $ac_header" >&5
38051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38053 echo $ECHO_N "(cached) $ECHO_C" >&6
38054 else
38055 eval "$as_ac_Header=\$ac_header_preproc"
38057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38058 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38061 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38062 cat >>confdefs.h <<_ACEOF
38063 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38064 _ACEOF
38068 done
38071 echo "$as_me:$LINENO: checking for writev" >&5
38072 echo $ECHO_N "checking for writev... $ECHO_C" >&6
38073 if test "${glibcxx_cv_WRITEV+set}" = set; then
38074 echo $ECHO_N "(cached) $ECHO_C" >&6
38075 else
38077 if test x$gcc_no_link = xyes; then
38078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38080 { (exit 1); exit 1; }; }
38082 cat >conftest.$ac_ext <<_ACEOF
38083 /* confdefs.h. */
38084 _ACEOF
38085 cat confdefs.h >>conftest.$ac_ext
38086 cat >>conftest.$ac_ext <<_ACEOF
38087 /* end confdefs.h. */
38088 #include <sys/uio.h>
38090 main ()
38092 struct iovec iov[2];
38093 writev(0, iov, 0);
38095 return 0;
38097 _ACEOF
38098 rm -f conftest.$ac_objext conftest$ac_exeext
38099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38100 (eval $ac_link) 2>conftest.er1
38101 ac_status=$?
38102 grep -v '^ *+' conftest.er1 >conftest.err
38103 rm -f conftest.er1
38104 cat conftest.err >&5
38105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38106 (exit $ac_status); } &&
38107 { ac_try='test -z "$ac_c_werror_flag"
38108 || test ! -s conftest.err'
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); }; } &&
38114 { ac_try='test -s conftest$ac_exeext'
38115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38116 (eval $ac_try) 2>&5
38117 ac_status=$?
38118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38119 (exit $ac_status); }; }; then
38120 glibcxx_cv_WRITEV=yes
38121 else
38122 echo "$as_me: failed program was:" >&5
38123 sed 's/^/| /' conftest.$ac_ext >&5
38125 glibcxx_cv_WRITEV=no
38127 rm -f conftest.err conftest.$ac_objext \
38128 conftest$ac_exeext conftest.$ac_ext
38132 if test $glibcxx_cv_WRITEV = yes; then
38134 cat >>confdefs.h <<\_ACEOF
38135 #define HAVE_WRITEV 1
38136 _ACEOF
38139 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
38140 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
38143 # For the __streamoff_base_type typedef.
38145 echo "$as_me:$LINENO: checking for int64_t" >&5
38146 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
38147 if test "${glibcxx_cv_INT64_T+set}" = set; then
38148 echo $ECHO_N "(cached) $ECHO_C" >&6
38149 else
38151 cat >conftest.$ac_ext <<_ACEOF
38152 /* confdefs.h. */
38153 _ACEOF
38154 cat confdefs.h >>conftest.$ac_ext
38155 cat >>conftest.$ac_ext <<_ACEOF
38156 /* end confdefs.h. */
38157 #include <stdint.h>
38159 main ()
38161 int64_t var;
38163 return 0;
38165 _ACEOF
38166 rm -f conftest.$ac_objext
38167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38168 (eval $ac_compile) 2>conftest.er1
38169 ac_status=$?
38170 grep -v '^ *+' conftest.er1 >conftest.err
38171 rm -f conftest.er1
38172 cat conftest.err >&5
38173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38174 (exit $ac_status); } &&
38175 { ac_try='test -z "$ac_c_werror_flag"
38176 || test ! -s conftest.err'
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); }; } &&
38182 { ac_try='test -s conftest.$ac_objext'
38183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38184 (eval $ac_try) 2>&5
38185 ac_status=$?
38186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38187 (exit $ac_status); }; }; then
38188 glibcxx_cv_INT64_T=yes
38189 else
38190 echo "$as_me: failed program was:" >&5
38191 sed 's/^/| /' conftest.$ac_ext >&5
38193 glibcxx_cv_INT64_T=no
38195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38199 if test $glibcxx_cv_INT64_T = yes; then
38201 cat >>confdefs.h <<\_ACEOF
38202 #define HAVE_INT64_T 1
38203 _ACEOF
38206 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
38207 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
38210 # For LFS support.
38214 ac_ext=cc
38215 ac_cpp='$CXXCPP $CPPFLAGS'
38216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38220 ac_save_CXXFLAGS="$CXXFLAGS"
38221 CXXFLAGS="$CXXFLAGS -fno-exceptions"
38222 echo "$as_me:$LINENO: checking for LFS support" >&5
38223 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
38224 if test "${glibcxx_cv_LFS+set}" = set; then
38225 echo $ECHO_N "(cached) $ECHO_C" >&6
38226 else
38228 if test x$gcc_no_link = xyes; then
38229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38231 { (exit 1); exit 1; }; }
38233 cat >conftest.$ac_ext <<_ACEOF
38234 /* confdefs.h. */
38235 _ACEOF
38236 cat confdefs.h >>conftest.$ac_ext
38237 cat >>conftest.$ac_ext <<_ACEOF
38238 /* end confdefs.h. */
38239 #include <unistd.h>
38240 #include <stdio.h>
38241 #include <sys/stat.h>
38244 main ()
38246 FILE* fp;
38247 fopen64("t", "w");
38248 fseeko64(fp, 0, SEEK_CUR);
38249 ftello64(fp);
38250 lseek64(1, 0, SEEK_CUR);
38251 struct stat64 buf;
38252 fstat64(1, &buf);
38254 return 0;
38256 _ACEOF
38257 rm -f conftest.$ac_objext conftest$ac_exeext
38258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38259 (eval $ac_link) 2>conftest.er1
38260 ac_status=$?
38261 grep -v '^ *+' conftest.er1 >conftest.err
38262 rm -f conftest.er1
38263 cat conftest.err >&5
38264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38265 (exit $ac_status); } &&
38266 { ac_try='test -z "$ac_cxx_werror_flag"
38267 || test ! -s conftest.err'
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); }; } &&
38273 { ac_try='test -s conftest$ac_exeext'
38274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38275 (eval $ac_try) 2>&5
38276 ac_status=$?
38277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38278 (exit $ac_status); }; }; then
38279 glibcxx_cv_LFS=yes
38280 else
38281 echo "$as_me: failed program was:" >&5
38282 sed 's/^/| /' conftest.$ac_ext >&5
38284 glibcxx_cv_LFS=no
38286 rm -f conftest.err conftest.$ac_objext \
38287 conftest$ac_exeext conftest.$ac_ext
38291 if test $glibcxx_cv_LFS = yes; then
38293 cat >>confdefs.h <<\_ACEOF
38294 #define _GLIBCXX_USE_LFS 1
38295 _ACEOF
38298 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
38299 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
38300 CXXFLAGS="$ac_save_CXXFLAGS"
38301 ac_ext=c
38302 ac_cpp='$CPP $CPPFLAGS'
38303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38309 # For C99 support to TR1.
38314 ac_ext=cc
38315 ac_cpp='$CXXCPP $CPPFLAGS'
38316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38321 # Check for the existence of <complex.h> complex math functions used
38322 # by tr1/complex.
38324 for ac_header in complex.h
38326 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38328 echo "$as_me:$LINENO: checking for $ac_header" >&5
38329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38331 echo $ECHO_N "(cached) $ECHO_C" >&6
38333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38335 else
38336 # Is the header compilable?
38337 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38338 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38339 cat >conftest.$ac_ext <<_ACEOF
38340 /* confdefs.h. */
38341 _ACEOF
38342 cat confdefs.h >>conftest.$ac_ext
38343 cat >>conftest.$ac_ext <<_ACEOF
38344 /* end confdefs.h. */
38345 $ac_includes_default
38346 #include <$ac_header>
38347 _ACEOF
38348 rm -f conftest.$ac_objext
38349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38350 (eval $ac_compile) 2>conftest.er1
38351 ac_status=$?
38352 grep -v '^ *+' conftest.er1 >conftest.err
38353 rm -f conftest.er1
38354 cat conftest.err >&5
38355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38356 (exit $ac_status); } &&
38357 { ac_try='test -z "$ac_cxx_werror_flag"
38358 || test ! -s conftest.err'
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); }; } &&
38364 { ac_try='test -s conftest.$ac_objext'
38365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38366 (eval $ac_try) 2>&5
38367 ac_status=$?
38368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38369 (exit $ac_status); }; }; then
38370 ac_header_compiler=yes
38371 else
38372 echo "$as_me: failed program was:" >&5
38373 sed 's/^/| /' conftest.$ac_ext >&5
38375 ac_header_compiler=no
38377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38378 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38379 echo "${ECHO_T}$ac_header_compiler" >&6
38381 # Is the header present?
38382 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38383 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38384 cat >conftest.$ac_ext <<_ACEOF
38385 /* confdefs.h. */
38386 _ACEOF
38387 cat confdefs.h >>conftest.$ac_ext
38388 cat >>conftest.$ac_ext <<_ACEOF
38389 /* end confdefs.h. */
38390 #include <$ac_header>
38391 _ACEOF
38392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38394 ac_status=$?
38395 grep -v '^ *+' conftest.er1 >conftest.err
38396 rm -f conftest.er1
38397 cat conftest.err >&5
38398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38399 (exit $ac_status); } >/dev/null; then
38400 if test -s conftest.err; then
38401 ac_cpp_err=$ac_cxx_preproc_warn_flag
38402 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38403 else
38404 ac_cpp_err=
38406 else
38407 ac_cpp_err=yes
38409 if test -z "$ac_cpp_err"; then
38410 ac_header_preproc=yes
38411 else
38412 echo "$as_me: failed program was:" >&5
38413 sed 's/^/| /' conftest.$ac_ext >&5
38415 ac_header_preproc=no
38417 rm -f conftest.err conftest.$ac_ext
38418 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38419 echo "${ECHO_T}$ac_header_preproc" >&6
38421 # So? What about this header?
38422 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38423 yes:no: )
38424 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38425 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38426 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38427 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38428 ac_header_preproc=yes
38430 no:yes:* )
38431 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38432 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38433 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38434 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38435 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38436 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38437 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38438 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38439 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38440 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38441 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38442 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38444 cat <<\_ASBOX
38445 ## ----------------------------------------- ##
38446 ## Report this to the package-unused lists. ##
38447 ## ----------------------------------------- ##
38448 _ASBOX
38450 sed "s/^/$as_me: WARNING: /" >&2
38452 esac
38453 echo "$as_me:$LINENO: checking for $ac_header" >&5
38454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38456 echo $ECHO_N "(cached) $ECHO_C" >&6
38457 else
38458 eval "$as_ac_Header=\$ac_header_preproc"
38460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38465 cat >>confdefs.h <<_ACEOF
38466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38467 _ACEOF
38468 ac_has_complex_h=yes
38469 else
38470 ac_has_complex_h=no
38473 done
38475 ac_c99_complex_tr1=no;
38476 if test x"$ac_has_complex_h" = x"yes"; then
38477 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
38478 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
38479 cat >conftest.$ac_ext <<_ACEOF
38480 /* confdefs.h. */
38481 _ACEOF
38482 cat confdefs.h >>conftest.$ac_ext
38483 cat >>conftest.$ac_ext <<_ACEOF
38484 /* end confdefs.h. */
38485 #include <complex.h>
38487 main ()
38489 typedef __complex__ float float_type; float_type tmpf;
38490 cacosf(tmpf);
38491 casinf(tmpf);
38492 catanf(tmpf);
38493 cacoshf(tmpf);
38494 casinhf(tmpf);
38495 catanhf(tmpf);
38496 typedef __complex__ double double_type; double_type tmpd;
38497 cacos(tmpd);
38498 casin(tmpd);
38499 catan(tmpd);
38500 cacosh(tmpd);
38501 casinh(tmpd);
38502 catanh(tmpd);
38503 typedef __complex__ long double ld_type; ld_type tmpld;
38504 cacosl(tmpld);
38505 casinl(tmpld);
38506 catanl(tmpld);
38507 cacoshl(tmpld);
38508 casinhl(tmpld);
38509 catanhl(tmpld);
38512 return 0;
38514 _ACEOF
38515 rm -f conftest.$ac_objext
38516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38517 (eval $ac_compile) 2>conftest.er1
38518 ac_status=$?
38519 grep -v '^ *+' conftest.er1 >conftest.err
38520 rm -f conftest.er1
38521 cat conftest.err >&5
38522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38523 (exit $ac_status); } &&
38524 { ac_try='test -z "$ac_cxx_werror_flag"
38525 || test ! -s conftest.err'
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); }; } &&
38531 { ac_try='test -s conftest.$ac_objext'
38532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38533 (eval $ac_try) 2>&5
38534 ac_status=$?
38535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38536 (exit $ac_status); }; }; then
38537 ac_c99_complex_tr1=yes
38538 else
38539 echo "$as_me: failed program was:" >&5
38540 sed 's/^/| /' conftest.$ac_ext >&5
38542 ac_c99_complex_tr1=no
38544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38546 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
38547 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
38548 if test x"$ac_c99_complex_tr1" = x"yes"; then
38550 cat >>confdefs.h <<\_ACEOF
38551 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
38552 _ACEOF
38556 # Check for the existence of <ctype.h> functions.
38557 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
38558 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
38559 if test "${ac_c99_ctype_tr1+set}" = set; then
38560 echo $ECHO_N "(cached) $ECHO_C" >&6
38561 else
38563 cat >conftest.$ac_ext <<_ACEOF
38564 /* confdefs.h. */
38565 _ACEOF
38566 cat confdefs.h >>conftest.$ac_ext
38567 cat >>conftest.$ac_ext <<_ACEOF
38568 /* end confdefs.h. */
38569 #include <ctype.h>
38571 main ()
38573 int ch;
38574 int ret;
38575 ret = isblank(ch);
38578 return 0;
38580 _ACEOF
38581 rm -f conftest.$ac_objext
38582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38583 (eval $ac_compile) 2>conftest.er1
38584 ac_status=$?
38585 grep -v '^ *+' conftest.er1 >conftest.err
38586 rm -f conftest.er1
38587 cat conftest.err >&5
38588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38589 (exit $ac_status); } &&
38590 { ac_try='test -z "$ac_cxx_werror_flag"
38591 || test ! -s conftest.err'
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); }; } &&
38597 { ac_try='test -s conftest.$ac_objext'
38598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38599 (eval $ac_try) 2>&5
38600 ac_status=$?
38601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38602 (exit $ac_status); }; }; then
38603 ac_c99_ctype_tr1=yes
38604 else
38605 echo "$as_me: failed program was:" >&5
38606 sed 's/^/| /' conftest.$ac_ext >&5
38608 ac_c99_ctype_tr1=no
38610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38614 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
38615 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
38616 if test x"$ac_c99_ctype_tr1" = x"yes"; then
38618 cat >>confdefs.h <<\_ACEOF
38619 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
38620 _ACEOF
38624 # Check for the existence of <fenv.h> functions.
38626 for ac_header in fenv.h
38628 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38630 echo "$as_me:$LINENO: checking for $ac_header" >&5
38631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38633 echo $ECHO_N "(cached) $ECHO_C" >&6
38635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38637 else
38638 # Is the header compilable?
38639 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38640 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38641 cat >conftest.$ac_ext <<_ACEOF
38642 /* confdefs.h. */
38643 _ACEOF
38644 cat confdefs.h >>conftest.$ac_ext
38645 cat >>conftest.$ac_ext <<_ACEOF
38646 /* end confdefs.h. */
38647 $ac_includes_default
38648 #include <$ac_header>
38649 _ACEOF
38650 rm -f conftest.$ac_objext
38651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38652 (eval $ac_compile) 2>conftest.er1
38653 ac_status=$?
38654 grep -v '^ *+' conftest.er1 >conftest.err
38655 rm -f conftest.er1
38656 cat conftest.err >&5
38657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38658 (exit $ac_status); } &&
38659 { ac_try='test -z "$ac_cxx_werror_flag"
38660 || test ! -s conftest.err'
38661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38662 (eval $ac_try) 2>&5
38663 ac_status=$?
38664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38665 (exit $ac_status); }; } &&
38666 { ac_try='test -s conftest.$ac_objext'
38667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38668 (eval $ac_try) 2>&5
38669 ac_status=$?
38670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38671 (exit $ac_status); }; }; then
38672 ac_header_compiler=yes
38673 else
38674 echo "$as_me: failed program was:" >&5
38675 sed 's/^/| /' conftest.$ac_ext >&5
38677 ac_header_compiler=no
38679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38680 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38681 echo "${ECHO_T}$ac_header_compiler" >&6
38683 # Is the header present?
38684 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38685 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38686 cat >conftest.$ac_ext <<_ACEOF
38687 /* confdefs.h. */
38688 _ACEOF
38689 cat confdefs.h >>conftest.$ac_ext
38690 cat >>conftest.$ac_ext <<_ACEOF
38691 /* end confdefs.h. */
38692 #include <$ac_header>
38693 _ACEOF
38694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38695 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38696 ac_status=$?
38697 grep -v '^ *+' conftest.er1 >conftest.err
38698 rm -f conftest.er1
38699 cat conftest.err >&5
38700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38701 (exit $ac_status); } >/dev/null; then
38702 if test -s conftest.err; then
38703 ac_cpp_err=$ac_cxx_preproc_warn_flag
38704 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38705 else
38706 ac_cpp_err=
38708 else
38709 ac_cpp_err=yes
38711 if test -z "$ac_cpp_err"; then
38712 ac_header_preproc=yes
38713 else
38714 echo "$as_me: failed program was:" >&5
38715 sed 's/^/| /' conftest.$ac_ext >&5
38717 ac_header_preproc=no
38719 rm -f conftest.err conftest.$ac_ext
38720 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38721 echo "${ECHO_T}$ac_header_preproc" >&6
38723 # So? What about this header?
38724 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38725 yes:no: )
38726 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38727 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38729 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38730 ac_header_preproc=yes
38732 no:yes:* )
38733 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38734 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38735 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38736 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38737 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38738 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38739 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38740 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38742 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38743 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38744 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38746 cat <<\_ASBOX
38747 ## ----------------------------------------- ##
38748 ## Report this to the package-unused lists. ##
38749 ## ----------------------------------------- ##
38750 _ASBOX
38752 sed "s/^/$as_me: WARNING: /" >&2
38754 esac
38755 echo "$as_me:$LINENO: checking for $ac_header" >&5
38756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38758 echo $ECHO_N "(cached) $ECHO_C" >&6
38759 else
38760 eval "$as_ac_Header=\$ac_header_preproc"
38762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38767 cat >>confdefs.h <<_ACEOF
38768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38769 _ACEOF
38770 ac_has_fenv_h=yes
38771 else
38772 ac_has_fenv_h=no
38775 done
38777 ac_c99_fenv_tr1=no;
38778 if test x"$ac_has_fenv_h" = x"yes"; then
38779 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
38780 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
38781 cat >conftest.$ac_ext <<_ACEOF
38782 /* confdefs.h. */
38783 _ACEOF
38784 cat confdefs.h >>conftest.$ac_ext
38785 cat >>conftest.$ac_ext <<_ACEOF
38786 /* end confdefs.h. */
38787 #include <fenv.h>
38789 main ()
38791 int except, mode;
38792 fexcept_t* pflag;
38793 fenv_t* penv;
38794 int ret;
38795 ret = feclearexcept(except);
38796 ret = fegetexceptflag(pflag, except);
38797 ret = feraiseexcept(except);
38798 ret = fesetexceptflag(pflag, except);
38799 ret = fetestexcept(except);
38800 ret = fegetround();
38801 ret = fesetround(mode);
38802 ret = fegetenv(penv);
38803 ret = feholdexcept(penv);
38804 ret = fesetenv(penv);
38805 ret = feupdateenv(penv);
38808 return 0;
38810 _ACEOF
38811 rm -f conftest.$ac_objext
38812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38813 (eval $ac_compile) 2>conftest.er1
38814 ac_status=$?
38815 grep -v '^ *+' conftest.er1 >conftest.err
38816 rm -f conftest.er1
38817 cat conftest.err >&5
38818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38819 (exit $ac_status); } &&
38820 { ac_try='test -z "$ac_cxx_werror_flag"
38821 || test ! -s conftest.err'
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); }; } &&
38827 { ac_try='test -s conftest.$ac_objext'
38828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38829 (eval $ac_try) 2>&5
38830 ac_status=$?
38831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38832 (exit $ac_status); }; }; then
38833 ac_c99_fenv_tr1=yes
38834 else
38835 echo "$as_me: failed program was:" >&5
38836 sed 's/^/| /' conftest.$ac_ext >&5
38838 ac_c99_fenv_tr1=no
38840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38842 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
38843 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
38844 if test x"$ac_c99_fenv_tr1" = x"yes"; then
38846 cat >>confdefs.h <<\_ACEOF
38847 #define _GLIBCXX_USE_C99_FENV_TR1 1
38848 _ACEOF
38852 # Check for the existence of <stdint.h> types.
38853 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
38854 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
38855 if test "${ac_c99_stdint_tr1+set}" = set; then
38856 echo $ECHO_N "(cached) $ECHO_C" >&6
38857 else
38859 cat >conftest.$ac_ext <<_ACEOF
38860 /* confdefs.h. */
38861 _ACEOF
38862 cat confdefs.h >>conftest.$ac_ext
38863 cat >>conftest.$ac_ext <<_ACEOF
38864 /* end confdefs.h. */
38865 #include <stdint.h>
38867 main ()
38869 typedef int8_t my_int8_t;
38870 typedef int16_t my_int16_t;
38871 typedef int32_t my_int32_t;
38872 typedef int64_t my_int64_t;
38873 typedef int_fast8_t my_int_fast8_t;
38874 typedef int_fast16_t my_int_fast16_t;
38875 typedef int_fast32_t my_int_fast32_t;
38876 typedef int_fast64_t my_int_fast64_t;
38877 typedef int_least8_t my_int_least8_t;
38878 typedef int_least16_t my_int_least16_t;
38879 typedef int_least32_t my_int_least32_t;
38880 typedef int_least64_t my_int_least64_t;
38881 typedef intmax_t my_intmax_t;
38882 typedef intptr_t my_intptr_t;
38883 typedef uint8_t my_uint8_t;
38884 typedef uint16_t my_uint16_t;
38885 typedef uint32_t my_uint32_t;
38886 typedef uint64_t my_uint64_t;
38887 typedef uint_fast8_t my_uint_fast8_t;
38888 typedef uint_fast16_t my_uint_fast16_t;
38889 typedef uint_fast32_t my_uint_fast32_t;
38890 typedef uint_fast64_t my_uint_fast64_t;
38891 typedef uint_least8_t my_uint_least8_t;
38892 typedef uint_least16_t my_uint_least16_t;
38893 typedef uint_least32_t my_uint_least32_t;
38894 typedef uint_least64_t my_uint_least64_t;
38895 typedef uintmax_t my_uintmax_t;
38896 typedef uintptr_t my_uintptr_t;
38899 return 0;
38901 _ACEOF
38902 rm -f conftest.$ac_objext
38903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38904 (eval $ac_compile) 2>conftest.er1
38905 ac_status=$?
38906 grep -v '^ *+' conftest.er1 >conftest.err
38907 rm -f conftest.er1
38908 cat conftest.err >&5
38909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38910 (exit $ac_status); } &&
38911 { ac_try='test -z "$ac_cxx_werror_flag"
38912 || test ! -s conftest.err'
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); }; } &&
38918 { ac_try='test -s conftest.$ac_objext'
38919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38920 (eval $ac_try) 2>&5
38921 ac_status=$?
38922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38923 (exit $ac_status); }; }; then
38924 ac_c99_stdint_tr1=yes
38925 else
38926 echo "$as_me: failed program was:" >&5
38927 sed 's/^/| /' conftest.$ac_ext >&5
38929 ac_c99_stdint_tr1=no
38931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38935 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
38936 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
38937 if test x"$ac_c99_stdint_tr1" = x"yes"; then
38939 cat >>confdefs.h <<\_ACEOF
38940 #define _GLIBCXX_USE_C99_STDINT_TR1 1
38941 _ACEOF
38945 # Check for the existence of <math.h> functions.
38946 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
38947 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
38948 if test "${ac_c99_math_tr1+set}" = set; then
38949 echo $ECHO_N "(cached) $ECHO_C" >&6
38950 else
38952 cat >conftest.$ac_ext <<_ACEOF
38953 /* confdefs.h. */
38954 _ACEOF
38955 cat confdefs.h >>conftest.$ac_ext
38956 cat >>conftest.$ac_ext <<_ACEOF
38957 /* end confdefs.h. */
38958 #include <math.h>
38960 main ()
38962 typedef double_t my_double_t;
38963 typedef float_t my_float_t;
38964 acosh(0.0);
38965 acoshf(0.0f);
38966 acoshl(0.0l);
38967 asinh(0.0);
38968 asinhf(0.0f);
38969 asinhl(0.0l);
38970 atanh(0.0);
38971 atanhf(0.0f);
38972 atanhl(0.0l);
38973 cbrt(0.0);
38974 cbrtf(0.0f);
38975 cbrtl(0.0l);
38976 copysign(0.0, 0.0);
38977 copysignf(0.0f, 0.0f);
38978 copysignl(0.0l, 0.0l);
38979 erf(0.0);
38980 erff(0.0f);
38981 erfl(0.0l);
38982 erfc(0.0);
38983 erfcf(0.0f);
38984 erfcl(0.0l);
38985 exp2(0.0);
38986 exp2f(0.0f);
38987 exp2l(0.0l);
38988 expm1(0.0);
38989 expm1f(0.0f);
38990 expm1l(0.0l);
38991 fdim(0.0, 0.0);
38992 fdimf(0.0f, 0.0f);
38993 fdiml(0.0l, 0.0l);
38994 fma(0.0, 0.0, 0.0);
38995 fmaf(0.0f, 0.0f, 0.0f);
38996 fmal(0.0l, 0.0l, 0.0l);
38997 fmax(0.0, 0.0);
38998 fmaxf(0.0f, 0.0f);
38999 fmaxl(0.0l, 0.0l);
39000 fmin(0.0, 0.0);
39001 fminf(0.0f, 0.0f);
39002 fminl(0.0l, 0.0l);
39003 hypot(0.0, 0.0);
39004 hypotf(0.0f, 0.0f);
39005 hypotl(0.0l, 0.0l);
39006 ilogb(0.0);
39007 ilogbf(0.0f);
39008 ilogbl(0.0l);
39009 lgamma(0.0);
39010 lgammaf(0.0f);
39011 lgammal(0.0l);
39012 llrint(0.0);
39013 llrintf(0.0f);
39014 llrintl(0.0l);
39015 llround(0.0);
39016 llroundf(0.0f);
39017 llroundl(0.0l);
39018 log1p(0.0);
39019 log1pf(0.0f);
39020 log1pl(0.0l);
39021 log2(0.0);
39022 log2f(0.0f);
39023 log2l(0.0l);
39024 logb(0.0);
39025 logbf(0.0f);
39026 logbl(0.0l);
39027 lrint(0.0);
39028 lrintf(0.0f);
39029 lrintl(0.0l);
39030 lround(0.0);
39031 lroundf(0.0f);
39032 lroundl(0.0l);
39033 nan(0);
39034 nanf(0);
39035 nanl(0);
39036 nearbyint(0.0);
39037 nearbyintf(0.0f);
39038 nearbyintl(0.0l);
39039 nextafter(0.0, 0.0);
39040 nextafterf(0.0f, 0.0f);
39041 nextafterl(0.0l, 0.0l);
39042 nexttoward(0.0, 0.0);
39043 nexttowardf(0.0f, 0.0f);
39044 nexttowardl(0.0l, 0.0l);
39045 remainder(0.0, 0.0);
39046 remainderf(0.0f, 0.0f);
39047 remainderl(0.0l, 0.0l);
39048 remquo(0.0, 0.0, 0);
39049 remquo(0.0f, 0.0f, 0);
39050 remquo(0.0l, 0.0l, 0);
39051 rint(0.0);
39052 rintf(0.0f);
39053 rintl(0.0l);
39054 round(0.0);
39055 roundf(0.0f);
39056 roundl(0.0l);
39057 scalbln(0.0, 0l);
39058 scalblnf(0.0f, 0l);
39059 scalblnl(0.0l, 0l);
39060 scalbn(0.0, 0);
39061 scalbnf(0.0f, 0);
39062 scalbnl(0.0l, 0);
39063 tgamma(0.0);
39064 tgammaf(0.0f);
39065 tgammal(0.0l);
39066 trunc(0.0);
39067 truncf(0.0f);
39068 truncl(0.0l);
39071 return 0;
39073 _ACEOF
39074 rm -f conftest.$ac_objext
39075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39076 (eval $ac_compile) 2>conftest.er1
39077 ac_status=$?
39078 grep -v '^ *+' conftest.er1 >conftest.err
39079 rm -f conftest.er1
39080 cat conftest.err >&5
39081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39082 (exit $ac_status); } &&
39083 { ac_try='test -z "$ac_cxx_werror_flag"
39084 || test ! -s conftest.err'
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); }; } &&
39090 { ac_try='test -s conftest.$ac_objext'
39091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39092 (eval $ac_try) 2>&5
39093 ac_status=$?
39094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39095 (exit $ac_status); }; }; then
39096 ac_c99_math_tr1=yes
39097 else
39098 echo "$as_me: failed program was:" >&5
39099 sed 's/^/| /' conftest.$ac_ext >&5
39101 ac_c99_math_tr1=no
39103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39107 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
39108 echo "${ECHO_T}$ac_c99_math_tr1" >&6
39109 if test x"$ac_c99_math_tr1" = x"yes"; then
39111 cat >>confdefs.h <<\_ACEOF
39112 #define _GLIBCXX_USE_C99_MATH_TR1 1
39113 _ACEOF
39117 # Check for the existence of <inttypes.h> functions (NB: doesn't make
39118 # sense if the previous check fails, per C99, 7.8/1).
39119 ac_c99_inttypes_tr1=no;
39120 if test x"$ac_c99_stdint_tr1" = x"yes"; then
39121 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
39122 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
39123 cat >conftest.$ac_ext <<_ACEOF
39124 /* confdefs.h. */
39125 _ACEOF
39126 cat confdefs.h >>conftest.$ac_ext
39127 cat >>conftest.$ac_ext <<_ACEOF
39128 /* end confdefs.h. */
39129 #include <inttypes.h>
39131 main ()
39133 intmax_t i, numer, denom, base;
39134 const char* s;
39135 char** endptr;
39136 intmax_t ret = imaxabs(i);
39137 imaxdiv_t dret = imaxdiv(numer, denom);
39138 ret = strtoimax(s, endptr, base);
39139 uintmax_t uret = strtoumax(s, endptr, base);
39142 return 0;
39144 _ACEOF
39145 rm -f conftest.$ac_objext
39146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39147 (eval $ac_compile) 2>conftest.er1
39148 ac_status=$?
39149 grep -v '^ *+' conftest.er1 >conftest.err
39150 rm -f conftest.er1
39151 cat conftest.err >&5
39152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39153 (exit $ac_status); } &&
39154 { ac_try='test -z "$ac_cxx_werror_flag"
39155 || test ! -s conftest.err'
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); }; } &&
39161 { ac_try='test -s conftest.$ac_objext'
39162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39163 (eval $ac_try) 2>&5
39164 ac_status=$?
39165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39166 (exit $ac_status); }; }; then
39167 ac_c99_inttypes_tr1=yes
39168 else
39169 echo "$as_me: failed program was:" >&5
39170 sed 's/^/| /' conftest.$ac_ext >&5
39172 ac_c99_inttypes_tr1=no
39174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39176 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
39177 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
39178 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
39180 cat >>confdefs.h <<\_ACEOF
39181 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
39182 _ACEOF
39186 # Check for the existence of the <stdbool.h> header.
39188 for ac_header in stdbool.h
39190 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39192 echo "$as_me:$LINENO: checking for $ac_header" >&5
39193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39195 echo $ECHO_N "(cached) $ECHO_C" >&6
39197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39199 else
39200 # Is the header compilable?
39201 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39203 cat >conftest.$ac_ext <<_ACEOF
39204 /* confdefs.h. */
39205 _ACEOF
39206 cat confdefs.h >>conftest.$ac_ext
39207 cat >>conftest.$ac_ext <<_ACEOF
39208 /* end confdefs.h. */
39209 $ac_includes_default
39210 #include <$ac_header>
39211 _ACEOF
39212 rm -f conftest.$ac_objext
39213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39214 (eval $ac_compile) 2>conftest.er1
39215 ac_status=$?
39216 grep -v '^ *+' conftest.er1 >conftest.err
39217 rm -f conftest.er1
39218 cat conftest.err >&5
39219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39220 (exit $ac_status); } &&
39221 { ac_try='test -z "$ac_cxx_werror_flag"
39222 || test ! -s conftest.err'
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); }; } &&
39228 { ac_try='test -s conftest.$ac_objext'
39229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39230 (eval $ac_try) 2>&5
39231 ac_status=$?
39232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39233 (exit $ac_status); }; }; then
39234 ac_header_compiler=yes
39235 else
39236 echo "$as_me: failed program was:" >&5
39237 sed 's/^/| /' conftest.$ac_ext >&5
39239 ac_header_compiler=no
39241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39242 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39243 echo "${ECHO_T}$ac_header_compiler" >&6
39245 # Is the header present?
39246 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39247 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39248 cat >conftest.$ac_ext <<_ACEOF
39249 /* confdefs.h. */
39250 _ACEOF
39251 cat confdefs.h >>conftest.$ac_ext
39252 cat >>conftest.$ac_ext <<_ACEOF
39253 /* end confdefs.h. */
39254 #include <$ac_header>
39255 _ACEOF
39256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39257 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39258 ac_status=$?
39259 grep -v '^ *+' conftest.er1 >conftest.err
39260 rm -f conftest.er1
39261 cat conftest.err >&5
39262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39263 (exit $ac_status); } >/dev/null; then
39264 if test -s conftest.err; then
39265 ac_cpp_err=$ac_cxx_preproc_warn_flag
39266 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39267 else
39268 ac_cpp_err=
39270 else
39271 ac_cpp_err=yes
39273 if test -z "$ac_cpp_err"; then
39274 ac_header_preproc=yes
39275 else
39276 echo "$as_me: failed program was:" >&5
39277 sed 's/^/| /' conftest.$ac_ext >&5
39279 ac_header_preproc=no
39281 rm -f conftest.err conftest.$ac_ext
39282 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39283 echo "${ECHO_T}$ac_header_preproc" >&6
39285 # So? What about this header?
39286 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39287 yes:no: )
39288 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39289 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39291 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39292 ac_header_preproc=yes
39294 no:yes:* )
39295 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39296 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39297 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39298 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39299 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39300 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39301 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39302 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39305 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39306 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39308 cat <<\_ASBOX
39309 ## ----------------------------------------- ##
39310 ## Report this to the package-unused lists. ##
39311 ## ----------------------------------------- ##
39312 _ASBOX
39314 sed "s/^/$as_me: WARNING: /" >&2
39316 esac
39317 echo "$as_me:$LINENO: checking for $ac_header" >&5
39318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39320 echo $ECHO_N "(cached) $ECHO_C" >&6
39321 else
39322 eval "$as_ac_Header=\$ac_header_preproc"
39324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39328 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39329 cat >>confdefs.h <<_ACEOF
39330 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39331 _ACEOF
39335 done
39338 ac_ext=c
39339 ac_cpp='$CPP $CPPFLAGS'
39340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39346 # For dev/random and dev/urandom for TR1.
39349 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
39350 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
39351 if test "${ac_random_tr1+set}" = set; then
39352 echo $ECHO_N "(cached) $ECHO_C" >&6
39353 else
39355 if test "$cross_compiling" = yes; then
39356 ac_random_tr1=no
39357 else
39358 cat >conftest.$ac_ext <<_ACEOF
39359 /* confdefs.h. */
39360 _ACEOF
39361 cat confdefs.h >>conftest.$ac_ext
39362 cat >>conftest.$ac_ext <<_ACEOF
39363 /* end confdefs.h. */
39364 #include <stdio.h>
39365 int main()
39367 return !(fopen("/dev/random", "r")
39368 && fopen("/dev/urandom", "r"));
39371 _ACEOF
39372 rm -f conftest$ac_exeext
39373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39374 (eval $ac_link) 2>&5
39375 ac_status=$?
39376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39377 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39379 (eval $ac_try) 2>&5
39380 ac_status=$?
39381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39382 (exit $ac_status); }; }; then
39383 ac_random_tr1=yes
39384 else
39385 echo "$as_me: program exited with status $ac_status" >&5
39386 echo "$as_me: failed program was:" >&5
39387 sed 's/^/| /' conftest.$ac_ext >&5
39389 ( exit $ac_status )
39390 ac_random_tr1=no
39392 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39397 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
39398 echo "${ECHO_T}$ac_random_tr1" >&6
39399 if test x"$ac_random_tr1" = x"yes"; then
39401 cat >>confdefs.h <<\_ACEOF
39402 #define _GLIBCXX_USE_RANDOM_TR1 1
39403 _ACEOF
39409 # For TLS support.
39411 # Check whether --enable-tls or --disable-tls was given.
39412 if test "${enable_tls+set}" = set; then
39413 enableval="$enable_tls"
39415 case "$enableval" in
39416 yes|no) ;;
39417 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
39418 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
39419 { (exit 1); exit 1; }; } ;;
39420 esac
39422 else
39423 enable_tls=yes
39426 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
39427 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
39428 if test "${have_tls+set}" = set; then
39429 echo $ECHO_N "(cached) $ECHO_C" >&6
39430 else
39432 if test "$cross_compiling" = yes; then
39433 if test x$gcc_no_link = xyes; then
39434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39436 { (exit 1); exit 1; }; }
39438 cat >conftest.$ac_ext <<_ACEOF
39439 __thread int a; int b; int main() { return a = b; }
39440 _ACEOF
39441 rm -f conftest.$ac_objext conftest$ac_exeext
39442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39443 (eval $ac_link) 2>conftest.er1
39444 ac_status=$?
39445 grep -v '^ *+' conftest.er1 >conftest.err
39446 rm -f conftest.er1
39447 cat conftest.err >&5
39448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39449 (exit $ac_status); } &&
39450 { ac_try='test -z "$ac_c_werror_flag"
39451 || test ! -s conftest.err'
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); }; } &&
39457 { ac_try='test -s conftest$ac_exeext'
39458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39459 (eval $ac_try) 2>&5
39460 ac_status=$?
39461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39462 (exit $ac_status); }; }; then
39463 have_tls=yes
39464 else
39465 echo "$as_me: failed program was:" >&5
39466 sed 's/^/| /' conftest.$ac_ext >&5
39468 have_tls=no
39470 rm -f conftest.err conftest.$ac_objext \
39471 conftest$ac_exeext conftest.$ac_ext
39474 else
39475 cat >conftest.$ac_ext <<_ACEOF
39476 __thread int a; int b; int main() { return a = b; }
39477 _ACEOF
39478 rm -f conftest$ac_exeext
39479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39480 (eval $ac_link) 2>&5
39481 ac_status=$?
39482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39483 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39485 (eval $ac_try) 2>&5
39486 ac_status=$?
39487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39488 (exit $ac_status); }; }; then
39489 chktls_save_LDFLAGS="$LDFLAGS"
39490 LDFLAGS="-static $LDFLAGS"
39491 if test x$gcc_no_link = xyes; then
39492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39494 { (exit 1); exit 1; }; }
39496 cat >conftest.$ac_ext <<_ACEOF
39497 int main() { return 0; }
39498 _ACEOF
39499 rm -f conftest.$ac_objext conftest$ac_exeext
39500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39501 (eval $ac_link) 2>conftest.er1
39502 ac_status=$?
39503 grep -v '^ *+' conftest.er1 >conftest.err
39504 rm -f conftest.er1
39505 cat conftest.err >&5
39506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39507 (exit $ac_status); } &&
39508 { ac_try='test -z "$ac_c_werror_flag"
39509 || test ! -s conftest.err'
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); }; } &&
39515 { ac_try='test -s conftest$ac_exeext'
39516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39517 (eval $ac_try) 2>&5
39518 ac_status=$?
39519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39520 (exit $ac_status); }; }; then
39521 if test "$cross_compiling" = yes; then
39522 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
39523 See \`config.log' for more details." >&5
39524 echo "$as_me: error: cannot run test program while cross compiling
39525 See \`config.log' for more details." >&2;}
39526 { (exit 1); exit 1; }; }
39527 else
39528 cat >conftest.$ac_ext <<_ACEOF
39529 __thread int a; int b; int main() { return a = b; }
39530 _ACEOF
39531 rm -f conftest$ac_exeext
39532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39533 (eval $ac_link) 2>&5
39534 ac_status=$?
39535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39536 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39538 (eval $ac_try) 2>&5
39539 ac_status=$?
39540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39541 (exit $ac_status); }; }; then
39542 have_tls=yes
39543 else
39544 echo "$as_me: program exited with status $ac_status" >&5
39545 echo "$as_me: failed program was:" >&5
39546 sed 's/^/| /' conftest.$ac_ext >&5
39548 ( exit $ac_status )
39549 have_tls=no
39551 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39553 else
39554 echo "$as_me: failed program was:" >&5
39555 sed 's/^/| /' conftest.$ac_ext >&5
39557 have_tls=yes
39559 rm -f conftest.err conftest.$ac_objext \
39560 conftest$ac_exeext conftest.$ac_ext
39561 LDFLAGS="$chktls_save_LDFLAGS"
39562 if test $have_tls = yes; then
39563 chktls_save_CFLAGS="$CFLAGS"
39564 thread_CFLAGS=failed
39565 for flag in '' '-pthread' '-lpthread'; do
39566 CFLAGS="$flag $chktls_save_CFLAGS"
39567 if test x$gcc_no_link = xyes; then
39568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39570 { (exit 1); exit 1; }; }
39572 cat >conftest.$ac_ext <<_ACEOF
39573 /* confdefs.h. */
39574 _ACEOF
39575 cat confdefs.h >>conftest.$ac_ext
39576 cat >>conftest.$ac_ext <<_ACEOF
39577 /* end confdefs.h. */
39578 #include <pthread.h>
39579 void *g(void *d) { return NULL; }
39581 main ()
39583 pthread_t t; pthread_create(&t,NULL,g,NULL);
39585 return 0;
39587 _ACEOF
39588 rm -f conftest.$ac_objext conftest$ac_exeext
39589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39590 (eval $ac_link) 2>conftest.er1
39591 ac_status=$?
39592 grep -v '^ *+' conftest.er1 >conftest.err
39593 rm -f conftest.er1
39594 cat conftest.err >&5
39595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39596 (exit $ac_status); } &&
39597 { ac_try='test -z "$ac_c_werror_flag"
39598 || test ! -s conftest.err'
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); }; } &&
39604 { ac_try='test -s conftest$ac_exeext'
39605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39606 (eval $ac_try) 2>&5
39607 ac_status=$?
39608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39609 (exit $ac_status); }; }; then
39610 thread_CFLAGS="$flag"
39611 else
39612 echo "$as_me: failed program was:" >&5
39613 sed 's/^/| /' conftest.$ac_ext >&5
39616 rm -f conftest.err conftest.$ac_objext \
39617 conftest$ac_exeext conftest.$ac_ext
39618 if test "X$thread_CFLAGS" != Xfailed; then
39619 break
39621 done
39622 CFLAGS="$chktls_save_CFLAGS"
39623 if test "X$thread_CFLAGS" != Xfailed; then
39624 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
39625 if test "$cross_compiling" = yes; then
39626 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
39627 See \`config.log' for more details." >&5
39628 echo "$as_me: error: cannot run test program while cross compiling
39629 See \`config.log' for more details." >&2;}
39630 { (exit 1); exit 1; }; }
39631 else
39632 cat >conftest.$ac_ext <<_ACEOF
39633 /* confdefs.h. */
39634 _ACEOF
39635 cat confdefs.h >>conftest.$ac_ext
39636 cat >>conftest.$ac_ext <<_ACEOF
39637 /* end confdefs.h. */
39638 #include <pthread.h>
39639 __thread int a;
39640 static int *a_in_other_thread;
39641 static void *
39642 thread_func (void *arg)
39644 a_in_other_thread = &a;
39645 return (void *)0;
39648 main ()
39650 pthread_t thread;
39651 void *thread_retval;
39652 int *a_in_main_thread;
39653 if (pthread_create (&thread, (pthread_attr_t *)0,
39654 thread_func, (void *)0))
39655 return 0;
39656 a_in_main_thread = &a;
39657 if (pthread_join (thread, &thread_retval))
39658 return 0;
39659 return (a_in_other_thread == a_in_main_thread);
39661 return 0;
39663 _ACEOF
39664 rm -f conftest$ac_exeext
39665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39666 (eval $ac_link) 2>&5
39667 ac_status=$?
39668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39669 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39671 (eval $ac_try) 2>&5
39672 ac_status=$?
39673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39674 (exit $ac_status); }; }; then
39675 have_tls=yes
39676 else
39677 echo "$as_me: program exited with status $ac_status" >&5
39678 echo "$as_me: failed program was:" >&5
39679 sed 's/^/| /' conftest.$ac_ext >&5
39681 ( exit $ac_status )
39682 have_tls=no
39684 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39686 CFLAGS="$chktls_save_CFLAGS"
39689 else
39690 echo "$as_me: program exited with status $ac_status" >&5
39691 echo "$as_me: failed program was:" >&5
39692 sed 's/^/| /' conftest.$ac_ext >&5
39694 ( exit $ac_status )
39695 have_tls=no
39697 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39700 echo "$as_me:$LINENO: result: $have_tls" >&5
39701 echo "${ECHO_T}$have_tls" >&6
39702 if test "$enable_tls $have_tls" = "yes yes"; then
39704 cat >>confdefs.h <<\_ACEOF
39705 #define HAVE_TLS 1
39706 _ACEOF
39710 # For _Unwind_GetIPInfo.
39714 ac_ext=cc
39715 ac_cpp='$CXXCPP $CPPFLAGS'
39716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39720 ac_save_CXXFLAGS="$CXXFLAGS"
39721 CXXFLAGS="$CXXFLAGS -fno-exceptions"
39722 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
39723 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
39724 if test "${gcc_cv_getipinfo+set}" = set; then
39725 echo $ECHO_N "(cached) $ECHO_C" >&6
39726 else
39728 if test x$gcc_no_link = xyes; then
39729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39731 { (exit 1); exit 1; }; }
39733 cat >conftest.$ac_ext <<_ACEOF
39734 /* confdefs.h. */
39735 _ACEOF
39736 cat confdefs.h >>conftest.$ac_ext
39737 cat >>conftest.$ac_ext <<_ACEOF
39738 /* end confdefs.h. */
39739 extern "C" { extern void _Unwind_GetIPInfo(); }
39741 main ()
39743 _Unwind_GetIPInfo();
39745 return 0;
39747 _ACEOF
39748 rm -f conftest.$ac_objext conftest$ac_exeext
39749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39750 (eval $ac_link) 2>conftest.er1
39751 ac_status=$?
39752 grep -v '^ *+' conftest.er1 >conftest.err
39753 rm -f conftest.er1
39754 cat conftest.err >&5
39755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39756 (exit $ac_status); } &&
39757 { ac_try='test -z "$ac_cxx_werror_flag"
39758 || test ! -s conftest.err'
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); }; } &&
39764 { ac_try='test -s conftest$ac_exeext'
39765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39766 (eval $ac_try) 2>&5
39767 ac_status=$?
39768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39769 (exit $ac_status); }; }; then
39770 gcc_cv_getipinfo=yes
39771 else
39772 echo "$as_me: failed program was:" >&5
39773 sed 's/^/| /' conftest.$ac_ext >&5
39775 gcc_cv_getipinfo=no
39777 rm -f conftest.err conftest.$ac_objext \
39778 conftest$ac_exeext conftest.$ac_ext
39782 if test $gcc_cv_getipinfo = yes; then
39784 cat >>confdefs.h <<\_ACEOF
39785 #define HAVE_GETIPINFO 1
39786 _ACEOF
39789 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
39790 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
39791 CXXFLAGS="$ac_save_CXXFLAGS"
39792 ac_ext=c
39793 ac_cpp='$CPP $CPPFLAGS'
39794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39801 if test "${ac_cv_header_locale_h+set}" = set; then
39802 echo "$as_me:$LINENO: checking for locale.h" >&5
39803 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
39804 if test "${ac_cv_header_locale_h+set}" = set; then
39805 echo $ECHO_N "(cached) $ECHO_C" >&6
39807 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
39808 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
39809 else
39810 # Is the header compilable?
39811 echo "$as_me:$LINENO: checking locale.h usability" >&5
39812 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
39813 cat >conftest.$ac_ext <<_ACEOF
39814 /* confdefs.h. */
39815 _ACEOF
39816 cat confdefs.h >>conftest.$ac_ext
39817 cat >>conftest.$ac_ext <<_ACEOF
39818 /* end confdefs.h. */
39819 $ac_includes_default
39820 #include <locale.h>
39821 _ACEOF
39822 rm -f conftest.$ac_objext
39823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39824 (eval $ac_compile) 2>conftest.er1
39825 ac_status=$?
39826 grep -v '^ *+' conftest.er1 >conftest.err
39827 rm -f conftest.er1
39828 cat conftest.err >&5
39829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39830 (exit $ac_status); } &&
39831 { ac_try='test -z "$ac_c_werror_flag"
39832 || test ! -s conftest.err'
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); }; } &&
39838 { ac_try='test -s conftest.$ac_objext'
39839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39840 (eval $ac_try) 2>&5
39841 ac_status=$?
39842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39843 (exit $ac_status); }; }; then
39844 ac_header_compiler=yes
39845 else
39846 echo "$as_me: failed program was:" >&5
39847 sed 's/^/| /' conftest.$ac_ext >&5
39849 ac_header_compiler=no
39851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39853 echo "${ECHO_T}$ac_header_compiler" >&6
39855 # Is the header present?
39856 echo "$as_me:$LINENO: checking locale.h presence" >&5
39857 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
39858 cat >conftest.$ac_ext <<_ACEOF
39859 /* confdefs.h. */
39860 _ACEOF
39861 cat confdefs.h >>conftest.$ac_ext
39862 cat >>conftest.$ac_ext <<_ACEOF
39863 /* end confdefs.h. */
39864 #include <locale.h>
39865 _ACEOF
39866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39867 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39868 ac_status=$?
39869 grep -v '^ *+' conftest.er1 >conftest.err
39870 rm -f conftest.er1
39871 cat conftest.err >&5
39872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39873 (exit $ac_status); } >/dev/null; then
39874 if test -s conftest.err; then
39875 ac_cpp_err=$ac_c_preproc_warn_flag
39876 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39877 else
39878 ac_cpp_err=
39880 else
39881 ac_cpp_err=yes
39883 if test -z "$ac_cpp_err"; then
39884 ac_header_preproc=yes
39885 else
39886 echo "$as_me: failed program was:" >&5
39887 sed 's/^/| /' conftest.$ac_ext >&5
39889 ac_header_preproc=no
39891 rm -f conftest.err conftest.$ac_ext
39892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39893 echo "${ECHO_T}$ac_header_preproc" >&6
39895 # So? What about this header?
39896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39897 yes:no: )
39898 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
39899 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
39900 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
39901 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
39902 ac_header_preproc=yes
39904 no:yes:* )
39905 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
39906 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
39907 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
39908 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
39909 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
39910 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
39911 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
39912 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
39913 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
39914 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
39915 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
39916 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
39918 cat <<\_ASBOX
39919 ## ----------------------------------------- ##
39920 ## Report this to the package-unused lists. ##
39921 ## ----------------------------------------- ##
39922 _ASBOX
39924 sed "s/^/$as_me: WARNING: /" >&2
39926 esac
39927 echo "$as_me:$LINENO: checking for locale.h" >&5
39928 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
39929 if test "${ac_cv_header_locale_h+set}" = set; then
39930 echo $ECHO_N "(cached) $ECHO_C" >&6
39931 else
39932 ac_cv_header_locale_h=$ac_header_preproc
39934 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
39935 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
39938 if test $ac_cv_header_locale_h = yes; then
39940 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
39941 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
39942 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
39943 echo $ECHO_N "(cached) $ECHO_C" >&6
39944 else
39945 if test x$gcc_no_link = xyes; then
39946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39948 { (exit 1); exit 1; }; }
39950 cat >conftest.$ac_ext <<_ACEOF
39951 /* confdefs.h. */
39952 _ACEOF
39953 cat confdefs.h >>conftest.$ac_ext
39954 cat >>conftest.$ac_ext <<_ACEOF
39955 /* end confdefs.h. */
39956 #include <locale.h>
39958 main ()
39960 return LC_MESSAGES
39962 return 0;
39964 _ACEOF
39965 rm -f conftest.$ac_objext conftest$ac_exeext
39966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39967 (eval $ac_link) 2>conftest.er1
39968 ac_status=$?
39969 grep -v '^ *+' conftest.er1 >conftest.err
39970 rm -f conftest.er1
39971 cat conftest.err >&5
39972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39973 (exit $ac_status); } &&
39974 { ac_try='test -z "$ac_c_werror_flag"
39975 || test ! -s conftest.err'
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); }; } &&
39981 { ac_try='test -s conftest$ac_exeext'
39982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39983 (eval $ac_try) 2>&5
39984 ac_status=$?
39985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39986 (exit $ac_status); }; }; then
39987 ac_cv_val_LC_MESSAGES=yes
39988 else
39989 echo "$as_me: failed program was:" >&5
39990 sed 's/^/| /' conftest.$ac_ext >&5
39992 ac_cv_val_LC_MESSAGES=no
39994 rm -f conftest.err conftest.$ac_objext \
39995 conftest$ac_exeext conftest.$ac_ext
39997 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
39998 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
39999 if test $ac_cv_val_LC_MESSAGES = yes; then
40001 cat >>confdefs.h <<\_ACEOF
40002 #define HAVE_LC_MESSAGES 1
40003 _ACEOF
40012 cat >conftest.$ac_ext <<_ACEOF
40013 /* confdefs.h. */
40014 _ACEOF
40015 cat confdefs.h >>conftest.$ac_ext
40016 cat >>conftest.$ac_ext <<_ACEOF
40017 /* end confdefs.h. */
40018 #include <setjmp.h>
40020 main ()
40022 sigjmp_buf env;
40023 while (! sigsetjmp (env, 1))
40024 siglongjmp (env, 1);
40027 return 0;
40029 _ACEOF
40030 rm -f conftest.$ac_objext
40031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40032 (eval $ac_compile) 2>conftest.er1
40033 ac_status=$?
40034 grep -v '^ *+' conftest.er1 >conftest.err
40035 rm -f conftest.er1
40036 cat conftest.err >&5
40037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40038 (exit $ac_status); } &&
40039 { ac_try='test -z "$ac_c_werror_flag"
40040 || test ! -s conftest.err'
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); }; } &&
40046 { ac_try='test -s conftest.$ac_objext'
40047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40048 (eval $ac_try) 2>&5
40049 ac_status=$?
40050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40051 (exit $ac_status); }; }; then
40053 cat >>confdefs.h <<\_ACEOF
40054 #define HAVE_SIGSETJMP 1
40055 _ACEOF
40057 else
40058 echo "$as_me: failed program was:" >&5
40059 sed 's/^/| /' conftest.$ac_ext >&5
40062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40064 if test x$gcc_no_link = xyes; then
40065 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
40066 ac_cv_func_mmap_fixed_mapped=no
40069 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
40072 for ac_header in stdlib.h unistd.h
40074 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40076 echo "$as_me:$LINENO: checking for $ac_header" >&5
40077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40079 echo $ECHO_N "(cached) $ECHO_C" >&6
40081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40083 else
40084 # Is the header compilable?
40085 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40086 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40087 cat >conftest.$ac_ext <<_ACEOF
40088 /* confdefs.h. */
40089 _ACEOF
40090 cat confdefs.h >>conftest.$ac_ext
40091 cat >>conftest.$ac_ext <<_ACEOF
40092 /* end confdefs.h. */
40093 $ac_includes_default
40094 #include <$ac_header>
40095 _ACEOF
40096 rm -f conftest.$ac_objext
40097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40098 (eval $ac_compile) 2>conftest.er1
40099 ac_status=$?
40100 grep -v '^ *+' conftest.er1 >conftest.err
40101 rm -f conftest.er1
40102 cat conftest.err >&5
40103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40104 (exit $ac_status); } &&
40105 { ac_try='test -z "$ac_c_werror_flag"
40106 || test ! -s conftest.err'
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); }; } &&
40112 { ac_try='test -s conftest.$ac_objext'
40113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40114 (eval $ac_try) 2>&5
40115 ac_status=$?
40116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40117 (exit $ac_status); }; }; then
40118 ac_header_compiler=yes
40119 else
40120 echo "$as_me: failed program was:" >&5
40121 sed 's/^/| /' conftest.$ac_ext >&5
40123 ac_header_compiler=no
40125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40126 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40127 echo "${ECHO_T}$ac_header_compiler" >&6
40129 # Is the header present?
40130 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40131 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40132 cat >conftest.$ac_ext <<_ACEOF
40133 /* confdefs.h. */
40134 _ACEOF
40135 cat confdefs.h >>conftest.$ac_ext
40136 cat >>conftest.$ac_ext <<_ACEOF
40137 /* end confdefs.h. */
40138 #include <$ac_header>
40139 _ACEOF
40140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40141 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40142 ac_status=$?
40143 grep -v '^ *+' conftest.er1 >conftest.err
40144 rm -f conftest.er1
40145 cat conftest.err >&5
40146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40147 (exit $ac_status); } >/dev/null; then
40148 if test -s conftest.err; then
40149 ac_cpp_err=$ac_c_preproc_warn_flag
40150 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40151 else
40152 ac_cpp_err=
40154 else
40155 ac_cpp_err=yes
40157 if test -z "$ac_cpp_err"; then
40158 ac_header_preproc=yes
40159 else
40160 echo "$as_me: failed program was:" >&5
40161 sed 's/^/| /' conftest.$ac_ext >&5
40163 ac_header_preproc=no
40165 rm -f conftest.err conftest.$ac_ext
40166 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40167 echo "${ECHO_T}$ac_header_preproc" >&6
40169 # So? What about this header?
40170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40171 yes:no: )
40172 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40173 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40175 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40176 ac_header_preproc=yes
40178 no:yes:* )
40179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40183 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40184 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40185 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40186 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40189 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40190 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40192 cat <<\_ASBOX
40193 ## ----------------------------------------- ##
40194 ## Report this to the package-unused lists. ##
40195 ## ----------------------------------------- ##
40196 _ASBOX
40198 sed "s/^/$as_me: WARNING: /" >&2
40200 esac
40201 echo "$as_me:$LINENO: checking for $ac_header" >&5
40202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40204 echo $ECHO_N "(cached) $ECHO_C" >&6
40205 else
40206 eval "$as_ac_Header=\$ac_header_preproc"
40208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40213 cat >>confdefs.h <<_ACEOF
40214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40215 _ACEOF
40219 done
40222 for ac_func in getpagesize
40224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40225 echo "$as_me:$LINENO: checking for $ac_func" >&5
40226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40227 if eval "test \"\${$as_ac_var+set}\" = set"; then
40228 echo $ECHO_N "(cached) $ECHO_C" >&6
40229 else
40230 if test x$gcc_no_link = xyes; then
40231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40233 { (exit 1); exit 1; }; }
40235 cat >conftest.$ac_ext <<_ACEOF
40236 /* confdefs.h. */
40237 _ACEOF
40238 cat confdefs.h >>conftest.$ac_ext
40239 cat >>conftest.$ac_ext <<_ACEOF
40240 /* end confdefs.h. */
40241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40243 #define $ac_func innocuous_$ac_func
40245 /* System header to define __stub macros and hopefully few prototypes,
40246 which can conflict with char $ac_func (); below.
40247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40248 <limits.h> exists even on freestanding compilers. */
40250 #ifdef __STDC__
40251 # include <limits.h>
40252 #else
40253 # include <assert.h>
40254 #endif
40256 #undef $ac_func
40258 /* Override any gcc2 internal prototype to avoid an error. */
40259 #ifdef __cplusplus
40260 extern "C"
40262 #endif
40263 /* We use char because int might match the return type of a gcc2
40264 builtin and then its argument prototype would still apply. */
40265 char $ac_func ();
40266 /* The GNU C library defines this for functions which it implements
40267 to always fail with ENOSYS. Some functions are actually named
40268 something starting with __ and the normal name is an alias. */
40269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40270 choke me
40271 #else
40272 char (*f) () = $ac_func;
40273 #endif
40274 #ifdef __cplusplus
40276 #endif
40279 main ()
40281 return f != $ac_func;
40283 return 0;
40285 _ACEOF
40286 rm -f conftest.$ac_objext conftest$ac_exeext
40287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40288 (eval $ac_link) 2>conftest.er1
40289 ac_status=$?
40290 grep -v '^ *+' conftest.er1 >conftest.err
40291 rm -f conftest.er1
40292 cat conftest.err >&5
40293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40294 (exit $ac_status); } &&
40295 { ac_try='test -z "$ac_c_werror_flag"
40296 || test ! -s conftest.err'
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); }; } &&
40302 { ac_try='test -s conftest$ac_exeext'
40303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40304 (eval $ac_try) 2>&5
40305 ac_status=$?
40306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40307 (exit $ac_status); }; }; then
40308 eval "$as_ac_var=yes"
40309 else
40310 echo "$as_me: failed program was:" >&5
40311 sed 's/^/| /' conftest.$ac_ext >&5
40313 eval "$as_ac_var=no"
40315 rm -f conftest.err conftest.$ac_objext \
40316 conftest$ac_exeext conftest.$ac_ext
40318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40320 if test `eval echo '${'$as_ac_var'}'` = yes; then
40321 cat >>confdefs.h <<_ACEOF
40322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40323 _ACEOF
40326 done
40328 echo "$as_me:$LINENO: checking for working mmap" >&5
40329 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
40330 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
40331 echo $ECHO_N "(cached) $ECHO_C" >&6
40332 else
40333 if test "$cross_compiling" = yes; then
40334 ac_cv_func_mmap_fixed_mapped=no
40335 else
40336 cat >conftest.$ac_ext <<_ACEOF
40337 /* confdefs.h. */
40338 _ACEOF
40339 cat confdefs.h >>conftest.$ac_ext
40340 cat >>conftest.$ac_ext <<_ACEOF
40341 /* end confdefs.h. */
40342 $ac_includes_default
40343 /* malloc might have been renamed as rpl_malloc. */
40344 #undef malloc
40346 /* Thanks to Mike Haertel and Jim Avera for this test.
40347 Here is a matrix of mmap possibilities:
40348 mmap private not fixed
40349 mmap private fixed at somewhere currently unmapped
40350 mmap private fixed at somewhere already mapped
40351 mmap shared not fixed
40352 mmap shared fixed at somewhere currently unmapped
40353 mmap shared fixed at somewhere already mapped
40354 For private mappings, we should verify that changes cannot be read()
40355 back from the file, nor mmap's back from the file at a different
40356 address. (There have been systems where private was not correctly
40357 implemented like the infamous i386 svr4.0, and systems where the
40358 VM page cache was not coherent with the file system buffer cache
40359 like early versions of FreeBSD and possibly contemporary NetBSD.)
40360 For shared mappings, we should conversely verify that changes get
40361 propagated back to all the places they're supposed to be.
40363 Grep wants private fixed already mapped.
40364 The main things grep needs to know about mmap are:
40365 * does it exist and is it safe to write into the mmap'd area
40366 * how to use it (BSD variants) */
40368 #include <fcntl.h>
40369 #include <sys/mman.h>
40371 #if !STDC_HEADERS && !HAVE_STDLIB_H
40372 char *malloc ();
40373 #endif
40375 /* This mess was copied from the GNU getpagesize.h. */
40376 #if !HAVE_GETPAGESIZE
40377 /* Assume that all systems that can run configure have sys/param.h. */
40378 # if !HAVE_SYS_PARAM_H
40379 # define HAVE_SYS_PARAM_H 1
40380 # endif
40382 # ifdef _SC_PAGESIZE
40383 # define getpagesize() sysconf(_SC_PAGESIZE)
40384 # else /* no _SC_PAGESIZE */
40385 # if HAVE_SYS_PARAM_H
40386 # include <sys/param.h>
40387 # ifdef EXEC_PAGESIZE
40388 # define getpagesize() EXEC_PAGESIZE
40389 # else /* no EXEC_PAGESIZE */
40390 # ifdef NBPG
40391 # define getpagesize() NBPG * CLSIZE
40392 # ifndef CLSIZE
40393 # define CLSIZE 1
40394 # endif /* no CLSIZE */
40395 # else /* no NBPG */
40396 # ifdef NBPC
40397 # define getpagesize() NBPC
40398 # else /* no NBPC */
40399 # ifdef PAGESIZE
40400 # define getpagesize() PAGESIZE
40401 # endif /* PAGESIZE */
40402 # endif /* no NBPC */
40403 # endif /* no NBPG */
40404 # endif /* no EXEC_PAGESIZE */
40405 # else /* no HAVE_SYS_PARAM_H */
40406 # define getpagesize() 8192 /* punt totally */
40407 # endif /* no HAVE_SYS_PARAM_H */
40408 # endif /* no _SC_PAGESIZE */
40410 #endif /* no HAVE_GETPAGESIZE */
40413 main ()
40415 char *data, *data2, *data3;
40416 int i, pagesize;
40417 int fd;
40419 pagesize = getpagesize ();
40421 /* First, make a file with some known garbage in it. */
40422 data = (char *) malloc (pagesize);
40423 if (!data)
40424 exit (1);
40425 for (i = 0; i < pagesize; ++i)
40426 *(data + i) = rand ();
40427 umask (0);
40428 fd = creat ("conftest.mmap", 0600);
40429 if (fd < 0)
40430 exit (1);
40431 if (write (fd, data, pagesize) != pagesize)
40432 exit (1);
40433 close (fd);
40435 /* Next, try to mmap the file at a fixed address which already has
40436 something else allocated at it. If we can, also make sure that
40437 we see the same garbage. */
40438 fd = open ("conftest.mmap", O_RDWR);
40439 if (fd < 0)
40440 exit (1);
40441 data2 = (char *) malloc (2 * pagesize);
40442 if (!data2)
40443 exit (1);
40444 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
40445 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
40446 MAP_PRIVATE | MAP_FIXED, fd, 0L))
40447 exit (1);
40448 for (i = 0; i < pagesize; ++i)
40449 if (*(data + i) != *(data2 + i))
40450 exit (1);
40452 /* Finally, make sure that changes to the mapped area do not
40453 percolate back to the file as seen by read(). (This is a bug on
40454 some variants of i386 svr4.0.) */
40455 for (i = 0; i < pagesize; ++i)
40456 *(data2 + i) = *(data2 + i) + 1;
40457 data3 = (char *) malloc (pagesize);
40458 if (!data3)
40459 exit (1);
40460 if (read (fd, data3, pagesize) != pagesize)
40461 exit (1);
40462 for (i = 0; i < pagesize; ++i)
40463 if (*(data + i) != *(data3 + i))
40464 exit (1);
40465 close (fd);
40466 exit (0);
40468 _ACEOF
40469 rm -f conftest$ac_exeext
40470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40471 (eval $ac_link) 2>&5
40472 ac_status=$?
40473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40474 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40476 (eval $ac_try) 2>&5
40477 ac_status=$?
40478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40479 (exit $ac_status); }; }; then
40480 ac_cv_func_mmap_fixed_mapped=yes
40481 else
40482 echo "$as_me: program exited with status $ac_status" >&5
40483 echo "$as_me: failed program was:" >&5
40484 sed 's/^/| /' conftest.$ac_ext >&5
40486 ( exit $ac_status )
40487 ac_cv_func_mmap_fixed_mapped=no
40489 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40492 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
40493 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
40494 if test $ac_cv_func_mmap_fixed_mapped = yes; then
40496 cat >>confdefs.h <<\_ACEOF
40497 #define HAVE_MMAP 1
40498 _ACEOF
40501 rm -f conftest.mmap
40505 # For iconv support.
40507 if test "X$prefix" = "XNONE"; then
40508 acl_final_prefix="$ac_default_prefix"
40509 else
40510 acl_final_prefix="$prefix"
40512 if test "X$exec_prefix" = "XNONE"; then
40513 acl_final_exec_prefix='${prefix}'
40514 else
40515 acl_final_exec_prefix="$exec_prefix"
40517 acl_save_prefix="$prefix"
40518 prefix="$acl_final_prefix"
40519 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
40520 prefix="$acl_save_prefix"
40523 # Check whether --with-gnu-ld or --without-gnu-ld was given.
40524 if test "${with_gnu_ld+set}" = set; then
40525 withval="$with_gnu_ld"
40526 test "$withval" = no || with_gnu_ld=yes
40527 else
40528 with_gnu_ld=no
40530 # Prepare PATH_SEPARATOR.
40531 # The user is always right.
40532 if test "${PATH_SEPARATOR+set}" != set; then
40533 echo "#! /bin/sh" >conf$$.sh
40534 echo "exit 0" >>conf$$.sh
40535 chmod +x conf$$.sh
40536 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
40537 PATH_SEPARATOR=';'
40538 else
40539 PATH_SEPARATOR=:
40541 rm -f conf$$.sh
40543 ac_prog=ld
40544 if test "$GCC" = yes; then
40545 # Check if gcc -print-prog-name=ld gives a path.
40546 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
40547 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
40548 case $host in
40549 *-*-mingw*)
40550 # gcc leaves a trailing carriage return which upsets mingw
40551 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
40553 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
40554 esac
40555 case $ac_prog in
40556 # Accept absolute paths.
40557 [\\/]* | [A-Za-z]:[\\/]*)
40558 re_direlt='/[^/][^/]*/\.\./'
40559 # Canonicalize the path of ld
40560 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
40561 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
40562 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
40563 done
40564 test -z "$LD" && LD="$ac_prog"
40567 # If it fails, then pretend we aren't using GCC.
40568 ac_prog=ld
40571 # If it is relative, then search for the first ld in PATH.
40572 with_gnu_ld=unknown
40574 esac
40575 elif test "$with_gnu_ld" = yes; then
40576 echo "$as_me:$LINENO: checking for GNU ld" >&5
40577 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
40578 else
40579 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
40580 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
40582 if test "${acl_cv_path_LD+set}" = set; then
40583 echo $ECHO_N "(cached) $ECHO_C" >&6
40584 else
40585 if test -z "$LD"; then
40586 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
40587 for ac_dir in $PATH; do
40588 test -z "$ac_dir" && ac_dir=.
40589 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
40590 acl_cv_path_LD="$ac_dir/$ac_prog"
40591 # Check to see if the program is GNU ld. I'd rather use --version,
40592 # but apparently some GNU ld's only accept -v.
40593 # Break only if it was the GNU/non-GNU ld that we prefer.
40594 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
40595 test "$with_gnu_ld" != no && break
40596 else
40597 test "$with_gnu_ld" != yes && break
40600 done
40601 IFS="$ac_save_ifs"
40602 else
40603 acl_cv_path_LD="$LD" # Let the user override the test with a path.
40607 LD="$acl_cv_path_LD"
40608 if test -n "$LD"; then
40609 echo "$as_me:$LINENO: result: $LD" >&5
40610 echo "${ECHO_T}$LD" >&6
40611 else
40612 echo "$as_me:$LINENO: result: no" >&5
40613 echo "${ECHO_T}no" >&6
40615 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
40616 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
40617 { (exit 1); exit 1; }; }
40618 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
40619 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
40620 if test "${acl_cv_prog_gnu_ld+set}" = set; then
40621 echo $ECHO_N "(cached) $ECHO_C" >&6
40622 else
40623 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
40624 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
40625 acl_cv_prog_gnu_ld=yes
40626 else
40627 acl_cv_prog_gnu_ld=no
40630 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
40631 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
40632 with_gnu_ld=$acl_cv_prog_gnu_ld
40636 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
40637 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
40638 if test "${acl_cv_rpath+set}" = set; then
40639 echo $ECHO_N "(cached) $ECHO_C" >&6
40640 else
40642 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
40643 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
40644 . ./conftest.sh
40645 rm -f ./conftest.sh
40646 acl_cv_rpath=done
40649 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
40650 echo "${ECHO_T}$acl_cv_rpath" >&6
40651 wl="$acl_cv_wl"
40652 libext="$acl_cv_libext"
40653 shlibext="$acl_cv_shlibext"
40654 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
40655 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
40656 hardcode_direct="$acl_cv_hardcode_direct"
40657 hardcode_minus_L="$acl_cv_hardcode_minus_L"
40658 # Check whether --enable-rpath or --disable-rpath was given.
40659 if test "${enable_rpath+set}" = set; then
40660 enableval="$enable_rpath"
40662 else
40663 enable_rpath=yes
40672 use_additional=yes
40674 acl_save_prefix="$prefix"
40675 prefix="$acl_final_prefix"
40676 acl_save_exec_prefix="$exec_prefix"
40677 exec_prefix="$acl_final_exec_prefix"
40679 eval additional_includedir=\"$includedir\"
40680 eval additional_libdir=\"$libdir\"
40682 exec_prefix="$acl_save_exec_prefix"
40683 prefix="$acl_save_prefix"
40686 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
40687 if test "${with_libiconv_prefix+set}" = set; then
40688 withval="$with_libiconv_prefix"
40690 if test "X$withval" = "Xno"; then
40691 use_additional=no
40692 else
40693 if test "X$withval" = "X"; then
40695 acl_save_prefix="$prefix"
40696 prefix="$acl_final_prefix"
40697 acl_save_exec_prefix="$exec_prefix"
40698 exec_prefix="$acl_final_exec_prefix"
40700 eval additional_includedir=\"$includedir\"
40701 eval additional_libdir=\"$libdir\"
40703 exec_prefix="$acl_save_exec_prefix"
40704 prefix="$acl_save_prefix"
40706 else
40707 additional_includedir="$withval/include"
40708 additional_libdir="$withval/lib"
40713 LIBICONV=
40714 LTLIBICONV=
40715 INCICONV=
40716 rpathdirs=
40717 ltrpathdirs=
40718 names_already_handled=
40719 names_next_round='iconv '
40720 while test -n "$names_next_round"; do
40721 names_this_round="$names_next_round"
40722 names_next_round=
40723 for name in $names_this_round; do
40724 already_handled=
40725 for n in $names_already_handled; do
40726 if test "$n" = "$name"; then
40727 already_handled=yes
40728 break
40730 done
40731 if test -z "$already_handled"; then
40732 names_already_handled="$names_already_handled $name"
40733 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
40734 eval value=\"\$HAVE_LIB$uppername\"
40735 if test -n "$value"; then
40736 if test "$value" = yes; then
40737 eval value=\"\$LIB$uppername\"
40738 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
40739 eval value=\"\$LTLIB$uppername\"
40740 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
40741 else
40744 else
40745 found_dir=
40746 found_la=
40747 found_so=
40748 found_a=
40749 if test $use_additional = yes; then
40750 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
40751 found_dir="$additional_libdir"
40752 found_so="$additional_libdir/lib$name.$shlibext"
40753 if test -f "$additional_libdir/lib$name.la"; then
40754 found_la="$additional_libdir/lib$name.la"
40756 else
40757 if test -f "$additional_libdir/lib$name.$libext"; then
40758 found_dir="$additional_libdir"
40759 found_a="$additional_libdir/lib$name.$libext"
40760 if test -f "$additional_libdir/lib$name.la"; then
40761 found_la="$additional_libdir/lib$name.la"
40766 if test "X$found_dir" = "X"; then
40767 for x in $LDFLAGS $LTLIBICONV; do
40769 acl_save_prefix="$prefix"
40770 prefix="$acl_final_prefix"
40771 acl_save_exec_prefix="$exec_prefix"
40772 exec_prefix="$acl_final_exec_prefix"
40773 eval x=\"$x\"
40774 exec_prefix="$acl_save_exec_prefix"
40775 prefix="$acl_save_prefix"
40777 case "$x" in
40778 -L*)
40779 dir=`echo "X$x" | sed -e 's/^X-L//'`
40780 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
40781 found_dir="$dir"
40782 found_so="$dir/lib$name.$shlibext"
40783 if test -f "$dir/lib$name.la"; then
40784 found_la="$dir/lib$name.la"
40786 else
40787 if test -f "$dir/lib$name.$libext"; then
40788 found_dir="$dir"
40789 found_a="$dir/lib$name.$libext"
40790 if test -f "$dir/lib$name.la"; then
40791 found_la="$dir/lib$name.la"
40796 esac
40797 if test "X$found_dir" != "X"; then
40798 break
40800 done
40802 if test "X$found_dir" != "X"; then
40803 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
40804 if test "X$found_so" != "X"; then
40805 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
40806 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
40807 else
40808 haveit=
40809 for x in $ltrpathdirs; do
40810 if test "X$x" = "X$found_dir"; then
40811 haveit=yes
40812 break
40814 done
40815 if test -z "$haveit"; then
40816 ltrpathdirs="$ltrpathdirs $found_dir"
40818 if test "$hardcode_direct" = yes; then
40819 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
40820 else
40821 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
40822 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
40823 haveit=
40824 for x in $rpathdirs; do
40825 if test "X$x" = "X$found_dir"; then
40826 haveit=yes
40827 break
40829 done
40830 if test -z "$haveit"; then
40831 rpathdirs="$rpathdirs $found_dir"
40833 else
40834 haveit=
40835 for x in $LDFLAGS $LIBICONV; do
40837 acl_save_prefix="$prefix"
40838 prefix="$acl_final_prefix"
40839 acl_save_exec_prefix="$exec_prefix"
40840 exec_prefix="$acl_final_exec_prefix"
40841 eval x=\"$x\"
40842 exec_prefix="$acl_save_exec_prefix"
40843 prefix="$acl_save_prefix"
40845 if test "X$x" = "X-L$found_dir"; then
40846 haveit=yes
40847 break
40849 done
40850 if test -z "$haveit"; then
40851 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
40853 if test "$hardcode_minus_L" != no; then
40854 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
40855 else
40856 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
40861 else
40862 if test "X$found_a" != "X"; then
40863 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
40864 else
40865 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
40868 additional_includedir=
40869 case "$found_dir" in
40870 */lib | */lib/)
40871 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
40872 additional_includedir="$basedir/include"
40874 esac
40875 if test "X$additional_includedir" != "X"; then
40876 if test "X$additional_includedir" != "X/usr/include"; then
40877 haveit=
40878 if test "X$additional_includedir" = "X/usr/local/include"; then
40879 if test -n "$GCC"; then
40880 case $host_os in
40881 linux*) haveit=yes;;
40882 esac
40885 if test -z "$haveit"; then
40886 for x in $CPPFLAGS $INCICONV; do
40888 acl_save_prefix="$prefix"
40889 prefix="$acl_final_prefix"
40890 acl_save_exec_prefix="$exec_prefix"
40891 exec_prefix="$acl_final_exec_prefix"
40892 eval x=\"$x\"
40893 exec_prefix="$acl_save_exec_prefix"
40894 prefix="$acl_save_prefix"
40896 if test "X$x" = "X-I$additional_includedir"; then
40897 haveit=yes
40898 break
40900 done
40901 if test -z "$haveit"; then
40902 if test -d "$additional_includedir"; then
40903 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
40909 if test -n "$found_la"; then
40910 save_libdir="$libdir"
40911 case "$found_la" in
40912 */* | *\\*) . "$found_la" ;;
40913 *) . "./$found_la" ;;
40914 esac
40915 libdir="$save_libdir"
40916 for dep in $dependency_libs; do
40917 case "$dep" in
40918 -L*)
40919 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
40920 if test "X$additional_libdir" != "X/usr/lib"; then
40921 haveit=
40922 if test "X$additional_libdir" = "X/usr/local/lib"; then
40923 if test -n "$GCC"; then
40924 case $host_os in
40925 linux*) haveit=yes;;
40926 esac
40929 if test -z "$haveit"; then
40930 haveit=
40931 for x in $LDFLAGS $LIBICONV; do
40933 acl_save_prefix="$prefix"
40934 prefix="$acl_final_prefix"
40935 acl_save_exec_prefix="$exec_prefix"
40936 exec_prefix="$acl_final_exec_prefix"
40937 eval x=\"$x\"
40938 exec_prefix="$acl_save_exec_prefix"
40939 prefix="$acl_save_prefix"
40941 if test "X$x" = "X-L$additional_libdir"; then
40942 haveit=yes
40943 break
40945 done
40946 if test -z "$haveit"; then
40947 if test -d "$additional_libdir"; then
40948 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
40951 haveit=
40952 for x in $LDFLAGS $LTLIBICONV; do
40954 acl_save_prefix="$prefix"
40955 prefix="$acl_final_prefix"
40956 acl_save_exec_prefix="$exec_prefix"
40957 exec_prefix="$acl_final_exec_prefix"
40958 eval x=\"$x\"
40959 exec_prefix="$acl_save_exec_prefix"
40960 prefix="$acl_save_prefix"
40962 if test "X$x" = "X-L$additional_libdir"; then
40963 haveit=yes
40964 break
40966 done
40967 if test -z "$haveit"; then
40968 if test -d "$additional_libdir"; then
40969 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
40975 -R*)
40976 dir=`echo "X$dep" | sed -e 's/^X-R//'`
40977 if test "$enable_rpath" != no; then
40978 haveit=
40979 for x in $rpathdirs; do
40980 if test "X$x" = "X$dir"; then
40981 haveit=yes
40982 break
40984 done
40985 if test -z "$haveit"; then
40986 rpathdirs="$rpathdirs $dir"
40988 haveit=
40989 for x in $ltrpathdirs; do
40990 if test "X$x" = "X$dir"; then
40991 haveit=yes
40992 break
40994 done
40995 if test -z "$haveit"; then
40996 ltrpathdirs="$ltrpathdirs $dir"
41000 -l*)
41001 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
41003 *.la)
41004 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
41007 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
41008 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
41010 esac
41011 done
41013 else
41014 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41015 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
41019 done
41020 done
41021 if test "X$rpathdirs" != "X"; then
41022 if test -n "$hardcode_libdir_separator"; then
41023 alldirs=
41024 for found_dir in $rpathdirs; do
41025 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
41026 done
41027 acl_save_libdir="$libdir"
41028 libdir="$alldirs"
41029 eval flag=\"$hardcode_libdir_flag_spec\"
41030 libdir="$acl_save_libdir"
41031 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41032 else
41033 for found_dir in $rpathdirs; do
41034 acl_save_libdir="$libdir"
41035 libdir="$found_dir"
41036 eval flag=\"$hardcode_libdir_flag_spec\"
41037 libdir="$acl_save_libdir"
41038 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41039 done
41042 if test "X$ltrpathdirs" != "X"; then
41043 for found_dir in $ltrpathdirs; do
41044 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
41045 done
41054 am_save_CPPFLAGS="$CPPFLAGS"
41056 for element in $INCICONV; do
41057 haveit=
41058 for x in $CPPFLAGS; do
41060 acl_save_prefix="$prefix"
41061 prefix="$acl_final_prefix"
41062 acl_save_exec_prefix="$exec_prefix"
41063 exec_prefix="$acl_final_exec_prefix"
41064 eval x=\"$x\"
41065 exec_prefix="$acl_save_exec_prefix"
41066 prefix="$acl_save_prefix"
41068 if test "X$x" = "X$element"; then
41069 haveit=yes
41070 break
41072 done
41073 if test -z "$haveit"; then
41074 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41076 done
41079 echo "$as_me:$LINENO: checking for iconv" >&5
41080 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
41081 if test "${am_cv_func_iconv+set}" = set; then
41082 echo $ECHO_N "(cached) $ECHO_C" >&6
41083 else
41085 am_cv_func_iconv="no, consider installing GNU libiconv"
41086 am_cv_lib_iconv=no
41087 if test x$gcc_no_link = xyes; then
41088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41090 { (exit 1); exit 1; }; }
41092 cat >conftest.$ac_ext <<_ACEOF
41093 /* confdefs.h. */
41094 _ACEOF
41095 cat confdefs.h >>conftest.$ac_ext
41096 cat >>conftest.$ac_ext <<_ACEOF
41097 /* end confdefs.h. */
41098 #include <stdlib.h>
41099 #include <iconv.h>
41101 main ()
41103 iconv_t cd = iconv_open("","");
41104 iconv(cd,NULL,NULL,NULL,NULL);
41105 iconv_close(cd);
41107 return 0;
41109 _ACEOF
41110 rm -f conftest.$ac_objext conftest$ac_exeext
41111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41112 (eval $ac_link) 2>conftest.er1
41113 ac_status=$?
41114 grep -v '^ *+' conftest.er1 >conftest.err
41115 rm -f conftest.er1
41116 cat conftest.err >&5
41117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41118 (exit $ac_status); } &&
41119 { ac_try='test -z "$ac_c_werror_flag"
41120 || test ! -s conftest.err'
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); }; } &&
41126 { ac_try='test -s conftest$ac_exeext'
41127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41128 (eval $ac_try) 2>&5
41129 ac_status=$?
41130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41131 (exit $ac_status); }; }; then
41132 am_cv_func_iconv=yes
41133 else
41134 echo "$as_me: failed program was:" >&5
41135 sed 's/^/| /' conftest.$ac_ext >&5
41138 rm -f conftest.err conftest.$ac_objext \
41139 conftest$ac_exeext conftest.$ac_ext
41140 if test "$am_cv_func_iconv" != yes; then
41141 am_save_LIBS="$LIBS"
41142 LIBS="$LIBS $LIBICONV"
41143 if test x$gcc_no_link = xyes; then
41144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41146 { (exit 1); exit 1; }; }
41148 cat >conftest.$ac_ext <<_ACEOF
41149 /* confdefs.h. */
41150 _ACEOF
41151 cat confdefs.h >>conftest.$ac_ext
41152 cat >>conftest.$ac_ext <<_ACEOF
41153 /* end confdefs.h. */
41154 #include <stdlib.h>
41155 #include <iconv.h>
41157 main ()
41159 iconv_t cd = iconv_open("","");
41160 iconv(cd,NULL,NULL,NULL,NULL);
41161 iconv_close(cd);
41163 return 0;
41165 _ACEOF
41166 rm -f conftest.$ac_objext conftest$ac_exeext
41167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41168 (eval $ac_link) 2>conftest.er1
41169 ac_status=$?
41170 grep -v '^ *+' conftest.er1 >conftest.err
41171 rm -f conftest.er1
41172 cat conftest.err >&5
41173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41174 (exit $ac_status); } &&
41175 { ac_try='test -z "$ac_c_werror_flag"
41176 || test ! -s conftest.err'
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); }; } &&
41182 { ac_try='test -s conftest$ac_exeext'
41183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41184 (eval $ac_try) 2>&5
41185 ac_status=$?
41186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41187 (exit $ac_status); }; }; then
41188 am_cv_lib_iconv=yes
41189 am_cv_func_iconv=yes
41190 else
41191 echo "$as_me: failed program was:" >&5
41192 sed 's/^/| /' conftest.$ac_ext >&5
41195 rm -f conftest.err conftest.$ac_objext \
41196 conftest$ac_exeext conftest.$ac_ext
41197 LIBS="$am_save_LIBS"
41201 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
41202 echo "${ECHO_T}$am_cv_func_iconv" >&6
41203 if test "$am_cv_func_iconv" = yes; then
41205 cat >>confdefs.h <<\_ACEOF
41206 #define HAVE_ICONV 1
41207 _ACEOF
41210 if test "$am_cv_lib_iconv" = yes; then
41211 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
41212 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
41213 echo "$as_me:$LINENO: result: $LIBICONV" >&5
41214 echo "${ECHO_T}$LIBICONV" >&6
41215 else
41216 CPPFLAGS="$am_save_CPPFLAGS"
41217 LIBICONV=
41218 LTLIBICONV=
41223 if test "$am_cv_func_iconv" = yes; then
41224 echo "$as_me:$LINENO: checking for iconv declaration" >&5
41225 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
41226 if test "${am_cv_proto_iconv+set}" = set; then
41227 echo $ECHO_N "(cached) $ECHO_C" >&6
41228 else
41230 cat >conftest.$ac_ext <<_ACEOF
41231 /* confdefs.h. */
41232 _ACEOF
41233 cat confdefs.h >>conftest.$ac_ext
41234 cat >>conftest.$ac_ext <<_ACEOF
41235 /* end confdefs.h. */
41237 #include <stdlib.h>
41238 #include <iconv.h>
41239 extern
41240 #ifdef __cplusplus
41242 #endif
41243 #if defined(__STDC__) || defined(__cplusplus)
41244 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41245 #else
41246 size_t iconv();
41247 #endif
41250 main ()
41254 return 0;
41256 _ACEOF
41257 rm -f conftest.$ac_objext
41258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41259 (eval $ac_compile) 2>conftest.er1
41260 ac_status=$?
41261 grep -v '^ *+' conftest.er1 >conftest.err
41262 rm -f conftest.er1
41263 cat conftest.err >&5
41264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41265 (exit $ac_status); } &&
41266 { ac_try='test -z "$ac_c_werror_flag"
41267 || test ! -s conftest.err'
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); }; } &&
41273 { ac_try='test -s conftest.$ac_objext'
41274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41275 (eval $ac_try) 2>&5
41276 ac_status=$?
41277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41278 (exit $ac_status); }; }; then
41279 am_cv_proto_iconv_arg1=""
41280 else
41281 echo "$as_me: failed program was:" >&5
41282 sed 's/^/| /' conftest.$ac_ext >&5
41284 am_cv_proto_iconv_arg1="const"
41286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41287 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);"
41290 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41291 echo "$as_me:$LINENO: result: ${ac_t:-
41292 }$am_cv_proto_iconv" >&5
41293 echo "${ECHO_T}${ac_t:-
41294 }$am_cv_proto_iconv" >&6
41296 cat >>confdefs.h <<_ACEOF
41297 #define ICONV_CONST $am_cv_proto_iconv_arg1
41298 _ACEOF
41303 else
41305 # This lets us hard-code the functionality we know we'll have in the cross
41306 # target environment. "Let" is a sugar-coated word placed on an especially
41307 # dull and tedious hack, actually.
41309 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
41310 # that involve linking, can't be used:
41311 # "cannot open sim-crt0.o"
41312 # "cannot open crt0.o"
41313 # etc. All this is because there currently exists no unified, consistent
41314 # way for top level CC information to be passed down to target directories:
41315 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
41316 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
41317 # crosses can be removed.
41319 # If Canadian cross, then don't pick up tools from the build directory.
41320 # Used only in GLIBCXX_EXPORT_INCLUDES.
41321 if test -n "$with_cross_host" &&
41322 test x"$build_alias" != x"$with_cross_host" &&
41323 test x"$build" != x"$target";
41324 then
41325 CANADIAN=yes
41326 else
41327 CANADIAN=no
41330 # Construct crosses by hand, eliminating bits that need ld...
41331 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
41332 # GLIBCXX_CHECK_MATH_SUPPORT
41334 # First, test for "known" system libraries. We may be using newlib even
41335 # on a hosted environment.
41336 if test "x${with_newlib}" = "xyes"; then
41337 os_include_dir="os/newlib"
41338 cat >>confdefs.h <<\_ACEOF
41339 #define HAVE_HYPOT 1
41340 _ACEOF
41343 # GLIBCXX_CHECK_STDLIB_SUPPORT
41344 cat >>confdefs.h <<\_ACEOF
41345 #define HAVE_STRTOF 1
41346 _ACEOF
41348 # AC_FUNC_MMAP
41349 cat >>confdefs.h <<\_ACEOF
41350 #define HAVE_MMAP 1
41351 _ACEOF
41354 cat >>confdefs.h <<\_ACEOF
41355 #define HAVE_ACOSF 1
41356 _ACEOF
41358 cat >>confdefs.h <<\_ACEOF
41359 #define HAVE_ASINF 1
41360 _ACEOF
41362 cat >>confdefs.h <<\_ACEOF
41363 #define HAVE_ATAN2F 1
41364 _ACEOF
41366 cat >>confdefs.h <<\_ACEOF
41367 #define HAVE_ATANF 1
41368 _ACEOF
41370 cat >>confdefs.h <<\_ACEOF
41371 #define HAVE_CEILF 1
41372 _ACEOF
41374 cat >>confdefs.h <<\_ACEOF
41375 #define HAVE_COPYSIGN 1
41376 _ACEOF
41378 cat >>confdefs.h <<\_ACEOF
41379 #define HAVE_COPYSIGNF 1
41380 _ACEOF
41382 cat >>confdefs.h <<\_ACEOF
41383 #define HAVE_COSF 1
41384 _ACEOF
41386 cat >>confdefs.h <<\_ACEOF
41387 #define HAVE_COSHF 1
41388 _ACEOF
41390 cat >>confdefs.h <<\_ACEOF
41391 #define HAVE_EXPF 1
41392 _ACEOF
41394 cat >>confdefs.h <<\_ACEOF
41395 #define HAVE_FABSF 1
41396 _ACEOF
41398 cat >>confdefs.h <<\_ACEOF
41399 #define HAVE_FLOORF 1
41400 _ACEOF
41402 cat >>confdefs.h <<\_ACEOF
41403 #define HAVE_FMODF 1
41404 _ACEOF
41406 cat >>confdefs.h <<\_ACEOF
41407 #define HAVE_FREXPF 1
41408 _ACEOF
41410 cat >>confdefs.h <<\_ACEOF
41411 #define HAVE_LDEXPF 1
41412 _ACEOF
41414 cat >>confdefs.h <<\_ACEOF
41415 #define HAVE_LOG10F 1
41416 _ACEOF
41418 cat >>confdefs.h <<\_ACEOF
41419 #define HAVE_LOGF 1
41420 _ACEOF
41422 cat >>confdefs.h <<\_ACEOF
41423 #define HAVE_MODFF 1
41424 _ACEOF
41426 cat >>confdefs.h <<\_ACEOF
41427 #define HAVE_POWF 1
41428 _ACEOF
41430 cat >>confdefs.h <<\_ACEOF
41431 #define HAVE_SINF 1
41432 _ACEOF
41434 cat >>confdefs.h <<\_ACEOF
41435 #define HAVE_SINHF 1
41436 _ACEOF
41438 cat >>confdefs.h <<\_ACEOF
41439 #define HAVE_SQRTF 1
41440 _ACEOF
41442 cat >>confdefs.h <<\_ACEOF
41443 #define HAVE_TANF 1
41444 _ACEOF
41446 cat >>confdefs.h <<\_ACEOF
41447 #define HAVE_TANHF 1
41448 _ACEOF
41451 cat >>confdefs.h <<\_ACEOF
41452 #define HAVE_S_ISREG 1
41453 _ACEOF
41455 cat >>confdefs.h <<\_ACEOF
41456 #define HAVE_S_IFREG 1
41457 _ACEOF
41460 cat >>confdefs.h <<\_ACEOF
41461 #define HAVE_ICONV 1
41462 _ACEOF
41464 else
41466 # Base decisions on target environment.
41467 case "${host}" in
41468 arm*-*-symbianelf*)
41469 # This is a freestanding configuration; there is nothing to do here.
41472 *-darwin*)
41473 # Darwin versions vary, but the linker should work in a cross environment,
41474 # so we just check for all the features here.
41475 # Check for available headers.
41489 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
41490 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
41491 sys/types.h
41493 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41495 echo "$as_me:$LINENO: checking for $ac_header" >&5
41496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41498 echo $ECHO_N "(cached) $ECHO_C" >&6
41500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41502 else
41503 # Is the header compilable?
41504 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41505 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41506 cat >conftest.$ac_ext <<_ACEOF
41507 /* confdefs.h. */
41508 _ACEOF
41509 cat confdefs.h >>conftest.$ac_ext
41510 cat >>conftest.$ac_ext <<_ACEOF
41511 /* end confdefs.h. */
41512 $ac_includes_default
41513 #include <$ac_header>
41514 _ACEOF
41515 rm -f conftest.$ac_objext
41516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41517 (eval $ac_compile) 2>conftest.er1
41518 ac_status=$?
41519 grep -v '^ *+' conftest.er1 >conftest.err
41520 rm -f conftest.er1
41521 cat conftest.err >&5
41522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41523 (exit $ac_status); } &&
41524 { ac_try='test -z "$ac_c_werror_flag"
41525 || test ! -s conftest.err'
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); }; } &&
41531 { ac_try='test -s conftest.$ac_objext'
41532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41533 (eval $ac_try) 2>&5
41534 ac_status=$?
41535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41536 (exit $ac_status); }; }; then
41537 ac_header_compiler=yes
41538 else
41539 echo "$as_me: failed program was:" >&5
41540 sed 's/^/| /' conftest.$ac_ext >&5
41542 ac_header_compiler=no
41544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41545 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41546 echo "${ECHO_T}$ac_header_compiler" >&6
41548 # Is the header present?
41549 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41550 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41551 cat >conftest.$ac_ext <<_ACEOF
41552 /* confdefs.h. */
41553 _ACEOF
41554 cat confdefs.h >>conftest.$ac_ext
41555 cat >>conftest.$ac_ext <<_ACEOF
41556 /* end confdefs.h. */
41557 #include <$ac_header>
41558 _ACEOF
41559 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41560 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41561 ac_status=$?
41562 grep -v '^ *+' conftest.er1 >conftest.err
41563 rm -f conftest.er1
41564 cat conftest.err >&5
41565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41566 (exit $ac_status); } >/dev/null; then
41567 if test -s conftest.err; then
41568 ac_cpp_err=$ac_c_preproc_warn_flag
41569 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41570 else
41571 ac_cpp_err=
41573 else
41574 ac_cpp_err=yes
41576 if test -z "$ac_cpp_err"; then
41577 ac_header_preproc=yes
41578 else
41579 echo "$as_me: failed program was:" >&5
41580 sed 's/^/| /' conftest.$ac_ext >&5
41582 ac_header_preproc=no
41584 rm -f conftest.err conftest.$ac_ext
41585 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41586 echo "${ECHO_T}$ac_header_preproc" >&6
41588 # So? What about this header?
41589 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41590 yes:no: )
41591 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41592 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41593 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41594 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41595 ac_header_preproc=yes
41597 no:yes:* )
41598 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41599 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41600 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41601 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41602 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41603 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41604 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41605 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41607 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41608 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41609 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41611 cat <<\_ASBOX
41612 ## ----------------------------------------- ##
41613 ## Report this to the package-unused lists. ##
41614 ## ----------------------------------------- ##
41615 _ASBOX
41617 sed "s/^/$as_me: WARNING: /" >&2
41619 esac
41620 echo "$as_me:$LINENO: checking for $ac_header" >&5
41621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41623 echo $ECHO_N "(cached) $ECHO_C" >&6
41624 else
41625 eval "$as_ac_Header=\$ac_header_preproc"
41627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41628 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41631 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41632 cat >>confdefs.h <<_ACEOF
41633 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41634 _ACEOF
41638 done
41641 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41643 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41644 ac_save_CXXFLAGS="$CXXFLAGS"
41645 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41647 echo "$as_me:$LINENO: checking for sin in -lm" >&5
41648 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
41649 if test "${ac_cv_lib_m_sin+set}" = set; then
41650 echo $ECHO_N "(cached) $ECHO_C" >&6
41651 else
41652 ac_check_lib_save_LIBS=$LIBS
41653 LIBS="-lm $LIBS"
41654 if test x$gcc_no_link = xyes; then
41655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41657 { (exit 1); exit 1; }; }
41659 cat >conftest.$ac_ext <<_ACEOF
41660 /* confdefs.h. */
41661 _ACEOF
41662 cat confdefs.h >>conftest.$ac_ext
41663 cat >>conftest.$ac_ext <<_ACEOF
41664 /* end confdefs.h. */
41666 /* Override any gcc2 internal prototype to avoid an error. */
41667 #ifdef __cplusplus
41668 extern "C"
41669 #endif
41670 /* We use char because int might match the return type of a gcc2
41671 builtin and then its argument prototype would still apply. */
41672 char sin ();
41674 main ()
41676 sin ();
41678 return 0;
41680 _ACEOF
41681 rm -f conftest.$ac_objext conftest$ac_exeext
41682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41683 (eval $ac_link) 2>conftest.er1
41684 ac_status=$?
41685 grep -v '^ *+' conftest.er1 >conftest.err
41686 rm -f conftest.er1
41687 cat conftest.err >&5
41688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41689 (exit $ac_status); } &&
41690 { ac_try='test -z "$ac_c_werror_flag"
41691 || test ! -s conftest.err'
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); }; } &&
41697 { ac_try='test -s conftest$ac_exeext'
41698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41699 (eval $ac_try) 2>&5
41700 ac_status=$?
41701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41702 (exit $ac_status); }; }; then
41703 ac_cv_lib_m_sin=yes
41704 else
41705 echo "$as_me: failed program was:" >&5
41706 sed 's/^/| /' conftest.$ac_ext >&5
41708 ac_cv_lib_m_sin=no
41710 rm -f conftest.err conftest.$ac_objext \
41711 conftest$ac_exeext conftest.$ac_ext
41712 LIBS=$ac_check_lib_save_LIBS
41714 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
41715 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
41716 if test $ac_cv_lib_m_sin = yes; then
41717 libm="-lm"
41720 ac_save_LIBS="$LIBS"
41721 LIBS="$LIBS $libm"
41725 echo "$as_me:$LINENO: checking for isinf declaration" >&5
41726 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
41727 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41728 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
41729 echo $ECHO_N "(cached) $ECHO_C" >&6
41730 else
41734 ac_ext=cc
41735 ac_cpp='$CXXCPP $CPPFLAGS'
41736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41740 cat >conftest.$ac_ext <<_ACEOF
41741 /* confdefs.h. */
41742 _ACEOF
41743 cat confdefs.h >>conftest.$ac_ext
41744 cat >>conftest.$ac_ext <<_ACEOF
41745 /* end confdefs.h. */
41746 #include <math.h>
41747 #ifdef HAVE_IEEEFP_H
41748 #include <ieeefp.h>
41749 #endif
41752 main ()
41754 isinf(0);
41756 return 0;
41758 _ACEOF
41759 rm -f conftest.$ac_objext
41760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41761 (eval $ac_compile) 2>conftest.er1
41762 ac_status=$?
41763 grep -v '^ *+' conftest.er1 >conftest.err
41764 rm -f conftest.er1
41765 cat conftest.err >&5
41766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41767 (exit $ac_status); } &&
41768 { ac_try='test -z "$ac_cxx_werror_flag"
41769 || test ! -s conftest.err'
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); }; } &&
41775 { ac_try='test -s conftest.$ac_objext'
41776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41777 (eval $ac_try) 2>&5
41778 ac_status=$?
41779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41780 (exit $ac_status); }; }; then
41781 glibcxx_cv_func_isinf_use=yes
41782 else
41783 echo "$as_me: failed program was:" >&5
41784 sed 's/^/| /' conftest.$ac_ext >&5
41786 glibcxx_cv_func_isinf_use=no
41788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41789 ac_ext=c
41790 ac_cpp='$CPP $CPPFLAGS'
41791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41799 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
41800 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
41802 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41804 for ac_func in isinf
41806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41807 echo "$as_me:$LINENO: checking for $ac_func" >&5
41808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41809 if eval "test \"\${$as_ac_var+set}\" = set"; then
41810 echo $ECHO_N "(cached) $ECHO_C" >&6
41811 else
41812 if test x$gcc_no_link = xyes; then
41813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41815 { (exit 1); exit 1; }; }
41817 cat >conftest.$ac_ext <<_ACEOF
41818 /* confdefs.h. */
41819 _ACEOF
41820 cat confdefs.h >>conftest.$ac_ext
41821 cat >>conftest.$ac_ext <<_ACEOF
41822 /* end confdefs.h. */
41823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41825 #define $ac_func innocuous_$ac_func
41827 /* System header to define __stub macros and hopefully few prototypes,
41828 which can conflict with char $ac_func (); below.
41829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41830 <limits.h> exists even on freestanding compilers. */
41832 #ifdef __STDC__
41833 # include <limits.h>
41834 #else
41835 # include <assert.h>
41836 #endif
41838 #undef $ac_func
41840 /* Override any gcc2 internal prototype to avoid an error. */
41841 #ifdef __cplusplus
41842 extern "C"
41844 #endif
41845 /* We use char because int might match the return type of a gcc2
41846 builtin and then its argument prototype would still apply. */
41847 char $ac_func ();
41848 /* The GNU C library defines this for functions which it implements
41849 to always fail with ENOSYS. Some functions are actually named
41850 something starting with __ and the normal name is an alias. */
41851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41852 choke me
41853 #else
41854 char (*f) () = $ac_func;
41855 #endif
41856 #ifdef __cplusplus
41858 #endif
41861 main ()
41863 return f != $ac_func;
41865 return 0;
41867 _ACEOF
41868 rm -f conftest.$ac_objext conftest$ac_exeext
41869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41870 (eval $ac_link) 2>conftest.er1
41871 ac_status=$?
41872 grep -v '^ *+' conftest.er1 >conftest.err
41873 rm -f conftest.er1
41874 cat conftest.err >&5
41875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41876 (exit $ac_status); } &&
41877 { ac_try='test -z "$ac_c_werror_flag"
41878 || test ! -s conftest.err'
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); }; } &&
41884 { ac_try='test -s conftest$ac_exeext'
41885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41886 (eval $ac_try) 2>&5
41887 ac_status=$?
41888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41889 (exit $ac_status); }; }; then
41890 eval "$as_ac_var=yes"
41891 else
41892 echo "$as_me: failed program was:" >&5
41893 sed 's/^/| /' conftest.$ac_ext >&5
41895 eval "$as_ac_var=no"
41897 rm -f conftest.err conftest.$ac_objext \
41898 conftest$ac_exeext conftest.$ac_ext
41900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41902 if test `eval echo '${'$as_ac_var'}'` = yes; then
41903 cat >>confdefs.h <<_ACEOF
41904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41905 _ACEOF
41908 done
41910 else
41912 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
41913 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
41914 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41915 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
41916 echo $ECHO_N "(cached) $ECHO_C" >&6
41917 else
41921 ac_ext=cc
41922 ac_cpp='$CXXCPP $CPPFLAGS'
41923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41927 cat >conftest.$ac_ext <<_ACEOF
41928 /* confdefs.h. */
41929 _ACEOF
41930 cat confdefs.h >>conftest.$ac_ext
41931 cat >>conftest.$ac_ext <<_ACEOF
41932 /* end confdefs.h. */
41933 #include <math.h>
41934 #ifdef HAVE_IEEEFP_H
41935 #include <ieeefp.h>
41936 #endif
41939 main ()
41941 _isinf(0);
41943 return 0;
41945 _ACEOF
41946 rm -f conftest.$ac_objext
41947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41948 (eval $ac_compile) 2>conftest.er1
41949 ac_status=$?
41950 grep -v '^ *+' conftest.er1 >conftest.err
41951 rm -f conftest.er1
41952 cat conftest.err >&5
41953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41954 (exit $ac_status); } &&
41955 { ac_try='test -z "$ac_cxx_werror_flag"
41956 || test ! -s conftest.err'
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); }; } &&
41962 { ac_try='test -s conftest.$ac_objext'
41963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41964 (eval $ac_try) 2>&5
41965 ac_status=$?
41966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41967 (exit $ac_status); }; }; then
41968 glibcxx_cv_func__isinf_use=yes
41969 else
41970 echo "$as_me: failed program was:" >&5
41971 sed 's/^/| /' conftest.$ac_ext >&5
41973 glibcxx_cv_func__isinf_use=no
41975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41976 ac_ext=c
41977 ac_cpp='$CPP $CPPFLAGS'
41978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
41987 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
41989 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41991 for ac_func in _isinf
41993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41994 echo "$as_me:$LINENO: checking for $ac_func" >&5
41995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41996 if eval "test \"\${$as_ac_var+set}\" = set"; then
41997 echo $ECHO_N "(cached) $ECHO_C" >&6
41998 else
41999 if test x$gcc_no_link = xyes; then
42000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42002 { (exit 1); exit 1; }; }
42004 cat >conftest.$ac_ext <<_ACEOF
42005 /* confdefs.h. */
42006 _ACEOF
42007 cat confdefs.h >>conftest.$ac_ext
42008 cat >>conftest.$ac_ext <<_ACEOF
42009 /* end confdefs.h. */
42010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42012 #define $ac_func innocuous_$ac_func
42014 /* System header to define __stub macros and hopefully few prototypes,
42015 which can conflict with char $ac_func (); below.
42016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42017 <limits.h> exists even on freestanding compilers. */
42019 #ifdef __STDC__
42020 # include <limits.h>
42021 #else
42022 # include <assert.h>
42023 #endif
42025 #undef $ac_func
42027 /* Override any gcc2 internal prototype to avoid an error. */
42028 #ifdef __cplusplus
42029 extern "C"
42031 #endif
42032 /* We use char because int might match the return type of a gcc2
42033 builtin and then its argument prototype would still apply. */
42034 char $ac_func ();
42035 /* The GNU C library defines this for functions which it implements
42036 to always fail with ENOSYS. Some functions are actually named
42037 something starting with __ and the normal name is an alias. */
42038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42039 choke me
42040 #else
42041 char (*f) () = $ac_func;
42042 #endif
42043 #ifdef __cplusplus
42045 #endif
42048 main ()
42050 return f != $ac_func;
42052 return 0;
42054 _ACEOF
42055 rm -f conftest.$ac_objext conftest$ac_exeext
42056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42057 (eval $ac_link) 2>conftest.er1
42058 ac_status=$?
42059 grep -v '^ *+' conftest.er1 >conftest.err
42060 rm -f conftest.er1
42061 cat conftest.err >&5
42062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42063 (exit $ac_status); } &&
42064 { ac_try='test -z "$ac_c_werror_flag"
42065 || test ! -s conftest.err'
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); }; } &&
42071 { ac_try='test -s conftest$ac_exeext'
42072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42073 (eval $ac_try) 2>&5
42074 ac_status=$?
42075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42076 (exit $ac_status); }; }; then
42077 eval "$as_ac_var=yes"
42078 else
42079 echo "$as_me: failed program was:" >&5
42080 sed 's/^/| /' conftest.$ac_ext >&5
42082 eval "$as_ac_var=no"
42084 rm -f conftest.err conftest.$ac_objext \
42085 conftest$ac_exeext conftest.$ac_ext
42087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42089 if test `eval echo '${'$as_ac_var'}'` = yes; then
42090 cat >>confdefs.h <<_ACEOF
42091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42092 _ACEOF
42095 done
42105 echo "$as_me:$LINENO: checking for isnan declaration" >&5
42106 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
42107 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42108 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
42109 echo $ECHO_N "(cached) $ECHO_C" >&6
42110 else
42114 ac_ext=cc
42115 ac_cpp='$CXXCPP $CPPFLAGS'
42116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42120 cat >conftest.$ac_ext <<_ACEOF
42121 /* confdefs.h. */
42122 _ACEOF
42123 cat confdefs.h >>conftest.$ac_ext
42124 cat >>conftest.$ac_ext <<_ACEOF
42125 /* end confdefs.h. */
42126 #include <math.h>
42127 #ifdef HAVE_IEEEFP_H
42128 #include <ieeefp.h>
42129 #endif
42132 main ()
42134 isnan(0);
42136 return 0;
42138 _ACEOF
42139 rm -f conftest.$ac_objext
42140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42141 (eval $ac_compile) 2>conftest.er1
42142 ac_status=$?
42143 grep -v '^ *+' conftest.er1 >conftest.err
42144 rm -f conftest.er1
42145 cat conftest.err >&5
42146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42147 (exit $ac_status); } &&
42148 { ac_try='test -z "$ac_cxx_werror_flag"
42149 || test ! -s conftest.err'
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); }; } &&
42155 { ac_try='test -s conftest.$ac_objext'
42156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42157 (eval $ac_try) 2>&5
42158 ac_status=$?
42159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42160 (exit $ac_status); }; }; then
42161 glibcxx_cv_func_isnan_use=yes
42162 else
42163 echo "$as_me: failed program was:" >&5
42164 sed 's/^/| /' conftest.$ac_ext >&5
42166 glibcxx_cv_func_isnan_use=no
42168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42169 ac_ext=c
42170 ac_cpp='$CPP $CPPFLAGS'
42171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42179 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
42180 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
42182 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
42184 for ac_func in isnan
42186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42187 echo "$as_me:$LINENO: checking for $ac_func" >&5
42188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42189 if eval "test \"\${$as_ac_var+set}\" = set"; then
42190 echo $ECHO_N "(cached) $ECHO_C" >&6
42191 else
42192 if test x$gcc_no_link = xyes; then
42193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42195 { (exit 1); exit 1; }; }
42197 cat >conftest.$ac_ext <<_ACEOF
42198 /* confdefs.h. */
42199 _ACEOF
42200 cat confdefs.h >>conftest.$ac_ext
42201 cat >>conftest.$ac_ext <<_ACEOF
42202 /* end confdefs.h. */
42203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42205 #define $ac_func innocuous_$ac_func
42207 /* System header to define __stub macros and hopefully few prototypes,
42208 which can conflict with char $ac_func (); below.
42209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42210 <limits.h> exists even on freestanding compilers. */
42212 #ifdef __STDC__
42213 # include <limits.h>
42214 #else
42215 # include <assert.h>
42216 #endif
42218 #undef $ac_func
42220 /* Override any gcc2 internal prototype to avoid an error. */
42221 #ifdef __cplusplus
42222 extern "C"
42224 #endif
42225 /* We use char because int might match the return type of a gcc2
42226 builtin and then its argument prototype would still apply. */
42227 char $ac_func ();
42228 /* The GNU C library defines this for functions which it implements
42229 to always fail with ENOSYS. Some functions are actually named
42230 something starting with __ and the normal name is an alias. */
42231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42232 choke me
42233 #else
42234 char (*f) () = $ac_func;
42235 #endif
42236 #ifdef __cplusplus
42238 #endif
42241 main ()
42243 return f != $ac_func;
42245 return 0;
42247 _ACEOF
42248 rm -f conftest.$ac_objext conftest$ac_exeext
42249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42250 (eval $ac_link) 2>conftest.er1
42251 ac_status=$?
42252 grep -v '^ *+' conftest.er1 >conftest.err
42253 rm -f conftest.er1
42254 cat conftest.err >&5
42255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42256 (exit $ac_status); } &&
42257 { ac_try='test -z "$ac_c_werror_flag"
42258 || test ! -s conftest.err'
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); }; } &&
42264 { ac_try='test -s conftest$ac_exeext'
42265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42266 (eval $ac_try) 2>&5
42267 ac_status=$?
42268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42269 (exit $ac_status); }; }; then
42270 eval "$as_ac_var=yes"
42271 else
42272 echo "$as_me: failed program was:" >&5
42273 sed 's/^/| /' conftest.$ac_ext >&5
42275 eval "$as_ac_var=no"
42277 rm -f conftest.err conftest.$ac_objext \
42278 conftest$ac_exeext conftest.$ac_ext
42280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42282 if test `eval echo '${'$as_ac_var'}'` = yes; then
42283 cat >>confdefs.h <<_ACEOF
42284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42285 _ACEOF
42288 done
42290 else
42292 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
42293 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
42294 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
42295 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
42296 echo $ECHO_N "(cached) $ECHO_C" >&6
42297 else
42301 ac_ext=cc
42302 ac_cpp='$CXXCPP $CPPFLAGS'
42303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42307 cat >conftest.$ac_ext <<_ACEOF
42308 /* confdefs.h. */
42309 _ACEOF
42310 cat confdefs.h >>conftest.$ac_ext
42311 cat >>conftest.$ac_ext <<_ACEOF
42312 /* end confdefs.h. */
42313 #include <math.h>
42314 #ifdef HAVE_IEEEFP_H
42315 #include <ieeefp.h>
42316 #endif
42319 main ()
42321 _isnan(0);
42323 return 0;
42325 _ACEOF
42326 rm -f conftest.$ac_objext
42327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42328 (eval $ac_compile) 2>conftest.er1
42329 ac_status=$?
42330 grep -v '^ *+' conftest.er1 >conftest.err
42331 rm -f conftest.er1
42332 cat conftest.err >&5
42333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42334 (exit $ac_status); } &&
42335 { ac_try='test -z "$ac_cxx_werror_flag"
42336 || test ! -s conftest.err'
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); }; } &&
42342 { ac_try='test -s conftest.$ac_objext'
42343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42344 (eval $ac_try) 2>&5
42345 ac_status=$?
42346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42347 (exit $ac_status); }; }; then
42348 glibcxx_cv_func__isnan_use=yes
42349 else
42350 echo "$as_me: failed program was:" >&5
42351 sed 's/^/| /' conftest.$ac_ext >&5
42353 glibcxx_cv_func__isnan_use=no
42355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42356 ac_ext=c
42357 ac_cpp='$CPP $CPPFLAGS'
42358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42366 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
42367 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
42369 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
42371 for ac_func in _isnan
42373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42374 echo "$as_me:$LINENO: checking for $ac_func" >&5
42375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42376 if eval "test \"\${$as_ac_var+set}\" = set"; then
42377 echo $ECHO_N "(cached) $ECHO_C" >&6
42378 else
42379 if test x$gcc_no_link = xyes; then
42380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42382 { (exit 1); exit 1; }; }
42384 cat >conftest.$ac_ext <<_ACEOF
42385 /* confdefs.h. */
42386 _ACEOF
42387 cat confdefs.h >>conftest.$ac_ext
42388 cat >>conftest.$ac_ext <<_ACEOF
42389 /* end confdefs.h. */
42390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42392 #define $ac_func innocuous_$ac_func
42394 /* System header to define __stub macros and hopefully few prototypes,
42395 which can conflict with char $ac_func (); below.
42396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42397 <limits.h> exists even on freestanding compilers. */
42399 #ifdef __STDC__
42400 # include <limits.h>
42401 #else
42402 # include <assert.h>
42403 #endif
42405 #undef $ac_func
42407 /* Override any gcc2 internal prototype to avoid an error. */
42408 #ifdef __cplusplus
42409 extern "C"
42411 #endif
42412 /* We use char because int might match the return type of a gcc2
42413 builtin and then its argument prototype would still apply. */
42414 char $ac_func ();
42415 /* The GNU C library defines this for functions which it implements
42416 to always fail with ENOSYS. Some functions are actually named
42417 something starting with __ and the normal name is an alias. */
42418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42419 choke me
42420 #else
42421 char (*f) () = $ac_func;
42422 #endif
42423 #ifdef __cplusplus
42425 #endif
42428 main ()
42430 return f != $ac_func;
42432 return 0;
42434 _ACEOF
42435 rm -f conftest.$ac_objext conftest$ac_exeext
42436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42437 (eval $ac_link) 2>conftest.er1
42438 ac_status=$?
42439 grep -v '^ *+' conftest.er1 >conftest.err
42440 rm -f conftest.er1
42441 cat conftest.err >&5
42442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42443 (exit $ac_status); } &&
42444 { ac_try='test -z "$ac_c_werror_flag"
42445 || test ! -s conftest.err'
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); }; } &&
42451 { ac_try='test -s conftest$ac_exeext'
42452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42453 (eval $ac_try) 2>&5
42454 ac_status=$?
42455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42456 (exit $ac_status); }; }; then
42457 eval "$as_ac_var=yes"
42458 else
42459 echo "$as_me: failed program was:" >&5
42460 sed 's/^/| /' conftest.$ac_ext >&5
42462 eval "$as_ac_var=no"
42464 rm -f conftest.err conftest.$ac_objext \
42465 conftest$ac_exeext conftest.$ac_ext
42467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42469 if test `eval echo '${'$as_ac_var'}'` = yes; then
42470 cat >>confdefs.h <<_ACEOF
42471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42472 _ACEOF
42475 done
42485 echo "$as_me:$LINENO: checking for finite declaration" >&5
42486 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
42487 if test x${glibcxx_cv_func_finite_use+set} != xset; then
42488 if test "${glibcxx_cv_func_finite_use+set}" = set; then
42489 echo $ECHO_N "(cached) $ECHO_C" >&6
42490 else
42494 ac_ext=cc
42495 ac_cpp='$CXXCPP $CPPFLAGS'
42496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42500 cat >conftest.$ac_ext <<_ACEOF
42501 /* confdefs.h. */
42502 _ACEOF
42503 cat confdefs.h >>conftest.$ac_ext
42504 cat >>conftest.$ac_ext <<_ACEOF
42505 /* end confdefs.h. */
42506 #include <math.h>
42507 #ifdef HAVE_IEEEFP_H
42508 #include <ieeefp.h>
42509 #endif
42512 main ()
42514 finite(0);
42516 return 0;
42518 _ACEOF
42519 rm -f conftest.$ac_objext
42520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42521 (eval $ac_compile) 2>conftest.er1
42522 ac_status=$?
42523 grep -v '^ *+' conftest.er1 >conftest.err
42524 rm -f conftest.er1
42525 cat conftest.err >&5
42526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42527 (exit $ac_status); } &&
42528 { ac_try='test -z "$ac_cxx_werror_flag"
42529 || test ! -s conftest.err'
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); }; } &&
42535 { ac_try='test -s conftest.$ac_objext'
42536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42537 (eval $ac_try) 2>&5
42538 ac_status=$?
42539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42540 (exit $ac_status); }; }; then
42541 glibcxx_cv_func_finite_use=yes
42542 else
42543 echo "$as_me: failed program was:" >&5
42544 sed 's/^/| /' conftest.$ac_ext >&5
42546 glibcxx_cv_func_finite_use=no
42548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42549 ac_ext=c
42550 ac_cpp='$CPP $CPPFLAGS'
42551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42559 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
42560 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
42562 if test x$glibcxx_cv_func_finite_use = x"yes"; then
42564 for ac_func in finite
42566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42567 echo "$as_me:$LINENO: checking for $ac_func" >&5
42568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42569 if eval "test \"\${$as_ac_var+set}\" = set"; then
42570 echo $ECHO_N "(cached) $ECHO_C" >&6
42571 else
42572 if test x$gcc_no_link = xyes; then
42573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42575 { (exit 1); exit 1; }; }
42577 cat >conftest.$ac_ext <<_ACEOF
42578 /* confdefs.h. */
42579 _ACEOF
42580 cat confdefs.h >>conftest.$ac_ext
42581 cat >>conftest.$ac_ext <<_ACEOF
42582 /* end confdefs.h. */
42583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42585 #define $ac_func innocuous_$ac_func
42587 /* System header to define __stub macros and hopefully few prototypes,
42588 which can conflict with char $ac_func (); below.
42589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42590 <limits.h> exists even on freestanding compilers. */
42592 #ifdef __STDC__
42593 # include <limits.h>
42594 #else
42595 # include <assert.h>
42596 #endif
42598 #undef $ac_func
42600 /* Override any gcc2 internal prototype to avoid an error. */
42601 #ifdef __cplusplus
42602 extern "C"
42604 #endif
42605 /* We use char because int might match the return type of a gcc2
42606 builtin and then its argument prototype would still apply. */
42607 char $ac_func ();
42608 /* The GNU C library defines this for functions which it implements
42609 to always fail with ENOSYS. Some functions are actually named
42610 something starting with __ and the normal name is an alias. */
42611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42612 choke me
42613 #else
42614 char (*f) () = $ac_func;
42615 #endif
42616 #ifdef __cplusplus
42618 #endif
42621 main ()
42623 return f != $ac_func;
42625 return 0;
42627 _ACEOF
42628 rm -f conftest.$ac_objext conftest$ac_exeext
42629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42630 (eval $ac_link) 2>conftest.er1
42631 ac_status=$?
42632 grep -v '^ *+' conftest.er1 >conftest.err
42633 rm -f conftest.er1
42634 cat conftest.err >&5
42635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42636 (exit $ac_status); } &&
42637 { ac_try='test -z "$ac_c_werror_flag"
42638 || test ! -s conftest.err'
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); }; } &&
42644 { ac_try='test -s conftest$ac_exeext'
42645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42646 (eval $ac_try) 2>&5
42647 ac_status=$?
42648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42649 (exit $ac_status); }; }; then
42650 eval "$as_ac_var=yes"
42651 else
42652 echo "$as_me: failed program was:" >&5
42653 sed 's/^/| /' conftest.$ac_ext >&5
42655 eval "$as_ac_var=no"
42657 rm -f conftest.err conftest.$ac_objext \
42658 conftest$ac_exeext conftest.$ac_ext
42660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42662 if test `eval echo '${'$as_ac_var'}'` = yes; then
42663 cat >>confdefs.h <<_ACEOF
42664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42665 _ACEOF
42668 done
42670 else
42672 echo "$as_me:$LINENO: checking for _finite declaration" >&5
42673 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
42674 if test x${glibcxx_cv_func__finite_use+set} != xset; then
42675 if test "${glibcxx_cv_func__finite_use+set}" = set; then
42676 echo $ECHO_N "(cached) $ECHO_C" >&6
42677 else
42681 ac_ext=cc
42682 ac_cpp='$CXXCPP $CPPFLAGS'
42683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42687 cat >conftest.$ac_ext <<_ACEOF
42688 /* confdefs.h. */
42689 _ACEOF
42690 cat confdefs.h >>conftest.$ac_ext
42691 cat >>conftest.$ac_ext <<_ACEOF
42692 /* end confdefs.h. */
42693 #include <math.h>
42694 #ifdef HAVE_IEEEFP_H
42695 #include <ieeefp.h>
42696 #endif
42699 main ()
42701 _finite(0);
42703 return 0;
42705 _ACEOF
42706 rm -f conftest.$ac_objext
42707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42708 (eval $ac_compile) 2>conftest.er1
42709 ac_status=$?
42710 grep -v '^ *+' conftest.er1 >conftest.err
42711 rm -f conftest.er1
42712 cat conftest.err >&5
42713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42714 (exit $ac_status); } &&
42715 { ac_try='test -z "$ac_cxx_werror_flag"
42716 || test ! -s conftest.err'
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); }; } &&
42722 { ac_try='test -s conftest.$ac_objext'
42723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42724 (eval $ac_try) 2>&5
42725 ac_status=$?
42726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42727 (exit $ac_status); }; }; then
42728 glibcxx_cv_func__finite_use=yes
42729 else
42730 echo "$as_me: failed program was:" >&5
42731 sed 's/^/| /' conftest.$ac_ext >&5
42733 glibcxx_cv_func__finite_use=no
42735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42736 ac_ext=c
42737 ac_cpp='$CPP $CPPFLAGS'
42738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42746 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
42747 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
42749 if test x$glibcxx_cv_func__finite_use = x"yes"; then
42751 for ac_func in _finite
42753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42754 echo "$as_me:$LINENO: checking for $ac_func" >&5
42755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42756 if eval "test \"\${$as_ac_var+set}\" = set"; then
42757 echo $ECHO_N "(cached) $ECHO_C" >&6
42758 else
42759 if test x$gcc_no_link = xyes; then
42760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42762 { (exit 1); exit 1; }; }
42764 cat >conftest.$ac_ext <<_ACEOF
42765 /* confdefs.h. */
42766 _ACEOF
42767 cat confdefs.h >>conftest.$ac_ext
42768 cat >>conftest.$ac_ext <<_ACEOF
42769 /* end confdefs.h. */
42770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42772 #define $ac_func innocuous_$ac_func
42774 /* System header to define __stub macros and hopefully few prototypes,
42775 which can conflict with char $ac_func (); below.
42776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42777 <limits.h> exists even on freestanding compilers. */
42779 #ifdef __STDC__
42780 # include <limits.h>
42781 #else
42782 # include <assert.h>
42783 #endif
42785 #undef $ac_func
42787 /* Override any gcc2 internal prototype to avoid an error. */
42788 #ifdef __cplusplus
42789 extern "C"
42791 #endif
42792 /* We use char because int might match the return type of a gcc2
42793 builtin and then its argument prototype would still apply. */
42794 char $ac_func ();
42795 /* The GNU C library defines this for functions which it implements
42796 to always fail with ENOSYS. Some functions are actually named
42797 something starting with __ and the normal name is an alias. */
42798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42799 choke me
42800 #else
42801 char (*f) () = $ac_func;
42802 #endif
42803 #ifdef __cplusplus
42805 #endif
42808 main ()
42810 return f != $ac_func;
42812 return 0;
42814 _ACEOF
42815 rm -f conftest.$ac_objext conftest$ac_exeext
42816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42817 (eval $ac_link) 2>conftest.er1
42818 ac_status=$?
42819 grep -v '^ *+' conftest.er1 >conftest.err
42820 rm -f conftest.er1
42821 cat conftest.err >&5
42822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42823 (exit $ac_status); } &&
42824 { ac_try='test -z "$ac_c_werror_flag"
42825 || test ! -s conftest.err'
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); }; } &&
42831 { ac_try='test -s conftest$ac_exeext'
42832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42833 (eval $ac_try) 2>&5
42834 ac_status=$?
42835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42836 (exit $ac_status); }; }; then
42837 eval "$as_ac_var=yes"
42838 else
42839 echo "$as_me: failed program was:" >&5
42840 sed 's/^/| /' conftest.$ac_ext >&5
42842 eval "$as_ac_var=no"
42844 rm -f conftest.err conftest.$ac_objext \
42845 conftest$ac_exeext conftest.$ac_ext
42847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42849 if test `eval echo '${'$as_ac_var'}'` = yes; then
42850 cat >>confdefs.h <<_ACEOF
42851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42852 _ACEOF
42855 done
42865 echo "$as_me:$LINENO: checking for copysign declaration" >&5
42866 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
42867 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
42868 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
42869 echo $ECHO_N "(cached) $ECHO_C" >&6
42870 else
42874 ac_ext=cc
42875 ac_cpp='$CXXCPP $CPPFLAGS'
42876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42880 cat >conftest.$ac_ext <<_ACEOF
42881 /* confdefs.h. */
42882 _ACEOF
42883 cat confdefs.h >>conftest.$ac_ext
42884 cat >>conftest.$ac_ext <<_ACEOF
42885 /* end confdefs.h. */
42886 #include <math.h>
42888 main ()
42890 copysign(0, 0);
42892 return 0;
42894 _ACEOF
42895 rm -f conftest.$ac_objext
42896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42897 (eval $ac_compile) 2>conftest.er1
42898 ac_status=$?
42899 grep -v '^ *+' conftest.er1 >conftest.err
42900 rm -f conftest.er1
42901 cat conftest.err >&5
42902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42903 (exit $ac_status); } &&
42904 { ac_try='test -z "$ac_cxx_werror_flag"
42905 || test ! -s conftest.err'
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); }; } &&
42911 { ac_try='test -s conftest.$ac_objext'
42912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42913 (eval $ac_try) 2>&5
42914 ac_status=$?
42915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42916 (exit $ac_status); }; }; then
42917 glibcxx_cv_func_copysign_use=yes
42918 else
42919 echo "$as_me: failed program was:" >&5
42920 sed 's/^/| /' conftest.$ac_ext >&5
42922 glibcxx_cv_func_copysign_use=no
42924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42925 ac_ext=c
42926 ac_cpp='$CPP $CPPFLAGS'
42927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42935 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
42936 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
42938 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
42940 for ac_func in copysign
42942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42943 echo "$as_me:$LINENO: checking for $ac_func" >&5
42944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42945 if eval "test \"\${$as_ac_var+set}\" = set"; then
42946 echo $ECHO_N "(cached) $ECHO_C" >&6
42947 else
42948 if test x$gcc_no_link = xyes; then
42949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42951 { (exit 1); exit 1; }; }
42953 cat >conftest.$ac_ext <<_ACEOF
42954 /* confdefs.h. */
42955 _ACEOF
42956 cat confdefs.h >>conftest.$ac_ext
42957 cat >>conftest.$ac_ext <<_ACEOF
42958 /* end confdefs.h. */
42959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42961 #define $ac_func innocuous_$ac_func
42963 /* System header to define __stub macros and hopefully few prototypes,
42964 which can conflict with char $ac_func (); below.
42965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42966 <limits.h> exists even on freestanding compilers. */
42968 #ifdef __STDC__
42969 # include <limits.h>
42970 #else
42971 # include <assert.h>
42972 #endif
42974 #undef $ac_func
42976 /* Override any gcc2 internal prototype to avoid an error. */
42977 #ifdef __cplusplus
42978 extern "C"
42980 #endif
42981 /* We use char because int might match the return type of a gcc2
42982 builtin and then its argument prototype would still apply. */
42983 char $ac_func ();
42984 /* The GNU C library defines this for functions which it implements
42985 to always fail with ENOSYS. Some functions are actually named
42986 something starting with __ and the normal name is an alias. */
42987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42988 choke me
42989 #else
42990 char (*f) () = $ac_func;
42991 #endif
42992 #ifdef __cplusplus
42994 #endif
42997 main ()
42999 return f != $ac_func;
43001 return 0;
43003 _ACEOF
43004 rm -f conftest.$ac_objext conftest$ac_exeext
43005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43006 (eval $ac_link) 2>conftest.er1
43007 ac_status=$?
43008 grep -v '^ *+' conftest.er1 >conftest.err
43009 rm -f conftest.er1
43010 cat conftest.err >&5
43011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43012 (exit $ac_status); } &&
43013 { ac_try='test -z "$ac_c_werror_flag"
43014 || test ! -s conftest.err'
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); }; } &&
43020 { ac_try='test -s conftest$ac_exeext'
43021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43022 (eval $ac_try) 2>&5
43023 ac_status=$?
43024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43025 (exit $ac_status); }; }; then
43026 eval "$as_ac_var=yes"
43027 else
43028 echo "$as_me: failed program was:" >&5
43029 sed 's/^/| /' conftest.$ac_ext >&5
43031 eval "$as_ac_var=no"
43033 rm -f conftest.err conftest.$ac_objext \
43034 conftest$ac_exeext conftest.$ac_ext
43036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43038 if test `eval echo '${'$as_ac_var'}'` = yes; then
43039 cat >>confdefs.h <<_ACEOF
43040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43041 _ACEOF
43044 done
43046 else
43048 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
43049 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
43050 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
43051 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
43052 echo $ECHO_N "(cached) $ECHO_C" >&6
43053 else
43057 ac_ext=cc
43058 ac_cpp='$CXXCPP $CPPFLAGS'
43059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43063 cat >conftest.$ac_ext <<_ACEOF
43064 /* confdefs.h. */
43065 _ACEOF
43066 cat confdefs.h >>conftest.$ac_ext
43067 cat >>conftest.$ac_ext <<_ACEOF
43068 /* end confdefs.h. */
43069 #include <math.h>
43071 main ()
43073 _copysign(0, 0);
43075 return 0;
43077 _ACEOF
43078 rm -f conftest.$ac_objext
43079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43080 (eval $ac_compile) 2>conftest.er1
43081 ac_status=$?
43082 grep -v '^ *+' conftest.er1 >conftest.err
43083 rm -f conftest.er1
43084 cat conftest.err >&5
43085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43086 (exit $ac_status); } &&
43087 { ac_try='test -z "$ac_cxx_werror_flag"
43088 || test ! -s conftest.err'
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); }; } &&
43094 { ac_try='test -s conftest.$ac_objext'
43095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43096 (eval $ac_try) 2>&5
43097 ac_status=$?
43098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43099 (exit $ac_status); }; }; then
43100 glibcxx_cv_func__copysign_use=yes
43101 else
43102 echo "$as_me: failed program was:" >&5
43103 sed 's/^/| /' conftest.$ac_ext >&5
43105 glibcxx_cv_func__copysign_use=no
43107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43108 ac_ext=c
43109 ac_cpp='$CPP $CPPFLAGS'
43110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43118 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
43119 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
43121 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
43123 for ac_func in _copysign
43125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43126 echo "$as_me:$LINENO: checking for $ac_func" >&5
43127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43128 if eval "test \"\${$as_ac_var+set}\" = set"; then
43129 echo $ECHO_N "(cached) $ECHO_C" >&6
43130 else
43131 if test x$gcc_no_link = xyes; then
43132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43134 { (exit 1); exit 1; }; }
43136 cat >conftest.$ac_ext <<_ACEOF
43137 /* confdefs.h. */
43138 _ACEOF
43139 cat confdefs.h >>conftest.$ac_ext
43140 cat >>conftest.$ac_ext <<_ACEOF
43141 /* end confdefs.h. */
43142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43144 #define $ac_func innocuous_$ac_func
43146 /* System header to define __stub macros and hopefully few prototypes,
43147 which can conflict with char $ac_func (); below.
43148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43149 <limits.h> exists even on freestanding compilers. */
43151 #ifdef __STDC__
43152 # include <limits.h>
43153 #else
43154 # include <assert.h>
43155 #endif
43157 #undef $ac_func
43159 /* Override any gcc2 internal prototype to avoid an error. */
43160 #ifdef __cplusplus
43161 extern "C"
43163 #endif
43164 /* We use char because int might match the return type of a gcc2
43165 builtin and then its argument prototype would still apply. */
43166 char $ac_func ();
43167 /* The GNU C library defines this for functions which it implements
43168 to always fail with ENOSYS. Some functions are actually named
43169 something starting with __ and the normal name is an alias. */
43170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43171 choke me
43172 #else
43173 char (*f) () = $ac_func;
43174 #endif
43175 #ifdef __cplusplus
43177 #endif
43180 main ()
43182 return f != $ac_func;
43184 return 0;
43186 _ACEOF
43187 rm -f conftest.$ac_objext conftest$ac_exeext
43188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43189 (eval $ac_link) 2>conftest.er1
43190 ac_status=$?
43191 grep -v '^ *+' conftest.er1 >conftest.err
43192 rm -f conftest.er1
43193 cat conftest.err >&5
43194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43195 (exit $ac_status); } &&
43196 { ac_try='test -z "$ac_c_werror_flag"
43197 || test ! -s conftest.err'
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); }; } &&
43203 { ac_try='test -s conftest$ac_exeext'
43204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43205 (eval $ac_try) 2>&5
43206 ac_status=$?
43207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43208 (exit $ac_status); }; }; then
43209 eval "$as_ac_var=yes"
43210 else
43211 echo "$as_me: failed program was:" >&5
43212 sed 's/^/| /' conftest.$ac_ext >&5
43214 eval "$as_ac_var=no"
43216 rm -f conftest.err conftest.$ac_objext \
43217 conftest$ac_exeext conftest.$ac_ext
43219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43221 if test `eval echo '${'$as_ac_var'}'` = yes; then
43222 cat >>confdefs.h <<_ACEOF
43223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43224 _ACEOF
43227 done
43237 echo "$as_me:$LINENO: checking for sincos declaration" >&5
43238 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
43239 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
43240 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
43241 echo $ECHO_N "(cached) $ECHO_C" >&6
43242 else
43246 ac_ext=cc
43247 ac_cpp='$CXXCPP $CPPFLAGS'
43248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43252 cat >conftest.$ac_ext <<_ACEOF
43253 /* confdefs.h. */
43254 _ACEOF
43255 cat confdefs.h >>conftest.$ac_ext
43256 cat >>conftest.$ac_ext <<_ACEOF
43257 /* end confdefs.h. */
43258 #include <math.h>
43260 main ()
43262 sincos(0, 0, 0);
43264 return 0;
43266 _ACEOF
43267 rm -f conftest.$ac_objext
43268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43269 (eval $ac_compile) 2>conftest.er1
43270 ac_status=$?
43271 grep -v '^ *+' conftest.er1 >conftest.err
43272 rm -f conftest.er1
43273 cat conftest.err >&5
43274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43275 (exit $ac_status); } &&
43276 { ac_try='test -z "$ac_cxx_werror_flag"
43277 || test ! -s conftest.err'
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); }; } &&
43283 { ac_try='test -s conftest.$ac_objext'
43284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43285 (eval $ac_try) 2>&5
43286 ac_status=$?
43287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43288 (exit $ac_status); }; }; then
43289 glibcxx_cv_func_sincos_use=yes
43290 else
43291 echo "$as_me: failed program was:" >&5
43292 sed 's/^/| /' conftest.$ac_ext >&5
43294 glibcxx_cv_func_sincos_use=no
43296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43297 ac_ext=c
43298 ac_cpp='$CPP $CPPFLAGS'
43299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43307 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
43308 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
43310 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
43312 for ac_func in sincos
43314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43315 echo "$as_me:$LINENO: checking for $ac_func" >&5
43316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43317 if eval "test \"\${$as_ac_var+set}\" = set"; then
43318 echo $ECHO_N "(cached) $ECHO_C" >&6
43319 else
43320 if test x$gcc_no_link = xyes; then
43321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43323 { (exit 1); exit 1; }; }
43325 cat >conftest.$ac_ext <<_ACEOF
43326 /* confdefs.h. */
43327 _ACEOF
43328 cat confdefs.h >>conftest.$ac_ext
43329 cat >>conftest.$ac_ext <<_ACEOF
43330 /* end confdefs.h. */
43331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43333 #define $ac_func innocuous_$ac_func
43335 /* System header to define __stub macros and hopefully few prototypes,
43336 which can conflict with char $ac_func (); below.
43337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43338 <limits.h> exists even on freestanding compilers. */
43340 #ifdef __STDC__
43341 # include <limits.h>
43342 #else
43343 # include <assert.h>
43344 #endif
43346 #undef $ac_func
43348 /* Override any gcc2 internal prototype to avoid an error. */
43349 #ifdef __cplusplus
43350 extern "C"
43352 #endif
43353 /* We use char because int might match the return type of a gcc2
43354 builtin and then its argument prototype would still apply. */
43355 char $ac_func ();
43356 /* The GNU C library defines this for functions which it implements
43357 to always fail with ENOSYS. Some functions are actually named
43358 something starting with __ and the normal name is an alias. */
43359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43360 choke me
43361 #else
43362 char (*f) () = $ac_func;
43363 #endif
43364 #ifdef __cplusplus
43366 #endif
43369 main ()
43371 return f != $ac_func;
43373 return 0;
43375 _ACEOF
43376 rm -f conftest.$ac_objext conftest$ac_exeext
43377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43378 (eval $ac_link) 2>conftest.er1
43379 ac_status=$?
43380 grep -v '^ *+' conftest.er1 >conftest.err
43381 rm -f conftest.er1
43382 cat conftest.err >&5
43383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43384 (exit $ac_status); } &&
43385 { ac_try='test -z "$ac_c_werror_flag"
43386 || test ! -s conftest.err'
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); }; } &&
43392 { ac_try='test -s conftest$ac_exeext'
43393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43394 (eval $ac_try) 2>&5
43395 ac_status=$?
43396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43397 (exit $ac_status); }; }; then
43398 eval "$as_ac_var=yes"
43399 else
43400 echo "$as_me: failed program was:" >&5
43401 sed 's/^/| /' conftest.$ac_ext >&5
43403 eval "$as_ac_var=no"
43405 rm -f conftest.err conftest.$ac_objext \
43406 conftest$ac_exeext conftest.$ac_ext
43408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43410 if test `eval echo '${'$as_ac_var'}'` = yes; then
43411 cat >>confdefs.h <<_ACEOF
43412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43413 _ACEOF
43416 done
43418 else
43420 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
43421 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
43422 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
43423 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
43424 echo $ECHO_N "(cached) $ECHO_C" >&6
43425 else
43429 ac_ext=cc
43430 ac_cpp='$CXXCPP $CPPFLAGS'
43431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43435 cat >conftest.$ac_ext <<_ACEOF
43436 /* confdefs.h. */
43437 _ACEOF
43438 cat confdefs.h >>conftest.$ac_ext
43439 cat >>conftest.$ac_ext <<_ACEOF
43440 /* end confdefs.h. */
43441 #include <math.h>
43443 main ()
43445 _sincos(0, 0, 0);
43447 return 0;
43449 _ACEOF
43450 rm -f conftest.$ac_objext
43451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43452 (eval $ac_compile) 2>conftest.er1
43453 ac_status=$?
43454 grep -v '^ *+' conftest.er1 >conftest.err
43455 rm -f conftest.er1
43456 cat conftest.err >&5
43457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43458 (exit $ac_status); } &&
43459 { ac_try='test -z "$ac_cxx_werror_flag"
43460 || test ! -s conftest.err'
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); }; } &&
43466 { ac_try='test -s conftest.$ac_objext'
43467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43468 (eval $ac_try) 2>&5
43469 ac_status=$?
43470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43471 (exit $ac_status); }; }; then
43472 glibcxx_cv_func__sincos_use=yes
43473 else
43474 echo "$as_me: failed program was:" >&5
43475 sed 's/^/| /' conftest.$ac_ext >&5
43477 glibcxx_cv_func__sincos_use=no
43479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43480 ac_ext=c
43481 ac_cpp='$CPP $CPPFLAGS'
43482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43490 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
43491 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
43493 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
43495 for ac_func in _sincos
43497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43498 echo "$as_me:$LINENO: checking for $ac_func" >&5
43499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43500 if eval "test \"\${$as_ac_var+set}\" = set"; then
43501 echo $ECHO_N "(cached) $ECHO_C" >&6
43502 else
43503 if test x$gcc_no_link = xyes; then
43504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43506 { (exit 1); exit 1; }; }
43508 cat >conftest.$ac_ext <<_ACEOF
43509 /* confdefs.h. */
43510 _ACEOF
43511 cat confdefs.h >>conftest.$ac_ext
43512 cat >>conftest.$ac_ext <<_ACEOF
43513 /* end confdefs.h. */
43514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43516 #define $ac_func innocuous_$ac_func
43518 /* System header to define __stub macros and hopefully few prototypes,
43519 which can conflict with char $ac_func (); below.
43520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43521 <limits.h> exists even on freestanding compilers. */
43523 #ifdef __STDC__
43524 # include <limits.h>
43525 #else
43526 # include <assert.h>
43527 #endif
43529 #undef $ac_func
43531 /* Override any gcc2 internal prototype to avoid an error. */
43532 #ifdef __cplusplus
43533 extern "C"
43535 #endif
43536 /* We use char because int might match the return type of a gcc2
43537 builtin and then its argument prototype would still apply. */
43538 char $ac_func ();
43539 /* The GNU C library defines this for functions which it implements
43540 to always fail with ENOSYS. Some functions are actually named
43541 something starting with __ and the normal name is an alias. */
43542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43543 choke me
43544 #else
43545 char (*f) () = $ac_func;
43546 #endif
43547 #ifdef __cplusplus
43549 #endif
43552 main ()
43554 return f != $ac_func;
43556 return 0;
43558 _ACEOF
43559 rm -f conftest.$ac_objext conftest$ac_exeext
43560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43561 (eval $ac_link) 2>conftest.er1
43562 ac_status=$?
43563 grep -v '^ *+' conftest.er1 >conftest.err
43564 rm -f conftest.er1
43565 cat conftest.err >&5
43566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43567 (exit $ac_status); } &&
43568 { ac_try='test -z "$ac_c_werror_flag"
43569 || test ! -s conftest.err'
43570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43571 (eval $ac_try) 2>&5
43572 ac_status=$?
43573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43574 (exit $ac_status); }; } &&
43575 { ac_try='test -s conftest$ac_exeext'
43576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43577 (eval $ac_try) 2>&5
43578 ac_status=$?
43579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43580 (exit $ac_status); }; }; then
43581 eval "$as_ac_var=yes"
43582 else
43583 echo "$as_me: failed program was:" >&5
43584 sed 's/^/| /' conftest.$ac_ext >&5
43586 eval "$as_ac_var=no"
43588 rm -f conftest.err conftest.$ac_objext \
43589 conftest$ac_exeext conftest.$ac_ext
43591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43593 if test `eval echo '${'$as_ac_var'}'` = yes; then
43594 cat >>confdefs.h <<_ACEOF
43595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43596 _ACEOF
43599 done
43609 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
43610 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
43611 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
43612 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
43613 echo $ECHO_N "(cached) $ECHO_C" >&6
43614 else
43618 ac_ext=cc
43619 ac_cpp='$CXXCPP $CPPFLAGS'
43620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43624 cat >conftest.$ac_ext <<_ACEOF
43625 /* confdefs.h. */
43626 _ACEOF
43627 cat confdefs.h >>conftest.$ac_ext
43628 cat >>conftest.$ac_ext <<_ACEOF
43629 /* end confdefs.h. */
43630 #include <math.h>
43631 #ifdef HAVE_IEEEFP_H
43632 #include <ieeefp.h>
43633 #endif
43636 main ()
43638 fpclass(0);
43640 return 0;
43642 _ACEOF
43643 rm -f conftest.$ac_objext
43644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43645 (eval $ac_compile) 2>conftest.er1
43646 ac_status=$?
43647 grep -v '^ *+' conftest.er1 >conftest.err
43648 rm -f conftest.er1
43649 cat conftest.err >&5
43650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43651 (exit $ac_status); } &&
43652 { ac_try='test -z "$ac_cxx_werror_flag"
43653 || test ! -s conftest.err'
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); }; } &&
43659 { ac_try='test -s conftest.$ac_objext'
43660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43661 (eval $ac_try) 2>&5
43662 ac_status=$?
43663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43664 (exit $ac_status); }; }; then
43665 glibcxx_cv_func_fpclass_use=yes
43666 else
43667 echo "$as_me: failed program was:" >&5
43668 sed 's/^/| /' conftest.$ac_ext >&5
43670 glibcxx_cv_func_fpclass_use=no
43672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43673 ac_ext=c
43674 ac_cpp='$CPP $CPPFLAGS'
43675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43683 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
43684 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
43686 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
43688 for ac_func in fpclass
43690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43691 echo "$as_me:$LINENO: checking for $ac_func" >&5
43692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43693 if eval "test \"\${$as_ac_var+set}\" = set"; then
43694 echo $ECHO_N "(cached) $ECHO_C" >&6
43695 else
43696 if test x$gcc_no_link = xyes; then
43697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43699 { (exit 1); exit 1; }; }
43701 cat >conftest.$ac_ext <<_ACEOF
43702 /* confdefs.h. */
43703 _ACEOF
43704 cat confdefs.h >>conftest.$ac_ext
43705 cat >>conftest.$ac_ext <<_ACEOF
43706 /* end confdefs.h. */
43707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43709 #define $ac_func innocuous_$ac_func
43711 /* System header to define __stub macros and hopefully few prototypes,
43712 which can conflict with char $ac_func (); below.
43713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43714 <limits.h> exists even on freestanding compilers. */
43716 #ifdef __STDC__
43717 # include <limits.h>
43718 #else
43719 # include <assert.h>
43720 #endif
43722 #undef $ac_func
43724 /* Override any gcc2 internal prototype to avoid an error. */
43725 #ifdef __cplusplus
43726 extern "C"
43728 #endif
43729 /* We use char because int might match the return type of a gcc2
43730 builtin and then its argument prototype would still apply. */
43731 char $ac_func ();
43732 /* The GNU C library defines this for functions which it implements
43733 to always fail with ENOSYS. Some functions are actually named
43734 something starting with __ and the normal name is an alias. */
43735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43736 choke me
43737 #else
43738 char (*f) () = $ac_func;
43739 #endif
43740 #ifdef __cplusplus
43742 #endif
43745 main ()
43747 return f != $ac_func;
43749 return 0;
43751 _ACEOF
43752 rm -f conftest.$ac_objext conftest$ac_exeext
43753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43754 (eval $ac_link) 2>conftest.er1
43755 ac_status=$?
43756 grep -v '^ *+' conftest.er1 >conftest.err
43757 rm -f conftest.er1
43758 cat conftest.err >&5
43759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43760 (exit $ac_status); } &&
43761 { ac_try='test -z "$ac_c_werror_flag"
43762 || test ! -s conftest.err'
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); }; } &&
43768 { ac_try='test -s conftest$ac_exeext'
43769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43770 (eval $ac_try) 2>&5
43771 ac_status=$?
43772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43773 (exit $ac_status); }; }; then
43774 eval "$as_ac_var=yes"
43775 else
43776 echo "$as_me: failed program was:" >&5
43777 sed 's/^/| /' conftest.$ac_ext >&5
43779 eval "$as_ac_var=no"
43781 rm -f conftest.err conftest.$ac_objext \
43782 conftest$ac_exeext conftest.$ac_ext
43784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43786 if test `eval echo '${'$as_ac_var'}'` = yes; then
43787 cat >>confdefs.h <<_ACEOF
43788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43789 _ACEOF
43792 done
43794 else
43796 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
43797 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
43798 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
43799 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
43800 echo $ECHO_N "(cached) $ECHO_C" >&6
43801 else
43805 ac_ext=cc
43806 ac_cpp='$CXXCPP $CPPFLAGS'
43807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43811 cat >conftest.$ac_ext <<_ACEOF
43812 /* confdefs.h. */
43813 _ACEOF
43814 cat confdefs.h >>conftest.$ac_ext
43815 cat >>conftest.$ac_ext <<_ACEOF
43816 /* end confdefs.h. */
43817 #include <math.h>
43818 #ifdef HAVE_IEEEFP_H
43819 #include <ieeefp.h>
43820 #endif
43823 main ()
43825 _fpclass(0);
43827 return 0;
43829 _ACEOF
43830 rm -f conftest.$ac_objext
43831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43832 (eval $ac_compile) 2>conftest.er1
43833 ac_status=$?
43834 grep -v '^ *+' conftest.er1 >conftest.err
43835 rm -f conftest.er1
43836 cat conftest.err >&5
43837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43838 (exit $ac_status); } &&
43839 { ac_try='test -z "$ac_cxx_werror_flag"
43840 || test ! -s conftest.err'
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); }; } &&
43846 { ac_try='test -s conftest.$ac_objext'
43847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43848 (eval $ac_try) 2>&5
43849 ac_status=$?
43850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43851 (exit $ac_status); }; }; then
43852 glibcxx_cv_func__fpclass_use=yes
43853 else
43854 echo "$as_me: failed program was:" >&5
43855 sed 's/^/| /' conftest.$ac_ext >&5
43857 glibcxx_cv_func__fpclass_use=no
43859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43860 ac_ext=c
43861 ac_cpp='$CPP $CPPFLAGS'
43862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43870 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
43871 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
43873 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
43875 for ac_func in _fpclass
43877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43878 echo "$as_me:$LINENO: checking for $ac_func" >&5
43879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43880 if eval "test \"\${$as_ac_var+set}\" = set"; then
43881 echo $ECHO_N "(cached) $ECHO_C" >&6
43882 else
43883 if test x$gcc_no_link = xyes; then
43884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43886 { (exit 1); exit 1; }; }
43888 cat >conftest.$ac_ext <<_ACEOF
43889 /* confdefs.h. */
43890 _ACEOF
43891 cat confdefs.h >>conftest.$ac_ext
43892 cat >>conftest.$ac_ext <<_ACEOF
43893 /* end confdefs.h. */
43894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43896 #define $ac_func innocuous_$ac_func
43898 /* System header to define __stub macros and hopefully few prototypes,
43899 which can conflict with char $ac_func (); below.
43900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43901 <limits.h> exists even on freestanding compilers. */
43903 #ifdef __STDC__
43904 # include <limits.h>
43905 #else
43906 # include <assert.h>
43907 #endif
43909 #undef $ac_func
43911 /* Override any gcc2 internal prototype to avoid an error. */
43912 #ifdef __cplusplus
43913 extern "C"
43915 #endif
43916 /* We use char because int might match the return type of a gcc2
43917 builtin and then its argument prototype would still apply. */
43918 char $ac_func ();
43919 /* The GNU C library defines this for functions which it implements
43920 to always fail with ENOSYS. Some functions are actually named
43921 something starting with __ and the normal name is an alias. */
43922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43923 choke me
43924 #else
43925 char (*f) () = $ac_func;
43926 #endif
43927 #ifdef __cplusplus
43929 #endif
43932 main ()
43934 return f != $ac_func;
43936 return 0;
43938 _ACEOF
43939 rm -f conftest.$ac_objext conftest$ac_exeext
43940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43941 (eval $ac_link) 2>conftest.er1
43942 ac_status=$?
43943 grep -v '^ *+' conftest.er1 >conftest.err
43944 rm -f conftest.er1
43945 cat conftest.err >&5
43946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43947 (exit $ac_status); } &&
43948 { ac_try='test -z "$ac_c_werror_flag"
43949 || test ! -s conftest.err'
43950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43951 (eval $ac_try) 2>&5
43952 ac_status=$?
43953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43954 (exit $ac_status); }; } &&
43955 { ac_try='test -s conftest$ac_exeext'
43956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43957 (eval $ac_try) 2>&5
43958 ac_status=$?
43959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43960 (exit $ac_status); }; }; then
43961 eval "$as_ac_var=yes"
43962 else
43963 echo "$as_me: failed program was:" >&5
43964 sed 's/^/| /' conftest.$ac_ext >&5
43966 eval "$as_ac_var=no"
43968 rm -f conftest.err conftest.$ac_objext \
43969 conftest$ac_exeext conftest.$ac_ext
43971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43973 if test `eval echo '${'$as_ac_var'}'` = yes; then
43974 cat >>confdefs.h <<_ACEOF
43975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43976 _ACEOF
43979 done
43989 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
43990 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
43991 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
43992 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
43993 echo $ECHO_N "(cached) $ECHO_C" >&6
43994 else
43998 ac_ext=cc
43999 ac_cpp='$CXXCPP $CPPFLAGS'
44000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44004 cat >conftest.$ac_ext <<_ACEOF
44005 /* confdefs.h. */
44006 _ACEOF
44007 cat confdefs.h >>conftest.$ac_ext
44008 cat >>conftest.$ac_ext <<_ACEOF
44009 /* end confdefs.h. */
44010 #include <math.h>
44011 #ifdef HAVE_IEEEFP_H
44012 #include <ieeefp.h>
44013 #endif
44016 main ()
44018 qfpclass(0);
44020 return 0;
44022 _ACEOF
44023 rm -f conftest.$ac_objext
44024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44025 (eval $ac_compile) 2>conftest.er1
44026 ac_status=$?
44027 grep -v '^ *+' conftest.er1 >conftest.err
44028 rm -f conftest.er1
44029 cat conftest.err >&5
44030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44031 (exit $ac_status); } &&
44032 { ac_try='test -z "$ac_cxx_werror_flag"
44033 || test ! -s conftest.err'
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); }; } &&
44039 { ac_try='test -s conftest.$ac_objext'
44040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44041 (eval $ac_try) 2>&5
44042 ac_status=$?
44043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44044 (exit $ac_status); }; }; then
44045 glibcxx_cv_func_qfpclass_use=yes
44046 else
44047 echo "$as_me: failed program was:" >&5
44048 sed 's/^/| /' conftest.$ac_ext >&5
44050 glibcxx_cv_func_qfpclass_use=no
44052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44053 ac_ext=c
44054 ac_cpp='$CPP $CPPFLAGS'
44055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44063 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
44064 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
44066 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
44068 for ac_func in qfpclass
44070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44071 echo "$as_me:$LINENO: checking for $ac_func" >&5
44072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44073 if eval "test \"\${$as_ac_var+set}\" = set"; then
44074 echo $ECHO_N "(cached) $ECHO_C" >&6
44075 else
44076 if test x$gcc_no_link = xyes; then
44077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44079 { (exit 1); exit 1; }; }
44081 cat >conftest.$ac_ext <<_ACEOF
44082 /* confdefs.h. */
44083 _ACEOF
44084 cat confdefs.h >>conftest.$ac_ext
44085 cat >>conftest.$ac_ext <<_ACEOF
44086 /* end confdefs.h. */
44087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44089 #define $ac_func innocuous_$ac_func
44091 /* System header to define __stub macros and hopefully few prototypes,
44092 which can conflict with char $ac_func (); below.
44093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44094 <limits.h> exists even on freestanding compilers. */
44096 #ifdef __STDC__
44097 # include <limits.h>
44098 #else
44099 # include <assert.h>
44100 #endif
44102 #undef $ac_func
44104 /* Override any gcc2 internal prototype to avoid an error. */
44105 #ifdef __cplusplus
44106 extern "C"
44108 #endif
44109 /* We use char because int might match the return type of a gcc2
44110 builtin and then its argument prototype would still apply. */
44111 char $ac_func ();
44112 /* The GNU C library defines this for functions which it implements
44113 to always fail with ENOSYS. Some functions are actually named
44114 something starting with __ and the normal name is an alias. */
44115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44116 choke me
44117 #else
44118 char (*f) () = $ac_func;
44119 #endif
44120 #ifdef __cplusplus
44122 #endif
44125 main ()
44127 return f != $ac_func;
44129 return 0;
44131 _ACEOF
44132 rm -f conftest.$ac_objext conftest$ac_exeext
44133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44134 (eval $ac_link) 2>conftest.er1
44135 ac_status=$?
44136 grep -v '^ *+' conftest.er1 >conftest.err
44137 rm -f conftest.er1
44138 cat conftest.err >&5
44139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44140 (exit $ac_status); } &&
44141 { ac_try='test -z "$ac_c_werror_flag"
44142 || test ! -s conftest.err'
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); }; } &&
44148 { ac_try='test -s conftest$ac_exeext'
44149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44150 (eval $ac_try) 2>&5
44151 ac_status=$?
44152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44153 (exit $ac_status); }; }; then
44154 eval "$as_ac_var=yes"
44155 else
44156 echo "$as_me: failed program was:" >&5
44157 sed 's/^/| /' conftest.$ac_ext >&5
44159 eval "$as_ac_var=no"
44161 rm -f conftest.err conftest.$ac_objext \
44162 conftest$ac_exeext conftest.$ac_ext
44164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44166 if test `eval echo '${'$as_ac_var'}'` = yes; then
44167 cat >>confdefs.h <<_ACEOF
44168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44169 _ACEOF
44172 done
44174 else
44176 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
44177 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
44178 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
44179 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
44180 echo $ECHO_N "(cached) $ECHO_C" >&6
44181 else
44185 ac_ext=cc
44186 ac_cpp='$CXXCPP $CPPFLAGS'
44187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44191 cat >conftest.$ac_ext <<_ACEOF
44192 /* confdefs.h. */
44193 _ACEOF
44194 cat confdefs.h >>conftest.$ac_ext
44195 cat >>conftest.$ac_ext <<_ACEOF
44196 /* end confdefs.h. */
44197 #include <math.h>
44198 #ifdef HAVE_IEEEFP_H
44199 #include <ieeefp.h>
44200 #endif
44203 main ()
44205 _qfpclass(0);
44207 return 0;
44209 _ACEOF
44210 rm -f conftest.$ac_objext
44211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44212 (eval $ac_compile) 2>conftest.er1
44213 ac_status=$?
44214 grep -v '^ *+' conftest.er1 >conftest.err
44215 rm -f conftest.er1
44216 cat conftest.err >&5
44217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44218 (exit $ac_status); } &&
44219 { ac_try='test -z "$ac_cxx_werror_flag"
44220 || test ! -s conftest.err'
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); }; } &&
44226 { ac_try='test -s conftest.$ac_objext'
44227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44228 (eval $ac_try) 2>&5
44229 ac_status=$?
44230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44231 (exit $ac_status); }; }; then
44232 glibcxx_cv_func__qfpclass_use=yes
44233 else
44234 echo "$as_me: failed program was:" >&5
44235 sed 's/^/| /' conftest.$ac_ext >&5
44237 glibcxx_cv_func__qfpclass_use=no
44239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44240 ac_ext=c
44241 ac_cpp='$CPP $CPPFLAGS'
44242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44250 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
44251 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
44253 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
44255 for ac_func in _qfpclass
44257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44258 echo "$as_me:$LINENO: checking for $ac_func" >&5
44259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44260 if eval "test \"\${$as_ac_var+set}\" = set"; then
44261 echo $ECHO_N "(cached) $ECHO_C" >&6
44262 else
44263 if test x$gcc_no_link = xyes; then
44264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44266 { (exit 1); exit 1; }; }
44268 cat >conftest.$ac_ext <<_ACEOF
44269 /* confdefs.h. */
44270 _ACEOF
44271 cat confdefs.h >>conftest.$ac_ext
44272 cat >>conftest.$ac_ext <<_ACEOF
44273 /* end confdefs.h. */
44274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44276 #define $ac_func innocuous_$ac_func
44278 /* System header to define __stub macros and hopefully few prototypes,
44279 which can conflict with char $ac_func (); below.
44280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44281 <limits.h> exists even on freestanding compilers. */
44283 #ifdef __STDC__
44284 # include <limits.h>
44285 #else
44286 # include <assert.h>
44287 #endif
44289 #undef $ac_func
44291 /* Override any gcc2 internal prototype to avoid an error. */
44292 #ifdef __cplusplus
44293 extern "C"
44295 #endif
44296 /* We use char because int might match the return type of a gcc2
44297 builtin and then its argument prototype would still apply. */
44298 char $ac_func ();
44299 /* The GNU C library defines this for functions which it implements
44300 to always fail with ENOSYS. Some functions are actually named
44301 something starting with __ and the normal name is an alias. */
44302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44303 choke me
44304 #else
44305 char (*f) () = $ac_func;
44306 #endif
44307 #ifdef __cplusplus
44309 #endif
44312 main ()
44314 return f != $ac_func;
44316 return 0;
44318 _ACEOF
44319 rm -f conftest.$ac_objext conftest$ac_exeext
44320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44321 (eval $ac_link) 2>conftest.er1
44322 ac_status=$?
44323 grep -v '^ *+' conftest.er1 >conftest.err
44324 rm -f conftest.er1
44325 cat conftest.err >&5
44326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44327 (exit $ac_status); } &&
44328 { ac_try='test -z "$ac_c_werror_flag"
44329 || test ! -s conftest.err'
44330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44331 (eval $ac_try) 2>&5
44332 ac_status=$?
44333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44334 (exit $ac_status); }; } &&
44335 { ac_try='test -s conftest$ac_exeext'
44336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44337 (eval $ac_try) 2>&5
44338 ac_status=$?
44339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44340 (exit $ac_status); }; }; then
44341 eval "$as_ac_var=yes"
44342 else
44343 echo "$as_me: failed program was:" >&5
44344 sed 's/^/| /' conftest.$ac_ext >&5
44346 eval "$as_ac_var=no"
44348 rm -f conftest.err conftest.$ac_objext \
44349 conftest$ac_exeext conftest.$ac_ext
44351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44353 if test `eval echo '${'$as_ac_var'}'` = yes; then
44354 cat >>confdefs.h <<_ACEOF
44355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44356 _ACEOF
44359 done
44369 echo "$as_me:$LINENO: checking for hypot declaration" >&5
44370 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
44371 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
44372 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
44373 echo $ECHO_N "(cached) $ECHO_C" >&6
44374 else
44378 ac_ext=cc
44379 ac_cpp='$CXXCPP $CPPFLAGS'
44380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44384 cat >conftest.$ac_ext <<_ACEOF
44385 /* confdefs.h. */
44386 _ACEOF
44387 cat confdefs.h >>conftest.$ac_ext
44388 cat >>conftest.$ac_ext <<_ACEOF
44389 /* end confdefs.h. */
44390 #include <math.h>
44392 main ()
44394 hypot(0, 0);
44396 return 0;
44398 _ACEOF
44399 rm -f conftest.$ac_objext
44400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44401 (eval $ac_compile) 2>conftest.er1
44402 ac_status=$?
44403 grep -v '^ *+' conftest.er1 >conftest.err
44404 rm -f conftest.er1
44405 cat conftest.err >&5
44406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44407 (exit $ac_status); } &&
44408 { ac_try='test -z "$ac_cxx_werror_flag"
44409 || test ! -s conftest.err'
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); }; } &&
44415 { ac_try='test -s conftest.$ac_objext'
44416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44417 (eval $ac_try) 2>&5
44418 ac_status=$?
44419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44420 (exit $ac_status); }; }; then
44421 glibcxx_cv_func_hypot_use=yes
44422 else
44423 echo "$as_me: failed program was:" >&5
44424 sed 's/^/| /' conftest.$ac_ext >&5
44426 glibcxx_cv_func_hypot_use=no
44428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44429 ac_ext=c
44430 ac_cpp='$CPP $CPPFLAGS'
44431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44439 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
44440 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
44442 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
44444 for ac_func in hypot
44446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44447 echo "$as_me:$LINENO: checking for $ac_func" >&5
44448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44449 if eval "test \"\${$as_ac_var+set}\" = set"; then
44450 echo $ECHO_N "(cached) $ECHO_C" >&6
44451 else
44452 if test x$gcc_no_link = xyes; then
44453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44455 { (exit 1); exit 1; }; }
44457 cat >conftest.$ac_ext <<_ACEOF
44458 /* confdefs.h. */
44459 _ACEOF
44460 cat confdefs.h >>conftest.$ac_ext
44461 cat >>conftest.$ac_ext <<_ACEOF
44462 /* end confdefs.h. */
44463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44465 #define $ac_func innocuous_$ac_func
44467 /* System header to define __stub macros and hopefully few prototypes,
44468 which can conflict with char $ac_func (); below.
44469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44470 <limits.h> exists even on freestanding compilers. */
44472 #ifdef __STDC__
44473 # include <limits.h>
44474 #else
44475 # include <assert.h>
44476 #endif
44478 #undef $ac_func
44480 /* Override any gcc2 internal prototype to avoid an error. */
44481 #ifdef __cplusplus
44482 extern "C"
44484 #endif
44485 /* We use char because int might match the return type of a gcc2
44486 builtin and then its argument prototype would still apply. */
44487 char $ac_func ();
44488 /* The GNU C library defines this for functions which it implements
44489 to always fail with ENOSYS. Some functions are actually named
44490 something starting with __ and the normal name is an alias. */
44491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44492 choke me
44493 #else
44494 char (*f) () = $ac_func;
44495 #endif
44496 #ifdef __cplusplus
44498 #endif
44501 main ()
44503 return f != $ac_func;
44505 return 0;
44507 _ACEOF
44508 rm -f conftest.$ac_objext conftest$ac_exeext
44509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44510 (eval $ac_link) 2>conftest.er1
44511 ac_status=$?
44512 grep -v '^ *+' conftest.er1 >conftest.err
44513 rm -f conftest.er1
44514 cat conftest.err >&5
44515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44516 (exit $ac_status); } &&
44517 { ac_try='test -z "$ac_c_werror_flag"
44518 || test ! -s conftest.err'
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); }; } &&
44524 { ac_try='test -s conftest$ac_exeext'
44525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44526 (eval $ac_try) 2>&5
44527 ac_status=$?
44528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44529 (exit $ac_status); }; }; then
44530 eval "$as_ac_var=yes"
44531 else
44532 echo "$as_me: failed program was:" >&5
44533 sed 's/^/| /' conftest.$ac_ext >&5
44535 eval "$as_ac_var=no"
44537 rm -f conftest.err conftest.$ac_objext \
44538 conftest$ac_exeext conftest.$ac_ext
44540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44542 if test `eval echo '${'$as_ac_var'}'` = yes; then
44543 cat >>confdefs.h <<_ACEOF
44544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44545 _ACEOF
44548 done
44550 else
44552 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
44553 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
44554 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
44555 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
44556 echo $ECHO_N "(cached) $ECHO_C" >&6
44557 else
44561 ac_ext=cc
44562 ac_cpp='$CXXCPP $CPPFLAGS'
44563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44567 cat >conftest.$ac_ext <<_ACEOF
44568 /* confdefs.h. */
44569 _ACEOF
44570 cat confdefs.h >>conftest.$ac_ext
44571 cat >>conftest.$ac_ext <<_ACEOF
44572 /* end confdefs.h. */
44573 #include <math.h>
44575 main ()
44577 _hypot(0, 0);
44579 return 0;
44581 _ACEOF
44582 rm -f conftest.$ac_objext
44583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44584 (eval $ac_compile) 2>conftest.er1
44585 ac_status=$?
44586 grep -v '^ *+' conftest.er1 >conftest.err
44587 rm -f conftest.er1
44588 cat conftest.err >&5
44589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44590 (exit $ac_status); } &&
44591 { ac_try='test -z "$ac_cxx_werror_flag"
44592 || test ! -s conftest.err'
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); }; } &&
44598 { ac_try='test -s conftest.$ac_objext'
44599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44600 (eval $ac_try) 2>&5
44601 ac_status=$?
44602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44603 (exit $ac_status); }; }; then
44604 glibcxx_cv_func__hypot_use=yes
44605 else
44606 echo "$as_me: failed program was:" >&5
44607 sed 's/^/| /' conftest.$ac_ext >&5
44609 glibcxx_cv_func__hypot_use=no
44611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44612 ac_ext=c
44613 ac_cpp='$CPP $CPPFLAGS'
44614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44622 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
44623 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
44625 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
44627 for ac_func in _hypot
44629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44630 echo "$as_me:$LINENO: checking for $ac_func" >&5
44631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44632 if eval "test \"\${$as_ac_var+set}\" = set"; then
44633 echo $ECHO_N "(cached) $ECHO_C" >&6
44634 else
44635 if test x$gcc_no_link = xyes; then
44636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44638 { (exit 1); exit 1; }; }
44640 cat >conftest.$ac_ext <<_ACEOF
44641 /* confdefs.h. */
44642 _ACEOF
44643 cat confdefs.h >>conftest.$ac_ext
44644 cat >>conftest.$ac_ext <<_ACEOF
44645 /* end confdefs.h. */
44646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44648 #define $ac_func innocuous_$ac_func
44650 /* System header to define __stub macros and hopefully few prototypes,
44651 which can conflict with char $ac_func (); below.
44652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44653 <limits.h> exists even on freestanding compilers. */
44655 #ifdef __STDC__
44656 # include <limits.h>
44657 #else
44658 # include <assert.h>
44659 #endif
44661 #undef $ac_func
44663 /* Override any gcc2 internal prototype to avoid an error. */
44664 #ifdef __cplusplus
44665 extern "C"
44667 #endif
44668 /* We use char because int might match the return type of a gcc2
44669 builtin and then its argument prototype would still apply. */
44670 char $ac_func ();
44671 /* The GNU C library defines this for functions which it implements
44672 to always fail with ENOSYS. Some functions are actually named
44673 something starting with __ and the normal name is an alias. */
44674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44675 choke me
44676 #else
44677 char (*f) () = $ac_func;
44678 #endif
44679 #ifdef __cplusplus
44681 #endif
44684 main ()
44686 return f != $ac_func;
44688 return 0;
44690 _ACEOF
44691 rm -f conftest.$ac_objext conftest$ac_exeext
44692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44693 (eval $ac_link) 2>conftest.er1
44694 ac_status=$?
44695 grep -v '^ *+' conftest.er1 >conftest.err
44696 rm -f conftest.er1
44697 cat conftest.err >&5
44698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44699 (exit $ac_status); } &&
44700 { ac_try='test -z "$ac_c_werror_flag"
44701 || test ! -s conftest.err'
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); }; } &&
44707 { ac_try='test -s conftest$ac_exeext'
44708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44709 (eval $ac_try) 2>&5
44710 ac_status=$?
44711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44712 (exit $ac_status); }; }; then
44713 eval "$as_ac_var=yes"
44714 else
44715 echo "$as_me: failed program was:" >&5
44716 sed 's/^/| /' conftest.$ac_ext >&5
44718 eval "$as_ac_var=no"
44720 rm -f conftest.err conftest.$ac_objext \
44721 conftest$ac_exeext conftest.$ac_ext
44723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44725 if test `eval echo '${'$as_ac_var'}'` = yes; then
44726 cat >>confdefs.h <<_ACEOF
44727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44728 _ACEOF
44731 done
44741 echo "$as_me:$LINENO: checking for float trig functions" >&5
44742 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
44743 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
44744 echo $ECHO_N "(cached) $ECHO_C" >&6
44745 else
44749 ac_ext=cc
44750 ac_cpp='$CXXCPP $CPPFLAGS'
44751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44755 cat >conftest.$ac_ext <<_ACEOF
44756 /* confdefs.h. */
44757 _ACEOF
44758 cat confdefs.h >>conftest.$ac_ext
44759 cat >>conftest.$ac_ext <<_ACEOF
44760 /* end confdefs.h. */
44761 #include <math.h>
44763 main ()
44765 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
44767 return 0;
44769 _ACEOF
44770 rm -f conftest.$ac_objext
44771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44772 (eval $ac_compile) 2>conftest.er1
44773 ac_status=$?
44774 grep -v '^ *+' conftest.er1 >conftest.err
44775 rm -f conftest.er1
44776 cat conftest.err >&5
44777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44778 (exit $ac_status); } &&
44779 { ac_try='test -z "$ac_cxx_werror_flag"
44780 || test ! -s conftest.err'
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); }; } &&
44786 { ac_try='test -s conftest.$ac_objext'
44787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44788 (eval $ac_try) 2>&5
44789 ac_status=$?
44790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44791 (exit $ac_status); }; }; then
44792 glibcxx_cv_func_float_trig_use=yes
44793 else
44794 echo "$as_me: failed program was:" >&5
44795 sed 's/^/| /' conftest.$ac_ext >&5
44797 glibcxx_cv_func_float_trig_use=no
44799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44800 ac_ext=c
44801 ac_cpp='$CPP $CPPFLAGS'
44802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44808 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
44809 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
44810 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
44820 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
44822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44823 echo "$as_me:$LINENO: checking for $ac_func" >&5
44824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44825 if eval "test \"\${$as_ac_var+set}\" = set"; then
44826 echo $ECHO_N "(cached) $ECHO_C" >&6
44827 else
44828 if test x$gcc_no_link = xyes; then
44829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44831 { (exit 1); exit 1; }; }
44833 cat >conftest.$ac_ext <<_ACEOF
44834 /* confdefs.h. */
44835 _ACEOF
44836 cat confdefs.h >>conftest.$ac_ext
44837 cat >>conftest.$ac_ext <<_ACEOF
44838 /* end confdefs.h. */
44839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44841 #define $ac_func innocuous_$ac_func
44843 /* System header to define __stub macros and hopefully few prototypes,
44844 which can conflict with char $ac_func (); below.
44845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44846 <limits.h> exists even on freestanding compilers. */
44848 #ifdef __STDC__
44849 # include <limits.h>
44850 #else
44851 # include <assert.h>
44852 #endif
44854 #undef $ac_func
44856 /* Override any gcc2 internal prototype to avoid an error. */
44857 #ifdef __cplusplus
44858 extern "C"
44860 #endif
44861 /* We use char because int might match the return type of a gcc2
44862 builtin and then its argument prototype would still apply. */
44863 char $ac_func ();
44864 /* The GNU C library defines this for functions which it implements
44865 to always fail with ENOSYS. Some functions are actually named
44866 something starting with __ and the normal name is an alias. */
44867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44868 choke me
44869 #else
44870 char (*f) () = $ac_func;
44871 #endif
44872 #ifdef __cplusplus
44874 #endif
44877 main ()
44879 return f != $ac_func;
44881 return 0;
44883 _ACEOF
44884 rm -f conftest.$ac_objext conftest$ac_exeext
44885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44886 (eval $ac_link) 2>conftest.er1
44887 ac_status=$?
44888 grep -v '^ *+' conftest.er1 >conftest.err
44889 rm -f conftest.er1
44890 cat conftest.err >&5
44891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44892 (exit $ac_status); } &&
44893 { ac_try='test -z "$ac_c_werror_flag"
44894 || test ! -s conftest.err'
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); }; } &&
44900 { ac_try='test -s conftest$ac_exeext'
44901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44902 (eval $ac_try) 2>&5
44903 ac_status=$?
44904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44905 (exit $ac_status); }; }; then
44906 eval "$as_ac_var=yes"
44907 else
44908 echo "$as_me: failed program was:" >&5
44909 sed 's/^/| /' conftest.$ac_ext >&5
44911 eval "$as_ac_var=no"
44913 rm -f conftest.err conftest.$ac_objext \
44914 conftest$ac_exeext conftest.$ac_ext
44916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44918 if test `eval echo '${'$as_ac_var'}'` = yes; then
44919 cat >>confdefs.h <<_ACEOF
44920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44921 _ACEOF
44924 done
44926 else
44927 echo "$as_me:$LINENO: checking for _float trig functions" >&5
44928 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
44929 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
44930 echo $ECHO_N "(cached) $ECHO_C" >&6
44931 else
44935 ac_ext=cc
44936 ac_cpp='$CXXCPP $CPPFLAGS'
44937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44941 cat >conftest.$ac_ext <<_ACEOF
44942 /* confdefs.h. */
44943 _ACEOF
44944 cat confdefs.h >>conftest.$ac_ext
44945 cat >>conftest.$ac_ext <<_ACEOF
44946 /* end confdefs.h. */
44947 #include <math.h>
44949 main ()
44951 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
44953 return 0;
44955 _ACEOF
44956 rm -f conftest.$ac_objext
44957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44958 (eval $ac_compile) 2>conftest.er1
44959 ac_status=$?
44960 grep -v '^ *+' conftest.er1 >conftest.err
44961 rm -f conftest.er1
44962 cat conftest.err >&5
44963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44964 (exit $ac_status); } &&
44965 { ac_try='test -z "$ac_cxx_werror_flag"
44966 || test ! -s conftest.err'
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); }; } &&
44972 { ac_try='test -s conftest.$ac_objext'
44973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44974 (eval $ac_try) 2>&5
44975 ac_status=$?
44976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44977 (exit $ac_status); }; }; then
44978 glibcxx_cv_func__float_trig_use=yes
44979 else
44980 echo "$as_me: failed program was:" >&5
44981 sed 's/^/| /' conftest.$ac_ext >&5
44983 glibcxx_cv_func__float_trig_use=no
44985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44986 ac_ext=c
44987 ac_cpp='$CPP $CPPFLAGS'
44988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44994 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
44995 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
44996 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45006 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45009 echo "$as_me:$LINENO: checking for $ac_func" >&5
45010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45011 if eval "test \"\${$as_ac_var+set}\" = set"; then
45012 echo $ECHO_N "(cached) $ECHO_C" >&6
45013 else
45014 if test x$gcc_no_link = xyes; then
45015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45017 { (exit 1); exit 1; }; }
45019 cat >conftest.$ac_ext <<_ACEOF
45020 /* confdefs.h. */
45021 _ACEOF
45022 cat confdefs.h >>conftest.$ac_ext
45023 cat >>conftest.$ac_ext <<_ACEOF
45024 /* end confdefs.h. */
45025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45027 #define $ac_func innocuous_$ac_func
45029 /* System header to define __stub macros and hopefully few prototypes,
45030 which can conflict with char $ac_func (); below.
45031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45032 <limits.h> exists even on freestanding compilers. */
45034 #ifdef __STDC__
45035 # include <limits.h>
45036 #else
45037 # include <assert.h>
45038 #endif
45040 #undef $ac_func
45042 /* Override any gcc2 internal prototype to avoid an error. */
45043 #ifdef __cplusplus
45044 extern "C"
45046 #endif
45047 /* We use char because int might match the return type of a gcc2
45048 builtin and then its argument prototype would still apply. */
45049 char $ac_func ();
45050 /* The GNU C library defines this for functions which it implements
45051 to always fail with ENOSYS. Some functions are actually named
45052 something starting with __ and the normal name is an alias. */
45053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45054 choke me
45055 #else
45056 char (*f) () = $ac_func;
45057 #endif
45058 #ifdef __cplusplus
45060 #endif
45063 main ()
45065 return f != $ac_func;
45067 return 0;
45069 _ACEOF
45070 rm -f conftest.$ac_objext conftest$ac_exeext
45071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45072 (eval $ac_link) 2>conftest.er1
45073 ac_status=$?
45074 grep -v '^ *+' conftest.er1 >conftest.err
45075 rm -f conftest.er1
45076 cat conftest.err >&5
45077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45078 (exit $ac_status); } &&
45079 { ac_try='test -z "$ac_c_werror_flag"
45080 || test ! -s conftest.err'
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); }; } &&
45086 { ac_try='test -s conftest$ac_exeext'
45087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45088 (eval $ac_try) 2>&5
45089 ac_status=$?
45090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45091 (exit $ac_status); }; }; then
45092 eval "$as_ac_var=yes"
45093 else
45094 echo "$as_me: failed program was:" >&5
45095 sed 's/^/| /' conftest.$ac_ext >&5
45097 eval "$as_ac_var=no"
45099 rm -f conftest.err conftest.$ac_objext \
45100 conftest$ac_exeext conftest.$ac_ext
45102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45104 if test `eval echo '${'$as_ac_var'}'` = yes; then
45105 cat >>confdefs.h <<_ACEOF
45106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45107 _ACEOF
45110 done
45128 echo "$as_me:$LINENO: checking for float round functions" >&5
45129 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
45130 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
45131 echo $ECHO_N "(cached) $ECHO_C" >&6
45132 else
45136 ac_ext=cc
45137 ac_cpp='$CXXCPP $CPPFLAGS'
45138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45142 cat >conftest.$ac_ext <<_ACEOF
45143 /* confdefs.h. */
45144 _ACEOF
45145 cat confdefs.h >>conftest.$ac_ext
45146 cat >>conftest.$ac_ext <<_ACEOF
45147 /* end confdefs.h. */
45148 #include <math.h>
45150 main ()
45152 ceilf (0); floorf (0);
45154 return 0;
45156 _ACEOF
45157 rm -f conftest.$ac_objext
45158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45159 (eval $ac_compile) 2>conftest.er1
45160 ac_status=$?
45161 grep -v '^ *+' conftest.er1 >conftest.err
45162 rm -f conftest.er1
45163 cat conftest.err >&5
45164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45165 (exit $ac_status); } &&
45166 { ac_try='test -z "$ac_cxx_werror_flag"
45167 || test ! -s conftest.err'
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); }; } &&
45173 { ac_try='test -s conftest.$ac_objext'
45174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45175 (eval $ac_try) 2>&5
45176 ac_status=$?
45177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45178 (exit $ac_status); }; }; then
45179 glibcxx_cv_func_float_round_use=yes
45180 else
45181 echo "$as_me: failed program was:" >&5
45182 sed 's/^/| /' conftest.$ac_ext >&5
45184 glibcxx_cv_func_float_round_use=no
45186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45187 ac_ext=c
45188 ac_cpp='$CPP $CPPFLAGS'
45189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45195 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
45196 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
45197 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45200 for ac_func in ceilf floorf
45202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45203 echo "$as_me:$LINENO: checking for $ac_func" >&5
45204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45205 if eval "test \"\${$as_ac_var+set}\" = set"; then
45206 echo $ECHO_N "(cached) $ECHO_C" >&6
45207 else
45208 if test x$gcc_no_link = xyes; then
45209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45211 { (exit 1); exit 1; }; }
45213 cat >conftest.$ac_ext <<_ACEOF
45214 /* confdefs.h. */
45215 _ACEOF
45216 cat confdefs.h >>conftest.$ac_ext
45217 cat >>conftest.$ac_ext <<_ACEOF
45218 /* end confdefs.h. */
45219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45221 #define $ac_func innocuous_$ac_func
45223 /* System header to define __stub macros and hopefully few prototypes,
45224 which can conflict with char $ac_func (); below.
45225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45226 <limits.h> exists even on freestanding compilers. */
45228 #ifdef __STDC__
45229 # include <limits.h>
45230 #else
45231 # include <assert.h>
45232 #endif
45234 #undef $ac_func
45236 /* Override any gcc2 internal prototype to avoid an error. */
45237 #ifdef __cplusplus
45238 extern "C"
45240 #endif
45241 /* We use char because int might match the return type of a gcc2
45242 builtin and then its argument prototype would still apply. */
45243 char $ac_func ();
45244 /* The GNU C library defines this for functions which it implements
45245 to always fail with ENOSYS. Some functions are actually named
45246 something starting with __ and the normal name is an alias. */
45247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45248 choke me
45249 #else
45250 char (*f) () = $ac_func;
45251 #endif
45252 #ifdef __cplusplus
45254 #endif
45257 main ()
45259 return f != $ac_func;
45261 return 0;
45263 _ACEOF
45264 rm -f conftest.$ac_objext conftest$ac_exeext
45265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45266 (eval $ac_link) 2>conftest.er1
45267 ac_status=$?
45268 grep -v '^ *+' conftest.er1 >conftest.err
45269 rm -f conftest.er1
45270 cat conftest.err >&5
45271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45272 (exit $ac_status); } &&
45273 { ac_try='test -z "$ac_c_werror_flag"
45274 || test ! -s conftest.err'
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); }; } &&
45280 { ac_try='test -s conftest$ac_exeext'
45281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45282 (eval $ac_try) 2>&5
45283 ac_status=$?
45284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45285 (exit $ac_status); }; }; then
45286 eval "$as_ac_var=yes"
45287 else
45288 echo "$as_me: failed program was:" >&5
45289 sed 's/^/| /' conftest.$ac_ext >&5
45291 eval "$as_ac_var=no"
45293 rm -f conftest.err conftest.$ac_objext \
45294 conftest$ac_exeext conftest.$ac_ext
45296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45298 if test `eval echo '${'$as_ac_var'}'` = yes; then
45299 cat >>confdefs.h <<_ACEOF
45300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45301 _ACEOF
45304 done
45306 else
45307 echo "$as_me:$LINENO: checking for _float round functions" >&5
45308 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
45309 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
45310 echo $ECHO_N "(cached) $ECHO_C" >&6
45311 else
45315 ac_ext=cc
45316 ac_cpp='$CXXCPP $CPPFLAGS'
45317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45321 cat >conftest.$ac_ext <<_ACEOF
45322 /* confdefs.h. */
45323 _ACEOF
45324 cat confdefs.h >>conftest.$ac_ext
45325 cat >>conftest.$ac_ext <<_ACEOF
45326 /* end confdefs.h. */
45327 #include <math.h>
45329 main ()
45331 _ceilf (0); _floorf (0);
45333 return 0;
45335 _ACEOF
45336 rm -f conftest.$ac_objext
45337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45338 (eval $ac_compile) 2>conftest.er1
45339 ac_status=$?
45340 grep -v '^ *+' conftest.er1 >conftest.err
45341 rm -f conftest.er1
45342 cat conftest.err >&5
45343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45344 (exit $ac_status); } &&
45345 { ac_try='test -z "$ac_cxx_werror_flag"
45346 || test ! -s conftest.err'
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); }; } &&
45352 { ac_try='test -s conftest.$ac_objext'
45353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45354 (eval $ac_try) 2>&5
45355 ac_status=$?
45356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45357 (exit $ac_status); }; }; then
45358 glibcxx_cv_func__float_round_use=yes
45359 else
45360 echo "$as_me: failed program was:" >&5
45361 sed 's/^/| /' conftest.$ac_ext >&5
45363 glibcxx_cv_func__float_round_use=no
45365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45366 ac_ext=c
45367 ac_cpp='$CPP $CPPFLAGS'
45368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45374 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
45375 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
45376 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45379 for ac_func in _ceilf _floorf
45381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45382 echo "$as_me:$LINENO: checking for $ac_func" >&5
45383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45384 if eval "test \"\${$as_ac_var+set}\" = set"; then
45385 echo $ECHO_N "(cached) $ECHO_C" >&6
45386 else
45387 if test x$gcc_no_link = xyes; then
45388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45390 { (exit 1); exit 1; }; }
45392 cat >conftest.$ac_ext <<_ACEOF
45393 /* confdefs.h. */
45394 _ACEOF
45395 cat confdefs.h >>conftest.$ac_ext
45396 cat >>conftest.$ac_ext <<_ACEOF
45397 /* end confdefs.h. */
45398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45400 #define $ac_func innocuous_$ac_func
45402 /* System header to define __stub macros and hopefully few prototypes,
45403 which can conflict with char $ac_func (); below.
45404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45405 <limits.h> exists even on freestanding compilers. */
45407 #ifdef __STDC__
45408 # include <limits.h>
45409 #else
45410 # include <assert.h>
45411 #endif
45413 #undef $ac_func
45415 /* Override any gcc2 internal prototype to avoid an error. */
45416 #ifdef __cplusplus
45417 extern "C"
45419 #endif
45420 /* We use char because int might match the return type of a gcc2
45421 builtin and then its argument prototype would still apply. */
45422 char $ac_func ();
45423 /* The GNU C library defines this for functions which it implements
45424 to always fail with ENOSYS. Some functions are actually named
45425 something starting with __ and the normal name is an alias. */
45426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45427 choke me
45428 #else
45429 char (*f) () = $ac_func;
45430 #endif
45431 #ifdef __cplusplus
45433 #endif
45436 main ()
45438 return f != $ac_func;
45440 return 0;
45442 _ACEOF
45443 rm -f conftest.$ac_objext conftest$ac_exeext
45444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45445 (eval $ac_link) 2>conftest.er1
45446 ac_status=$?
45447 grep -v '^ *+' conftest.er1 >conftest.err
45448 rm -f conftest.er1
45449 cat conftest.err >&5
45450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45451 (exit $ac_status); } &&
45452 { ac_try='test -z "$ac_c_werror_flag"
45453 || test ! -s conftest.err'
45454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45455 (eval $ac_try) 2>&5
45456 ac_status=$?
45457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45458 (exit $ac_status); }; } &&
45459 { ac_try='test -s conftest$ac_exeext'
45460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45461 (eval $ac_try) 2>&5
45462 ac_status=$?
45463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45464 (exit $ac_status); }; }; then
45465 eval "$as_ac_var=yes"
45466 else
45467 echo "$as_me: failed program was:" >&5
45468 sed 's/^/| /' conftest.$ac_ext >&5
45470 eval "$as_ac_var=no"
45472 rm -f conftest.err conftest.$ac_objext \
45473 conftest$ac_exeext conftest.$ac_ext
45475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45477 if test `eval echo '${'$as_ac_var'}'` = yes; then
45478 cat >>confdefs.h <<_ACEOF
45479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45480 _ACEOF
45483 done
45495 echo "$as_me:$LINENO: checking for expf declaration" >&5
45496 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
45497 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45498 if test "${glibcxx_cv_func_expf_use+set}" = set; then
45499 echo $ECHO_N "(cached) $ECHO_C" >&6
45500 else
45504 ac_ext=cc
45505 ac_cpp='$CXXCPP $CPPFLAGS'
45506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45510 cat >conftest.$ac_ext <<_ACEOF
45511 /* confdefs.h. */
45512 _ACEOF
45513 cat confdefs.h >>conftest.$ac_ext
45514 cat >>conftest.$ac_ext <<_ACEOF
45515 /* end confdefs.h. */
45516 #include <math.h>
45517 #ifdef HAVE_IEEEFP_H
45518 #include <ieeefp.h>
45519 #endif
45522 main ()
45524 expf(0);
45526 return 0;
45528 _ACEOF
45529 rm -f conftest.$ac_objext
45530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45531 (eval $ac_compile) 2>conftest.er1
45532 ac_status=$?
45533 grep -v '^ *+' conftest.er1 >conftest.err
45534 rm -f conftest.er1
45535 cat conftest.err >&5
45536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45537 (exit $ac_status); } &&
45538 { ac_try='test -z "$ac_cxx_werror_flag"
45539 || test ! -s conftest.err'
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); }; } &&
45545 { ac_try='test -s conftest.$ac_objext'
45546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45547 (eval $ac_try) 2>&5
45548 ac_status=$?
45549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45550 (exit $ac_status); }; }; then
45551 glibcxx_cv_func_expf_use=yes
45552 else
45553 echo "$as_me: failed program was:" >&5
45554 sed 's/^/| /' conftest.$ac_ext >&5
45556 glibcxx_cv_func_expf_use=no
45558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45559 ac_ext=c
45560 ac_cpp='$CPP $CPPFLAGS'
45561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45569 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
45570 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
45572 if test x$glibcxx_cv_func_expf_use = x"yes"; then
45574 for ac_func in expf
45576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45577 echo "$as_me:$LINENO: checking for $ac_func" >&5
45578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45579 if eval "test \"\${$as_ac_var+set}\" = set"; then
45580 echo $ECHO_N "(cached) $ECHO_C" >&6
45581 else
45582 if test x$gcc_no_link = xyes; then
45583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45585 { (exit 1); exit 1; }; }
45587 cat >conftest.$ac_ext <<_ACEOF
45588 /* confdefs.h. */
45589 _ACEOF
45590 cat confdefs.h >>conftest.$ac_ext
45591 cat >>conftest.$ac_ext <<_ACEOF
45592 /* end confdefs.h. */
45593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45595 #define $ac_func innocuous_$ac_func
45597 /* System header to define __stub macros and hopefully few prototypes,
45598 which can conflict with char $ac_func (); below.
45599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45600 <limits.h> exists even on freestanding compilers. */
45602 #ifdef __STDC__
45603 # include <limits.h>
45604 #else
45605 # include <assert.h>
45606 #endif
45608 #undef $ac_func
45610 /* Override any gcc2 internal prototype to avoid an error. */
45611 #ifdef __cplusplus
45612 extern "C"
45614 #endif
45615 /* We use char because int might match the return type of a gcc2
45616 builtin and then its argument prototype would still apply. */
45617 char $ac_func ();
45618 /* The GNU C library defines this for functions which it implements
45619 to always fail with ENOSYS. Some functions are actually named
45620 something starting with __ and the normal name is an alias. */
45621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45622 choke me
45623 #else
45624 char (*f) () = $ac_func;
45625 #endif
45626 #ifdef __cplusplus
45628 #endif
45631 main ()
45633 return f != $ac_func;
45635 return 0;
45637 _ACEOF
45638 rm -f conftest.$ac_objext conftest$ac_exeext
45639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45640 (eval $ac_link) 2>conftest.er1
45641 ac_status=$?
45642 grep -v '^ *+' conftest.er1 >conftest.err
45643 rm -f conftest.er1
45644 cat conftest.err >&5
45645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45646 (exit $ac_status); } &&
45647 { ac_try='test -z "$ac_c_werror_flag"
45648 || test ! -s conftest.err'
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); }; } &&
45654 { ac_try='test -s conftest$ac_exeext'
45655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45656 (eval $ac_try) 2>&5
45657 ac_status=$?
45658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45659 (exit $ac_status); }; }; then
45660 eval "$as_ac_var=yes"
45661 else
45662 echo "$as_me: failed program was:" >&5
45663 sed 's/^/| /' conftest.$ac_ext >&5
45665 eval "$as_ac_var=no"
45667 rm -f conftest.err conftest.$ac_objext \
45668 conftest$ac_exeext conftest.$ac_ext
45670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45672 if test `eval echo '${'$as_ac_var'}'` = yes; then
45673 cat >>confdefs.h <<_ACEOF
45674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45675 _ACEOF
45678 done
45680 else
45682 echo "$as_me:$LINENO: checking for _expf declaration" >&5
45683 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
45684 if test x${glibcxx_cv_func__expf_use+set} != xset; then
45685 if test "${glibcxx_cv_func__expf_use+set}" = set; then
45686 echo $ECHO_N "(cached) $ECHO_C" >&6
45687 else
45691 ac_ext=cc
45692 ac_cpp='$CXXCPP $CPPFLAGS'
45693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45697 cat >conftest.$ac_ext <<_ACEOF
45698 /* confdefs.h. */
45699 _ACEOF
45700 cat confdefs.h >>conftest.$ac_ext
45701 cat >>conftest.$ac_ext <<_ACEOF
45702 /* end confdefs.h. */
45703 #include <math.h>
45704 #ifdef HAVE_IEEEFP_H
45705 #include <ieeefp.h>
45706 #endif
45709 main ()
45711 _expf(0);
45713 return 0;
45715 _ACEOF
45716 rm -f conftest.$ac_objext
45717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45718 (eval $ac_compile) 2>conftest.er1
45719 ac_status=$?
45720 grep -v '^ *+' conftest.er1 >conftest.err
45721 rm -f conftest.er1
45722 cat conftest.err >&5
45723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45724 (exit $ac_status); } &&
45725 { ac_try='test -z "$ac_cxx_werror_flag"
45726 || test ! -s conftest.err'
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); }; } &&
45732 { ac_try='test -s conftest.$ac_objext'
45733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45734 (eval $ac_try) 2>&5
45735 ac_status=$?
45736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45737 (exit $ac_status); }; }; then
45738 glibcxx_cv_func__expf_use=yes
45739 else
45740 echo "$as_me: failed program was:" >&5
45741 sed 's/^/| /' conftest.$ac_ext >&5
45743 glibcxx_cv_func__expf_use=no
45745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45746 ac_ext=c
45747 ac_cpp='$CPP $CPPFLAGS'
45748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45756 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
45757 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
45759 if test x$glibcxx_cv_func__expf_use = x"yes"; then
45761 for ac_func in _expf
45763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45764 echo "$as_me:$LINENO: checking for $ac_func" >&5
45765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45766 if eval "test \"\${$as_ac_var+set}\" = set"; then
45767 echo $ECHO_N "(cached) $ECHO_C" >&6
45768 else
45769 if test x$gcc_no_link = xyes; then
45770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45772 { (exit 1); exit 1; }; }
45774 cat >conftest.$ac_ext <<_ACEOF
45775 /* confdefs.h. */
45776 _ACEOF
45777 cat confdefs.h >>conftest.$ac_ext
45778 cat >>conftest.$ac_ext <<_ACEOF
45779 /* end confdefs.h. */
45780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45782 #define $ac_func innocuous_$ac_func
45784 /* System header to define __stub macros and hopefully few prototypes,
45785 which can conflict with char $ac_func (); below.
45786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45787 <limits.h> exists even on freestanding compilers. */
45789 #ifdef __STDC__
45790 # include <limits.h>
45791 #else
45792 # include <assert.h>
45793 #endif
45795 #undef $ac_func
45797 /* Override any gcc2 internal prototype to avoid an error. */
45798 #ifdef __cplusplus
45799 extern "C"
45801 #endif
45802 /* We use char because int might match the return type of a gcc2
45803 builtin and then its argument prototype would still apply. */
45804 char $ac_func ();
45805 /* The GNU C library defines this for functions which it implements
45806 to always fail with ENOSYS. Some functions are actually named
45807 something starting with __ and the normal name is an alias. */
45808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45809 choke me
45810 #else
45811 char (*f) () = $ac_func;
45812 #endif
45813 #ifdef __cplusplus
45815 #endif
45818 main ()
45820 return f != $ac_func;
45822 return 0;
45824 _ACEOF
45825 rm -f conftest.$ac_objext conftest$ac_exeext
45826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45827 (eval $ac_link) 2>conftest.er1
45828 ac_status=$?
45829 grep -v '^ *+' conftest.er1 >conftest.err
45830 rm -f conftest.er1
45831 cat conftest.err >&5
45832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45833 (exit $ac_status); } &&
45834 { ac_try='test -z "$ac_c_werror_flag"
45835 || test ! -s conftest.err'
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); }; } &&
45841 { ac_try='test -s conftest$ac_exeext'
45842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45843 (eval $ac_try) 2>&5
45844 ac_status=$?
45845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45846 (exit $ac_status); }; }; then
45847 eval "$as_ac_var=yes"
45848 else
45849 echo "$as_me: failed program was:" >&5
45850 sed 's/^/| /' conftest.$ac_ext >&5
45852 eval "$as_ac_var=no"
45854 rm -f conftest.err conftest.$ac_objext \
45855 conftest$ac_exeext conftest.$ac_ext
45857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45859 if test `eval echo '${'$as_ac_var'}'` = yes; then
45860 cat >>confdefs.h <<_ACEOF
45861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45862 _ACEOF
45865 done
45875 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
45876 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
45877 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
45878 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
45879 echo $ECHO_N "(cached) $ECHO_C" >&6
45880 else
45884 ac_ext=cc
45885 ac_cpp='$CXXCPP $CPPFLAGS'
45886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45890 cat >conftest.$ac_ext <<_ACEOF
45891 /* confdefs.h. */
45892 _ACEOF
45893 cat confdefs.h >>conftest.$ac_ext
45894 cat >>conftest.$ac_ext <<_ACEOF
45895 /* end confdefs.h. */
45896 #include <math.h>
45897 #ifdef HAVE_IEEEFP_H
45898 #include <ieeefp.h>
45899 #endif
45902 main ()
45904 isnanf(0);
45906 return 0;
45908 _ACEOF
45909 rm -f conftest.$ac_objext
45910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45911 (eval $ac_compile) 2>conftest.er1
45912 ac_status=$?
45913 grep -v '^ *+' conftest.er1 >conftest.err
45914 rm -f conftest.er1
45915 cat conftest.err >&5
45916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45917 (exit $ac_status); } &&
45918 { ac_try='test -z "$ac_cxx_werror_flag"
45919 || test ! -s conftest.err'
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); }; } &&
45925 { ac_try='test -s conftest.$ac_objext'
45926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45927 (eval $ac_try) 2>&5
45928 ac_status=$?
45929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45930 (exit $ac_status); }; }; then
45931 glibcxx_cv_func_isnanf_use=yes
45932 else
45933 echo "$as_me: failed program was:" >&5
45934 sed 's/^/| /' conftest.$ac_ext >&5
45936 glibcxx_cv_func_isnanf_use=no
45938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45939 ac_ext=c
45940 ac_cpp='$CPP $CPPFLAGS'
45941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45949 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
45950 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
45952 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
45954 for ac_func in isnanf
45956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45957 echo "$as_me:$LINENO: checking for $ac_func" >&5
45958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45959 if eval "test \"\${$as_ac_var+set}\" = set"; then
45960 echo $ECHO_N "(cached) $ECHO_C" >&6
45961 else
45962 if test x$gcc_no_link = xyes; then
45963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45965 { (exit 1); exit 1; }; }
45967 cat >conftest.$ac_ext <<_ACEOF
45968 /* confdefs.h. */
45969 _ACEOF
45970 cat confdefs.h >>conftest.$ac_ext
45971 cat >>conftest.$ac_ext <<_ACEOF
45972 /* end confdefs.h. */
45973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45975 #define $ac_func innocuous_$ac_func
45977 /* System header to define __stub macros and hopefully few prototypes,
45978 which can conflict with char $ac_func (); below.
45979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45980 <limits.h> exists even on freestanding compilers. */
45982 #ifdef __STDC__
45983 # include <limits.h>
45984 #else
45985 # include <assert.h>
45986 #endif
45988 #undef $ac_func
45990 /* Override any gcc2 internal prototype to avoid an error. */
45991 #ifdef __cplusplus
45992 extern "C"
45994 #endif
45995 /* We use char because int might match the return type of a gcc2
45996 builtin and then its argument prototype would still apply. */
45997 char $ac_func ();
45998 /* The GNU C library defines this for functions which it implements
45999 to always fail with ENOSYS. Some functions are actually named
46000 something starting with __ and the normal name is an alias. */
46001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46002 choke me
46003 #else
46004 char (*f) () = $ac_func;
46005 #endif
46006 #ifdef __cplusplus
46008 #endif
46011 main ()
46013 return f != $ac_func;
46015 return 0;
46017 _ACEOF
46018 rm -f conftest.$ac_objext conftest$ac_exeext
46019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46020 (eval $ac_link) 2>conftest.er1
46021 ac_status=$?
46022 grep -v '^ *+' conftest.er1 >conftest.err
46023 rm -f conftest.er1
46024 cat conftest.err >&5
46025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46026 (exit $ac_status); } &&
46027 { ac_try='test -z "$ac_c_werror_flag"
46028 || test ! -s conftest.err'
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); }; } &&
46034 { ac_try='test -s conftest$ac_exeext'
46035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46036 (eval $ac_try) 2>&5
46037 ac_status=$?
46038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46039 (exit $ac_status); }; }; then
46040 eval "$as_ac_var=yes"
46041 else
46042 echo "$as_me: failed program was:" >&5
46043 sed 's/^/| /' conftest.$ac_ext >&5
46045 eval "$as_ac_var=no"
46047 rm -f conftest.err conftest.$ac_objext \
46048 conftest$ac_exeext conftest.$ac_ext
46050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46052 if test `eval echo '${'$as_ac_var'}'` = yes; then
46053 cat >>confdefs.h <<_ACEOF
46054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46055 _ACEOF
46058 done
46060 else
46062 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
46063 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
46064 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46065 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
46066 echo $ECHO_N "(cached) $ECHO_C" >&6
46067 else
46071 ac_ext=cc
46072 ac_cpp='$CXXCPP $CPPFLAGS'
46073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46077 cat >conftest.$ac_ext <<_ACEOF
46078 /* confdefs.h. */
46079 _ACEOF
46080 cat confdefs.h >>conftest.$ac_ext
46081 cat >>conftest.$ac_ext <<_ACEOF
46082 /* end confdefs.h. */
46083 #include <math.h>
46084 #ifdef HAVE_IEEEFP_H
46085 #include <ieeefp.h>
46086 #endif
46089 main ()
46091 _isnanf(0);
46093 return 0;
46095 _ACEOF
46096 rm -f conftest.$ac_objext
46097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46098 (eval $ac_compile) 2>conftest.er1
46099 ac_status=$?
46100 grep -v '^ *+' conftest.er1 >conftest.err
46101 rm -f conftest.er1
46102 cat conftest.err >&5
46103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46104 (exit $ac_status); } &&
46105 { ac_try='test -z "$ac_cxx_werror_flag"
46106 || test ! -s conftest.err'
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); }; } &&
46112 { ac_try='test -s conftest.$ac_objext'
46113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46114 (eval $ac_try) 2>&5
46115 ac_status=$?
46116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46117 (exit $ac_status); }; }; then
46118 glibcxx_cv_func__isnanf_use=yes
46119 else
46120 echo "$as_me: failed program was:" >&5
46121 sed 's/^/| /' conftest.$ac_ext >&5
46123 glibcxx_cv_func__isnanf_use=no
46125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46126 ac_ext=c
46127 ac_cpp='$CPP $CPPFLAGS'
46128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46136 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
46137 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
46139 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46141 for ac_func in _isnanf
46143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46144 echo "$as_me:$LINENO: checking for $ac_func" >&5
46145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46146 if eval "test \"\${$as_ac_var+set}\" = set"; then
46147 echo $ECHO_N "(cached) $ECHO_C" >&6
46148 else
46149 if test x$gcc_no_link = xyes; then
46150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46152 { (exit 1); exit 1; }; }
46154 cat >conftest.$ac_ext <<_ACEOF
46155 /* confdefs.h. */
46156 _ACEOF
46157 cat confdefs.h >>conftest.$ac_ext
46158 cat >>conftest.$ac_ext <<_ACEOF
46159 /* end confdefs.h. */
46160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46162 #define $ac_func innocuous_$ac_func
46164 /* System header to define __stub macros and hopefully few prototypes,
46165 which can conflict with char $ac_func (); below.
46166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46167 <limits.h> exists even on freestanding compilers. */
46169 #ifdef __STDC__
46170 # include <limits.h>
46171 #else
46172 # include <assert.h>
46173 #endif
46175 #undef $ac_func
46177 /* Override any gcc2 internal prototype to avoid an error. */
46178 #ifdef __cplusplus
46179 extern "C"
46181 #endif
46182 /* We use char because int might match the return type of a gcc2
46183 builtin and then its argument prototype would still apply. */
46184 char $ac_func ();
46185 /* The GNU C library defines this for functions which it implements
46186 to always fail with ENOSYS. Some functions are actually named
46187 something starting with __ and the normal name is an alias. */
46188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46189 choke me
46190 #else
46191 char (*f) () = $ac_func;
46192 #endif
46193 #ifdef __cplusplus
46195 #endif
46198 main ()
46200 return f != $ac_func;
46202 return 0;
46204 _ACEOF
46205 rm -f conftest.$ac_objext conftest$ac_exeext
46206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46207 (eval $ac_link) 2>conftest.er1
46208 ac_status=$?
46209 grep -v '^ *+' conftest.er1 >conftest.err
46210 rm -f conftest.er1
46211 cat conftest.err >&5
46212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46213 (exit $ac_status); } &&
46214 { ac_try='test -z "$ac_c_werror_flag"
46215 || test ! -s conftest.err'
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); }; } &&
46221 { ac_try='test -s conftest$ac_exeext'
46222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46223 (eval $ac_try) 2>&5
46224 ac_status=$?
46225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46226 (exit $ac_status); }; }; then
46227 eval "$as_ac_var=yes"
46228 else
46229 echo "$as_me: failed program was:" >&5
46230 sed 's/^/| /' conftest.$ac_ext >&5
46232 eval "$as_ac_var=no"
46234 rm -f conftest.err conftest.$ac_objext \
46235 conftest$ac_exeext conftest.$ac_ext
46237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46239 if test `eval echo '${'$as_ac_var'}'` = yes; then
46240 cat >>confdefs.h <<_ACEOF
46241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46242 _ACEOF
46245 done
46255 echo "$as_me:$LINENO: checking for isinff declaration" >&5
46256 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
46257 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46258 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
46259 echo $ECHO_N "(cached) $ECHO_C" >&6
46260 else
46264 ac_ext=cc
46265 ac_cpp='$CXXCPP $CPPFLAGS'
46266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46270 cat >conftest.$ac_ext <<_ACEOF
46271 /* confdefs.h. */
46272 _ACEOF
46273 cat confdefs.h >>conftest.$ac_ext
46274 cat >>conftest.$ac_ext <<_ACEOF
46275 /* end confdefs.h. */
46276 #include <math.h>
46277 #ifdef HAVE_IEEEFP_H
46278 #include <ieeefp.h>
46279 #endif
46282 main ()
46284 isinff(0);
46286 return 0;
46288 _ACEOF
46289 rm -f conftest.$ac_objext
46290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46291 (eval $ac_compile) 2>conftest.er1
46292 ac_status=$?
46293 grep -v '^ *+' conftest.er1 >conftest.err
46294 rm -f conftest.er1
46295 cat conftest.err >&5
46296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46297 (exit $ac_status); } &&
46298 { ac_try='test -z "$ac_cxx_werror_flag"
46299 || test ! -s conftest.err'
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); }; } &&
46305 { ac_try='test -s conftest.$ac_objext'
46306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46307 (eval $ac_try) 2>&5
46308 ac_status=$?
46309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46310 (exit $ac_status); }; }; then
46311 glibcxx_cv_func_isinff_use=yes
46312 else
46313 echo "$as_me: failed program was:" >&5
46314 sed 's/^/| /' conftest.$ac_ext >&5
46316 glibcxx_cv_func_isinff_use=no
46318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46319 ac_ext=c
46320 ac_cpp='$CPP $CPPFLAGS'
46321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
46330 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
46332 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46334 for ac_func in isinff
46336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46337 echo "$as_me:$LINENO: checking for $ac_func" >&5
46338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46339 if eval "test \"\${$as_ac_var+set}\" = set"; then
46340 echo $ECHO_N "(cached) $ECHO_C" >&6
46341 else
46342 if test x$gcc_no_link = xyes; then
46343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46345 { (exit 1); exit 1; }; }
46347 cat >conftest.$ac_ext <<_ACEOF
46348 /* confdefs.h. */
46349 _ACEOF
46350 cat confdefs.h >>conftest.$ac_ext
46351 cat >>conftest.$ac_ext <<_ACEOF
46352 /* end confdefs.h. */
46353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46355 #define $ac_func innocuous_$ac_func
46357 /* System header to define __stub macros and hopefully few prototypes,
46358 which can conflict with char $ac_func (); below.
46359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46360 <limits.h> exists even on freestanding compilers. */
46362 #ifdef __STDC__
46363 # include <limits.h>
46364 #else
46365 # include <assert.h>
46366 #endif
46368 #undef $ac_func
46370 /* Override any gcc2 internal prototype to avoid an error. */
46371 #ifdef __cplusplus
46372 extern "C"
46374 #endif
46375 /* We use char because int might match the return type of a gcc2
46376 builtin and then its argument prototype would still apply. */
46377 char $ac_func ();
46378 /* The GNU C library defines this for functions which it implements
46379 to always fail with ENOSYS. Some functions are actually named
46380 something starting with __ and the normal name is an alias. */
46381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46382 choke me
46383 #else
46384 char (*f) () = $ac_func;
46385 #endif
46386 #ifdef __cplusplus
46388 #endif
46391 main ()
46393 return f != $ac_func;
46395 return 0;
46397 _ACEOF
46398 rm -f conftest.$ac_objext conftest$ac_exeext
46399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46400 (eval $ac_link) 2>conftest.er1
46401 ac_status=$?
46402 grep -v '^ *+' conftest.er1 >conftest.err
46403 rm -f conftest.er1
46404 cat conftest.err >&5
46405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46406 (exit $ac_status); } &&
46407 { ac_try='test -z "$ac_c_werror_flag"
46408 || test ! -s conftest.err'
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); }; } &&
46414 { ac_try='test -s conftest$ac_exeext'
46415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46416 (eval $ac_try) 2>&5
46417 ac_status=$?
46418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46419 (exit $ac_status); }; }; then
46420 eval "$as_ac_var=yes"
46421 else
46422 echo "$as_me: failed program was:" >&5
46423 sed 's/^/| /' conftest.$ac_ext >&5
46425 eval "$as_ac_var=no"
46427 rm -f conftest.err conftest.$ac_objext \
46428 conftest$ac_exeext conftest.$ac_ext
46430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46432 if test `eval echo '${'$as_ac_var'}'` = yes; then
46433 cat >>confdefs.h <<_ACEOF
46434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46435 _ACEOF
46438 done
46440 else
46442 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
46443 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
46444 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46445 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
46446 echo $ECHO_N "(cached) $ECHO_C" >&6
46447 else
46451 ac_ext=cc
46452 ac_cpp='$CXXCPP $CPPFLAGS'
46453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46457 cat >conftest.$ac_ext <<_ACEOF
46458 /* confdefs.h. */
46459 _ACEOF
46460 cat confdefs.h >>conftest.$ac_ext
46461 cat >>conftest.$ac_ext <<_ACEOF
46462 /* end confdefs.h. */
46463 #include <math.h>
46464 #ifdef HAVE_IEEEFP_H
46465 #include <ieeefp.h>
46466 #endif
46469 main ()
46471 _isinff(0);
46473 return 0;
46475 _ACEOF
46476 rm -f conftest.$ac_objext
46477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46478 (eval $ac_compile) 2>conftest.er1
46479 ac_status=$?
46480 grep -v '^ *+' conftest.er1 >conftest.err
46481 rm -f conftest.er1
46482 cat conftest.err >&5
46483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46484 (exit $ac_status); } &&
46485 { ac_try='test -z "$ac_cxx_werror_flag"
46486 || test ! -s conftest.err'
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); }; } &&
46492 { ac_try='test -s conftest.$ac_objext'
46493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46494 (eval $ac_try) 2>&5
46495 ac_status=$?
46496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46497 (exit $ac_status); }; }; then
46498 glibcxx_cv_func__isinff_use=yes
46499 else
46500 echo "$as_me: failed program was:" >&5
46501 sed 's/^/| /' conftest.$ac_ext >&5
46503 glibcxx_cv_func__isinff_use=no
46505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46506 ac_ext=c
46507 ac_cpp='$CPP $CPPFLAGS'
46508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
46517 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
46519 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46521 for ac_func in _isinff
46523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46524 echo "$as_me:$LINENO: checking for $ac_func" >&5
46525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46526 if eval "test \"\${$as_ac_var+set}\" = set"; then
46527 echo $ECHO_N "(cached) $ECHO_C" >&6
46528 else
46529 if test x$gcc_no_link = xyes; then
46530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46532 { (exit 1); exit 1; }; }
46534 cat >conftest.$ac_ext <<_ACEOF
46535 /* confdefs.h. */
46536 _ACEOF
46537 cat confdefs.h >>conftest.$ac_ext
46538 cat >>conftest.$ac_ext <<_ACEOF
46539 /* end confdefs.h. */
46540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46542 #define $ac_func innocuous_$ac_func
46544 /* System header to define __stub macros and hopefully few prototypes,
46545 which can conflict with char $ac_func (); below.
46546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46547 <limits.h> exists even on freestanding compilers. */
46549 #ifdef __STDC__
46550 # include <limits.h>
46551 #else
46552 # include <assert.h>
46553 #endif
46555 #undef $ac_func
46557 /* Override any gcc2 internal prototype to avoid an error. */
46558 #ifdef __cplusplus
46559 extern "C"
46561 #endif
46562 /* We use char because int might match the return type of a gcc2
46563 builtin and then its argument prototype would still apply. */
46564 char $ac_func ();
46565 /* The GNU C library defines this for functions which it implements
46566 to always fail with ENOSYS. Some functions are actually named
46567 something starting with __ and the normal name is an alias. */
46568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46569 choke me
46570 #else
46571 char (*f) () = $ac_func;
46572 #endif
46573 #ifdef __cplusplus
46575 #endif
46578 main ()
46580 return f != $ac_func;
46582 return 0;
46584 _ACEOF
46585 rm -f conftest.$ac_objext conftest$ac_exeext
46586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46587 (eval $ac_link) 2>conftest.er1
46588 ac_status=$?
46589 grep -v '^ *+' conftest.er1 >conftest.err
46590 rm -f conftest.er1
46591 cat conftest.err >&5
46592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46593 (exit $ac_status); } &&
46594 { ac_try='test -z "$ac_c_werror_flag"
46595 || test ! -s conftest.err'
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); }; } &&
46601 { ac_try='test -s conftest$ac_exeext'
46602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46603 (eval $ac_try) 2>&5
46604 ac_status=$?
46605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46606 (exit $ac_status); }; }; then
46607 eval "$as_ac_var=yes"
46608 else
46609 echo "$as_me: failed program was:" >&5
46610 sed 's/^/| /' conftest.$ac_ext >&5
46612 eval "$as_ac_var=no"
46614 rm -f conftest.err conftest.$ac_objext \
46615 conftest$ac_exeext conftest.$ac_ext
46617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46619 if test `eval echo '${'$as_ac_var'}'` = yes; then
46620 cat >>confdefs.h <<_ACEOF
46621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46622 _ACEOF
46625 done
46635 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
46636 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
46637 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46638 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
46639 echo $ECHO_N "(cached) $ECHO_C" >&6
46640 else
46644 ac_ext=cc
46645 ac_cpp='$CXXCPP $CPPFLAGS'
46646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46650 cat >conftest.$ac_ext <<_ACEOF
46651 /* confdefs.h. */
46652 _ACEOF
46653 cat confdefs.h >>conftest.$ac_ext
46654 cat >>conftest.$ac_ext <<_ACEOF
46655 /* end confdefs.h. */
46656 #include <math.h>
46658 main ()
46660 atan2f(0, 0);
46662 return 0;
46664 _ACEOF
46665 rm -f conftest.$ac_objext
46666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46667 (eval $ac_compile) 2>conftest.er1
46668 ac_status=$?
46669 grep -v '^ *+' conftest.er1 >conftest.err
46670 rm -f conftest.er1
46671 cat conftest.err >&5
46672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46673 (exit $ac_status); } &&
46674 { ac_try='test -z "$ac_cxx_werror_flag"
46675 || test ! -s conftest.err'
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); }; } &&
46681 { ac_try='test -s conftest.$ac_objext'
46682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46683 (eval $ac_try) 2>&5
46684 ac_status=$?
46685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46686 (exit $ac_status); }; }; then
46687 glibcxx_cv_func_atan2f_use=yes
46688 else
46689 echo "$as_me: failed program was:" >&5
46690 sed 's/^/| /' conftest.$ac_ext >&5
46692 glibcxx_cv_func_atan2f_use=no
46694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46695 ac_ext=c
46696 ac_cpp='$CPP $CPPFLAGS'
46697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46705 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
46706 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
46708 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46710 for ac_func in atan2f
46712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46713 echo "$as_me:$LINENO: checking for $ac_func" >&5
46714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46715 if eval "test \"\${$as_ac_var+set}\" = set"; then
46716 echo $ECHO_N "(cached) $ECHO_C" >&6
46717 else
46718 if test x$gcc_no_link = xyes; then
46719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46721 { (exit 1); exit 1; }; }
46723 cat >conftest.$ac_ext <<_ACEOF
46724 /* confdefs.h. */
46725 _ACEOF
46726 cat confdefs.h >>conftest.$ac_ext
46727 cat >>conftest.$ac_ext <<_ACEOF
46728 /* end confdefs.h. */
46729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46731 #define $ac_func innocuous_$ac_func
46733 /* System header to define __stub macros and hopefully few prototypes,
46734 which can conflict with char $ac_func (); below.
46735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46736 <limits.h> exists even on freestanding compilers. */
46738 #ifdef __STDC__
46739 # include <limits.h>
46740 #else
46741 # include <assert.h>
46742 #endif
46744 #undef $ac_func
46746 /* Override any gcc2 internal prototype to avoid an error. */
46747 #ifdef __cplusplus
46748 extern "C"
46750 #endif
46751 /* We use char because int might match the return type of a gcc2
46752 builtin and then its argument prototype would still apply. */
46753 char $ac_func ();
46754 /* The GNU C library defines this for functions which it implements
46755 to always fail with ENOSYS. Some functions are actually named
46756 something starting with __ and the normal name is an alias. */
46757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46758 choke me
46759 #else
46760 char (*f) () = $ac_func;
46761 #endif
46762 #ifdef __cplusplus
46764 #endif
46767 main ()
46769 return f != $ac_func;
46771 return 0;
46773 _ACEOF
46774 rm -f conftest.$ac_objext conftest$ac_exeext
46775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46776 (eval $ac_link) 2>conftest.er1
46777 ac_status=$?
46778 grep -v '^ *+' conftest.er1 >conftest.err
46779 rm -f conftest.er1
46780 cat conftest.err >&5
46781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46782 (exit $ac_status); } &&
46783 { ac_try='test -z "$ac_c_werror_flag"
46784 || test ! -s conftest.err'
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); }; } &&
46790 { ac_try='test -s conftest$ac_exeext'
46791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46792 (eval $ac_try) 2>&5
46793 ac_status=$?
46794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46795 (exit $ac_status); }; }; then
46796 eval "$as_ac_var=yes"
46797 else
46798 echo "$as_me: failed program was:" >&5
46799 sed 's/^/| /' conftest.$ac_ext >&5
46801 eval "$as_ac_var=no"
46803 rm -f conftest.err conftest.$ac_objext \
46804 conftest$ac_exeext conftest.$ac_ext
46806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46808 if test `eval echo '${'$as_ac_var'}'` = yes; then
46809 cat >>confdefs.h <<_ACEOF
46810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46811 _ACEOF
46814 done
46816 else
46818 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
46819 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
46820 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46821 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
46822 echo $ECHO_N "(cached) $ECHO_C" >&6
46823 else
46827 ac_ext=cc
46828 ac_cpp='$CXXCPP $CPPFLAGS'
46829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46833 cat >conftest.$ac_ext <<_ACEOF
46834 /* confdefs.h. */
46835 _ACEOF
46836 cat confdefs.h >>conftest.$ac_ext
46837 cat >>conftest.$ac_ext <<_ACEOF
46838 /* end confdefs.h. */
46839 #include <math.h>
46841 main ()
46843 _atan2f(0, 0);
46845 return 0;
46847 _ACEOF
46848 rm -f conftest.$ac_objext
46849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46850 (eval $ac_compile) 2>conftest.er1
46851 ac_status=$?
46852 grep -v '^ *+' conftest.er1 >conftest.err
46853 rm -f conftest.er1
46854 cat conftest.err >&5
46855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46856 (exit $ac_status); } &&
46857 { ac_try='test -z "$ac_cxx_werror_flag"
46858 || test ! -s conftest.err'
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); }; } &&
46864 { ac_try='test -s conftest.$ac_objext'
46865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46866 (eval $ac_try) 2>&5
46867 ac_status=$?
46868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46869 (exit $ac_status); }; }; then
46870 glibcxx_cv_func__atan2f_use=yes
46871 else
46872 echo "$as_me: failed program was:" >&5
46873 sed 's/^/| /' conftest.$ac_ext >&5
46875 glibcxx_cv_func__atan2f_use=no
46877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46878 ac_ext=c
46879 ac_cpp='$CPP $CPPFLAGS'
46880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46888 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
46889 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
46891 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46893 for ac_func in _atan2f
46895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46896 echo "$as_me:$LINENO: checking for $ac_func" >&5
46897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46898 if eval "test \"\${$as_ac_var+set}\" = set"; then
46899 echo $ECHO_N "(cached) $ECHO_C" >&6
46900 else
46901 if test x$gcc_no_link = xyes; then
46902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46904 { (exit 1); exit 1; }; }
46906 cat >conftest.$ac_ext <<_ACEOF
46907 /* confdefs.h. */
46908 _ACEOF
46909 cat confdefs.h >>conftest.$ac_ext
46910 cat >>conftest.$ac_ext <<_ACEOF
46911 /* end confdefs.h. */
46912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46914 #define $ac_func innocuous_$ac_func
46916 /* System header to define __stub macros and hopefully few prototypes,
46917 which can conflict with char $ac_func (); below.
46918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46919 <limits.h> exists even on freestanding compilers. */
46921 #ifdef __STDC__
46922 # include <limits.h>
46923 #else
46924 # include <assert.h>
46925 #endif
46927 #undef $ac_func
46929 /* Override any gcc2 internal prototype to avoid an error. */
46930 #ifdef __cplusplus
46931 extern "C"
46933 #endif
46934 /* We use char because int might match the return type of a gcc2
46935 builtin and then its argument prototype would still apply. */
46936 char $ac_func ();
46937 /* The GNU C library defines this for functions which it implements
46938 to always fail with ENOSYS. Some functions are actually named
46939 something starting with __ and the normal name is an alias. */
46940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46941 choke me
46942 #else
46943 char (*f) () = $ac_func;
46944 #endif
46945 #ifdef __cplusplus
46947 #endif
46950 main ()
46952 return f != $ac_func;
46954 return 0;
46956 _ACEOF
46957 rm -f conftest.$ac_objext conftest$ac_exeext
46958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46959 (eval $ac_link) 2>conftest.er1
46960 ac_status=$?
46961 grep -v '^ *+' conftest.er1 >conftest.err
46962 rm -f conftest.er1
46963 cat conftest.err >&5
46964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46965 (exit $ac_status); } &&
46966 { ac_try='test -z "$ac_c_werror_flag"
46967 || test ! -s conftest.err'
46968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46969 (eval $ac_try) 2>&5
46970 ac_status=$?
46971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46972 (exit $ac_status); }; } &&
46973 { ac_try='test -s conftest$ac_exeext'
46974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46975 (eval $ac_try) 2>&5
46976 ac_status=$?
46977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46978 (exit $ac_status); }; }; then
46979 eval "$as_ac_var=yes"
46980 else
46981 echo "$as_me: failed program was:" >&5
46982 sed 's/^/| /' conftest.$ac_ext >&5
46984 eval "$as_ac_var=no"
46986 rm -f conftest.err conftest.$ac_objext \
46987 conftest$ac_exeext conftest.$ac_ext
46989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46991 if test `eval echo '${'$as_ac_var'}'` = yes; then
46992 cat >>confdefs.h <<_ACEOF
46993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46994 _ACEOF
46997 done
47007 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
47008 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
47009 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47010 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
47011 echo $ECHO_N "(cached) $ECHO_C" >&6
47012 else
47016 ac_ext=cc
47017 ac_cpp='$CXXCPP $CPPFLAGS'
47018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47022 cat >conftest.$ac_ext <<_ACEOF
47023 /* confdefs.h. */
47024 _ACEOF
47025 cat confdefs.h >>conftest.$ac_ext
47026 cat >>conftest.$ac_ext <<_ACEOF
47027 /* end confdefs.h. */
47028 #include <math.h>
47029 #ifdef HAVE_IEEEFP_H
47030 #include <ieeefp.h>
47031 #endif
47034 main ()
47036 fabsf(0);
47038 return 0;
47040 _ACEOF
47041 rm -f conftest.$ac_objext
47042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47043 (eval $ac_compile) 2>conftest.er1
47044 ac_status=$?
47045 grep -v '^ *+' conftest.er1 >conftest.err
47046 rm -f conftest.er1
47047 cat conftest.err >&5
47048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47049 (exit $ac_status); } &&
47050 { ac_try='test -z "$ac_cxx_werror_flag"
47051 || test ! -s conftest.err'
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); }; } &&
47057 { ac_try='test -s conftest.$ac_objext'
47058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47059 (eval $ac_try) 2>&5
47060 ac_status=$?
47061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47062 (exit $ac_status); }; }; then
47063 glibcxx_cv_func_fabsf_use=yes
47064 else
47065 echo "$as_me: failed program was:" >&5
47066 sed 's/^/| /' conftest.$ac_ext >&5
47068 glibcxx_cv_func_fabsf_use=no
47070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47071 ac_ext=c
47072 ac_cpp='$CPP $CPPFLAGS'
47073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47081 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
47082 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
47084 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47086 for ac_func in fabsf
47088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47089 echo "$as_me:$LINENO: checking for $ac_func" >&5
47090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47091 if eval "test \"\${$as_ac_var+set}\" = set"; then
47092 echo $ECHO_N "(cached) $ECHO_C" >&6
47093 else
47094 if test x$gcc_no_link = xyes; then
47095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47097 { (exit 1); exit 1; }; }
47099 cat >conftest.$ac_ext <<_ACEOF
47100 /* confdefs.h. */
47101 _ACEOF
47102 cat confdefs.h >>conftest.$ac_ext
47103 cat >>conftest.$ac_ext <<_ACEOF
47104 /* end confdefs.h. */
47105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47107 #define $ac_func innocuous_$ac_func
47109 /* System header to define __stub macros and hopefully few prototypes,
47110 which can conflict with char $ac_func (); below.
47111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47112 <limits.h> exists even on freestanding compilers. */
47114 #ifdef __STDC__
47115 # include <limits.h>
47116 #else
47117 # include <assert.h>
47118 #endif
47120 #undef $ac_func
47122 /* Override any gcc2 internal prototype to avoid an error. */
47123 #ifdef __cplusplus
47124 extern "C"
47126 #endif
47127 /* We use char because int might match the return type of a gcc2
47128 builtin and then its argument prototype would still apply. */
47129 char $ac_func ();
47130 /* The GNU C library defines this for functions which it implements
47131 to always fail with ENOSYS. Some functions are actually named
47132 something starting with __ and the normal name is an alias. */
47133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47134 choke me
47135 #else
47136 char (*f) () = $ac_func;
47137 #endif
47138 #ifdef __cplusplus
47140 #endif
47143 main ()
47145 return f != $ac_func;
47147 return 0;
47149 _ACEOF
47150 rm -f conftest.$ac_objext conftest$ac_exeext
47151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47152 (eval $ac_link) 2>conftest.er1
47153 ac_status=$?
47154 grep -v '^ *+' conftest.er1 >conftest.err
47155 rm -f conftest.er1
47156 cat conftest.err >&5
47157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47158 (exit $ac_status); } &&
47159 { ac_try='test -z "$ac_c_werror_flag"
47160 || test ! -s conftest.err'
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); }; } &&
47166 { ac_try='test -s conftest$ac_exeext'
47167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47168 (eval $ac_try) 2>&5
47169 ac_status=$?
47170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47171 (exit $ac_status); }; }; then
47172 eval "$as_ac_var=yes"
47173 else
47174 echo "$as_me: failed program was:" >&5
47175 sed 's/^/| /' conftest.$ac_ext >&5
47177 eval "$as_ac_var=no"
47179 rm -f conftest.err conftest.$ac_objext \
47180 conftest$ac_exeext conftest.$ac_ext
47182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47184 if test `eval echo '${'$as_ac_var'}'` = yes; then
47185 cat >>confdefs.h <<_ACEOF
47186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47187 _ACEOF
47190 done
47192 else
47194 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
47195 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
47196 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47197 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
47198 echo $ECHO_N "(cached) $ECHO_C" >&6
47199 else
47203 ac_ext=cc
47204 ac_cpp='$CXXCPP $CPPFLAGS'
47205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47209 cat >conftest.$ac_ext <<_ACEOF
47210 /* confdefs.h. */
47211 _ACEOF
47212 cat confdefs.h >>conftest.$ac_ext
47213 cat >>conftest.$ac_ext <<_ACEOF
47214 /* end confdefs.h. */
47215 #include <math.h>
47216 #ifdef HAVE_IEEEFP_H
47217 #include <ieeefp.h>
47218 #endif
47221 main ()
47223 _fabsf(0);
47225 return 0;
47227 _ACEOF
47228 rm -f conftest.$ac_objext
47229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47230 (eval $ac_compile) 2>conftest.er1
47231 ac_status=$?
47232 grep -v '^ *+' conftest.er1 >conftest.err
47233 rm -f conftest.er1
47234 cat conftest.err >&5
47235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47236 (exit $ac_status); } &&
47237 { ac_try='test -z "$ac_cxx_werror_flag"
47238 || test ! -s conftest.err'
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); }; } &&
47244 { ac_try='test -s conftest.$ac_objext'
47245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47246 (eval $ac_try) 2>&5
47247 ac_status=$?
47248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47249 (exit $ac_status); }; }; then
47250 glibcxx_cv_func__fabsf_use=yes
47251 else
47252 echo "$as_me: failed program was:" >&5
47253 sed 's/^/| /' conftest.$ac_ext >&5
47255 glibcxx_cv_func__fabsf_use=no
47257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47258 ac_ext=c
47259 ac_cpp='$CPP $CPPFLAGS'
47260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47268 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
47269 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
47271 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47273 for ac_func in _fabsf
47275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47276 echo "$as_me:$LINENO: checking for $ac_func" >&5
47277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47278 if eval "test \"\${$as_ac_var+set}\" = set"; then
47279 echo $ECHO_N "(cached) $ECHO_C" >&6
47280 else
47281 if test x$gcc_no_link = xyes; then
47282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47284 { (exit 1); exit 1; }; }
47286 cat >conftest.$ac_ext <<_ACEOF
47287 /* confdefs.h. */
47288 _ACEOF
47289 cat confdefs.h >>conftest.$ac_ext
47290 cat >>conftest.$ac_ext <<_ACEOF
47291 /* end confdefs.h. */
47292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47294 #define $ac_func innocuous_$ac_func
47296 /* System header to define __stub macros and hopefully few prototypes,
47297 which can conflict with char $ac_func (); below.
47298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47299 <limits.h> exists even on freestanding compilers. */
47301 #ifdef __STDC__
47302 # include <limits.h>
47303 #else
47304 # include <assert.h>
47305 #endif
47307 #undef $ac_func
47309 /* Override any gcc2 internal prototype to avoid an error. */
47310 #ifdef __cplusplus
47311 extern "C"
47313 #endif
47314 /* We use char because int might match the return type of a gcc2
47315 builtin and then its argument prototype would still apply. */
47316 char $ac_func ();
47317 /* The GNU C library defines this for functions which it implements
47318 to always fail with ENOSYS. Some functions are actually named
47319 something starting with __ and the normal name is an alias. */
47320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47321 choke me
47322 #else
47323 char (*f) () = $ac_func;
47324 #endif
47325 #ifdef __cplusplus
47327 #endif
47330 main ()
47332 return f != $ac_func;
47334 return 0;
47336 _ACEOF
47337 rm -f conftest.$ac_objext conftest$ac_exeext
47338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47339 (eval $ac_link) 2>conftest.er1
47340 ac_status=$?
47341 grep -v '^ *+' conftest.er1 >conftest.err
47342 rm -f conftest.er1
47343 cat conftest.err >&5
47344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47345 (exit $ac_status); } &&
47346 { ac_try='test -z "$ac_c_werror_flag"
47347 || test ! -s conftest.err'
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); }; } &&
47353 { ac_try='test -s conftest$ac_exeext'
47354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47355 (eval $ac_try) 2>&5
47356 ac_status=$?
47357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47358 (exit $ac_status); }; }; then
47359 eval "$as_ac_var=yes"
47360 else
47361 echo "$as_me: failed program was:" >&5
47362 sed 's/^/| /' conftest.$ac_ext >&5
47364 eval "$as_ac_var=no"
47366 rm -f conftest.err conftest.$ac_objext \
47367 conftest$ac_exeext conftest.$ac_ext
47369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47371 if test `eval echo '${'$as_ac_var'}'` = yes; then
47372 cat >>confdefs.h <<_ACEOF
47373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47374 _ACEOF
47377 done
47387 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
47388 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
47389 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47390 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
47391 echo $ECHO_N "(cached) $ECHO_C" >&6
47392 else
47396 ac_ext=cc
47397 ac_cpp='$CXXCPP $CPPFLAGS'
47398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47402 cat >conftest.$ac_ext <<_ACEOF
47403 /* confdefs.h. */
47404 _ACEOF
47405 cat confdefs.h >>conftest.$ac_ext
47406 cat >>conftest.$ac_ext <<_ACEOF
47407 /* end confdefs.h. */
47408 #include <math.h>
47410 main ()
47412 fmodf(0, 0);
47414 return 0;
47416 _ACEOF
47417 rm -f conftest.$ac_objext
47418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47419 (eval $ac_compile) 2>conftest.er1
47420 ac_status=$?
47421 grep -v '^ *+' conftest.er1 >conftest.err
47422 rm -f conftest.er1
47423 cat conftest.err >&5
47424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47425 (exit $ac_status); } &&
47426 { ac_try='test -z "$ac_cxx_werror_flag"
47427 || test ! -s conftest.err'
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); }; } &&
47433 { ac_try='test -s conftest.$ac_objext'
47434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47435 (eval $ac_try) 2>&5
47436 ac_status=$?
47437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47438 (exit $ac_status); }; }; then
47439 glibcxx_cv_func_fmodf_use=yes
47440 else
47441 echo "$as_me: failed program was:" >&5
47442 sed 's/^/| /' conftest.$ac_ext >&5
47444 glibcxx_cv_func_fmodf_use=no
47446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47447 ac_ext=c
47448 ac_cpp='$CPP $CPPFLAGS'
47449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47457 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
47458 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
47460 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47462 for ac_func in fmodf
47464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47465 echo "$as_me:$LINENO: checking for $ac_func" >&5
47466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47467 if eval "test \"\${$as_ac_var+set}\" = set"; then
47468 echo $ECHO_N "(cached) $ECHO_C" >&6
47469 else
47470 if test x$gcc_no_link = xyes; then
47471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47473 { (exit 1); exit 1; }; }
47475 cat >conftest.$ac_ext <<_ACEOF
47476 /* confdefs.h. */
47477 _ACEOF
47478 cat confdefs.h >>conftest.$ac_ext
47479 cat >>conftest.$ac_ext <<_ACEOF
47480 /* end confdefs.h. */
47481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47483 #define $ac_func innocuous_$ac_func
47485 /* System header to define __stub macros and hopefully few prototypes,
47486 which can conflict with char $ac_func (); below.
47487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47488 <limits.h> exists even on freestanding compilers. */
47490 #ifdef __STDC__
47491 # include <limits.h>
47492 #else
47493 # include <assert.h>
47494 #endif
47496 #undef $ac_func
47498 /* Override any gcc2 internal prototype to avoid an error. */
47499 #ifdef __cplusplus
47500 extern "C"
47502 #endif
47503 /* We use char because int might match the return type of a gcc2
47504 builtin and then its argument prototype would still apply. */
47505 char $ac_func ();
47506 /* The GNU C library defines this for functions which it implements
47507 to always fail with ENOSYS. Some functions are actually named
47508 something starting with __ and the normal name is an alias. */
47509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47510 choke me
47511 #else
47512 char (*f) () = $ac_func;
47513 #endif
47514 #ifdef __cplusplus
47516 #endif
47519 main ()
47521 return f != $ac_func;
47523 return 0;
47525 _ACEOF
47526 rm -f conftest.$ac_objext conftest$ac_exeext
47527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47528 (eval $ac_link) 2>conftest.er1
47529 ac_status=$?
47530 grep -v '^ *+' conftest.er1 >conftest.err
47531 rm -f conftest.er1
47532 cat conftest.err >&5
47533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47534 (exit $ac_status); } &&
47535 { ac_try='test -z "$ac_c_werror_flag"
47536 || test ! -s conftest.err'
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); }; } &&
47542 { ac_try='test -s conftest$ac_exeext'
47543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47544 (eval $ac_try) 2>&5
47545 ac_status=$?
47546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47547 (exit $ac_status); }; }; then
47548 eval "$as_ac_var=yes"
47549 else
47550 echo "$as_me: failed program was:" >&5
47551 sed 's/^/| /' conftest.$ac_ext >&5
47553 eval "$as_ac_var=no"
47555 rm -f conftest.err conftest.$ac_objext \
47556 conftest$ac_exeext conftest.$ac_ext
47558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47560 if test `eval echo '${'$as_ac_var'}'` = yes; then
47561 cat >>confdefs.h <<_ACEOF
47562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47563 _ACEOF
47566 done
47568 else
47570 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
47571 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
47572 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47573 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
47574 echo $ECHO_N "(cached) $ECHO_C" >&6
47575 else
47579 ac_ext=cc
47580 ac_cpp='$CXXCPP $CPPFLAGS'
47581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47585 cat >conftest.$ac_ext <<_ACEOF
47586 /* confdefs.h. */
47587 _ACEOF
47588 cat confdefs.h >>conftest.$ac_ext
47589 cat >>conftest.$ac_ext <<_ACEOF
47590 /* end confdefs.h. */
47591 #include <math.h>
47593 main ()
47595 _fmodf(0, 0);
47597 return 0;
47599 _ACEOF
47600 rm -f conftest.$ac_objext
47601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47602 (eval $ac_compile) 2>conftest.er1
47603 ac_status=$?
47604 grep -v '^ *+' conftest.er1 >conftest.err
47605 rm -f conftest.er1
47606 cat conftest.err >&5
47607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47608 (exit $ac_status); } &&
47609 { ac_try='test -z "$ac_cxx_werror_flag"
47610 || test ! -s conftest.err'
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); }; } &&
47616 { ac_try='test -s conftest.$ac_objext'
47617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47618 (eval $ac_try) 2>&5
47619 ac_status=$?
47620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47621 (exit $ac_status); }; }; then
47622 glibcxx_cv_func__fmodf_use=yes
47623 else
47624 echo "$as_me: failed program was:" >&5
47625 sed 's/^/| /' conftest.$ac_ext >&5
47627 glibcxx_cv_func__fmodf_use=no
47629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47630 ac_ext=c
47631 ac_cpp='$CPP $CPPFLAGS'
47632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47640 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
47641 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
47643 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47645 for ac_func in _fmodf
47647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47648 echo "$as_me:$LINENO: checking for $ac_func" >&5
47649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47650 if eval "test \"\${$as_ac_var+set}\" = set"; then
47651 echo $ECHO_N "(cached) $ECHO_C" >&6
47652 else
47653 if test x$gcc_no_link = xyes; then
47654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47656 { (exit 1); exit 1; }; }
47658 cat >conftest.$ac_ext <<_ACEOF
47659 /* confdefs.h. */
47660 _ACEOF
47661 cat confdefs.h >>conftest.$ac_ext
47662 cat >>conftest.$ac_ext <<_ACEOF
47663 /* end confdefs.h. */
47664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47666 #define $ac_func innocuous_$ac_func
47668 /* System header to define __stub macros and hopefully few prototypes,
47669 which can conflict with char $ac_func (); below.
47670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47671 <limits.h> exists even on freestanding compilers. */
47673 #ifdef __STDC__
47674 # include <limits.h>
47675 #else
47676 # include <assert.h>
47677 #endif
47679 #undef $ac_func
47681 /* Override any gcc2 internal prototype to avoid an error. */
47682 #ifdef __cplusplus
47683 extern "C"
47685 #endif
47686 /* We use char because int might match the return type of a gcc2
47687 builtin and then its argument prototype would still apply. */
47688 char $ac_func ();
47689 /* The GNU C library defines this for functions which it implements
47690 to always fail with ENOSYS. Some functions are actually named
47691 something starting with __ and the normal name is an alias. */
47692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47693 choke me
47694 #else
47695 char (*f) () = $ac_func;
47696 #endif
47697 #ifdef __cplusplus
47699 #endif
47702 main ()
47704 return f != $ac_func;
47706 return 0;
47708 _ACEOF
47709 rm -f conftest.$ac_objext conftest$ac_exeext
47710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47711 (eval $ac_link) 2>conftest.er1
47712 ac_status=$?
47713 grep -v '^ *+' conftest.er1 >conftest.err
47714 rm -f conftest.er1
47715 cat conftest.err >&5
47716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47717 (exit $ac_status); } &&
47718 { ac_try='test -z "$ac_c_werror_flag"
47719 || test ! -s conftest.err'
47720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47721 (eval $ac_try) 2>&5
47722 ac_status=$?
47723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47724 (exit $ac_status); }; } &&
47725 { ac_try='test -s conftest$ac_exeext'
47726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47727 (eval $ac_try) 2>&5
47728 ac_status=$?
47729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47730 (exit $ac_status); }; }; then
47731 eval "$as_ac_var=yes"
47732 else
47733 echo "$as_me: failed program was:" >&5
47734 sed 's/^/| /' conftest.$ac_ext >&5
47736 eval "$as_ac_var=no"
47738 rm -f conftest.err conftest.$ac_objext \
47739 conftest$ac_exeext conftest.$ac_ext
47741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47743 if test `eval echo '${'$as_ac_var'}'` = yes; then
47744 cat >>confdefs.h <<_ACEOF
47745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47746 _ACEOF
47749 done
47759 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
47760 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
47761 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47762 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
47763 echo $ECHO_N "(cached) $ECHO_C" >&6
47764 else
47768 ac_ext=cc
47769 ac_cpp='$CXXCPP $CPPFLAGS'
47770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47774 cat >conftest.$ac_ext <<_ACEOF
47775 /* confdefs.h. */
47776 _ACEOF
47777 cat confdefs.h >>conftest.$ac_ext
47778 cat >>conftest.$ac_ext <<_ACEOF
47779 /* end confdefs.h. */
47780 #include <math.h>
47782 main ()
47784 frexpf(0, 0);
47786 return 0;
47788 _ACEOF
47789 rm -f conftest.$ac_objext
47790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47791 (eval $ac_compile) 2>conftest.er1
47792 ac_status=$?
47793 grep -v '^ *+' conftest.er1 >conftest.err
47794 rm -f conftest.er1
47795 cat conftest.err >&5
47796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47797 (exit $ac_status); } &&
47798 { ac_try='test -z "$ac_cxx_werror_flag"
47799 || test ! -s conftest.err'
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); }; } &&
47805 { ac_try='test -s conftest.$ac_objext'
47806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47807 (eval $ac_try) 2>&5
47808 ac_status=$?
47809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47810 (exit $ac_status); }; }; then
47811 glibcxx_cv_func_frexpf_use=yes
47812 else
47813 echo "$as_me: failed program was:" >&5
47814 sed 's/^/| /' conftest.$ac_ext >&5
47816 glibcxx_cv_func_frexpf_use=no
47818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47819 ac_ext=c
47820 ac_cpp='$CPP $CPPFLAGS'
47821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47829 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
47830 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
47832 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47834 for ac_func in frexpf
47836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47837 echo "$as_me:$LINENO: checking for $ac_func" >&5
47838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47839 if eval "test \"\${$as_ac_var+set}\" = set"; then
47840 echo $ECHO_N "(cached) $ECHO_C" >&6
47841 else
47842 if test x$gcc_no_link = xyes; then
47843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47845 { (exit 1); exit 1; }; }
47847 cat >conftest.$ac_ext <<_ACEOF
47848 /* confdefs.h. */
47849 _ACEOF
47850 cat confdefs.h >>conftest.$ac_ext
47851 cat >>conftest.$ac_ext <<_ACEOF
47852 /* end confdefs.h. */
47853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47855 #define $ac_func innocuous_$ac_func
47857 /* System header to define __stub macros and hopefully few prototypes,
47858 which can conflict with char $ac_func (); below.
47859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47860 <limits.h> exists even on freestanding compilers. */
47862 #ifdef __STDC__
47863 # include <limits.h>
47864 #else
47865 # include <assert.h>
47866 #endif
47868 #undef $ac_func
47870 /* Override any gcc2 internal prototype to avoid an error. */
47871 #ifdef __cplusplus
47872 extern "C"
47874 #endif
47875 /* We use char because int might match the return type of a gcc2
47876 builtin and then its argument prototype would still apply. */
47877 char $ac_func ();
47878 /* The GNU C library defines this for functions which it implements
47879 to always fail with ENOSYS. Some functions are actually named
47880 something starting with __ and the normal name is an alias. */
47881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47882 choke me
47883 #else
47884 char (*f) () = $ac_func;
47885 #endif
47886 #ifdef __cplusplus
47888 #endif
47891 main ()
47893 return f != $ac_func;
47895 return 0;
47897 _ACEOF
47898 rm -f conftest.$ac_objext conftest$ac_exeext
47899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47900 (eval $ac_link) 2>conftest.er1
47901 ac_status=$?
47902 grep -v '^ *+' conftest.er1 >conftest.err
47903 rm -f conftest.er1
47904 cat conftest.err >&5
47905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47906 (exit $ac_status); } &&
47907 { ac_try='test -z "$ac_c_werror_flag"
47908 || test ! -s conftest.err'
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); }; } &&
47914 { ac_try='test -s conftest$ac_exeext'
47915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47916 (eval $ac_try) 2>&5
47917 ac_status=$?
47918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47919 (exit $ac_status); }; }; then
47920 eval "$as_ac_var=yes"
47921 else
47922 echo "$as_me: failed program was:" >&5
47923 sed 's/^/| /' conftest.$ac_ext >&5
47925 eval "$as_ac_var=no"
47927 rm -f conftest.err conftest.$ac_objext \
47928 conftest$ac_exeext conftest.$ac_ext
47930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47932 if test `eval echo '${'$as_ac_var'}'` = yes; then
47933 cat >>confdefs.h <<_ACEOF
47934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47935 _ACEOF
47938 done
47940 else
47942 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
47943 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
47944 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47945 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
47946 echo $ECHO_N "(cached) $ECHO_C" >&6
47947 else
47951 ac_ext=cc
47952 ac_cpp='$CXXCPP $CPPFLAGS'
47953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47957 cat >conftest.$ac_ext <<_ACEOF
47958 /* confdefs.h. */
47959 _ACEOF
47960 cat confdefs.h >>conftest.$ac_ext
47961 cat >>conftest.$ac_ext <<_ACEOF
47962 /* end confdefs.h. */
47963 #include <math.h>
47965 main ()
47967 _frexpf(0, 0);
47969 return 0;
47971 _ACEOF
47972 rm -f conftest.$ac_objext
47973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47974 (eval $ac_compile) 2>conftest.er1
47975 ac_status=$?
47976 grep -v '^ *+' conftest.er1 >conftest.err
47977 rm -f conftest.er1
47978 cat conftest.err >&5
47979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47980 (exit $ac_status); } &&
47981 { ac_try='test -z "$ac_cxx_werror_flag"
47982 || test ! -s conftest.err'
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); }; } &&
47988 { ac_try='test -s conftest.$ac_objext'
47989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47990 (eval $ac_try) 2>&5
47991 ac_status=$?
47992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47993 (exit $ac_status); }; }; then
47994 glibcxx_cv_func__frexpf_use=yes
47995 else
47996 echo "$as_me: failed program was:" >&5
47997 sed 's/^/| /' conftest.$ac_ext >&5
47999 glibcxx_cv_func__frexpf_use=no
48001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48002 ac_ext=c
48003 ac_cpp='$CPP $CPPFLAGS'
48004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48012 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
48013 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
48015 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48017 for ac_func in _frexpf
48019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48020 echo "$as_me:$LINENO: checking for $ac_func" >&5
48021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48022 if eval "test \"\${$as_ac_var+set}\" = set"; then
48023 echo $ECHO_N "(cached) $ECHO_C" >&6
48024 else
48025 if test x$gcc_no_link = xyes; then
48026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48028 { (exit 1); exit 1; }; }
48030 cat >conftest.$ac_ext <<_ACEOF
48031 /* confdefs.h. */
48032 _ACEOF
48033 cat confdefs.h >>conftest.$ac_ext
48034 cat >>conftest.$ac_ext <<_ACEOF
48035 /* end confdefs.h. */
48036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48038 #define $ac_func innocuous_$ac_func
48040 /* System header to define __stub macros and hopefully few prototypes,
48041 which can conflict with char $ac_func (); below.
48042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48043 <limits.h> exists even on freestanding compilers. */
48045 #ifdef __STDC__
48046 # include <limits.h>
48047 #else
48048 # include <assert.h>
48049 #endif
48051 #undef $ac_func
48053 /* Override any gcc2 internal prototype to avoid an error. */
48054 #ifdef __cplusplus
48055 extern "C"
48057 #endif
48058 /* We use char because int might match the return type of a gcc2
48059 builtin and then its argument prototype would still apply. */
48060 char $ac_func ();
48061 /* The GNU C library defines this for functions which it implements
48062 to always fail with ENOSYS. Some functions are actually named
48063 something starting with __ and the normal name is an alias. */
48064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48065 choke me
48066 #else
48067 char (*f) () = $ac_func;
48068 #endif
48069 #ifdef __cplusplus
48071 #endif
48074 main ()
48076 return f != $ac_func;
48078 return 0;
48080 _ACEOF
48081 rm -f conftest.$ac_objext conftest$ac_exeext
48082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48083 (eval $ac_link) 2>conftest.er1
48084 ac_status=$?
48085 grep -v '^ *+' conftest.er1 >conftest.err
48086 rm -f conftest.er1
48087 cat conftest.err >&5
48088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48089 (exit $ac_status); } &&
48090 { ac_try='test -z "$ac_c_werror_flag"
48091 || test ! -s conftest.err'
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); }; } &&
48097 { ac_try='test -s conftest$ac_exeext'
48098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48099 (eval $ac_try) 2>&5
48100 ac_status=$?
48101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48102 (exit $ac_status); }; }; then
48103 eval "$as_ac_var=yes"
48104 else
48105 echo "$as_me: failed program was:" >&5
48106 sed 's/^/| /' conftest.$ac_ext >&5
48108 eval "$as_ac_var=no"
48110 rm -f conftest.err conftest.$ac_objext \
48111 conftest$ac_exeext conftest.$ac_ext
48113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48115 if test `eval echo '${'$as_ac_var'}'` = yes; then
48116 cat >>confdefs.h <<_ACEOF
48117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48118 _ACEOF
48121 done
48131 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
48132 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
48133 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48134 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
48135 echo $ECHO_N "(cached) $ECHO_C" >&6
48136 else
48140 ac_ext=cc
48141 ac_cpp='$CXXCPP $CPPFLAGS'
48142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48146 cat >conftest.$ac_ext <<_ACEOF
48147 /* confdefs.h. */
48148 _ACEOF
48149 cat confdefs.h >>conftest.$ac_ext
48150 cat >>conftest.$ac_ext <<_ACEOF
48151 /* end confdefs.h. */
48152 #include <math.h>
48154 main ()
48156 hypotf(0, 0);
48158 return 0;
48160 _ACEOF
48161 rm -f conftest.$ac_objext
48162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48163 (eval $ac_compile) 2>conftest.er1
48164 ac_status=$?
48165 grep -v '^ *+' conftest.er1 >conftest.err
48166 rm -f conftest.er1
48167 cat conftest.err >&5
48168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48169 (exit $ac_status); } &&
48170 { ac_try='test -z "$ac_cxx_werror_flag"
48171 || test ! -s conftest.err'
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); }; } &&
48177 { ac_try='test -s conftest.$ac_objext'
48178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48179 (eval $ac_try) 2>&5
48180 ac_status=$?
48181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48182 (exit $ac_status); }; }; then
48183 glibcxx_cv_func_hypotf_use=yes
48184 else
48185 echo "$as_me: failed program was:" >&5
48186 sed 's/^/| /' conftest.$ac_ext >&5
48188 glibcxx_cv_func_hypotf_use=no
48190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48191 ac_ext=c
48192 ac_cpp='$CPP $CPPFLAGS'
48193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48201 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
48202 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
48204 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48206 for ac_func in hypotf
48208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48209 echo "$as_me:$LINENO: checking for $ac_func" >&5
48210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48211 if eval "test \"\${$as_ac_var+set}\" = set"; then
48212 echo $ECHO_N "(cached) $ECHO_C" >&6
48213 else
48214 if test x$gcc_no_link = xyes; then
48215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48217 { (exit 1); exit 1; }; }
48219 cat >conftest.$ac_ext <<_ACEOF
48220 /* confdefs.h. */
48221 _ACEOF
48222 cat confdefs.h >>conftest.$ac_ext
48223 cat >>conftest.$ac_ext <<_ACEOF
48224 /* end confdefs.h. */
48225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48227 #define $ac_func innocuous_$ac_func
48229 /* System header to define __stub macros and hopefully few prototypes,
48230 which can conflict with char $ac_func (); below.
48231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48232 <limits.h> exists even on freestanding compilers. */
48234 #ifdef __STDC__
48235 # include <limits.h>
48236 #else
48237 # include <assert.h>
48238 #endif
48240 #undef $ac_func
48242 /* Override any gcc2 internal prototype to avoid an error. */
48243 #ifdef __cplusplus
48244 extern "C"
48246 #endif
48247 /* We use char because int might match the return type of a gcc2
48248 builtin and then its argument prototype would still apply. */
48249 char $ac_func ();
48250 /* The GNU C library defines this for functions which it implements
48251 to always fail with ENOSYS. Some functions are actually named
48252 something starting with __ and the normal name is an alias. */
48253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48254 choke me
48255 #else
48256 char (*f) () = $ac_func;
48257 #endif
48258 #ifdef __cplusplus
48260 #endif
48263 main ()
48265 return f != $ac_func;
48267 return 0;
48269 _ACEOF
48270 rm -f conftest.$ac_objext conftest$ac_exeext
48271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48272 (eval $ac_link) 2>conftest.er1
48273 ac_status=$?
48274 grep -v '^ *+' conftest.er1 >conftest.err
48275 rm -f conftest.er1
48276 cat conftest.err >&5
48277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48278 (exit $ac_status); } &&
48279 { ac_try='test -z "$ac_c_werror_flag"
48280 || test ! -s conftest.err'
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); }; } &&
48286 { ac_try='test -s conftest$ac_exeext'
48287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48288 (eval $ac_try) 2>&5
48289 ac_status=$?
48290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48291 (exit $ac_status); }; }; then
48292 eval "$as_ac_var=yes"
48293 else
48294 echo "$as_me: failed program was:" >&5
48295 sed 's/^/| /' conftest.$ac_ext >&5
48297 eval "$as_ac_var=no"
48299 rm -f conftest.err conftest.$ac_objext \
48300 conftest$ac_exeext conftest.$ac_ext
48302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48304 if test `eval echo '${'$as_ac_var'}'` = yes; then
48305 cat >>confdefs.h <<_ACEOF
48306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48307 _ACEOF
48310 done
48312 else
48314 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
48315 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
48316 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48317 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
48318 echo $ECHO_N "(cached) $ECHO_C" >&6
48319 else
48323 ac_ext=cc
48324 ac_cpp='$CXXCPP $CPPFLAGS'
48325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48329 cat >conftest.$ac_ext <<_ACEOF
48330 /* confdefs.h. */
48331 _ACEOF
48332 cat confdefs.h >>conftest.$ac_ext
48333 cat >>conftest.$ac_ext <<_ACEOF
48334 /* end confdefs.h. */
48335 #include <math.h>
48337 main ()
48339 _hypotf(0, 0);
48341 return 0;
48343 _ACEOF
48344 rm -f conftest.$ac_objext
48345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48346 (eval $ac_compile) 2>conftest.er1
48347 ac_status=$?
48348 grep -v '^ *+' conftest.er1 >conftest.err
48349 rm -f conftest.er1
48350 cat conftest.err >&5
48351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48352 (exit $ac_status); } &&
48353 { ac_try='test -z "$ac_cxx_werror_flag"
48354 || test ! -s conftest.err'
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); }; } &&
48360 { ac_try='test -s conftest.$ac_objext'
48361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48362 (eval $ac_try) 2>&5
48363 ac_status=$?
48364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48365 (exit $ac_status); }; }; then
48366 glibcxx_cv_func__hypotf_use=yes
48367 else
48368 echo "$as_me: failed program was:" >&5
48369 sed 's/^/| /' conftest.$ac_ext >&5
48371 glibcxx_cv_func__hypotf_use=no
48373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48374 ac_ext=c
48375 ac_cpp='$CPP $CPPFLAGS'
48376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48384 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
48385 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
48387 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48389 for ac_func in _hypotf
48391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48392 echo "$as_me:$LINENO: checking for $ac_func" >&5
48393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48394 if eval "test \"\${$as_ac_var+set}\" = set"; then
48395 echo $ECHO_N "(cached) $ECHO_C" >&6
48396 else
48397 if test x$gcc_no_link = xyes; then
48398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48400 { (exit 1); exit 1; }; }
48402 cat >conftest.$ac_ext <<_ACEOF
48403 /* confdefs.h. */
48404 _ACEOF
48405 cat confdefs.h >>conftest.$ac_ext
48406 cat >>conftest.$ac_ext <<_ACEOF
48407 /* end confdefs.h. */
48408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48410 #define $ac_func innocuous_$ac_func
48412 /* System header to define __stub macros and hopefully few prototypes,
48413 which can conflict with char $ac_func (); below.
48414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48415 <limits.h> exists even on freestanding compilers. */
48417 #ifdef __STDC__
48418 # include <limits.h>
48419 #else
48420 # include <assert.h>
48421 #endif
48423 #undef $ac_func
48425 /* Override any gcc2 internal prototype to avoid an error. */
48426 #ifdef __cplusplus
48427 extern "C"
48429 #endif
48430 /* We use char because int might match the return type of a gcc2
48431 builtin and then its argument prototype would still apply. */
48432 char $ac_func ();
48433 /* The GNU C library defines this for functions which it implements
48434 to always fail with ENOSYS. Some functions are actually named
48435 something starting with __ and the normal name is an alias. */
48436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48437 choke me
48438 #else
48439 char (*f) () = $ac_func;
48440 #endif
48441 #ifdef __cplusplus
48443 #endif
48446 main ()
48448 return f != $ac_func;
48450 return 0;
48452 _ACEOF
48453 rm -f conftest.$ac_objext conftest$ac_exeext
48454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48455 (eval $ac_link) 2>conftest.er1
48456 ac_status=$?
48457 grep -v '^ *+' conftest.er1 >conftest.err
48458 rm -f conftest.er1
48459 cat conftest.err >&5
48460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48461 (exit $ac_status); } &&
48462 { ac_try='test -z "$ac_c_werror_flag"
48463 || test ! -s conftest.err'
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); }; } &&
48469 { ac_try='test -s conftest$ac_exeext'
48470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48471 (eval $ac_try) 2>&5
48472 ac_status=$?
48473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48474 (exit $ac_status); }; }; then
48475 eval "$as_ac_var=yes"
48476 else
48477 echo "$as_me: failed program was:" >&5
48478 sed 's/^/| /' conftest.$ac_ext >&5
48480 eval "$as_ac_var=no"
48482 rm -f conftest.err conftest.$ac_objext \
48483 conftest$ac_exeext conftest.$ac_ext
48485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48487 if test `eval echo '${'$as_ac_var'}'` = yes; then
48488 cat >>confdefs.h <<_ACEOF
48489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48490 _ACEOF
48493 done
48503 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
48504 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
48505 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48506 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
48507 echo $ECHO_N "(cached) $ECHO_C" >&6
48508 else
48512 ac_ext=cc
48513 ac_cpp='$CXXCPP $CPPFLAGS'
48514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48518 cat >conftest.$ac_ext <<_ACEOF
48519 /* confdefs.h. */
48520 _ACEOF
48521 cat confdefs.h >>conftest.$ac_ext
48522 cat >>conftest.$ac_ext <<_ACEOF
48523 /* end confdefs.h. */
48524 #include <math.h>
48526 main ()
48528 ldexpf(0, 0);
48530 return 0;
48532 _ACEOF
48533 rm -f conftest.$ac_objext
48534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48535 (eval $ac_compile) 2>conftest.er1
48536 ac_status=$?
48537 grep -v '^ *+' conftest.er1 >conftest.err
48538 rm -f conftest.er1
48539 cat conftest.err >&5
48540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48541 (exit $ac_status); } &&
48542 { ac_try='test -z "$ac_cxx_werror_flag"
48543 || test ! -s conftest.err'
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); }; } &&
48549 { ac_try='test -s conftest.$ac_objext'
48550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48551 (eval $ac_try) 2>&5
48552 ac_status=$?
48553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48554 (exit $ac_status); }; }; then
48555 glibcxx_cv_func_ldexpf_use=yes
48556 else
48557 echo "$as_me: failed program was:" >&5
48558 sed 's/^/| /' conftest.$ac_ext >&5
48560 glibcxx_cv_func_ldexpf_use=no
48562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48563 ac_ext=c
48564 ac_cpp='$CPP $CPPFLAGS'
48565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48573 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
48574 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
48576 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48578 for ac_func in ldexpf
48580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48581 echo "$as_me:$LINENO: checking for $ac_func" >&5
48582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48583 if eval "test \"\${$as_ac_var+set}\" = set"; then
48584 echo $ECHO_N "(cached) $ECHO_C" >&6
48585 else
48586 if test x$gcc_no_link = xyes; then
48587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48589 { (exit 1); exit 1; }; }
48591 cat >conftest.$ac_ext <<_ACEOF
48592 /* confdefs.h. */
48593 _ACEOF
48594 cat confdefs.h >>conftest.$ac_ext
48595 cat >>conftest.$ac_ext <<_ACEOF
48596 /* end confdefs.h. */
48597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48599 #define $ac_func innocuous_$ac_func
48601 /* System header to define __stub macros and hopefully few prototypes,
48602 which can conflict with char $ac_func (); below.
48603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48604 <limits.h> exists even on freestanding compilers. */
48606 #ifdef __STDC__
48607 # include <limits.h>
48608 #else
48609 # include <assert.h>
48610 #endif
48612 #undef $ac_func
48614 /* Override any gcc2 internal prototype to avoid an error. */
48615 #ifdef __cplusplus
48616 extern "C"
48618 #endif
48619 /* We use char because int might match the return type of a gcc2
48620 builtin and then its argument prototype would still apply. */
48621 char $ac_func ();
48622 /* The GNU C library defines this for functions which it implements
48623 to always fail with ENOSYS. Some functions are actually named
48624 something starting with __ and the normal name is an alias. */
48625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48626 choke me
48627 #else
48628 char (*f) () = $ac_func;
48629 #endif
48630 #ifdef __cplusplus
48632 #endif
48635 main ()
48637 return f != $ac_func;
48639 return 0;
48641 _ACEOF
48642 rm -f conftest.$ac_objext conftest$ac_exeext
48643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48644 (eval $ac_link) 2>conftest.er1
48645 ac_status=$?
48646 grep -v '^ *+' conftest.er1 >conftest.err
48647 rm -f conftest.er1
48648 cat conftest.err >&5
48649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48650 (exit $ac_status); } &&
48651 { ac_try='test -z "$ac_c_werror_flag"
48652 || test ! -s conftest.err'
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); }; } &&
48658 { ac_try='test -s conftest$ac_exeext'
48659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48660 (eval $ac_try) 2>&5
48661 ac_status=$?
48662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48663 (exit $ac_status); }; }; then
48664 eval "$as_ac_var=yes"
48665 else
48666 echo "$as_me: failed program was:" >&5
48667 sed 's/^/| /' conftest.$ac_ext >&5
48669 eval "$as_ac_var=no"
48671 rm -f conftest.err conftest.$ac_objext \
48672 conftest$ac_exeext conftest.$ac_ext
48674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48676 if test `eval echo '${'$as_ac_var'}'` = yes; then
48677 cat >>confdefs.h <<_ACEOF
48678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48679 _ACEOF
48682 done
48684 else
48686 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
48687 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
48688 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48689 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
48690 echo $ECHO_N "(cached) $ECHO_C" >&6
48691 else
48695 ac_ext=cc
48696 ac_cpp='$CXXCPP $CPPFLAGS'
48697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48701 cat >conftest.$ac_ext <<_ACEOF
48702 /* confdefs.h. */
48703 _ACEOF
48704 cat confdefs.h >>conftest.$ac_ext
48705 cat >>conftest.$ac_ext <<_ACEOF
48706 /* end confdefs.h. */
48707 #include <math.h>
48709 main ()
48711 _ldexpf(0, 0);
48713 return 0;
48715 _ACEOF
48716 rm -f conftest.$ac_objext
48717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48718 (eval $ac_compile) 2>conftest.er1
48719 ac_status=$?
48720 grep -v '^ *+' conftest.er1 >conftest.err
48721 rm -f conftest.er1
48722 cat conftest.err >&5
48723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48724 (exit $ac_status); } &&
48725 { ac_try='test -z "$ac_cxx_werror_flag"
48726 || test ! -s conftest.err'
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); }; } &&
48732 { ac_try='test -s conftest.$ac_objext'
48733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48734 (eval $ac_try) 2>&5
48735 ac_status=$?
48736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48737 (exit $ac_status); }; }; then
48738 glibcxx_cv_func__ldexpf_use=yes
48739 else
48740 echo "$as_me: failed program was:" >&5
48741 sed 's/^/| /' conftest.$ac_ext >&5
48743 glibcxx_cv_func__ldexpf_use=no
48745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48746 ac_ext=c
48747 ac_cpp='$CPP $CPPFLAGS'
48748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48756 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
48757 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
48759 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48761 for ac_func in _ldexpf
48763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48764 echo "$as_me:$LINENO: checking for $ac_func" >&5
48765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48766 if eval "test \"\${$as_ac_var+set}\" = set"; then
48767 echo $ECHO_N "(cached) $ECHO_C" >&6
48768 else
48769 if test x$gcc_no_link = xyes; then
48770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48772 { (exit 1); exit 1; }; }
48774 cat >conftest.$ac_ext <<_ACEOF
48775 /* confdefs.h. */
48776 _ACEOF
48777 cat confdefs.h >>conftest.$ac_ext
48778 cat >>conftest.$ac_ext <<_ACEOF
48779 /* end confdefs.h. */
48780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48782 #define $ac_func innocuous_$ac_func
48784 /* System header to define __stub macros and hopefully few prototypes,
48785 which can conflict with char $ac_func (); below.
48786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48787 <limits.h> exists even on freestanding compilers. */
48789 #ifdef __STDC__
48790 # include <limits.h>
48791 #else
48792 # include <assert.h>
48793 #endif
48795 #undef $ac_func
48797 /* Override any gcc2 internal prototype to avoid an error. */
48798 #ifdef __cplusplus
48799 extern "C"
48801 #endif
48802 /* We use char because int might match the return type of a gcc2
48803 builtin and then its argument prototype would still apply. */
48804 char $ac_func ();
48805 /* The GNU C library defines this for functions which it implements
48806 to always fail with ENOSYS. Some functions are actually named
48807 something starting with __ and the normal name is an alias. */
48808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48809 choke me
48810 #else
48811 char (*f) () = $ac_func;
48812 #endif
48813 #ifdef __cplusplus
48815 #endif
48818 main ()
48820 return f != $ac_func;
48822 return 0;
48824 _ACEOF
48825 rm -f conftest.$ac_objext conftest$ac_exeext
48826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48827 (eval $ac_link) 2>conftest.er1
48828 ac_status=$?
48829 grep -v '^ *+' conftest.er1 >conftest.err
48830 rm -f conftest.er1
48831 cat conftest.err >&5
48832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48833 (exit $ac_status); } &&
48834 { ac_try='test -z "$ac_c_werror_flag"
48835 || test ! -s conftest.err'
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); }; } &&
48841 { ac_try='test -s conftest$ac_exeext'
48842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48843 (eval $ac_try) 2>&5
48844 ac_status=$?
48845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48846 (exit $ac_status); }; }; then
48847 eval "$as_ac_var=yes"
48848 else
48849 echo "$as_me: failed program was:" >&5
48850 sed 's/^/| /' conftest.$ac_ext >&5
48852 eval "$as_ac_var=no"
48854 rm -f conftest.err conftest.$ac_objext \
48855 conftest$ac_exeext conftest.$ac_ext
48857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48859 if test `eval echo '${'$as_ac_var'}'` = yes; then
48860 cat >>confdefs.h <<_ACEOF
48861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48862 _ACEOF
48865 done
48875 echo "$as_me:$LINENO: checking for logf declaration" >&5
48876 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
48877 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48878 if test "${glibcxx_cv_func_logf_use+set}" = set; then
48879 echo $ECHO_N "(cached) $ECHO_C" >&6
48880 else
48884 ac_ext=cc
48885 ac_cpp='$CXXCPP $CPPFLAGS'
48886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48890 cat >conftest.$ac_ext <<_ACEOF
48891 /* confdefs.h. */
48892 _ACEOF
48893 cat confdefs.h >>conftest.$ac_ext
48894 cat >>conftest.$ac_ext <<_ACEOF
48895 /* end confdefs.h. */
48896 #include <math.h>
48897 #ifdef HAVE_IEEEFP_H
48898 #include <ieeefp.h>
48899 #endif
48902 main ()
48904 logf(0);
48906 return 0;
48908 _ACEOF
48909 rm -f conftest.$ac_objext
48910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48911 (eval $ac_compile) 2>conftest.er1
48912 ac_status=$?
48913 grep -v '^ *+' conftest.er1 >conftest.err
48914 rm -f conftest.er1
48915 cat conftest.err >&5
48916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48917 (exit $ac_status); } &&
48918 { ac_try='test -z "$ac_cxx_werror_flag"
48919 || test ! -s conftest.err'
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); }; } &&
48925 { ac_try='test -s conftest.$ac_objext'
48926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48927 (eval $ac_try) 2>&5
48928 ac_status=$?
48929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48930 (exit $ac_status); }; }; then
48931 glibcxx_cv_func_logf_use=yes
48932 else
48933 echo "$as_me: failed program was:" >&5
48934 sed 's/^/| /' conftest.$ac_ext >&5
48936 glibcxx_cv_func_logf_use=no
48938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48939 ac_ext=c
48940 ac_cpp='$CPP $CPPFLAGS'
48941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48949 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
48950 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
48952 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48954 for ac_func in logf
48956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48957 echo "$as_me:$LINENO: checking for $ac_func" >&5
48958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48959 if eval "test \"\${$as_ac_var+set}\" = set"; then
48960 echo $ECHO_N "(cached) $ECHO_C" >&6
48961 else
48962 if test x$gcc_no_link = xyes; then
48963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48965 { (exit 1); exit 1; }; }
48967 cat >conftest.$ac_ext <<_ACEOF
48968 /* confdefs.h. */
48969 _ACEOF
48970 cat confdefs.h >>conftest.$ac_ext
48971 cat >>conftest.$ac_ext <<_ACEOF
48972 /* end confdefs.h. */
48973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48975 #define $ac_func innocuous_$ac_func
48977 /* System header to define __stub macros and hopefully few prototypes,
48978 which can conflict with char $ac_func (); below.
48979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48980 <limits.h> exists even on freestanding compilers. */
48982 #ifdef __STDC__
48983 # include <limits.h>
48984 #else
48985 # include <assert.h>
48986 #endif
48988 #undef $ac_func
48990 /* Override any gcc2 internal prototype to avoid an error. */
48991 #ifdef __cplusplus
48992 extern "C"
48994 #endif
48995 /* We use char because int might match the return type of a gcc2
48996 builtin and then its argument prototype would still apply. */
48997 char $ac_func ();
48998 /* The GNU C library defines this for functions which it implements
48999 to always fail with ENOSYS. Some functions are actually named
49000 something starting with __ and the normal name is an alias. */
49001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49002 choke me
49003 #else
49004 char (*f) () = $ac_func;
49005 #endif
49006 #ifdef __cplusplus
49008 #endif
49011 main ()
49013 return f != $ac_func;
49015 return 0;
49017 _ACEOF
49018 rm -f conftest.$ac_objext conftest$ac_exeext
49019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49020 (eval $ac_link) 2>conftest.er1
49021 ac_status=$?
49022 grep -v '^ *+' conftest.er1 >conftest.err
49023 rm -f conftest.er1
49024 cat conftest.err >&5
49025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49026 (exit $ac_status); } &&
49027 { ac_try='test -z "$ac_c_werror_flag"
49028 || test ! -s conftest.err'
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); }; } &&
49034 { ac_try='test -s conftest$ac_exeext'
49035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49036 (eval $ac_try) 2>&5
49037 ac_status=$?
49038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49039 (exit $ac_status); }; }; then
49040 eval "$as_ac_var=yes"
49041 else
49042 echo "$as_me: failed program was:" >&5
49043 sed 's/^/| /' conftest.$ac_ext >&5
49045 eval "$as_ac_var=no"
49047 rm -f conftest.err conftest.$ac_objext \
49048 conftest$ac_exeext conftest.$ac_ext
49050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49052 if test `eval echo '${'$as_ac_var'}'` = yes; then
49053 cat >>confdefs.h <<_ACEOF
49054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49055 _ACEOF
49058 done
49060 else
49062 echo "$as_me:$LINENO: checking for _logf declaration" >&5
49063 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
49064 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49065 if test "${glibcxx_cv_func__logf_use+set}" = set; then
49066 echo $ECHO_N "(cached) $ECHO_C" >&6
49067 else
49071 ac_ext=cc
49072 ac_cpp='$CXXCPP $CPPFLAGS'
49073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49077 cat >conftest.$ac_ext <<_ACEOF
49078 /* confdefs.h. */
49079 _ACEOF
49080 cat confdefs.h >>conftest.$ac_ext
49081 cat >>conftest.$ac_ext <<_ACEOF
49082 /* end confdefs.h. */
49083 #include <math.h>
49084 #ifdef HAVE_IEEEFP_H
49085 #include <ieeefp.h>
49086 #endif
49089 main ()
49091 _logf(0);
49093 return 0;
49095 _ACEOF
49096 rm -f conftest.$ac_objext
49097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49098 (eval $ac_compile) 2>conftest.er1
49099 ac_status=$?
49100 grep -v '^ *+' conftest.er1 >conftest.err
49101 rm -f conftest.er1
49102 cat conftest.err >&5
49103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49104 (exit $ac_status); } &&
49105 { ac_try='test -z "$ac_cxx_werror_flag"
49106 || test ! -s conftest.err'
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); }; } &&
49112 { ac_try='test -s conftest.$ac_objext'
49113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49114 (eval $ac_try) 2>&5
49115 ac_status=$?
49116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49117 (exit $ac_status); }; }; then
49118 glibcxx_cv_func__logf_use=yes
49119 else
49120 echo "$as_me: failed program was:" >&5
49121 sed 's/^/| /' conftest.$ac_ext >&5
49123 glibcxx_cv_func__logf_use=no
49125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49126 ac_ext=c
49127 ac_cpp='$CPP $CPPFLAGS'
49128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49136 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
49137 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
49139 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49141 for ac_func in _logf
49143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49144 echo "$as_me:$LINENO: checking for $ac_func" >&5
49145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49146 if eval "test \"\${$as_ac_var+set}\" = set"; then
49147 echo $ECHO_N "(cached) $ECHO_C" >&6
49148 else
49149 if test x$gcc_no_link = xyes; then
49150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49152 { (exit 1); exit 1; }; }
49154 cat >conftest.$ac_ext <<_ACEOF
49155 /* confdefs.h. */
49156 _ACEOF
49157 cat confdefs.h >>conftest.$ac_ext
49158 cat >>conftest.$ac_ext <<_ACEOF
49159 /* end confdefs.h. */
49160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49162 #define $ac_func innocuous_$ac_func
49164 /* System header to define __stub macros and hopefully few prototypes,
49165 which can conflict with char $ac_func (); below.
49166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49167 <limits.h> exists even on freestanding compilers. */
49169 #ifdef __STDC__
49170 # include <limits.h>
49171 #else
49172 # include <assert.h>
49173 #endif
49175 #undef $ac_func
49177 /* Override any gcc2 internal prototype to avoid an error. */
49178 #ifdef __cplusplus
49179 extern "C"
49181 #endif
49182 /* We use char because int might match the return type of a gcc2
49183 builtin and then its argument prototype would still apply. */
49184 char $ac_func ();
49185 /* The GNU C library defines this for functions which it implements
49186 to always fail with ENOSYS. Some functions are actually named
49187 something starting with __ and the normal name is an alias. */
49188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49189 choke me
49190 #else
49191 char (*f) () = $ac_func;
49192 #endif
49193 #ifdef __cplusplus
49195 #endif
49198 main ()
49200 return f != $ac_func;
49202 return 0;
49204 _ACEOF
49205 rm -f conftest.$ac_objext conftest$ac_exeext
49206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49207 (eval $ac_link) 2>conftest.er1
49208 ac_status=$?
49209 grep -v '^ *+' conftest.er1 >conftest.err
49210 rm -f conftest.er1
49211 cat conftest.err >&5
49212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49213 (exit $ac_status); } &&
49214 { ac_try='test -z "$ac_c_werror_flag"
49215 || test ! -s conftest.err'
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); }; } &&
49221 { ac_try='test -s conftest$ac_exeext'
49222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49223 (eval $ac_try) 2>&5
49224 ac_status=$?
49225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49226 (exit $ac_status); }; }; then
49227 eval "$as_ac_var=yes"
49228 else
49229 echo "$as_me: failed program was:" >&5
49230 sed 's/^/| /' conftest.$ac_ext >&5
49232 eval "$as_ac_var=no"
49234 rm -f conftest.err conftest.$ac_objext \
49235 conftest$ac_exeext conftest.$ac_ext
49237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49239 if test `eval echo '${'$as_ac_var'}'` = yes; then
49240 cat >>confdefs.h <<_ACEOF
49241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49242 _ACEOF
49245 done
49255 echo "$as_me:$LINENO: checking for log10f declaration" >&5
49256 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
49257 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49258 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
49259 echo $ECHO_N "(cached) $ECHO_C" >&6
49260 else
49264 ac_ext=cc
49265 ac_cpp='$CXXCPP $CPPFLAGS'
49266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49270 cat >conftest.$ac_ext <<_ACEOF
49271 /* confdefs.h. */
49272 _ACEOF
49273 cat confdefs.h >>conftest.$ac_ext
49274 cat >>conftest.$ac_ext <<_ACEOF
49275 /* end confdefs.h. */
49276 #include <math.h>
49277 #ifdef HAVE_IEEEFP_H
49278 #include <ieeefp.h>
49279 #endif
49282 main ()
49284 log10f(0);
49286 return 0;
49288 _ACEOF
49289 rm -f conftest.$ac_objext
49290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49291 (eval $ac_compile) 2>conftest.er1
49292 ac_status=$?
49293 grep -v '^ *+' conftest.er1 >conftest.err
49294 rm -f conftest.er1
49295 cat conftest.err >&5
49296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49297 (exit $ac_status); } &&
49298 { ac_try='test -z "$ac_cxx_werror_flag"
49299 || test ! -s conftest.err'
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); }; } &&
49305 { ac_try='test -s conftest.$ac_objext'
49306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49307 (eval $ac_try) 2>&5
49308 ac_status=$?
49309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49310 (exit $ac_status); }; }; then
49311 glibcxx_cv_func_log10f_use=yes
49312 else
49313 echo "$as_me: failed program was:" >&5
49314 sed 's/^/| /' conftest.$ac_ext >&5
49316 glibcxx_cv_func_log10f_use=no
49318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49319 ac_ext=c
49320 ac_cpp='$CPP $CPPFLAGS'
49321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
49330 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
49332 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49334 for ac_func in log10f
49336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49337 echo "$as_me:$LINENO: checking for $ac_func" >&5
49338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49339 if eval "test \"\${$as_ac_var+set}\" = set"; then
49340 echo $ECHO_N "(cached) $ECHO_C" >&6
49341 else
49342 if test x$gcc_no_link = xyes; then
49343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49345 { (exit 1); exit 1; }; }
49347 cat >conftest.$ac_ext <<_ACEOF
49348 /* confdefs.h. */
49349 _ACEOF
49350 cat confdefs.h >>conftest.$ac_ext
49351 cat >>conftest.$ac_ext <<_ACEOF
49352 /* end confdefs.h. */
49353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49355 #define $ac_func innocuous_$ac_func
49357 /* System header to define __stub macros and hopefully few prototypes,
49358 which can conflict with char $ac_func (); below.
49359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49360 <limits.h> exists even on freestanding compilers. */
49362 #ifdef __STDC__
49363 # include <limits.h>
49364 #else
49365 # include <assert.h>
49366 #endif
49368 #undef $ac_func
49370 /* Override any gcc2 internal prototype to avoid an error. */
49371 #ifdef __cplusplus
49372 extern "C"
49374 #endif
49375 /* We use char because int might match the return type of a gcc2
49376 builtin and then its argument prototype would still apply. */
49377 char $ac_func ();
49378 /* The GNU C library defines this for functions which it implements
49379 to always fail with ENOSYS. Some functions are actually named
49380 something starting with __ and the normal name is an alias. */
49381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49382 choke me
49383 #else
49384 char (*f) () = $ac_func;
49385 #endif
49386 #ifdef __cplusplus
49388 #endif
49391 main ()
49393 return f != $ac_func;
49395 return 0;
49397 _ACEOF
49398 rm -f conftest.$ac_objext conftest$ac_exeext
49399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49400 (eval $ac_link) 2>conftest.er1
49401 ac_status=$?
49402 grep -v '^ *+' conftest.er1 >conftest.err
49403 rm -f conftest.er1
49404 cat conftest.err >&5
49405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49406 (exit $ac_status); } &&
49407 { ac_try='test -z "$ac_c_werror_flag"
49408 || test ! -s conftest.err'
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); }; } &&
49414 { ac_try='test -s conftest$ac_exeext'
49415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49416 (eval $ac_try) 2>&5
49417 ac_status=$?
49418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49419 (exit $ac_status); }; }; then
49420 eval "$as_ac_var=yes"
49421 else
49422 echo "$as_me: failed program was:" >&5
49423 sed 's/^/| /' conftest.$ac_ext >&5
49425 eval "$as_ac_var=no"
49427 rm -f conftest.err conftest.$ac_objext \
49428 conftest$ac_exeext conftest.$ac_ext
49430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49432 if test `eval echo '${'$as_ac_var'}'` = yes; then
49433 cat >>confdefs.h <<_ACEOF
49434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49435 _ACEOF
49438 done
49440 else
49442 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
49443 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
49444 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49445 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
49446 echo $ECHO_N "(cached) $ECHO_C" >&6
49447 else
49451 ac_ext=cc
49452 ac_cpp='$CXXCPP $CPPFLAGS'
49453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49457 cat >conftest.$ac_ext <<_ACEOF
49458 /* confdefs.h. */
49459 _ACEOF
49460 cat confdefs.h >>conftest.$ac_ext
49461 cat >>conftest.$ac_ext <<_ACEOF
49462 /* end confdefs.h. */
49463 #include <math.h>
49464 #ifdef HAVE_IEEEFP_H
49465 #include <ieeefp.h>
49466 #endif
49469 main ()
49471 _log10f(0);
49473 return 0;
49475 _ACEOF
49476 rm -f conftest.$ac_objext
49477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49478 (eval $ac_compile) 2>conftest.er1
49479 ac_status=$?
49480 grep -v '^ *+' conftest.er1 >conftest.err
49481 rm -f conftest.er1
49482 cat conftest.err >&5
49483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49484 (exit $ac_status); } &&
49485 { ac_try='test -z "$ac_cxx_werror_flag"
49486 || test ! -s conftest.err'
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); }; } &&
49492 { ac_try='test -s conftest.$ac_objext'
49493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49494 (eval $ac_try) 2>&5
49495 ac_status=$?
49496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49497 (exit $ac_status); }; }; then
49498 glibcxx_cv_func__log10f_use=yes
49499 else
49500 echo "$as_me: failed program was:" >&5
49501 sed 's/^/| /' conftest.$ac_ext >&5
49503 glibcxx_cv_func__log10f_use=no
49505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49506 ac_ext=c
49507 ac_cpp='$CPP $CPPFLAGS'
49508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
49517 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
49519 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49521 for ac_func in _log10f
49523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49524 echo "$as_me:$LINENO: checking for $ac_func" >&5
49525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49526 if eval "test \"\${$as_ac_var+set}\" = set"; then
49527 echo $ECHO_N "(cached) $ECHO_C" >&6
49528 else
49529 if test x$gcc_no_link = xyes; then
49530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49532 { (exit 1); exit 1; }; }
49534 cat >conftest.$ac_ext <<_ACEOF
49535 /* confdefs.h. */
49536 _ACEOF
49537 cat confdefs.h >>conftest.$ac_ext
49538 cat >>conftest.$ac_ext <<_ACEOF
49539 /* end confdefs.h. */
49540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49542 #define $ac_func innocuous_$ac_func
49544 /* System header to define __stub macros and hopefully few prototypes,
49545 which can conflict with char $ac_func (); below.
49546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49547 <limits.h> exists even on freestanding compilers. */
49549 #ifdef __STDC__
49550 # include <limits.h>
49551 #else
49552 # include <assert.h>
49553 #endif
49555 #undef $ac_func
49557 /* Override any gcc2 internal prototype to avoid an error. */
49558 #ifdef __cplusplus
49559 extern "C"
49561 #endif
49562 /* We use char because int might match the return type of a gcc2
49563 builtin and then its argument prototype would still apply. */
49564 char $ac_func ();
49565 /* The GNU C library defines this for functions which it implements
49566 to always fail with ENOSYS. Some functions are actually named
49567 something starting with __ and the normal name is an alias. */
49568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49569 choke me
49570 #else
49571 char (*f) () = $ac_func;
49572 #endif
49573 #ifdef __cplusplus
49575 #endif
49578 main ()
49580 return f != $ac_func;
49582 return 0;
49584 _ACEOF
49585 rm -f conftest.$ac_objext conftest$ac_exeext
49586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49587 (eval $ac_link) 2>conftest.er1
49588 ac_status=$?
49589 grep -v '^ *+' conftest.er1 >conftest.err
49590 rm -f conftest.er1
49591 cat conftest.err >&5
49592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49593 (exit $ac_status); } &&
49594 { ac_try='test -z "$ac_c_werror_flag"
49595 || test ! -s conftest.err'
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); }; } &&
49601 { ac_try='test -s conftest$ac_exeext'
49602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49603 (eval $ac_try) 2>&5
49604 ac_status=$?
49605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49606 (exit $ac_status); }; }; then
49607 eval "$as_ac_var=yes"
49608 else
49609 echo "$as_me: failed program was:" >&5
49610 sed 's/^/| /' conftest.$ac_ext >&5
49612 eval "$as_ac_var=no"
49614 rm -f conftest.err conftest.$ac_objext \
49615 conftest$ac_exeext conftest.$ac_ext
49617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49619 if test `eval echo '${'$as_ac_var'}'` = yes; then
49620 cat >>confdefs.h <<_ACEOF
49621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49622 _ACEOF
49625 done
49635 echo "$as_me:$LINENO: checking for modff declaration" >&5
49636 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
49637 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49638 if test "${glibcxx_cv_func_modff_use+set}" = set; then
49639 echo $ECHO_N "(cached) $ECHO_C" >&6
49640 else
49644 ac_ext=cc
49645 ac_cpp='$CXXCPP $CPPFLAGS'
49646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49650 cat >conftest.$ac_ext <<_ACEOF
49651 /* confdefs.h. */
49652 _ACEOF
49653 cat confdefs.h >>conftest.$ac_ext
49654 cat >>conftest.$ac_ext <<_ACEOF
49655 /* end confdefs.h. */
49656 #include <math.h>
49658 main ()
49660 modff(0, 0);
49662 return 0;
49664 _ACEOF
49665 rm -f conftest.$ac_objext
49666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49667 (eval $ac_compile) 2>conftest.er1
49668 ac_status=$?
49669 grep -v '^ *+' conftest.er1 >conftest.err
49670 rm -f conftest.er1
49671 cat conftest.err >&5
49672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49673 (exit $ac_status); } &&
49674 { ac_try='test -z "$ac_cxx_werror_flag"
49675 || test ! -s conftest.err'
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); }; } &&
49681 { ac_try='test -s conftest.$ac_objext'
49682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49683 (eval $ac_try) 2>&5
49684 ac_status=$?
49685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49686 (exit $ac_status); }; }; then
49687 glibcxx_cv_func_modff_use=yes
49688 else
49689 echo "$as_me: failed program was:" >&5
49690 sed 's/^/| /' conftest.$ac_ext >&5
49692 glibcxx_cv_func_modff_use=no
49694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49695 ac_ext=c
49696 ac_cpp='$CPP $CPPFLAGS'
49697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49705 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
49706 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
49708 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49710 for ac_func in modff
49712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49713 echo "$as_me:$LINENO: checking for $ac_func" >&5
49714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49715 if eval "test \"\${$as_ac_var+set}\" = set"; then
49716 echo $ECHO_N "(cached) $ECHO_C" >&6
49717 else
49718 if test x$gcc_no_link = xyes; then
49719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49721 { (exit 1); exit 1; }; }
49723 cat >conftest.$ac_ext <<_ACEOF
49724 /* confdefs.h. */
49725 _ACEOF
49726 cat confdefs.h >>conftest.$ac_ext
49727 cat >>conftest.$ac_ext <<_ACEOF
49728 /* end confdefs.h. */
49729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49731 #define $ac_func innocuous_$ac_func
49733 /* System header to define __stub macros and hopefully few prototypes,
49734 which can conflict with char $ac_func (); below.
49735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49736 <limits.h> exists even on freestanding compilers. */
49738 #ifdef __STDC__
49739 # include <limits.h>
49740 #else
49741 # include <assert.h>
49742 #endif
49744 #undef $ac_func
49746 /* Override any gcc2 internal prototype to avoid an error. */
49747 #ifdef __cplusplus
49748 extern "C"
49750 #endif
49751 /* We use char because int might match the return type of a gcc2
49752 builtin and then its argument prototype would still apply. */
49753 char $ac_func ();
49754 /* The GNU C library defines this for functions which it implements
49755 to always fail with ENOSYS. Some functions are actually named
49756 something starting with __ and the normal name is an alias. */
49757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49758 choke me
49759 #else
49760 char (*f) () = $ac_func;
49761 #endif
49762 #ifdef __cplusplus
49764 #endif
49767 main ()
49769 return f != $ac_func;
49771 return 0;
49773 _ACEOF
49774 rm -f conftest.$ac_objext conftest$ac_exeext
49775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49776 (eval $ac_link) 2>conftest.er1
49777 ac_status=$?
49778 grep -v '^ *+' conftest.er1 >conftest.err
49779 rm -f conftest.er1
49780 cat conftest.err >&5
49781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49782 (exit $ac_status); } &&
49783 { ac_try='test -z "$ac_c_werror_flag"
49784 || test ! -s conftest.err'
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); }; } &&
49790 { ac_try='test -s conftest$ac_exeext'
49791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49792 (eval $ac_try) 2>&5
49793 ac_status=$?
49794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49795 (exit $ac_status); }; }; then
49796 eval "$as_ac_var=yes"
49797 else
49798 echo "$as_me: failed program was:" >&5
49799 sed 's/^/| /' conftest.$ac_ext >&5
49801 eval "$as_ac_var=no"
49803 rm -f conftest.err conftest.$ac_objext \
49804 conftest$ac_exeext conftest.$ac_ext
49806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49808 if test `eval echo '${'$as_ac_var'}'` = yes; then
49809 cat >>confdefs.h <<_ACEOF
49810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49811 _ACEOF
49814 done
49816 else
49818 echo "$as_me:$LINENO: checking for _modff declaration" >&5
49819 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
49820 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49821 if test "${glibcxx_cv_func__modff_use+set}" = set; then
49822 echo $ECHO_N "(cached) $ECHO_C" >&6
49823 else
49827 ac_ext=cc
49828 ac_cpp='$CXXCPP $CPPFLAGS'
49829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49833 cat >conftest.$ac_ext <<_ACEOF
49834 /* confdefs.h. */
49835 _ACEOF
49836 cat confdefs.h >>conftest.$ac_ext
49837 cat >>conftest.$ac_ext <<_ACEOF
49838 /* end confdefs.h. */
49839 #include <math.h>
49841 main ()
49843 _modff(0, 0);
49845 return 0;
49847 _ACEOF
49848 rm -f conftest.$ac_objext
49849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49850 (eval $ac_compile) 2>conftest.er1
49851 ac_status=$?
49852 grep -v '^ *+' conftest.er1 >conftest.err
49853 rm -f conftest.er1
49854 cat conftest.err >&5
49855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49856 (exit $ac_status); } &&
49857 { ac_try='test -z "$ac_cxx_werror_flag"
49858 || test ! -s conftest.err'
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); }; } &&
49864 { ac_try='test -s conftest.$ac_objext'
49865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49866 (eval $ac_try) 2>&5
49867 ac_status=$?
49868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49869 (exit $ac_status); }; }; then
49870 glibcxx_cv_func__modff_use=yes
49871 else
49872 echo "$as_me: failed program was:" >&5
49873 sed 's/^/| /' conftest.$ac_ext >&5
49875 glibcxx_cv_func__modff_use=no
49877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49878 ac_ext=c
49879 ac_cpp='$CPP $CPPFLAGS'
49880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49888 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
49889 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
49891 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49893 for ac_func in _modff
49895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49896 echo "$as_me:$LINENO: checking for $ac_func" >&5
49897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49898 if eval "test \"\${$as_ac_var+set}\" = set"; then
49899 echo $ECHO_N "(cached) $ECHO_C" >&6
49900 else
49901 if test x$gcc_no_link = xyes; then
49902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49904 { (exit 1); exit 1; }; }
49906 cat >conftest.$ac_ext <<_ACEOF
49907 /* confdefs.h. */
49908 _ACEOF
49909 cat confdefs.h >>conftest.$ac_ext
49910 cat >>conftest.$ac_ext <<_ACEOF
49911 /* end confdefs.h. */
49912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49914 #define $ac_func innocuous_$ac_func
49916 /* System header to define __stub macros and hopefully few prototypes,
49917 which can conflict with char $ac_func (); below.
49918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49919 <limits.h> exists even on freestanding compilers. */
49921 #ifdef __STDC__
49922 # include <limits.h>
49923 #else
49924 # include <assert.h>
49925 #endif
49927 #undef $ac_func
49929 /* Override any gcc2 internal prototype to avoid an error. */
49930 #ifdef __cplusplus
49931 extern "C"
49933 #endif
49934 /* We use char because int might match the return type of a gcc2
49935 builtin and then its argument prototype would still apply. */
49936 char $ac_func ();
49937 /* The GNU C library defines this for functions which it implements
49938 to always fail with ENOSYS. Some functions are actually named
49939 something starting with __ and the normal name is an alias. */
49940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49941 choke me
49942 #else
49943 char (*f) () = $ac_func;
49944 #endif
49945 #ifdef __cplusplus
49947 #endif
49950 main ()
49952 return f != $ac_func;
49954 return 0;
49956 _ACEOF
49957 rm -f conftest.$ac_objext conftest$ac_exeext
49958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49959 (eval $ac_link) 2>conftest.er1
49960 ac_status=$?
49961 grep -v '^ *+' conftest.er1 >conftest.err
49962 rm -f conftest.er1
49963 cat conftest.err >&5
49964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49965 (exit $ac_status); } &&
49966 { ac_try='test -z "$ac_c_werror_flag"
49967 || test ! -s conftest.err'
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); }; } &&
49973 { ac_try='test -s conftest$ac_exeext'
49974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49975 (eval $ac_try) 2>&5
49976 ac_status=$?
49977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49978 (exit $ac_status); }; }; then
49979 eval "$as_ac_var=yes"
49980 else
49981 echo "$as_me: failed program was:" >&5
49982 sed 's/^/| /' conftest.$ac_ext >&5
49984 eval "$as_ac_var=no"
49986 rm -f conftest.err conftest.$ac_objext \
49987 conftest$ac_exeext conftest.$ac_ext
49989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49991 if test `eval echo '${'$as_ac_var'}'` = yes; then
49992 cat >>confdefs.h <<_ACEOF
49993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49994 _ACEOF
49997 done
50007 echo "$as_me:$LINENO: checking for modf declaration" >&5
50008 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
50009 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50010 if test "${glibcxx_cv_func_modf_use+set}" = set; then
50011 echo $ECHO_N "(cached) $ECHO_C" >&6
50012 else
50016 ac_ext=cc
50017 ac_cpp='$CXXCPP $CPPFLAGS'
50018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50022 cat >conftest.$ac_ext <<_ACEOF
50023 /* confdefs.h. */
50024 _ACEOF
50025 cat confdefs.h >>conftest.$ac_ext
50026 cat >>conftest.$ac_ext <<_ACEOF
50027 /* end confdefs.h. */
50028 #include <math.h>
50030 main ()
50032 modf(0, 0);
50034 return 0;
50036 _ACEOF
50037 rm -f conftest.$ac_objext
50038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50039 (eval $ac_compile) 2>conftest.er1
50040 ac_status=$?
50041 grep -v '^ *+' conftest.er1 >conftest.err
50042 rm -f conftest.er1
50043 cat conftest.err >&5
50044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50045 (exit $ac_status); } &&
50046 { ac_try='test -z "$ac_cxx_werror_flag"
50047 || test ! -s conftest.err'
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); }; } &&
50053 { ac_try='test -s conftest.$ac_objext'
50054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50055 (eval $ac_try) 2>&5
50056 ac_status=$?
50057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50058 (exit $ac_status); }; }; then
50059 glibcxx_cv_func_modf_use=yes
50060 else
50061 echo "$as_me: failed program was:" >&5
50062 sed 's/^/| /' conftest.$ac_ext >&5
50064 glibcxx_cv_func_modf_use=no
50066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50067 ac_ext=c
50068 ac_cpp='$CPP $CPPFLAGS'
50069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50077 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
50078 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
50080 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50082 for ac_func in modf
50084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50085 echo "$as_me:$LINENO: checking for $ac_func" >&5
50086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50087 if eval "test \"\${$as_ac_var+set}\" = set"; then
50088 echo $ECHO_N "(cached) $ECHO_C" >&6
50089 else
50090 if test x$gcc_no_link = xyes; then
50091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50093 { (exit 1); exit 1; }; }
50095 cat >conftest.$ac_ext <<_ACEOF
50096 /* confdefs.h. */
50097 _ACEOF
50098 cat confdefs.h >>conftest.$ac_ext
50099 cat >>conftest.$ac_ext <<_ACEOF
50100 /* end confdefs.h. */
50101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50103 #define $ac_func innocuous_$ac_func
50105 /* System header to define __stub macros and hopefully few prototypes,
50106 which can conflict with char $ac_func (); below.
50107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50108 <limits.h> exists even on freestanding compilers. */
50110 #ifdef __STDC__
50111 # include <limits.h>
50112 #else
50113 # include <assert.h>
50114 #endif
50116 #undef $ac_func
50118 /* Override any gcc2 internal prototype to avoid an error. */
50119 #ifdef __cplusplus
50120 extern "C"
50122 #endif
50123 /* We use char because int might match the return type of a gcc2
50124 builtin and then its argument prototype would still apply. */
50125 char $ac_func ();
50126 /* The GNU C library defines this for functions which it implements
50127 to always fail with ENOSYS. Some functions are actually named
50128 something starting with __ and the normal name is an alias. */
50129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50130 choke me
50131 #else
50132 char (*f) () = $ac_func;
50133 #endif
50134 #ifdef __cplusplus
50136 #endif
50139 main ()
50141 return f != $ac_func;
50143 return 0;
50145 _ACEOF
50146 rm -f conftest.$ac_objext conftest$ac_exeext
50147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50148 (eval $ac_link) 2>conftest.er1
50149 ac_status=$?
50150 grep -v '^ *+' conftest.er1 >conftest.err
50151 rm -f conftest.er1
50152 cat conftest.err >&5
50153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50154 (exit $ac_status); } &&
50155 { ac_try='test -z "$ac_c_werror_flag"
50156 || test ! -s conftest.err'
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); }; } &&
50162 { ac_try='test -s conftest$ac_exeext'
50163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50164 (eval $ac_try) 2>&5
50165 ac_status=$?
50166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50167 (exit $ac_status); }; }; then
50168 eval "$as_ac_var=yes"
50169 else
50170 echo "$as_me: failed program was:" >&5
50171 sed 's/^/| /' conftest.$ac_ext >&5
50173 eval "$as_ac_var=no"
50175 rm -f conftest.err conftest.$ac_objext \
50176 conftest$ac_exeext conftest.$ac_ext
50178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50180 if test `eval echo '${'$as_ac_var'}'` = yes; then
50181 cat >>confdefs.h <<_ACEOF
50182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50183 _ACEOF
50186 done
50188 else
50190 echo "$as_me:$LINENO: checking for _modf declaration" >&5
50191 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
50192 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50193 if test "${glibcxx_cv_func__modf_use+set}" = set; then
50194 echo $ECHO_N "(cached) $ECHO_C" >&6
50195 else
50199 ac_ext=cc
50200 ac_cpp='$CXXCPP $CPPFLAGS'
50201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50205 cat >conftest.$ac_ext <<_ACEOF
50206 /* confdefs.h. */
50207 _ACEOF
50208 cat confdefs.h >>conftest.$ac_ext
50209 cat >>conftest.$ac_ext <<_ACEOF
50210 /* end confdefs.h. */
50211 #include <math.h>
50213 main ()
50215 _modf(0, 0);
50217 return 0;
50219 _ACEOF
50220 rm -f conftest.$ac_objext
50221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50222 (eval $ac_compile) 2>conftest.er1
50223 ac_status=$?
50224 grep -v '^ *+' conftest.er1 >conftest.err
50225 rm -f conftest.er1
50226 cat conftest.err >&5
50227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50228 (exit $ac_status); } &&
50229 { ac_try='test -z "$ac_cxx_werror_flag"
50230 || test ! -s conftest.err'
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); }; } &&
50236 { ac_try='test -s conftest.$ac_objext'
50237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50238 (eval $ac_try) 2>&5
50239 ac_status=$?
50240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50241 (exit $ac_status); }; }; then
50242 glibcxx_cv_func__modf_use=yes
50243 else
50244 echo "$as_me: failed program was:" >&5
50245 sed 's/^/| /' conftest.$ac_ext >&5
50247 glibcxx_cv_func__modf_use=no
50249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50250 ac_ext=c
50251 ac_cpp='$CPP $CPPFLAGS'
50252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50260 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
50261 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
50263 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50265 for ac_func in _modf
50267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50268 echo "$as_me:$LINENO: checking for $ac_func" >&5
50269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50270 if eval "test \"\${$as_ac_var+set}\" = set"; then
50271 echo $ECHO_N "(cached) $ECHO_C" >&6
50272 else
50273 if test x$gcc_no_link = xyes; then
50274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50276 { (exit 1); exit 1; }; }
50278 cat >conftest.$ac_ext <<_ACEOF
50279 /* confdefs.h. */
50280 _ACEOF
50281 cat confdefs.h >>conftest.$ac_ext
50282 cat >>conftest.$ac_ext <<_ACEOF
50283 /* end confdefs.h. */
50284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50286 #define $ac_func innocuous_$ac_func
50288 /* System header to define __stub macros and hopefully few prototypes,
50289 which can conflict with char $ac_func (); below.
50290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50291 <limits.h> exists even on freestanding compilers. */
50293 #ifdef __STDC__
50294 # include <limits.h>
50295 #else
50296 # include <assert.h>
50297 #endif
50299 #undef $ac_func
50301 /* Override any gcc2 internal prototype to avoid an error. */
50302 #ifdef __cplusplus
50303 extern "C"
50305 #endif
50306 /* We use char because int might match the return type of a gcc2
50307 builtin and then its argument prototype would still apply. */
50308 char $ac_func ();
50309 /* The GNU C library defines this for functions which it implements
50310 to always fail with ENOSYS. Some functions are actually named
50311 something starting with __ and the normal name is an alias. */
50312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50313 choke me
50314 #else
50315 char (*f) () = $ac_func;
50316 #endif
50317 #ifdef __cplusplus
50319 #endif
50322 main ()
50324 return f != $ac_func;
50326 return 0;
50328 _ACEOF
50329 rm -f conftest.$ac_objext conftest$ac_exeext
50330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50331 (eval $ac_link) 2>conftest.er1
50332 ac_status=$?
50333 grep -v '^ *+' conftest.er1 >conftest.err
50334 rm -f conftest.er1
50335 cat conftest.err >&5
50336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50337 (exit $ac_status); } &&
50338 { ac_try='test -z "$ac_c_werror_flag"
50339 || test ! -s conftest.err'
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); }; } &&
50345 { ac_try='test -s conftest$ac_exeext'
50346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50347 (eval $ac_try) 2>&5
50348 ac_status=$?
50349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50350 (exit $ac_status); }; }; then
50351 eval "$as_ac_var=yes"
50352 else
50353 echo "$as_me: failed program was:" >&5
50354 sed 's/^/| /' conftest.$ac_ext >&5
50356 eval "$as_ac_var=no"
50358 rm -f conftest.err conftest.$ac_objext \
50359 conftest$ac_exeext conftest.$ac_ext
50361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50363 if test `eval echo '${'$as_ac_var'}'` = yes; then
50364 cat >>confdefs.h <<_ACEOF
50365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50366 _ACEOF
50369 done
50379 echo "$as_me:$LINENO: checking for powf declaration" >&5
50380 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
50381 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50382 if test "${glibcxx_cv_func_powf_use+set}" = set; then
50383 echo $ECHO_N "(cached) $ECHO_C" >&6
50384 else
50388 ac_ext=cc
50389 ac_cpp='$CXXCPP $CPPFLAGS'
50390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50394 cat >conftest.$ac_ext <<_ACEOF
50395 /* confdefs.h. */
50396 _ACEOF
50397 cat confdefs.h >>conftest.$ac_ext
50398 cat >>conftest.$ac_ext <<_ACEOF
50399 /* end confdefs.h. */
50400 #include <math.h>
50402 main ()
50404 powf(0, 0);
50406 return 0;
50408 _ACEOF
50409 rm -f conftest.$ac_objext
50410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50411 (eval $ac_compile) 2>conftest.er1
50412 ac_status=$?
50413 grep -v '^ *+' conftest.er1 >conftest.err
50414 rm -f conftest.er1
50415 cat conftest.err >&5
50416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50417 (exit $ac_status); } &&
50418 { ac_try='test -z "$ac_cxx_werror_flag"
50419 || test ! -s conftest.err'
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); }; } &&
50425 { ac_try='test -s conftest.$ac_objext'
50426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50427 (eval $ac_try) 2>&5
50428 ac_status=$?
50429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50430 (exit $ac_status); }; }; then
50431 glibcxx_cv_func_powf_use=yes
50432 else
50433 echo "$as_me: failed program was:" >&5
50434 sed 's/^/| /' conftest.$ac_ext >&5
50436 glibcxx_cv_func_powf_use=no
50438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50439 ac_ext=c
50440 ac_cpp='$CPP $CPPFLAGS'
50441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50449 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
50450 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
50452 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50454 for ac_func in powf
50456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50457 echo "$as_me:$LINENO: checking for $ac_func" >&5
50458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50459 if eval "test \"\${$as_ac_var+set}\" = set"; then
50460 echo $ECHO_N "(cached) $ECHO_C" >&6
50461 else
50462 if test x$gcc_no_link = xyes; then
50463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50465 { (exit 1); exit 1; }; }
50467 cat >conftest.$ac_ext <<_ACEOF
50468 /* confdefs.h. */
50469 _ACEOF
50470 cat confdefs.h >>conftest.$ac_ext
50471 cat >>conftest.$ac_ext <<_ACEOF
50472 /* end confdefs.h. */
50473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50475 #define $ac_func innocuous_$ac_func
50477 /* System header to define __stub macros and hopefully few prototypes,
50478 which can conflict with char $ac_func (); below.
50479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50480 <limits.h> exists even on freestanding compilers. */
50482 #ifdef __STDC__
50483 # include <limits.h>
50484 #else
50485 # include <assert.h>
50486 #endif
50488 #undef $ac_func
50490 /* Override any gcc2 internal prototype to avoid an error. */
50491 #ifdef __cplusplus
50492 extern "C"
50494 #endif
50495 /* We use char because int might match the return type of a gcc2
50496 builtin and then its argument prototype would still apply. */
50497 char $ac_func ();
50498 /* The GNU C library defines this for functions which it implements
50499 to always fail with ENOSYS. Some functions are actually named
50500 something starting with __ and the normal name is an alias. */
50501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50502 choke me
50503 #else
50504 char (*f) () = $ac_func;
50505 #endif
50506 #ifdef __cplusplus
50508 #endif
50511 main ()
50513 return f != $ac_func;
50515 return 0;
50517 _ACEOF
50518 rm -f conftest.$ac_objext conftest$ac_exeext
50519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50520 (eval $ac_link) 2>conftest.er1
50521 ac_status=$?
50522 grep -v '^ *+' conftest.er1 >conftest.err
50523 rm -f conftest.er1
50524 cat conftest.err >&5
50525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50526 (exit $ac_status); } &&
50527 { ac_try='test -z "$ac_c_werror_flag"
50528 || test ! -s conftest.err'
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); }; } &&
50534 { ac_try='test -s conftest$ac_exeext'
50535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50536 (eval $ac_try) 2>&5
50537 ac_status=$?
50538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50539 (exit $ac_status); }; }; then
50540 eval "$as_ac_var=yes"
50541 else
50542 echo "$as_me: failed program was:" >&5
50543 sed 's/^/| /' conftest.$ac_ext >&5
50545 eval "$as_ac_var=no"
50547 rm -f conftest.err conftest.$ac_objext \
50548 conftest$ac_exeext conftest.$ac_ext
50550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50552 if test `eval echo '${'$as_ac_var'}'` = yes; then
50553 cat >>confdefs.h <<_ACEOF
50554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50555 _ACEOF
50558 done
50560 else
50562 echo "$as_me:$LINENO: checking for _powf declaration" >&5
50563 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
50564 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50565 if test "${glibcxx_cv_func__powf_use+set}" = set; then
50566 echo $ECHO_N "(cached) $ECHO_C" >&6
50567 else
50571 ac_ext=cc
50572 ac_cpp='$CXXCPP $CPPFLAGS'
50573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50577 cat >conftest.$ac_ext <<_ACEOF
50578 /* confdefs.h. */
50579 _ACEOF
50580 cat confdefs.h >>conftest.$ac_ext
50581 cat >>conftest.$ac_ext <<_ACEOF
50582 /* end confdefs.h. */
50583 #include <math.h>
50585 main ()
50587 _powf(0, 0);
50589 return 0;
50591 _ACEOF
50592 rm -f conftest.$ac_objext
50593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50594 (eval $ac_compile) 2>conftest.er1
50595 ac_status=$?
50596 grep -v '^ *+' conftest.er1 >conftest.err
50597 rm -f conftest.er1
50598 cat conftest.err >&5
50599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50600 (exit $ac_status); } &&
50601 { ac_try='test -z "$ac_cxx_werror_flag"
50602 || test ! -s conftest.err'
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); }; } &&
50608 { ac_try='test -s conftest.$ac_objext'
50609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50610 (eval $ac_try) 2>&5
50611 ac_status=$?
50612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50613 (exit $ac_status); }; }; then
50614 glibcxx_cv_func__powf_use=yes
50615 else
50616 echo "$as_me: failed program was:" >&5
50617 sed 's/^/| /' conftest.$ac_ext >&5
50619 glibcxx_cv_func__powf_use=no
50621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50622 ac_ext=c
50623 ac_cpp='$CPP $CPPFLAGS'
50624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50632 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
50633 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
50635 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50637 for ac_func in _powf
50639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50640 echo "$as_me:$LINENO: checking for $ac_func" >&5
50641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50642 if eval "test \"\${$as_ac_var+set}\" = set"; then
50643 echo $ECHO_N "(cached) $ECHO_C" >&6
50644 else
50645 if test x$gcc_no_link = xyes; then
50646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50648 { (exit 1); exit 1; }; }
50650 cat >conftest.$ac_ext <<_ACEOF
50651 /* confdefs.h. */
50652 _ACEOF
50653 cat confdefs.h >>conftest.$ac_ext
50654 cat >>conftest.$ac_ext <<_ACEOF
50655 /* end confdefs.h. */
50656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50658 #define $ac_func innocuous_$ac_func
50660 /* System header to define __stub macros and hopefully few prototypes,
50661 which can conflict with char $ac_func (); below.
50662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50663 <limits.h> exists even on freestanding compilers. */
50665 #ifdef __STDC__
50666 # include <limits.h>
50667 #else
50668 # include <assert.h>
50669 #endif
50671 #undef $ac_func
50673 /* Override any gcc2 internal prototype to avoid an error. */
50674 #ifdef __cplusplus
50675 extern "C"
50677 #endif
50678 /* We use char because int might match the return type of a gcc2
50679 builtin and then its argument prototype would still apply. */
50680 char $ac_func ();
50681 /* The GNU C library defines this for functions which it implements
50682 to always fail with ENOSYS. Some functions are actually named
50683 something starting with __ and the normal name is an alias. */
50684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50685 choke me
50686 #else
50687 char (*f) () = $ac_func;
50688 #endif
50689 #ifdef __cplusplus
50691 #endif
50694 main ()
50696 return f != $ac_func;
50698 return 0;
50700 _ACEOF
50701 rm -f conftest.$ac_objext conftest$ac_exeext
50702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50703 (eval $ac_link) 2>conftest.er1
50704 ac_status=$?
50705 grep -v '^ *+' conftest.er1 >conftest.err
50706 rm -f conftest.er1
50707 cat conftest.err >&5
50708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50709 (exit $ac_status); } &&
50710 { ac_try='test -z "$ac_c_werror_flag"
50711 || test ! -s conftest.err'
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); }; } &&
50717 { ac_try='test -s conftest$ac_exeext'
50718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50719 (eval $ac_try) 2>&5
50720 ac_status=$?
50721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50722 (exit $ac_status); }; }; then
50723 eval "$as_ac_var=yes"
50724 else
50725 echo "$as_me: failed program was:" >&5
50726 sed 's/^/| /' conftest.$ac_ext >&5
50728 eval "$as_ac_var=no"
50730 rm -f conftest.err conftest.$ac_objext \
50731 conftest$ac_exeext conftest.$ac_ext
50733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50735 if test `eval echo '${'$as_ac_var'}'` = yes; then
50736 cat >>confdefs.h <<_ACEOF
50737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50738 _ACEOF
50741 done
50751 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
50752 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
50753 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50754 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
50755 echo $ECHO_N "(cached) $ECHO_C" >&6
50756 else
50760 ac_ext=cc
50761 ac_cpp='$CXXCPP $CPPFLAGS'
50762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50766 cat >conftest.$ac_ext <<_ACEOF
50767 /* confdefs.h. */
50768 _ACEOF
50769 cat confdefs.h >>conftest.$ac_ext
50770 cat >>conftest.$ac_ext <<_ACEOF
50771 /* end confdefs.h. */
50772 #include <math.h>
50773 #ifdef HAVE_IEEEFP_H
50774 #include <ieeefp.h>
50775 #endif
50778 main ()
50780 sqrtf(0);
50782 return 0;
50784 _ACEOF
50785 rm -f conftest.$ac_objext
50786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50787 (eval $ac_compile) 2>conftest.er1
50788 ac_status=$?
50789 grep -v '^ *+' conftest.er1 >conftest.err
50790 rm -f conftest.er1
50791 cat conftest.err >&5
50792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50793 (exit $ac_status); } &&
50794 { ac_try='test -z "$ac_cxx_werror_flag"
50795 || test ! -s conftest.err'
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); }; } &&
50801 { ac_try='test -s conftest.$ac_objext'
50802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50803 (eval $ac_try) 2>&5
50804 ac_status=$?
50805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50806 (exit $ac_status); }; }; then
50807 glibcxx_cv_func_sqrtf_use=yes
50808 else
50809 echo "$as_me: failed program was:" >&5
50810 sed 's/^/| /' conftest.$ac_ext >&5
50812 glibcxx_cv_func_sqrtf_use=no
50814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50815 ac_ext=c
50816 ac_cpp='$CPP $CPPFLAGS'
50817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50825 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
50826 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
50828 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50830 for ac_func in sqrtf
50832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50833 echo "$as_me:$LINENO: checking for $ac_func" >&5
50834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50835 if eval "test \"\${$as_ac_var+set}\" = set"; then
50836 echo $ECHO_N "(cached) $ECHO_C" >&6
50837 else
50838 if test x$gcc_no_link = xyes; then
50839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50841 { (exit 1); exit 1; }; }
50843 cat >conftest.$ac_ext <<_ACEOF
50844 /* confdefs.h. */
50845 _ACEOF
50846 cat confdefs.h >>conftest.$ac_ext
50847 cat >>conftest.$ac_ext <<_ACEOF
50848 /* end confdefs.h. */
50849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50851 #define $ac_func innocuous_$ac_func
50853 /* System header to define __stub macros and hopefully few prototypes,
50854 which can conflict with char $ac_func (); below.
50855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50856 <limits.h> exists even on freestanding compilers. */
50858 #ifdef __STDC__
50859 # include <limits.h>
50860 #else
50861 # include <assert.h>
50862 #endif
50864 #undef $ac_func
50866 /* Override any gcc2 internal prototype to avoid an error. */
50867 #ifdef __cplusplus
50868 extern "C"
50870 #endif
50871 /* We use char because int might match the return type of a gcc2
50872 builtin and then its argument prototype would still apply. */
50873 char $ac_func ();
50874 /* The GNU C library defines this for functions which it implements
50875 to always fail with ENOSYS. Some functions are actually named
50876 something starting with __ and the normal name is an alias. */
50877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50878 choke me
50879 #else
50880 char (*f) () = $ac_func;
50881 #endif
50882 #ifdef __cplusplus
50884 #endif
50887 main ()
50889 return f != $ac_func;
50891 return 0;
50893 _ACEOF
50894 rm -f conftest.$ac_objext conftest$ac_exeext
50895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50896 (eval $ac_link) 2>conftest.er1
50897 ac_status=$?
50898 grep -v '^ *+' conftest.er1 >conftest.err
50899 rm -f conftest.er1
50900 cat conftest.err >&5
50901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50902 (exit $ac_status); } &&
50903 { ac_try='test -z "$ac_c_werror_flag"
50904 || test ! -s conftest.err'
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); }; } &&
50910 { ac_try='test -s conftest$ac_exeext'
50911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50912 (eval $ac_try) 2>&5
50913 ac_status=$?
50914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50915 (exit $ac_status); }; }; then
50916 eval "$as_ac_var=yes"
50917 else
50918 echo "$as_me: failed program was:" >&5
50919 sed 's/^/| /' conftest.$ac_ext >&5
50921 eval "$as_ac_var=no"
50923 rm -f conftest.err conftest.$ac_objext \
50924 conftest$ac_exeext conftest.$ac_ext
50926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50928 if test `eval echo '${'$as_ac_var'}'` = yes; then
50929 cat >>confdefs.h <<_ACEOF
50930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50931 _ACEOF
50934 done
50936 else
50938 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
50939 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
50940 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50941 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
50942 echo $ECHO_N "(cached) $ECHO_C" >&6
50943 else
50947 ac_ext=cc
50948 ac_cpp='$CXXCPP $CPPFLAGS'
50949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50953 cat >conftest.$ac_ext <<_ACEOF
50954 /* confdefs.h. */
50955 _ACEOF
50956 cat confdefs.h >>conftest.$ac_ext
50957 cat >>conftest.$ac_ext <<_ACEOF
50958 /* end confdefs.h. */
50959 #include <math.h>
50960 #ifdef HAVE_IEEEFP_H
50961 #include <ieeefp.h>
50962 #endif
50965 main ()
50967 _sqrtf(0);
50969 return 0;
50971 _ACEOF
50972 rm -f conftest.$ac_objext
50973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50974 (eval $ac_compile) 2>conftest.er1
50975 ac_status=$?
50976 grep -v '^ *+' conftest.er1 >conftest.err
50977 rm -f conftest.er1
50978 cat conftest.err >&5
50979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50980 (exit $ac_status); } &&
50981 { ac_try='test -z "$ac_cxx_werror_flag"
50982 || test ! -s conftest.err'
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); }; } &&
50988 { ac_try='test -s conftest.$ac_objext'
50989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50990 (eval $ac_try) 2>&5
50991 ac_status=$?
50992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50993 (exit $ac_status); }; }; then
50994 glibcxx_cv_func__sqrtf_use=yes
50995 else
50996 echo "$as_me: failed program was:" >&5
50997 sed 's/^/| /' conftest.$ac_ext >&5
50999 glibcxx_cv_func__sqrtf_use=no
51001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51002 ac_ext=c
51003 ac_cpp='$CPP $CPPFLAGS'
51004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51012 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
51013 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
51015 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51017 for ac_func in _sqrtf
51019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51020 echo "$as_me:$LINENO: checking for $ac_func" >&5
51021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51022 if eval "test \"\${$as_ac_var+set}\" = set"; then
51023 echo $ECHO_N "(cached) $ECHO_C" >&6
51024 else
51025 if test x$gcc_no_link = xyes; then
51026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51028 { (exit 1); exit 1; }; }
51030 cat >conftest.$ac_ext <<_ACEOF
51031 /* confdefs.h. */
51032 _ACEOF
51033 cat confdefs.h >>conftest.$ac_ext
51034 cat >>conftest.$ac_ext <<_ACEOF
51035 /* end confdefs.h. */
51036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51038 #define $ac_func innocuous_$ac_func
51040 /* System header to define __stub macros and hopefully few prototypes,
51041 which can conflict with char $ac_func (); below.
51042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51043 <limits.h> exists even on freestanding compilers. */
51045 #ifdef __STDC__
51046 # include <limits.h>
51047 #else
51048 # include <assert.h>
51049 #endif
51051 #undef $ac_func
51053 /* Override any gcc2 internal prototype to avoid an error. */
51054 #ifdef __cplusplus
51055 extern "C"
51057 #endif
51058 /* We use char because int might match the return type of a gcc2
51059 builtin and then its argument prototype would still apply. */
51060 char $ac_func ();
51061 /* The GNU C library defines this for functions which it implements
51062 to always fail with ENOSYS. Some functions are actually named
51063 something starting with __ and the normal name is an alias. */
51064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51065 choke me
51066 #else
51067 char (*f) () = $ac_func;
51068 #endif
51069 #ifdef __cplusplus
51071 #endif
51074 main ()
51076 return f != $ac_func;
51078 return 0;
51080 _ACEOF
51081 rm -f conftest.$ac_objext conftest$ac_exeext
51082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51083 (eval $ac_link) 2>conftest.er1
51084 ac_status=$?
51085 grep -v '^ *+' conftest.er1 >conftest.err
51086 rm -f conftest.er1
51087 cat conftest.err >&5
51088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51089 (exit $ac_status); } &&
51090 { ac_try='test -z "$ac_c_werror_flag"
51091 || test ! -s conftest.err'
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); }; } &&
51097 { ac_try='test -s conftest$ac_exeext'
51098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51099 (eval $ac_try) 2>&5
51100 ac_status=$?
51101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51102 (exit $ac_status); }; }; then
51103 eval "$as_ac_var=yes"
51104 else
51105 echo "$as_me: failed program was:" >&5
51106 sed 's/^/| /' conftest.$ac_ext >&5
51108 eval "$as_ac_var=no"
51110 rm -f conftest.err conftest.$ac_objext \
51111 conftest$ac_exeext conftest.$ac_ext
51113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51115 if test `eval echo '${'$as_ac_var'}'` = yes; then
51116 cat >>confdefs.h <<_ACEOF
51117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51118 _ACEOF
51121 done
51131 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
51132 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
51133 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51134 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
51135 echo $ECHO_N "(cached) $ECHO_C" >&6
51136 else
51140 ac_ext=cc
51141 ac_cpp='$CXXCPP $CPPFLAGS'
51142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51146 cat >conftest.$ac_ext <<_ACEOF
51147 /* confdefs.h. */
51148 _ACEOF
51149 cat confdefs.h >>conftest.$ac_ext
51150 cat >>conftest.$ac_ext <<_ACEOF
51151 /* end confdefs.h. */
51152 #include <math.h>
51154 main ()
51156 sincosf(0, 0, 0);
51158 return 0;
51160 _ACEOF
51161 rm -f conftest.$ac_objext
51162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51163 (eval $ac_compile) 2>conftest.er1
51164 ac_status=$?
51165 grep -v '^ *+' conftest.er1 >conftest.err
51166 rm -f conftest.er1
51167 cat conftest.err >&5
51168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51169 (exit $ac_status); } &&
51170 { ac_try='test -z "$ac_cxx_werror_flag"
51171 || test ! -s conftest.err'
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); }; } &&
51177 { ac_try='test -s conftest.$ac_objext'
51178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51179 (eval $ac_try) 2>&5
51180 ac_status=$?
51181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51182 (exit $ac_status); }; }; then
51183 glibcxx_cv_func_sincosf_use=yes
51184 else
51185 echo "$as_me: failed program was:" >&5
51186 sed 's/^/| /' conftest.$ac_ext >&5
51188 glibcxx_cv_func_sincosf_use=no
51190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51191 ac_ext=c
51192 ac_cpp='$CPP $CPPFLAGS'
51193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51201 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
51202 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
51204 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51206 for ac_func in sincosf
51208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51209 echo "$as_me:$LINENO: checking for $ac_func" >&5
51210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51211 if eval "test \"\${$as_ac_var+set}\" = set"; then
51212 echo $ECHO_N "(cached) $ECHO_C" >&6
51213 else
51214 if test x$gcc_no_link = xyes; then
51215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51217 { (exit 1); exit 1; }; }
51219 cat >conftest.$ac_ext <<_ACEOF
51220 /* confdefs.h. */
51221 _ACEOF
51222 cat confdefs.h >>conftest.$ac_ext
51223 cat >>conftest.$ac_ext <<_ACEOF
51224 /* end confdefs.h. */
51225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51227 #define $ac_func innocuous_$ac_func
51229 /* System header to define __stub macros and hopefully few prototypes,
51230 which can conflict with char $ac_func (); below.
51231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51232 <limits.h> exists even on freestanding compilers. */
51234 #ifdef __STDC__
51235 # include <limits.h>
51236 #else
51237 # include <assert.h>
51238 #endif
51240 #undef $ac_func
51242 /* Override any gcc2 internal prototype to avoid an error. */
51243 #ifdef __cplusplus
51244 extern "C"
51246 #endif
51247 /* We use char because int might match the return type of a gcc2
51248 builtin and then its argument prototype would still apply. */
51249 char $ac_func ();
51250 /* The GNU C library defines this for functions which it implements
51251 to always fail with ENOSYS. Some functions are actually named
51252 something starting with __ and the normal name is an alias. */
51253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51254 choke me
51255 #else
51256 char (*f) () = $ac_func;
51257 #endif
51258 #ifdef __cplusplus
51260 #endif
51263 main ()
51265 return f != $ac_func;
51267 return 0;
51269 _ACEOF
51270 rm -f conftest.$ac_objext conftest$ac_exeext
51271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51272 (eval $ac_link) 2>conftest.er1
51273 ac_status=$?
51274 grep -v '^ *+' conftest.er1 >conftest.err
51275 rm -f conftest.er1
51276 cat conftest.err >&5
51277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51278 (exit $ac_status); } &&
51279 { ac_try='test -z "$ac_c_werror_flag"
51280 || test ! -s conftest.err'
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); }; } &&
51286 { ac_try='test -s conftest$ac_exeext'
51287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51288 (eval $ac_try) 2>&5
51289 ac_status=$?
51290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51291 (exit $ac_status); }; }; then
51292 eval "$as_ac_var=yes"
51293 else
51294 echo "$as_me: failed program was:" >&5
51295 sed 's/^/| /' conftest.$ac_ext >&5
51297 eval "$as_ac_var=no"
51299 rm -f conftest.err conftest.$ac_objext \
51300 conftest$ac_exeext conftest.$ac_ext
51302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51304 if test `eval echo '${'$as_ac_var'}'` = yes; then
51305 cat >>confdefs.h <<_ACEOF
51306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51307 _ACEOF
51310 done
51312 else
51314 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
51315 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
51316 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51317 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
51318 echo $ECHO_N "(cached) $ECHO_C" >&6
51319 else
51323 ac_ext=cc
51324 ac_cpp='$CXXCPP $CPPFLAGS'
51325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51329 cat >conftest.$ac_ext <<_ACEOF
51330 /* confdefs.h. */
51331 _ACEOF
51332 cat confdefs.h >>conftest.$ac_ext
51333 cat >>conftest.$ac_ext <<_ACEOF
51334 /* end confdefs.h. */
51335 #include <math.h>
51337 main ()
51339 _sincosf(0, 0, 0);
51341 return 0;
51343 _ACEOF
51344 rm -f conftest.$ac_objext
51345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51346 (eval $ac_compile) 2>conftest.er1
51347 ac_status=$?
51348 grep -v '^ *+' conftest.er1 >conftest.err
51349 rm -f conftest.er1
51350 cat conftest.err >&5
51351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51352 (exit $ac_status); } &&
51353 { ac_try='test -z "$ac_cxx_werror_flag"
51354 || test ! -s conftest.err'
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); }; } &&
51360 { ac_try='test -s conftest.$ac_objext'
51361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51362 (eval $ac_try) 2>&5
51363 ac_status=$?
51364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51365 (exit $ac_status); }; }; then
51366 glibcxx_cv_func__sincosf_use=yes
51367 else
51368 echo "$as_me: failed program was:" >&5
51369 sed 's/^/| /' conftest.$ac_ext >&5
51371 glibcxx_cv_func__sincosf_use=no
51373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51374 ac_ext=c
51375 ac_cpp='$CPP $CPPFLAGS'
51376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51384 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
51385 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
51387 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51389 for ac_func in _sincosf
51391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51392 echo "$as_me:$LINENO: checking for $ac_func" >&5
51393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51394 if eval "test \"\${$as_ac_var+set}\" = set"; then
51395 echo $ECHO_N "(cached) $ECHO_C" >&6
51396 else
51397 if test x$gcc_no_link = xyes; then
51398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51400 { (exit 1); exit 1; }; }
51402 cat >conftest.$ac_ext <<_ACEOF
51403 /* confdefs.h. */
51404 _ACEOF
51405 cat confdefs.h >>conftest.$ac_ext
51406 cat >>conftest.$ac_ext <<_ACEOF
51407 /* end confdefs.h. */
51408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51410 #define $ac_func innocuous_$ac_func
51412 /* System header to define __stub macros and hopefully few prototypes,
51413 which can conflict with char $ac_func (); below.
51414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51415 <limits.h> exists even on freestanding compilers. */
51417 #ifdef __STDC__
51418 # include <limits.h>
51419 #else
51420 # include <assert.h>
51421 #endif
51423 #undef $ac_func
51425 /* Override any gcc2 internal prototype to avoid an error. */
51426 #ifdef __cplusplus
51427 extern "C"
51429 #endif
51430 /* We use char because int might match the return type of a gcc2
51431 builtin and then its argument prototype would still apply. */
51432 char $ac_func ();
51433 /* The GNU C library defines this for functions which it implements
51434 to always fail with ENOSYS. Some functions are actually named
51435 something starting with __ and the normal name is an alias. */
51436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51437 choke me
51438 #else
51439 char (*f) () = $ac_func;
51440 #endif
51441 #ifdef __cplusplus
51443 #endif
51446 main ()
51448 return f != $ac_func;
51450 return 0;
51452 _ACEOF
51453 rm -f conftest.$ac_objext conftest$ac_exeext
51454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51455 (eval $ac_link) 2>conftest.er1
51456 ac_status=$?
51457 grep -v '^ *+' conftest.er1 >conftest.err
51458 rm -f conftest.er1
51459 cat conftest.err >&5
51460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51461 (exit $ac_status); } &&
51462 { ac_try='test -z "$ac_c_werror_flag"
51463 || test ! -s conftest.err'
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); }; } &&
51469 { ac_try='test -s conftest$ac_exeext'
51470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51471 (eval $ac_try) 2>&5
51472 ac_status=$?
51473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51474 (exit $ac_status); }; }; then
51475 eval "$as_ac_var=yes"
51476 else
51477 echo "$as_me: failed program was:" >&5
51478 sed 's/^/| /' conftest.$ac_ext >&5
51480 eval "$as_ac_var=no"
51482 rm -f conftest.err conftest.$ac_objext \
51483 conftest$ac_exeext conftest.$ac_ext
51485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51487 if test `eval echo '${'$as_ac_var'}'` = yes; then
51488 cat >>confdefs.h <<_ACEOF
51489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51490 _ACEOF
51493 done
51503 echo "$as_me:$LINENO: checking for finitef declaration" >&5
51504 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
51505 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51506 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
51507 echo $ECHO_N "(cached) $ECHO_C" >&6
51508 else
51512 ac_ext=cc
51513 ac_cpp='$CXXCPP $CPPFLAGS'
51514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51518 cat >conftest.$ac_ext <<_ACEOF
51519 /* confdefs.h. */
51520 _ACEOF
51521 cat confdefs.h >>conftest.$ac_ext
51522 cat >>conftest.$ac_ext <<_ACEOF
51523 /* end confdefs.h. */
51524 #include <math.h>
51525 #ifdef HAVE_IEEEFP_H
51526 #include <ieeefp.h>
51527 #endif
51530 main ()
51532 finitef(0);
51534 return 0;
51536 _ACEOF
51537 rm -f conftest.$ac_objext
51538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51539 (eval $ac_compile) 2>conftest.er1
51540 ac_status=$?
51541 grep -v '^ *+' conftest.er1 >conftest.err
51542 rm -f conftest.er1
51543 cat conftest.err >&5
51544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51545 (exit $ac_status); } &&
51546 { ac_try='test -z "$ac_cxx_werror_flag"
51547 || test ! -s conftest.err'
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); }; } &&
51553 { ac_try='test -s conftest.$ac_objext'
51554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51555 (eval $ac_try) 2>&5
51556 ac_status=$?
51557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51558 (exit $ac_status); }; }; then
51559 glibcxx_cv_func_finitef_use=yes
51560 else
51561 echo "$as_me: failed program was:" >&5
51562 sed 's/^/| /' conftest.$ac_ext >&5
51564 glibcxx_cv_func_finitef_use=no
51566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51567 ac_ext=c
51568 ac_cpp='$CPP $CPPFLAGS'
51569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51577 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
51578 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
51580 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51582 for ac_func in finitef
51584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51585 echo "$as_me:$LINENO: checking for $ac_func" >&5
51586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51587 if eval "test \"\${$as_ac_var+set}\" = set"; then
51588 echo $ECHO_N "(cached) $ECHO_C" >&6
51589 else
51590 if test x$gcc_no_link = xyes; then
51591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51593 { (exit 1); exit 1; }; }
51595 cat >conftest.$ac_ext <<_ACEOF
51596 /* confdefs.h. */
51597 _ACEOF
51598 cat confdefs.h >>conftest.$ac_ext
51599 cat >>conftest.$ac_ext <<_ACEOF
51600 /* end confdefs.h. */
51601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51603 #define $ac_func innocuous_$ac_func
51605 /* System header to define __stub macros and hopefully few prototypes,
51606 which can conflict with char $ac_func (); below.
51607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51608 <limits.h> exists even on freestanding compilers. */
51610 #ifdef __STDC__
51611 # include <limits.h>
51612 #else
51613 # include <assert.h>
51614 #endif
51616 #undef $ac_func
51618 /* Override any gcc2 internal prototype to avoid an error. */
51619 #ifdef __cplusplus
51620 extern "C"
51622 #endif
51623 /* We use char because int might match the return type of a gcc2
51624 builtin and then its argument prototype would still apply. */
51625 char $ac_func ();
51626 /* The GNU C library defines this for functions which it implements
51627 to always fail with ENOSYS. Some functions are actually named
51628 something starting with __ and the normal name is an alias. */
51629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51630 choke me
51631 #else
51632 char (*f) () = $ac_func;
51633 #endif
51634 #ifdef __cplusplus
51636 #endif
51639 main ()
51641 return f != $ac_func;
51643 return 0;
51645 _ACEOF
51646 rm -f conftest.$ac_objext conftest$ac_exeext
51647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51648 (eval $ac_link) 2>conftest.er1
51649 ac_status=$?
51650 grep -v '^ *+' conftest.er1 >conftest.err
51651 rm -f conftest.er1
51652 cat conftest.err >&5
51653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51654 (exit $ac_status); } &&
51655 { ac_try='test -z "$ac_c_werror_flag"
51656 || test ! -s conftest.err'
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); }; } &&
51662 { ac_try='test -s conftest$ac_exeext'
51663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51664 (eval $ac_try) 2>&5
51665 ac_status=$?
51666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51667 (exit $ac_status); }; }; then
51668 eval "$as_ac_var=yes"
51669 else
51670 echo "$as_me: failed program was:" >&5
51671 sed 's/^/| /' conftest.$ac_ext >&5
51673 eval "$as_ac_var=no"
51675 rm -f conftest.err conftest.$ac_objext \
51676 conftest$ac_exeext conftest.$ac_ext
51678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51680 if test `eval echo '${'$as_ac_var'}'` = yes; then
51681 cat >>confdefs.h <<_ACEOF
51682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51683 _ACEOF
51686 done
51688 else
51690 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
51691 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
51692 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51693 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
51694 echo $ECHO_N "(cached) $ECHO_C" >&6
51695 else
51699 ac_ext=cc
51700 ac_cpp='$CXXCPP $CPPFLAGS'
51701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51705 cat >conftest.$ac_ext <<_ACEOF
51706 /* confdefs.h. */
51707 _ACEOF
51708 cat confdefs.h >>conftest.$ac_ext
51709 cat >>conftest.$ac_ext <<_ACEOF
51710 /* end confdefs.h. */
51711 #include <math.h>
51712 #ifdef HAVE_IEEEFP_H
51713 #include <ieeefp.h>
51714 #endif
51717 main ()
51719 _finitef(0);
51721 return 0;
51723 _ACEOF
51724 rm -f conftest.$ac_objext
51725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51726 (eval $ac_compile) 2>conftest.er1
51727 ac_status=$?
51728 grep -v '^ *+' conftest.er1 >conftest.err
51729 rm -f conftest.er1
51730 cat conftest.err >&5
51731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51732 (exit $ac_status); } &&
51733 { ac_try='test -z "$ac_cxx_werror_flag"
51734 || test ! -s conftest.err'
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); }; } &&
51740 { ac_try='test -s conftest.$ac_objext'
51741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51742 (eval $ac_try) 2>&5
51743 ac_status=$?
51744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51745 (exit $ac_status); }; }; then
51746 glibcxx_cv_func__finitef_use=yes
51747 else
51748 echo "$as_me: failed program was:" >&5
51749 sed 's/^/| /' conftest.$ac_ext >&5
51751 glibcxx_cv_func__finitef_use=no
51753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51754 ac_ext=c
51755 ac_cpp='$CPP $CPPFLAGS'
51756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51764 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
51765 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
51767 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51769 for ac_func in _finitef
51771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51772 echo "$as_me:$LINENO: checking for $ac_func" >&5
51773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51774 if eval "test \"\${$as_ac_var+set}\" = set"; then
51775 echo $ECHO_N "(cached) $ECHO_C" >&6
51776 else
51777 if test x$gcc_no_link = xyes; then
51778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51780 { (exit 1); exit 1; }; }
51782 cat >conftest.$ac_ext <<_ACEOF
51783 /* confdefs.h. */
51784 _ACEOF
51785 cat confdefs.h >>conftest.$ac_ext
51786 cat >>conftest.$ac_ext <<_ACEOF
51787 /* end confdefs.h. */
51788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51790 #define $ac_func innocuous_$ac_func
51792 /* System header to define __stub macros and hopefully few prototypes,
51793 which can conflict with char $ac_func (); below.
51794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51795 <limits.h> exists even on freestanding compilers. */
51797 #ifdef __STDC__
51798 # include <limits.h>
51799 #else
51800 # include <assert.h>
51801 #endif
51803 #undef $ac_func
51805 /* Override any gcc2 internal prototype to avoid an error. */
51806 #ifdef __cplusplus
51807 extern "C"
51809 #endif
51810 /* We use char because int might match the return type of a gcc2
51811 builtin and then its argument prototype would still apply. */
51812 char $ac_func ();
51813 /* The GNU C library defines this for functions which it implements
51814 to always fail with ENOSYS. Some functions are actually named
51815 something starting with __ and the normal name is an alias. */
51816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51817 choke me
51818 #else
51819 char (*f) () = $ac_func;
51820 #endif
51821 #ifdef __cplusplus
51823 #endif
51826 main ()
51828 return f != $ac_func;
51830 return 0;
51832 _ACEOF
51833 rm -f conftest.$ac_objext conftest$ac_exeext
51834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51835 (eval $ac_link) 2>conftest.er1
51836 ac_status=$?
51837 grep -v '^ *+' conftest.er1 >conftest.err
51838 rm -f conftest.er1
51839 cat conftest.err >&5
51840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51841 (exit $ac_status); } &&
51842 { ac_try='test -z "$ac_c_werror_flag"
51843 || test ! -s conftest.err'
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); }; } &&
51849 { ac_try='test -s conftest$ac_exeext'
51850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51851 (eval $ac_try) 2>&5
51852 ac_status=$?
51853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51854 (exit $ac_status); }; }; then
51855 eval "$as_ac_var=yes"
51856 else
51857 echo "$as_me: failed program was:" >&5
51858 sed 's/^/| /' conftest.$ac_ext >&5
51860 eval "$as_ac_var=no"
51862 rm -f conftest.err conftest.$ac_objext \
51863 conftest$ac_exeext conftest.$ac_ext
51865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51867 if test `eval echo '${'$as_ac_var'}'` = yes; then
51868 cat >>confdefs.h <<_ACEOF
51869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51870 _ACEOF
51873 done
51883 echo "$as_me:$LINENO: checking for long double trig functions" >&5
51884 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
51885 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
51886 echo $ECHO_N "(cached) $ECHO_C" >&6
51887 else
51891 ac_ext=cc
51892 ac_cpp='$CXXCPP $CPPFLAGS'
51893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51897 cat >conftest.$ac_ext <<_ACEOF
51898 /* confdefs.h. */
51899 _ACEOF
51900 cat confdefs.h >>conftest.$ac_ext
51901 cat >>conftest.$ac_ext <<_ACEOF
51902 /* end confdefs.h. */
51903 #include <math.h>
51905 main ()
51907 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51909 return 0;
51911 _ACEOF
51912 rm -f conftest.$ac_objext
51913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51914 (eval $ac_compile) 2>conftest.er1
51915 ac_status=$?
51916 grep -v '^ *+' conftest.er1 >conftest.err
51917 rm -f conftest.er1
51918 cat conftest.err >&5
51919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51920 (exit $ac_status); } &&
51921 { ac_try='test -z "$ac_cxx_werror_flag"
51922 || test ! -s conftest.err'
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); }; } &&
51928 { ac_try='test -s conftest.$ac_objext'
51929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51930 (eval $ac_try) 2>&5
51931 ac_status=$?
51932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51933 (exit $ac_status); }; }; then
51934 glibcxx_cv_func_long_double_trig_use=yes
51935 else
51936 echo "$as_me: failed program was:" >&5
51937 sed 's/^/| /' conftest.$ac_ext >&5
51939 glibcxx_cv_func_long_double_trig_use=no
51941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51942 ac_ext=c
51943 ac_cpp='$CPP $CPPFLAGS'
51944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51950 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
51951 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
51952 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51962 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51965 echo "$as_me:$LINENO: checking for $ac_func" >&5
51966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51967 if eval "test \"\${$as_ac_var+set}\" = set"; then
51968 echo $ECHO_N "(cached) $ECHO_C" >&6
51969 else
51970 if test x$gcc_no_link = xyes; then
51971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51973 { (exit 1); exit 1; }; }
51975 cat >conftest.$ac_ext <<_ACEOF
51976 /* confdefs.h. */
51977 _ACEOF
51978 cat confdefs.h >>conftest.$ac_ext
51979 cat >>conftest.$ac_ext <<_ACEOF
51980 /* end confdefs.h. */
51981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51983 #define $ac_func innocuous_$ac_func
51985 /* System header to define __stub macros and hopefully few prototypes,
51986 which can conflict with char $ac_func (); below.
51987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51988 <limits.h> exists even on freestanding compilers. */
51990 #ifdef __STDC__
51991 # include <limits.h>
51992 #else
51993 # include <assert.h>
51994 #endif
51996 #undef $ac_func
51998 /* Override any gcc2 internal prototype to avoid an error. */
51999 #ifdef __cplusplus
52000 extern "C"
52002 #endif
52003 /* We use char because int might match the return type of a gcc2
52004 builtin and then its argument prototype would still apply. */
52005 char $ac_func ();
52006 /* The GNU C library defines this for functions which it implements
52007 to always fail with ENOSYS. Some functions are actually named
52008 something starting with __ and the normal name is an alias. */
52009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52010 choke me
52011 #else
52012 char (*f) () = $ac_func;
52013 #endif
52014 #ifdef __cplusplus
52016 #endif
52019 main ()
52021 return f != $ac_func;
52023 return 0;
52025 _ACEOF
52026 rm -f conftest.$ac_objext conftest$ac_exeext
52027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52028 (eval $ac_link) 2>conftest.er1
52029 ac_status=$?
52030 grep -v '^ *+' conftest.er1 >conftest.err
52031 rm -f conftest.er1
52032 cat conftest.err >&5
52033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52034 (exit $ac_status); } &&
52035 { ac_try='test -z "$ac_c_werror_flag"
52036 || test ! -s conftest.err'
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); }; } &&
52042 { ac_try='test -s conftest$ac_exeext'
52043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52044 (eval $ac_try) 2>&5
52045 ac_status=$?
52046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52047 (exit $ac_status); }; }; then
52048 eval "$as_ac_var=yes"
52049 else
52050 echo "$as_me: failed program was:" >&5
52051 sed 's/^/| /' conftest.$ac_ext >&5
52053 eval "$as_ac_var=no"
52055 rm -f conftest.err conftest.$ac_objext \
52056 conftest$ac_exeext conftest.$ac_ext
52058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52060 if test `eval echo '${'$as_ac_var'}'` = yes; then
52061 cat >>confdefs.h <<_ACEOF
52062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52063 _ACEOF
52066 done
52068 else
52069 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
52070 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
52071 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
52072 echo $ECHO_N "(cached) $ECHO_C" >&6
52073 else
52077 ac_ext=cc
52078 ac_cpp='$CXXCPP $CPPFLAGS'
52079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52083 cat >conftest.$ac_ext <<_ACEOF
52084 /* confdefs.h. */
52085 _ACEOF
52086 cat confdefs.h >>conftest.$ac_ext
52087 cat >>conftest.$ac_ext <<_ACEOF
52088 /* end confdefs.h. */
52089 #include <math.h>
52091 main ()
52093 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
52095 return 0;
52097 _ACEOF
52098 rm -f conftest.$ac_objext
52099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52100 (eval $ac_compile) 2>conftest.er1
52101 ac_status=$?
52102 grep -v '^ *+' conftest.er1 >conftest.err
52103 rm -f conftest.er1
52104 cat conftest.err >&5
52105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52106 (exit $ac_status); } &&
52107 { ac_try='test -z "$ac_cxx_werror_flag"
52108 || test ! -s conftest.err'
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); }; } &&
52114 { ac_try='test -s conftest.$ac_objext'
52115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52116 (eval $ac_try) 2>&5
52117 ac_status=$?
52118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52119 (exit $ac_status); }; }; then
52120 glibcxx_cv_func__long_double_trig_use=yes
52121 else
52122 echo "$as_me: failed program was:" >&5
52123 sed 's/^/| /' conftest.$ac_ext >&5
52125 glibcxx_cv_func__long_double_trig_use=no
52127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52128 ac_ext=c
52129 ac_cpp='$CPP $CPPFLAGS'
52130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52136 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
52137 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
52138 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
52148 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
52150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52151 echo "$as_me:$LINENO: checking for $ac_func" >&5
52152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52153 if eval "test \"\${$as_ac_var+set}\" = set"; then
52154 echo $ECHO_N "(cached) $ECHO_C" >&6
52155 else
52156 if test x$gcc_no_link = xyes; then
52157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52159 { (exit 1); exit 1; }; }
52161 cat >conftest.$ac_ext <<_ACEOF
52162 /* confdefs.h. */
52163 _ACEOF
52164 cat confdefs.h >>conftest.$ac_ext
52165 cat >>conftest.$ac_ext <<_ACEOF
52166 /* end confdefs.h. */
52167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52169 #define $ac_func innocuous_$ac_func
52171 /* System header to define __stub macros and hopefully few prototypes,
52172 which can conflict with char $ac_func (); below.
52173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52174 <limits.h> exists even on freestanding compilers. */
52176 #ifdef __STDC__
52177 # include <limits.h>
52178 #else
52179 # include <assert.h>
52180 #endif
52182 #undef $ac_func
52184 /* Override any gcc2 internal prototype to avoid an error. */
52185 #ifdef __cplusplus
52186 extern "C"
52188 #endif
52189 /* We use char because int might match the return type of a gcc2
52190 builtin and then its argument prototype would still apply. */
52191 char $ac_func ();
52192 /* The GNU C library defines this for functions which it implements
52193 to always fail with ENOSYS. Some functions are actually named
52194 something starting with __ and the normal name is an alias. */
52195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52196 choke me
52197 #else
52198 char (*f) () = $ac_func;
52199 #endif
52200 #ifdef __cplusplus
52202 #endif
52205 main ()
52207 return f != $ac_func;
52209 return 0;
52211 _ACEOF
52212 rm -f conftest.$ac_objext conftest$ac_exeext
52213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52214 (eval $ac_link) 2>conftest.er1
52215 ac_status=$?
52216 grep -v '^ *+' conftest.er1 >conftest.err
52217 rm -f conftest.er1
52218 cat conftest.err >&5
52219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52220 (exit $ac_status); } &&
52221 { ac_try='test -z "$ac_c_werror_flag"
52222 || test ! -s conftest.err'
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); }; } &&
52228 { ac_try='test -s conftest$ac_exeext'
52229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52230 (eval $ac_try) 2>&5
52231 ac_status=$?
52232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52233 (exit $ac_status); }; }; then
52234 eval "$as_ac_var=yes"
52235 else
52236 echo "$as_me: failed program was:" >&5
52237 sed 's/^/| /' conftest.$ac_ext >&5
52239 eval "$as_ac_var=no"
52241 rm -f conftest.err conftest.$ac_objext \
52242 conftest$ac_exeext conftest.$ac_ext
52244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52246 if test `eval echo '${'$as_ac_var'}'` = yes; then
52247 cat >>confdefs.h <<_ACEOF
52248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52249 _ACEOF
52252 done
52270 echo "$as_me:$LINENO: checking for long double round functions" >&5
52271 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
52272 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
52273 echo $ECHO_N "(cached) $ECHO_C" >&6
52274 else
52278 ac_ext=cc
52279 ac_cpp='$CXXCPP $CPPFLAGS'
52280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52284 cat >conftest.$ac_ext <<_ACEOF
52285 /* confdefs.h. */
52286 _ACEOF
52287 cat confdefs.h >>conftest.$ac_ext
52288 cat >>conftest.$ac_ext <<_ACEOF
52289 /* end confdefs.h. */
52290 #include <math.h>
52292 main ()
52294 ceill (0); floorl (0);
52296 return 0;
52298 _ACEOF
52299 rm -f conftest.$ac_objext
52300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52301 (eval $ac_compile) 2>conftest.er1
52302 ac_status=$?
52303 grep -v '^ *+' conftest.er1 >conftest.err
52304 rm -f conftest.er1
52305 cat conftest.err >&5
52306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52307 (exit $ac_status); } &&
52308 { ac_try='test -z "$ac_cxx_werror_flag"
52309 || test ! -s conftest.err'
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); }; } &&
52315 { ac_try='test -s conftest.$ac_objext'
52316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52317 (eval $ac_try) 2>&5
52318 ac_status=$?
52319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52320 (exit $ac_status); }; }; then
52321 glibcxx_cv_func_long_double_round_use=yes
52322 else
52323 echo "$as_me: failed program was:" >&5
52324 sed 's/^/| /' conftest.$ac_ext >&5
52326 glibcxx_cv_func_long_double_round_use=no
52328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52329 ac_ext=c
52330 ac_cpp='$CPP $CPPFLAGS'
52331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52337 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
52338 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
52339 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
52342 for ac_func in ceill floorl
52344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52345 echo "$as_me:$LINENO: checking for $ac_func" >&5
52346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52347 if eval "test \"\${$as_ac_var+set}\" = set"; then
52348 echo $ECHO_N "(cached) $ECHO_C" >&6
52349 else
52350 if test x$gcc_no_link = xyes; then
52351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52353 { (exit 1); exit 1; }; }
52355 cat >conftest.$ac_ext <<_ACEOF
52356 /* confdefs.h. */
52357 _ACEOF
52358 cat confdefs.h >>conftest.$ac_ext
52359 cat >>conftest.$ac_ext <<_ACEOF
52360 /* end confdefs.h. */
52361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52363 #define $ac_func innocuous_$ac_func
52365 /* System header to define __stub macros and hopefully few prototypes,
52366 which can conflict with char $ac_func (); below.
52367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52368 <limits.h> exists even on freestanding compilers. */
52370 #ifdef __STDC__
52371 # include <limits.h>
52372 #else
52373 # include <assert.h>
52374 #endif
52376 #undef $ac_func
52378 /* Override any gcc2 internal prototype to avoid an error. */
52379 #ifdef __cplusplus
52380 extern "C"
52382 #endif
52383 /* We use char because int might match the return type of a gcc2
52384 builtin and then its argument prototype would still apply. */
52385 char $ac_func ();
52386 /* The GNU C library defines this for functions which it implements
52387 to always fail with ENOSYS. Some functions are actually named
52388 something starting with __ and the normal name is an alias. */
52389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52390 choke me
52391 #else
52392 char (*f) () = $ac_func;
52393 #endif
52394 #ifdef __cplusplus
52396 #endif
52399 main ()
52401 return f != $ac_func;
52403 return 0;
52405 _ACEOF
52406 rm -f conftest.$ac_objext conftest$ac_exeext
52407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52408 (eval $ac_link) 2>conftest.er1
52409 ac_status=$?
52410 grep -v '^ *+' conftest.er1 >conftest.err
52411 rm -f conftest.er1
52412 cat conftest.err >&5
52413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52414 (exit $ac_status); } &&
52415 { ac_try='test -z "$ac_c_werror_flag"
52416 || test ! -s conftest.err'
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); }; } &&
52422 { ac_try='test -s conftest$ac_exeext'
52423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52424 (eval $ac_try) 2>&5
52425 ac_status=$?
52426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52427 (exit $ac_status); }; }; then
52428 eval "$as_ac_var=yes"
52429 else
52430 echo "$as_me: failed program was:" >&5
52431 sed 's/^/| /' conftest.$ac_ext >&5
52433 eval "$as_ac_var=no"
52435 rm -f conftest.err conftest.$ac_objext \
52436 conftest$ac_exeext conftest.$ac_ext
52438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52440 if test `eval echo '${'$as_ac_var'}'` = yes; then
52441 cat >>confdefs.h <<_ACEOF
52442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52443 _ACEOF
52446 done
52448 else
52449 echo "$as_me:$LINENO: checking for _long double round functions" >&5
52450 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
52451 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
52452 echo $ECHO_N "(cached) $ECHO_C" >&6
52453 else
52457 ac_ext=cc
52458 ac_cpp='$CXXCPP $CPPFLAGS'
52459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52463 cat >conftest.$ac_ext <<_ACEOF
52464 /* confdefs.h. */
52465 _ACEOF
52466 cat confdefs.h >>conftest.$ac_ext
52467 cat >>conftest.$ac_ext <<_ACEOF
52468 /* end confdefs.h. */
52469 #include <math.h>
52471 main ()
52473 _ceill (0); _floorl (0);
52475 return 0;
52477 _ACEOF
52478 rm -f conftest.$ac_objext
52479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52480 (eval $ac_compile) 2>conftest.er1
52481 ac_status=$?
52482 grep -v '^ *+' conftest.er1 >conftest.err
52483 rm -f conftest.er1
52484 cat conftest.err >&5
52485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52486 (exit $ac_status); } &&
52487 { ac_try='test -z "$ac_cxx_werror_flag"
52488 || test ! -s conftest.err'
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); }; } &&
52494 { ac_try='test -s conftest.$ac_objext'
52495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52496 (eval $ac_try) 2>&5
52497 ac_status=$?
52498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52499 (exit $ac_status); }; }; then
52500 glibcxx_cv_func__long_double_round_use=yes
52501 else
52502 echo "$as_me: failed program was:" >&5
52503 sed 's/^/| /' conftest.$ac_ext >&5
52505 glibcxx_cv_func__long_double_round_use=no
52507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52508 ac_ext=c
52509 ac_cpp='$CPP $CPPFLAGS'
52510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
52517 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
52518 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
52521 for ac_func in _ceill _floorl
52523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52524 echo "$as_me:$LINENO: checking for $ac_func" >&5
52525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52526 if eval "test \"\${$as_ac_var+set}\" = set"; then
52527 echo $ECHO_N "(cached) $ECHO_C" >&6
52528 else
52529 if test x$gcc_no_link = xyes; then
52530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52532 { (exit 1); exit 1; }; }
52534 cat >conftest.$ac_ext <<_ACEOF
52535 /* confdefs.h. */
52536 _ACEOF
52537 cat confdefs.h >>conftest.$ac_ext
52538 cat >>conftest.$ac_ext <<_ACEOF
52539 /* end confdefs.h. */
52540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52542 #define $ac_func innocuous_$ac_func
52544 /* System header to define __stub macros and hopefully few prototypes,
52545 which can conflict with char $ac_func (); below.
52546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52547 <limits.h> exists even on freestanding compilers. */
52549 #ifdef __STDC__
52550 # include <limits.h>
52551 #else
52552 # include <assert.h>
52553 #endif
52555 #undef $ac_func
52557 /* Override any gcc2 internal prototype to avoid an error. */
52558 #ifdef __cplusplus
52559 extern "C"
52561 #endif
52562 /* We use char because int might match the return type of a gcc2
52563 builtin and then its argument prototype would still apply. */
52564 char $ac_func ();
52565 /* The GNU C library defines this for functions which it implements
52566 to always fail with ENOSYS. Some functions are actually named
52567 something starting with __ and the normal name is an alias. */
52568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52569 choke me
52570 #else
52571 char (*f) () = $ac_func;
52572 #endif
52573 #ifdef __cplusplus
52575 #endif
52578 main ()
52580 return f != $ac_func;
52582 return 0;
52584 _ACEOF
52585 rm -f conftest.$ac_objext conftest$ac_exeext
52586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52587 (eval $ac_link) 2>conftest.er1
52588 ac_status=$?
52589 grep -v '^ *+' conftest.er1 >conftest.err
52590 rm -f conftest.er1
52591 cat conftest.err >&5
52592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52593 (exit $ac_status); } &&
52594 { ac_try='test -z "$ac_c_werror_flag"
52595 || test ! -s conftest.err'
52596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52597 (eval $ac_try) 2>&5
52598 ac_status=$?
52599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52600 (exit $ac_status); }; } &&
52601 { ac_try='test -s conftest$ac_exeext'
52602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52603 (eval $ac_try) 2>&5
52604 ac_status=$?
52605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52606 (exit $ac_status); }; }; then
52607 eval "$as_ac_var=yes"
52608 else
52609 echo "$as_me: failed program was:" >&5
52610 sed 's/^/| /' conftest.$ac_ext >&5
52612 eval "$as_ac_var=no"
52614 rm -f conftest.err conftest.$ac_objext \
52615 conftest$ac_exeext conftest.$ac_ext
52617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52619 if test `eval echo '${'$as_ac_var'}'` = yes; then
52620 cat >>confdefs.h <<_ACEOF
52621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52622 _ACEOF
52625 done
52637 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
52638 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
52639 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
52640 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
52641 echo $ECHO_N "(cached) $ECHO_C" >&6
52642 else
52646 ac_ext=cc
52647 ac_cpp='$CXXCPP $CPPFLAGS'
52648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52652 cat >conftest.$ac_ext <<_ACEOF
52653 /* confdefs.h. */
52654 _ACEOF
52655 cat confdefs.h >>conftest.$ac_ext
52656 cat >>conftest.$ac_ext <<_ACEOF
52657 /* end confdefs.h. */
52658 #include <math.h>
52659 #ifdef HAVE_IEEEFP_H
52660 #include <ieeefp.h>
52661 #endif
52664 main ()
52666 isnanl(0);
52668 return 0;
52670 _ACEOF
52671 rm -f conftest.$ac_objext
52672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52673 (eval $ac_compile) 2>conftest.er1
52674 ac_status=$?
52675 grep -v '^ *+' conftest.er1 >conftest.err
52676 rm -f conftest.er1
52677 cat conftest.err >&5
52678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52679 (exit $ac_status); } &&
52680 { ac_try='test -z "$ac_cxx_werror_flag"
52681 || test ! -s conftest.err'
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); }; } &&
52687 { ac_try='test -s conftest.$ac_objext'
52688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52689 (eval $ac_try) 2>&5
52690 ac_status=$?
52691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52692 (exit $ac_status); }; }; then
52693 glibcxx_cv_func_isnanl_use=yes
52694 else
52695 echo "$as_me: failed program was:" >&5
52696 sed 's/^/| /' conftest.$ac_ext >&5
52698 glibcxx_cv_func_isnanl_use=no
52700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52701 ac_ext=c
52702 ac_cpp='$CPP $CPPFLAGS'
52703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52711 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
52712 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
52714 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
52716 for ac_func in isnanl
52718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52719 echo "$as_me:$LINENO: checking for $ac_func" >&5
52720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52721 if eval "test \"\${$as_ac_var+set}\" = set"; then
52722 echo $ECHO_N "(cached) $ECHO_C" >&6
52723 else
52724 if test x$gcc_no_link = xyes; then
52725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52727 { (exit 1); exit 1; }; }
52729 cat >conftest.$ac_ext <<_ACEOF
52730 /* confdefs.h. */
52731 _ACEOF
52732 cat confdefs.h >>conftest.$ac_ext
52733 cat >>conftest.$ac_ext <<_ACEOF
52734 /* end confdefs.h. */
52735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52737 #define $ac_func innocuous_$ac_func
52739 /* System header to define __stub macros and hopefully few prototypes,
52740 which can conflict with char $ac_func (); below.
52741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52742 <limits.h> exists even on freestanding compilers. */
52744 #ifdef __STDC__
52745 # include <limits.h>
52746 #else
52747 # include <assert.h>
52748 #endif
52750 #undef $ac_func
52752 /* Override any gcc2 internal prototype to avoid an error. */
52753 #ifdef __cplusplus
52754 extern "C"
52756 #endif
52757 /* We use char because int might match the return type of a gcc2
52758 builtin and then its argument prototype would still apply. */
52759 char $ac_func ();
52760 /* The GNU C library defines this for functions which it implements
52761 to always fail with ENOSYS. Some functions are actually named
52762 something starting with __ and the normal name is an alias. */
52763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52764 choke me
52765 #else
52766 char (*f) () = $ac_func;
52767 #endif
52768 #ifdef __cplusplus
52770 #endif
52773 main ()
52775 return f != $ac_func;
52777 return 0;
52779 _ACEOF
52780 rm -f conftest.$ac_objext conftest$ac_exeext
52781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52782 (eval $ac_link) 2>conftest.er1
52783 ac_status=$?
52784 grep -v '^ *+' conftest.er1 >conftest.err
52785 rm -f conftest.er1
52786 cat conftest.err >&5
52787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52788 (exit $ac_status); } &&
52789 { ac_try='test -z "$ac_c_werror_flag"
52790 || test ! -s conftest.err'
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); }; } &&
52796 { ac_try='test -s conftest$ac_exeext'
52797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52798 (eval $ac_try) 2>&5
52799 ac_status=$?
52800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52801 (exit $ac_status); }; }; then
52802 eval "$as_ac_var=yes"
52803 else
52804 echo "$as_me: failed program was:" >&5
52805 sed 's/^/| /' conftest.$ac_ext >&5
52807 eval "$as_ac_var=no"
52809 rm -f conftest.err conftest.$ac_objext \
52810 conftest$ac_exeext conftest.$ac_ext
52812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52814 if test `eval echo '${'$as_ac_var'}'` = yes; then
52815 cat >>confdefs.h <<_ACEOF
52816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52817 _ACEOF
52820 done
52822 else
52824 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
52825 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
52826 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
52827 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
52828 echo $ECHO_N "(cached) $ECHO_C" >&6
52829 else
52833 ac_ext=cc
52834 ac_cpp='$CXXCPP $CPPFLAGS'
52835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52839 cat >conftest.$ac_ext <<_ACEOF
52840 /* confdefs.h. */
52841 _ACEOF
52842 cat confdefs.h >>conftest.$ac_ext
52843 cat >>conftest.$ac_ext <<_ACEOF
52844 /* end confdefs.h. */
52845 #include <math.h>
52846 #ifdef HAVE_IEEEFP_H
52847 #include <ieeefp.h>
52848 #endif
52851 main ()
52853 _isnanl(0);
52855 return 0;
52857 _ACEOF
52858 rm -f conftest.$ac_objext
52859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52860 (eval $ac_compile) 2>conftest.er1
52861 ac_status=$?
52862 grep -v '^ *+' conftest.er1 >conftest.err
52863 rm -f conftest.er1
52864 cat conftest.err >&5
52865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52866 (exit $ac_status); } &&
52867 { ac_try='test -z "$ac_cxx_werror_flag"
52868 || test ! -s conftest.err'
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); }; } &&
52874 { ac_try='test -s conftest.$ac_objext'
52875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52876 (eval $ac_try) 2>&5
52877 ac_status=$?
52878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52879 (exit $ac_status); }; }; then
52880 glibcxx_cv_func__isnanl_use=yes
52881 else
52882 echo "$as_me: failed program was:" >&5
52883 sed 's/^/| /' conftest.$ac_ext >&5
52885 glibcxx_cv_func__isnanl_use=no
52887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52888 ac_ext=c
52889 ac_cpp='$CPP $CPPFLAGS'
52890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52898 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
52899 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
52901 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
52903 for ac_func in _isnanl
52905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52906 echo "$as_me:$LINENO: checking for $ac_func" >&5
52907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52908 if eval "test \"\${$as_ac_var+set}\" = set"; then
52909 echo $ECHO_N "(cached) $ECHO_C" >&6
52910 else
52911 if test x$gcc_no_link = xyes; then
52912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52914 { (exit 1); exit 1; }; }
52916 cat >conftest.$ac_ext <<_ACEOF
52917 /* confdefs.h. */
52918 _ACEOF
52919 cat confdefs.h >>conftest.$ac_ext
52920 cat >>conftest.$ac_ext <<_ACEOF
52921 /* end confdefs.h. */
52922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52924 #define $ac_func innocuous_$ac_func
52926 /* System header to define __stub macros and hopefully few prototypes,
52927 which can conflict with char $ac_func (); below.
52928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52929 <limits.h> exists even on freestanding compilers. */
52931 #ifdef __STDC__
52932 # include <limits.h>
52933 #else
52934 # include <assert.h>
52935 #endif
52937 #undef $ac_func
52939 /* Override any gcc2 internal prototype to avoid an error. */
52940 #ifdef __cplusplus
52941 extern "C"
52943 #endif
52944 /* We use char because int might match the return type of a gcc2
52945 builtin and then its argument prototype would still apply. */
52946 char $ac_func ();
52947 /* The GNU C library defines this for functions which it implements
52948 to always fail with ENOSYS. Some functions are actually named
52949 something starting with __ and the normal name is an alias. */
52950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52951 choke me
52952 #else
52953 char (*f) () = $ac_func;
52954 #endif
52955 #ifdef __cplusplus
52957 #endif
52960 main ()
52962 return f != $ac_func;
52964 return 0;
52966 _ACEOF
52967 rm -f conftest.$ac_objext conftest$ac_exeext
52968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52969 (eval $ac_link) 2>conftest.er1
52970 ac_status=$?
52971 grep -v '^ *+' conftest.er1 >conftest.err
52972 rm -f conftest.er1
52973 cat conftest.err >&5
52974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52975 (exit $ac_status); } &&
52976 { ac_try='test -z "$ac_c_werror_flag"
52977 || test ! -s conftest.err'
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); }; } &&
52983 { ac_try='test -s conftest$ac_exeext'
52984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52985 (eval $ac_try) 2>&5
52986 ac_status=$?
52987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52988 (exit $ac_status); }; }; then
52989 eval "$as_ac_var=yes"
52990 else
52991 echo "$as_me: failed program was:" >&5
52992 sed 's/^/| /' conftest.$ac_ext >&5
52994 eval "$as_ac_var=no"
52996 rm -f conftest.err conftest.$ac_objext \
52997 conftest$ac_exeext conftest.$ac_ext
52999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53001 if test `eval echo '${'$as_ac_var'}'` = yes; then
53002 cat >>confdefs.h <<_ACEOF
53003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53004 _ACEOF
53007 done
53017 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
53018 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
53019 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
53020 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
53021 echo $ECHO_N "(cached) $ECHO_C" >&6
53022 else
53026 ac_ext=cc
53027 ac_cpp='$CXXCPP $CPPFLAGS'
53028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53032 cat >conftest.$ac_ext <<_ACEOF
53033 /* confdefs.h. */
53034 _ACEOF
53035 cat confdefs.h >>conftest.$ac_ext
53036 cat >>conftest.$ac_ext <<_ACEOF
53037 /* end confdefs.h. */
53038 #include <math.h>
53039 #ifdef HAVE_IEEEFP_H
53040 #include <ieeefp.h>
53041 #endif
53044 main ()
53046 isinfl(0);
53048 return 0;
53050 _ACEOF
53051 rm -f conftest.$ac_objext
53052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53053 (eval $ac_compile) 2>conftest.er1
53054 ac_status=$?
53055 grep -v '^ *+' conftest.er1 >conftest.err
53056 rm -f conftest.er1
53057 cat conftest.err >&5
53058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53059 (exit $ac_status); } &&
53060 { ac_try='test -z "$ac_cxx_werror_flag"
53061 || test ! -s conftest.err'
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); }; } &&
53067 { ac_try='test -s conftest.$ac_objext'
53068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53069 (eval $ac_try) 2>&5
53070 ac_status=$?
53071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53072 (exit $ac_status); }; }; then
53073 glibcxx_cv_func_isinfl_use=yes
53074 else
53075 echo "$as_me: failed program was:" >&5
53076 sed 's/^/| /' conftest.$ac_ext >&5
53078 glibcxx_cv_func_isinfl_use=no
53080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53081 ac_ext=c
53082 ac_cpp='$CPP $CPPFLAGS'
53083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53091 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
53092 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
53094 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
53096 for ac_func in isinfl
53098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53099 echo "$as_me:$LINENO: checking for $ac_func" >&5
53100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53101 if eval "test \"\${$as_ac_var+set}\" = set"; then
53102 echo $ECHO_N "(cached) $ECHO_C" >&6
53103 else
53104 if test x$gcc_no_link = xyes; then
53105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53107 { (exit 1); exit 1; }; }
53109 cat >conftest.$ac_ext <<_ACEOF
53110 /* confdefs.h. */
53111 _ACEOF
53112 cat confdefs.h >>conftest.$ac_ext
53113 cat >>conftest.$ac_ext <<_ACEOF
53114 /* end confdefs.h. */
53115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53117 #define $ac_func innocuous_$ac_func
53119 /* System header to define __stub macros and hopefully few prototypes,
53120 which can conflict with char $ac_func (); below.
53121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53122 <limits.h> exists even on freestanding compilers. */
53124 #ifdef __STDC__
53125 # include <limits.h>
53126 #else
53127 # include <assert.h>
53128 #endif
53130 #undef $ac_func
53132 /* Override any gcc2 internal prototype to avoid an error. */
53133 #ifdef __cplusplus
53134 extern "C"
53136 #endif
53137 /* We use char because int might match the return type of a gcc2
53138 builtin and then its argument prototype would still apply. */
53139 char $ac_func ();
53140 /* The GNU C library defines this for functions which it implements
53141 to always fail with ENOSYS. Some functions are actually named
53142 something starting with __ and the normal name is an alias. */
53143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53144 choke me
53145 #else
53146 char (*f) () = $ac_func;
53147 #endif
53148 #ifdef __cplusplus
53150 #endif
53153 main ()
53155 return f != $ac_func;
53157 return 0;
53159 _ACEOF
53160 rm -f conftest.$ac_objext conftest$ac_exeext
53161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53162 (eval $ac_link) 2>conftest.er1
53163 ac_status=$?
53164 grep -v '^ *+' conftest.er1 >conftest.err
53165 rm -f conftest.er1
53166 cat conftest.err >&5
53167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53168 (exit $ac_status); } &&
53169 { ac_try='test -z "$ac_c_werror_flag"
53170 || test ! -s conftest.err'
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); }; } &&
53176 { ac_try='test -s conftest$ac_exeext'
53177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53178 (eval $ac_try) 2>&5
53179 ac_status=$?
53180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53181 (exit $ac_status); }; }; then
53182 eval "$as_ac_var=yes"
53183 else
53184 echo "$as_me: failed program was:" >&5
53185 sed 's/^/| /' conftest.$ac_ext >&5
53187 eval "$as_ac_var=no"
53189 rm -f conftest.err conftest.$ac_objext \
53190 conftest$ac_exeext conftest.$ac_ext
53192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53194 if test `eval echo '${'$as_ac_var'}'` = yes; then
53195 cat >>confdefs.h <<_ACEOF
53196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53197 _ACEOF
53200 done
53202 else
53204 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
53205 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
53206 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
53207 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
53208 echo $ECHO_N "(cached) $ECHO_C" >&6
53209 else
53213 ac_ext=cc
53214 ac_cpp='$CXXCPP $CPPFLAGS'
53215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53219 cat >conftest.$ac_ext <<_ACEOF
53220 /* confdefs.h. */
53221 _ACEOF
53222 cat confdefs.h >>conftest.$ac_ext
53223 cat >>conftest.$ac_ext <<_ACEOF
53224 /* end confdefs.h. */
53225 #include <math.h>
53226 #ifdef HAVE_IEEEFP_H
53227 #include <ieeefp.h>
53228 #endif
53231 main ()
53233 _isinfl(0);
53235 return 0;
53237 _ACEOF
53238 rm -f conftest.$ac_objext
53239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53240 (eval $ac_compile) 2>conftest.er1
53241 ac_status=$?
53242 grep -v '^ *+' conftest.er1 >conftest.err
53243 rm -f conftest.er1
53244 cat conftest.err >&5
53245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53246 (exit $ac_status); } &&
53247 { ac_try='test -z "$ac_cxx_werror_flag"
53248 || test ! -s conftest.err'
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); }; } &&
53254 { ac_try='test -s conftest.$ac_objext'
53255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53256 (eval $ac_try) 2>&5
53257 ac_status=$?
53258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53259 (exit $ac_status); }; }; then
53260 glibcxx_cv_func__isinfl_use=yes
53261 else
53262 echo "$as_me: failed program was:" >&5
53263 sed 's/^/| /' conftest.$ac_ext >&5
53265 glibcxx_cv_func__isinfl_use=no
53267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53268 ac_ext=c
53269 ac_cpp='$CPP $CPPFLAGS'
53270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
53279 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
53281 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
53283 for ac_func in _isinfl
53285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53286 echo "$as_me:$LINENO: checking for $ac_func" >&5
53287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53288 if eval "test \"\${$as_ac_var+set}\" = set"; then
53289 echo $ECHO_N "(cached) $ECHO_C" >&6
53290 else
53291 if test x$gcc_no_link = xyes; then
53292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53294 { (exit 1); exit 1; }; }
53296 cat >conftest.$ac_ext <<_ACEOF
53297 /* confdefs.h. */
53298 _ACEOF
53299 cat confdefs.h >>conftest.$ac_ext
53300 cat >>conftest.$ac_ext <<_ACEOF
53301 /* end confdefs.h. */
53302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53304 #define $ac_func innocuous_$ac_func
53306 /* System header to define __stub macros and hopefully few prototypes,
53307 which can conflict with char $ac_func (); below.
53308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53309 <limits.h> exists even on freestanding compilers. */
53311 #ifdef __STDC__
53312 # include <limits.h>
53313 #else
53314 # include <assert.h>
53315 #endif
53317 #undef $ac_func
53319 /* Override any gcc2 internal prototype to avoid an error. */
53320 #ifdef __cplusplus
53321 extern "C"
53323 #endif
53324 /* We use char because int might match the return type of a gcc2
53325 builtin and then its argument prototype would still apply. */
53326 char $ac_func ();
53327 /* The GNU C library defines this for functions which it implements
53328 to always fail with ENOSYS. Some functions are actually named
53329 something starting with __ and the normal name is an alias. */
53330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53331 choke me
53332 #else
53333 char (*f) () = $ac_func;
53334 #endif
53335 #ifdef __cplusplus
53337 #endif
53340 main ()
53342 return f != $ac_func;
53344 return 0;
53346 _ACEOF
53347 rm -f conftest.$ac_objext conftest$ac_exeext
53348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53349 (eval $ac_link) 2>conftest.er1
53350 ac_status=$?
53351 grep -v '^ *+' conftest.er1 >conftest.err
53352 rm -f conftest.er1
53353 cat conftest.err >&5
53354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53355 (exit $ac_status); } &&
53356 { ac_try='test -z "$ac_c_werror_flag"
53357 || test ! -s conftest.err'
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); }; } &&
53363 { ac_try='test -s conftest$ac_exeext'
53364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53365 (eval $ac_try) 2>&5
53366 ac_status=$?
53367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53368 (exit $ac_status); }; }; then
53369 eval "$as_ac_var=yes"
53370 else
53371 echo "$as_me: failed program was:" >&5
53372 sed 's/^/| /' conftest.$ac_ext >&5
53374 eval "$as_ac_var=no"
53376 rm -f conftest.err conftest.$ac_objext \
53377 conftest$ac_exeext conftest.$ac_ext
53379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53381 if test `eval echo '${'$as_ac_var'}'` = yes; then
53382 cat >>confdefs.h <<_ACEOF
53383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53384 _ACEOF
53387 done
53397 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
53398 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
53399 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
53400 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
53401 echo $ECHO_N "(cached) $ECHO_C" >&6
53402 else
53406 ac_ext=cc
53407 ac_cpp='$CXXCPP $CPPFLAGS'
53408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53412 cat >conftest.$ac_ext <<_ACEOF
53413 /* confdefs.h. */
53414 _ACEOF
53415 cat confdefs.h >>conftest.$ac_ext
53416 cat >>conftest.$ac_ext <<_ACEOF
53417 /* end confdefs.h. */
53418 #include <math.h>
53420 main ()
53422 copysignl(0, 0);
53424 return 0;
53426 _ACEOF
53427 rm -f conftest.$ac_objext
53428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53429 (eval $ac_compile) 2>conftest.er1
53430 ac_status=$?
53431 grep -v '^ *+' conftest.er1 >conftest.err
53432 rm -f conftest.er1
53433 cat conftest.err >&5
53434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53435 (exit $ac_status); } &&
53436 { ac_try='test -z "$ac_cxx_werror_flag"
53437 || test ! -s conftest.err'
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); }; } &&
53443 { ac_try='test -s conftest.$ac_objext'
53444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53445 (eval $ac_try) 2>&5
53446 ac_status=$?
53447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53448 (exit $ac_status); }; }; then
53449 glibcxx_cv_func_copysignl_use=yes
53450 else
53451 echo "$as_me: failed program was:" >&5
53452 sed 's/^/| /' conftest.$ac_ext >&5
53454 glibcxx_cv_func_copysignl_use=no
53456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53457 ac_ext=c
53458 ac_cpp='$CPP $CPPFLAGS'
53459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53467 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
53468 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
53470 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
53472 for ac_func in copysignl
53474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53475 echo "$as_me:$LINENO: checking for $ac_func" >&5
53476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53477 if eval "test \"\${$as_ac_var+set}\" = set"; then
53478 echo $ECHO_N "(cached) $ECHO_C" >&6
53479 else
53480 if test x$gcc_no_link = xyes; then
53481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53483 { (exit 1); exit 1; }; }
53485 cat >conftest.$ac_ext <<_ACEOF
53486 /* confdefs.h. */
53487 _ACEOF
53488 cat confdefs.h >>conftest.$ac_ext
53489 cat >>conftest.$ac_ext <<_ACEOF
53490 /* end confdefs.h. */
53491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53493 #define $ac_func innocuous_$ac_func
53495 /* System header to define __stub macros and hopefully few prototypes,
53496 which can conflict with char $ac_func (); below.
53497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53498 <limits.h> exists even on freestanding compilers. */
53500 #ifdef __STDC__
53501 # include <limits.h>
53502 #else
53503 # include <assert.h>
53504 #endif
53506 #undef $ac_func
53508 /* Override any gcc2 internal prototype to avoid an error. */
53509 #ifdef __cplusplus
53510 extern "C"
53512 #endif
53513 /* We use char because int might match the return type of a gcc2
53514 builtin and then its argument prototype would still apply. */
53515 char $ac_func ();
53516 /* The GNU C library defines this for functions which it implements
53517 to always fail with ENOSYS. Some functions are actually named
53518 something starting with __ and the normal name is an alias. */
53519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53520 choke me
53521 #else
53522 char (*f) () = $ac_func;
53523 #endif
53524 #ifdef __cplusplus
53526 #endif
53529 main ()
53531 return f != $ac_func;
53533 return 0;
53535 _ACEOF
53536 rm -f conftest.$ac_objext conftest$ac_exeext
53537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53538 (eval $ac_link) 2>conftest.er1
53539 ac_status=$?
53540 grep -v '^ *+' conftest.er1 >conftest.err
53541 rm -f conftest.er1
53542 cat conftest.err >&5
53543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53544 (exit $ac_status); } &&
53545 { ac_try='test -z "$ac_c_werror_flag"
53546 || test ! -s conftest.err'
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); }; } &&
53552 { ac_try='test -s conftest$ac_exeext'
53553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53554 (eval $ac_try) 2>&5
53555 ac_status=$?
53556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53557 (exit $ac_status); }; }; then
53558 eval "$as_ac_var=yes"
53559 else
53560 echo "$as_me: failed program was:" >&5
53561 sed 's/^/| /' conftest.$ac_ext >&5
53563 eval "$as_ac_var=no"
53565 rm -f conftest.err conftest.$ac_objext \
53566 conftest$ac_exeext conftest.$ac_ext
53568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53570 if test `eval echo '${'$as_ac_var'}'` = yes; then
53571 cat >>confdefs.h <<_ACEOF
53572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53573 _ACEOF
53576 done
53578 else
53580 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
53581 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
53582 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
53583 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
53584 echo $ECHO_N "(cached) $ECHO_C" >&6
53585 else
53589 ac_ext=cc
53590 ac_cpp='$CXXCPP $CPPFLAGS'
53591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53595 cat >conftest.$ac_ext <<_ACEOF
53596 /* confdefs.h. */
53597 _ACEOF
53598 cat confdefs.h >>conftest.$ac_ext
53599 cat >>conftest.$ac_ext <<_ACEOF
53600 /* end confdefs.h. */
53601 #include <math.h>
53603 main ()
53605 _copysignl(0, 0);
53607 return 0;
53609 _ACEOF
53610 rm -f conftest.$ac_objext
53611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53612 (eval $ac_compile) 2>conftest.er1
53613 ac_status=$?
53614 grep -v '^ *+' conftest.er1 >conftest.err
53615 rm -f conftest.er1
53616 cat conftest.err >&5
53617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53618 (exit $ac_status); } &&
53619 { ac_try='test -z "$ac_cxx_werror_flag"
53620 || test ! -s conftest.err'
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); }; } &&
53626 { ac_try='test -s conftest.$ac_objext'
53627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53628 (eval $ac_try) 2>&5
53629 ac_status=$?
53630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53631 (exit $ac_status); }; }; then
53632 glibcxx_cv_func__copysignl_use=yes
53633 else
53634 echo "$as_me: failed program was:" >&5
53635 sed 's/^/| /' conftest.$ac_ext >&5
53637 glibcxx_cv_func__copysignl_use=no
53639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53640 ac_ext=c
53641 ac_cpp='$CPP $CPPFLAGS'
53642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
53651 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
53653 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
53655 for ac_func in _copysignl
53657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53658 echo "$as_me:$LINENO: checking for $ac_func" >&5
53659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53660 if eval "test \"\${$as_ac_var+set}\" = set"; then
53661 echo $ECHO_N "(cached) $ECHO_C" >&6
53662 else
53663 if test x$gcc_no_link = xyes; then
53664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53666 { (exit 1); exit 1; }; }
53668 cat >conftest.$ac_ext <<_ACEOF
53669 /* confdefs.h. */
53670 _ACEOF
53671 cat confdefs.h >>conftest.$ac_ext
53672 cat >>conftest.$ac_ext <<_ACEOF
53673 /* end confdefs.h. */
53674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53676 #define $ac_func innocuous_$ac_func
53678 /* System header to define __stub macros and hopefully few prototypes,
53679 which can conflict with char $ac_func (); below.
53680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53681 <limits.h> exists even on freestanding compilers. */
53683 #ifdef __STDC__
53684 # include <limits.h>
53685 #else
53686 # include <assert.h>
53687 #endif
53689 #undef $ac_func
53691 /* Override any gcc2 internal prototype to avoid an error. */
53692 #ifdef __cplusplus
53693 extern "C"
53695 #endif
53696 /* We use char because int might match the return type of a gcc2
53697 builtin and then its argument prototype would still apply. */
53698 char $ac_func ();
53699 /* The GNU C library defines this for functions which it implements
53700 to always fail with ENOSYS. Some functions are actually named
53701 something starting with __ and the normal name is an alias. */
53702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53703 choke me
53704 #else
53705 char (*f) () = $ac_func;
53706 #endif
53707 #ifdef __cplusplus
53709 #endif
53712 main ()
53714 return f != $ac_func;
53716 return 0;
53718 _ACEOF
53719 rm -f conftest.$ac_objext conftest$ac_exeext
53720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53721 (eval $ac_link) 2>conftest.er1
53722 ac_status=$?
53723 grep -v '^ *+' conftest.er1 >conftest.err
53724 rm -f conftest.er1
53725 cat conftest.err >&5
53726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53727 (exit $ac_status); } &&
53728 { ac_try='test -z "$ac_c_werror_flag"
53729 || test ! -s conftest.err'
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); }; } &&
53735 { ac_try='test -s conftest$ac_exeext'
53736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53737 (eval $ac_try) 2>&5
53738 ac_status=$?
53739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53740 (exit $ac_status); }; }; then
53741 eval "$as_ac_var=yes"
53742 else
53743 echo "$as_me: failed program was:" >&5
53744 sed 's/^/| /' conftest.$ac_ext >&5
53746 eval "$as_ac_var=no"
53748 rm -f conftest.err conftest.$ac_objext \
53749 conftest$ac_exeext conftest.$ac_ext
53751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53753 if test `eval echo '${'$as_ac_var'}'` = yes; then
53754 cat >>confdefs.h <<_ACEOF
53755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53756 _ACEOF
53759 done
53769 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
53770 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
53771 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
53772 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
53773 echo $ECHO_N "(cached) $ECHO_C" >&6
53774 else
53778 ac_ext=cc
53779 ac_cpp='$CXXCPP $CPPFLAGS'
53780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53784 cat >conftest.$ac_ext <<_ACEOF
53785 /* confdefs.h. */
53786 _ACEOF
53787 cat confdefs.h >>conftest.$ac_ext
53788 cat >>conftest.$ac_ext <<_ACEOF
53789 /* end confdefs.h. */
53790 #include <math.h>
53792 main ()
53794 atan2l(0, 0);
53796 return 0;
53798 _ACEOF
53799 rm -f conftest.$ac_objext
53800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53801 (eval $ac_compile) 2>conftest.er1
53802 ac_status=$?
53803 grep -v '^ *+' conftest.er1 >conftest.err
53804 rm -f conftest.er1
53805 cat conftest.err >&5
53806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53807 (exit $ac_status); } &&
53808 { ac_try='test -z "$ac_cxx_werror_flag"
53809 || test ! -s conftest.err'
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); }; } &&
53815 { ac_try='test -s conftest.$ac_objext'
53816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53817 (eval $ac_try) 2>&5
53818 ac_status=$?
53819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53820 (exit $ac_status); }; }; then
53821 glibcxx_cv_func_atan2l_use=yes
53822 else
53823 echo "$as_me: failed program was:" >&5
53824 sed 's/^/| /' conftest.$ac_ext >&5
53826 glibcxx_cv_func_atan2l_use=no
53828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53829 ac_ext=c
53830 ac_cpp='$CPP $CPPFLAGS'
53831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53839 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
53840 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
53842 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
53844 for ac_func in atan2l
53846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53847 echo "$as_me:$LINENO: checking for $ac_func" >&5
53848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53849 if eval "test \"\${$as_ac_var+set}\" = set"; then
53850 echo $ECHO_N "(cached) $ECHO_C" >&6
53851 else
53852 if test x$gcc_no_link = xyes; then
53853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53855 { (exit 1); exit 1; }; }
53857 cat >conftest.$ac_ext <<_ACEOF
53858 /* confdefs.h. */
53859 _ACEOF
53860 cat confdefs.h >>conftest.$ac_ext
53861 cat >>conftest.$ac_ext <<_ACEOF
53862 /* end confdefs.h. */
53863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53865 #define $ac_func innocuous_$ac_func
53867 /* System header to define __stub macros and hopefully few prototypes,
53868 which can conflict with char $ac_func (); below.
53869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53870 <limits.h> exists even on freestanding compilers. */
53872 #ifdef __STDC__
53873 # include <limits.h>
53874 #else
53875 # include <assert.h>
53876 #endif
53878 #undef $ac_func
53880 /* Override any gcc2 internal prototype to avoid an error. */
53881 #ifdef __cplusplus
53882 extern "C"
53884 #endif
53885 /* We use char because int might match the return type of a gcc2
53886 builtin and then its argument prototype would still apply. */
53887 char $ac_func ();
53888 /* The GNU C library defines this for functions which it implements
53889 to always fail with ENOSYS. Some functions are actually named
53890 something starting with __ and the normal name is an alias. */
53891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53892 choke me
53893 #else
53894 char (*f) () = $ac_func;
53895 #endif
53896 #ifdef __cplusplus
53898 #endif
53901 main ()
53903 return f != $ac_func;
53905 return 0;
53907 _ACEOF
53908 rm -f conftest.$ac_objext conftest$ac_exeext
53909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53910 (eval $ac_link) 2>conftest.er1
53911 ac_status=$?
53912 grep -v '^ *+' conftest.er1 >conftest.err
53913 rm -f conftest.er1
53914 cat conftest.err >&5
53915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53916 (exit $ac_status); } &&
53917 { ac_try='test -z "$ac_c_werror_flag"
53918 || test ! -s conftest.err'
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); }; } &&
53924 { ac_try='test -s conftest$ac_exeext'
53925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53926 (eval $ac_try) 2>&5
53927 ac_status=$?
53928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53929 (exit $ac_status); }; }; then
53930 eval "$as_ac_var=yes"
53931 else
53932 echo "$as_me: failed program was:" >&5
53933 sed 's/^/| /' conftest.$ac_ext >&5
53935 eval "$as_ac_var=no"
53937 rm -f conftest.err conftest.$ac_objext \
53938 conftest$ac_exeext conftest.$ac_ext
53940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53942 if test `eval echo '${'$as_ac_var'}'` = yes; then
53943 cat >>confdefs.h <<_ACEOF
53944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53945 _ACEOF
53948 done
53950 else
53952 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
53953 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
53954 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
53955 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
53956 echo $ECHO_N "(cached) $ECHO_C" >&6
53957 else
53961 ac_ext=cc
53962 ac_cpp='$CXXCPP $CPPFLAGS'
53963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53967 cat >conftest.$ac_ext <<_ACEOF
53968 /* confdefs.h. */
53969 _ACEOF
53970 cat confdefs.h >>conftest.$ac_ext
53971 cat >>conftest.$ac_ext <<_ACEOF
53972 /* end confdefs.h. */
53973 #include <math.h>
53975 main ()
53977 _atan2l(0, 0);
53979 return 0;
53981 _ACEOF
53982 rm -f conftest.$ac_objext
53983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53984 (eval $ac_compile) 2>conftest.er1
53985 ac_status=$?
53986 grep -v '^ *+' conftest.er1 >conftest.err
53987 rm -f conftest.er1
53988 cat conftest.err >&5
53989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53990 (exit $ac_status); } &&
53991 { ac_try='test -z "$ac_cxx_werror_flag"
53992 || test ! -s conftest.err'
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); }; } &&
53998 { ac_try='test -s conftest.$ac_objext'
53999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54000 (eval $ac_try) 2>&5
54001 ac_status=$?
54002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54003 (exit $ac_status); }; }; then
54004 glibcxx_cv_func__atan2l_use=yes
54005 else
54006 echo "$as_me: failed program was:" >&5
54007 sed 's/^/| /' conftest.$ac_ext >&5
54009 glibcxx_cv_func__atan2l_use=no
54011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54012 ac_ext=c
54013 ac_cpp='$CPP $CPPFLAGS'
54014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54022 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
54023 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
54025 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54027 for ac_func in _atan2l
54029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54030 echo "$as_me:$LINENO: checking for $ac_func" >&5
54031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54032 if eval "test \"\${$as_ac_var+set}\" = set"; then
54033 echo $ECHO_N "(cached) $ECHO_C" >&6
54034 else
54035 if test x$gcc_no_link = xyes; then
54036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54038 { (exit 1); exit 1; }; }
54040 cat >conftest.$ac_ext <<_ACEOF
54041 /* confdefs.h. */
54042 _ACEOF
54043 cat confdefs.h >>conftest.$ac_ext
54044 cat >>conftest.$ac_ext <<_ACEOF
54045 /* end confdefs.h. */
54046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54048 #define $ac_func innocuous_$ac_func
54050 /* System header to define __stub macros and hopefully few prototypes,
54051 which can conflict with char $ac_func (); below.
54052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54053 <limits.h> exists even on freestanding compilers. */
54055 #ifdef __STDC__
54056 # include <limits.h>
54057 #else
54058 # include <assert.h>
54059 #endif
54061 #undef $ac_func
54063 /* Override any gcc2 internal prototype to avoid an error. */
54064 #ifdef __cplusplus
54065 extern "C"
54067 #endif
54068 /* We use char because int might match the return type of a gcc2
54069 builtin and then its argument prototype would still apply. */
54070 char $ac_func ();
54071 /* The GNU C library defines this for functions which it implements
54072 to always fail with ENOSYS. Some functions are actually named
54073 something starting with __ and the normal name is an alias. */
54074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54075 choke me
54076 #else
54077 char (*f) () = $ac_func;
54078 #endif
54079 #ifdef __cplusplus
54081 #endif
54084 main ()
54086 return f != $ac_func;
54088 return 0;
54090 _ACEOF
54091 rm -f conftest.$ac_objext conftest$ac_exeext
54092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54093 (eval $ac_link) 2>conftest.er1
54094 ac_status=$?
54095 grep -v '^ *+' conftest.er1 >conftest.err
54096 rm -f conftest.er1
54097 cat conftest.err >&5
54098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54099 (exit $ac_status); } &&
54100 { ac_try='test -z "$ac_c_werror_flag"
54101 || test ! -s conftest.err'
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); }; } &&
54107 { ac_try='test -s conftest$ac_exeext'
54108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54109 (eval $ac_try) 2>&5
54110 ac_status=$?
54111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54112 (exit $ac_status); }; }; then
54113 eval "$as_ac_var=yes"
54114 else
54115 echo "$as_me: failed program was:" >&5
54116 sed 's/^/| /' conftest.$ac_ext >&5
54118 eval "$as_ac_var=no"
54120 rm -f conftest.err conftest.$ac_objext \
54121 conftest$ac_exeext conftest.$ac_ext
54123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54125 if test `eval echo '${'$as_ac_var'}'` = yes; then
54126 cat >>confdefs.h <<_ACEOF
54127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54128 _ACEOF
54131 done
54141 echo "$as_me:$LINENO: checking for expl declaration" >&5
54142 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
54143 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54144 if test "${glibcxx_cv_func_expl_use+set}" = set; then
54145 echo $ECHO_N "(cached) $ECHO_C" >&6
54146 else
54150 ac_ext=cc
54151 ac_cpp='$CXXCPP $CPPFLAGS'
54152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54156 cat >conftest.$ac_ext <<_ACEOF
54157 /* confdefs.h. */
54158 _ACEOF
54159 cat confdefs.h >>conftest.$ac_ext
54160 cat >>conftest.$ac_ext <<_ACEOF
54161 /* end confdefs.h. */
54162 #include <math.h>
54163 #ifdef HAVE_IEEEFP_H
54164 #include <ieeefp.h>
54165 #endif
54168 main ()
54170 expl(0);
54172 return 0;
54174 _ACEOF
54175 rm -f conftest.$ac_objext
54176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54177 (eval $ac_compile) 2>conftest.er1
54178 ac_status=$?
54179 grep -v '^ *+' conftest.er1 >conftest.err
54180 rm -f conftest.er1
54181 cat conftest.err >&5
54182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54183 (exit $ac_status); } &&
54184 { ac_try='test -z "$ac_cxx_werror_flag"
54185 || test ! -s conftest.err'
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); }; } &&
54191 { ac_try='test -s conftest.$ac_objext'
54192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54193 (eval $ac_try) 2>&5
54194 ac_status=$?
54195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54196 (exit $ac_status); }; }; then
54197 glibcxx_cv_func_expl_use=yes
54198 else
54199 echo "$as_me: failed program was:" >&5
54200 sed 's/^/| /' conftest.$ac_ext >&5
54202 glibcxx_cv_func_expl_use=no
54204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54205 ac_ext=c
54206 ac_cpp='$CPP $CPPFLAGS'
54207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54215 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
54216 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
54218 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54220 for ac_func in expl
54222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54223 echo "$as_me:$LINENO: checking for $ac_func" >&5
54224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54225 if eval "test \"\${$as_ac_var+set}\" = set"; then
54226 echo $ECHO_N "(cached) $ECHO_C" >&6
54227 else
54228 if test x$gcc_no_link = xyes; then
54229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54231 { (exit 1); exit 1; }; }
54233 cat >conftest.$ac_ext <<_ACEOF
54234 /* confdefs.h. */
54235 _ACEOF
54236 cat confdefs.h >>conftest.$ac_ext
54237 cat >>conftest.$ac_ext <<_ACEOF
54238 /* end confdefs.h. */
54239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54241 #define $ac_func innocuous_$ac_func
54243 /* System header to define __stub macros and hopefully few prototypes,
54244 which can conflict with char $ac_func (); below.
54245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54246 <limits.h> exists even on freestanding compilers. */
54248 #ifdef __STDC__
54249 # include <limits.h>
54250 #else
54251 # include <assert.h>
54252 #endif
54254 #undef $ac_func
54256 /* Override any gcc2 internal prototype to avoid an error. */
54257 #ifdef __cplusplus
54258 extern "C"
54260 #endif
54261 /* We use char because int might match the return type of a gcc2
54262 builtin and then its argument prototype would still apply. */
54263 char $ac_func ();
54264 /* The GNU C library defines this for functions which it implements
54265 to always fail with ENOSYS. Some functions are actually named
54266 something starting with __ and the normal name is an alias. */
54267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54268 choke me
54269 #else
54270 char (*f) () = $ac_func;
54271 #endif
54272 #ifdef __cplusplus
54274 #endif
54277 main ()
54279 return f != $ac_func;
54281 return 0;
54283 _ACEOF
54284 rm -f conftest.$ac_objext conftest$ac_exeext
54285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54286 (eval $ac_link) 2>conftest.er1
54287 ac_status=$?
54288 grep -v '^ *+' conftest.er1 >conftest.err
54289 rm -f conftest.er1
54290 cat conftest.err >&5
54291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54292 (exit $ac_status); } &&
54293 { ac_try='test -z "$ac_c_werror_flag"
54294 || test ! -s conftest.err'
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); }; } &&
54300 { ac_try='test -s conftest$ac_exeext'
54301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54302 (eval $ac_try) 2>&5
54303 ac_status=$?
54304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54305 (exit $ac_status); }; }; then
54306 eval "$as_ac_var=yes"
54307 else
54308 echo "$as_me: failed program was:" >&5
54309 sed 's/^/| /' conftest.$ac_ext >&5
54311 eval "$as_ac_var=no"
54313 rm -f conftest.err conftest.$ac_objext \
54314 conftest$ac_exeext conftest.$ac_ext
54316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54318 if test `eval echo '${'$as_ac_var'}'` = yes; then
54319 cat >>confdefs.h <<_ACEOF
54320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54321 _ACEOF
54324 done
54326 else
54328 echo "$as_me:$LINENO: checking for _expl declaration" >&5
54329 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
54330 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54331 if test "${glibcxx_cv_func__expl_use+set}" = set; then
54332 echo $ECHO_N "(cached) $ECHO_C" >&6
54333 else
54337 ac_ext=cc
54338 ac_cpp='$CXXCPP $CPPFLAGS'
54339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54343 cat >conftest.$ac_ext <<_ACEOF
54344 /* confdefs.h. */
54345 _ACEOF
54346 cat confdefs.h >>conftest.$ac_ext
54347 cat >>conftest.$ac_ext <<_ACEOF
54348 /* end confdefs.h. */
54349 #include <math.h>
54350 #ifdef HAVE_IEEEFP_H
54351 #include <ieeefp.h>
54352 #endif
54355 main ()
54357 _expl(0);
54359 return 0;
54361 _ACEOF
54362 rm -f conftest.$ac_objext
54363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54364 (eval $ac_compile) 2>conftest.er1
54365 ac_status=$?
54366 grep -v '^ *+' conftest.er1 >conftest.err
54367 rm -f conftest.er1
54368 cat conftest.err >&5
54369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54370 (exit $ac_status); } &&
54371 { ac_try='test -z "$ac_cxx_werror_flag"
54372 || test ! -s conftest.err'
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); }; } &&
54378 { ac_try='test -s conftest.$ac_objext'
54379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54380 (eval $ac_try) 2>&5
54381 ac_status=$?
54382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54383 (exit $ac_status); }; }; then
54384 glibcxx_cv_func__expl_use=yes
54385 else
54386 echo "$as_me: failed program was:" >&5
54387 sed 's/^/| /' conftest.$ac_ext >&5
54389 glibcxx_cv_func__expl_use=no
54391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54392 ac_ext=c
54393 ac_cpp='$CPP $CPPFLAGS'
54394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
54403 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
54405 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54407 for ac_func in _expl
54409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54410 echo "$as_me:$LINENO: checking for $ac_func" >&5
54411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54412 if eval "test \"\${$as_ac_var+set}\" = set"; then
54413 echo $ECHO_N "(cached) $ECHO_C" >&6
54414 else
54415 if test x$gcc_no_link = xyes; then
54416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54418 { (exit 1); exit 1; }; }
54420 cat >conftest.$ac_ext <<_ACEOF
54421 /* confdefs.h. */
54422 _ACEOF
54423 cat confdefs.h >>conftest.$ac_ext
54424 cat >>conftest.$ac_ext <<_ACEOF
54425 /* end confdefs.h. */
54426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54428 #define $ac_func innocuous_$ac_func
54430 /* System header to define __stub macros and hopefully few prototypes,
54431 which can conflict with char $ac_func (); below.
54432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54433 <limits.h> exists even on freestanding compilers. */
54435 #ifdef __STDC__
54436 # include <limits.h>
54437 #else
54438 # include <assert.h>
54439 #endif
54441 #undef $ac_func
54443 /* Override any gcc2 internal prototype to avoid an error. */
54444 #ifdef __cplusplus
54445 extern "C"
54447 #endif
54448 /* We use char because int might match the return type of a gcc2
54449 builtin and then its argument prototype would still apply. */
54450 char $ac_func ();
54451 /* The GNU C library defines this for functions which it implements
54452 to always fail with ENOSYS. Some functions are actually named
54453 something starting with __ and the normal name is an alias. */
54454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54455 choke me
54456 #else
54457 char (*f) () = $ac_func;
54458 #endif
54459 #ifdef __cplusplus
54461 #endif
54464 main ()
54466 return f != $ac_func;
54468 return 0;
54470 _ACEOF
54471 rm -f conftest.$ac_objext conftest$ac_exeext
54472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54473 (eval $ac_link) 2>conftest.er1
54474 ac_status=$?
54475 grep -v '^ *+' conftest.er1 >conftest.err
54476 rm -f conftest.er1
54477 cat conftest.err >&5
54478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54479 (exit $ac_status); } &&
54480 { ac_try='test -z "$ac_c_werror_flag"
54481 || test ! -s conftest.err'
54482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54483 (eval $ac_try) 2>&5
54484 ac_status=$?
54485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54486 (exit $ac_status); }; } &&
54487 { ac_try='test -s conftest$ac_exeext'
54488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54489 (eval $ac_try) 2>&5
54490 ac_status=$?
54491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54492 (exit $ac_status); }; }; then
54493 eval "$as_ac_var=yes"
54494 else
54495 echo "$as_me: failed program was:" >&5
54496 sed 's/^/| /' conftest.$ac_ext >&5
54498 eval "$as_ac_var=no"
54500 rm -f conftest.err conftest.$ac_objext \
54501 conftest$ac_exeext conftest.$ac_ext
54503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54505 if test `eval echo '${'$as_ac_var'}'` = yes; then
54506 cat >>confdefs.h <<_ACEOF
54507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54508 _ACEOF
54511 done
54521 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
54522 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
54523 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54524 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
54525 echo $ECHO_N "(cached) $ECHO_C" >&6
54526 else
54530 ac_ext=cc
54531 ac_cpp='$CXXCPP $CPPFLAGS'
54532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54536 cat >conftest.$ac_ext <<_ACEOF
54537 /* confdefs.h. */
54538 _ACEOF
54539 cat confdefs.h >>conftest.$ac_ext
54540 cat >>conftest.$ac_ext <<_ACEOF
54541 /* end confdefs.h. */
54542 #include <math.h>
54543 #ifdef HAVE_IEEEFP_H
54544 #include <ieeefp.h>
54545 #endif
54548 main ()
54550 fabsl(0);
54552 return 0;
54554 _ACEOF
54555 rm -f conftest.$ac_objext
54556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54557 (eval $ac_compile) 2>conftest.er1
54558 ac_status=$?
54559 grep -v '^ *+' conftest.er1 >conftest.err
54560 rm -f conftest.er1
54561 cat conftest.err >&5
54562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54563 (exit $ac_status); } &&
54564 { ac_try='test -z "$ac_cxx_werror_flag"
54565 || test ! -s conftest.err'
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); }; } &&
54571 { ac_try='test -s conftest.$ac_objext'
54572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54573 (eval $ac_try) 2>&5
54574 ac_status=$?
54575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54576 (exit $ac_status); }; }; then
54577 glibcxx_cv_func_fabsl_use=yes
54578 else
54579 echo "$as_me: failed program was:" >&5
54580 sed 's/^/| /' conftest.$ac_ext >&5
54582 glibcxx_cv_func_fabsl_use=no
54584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54585 ac_ext=c
54586 ac_cpp='$CPP $CPPFLAGS'
54587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
54596 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
54598 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
54600 for ac_func in fabsl
54602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54603 echo "$as_me:$LINENO: checking for $ac_func" >&5
54604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54605 if eval "test \"\${$as_ac_var+set}\" = set"; then
54606 echo $ECHO_N "(cached) $ECHO_C" >&6
54607 else
54608 if test x$gcc_no_link = xyes; then
54609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54611 { (exit 1); exit 1; }; }
54613 cat >conftest.$ac_ext <<_ACEOF
54614 /* confdefs.h. */
54615 _ACEOF
54616 cat confdefs.h >>conftest.$ac_ext
54617 cat >>conftest.$ac_ext <<_ACEOF
54618 /* end confdefs.h. */
54619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54621 #define $ac_func innocuous_$ac_func
54623 /* System header to define __stub macros and hopefully few prototypes,
54624 which can conflict with char $ac_func (); below.
54625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54626 <limits.h> exists even on freestanding compilers. */
54628 #ifdef __STDC__
54629 # include <limits.h>
54630 #else
54631 # include <assert.h>
54632 #endif
54634 #undef $ac_func
54636 /* Override any gcc2 internal prototype to avoid an error. */
54637 #ifdef __cplusplus
54638 extern "C"
54640 #endif
54641 /* We use char because int might match the return type of a gcc2
54642 builtin and then its argument prototype would still apply. */
54643 char $ac_func ();
54644 /* The GNU C library defines this for functions which it implements
54645 to always fail with ENOSYS. Some functions are actually named
54646 something starting with __ and the normal name is an alias. */
54647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54648 choke me
54649 #else
54650 char (*f) () = $ac_func;
54651 #endif
54652 #ifdef __cplusplus
54654 #endif
54657 main ()
54659 return f != $ac_func;
54661 return 0;
54663 _ACEOF
54664 rm -f conftest.$ac_objext conftest$ac_exeext
54665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54666 (eval $ac_link) 2>conftest.er1
54667 ac_status=$?
54668 grep -v '^ *+' conftest.er1 >conftest.err
54669 rm -f conftest.er1
54670 cat conftest.err >&5
54671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54672 (exit $ac_status); } &&
54673 { ac_try='test -z "$ac_c_werror_flag"
54674 || test ! -s conftest.err'
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); }; } &&
54680 { ac_try='test -s conftest$ac_exeext'
54681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54682 (eval $ac_try) 2>&5
54683 ac_status=$?
54684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54685 (exit $ac_status); }; }; then
54686 eval "$as_ac_var=yes"
54687 else
54688 echo "$as_me: failed program was:" >&5
54689 sed 's/^/| /' conftest.$ac_ext >&5
54691 eval "$as_ac_var=no"
54693 rm -f conftest.err conftest.$ac_objext \
54694 conftest$ac_exeext conftest.$ac_ext
54696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54698 if test `eval echo '${'$as_ac_var'}'` = yes; then
54699 cat >>confdefs.h <<_ACEOF
54700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54701 _ACEOF
54704 done
54706 else
54708 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
54709 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
54710 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
54711 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
54712 echo $ECHO_N "(cached) $ECHO_C" >&6
54713 else
54717 ac_ext=cc
54718 ac_cpp='$CXXCPP $CPPFLAGS'
54719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54723 cat >conftest.$ac_ext <<_ACEOF
54724 /* confdefs.h. */
54725 _ACEOF
54726 cat confdefs.h >>conftest.$ac_ext
54727 cat >>conftest.$ac_ext <<_ACEOF
54728 /* end confdefs.h. */
54729 #include <math.h>
54730 #ifdef HAVE_IEEEFP_H
54731 #include <ieeefp.h>
54732 #endif
54735 main ()
54737 _fabsl(0);
54739 return 0;
54741 _ACEOF
54742 rm -f conftest.$ac_objext
54743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54744 (eval $ac_compile) 2>conftest.er1
54745 ac_status=$?
54746 grep -v '^ *+' conftest.er1 >conftest.err
54747 rm -f conftest.er1
54748 cat conftest.err >&5
54749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54750 (exit $ac_status); } &&
54751 { ac_try='test -z "$ac_cxx_werror_flag"
54752 || test ! -s conftest.err'
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); }; } &&
54758 { ac_try='test -s conftest.$ac_objext'
54759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54760 (eval $ac_try) 2>&5
54761 ac_status=$?
54762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54763 (exit $ac_status); }; }; then
54764 glibcxx_cv_func__fabsl_use=yes
54765 else
54766 echo "$as_me: failed program was:" >&5
54767 sed 's/^/| /' conftest.$ac_ext >&5
54769 glibcxx_cv_func__fabsl_use=no
54771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54772 ac_ext=c
54773 ac_cpp='$CPP $CPPFLAGS'
54774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
54783 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
54785 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
54787 for ac_func in _fabsl
54789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54790 echo "$as_me:$LINENO: checking for $ac_func" >&5
54791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54792 if eval "test \"\${$as_ac_var+set}\" = set"; then
54793 echo $ECHO_N "(cached) $ECHO_C" >&6
54794 else
54795 if test x$gcc_no_link = xyes; then
54796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54798 { (exit 1); exit 1; }; }
54800 cat >conftest.$ac_ext <<_ACEOF
54801 /* confdefs.h. */
54802 _ACEOF
54803 cat confdefs.h >>conftest.$ac_ext
54804 cat >>conftest.$ac_ext <<_ACEOF
54805 /* end confdefs.h. */
54806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54808 #define $ac_func innocuous_$ac_func
54810 /* System header to define __stub macros and hopefully few prototypes,
54811 which can conflict with char $ac_func (); below.
54812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54813 <limits.h> exists even on freestanding compilers. */
54815 #ifdef __STDC__
54816 # include <limits.h>
54817 #else
54818 # include <assert.h>
54819 #endif
54821 #undef $ac_func
54823 /* Override any gcc2 internal prototype to avoid an error. */
54824 #ifdef __cplusplus
54825 extern "C"
54827 #endif
54828 /* We use char because int might match the return type of a gcc2
54829 builtin and then its argument prototype would still apply. */
54830 char $ac_func ();
54831 /* The GNU C library defines this for functions which it implements
54832 to always fail with ENOSYS. Some functions are actually named
54833 something starting with __ and the normal name is an alias. */
54834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54835 choke me
54836 #else
54837 char (*f) () = $ac_func;
54838 #endif
54839 #ifdef __cplusplus
54841 #endif
54844 main ()
54846 return f != $ac_func;
54848 return 0;
54850 _ACEOF
54851 rm -f conftest.$ac_objext conftest$ac_exeext
54852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54853 (eval $ac_link) 2>conftest.er1
54854 ac_status=$?
54855 grep -v '^ *+' conftest.er1 >conftest.err
54856 rm -f conftest.er1
54857 cat conftest.err >&5
54858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54859 (exit $ac_status); } &&
54860 { ac_try='test -z "$ac_c_werror_flag"
54861 || test ! -s conftest.err'
54862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54863 (eval $ac_try) 2>&5
54864 ac_status=$?
54865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54866 (exit $ac_status); }; } &&
54867 { ac_try='test -s conftest$ac_exeext'
54868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54869 (eval $ac_try) 2>&5
54870 ac_status=$?
54871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54872 (exit $ac_status); }; }; then
54873 eval "$as_ac_var=yes"
54874 else
54875 echo "$as_me: failed program was:" >&5
54876 sed 's/^/| /' conftest.$ac_ext >&5
54878 eval "$as_ac_var=no"
54880 rm -f conftest.err conftest.$ac_objext \
54881 conftest$ac_exeext conftest.$ac_ext
54883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54885 if test `eval echo '${'$as_ac_var'}'` = yes; then
54886 cat >>confdefs.h <<_ACEOF
54887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54888 _ACEOF
54891 done
54901 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
54902 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
54903 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
54904 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
54905 echo $ECHO_N "(cached) $ECHO_C" >&6
54906 else
54910 ac_ext=cc
54911 ac_cpp='$CXXCPP $CPPFLAGS'
54912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54916 cat >conftest.$ac_ext <<_ACEOF
54917 /* confdefs.h. */
54918 _ACEOF
54919 cat confdefs.h >>conftest.$ac_ext
54920 cat >>conftest.$ac_ext <<_ACEOF
54921 /* end confdefs.h. */
54922 #include <math.h>
54924 main ()
54926 fmodl(0, 0);
54928 return 0;
54930 _ACEOF
54931 rm -f conftest.$ac_objext
54932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54933 (eval $ac_compile) 2>conftest.er1
54934 ac_status=$?
54935 grep -v '^ *+' conftest.er1 >conftest.err
54936 rm -f conftest.er1
54937 cat conftest.err >&5
54938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54939 (exit $ac_status); } &&
54940 { ac_try='test -z "$ac_cxx_werror_flag"
54941 || test ! -s conftest.err'
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); }; } &&
54947 { ac_try='test -s conftest.$ac_objext'
54948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54949 (eval $ac_try) 2>&5
54950 ac_status=$?
54951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54952 (exit $ac_status); }; }; then
54953 glibcxx_cv_func_fmodl_use=yes
54954 else
54955 echo "$as_me: failed program was:" >&5
54956 sed 's/^/| /' conftest.$ac_ext >&5
54958 glibcxx_cv_func_fmodl_use=no
54960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54961 ac_ext=c
54962 ac_cpp='$CPP $CPPFLAGS'
54963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54971 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
54972 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
54974 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
54976 for ac_func in fmodl
54978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54979 echo "$as_me:$LINENO: checking for $ac_func" >&5
54980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54981 if eval "test \"\${$as_ac_var+set}\" = set"; then
54982 echo $ECHO_N "(cached) $ECHO_C" >&6
54983 else
54984 if test x$gcc_no_link = xyes; then
54985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54987 { (exit 1); exit 1; }; }
54989 cat >conftest.$ac_ext <<_ACEOF
54990 /* confdefs.h. */
54991 _ACEOF
54992 cat confdefs.h >>conftest.$ac_ext
54993 cat >>conftest.$ac_ext <<_ACEOF
54994 /* end confdefs.h. */
54995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54997 #define $ac_func innocuous_$ac_func
54999 /* System header to define __stub macros and hopefully few prototypes,
55000 which can conflict with char $ac_func (); below.
55001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55002 <limits.h> exists even on freestanding compilers. */
55004 #ifdef __STDC__
55005 # include <limits.h>
55006 #else
55007 # include <assert.h>
55008 #endif
55010 #undef $ac_func
55012 /* Override any gcc2 internal prototype to avoid an error. */
55013 #ifdef __cplusplus
55014 extern "C"
55016 #endif
55017 /* We use char because int might match the return type of a gcc2
55018 builtin and then its argument prototype would still apply. */
55019 char $ac_func ();
55020 /* The GNU C library defines this for functions which it implements
55021 to always fail with ENOSYS. Some functions are actually named
55022 something starting with __ and the normal name is an alias. */
55023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55024 choke me
55025 #else
55026 char (*f) () = $ac_func;
55027 #endif
55028 #ifdef __cplusplus
55030 #endif
55033 main ()
55035 return f != $ac_func;
55037 return 0;
55039 _ACEOF
55040 rm -f conftest.$ac_objext conftest$ac_exeext
55041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55042 (eval $ac_link) 2>conftest.er1
55043 ac_status=$?
55044 grep -v '^ *+' conftest.er1 >conftest.err
55045 rm -f conftest.er1
55046 cat conftest.err >&5
55047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55048 (exit $ac_status); } &&
55049 { ac_try='test -z "$ac_c_werror_flag"
55050 || test ! -s conftest.err'
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); }; } &&
55056 { ac_try='test -s conftest$ac_exeext'
55057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55058 (eval $ac_try) 2>&5
55059 ac_status=$?
55060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55061 (exit $ac_status); }; }; then
55062 eval "$as_ac_var=yes"
55063 else
55064 echo "$as_me: failed program was:" >&5
55065 sed 's/^/| /' conftest.$ac_ext >&5
55067 eval "$as_ac_var=no"
55069 rm -f conftest.err conftest.$ac_objext \
55070 conftest$ac_exeext conftest.$ac_ext
55072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55074 if test `eval echo '${'$as_ac_var'}'` = yes; then
55075 cat >>confdefs.h <<_ACEOF
55076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55077 _ACEOF
55080 done
55082 else
55084 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
55085 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
55086 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55087 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
55088 echo $ECHO_N "(cached) $ECHO_C" >&6
55089 else
55093 ac_ext=cc
55094 ac_cpp='$CXXCPP $CPPFLAGS'
55095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55099 cat >conftest.$ac_ext <<_ACEOF
55100 /* confdefs.h. */
55101 _ACEOF
55102 cat confdefs.h >>conftest.$ac_ext
55103 cat >>conftest.$ac_ext <<_ACEOF
55104 /* end confdefs.h. */
55105 #include <math.h>
55107 main ()
55109 _fmodl(0, 0);
55111 return 0;
55113 _ACEOF
55114 rm -f conftest.$ac_objext
55115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55116 (eval $ac_compile) 2>conftest.er1
55117 ac_status=$?
55118 grep -v '^ *+' conftest.er1 >conftest.err
55119 rm -f conftest.er1
55120 cat conftest.err >&5
55121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55122 (exit $ac_status); } &&
55123 { ac_try='test -z "$ac_cxx_werror_flag"
55124 || test ! -s conftest.err'
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); }; } &&
55130 { ac_try='test -s conftest.$ac_objext'
55131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55132 (eval $ac_try) 2>&5
55133 ac_status=$?
55134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55135 (exit $ac_status); }; }; then
55136 glibcxx_cv_func__fmodl_use=yes
55137 else
55138 echo "$as_me: failed program was:" >&5
55139 sed 's/^/| /' conftest.$ac_ext >&5
55141 glibcxx_cv_func__fmodl_use=no
55143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55144 ac_ext=c
55145 ac_cpp='$CPP $CPPFLAGS'
55146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55154 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
55155 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
55157 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55159 for ac_func in _fmodl
55161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55162 echo "$as_me:$LINENO: checking for $ac_func" >&5
55163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55164 if eval "test \"\${$as_ac_var+set}\" = set"; then
55165 echo $ECHO_N "(cached) $ECHO_C" >&6
55166 else
55167 if test x$gcc_no_link = xyes; then
55168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55170 { (exit 1); exit 1; }; }
55172 cat >conftest.$ac_ext <<_ACEOF
55173 /* confdefs.h. */
55174 _ACEOF
55175 cat confdefs.h >>conftest.$ac_ext
55176 cat >>conftest.$ac_ext <<_ACEOF
55177 /* end confdefs.h. */
55178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55180 #define $ac_func innocuous_$ac_func
55182 /* System header to define __stub macros and hopefully few prototypes,
55183 which can conflict with char $ac_func (); below.
55184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55185 <limits.h> exists even on freestanding compilers. */
55187 #ifdef __STDC__
55188 # include <limits.h>
55189 #else
55190 # include <assert.h>
55191 #endif
55193 #undef $ac_func
55195 /* Override any gcc2 internal prototype to avoid an error. */
55196 #ifdef __cplusplus
55197 extern "C"
55199 #endif
55200 /* We use char because int might match the return type of a gcc2
55201 builtin and then its argument prototype would still apply. */
55202 char $ac_func ();
55203 /* The GNU C library defines this for functions which it implements
55204 to always fail with ENOSYS. Some functions are actually named
55205 something starting with __ and the normal name is an alias. */
55206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55207 choke me
55208 #else
55209 char (*f) () = $ac_func;
55210 #endif
55211 #ifdef __cplusplus
55213 #endif
55216 main ()
55218 return f != $ac_func;
55220 return 0;
55222 _ACEOF
55223 rm -f conftest.$ac_objext conftest$ac_exeext
55224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55225 (eval $ac_link) 2>conftest.er1
55226 ac_status=$?
55227 grep -v '^ *+' conftest.er1 >conftest.err
55228 rm -f conftest.er1
55229 cat conftest.err >&5
55230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55231 (exit $ac_status); } &&
55232 { ac_try='test -z "$ac_c_werror_flag"
55233 || test ! -s conftest.err'
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); }; } &&
55239 { ac_try='test -s conftest$ac_exeext'
55240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55241 (eval $ac_try) 2>&5
55242 ac_status=$?
55243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55244 (exit $ac_status); }; }; then
55245 eval "$as_ac_var=yes"
55246 else
55247 echo "$as_me: failed program was:" >&5
55248 sed 's/^/| /' conftest.$ac_ext >&5
55250 eval "$as_ac_var=no"
55252 rm -f conftest.err conftest.$ac_objext \
55253 conftest$ac_exeext conftest.$ac_ext
55255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55257 if test `eval echo '${'$as_ac_var'}'` = yes; then
55258 cat >>confdefs.h <<_ACEOF
55259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55260 _ACEOF
55263 done
55273 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
55274 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
55275 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55276 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
55277 echo $ECHO_N "(cached) $ECHO_C" >&6
55278 else
55282 ac_ext=cc
55283 ac_cpp='$CXXCPP $CPPFLAGS'
55284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55288 cat >conftest.$ac_ext <<_ACEOF
55289 /* confdefs.h. */
55290 _ACEOF
55291 cat confdefs.h >>conftest.$ac_ext
55292 cat >>conftest.$ac_ext <<_ACEOF
55293 /* end confdefs.h. */
55294 #include <math.h>
55296 main ()
55298 frexpl(0, 0);
55300 return 0;
55302 _ACEOF
55303 rm -f conftest.$ac_objext
55304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55305 (eval $ac_compile) 2>conftest.er1
55306 ac_status=$?
55307 grep -v '^ *+' conftest.er1 >conftest.err
55308 rm -f conftest.er1
55309 cat conftest.err >&5
55310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55311 (exit $ac_status); } &&
55312 { ac_try='test -z "$ac_cxx_werror_flag"
55313 || test ! -s conftest.err'
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); }; } &&
55319 { ac_try='test -s conftest.$ac_objext'
55320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55321 (eval $ac_try) 2>&5
55322 ac_status=$?
55323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55324 (exit $ac_status); }; }; then
55325 glibcxx_cv_func_frexpl_use=yes
55326 else
55327 echo "$as_me: failed program was:" >&5
55328 sed 's/^/| /' conftest.$ac_ext >&5
55330 glibcxx_cv_func_frexpl_use=no
55332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55333 ac_ext=c
55334 ac_cpp='$CPP $CPPFLAGS'
55335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55343 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
55344 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
55346 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55348 for ac_func in frexpl
55350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55351 echo "$as_me:$LINENO: checking for $ac_func" >&5
55352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55353 if eval "test \"\${$as_ac_var+set}\" = set"; then
55354 echo $ECHO_N "(cached) $ECHO_C" >&6
55355 else
55356 if test x$gcc_no_link = xyes; then
55357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55359 { (exit 1); exit 1; }; }
55361 cat >conftest.$ac_ext <<_ACEOF
55362 /* confdefs.h. */
55363 _ACEOF
55364 cat confdefs.h >>conftest.$ac_ext
55365 cat >>conftest.$ac_ext <<_ACEOF
55366 /* end confdefs.h. */
55367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55369 #define $ac_func innocuous_$ac_func
55371 /* System header to define __stub macros and hopefully few prototypes,
55372 which can conflict with char $ac_func (); below.
55373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55374 <limits.h> exists even on freestanding compilers. */
55376 #ifdef __STDC__
55377 # include <limits.h>
55378 #else
55379 # include <assert.h>
55380 #endif
55382 #undef $ac_func
55384 /* Override any gcc2 internal prototype to avoid an error. */
55385 #ifdef __cplusplus
55386 extern "C"
55388 #endif
55389 /* We use char because int might match the return type of a gcc2
55390 builtin and then its argument prototype would still apply. */
55391 char $ac_func ();
55392 /* The GNU C library defines this for functions which it implements
55393 to always fail with ENOSYS. Some functions are actually named
55394 something starting with __ and the normal name is an alias. */
55395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55396 choke me
55397 #else
55398 char (*f) () = $ac_func;
55399 #endif
55400 #ifdef __cplusplus
55402 #endif
55405 main ()
55407 return f != $ac_func;
55409 return 0;
55411 _ACEOF
55412 rm -f conftest.$ac_objext conftest$ac_exeext
55413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55414 (eval $ac_link) 2>conftest.er1
55415 ac_status=$?
55416 grep -v '^ *+' conftest.er1 >conftest.err
55417 rm -f conftest.er1
55418 cat conftest.err >&5
55419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55420 (exit $ac_status); } &&
55421 { ac_try='test -z "$ac_c_werror_flag"
55422 || test ! -s conftest.err'
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); }; } &&
55428 { ac_try='test -s conftest$ac_exeext'
55429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55430 (eval $ac_try) 2>&5
55431 ac_status=$?
55432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55433 (exit $ac_status); }; }; then
55434 eval "$as_ac_var=yes"
55435 else
55436 echo "$as_me: failed program was:" >&5
55437 sed 's/^/| /' conftest.$ac_ext >&5
55439 eval "$as_ac_var=no"
55441 rm -f conftest.err conftest.$ac_objext \
55442 conftest$ac_exeext conftest.$ac_ext
55444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55446 if test `eval echo '${'$as_ac_var'}'` = yes; then
55447 cat >>confdefs.h <<_ACEOF
55448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55449 _ACEOF
55452 done
55454 else
55456 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
55457 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
55458 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55459 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
55460 echo $ECHO_N "(cached) $ECHO_C" >&6
55461 else
55465 ac_ext=cc
55466 ac_cpp='$CXXCPP $CPPFLAGS'
55467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55471 cat >conftest.$ac_ext <<_ACEOF
55472 /* confdefs.h. */
55473 _ACEOF
55474 cat confdefs.h >>conftest.$ac_ext
55475 cat >>conftest.$ac_ext <<_ACEOF
55476 /* end confdefs.h. */
55477 #include <math.h>
55479 main ()
55481 _frexpl(0, 0);
55483 return 0;
55485 _ACEOF
55486 rm -f conftest.$ac_objext
55487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55488 (eval $ac_compile) 2>conftest.er1
55489 ac_status=$?
55490 grep -v '^ *+' conftest.er1 >conftest.err
55491 rm -f conftest.er1
55492 cat conftest.err >&5
55493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55494 (exit $ac_status); } &&
55495 { ac_try='test -z "$ac_cxx_werror_flag"
55496 || test ! -s conftest.err'
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); }; } &&
55502 { ac_try='test -s conftest.$ac_objext'
55503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55504 (eval $ac_try) 2>&5
55505 ac_status=$?
55506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55507 (exit $ac_status); }; }; then
55508 glibcxx_cv_func__frexpl_use=yes
55509 else
55510 echo "$as_me: failed program was:" >&5
55511 sed 's/^/| /' conftest.$ac_ext >&5
55513 glibcxx_cv_func__frexpl_use=no
55515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55516 ac_ext=c
55517 ac_cpp='$CPP $CPPFLAGS'
55518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55526 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
55527 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
55529 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55531 for ac_func in _frexpl
55533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55534 echo "$as_me:$LINENO: checking for $ac_func" >&5
55535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55536 if eval "test \"\${$as_ac_var+set}\" = set"; then
55537 echo $ECHO_N "(cached) $ECHO_C" >&6
55538 else
55539 if test x$gcc_no_link = xyes; then
55540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55542 { (exit 1); exit 1; }; }
55544 cat >conftest.$ac_ext <<_ACEOF
55545 /* confdefs.h. */
55546 _ACEOF
55547 cat confdefs.h >>conftest.$ac_ext
55548 cat >>conftest.$ac_ext <<_ACEOF
55549 /* end confdefs.h. */
55550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55552 #define $ac_func innocuous_$ac_func
55554 /* System header to define __stub macros and hopefully few prototypes,
55555 which can conflict with char $ac_func (); below.
55556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55557 <limits.h> exists even on freestanding compilers. */
55559 #ifdef __STDC__
55560 # include <limits.h>
55561 #else
55562 # include <assert.h>
55563 #endif
55565 #undef $ac_func
55567 /* Override any gcc2 internal prototype to avoid an error. */
55568 #ifdef __cplusplus
55569 extern "C"
55571 #endif
55572 /* We use char because int might match the return type of a gcc2
55573 builtin and then its argument prototype would still apply. */
55574 char $ac_func ();
55575 /* The GNU C library defines this for functions which it implements
55576 to always fail with ENOSYS. Some functions are actually named
55577 something starting with __ and the normal name is an alias. */
55578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55579 choke me
55580 #else
55581 char (*f) () = $ac_func;
55582 #endif
55583 #ifdef __cplusplus
55585 #endif
55588 main ()
55590 return f != $ac_func;
55592 return 0;
55594 _ACEOF
55595 rm -f conftest.$ac_objext conftest$ac_exeext
55596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55597 (eval $ac_link) 2>conftest.er1
55598 ac_status=$?
55599 grep -v '^ *+' conftest.er1 >conftest.err
55600 rm -f conftest.er1
55601 cat conftest.err >&5
55602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55603 (exit $ac_status); } &&
55604 { ac_try='test -z "$ac_c_werror_flag"
55605 || test ! -s conftest.err'
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); }; } &&
55611 { ac_try='test -s conftest$ac_exeext'
55612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55613 (eval $ac_try) 2>&5
55614 ac_status=$?
55615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55616 (exit $ac_status); }; }; then
55617 eval "$as_ac_var=yes"
55618 else
55619 echo "$as_me: failed program was:" >&5
55620 sed 's/^/| /' conftest.$ac_ext >&5
55622 eval "$as_ac_var=no"
55624 rm -f conftest.err conftest.$ac_objext \
55625 conftest$ac_exeext conftest.$ac_ext
55627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55629 if test `eval echo '${'$as_ac_var'}'` = yes; then
55630 cat >>confdefs.h <<_ACEOF
55631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55632 _ACEOF
55635 done
55645 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
55646 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
55647 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55648 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
55649 echo $ECHO_N "(cached) $ECHO_C" >&6
55650 else
55654 ac_ext=cc
55655 ac_cpp='$CXXCPP $CPPFLAGS'
55656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55660 cat >conftest.$ac_ext <<_ACEOF
55661 /* confdefs.h. */
55662 _ACEOF
55663 cat confdefs.h >>conftest.$ac_ext
55664 cat >>conftest.$ac_ext <<_ACEOF
55665 /* end confdefs.h. */
55666 #include <math.h>
55668 main ()
55670 hypotl(0, 0);
55672 return 0;
55674 _ACEOF
55675 rm -f conftest.$ac_objext
55676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55677 (eval $ac_compile) 2>conftest.er1
55678 ac_status=$?
55679 grep -v '^ *+' conftest.er1 >conftest.err
55680 rm -f conftest.er1
55681 cat conftest.err >&5
55682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55683 (exit $ac_status); } &&
55684 { ac_try='test -z "$ac_cxx_werror_flag"
55685 || test ! -s conftest.err'
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); }; } &&
55691 { ac_try='test -s conftest.$ac_objext'
55692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55693 (eval $ac_try) 2>&5
55694 ac_status=$?
55695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55696 (exit $ac_status); }; }; then
55697 glibcxx_cv_func_hypotl_use=yes
55698 else
55699 echo "$as_me: failed program was:" >&5
55700 sed 's/^/| /' conftest.$ac_ext >&5
55702 glibcxx_cv_func_hypotl_use=no
55704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55705 ac_ext=c
55706 ac_cpp='$CPP $CPPFLAGS'
55707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55715 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
55716 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
55718 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55720 for ac_func in hypotl
55722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55723 echo "$as_me:$LINENO: checking for $ac_func" >&5
55724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55725 if eval "test \"\${$as_ac_var+set}\" = set"; then
55726 echo $ECHO_N "(cached) $ECHO_C" >&6
55727 else
55728 if test x$gcc_no_link = xyes; then
55729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55731 { (exit 1); exit 1; }; }
55733 cat >conftest.$ac_ext <<_ACEOF
55734 /* confdefs.h. */
55735 _ACEOF
55736 cat confdefs.h >>conftest.$ac_ext
55737 cat >>conftest.$ac_ext <<_ACEOF
55738 /* end confdefs.h. */
55739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55741 #define $ac_func innocuous_$ac_func
55743 /* System header to define __stub macros and hopefully few prototypes,
55744 which can conflict with char $ac_func (); below.
55745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55746 <limits.h> exists even on freestanding compilers. */
55748 #ifdef __STDC__
55749 # include <limits.h>
55750 #else
55751 # include <assert.h>
55752 #endif
55754 #undef $ac_func
55756 /* Override any gcc2 internal prototype to avoid an error. */
55757 #ifdef __cplusplus
55758 extern "C"
55760 #endif
55761 /* We use char because int might match the return type of a gcc2
55762 builtin and then its argument prototype would still apply. */
55763 char $ac_func ();
55764 /* The GNU C library defines this for functions which it implements
55765 to always fail with ENOSYS. Some functions are actually named
55766 something starting with __ and the normal name is an alias. */
55767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55768 choke me
55769 #else
55770 char (*f) () = $ac_func;
55771 #endif
55772 #ifdef __cplusplus
55774 #endif
55777 main ()
55779 return f != $ac_func;
55781 return 0;
55783 _ACEOF
55784 rm -f conftest.$ac_objext conftest$ac_exeext
55785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55786 (eval $ac_link) 2>conftest.er1
55787 ac_status=$?
55788 grep -v '^ *+' conftest.er1 >conftest.err
55789 rm -f conftest.er1
55790 cat conftest.err >&5
55791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55792 (exit $ac_status); } &&
55793 { ac_try='test -z "$ac_c_werror_flag"
55794 || test ! -s conftest.err'
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); }; } &&
55800 { ac_try='test -s conftest$ac_exeext'
55801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55802 (eval $ac_try) 2>&5
55803 ac_status=$?
55804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55805 (exit $ac_status); }; }; then
55806 eval "$as_ac_var=yes"
55807 else
55808 echo "$as_me: failed program was:" >&5
55809 sed 's/^/| /' conftest.$ac_ext >&5
55811 eval "$as_ac_var=no"
55813 rm -f conftest.err conftest.$ac_objext \
55814 conftest$ac_exeext conftest.$ac_ext
55816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55818 if test `eval echo '${'$as_ac_var'}'` = yes; then
55819 cat >>confdefs.h <<_ACEOF
55820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55821 _ACEOF
55824 done
55826 else
55828 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
55829 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
55830 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55831 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
55832 echo $ECHO_N "(cached) $ECHO_C" >&6
55833 else
55837 ac_ext=cc
55838 ac_cpp='$CXXCPP $CPPFLAGS'
55839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55843 cat >conftest.$ac_ext <<_ACEOF
55844 /* confdefs.h. */
55845 _ACEOF
55846 cat confdefs.h >>conftest.$ac_ext
55847 cat >>conftest.$ac_ext <<_ACEOF
55848 /* end confdefs.h. */
55849 #include <math.h>
55851 main ()
55853 _hypotl(0, 0);
55855 return 0;
55857 _ACEOF
55858 rm -f conftest.$ac_objext
55859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55860 (eval $ac_compile) 2>conftest.er1
55861 ac_status=$?
55862 grep -v '^ *+' conftest.er1 >conftest.err
55863 rm -f conftest.er1
55864 cat conftest.err >&5
55865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55866 (exit $ac_status); } &&
55867 { ac_try='test -z "$ac_cxx_werror_flag"
55868 || test ! -s conftest.err'
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); }; } &&
55874 { ac_try='test -s conftest.$ac_objext'
55875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55876 (eval $ac_try) 2>&5
55877 ac_status=$?
55878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55879 (exit $ac_status); }; }; then
55880 glibcxx_cv_func__hypotl_use=yes
55881 else
55882 echo "$as_me: failed program was:" >&5
55883 sed 's/^/| /' conftest.$ac_ext >&5
55885 glibcxx_cv_func__hypotl_use=no
55887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55888 ac_ext=c
55889 ac_cpp='$CPP $CPPFLAGS'
55890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55898 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
55899 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
55901 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55903 for ac_func in _hypotl
55905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55906 echo "$as_me:$LINENO: checking for $ac_func" >&5
55907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55908 if eval "test \"\${$as_ac_var+set}\" = set"; then
55909 echo $ECHO_N "(cached) $ECHO_C" >&6
55910 else
55911 if test x$gcc_no_link = xyes; then
55912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55914 { (exit 1); exit 1; }; }
55916 cat >conftest.$ac_ext <<_ACEOF
55917 /* confdefs.h. */
55918 _ACEOF
55919 cat confdefs.h >>conftest.$ac_ext
55920 cat >>conftest.$ac_ext <<_ACEOF
55921 /* end confdefs.h. */
55922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55924 #define $ac_func innocuous_$ac_func
55926 /* System header to define __stub macros and hopefully few prototypes,
55927 which can conflict with char $ac_func (); below.
55928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55929 <limits.h> exists even on freestanding compilers. */
55931 #ifdef __STDC__
55932 # include <limits.h>
55933 #else
55934 # include <assert.h>
55935 #endif
55937 #undef $ac_func
55939 /* Override any gcc2 internal prototype to avoid an error. */
55940 #ifdef __cplusplus
55941 extern "C"
55943 #endif
55944 /* We use char because int might match the return type of a gcc2
55945 builtin and then its argument prototype would still apply. */
55946 char $ac_func ();
55947 /* The GNU C library defines this for functions which it implements
55948 to always fail with ENOSYS. Some functions are actually named
55949 something starting with __ and the normal name is an alias. */
55950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55951 choke me
55952 #else
55953 char (*f) () = $ac_func;
55954 #endif
55955 #ifdef __cplusplus
55957 #endif
55960 main ()
55962 return f != $ac_func;
55964 return 0;
55966 _ACEOF
55967 rm -f conftest.$ac_objext conftest$ac_exeext
55968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55969 (eval $ac_link) 2>conftest.er1
55970 ac_status=$?
55971 grep -v '^ *+' conftest.er1 >conftest.err
55972 rm -f conftest.er1
55973 cat conftest.err >&5
55974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55975 (exit $ac_status); } &&
55976 { ac_try='test -z "$ac_c_werror_flag"
55977 || test ! -s conftest.err'
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); }; } &&
55983 { ac_try='test -s conftest$ac_exeext'
55984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55985 (eval $ac_try) 2>&5
55986 ac_status=$?
55987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55988 (exit $ac_status); }; }; then
55989 eval "$as_ac_var=yes"
55990 else
55991 echo "$as_me: failed program was:" >&5
55992 sed 's/^/| /' conftest.$ac_ext >&5
55994 eval "$as_ac_var=no"
55996 rm -f conftest.err conftest.$ac_objext \
55997 conftest$ac_exeext conftest.$ac_ext
55999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56001 if test `eval echo '${'$as_ac_var'}'` = yes; then
56002 cat >>confdefs.h <<_ACEOF
56003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56004 _ACEOF
56007 done
56017 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
56018 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
56019 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56020 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
56021 echo $ECHO_N "(cached) $ECHO_C" >&6
56022 else
56026 ac_ext=cc
56027 ac_cpp='$CXXCPP $CPPFLAGS'
56028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56032 cat >conftest.$ac_ext <<_ACEOF
56033 /* confdefs.h. */
56034 _ACEOF
56035 cat confdefs.h >>conftest.$ac_ext
56036 cat >>conftest.$ac_ext <<_ACEOF
56037 /* end confdefs.h. */
56038 #include <math.h>
56040 main ()
56042 ldexpl(0, 0);
56044 return 0;
56046 _ACEOF
56047 rm -f conftest.$ac_objext
56048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56049 (eval $ac_compile) 2>conftest.er1
56050 ac_status=$?
56051 grep -v '^ *+' conftest.er1 >conftest.err
56052 rm -f conftest.er1
56053 cat conftest.err >&5
56054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56055 (exit $ac_status); } &&
56056 { ac_try='test -z "$ac_cxx_werror_flag"
56057 || test ! -s conftest.err'
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); }; } &&
56063 { ac_try='test -s conftest.$ac_objext'
56064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56065 (eval $ac_try) 2>&5
56066 ac_status=$?
56067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56068 (exit $ac_status); }; }; then
56069 glibcxx_cv_func_ldexpl_use=yes
56070 else
56071 echo "$as_me: failed program was:" >&5
56072 sed 's/^/| /' conftest.$ac_ext >&5
56074 glibcxx_cv_func_ldexpl_use=no
56076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56077 ac_ext=c
56078 ac_cpp='$CPP $CPPFLAGS'
56079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56087 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
56088 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
56090 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56092 for ac_func in ldexpl
56094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56095 echo "$as_me:$LINENO: checking for $ac_func" >&5
56096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56097 if eval "test \"\${$as_ac_var+set}\" = set"; then
56098 echo $ECHO_N "(cached) $ECHO_C" >&6
56099 else
56100 if test x$gcc_no_link = xyes; then
56101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56103 { (exit 1); exit 1; }; }
56105 cat >conftest.$ac_ext <<_ACEOF
56106 /* confdefs.h. */
56107 _ACEOF
56108 cat confdefs.h >>conftest.$ac_ext
56109 cat >>conftest.$ac_ext <<_ACEOF
56110 /* end confdefs.h. */
56111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56113 #define $ac_func innocuous_$ac_func
56115 /* System header to define __stub macros and hopefully few prototypes,
56116 which can conflict with char $ac_func (); below.
56117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56118 <limits.h> exists even on freestanding compilers. */
56120 #ifdef __STDC__
56121 # include <limits.h>
56122 #else
56123 # include <assert.h>
56124 #endif
56126 #undef $ac_func
56128 /* Override any gcc2 internal prototype to avoid an error. */
56129 #ifdef __cplusplus
56130 extern "C"
56132 #endif
56133 /* We use char because int might match the return type of a gcc2
56134 builtin and then its argument prototype would still apply. */
56135 char $ac_func ();
56136 /* The GNU C library defines this for functions which it implements
56137 to always fail with ENOSYS. Some functions are actually named
56138 something starting with __ and the normal name is an alias. */
56139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56140 choke me
56141 #else
56142 char (*f) () = $ac_func;
56143 #endif
56144 #ifdef __cplusplus
56146 #endif
56149 main ()
56151 return f != $ac_func;
56153 return 0;
56155 _ACEOF
56156 rm -f conftest.$ac_objext conftest$ac_exeext
56157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56158 (eval $ac_link) 2>conftest.er1
56159 ac_status=$?
56160 grep -v '^ *+' conftest.er1 >conftest.err
56161 rm -f conftest.er1
56162 cat conftest.err >&5
56163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56164 (exit $ac_status); } &&
56165 { ac_try='test -z "$ac_c_werror_flag"
56166 || test ! -s conftest.err'
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); }; } &&
56172 { ac_try='test -s conftest$ac_exeext'
56173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56174 (eval $ac_try) 2>&5
56175 ac_status=$?
56176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56177 (exit $ac_status); }; }; then
56178 eval "$as_ac_var=yes"
56179 else
56180 echo "$as_me: failed program was:" >&5
56181 sed 's/^/| /' conftest.$ac_ext >&5
56183 eval "$as_ac_var=no"
56185 rm -f conftest.err conftest.$ac_objext \
56186 conftest$ac_exeext conftest.$ac_ext
56188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56190 if test `eval echo '${'$as_ac_var'}'` = yes; then
56191 cat >>confdefs.h <<_ACEOF
56192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56193 _ACEOF
56196 done
56198 else
56200 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
56201 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
56202 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56203 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
56204 echo $ECHO_N "(cached) $ECHO_C" >&6
56205 else
56209 ac_ext=cc
56210 ac_cpp='$CXXCPP $CPPFLAGS'
56211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56215 cat >conftest.$ac_ext <<_ACEOF
56216 /* confdefs.h. */
56217 _ACEOF
56218 cat confdefs.h >>conftest.$ac_ext
56219 cat >>conftest.$ac_ext <<_ACEOF
56220 /* end confdefs.h. */
56221 #include <math.h>
56223 main ()
56225 _ldexpl(0, 0);
56227 return 0;
56229 _ACEOF
56230 rm -f conftest.$ac_objext
56231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56232 (eval $ac_compile) 2>conftest.er1
56233 ac_status=$?
56234 grep -v '^ *+' conftest.er1 >conftest.err
56235 rm -f conftest.er1
56236 cat conftest.err >&5
56237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56238 (exit $ac_status); } &&
56239 { ac_try='test -z "$ac_cxx_werror_flag"
56240 || test ! -s conftest.err'
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); }; } &&
56246 { ac_try='test -s conftest.$ac_objext'
56247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56248 (eval $ac_try) 2>&5
56249 ac_status=$?
56250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56251 (exit $ac_status); }; }; then
56252 glibcxx_cv_func__ldexpl_use=yes
56253 else
56254 echo "$as_me: failed program was:" >&5
56255 sed 's/^/| /' conftest.$ac_ext >&5
56257 glibcxx_cv_func__ldexpl_use=no
56259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56260 ac_ext=c
56261 ac_cpp='$CPP $CPPFLAGS'
56262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56270 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
56271 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
56273 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56275 for ac_func in _ldexpl
56277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56278 echo "$as_me:$LINENO: checking for $ac_func" >&5
56279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56280 if eval "test \"\${$as_ac_var+set}\" = set"; then
56281 echo $ECHO_N "(cached) $ECHO_C" >&6
56282 else
56283 if test x$gcc_no_link = xyes; then
56284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56286 { (exit 1); exit 1; }; }
56288 cat >conftest.$ac_ext <<_ACEOF
56289 /* confdefs.h. */
56290 _ACEOF
56291 cat confdefs.h >>conftest.$ac_ext
56292 cat >>conftest.$ac_ext <<_ACEOF
56293 /* end confdefs.h. */
56294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56296 #define $ac_func innocuous_$ac_func
56298 /* System header to define __stub macros and hopefully few prototypes,
56299 which can conflict with char $ac_func (); below.
56300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56301 <limits.h> exists even on freestanding compilers. */
56303 #ifdef __STDC__
56304 # include <limits.h>
56305 #else
56306 # include <assert.h>
56307 #endif
56309 #undef $ac_func
56311 /* Override any gcc2 internal prototype to avoid an error. */
56312 #ifdef __cplusplus
56313 extern "C"
56315 #endif
56316 /* We use char because int might match the return type of a gcc2
56317 builtin and then its argument prototype would still apply. */
56318 char $ac_func ();
56319 /* The GNU C library defines this for functions which it implements
56320 to always fail with ENOSYS. Some functions are actually named
56321 something starting with __ and the normal name is an alias. */
56322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56323 choke me
56324 #else
56325 char (*f) () = $ac_func;
56326 #endif
56327 #ifdef __cplusplus
56329 #endif
56332 main ()
56334 return f != $ac_func;
56336 return 0;
56338 _ACEOF
56339 rm -f conftest.$ac_objext conftest$ac_exeext
56340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56341 (eval $ac_link) 2>conftest.er1
56342 ac_status=$?
56343 grep -v '^ *+' conftest.er1 >conftest.err
56344 rm -f conftest.er1
56345 cat conftest.err >&5
56346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56347 (exit $ac_status); } &&
56348 { ac_try='test -z "$ac_c_werror_flag"
56349 || test ! -s conftest.err'
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); }; } &&
56355 { ac_try='test -s conftest$ac_exeext'
56356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56357 (eval $ac_try) 2>&5
56358 ac_status=$?
56359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56360 (exit $ac_status); }; }; then
56361 eval "$as_ac_var=yes"
56362 else
56363 echo "$as_me: failed program was:" >&5
56364 sed 's/^/| /' conftest.$ac_ext >&5
56366 eval "$as_ac_var=no"
56368 rm -f conftest.err conftest.$ac_objext \
56369 conftest$ac_exeext conftest.$ac_ext
56371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56373 if test `eval echo '${'$as_ac_var'}'` = yes; then
56374 cat >>confdefs.h <<_ACEOF
56375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56376 _ACEOF
56379 done
56389 echo "$as_me:$LINENO: checking for logl declaration" >&5
56390 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
56391 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56392 if test "${glibcxx_cv_func_logl_use+set}" = set; then
56393 echo $ECHO_N "(cached) $ECHO_C" >&6
56394 else
56398 ac_ext=cc
56399 ac_cpp='$CXXCPP $CPPFLAGS'
56400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56404 cat >conftest.$ac_ext <<_ACEOF
56405 /* confdefs.h. */
56406 _ACEOF
56407 cat confdefs.h >>conftest.$ac_ext
56408 cat >>conftest.$ac_ext <<_ACEOF
56409 /* end confdefs.h. */
56410 #include <math.h>
56411 #ifdef HAVE_IEEEFP_H
56412 #include <ieeefp.h>
56413 #endif
56416 main ()
56418 logl(0);
56420 return 0;
56422 _ACEOF
56423 rm -f conftest.$ac_objext
56424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56425 (eval $ac_compile) 2>conftest.er1
56426 ac_status=$?
56427 grep -v '^ *+' conftest.er1 >conftest.err
56428 rm -f conftest.er1
56429 cat conftest.err >&5
56430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56431 (exit $ac_status); } &&
56432 { ac_try='test -z "$ac_cxx_werror_flag"
56433 || test ! -s conftest.err'
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); }; } &&
56439 { ac_try='test -s conftest.$ac_objext'
56440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56441 (eval $ac_try) 2>&5
56442 ac_status=$?
56443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56444 (exit $ac_status); }; }; then
56445 glibcxx_cv_func_logl_use=yes
56446 else
56447 echo "$as_me: failed program was:" >&5
56448 sed 's/^/| /' conftest.$ac_ext >&5
56450 glibcxx_cv_func_logl_use=no
56452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56453 ac_ext=c
56454 ac_cpp='$CPP $CPPFLAGS'
56455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56463 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
56464 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
56466 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56468 for ac_func in logl
56470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56471 echo "$as_me:$LINENO: checking for $ac_func" >&5
56472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56473 if eval "test \"\${$as_ac_var+set}\" = set"; then
56474 echo $ECHO_N "(cached) $ECHO_C" >&6
56475 else
56476 if test x$gcc_no_link = xyes; then
56477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56479 { (exit 1); exit 1; }; }
56481 cat >conftest.$ac_ext <<_ACEOF
56482 /* confdefs.h. */
56483 _ACEOF
56484 cat confdefs.h >>conftest.$ac_ext
56485 cat >>conftest.$ac_ext <<_ACEOF
56486 /* end confdefs.h. */
56487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56489 #define $ac_func innocuous_$ac_func
56491 /* System header to define __stub macros and hopefully few prototypes,
56492 which can conflict with char $ac_func (); below.
56493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56494 <limits.h> exists even on freestanding compilers. */
56496 #ifdef __STDC__
56497 # include <limits.h>
56498 #else
56499 # include <assert.h>
56500 #endif
56502 #undef $ac_func
56504 /* Override any gcc2 internal prototype to avoid an error. */
56505 #ifdef __cplusplus
56506 extern "C"
56508 #endif
56509 /* We use char because int might match the return type of a gcc2
56510 builtin and then its argument prototype would still apply. */
56511 char $ac_func ();
56512 /* The GNU C library defines this for functions which it implements
56513 to always fail with ENOSYS. Some functions are actually named
56514 something starting with __ and the normal name is an alias. */
56515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56516 choke me
56517 #else
56518 char (*f) () = $ac_func;
56519 #endif
56520 #ifdef __cplusplus
56522 #endif
56525 main ()
56527 return f != $ac_func;
56529 return 0;
56531 _ACEOF
56532 rm -f conftest.$ac_objext conftest$ac_exeext
56533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56534 (eval $ac_link) 2>conftest.er1
56535 ac_status=$?
56536 grep -v '^ *+' conftest.er1 >conftest.err
56537 rm -f conftest.er1
56538 cat conftest.err >&5
56539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56540 (exit $ac_status); } &&
56541 { ac_try='test -z "$ac_c_werror_flag"
56542 || test ! -s conftest.err'
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); }; } &&
56548 { ac_try='test -s conftest$ac_exeext'
56549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56550 (eval $ac_try) 2>&5
56551 ac_status=$?
56552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56553 (exit $ac_status); }; }; then
56554 eval "$as_ac_var=yes"
56555 else
56556 echo "$as_me: failed program was:" >&5
56557 sed 's/^/| /' conftest.$ac_ext >&5
56559 eval "$as_ac_var=no"
56561 rm -f conftest.err conftest.$ac_objext \
56562 conftest$ac_exeext conftest.$ac_ext
56564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56566 if test `eval echo '${'$as_ac_var'}'` = yes; then
56567 cat >>confdefs.h <<_ACEOF
56568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56569 _ACEOF
56572 done
56574 else
56576 echo "$as_me:$LINENO: checking for _logl declaration" >&5
56577 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
56578 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56579 if test "${glibcxx_cv_func__logl_use+set}" = set; then
56580 echo $ECHO_N "(cached) $ECHO_C" >&6
56581 else
56585 ac_ext=cc
56586 ac_cpp='$CXXCPP $CPPFLAGS'
56587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56591 cat >conftest.$ac_ext <<_ACEOF
56592 /* confdefs.h. */
56593 _ACEOF
56594 cat confdefs.h >>conftest.$ac_ext
56595 cat >>conftest.$ac_ext <<_ACEOF
56596 /* end confdefs.h. */
56597 #include <math.h>
56598 #ifdef HAVE_IEEEFP_H
56599 #include <ieeefp.h>
56600 #endif
56603 main ()
56605 _logl(0);
56607 return 0;
56609 _ACEOF
56610 rm -f conftest.$ac_objext
56611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56612 (eval $ac_compile) 2>conftest.er1
56613 ac_status=$?
56614 grep -v '^ *+' conftest.er1 >conftest.err
56615 rm -f conftest.er1
56616 cat conftest.err >&5
56617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56618 (exit $ac_status); } &&
56619 { ac_try='test -z "$ac_cxx_werror_flag"
56620 || test ! -s conftest.err'
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); }; } &&
56626 { ac_try='test -s conftest.$ac_objext'
56627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56628 (eval $ac_try) 2>&5
56629 ac_status=$?
56630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56631 (exit $ac_status); }; }; then
56632 glibcxx_cv_func__logl_use=yes
56633 else
56634 echo "$as_me: failed program was:" >&5
56635 sed 's/^/| /' conftest.$ac_ext >&5
56637 glibcxx_cv_func__logl_use=no
56639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56640 ac_ext=c
56641 ac_cpp='$CPP $CPPFLAGS'
56642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
56651 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
56653 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56655 for ac_func in _logl
56657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56658 echo "$as_me:$LINENO: checking for $ac_func" >&5
56659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56660 if eval "test \"\${$as_ac_var+set}\" = set"; then
56661 echo $ECHO_N "(cached) $ECHO_C" >&6
56662 else
56663 if test x$gcc_no_link = xyes; then
56664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56666 { (exit 1); exit 1; }; }
56668 cat >conftest.$ac_ext <<_ACEOF
56669 /* confdefs.h. */
56670 _ACEOF
56671 cat confdefs.h >>conftest.$ac_ext
56672 cat >>conftest.$ac_ext <<_ACEOF
56673 /* end confdefs.h. */
56674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56676 #define $ac_func innocuous_$ac_func
56678 /* System header to define __stub macros and hopefully few prototypes,
56679 which can conflict with char $ac_func (); below.
56680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56681 <limits.h> exists even on freestanding compilers. */
56683 #ifdef __STDC__
56684 # include <limits.h>
56685 #else
56686 # include <assert.h>
56687 #endif
56689 #undef $ac_func
56691 /* Override any gcc2 internal prototype to avoid an error. */
56692 #ifdef __cplusplus
56693 extern "C"
56695 #endif
56696 /* We use char because int might match the return type of a gcc2
56697 builtin and then its argument prototype would still apply. */
56698 char $ac_func ();
56699 /* The GNU C library defines this for functions which it implements
56700 to always fail with ENOSYS. Some functions are actually named
56701 something starting with __ and the normal name is an alias. */
56702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56703 choke me
56704 #else
56705 char (*f) () = $ac_func;
56706 #endif
56707 #ifdef __cplusplus
56709 #endif
56712 main ()
56714 return f != $ac_func;
56716 return 0;
56718 _ACEOF
56719 rm -f conftest.$ac_objext conftest$ac_exeext
56720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56721 (eval $ac_link) 2>conftest.er1
56722 ac_status=$?
56723 grep -v '^ *+' conftest.er1 >conftest.err
56724 rm -f conftest.er1
56725 cat conftest.err >&5
56726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56727 (exit $ac_status); } &&
56728 { ac_try='test -z "$ac_c_werror_flag"
56729 || test ! -s conftest.err'
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); }; } &&
56735 { ac_try='test -s conftest$ac_exeext'
56736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56737 (eval $ac_try) 2>&5
56738 ac_status=$?
56739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56740 (exit $ac_status); }; }; then
56741 eval "$as_ac_var=yes"
56742 else
56743 echo "$as_me: failed program was:" >&5
56744 sed 's/^/| /' conftest.$ac_ext >&5
56746 eval "$as_ac_var=no"
56748 rm -f conftest.err conftest.$ac_objext \
56749 conftest$ac_exeext conftest.$ac_ext
56751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56753 if test `eval echo '${'$as_ac_var'}'` = yes; then
56754 cat >>confdefs.h <<_ACEOF
56755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56756 _ACEOF
56759 done
56769 echo "$as_me:$LINENO: checking for log10l declaration" >&5
56770 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
56771 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56772 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
56773 echo $ECHO_N "(cached) $ECHO_C" >&6
56774 else
56778 ac_ext=cc
56779 ac_cpp='$CXXCPP $CPPFLAGS'
56780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56784 cat >conftest.$ac_ext <<_ACEOF
56785 /* confdefs.h. */
56786 _ACEOF
56787 cat confdefs.h >>conftest.$ac_ext
56788 cat >>conftest.$ac_ext <<_ACEOF
56789 /* end confdefs.h. */
56790 #include <math.h>
56791 #ifdef HAVE_IEEEFP_H
56792 #include <ieeefp.h>
56793 #endif
56796 main ()
56798 log10l(0);
56800 return 0;
56802 _ACEOF
56803 rm -f conftest.$ac_objext
56804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56805 (eval $ac_compile) 2>conftest.er1
56806 ac_status=$?
56807 grep -v '^ *+' conftest.er1 >conftest.err
56808 rm -f conftest.er1
56809 cat conftest.err >&5
56810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56811 (exit $ac_status); } &&
56812 { ac_try='test -z "$ac_cxx_werror_flag"
56813 || test ! -s conftest.err'
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); }; } &&
56819 { ac_try='test -s conftest.$ac_objext'
56820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56821 (eval $ac_try) 2>&5
56822 ac_status=$?
56823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56824 (exit $ac_status); }; }; then
56825 glibcxx_cv_func_log10l_use=yes
56826 else
56827 echo "$as_me: failed program was:" >&5
56828 sed 's/^/| /' conftest.$ac_ext >&5
56830 glibcxx_cv_func_log10l_use=no
56832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56833 ac_ext=c
56834 ac_cpp='$CPP $CPPFLAGS'
56835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56843 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
56844 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
56846 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56848 for ac_func in log10l
56850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56851 echo "$as_me:$LINENO: checking for $ac_func" >&5
56852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56853 if eval "test \"\${$as_ac_var+set}\" = set"; then
56854 echo $ECHO_N "(cached) $ECHO_C" >&6
56855 else
56856 if test x$gcc_no_link = xyes; then
56857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56859 { (exit 1); exit 1; }; }
56861 cat >conftest.$ac_ext <<_ACEOF
56862 /* confdefs.h. */
56863 _ACEOF
56864 cat confdefs.h >>conftest.$ac_ext
56865 cat >>conftest.$ac_ext <<_ACEOF
56866 /* end confdefs.h. */
56867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56869 #define $ac_func innocuous_$ac_func
56871 /* System header to define __stub macros and hopefully few prototypes,
56872 which can conflict with char $ac_func (); below.
56873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56874 <limits.h> exists even on freestanding compilers. */
56876 #ifdef __STDC__
56877 # include <limits.h>
56878 #else
56879 # include <assert.h>
56880 #endif
56882 #undef $ac_func
56884 /* Override any gcc2 internal prototype to avoid an error. */
56885 #ifdef __cplusplus
56886 extern "C"
56888 #endif
56889 /* We use char because int might match the return type of a gcc2
56890 builtin and then its argument prototype would still apply. */
56891 char $ac_func ();
56892 /* The GNU C library defines this for functions which it implements
56893 to always fail with ENOSYS. Some functions are actually named
56894 something starting with __ and the normal name is an alias. */
56895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56896 choke me
56897 #else
56898 char (*f) () = $ac_func;
56899 #endif
56900 #ifdef __cplusplus
56902 #endif
56905 main ()
56907 return f != $ac_func;
56909 return 0;
56911 _ACEOF
56912 rm -f conftest.$ac_objext conftest$ac_exeext
56913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56914 (eval $ac_link) 2>conftest.er1
56915 ac_status=$?
56916 grep -v '^ *+' conftest.er1 >conftest.err
56917 rm -f conftest.er1
56918 cat conftest.err >&5
56919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56920 (exit $ac_status); } &&
56921 { ac_try='test -z "$ac_c_werror_flag"
56922 || test ! -s conftest.err'
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); }; } &&
56928 { ac_try='test -s conftest$ac_exeext'
56929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56930 (eval $ac_try) 2>&5
56931 ac_status=$?
56932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56933 (exit $ac_status); }; }; then
56934 eval "$as_ac_var=yes"
56935 else
56936 echo "$as_me: failed program was:" >&5
56937 sed 's/^/| /' conftest.$ac_ext >&5
56939 eval "$as_ac_var=no"
56941 rm -f conftest.err conftest.$ac_objext \
56942 conftest$ac_exeext conftest.$ac_ext
56944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56946 if test `eval echo '${'$as_ac_var'}'` = yes; then
56947 cat >>confdefs.h <<_ACEOF
56948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56949 _ACEOF
56952 done
56954 else
56956 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
56957 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
56958 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56959 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
56960 echo $ECHO_N "(cached) $ECHO_C" >&6
56961 else
56965 ac_ext=cc
56966 ac_cpp='$CXXCPP $CPPFLAGS'
56967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56971 cat >conftest.$ac_ext <<_ACEOF
56972 /* confdefs.h. */
56973 _ACEOF
56974 cat confdefs.h >>conftest.$ac_ext
56975 cat >>conftest.$ac_ext <<_ACEOF
56976 /* end confdefs.h. */
56977 #include <math.h>
56978 #ifdef HAVE_IEEEFP_H
56979 #include <ieeefp.h>
56980 #endif
56983 main ()
56985 _log10l(0);
56987 return 0;
56989 _ACEOF
56990 rm -f conftest.$ac_objext
56991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56992 (eval $ac_compile) 2>conftest.er1
56993 ac_status=$?
56994 grep -v '^ *+' conftest.er1 >conftest.err
56995 rm -f conftest.er1
56996 cat conftest.err >&5
56997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56998 (exit $ac_status); } &&
56999 { ac_try='test -z "$ac_cxx_werror_flag"
57000 || test ! -s conftest.err'
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); }; } &&
57006 { ac_try='test -s conftest.$ac_objext'
57007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57008 (eval $ac_try) 2>&5
57009 ac_status=$?
57010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57011 (exit $ac_status); }; }; then
57012 glibcxx_cv_func__log10l_use=yes
57013 else
57014 echo "$as_me: failed program was:" >&5
57015 sed 's/^/| /' conftest.$ac_ext >&5
57017 glibcxx_cv_func__log10l_use=no
57019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57020 ac_ext=c
57021 ac_cpp='$CPP $CPPFLAGS'
57022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
57031 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
57033 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57035 for ac_func in _log10l
57037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57038 echo "$as_me:$LINENO: checking for $ac_func" >&5
57039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57040 if eval "test \"\${$as_ac_var+set}\" = set"; then
57041 echo $ECHO_N "(cached) $ECHO_C" >&6
57042 else
57043 if test x$gcc_no_link = xyes; then
57044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57046 { (exit 1); exit 1; }; }
57048 cat >conftest.$ac_ext <<_ACEOF
57049 /* confdefs.h. */
57050 _ACEOF
57051 cat confdefs.h >>conftest.$ac_ext
57052 cat >>conftest.$ac_ext <<_ACEOF
57053 /* end confdefs.h. */
57054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57056 #define $ac_func innocuous_$ac_func
57058 /* System header to define __stub macros and hopefully few prototypes,
57059 which can conflict with char $ac_func (); below.
57060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57061 <limits.h> exists even on freestanding compilers. */
57063 #ifdef __STDC__
57064 # include <limits.h>
57065 #else
57066 # include <assert.h>
57067 #endif
57069 #undef $ac_func
57071 /* Override any gcc2 internal prototype to avoid an error. */
57072 #ifdef __cplusplus
57073 extern "C"
57075 #endif
57076 /* We use char because int might match the return type of a gcc2
57077 builtin and then its argument prototype would still apply. */
57078 char $ac_func ();
57079 /* The GNU C library defines this for functions which it implements
57080 to always fail with ENOSYS. Some functions are actually named
57081 something starting with __ and the normal name is an alias. */
57082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57083 choke me
57084 #else
57085 char (*f) () = $ac_func;
57086 #endif
57087 #ifdef __cplusplus
57089 #endif
57092 main ()
57094 return f != $ac_func;
57096 return 0;
57098 _ACEOF
57099 rm -f conftest.$ac_objext conftest$ac_exeext
57100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57101 (eval $ac_link) 2>conftest.er1
57102 ac_status=$?
57103 grep -v '^ *+' conftest.er1 >conftest.err
57104 rm -f conftest.er1
57105 cat conftest.err >&5
57106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57107 (exit $ac_status); } &&
57108 { ac_try='test -z "$ac_c_werror_flag"
57109 || test ! -s conftest.err'
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); }; } &&
57115 { ac_try='test -s conftest$ac_exeext'
57116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57117 (eval $ac_try) 2>&5
57118 ac_status=$?
57119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57120 (exit $ac_status); }; }; then
57121 eval "$as_ac_var=yes"
57122 else
57123 echo "$as_me: failed program was:" >&5
57124 sed 's/^/| /' conftest.$ac_ext >&5
57126 eval "$as_ac_var=no"
57128 rm -f conftest.err conftest.$ac_objext \
57129 conftest$ac_exeext conftest.$ac_ext
57131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57133 if test `eval echo '${'$as_ac_var'}'` = yes; then
57134 cat >>confdefs.h <<_ACEOF
57135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57136 _ACEOF
57139 done
57149 echo "$as_me:$LINENO: checking for modfl declaration" >&5
57150 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
57151 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57152 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
57153 echo $ECHO_N "(cached) $ECHO_C" >&6
57154 else
57158 ac_ext=cc
57159 ac_cpp='$CXXCPP $CPPFLAGS'
57160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57164 cat >conftest.$ac_ext <<_ACEOF
57165 /* confdefs.h. */
57166 _ACEOF
57167 cat confdefs.h >>conftest.$ac_ext
57168 cat >>conftest.$ac_ext <<_ACEOF
57169 /* end confdefs.h. */
57170 #include <math.h>
57172 main ()
57174 modfl(0, 0);
57176 return 0;
57178 _ACEOF
57179 rm -f conftest.$ac_objext
57180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57181 (eval $ac_compile) 2>conftest.er1
57182 ac_status=$?
57183 grep -v '^ *+' conftest.er1 >conftest.err
57184 rm -f conftest.er1
57185 cat conftest.err >&5
57186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57187 (exit $ac_status); } &&
57188 { ac_try='test -z "$ac_cxx_werror_flag"
57189 || test ! -s conftest.err'
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); }; } &&
57195 { ac_try='test -s conftest.$ac_objext'
57196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57197 (eval $ac_try) 2>&5
57198 ac_status=$?
57199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57200 (exit $ac_status); }; }; then
57201 glibcxx_cv_func_modfl_use=yes
57202 else
57203 echo "$as_me: failed program was:" >&5
57204 sed 's/^/| /' conftest.$ac_ext >&5
57206 glibcxx_cv_func_modfl_use=no
57208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57209 ac_ext=c
57210 ac_cpp='$CPP $CPPFLAGS'
57211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57219 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
57220 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
57222 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57224 for ac_func in modfl
57226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57227 echo "$as_me:$LINENO: checking for $ac_func" >&5
57228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57229 if eval "test \"\${$as_ac_var+set}\" = set"; then
57230 echo $ECHO_N "(cached) $ECHO_C" >&6
57231 else
57232 if test x$gcc_no_link = xyes; then
57233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57235 { (exit 1); exit 1; }; }
57237 cat >conftest.$ac_ext <<_ACEOF
57238 /* confdefs.h. */
57239 _ACEOF
57240 cat confdefs.h >>conftest.$ac_ext
57241 cat >>conftest.$ac_ext <<_ACEOF
57242 /* end confdefs.h. */
57243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57245 #define $ac_func innocuous_$ac_func
57247 /* System header to define __stub macros and hopefully few prototypes,
57248 which can conflict with char $ac_func (); below.
57249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57250 <limits.h> exists even on freestanding compilers. */
57252 #ifdef __STDC__
57253 # include <limits.h>
57254 #else
57255 # include <assert.h>
57256 #endif
57258 #undef $ac_func
57260 /* Override any gcc2 internal prototype to avoid an error. */
57261 #ifdef __cplusplus
57262 extern "C"
57264 #endif
57265 /* We use char because int might match the return type of a gcc2
57266 builtin and then its argument prototype would still apply. */
57267 char $ac_func ();
57268 /* The GNU C library defines this for functions which it implements
57269 to always fail with ENOSYS. Some functions are actually named
57270 something starting with __ and the normal name is an alias. */
57271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57272 choke me
57273 #else
57274 char (*f) () = $ac_func;
57275 #endif
57276 #ifdef __cplusplus
57278 #endif
57281 main ()
57283 return f != $ac_func;
57285 return 0;
57287 _ACEOF
57288 rm -f conftest.$ac_objext conftest$ac_exeext
57289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57290 (eval $ac_link) 2>conftest.er1
57291 ac_status=$?
57292 grep -v '^ *+' conftest.er1 >conftest.err
57293 rm -f conftest.er1
57294 cat conftest.err >&5
57295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57296 (exit $ac_status); } &&
57297 { ac_try='test -z "$ac_c_werror_flag"
57298 || test ! -s conftest.err'
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); }; } &&
57304 { ac_try='test -s conftest$ac_exeext'
57305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57306 (eval $ac_try) 2>&5
57307 ac_status=$?
57308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57309 (exit $ac_status); }; }; then
57310 eval "$as_ac_var=yes"
57311 else
57312 echo "$as_me: failed program was:" >&5
57313 sed 's/^/| /' conftest.$ac_ext >&5
57315 eval "$as_ac_var=no"
57317 rm -f conftest.err conftest.$ac_objext \
57318 conftest$ac_exeext conftest.$ac_ext
57320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57322 if test `eval echo '${'$as_ac_var'}'` = yes; then
57323 cat >>confdefs.h <<_ACEOF
57324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57325 _ACEOF
57328 done
57330 else
57332 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
57333 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
57334 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57335 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
57336 echo $ECHO_N "(cached) $ECHO_C" >&6
57337 else
57341 ac_ext=cc
57342 ac_cpp='$CXXCPP $CPPFLAGS'
57343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57347 cat >conftest.$ac_ext <<_ACEOF
57348 /* confdefs.h. */
57349 _ACEOF
57350 cat confdefs.h >>conftest.$ac_ext
57351 cat >>conftest.$ac_ext <<_ACEOF
57352 /* end confdefs.h. */
57353 #include <math.h>
57355 main ()
57357 _modfl(0, 0);
57359 return 0;
57361 _ACEOF
57362 rm -f conftest.$ac_objext
57363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57364 (eval $ac_compile) 2>conftest.er1
57365 ac_status=$?
57366 grep -v '^ *+' conftest.er1 >conftest.err
57367 rm -f conftest.er1
57368 cat conftest.err >&5
57369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57370 (exit $ac_status); } &&
57371 { ac_try='test -z "$ac_cxx_werror_flag"
57372 || test ! -s conftest.err'
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); }; } &&
57378 { ac_try='test -s conftest.$ac_objext'
57379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57380 (eval $ac_try) 2>&5
57381 ac_status=$?
57382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57383 (exit $ac_status); }; }; then
57384 glibcxx_cv_func__modfl_use=yes
57385 else
57386 echo "$as_me: failed program was:" >&5
57387 sed 's/^/| /' conftest.$ac_ext >&5
57389 glibcxx_cv_func__modfl_use=no
57391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57392 ac_ext=c
57393 ac_cpp='$CPP $CPPFLAGS'
57394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
57403 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
57405 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57407 for ac_func in _modfl
57409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57410 echo "$as_me:$LINENO: checking for $ac_func" >&5
57411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57412 if eval "test \"\${$as_ac_var+set}\" = set"; then
57413 echo $ECHO_N "(cached) $ECHO_C" >&6
57414 else
57415 if test x$gcc_no_link = xyes; then
57416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57418 { (exit 1); exit 1; }; }
57420 cat >conftest.$ac_ext <<_ACEOF
57421 /* confdefs.h. */
57422 _ACEOF
57423 cat confdefs.h >>conftest.$ac_ext
57424 cat >>conftest.$ac_ext <<_ACEOF
57425 /* end confdefs.h. */
57426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57428 #define $ac_func innocuous_$ac_func
57430 /* System header to define __stub macros and hopefully few prototypes,
57431 which can conflict with char $ac_func (); below.
57432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57433 <limits.h> exists even on freestanding compilers. */
57435 #ifdef __STDC__
57436 # include <limits.h>
57437 #else
57438 # include <assert.h>
57439 #endif
57441 #undef $ac_func
57443 /* Override any gcc2 internal prototype to avoid an error. */
57444 #ifdef __cplusplus
57445 extern "C"
57447 #endif
57448 /* We use char because int might match the return type of a gcc2
57449 builtin and then its argument prototype would still apply. */
57450 char $ac_func ();
57451 /* The GNU C library defines this for functions which it implements
57452 to always fail with ENOSYS. Some functions are actually named
57453 something starting with __ and the normal name is an alias. */
57454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57455 choke me
57456 #else
57457 char (*f) () = $ac_func;
57458 #endif
57459 #ifdef __cplusplus
57461 #endif
57464 main ()
57466 return f != $ac_func;
57468 return 0;
57470 _ACEOF
57471 rm -f conftest.$ac_objext conftest$ac_exeext
57472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57473 (eval $ac_link) 2>conftest.er1
57474 ac_status=$?
57475 grep -v '^ *+' conftest.er1 >conftest.err
57476 rm -f conftest.er1
57477 cat conftest.err >&5
57478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57479 (exit $ac_status); } &&
57480 { ac_try='test -z "$ac_c_werror_flag"
57481 || test ! -s conftest.err'
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); }; } &&
57487 { ac_try='test -s conftest$ac_exeext'
57488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57489 (eval $ac_try) 2>&5
57490 ac_status=$?
57491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57492 (exit $ac_status); }; }; then
57493 eval "$as_ac_var=yes"
57494 else
57495 echo "$as_me: failed program was:" >&5
57496 sed 's/^/| /' conftest.$ac_ext >&5
57498 eval "$as_ac_var=no"
57500 rm -f conftest.err conftest.$ac_objext \
57501 conftest$ac_exeext conftest.$ac_ext
57503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57505 if test `eval echo '${'$as_ac_var'}'` = yes; then
57506 cat >>confdefs.h <<_ACEOF
57507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57508 _ACEOF
57511 done
57521 echo "$as_me:$LINENO: checking for powl declaration" >&5
57522 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
57523 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57524 if test "${glibcxx_cv_func_powl_use+set}" = set; then
57525 echo $ECHO_N "(cached) $ECHO_C" >&6
57526 else
57530 ac_ext=cc
57531 ac_cpp='$CXXCPP $CPPFLAGS'
57532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57536 cat >conftest.$ac_ext <<_ACEOF
57537 /* confdefs.h. */
57538 _ACEOF
57539 cat confdefs.h >>conftest.$ac_ext
57540 cat >>conftest.$ac_ext <<_ACEOF
57541 /* end confdefs.h. */
57542 #include <math.h>
57544 main ()
57546 powl(0, 0);
57548 return 0;
57550 _ACEOF
57551 rm -f conftest.$ac_objext
57552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57553 (eval $ac_compile) 2>conftest.er1
57554 ac_status=$?
57555 grep -v '^ *+' conftest.er1 >conftest.err
57556 rm -f conftest.er1
57557 cat conftest.err >&5
57558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57559 (exit $ac_status); } &&
57560 { ac_try='test -z "$ac_cxx_werror_flag"
57561 || test ! -s conftest.err'
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); }; } &&
57567 { ac_try='test -s conftest.$ac_objext'
57568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57569 (eval $ac_try) 2>&5
57570 ac_status=$?
57571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57572 (exit $ac_status); }; }; then
57573 glibcxx_cv_func_powl_use=yes
57574 else
57575 echo "$as_me: failed program was:" >&5
57576 sed 's/^/| /' conftest.$ac_ext >&5
57578 glibcxx_cv_func_powl_use=no
57580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57581 ac_ext=c
57582 ac_cpp='$CPP $CPPFLAGS'
57583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57591 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
57592 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
57594 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57596 for ac_func in powl
57598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57599 echo "$as_me:$LINENO: checking for $ac_func" >&5
57600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57601 if eval "test \"\${$as_ac_var+set}\" = set"; then
57602 echo $ECHO_N "(cached) $ECHO_C" >&6
57603 else
57604 if test x$gcc_no_link = xyes; then
57605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57607 { (exit 1); exit 1; }; }
57609 cat >conftest.$ac_ext <<_ACEOF
57610 /* confdefs.h. */
57611 _ACEOF
57612 cat confdefs.h >>conftest.$ac_ext
57613 cat >>conftest.$ac_ext <<_ACEOF
57614 /* end confdefs.h. */
57615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57617 #define $ac_func innocuous_$ac_func
57619 /* System header to define __stub macros and hopefully few prototypes,
57620 which can conflict with char $ac_func (); below.
57621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57622 <limits.h> exists even on freestanding compilers. */
57624 #ifdef __STDC__
57625 # include <limits.h>
57626 #else
57627 # include <assert.h>
57628 #endif
57630 #undef $ac_func
57632 /* Override any gcc2 internal prototype to avoid an error. */
57633 #ifdef __cplusplus
57634 extern "C"
57636 #endif
57637 /* We use char because int might match the return type of a gcc2
57638 builtin and then its argument prototype would still apply. */
57639 char $ac_func ();
57640 /* The GNU C library defines this for functions which it implements
57641 to always fail with ENOSYS. Some functions are actually named
57642 something starting with __ and the normal name is an alias. */
57643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57644 choke me
57645 #else
57646 char (*f) () = $ac_func;
57647 #endif
57648 #ifdef __cplusplus
57650 #endif
57653 main ()
57655 return f != $ac_func;
57657 return 0;
57659 _ACEOF
57660 rm -f conftest.$ac_objext conftest$ac_exeext
57661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57662 (eval $ac_link) 2>conftest.er1
57663 ac_status=$?
57664 grep -v '^ *+' conftest.er1 >conftest.err
57665 rm -f conftest.er1
57666 cat conftest.err >&5
57667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57668 (exit $ac_status); } &&
57669 { ac_try='test -z "$ac_c_werror_flag"
57670 || test ! -s conftest.err'
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); }; } &&
57676 { ac_try='test -s conftest$ac_exeext'
57677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57678 (eval $ac_try) 2>&5
57679 ac_status=$?
57680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57681 (exit $ac_status); }; }; then
57682 eval "$as_ac_var=yes"
57683 else
57684 echo "$as_me: failed program was:" >&5
57685 sed 's/^/| /' conftest.$ac_ext >&5
57687 eval "$as_ac_var=no"
57689 rm -f conftest.err conftest.$ac_objext \
57690 conftest$ac_exeext conftest.$ac_ext
57692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57694 if test `eval echo '${'$as_ac_var'}'` = yes; then
57695 cat >>confdefs.h <<_ACEOF
57696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57697 _ACEOF
57700 done
57702 else
57704 echo "$as_me:$LINENO: checking for _powl declaration" >&5
57705 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
57706 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57707 if test "${glibcxx_cv_func__powl_use+set}" = set; then
57708 echo $ECHO_N "(cached) $ECHO_C" >&6
57709 else
57713 ac_ext=cc
57714 ac_cpp='$CXXCPP $CPPFLAGS'
57715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57719 cat >conftest.$ac_ext <<_ACEOF
57720 /* confdefs.h. */
57721 _ACEOF
57722 cat confdefs.h >>conftest.$ac_ext
57723 cat >>conftest.$ac_ext <<_ACEOF
57724 /* end confdefs.h. */
57725 #include <math.h>
57727 main ()
57729 _powl(0, 0);
57731 return 0;
57733 _ACEOF
57734 rm -f conftest.$ac_objext
57735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57736 (eval $ac_compile) 2>conftest.er1
57737 ac_status=$?
57738 grep -v '^ *+' conftest.er1 >conftest.err
57739 rm -f conftest.er1
57740 cat conftest.err >&5
57741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57742 (exit $ac_status); } &&
57743 { ac_try='test -z "$ac_cxx_werror_flag"
57744 || test ! -s conftest.err'
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); }; } &&
57750 { ac_try='test -s conftest.$ac_objext'
57751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57752 (eval $ac_try) 2>&5
57753 ac_status=$?
57754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57755 (exit $ac_status); }; }; then
57756 glibcxx_cv_func__powl_use=yes
57757 else
57758 echo "$as_me: failed program was:" >&5
57759 sed 's/^/| /' conftest.$ac_ext >&5
57761 glibcxx_cv_func__powl_use=no
57763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57764 ac_ext=c
57765 ac_cpp='$CPP $CPPFLAGS'
57766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57774 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
57775 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
57777 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57779 for ac_func in _powl
57781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57782 echo "$as_me:$LINENO: checking for $ac_func" >&5
57783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57784 if eval "test \"\${$as_ac_var+set}\" = set"; then
57785 echo $ECHO_N "(cached) $ECHO_C" >&6
57786 else
57787 if test x$gcc_no_link = xyes; then
57788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57790 { (exit 1); exit 1; }; }
57792 cat >conftest.$ac_ext <<_ACEOF
57793 /* confdefs.h. */
57794 _ACEOF
57795 cat confdefs.h >>conftest.$ac_ext
57796 cat >>conftest.$ac_ext <<_ACEOF
57797 /* end confdefs.h. */
57798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57800 #define $ac_func innocuous_$ac_func
57802 /* System header to define __stub macros and hopefully few prototypes,
57803 which can conflict with char $ac_func (); below.
57804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57805 <limits.h> exists even on freestanding compilers. */
57807 #ifdef __STDC__
57808 # include <limits.h>
57809 #else
57810 # include <assert.h>
57811 #endif
57813 #undef $ac_func
57815 /* Override any gcc2 internal prototype to avoid an error. */
57816 #ifdef __cplusplus
57817 extern "C"
57819 #endif
57820 /* We use char because int might match the return type of a gcc2
57821 builtin and then its argument prototype would still apply. */
57822 char $ac_func ();
57823 /* The GNU C library defines this for functions which it implements
57824 to always fail with ENOSYS. Some functions are actually named
57825 something starting with __ and the normal name is an alias. */
57826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57827 choke me
57828 #else
57829 char (*f) () = $ac_func;
57830 #endif
57831 #ifdef __cplusplus
57833 #endif
57836 main ()
57838 return f != $ac_func;
57840 return 0;
57842 _ACEOF
57843 rm -f conftest.$ac_objext conftest$ac_exeext
57844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57845 (eval $ac_link) 2>conftest.er1
57846 ac_status=$?
57847 grep -v '^ *+' conftest.er1 >conftest.err
57848 rm -f conftest.er1
57849 cat conftest.err >&5
57850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57851 (exit $ac_status); } &&
57852 { ac_try='test -z "$ac_c_werror_flag"
57853 || test ! -s conftest.err'
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); }; } &&
57859 { ac_try='test -s conftest$ac_exeext'
57860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57861 (eval $ac_try) 2>&5
57862 ac_status=$?
57863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57864 (exit $ac_status); }; }; then
57865 eval "$as_ac_var=yes"
57866 else
57867 echo "$as_me: failed program was:" >&5
57868 sed 's/^/| /' conftest.$ac_ext >&5
57870 eval "$as_ac_var=no"
57872 rm -f conftest.err conftest.$ac_objext \
57873 conftest$ac_exeext conftest.$ac_ext
57875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57877 if test `eval echo '${'$as_ac_var'}'` = yes; then
57878 cat >>confdefs.h <<_ACEOF
57879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57880 _ACEOF
57883 done
57893 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
57894 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
57895 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57896 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
57897 echo $ECHO_N "(cached) $ECHO_C" >&6
57898 else
57902 ac_ext=cc
57903 ac_cpp='$CXXCPP $CPPFLAGS'
57904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57908 cat >conftest.$ac_ext <<_ACEOF
57909 /* confdefs.h. */
57910 _ACEOF
57911 cat confdefs.h >>conftest.$ac_ext
57912 cat >>conftest.$ac_ext <<_ACEOF
57913 /* end confdefs.h. */
57914 #include <math.h>
57915 #ifdef HAVE_IEEEFP_H
57916 #include <ieeefp.h>
57917 #endif
57920 main ()
57922 sqrtl(0);
57924 return 0;
57926 _ACEOF
57927 rm -f conftest.$ac_objext
57928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57929 (eval $ac_compile) 2>conftest.er1
57930 ac_status=$?
57931 grep -v '^ *+' conftest.er1 >conftest.err
57932 rm -f conftest.er1
57933 cat conftest.err >&5
57934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57935 (exit $ac_status); } &&
57936 { ac_try='test -z "$ac_cxx_werror_flag"
57937 || test ! -s conftest.err'
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); }; } &&
57943 { ac_try='test -s conftest.$ac_objext'
57944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57945 (eval $ac_try) 2>&5
57946 ac_status=$?
57947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57948 (exit $ac_status); }; }; then
57949 glibcxx_cv_func_sqrtl_use=yes
57950 else
57951 echo "$as_me: failed program was:" >&5
57952 sed 's/^/| /' conftest.$ac_ext >&5
57954 glibcxx_cv_func_sqrtl_use=no
57956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57957 ac_ext=c
57958 ac_cpp='$CPP $CPPFLAGS'
57959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57967 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
57968 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
57970 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57972 for ac_func in sqrtl
57974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57975 echo "$as_me:$LINENO: checking for $ac_func" >&5
57976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57977 if eval "test \"\${$as_ac_var+set}\" = set"; then
57978 echo $ECHO_N "(cached) $ECHO_C" >&6
57979 else
57980 if test x$gcc_no_link = xyes; then
57981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57983 { (exit 1); exit 1; }; }
57985 cat >conftest.$ac_ext <<_ACEOF
57986 /* confdefs.h. */
57987 _ACEOF
57988 cat confdefs.h >>conftest.$ac_ext
57989 cat >>conftest.$ac_ext <<_ACEOF
57990 /* end confdefs.h. */
57991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57993 #define $ac_func innocuous_$ac_func
57995 /* System header to define __stub macros and hopefully few prototypes,
57996 which can conflict with char $ac_func (); below.
57997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57998 <limits.h> exists even on freestanding compilers. */
58000 #ifdef __STDC__
58001 # include <limits.h>
58002 #else
58003 # include <assert.h>
58004 #endif
58006 #undef $ac_func
58008 /* Override any gcc2 internal prototype to avoid an error. */
58009 #ifdef __cplusplus
58010 extern "C"
58012 #endif
58013 /* We use char because int might match the return type of a gcc2
58014 builtin and then its argument prototype would still apply. */
58015 char $ac_func ();
58016 /* The GNU C library defines this for functions which it implements
58017 to always fail with ENOSYS. Some functions are actually named
58018 something starting with __ and the normal name is an alias. */
58019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58020 choke me
58021 #else
58022 char (*f) () = $ac_func;
58023 #endif
58024 #ifdef __cplusplus
58026 #endif
58029 main ()
58031 return f != $ac_func;
58033 return 0;
58035 _ACEOF
58036 rm -f conftest.$ac_objext conftest$ac_exeext
58037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58038 (eval $ac_link) 2>conftest.er1
58039 ac_status=$?
58040 grep -v '^ *+' conftest.er1 >conftest.err
58041 rm -f conftest.er1
58042 cat conftest.err >&5
58043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58044 (exit $ac_status); } &&
58045 { ac_try='test -z "$ac_c_werror_flag"
58046 || test ! -s conftest.err'
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); }; } &&
58052 { ac_try='test -s conftest$ac_exeext'
58053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58054 (eval $ac_try) 2>&5
58055 ac_status=$?
58056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58057 (exit $ac_status); }; }; then
58058 eval "$as_ac_var=yes"
58059 else
58060 echo "$as_me: failed program was:" >&5
58061 sed 's/^/| /' conftest.$ac_ext >&5
58063 eval "$as_ac_var=no"
58065 rm -f conftest.err conftest.$ac_objext \
58066 conftest$ac_exeext conftest.$ac_ext
58068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58070 if test `eval echo '${'$as_ac_var'}'` = yes; then
58071 cat >>confdefs.h <<_ACEOF
58072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58073 _ACEOF
58076 done
58078 else
58080 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
58081 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
58082 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58083 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
58084 echo $ECHO_N "(cached) $ECHO_C" >&6
58085 else
58089 ac_ext=cc
58090 ac_cpp='$CXXCPP $CPPFLAGS'
58091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58095 cat >conftest.$ac_ext <<_ACEOF
58096 /* confdefs.h. */
58097 _ACEOF
58098 cat confdefs.h >>conftest.$ac_ext
58099 cat >>conftest.$ac_ext <<_ACEOF
58100 /* end confdefs.h. */
58101 #include <math.h>
58102 #ifdef HAVE_IEEEFP_H
58103 #include <ieeefp.h>
58104 #endif
58107 main ()
58109 _sqrtl(0);
58111 return 0;
58113 _ACEOF
58114 rm -f conftest.$ac_objext
58115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58116 (eval $ac_compile) 2>conftest.er1
58117 ac_status=$?
58118 grep -v '^ *+' conftest.er1 >conftest.err
58119 rm -f conftest.er1
58120 cat conftest.err >&5
58121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58122 (exit $ac_status); } &&
58123 { ac_try='test -z "$ac_cxx_werror_flag"
58124 || test ! -s conftest.err'
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); }; } &&
58130 { ac_try='test -s conftest.$ac_objext'
58131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58132 (eval $ac_try) 2>&5
58133 ac_status=$?
58134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58135 (exit $ac_status); }; }; then
58136 glibcxx_cv_func__sqrtl_use=yes
58137 else
58138 echo "$as_me: failed program was:" >&5
58139 sed 's/^/| /' conftest.$ac_ext >&5
58141 glibcxx_cv_func__sqrtl_use=no
58143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58144 ac_ext=c
58145 ac_cpp='$CPP $CPPFLAGS'
58146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58154 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
58155 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
58157 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58159 for ac_func in _sqrtl
58161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58162 echo "$as_me:$LINENO: checking for $ac_func" >&5
58163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58164 if eval "test \"\${$as_ac_var+set}\" = set"; then
58165 echo $ECHO_N "(cached) $ECHO_C" >&6
58166 else
58167 if test x$gcc_no_link = xyes; then
58168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58170 { (exit 1); exit 1; }; }
58172 cat >conftest.$ac_ext <<_ACEOF
58173 /* confdefs.h. */
58174 _ACEOF
58175 cat confdefs.h >>conftest.$ac_ext
58176 cat >>conftest.$ac_ext <<_ACEOF
58177 /* end confdefs.h. */
58178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58180 #define $ac_func innocuous_$ac_func
58182 /* System header to define __stub macros and hopefully few prototypes,
58183 which can conflict with char $ac_func (); below.
58184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58185 <limits.h> exists even on freestanding compilers. */
58187 #ifdef __STDC__
58188 # include <limits.h>
58189 #else
58190 # include <assert.h>
58191 #endif
58193 #undef $ac_func
58195 /* Override any gcc2 internal prototype to avoid an error. */
58196 #ifdef __cplusplus
58197 extern "C"
58199 #endif
58200 /* We use char because int might match the return type of a gcc2
58201 builtin and then its argument prototype would still apply. */
58202 char $ac_func ();
58203 /* The GNU C library defines this for functions which it implements
58204 to always fail with ENOSYS. Some functions are actually named
58205 something starting with __ and the normal name is an alias. */
58206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58207 choke me
58208 #else
58209 char (*f) () = $ac_func;
58210 #endif
58211 #ifdef __cplusplus
58213 #endif
58216 main ()
58218 return f != $ac_func;
58220 return 0;
58222 _ACEOF
58223 rm -f conftest.$ac_objext conftest$ac_exeext
58224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58225 (eval $ac_link) 2>conftest.er1
58226 ac_status=$?
58227 grep -v '^ *+' conftest.er1 >conftest.err
58228 rm -f conftest.er1
58229 cat conftest.err >&5
58230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58231 (exit $ac_status); } &&
58232 { ac_try='test -z "$ac_c_werror_flag"
58233 || test ! -s conftest.err'
58234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58235 (eval $ac_try) 2>&5
58236 ac_status=$?
58237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58238 (exit $ac_status); }; } &&
58239 { ac_try='test -s conftest$ac_exeext'
58240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58241 (eval $ac_try) 2>&5
58242 ac_status=$?
58243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58244 (exit $ac_status); }; }; then
58245 eval "$as_ac_var=yes"
58246 else
58247 echo "$as_me: failed program was:" >&5
58248 sed 's/^/| /' conftest.$ac_ext >&5
58250 eval "$as_ac_var=no"
58252 rm -f conftest.err conftest.$ac_objext \
58253 conftest$ac_exeext conftest.$ac_ext
58255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58257 if test `eval echo '${'$as_ac_var'}'` = yes; then
58258 cat >>confdefs.h <<_ACEOF
58259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58260 _ACEOF
58263 done
58273 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
58274 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
58275 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58276 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
58277 echo $ECHO_N "(cached) $ECHO_C" >&6
58278 else
58282 ac_ext=cc
58283 ac_cpp='$CXXCPP $CPPFLAGS'
58284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58288 cat >conftest.$ac_ext <<_ACEOF
58289 /* confdefs.h. */
58290 _ACEOF
58291 cat confdefs.h >>conftest.$ac_ext
58292 cat >>conftest.$ac_ext <<_ACEOF
58293 /* end confdefs.h. */
58294 #include <math.h>
58296 main ()
58298 sincosl(0, 0, 0);
58300 return 0;
58302 _ACEOF
58303 rm -f conftest.$ac_objext
58304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58305 (eval $ac_compile) 2>conftest.er1
58306 ac_status=$?
58307 grep -v '^ *+' conftest.er1 >conftest.err
58308 rm -f conftest.er1
58309 cat conftest.err >&5
58310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58311 (exit $ac_status); } &&
58312 { ac_try='test -z "$ac_cxx_werror_flag"
58313 || test ! -s conftest.err'
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); }; } &&
58319 { ac_try='test -s conftest.$ac_objext'
58320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58321 (eval $ac_try) 2>&5
58322 ac_status=$?
58323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58324 (exit $ac_status); }; }; then
58325 glibcxx_cv_func_sincosl_use=yes
58326 else
58327 echo "$as_me: failed program was:" >&5
58328 sed 's/^/| /' conftest.$ac_ext >&5
58330 glibcxx_cv_func_sincosl_use=no
58332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58333 ac_ext=c
58334 ac_cpp='$CPP $CPPFLAGS'
58335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58343 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
58344 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
58346 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58348 for ac_func in sincosl
58350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58351 echo "$as_me:$LINENO: checking for $ac_func" >&5
58352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58353 if eval "test \"\${$as_ac_var+set}\" = set"; then
58354 echo $ECHO_N "(cached) $ECHO_C" >&6
58355 else
58356 if test x$gcc_no_link = xyes; then
58357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58359 { (exit 1); exit 1; }; }
58361 cat >conftest.$ac_ext <<_ACEOF
58362 /* confdefs.h. */
58363 _ACEOF
58364 cat confdefs.h >>conftest.$ac_ext
58365 cat >>conftest.$ac_ext <<_ACEOF
58366 /* end confdefs.h. */
58367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58369 #define $ac_func innocuous_$ac_func
58371 /* System header to define __stub macros and hopefully few prototypes,
58372 which can conflict with char $ac_func (); below.
58373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58374 <limits.h> exists even on freestanding compilers. */
58376 #ifdef __STDC__
58377 # include <limits.h>
58378 #else
58379 # include <assert.h>
58380 #endif
58382 #undef $ac_func
58384 /* Override any gcc2 internal prototype to avoid an error. */
58385 #ifdef __cplusplus
58386 extern "C"
58388 #endif
58389 /* We use char because int might match the return type of a gcc2
58390 builtin and then its argument prototype would still apply. */
58391 char $ac_func ();
58392 /* The GNU C library defines this for functions which it implements
58393 to always fail with ENOSYS. Some functions are actually named
58394 something starting with __ and the normal name is an alias. */
58395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58396 choke me
58397 #else
58398 char (*f) () = $ac_func;
58399 #endif
58400 #ifdef __cplusplus
58402 #endif
58405 main ()
58407 return f != $ac_func;
58409 return 0;
58411 _ACEOF
58412 rm -f conftest.$ac_objext conftest$ac_exeext
58413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58414 (eval $ac_link) 2>conftest.er1
58415 ac_status=$?
58416 grep -v '^ *+' conftest.er1 >conftest.err
58417 rm -f conftest.er1
58418 cat conftest.err >&5
58419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58420 (exit $ac_status); } &&
58421 { ac_try='test -z "$ac_c_werror_flag"
58422 || test ! -s conftest.err'
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); }; } &&
58428 { ac_try='test -s conftest$ac_exeext'
58429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58430 (eval $ac_try) 2>&5
58431 ac_status=$?
58432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58433 (exit $ac_status); }; }; then
58434 eval "$as_ac_var=yes"
58435 else
58436 echo "$as_me: failed program was:" >&5
58437 sed 's/^/| /' conftest.$ac_ext >&5
58439 eval "$as_ac_var=no"
58441 rm -f conftest.err conftest.$ac_objext \
58442 conftest$ac_exeext conftest.$ac_ext
58444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58446 if test `eval echo '${'$as_ac_var'}'` = yes; then
58447 cat >>confdefs.h <<_ACEOF
58448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58449 _ACEOF
58452 done
58454 else
58456 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
58457 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
58458 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58459 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
58460 echo $ECHO_N "(cached) $ECHO_C" >&6
58461 else
58465 ac_ext=cc
58466 ac_cpp='$CXXCPP $CPPFLAGS'
58467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58471 cat >conftest.$ac_ext <<_ACEOF
58472 /* confdefs.h. */
58473 _ACEOF
58474 cat confdefs.h >>conftest.$ac_ext
58475 cat >>conftest.$ac_ext <<_ACEOF
58476 /* end confdefs.h. */
58477 #include <math.h>
58479 main ()
58481 _sincosl(0, 0, 0);
58483 return 0;
58485 _ACEOF
58486 rm -f conftest.$ac_objext
58487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58488 (eval $ac_compile) 2>conftest.er1
58489 ac_status=$?
58490 grep -v '^ *+' conftest.er1 >conftest.err
58491 rm -f conftest.er1
58492 cat conftest.err >&5
58493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58494 (exit $ac_status); } &&
58495 { ac_try='test -z "$ac_cxx_werror_flag"
58496 || test ! -s conftest.err'
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); }; } &&
58502 { ac_try='test -s conftest.$ac_objext'
58503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58504 (eval $ac_try) 2>&5
58505 ac_status=$?
58506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58507 (exit $ac_status); }; }; then
58508 glibcxx_cv_func__sincosl_use=yes
58509 else
58510 echo "$as_me: failed program was:" >&5
58511 sed 's/^/| /' conftest.$ac_ext >&5
58513 glibcxx_cv_func__sincosl_use=no
58515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58516 ac_ext=c
58517 ac_cpp='$CPP $CPPFLAGS'
58518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58526 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
58527 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
58529 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58531 for ac_func in _sincosl
58533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58534 echo "$as_me:$LINENO: checking for $ac_func" >&5
58535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58536 if eval "test \"\${$as_ac_var+set}\" = set"; then
58537 echo $ECHO_N "(cached) $ECHO_C" >&6
58538 else
58539 if test x$gcc_no_link = xyes; then
58540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58542 { (exit 1); exit 1; }; }
58544 cat >conftest.$ac_ext <<_ACEOF
58545 /* confdefs.h. */
58546 _ACEOF
58547 cat confdefs.h >>conftest.$ac_ext
58548 cat >>conftest.$ac_ext <<_ACEOF
58549 /* end confdefs.h. */
58550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58552 #define $ac_func innocuous_$ac_func
58554 /* System header to define __stub macros and hopefully few prototypes,
58555 which can conflict with char $ac_func (); below.
58556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58557 <limits.h> exists even on freestanding compilers. */
58559 #ifdef __STDC__
58560 # include <limits.h>
58561 #else
58562 # include <assert.h>
58563 #endif
58565 #undef $ac_func
58567 /* Override any gcc2 internal prototype to avoid an error. */
58568 #ifdef __cplusplus
58569 extern "C"
58571 #endif
58572 /* We use char because int might match the return type of a gcc2
58573 builtin and then its argument prototype would still apply. */
58574 char $ac_func ();
58575 /* The GNU C library defines this for functions which it implements
58576 to always fail with ENOSYS. Some functions are actually named
58577 something starting with __ and the normal name is an alias. */
58578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58579 choke me
58580 #else
58581 char (*f) () = $ac_func;
58582 #endif
58583 #ifdef __cplusplus
58585 #endif
58588 main ()
58590 return f != $ac_func;
58592 return 0;
58594 _ACEOF
58595 rm -f conftest.$ac_objext conftest$ac_exeext
58596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58597 (eval $ac_link) 2>conftest.er1
58598 ac_status=$?
58599 grep -v '^ *+' conftest.er1 >conftest.err
58600 rm -f conftest.er1
58601 cat conftest.err >&5
58602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58603 (exit $ac_status); } &&
58604 { ac_try='test -z "$ac_c_werror_flag"
58605 || test ! -s conftest.err'
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); }; } &&
58611 { ac_try='test -s conftest$ac_exeext'
58612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58613 (eval $ac_try) 2>&5
58614 ac_status=$?
58615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58616 (exit $ac_status); }; }; then
58617 eval "$as_ac_var=yes"
58618 else
58619 echo "$as_me: failed program was:" >&5
58620 sed 's/^/| /' conftest.$ac_ext >&5
58622 eval "$as_ac_var=no"
58624 rm -f conftest.err conftest.$ac_objext \
58625 conftest$ac_exeext conftest.$ac_ext
58627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58629 if test `eval echo '${'$as_ac_var'}'` = yes; then
58630 cat >>confdefs.h <<_ACEOF
58631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58632 _ACEOF
58635 done
58645 echo "$as_me:$LINENO: checking for finitel declaration" >&5
58646 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
58647 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58648 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
58649 echo $ECHO_N "(cached) $ECHO_C" >&6
58650 else
58654 ac_ext=cc
58655 ac_cpp='$CXXCPP $CPPFLAGS'
58656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58660 cat >conftest.$ac_ext <<_ACEOF
58661 /* confdefs.h. */
58662 _ACEOF
58663 cat confdefs.h >>conftest.$ac_ext
58664 cat >>conftest.$ac_ext <<_ACEOF
58665 /* end confdefs.h. */
58666 #include <math.h>
58667 #ifdef HAVE_IEEEFP_H
58668 #include <ieeefp.h>
58669 #endif
58672 main ()
58674 finitel(0);
58676 return 0;
58678 _ACEOF
58679 rm -f conftest.$ac_objext
58680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58681 (eval $ac_compile) 2>conftest.er1
58682 ac_status=$?
58683 grep -v '^ *+' conftest.er1 >conftest.err
58684 rm -f conftest.er1
58685 cat conftest.err >&5
58686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58687 (exit $ac_status); } &&
58688 { ac_try='test -z "$ac_cxx_werror_flag"
58689 || test ! -s conftest.err'
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); }; } &&
58695 { ac_try='test -s conftest.$ac_objext'
58696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58697 (eval $ac_try) 2>&5
58698 ac_status=$?
58699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58700 (exit $ac_status); }; }; then
58701 glibcxx_cv_func_finitel_use=yes
58702 else
58703 echo "$as_me: failed program was:" >&5
58704 sed 's/^/| /' conftest.$ac_ext >&5
58706 glibcxx_cv_func_finitel_use=no
58708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58709 ac_ext=c
58710 ac_cpp='$CPP $CPPFLAGS'
58711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58719 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
58720 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
58722 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58724 for ac_func in finitel
58726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58727 echo "$as_me:$LINENO: checking for $ac_func" >&5
58728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58729 if eval "test \"\${$as_ac_var+set}\" = set"; then
58730 echo $ECHO_N "(cached) $ECHO_C" >&6
58731 else
58732 if test x$gcc_no_link = xyes; then
58733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58735 { (exit 1); exit 1; }; }
58737 cat >conftest.$ac_ext <<_ACEOF
58738 /* confdefs.h. */
58739 _ACEOF
58740 cat confdefs.h >>conftest.$ac_ext
58741 cat >>conftest.$ac_ext <<_ACEOF
58742 /* end confdefs.h. */
58743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58745 #define $ac_func innocuous_$ac_func
58747 /* System header to define __stub macros and hopefully few prototypes,
58748 which can conflict with char $ac_func (); below.
58749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58750 <limits.h> exists even on freestanding compilers. */
58752 #ifdef __STDC__
58753 # include <limits.h>
58754 #else
58755 # include <assert.h>
58756 #endif
58758 #undef $ac_func
58760 /* Override any gcc2 internal prototype to avoid an error. */
58761 #ifdef __cplusplus
58762 extern "C"
58764 #endif
58765 /* We use char because int might match the return type of a gcc2
58766 builtin and then its argument prototype would still apply. */
58767 char $ac_func ();
58768 /* The GNU C library defines this for functions which it implements
58769 to always fail with ENOSYS. Some functions are actually named
58770 something starting with __ and the normal name is an alias. */
58771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58772 choke me
58773 #else
58774 char (*f) () = $ac_func;
58775 #endif
58776 #ifdef __cplusplus
58778 #endif
58781 main ()
58783 return f != $ac_func;
58785 return 0;
58787 _ACEOF
58788 rm -f conftest.$ac_objext conftest$ac_exeext
58789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58790 (eval $ac_link) 2>conftest.er1
58791 ac_status=$?
58792 grep -v '^ *+' conftest.er1 >conftest.err
58793 rm -f conftest.er1
58794 cat conftest.err >&5
58795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58796 (exit $ac_status); } &&
58797 { ac_try='test -z "$ac_c_werror_flag"
58798 || test ! -s conftest.err'
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); }; } &&
58804 { ac_try='test -s conftest$ac_exeext'
58805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58806 (eval $ac_try) 2>&5
58807 ac_status=$?
58808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58809 (exit $ac_status); }; }; then
58810 eval "$as_ac_var=yes"
58811 else
58812 echo "$as_me: failed program was:" >&5
58813 sed 's/^/| /' conftest.$ac_ext >&5
58815 eval "$as_ac_var=no"
58817 rm -f conftest.err conftest.$ac_objext \
58818 conftest$ac_exeext conftest.$ac_ext
58820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58822 if test `eval echo '${'$as_ac_var'}'` = yes; then
58823 cat >>confdefs.h <<_ACEOF
58824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58825 _ACEOF
58828 done
58830 else
58832 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
58833 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
58834 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58835 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
58836 echo $ECHO_N "(cached) $ECHO_C" >&6
58837 else
58841 ac_ext=cc
58842 ac_cpp='$CXXCPP $CPPFLAGS'
58843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58847 cat >conftest.$ac_ext <<_ACEOF
58848 /* confdefs.h. */
58849 _ACEOF
58850 cat confdefs.h >>conftest.$ac_ext
58851 cat >>conftest.$ac_ext <<_ACEOF
58852 /* end confdefs.h. */
58853 #include <math.h>
58854 #ifdef HAVE_IEEEFP_H
58855 #include <ieeefp.h>
58856 #endif
58859 main ()
58861 _finitel(0);
58863 return 0;
58865 _ACEOF
58866 rm -f conftest.$ac_objext
58867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58868 (eval $ac_compile) 2>conftest.er1
58869 ac_status=$?
58870 grep -v '^ *+' conftest.er1 >conftest.err
58871 rm -f conftest.er1
58872 cat conftest.err >&5
58873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58874 (exit $ac_status); } &&
58875 { ac_try='test -z "$ac_cxx_werror_flag"
58876 || test ! -s conftest.err'
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); }; } &&
58882 { ac_try='test -s conftest.$ac_objext'
58883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58884 (eval $ac_try) 2>&5
58885 ac_status=$?
58886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58887 (exit $ac_status); }; }; then
58888 glibcxx_cv_func__finitel_use=yes
58889 else
58890 echo "$as_me: failed program was:" >&5
58891 sed 's/^/| /' conftest.$ac_ext >&5
58893 glibcxx_cv_func__finitel_use=no
58895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58896 ac_ext=c
58897 ac_cpp='$CPP $CPPFLAGS'
58898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58906 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
58907 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
58909 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58911 for ac_func in _finitel
58913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58914 echo "$as_me:$LINENO: checking for $ac_func" >&5
58915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58916 if eval "test \"\${$as_ac_var+set}\" = set"; then
58917 echo $ECHO_N "(cached) $ECHO_C" >&6
58918 else
58919 if test x$gcc_no_link = xyes; then
58920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58922 { (exit 1); exit 1; }; }
58924 cat >conftest.$ac_ext <<_ACEOF
58925 /* confdefs.h. */
58926 _ACEOF
58927 cat confdefs.h >>conftest.$ac_ext
58928 cat >>conftest.$ac_ext <<_ACEOF
58929 /* end confdefs.h. */
58930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58932 #define $ac_func innocuous_$ac_func
58934 /* System header to define __stub macros and hopefully few prototypes,
58935 which can conflict with char $ac_func (); below.
58936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58937 <limits.h> exists even on freestanding compilers. */
58939 #ifdef __STDC__
58940 # include <limits.h>
58941 #else
58942 # include <assert.h>
58943 #endif
58945 #undef $ac_func
58947 /* Override any gcc2 internal prototype to avoid an error. */
58948 #ifdef __cplusplus
58949 extern "C"
58951 #endif
58952 /* We use char because int might match the return type of a gcc2
58953 builtin and then its argument prototype would still apply. */
58954 char $ac_func ();
58955 /* The GNU C library defines this for functions which it implements
58956 to always fail with ENOSYS. Some functions are actually named
58957 something starting with __ and the normal name is an alias. */
58958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58959 choke me
58960 #else
58961 char (*f) () = $ac_func;
58962 #endif
58963 #ifdef __cplusplus
58965 #endif
58968 main ()
58970 return f != $ac_func;
58972 return 0;
58974 _ACEOF
58975 rm -f conftest.$ac_objext conftest$ac_exeext
58976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58977 (eval $ac_link) 2>conftest.er1
58978 ac_status=$?
58979 grep -v '^ *+' conftest.er1 >conftest.err
58980 rm -f conftest.er1
58981 cat conftest.err >&5
58982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58983 (exit $ac_status); } &&
58984 { ac_try='test -z "$ac_c_werror_flag"
58985 || test ! -s conftest.err'
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); }; } &&
58991 { ac_try='test -s conftest$ac_exeext'
58992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58993 (eval $ac_try) 2>&5
58994 ac_status=$?
58995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58996 (exit $ac_status); }; }; then
58997 eval "$as_ac_var=yes"
58998 else
58999 echo "$as_me: failed program was:" >&5
59000 sed 's/^/| /' conftest.$ac_ext >&5
59002 eval "$as_ac_var=no"
59004 rm -f conftest.err conftest.$ac_objext \
59005 conftest$ac_exeext conftest.$ac_ext
59007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59009 if test `eval echo '${'$as_ac_var'}'` = yes; then
59010 cat >>confdefs.h <<_ACEOF
59011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59012 _ACEOF
59015 done
59024 LIBS="$ac_save_LIBS"
59025 CXXFLAGS="$ac_save_CXXFLAGS"
59029 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
59030 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
59031 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
59032 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
59033 echo $ECHO_N "(cached) $ECHO_C" >&6
59034 else
59038 ac_ext=cc
59039 ac_cpp='$CXXCPP $CPPFLAGS'
59040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59044 cat >conftest.$ac_ext <<_ACEOF
59045 /* confdefs.h. */
59046 _ACEOF
59047 cat confdefs.h >>conftest.$ac_ext
59048 cat >>conftest.$ac_ext <<_ACEOF
59049 /* end confdefs.h. */
59050 #include <math.h>
59052 main ()
59054 __builtin_abs(0);
59056 return 0;
59058 _ACEOF
59059 rm -f conftest.$ac_objext
59060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59061 (eval $ac_compile) 2>conftest.er1
59062 ac_status=$?
59063 grep -v '^ *+' conftest.er1 >conftest.err
59064 rm -f conftest.er1
59065 cat conftest.err >&5
59066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59067 (exit $ac_status); } &&
59068 { ac_try='test -z "$ac_cxx_werror_flag"
59069 || test ! -s conftest.err'
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); }; } &&
59075 { ac_try='test -s conftest.$ac_objext'
59076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59077 (eval $ac_try) 2>&5
59078 ac_status=$?
59079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59080 (exit $ac_status); }; }; then
59081 glibcxx_cv_func___builtin_abs_use=yes
59082 else
59083 echo "$as_me: failed program was:" >&5
59084 sed 's/^/| /' conftest.$ac_ext >&5
59086 glibcxx_cv_func___builtin_abs_use=no
59088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59089 ac_ext=c
59090 ac_cpp='$CPP $CPPFLAGS'
59091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59099 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
59100 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
59101 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
59102 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
59103 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
59104 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
59105 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
59106 echo $ECHO_N "(cached) $ECHO_C" >&6
59107 else
59109 if test x$gcc_no_link = xyes; then
59110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59112 { (exit 1); exit 1; }; }
59114 cat >conftest.$ac_ext <<_ACEOF
59115 /* confdefs.h. */
59116 _ACEOF
59117 cat confdefs.h >>conftest.$ac_ext
59118 cat >>conftest.$ac_ext <<_ACEOF
59119 /* end confdefs.h. */
59120 #include <math.h>
59122 main ()
59124 __builtin_abs(0);
59126 return 0;
59128 _ACEOF
59129 rm -f conftest.$ac_objext conftest$ac_exeext
59130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59131 (eval $ac_link) 2>conftest.er1
59132 ac_status=$?
59133 grep -v '^ *+' conftest.er1 >conftest.err
59134 rm -f conftest.er1
59135 cat conftest.err >&5
59136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59137 (exit $ac_status); } &&
59138 { ac_try='test -z "$ac_c_werror_flag"
59139 || test ! -s conftest.err'
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); }; } &&
59145 { ac_try='test -s conftest$ac_exeext'
59146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59147 (eval $ac_try) 2>&5
59148 ac_status=$?
59149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59150 (exit $ac_status); }; }; then
59151 glibcxx_cv_func___builtin_abs_link=yes
59152 else
59153 echo "$as_me: failed program was:" >&5
59154 sed 's/^/| /' conftest.$ac_ext >&5
59156 glibcxx_cv_func___builtin_abs_link=no
59158 rm -f conftest.err conftest.$ac_objext \
59159 conftest$ac_exeext conftest.$ac_ext
59164 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
59165 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
59167 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
59169 cat >>confdefs.h <<\_ACEOF
59170 #define HAVE___BUILTIN_ABS 1
59171 _ACEOF
59178 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
59179 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
59180 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
59181 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
59182 echo $ECHO_N "(cached) $ECHO_C" >&6
59183 else
59187 ac_ext=cc
59188 ac_cpp='$CXXCPP $CPPFLAGS'
59189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59193 cat >conftest.$ac_ext <<_ACEOF
59194 /* confdefs.h. */
59195 _ACEOF
59196 cat confdefs.h >>conftest.$ac_ext
59197 cat >>conftest.$ac_ext <<_ACEOF
59198 /* end confdefs.h. */
59199 #include <math.h>
59201 main ()
59203 __builtin_fabsf(0);
59205 return 0;
59207 _ACEOF
59208 rm -f conftest.$ac_objext
59209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59210 (eval $ac_compile) 2>conftest.er1
59211 ac_status=$?
59212 grep -v '^ *+' conftest.er1 >conftest.err
59213 rm -f conftest.er1
59214 cat conftest.err >&5
59215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59216 (exit $ac_status); } &&
59217 { ac_try='test -z "$ac_cxx_werror_flag"
59218 || test ! -s conftest.err'
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); }; } &&
59224 { ac_try='test -s conftest.$ac_objext'
59225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59226 (eval $ac_try) 2>&5
59227 ac_status=$?
59228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59229 (exit $ac_status); }; }; then
59230 glibcxx_cv_func___builtin_fabsf_use=yes
59231 else
59232 echo "$as_me: failed program was:" >&5
59233 sed 's/^/| /' conftest.$ac_ext >&5
59235 glibcxx_cv_func___builtin_fabsf_use=no
59237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59238 ac_ext=c
59239 ac_cpp='$CPP $CPPFLAGS'
59240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59248 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
59249 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
59250 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
59251 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
59252 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
59253 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
59254 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
59255 echo $ECHO_N "(cached) $ECHO_C" >&6
59256 else
59258 if test x$gcc_no_link = xyes; then
59259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59261 { (exit 1); exit 1; }; }
59263 cat >conftest.$ac_ext <<_ACEOF
59264 /* confdefs.h. */
59265 _ACEOF
59266 cat confdefs.h >>conftest.$ac_ext
59267 cat >>conftest.$ac_ext <<_ACEOF
59268 /* end confdefs.h. */
59269 #include <math.h>
59271 main ()
59273 __builtin_fabsf(0);
59275 return 0;
59277 _ACEOF
59278 rm -f conftest.$ac_objext conftest$ac_exeext
59279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59280 (eval $ac_link) 2>conftest.er1
59281 ac_status=$?
59282 grep -v '^ *+' conftest.er1 >conftest.err
59283 rm -f conftest.er1
59284 cat conftest.err >&5
59285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59286 (exit $ac_status); } &&
59287 { ac_try='test -z "$ac_c_werror_flag"
59288 || test ! -s conftest.err'
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); }; } &&
59294 { ac_try='test -s conftest$ac_exeext'
59295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59296 (eval $ac_try) 2>&5
59297 ac_status=$?
59298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59299 (exit $ac_status); }; }; then
59300 glibcxx_cv_func___builtin_fabsf_link=yes
59301 else
59302 echo "$as_me: failed program was:" >&5
59303 sed 's/^/| /' conftest.$ac_ext >&5
59305 glibcxx_cv_func___builtin_fabsf_link=no
59307 rm -f conftest.err conftest.$ac_objext \
59308 conftest$ac_exeext conftest.$ac_ext
59313 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
59314 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
59316 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
59318 cat >>confdefs.h <<\_ACEOF
59319 #define HAVE___BUILTIN_FABSF 1
59320 _ACEOF
59327 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
59328 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
59329 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
59330 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
59331 echo $ECHO_N "(cached) $ECHO_C" >&6
59332 else
59336 ac_ext=cc
59337 ac_cpp='$CXXCPP $CPPFLAGS'
59338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59342 cat >conftest.$ac_ext <<_ACEOF
59343 /* confdefs.h. */
59344 _ACEOF
59345 cat confdefs.h >>conftest.$ac_ext
59346 cat >>conftest.$ac_ext <<_ACEOF
59347 /* end confdefs.h. */
59348 #include <math.h>
59350 main ()
59352 __builtin_fabs(0);
59354 return 0;
59356 _ACEOF
59357 rm -f conftest.$ac_objext
59358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59359 (eval $ac_compile) 2>conftest.er1
59360 ac_status=$?
59361 grep -v '^ *+' conftest.er1 >conftest.err
59362 rm -f conftest.er1
59363 cat conftest.err >&5
59364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59365 (exit $ac_status); } &&
59366 { ac_try='test -z "$ac_cxx_werror_flag"
59367 || test ! -s conftest.err'
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); }; } &&
59373 { ac_try='test -s conftest.$ac_objext'
59374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59375 (eval $ac_try) 2>&5
59376 ac_status=$?
59377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59378 (exit $ac_status); }; }; then
59379 glibcxx_cv_func___builtin_fabs_use=yes
59380 else
59381 echo "$as_me: failed program was:" >&5
59382 sed 's/^/| /' conftest.$ac_ext >&5
59384 glibcxx_cv_func___builtin_fabs_use=no
59386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59387 ac_ext=c
59388 ac_cpp='$CPP $CPPFLAGS'
59389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59397 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
59398 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
59399 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
59400 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
59401 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
59402 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
59403 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
59404 echo $ECHO_N "(cached) $ECHO_C" >&6
59405 else
59407 if test x$gcc_no_link = xyes; then
59408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59410 { (exit 1); exit 1; }; }
59412 cat >conftest.$ac_ext <<_ACEOF
59413 /* confdefs.h. */
59414 _ACEOF
59415 cat confdefs.h >>conftest.$ac_ext
59416 cat >>conftest.$ac_ext <<_ACEOF
59417 /* end confdefs.h. */
59418 #include <math.h>
59420 main ()
59422 __builtin_fabs(0);
59424 return 0;
59426 _ACEOF
59427 rm -f conftest.$ac_objext conftest$ac_exeext
59428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59429 (eval $ac_link) 2>conftest.er1
59430 ac_status=$?
59431 grep -v '^ *+' conftest.er1 >conftest.err
59432 rm -f conftest.er1
59433 cat conftest.err >&5
59434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59435 (exit $ac_status); } &&
59436 { ac_try='test -z "$ac_c_werror_flag"
59437 || test ! -s conftest.err'
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); }; } &&
59443 { ac_try='test -s conftest$ac_exeext'
59444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59445 (eval $ac_try) 2>&5
59446 ac_status=$?
59447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59448 (exit $ac_status); }; }; then
59449 glibcxx_cv_func___builtin_fabs_link=yes
59450 else
59451 echo "$as_me: failed program was:" >&5
59452 sed 's/^/| /' conftest.$ac_ext >&5
59454 glibcxx_cv_func___builtin_fabs_link=no
59456 rm -f conftest.err conftest.$ac_objext \
59457 conftest$ac_exeext conftest.$ac_ext
59462 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
59463 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
59465 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
59467 cat >>confdefs.h <<\_ACEOF
59468 #define HAVE___BUILTIN_FABS 1
59469 _ACEOF
59476 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
59477 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
59478 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
59479 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
59480 echo $ECHO_N "(cached) $ECHO_C" >&6
59481 else
59485 ac_ext=cc
59486 ac_cpp='$CXXCPP $CPPFLAGS'
59487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59491 cat >conftest.$ac_ext <<_ACEOF
59492 /* confdefs.h. */
59493 _ACEOF
59494 cat confdefs.h >>conftest.$ac_ext
59495 cat >>conftest.$ac_ext <<_ACEOF
59496 /* end confdefs.h. */
59497 #include <math.h>
59499 main ()
59501 __builtin_fabsl(0);
59503 return 0;
59505 _ACEOF
59506 rm -f conftest.$ac_objext
59507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59508 (eval $ac_compile) 2>conftest.er1
59509 ac_status=$?
59510 grep -v '^ *+' conftest.er1 >conftest.err
59511 rm -f conftest.er1
59512 cat conftest.err >&5
59513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59514 (exit $ac_status); } &&
59515 { ac_try='test -z "$ac_cxx_werror_flag"
59516 || test ! -s conftest.err'
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); }; } &&
59522 { ac_try='test -s conftest.$ac_objext'
59523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59524 (eval $ac_try) 2>&5
59525 ac_status=$?
59526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59527 (exit $ac_status); }; }; then
59528 glibcxx_cv_func___builtin_fabsl_use=yes
59529 else
59530 echo "$as_me: failed program was:" >&5
59531 sed 's/^/| /' conftest.$ac_ext >&5
59533 glibcxx_cv_func___builtin_fabsl_use=no
59535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59536 ac_ext=c
59537 ac_cpp='$CPP $CPPFLAGS'
59538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59546 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
59547 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
59548 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
59549 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
59550 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
59551 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
59552 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
59553 echo $ECHO_N "(cached) $ECHO_C" >&6
59554 else
59556 if test x$gcc_no_link = xyes; then
59557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59559 { (exit 1); exit 1; }; }
59561 cat >conftest.$ac_ext <<_ACEOF
59562 /* confdefs.h. */
59563 _ACEOF
59564 cat confdefs.h >>conftest.$ac_ext
59565 cat >>conftest.$ac_ext <<_ACEOF
59566 /* end confdefs.h. */
59567 #include <math.h>
59569 main ()
59571 __builtin_fabsl(0);
59573 return 0;
59575 _ACEOF
59576 rm -f conftest.$ac_objext conftest$ac_exeext
59577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59578 (eval $ac_link) 2>conftest.er1
59579 ac_status=$?
59580 grep -v '^ *+' conftest.er1 >conftest.err
59581 rm -f conftest.er1
59582 cat conftest.err >&5
59583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59584 (exit $ac_status); } &&
59585 { ac_try='test -z "$ac_c_werror_flag"
59586 || test ! -s conftest.err'
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); }; } &&
59592 { ac_try='test -s conftest$ac_exeext'
59593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59594 (eval $ac_try) 2>&5
59595 ac_status=$?
59596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59597 (exit $ac_status); }; }; then
59598 glibcxx_cv_func___builtin_fabsl_link=yes
59599 else
59600 echo "$as_me: failed program was:" >&5
59601 sed 's/^/| /' conftest.$ac_ext >&5
59603 glibcxx_cv_func___builtin_fabsl_link=no
59605 rm -f conftest.err conftest.$ac_objext \
59606 conftest$ac_exeext conftest.$ac_ext
59611 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
59612 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
59614 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
59616 cat >>confdefs.h <<\_ACEOF
59617 #define HAVE___BUILTIN_FABSL 1
59618 _ACEOF
59625 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
59626 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
59627 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
59628 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
59629 echo $ECHO_N "(cached) $ECHO_C" >&6
59630 else
59634 ac_ext=cc
59635 ac_cpp='$CXXCPP $CPPFLAGS'
59636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59640 cat >conftest.$ac_ext <<_ACEOF
59641 /* confdefs.h. */
59642 _ACEOF
59643 cat confdefs.h >>conftest.$ac_ext
59644 cat >>conftest.$ac_ext <<_ACEOF
59645 /* end confdefs.h. */
59646 #include <math.h>
59648 main ()
59650 __builtin_labs(0);
59652 return 0;
59654 _ACEOF
59655 rm -f conftest.$ac_objext
59656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59657 (eval $ac_compile) 2>conftest.er1
59658 ac_status=$?
59659 grep -v '^ *+' conftest.er1 >conftest.err
59660 rm -f conftest.er1
59661 cat conftest.err >&5
59662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59663 (exit $ac_status); } &&
59664 { ac_try='test -z "$ac_cxx_werror_flag"
59665 || test ! -s conftest.err'
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); }; } &&
59671 { ac_try='test -s conftest.$ac_objext'
59672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59673 (eval $ac_try) 2>&5
59674 ac_status=$?
59675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59676 (exit $ac_status); }; }; then
59677 glibcxx_cv_func___builtin_labs_use=yes
59678 else
59679 echo "$as_me: failed program was:" >&5
59680 sed 's/^/| /' conftest.$ac_ext >&5
59682 glibcxx_cv_func___builtin_labs_use=no
59684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59685 ac_ext=c
59686 ac_cpp='$CPP $CPPFLAGS'
59687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59695 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
59696 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
59697 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
59698 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
59699 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
59700 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
59701 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
59702 echo $ECHO_N "(cached) $ECHO_C" >&6
59703 else
59705 if test x$gcc_no_link = xyes; then
59706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59708 { (exit 1); exit 1; }; }
59710 cat >conftest.$ac_ext <<_ACEOF
59711 /* confdefs.h. */
59712 _ACEOF
59713 cat confdefs.h >>conftest.$ac_ext
59714 cat >>conftest.$ac_ext <<_ACEOF
59715 /* end confdefs.h. */
59716 #include <math.h>
59718 main ()
59720 __builtin_labs(0);
59722 return 0;
59724 _ACEOF
59725 rm -f conftest.$ac_objext conftest$ac_exeext
59726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59727 (eval $ac_link) 2>conftest.er1
59728 ac_status=$?
59729 grep -v '^ *+' conftest.er1 >conftest.err
59730 rm -f conftest.er1
59731 cat conftest.err >&5
59732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59733 (exit $ac_status); } &&
59734 { ac_try='test -z "$ac_c_werror_flag"
59735 || test ! -s conftest.err'
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); }; } &&
59741 { ac_try='test -s conftest$ac_exeext'
59742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59743 (eval $ac_try) 2>&5
59744 ac_status=$?
59745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59746 (exit $ac_status); }; }; then
59747 glibcxx_cv_func___builtin_labs_link=yes
59748 else
59749 echo "$as_me: failed program was:" >&5
59750 sed 's/^/| /' conftest.$ac_ext >&5
59752 glibcxx_cv_func___builtin_labs_link=no
59754 rm -f conftest.err conftest.$ac_objext \
59755 conftest$ac_exeext conftest.$ac_ext
59760 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
59761 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
59763 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
59765 cat >>confdefs.h <<\_ACEOF
59766 #define HAVE___BUILTIN_LABS 1
59767 _ACEOF
59775 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
59776 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
59777 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
59778 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
59779 echo $ECHO_N "(cached) $ECHO_C" >&6
59780 else
59784 ac_ext=cc
59785 ac_cpp='$CXXCPP $CPPFLAGS'
59786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59790 cat >conftest.$ac_ext <<_ACEOF
59791 /* confdefs.h. */
59792 _ACEOF
59793 cat confdefs.h >>conftest.$ac_ext
59794 cat >>conftest.$ac_ext <<_ACEOF
59795 /* end confdefs.h. */
59796 #include <math.h>
59798 main ()
59800 __builtin_sqrtf(0);
59802 return 0;
59804 _ACEOF
59805 rm -f conftest.$ac_objext
59806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59807 (eval $ac_compile) 2>conftest.er1
59808 ac_status=$?
59809 grep -v '^ *+' conftest.er1 >conftest.err
59810 rm -f conftest.er1
59811 cat conftest.err >&5
59812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59813 (exit $ac_status); } &&
59814 { ac_try='test -z "$ac_cxx_werror_flag"
59815 || test ! -s conftest.err'
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); }; } &&
59821 { ac_try='test -s conftest.$ac_objext'
59822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59823 (eval $ac_try) 2>&5
59824 ac_status=$?
59825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59826 (exit $ac_status); }; }; then
59827 glibcxx_cv_func___builtin_sqrtf_use=yes
59828 else
59829 echo "$as_me: failed program was:" >&5
59830 sed 's/^/| /' conftest.$ac_ext >&5
59832 glibcxx_cv_func___builtin_sqrtf_use=no
59834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59835 ac_ext=c
59836 ac_cpp='$CPP $CPPFLAGS'
59837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59845 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
59846 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
59847 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
59848 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
59849 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
59850 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
59851 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
59852 echo $ECHO_N "(cached) $ECHO_C" >&6
59853 else
59855 if test x$gcc_no_link = xyes; then
59856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59858 { (exit 1); exit 1; }; }
59860 cat >conftest.$ac_ext <<_ACEOF
59861 /* confdefs.h. */
59862 _ACEOF
59863 cat confdefs.h >>conftest.$ac_ext
59864 cat >>conftest.$ac_ext <<_ACEOF
59865 /* end confdefs.h. */
59866 #include <math.h>
59868 main ()
59870 __builtin_sqrtf(0);
59872 return 0;
59874 _ACEOF
59875 rm -f conftest.$ac_objext conftest$ac_exeext
59876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59877 (eval $ac_link) 2>conftest.er1
59878 ac_status=$?
59879 grep -v '^ *+' conftest.er1 >conftest.err
59880 rm -f conftest.er1
59881 cat conftest.err >&5
59882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59883 (exit $ac_status); } &&
59884 { ac_try='test -z "$ac_c_werror_flag"
59885 || test ! -s conftest.err'
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); }; } &&
59891 { ac_try='test -s conftest$ac_exeext'
59892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59893 (eval $ac_try) 2>&5
59894 ac_status=$?
59895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59896 (exit $ac_status); }; }; then
59897 glibcxx_cv_func___builtin_sqrtf_link=yes
59898 else
59899 echo "$as_me: failed program was:" >&5
59900 sed 's/^/| /' conftest.$ac_ext >&5
59902 glibcxx_cv_func___builtin_sqrtf_link=no
59904 rm -f conftest.err conftest.$ac_objext \
59905 conftest$ac_exeext conftest.$ac_ext
59910 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
59911 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
59913 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
59915 cat >>confdefs.h <<\_ACEOF
59916 #define HAVE___BUILTIN_SQRTF 1
59917 _ACEOF
59924 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
59925 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
59926 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
59927 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
59928 echo $ECHO_N "(cached) $ECHO_C" >&6
59929 else
59933 ac_ext=cc
59934 ac_cpp='$CXXCPP $CPPFLAGS'
59935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59939 cat >conftest.$ac_ext <<_ACEOF
59940 /* confdefs.h. */
59941 _ACEOF
59942 cat confdefs.h >>conftest.$ac_ext
59943 cat >>conftest.$ac_ext <<_ACEOF
59944 /* end confdefs.h. */
59945 #include <math.h>
59947 main ()
59949 __builtin_sqrt(0);
59951 return 0;
59953 _ACEOF
59954 rm -f conftest.$ac_objext
59955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59956 (eval $ac_compile) 2>conftest.er1
59957 ac_status=$?
59958 grep -v '^ *+' conftest.er1 >conftest.err
59959 rm -f conftest.er1
59960 cat conftest.err >&5
59961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59962 (exit $ac_status); } &&
59963 { ac_try='test -z "$ac_cxx_werror_flag"
59964 || test ! -s conftest.err'
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); }; } &&
59970 { ac_try='test -s conftest.$ac_objext'
59971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59972 (eval $ac_try) 2>&5
59973 ac_status=$?
59974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59975 (exit $ac_status); }; }; then
59976 glibcxx_cv_func___builtin_sqrt_use=yes
59977 else
59978 echo "$as_me: failed program was:" >&5
59979 sed 's/^/| /' conftest.$ac_ext >&5
59981 glibcxx_cv_func___builtin_sqrt_use=no
59983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59984 ac_ext=c
59985 ac_cpp='$CPP $CPPFLAGS'
59986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59994 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
59995 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
59996 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
59997 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
59998 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
59999 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
60000 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
60001 echo $ECHO_N "(cached) $ECHO_C" >&6
60002 else
60004 if test x$gcc_no_link = xyes; then
60005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60007 { (exit 1); exit 1; }; }
60009 cat >conftest.$ac_ext <<_ACEOF
60010 /* confdefs.h. */
60011 _ACEOF
60012 cat confdefs.h >>conftest.$ac_ext
60013 cat >>conftest.$ac_ext <<_ACEOF
60014 /* end confdefs.h. */
60015 #include <math.h>
60017 main ()
60019 __builtin_sqrt(0);
60021 return 0;
60023 _ACEOF
60024 rm -f conftest.$ac_objext conftest$ac_exeext
60025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60026 (eval $ac_link) 2>conftest.er1
60027 ac_status=$?
60028 grep -v '^ *+' conftest.er1 >conftest.err
60029 rm -f conftest.er1
60030 cat conftest.err >&5
60031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60032 (exit $ac_status); } &&
60033 { ac_try='test -z "$ac_c_werror_flag"
60034 || test ! -s conftest.err'
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); }; } &&
60040 { ac_try='test -s conftest$ac_exeext'
60041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60042 (eval $ac_try) 2>&5
60043 ac_status=$?
60044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60045 (exit $ac_status); }; }; then
60046 glibcxx_cv_func___builtin_sqrt_link=yes
60047 else
60048 echo "$as_me: failed program was:" >&5
60049 sed 's/^/| /' conftest.$ac_ext >&5
60051 glibcxx_cv_func___builtin_sqrt_link=no
60053 rm -f conftest.err conftest.$ac_objext \
60054 conftest$ac_exeext conftest.$ac_ext
60059 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
60060 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
60062 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
60064 cat >>confdefs.h <<\_ACEOF
60065 #define HAVE___BUILTIN_SQRT 1
60066 _ACEOF
60073 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
60074 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
60075 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
60076 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
60077 echo $ECHO_N "(cached) $ECHO_C" >&6
60078 else
60082 ac_ext=cc
60083 ac_cpp='$CXXCPP $CPPFLAGS'
60084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60088 cat >conftest.$ac_ext <<_ACEOF
60089 /* confdefs.h. */
60090 _ACEOF
60091 cat confdefs.h >>conftest.$ac_ext
60092 cat >>conftest.$ac_ext <<_ACEOF
60093 /* end confdefs.h. */
60094 #include <math.h>
60096 main ()
60098 __builtin_sqrtl(0);
60100 return 0;
60102 _ACEOF
60103 rm -f conftest.$ac_objext
60104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60105 (eval $ac_compile) 2>conftest.er1
60106 ac_status=$?
60107 grep -v '^ *+' conftest.er1 >conftest.err
60108 rm -f conftest.er1
60109 cat conftest.err >&5
60110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60111 (exit $ac_status); } &&
60112 { ac_try='test -z "$ac_cxx_werror_flag"
60113 || test ! -s conftest.err'
60114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60115 (eval $ac_try) 2>&5
60116 ac_status=$?
60117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60118 (exit $ac_status); }; } &&
60119 { ac_try='test -s conftest.$ac_objext'
60120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60121 (eval $ac_try) 2>&5
60122 ac_status=$?
60123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60124 (exit $ac_status); }; }; then
60125 glibcxx_cv_func___builtin_sqrtl_use=yes
60126 else
60127 echo "$as_me: failed program was:" >&5
60128 sed 's/^/| /' conftest.$ac_ext >&5
60130 glibcxx_cv_func___builtin_sqrtl_use=no
60132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60133 ac_ext=c
60134 ac_cpp='$CPP $CPPFLAGS'
60135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60143 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
60144 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
60145 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
60146 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
60147 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
60148 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
60149 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
60150 echo $ECHO_N "(cached) $ECHO_C" >&6
60151 else
60153 if test x$gcc_no_link = xyes; then
60154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60156 { (exit 1); exit 1; }; }
60158 cat >conftest.$ac_ext <<_ACEOF
60159 /* confdefs.h. */
60160 _ACEOF
60161 cat confdefs.h >>conftest.$ac_ext
60162 cat >>conftest.$ac_ext <<_ACEOF
60163 /* end confdefs.h. */
60164 #include <math.h>
60166 main ()
60168 __builtin_sqrtl(0);
60170 return 0;
60172 _ACEOF
60173 rm -f conftest.$ac_objext conftest$ac_exeext
60174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60175 (eval $ac_link) 2>conftest.er1
60176 ac_status=$?
60177 grep -v '^ *+' conftest.er1 >conftest.err
60178 rm -f conftest.er1
60179 cat conftest.err >&5
60180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60181 (exit $ac_status); } &&
60182 { ac_try='test -z "$ac_c_werror_flag"
60183 || test ! -s conftest.err'
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); }; } &&
60189 { ac_try='test -s conftest$ac_exeext'
60190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60191 (eval $ac_try) 2>&5
60192 ac_status=$?
60193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60194 (exit $ac_status); }; }; then
60195 glibcxx_cv_func___builtin_sqrtl_link=yes
60196 else
60197 echo "$as_me: failed program was:" >&5
60198 sed 's/^/| /' conftest.$ac_ext >&5
60200 glibcxx_cv_func___builtin_sqrtl_link=no
60202 rm -f conftest.err conftest.$ac_objext \
60203 conftest$ac_exeext conftest.$ac_ext
60208 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
60209 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
60211 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
60213 cat >>confdefs.h <<\_ACEOF
60214 #define HAVE___BUILTIN_SQRTL 1
60215 _ACEOF
60223 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
60224 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
60225 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
60226 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
60227 echo $ECHO_N "(cached) $ECHO_C" >&6
60228 else
60232 ac_ext=cc
60233 ac_cpp='$CXXCPP $CPPFLAGS'
60234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60238 cat >conftest.$ac_ext <<_ACEOF
60239 /* confdefs.h. */
60240 _ACEOF
60241 cat confdefs.h >>conftest.$ac_ext
60242 cat >>conftest.$ac_ext <<_ACEOF
60243 /* end confdefs.h. */
60244 #include <math.h>
60246 main ()
60248 __builtin_sinf(0);
60250 return 0;
60252 _ACEOF
60253 rm -f conftest.$ac_objext
60254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60255 (eval $ac_compile) 2>conftest.er1
60256 ac_status=$?
60257 grep -v '^ *+' conftest.er1 >conftest.err
60258 rm -f conftest.er1
60259 cat conftest.err >&5
60260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60261 (exit $ac_status); } &&
60262 { ac_try='test -z "$ac_cxx_werror_flag"
60263 || test ! -s conftest.err'
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); }; } &&
60269 { ac_try='test -s conftest.$ac_objext'
60270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60271 (eval $ac_try) 2>&5
60272 ac_status=$?
60273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60274 (exit $ac_status); }; }; then
60275 glibcxx_cv_func___builtin_sinf_use=yes
60276 else
60277 echo "$as_me: failed program was:" >&5
60278 sed 's/^/| /' conftest.$ac_ext >&5
60280 glibcxx_cv_func___builtin_sinf_use=no
60282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60283 ac_ext=c
60284 ac_cpp='$CPP $CPPFLAGS'
60285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60293 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
60294 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
60295 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
60296 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
60297 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
60298 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
60299 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
60300 echo $ECHO_N "(cached) $ECHO_C" >&6
60301 else
60303 if test x$gcc_no_link = xyes; then
60304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60306 { (exit 1); exit 1; }; }
60308 cat >conftest.$ac_ext <<_ACEOF
60309 /* confdefs.h. */
60310 _ACEOF
60311 cat confdefs.h >>conftest.$ac_ext
60312 cat >>conftest.$ac_ext <<_ACEOF
60313 /* end confdefs.h. */
60314 #include <math.h>
60316 main ()
60318 __builtin_sinf(0);
60320 return 0;
60322 _ACEOF
60323 rm -f conftest.$ac_objext conftest$ac_exeext
60324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60325 (eval $ac_link) 2>conftest.er1
60326 ac_status=$?
60327 grep -v '^ *+' conftest.er1 >conftest.err
60328 rm -f conftest.er1
60329 cat conftest.err >&5
60330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60331 (exit $ac_status); } &&
60332 { ac_try='test -z "$ac_c_werror_flag"
60333 || test ! -s conftest.err'
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); }; } &&
60339 { ac_try='test -s conftest$ac_exeext'
60340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60341 (eval $ac_try) 2>&5
60342 ac_status=$?
60343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60344 (exit $ac_status); }; }; then
60345 glibcxx_cv_func___builtin_sinf_link=yes
60346 else
60347 echo "$as_me: failed program was:" >&5
60348 sed 's/^/| /' conftest.$ac_ext >&5
60350 glibcxx_cv_func___builtin_sinf_link=no
60352 rm -f conftest.err conftest.$ac_objext \
60353 conftest$ac_exeext conftest.$ac_ext
60358 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
60359 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
60361 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
60363 cat >>confdefs.h <<\_ACEOF
60364 #define HAVE___BUILTIN_SINF 1
60365 _ACEOF
60372 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
60373 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
60374 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
60375 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
60376 echo $ECHO_N "(cached) $ECHO_C" >&6
60377 else
60381 ac_ext=cc
60382 ac_cpp='$CXXCPP $CPPFLAGS'
60383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60387 cat >conftest.$ac_ext <<_ACEOF
60388 /* confdefs.h. */
60389 _ACEOF
60390 cat confdefs.h >>conftest.$ac_ext
60391 cat >>conftest.$ac_ext <<_ACEOF
60392 /* end confdefs.h. */
60393 #include <math.h>
60395 main ()
60397 __builtin_sin(0);
60399 return 0;
60401 _ACEOF
60402 rm -f conftest.$ac_objext
60403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60404 (eval $ac_compile) 2>conftest.er1
60405 ac_status=$?
60406 grep -v '^ *+' conftest.er1 >conftest.err
60407 rm -f conftest.er1
60408 cat conftest.err >&5
60409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60410 (exit $ac_status); } &&
60411 { ac_try='test -z "$ac_cxx_werror_flag"
60412 || test ! -s conftest.err'
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); }; } &&
60418 { ac_try='test -s conftest.$ac_objext'
60419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60420 (eval $ac_try) 2>&5
60421 ac_status=$?
60422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60423 (exit $ac_status); }; }; then
60424 glibcxx_cv_func___builtin_sin_use=yes
60425 else
60426 echo "$as_me: failed program was:" >&5
60427 sed 's/^/| /' conftest.$ac_ext >&5
60429 glibcxx_cv_func___builtin_sin_use=no
60431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60432 ac_ext=c
60433 ac_cpp='$CPP $CPPFLAGS'
60434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60442 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
60443 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
60444 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
60445 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
60446 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
60447 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
60448 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
60449 echo $ECHO_N "(cached) $ECHO_C" >&6
60450 else
60452 if test x$gcc_no_link = xyes; then
60453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60455 { (exit 1); exit 1; }; }
60457 cat >conftest.$ac_ext <<_ACEOF
60458 /* confdefs.h. */
60459 _ACEOF
60460 cat confdefs.h >>conftest.$ac_ext
60461 cat >>conftest.$ac_ext <<_ACEOF
60462 /* end confdefs.h. */
60463 #include <math.h>
60465 main ()
60467 __builtin_sin(0);
60469 return 0;
60471 _ACEOF
60472 rm -f conftest.$ac_objext conftest$ac_exeext
60473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60474 (eval $ac_link) 2>conftest.er1
60475 ac_status=$?
60476 grep -v '^ *+' conftest.er1 >conftest.err
60477 rm -f conftest.er1
60478 cat conftest.err >&5
60479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60480 (exit $ac_status); } &&
60481 { ac_try='test -z "$ac_c_werror_flag"
60482 || test ! -s conftest.err'
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); }; } &&
60488 { ac_try='test -s conftest$ac_exeext'
60489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60490 (eval $ac_try) 2>&5
60491 ac_status=$?
60492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60493 (exit $ac_status); }; }; then
60494 glibcxx_cv_func___builtin_sin_link=yes
60495 else
60496 echo "$as_me: failed program was:" >&5
60497 sed 's/^/| /' conftest.$ac_ext >&5
60499 glibcxx_cv_func___builtin_sin_link=no
60501 rm -f conftest.err conftest.$ac_objext \
60502 conftest$ac_exeext conftest.$ac_ext
60507 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
60508 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
60510 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
60512 cat >>confdefs.h <<\_ACEOF
60513 #define HAVE___BUILTIN_SIN 1
60514 _ACEOF
60521 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
60522 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
60523 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
60524 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
60525 echo $ECHO_N "(cached) $ECHO_C" >&6
60526 else
60530 ac_ext=cc
60531 ac_cpp='$CXXCPP $CPPFLAGS'
60532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60536 cat >conftest.$ac_ext <<_ACEOF
60537 /* confdefs.h. */
60538 _ACEOF
60539 cat confdefs.h >>conftest.$ac_ext
60540 cat >>conftest.$ac_ext <<_ACEOF
60541 /* end confdefs.h. */
60542 #include <math.h>
60544 main ()
60546 __builtin_sinl(0);
60548 return 0;
60550 _ACEOF
60551 rm -f conftest.$ac_objext
60552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60553 (eval $ac_compile) 2>conftest.er1
60554 ac_status=$?
60555 grep -v '^ *+' conftest.er1 >conftest.err
60556 rm -f conftest.er1
60557 cat conftest.err >&5
60558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60559 (exit $ac_status); } &&
60560 { ac_try='test -z "$ac_cxx_werror_flag"
60561 || test ! -s conftest.err'
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); }; } &&
60567 { ac_try='test -s conftest.$ac_objext'
60568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60569 (eval $ac_try) 2>&5
60570 ac_status=$?
60571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60572 (exit $ac_status); }; }; then
60573 glibcxx_cv_func___builtin_sinl_use=yes
60574 else
60575 echo "$as_me: failed program was:" >&5
60576 sed 's/^/| /' conftest.$ac_ext >&5
60578 glibcxx_cv_func___builtin_sinl_use=no
60580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60581 ac_ext=c
60582 ac_cpp='$CPP $CPPFLAGS'
60583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60591 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
60592 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
60593 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
60594 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
60595 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
60596 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
60597 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
60598 echo $ECHO_N "(cached) $ECHO_C" >&6
60599 else
60601 if test x$gcc_no_link = xyes; then
60602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60604 { (exit 1); exit 1; }; }
60606 cat >conftest.$ac_ext <<_ACEOF
60607 /* confdefs.h. */
60608 _ACEOF
60609 cat confdefs.h >>conftest.$ac_ext
60610 cat >>conftest.$ac_ext <<_ACEOF
60611 /* end confdefs.h. */
60612 #include <math.h>
60614 main ()
60616 __builtin_sinl(0);
60618 return 0;
60620 _ACEOF
60621 rm -f conftest.$ac_objext conftest$ac_exeext
60622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60623 (eval $ac_link) 2>conftest.er1
60624 ac_status=$?
60625 grep -v '^ *+' conftest.er1 >conftest.err
60626 rm -f conftest.er1
60627 cat conftest.err >&5
60628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60629 (exit $ac_status); } &&
60630 { ac_try='test -z "$ac_c_werror_flag"
60631 || test ! -s conftest.err'
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); }; } &&
60637 { ac_try='test -s conftest$ac_exeext'
60638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60639 (eval $ac_try) 2>&5
60640 ac_status=$?
60641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60642 (exit $ac_status); }; }; then
60643 glibcxx_cv_func___builtin_sinl_link=yes
60644 else
60645 echo "$as_me: failed program was:" >&5
60646 sed 's/^/| /' conftest.$ac_ext >&5
60648 glibcxx_cv_func___builtin_sinl_link=no
60650 rm -f conftest.err conftest.$ac_objext \
60651 conftest$ac_exeext conftest.$ac_ext
60656 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
60657 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
60659 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
60661 cat >>confdefs.h <<\_ACEOF
60662 #define HAVE___BUILTIN_SINL 1
60663 _ACEOF
60671 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
60672 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
60673 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
60674 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
60675 echo $ECHO_N "(cached) $ECHO_C" >&6
60676 else
60680 ac_ext=cc
60681 ac_cpp='$CXXCPP $CPPFLAGS'
60682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60686 cat >conftest.$ac_ext <<_ACEOF
60687 /* confdefs.h. */
60688 _ACEOF
60689 cat confdefs.h >>conftest.$ac_ext
60690 cat >>conftest.$ac_ext <<_ACEOF
60691 /* end confdefs.h. */
60692 #include <math.h>
60694 main ()
60696 __builtin_cosf(0);
60698 return 0;
60700 _ACEOF
60701 rm -f conftest.$ac_objext
60702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60703 (eval $ac_compile) 2>conftest.er1
60704 ac_status=$?
60705 grep -v '^ *+' conftest.er1 >conftest.err
60706 rm -f conftest.er1
60707 cat conftest.err >&5
60708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60709 (exit $ac_status); } &&
60710 { ac_try='test -z "$ac_cxx_werror_flag"
60711 || test ! -s conftest.err'
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); }; } &&
60717 { ac_try='test -s conftest.$ac_objext'
60718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60719 (eval $ac_try) 2>&5
60720 ac_status=$?
60721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60722 (exit $ac_status); }; }; then
60723 glibcxx_cv_func___builtin_cosf_use=yes
60724 else
60725 echo "$as_me: failed program was:" >&5
60726 sed 's/^/| /' conftest.$ac_ext >&5
60728 glibcxx_cv_func___builtin_cosf_use=no
60730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60731 ac_ext=c
60732 ac_cpp='$CPP $CPPFLAGS'
60733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60741 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
60742 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
60743 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
60744 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
60745 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
60746 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
60747 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
60748 echo $ECHO_N "(cached) $ECHO_C" >&6
60749 else
60751 if test x$gcc_no_link = xyes; then
60752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60754 { (exit 1); exit 1; }; }
60756 cat >conftest.$ac_ext <<_ACEOF
60757 /* confdefs.h. */
60758 _ACEOF
60759 cat confdefs.h >>conftest.$ac_ext
60760 cat >>conftest.$ac_ext <<_ACEOF
60761 /* end confdefs.h. */
60762 #include <math.h>
60764 main ()
60766 __builtin_cosf(0);
60768 return 0;
60770 _ACEOF
60771 rm -f conftest.$ac_objext conftest$ac_exeext
60772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60773 (eval $ac_link) 2>conftest.er1
60774 ac_status=$?
60775 grep -v '^ *+' conftest.er1 >conftest.err
60776 rm -f conftest.er1
60777 cat conftest.err >&5
60778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60779 (exit $ac_status); } &&
60780 { ac_try='test -z "$ac_c_werror_flag"
60781 || test ! -s conftest.err'
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); }; } &&
60787 { ac_try='test -s conftest$ac_exeext'
60788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60789 (eval $ac_try) 2>&5
60790 ac_status=$?
60791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60792 (exit $ac_status); }; }; then
60793 glibcxx_cv_func___builtin_cosf_link=yes
60794 else
60795 echo "$as_me: failed program was:" >&5
60796 sed 's/^/| /' conftest.$ac_ext >&5
60798 glibcxx_cv_func___builtin_cosf_link=no
60800 rm -f conftest.err conftest.$ac_objext \
60801 conftest$ac_exeext conftest.$ac_ext
60806 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
60807 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
60809 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
60811 cat >>confdefs.h <<\_ACEOF
60812 #define HAVE___BUILTIN_COSF 1
60813 _ACEOF
60820 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
60821 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
60822 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
60823 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
60824 echo $ECHO_N "(cached) $ECHO_C" >&6
60825 else
60829 ac_ext=cc
60830 ac_cpp='$CXXCPP $CPPFLAGS'
60831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60835 cat >conftest.$ac_ext <<_ACEOF
60836 /* confdefs.h. */
60837 _ACEOF
60838 cat confdefs.h >>conftest.$ac_ext
60839 cat >>conftest.$ac_ext <<_ACEOF
60840 /* end confdefs.h. */
60841 #include <math.h>
60843 main ()
60845 __builtin_cos(0);
60847 return 0;
60849 _ACEOF
60850 rm -f conftest.$ac_objext
60851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60852 (eval $ac_compile) 2>conftest.er1
60853 ac_status=$?
60854 grep -v '^ *+' conftest.er1 >conftest.err
60855 rm -f conftest.er1
60856 cat conftest.err >&5
60857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60858 (exit $ac_status); } &&
60859 { ac_try='test -z "$ac_cxx_werror_flag"
60860 || test ! -s conftest.err'
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); }; } &&
60866 { ac_try='test -s conftest.$ac_objext'
60867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60868 (eval $ac_try) 2>&5
60869 ac_status=$?
60870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60871 (exit $ac_status); }; }; then
60872 glibcxx_cv_func___builtin_cos_use=yes
60873 else
60874 echo "$as_me: failed program was:" >&5
60875 sed 's/^/| /' conftest.$ac_ext >&5
60877 glibcxx_cv_func___builtin_cos_use=no
60879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60880 ac_ext=c
60881 ac_cpp='$CPP $CPPFLAGS'
60882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60890 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
60891 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
60892 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
60893 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
60894 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
60895 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
60896 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
60897 echo $ECHO_N "(cached) $ECHO_C" >&6
60898 else
60900 if test x$gcc_no_link = xyes; then
60901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60903 { (exit 1); exit 1; }; }
60905 cat >conftest.$ac_ext <<_ACEOF
60906 /* confdefs.h. */
60907 _ACEOF
60908 cat confdefs.h >>conftest.$ac_ext
60909 cat >>conftest.$ac_ext <<_ACEOF
60910 /* end confdefs.h. */
60911 #include <math.h>
60913 main ()
60915 __builtin_cos(0);
60917 return 0;
60919 _ACEOF
60920 rm -f conftest.$ac_objext conftest$ac_exeext
60921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60922 (eval $ac_link) 2>conftest.er1
60923 ac_status=$?
60924 grep -v '^ *+' conftest.er1 >conftest.err
60925 rm -f conftest.er1
60926 cat conftest.err >&5
60927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60928 (exit $ac_status); } &&
60929 { ac_try='test -z "$ac_c_werror_flag"
60930 || test ! -s conftest.err'
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); }; } &&
60936 { ac_try='test -s conftest$ac_exeext'
60937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60938 (eval $ac_try) 2>&5
60939 ac_status=$?
60940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60941 (exit $ac_status); }; }; then
60942 glibcxx_cv_func___builtin_cos_link=yes
60943 else
60944 echo "$as_me: failed program was:" >&5
60945 sed 's/^/| /' conftest.$ac_ext >&5
60947 glibcxx_cv_func___builtin_cos_link=no
60949 rm -f conftest.err conftest.$ac_objext \
60950 conftest$ac_exeext conftest.$ac_ext
60955 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
60956 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
60958 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
60960 cat >>confdefs.h <<\_ACEOF
60961 #define HAVE___BUILTIN_COS 1
60962 _ACEOF
60969 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
60970 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
60971 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
60972 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
60973 echo $ECHO_N "(cached) $ECHO_C" >&6
60974 else
60978 ac_ext=cc
60979 ac_cpp='$CXXCPP $CPPFLAGS'
60980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60984 cat >conftest.$ac_ext <<_ACEOF
60985 /* confdefs.h. */
60986 _ACEOF
60987 cat confdefs.h >>conftest.$ac_ext
60988 cat >>conftest.$ac_ext <<_ACEOF
60989 /* end confdefs.h. */
60990 #include <math.h>
60992 main ()
60994 __builtin_cosl(0);
60996 return 0;
60998 _ACEOF
60999 rm -f conftest.$ac_objext
61000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61001 (eval $ac_compile) 2>conftest.er1
61002 ac_status=$?
61003 grep -v '^ *+' conftest.er1 >conftest.err
61004 rm -f conftest.er1
61005 cat conftest.err >&5
61006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61007 (exit $ac_status); } &&
61008 { ac_try='test -z "$ac_cxx_werror_flag"
61009 || test ! -s conftest.err'
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); }; } &&
61015 { ac_try='test -s conftest.$ac_objext'
61016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61017 (eval $ac_try) 2>&5
61018 ac_status=$?
61019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61020 (exit $ac_status); }; }; then
61021 glibcxx_cv_func___builtin_cosl_use=yes
61022 else
61023 echo "$as_me: failed program was:" >&5
61024 sed 's/^/| /' conftest.$ac_ext >&5
61026 glibcxx_cv_func___builtin_cosl_use=no
61028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61029 ac_ext=c
61030 ac_cpp='$CPP $CPPFLAGS'
61031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61039 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
61040 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
61041 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
61042 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
61043 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
61044 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
61045 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
61046 echo $ECHO_N "(cached) $ECHO_C" >&6
61047 else
61049 if test x$gcc_no_link = xyes; then
61050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61052 { (exit 1); exit 1; }; }
61054 cat >conftest.$ac_ext <<_ACEOF
61055 /* confdefs.h. */
61056 _ACEOF
61057 cat confdefs.h >>conftest.$ac_ext
61058 cat >>conftest.$ac_ext <<_ACEOF
61059 /* end confdefs.h. */
61060 #include <math.h>
61062 main ()
61064 __builtin_cosl(0);
61066 return 0;
61068 _ACEOF
61069 rm -f conftest.$ac_objext conftest$ac_exeext
61070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61071 (eval $ac_link) 2>conftest.er1
61072 ac_status=$?
61073 grep -v '^ *+' conftest.er1 >conftest.err
61074 rm -f conftest.er1
61075 cat conftest.err >&5
61076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61077 (exit $ac_status); } &&
61078 { ac_try='test -z "$ac_c_werror_flag"
61079 || test ! -s conftest.err'
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); }; } &&
61085 { ac_try='test -s conftest$ac_exeext'
61086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61087 (eval $ac_try) 2>&5
61088 ac_status=$?
61089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61090 (exit $ac_status); }; }; then
61091 glibcxx_cv_func___builtin_cosl_link=yes
61092 else
61093 echo "$as_me: failed program was:" >&5
61094 sed 's/^/| /' conftest.$ac_ext >&5
61096 glibcxx_cv_func___builtin_cosl_link=no
61098 rm -f conftest.err conftest.$ac_objext \
61099 conftest$ac_exeext conftest.$ac_ext
61104 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
61105 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
61107 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
61109 cat >>confdefs.h <<\_ACEOF
61110 #define HAVE___BUILTIN_COSL 1
61111 _ACEOF
61120 echo "$as_me:$LINENO: checking for main in -lm" >&5
61121 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
61122 if test "${ac_cv_lib_m_main+set}" = set; then
61123 echo $ECHO_N "(cached) $ECHO_C" >&6
61124 else
61125 ac_check_lib_save_LIBS=$LIBS
61126 LIBS="-lm $LIBS"
61127 if test x$gcc_no_link = xyes; then
61128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61130 { (exit 1); exit 1; }; }
61132 cat >conftest.$ac_ext <<_ACEOF
61133 /* confdefs.h. */
61134 _ACEOF
61135 cat confdefs.h >>conftest.$ac_ext
61136 cat >>conftest.$ac_ext <<_ACEOF
61137 /* end confdefs.h. */
61141 main ()
61143 main ();
61145 return 0;
61147 _ACEOF
61148 rm -f conftest.$ac_objext conftest$ac_exeext
61149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61150 (eval $ac_link) 2>conftest.er1
61151 ac_status=$?
61152 grep -v '^ *+' conftest.er1 >conftest.err
61153 rm -f conftest.er1
61154 cat conftest.err >&5
61155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61156 (exit $ac_status); } &&
61157 { ac_try='test -z "$ac_c_werror_flag"
61158 || test ! -s conftest.err'
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); }; } &&
61164 { ac_try='test -s conftest$ac_exeext'
61165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61166 (eval $ac_try) 2>&5
61167 ac_status=$?
61168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61169 (exit $ac_status); }; }; then
61170 ac_cv_lib_m_main=yes
61171 else
61172 echo "$as_me: failed program was:" >&5
61173 sed 's/^/| /' conftest.$ac_ext >&5
61175 ac_cv_lib_m_main=no
61177 rm -f conftest.err conftest.$ac_objext \
61178 conftest$ac_exeext conftest.$ac_ext
61179 LIBS=$ac_check_lib_save_LIBS
61181 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
61182 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
61183 if test $ac_cv_lib_m_main = yes; then
61184 cat >>confdefs.h <<_ACEOF
61185 #define HAVE_LIBM 1
61186 _ACEOF
61188 LIBS="-lm $LIBS"
61193 for ac_func in copysignf
61195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61196 echo "$as_me:$LINENO: checking for $ac_func" >&5
61197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61198 if eval "test \"\${$as_ac_var+set}\" = set"; then
61199 echo $ECHO_N "(cached) $ECHO_C" >&6
61200 else
61201 if test x$gcc_no_link = xyes; then
61202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61204 { (exit 1); exit 1; }; }
61206 cat >conftest.$ac_ext <<_ACEOF
61207 /* confdefs.h. */
61208 _ACEOF
61209 cat confdefs.h >>conftest.$ac_ext
61210 cat >>conftest.$ac_ext <<_ACEOF
61211 /* end confdefs.h. */
61212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61214 #define $ac_func innocuous_$ac_func
61216 /* System header to define __stub macros and hopefully few prototypes,
61217 which can conflict with char $ac_func (); below.
61218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61219 <limits.h> exists even on freestanding compilers. */
61221 #ifdef __STDC__
61222 # include <limits.h>
61223 #else
61224 # include <assert.h>
61225 #endif
61227 #undef $ac_func
61229 /* Override any gcc2 internal prototype to avoid an error. */
61230 #ifdef __cplusplus
61231 extern "C"
61233 #endif
61234 /* We use char because int might match the return type of a gcc2
61235 builtin and then its argument prototype would still apply. */
61236 char $ac_func ();
61237 /* The GNU C library defines this for functions which it implements
61238 to always fail with ENOSYS. Some functions are actually named
61239 something starting with __ and the normal name is an alias. */
61240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61241 choke me
61242 #else
61243 char (*f) () = $ac_func;
61244 #endif
61245 #ifdef __cplusplus
61247 #endif
61250 main ()
61252 return f != $ac_func;
61254 return 0;
61256 _ACEOF
61257 rm -f conftest.$ac_objext conftest$ac_exeext
61258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61259 (eval $ac_link) 2>conftest.er1
61260 ac_status=$?
61261 grep -v '^ *+' conftest.er1 >conftest.err
61262 rm -f conftest.er1
61263 cat conftest.err >&5
61264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61265 (exit $ac_status); } &&
61266 { ac_try='test -z "$ac_c_werror_flag"
61267 || test ! -s conftest.err'
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); }; } &&
61273 { ac_try='test -s conftest$ac_exeext'
61274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61275 (eval $ac_try) 2>&5
61276 ac_status=$?
61277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61278 (exit $ac_status); }; }; then
61279 eval "$as_ac_var=yes"
61280 else
61281 echo "$as_me: failed program was:" >&5
61282 sed 's/^/| /' conftest.$ac_ext >&5
61284 eval "$as_ac_var=no"
61286 rm -f conftest.err conftest.$ac_objext \
61287 conftest$ac_exeext conftest.$ac_ext
61289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61291 if test `eval echo '${'$as_ac_var'}'` = yes; then
61292 cat >>confdefs.h <<_ACEOF
61293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61294 _ACEOF
61296 else
61297 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
61299 done
61303 for ac_func in __signbit
61305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61306 echo "$as_me:$LINENO: checking for $ac_func" >&5
61307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61308 if eval "test \"\${$as_ac_var+set}\" = set"; then
61309 echo $ECHO_N "(cached) $ECHO_C" >&6
61310 else
61311 if test x$gcc_no_link = xyes; then
61312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61314 { (exit 1); exit 1; }; }
61316 cat >conftest.$ac_ext <<_ACEOF
61317 /* confdefs.h. */
61318 _ACEOF
61319 cat confdefs.h >>conftest.$ac_ext
61320 cat >>conftest.$ac_ext <<_ACEOF
61321 /* end confdefs.h. */
61322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61324 #define $ac_func innocuous_$ac_func
61326 /* System header to define __stub macros and hopefully few prototypes,
61327 which can conflict with char $ac_func (); below.
61328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61329 <limits.h> exists even on freestanding compilers. */
61331 #ifdef __STDC__
61332 # include <limits.h>
61333 #else
61334 # include <assert.h>
61335 #endif
61337 #undef $ac_func
61339 /* Override any gcc2 internal prototype to avoid an error. */
61340 #ifdef __cplusplus
61341 extern "C"
61343 #endif
61344 /* We use char because int might match the return type of a gcc2
61345 builtin and then its argument prototype would still apply. */
61346 char $ac_func ();
61347 /* The GNU C library defines this for functions which it implements
61348 to always fail with ENOSYS. Some functions are actually named
61349 something starting with __ and the normal name is an alias. */
61350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61351 choke me
61352 #else
61353 char (*f) () = $ac_func;
61354 #endif
61355 #ifdef __cplusplus
61357 #endif
61360 main ()
61362 return f != $ac_func;
61364 return 0;
61366 _ACEOF
61367 rm -f conftest.$ac_objext conftest$ac_exeext
61368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61369 (eval $ac_link) 2>conftest.er1
61370 ac_status=$?
61371 grep -v '^ *+' conftest.er1 >conftest.err
61372 rm -f conftest.er1
61373 cat conftest.err >&5
61374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61375 (exit $ac_status); } &&
61376 { ac_try='test -z "$ac_c_werror_flag"
61377 || test ! -s conftest.err'
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); }; } &&
61383 { ac_try='test -s conftest$ac_exeext'
61384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61385 (eval $ac_try) 2>&5
61386 ac_status=$?
61387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61388 (exit $ac_status); }; }; then
61389 eval "$as_ac_var=yes"
61390 else
61391 echo "$as_me: failed program was:" >&5
61392 sed 's/^/| /' conftest.$ac_ext >&5
61394 eval "$as_ac_var=no"
61396 rm -f conftest.err conftest.$ac_objext \
61397 conftest$ac_exeext conftest.$ac_ext
61399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61401 if test `eval echo '${'$as_ac_var'}'` = yes; then
61402 cat >>confdefs.h <<_ACEOF
61403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61404 _ACEOF
61406 else
61407 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
61409 done
61413 for ac_func in __signbitf
61415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61416 echo "$as_me:$LINENO: checking for $ac_func" >&5
61417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61418 if eval "test \"\${$as_ac_var+set}\" = set"; then
61419 echo $ECHO_N "(cached) $ECHO_C" >&6
61420 else
61421 if test x$gcc_no_link = xyes; then
61422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61424 { (exit 1); exit 1; }; }
61426 cat >conftest.$ac_ext <<_ACEOF
61427 /* confdefs.h. */
61428 _ACEOF
61429 cat confdefs.h >>conftest.$ac_ext
61430 cat >>conftest.$ac_ext <<_ACEOF
61431 /* end confdefs.h. */
61432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61434 #define $ac_func innocuous_$ac_func
61436 /* System header to define __stub macros and hopefully few prototypes,
61437 which can conflict with char $ac_func (); below.
61438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61439 <limits.h> exists even on freestanding compilers. */
61441 #ifdef __STDC__
61442 # include <limits.h>
61443 #else
61444 # include <assert.h>
61445 #endif
61447 #undef $ac_func
61449 /* Override any gcc2 internal prototype to avoid an error. */
61450 #ifdef __cplusplus
61451 extern "C"
61453 #endif
61454 /* We use char because int might match the return type of a gcc2
61455 builtin and then its argument prototype would still apply. */
61456 char $ac_func ();
61457 /* The GNU C library defines this for functions which it implements
61458 to always fail with ENOSYS. Some functions are actually named
61459 something starting with __ and the normal name is an alias. */
61460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61461 choke me
61462 #else
61463 char (*f) () = $ac_func;
61464 #endif
61465 #ifdef __cplusplus
61467 #endif
61470 main ()
61472 return f != $ac_func;
61474 return 0;
61476 _ACEOF
61477 rm -f conftest.$ac_objext conftest$ac_exeext
61478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61479 (eval $ac_link) 2>conftest.er1
61480 ac_status=$?
61481 grep -v '^ *+' conftest.er1 >conftest.err
61482 rm -f conftest.er1
61483 cat conftest.err >&5
61484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61485 (exit $ac_status); } &&
61486 { ac_try='test -z "$ac_c_werror_flag"
61487 || test ! -s conftest.err'
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); }; } &&
61493 { ac_try='test -s conftest$ac_exeext'
61494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61495 (eval $ac_try) 2>&5
61496 ac_status=$?
61497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61498 (exit $ac_status); }; }; then
61499 eval "$as_ac_var=yes"
61500 else
61501 echo "$as_me: failed program was:" >&5
61502 sed 's/^/| /' conftest.$ac_ext >&5
61504 eval "$as_ac_var=no"
61506 rm -f conftest.err conftest.$ac_objext \
61507 conftest$ac_exeext conftest.$ac_ext
61509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61511 if test `eval echo '${'$as_ac_var'}'` = yes; then
61512 cat >>confdefs.h <<_ACEOF
61513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61514 _ACEOF
61516 else
61517 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
61519 done
61522 if test x$ac_cv_func_copysignl = x"yes"; then
61524 for ac_func in __signbitl
61526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61527 echo "$as_me:$LINENO: checking for $ac_func" >&5
61528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61529 if eval "test \"\${$as_ac_var+set}\" = set"; then
61530 echo $ECHO_N "(cached) $ECHO_C" >&6
61531 else
61532 if test x$gcc_no_link = xyes; then
61533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61535 { (exit 1); exit 1; }; }
61537 cat >conftest.$ac_ext <<_ACEOF
61538 /* confdefs.h. */
61539 _ACEOF
61540 cat confdefs.h >>conftest.$ac_ext
61541 cat >>conftest.$ac_ext <<_ACEOF
61542 /* end confdefs.h. */
61543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61545 #define $ac_func innocuous_$ac_func
61547 /* System header to define __stub macros and hopefully few prototypes,
61548 which can conflict with char $ac_func (); below.
61549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61550 <limits.h> exists even on freestanding compilers. */
61552 #ifdef __STDC__
61553 # include <limits.h>
61554 #else
61555 # include <assert.h>
61556 #endif
61558 #undef $ac_func
61560 /* Override any gcc2 internal prototype to avoid an error. */
61561 #ifdef __cplusplus
61562 extern "C"
61564 #endif
61565 /* We use char because int might match the return type of a gcc2
61566 builtin and then its argument prototype would still apply. */
61567 char $ac_func ();
61568 /* The GNU C library defines this for functions which it implements
61569 to always fail with ENOSYS. Some functions are actually named
61570 something starting with __ and the normal name is an alias. */
61571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61572 choke me
61573 #else
61574 char (*f) () = $ac_func;
61575 #endif
61576 #ifdef __cplusplus
61578 #endif
61581 main ()
61583 return f != $ac_func;
61585 return 0;
61587 _ACEOF
61588 rm -f conftest.$ac_objext conftest$ac_exeext
61589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61590 (eval $ac_link) 2>conftest.er1
61591 ac_status=$?
61592 grep -v '^ *+' conftest.er1 >conftest.err
61593 rm -f conftest.er1
61594 cat conftest.err >&5
61595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61596 (exit $ac_status); } &&
61597 { ac_try='test -z "$ac_c_werror_flag"
61598 || test ! -s conftest.err'
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); }; } &&
61604 { ac_try='test -s conftest$ac_exeext'
61605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61606 (eval $ac_try) 2>&5
61607 ac_status=$?
61608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61609 (exit $ac_status); }; }; then
61610 eval "$as_ac_var=yes"
61611 else
61612 echo "$as_me: failed program was:" >&5
61613 sed 's/^/| /' conftest.$ac_ext >&5
61615 eval "$as_ac_var=no"
61617 rm -f conftest.err conftest.$ac_objext \
61618 conftest$ac_exeext conftest.$ac_ext
61620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61622 if test `eval echo '${'$as_ac_var'}'` = yes; then
61623 cat >>confdefs.h <<_ACEOF
61624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61625 _ACEOF
61627 else
61628 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
61630 done
61634 # Used in libmath/Makefile.am.
61635 if test -n "$LIBMATHOBJS"; then
61636 need_libmath=yes
61641 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61642 ac_save_CXXFLAGS="$CXXFLAGS"
61643 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61646 echo "$as_me:$LINENO: checking for strtold declaration" >&5
61647 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
61648 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
61649 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
61650 echo $ECHO_N "(cached) $ECHO_C" >&6
61651 else
61655 ac_ext=cc
61656 ac_cpp='$CXXCPP $CPPFLAGS'
61657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61661 cat >conftest.$ac_ext <<_ACEOF
61662 /* confdefs.h. */
61663 _ACEOF
61664 cat confdefs.h >>conftest.$ac_ext
61665 cat >>conftest.$ac_ext <<_ACEOF
61666 /* end confdefs.h. */
61667 #include <stdlib.h>
61669 main ()
61671 strtold(0, 0);
61673 return 0;
61675 _ACEOF
61676 rm -f conftest.$ac_objext
61677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61678 (eval $ac_compile) 2>conftest.er1
61679 ac_status=$?
61680 grep -v '^ *+' conftest.er1 >conftest.err
61681 rm -f conftest.er1
61682 cat conftest.err >&5
61683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61684 (exit $ac_status); } &&
61685 { ac_try='test -z "$ac_cxx_werror_flag"
61686 || test ! -s conftest.err'
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); }; } &&
61692 { ac_try='test -s conftest.$ac_objext'
61693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61694 (eval $ac_try) 2>&5
61695 ac_status=$?
61696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61697 (exit $ac_status); }; }; then
61698 glibcxx_cv_func_strtold_use=yes
61699 else
61700 echo "$as_me: failed program was:" >&5
61701 sed 's/^/| /' conftest.$ac_ext >&5
61703 glibcxx_cv_func_strtold_use=no
61705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61706 ac_ext=c
61707 ac_cpp='$CPP $CPPFLAGS'
61708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61716 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
61717 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
61718 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
61720 for ac_func in strtold
61722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61723 echo "$as_me:$LINENO: checking for $ac_func" >&5
61724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61725 if eval "test \"\${$as_ac_var+set}\" = set"; then
61726 echo $ECHO_N "(cached) $ECHO_C" >&6
61727 else
61728 if test x$gcc_no_link = xyes; then
61729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61731 { (exit 1); exit 1; }; }
61733 cat >conftest.$ac_ext <<_ACEOF
61734 /* confdefs.h. */
61735 _ACEOF
61736 cat confdefs.h >>conftest.$ac_ext
61737 cat >>conftest.$ac_ext <<_ACEOF
61738 /* end confdefs.h. */
61739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61741 #define $ac_func innocuous_$ac_func
61743 /* System header to define __stub macros and hopefully few prototypes,
61744 which can conflict with char $ac_func (); below.
61745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61746 <limits.h> exists even on freestanding compilers. */
61748 #ifdef __STDC__
61749 # include <limits.h>
61750 #else
61751 # include <assert.h>
61752 #endif
61754 #undef $ac_func
61756 /* Override any gcc2 internal prototype to avoid an error. */
61757 #ifdef __cplusplus
61758 extern "C"
61760 #endif
61761 /* We use char because int might match the return type of a gcc2
61762 builtin and then its argument prototype would still apply. */
61763 char $ac_func ();
61764 /* The GNU C library defines this for functions which it implements
61765 to always fail with ENOSYS. Some functions are actually named
61766 something starting with __ and the normal name is an alias. */
61767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61768 choke me
61769 #else
61770 char (*f) () = $ac_func;
61771 #endif
61772 #ifdef __cplusplus
61774 #endif
61777 main ()
61779 return f != $ac_func;
61781 return 0;
61783 _ACEOF
61784 rm -f conftest.$ac_objext conftest$ac_exeext
61785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61786 (eval $ac_link) 2>conftest.er1
61787 ac_status=$?
61788 grep -v '^ *+' conftest.er1 >conftest.err
61789 rm -f conftest.er1
61790 cat conftest.err >&5
61791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61792 (exit $ac_status); } &&
61793 { ac_try='test -z "$ac_c_werror_flag"
61794 || test ! -s conftest.err'
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); }; } &&
61800 { ac_try='test -s conftest$ac_exeext'
61801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61802 (eval $ac_try) 2>&5
61803 ac_status=$?
61804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61805 (exit $ac_status); }; }; then
61806 eval "$as_ac_var=yes"
61807 else
61808 echo "$as_me: failed program was:" >&5
61809 sed 's/^/| /' conftest.$ac_ext >&5
61811 eval "$as_ac_var=no"
61813 rm -f conftest.err conftest.$ac_objext \
61814 conftest$ac_exeext conftest.$ac_ext
61816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61818 if test `eval echo '${'$as_ac_var'}'` = yes; then
61819 cat >>confdefs.h <<_ACEOF
61820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61821 _ACEOF
61824 done
61832 echo "$as_me:$LINENO: checking for strtof declaration" >&5
61833 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
61834 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
61835 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
61836 echo $ECHO_N "(cached) $ECHO_C" >&6
61837 else
61841 ac_ext=cc
61842 ac_cpp='$CXXCPP $CPPFLAGS'
61843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61847 cat >conftest.$ac_ext <<_ACEOF
61848 /* confdefs.h. */
61849 _ACEOF
61850 cat confdefs.h >>conftest.$ac_ext
61851 cat >>conftest.$ac_ext <<_ACEOF
61852 /* end confdefs.h. */
61853 #include <stdlib.h>
61855 main ()
61857 strtof(0, 0);
61859 return 0;
61861 _ACEOF
61862 rm -f conftest.$ac_objext
61863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61864 (eval $ac_compile) 2>conftest.er1
61865 ac_status=$?
61866 grep -v '^ *+' conftest.er1 >conftest.err
61867 rm -f conftest.er1
61868 cat conftest.err >&5
61869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61870 (exit $ac_status); } &&
61871 { ac_try='test -z "$ac_cxx_werror_flag"
61872 || test ! -s conftest.err'
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); }; } &&
61878 { ac_try='test -s conftest.$ac_objext'
61879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61880 (eval $ac_try) 2>&5
61881 ac_status=$?
61882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61883 (exit $ac_status); }; }; then
61884 glibcxx_cv_func_strtof_use=yes
61885 else
61886 echo "$as_me: failed program was:" >&5
61887 sed 's/^/| /' conftest.$ac_ext >&5
61889 glibcxx_cv_func_strtof_use=no
61891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61892 ac_ext=c
61893 ac_cpp='$CPP $CPPFLAGS'
61894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61902 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
61903 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
61904 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
61906 for ac_func in strtof
61908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61909 echo "$as_me:$LINENO: checking for $ac_func" >&5
61910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61911 if eval "test \"\${$as_ac_var+set}\" = set"; then
61912 echo $ECHO_N "(cached) $ECHO_C" >&6
61913 else
61914 if test x$gcc_no_link = xyes; then
61915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61917 { (exit 1); exit 1; }; }
61919 cat >conftest.$ac_ext <<_ACEOF
61920 /* confdefs.h. */
61921 _ACEOF
61922 cat confdefs.h >>conftest.$ac_ext
61923 cat >>conftest.$ac_ext <<_ACEOF
61924 /* end confdefs.h. */
61925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61927 #define $ac_func innocuous_$ac_func
61929 /* System header to define __stub macros and hopefully few prototypes,
61930 which can conflict with char $ac_func (); below.
61931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61932 <limits.h> exists even on freestanding compilers. */
61934 #ifdef __STDC__
61935 # include <limits.h>
61936 #else
61937 # include <assert.h>
61938 #endif
61940 #undef $ac_func
61942 /* Override any gcc2 internal prototype to avoid an error. */
61943 #ifdef __cplusplus
61944 extern "C"
61946 #endif
61947 /* We use char because int might match the return type of a gcc2
61948 builtin and then its argument prototype would still apply. */
61949 char $ac_func ();
61950 /* The GNU C library defines this for functions which it implements
61951 to always fail with ENOSYS. Some functions are actually named
61952 something starting with __ and the normal name is an alias. */
61953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61954 choke me
61955 #else
61956 char (*f) () = $ac_func;
61957 #endif
61958 #ifdef __cplusplus
61960 #endif
61963 main ()
61965 return f != $ac_func;
61967 return 0;
61969 _ACEOF
61970 rm -f conftest.$ac_objext conftest$ac_exeext
61971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61972 (eval $ac_link) 2>conftest.er1
61973 ac_status=$?
61974 grep -v '^ *+' conftest.er1 >conftest.err
61975 rm -f conftest.er1
61976 cat conftest.err >&5
61977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61978 (exit $ac_status); } &&
61979 { ac_try='test -z "$ac_c_werror_flag"
61980 || test ! -s conftest.err'
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); }; } &&
61986 { ac_try='test -s conftest$ac_exeext'
61987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61988 (eval $ac_try) 2>&5
61989 ac_status=$?
61990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61991 (exit $ac_status); }; }; then
61992 eval "$as_ac_var=yes"
61993 else
61994 echo "$as_me: failed program was:" >&5
61995 sed 's/^/| /' conftest.$ac_ext >&5
61997 eval "$as_ac_var=no"
61999 rm -f conftest.err conftest.$ac_objext \
62000 conftest$ac_exeext conftest.$ac_ext
62002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62004 if test `eval echo '${'$as_ac_var'}'` = yes; then
62005 cat >>confdefs.h <<_ACEOF
62006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62007 _ACEOF
62010 done
62018 CXXFLAGS="$ac_save_CXXFLAGS"
62021 # For showmanyc_helper().
62024 for ac_header in sys/ioctl.h sys/filio.h
62026 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62028 echo "$as_me:$LINENO: checking for $ac_header" >&5
62029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62031 echo $ECHO_N "(cached) $ECHO_C" >&6
62033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62035 else
62036 # Is the header compilable?
62037 echo "$as_me:$LINENO: checking $ac_header usability" >&5
62038 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62039 cat >conftest.$ac_ext <<_ACEOF
62040 /* confdefs.h. */
62041 _ACEOF
62042 cat confdefs.h >>conftest.$ac_ext
62043 cat >>conftest.$ac_ext <<_ACEOF
62044 /* end confdefs.h. */
62045 $ac_includes_default
62046 #include <$ac_header>
62047 _ACEOF
62048 rm -f conftest.$ac_objext
62049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62050 (eval $ac_compile) 2>conftest.er1
62051 ac_status=$?
62052 grep -v '^ *+' conftest.er1 >conftest.err
62053 rm -f conftest.er1
62054 cat conftest.err >&5
62055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62056 (exit $ac_status); } &&
62057 { ac_try='test -z "$ac_c_werror_flag"
62058 || test ! -s conftest.err'
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); }; } &&
62064 { ac_try='test -s conftest.$ac_objext'
62065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62066 (eval $ac_try) 2>&5
62067 ac_status=$?
62068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62069 (exit $ac_status); }; }; then
62070 ac_header_compiler=yes
62071 else
62072 echo "$as_me: failed program was:" >&5
62073 sed 's/^/| /' conftest.$ac_ext >&5
62075 ac_header_compiler=no
62077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62078 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62079 echo "${ECHO_T}$ac_header_compiler" >&6
62081 # Is the header present?
62082 echo "$as_me:$LINENO: checking $ac_header presence" >&5
62083 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
62084 cat >conftest.$ac_ext <<_ACEOF
62085 /* confdefs.h. */
62086 _ACEOF
62087 cat confdefs.h >>conftest.$ac_ext
62088 cat >>conftest.$ac_ext <<_ACEOF
62089 /* end confdefs.h. */
62090 #include <$ac_header>
62091 _ACEOF
62092 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62093 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62094 ac_status=$?
62095 grep -v '^ *+' conftest.er1 >conftest.err
62096 rm -f conftest.er1
62097 cat conftest.err >&5
62098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62099 (exit $ac_status); } >/dev/null; then
62100 if test -s conftest.err; then
62101 ac_cpp_err=$ac_c_preproc_warn_flag
62102 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62103 else
62104 ac_cpp_err=
62106 else
62107 ac_cpp_err=yes
62109 if test -z "$ac_cpp_err"; then
62110 ac_header_preproc=yes
62111 else
62112 echo "$as_me: failed program was:" >&5
62113 sed 's/^/| /' conftest.$ac_ext >&5
62115 ac_header_preproc=no
62117 rm -f conftest.err conftest.$ac_ext
62118 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62119 echo "${ECHO_T}$ac_header_preproc" >&6
62121 # So? What about this header?
62122 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62123 yes:no: )
62124 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
62125 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
62126 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
62127 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
62128 ac_header_preproc=yes
62130 no:yes:* )
62131 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
62132 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
62133 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
62134 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
62135 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
62136 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
62137 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
62138 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
62139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
62140 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
62141 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
62142 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
62144 cat <<\_ASBOX
62145 ## ----------------------------------------- ##
62146 ## Report this to the package-unused lists. ##
62147 ## ----------------------------------------- ##
62148 _ASBOX
62150 sed "s/^/$as_me: WARNING: /" >&2
62152 esac
62153 echo "$as_me:$LINENO: checking for $ac_header" >&5
62154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62155 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62156 echo $ECHO_N "(cached) $ECHO_C" >&6
62157 else
62158 eval "$as_ac_Header=\$ac_header_preproc"
62160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62164 if test `eval echo '${'$as_ac_Header'}'` = yes; then
62165 cat >>confdefs.h <<_ACEOF
62166 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
62167 _ACEOF
62171 done
62174 echo "$as_me:$LINENO: checking for poll" >&5
62175 echo $ECHO_N "checking for poll... $ECHO_C" >&6
62176 if test "${glibcxx_cv_POLL+set}" = set; then
62177 echo $ECHO_N "(cached) $ECHO_C" >&6
62178 else
62180 if test x$gcc_no_link = xyes; then
62181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62183 { (exit 1); exit 1; }; }
62185 cat >conftest.$ac_ext <<_ACEOF
62186 /* confdefs.h. */
62187 _ACEOF
62188 cat confdefs.h >>conftest.$ac_ext
62189 cat >>conftest.$ac_ext <<_ACEOF
62190 /* end confdefs.h. */
62191 #include <poll.h>
62193 main ()
62195 struct pollfd pfd[1];
62196 pfd[0].events = POLLIN;
62197 poll(pfd, 1, 0);
62199 return 0;
62201 _ACEOF
62202 rm -f conftest.$ac_objext conftest$ac_exeext
62203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62204 (eval $ac_link) 2>conftest.er1
62205 ac_status=$?
62206 grep -v '^ *+' conftest.er1 >conftest.err
62207 rm -f conftest.er1
62208 cat conftest.err >&5
62209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62210 (exit $ac_status); } &&
62211 { ac_try='test -z "$ac_c_werror_flag"
62212 || test ! -s conftest.err'
62213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62214 (eval $ac_try) 2>&5
62215 ac_status=$?
62216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62217 (exit $ac_status); }; } &&
62218 { ac_try='test -s conftest$ac_exeext'
62219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62220 (eval $ac_try) 2>&5
62221 ac_status=$?
62222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62223 (exit $ac_status); }; }; then
62224 glibcxx_cv_POLL=yes
62225 else
62226 echo "$as_me: failed program was:" >&5
62227 sed 's/^/| /' conftest.$ac_ext >&5
62229 glibcxx_cv_POLL=no
62231 rm -f conftest.err conftest.$ac_objext \
62232 conftest$ac_exeext conftest.$ac_ext
62236 if test $glibcxx_cv_POLL = yes; then
62238 cat >>confdefs.h <<\_ACEOF
62239 #define HAVE_POLL 1
62240 _ACEOF
62243 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
62244 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
62247 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
62248 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
62249 if test "${glibcxx_cv_S_ISREG+set}" = set; then
62250 echo $ECHO_N "(cached) $ECHO_C" >&6
62251 else
62253 if test x$gcc_no_link = xyes; then
62254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62256 { (exit 1); exit 1; }; }
62258 cat >conftest.$ac_ext <<_ACEOF
62259 /* confdefs.h. */
62260 _ACEOF
62261 cat confdefs.h >>conftest.$ac_ext
62262 cat >>conftest.$ac_ext <<_ACEOF
62263 /* end confdefs.h. */
62264 #include <sys/stat.h>
62266 main ()
62268 struct stat buffer;
62269 fstat(0, &buffer);
62270 S_ISREG(buffer.st_mode);
62272 return 0;
62274 _ACEOF
62275 rm -f conftest.$ac_objext conftest$ac_exeext
62276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62277 (eval $ac_link) 2>conftest.er1
62278 ac_status=$?
62279 grep -v '^ *+' conftest.er1 >conftest.err
62280 rm -f conftest.er1
62281 cat conftest.err >&5
62282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62283 (exit $ac_status); } &&
62284 { ac_try='test -z "$ac_c_werror_flag"
62285 || test ! -s conftest.err'
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); }; } &&
62291 { ac_try='test -s conftest$ac_exeext'
62292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62293 (eval $ac_try) 2>&5
62294 ac_status=$?
62295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62296 (exit $ac_status); }; }; then
62297 glibcxx_cv_S_ISREG=yes
62298 else
62299 echo "$as_me: failed program was:" >&5
62300 sed 's/^/| /' conftest.$ac_ext >&5
62302 glibcxx_cv_S_ISREG=no
62304 rm -f conftest.err conftest.$ac_objext \
62305 conftest$ac_exeext conftest.$ac_ext
62309 if test "${glibcxx_cv_S_IFREG+set}" = set; then
62310 echo $ECHO_N "(cached) $ECHO_C" >&6
62311 else
62313 if test x$gcc_no_link = xyes; then
62314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62316 { (exit 1); exit 1; }; }
62318 cat >conftest.$ac_ext <<_ACEOF
62319 /* confdefs.h. */
62320 _ACEOF
62321 cat confdefs.h >>conftest.$ac_ext
62322 cat >>conftest.$ac_ext <<_ACEOF
62323 /* end confdefs.h. */
62324 #include <sys/stat.h>
62326 main ()
62328 struct stat buffer;
62329 fstat(0, &buffer);
62330 S_IFREG & buffer.st_mode;
62332 return 0;
62334 _ACEOF
62335 rm -f conftest.$ac_objext conftest$ac_exeext
62336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62337 (eval $ac_link) 2>conftest.er1
62338 ac_status=$?
62339 grep -v '^ *+' conftest.er1 >conftest.err
62340 rm -f conftest.er1
62341 cat conftest.err >&5
62342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62343 (exit $ac_status); } &&
62344 { ac_try='test -z "$ac_c_werror_flag"
62345 || test ! -s conftest.err'
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); }; } &&
62351 { ac_try='test -s conftest$ac_exeext'
62352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62353 (eval $ac_try) 2>&5
62354 ac_status=$?
62355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62356 (exit $ac_status); }; }; then
62357 glibcxx_cv_S_IFREG=yes
62358 else
62359 echo "$as_me: failed program was:" >&5
62360 sed 's/^/| /' conftest.$ac_ext >&5
62362 glibcxx_cv_S_IFREG=no
62364 rm -f conftest.err conftest.$ac_objext \
62365 conftest$ac_exeext conftest.$ac_ext
62369 res=no
62370 if test $glibcxx_cv_S_ISREG = yes; then
62372 cat >>confdefs.h <<\_ACEOF
62373 #define HAVE_S_ISREG 1
62374 _ACEOF
62376 res=S_ISREG
62377 elif test $glibcxx_cv_S_IFREG = yes; then
62379 cat >>confdefs.h <<\_ACEOF
62380 #define HAVE_S_IFREG 1
62381 _ACEOF
62383 res=S_IFREG
62385 echo "$as_me:$LINENO: result: $res" >&5
62386 echo "${ECHO_T}$res" >&6
62389 # For xsputn_2().
62391 for ac_header in sys/uio.h
62393 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62395 echo "$as_me:$LINENO: checking for $ac_header" >&5
62396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62398 echo $ECHO_N "(cached) $ECHO_C" >&6
62400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62402 else
62403 # Is the header compilable?
62404 echo "$as_me:$LINENO: checking $ac_header usability" >&5
62405 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62406 cat >conftest.$ac_ext <<_ACEOF
62407 /* confdefs.h. */
62408 _ACEOF
62409 cat confdefs.h >>conftest.$ac_ext
62410 cat >>conftest.$ac_ext <<_ACEOF
62411 /* end confdefs.h. */
62412 $ac_includes_default
62413 #include <$ac_header>
62414 _ACEOF
62415 rm -f conftest.$ac_objext
62416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62417 (eval $ac_compile) 2>conftest.er1
62418 ac_status=$?
62419 grep -v '^ *+' conftest.er1 >conftest.err
62420 rm -f conftest.er1
62421 cat conftest.err >&5
62422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62423 (exit $ac_status); } &&
62424 { ac_try='test -z "$ac_c_werror_flag"
62425 || test ! -s conftest.err'
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); }; } &&
62431 { ac_try='test -s conftest.$ac_objext'
62432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62433 (eval $ac_try) 2>&5
62434 ac_status=$?
62435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62436 (exit $ac_status); }; }; then
62437 ac_header_compiler=yes
62438 else
62439 echo "$as_me: failed program was:" >&5
62440 sed 's/^/| /' conftest.$ac_ext >&5
62442 ac_header_compiler=no
62444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62446 echo "${ECHO_T}$ac_header_compiler" >&6
62448 # Is the header present?
62449 echo "$as_me:$LINENO: checking $ac_header presence" >&5
62450 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
62451 cat >conftest.$ac_ext <<_ACEOF
62452 /* confdefs.h. */
62453 _ACEOF
62454 cat confdefs.h >>conftest.$ac_ext
62455 cat >>conftest.$ac_ext <<_ACEOF
62456 /* end confdefs.h. */
62457 #include <$ac_header>
62458 _ACEOF
62459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62460 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62461 ac_status=$?
62462 grep -v '^ *+' conftest.er1 >conftest.err
62463 rm -f conftest.er1
62464 cat conftest.err >&5
62465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62466 (exit $ac_status); } >/dev/null; then
62467 if test -s conftest.err; then
62468 ac_cpp_err=$ac_c_preproc_warn_flag
62469 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62470 else
62471 ac_cpp_err=
62473 else
62474 ac_cpp_err=yes
62476 if test -z "$ac_cpp_err"; then
62477 ac_header_preproc=yes
62478 else
62479 echo "$as_me: failed program was:" >&5
62480 sed 's/^/| /' conftest.$ac_ext >&5
62482 ac_header_preproc=no
62484 rm -f conftest.err conftest.$ac_ext
62485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62486 echo "${ECHO_T}$ac_header_preproc" >&6
62488 # So? What about this header?
62489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62490 yes:no: )
62491 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
62492 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
62493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
62494 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
62495 ac_header_preproc=yes
62497 no:yes:* )
62498 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
62499 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
62500 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
62501 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
62502 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
62503 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
62504 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
62505 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
62506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
62507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
62508 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
62509 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
62511 cat <<\_ASBOX
62512 ## ----------------------------------------- ##
62513 ## Report this to the package-unused lists. ##
62514 ## ----------------------------------------- ##
62515 _ASBOX
62517 sed "s/^/$as_me: WARNING: /" >&2
62519 esac
62520 echo "$as_me:$LINENO: checking for $ac_header" >&5
62521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62523 echo $ECHO_N "(cached) $ECHO_C" >&6
62524 else
62525 eval "$as_ac_Header=\$ac_header_preproc"
62527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
62532 cat >>confdefs.h <<_ACEOF
62533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
62534 _ACEOF
62538 done
62541 echo "$as_me:$LINENO: checking for writev" >&5
62542 echo $ECHO_N "checking for writev... $ECHO_C" >&6
62543 if test "${glibcxx_cv_WRITEV+set}" = set; then
62544 echo $ECHO_N "(cached) $ECHO_C" >&6
62545 else
62547 if test x$gcc_no_link = xyes; then
62548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62550 { (exit 1); exit 1; }; }
62552 cat >conftest.$ac_ext <<_ACEOF
62553 /* confdefs.h. */
62554 _ACEOF
62555 cat confdefs.h >>conftest.$ac_ext
62556 cat >>conftest.$ac_ext <<_ACEOF
62557 /* end confdefs.h. */
62558 #include <sys/uio.h>
62560 main ()
62562 struct iovec iov[2];
62563 writev(0, iov, 0);
62565 return 0;
62567 _ACEOF
62568 rm -f conftest.$ac_objext conftest$ac_exeext
62569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62570 (eval $ac_link) 2>conftest.er1
62571 ac_status=$?
62572 grep -v '^ *+' conftest.er1 >conftest.err
62573 rm -f conftest.er1
62574 cat conftest.err >&5
62575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62576 (exit $ac_status); } &&
62577 { ac_try='test -z "$ac_c_werror_flag"
62578 || test ! -s conftest.err'
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); }; } &&
62584 { ac_try='test -s conftest$ac_exeext'
62585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62586 (eval $ac_try) 2>&5
62587 ac_status=$?
62588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62589 (exit $ac_status); }; }; then
62590 glibcxx_cv_WRITEV=yes
62591 else
62592 echo "$as_me: failed program was:" >&5
62593 sed 's/^/| /' conftest.$ac_ext >&5
62595 glibcxx_cv_WRITEV=no
62597 rm -f conftest.err conftest.$ac_objext \
62598 conftest$ac_exeext conftest.$ac_ext
62602 if test $glibcxx_cv_WRITEV = yes; then
62604 cat >>confdefs.h <<\_ACEOF
62605 #define HAVE_WRITEV 1
62606 _ACEOF
62609 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
62610 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
62613 cat >>confdefs.h <<\_ACEOF
62614 #define HAVE_LC_MESSAGES 1
62615 _ACEOF
62618 cat >conftest.$ac_ext <<_ACEOF
62619 /* confdefs.h. */
62620 _ACEOF
62621 cat confdefs.h >>conftest.$ac_ext
62622 cat >>conftest.$ac_ext <<_ACEOF
62623 /* end confdefs.h. */
62624 #include <setjmp.h>
62626 main ()
62628 sigjmp_buf env;
62629 while (! sigsetjmp (env, 1))
62630 siglongjmp (env, 1);
62633 return 0;
62635 _ACEOF
62636 rm -f conftest.$ac_objext
62637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62638 (eval $ac_compile) 2>conftest.er1
62639 ac_status=$?
62640 grep -v '^ *+' conftest.er1 >conftest.err
62641 rm -f conftest.er1
62642 cat conftest.err >&5
62643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62644 (exit $ac_status); } &&
62645 { ac_try='test -z "$ac_c_werror_flag"
62646 || test ! -s conftest.err'
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); }; } &&
62652 { ac_try='test -s conftest.$ac_objext'
62653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62654 (eval $ac_try) 2>&5
62655 ac_status=$?
62656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62657 (exit $ac_status); }; }; then
62659 cat >>confdefs.h <<\_ACEOF
62660 #define HAVE_SIGSETJMP 1
62661 _ACEOF
62663 else
62664 echo "$as_me: failed program was:" >&5
62665 sed 's/^/| /' conftest.$ac_ext >&5
62668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62670 cat >>confdefs.h <<\_ACEOF
62671 #define HAVE_MMAP 1
62672 _ACEOF
62676 *djgpp)
62697 for ac_header in float.h ieeefp.h inttypes.h locale.h \
62698 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
62699 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
62700 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
62702 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62704 echo "$as_me:$LINENO: checking for $ac_header" >&5
62705 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62707 echo $ECHO_N "(cached) $ECHO_C" >&6
62709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62710 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62711 else
62712 # Is the header compilable?
62713 echo "$as_me:$LINENO: checking $ac_header usability" >&5
62714 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62715 cat >conftest.$ac_ext <<_ACEOF
62716 /* confdefs.h. */
62717 _ACEOF
62718 cat confdefs.h >>conftest.$ac_ext
62719 cat >>conftest.$ac_ext <<_ACEOF
62720 /* end confdefs.h. */
62721 $ac_includes_default
62722 #include <$ac_header>
62723 _ACEOF
62724 rm -f conftest.$ac_objext
62725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62726 (eval $ac_compile) 2>conftest.er1
62727 ac_status=$?
62728 grep -v '^ *+' conftest.er1 >conftest.err
62729 rm -f conftest.er1
62730 cat conftest.err >&5
62731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62732 (exit $ac_status); } &&
62733 { ac_try='test -z "$ac_c_werror_flag"
62734 || test ! -s conftest.err'
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); }; } &&
62740 { ac_try='test -s conftest.$ac_objext'
62741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62742 (eval $ac_try) 2>&5
62743 ac_status=$?
62744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62745 (exit $ac_status); }; }; then
62746 ac_header_compiler=yes
62747 else
62748 echo "$as_me: failed program was:" >&5
62749 sed 's/^/| /' conftest.$ac_ext >&5
62751 ac_header_compiler=no
62753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62754 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62755 echo "${ECHO_T}$ac_header_compiler" >&6
62757 # Is the header present?
62758 echo "$as_me:$LINENO: checking $ac_header presence" >&5
62759 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
62760 cat >conftest.$ac_ext <<_ACEOF
62761 /* confdefs.h. */
62762 _ACEOF
62763 cat confdefs.h >>conftest.$ac_ext
62764 cat >>conftest.$ac_ext <<_ACEOF
62765 /* end confdefs.h. */
62766 #include <$ac_header>
62767 _ACEOF
62768 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62769 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62770 ac_status=$?
62771 grep -v '^ *+' conftest.er1 >conftest.err
62772 rm -f conftest.er1
62773 cat conftest.err >&5
62774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62775 (exit $ac_status); } >/dev/null; then
62776 if test -s conftest.err; then
62777 ac_cpp_err=$ac_c_preproc_warn_flag
62778 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62779 else
62780 ac_cpp_err=
62782 else
62783 ac_cpp_err=yes
62785 if test -z "$ac_cpp_err"; then
62786 ac_header_preproc=yes
62787 else
62788 echo "$as_me: failed program was:" >&5
62789 sed 's/^/| /' conftest.$ac_ext >&5
62791 ac_header_preproc=no
62793 rm -f conftest.err conftest.$ac_ext
62794 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62795 echo "${ECHO_T}$ac_header_preproc" >&6
62797 # So? What about this header?
62798 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62799 yes:no: )
62800 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
62801 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
62802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
62803 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
62804 ac_header_preproc=yes
62806 no:yes:* )
62807 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
62808 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
62809 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
62810 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
62811 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
62812 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
62813 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
62814 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
62815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
62816 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
62817 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
62818 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
62820 cat <<\_ASBOX
62821 ## ----------------------------------------- ##
62822 ## Report this to the package-unused lists. ##
62823 ## ----------------------------------------- ##
62824 _ASBOX
62826 sed "s/^/$as_me: WARNING: /" >&2
62828 esac
62829 echo "$as_me:$LINENO: checking for $ac_header" >&5
62830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62832 echo $ECHO_N "(cached) $ECHO_C" >&6
62833 else
62834 eval "$as_ac_Header=\$ac_header_preproc"
62836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62837 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62840 if test `eval echo '${'$as_ac_Header'}'` = yes; then
62841 cat >>confdefs.h <<_ACEOF
62842 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
62843 _ACEOF
62847 done
62849 # GLIBCXX_CHECK_MATH_SUPPORT
62850 cat >>confdefs.h <<\_ACEOF
62851 #define HAVE_LIBM 1
62852 _ACEOF
62854 cat >>confdefs.h <<\_ACEOF
62855 #define HAVE_ISINF 1
62856 _ACEOF
62858 cat >>confdefs.h <<\_ACEOF
62859 #define HAVE_ISNAN 1
62860 _ACEOF
62862 cat >>confdefs.h <<\_ACEOF
62863 #define HAVE_FINITE 1
62864 _ACEOF
62866 cat >>confdefs.h <<\_ACEOF
62867 #define HAVE_COPYSIGN 1
62868 _ACEOF
62870 cat >>confdefs.h <<\_ACEOF
62871 #define HAVE_SINCOS 1
62872 _ACEOF
62874 cat >>confdefs.h <<\_ACEOF
62875 #define HAVE_HYPOT 1
62876 _ACEOF
62878 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
62879 cat >>confdefs.h <<\_ACEOF
62880 #define HAVE___BUILTIN_ABS 1
62881 _ACEOF
62883 cat >>confdefs.h <<\_ACEOF
62884 #define HAVE___BUILTIN_FABSF 1
62885 _ACEOF
62887 cat >>confdefs.h <<\_ACEOF
62888 #define HAVE___BUILTIN_FABS 1
62889 _ACEOF
62891 cat >>confdefs.h <<\_ACEOF
62892 #define HAVE___BUILTIN_FABSL 1
62893 _ACEOF
62895 cat >>confdefs.h <<\_ACEOF
62896 #define HAVE___BUILTIN_LABS 1
62897 _ACEOF
62899 cat >>confdefs.h <<\_ACEOF
62900 #define HAVE___BUILTIN_SQRTF 1
62901 _ACEOF
62903 cat >>confdefs.h <<\_ACEOF
62904 #define HAVE___BUILTIN_SQRT 1
62905 _ACEOF
62907 cat >>confdefs.h <<\_ACEOF
62908 #define HAVE___BUILTIN_SQRTL 1
62909 _ACEOF
62911 cat >>confdefs.h <<\_ACEOF
62912 #define HAVE___BUILTIN_SINF 1
62913 _ACEOF
62915 cat >>confdefs.h <<\_ACEOF
62916 #define HAVE___BUILTIN_SIN 1
62917 _ACEOF
62919 cat >>confdefs.h <<\_ACEOF
62920 #define HAVE___BUILTIN_SINL 1
62921 _ACEOF
62923 cat >>confdefs.h <<\_ACEOF
62924 #define HAVE___BUILTIN_COSF 1
62925 _ACEOF
62927 cat >>confdefs.h <<\_ACEOF
62928 #define HAVE___BUILTIN_COS 1
62929 _ACEOF
62931 cat >>confdefs.h <<\_ACEOF
62932 #define HAVE___BUILTIN_COSL 1
62933 _ACEOF
62935 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
62936 # GLIBCXX_CHECK_STDLIB_SUPPORT
62937 cat >>confdefs.h <<\_ACEOF
62938 #define HAVE_COPYSIGN 1
62939 _ACEOF
62941 cat >>confdefs.h <<\_ACEOF
62942 #define HAVE_COPYSIGNF 1
62943 _ACEOF
62945 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
62946 cat >>confdefs.h <<\_ACEOF
62947 #define HAVE_S_ISREG 1
62948 _ACEOF
62950 cat >>confdefs.h <<\_ACEOF
62951 #define HAVE_S_IFREG 1
62952 _ACEOF
62954 cat >>confdefs.h <<\_ACEOF
62955 #define HAVE_WRITEV 1
62956 _ACEOF
62960 *-freebsd*)
62977 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
62978 machine/endian.h machine/param.h sys/machine.h sys/types.h \
62979 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
62980 sys/time.h unistd.h
62982 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62984 echo "$as_me:$LINENO: checking for $ac_header" >&5
62985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62987 echo $ECHO_N "(cached) $ECHO_C" >&6
62989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62991 else
62992 # Is the header compilable?
62993 echo "$as_me:$LINENO: checking $ac_header usability" >&5
62994 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62995 cat >conftest.$ac_ext <<_ACEOF
62996 /* confdefs.h. */
62997 _ACEOF
62998 cat confdefs.h >>conftest.$ac_ext
62999 cat >>conftest.$ac_ext <<_ACEOF
63000 /* end confdefs.h. */
63001 $ac_includes_default
63002 #include <$ac_header>
63003 _ACEOF
63004 rm -f conftest.$ac_objext
63005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63006 (eval $ac_compile) 2>conftest.er1
63007 ac_status=$?
63008 grep -v '^ *+' conftest.er1 >conftest.err
63009 rm -f conftest.er1
63010 cat conftest.err >&5
63011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63012 (exit $ac_status); } &&
63013 { ac_try='test -z "$ac_c_werror_flag"
63014 || test ! -s conftest.err'
63015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63016 (eval $ac_try) 2>&5
63017 ac_status=$?
63018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63019 (exit $ac_status); }; } &&
63020 { ac_try='test -s conftest.$ac_objext'
63021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63022 (eval $ac_try) 2>&5
63023 ac_status=$?
63024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63025 (exit $ac_status); }; }; then
63026 ac_header_compiler=yes
63027 else
63028 echo "$as_me: failed program was:" >&5
63029 sed 's/^/| /' conftest.$ac_ext >&5
63031 ac_header_compiler=no
63033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63034 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63035 echo "${ECHO_T}$ac_header_compiler" >&6
63037 # Is the header present?
63038 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63039 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63040 cat >conftest.$ac_ext <<_ACEOF
63041 /* confdefs.h. */
63042 _ACEOF
63043 cat confdefs.h >>conftest.$ac_ext
63044 cat >>conftest.$ac_ext <<_ACEOF
63045 /* end confdefs.h. */
63046 #include <$ac_header>
63047 _ACEOF
63048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63049 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63050 ac_status=$?
63051 grep -v '^ *+' conftest.er1 >conftest.err
63052 rm -f conftest.er1
63053 cat conftest.err >&5
63054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63055 (exit $ac_status); } >/dev/null; then
63056 if test -s conftest.err; then
63057 ac_cpp_err=$ac_c_preproc_warn_flag
63058 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63059 else
63060 ac_cpp_err=
63062 else
63063 ac_cpp_err=yes
63065 if test -z "$ac_cpp_err"; then
63066 ac_header_preproc=yes
63067 else
63068 echo "$as_me: failed program was:" >&5
63069 sed 's/^/| /' conftest.$ac_ext >&5
63071 ac_header_preproc=no
63073 rm -f conftest.err conftest.$ac_ext
63074 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63075 echo "${ECHO_T}$ac_header_preproc" >&6
63077 # So? What about this header?
63078 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63079 yes:no: )
63080 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63081 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
63083 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
63084 ac_header_preproc=yes
63086 no:yes:* )
63087 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63088 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63089 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
63090 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
63091 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
63092 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
63093 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
63094 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
63095 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63096 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63097 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
63098 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
63100 cat <<\_ASBOX
63101 ## ----------------------------------------- ##
63102 ## Report this to the package-unused lists. ##
63103 ## ----------------------------------------- ##
63104 _ASBOX
63106 sed "s/^/$as_me: WARNING: /" >&2
63108 esac
63109 echo "$as_me:$LINENO: checking for $ac_header" >&5
63110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63112 echo $ECHO_N "(cached) $ECHO_C" >&6
63113 else
63114 eval "$as_ac_Header=\$ac_header_preproc"
63116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63120 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63121 cat >>confdefs.h <<_ACEOF
63122 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63123 _ACEOF
63127 done
63129 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63132 # If we're not using GNU ld, then there's no point in even trying these
63133 # tests. Check for that first. We should have already tested for gld
63134 # by now (in libtool), but require it now just to be safe...
63135 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63136 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63140 # The name set by libtool depends on the version of libtool. Shame on us
63141 # for depending on an impl detail, but c'est la vie. Older versions used
63142 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63143 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63144 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63145 # set (hence we're using an older libtool), then set it.
63146 if test x${with_gnu_ld+set} != xset; then
63147 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63148 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63149 with_gnu_ld=no
63150 else
63151 with_gnu_ld=$ac_cv_prog_gnu_ld
63155 # Start by getting the version number. I think the libtool test already
63156 # does some of this, but throws away the result.
63157 if test x"$with_gnu_ld" = x"yes"; then
63158 echo "$as_me:$LINENO: checking for ld version" >&5
63159 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
63161 ldver=`$LD --version 2>/dev/null | head -1 | \
63162 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
63164 glibcxx_gnu_ld_version=`echo $ldver | \
63165 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63166 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
63167 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
63170 # Set --gc-sections.
63171 glibcxx_gcsections_min_ld=21602
63172 if test x"$with_gnu_ld" = x"yes" &&
63173 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63175 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63176 # NB: This flag only works reliably after 2.16.1. Configure tests
63177 # for this are difficult, so hard wire a value that should work.
63179 ac_test_CFLAGS="${CFLAGS+set}"
63180 ac_save_CFLAGS="$CFLAGS"
63181 CFLAGS='-Wl,--gc-sections'
63183 # Check for -Wl,--gc-sections
63184 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
63185 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
63186 if test x$gcc_no_link = xyes; then
63187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63189 { (exit 1); exit 1; }; }
63191 cat >conftest.$ac_ext <<_ACEOF
63192 /* confdefs.h. */
63193 _ACEOF
63194 cat confdefs.h >>conftest.$ac_ext
63195 cat >>conftest.$ac_ext <<_ACEOF
63196 /* end confdefs.h. */
63197 int one(void) { return 1; }
63198 int two(void) { return 2; }
63201 main ()
63203 two();
63205 return 0;
63207 _ACEOF
63208 rm -f conftest.$ac_objext conftest$ac_exeext
63209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63210 (eval $ac_link) 2>conftest.er1
63211 ac_status=$?
63212 grep -v '^ *+' conftest.er1 >conftest.err
63213 rm -f conftest.er1
63214 cat conftest.err >&5
63215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63216 (exit $ac_status); } &&
63217 { ac_try='test -z "$ac_c_werror_flag"
63218 || test ! -s conftest.err'
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); }; } &&
63224 { ac_try='test -s conftest$ac_exeext'
63225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63226 (eval $ac_try) 2>&5
63227 ac_status=$?
63228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63229 (exit $ac_status); }; }; then
63230 ac_gcsections=yes
63231 else
63232 echo "$as_me: failed program was:" >&5
63233 sed 's/^/| /' conftest.$ac_ext >&5
63235 ac_gcsections=no
63237 rm -f conftest.err conftest.$ac_objext \
63238 conftest$ac_exeext conftest.$ac_ext
63239 if test "$ac_gcsections" = "yes"; then
63240 rm -f conftest.c
63241 touch conftest.c
63242 if $CC -c conftest.c; then
63243 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63244 grep "Warning: gc-sections option ignored" > /dev/null; then
63245 ac_gcsections=no
63248 rm -f conftest.c conftest.o conftest
63250 if test "$ac_gcsections" = "yes"; then
63251 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63253 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
63254 echo "${ECHO_T}$ac_gcsections" >&6
63256 if test "$ac_test_CFLAGS" = set; then
63257 CFLAGS="$ac_save_CFLAGS"
63258 else
63259 # this is the suspicious part
63260 CFLAGS=''
63264 # Set -z,relro.
63265 # Note this is only for shared objects.
63266 ac_ld_relro=no
63267 if test x"$with_gnu_ld" = x"yes"; then
63268 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
63269 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
63270 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63271 if test -n "$cxx_z_relo"; then
63272 OPT_LDFLAGS="-Wl,-z,relro"
63273 ac_ld_relro=yes
63275 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
63276 echo "${ECHO_T}$ac_ld_relro" >&6
63279 # Set linker optimization flags.
63280 if test x"$with_gnu_ld" = x"yes"; then
63281 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63289 echo "$as_me:$LINENO: checking for main in -lm" >&5
63290 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
63291 if test "${ac_cv_lib_m_main+set}" = set; then
63292 echo $ECHO_N "(cached) $ECHO_C" >&6
63293 else
63294 ac_check_lib_save_LIBS=$LIBS
63295 LIBS="-lm $LIBS"
63296 if test x$gcc_no_link = xyes; then
63297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63299 { (exit 1); exit 1; }; }
63301 cat >conftest.$ac_ext <<_ACEOF
63302 /* confdefs.h. */
63303 _ACEOF
63304 cat confdefs.h >>conftest.$ac_ext
63305 cat >>conftest.$ac_ext <<_ACEOF
63306 /* end confdefs.h. */
63310 main ()
63312 main ();
63314 return 0;
63316 _ACEOF
63317 rm -f conftest.$ac_objext conftest$ac_exeext
63318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63319 (eval $ac_link) 2>conftest.er1
63320 ac_status=$?
63321 grep -v '^ *+' conftest.er1 >conftest.err
63322 rm -f conftest.er1
63323 cat conftest.err >&5
63324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63325 (exit $ac_status); } &&
63326 { ac_try='test -z "$ac_c_werror_flag"
63327 || test ! -s conftest.err'
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); }; } &&
63333 { ac_try='test -s conftest$ac_exeext'
63334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63335 (eval $ac_try) 2>&5
63336 ac_status=$?
63337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63338 (exit $ac_status); }; }; then
63339 ac_cv_lib_m_main=yes
63340 else
63341 echo "$as_me: failed program was:" >&5
63342 sed 's/^/| /' conftest.$ac_ext >&5
63344 ac_cv_lib_m_main=no
63346 rm -f conftest.err conftest.$ac_objext \
63347 conftest$ac_exeext conftest.$ac_ext
63348 LIBS=$ac_check_lib_save_LIBS
63350 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
63351 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
63352 if test $ac_cv_lib_m_main = yes; then
63353 cat >>confdefs.h <<_ACEOF
63354 #define HAVE_LIBM 1
63355 _ACEOF
63357 LIBS="-lm $LIBS"
63362 for ac_func in copysignf
63364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63365 echo "$as_me:$LINENO: checking for $ac_func" >&5
63366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63367 if eval "test \"\${$as_ac_var+set}\" = set"; then
63368 echo $ECHO_N "(cached) $ECHO_C" >&6
63369 else
63370 if test x$gcc_no_link = xyes; then
63371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63373 { (exit 1); exit 1; }; }
63375 cat >conftest.$ac_ext <<_ACEOF
63376 /* confdefs.h. */
63377 _ACEOF
63378 cat confdefs.h >>conftest.$ac_ext
63379 cat >>conftest.$ac_ext <<_ACEOF
63380 /* end confdefs.h. */
63381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63383 #define $ac_func innocuous_$ac_func
63385 /* System header to define __stub macros and hopefully few prototypes,
63386 which can conflict with char $ac_func (); below.
63387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63388 <limits.h> exists even on freestanding compilers. */
63390 #ifdef __STDC__
63391 # include <limits.h>
63392 #else
63393 # include <assert.h>
63394 #endif
63396 #undef $ac_func
63398 /* Override any gcc2 internal prototype to avoid an error. */
63399 #ifdef __cplusplus
63400 extern "C"
63402 #endif
63403 /* We use char because int might match the return type of a gcc2
63404 builtin and then its argument prototype would still apply. */
63405 char $ac_func ();
63406 /* The GNU C library defines this for functions which it implements
63407 to always fail with ENOSYS. Some functions are actually named
63408 something starting with __ and the normal name is an alias. */
63409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63410 choke me
63411 #else
63412 char (*f) () = $ac_func;
63413 #endif
63414 #ifdef __cplusplus
63416 #endif
63419 main ()
63421 return f != $ac_func;
63423 return 0;
63425 _ACEOF
63426 rm -f conftest.$ac_objext conftest$ac_exeext
63427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63428 (eval $ac_link) 2>conftest.er1
63429 ac_status=$?
63430 grep -v '^ *+' conftest.er1 >conftest.err
63431 rm -f conftest.er1
63432 cat conftest.err >&5
63433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63434 (exit $ac_status); } &&
63435 { ac_try='test -z "$ac_c_werror_flag"
63436 || test ! -s conftest.err'
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); }; } &&
63442 { ac_try='test -s conftest$ac_exeext'
63443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63444 (eval $ac_try) 2>&5
63445 ac_status=$?
63446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63447 (exit $ac_status); }; }; then
63448 eval "$as_ac_var=yes"
63449 else
63450 echo "$as_me: failed program was:" >&5
63451 sed 's/^/| /' conftest.$ac_ext >&5
63453 eval "$as_ac_var=no"
63455 rm -f conftest.err conftest.$ac_objext \
63456 conftest$ac_exeext conftest.$ac_ext
63458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63460 if test `eval echo '${'$as_ac_var'}'` = yes; then
63461 cat >>confdefs.h <<_ACEOF
63462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63463 _ACEOF
63465 else
63466 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
63468 done
63472 for ac_func in __signbit
63474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63475 echo "$as_me:$LINENO: checking for $ac_func" >&5
63476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63477 if eval "test \"\${$as_ac_var+set}\" = set"; then
63478 echo $ECHO_N "(cached) $ECHO_C" >&6
63479 else
63480 if test x$gcc_no_link = xyes; then
63481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63483 { (exit 1); exit 1; }; }
63485 cat >conftest.$ac_ext <<_ACEOF
63486 /* confdefs.h. */
63487 _ACEOF
63488 cat confdefs.h >>conftest.$ac_ext
63489 cat >>conftest.$ac_ext <<_ACEOF
63490 /* end confdefs.h. */
63491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63493 #define $ac_func innocuous_$ac_func
63495 /* System header to define __stub macros and hopefully few prototypes,
63496 which can conflict with char $ac_func (); below.
63497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63498 <limits.h> exists even on freestanding compilers. */
63500 #ifdef __STDC__
63501 # include <limits.h>
63502 #else
63503 # include <assert.h>
63504 #endif
63506 #undef $ac_func
63508 /* Override any gcc2 internal prototype to avoid an error. */
63509 #ifdef __cplusplus
63510 extern "C"
63512 #endif
63513 /* We use char because int might match the return type of a gcc2
63514 builtin and then its argument prototype would still apply. */
63515 char $ac_func ();
63516 /* The GNU C library defines this for functions which it implements
63517 to always fail with ENOSYS. Some functions are actually named
63518 something starting with __ and the normal name is an alias. */
63519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63520 choke me
63521 #else
63522 char (*f) () = $ac_func;
63523 #endif
63524 #ifdef __cplusplus
63526 #endif
63529 main ()
63531 return f != $ac_func;
63533 return 0;
63535 _ACEOF
63536 rm -f conftest.$ac_objext conftest$ac_exeext
63537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63538 (eval $ac_link) 2>conftest.er1
63539 ac_status=$?
63540 grep -v '^ *+' conftest.er1 >conftest.err
63541 rm -f conftest.er1
63542 cat conftest.err >&5
63543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63544 (exit $ac_status); } &&
63545 { ac_try='test -z "$ac_c_werror_flag"
63546 || test ! -s conftest.err'
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); }; } &&
63552 { ac_try='test -s conftest$ac_exeext'
63553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63554 (eval $ac_try) 2>&5
63555 ac_status=$?
63556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63557 (exit $ac_status); }; }; then
63558 eval "$as_ac_var=yes"
63559 else
63560 echo "$as_me: failed program was:" >&5
63561 sed 's/^/| /' conftest.$ac_ext >&5
63563 eval "$as_ac_var=no"
63565 rm -f conftest.err conftest.$ac_objext \
63566 conftest$ac_exeext conftest.$ac_ext
63568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63570 if test `eval echo '${'$as_ac_var'}'` = yes; then
63571 cat >>confdefs.h <<_ACEOF
63572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63573 _ACEOF
63575 else
63576 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
63578 done
63582 for ac_func in __signbitf
63584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63585 echo "$as_me:$LINENO: checking for $ac_func" >&5
63586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63587 if eval "test \"\${$as_ac_var+set}\" = set"; then
63588 echo $ECHO_N "(cached) $ECHO_C" >&6
63589 else
63590 if test x$gcc_no_link = xyes; then
63591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63593 { (exit 1); exit 1; }; }
63595 cat >conftest.$ac_ext <<_ACEOF
63596 /* confdefs.h. */
63597 _ACEOF
63598 cat confdefs.h >>conftest.$ac_ext
63599 cat >>conftest.$ac_ext <<_ACEOF
63600 /* end confdefs.h. */
63601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63603 #define $ac_func innocuous_$ac_func
63605 /* System header to define __stub macros and hopefully few prototypes,
63606 which can conflict with char $ac_func (); below.
63607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63608 <limits.h> exists even on freestanding compilers. */
63610 #ifdef __STDC__
63611 # include <limits.h>
63612 #else
63613 # include <assert.h>
63614 #endif
63616 #undef $ac_func
63618 /* Override any gcc2 internal prototype to avoid an error. */
63619 #ifdef __cplusplus
63620 extern "C"
63622 #endif
63623 /* We use char because int might match the return type of a gcc2
63624 builtin and then its argument prototype would still apply. */
63625 char $ac_func ();
63626 /* The GNU C library defines this for functions which it implements
63627 to always fail with ENOSYS. Some functions are actually named
63628 something starting with __ and the normal name is an alias. */
63629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63630 choke me
63631 #else
63632 char (*f) () = $ac_func;
63633 #endif
63634 #ifdef __cplusplus
63636 #endif
63639 main ()
63641 return f != $ac_func;
63643 return 0;
63645 _ACEOF
63646 rm -f conftest.$ac_objext conftest$ac_exeext
63647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63648 (eval $ac_link) 2>conftest.er1
63649 ac_status=$?
63650 grep -v '^ *+' conftest.er1 >conftest.err
63651 rm -f conftest.er1
63652 cat conftest.err >&5
63653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63654 (exit $ac_status); } &&
63655 { ac_try='test -z "$ac_c_werror_flag"
63656 || test ! -s conftest.err'
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); }; } &&
63662 { ac_try='test -s conftest$ac_exeext'
63663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63664 (eval $ac_try) 2>&5
63665 ac_status=$?
63666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63667 (exit $ac_status); }; }; then
63668 eval "$as_ac_var=yes"
63669 else
63670 echo "$as_me: failed program was:" >&5
63671 sed 's/^/| /' conftest.$ac_ext >&5
63673 eval "$as_ac_var=no"
63675 rm -f conftest.err conftest.$ac_objext \
63676 conftest$ac_exeext conftest.$ac_ext
63678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63680 if test `eval echo '${'$as_ac_var'}'` = yes; then
63681 cat >>confdefs.h <<_ACEOF
63682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63683 _ACEOF
63685 else
63686 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63688 done
63691 if test x$ac_cv_func_copysignl = x"yes"; then
63693 for ac_func in __signbitl
63695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63696 echo "$as_me:$LINENO: checking for $ac_func" >&5
63697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63698 if eval "test \"\${$as_ac_var+set}\" = set"; then
63699 echo $ECHO_N "(cached) $ECHO_C" >&6
63700 else
63701 if test x$gcc_no_link = xyes; then
63702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63704 { (exit 1); exit 1; }; }
63706 cat >conftest.$ac_ext <<_ACEOF
63707 /* confdefs.h. */
63708 _ACEOF
63709 cat confdefs.h >>conftest.$ac_ext
63710 cat >>conftest.$ac_ext <<_ACEOF
63711 /* end confdefs.h. */
63712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63714 #define $ac_func innocuous_$ac_func
63716 /* System header to define __stub macros and hopefully few prototypes,
63717 which can conflict with char $ac_func (); below.
63718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63719 <limits.h> exists even on freestanding compilers. */
63721 #ifdef __STDC__
63722 # include <limits.h>
63723 #else
63724 # include <assert.h>
63725 #endif
63727 #undef $ac_func
63729 /* Override any gcc2 internal prototype to avoid an error. */
63730 #ifdef __cplusplus
63731 extern "C"
63733 #endif
63734 /* We use char because int might match the return type of a gcc2
63735 builtin and then its argument prototype would still apply. */
63736 char $ac_func ();
63737 /* The GNU C library defines this for functions which it implements
63738 to always fail with ENOSYS. Some functions are actually named
63739 something starting with __ and the normal name is an alias. */
63740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63741 choke me
63742 #else
63743 char (*f) () = $ac_func;
63744 #endif
63745 #ifdef __cplusplus
63747 #endif
63750 main ()
63752 return f != $ac_func;
63754 return 0;
63756 _ACEOF
63757 rm -f conftest.$ac_objext conftest$ac_exeext
63758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63759 (eval $ac_link) 2>conftest.er1
63760 ac_status=$?
63761 grep -v '^ *+' conftest.er1 >conftest.err
63762 rm -f conftest.er1
63763 cat conftest.err >&5
63764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63765 (exit $ac_status); } &&
63766 { ac_try='test -z "$ac_c_werror_flag"
63767 || test ! -s conftest.err'
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); }; } &&
63773 { ac_try='test -s conftest$ac_exeext'
63774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63775 (eval $ac_try) 2>&5
63776 ac_status=$?
63777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63778 (exit $ac_status); }; }; then
63779 eval "$as_ac_var=yes"
63780 else
63781 echo "$as_me: failed program was:" >&5
63782 sed 's/^/| /' conftest.$ac_ext >&5
63784 eval "$as_ac_var=no"
63786 rm -f conftest.err conftest.$ac_objext \
63787 conftest$ac_exeext conftest.$ac_ext
63789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63791 if test `eval echo '${'$as_ac_var'}'` = yes; then
63792 cat >>confdefs.h <<_ACEOF
63793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63794 _ACEOF
63796 else
63797 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63799 done
63803 # Used in libmath/Makefile.am.
63804 if test -n "$LIBMATHOBJS"; then
63805 need_libmath=yes
63809 cat >>confdefs.h <<\_ACEOF
63810 #define HAVE_LC_MESSAGES 1
63811 _ACEOF
63813 cat >>confdefs.h <<\_ACEOF
63814 #define HAVE_GETPAGESIZE 1
63815 _ACEOF
63817 cat >>confdefs.h <<\_ACEOF
63818 #define HAVE_SETENV 1
63819 _ACEOF
63821 cat >>confdefs.h <<\_ACEOF
63822 #define HAVE_SIGSETJMP 1
63823 _ACEOF
63825 cat >>confdefs.h <<\_ACEOF
63826 #define HAVE_COPYSIGN 1
63827 _ACEOF
63829 cat >>confdefs.h <<\_ACEOF
63830 #define HAVE_COPYSIGNF 1
63831 _ACEOF
63833 cat >>confdefs.h <<\_ACEOF
63834 #define HAVE_FINITEF 1
63835 _ACEOF
63837 cat >>confdefs.h <<\_ACEOF
63838 #define HAVE_FINITE 1
63839 _ACEOF
63841 cat >>confdefs.h <<\_ACEOF
63842 #define HAVE_FREXPF 1
63843 _ACEOF
63845 cat >>confdefs.h <<\_ACEOF
63846 #define HAVE_HYPOT 1
63847 _ACEOF
63849 cat >>confdefs.h <<\_ACEOF
63850 #define HAVE_HYPOTF 1
63851 _ACEOF
63853 cat >>confdefs.h <<\_ACEOF
63854 #define HAVE_ISINF 1
63855 _ACEOF
63857 cat >>confdefs.h <<\_ACEOF
63858 #define HAVE_ISNAN 1
63859 _ACEOF
63861 cat >>confdefs.h <<\_ACEOF
63862 #define HAVE_ISNANF 1
63863 _ACEOF
63866 cat >>confdefs.h <<\_ACEOF
63867 #define HAVE_MMAP 1
63868 _ACEOF
63870 cat >>confdefs.h <<\_ACEOF
63871 #define HAVE_ACOSF 1
63872 _ACEOF
63874 cat >>confdefs.h <<\_ACEOF
63875 #define HAVE_ASINF 1
63876 _ACEOF
63878 cat >>confdefs.h <<\_ACEOF
63879 #define HAVE_ATAN2F 1
63880 _ACEOF
63882 cat >>confdefs.h <<\_ACEOF
63883 #define HAVE_ATANF 1
63884 _ACEOF
63886 cat >>confdefs.h <<\_ACEOF
63887 #define HAVE_CEILF 1
63888 _ACEOF
63890 cat >>confdefs.h <<\_ACEOF
63891 #define HAVE_COPYSIGN 1
63892 _ACEOF
63894 cat >>confdefs.h <<\_ACEOF
63895 #define HAVE_COPYSIGNF 1
63896 _ACEOF
63898 cat >>confdefs.h <<\_ACEOF
63899 #define HAVE_COSF 1
63900 _ACEOF
63902 cat >>confdefs.h <<\_ACEOF
63903 #define HAVE_COSHF 1
63904 _ACEOF
63906 cat >>confdefs.h <<\_ACEOF
63907 #define HAVE_EXPF 1
63908 _ACEOF
63910 cat >>confdefs.h <<\_ACEOF
63911 #define HAVE_FABSF 1
63912 _ACEOF
63914 cat >>confdefs.h <<\_ACEOF
63915 #define HAVE_FLOORF 1
63916 _ACEOF
63918 cat >>confdefs.h <<\_ACEOF
63919 #define HAVE_FMODF 1
63920 _ACEOF
63922 cat >>confdefs.h <<\_ACEOF
63923 #define HAVE_FREXPF 1
63924 _ACEOF
63926 cat >>confdefs.h <<\_ACEOF
63927 #define HAVE_LDEXPF 1
63928 _ACEOF
63930 cat >>confdefs.h <<\_ACEOF
63931 #define HAVE_LOG10F 1
63932 _ACEOF
63934 cat >>confdefs.h <<\_ACEOF
63935 #define HAVE_LOGF 1
63936 _ACEOF
63938 cat >>confdefs.h <<\_ACEOF
63939 #define HAVE_MODFF 1
63940 _ACEOF
63942 cat >>confdefs.h <<\_ACEOF
63943 #define HAVE_POWF 1
63944 _ACEOF
63946 cat >>confdefs.h <<\_ACEOF
63947 #define HAVE_SINF 1
63948 _ACEOF
63950 cat >>confdefs.h <<\_ACEOF
63951 #define HAVE_SINHF 1
63952 _ACEOF
63954 cat >>confdefs.h <<\_ACEOF
63955 #define HAVE_SQRTF 1
63956 _ACEOF
63958 cat >>confdefs.h <<\_ACEOF
63959 #define HAVE_TANF 1
63960 _ACEOF
63962 cat >>confdefs.h <<\_ACEOF
63963 #define HAVE_TANHF 1
63964 _ACEOF
63966 if test x"long_double_math_on_this_cpu" = x"yes"; then
63967 cat >>confdefs.h <<\_ACEOF
63968 #define HAVE_FINITEL 1
63969 _ACEOF
63971 cat >>confdefs.h <<\_ACEOF
63972 #define HAVE_ISINFL 1
63973 _ACEOF
63975 cat >>confdefs.h <<\_ACEOF
63976 #define HAVE_ISNANL 1
63977 _ACEOF
63981 *-hpux*)
63994 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
63995 machine/endian.h machine/param.h sys/machine.h sys/types.h \
63996 fp.h locale.h float.h inttypes.h
63998 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64000 echo "$as_me:$LINENO: checking for $ac_header" >&5
64001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64003 echo $ECHO_N "(cached) $ECHO_C" >&6
64005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64007 else
64008 # Is the header compilable?
64009 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64010 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64011 cat >conftest.$ac_ext <<_ACEOF
64012 /* confdefs.h. */
64013 _ACEOF
64014 cat confdefs.h >>conftest.$ac_ext
64015 cat >>conftest.$ac_ext <<_ACEOF
64016 /* end confdefs.h. */
64017 $ac_includes_default
64018 #include <$ac_header>
64019 _ACEOF
64020 rm -f conftest.$ac_objext
64021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64022 (eval $ac_compile) 2>conftest.er1
64023 ac_status=$?
64024 grep -v '^ *+' conftest.er1 >conftest.err
64025 rm -f conftest.er1
64026 cat conftest.err >&5
64027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64028 (exit $ac_status); } &&
64029 { ac_try='test -z "$ac_c_werror_flag"
64030 || test ! -s conftest.err'
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); }; } &&
64036 { ac_try='test -s conftest.$ac_objext'
64037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64038 (eval $ac_try) 2>&5
64039 ac_status=$?
64040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64041 (exit $ac_status); }; }; then
64042 ac_header_compiler=yes
64043 else
64044 echo "$as_me: failed program was:" >&5
64045 sed 's/^/| /' conftest.$ac_ext >&5
64047 ac_header_compiler=no
64049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64050 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64051 echo "${ECHO_T}$ac_header_compiler" >&6
64053 # Is the header present?
64054 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64055 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64056 cat >conftest.$ac_ext <<_ACEOF
64057 /* confdefs.h. */
64058 _ACEOF
64059 cat confdefs.h >>conftest.$ac_ext
64060 cat >>conftest.$ac_ext <<_ACEOF
64061 /* end confdefs.h. */
64062 #include <$ac_header>
64063 _ACEOF
64064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64065 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64066 ac_status=$?
64067 grep -v '^ *+' conftest.er1 >conftest.err
64068 rm -f conftest.er1
64069 cat conftest.err >&5
64070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64071 (exit $ac_status); } >/dev/null; then
64072 if test -s conftest.err; then
64073 ac_cpp_err=$ac_c_preproc_warn_flag
64074 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64075 else
64076 ac_cpp_err=
64078 else
64079 ac_cpp_err=yes
64081 if test -z "$ac_cpp_err"; then
64082 ac_header_preproc=yes
64083 else
64084 echo "$as_me: failed program was:" >&5
64085 sed 's/^/| /' conftest.$ac_ext >&5
64087 ac_header_preproc=no
64089 rm -f conftest.err conftest.$ac_ext
64090 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64091 echo "${ECHO_T}$ac_header_preproc" >&6
64093 # So? What about this header?
64094 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64095 yes:no: )
64096 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64097 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64098 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64099 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64100 ac_header_preproc=yes
64102 no:yes:* )
64103 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64104 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64105 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
64106 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
64107 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64108 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64109 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
64110 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
64111 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64112 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64113 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64114 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64116 cat <<\_ASBOX
64117 ## ----------------------------------------- ##
64118 ## Report this to the package-unused lists. ##
64119 ## ----------------------------------------- ##
64120 _ASBOX
64122 sed "s/^/$as_me: WARNING: /" >&2
64124 esac
64125 echo "$as_me:$LINENO: checking for $ac_header" >&5
64126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64128 echo $ECHO_N "(cached) $ECHO_C" >&6
64129 else
64130 eval "$as_ac_Header=\$ac_header_preproc"
64132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64136 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64137 cat >>confdefs.h <<_ACEOF
64138 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64139 _ACEOF
64143 done
64145 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64148 # If we're not using GNU ld, then there's no point in even trying these
64149 # tests. Check for that first. We should have already tested for gld
64150 # by now (in libtool), but require it now just to be safe...
64151 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64152 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64156 # The name set by libtool depends on the version of libtool. Shame on us
64157 # for depending on an impl detail, but c'est la vie. Older versions used
64158 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64159 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64160 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64161 # set (hence we're using an older libtool), then set it.
64162 if test x${with_gnu_ld+set} != xset; then
64163 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64164 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64165 with_gnu_ld=no
64166 else
64167 with_gnu_ld=$ac_cv_prog_gnu_ld
64171 # Start by getting the version number. I think the libtool test already
64172 # does some of this, but throws away the result.
64173 if test x"$with_gnu_ld" = x"yes"; then
64174 echo "$as_me:$LINENO: checking for ld version" >&5
64175 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
64177 ldver=`$LD --version 2>/dev/null | head -1 | \
64178 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
64180 glibcxx_gnu_ld_version=`echo $ldver | \
64181 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64182 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
64183 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
64186 # Set --gc-sections.
64187 glibcxx_gcsections_min_ld=21602
64188 if test x"$with_gnu_ld" = x"yes" &&
64189 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64191 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64192 # NB: This flag only works reliably after 2.16.1. Configure tests
64193 # for this are difficult, so hard wire a value that should work.
64195 ac_test_CFLAGS="${CFLAGS+set}"
64196 ac_save_CFLAGS="$CFLAGS"
64197 CFLAGS='-Wl,--gc-sections'
64199 # Check for -Wl,--gc-sections
64200 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
64201 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
64202 if test x$gcc_no_link = xyes; then
64203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64205 { (exit 1); exit 1; }; }
64207 cat >conftest.$ac_ext <<_ACEOF
64208 /* confdefs.h. */
64209 _ACEOF
64210 cat confdefs.h >>conftest.$ac_ext
64211 cat >>conftest.$ac_ext <<_ACEOF
64212 /* end confdefs.h. */
64213 int one(void) { return 1; }
64214 int two(void) { return 2; }
64217 main ()
64219 two();
64221 return 0;
64223 _ACEOF
64224 rm -f conftest.$ac_objext conftest$ac_exeext
64225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64226 (eval $ac_link) 2>conftest.er1
64227 ac_status=$?
64228 grep -v '^ *+' conftest.er1 >conftest.err
64229 rm -f conftest.er1
64230 cat conftest.err >&5
64231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64232 (exit $ac_status); } &&
64233 { ac_try='test -z "$ac_c_werror_flag"
64234 || test ! -s conftest.err'
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); }; } &&
64240 { ac_try='test -s conftest$ac_exeext'
64241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64242 (eval $ac_try) 2>&5
64243 ac_status=$?
64244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64245 (exit $ac_status); }; }; then
64246 ac_gcsections=yes
64247 else
64248 echo "$as_me: failed program was:" >&5
64249 sed 's/^/| /' conftest.$ac_ext >&5
64251 ac_gcsections=no
64253 rm -f conftest.err conftest.$ac_objext \
64254 conftest$ac_exeext conftest.$ac_ext
64255 if test "$ac_gcsections" = "yes"; then
64256 rm -f conftest.c
64257 touch conftest.c
64258 if $CC -c conftest.c; then
64259 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64260 grep "Warning: gc-sections option ignored" > /dev/null; then
64261 ac_gcsections=no
64264 rm -f conftest.c conftest.o conftest
64266 if test "$ac_gcsections" = "yes"; then
64267 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64269 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
64270 echo "${ECHO_T}$ac_gcsections" >&6
64272 if test "$ac_test_CFLAGS" = set; then
64273 CFLAGS="$ac_save_CFLAGS"
64274 else
64275 # this is the suspicious part
64276 CFLAGS=''
64280 # Set -z,relro.
64281 # Note this is only for shared objects.
64282 ac_ld_relro=no
64283 if test x"$with_gnu_ld" = x"yes"; then
64284 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
64285 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
64286 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64287 if test -n "$cxx_z_relo"; then
64288 OPT_LDFLAGS="-Wl,-z,relro"
64289 ac_ld_relro=yes
64291 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
64292 echo "${ECHO_T}$ac_ld_relro" >&6
64295 # Set linker optimization flags.
64296 if test x"$with_gnu_ld" = x"yes"; then
64297 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64305 echo "$as_me:$LINENO: checking for main in -lm" >&5
64306 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
64307 if test "${ac_cv_lib_m_main+set}" = set; then
64308 echo $ECHO_N "(cached) $ECHO_C" >&6
64309 else
64310 ac_check_lib_save_LIBS=$LIBS
64311 LIBS="-lm $LIBS"
64312 if test x$gcc_no_link = xyes; then
64313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64315 { (exit 1); exit 1; }; }
64317 cat >conftest.$ac_ext <<_ACEOF
64318 /* confdefs.h. */
64319 _ACEOF
64320 cat confdefs.h >>conftest.$ac_ext
64321 cat >>conftest.$ac_ext <<_ACEOF
64322 /* end confdefs.h. */
64326 main ()
64328 main ();
64330 return 0;
64332 _ACEOF
64333 rm -f conftest.$ac_objext conftest$ac_exeext
64334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64335 (eval $ac_link) 2>conftest.er1
64336 ac_status=$?
64337 grep -v '^ *+' conftest.er1 >conftest.err
64338 rm -f conftest.er1
64339 cat conftest.err >&5
64340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64341 (exit $ac_status); } &&
64342 { ac_try='test -z "$ac_c_werror_flag"
64343 || test ! -s conftest.err'
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); }; } &&
64349 { ac_try='test -s conftest$ac_exeext'
64350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64351 (eval $ac_try) 2>&5
64352 ac_status=$?
64353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64354 (exit $ac_status); }; }; then
64355 ac_cv_lib_m_main=yes
64356 else
64357 echo "$as_me: failed program was:" >&5
64358 sed 's/^/| /' conftest.$ac_ext >&5
64360 ac_cv_lib_m_main=no
64362 rm -f conftest.err conftest.$ac_objext \
64363 conftest$ac_exeext conftest.$ac_ext
64364 LIBS=$ac_check_lib_save_LIBS
64366 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
64367 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
64368 if test $ac_cv_lib_m_main = yes; then
64369 cat >>confdefs.h <<_ACEOF
64370 #define HAVE_LIBM 1
64371 _ACEOF
64373 LIBS="-lm $LIBS"
64378 for ac_func in copysignf
64380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64381 echo "$as_me:$LINENO: checking for $ac_func" >&5
64382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64383 if eval "test \"\${$as_ac_var+set}\" = set"; then
64384 echo $ECHO_N "(cached) $ECHO_C" >&6
64385 else
64386 if test x$gcc_no_link = xyes; then
64387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64389 { (exit 1); exit 1; }; }
64391 cat >conftest.$ac_ext <<_ACEOF
64392 /* confdefs.h. */
64393 _ACEOF
64394 cat confdefs.h >>conftest.$ac_ext
64395 cat >>conftest.$ac_ext <<_ACEOF
64396 /* end confdefs.h. */
64397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64399 #define $ac_func innocuous_$ac_func
64401 /* System header to define __stub macros and hopefully few prototypes,
64402 which can conflict with char $ac_func (); below.
64403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64404 <limits.h> exists even on freestanding compilers. */
64406 #ifdef __STDC__
64407 # include <limits.h>
64408 #else
64409 # include <assert.h>
64410 #endif
64412 #undef $ac_func
64414 /* Override any gcc2 internal prototype to avoid an error. */
64415 #ifdef __cplusplus
64416 extern "C"
64418 #endif
64419 /* We use char because int might match the return type of a gcc2
64420 builtin and then its argument prototype would still apply. */
64421 char $ac_func ();
64422 /* The GNU C library defines this for functions which it implements
64423 to always fail with ENOSYS. Some functions are actually named
64424 something starting with __ and the normal name is an alias. */
64425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64426 choke me
64427 #else
64428 char (*f) () = $ac_func;
64429 #endif
64430 #ifdef __cplusplus
64432 #endif
64435 main ()
64437 return f != $ac_func;
64439 return 0;
64441 _ACEOF
64442 rm -f conftest.$ac_objext conftest$ac_exeext
64443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64444 (eval $ac_link) 2>conftest.er1
64445 ac_status=$?
64446 grep -v '^ *+' conftest.er1 >conftest.err
64447 rm -f conftest.er1
64448 cat conftest.err >&5
64449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64450 (exit $ac_status); } &&
64451 { ac_try='test -z "$ac_c_werror_flag"
64452 || test ! -s conftest.err'
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); }; } &&
64458 { ac_try='test -s conftest$ac_exeext'
64459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64460 (eval $ac_try) 2>&5
64461 ac_status=$?
64462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64463 (exit $ac_status); }; }; then
64464 eval "$as_ac_var=yes"
64465 else
64466 echo "$as_me: failed program was:" >&5
64467 sed 's/^/| /' conftest.$ac_ext >&5
64469 eval "$as_ac_var=no"
64471 rm -f conftest.err conftest.$ac_objext \
64472 conftest$ac_exeext conftest.$ac_ext
64474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64476 if test `eval echo '${'$as_ac_var'}'` = yes; then
64477 cat >>confdefs.h <<_ACEOF
64478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64479 _ACEOF
64481 else
64482 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
64484 done
64488 for ac_func in __signbit
64490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64491 echo "$as_me:$LINENO: checking for $ac_func" >&5
64492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64493 if eval "test \"\${$as_ac_var+set}\" = set"; then
64494 echo $ECHO_N "(cached) $ECHO_C" >&6
64495 else
64496 if test x$gcc_no_link = xyes; then
64497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64499 { (exit 1); exit 1; }; }
64501 cat >conftest.$ac_ext <<_ACEOF
64502 /* confdefs.h. */
64503 _ACEOF
64504 cat confdefs.h >>conftest.$ac_ext
64505 cat >>conftest.$ac_ext <<_ACEOF
64506 /* end confdefs.h. */
64507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64509 #define $ac_func innocuous_$ac_func
64511 /* System header to define __stub macros and hopefully few prototypes,
64512 which can conflict with char $ac_func (); below.
64513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64514 <limits.h> exists even on freestanding compilers. */
64516 #ifdef __STDC__
64517 # include <limits.h>
64518 #else
64519 # include <assert.h>
64520 #endif
64522 #undef $ac_func
64524 /* Override any gcc2 internal prototype to avoid an error. */
64525 #ifdef __cplusplus
64526 extern "C"
64528 #endif
64529 /* We use char because int might match the return type of a gcc2
64530 builtin and then its argument prototype would still apply. */
64531 char $ac_func ();
64532 /* The GNU C library defines this for functions which it implements
64533 to always fail with ENOSYS. Some functions are actually named
64534 something starting with __ and the normal name is an alias. */
64535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64536 choke me
64537 #else
64538 char (*f) () = $ac_func;
64539 #endif
64540 #ifdef __cplusplus
64542 #endif
64545 main ()
64547 return f != $ac_func;
64549 return 0;
64551 _ACEOF
64552 rm -f conftest.$ac_objext conftest$ac_exeext
64553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64554 (eval $ac_link) 2>conftest.er1
64555 ac_status=$?
64556 grep -v '^ *+' conftest.er1 >conftest.err
64557 rm -f conftest.er1
64558 cat conftest.err >&5
64559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64560 (exit $ac_status); } &&
64561 { ac_try='test -z "$ac_c_werror_flag"
64562 || test ! -s conftest.err'
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); }; } &&
64568 { ac_try='test -s conftest$ac_exeext'
64569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64570 (eval $ac_try) 2>&5
64571 ac_status=$?
64572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64573 (exit $ac_status); }; }; then
64574 eval "$as_ac_var=yes"
64575 else
64576 echo "$as_me: failed program was:" >&5
64577 sed 's/^/| /' conftest.$ac_ext >&5
64579 eval "$as_ac_var=no"
64581 rm -f conftest.err conftest.$ac_objext \
64582 conftest$ac_exeext conftest.$ac_ext
64584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64586 if test `eval echo '${'$as_ac_var'}'` = yes; then
64587 cat >>confdefs.h <<_ACEOF
64588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64589 _ACEOF
64591 else
64592 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
64594 done
64598 for ac_func in __signbitf
64600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64601 echo "$as_me:$LINENO: checking for $ac_func" >&5
64602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64603 if eval "test \"\${$as_ac_var+set}\" = set"; then
64604 echo $ECHO_N "(cached) $ECHO_C" >&6
64605 else
64606 if test x$gcc_no_link = xyes; then
64607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64609 { (exit 1); exit 1; }; }
64611 cat >conftest.$ac_ext <<_ACEOF
64612 /* confdefs.h. */
64613 _ACEOF
64614 cat confdefs.h >>conftest.$ac_ext
64615 cat >>conftest.$ac_ext <<_ACEOF
64616 /* end confdefs.h. */
64617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64619 #define $ac_func innocuous_$ac_func
64621 /* System header to define __stub macros and hopefully few prototypes,
64622 which can conflict with char $ac_func (); below.
64623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64624 <limits.h> exists even on freestanding compilers. */
64626 #ifdef __STDC__
64627 # include <limits.h>
64628 #else
64629 # include <assert.h>
64630 #endif
64632 #undef $ac_func
64634 /* Override any gcc2 internal prototype to avoid an error. */
64635 #ifdef __cplusplus
64636 extern "C"
64638 #endif
64639 /* We use char because int might match the return type of a gcc2
64640 builtin and then its argument prototype would still apply. */
64641 char $ac_func ();
64642 /* The GNU C library defines this for functions which it implements
64643 to always fail with ENOSYS. Some functions are actually named
64644 something starting with __ and the normal name is an alias. */
64645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64646 choke me
64647 #else
64648 char (*f) () = $ac_func;
64649 #endif
64650 #ifdef __cplusplus
64652 #endif
64655 main ()
64657 return f != $ac_func;
64659 return 0;
64661 _ACEOF
64662 rm -f conftest.$ac_objext conftest$ac_exeext
64663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64664 (eval $ac_link) 2>conftest.er1
64665 ac_status=$?
64666 grep -v '^ *+' conftest.er1 >conftest.err
64667 rm -f conftest.er1
64668 cat conftest.err >&5
64669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64670 (exit $ac_status); } &&
64671 { ac_try='test -z "$ac_c_werror_flag"
64672 || test ! -s conftest.err'
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); }; } &&
64678 { ac_try='test -s conftest$ac_exeext'
64679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64680 (eval $ac_try) 2>&5
64681 ac_status=$?
64682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64683 (exit $ac_status); }; }; then
64684 eval "$as_ac_var=yes"
64685 else
64686 echo "$as_me: failed program was:" >&5
64687 sed 's/^/| /' conftest.$ac_ext >&5
64689 eval "$as_ac_var=no"
64691 rm -f conftest.err conftest.$ac_objext \
64692 conftest$ac_exeext conftest.$ac_ext
64694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64696 if test `eval echo '${'$as_ac_var'}'` = yes; then
64697 cat >>confdefs.h <<_ACEOF
64698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64699 _ACEOF
64701 else
64702 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
64704 done
64707 if test x$ac_cv_func_copysignl = x"yes"; then
64709 for ac_func in __signbitl
64711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64712 echo "$as_me:$LINENO: checking for $ac_func" >&5
64713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64714 if eval "test \"\${$as_ac_var+set}\" = set"; then
64715 echo $ECHO_N "(cached) $ECHO_C" >&6
64716 else
64717 if test x$gcc_no_link = xyes; then
64718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64720 { (exit 1); exit 1; }; }
64722 cat >conftest.$ac_ext <<_ACEOF
64723 /* confdefs.h. */
64724 _ACEOF
64725 cat confdefs.h >>conftest.$ac_ext
64726 cat >>conftest.$ac_ext <<_ACEOF
64727 /* end confdefs.h. */
64728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64730 #define $ac_func innocuous_$ac_func
64732 /* System header to define __stub macros and hopefully few prototypes,
64733 which can conflict with char $ac_func (); below.
64734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64735 <limits.h> exists even on freestanding compilers. */
64737 #ifdef __STDC__
64738 # include <limits.h>
64739 #else
64740 # include <assert.h>
64741 #endif
64743 #undef $ac_func
64745 /* Override any gcc2 internal prototype to avoid an error. */
64746 #ifdef __cplusplus
64747 extern "C"
64749 #endif
64750 /* We use char because int might match the return type of a gcc2
64751 builtin and then its argument prototype would still apply. */
64752 char $ac_func ();
64753 /* The GNU C library defines this for functions which it implements
64754 to always fail with ENOSYS. Some functions are actually named
64755 something starting with __ and the normal name is an alias. */
64756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64757 choke me
64758 #else
64759 char (*f) () = $ac_func;
64760 #endif
64761 #ifdef __cplusplus
64763 #endif
64766 main ()
64768 return f != $ac_func;
64770 return 0;
64772 _ACEOF
64773 rm -f conftest.$ac_objext conftest$ac_exeext
64774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64775 (eval $ac_link) 2>conftest.er1
64776 ac_status=$?
64777 grep -v '^ *+' conftest.er1 >conftest.err
64778 rm -f conftest.er1
64779 cat conftest.err >&5
64780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64781 (exit $ac_status); } &&
64782 { ac_try='test -z "$ac_c_werror_flag"
64783 || test ! -s conftest.err'
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); }; } &&
64789 { ac_try='test -s conftest$ac_exeext'
64790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64791 (eval $ac_try) 2>&5
64792 ac_status=$?
64793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64794 (exit $ac_status); }; }; then
64795 eval "$as_ac_var=yes"
64796 else
64797 echo "$as_me: failed program was:" >&5
64798 sed 's/^/| /' conftest.$ac_ext >&5
64800 eval "$as_ac_var=no"
64802 rm -f conftest.err conftest.$ac_objext \
64803 conftest$ac_exeext conftest.$ac_ext
64805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64807 if test `eval echo '${'$as_ac_var'}'` = yes; then
64808 cat >>confdefs.h <<_ACEOF
64809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64810 _ACEOF
64812 else
64813 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
64815 done
64819 # Used in libmath/Makefile.am.
64820 if test -n "$LIBMATHOBJS"; then
64821 need_libmath=yes
64825 cat >>confdefs.h <<\_ACEOF
64826 #define HAVE_COPYSIGN 1
64827 _ACEOF
64829 cat >>confdefs.h <<\_ACEOF
64830 #define HAVE_COPYSIGNF 1
64831 _ACEOF
64833 cat >>confdefs.h <<\_ACEOF
64834 #define HAVE_FREXPF 1
64835 _ACEOF
64837 cat >>confdefs.h <<\_ACEOF
64838 #define HAVE_HYPOT 1
64839 _ACEOF
64841 case "$target" in
64842 *-hpux10*)
64843 cat >>confdefs.h <<\_ACEOF
64844 #define HAVE_FINITE 1
64845 _ACEOF
64847 cat >>confdefs.h <<\_ACEOF
64848 #define HAVE_FINITEF 1
64849 _ACEOF
64851 cat >>confdefs.h <<\_ACEOF
64852 #define HAVE_ISINF 1
64853 _ACEOF
64855 cat >>confdefs.h <<\_ACEOF
64856 #define HAVE_ISINFF 1
64857 _ACEOF
64859 cat >>confdefs.h <<\_ACEOF
64860 #define HAVE_ISNAN 1
64861 _ACEOF
64863 cat >>confdefs.h <<\_ACEOF
64864 #define HAVE_ISNANF 1
64865 _ACEOF
64868 esac
64870 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
64886 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
64887 machine/endian.h machine/param.h sys/machine.h sys/types.h \
64888 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
64890 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64892 echo "$as_me:$LINENO: checking for $ac_header" >&5
64893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64895 echo $ECHO_N "(cached) $ECHO_C" >&6
64897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64899 else
64900 # Is the header compilable?
64901 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64902 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64903 cat >conftest.$ac_ext <<_ACEOF
64904 /* confdefs.h. */
64905 _ACEOF
64906 cat confdefs.h >>conftest.$ac_ext
64907 cat >>conftest.$ac_ext <<_ACEOF
64908 /* end confdefs.h. */
64909 $ac_includes_default
64910 #include <$ac_header>
64911 _ACEOF
64912 rm -f conftest.$ac_objext
64913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64914 (eval $ac_compile) 2>conftest.er1
64915 ac_status=$?
64916 grep -v '^ *+' conftest.er1 >conftest.err
64917 rm -f conftest.er1
64918 cat conftest.err >&5
64919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64920 (exit $ac_status); } &&
64921 { ac_try='test -z "$ac_c_werror_flag"
64922 || test ! -s conftest.err'
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); }; } &&
64928 { ac_try='test -s conftest.$ac_objext'
64929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64930 (eval $ac_try) 2>&5
64931 ac_status=$?
64932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64933 (exit $ac_status); }; }; then
64934 ac_header_compiler=yes
64935 else
64936 echo "$as_me: failed program was:" >&5
64937 sed 's/^/| /' conftest.$ac_ext >&5
64939 ac_header_compiler=no
64941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64942 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64943 echo "${ECHO_T}$ac_header_compiler" >&6
64945 # Is the header present?
64946 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64947 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64948 cat >conftest.$ac_ext <<_ACEOF
64949 /* confdefs.h. */
64950 _ACEOF
64951 cat confdefs.h >>conftest.$ac_ext
64952 cat >>conftest.$ac_ext <<_ACEOF
64953 /* end confdefs.h. */
64954 #include <$ac_header>
64955 _ACEOF
64956 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64957 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64958 ac_status=$?
64959 grep -v '^ *+' conftest.er1 >conftest.err
64960 rm -f conftest.er1
64961 cat conftest.err >&5
64962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64963 (exit $ac_status); } >/dev/null; then
64964 if test -s conftest.err; then
64965 ac_cpp_err=$ac_c_preproc_warn_flag
64966 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64967 else
64968 ac_cpp_err=
64970 else
64971 ac_cpp_err=yes
64973 if test -z "$ac_cpp_err"; then
64974 ac_header_preproc=yes
64975 else
64976 echo "$as_me: failed program was:" >&5
64977 sed 's/^/| /' conftest.$ac_ext >&5
64979 ac_header_preproc=no
64981 rm -f conftest.err conftest.$ac_ext
64982 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64983 echo "${ECHO_T}$ac_header_preproc" >&6
64985 # So? What about this header?
64986 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64987 yes:no: )
64988 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64989 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64991 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64992 ac_header_preproc=yes
64994 no:yes:* )
64995 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64996 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64997 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
64998 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
64999 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
65000 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
65001 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
65002 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
65003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
65004 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
65005 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
65006 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
65008 cat <<\_ASBOX
65009 ## ----------------------------------------- ##
65010 ## Report this to the package-unused lists. ##
65011 ## ----------------------------------------- ##
65012 _ASBOX
65014 sed "s/^/$as_me: WARNING: /" >&2
65016 esac
65017 echo "$as_me:$LINENO: checking for $ac_header" >&5
65018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
65019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
65020 echo $ECHO_N "(cached) $ECHO_C" >&6
65021 else
65022 eval "$as_ac_Header=\$ac_header_preproc"
65024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
65025 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
65028 if test `eval echo '${'$as_ac_Header'}'` = yes; then
65029 cat >>confdefs.h <<_ACEOF
65030 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
65031 _ACEOF
65035 done
65037 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65040 # All these tests are for C++; save the language and the compiler flags.
65041 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65042 # found in GLIBCXX_CONFIGURE.
65045 ac_ext=cc
65046 ac_cpp='$CXXCPP $CPPFLAGS'
65047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65051 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65052 ac_save_CXXFLAGS="$CXXFLAGS"
65054 # Check for maintainer-mode bits.
65055 if test x"$USE_MAINTAINER_MODE" = xno; then
65056 WERROR=''
65057 else
65058 WERROR='-Werror'
65061 # Check for -ffunction-sections -fdata-sections
65062 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65063 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
65064 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65065 cat >conftest.$ac_ext <<_ACEOF
65066 /* confdefs.h. */
65067 _ACEOF
65068 cat confdefs.h >>conftest.$ac_ext
65069 cat >>conftest.$ac_ext <<_ACEOF
65070 /* end confdefs.h. */
65071 int foo; void bar() { };
65073 main ()
65077 return 0;
65079 _ACEOF
65080 rm -f conftest.$ac_objext
65081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65082 (eval $ac_compile) 2>conftest.er1
65083 ac_status=$?
65084 grep -v '^ *+' conftest.er1 >conftest.err
65085 rm -f conftest.er1
65086 cat conftest.err >&5
65087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65088 (exit $ac_status); } &&
65089 { ac_try='test -z "$ac_cxx_werror_flag"
65090 || test ! -s conftest.err'
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); }; } &&
65096 { ac_try='test -s conftest.$ac_objext'
65097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65098 (eval $ac_try) 2>&5
65099 ac_status=$?
65100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65101 (exit $ac_status); }; }; then
65102 ac_fdsections=yes
65103 else
65104 echo "$as_me: failed program was:" >&5
65105 sed 's/^/| /' conftest.$ac_ext >&5
65107 ac_fdsections=no
65109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65110 if test "$ac_test_CXXFLAGS" = set; then
65111 CXXFLAGS="$ac_save_CXXFLAGS"
65112 else
65113 # this is the suspicious part
65114 CXXFLAGS=''
65116 if test x"$ac_fdsections" = x"yes"; then
65117 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65119 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
65120 echo "${ECHO_T}$ac_fdsections" >&6
65122 ac_ext=c
65123 ac_cpp='$CPP $CPPFLAGS'
65124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65132 # If we're not using GNU ld, then there's no point in even trying these
65133 # tests. Check for that first. We should have already tested for gld
65134 # by now (in libtool), but require it now just to be safe...
65135 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65136 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65140 # The name set by libtool depends on the version of libtool. Shame on us
65141 # for depending on an impl detail, but c'est la vie. Older versions used
65142 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65143 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65144 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65145 # set (hence we're using an older libtool), then set it.
65146 if test x${with_gnu_ld+set} != xset; then
65147 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65148 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65149 with_gnu_ld=no
65150 else
65151 with_gnu_ld=$ac_cv_prog_gnu_ld
65155 # Start by getting the version number. I think the libtool test already
65156 # does some of this, but throws away the result.
65157 if test x"$with_gnu_ld" = x"yes"; then
65158 echo "$as_me:$LINENO: checking for ld version" >&5
65159 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
65161 ldver=`$LD --version 2>/dev/null | head -1 | \
65162 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
65164 glibcxx_gnu_ld_version=`echo $ldver | \
65165 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65166 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
65167 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
65170 # Set --gc-sections.
65171 glibcxx_gcsections_min_ld=21602
65172 if test x"$with_gnu_ld" = x"yes" &&
65173 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65175 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65176 # NB: This flag only works reliably after 2.16.1. Configure tests
65177 # for this are difficult, so hard wire a value that should work.
65179 ac_test_CFLAGS="${CFLAGS+set}"
65180 ac_save_CFLAGS="$CFLAGS"
65181 CFLAGS='-Wl,--gc-sections'
65183 # Check for -Wl,--gc-sections
65184 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
65185 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
65186 if test x$gcc_no_link = xyes; then
65187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65189 { (exit 1); exit 1; }; }
65191 cat >conftest.$ac_ext <<_ACEOF
65192 /* confdefs.h. */
65193 _ACEOF
65194 cat confdefs.h >>conftest.$ac_ext
65195 cat >>conftest.$ac_ext <<_ACEOF
65196 /* end confdefs.h. */
65197 int one(void) { return 1; }
65198 int two(void) { return 2; }
65201 main ()
65203 two();
65205 return 0;
65207 _ACEOF
65208 rm -f conftest.$ac_objext conftest$ac_exeext
65209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65210 (eval $ac_link) 2>conftest.er1
65211 ac_status=$?
65212 grep -v '^ *+' conftest.er1 >conftest.err
65213 rm -f conftest.er1
65214 cat conftest.err >&5
65215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65216 (exit $ac_status); } &&
65217 { ac_try='test -z "$ac_c_werror_flag"
65218 || test ! -s conftest.err'
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); }; } &&
65224 { ac_try='test -s conftest$ac_exeext'
65225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65226 (eval $ac_try) 2>&5
65227 ac_status=$?
65228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65229 (exit $ac_status); }; }; then
65230 ac_gcsections=yes
65231 else
65232 echo "$as_me: failed program was:" >&5
65233 sed 's/^/| /' conftest.$ac_ext >&5
65235 ac_gcsections=no
65237 rm -f conftest.err conftest.$ac_objext \
65238 conftest$ac_exeext conftest.$ac_ext
65239 if test "$ac_gcsections" = "yes"; then
65240 rm -f conftest.c
65241 touch conftest.c
65242 if $CC -c conftest.c; then
65243 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65244 grep "Warning: gc-sections option ignored" > /dev/null; then
65245 ac_gcsections=no
65248 rm -f conftest.c conftest.o conftest
65250 if test "$ac_gcsections" = "yes"; then
65251 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65253 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
65254 echo "${ECHO_T}$ac_gcsections" >&6
65256 if test "$ac_test_CFLAGS" = set; then
65257 CFLAGS="$ac_save_CFLAGS"
65258 else
65259 # this is the suspicious part
65260 CFLAGS=''
65264 # Set -z,relro.
65265 # Note this is only for shared objects.
65266 ac_ld_relro=no
65267 if test x"$with_gnu_ld" = x"yes"; then
65268 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
65269 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
65270 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65271 if test -n "$cxx_z_relo"; then
65272 OPT_LDFLAGS="-Wl,-z,relro"
65273 ac_ld_relro=yes
65275 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
65276 echo "${ECHO_T}$ac_ld_relro" >&6
65279 # Set linker optimization flags.
65280 if test x"$with_gnu_ld" = x"yes"; then
65281 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65288 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65289 ac_save_CXXFLAGS="$CXXFLAGS"
65290 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65292 echo "$as_me:$LINENO: checking for sin in -lm" >&5
65293 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
65294 if test "${ac_cv_lib_m_sin+set}" = set; then
65295 echo $ECHO_N "(cached) $ECHO_C" >&6
65296 else
65297 ac_check_lib_save_LIBS=$LIBS
65298 LIBS="-lm $LIBS"
65299 if test x$gcc_no_link = xyes; then
65300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65302 { (exit 1); exit 1; }; }
65304 cat >conftest.$ac_ext <<_ACEOF
65305 /* confdefs.h. */
65306 _ACEOF
65307 cat confdefs.h >>conftest.$ac_ext
65308 cat >>conftest.$ac_ext <<_ACEOF
65309 /* end confdefs.h. */
65311 /* Override any gcc2 internal prototype to avoid an error. */
65312 #ifdef __cplusplus
65313 extern "C"
65314 #endif
65315 /* We use char because int might match the return type of a gcc2
65316 builtin and then its argument prototype would still apply. */
65317 char sin ();
65319 main ()
65321 sin ();
65323 return 0;
65325 _ACEOF
65326 rm -f conftest.$ac_objext conftest$ac_exeext
65327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65328 (eval $ac_link) 2>conftest.er1
65329 ac_status=$?
65330 grep -v '^ *+' conftest.er1 >conftest.err
65331 rm -f conftest.er1
65332 cat conftest.err >&5
65333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65334 (exit $ac_status); } &&
65335 { ac_try='test -z "$ac_c_werror_flag"
65336 || test ! -s conftest.err'
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); }; } &&
65342 { ac_try='test -s conftest$ac_exeext'
65343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65344 (eval $ac_try) 2>&5
65345 ac_status=$?
65346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65347 (exit $ac_status); }; }; then
65348 ac_cv_lib_m_sin=yes
65349 else
65350 echo "$as_me: failed program was:" >&5
65351 sed 's/^/| /' conftest.$ac_ext >&5
65353 ac_cv_lib_m_sin=no
65355 rm -f conftest.err conftest.$ac_objext \
65356 conftest$ac_exeext conftest.$ac_ext
65357 LIBS=$ac_check_lib_save_LIBS
65359 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
65360 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
65361 if test $ac_cv_lib_m_sin = yes; then
65362 libm="-lm"
65365 ac_save_LIBS="$LIBS"
65366 LIBS="$LIBS $libm"
65370 echo "$as_me:$LINENO: checking for isinf declaration" >&5
65371 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
65372 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65373 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
65374 echo $ECHO_N "(cached) $ECHO_C" >&6
65375 else
65379 ac_ext=cc
65380 ac_cpp='$CXXCPP $CPPFLAGS'
65381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65385 cat >conftest.$ac_ext <<_ACEOF
65386 /* confdefs.h. */
65387 _ACEOF
65388 cat confdefs.h >>conftest.$ac_ext
65389 cat >>conftest.$ac_ext <<_ACEOF
65390 /* end confdefs.h. */
65391 #include <math.h>
65392 #ifdef HAVE_IEEEFP_H
65393 #include <ieeefp.h>
65394 #endif
65397 main ()
65399 isinf(0);
65401 return 0;
65403 _ACEOF
65404 rm -f conftest.$ac_objext
65405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65406 (eval $ac_compile) 2>conftest.er1
65407 ac_status=$?
65408 grep -v '^ *+' conftest.er1 >conftest.err
65409 rm -f conftest.er1
65410 cat conftest.err >&5
65411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65412 (exit $ac_status); } &&
65413 { ac_try='test -z "$ac_cxx_werror_flag"
65414 || test ! -s conftest.err'
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); }; } &&
65420 { ac_try='test -s conftest.$ac_objext'
65421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65422 (eval $ac_try) 2>&5
65423 ac_status=$?
65424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65425 (exit $ac_status); }; }; then
65426 glibcxx_cv_func_isinf_use=yes
65427 else
65428 echo "$as_me: failed program was:" >&5
65429 sed 's/^/| /' conftest.$ac_ext >&5
65431 glibcxx_cv_func_isinf_use=no
65433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65434 ac_ext=c
65435 ac_cpp='$CPP $CPPFLAGS'
65436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65444 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
65445 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
65447 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65449 for ac_func in isinf
65451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65452 echo "$as_me:$LINENO: checking for $ac_func" >&5
65453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65454 if eval "test \"\${$as_ac_var+set}\" = set"; then
65455 echo $ECHO_N "(cached) $ECHO_C" >&6
65456 else
65457 if test x$gcc_no_link = xyes; then
65458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65460 { (exit 1); exit 1; }; }
65462 cat >conftest.$ac_ext <<_ACEOF
65463 /* confdefs.h. */
65464 _ACEOF
65465 cat confdefs.h >>conftest.$ac_ext
65466 cat >>conftest.$ac_ext <<_ACEOF
65467 /* end confdefs.h. */
65468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65470 #define $ac_func innocuous_$ac_func
65472 /* System header to define __stub macros and hopefully few prototypes,
65473 which can conflict with char $ac_func (); below.
65474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65475 <limits.h> exists even on freestanding compilers. */
65477 #ifdef __STDC__
65478 # include <limits.h>
65479 #else
65480 # include <assert.h>
65481 #endif
65483 #undef $ac_func
65485 /* Override any gcc2 internal prototype to avoid an error. */
65486 #ifdef __cplusplus
65487 extern "C"
65489 #endif
65490 /* We use char because int might match the return type of a gcc2
65491 builtin and then its argument prototype would still apply. */
65492 char $ac_func ();
65493 /* The GNU C library defines this for functions which it implements
65494 to always fail with ENOSYS. Some functions are actually named
65495 something starting with __ and the normal name is an alias. */
65496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65497 choke me
65498 #else
65499 char (*f) () = $ac_func;
65500 #endif
65501 #ifdef __cplusplus
65503 #endif
65506 main ()
65508 return f != $ac_func;
65510 return 0;
65512 _ACEOF
65513 rm -f conftest.$ac_objext conftest$ac_exeext
65514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65515 (eval $ac_link) 2>conftest.er1
65516 ac_status=$?
65517 grep -v '^ *+' conftest.er1 >conftest.err
65518 rm -f conftest.er1
65519 cat conftest.err >&5
65520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65521 (exit $ac_status); } &&
65522 { ac_try='test -z "$ac_c_werror_flag"
65523 || test ! -s conftest.err'
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); }; } &&
65529 { ac_try='test -s conftest$ac_exeext'
65530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65531 (eval $ac_try) 2>&5
65532 ac_status=$?
65533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65534 (exit $ac_status); }; }; then
65535 eval "$as_ac_var=yes"
65536 else
65537 echo "$as_me: failed program was:" >&5
65538 sed 's/^/| /' conftest.$ac_ext >&5
65540 eval "$as_ac_var=no"
65542 rm -f conftest.err conftest.$ac_objext \
65543 conftest$ac_exeext conftest.$ac_ext
65545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65547 if test `eval echo '${'$as_ac_var'}'` = yes; then
65548 cat >>confdefs.h <<_ACEOF
65549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65550 _ACEOF
65553 done
65555 else
65557 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
65558 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
65559 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65560 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
65561 echo $ECHO_N "(cached) $ECHO_C" >&6
65562 else
65566 ac_ext=cc
65567 ac_cpp='$CXXCPP $CPPFLAGS'
65568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65572 cat >conftest.$ac_ext <<_ACEOF
65573 /* confdefs.h. */
65574 _ACEOF
65575 cat confdefs.h >>conftest.$ac_ext
65576 cat >>conftest.$ac_ext <<_ACEOF
65577 /* end confdefs.h. */
65578 #include <math.h>
65579 #ifdef HAVE_IEEEFP_H
65580 #include <ieeefp.h>
65581 #endif
65584 main ()
65586 _isinf(0);
65588 return 0;
65590 _ACEOF
65591 rm -f conftest.$ac_objext
65592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65593 (eval $ac_compile) 2>conftest.er1
65594 ac_status=$?
65595 grep -v '^ *+' conftest.er1 >conftest.err
65596 rm -f conftest.er1
65597 cat conftest.err >&5
65598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65599 (exit $ac_status); } &&
65600 { ac_try='test -z "$ac_cxx_werror_flag"
65601 || test ! -s conftest.err'
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); }; } &&
65607 { ac_try='test -s conftest.$ac_objext'
65608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65609 (eval $ac_try) 2>&5
65610 ac_status=$?
65611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65612 (exit $ac_status); }; }; then
65613 glibcxx_cv_func__isinf_use=yes
65614 else
65615 echo "$as_me: failed program was:" >&5
65616 sed 's/^/| /' conftest.$ac_ext >&5
65618 glibcxx_cv_func__isinf_use=no
65620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65621 ac_ext=c
65622 ac_cpp='$CPP $CPPFLAGS'
65623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65631 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
65632 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
65634 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65636 for ac_func in _isinf
65638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65639 echo "$as_me:$LINENO: checking for $ac_func" >&5
65640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65641 if eval "test \"\${$as_ac_var+set}\" = set"; then
65642 echo $ECHO_N "(cached) $ECHO_C" >&6
65643 else
65644 if test x$gcc_no_link = xyes; then
65645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65647 { (exit 1); exit 1; }; }
65649 cat >conftest.$ac_ext <<_ACEOF
65650 /* confdefs.h. */
65651 _ACEOF
65652 cat confdefs.h >>conftest.$ac_ext
65653 cat >>conftest.$ac_ext <<_ACEOF
65654 /* end confdefs.h. */
65655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65657 #define $ac_func innocuous_$ac_func
65659 /* System header to define __stub macros and hopefully few prototypes,
65660 which can conflict with char $ac_func (); below.
65661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65662 <limits.h> exists even on freestanding compilers. */
65664 #ifdef __STDC__
65665 # include <limits.h>
65666 #else
65667 # include <assert.h>
65668 #endif
65670 #undef $ac_func
65672 /* Override any gcc2 internal prototype to avoid an error. */
65673 #ifdef __cplusplus
65674 extern "C"
65676 #endif
65677 /* We use char because int might match the return type of a gcc2
65678 builtin and then its argument prototype would still apply. */
65679 char $ac_func ();
65680 /* The GNU C library defines this for functions which it implements
65681 to always fail with ENOSYS. Some functions are actually named
65682 something starting with __ and the normal name is an alias. */
65683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65684 choke me
65685 #else
65686 char (*f) () = $ac_func;
65687 #endif
65688 #ifdef __cplusplus
65690 #endif
65693 main ()
65695 return f != $ac_func;
65697 return 0;
65699 _ACEOF
65700 rm -f conftest.$ac_objext conftest$ac_exeext
65701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65702 (eval $ac_link) 2>conftest.er1
65703 ac_status=$?
65704 grep -v '^ *+' conftest.er1 >conftest.err
65705 rm -f conftest.er1
65706 cat conftest.err >&5
65707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65708 (exit $ac_status); } &&
65709 { ac_try='test -z "$ac_c_werror_flag"
65710 || test ! -s conftest.err'
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); }; } &&
65716 { ac_try='test -s conftest$ac_exeext'
65717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65718 (eval $ac_try) 2>&5
65719 ac_status=$?
65720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65721 (exit $ac_status); }; }; then
65722 eval "$as_ac_var=yes"
65723 else
65724 echo "$as_me: failed program was:" >&5
65725 sed 's/^/| /' conftest.$ac_ext >&5
65727 eval "$as_ac_var=no"
65729 rm -f conftest.err conftest.$ac_objext \
65730 conftest$ac_exeext conftest.$ac_ext
65732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65734 if test `eval echo '${'$as_ac_var'}'` = yes; then
65735 cat >>confdefs.h <<_ACEOF
65736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65737 _ACEOF
65740 done
65750 echo "$as_me:$LINENO: checking for isnan declaration" >&5
65751 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
65752 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65753 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
65754 echo $ECHO_N "(cached) $ECHO_C" >&6
65755 else
65759 ac_ext=cc
65760 ac_cpp='$CXXCPP $CPPFLAGS'
65761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65765 cat >conftest.$ac_ext <<_ACEOF
65766 /* confdefs.h. */
65767 _ACEOF
65768 cat confdefs.h >>conftest.$ac_ext
65769 cat >>conftest.$ac_ext <<_ACEOF
65770 /* end confdefs.h. */
65771 #include <math.h>
65772 #ifdef HAVE_IEEEFP_H
65773 #include <ieeefp.h>
65774 #endif
65777 main ()
65779 isnan(0);
65781 return 0;
65783 _ACEOF
65784 rm -f conftest.$ac_objext
65785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65786 (eval $ac_compile) 2>conftest.er1
65787 ac_status=$?
65788 grep -v '^ *+' conftest.er1 >conftest.err
65789 rm -f conftest.er1
65790 cat conftest.err >&5
65791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65792 (exit $ac_status); } &&
65793 { ac_try='test -z "$ac_cxx_werror_flag"
65794 || test ! -s conftest.err'
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); }; } &&
65800 { ac_try='test -s conftest.$ac_objext'
65801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65802 (eval $ac_try) 2>&5
65803 ac_status=$?
65804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65805 (exit $ac_status); }; }; then
65806 glibcxx_cv_func_isnan_use=yes
65807 else
65808 echo "$as_me: failed program was:" >&5
65809 sed 's/^/| /' conftest.$ac_ext >&5
65811 glibcxx_cv_func_isnan_use=no
65813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65814 ac_ext=c
65815 ac_cpp='$CPP $CPPFLAGS'
65816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65824 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
65825 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
65827 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65829 for ac_func in isnan
65831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65832 echo "$as_me:$LINENO: checking for $ac_func" >&5
65833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65834 if eval "test \"\${$as_ac_var+set}\" = set"; then
65835 echo $ECHO_N "(cached) $ECHO_C" >&6
65836 else
65837 if test x$gcc_no_link = xyes; then
65838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65840 { (exit 1); exit 1; }; }
65842 cat >conftest.$ac_ext <<_ACEOF
65843 /* confdefs.h. */
65844 _ACEOF
65845 cat confdefs.h >>conftest.$ac_ext
65846 cat >>conftest.$ac_ext <<_ACEOF
65847 /* end confdefs.h. */
65848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65850 #define $ac_func innocuous_$ac_func
65852 /* System header to define __stub macros and hopefully few prototypes,
65853 which can conflict with char $ac_func (); below.
65854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65855 <limits.h> exists even on freestanding compilers. */
65857 #ifdef __STDC__
65858 # include <limits.h>
65859 #else
65860 # include <assert.h>
65861 #endif
65863 #undef $ac_func
65865 /* Override any gcc2 internal prototype to avoid an error. */
65866 #ifdef __cplusplus
65867 extern "C"
65869 #endif
65870 /* We use char because int might match the return type of a gcc2
65871 builtin and then its argument prototype would still apply. */
65872 char $ac_func ();
65873 /* The GNU C library defines this for functions which it implements
65874 to always fail with ENOSYS. Some functions are actually named
65875 something starting with __ and the normal name is an alias. */
65876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65877 choke me
65878 #else
65879 char (*f) () = $ac_func;
65880 #endif
65881 #ifdef __cplusplus
65883 #endif
65886 main ()
65888 return f != $ac_func;
65890 return 0;
65892 _ACEOF
65893 rm -f conftest.$ac_objext conftest$ac_exeext
65894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65895 (eval $ac_link) 2>conftest.er1
65896 ac_status=$?
65897 grep -v '^ *+' conftest.er1 >conftest.err
65898 rm -f conftest.er1
65899 cat conftest.err >&5
65900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65901 (exit $ac_status); } &&
65902 { ac_try='test -z "$ac_c_werror_flag"
65903 || test ! -s conftest.err'
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); }; } &&
65909 { ac_try='test -s conftest$ac_exeext'
65910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65911 (eval $ac_try) 2>&5
65912 ac_status=$?
65913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65914 (exit $ac_status); }; }; then
65915 eval "$as_ac_var=yes"
65916 else
65917 echo "$as_me: failed program was:" >&5
65918 sed 's/^/| /' conftest.$ac_ext >&5
65920 eval "$as_ac_var=no"
65922 rm -f conftest.err conftest.$ac_objext \
65923 conftest$ac_exeext conftest.$ac_ext
65925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65927 if test `eval echo '${'$as_ac_var'}'` = yes; then
65928 cat >>confdefs.h <<_ACEOF
65929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65930 _ACEOF
65933 done
65935 else
65937 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
65938 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
65939 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65940 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
65941 echo $ECHO_N "(cached) $ECHO_C" >&6
65942 else
65946 ac_ext=cc
65947 ac_cpp='$CXXCPP $CPPFLAGS'
65948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65952 cat >conftest.$ac_ext <<_ACEOF
65953 /* confdefs.h. */
65954 _ACEOF
65955 cat confdefs.h >>conftest.$ac_ext
65956 cat >>conftest.$ac_ext <<_ACEOF
65957 /* end confdefs.h. */
65958 #include <math.h>
65959 #ifdef HAVE_IEEEFP_H
65960 #include <ieeefp.h>
65961 #endif
65964 main ()
65966 _isnan(0);
65968 return 0;
65970 _ACEOF
65971 rm -f conftest.$ac_objext
65972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65973 (eval $ac_compile) 2>conftest.er1
65974 ac_status=$?
65975 grep -v '^ *+' conftest.er1 >conftest.err
65976 rm -f conftest.er1
65977 cat conftest.err >&5
65978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65979 (exit $ac_status); } &&
65980 { ac_try='test -z "$ac_cxx_werror_flag"
65981 || test ! -s conftest.err'
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); }; } &&
65987 { ac_try='test -s conftest.$ac_objext'
65988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65989 (eval $ac_try) 2>&5
65990 ac_status=$?
65991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65992 (exit $ac_status); }; }; then
65993 glibcxx_cv_func__isnan_use=yes
65994 else
65995 echo "$as_me: failed program was:" >&5
65996 sed 's/^/| /' conftest.$ac_ext >&5
65998 glibcxx_cv_func__isnan_use=no
66000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66001 ac_ext=c
66002 ac_cpp='$CPP $CPPFLAGS'
66003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66011 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
66012 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
66014 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66016 for ac_func in _isnan
66018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66019 echo "$as_me:$LINENO: checking for $ac_func" >&5
66020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66021 if eval "test \"\${$as_ac_var+set}\" = set"; then
66022 echo $ECHO_N "(cached) $ECHO_C" >&6
66023 else
66024 if test x$gcc_no_link = xyes; then
66025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66027 { (exit 1); exit 1; }; }
66029 cat >conftest.$ac_ext <<_ACEOF
66030 /* confdefs.h. */
66031 _ACEOF
66032 cat confdefs.h >>conftest.$ac_ext
66033 cat >>conftest.$ac_ext <<_ACEOF
66034 /* end confdefs.h. */
66035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66037 #define $ac_func innocuous_$ac_func
66039 /* System header to define __stub macros and hopefully few prototypes,
66040 which can conflict with char $ac_func (); below.
66041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66042 <limits.h> exists even on freestanding compilers. */
66044 #ifdef __STDC__
66045 # include <limits.h>
66046 #else
66047 # include <assert.h>
66048 #endif
66050 #undef $ac_func
66052 /* Override any gcc2 internal prototype to avoid an error. */
66053 #ifdef __cplusplus
66054 extern "C"
66056 #endif
66057 /* We use char because int might match the return type of a gcc2
66058 builtin and then its argument prototype would still apply. */
66059 char $ac_func ();
66060 /* The GNU C library defines this for functions which it implements
66061 to always fail with ENOSYS. Some functions are actually named
66062 something starting with __ and the normal name is an alias. */
66063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66064 choke me
66065 #else
66066 char (*f) () = $ac_func;
66067 #endif
66068 #ifdef __cplusplus
66070 #endif
66073 main ()
66075 return f != $ac_func;
66077 return 0;
66079 _ACEOF
66080 rm -f conftest.$ac_objext conftest$ac_exeext
66081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66082 (eval $ac_link) 2>conftest.er1
66083 ac_status=$?
66084 grep -v '^ *+' conftest.er1 >conftest.err
66085 rm -f conftest.er1
66086 cat conftest.err >&5
66087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66088 (exit $ac_status); } &&
66089 { ac_try='test -z "$ac_c_werror_flag"
66090 || test ! -s conftest.err'
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); }; } &&
66096 { ac_try='test -s conftest$ac_exeext'
66097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66098 (eval $ac_try) 2>&5
66099 ac_status=$?
66100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66101 (exit $ac_status); }; }; then
66102 eval "$as_ac_var=yes"
66103 else
66104 echo "$as_me: failed program was:" >&5
66105 sed 's/^/| /' conftest.$ac_ext >&5
66107 eval "$as_ac_var=no"
66109 rm -f conftest.err conftest.$ac_objext \
66110 conftest$ac_exeext conftest.$ac_ext
66112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66114 if test `eval echo '${'$as_ac_var'}'` = yes; then
66115 cat >>confdefs.h <<_ACEOF
66116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66117 _ACEOF
66120 done
66130 echo "$as_me:$LINENO: checking for finite declaration" >&5
66131 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
66132 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66133 if test "${glibcxx_cv_func_finite_use+set}" = set; then
66134 echo $ECHO_N "(cached) $ECHO_C" >&6
66135 else
66139 ac_ext=cc
66140 ac_cpp='$CXXCPP $CPPFLAGS'
66141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66145 cat >conftest.$ac_ext <<_ACEOF
66146 /* confdefs.h. */
66147 _ACEOF
66148 cat confdefs.h >>conftest.$ac_ext
66149 cat >>conftest.$ac_ext <<_ACEOF
66150 /* end confdefs.h. */
66151 #include <math.h>
66152 #ifdef HAVE_IEEEFP_H
66153 #include <ieeefp.h>
66154 #endif
66157 main ()
66159 finite(0);
66161 return 0;
66163 _ACEOF
66164 rm -f conftest.$ac_objext
66165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66166 (eval $ac_compile) 2>conftest.er1
66167 ac_status=$?
66168 grep -v '^ *+' conftest.er1 >conftest.err
66169 rm -f conftest.er1
66170 cat conftest.err >&5
66171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66172 (exit $ac_status); } &&
66173 { ac_try='test -z "$ac_cxx_werror_flag"
66174 || test ! -s conftest.err'
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); }; } &&
66180 { ac_try='test -s conftest.$ac_objext'
66181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66182 (eval $ac_try) 2>&5
66183 ac_status=$?
66184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66185 (exit $ac_status); }; }; then
66186 glibcxx_cv_func_finite_use=yes
66187 else
66188 echo "$as_me: failed program was:" >&5
66189 sed 's/^/| /' conftest.$ac_ext >&5
66191 glibcxx_cv_func_finite_use=no
66193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66194 ac_ext=c
66195 ac_cpp='$CPP $CPPFLAGS'
66196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66204 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
66205 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
66207 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66209 for ac_func in finite
66211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66212 echo "$as_me:$LINENO: checking for $ac_func" >&5
66213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66214 if eval "test \"\${$as_ac_var+set}\" = set"; then
66215 echo $ECHO_N "(cached) $ECHO_C" >&6
66216 else
66217 if test x$gcc_no_link = xyes; then
66218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66220 { (exit 1); exit 1; }; }
66222 cat >conftest.$ac_ext <<_ACEOF
66223 /* confdefs.h. */
66224 _ACEOF
66225 cat confdefs.h >>conftest.$ac_ext
66226 cat >>conftest.$ac_ext <<_ACEOF
66227 /* end confdefs.h. */
66228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66230 #define $ac_func innocuous_$ac_func
66232 /* System header to define __stub macros and hopefully few prototypes,
66233 which can conflict with char $ac_func (); below.
66234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66235 <limits.h> exists even on freestanding compilers. */
66237 #ifdef __STDC__
66238 # include <limits.h>
66239 #else
66240 # include <assert.h>
66241 #endif
66243 #undef $ac_func
66245 /* Override any gcc2 internal prototype to avoid an error. */
66246 #ifdef __cplusplus
66247 extern "C"
66249 #endif
66250 /* We use char because int might match the return type of a gcc2
66251 builtin and then its argument prototype would still apply. */
66252 char $ac_func ();
66253 /* The GNU C library defines this for functions which it implements
66254 to always fail with ENOSYS. Some functions are actually named
66255 something starting with __ and the normal name is an alias. */
66256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66257 choke me
66258 #else
66259 char (*f) () = $ac_func;
66260 #endif
66261 #ifdef __cplusplus
66263 #endif
66266 main ()
66268 return f != $ac_func;
66270 return 0;
66272 _ACEOF
66273 rm -f conftest.$ac_objext conftest$ac_exeext
66274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66275 (eval $ac_link) 2>conftest.er1
66276 ac_status=$?
66277 grep -v '^ *+' conftest.er1 >conftest.err
66278 rm -f conftest.er1
66279 cat conftest.err >&5
66280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66281 (exit $ac_status); } &&
66282 { ac_try='test -z "$ac_c_werror_flag"
66283 || test ! -s conftest.err'
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); }; } &&
66289 { ac_try='test -s conftest$ac_exeext'
66290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66291 (eval $ac_try) 2>&5
66292 ac_status=$?
66293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66294 (exit $ac_status); }; }; then
66295 eval "$as_ac_var=yes"
66296 else
66297 echo "$as_me: failed program was:" >&5
66298 sed 's/^/| /' conftest.$ac_ext >&5
66300 eval "$as_ac_var=no"
66302 rm -f conftest.err conftest.$ac_objext \
66303 conftest$ac_exeext conftest.$ac_ext
66305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66307 if test `eval echo '${'$as_ac_var'}'` = yes; then
66308 cat >>confdefs.h <<_ACEOF
66309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66310 _ACEOF
66313 done
66315 else
66317 echo "$as_me:$LINENO: checking for _finite declaration" >&5
66318 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
66319 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66320 if test "${glibcxx_cv_func__finite_use+set}" = set; then
66321 echo $ECHO_N "(cached) $ECHO_C" >&6
66322 else
66326 ac_ext=cc
66327 ac_cpp='$CXXCPP $CPPFLAGS'
66328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66332 cat >conftest.$ac_ext <<_ACEOF
66333 /* confdefs.h. */
66334 _ACEOF
66335 cat confdefs.h >>conftest.$ac_ext
66336 cat >>conftest.$ac_ext <<_ACEOF
66337 /* end confdefs.h. */
66338 #include <math.h>
66339 #ifdef HAVE_IEEEFP_H
66340 #include <ieeefp.h>
66341 #endif
66344 main ()
66346 _finite(0);
66348 return 0;
66350 _ACEOF
66351 rm -f conftest.$ac_objext
66352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66353 (eval $ac_compile) 2>conftest.er1
66354 ac_status=$?
66355 grep -v '^ *+' conftest.er1 >conftest.err
66356 rm -f conftest.er1
66357 cat conftest.err >&5
66358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66359 (exit $ac_status); } &&
66360 { ac_try='test -z "$ac_cxx_werror_flag"
66361 || test ! -s conftest.err'
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); }; } &&
66367 { ac_try='test -s conftest.$ac_objext'
66368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66369 (eval $ac_try) 2>&5
66370 ac_status=$?
66371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66372 (exit $ac_status); }; }; then
66373 glibcxx_cv_func__finite_use=yes
66374 else
66375 echo "$as_me: failed program was:" >&5
66376 sed 's/^/| /' conftest.$ac_ext >&5
66378 glibcxx_cv_func__finite_use=no
66380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66381 ac_ext=c
66382 ac_cpp='$CPP $CPPFLAGS'
66383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66391 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
66392 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
66394 if test x$glibcxx_cv_func__finite_use = x"yes"; then
66396 for ac_func in _finite
66398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66399 echo "$as_me:$LINENO: checking for $ac_func" >&5
66400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66401 if eval "test \"\${$as_ac_var+set}\" = set"; then
66402 echo $ECHO_N "(cached) $ECHO_C" >&6
66403 else
66404 if test x$gcc_no_link = xyes; then
66405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66407 { (exit 1); exit 1; }; }
66409 cat >conftest.$ac_ext <<_ACEOF
66410 /* confdefs.h. */
66411 _ACEOF
66412 cat confdefs.h >>conftest.$ac_ext
66413 cat >>conftest.$ac_ext <<_ACEOF
66414 /* end confdefs.h. */
66415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66417 #define $ac_func innocuous_$ac_func
66419 /* System header to define __stub macros and hopefully few prototypes,
66420 which can conflict with char $ac_func (); below.
66421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66422 <limits.h> exists even on freestanding compilers. */
66424 #ifdef __STDC__
66425 # include <limits.h>
66426 #else
66427 # include <assert.h>
66428 #endif
66430 #undef $ac_func
66432 /* Override any gcc2 internal prototype to avoid an error. */
66433 #ifdef __cplusplus
66434 extern "C"
66436 #endif
66437 /* We use char because int might match the return type of a gcc2
66438 builtin and then its argument prototype would still apply. */
66439 char $ac_func ();
66440 /* The GNU C library defines this for functions which it implements
66441 to always fail with ENOSYS. Some functions are actually named
66442 something starting with __ and the normal name is an alias. */
66443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66444 choke me
66445 #else
66446 char (*f) () = $ac_func;
66447 #endif
66448 #ifdef __cplusplus
66450 #endif
66453 main ()
66455 return f != $ac_func;
66457 return 0;
66459 _ACEOF
66460 rm -f conftest.$ac_objext conftest$ac_exeext
66461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66462 (eval $ac_link) 2>conftest.er1
66463 ac_status=$?
66464 grep -v '^ *+' conftest.er1 >conftest.err
66465 rm -f conftest.er1
66466 cat conftest.err >&5
66467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66468 (exit $ac_status); } &&
66469 { ac_try='test -z "$ac_c_werror_flag"
66470 || test ! -s conftest.err'
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); }; } &&
66476 { ac_try='test -s conftest$ac_exeext'
66477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66478 (eval $ac_try) 2>&5
66479 ac_status=$?
66480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66481 (exit $ac_status); }; }; then
66482 eval "$as_ac_var=yes"
66483 else
66484 echo "$as_me: failed program was:" >&5
66485 sed 's/^/| /' conftest.$ac_ext >&5
66487 eval "$as_ac_var=no"
66489 rm -f conftest.err conftest.$ac_objext \
66490 conftest$ac_exeext conftest.$ac_ext
66492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66494 if test `eval echo '${'$as_ac_var'}'` = yes; then
66495 cat >>confdefs.h <<_ACEOF
66496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66497 _ACEOF
66500 done
66510 echo "$as_me:$LINENO: checking for copysign declaration" >&5
66511 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
66512 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
66513 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
66514 echo $ECHO_N "(cached) $ECHO_C" >&6
66515 else
66519 ac_ext=cc
66520 ac_cpp='$CXXCPP $CPPFLAGS'
66521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66525 cat >conftest.$ac_ext <<_ACEOF
66526 /* confdefs.h. */
66527 _ACEOF
66528 cat confdefs.h >>conftest.$ac_ext
66529 cat >>conftest.$ac_ext <<_ACEOF
66530 /* end confdefs.h. */
66531 #include <math.h>
66533 main ()
66535 copysign(0, 0);
66537 return 0;
66539 _ACEOF
66540 rm -f conftest.$ac_objext
66541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66542 (eval $ac_compile) 2>conftest.er1
66543 ac_status=$?
66544 grep -v '^ *+' conftest.er1 >conftest.err
66545 rm -f conftest.er1
66546 cat conftest.err >&5
66547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66548 (exit $ac_status); } &&
66549 { ac_try='test -z "$ac_cxx_werror_flag"
66550 || test ! -s conftest.err'
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); }; } &&
66556 { ac_try='test -s conftest.$ac_objext'
66557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66558 (eval $ac_try) 2>&5
66559 ac_status=$?
66560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66561 (exit $ac_status); }; }; then
66562 glibcxx_cv_func_copysign_use=yes
66563 else
66564 echo "$as_me: failed program was:" >&5
66565 sed 's/^/| /' conftest.$ac_ext >&5
66567 glibcxx_cv_func_copysign_use=no
66569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66570 ac_ext=c
66571 ac_cpp='$CPP $CPPFLAGS'
66572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66580 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
66581 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
66583 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
66585 for ac_func in copysign
66587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66588 echo "$as_me:$LINENO: checking for $ac_func" >&5
66589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66590 if eval "test \"\${$as_ac_var+set}\" = set"; then
66591 echo $ECHO_N "(cached) $ECHO_C" >&6
66592 else
66593 if test x$gcc_no_link = xyes; then
66594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66596 { (exit 1); exit 1; }; }
66598 cat >conftest.$ac_ext <<_ACEOF
66599 /* confdefs.h. */
66600 _ACEOF
66601 cat confdefs.h >>conftest.$ac_ext
66602 cat >>conftest.$ac_ext <<_ACEOF
66603 /* end confdefs.h. */
66604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66606 #define $ac_func innocuous_$ac_func
66608 /* System header to define __stub macros and hopefully few prototypes,
66609 which can conflict with char $ac_func (); below.
66610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66611 <limits.h> exists even on freestanding compilers. */
66613 #ifdef __STDC__
66614 # include <limits.h>
66615 #else
66616 # include <assert.h>
66617 #endif
66619 #undef $ac_func
66621 /* Override any gcc2 internal prototype to avoid an error. */
66622 #ifdef __cplusplus
66623 extern "C"
66625 #endif
66626 /* We use char because int might match the return type of a gcc2
66627 builtin and then its argument prototype would still apply. */
66628 char $ac_func ();
66629 /* The GNU C library defines this for functions which it implements
66630 to always fail with ENOSYS. Some functions are actually named
66631 something starting with __ and the normal name is an alias. */
66632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66633 choke me
66634 #else
66635 char (*f) () = $ac_func;
66636 #endif
66637 #ifdef __cplusplus
66639 #endif
66642 main ()
66644 return f != $ac_func;
66646 return 0;
66648 _ACEOF
66649 rm -f conftest.$ac_objext conftest$ac_exeext
66650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66651 (eval $ac_link) 2>conftest.er1
66652 ac_status=$?
66653 grep -v '^ *+' conftest.er1 >conftest.err
66654 rm -f conftest.er1
66655 cat conftest.err >&5
66656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66657 (exit $ac_status); } &&
66658 { ac_try='test -z "$ac_c_werror_flag"
66659 || test ! -s conftest.err'
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); }; } &&
66665 { ac_try='test -s conftest$ac_exeext'
66666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66667 (eval $ac_try) 2>&5
66668 ac_status=$?
66669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66670 (exit $ac_status); }; }; then
66671 eval "$as_ac_var=yes"
66672 else
66673 echo "$as_me: failed program was:" >&5
66674 sed 's/^/| /' conftest.$ac_ext >&5
66676 eval "$as_ac_var=no"
66678 rm -f conftest.err conftest.$ac_objext \
66679 conftest$ac_exeext conftest.$ac_ext
66681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66683 if test `eval echo '${'$as_ac_var'}'` = yes; then
66684 cat >>confdefs.h <<_ACEOF
66685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66686 _ACEOF
66689 done
66691 else
66693 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
66694 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
66695 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
66696 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
66697 echo $ECHO_N "(cached) $ECHO_C" >&6
66698 else
66702 ac_ext=cc
66703 ac_cpp='$CXXCPP $CPPFLAGS'
66704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66708 cat >conftest.$ac_ext <<_ACEOF
66709 /* confdefs.h. */
66710 _ACEOF
66711 cat confdefs.h >>conftest.$ac_ext
66712 cat >>conftest.$ac_ext <<_ACEOF
66713 /* end confdefs.h. */
66714 #include <math.h>
66716 main ()
66718 _copysign(0, 0);
66720 return 0;
66722 _ACEOF
66723 rm -f conftest.$ac_objext
66724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66725 (eval $ac_compile) 2>conftest.er1
66726 ac_status=$?
66727 grep -v '^ *+' conftest.er1 >conftest.err
66728 rm -f conftest.er1
66729 cat conftest.err >&5
66730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66731 (exit $ac_status); } &&
66732 { ac_try='test -z "$ac_cxx_werror_flag"
66733 || test ! -s conftest.err'
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); }; } &&
66739 { ac_try='test -s conftest.$ac_objext'
66740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66741 (eval $ac_try) 2>&5
66742 ac_status=$?
66743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66744 (exit $ac_status); }; }; then
66745 glibcxx_cv_func__copysign_use=yes
66746 else
66747 echo "$as_me: failed program was:" >&5
66748 sed 's/^/| /' conftest.$ac_ext >&5
66750 glibcxx_cv_func__copysign_use=no
66752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66753 ac_ext=c
66754 ac_cpp='$CPP $CPPFLAGS'
66755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66763 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
66764 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
66766 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
66768 for ac_func in _copysign
66770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66771 echo "$as_me:$LINENO: checking for $ac_func" >&5
66772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66773 if eval "test \"\${$as_ac_var+set}\" = set"; then
66774 echo $ECHO_N "(cached) $ECHO_C" >&6
66775 else
66776 if test x$gcc_no_link = xyes; then
66777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66779 { (exit 1); exit 1; }; }
66781 cat >conftest.$ac_ext <<_ACEOF
66782 /* confdefs.h. */
66783 _ACEOF
66784 cat confdefs.h >>conftest.$ac_ext
66785 cat >>conftest.$ac_ext <<_ACEOF
66786 /* end confdefs.h. */
66787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66789 #define $ac_func innocuous_$ac_func
66791 /* System header to define __stub macros and hopefully few prototypes,
66792 which can conflict with char $ac_func (); below.
66793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66794 <limits.h> exists even on freestanding compilers. */
66796 #ifdef __STDC__
66797 # include <limits.h>
66798 #else
66799 # include <assert.h>
66800 #endif
66802 #undef $ac_func
66804 /* Override any gcc2 internal prototype to avoid an error. */
66805 #ifdef __cplusplus
66806 extern "C"
66808 #endif
66809 /* We use char because int might match the return type of a gcc2
66810 builtin and then its argument prototype would still apply. */
66811 char $ac_func ();
66812 /* The GNU C library defines this for functions which it implements
66813 to always fail with ENOSYS. Some functions are actually named
66814 something starting with __ and the normal name is an alias. */
66815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66816 choke me
66817 #else
66818 char (*f) () = $ac_func;
66819 #endif
66820 #ifdef __cplusplus
66822 #endif
66825 main ()
66827 return f != $ac_func;
66829 return 0;
66831 _ACEOF
66832 rm -f conftest.$ac_objext conftest$ac_exeext
66833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66834 (eval $ac_link) 2>conftest.er1
66835 ac_status=$?
66836 grep -v '^ *+' conftest.er1 >conftest.err
66837 rm -f conftest.er1
66838 cat conftest.err >&5
66839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66840 (exit $ac_status); } &&
66841 { ac_try='test -z "$ac_c_werror_flag"
66842 || test ! -s conftest.err'
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); }; } &&
66848 { ac_try='test -s conftest$ac_exeext'
66849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66850 (eval $ac_try) 2>&5
66851 ac_status=$?
66852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66853 (exit $ac_status); }; }; then
66854 eval "$as_ac_var=yes"
66855 else
66856 echo "$as_me: failed program was:" >&5
66857 sed 's/^/| /' conftest.$ac_ext >&5
66859 eval "$as_ac_var=no"
66861 rm -f conftest.err conftest.$ac_objext \
66862 conftest$ac_exeext conftest.$ac_ext
66864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66866 if test `eval echo '${'$as_ac_var'}'` = yes; then
66867 cat >>confdefs.h <<_ACEOF
66868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66869 _ACEOF
66872 done
66882 echo "$as_me:$LINENO: checking for sincos declaration" >&5
66883 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
66884 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
66885 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
66886 echo $ECHO_N "(cached) $ECHO_C" >&6
66887 else
66891 ac_ext=cc
66892 ac_cpp='$CXXCPP $CPPFLAGS'
66893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66897 cat >conftest.$ac_ext <<_ACEOF
66898 /* confdefs.h. */
66899 _ACEOF
66900 cat confdefs.h >>conftest.$ac_ext
66901 cat >>conftest.$ac_ext <<_ACEOF
66902 /* end confdefs.h. */
66903 #include <math.h>
66905 main ()
66907 sincos(0, 0, 0);
66909 return 0;
66911 _ACEOF
66912 rm -f conftest.$ac_objext
66913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66914 (eval $ac_compile) 2>conftest.er1
66915 ac_status=$?
66916 grep -v '^ *+' conftest.er1 >conftest.err
66917 rm -f conftest.er1
66918 cat conftest.err >&5
66919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66920 (exit $ac_status); } &&
66921 { ac_try='test -z "$ac_cxx_werror_flag"
66922 || test ! -s conftest.err'
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); }; } &&
66928 { ac_try='test -s conftest.$ac_objext'
66929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66930 (eval $ac_try) 2>&5
66931 ac_status=$?
66932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66933 (exit $ac_status); }; }; then
66934 glibcxx_cv_func_sincos_use=yes
66935 else
66936 echo "$as_me: failed program was:" >&5
66937 sed 's/^/| /' conftest.$ac_ext >&5
66939 glibcxx_cv_func_sincos_use=no
66941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66942 ac_ext=c
66943 ac_cpp='$CPP $CPPFLAGS'
66944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66952 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
66953 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
66955 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66957 for ac_func in sincos
66959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66960 echo "$as_me:$LINENO: checking for $ac_func" >&5
66961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66962 if eval "test \"\${$as_ac_var+set}\" = set"; then
66963 echo $ECHO_N "(cached) $ECHO_C" >&6
66964 else
66965 if test x$gcc_no_link = xyes; then
66966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66968 { (exit 1); exit 1; }; }
66970 cat >conftest.$ac_ext <<_ACEOF
66971 /* confdefs.h. */
66972 _ACEOF
66973 cat confdefs.h >>conftest.$ac_ext
66974 cat >>conftest.$ac_ext <<_ACEOF
66975 /* end confdefs.h. */
66976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66978 #define $ac_func innocuous_$ac_func
66980 /* System header to define __stub macros and hopefully few prototypes,
66981 which can conflict with char $ac_func (); below.
66982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66983 <limits.h> exists even on freestanding compilers. */
66985 #ifdef __STDC__
66986 # include <limits.h>
66987 #else
66988 # include <assert.h>
66989 #endif
66991 #undef $ac_func
66993 /* Override any gcc2 internal prototype to avoid an error. */
66994 #ifdef __cplusplus
66995 extern "C"
66997 #endif
66998 /* We use char because int might match the return type of a gcc2
66999 builtin and then its argument prototype would still apply. */
67000 char $ac_func ();
67001 /* The GNU C library defines this for functions which it implements
67002 to always fail with ENOSYS. Some functions are actually named
67003 something starting with __ and the normal name is an alias. */
67004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67005 choke me
67006 #else
67007 char (*f) () = $ac_func;
67008 #endif
67009 #ifdef __cplusplus
67011 #endif
67014 main ()
67016 return f != $ac_func;
67018 return 0;
67020 _ACEOF
67021 rm -f conftest.$ac_objext conftest$ac_exeext
67022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67023 (eval $ac_link) 2>conftest.er1
67024 ac_status=$?
67025 grep -v '^ *+' conftest.er1 >conftest.err
67026 rm -f conftest.er1
67027 cat conftest.err >&5
67028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67029 (exit $ac_status); } &&
67030 { ac_try='test -z "$ac_c_werror_flag"
67031 || test ! -s conftest.err'
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); }; } &&
67037 { ac_try='test -s conftest$ac_exeext'
67038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67039 (eval $ac_try) 2>&5
67040 ac_status=$?
67041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67042 (exit $ac_status); }; }; then
67043 eval "$as_ac_var=yes"
67044 else
67045 echo "$as_me: failed program was:" >&5
67046 sed 's/^/| /' conftest.$ac_ext >&5
67048 eval "$as_ac_var=no"
67050 rm -f conftest.err conftest.$ac_objext \
67051 conftest$ac_exeext conftest.$ac_ext
67053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67055 if test `eval echo '${'$as_ac_var'}'` = yes; then
67056 cat >>confdefs.h <<_ACEOF
67057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67058 _ACEOF
67061 done
67063 else
67065 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
67066 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
67067 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67068 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
67069 echo $ECHO_N "(cached) $ECHO_C" >&6
67070 else
67074 ac_ext=cc
67075 ac_cpp='$CXXCPP $CPPFLAGS'
67076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67080 cat >conftest.$ac_ext <<_ACEOF
67081 /* confdefs.h. */
67082 _ACEOF
67083 cat confdefs.h >>conftest.$ac_ext
67084 cat >>conftest.$ac_ext <<_ACEOF
67085 /* end confdefs.h. */
67086 #include <math.h>
67088 main ()
67090 _sincos(0, 0, 0);
67092 return 0;
67094 _ACEOF
67095 rm -f conftest.$ac_objext
67096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67097 (eval $ac_compile) 2>conftest.er1
67098 ac_status=$?
67099 grep -v '^ *+' conftest.er1 >conftest.err
67100 rm -f conftest.er1
67101 cat conftest.err >&5
67102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67103 (exit $ac_status); } &&
67104 { ac_try='test -z "$ac_cxx_werror_flag"
67105 || test ! -s conftest.err'
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); }; } &&
67111 { ac_try='test -s conftest.$ac_objext'
67112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67113 (eval $ac_try) 2>&5
67114 ac_status=$?
67115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67116 (exit $ac_status); }; }; then
67117 glibcxx_cv_func__sincos_use=yes
67118 else
67119 echo "$as_me: failed program was:" >&5
67120 sed 's/^/| /' conftest.$ac_ext >&5
67122 glibcxx_cv_func__sincos_use=no
67124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67125 ac_ext=c
67126 ac_cpp='$CPP $CPPFLAGS'
67127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67135 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
67136 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
67138 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67140 for ac_func in _sincos
67142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67143 echo "$as_me:$LINENO: checking for $ac_func" >&5
67144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67145 if eval "test \"\${$as_ac_var+set}\" = set"; then
67146 echo $ECHO_N "(cached) $ECHO_C" >&6
67147 else
67148 if test x$gcc_no_link = xyes; then
67149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67151 { (exit 1); exit 1; }; }
67153 cat >conftest.$ac_ext <<_ACEOF
67154 /* confdefs.h. */
67155 _ACEOF
67156 cat confdefs.h >>conftest.$ac_ext
67157 cat >>conftest.$ac_ext <<_ACEOF
67158 /* end confdefs.h. */
67159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67161 #define $ac_func innocuous_$ac_func
67163 /* System header to define __stub macros and hopefully few prototypes,
67164 which can conflict with char $ac_func (); below.
67165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67166 <limits.h> exists even on freestanding compilers. */
67168 #ifdef __STDC__
67169 # include <limits.h>
67170 #else
67171 # include <assert.h>
67172 #endif
67174 #undef $ac_func
67176 /* Override any gcc2 internal prototype to avoid an error. */
67177 #ifdef __cplusplus
67178 extern "C"
67180 #endif
67181 /* We use char because int might match the return type of a gcc2
67182 builtin and then its argument prototype would still apply. */
67183 char $ac_func ();
67184 /* The GNU C library defines this for functions which it implements
67185 to always fail with ENOSYS. Some functions are actually named
67186 something starting with __ and the normal name is an alias. */
67187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67188 choke me
67189 #else
67190 char (*f) () = $ac_func;
67191 #endif
67192 #ifdef __cplusplus
67194 #endif
67197 main ()
67199 return f != $ac_func;
67201 return 0;
67203 _ACEOF
67204 rm -f conftest.$ac_objext conftest$ac_exeext
67205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67206 (eval $ac_link) 2>conftest.er1
67207 ac_status=$?
67208 grep -v '^ *+' conftest.er1 >conftest.err
67209 rm -f conftest.er1
67210 cat conftest.err >&5
67211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67212 (exit $ac_status); } &&
67213 { ac_try='test -z "$ac_c_werror_flag"
67214 || test ! -s conftest.err'
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); }; } &&
67220 { ac_try='test -s conftest$ac_exeext'
67221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67222 (eval $ac_try) 2>&5
67223 ac_status=$?
67224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67225 (exit $ac_status); }; }; then
67226 eval "$as_ac_var=yes"
67227 else
67228 echo "$as_me: failed program was:" >&5
67229 sed 's/^/| /' conftest.$ac_ext >&5
67231 eval "$as_ac_var=no"
67233 rm -f conftest.err conftest.$ac_objext \
67234 conftest$ac_exeext conftest.$ac_ext
67236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67238 if test `eval echo '${'$as_ac_var'}'` = yes; then
67239 cat >>confdefs.h <<_ACEOF
67240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67241 _ACEOF
67244 done
67254 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
67255 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
67256 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67257 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
67258 echo $ECHO_N "(cached) $ECHO_C" >&6
67259 else
67263 ac_ext=cc
67264 ac_cpp='$CXXCPP $CPPFLAGS'
67265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67269 cat >conftest.$ac_ext <<_ACEOF
67270 /* confdefs.h. */
67271 _ACEOF
67272 cat confdefs.h >>conftest.$ac_ext
67273 cat >>conftest.$ac_ext <<_ACEOF
67274 /* end confdefs.h. */
67275 #include <math.h>
67276 #ifdef HAVE_IEEEFP_H
67277 #include <ieeefp.h>
67278 #endif
67281 main ()
67283 fpclass(0);
67285 return 0;
67287 _ACEOF
67288 rm -f conftest.$ac_objext
67289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67290 (eval $ac_compile) 2>conftest.er1
67291 ac_status=$?
67292 grep -v '^ *+' conftest.er1 >conftest.err
67293 rm -f conftest.er1
67294 cat conftest.err >&5
67295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67296 (exit $ac_status); } &&
67297 { ac_try='test -z "$ac_cxx_werror_flag"
67298 || test ! -s conftest.err'
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); }; } &&
67304 { ac_try='test -s conftest.$ac_objext'
67305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67306 (eval $ac_try) 2>&5
67307 ac_status=$?
67308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67309 (exit $ac_status); }; }; then
67310 glibcxx_cv_func_fpclass_use=yes
67311 else
67312 echo "$as_me: failed program was:" >&5
67313 sed 's/^/| /' conftest.$ac_ext >&5
67315 glibcxx_cv_func_fpclass_use=no
67317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67318 ac_ext=c
67319 ac_cpp='$CPP $CPPFLAGS'
67320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67328 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
67329 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
67331 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67333 for ac_func in fpclass
67335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67336 echo "$as_me:$LINENO: checking for $ac_func" >&5
67337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67338 if eval "test \"\${$as_ac_var+set}\" = set"; then
67339 echo $ECHO_N "(cached) $ECHO_C" >&6
67340 else
67341 if test x$gcc_no_link = xyes; then
67342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67344 { (exit 1); exit 1; }; }
67346 cat >conftest.$ac_ext <<_ACEOF
67347 /* confdefs.h. */
67348 _ACEOF
67349 cat confdefs.h >>conftest.$ac_ext
67350 cat >>conftest.$ac_ext <<_ACEOF
67351 /* end confdefs.h. */
67352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67354 #define $ac_func innocuous_$ac_func
67356 /* System header to define __stub macros and hopefully few prototypes,
67357 which can conflict with char $ac_func (); below.
67358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67359 <limits.h> exists even on freestanding compilers. */
67361 #ifdef __STDC__
67362 # include <limits.h>
67363 #else
67364 # include <assert.h>
67365 #endif
67367 #undef $ac_func
67369 /* Override any gcc2 internal prototype to avoid an error. */
67370 #ifdef __cplusplus
67371 extern "C"
67373 #endif
67374 /* We use char because int might match the return type of a gcc2
67375 builtin and then its argument prototype would still apply. */
67376 char $ac_func ();
67377 /* The GNU C library defines this for functions which it implements
67378 to always fail with ENOSYS. Some functions are actually named
67379 something starting with __ and the normal name is an alias. */
67380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67381 choke me
67382 #else
67383 char (*f) () = $ac_func;
67384 #endif
67385 #ifdef __cplusplus
67387 #endif
67390 main ()
67392 return f != $ac_func;
67394 return 0;
67396 _ACEOF
67397 rm -f conftest.$ac_objext conftest$ac_exeext
67398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67399 (eval $ac_link) 2>conftest.er1
67400 ac_status=$?
67401 grep -v '^ *+' conftest.er1 >conftest.err
67402 rm -f conftest.er1
67403 cat conftest.err >&5
67404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67405 (exit $ac_status); } &&
67406 { ac_try='test -z "$ac_c_werror_flag"
67407 || test ! -s conftest.err'
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); }; } &&
67413 { ac_try='test -s conftest$ac_exeext'
67414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67415 (eval $ac_try) 2>&5
67416 ac_status=$?
67417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67418 (exit $ac_status); }; }; then
67419 eval "$as_ac_var=yes"
67420 else
67421 echo "$as_me: failed program was:" >&5
67422 sed 's/^/| /' conftest.$ac_ext >&5
67424 eval "$as_ac_var=no"
67426 rm -f conftest.err conftest.$ac_objext \
67427 conftest$ac_exeext conftest.$ac_ext
67429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67431 if test `eval echo '${'$as_ac_var'}'` = yes; then
67432 cat >>confdefs.h <<_ACEOF
67433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67434 _ACEOF
67437 done
67439 else
67441 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
67442 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
67443 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67444 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
67445 echo $ECHO_N "(cached) $ECHO_C" >&6
67446 else
67450 ac_ext=cc
67451 ac_cpp='$CXXCPP $CPPFLAGS'
67452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67456 cat >conftest.$ac_ext <<_ACEOF
67457 /* confdefs.h. */
67458 _ACEOF
67459 cat confdefs.h >>conftest.$ac_ext
67460 cat >>conftest.$ac_ext <<_ACEOF
67461 /* end confdefs.h. */
67462 #include <math.h>
67463 #ifdef HAVE_IEEEFP_H
67464 #include <ieeefp.h>
67465 #endif
67468 main ()
67470 _fpclass(0);
67472 return 0;
67474 _ACEOF
67475 rm -f conftest.$ac_objext
67476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67477 (eval $ac_compile) 2>conftest.er1
67478 ac_status=$?
67479 grep -v '^ *+' conftest.er1 >conftest.err
67480 rm -f conftest.er1
67481 cat conftest.err >&5
67482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67483 (exit $ac_status); } &&
67484 { ac_try='test -z "$ac_cxx_werror_flag"
67485 || test ! -s conftest.err'
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); }; } &&
67491 { ac_try='test -s conftest.$ac_objext'
67492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67493 (eval $ac_try) 2>&5
67494 ac_status=$?
67495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67496 (exit $ac_status); }; }; then
67497 glibcxx_cv_func__fpclass_use=yes
67498 else
67499 echo "$as_me: failed program was:" >&5
67500 sed 's/^/| /' conftest.$ac_ext >&5
67502 glibcxx_cv_func__fpclass_use=no
67504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67505 ac_ext=c
67506 ac_cpp='$CPP $CPPFLAGS'
67507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67515 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
67516 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
67518 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67520 for ac_func in _fpclass
67522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67523 echo "$as_me:$LINENO: checking for $ac_func" >&5
67524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67525 if eval "test \"\${$as_ac_var+set}\" = set"; then
67526 echo $ECHO_N "(cached) $ECHO_C" >&6
67527 else
67528 if test x$gcc_no_link = xyes; then
67529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67531 { (exit 1); exit 1; }; }
67533 cat >conftest.$ac_ext <<_ACEOF
67534 /* confdefs.h. */
67535 _ACEOF
67536 cat confdefs.h >>conftest.$ac_ext
67537 cat >>conftest.$ac_ext <<_ACEOF
67538 /* end confdefs.h. */
67539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67541 #define $ac_func innocuous_$ac_func
67543 /* System header to define __stub macros and hopefully few prototypes,
67544 which can conflict with char $ac_func (); below.
67545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67546 <limits.h> exists even on freestanding compilers. */
67548 #ifdef __STDC__
67549 # include <limits.h>
67550 #else
67551 # include <assert.h>
67552 #endif
67554 #undef $ac_func
67556 /* Override any gcc2 internal prototype to avoid an error. */
67557 #ifdef __cplusplus
67558 extern "C"
67560 #endif
67561 /* We use char because int might match the return type of a gcc2
67562 builtin and then its argument prototype would still apply. */
67563 char $ac_func ();
67564 /* The GNU C library defines this for functions which it implements
67565 to always fail with ENOSYS. Some functions are actually named
67566 something starting with __ and the normal name is an alias. */
67567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67568 choke me
67569 #else
67570 char (*f) () = $ac_func;
67571 #endif
67572 #ifdef __cplusplus
67574 #endif
67577 main ()
67579 return f != $ac_func;
67581 return 0;
67583 _ACEOF
67584 rm -f conftest.$ac_objext conftest$ac_exeext
67585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67586 (eval $ac_link) 2>conftest.er1
67587 ac_status=$?
67588 grep -v '^ *+' conftest.er1 >conftest.err
67589 rm -f conftest.er1
67590 cat conftest.err >&5
67591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67592 (exit $ac_status); } &&
67593 { ac_try='test -z "$ac_c_werror_flag"
67594 || test ! -s conftest.err'
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); }; } &&
67600 { ac_try='test -s conftest$ac_exeext'
67601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67602 (eval $ac_try) 2>&5
67603 ac_status=$?
67604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67605 (exit $ac_status); }; }; then
67606 eval "$as_ac_var=yes"
67607 else
67608 echo "$as_me: failed program was:" >&5
67609 sed 's/^/| /' conftest.$ac_ext >&5
67611 eval "$as_ac_var=no"
67613 rm -f conftest.err conftest.$ac_objext \
67614 conftest$ac_exeext conftest.$ac_ext
67616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67618 if test `eval echo '${'$as_ac_var'}'` = yes; then
67619 cat >>confdefs.h <<_ACEOF
67620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67621 _ACEOF
67624 done
67634 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
67635 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
67636 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67637 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
67638 echo $ECHO_N "(cached) $ECHO_C" >&6
67639 else
67643 ac_ext=cc
67644 ac_cpp='$CXXCPP $CPPFLAGS'
67645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67649 cat >conftest.$ac_ext <<_ACEOF
67650 /* confdefs.h. */
67651 _ACEOF
67652 cat confdefs.h >>conftest.$ac_ext
67653 cat >>conftest.$ac_ext <<_ACEOF
67654 /* end confdefs.h. */
67655 #include <math.h>
67656 #ifdef HAVE_IEEEFP_H
67657 #include <ieeefp.h>
67658 #endif
67661 main ()
67663 qfpclass(0);
67665 return 0;
67667 _ACEOF
67668 rm -f conftest.$ac_objext
67669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67670 (eval $ac_compile) 2>conftest.er1
67671 ac_status=$?
67672 grep -v '^ *+' conftest.er1 >conftest.err
67673 rm -f conftest.er1
67674 cat conftest.err >&5
67675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67676 (exit $ac_status); } &&
67677 { ac_try='test -z "$ac_cxx_werror_flag"
67678 || test ! -s conftest.err'
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); }; } &&
67684 { ac_try='test -s conftest.$ac_objext'
67685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67686 (eval $ac_try) 2>&5
67687 ac_status=$?
67688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67689 (exit $ac_status); }; }; then
67690 glibcxx_cv_func_qfpclass_use=yes
67691 else
67692 echo "$as_me: failed program was:" >&5
67693 sed 's/^/| /' conftest.$ac_ext >&5
67695 glibcxx_cv_func_qfpclass_use=no
67697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67698 ac_ext=c
67699 ac_cpp='$CPP $CPPFLAGS'
67700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67708 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
67709 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
67711 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67713 for ac_func in qfpclass
67715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67716 echo "$as_me:$LINENO: checking for $ac_func" >&5
67717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67718 if eval "test \"\${$as_ac_var+set}\" = set"; then
67719 echo $ECHO_N "(cached) $ECHO_C" >&6
67720 else
67721 if test x$gcc_no_link = xyes; then
67722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67724 { (exit 1); exit 1; }; }
67726 cat >conftest.$ac_ext <<_ACEOF
67727 /* confdefs.h. */
67728 _ACEOF
67729 cat confdefs.h >>conftest.$ac_ext
67730 cat >>conftest.$ac_ext <<_ACEOF
67731 /* end confdefs.h. */
67732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67734 #define $ac_func innocuous_$ac_func
67736 /* System header to define __stub macros and hopefully few prototypes,
67737 which can conflict with char $ac_func (); below.
67738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67739 <limits.h> exists even on freestanding compilers. */
67741 #ifdef __STDC__
67742 # include <limits.h>
67743 #else
67744 # include <assert.h>
67745 #endif
67747 #undef $ac_func
67749 /* Override any gcc2 internal prototype to avoid an error. */
67750 #ifdef __cplusplus
67751 extern "C"
67753 #endif
67754 /* We use char because int might match the return type of a gcc2
67755 builtin and then its argument prototype would still apply. */
67756 char $ac_func ();
67757 /* The GNU C library defines this for functions which it implements
67758 to always fail with ENOSYS. Some functions are actually named
67759 something starting with __ and the normal name is an alias. */
67760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67761 choke me
67762 #else
67763 char (*f) () = $ac_func;
67764 #endif
67765 #ifdef __cplusplus
67767 #endif
67770 main ()
67772 return f != $ac_func;
67774 return 0;
67776 _ACEOF
67777 rm -f conftest.$ac_objext conftest$ac_exeext
67778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67779 (eval $ac_link) 2>conftest.er1
67780 ac_status=$?
67781 grep -v '^ *+' conftest.er1 >conftest.err
67782 rm -f conftest.er1
67783 cat conftest.err >&5
67784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67785 (exit $ac_status); } &&
67786 { ac_try='test -z "$ac_c_werror_flag"
67787 || test ! -s conftest.err'
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); }; } &&
67793 { ac_try='test -s conftest$ac_exeext'
67794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67795 (eval $ac_try) 2>&5
67796 ac_status=$?
67797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67798 (exit $ac_status); }; }; then
67799 eval "$as_ac_var=yes"
67800 else
67801 echo "$as_me: failed program was:" >&5
67802 sed 's/^/| /' conftest.$ac_ext >&5
67804 eval "$as_ac_var=no"
67806 rm -f conftest.err conftest.$ac_objext \
67807 conftest$ac_exeext conftest.$ac_ext
67809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67811 if test `eval echo '${'$as_ac_var'}'` = yes; then
67812 cat >>confdefs.h <<_ACEOF
67813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67814 _ACEOF
67817 done
67819 else
67821 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
67822 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
67823 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67824 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
67825 echo $ECHO_N "(cached) $ECHO_C" >&6
67826 else
67830 ac_ext=cc
67831 ac_cpp='$CXXCPP $CPPFLAGS'
67832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67836 cat >conftest.$ac_ext <<_ACEOF
67837 /* confdefs.h. */
67838 _ACEOF
67839 cat confdefs.h >>conftest.$ac_ext
67840 cat >>conftest.$ac_ext <<_ACEOF
67841 /* end confdefs.h. */
67842 #include <math.h>
67843 #ifdef HAVE_IEEEFP_H
67844 #include <ieeefp.h>
67845 #endif
67848 main ()
67850 _qfpclass(0);
67852 return 0;
67854 _ACEOF
67855 rm -f conftest.$ac_objext
67856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67857 (eval $ac_compile) 2>conftest.er1
67858 ac_status=$?
67859 grep -v '^ *+' conftest.er1 >conftest.err
67860 rm -f conftest.er1
67861 cat conftest.err >&5
67862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67863 (exit $ac_status); } &&
67864 { ac_try='test -z "$ac_cxx_werror_flag"
67865 || test ! -s conftest.err'
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); }; } &&
67871 { ac_try='test -s conftest.$ac_objext'
67872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67873 (eval $ac_try) 2>&5
67874 ac_status=$?
67875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67876 (exit $ac_status); }; }; then
67877 glibcxx_cv_func__qfpclass_use=yes
67878 else
67879 echo "$as_me: failed program was:" >&5
67880 sed 's/^/| /' conftest.$ac_ext >&5
67882 glibcxx_cv_func__qfpclass_use=no
67884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67885 ac_ext=c
67886 ac_cpp='$CPP $CPPFLAGS'
67887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67895 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
67896 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
67898 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67900 for ac_func in _qfpclass
67902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67903 echo "$as_me:$LINENO: checking for $ac_func" >&5
67904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67905 if eval "test \"\${$as_ac_var+set}\" = set"; then
67906 echo $ECHO_N "(cached) $ECHO_C" >&6
67907 else
67908 if test x$gcc_no_link = xyes; then
67909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67911 { (exit 1); exit 1; }; }
67913 cat >conftest.$ac_ext <<_ACEOF
67914 /* confdefs.h. */
67915 _ACEOF
67916 cat confdefs.h >>conftest.$ac_ext
67917 cat >>conftest.$ac_ext <<_ACEOF
67918 /* end confdefs.h. */
67919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67921 #define $ac_func innocuous_$ac_func
67923 /* System header to define __stub macros and hopefully few prototypes,
67924 which can conflict with char $ac_func (); below.
67925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67926 <limits.h> exists even on freestanding compilers. */
67928 #ifdef __STDC__
67929 # include <limits.h>
67930 #else
67931 # include <assert.h>
67932 #endif
67934 #undef $ac_func
67936 /* Override any gcc2 internal prototype to avoid an error. */
67937 #ifdef __cplusplus
67938 extern "C"
67940 #endif
67941 /* We use char because int might match the return type of a gcc2
67942 builtin and then its argument prototype would still apply. */
67943 char $ac_func ();
67944 /* The GNU C library defines this for functions which it implements
67945 to always fail with ENOSYS. Some functions are actually named
67946 something starting with __ and the normal name is an alias. */
67947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67948 choke me
67949 #else
67950 char (*f) () = $ac_func;
67951 #endif
67952 #ifdef __cplusplus
67954 #endif
67957 main ()
67959 return f != $ac_func;
67961 return 0;
67963 _ACEOF
67964 rm -f conftest.$ac_objext conftest$ac_exeext
67965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67966 (eval $ac_link) 2>conftest.er1
67967 ac_status=$?
67968 grep -v '^ *+' conftest.er1 >conftest.err
67969 rm -f conftest.er1
67970 cat conftest.err >&5
67971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67972 (exit $ac_status); } &&
67973 { ac_try='test -z "$ac_c_werror_flag"
67974 || test ! -s conftest.err'
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); }; } &&
67980 { ac_try='test -s conftest$ac_exeext'
67981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67982 (eval $ac_try) 2>&5
67983 ac_status=$?
67984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67985 (exit $ac_status); }; }; then
67986 eval "$as_ac_var=yes"
67987 else
67988 echo "$as_me: failed program was:" >&5
67989 sed 's/^/| /' conftest.$ac_ext >&5
67991 eval "$as_ac_var=no"
67993 rm -f conftest.err conftest.$ac_objext \
67994 conftest$ac_exeext conftest.$ac_ext
67996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67998 if test `eval echo '${'$as_ac_var'}'` = yes; then
67999 cat >>confdefs.h <<_ACEOF
68000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68001 _ACEOF
68004 done
68014 echo "$as_me:$LINENO: checking for hypot declaration" >&5
68015 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
68016 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
68017 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
68018 echo $ECHO_N "(cached) $ECHO_C" >&6
68019 else
68023 ac_ext=cc
68024 ac_cpp='$CXXCPP $CPPFLAGS'
68025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68029 cat >conftest.$ac_ext <<_ACEOF
68030 /* confdefs.h. */
68031 _ACEOF
68032 cat confdefs.h >>conftest.$ac_ext
68033 cat >>conftest.$ac_ext <<_ACEOF
68034 /* end confdefs.h. */
68035 #include <math.h>
68037 main ()
68039 hypot(0, 0);
68041 return 0;
68043 _ACEOF
68044 rm -f conftest.$ac_objext
68045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68046 (eval $ac_compile) 2>conftest.er1
68047 ac_status=$?
68048 grep -v '^ *+' conftest.er1 >conftest.err
68049 rm -f conftest.er1
68050 cat conftest.err >&5
68051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68052 (exit $ac_status); } &&
68053 { ac_try='test -z "$ac_cxx_werror_flag"
68054 || test ! -s conftest.err'
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); }; } &&
68060 { ac_try='test -s conftest.$ac_objext'
68061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68062 (eval $ac_try) 2>&5
68063 ac_status=$?
68064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68065 (exit $ac_status); }; }; then
68066 glibcxx_cv_func_hypot_use=yes
68067 else
68068 echo "$as_me: failed program was:" >&5
68069 sed 's/^/| /' conftest.$ac_ext >&5
68071 glibcxx_cv_func_hypot_use=no
68073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68074 ac_ext=c
68075 ac_cpp='$CPP $CPPFLAGS'
68076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68084 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
68085 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
68087 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
68089 for ac_func in hypot
68091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68092 echo "$as_me:$LINENO: checking for $ac_func" >&5
68093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68094 if eval "test \"\${$as_ac_var+set}\" = set"; then
68095 echo $ECHO_N "(cached) $ECHO_C" >&6
68096 else
68097 if test x$gcc_no_link = xyes; then
68098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68100 { (exit 1); exit 1; }; }
68102 cat >conftest.$ac_ext <<_ACEOF
68103 /* confdefs.h. */
68104 _ACEOF
68105 cat confdefs.h >>conftest.$ac_ext
68106 cat >>conftest.$ac_ext <<_ACEOF
68107 /* end confdefs.h. */
68108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68110 #define $ac_func innocuous_$ac_func
68112 /* System header to define __stub macros and hopefully few prototypes,
68113 which can conflict with char $ac_func (); below.
68114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68115 <limits.h> exists even on freestanding compilers. */
68117 #ifdef __STDC__
68118 # include <limits.h>
68119 #else
68120 # include <assert.h>
68121 #endif
68123 #undef $ac_func
68125 /* Override any gcc2 internal prototype to avoid an error. */
68126 #ifdef __cplusplus
68127 extern "C"
68129 #endif
68130 /* We use char because int might match the return type of a gcc2
68131 builtin and then its argument prototype would still apply. */
68132 char $ac_func ();
68133 /* The GNU C library defines this for functions which it implements
68134 to always fail with ENOSYS. Some functions are actually named
68135 something starting with __ and the normal name is an alias. */
68136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68137 choke me
68138 #else
68139 char (*f) () = $ac_func;
68140 #endif
68141 #ifdef __cplusplus
68143 #endif
68146 main ()
68148 return f != $ac_func;
68150 return 0;
68152 _ACEOF
68153 rm -f conftest.$ac_objext conftest$ac_exeext
68154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68155 (eval $ac_link) 2>conftest.er1
68156 ac_status=$?
68157 grep -v '^ *+' conftest.er1 >conftest.err
68158 rm -f conftest.er1
68159 cat conftest.err >&5
68160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68161 (exit $ac_status); } &&
68162 { ac_try='test -z "$ac_c_werror_flag"
68163 || test ! -s conftest.err'
68164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68165 (eval $ac_try) 2>&5
68166 ac_status=$?
68167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68168 (exit $ac_status); }; } &&
68169 { ac_try='test -s conftest$ac_exeext'
68170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68171 (eval $ac_try) 2>&5
68172 ac_status=$?
68173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68174 (exit $ac_status); }; }; then
68175 eval "$as_ac_var=yes"
68176 else
68177 echo "$as_me: failed program was:" >&5
68178 sed 's/^/| /' conftest.$ac_ext >&5
68180 eval "$as_ac_var=no"
68182 rm -f conftest.err conftest.$ac_objext \
68183 conftest$ac_exeext conftest.$ac_ext
68185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68187 if test `eval echo '${'$as_ac_var'}'` = yes; then
68188 cat >>confdefs.h <<_ACEOF
68189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68190 _ACEOF
68193 done
68195 else
68197 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
68198 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
68199 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
68200 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
68201 echo $ECHO_N "(cached) $ECHO_C" >&6
68202 else
68206 ac_ext=cc
68207 ac_cpp='$CXXCPP $CPPFLAGS'
68208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68212 cat >conftest.$ac_ext <<_ACEOF
68213 /* confdefs.h. */
68214 _ACEOF
68215 cat confdefs.h >>conftest.$ac_ext
68216 cat >>conftest.$ac_ext <<_ACEOF
68217 /* end confdefs.h. */
68218 #include <math.h>
68220 main ()
68222 _hypot(0, 0);
68224 return 0;
68226 _ACEOF
68227 rm -f conftest.$ac_objext
68228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68229 (eval $ac_compile) 2>conftest.er1
68230 ac_status=$?
68231 grep -v '^ *+' conftest.er1 >conftest.err
68232 rm -f conftest.er1
68233 cat conftest.err >&5
68234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68235 (exit $ac_status); } &&
68236 { ac_try='test -z "$ac_cxx_werror_flag"
68237 || test ! -s conftest.err'
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); }; } &&
68243 { ac_try='test -s conftest.$ac_objext'
68244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68245 (eval $ac_try) 2>&5
68246 ac_status=$?
68247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68248 (exit $ac_status); }; }; then
68249 glibcxx_cv_func__hypot_use=yes
68250 else
68251 echo "$as_me: failed program was:" >&5
68252 sed 's/^/| /' conftest.$ac_ext >&5
68254 glibcxx_cv_func__hypot_use=no
68256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68257 ac_ext=c
68258 ac_cpp='$CPP $CPPFLAGS'
68259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68267 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
68268 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
68270 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
68272 for ac_func in _hypot
68274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68275 echo "$as_me:$LINENO: checking for $ac_func" >&5
68276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68277 if eval "test \"\${$as_ac_var+set}\" = set"; then
68278 echo $ECHO_N "(cached) $ECHO_C" >&6
68279 else
68280 if test x$gcc_no_link = xyes; then
68281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68283 { (exit 1); exit 1; }; }
68285 cat >conftest.$ac_ext <<_ACEOF
68286 /* confdefs.h. */
68287 _ACEOF
68288 cat confdefs.h >>conftest.$ac_ext
68289 cat >>conftest.$ac_ext <<_ACEOF
68290 /* end confdefs.h. */
68291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68293 #define $ac_func innocuous_$ac_func
68295 /* System header to define __stub macros and hopefully few prototypes,
68296 which can conflict with char $ac_func (); below.
68297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68298 <limits.h> exists even on freestanding compilers. */
68300 #ifdef __STDC__
68301 # include <limits.h>
68302 #else
68303 # include <assert.h>
68304 #endif
68306 #undef $ac_func
68308 /* Override any gcc2 internal prototype to avoid an error. */
68309 #ifdef __cplusplus
68310 extern "C"
68312 #endif
68313 /* We use char because int might match the return type of a gcc2
68314 builtin and then its argument prototype would still apply. */
68315 char $ac_func ();
68316 /* The GNU C library defines this for functions which it implements
68317 to always fail with ENOSYS. Some functions are actually named
68318 something starting with __ and the normal name is an alias. */
68319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68320 choke me
68321 #else
68322 char (*f) () = $ac_func;
68323 #endif
68324 #ifdef __cplusplus
68326 #endif
68329 main ()
68331 return f != $ac_func;
68333 return 0;
68335 _ACEOF
68336 rm -f conftest.$ac_objext conftest$ac_exeext
68337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68338 (eval $ac_link) 2>conftest.er1
68339 ac_status=$?
68340 grep -v '^ *+' conftest.er1 >conftest.err
68341 rm -f conftest.er1
68342 cat conftest.err >&5
68343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68344 (exit $ac_status); } &&
68345 { ac_try='test -z "$ac_c_werror_flag"
68346 || test ! -s conftest.err'
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); }; } &&
68352 { ac_try='test -s conftest$ac_exeext'
68353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68354 (eval $ac_try) 2>&5
68355 ac_status=$?
68356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68357 (exit $ac_status); }; }; then
68358 eval "$as_ac_var=yes"
68359 else
68360 echo "$as_me: failed program was:" >&5
68361 sed 's/^/| /' conftest.$ac_ext >&5
68363 eval "$as_ac_var=no"
68365 rm -f conftest.err conftest.$ac_objext \
68366 conftest$ac_exeext conftest.$ac_ext
68368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68370 if test `eval echo '${'$as_ac_var'}'` = yes; then
68371 cat >>confdefs.h <<_ACEOF
68372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68373 _ACEOF
68376 done
68386 echo "$as_me:$LINENO: checking for float trig functions" >&5
68387 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
68388 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
68389 echo $ECHO_N "(cached) $ECHO_C" >&6
68390 else
68394 ac_ext=cc
68395 ac_cpp='$CXXCPP $CPPFLAGS'
68396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68400 cat >conftest.$ac_ext <<_ACEOF
68401 /* confdefs.h. */
68402 _ACEOF
68403 cat confdefs.h >>conftest.$ac_ext
68404 cat >>conftest.$ac_ext <<_ACEOF
68405 /* end confdefs.h. */
68406 #include <math.h>
68408 main ()
68410 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
68412 return 0;
68414 _ACEOF
68415 rm -f conftest.$ac_objext
68416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68417 (eval $ac_compile) 2>conftest.er1
68418 ac_status=$?
68419 grep -v '^ *+' conftest.er1 >conftest.err
68420 rm -f conftest.er1
68421 cat conftest.err >&5
68422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68423 (exit $ac_status); } &&
68424 { ac_try='test -z "$ac_cxx_werror_flag"
68425 || test ! -s conftest.err'
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); }; } &&
68431 { ac_try='test -s conftest.$ac_objext'
68432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68433 (eval $ac_try) 2>&5
68434 ac_status=$?
68435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68436 (exit $ac_status); }; }; then
68437 glibcxx_cv_func_float_trig_use=yes
68438 else
68439 echo "$as_me: failed program was:" >&5
68440 sed 's/^/| /' conftest.$ac_ext >&5
68442 glibcxx_cv_func_float_trig_use=no
68444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68445 ac_ext=c
68446 ac_cpp='$CPP $CPPFLAGS'
68447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68453 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
68454 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
68455 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
68465 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
68467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68468 echo "$as_me:$LINENO: checking for $ac_func" >&5
68469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68470 if eval "test \"\${$as_ac_var+set}\" = set"; then
68471 echo $ECHO_N "(cached) $ECHO_C" >&6
68472 else
68473 if test x$gcc_no_link = xyes; then
68474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68476 { (exit 1); exit 1; }; }
68478 cat >conftest.$ac_ext <<_ACEOF
68479 /* confdefs.h. */
68480 _ACEOF
68481 cat confdefs.h >>conftest.$ac_ext
68482 cat >>conftest.$ac_ext <<_ACEOF
68483 /* end confdefs.h. */
68484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68486 #define $ac_func innocuous_$ac_func
68488 /* System header to define __stub macros and hopefully few prototypes,
68489 which can conflict with char $ac_func (); below.
68490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68491 <limits.h> exists even on freestanding compilers. */
68493 #ifdef __STDC__
68494 # include <limits.h>
68495 #else
68496 # include <assert.h>
68497 #endif
68499 #undef $ac_func
68501 /* Override any gcc2 internal prototype to avoid an error. */
68502 #ifdef __cplusplus
68503 extern "C"
68505 #endif
68506 /* We use char because int might match the return type of a gcc2
68507 builtin and then its argument prototype would still apply. */
68508 char $ac_func ();
68509 /* The GNU C library defines this for functions which it implements
68510 to always fail with ENOSYS. Some functions are actually named
68511 something starting with __ and the normal name is an alias. */
68512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68513 choke me
68514 #else
68515 char (*f) () = $ac_func;
68516 #endif
68517 #ifdef __cplusplus
68519 #endif
68522 main ()
68524 return f != $ac_func;
68526 return 0;
68528 _ACEOF
68529 rm -f conftest.$ac_objext conftest$ac_exeext
68530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68531 (eval $ac_link) 2>conftest.er1
68532 ac_status=$?
68533 grep -v '^ *+' conftest.er1 >conftest.err
68534 rm -f conftest.er1
68535 cat conftest.err >&5
68536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68537 (exit $ac_status); } &&
68538 { ac_try='test -z "$ac_c_werror_flag"
68539 || test ! -s conftest.err'
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); }; } &&
68545 { ac_try='test -s conftest$ac_exeext'
68546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68547 (eval $ac_try) 2>&5
68548 ac_status=$?
68549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68550 (exit $ac_status); }; }; then
68551 eval "$as_ac_var=yes"
68552 else
68553 echo "$as_me: failed program was:" >&5
68554 sed 's/^/| /' conftest.$ac_ext >&5
68556 eval "$as_ac_var=no"
68558 rm -f conftest.err conftest.$ac_objext \
68559 conftest$ac_exeext conftest.$ac_ext
68561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68563 if test `eval echo '${'$as_ac_var'}'` = yes; then
68564 cat >>confdefs.h <<_ACEOF
68565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68566 _ACEOF
68569 done
68571 else
68572 echo "$as_me:$LINENO: checking for _float trig functions" >&5
68573 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
68574 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
68575 echo $ECHO_N "(cached) $ECHO_C" >&6
68576 else
68580 ac_ext=cc
68581 ac_cpp='$CXXCPP $CPPFLAGS'
68582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68586 cat >conftest.$ac_ext <<_ACEOF
68587 /* confdefs.h. */
68588 _ACEOF
68589 cat confdefs.h >>conftest.$ac_ext
68590 cat >>conftest.$ac_ext <<_ACEOF
68591 /* end confdefs.h. */
68592 #include <math.h>
68594 main ()
68596 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
68598 return 0;
68600 _ACEOF
68601 rm -f conftest.$ac_objext
68602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68603 (eval $ac_compile) 2>conftest.er1
68604 ac_status=$?
68605 grep -v '^ *+' conftest.er1 >conftest.err
68606 rm -f conftest.er1
68607 cat conftest.err >&5
68608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68609 (exit $ac_status); } &&
68610 { ac_try='test -z "$ac_cxx_werror_flag"
68611 || test ! -s conftest.err'
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); }; } &&
68617 { ac_try='test -s conftest.$ac_objext'
68618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68619 (eval $ac_try) 2>&5
68620 ac_status=$?
68621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68622 (exit $ac_status); }; }; then
68623 glibcxx_cv_func__float_trig_use=yes
68624 else
68625 echo "$as_me: failed program was:" >&5
68626 sed 's/^/| /' conftest.$ac_ext >&5
68628 glibcxx_cv_func__float_trig_use=no
68630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68631 ac_ext=c
68632 ac_cpp='$CPP $CPPFLAGS'
68633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68639 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
68640 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
68641 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
68651 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
68653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68654 echo "$as_me:$LINENO: checking for $ac_func" >&5
68655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68656 if eval "test \"\${$as_ac_var+set}\" = set"; then
68657 echo $ECHO_N "(cached) $ECHO_C" >&6
68658 else
68659 if test x$gcc_no_link = xyes; then
68660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68662 { (exit 1); exit 1; }; }
68664 cat >conftest.$ac_ext <<_ACEOF
68665 /* confdefs.h. */
68666 _ACEOF
68667 cat confdefs.h >>conftest.$ac_ext
68668 cat >>conftest.$ac_ext <<_ACEOF
68669 /* end confdefs.h. */
68670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68672 #define $ac_func innocuous_$ac_func
68674 /* System header to define __stub macros and hopefully few prototypes,
68675 which can conflict with char $ac_func (); below.
68676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68677 <limits.h> exists even on freestanding compilers. */
68679 #ifdef __STDC__
68680 # include <limits.h>
68681 #else
68682 # include <assert.h>
68683 #endif
68685 #undef $ac_func
68687 /* Override any gcc2 internal prototype to avoid an error. */
68688 #ifdef __cplusplus
68689 extern "C"
68691 #endif
68692 /* We use char because int might match the return type of a gcc2
68693 builtin and then its argument prototype would still apply. */
68694 char $ac_func ();
68695 /* The GNU C library defines this for functions which it implements
68696 to always fail with ENOSYS. Some functions are actually named
68697 something starting with __ and the normal name is an alias. */
68698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68699 choke me
68700 #else
68701 char (*f) () = $ac_func;
68702 #endif
68703 #ifdef __cplusplus
68705 #endif
68708 main ()
68710 return f != $ac_func;
68712 return 0;
68714 _ACEOF
68715 rm -f conftest.$ac_objext conftest$ac_exeext
68716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68717 (eval $ac_link) 2>conftest.er1
68718 ac_status=$?
68719 grep -v '^ *+' conftest.er1 >conftest.err
68720 rm -f conftest.er1
68721 cat conftest.err >&5
68722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68723 (exit $ac_status); } &&
68724 { ac_try='test -z "$ac_c_werror_flag"
68725 || test ! -s conftest.err'
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); }; } &&
68731 { ac_try='test -s conftest$ac_exeext'
68732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68733 (eval $ac_try) 2>&5
68734 ac_status=$?
68735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68736 (exit $ac_status); }; }; then
68737 eval "$as_ac_var=yes"
68738 else
68739 echo "$as_me: failed program was:" >&5
68740 sed 's/^/| /' conftest.$ac_ext >&5
68742 eval "$as_ac_var=no"
68744 rm -f conftest.err conftest.$ac_objext \
68745 conftest$ac_exeext conftest.$ac_ext
68747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68749 if test `eval echo '${'$as_ac_var'}'` = yes; then
68750 cat >>confdefs.h <<_ACEOF
68751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68752 _ACEOF
68755 done
68773 echo "$as_me:$LINENO: checking for float round functions" >&5
68774 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
68775 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
68776 echo $ECHO_N "(cached) $ECHO_C" >&6
68777 else
68781 ac_ext=cc
68782 ac_cpp='$CXXCPP $CPPFLAGS'
68783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68787 cat >conftest.$ac_ext <<_ACEOF
68788 /* confdefs.h. */
68789 _ACEOF
68790 cat confdefs.h >>conftest.$ac_ext
68791 cat >>conftest.$ac_ext <<_ACEOF
68792 /* end confdefs.h. */
68793 #include <math.h>
68795 main ()
68797 ceilf (0); floorf (0);
68799 return 0;
68801 _ACEOF
68802 rm -f conftest.$ac_objext
68803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68804 (eval $ac_compile) 2>conftest.er1
68805 ac_status=$?
68806 grep -v '^ *+' conftest.er1 >conftest.err
68807 rm -f conftest.er1
68808 cat conftest.err >&5
68809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68810 (exit $ac_status); } &&
68811 { ac_try='test -z "$ac_cxx_werror_flag"
68812 || test ! -s conftest.err'
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); }; } &&
68818 { ac_try='test -s conftest.$ac_objext'
68819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68820 (eval $ac_try) 2>&5
68821 ac_status=$?
68822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68823 (exit $ac_status); }; }; then
68824 glibcxx_cv_func_float_round_use=yes
68825 else
68826 echo "$as_me: failed program was:" >&5
68827 sed 's/^/| /' conftest.$ac_ext >&5
68829 glibcxx_cv_func_float_round_use=no
68831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68832 ac_ext=c
68833 ac_cpp='$CPP $CPPFLAGS'
68834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68840 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
68841 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
68842 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68845 for ac_func in ceilf floorf
68847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68848 echo "$as_me:$LINENO: checking for $ac_func" >&5
68849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68850 if eval "test \"\${$as_ac_var+set}\" = set"; then
68851 echo $ECHO_N "(cached) $ECHO_C" >&6
68852 else
68853 if test x$gcc_no_link = xyes; then
68854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68856 { (exit 1); exit 1; }; }
68858 cat >conftest.$ac_ext <<_ACEOF
68859 /* confdefs.h. */
68860 _ACEOF
68861 cat confdefs.h >>conftest.$ac_ext
68862 cat >>conftest.$ac_ext <<_ACEOF
68863 /* end confdefs.h. */
68864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68866 #define $ac_func innocuous_$ac_func
68868 /* System header to define __stub macros and hopefully few prototypes,
68869 which can conflict with char $ac_func (); below.
68870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68871 <limits.h> exists even on freestanding compilers. */
68873 #ifdef __STDC__
68874 # include <limits.h>
68875 #else
68876 # include <assert.h>
68877 #endif
68879 #undef $ac_func
68881 /* Override any gcc2 internal prototype to avoid an error. */
68882 #ifdef __cplusplus
68883 extern "C"
68885 #endif
68886 /* We use char because int might match the return type of a gcc2
68887 builtin and then its argument prototype would still apply. */
68888 char $ac_func ();
68889 /* The GNU C library defines this for functions which it implements
68890 to always fail with ENOSYS. Some functions are actually named
68891 something starting with __ and the normal name is an alias. */
68892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68893 choke me
68894 #else
68895 char (*f) () = $ac_func;
68896 #endif
68897 #ifdef __cplusplus
68899 #endif
68902 main ()
68904 return f != $ac_func;
68906 return 0;
68908 _ACEOF
68909 rm -f conftest.$ac_objext conftest$ac_exeext
68910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68911 (eval $ac_link) 2>conftest.er1
68912 ac_status=$?
68913 grep -v '^ *+' conftest.er1 >conftest.err
68914 rm -f conftest.er1
68915 cat conftest.err >&5
68916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68917 (exit $ac_status); } &&
68918 { ac_try='test -z "$ac_c_werror_flag"
68919 || test ! -s conftest.err'
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); }; } &&
68925 { ac_try='test -s conftest$ac_exeext'
68926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68927 (eval $ac_try) 2>&5
68928 ac_status=$?
68929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68930 (exit $ac_status); }; }; then
68931 eval "$as_ac_var=yes"
68932 else
68933 echo "$as_me: failed program was:" >&5
68934 sed 's/^/| /' conftest.$ac_ext >&5
68936 eval "$as_ac_var=no"
68938 rm -f conftest.err conftest.$ac_objext \
68939 conftest$ac_exeext conftest.$ac_ext
68941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68943 if test `eval echo '${'$as_ac_var'}'` = yes; then
68944 cat >>confdefs.h <<_ACEOF
68945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68946 _ACEOF
68949 done
68951 else
68952 echo "$as_me:$LINENO: checking for _float round functions" >&5
68953 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
68954 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
68955 echo $ECHO_N "(cached) $ECHO_C" >&6
68956 else
68960 ac_ext=cc
68961 ac_cpp='$CXXCPP $CPPFLAGS'
68962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68966 cat >conftest.$ac_ext <<_ACEOF
68967 /* confdefs.h. */
68968 _ACEOF
68969 cat confdefs.h >>conftest.$ac_ext
68970 cat >>conftest.$ac_ext <<_ACEOF
68971 /* end confdefs.h. */
68972 #include <math.h>
68974 main ()
68976 _ceilf (0); _floorf (0);
68978 return 0;
68980 _ACEOF
68981 rm -f conftest.$ac_objext
68982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68983 (eval $ac_compile) 2>conftest.er1
68984 ac_status=$?
68985 grep -v '^ *+' conftest.er1 >conftest.err
68986 rm -f conftest.er1
68987 cat conftest.err >&5
68988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68989 (exit $ac_status); } &&
68990 { ac_try='test -z "$ac_cxx_werror_flag"
68991 || test ! -s conftest.err'
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); }; } &&
68997 { ac_try='test -s conftest.$ac_objext'
68998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68999 (eval $ac_try) 2>&5
69000 ac_status=$?
69001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69002 (exit $ac_status); }; }; then
69003 glibcxx_cv_func__float_round_use=yes
69004 else
69005 echo "$as_me: failed program was:" >&5
69006 sed 's/^/| /' conftest.$ac_ext >&5
69008 glibcxx_cv_func__float_round_use=no
69010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69011 ac_ext=c
69012 ac_cpp='$CPP $CPPFLAGS'
69013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69019 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
69020 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
69021 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
69024 for ac_func in _ceilf _floorf
69026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69027 echo "$as_me:$LINENO: checking for $ac_func" >&5
69028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69029 if eval "test \"\${$as_ac_var+set}\" = set"; then
69030 echo $ECHO_N "(cached) $ECHO_C" >&6
69031 else
69032 if test x$gcc_no_link = xyes; then
69033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69035 { (exit 1); exit 1; }; }
69037 cat >conftest.$ac_ext <<_ACEOF
69038 /* confdefs.h. */
69039 _ACEOF
69040 cat confdefs.h >>conftest.$ac_ext
69041 cat >>conftest.$ac_ext <<_ACEOF
69042 /* end confdefs.h. */
69043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69045 #define $ac_func innocuous_$ac_func
69047 /* System header to define __stub macros and hopefully few prototypes,
69048 which can conflict with char $ac_func (); below.
69049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69050 <limits.h> exists even on freestanding compilers. */
69052 #ifdef __STDC__
69053 # include <limits.h>
69054 #else
69055 # include <assert.h>
69056 #endif
69058 #undef $ac_func
69060 /* Override any gcc2 internal prototype to avoid an error. */
69061 #ifdef __cplusplus
69062 extern "C"
69064 #endif
69065 /* We use char because int might match the return type of a gcc2
69066 builtin and then its argument prototype would still apply. */
69067 char $ac_func ();
69068 /* The GNU C library defines this for functions which it implements
69069 to always fail with ENOSYS. Some functions are actually named
69070 something starting with __ and the normal name is an alias. */
69071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69072 choke me
69073 #else
69074 char (*f) () = $ac_func;
69075 #endif
69076 #ifdef __cplusplus
69078 #endif
69081 main ()
69083 return f != $ac_func;
69085 return 0;
69087 _ACEOF
69088 rm -f conftest.$ac_objext conftest$ac_exeext
69089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69090 (eval $ac_link) 2>conftest.er1
69091 ac_status=$?
69092 grep -v '^ *+' conftest.er1 >conftest.err
69093 rm -f conftest.er1
69094 cat conftest.err >&5
69095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69096 (exit $ac_status); } &&
69097 { ac_try='test -z "$ac_c_werror_flag"
69098 || test ! -s conftest.err'
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); }; } &&
69104 { ac_try='test -s conftest$ac_exeext'
69105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69106 (eval $ac_try) 2>&5
69107 ac_status=$?
69108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69109 (exit $ac_status); }; }; then
69110 eval "$as_ac_var=yes"
69111 else
69112 echo "$as_me: failed program was:" >&5
69113 sed 's/^/| /' conftest.$ac_ext >&5
69115 eval "$as_ac_var=no"
69117 rm -f conftest.err conftest.$ac_objext \
69118 conftest$ac_exeext conftest.$ac_ext
69120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69122 if test `eval echo '${'$as_ac_var'}'` = yes; then
69123 cat >>confdefs.h <<_ACEOF
69124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69125 _ACEOF
69128 done
69140 echo "$as_me:$LINENO: checking for expf declaration" >&5
69141 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
69142 if test x${glibcxx_cv_func_expf_use+set} != xset; then
69143 if test "${glibcxx_cv_func_expf_use+set}" = set; then
69144 echo $ECHO_N "(cached) $ECHO_C" >&6
69145 else
69149 ac_ext=cc
69150 ac_cpp='$CXXCPP $CPPFLAGS'
69151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69155 cat >conftest.$ac_ext <<_ACEOF
69156 /* confdefs.h. */
69157 _ACEOF
69158 cat confdefs.h >>conftest.$ac_ext
69159 cat >>conftest.$ac_ext <<_ACEOF
69160 /* end confdefs.h. */
69161 #include <math.h>
69162 #ifdef HAVE_IEEEFP_H
69163 #include <ieeefp.h>
69164 #endif
69167 main ()
69169 expf(0);
69171 return 0;
69173 _ACEOF
69174 rm -f conftest.$ac_objext
69175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69176 (eval $ac_compile) 2>conftest.er1
69177 ac_status=$?
69178 grep -v '^ *+' conftest.er1 >conftest.err
69179 rm -f conftest.er1
69180 cat conftest.err >&5
69181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69182 (exit $ac_status); } &&
69183 { ac_try='test -z "$ac_cxx_werror_flag"
69184 || test ! -s conftest.err'
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); }; } &&
69190 { ac_try='test -s conftest.$ac_objext'
69191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69192 (eval $ac_try) 2>&5
69193 ac_status=$?
69194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69195 (exit $ac_status); }; }; then
69196 glibcxx_cv_func_expf_use=yes
69197 else
69198 echo "$as_me: failed program was:" >&5
69199 sed 's/^/| /' conftest.$ac_ext >&5
69201 glibcxx_cv_func_expf_use=no
69203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69204 ac_ext=c
69205 ac_cpp='$CPP $CPPFLAGS'
69206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69214 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
69215 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
69217 if test x$glibcxx_cv_func_expf_use = x"yes"; then
69219 for ac_func in expf
69221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69222 echo "$as_me:$LINENO: checking for $ac_func" >&5
69223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69224 if eval "test \"\${$as_ac_var+set}\" = set"; then
69225 echo $ECHO_N "(cached) $ECHO_C" >&6
69226 else
69227 if test x$gcc_no_link = xyes; then
69228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69230 { (exit 1); exit 1; }; }
69232 cat >conftest.$ac_ext <<_ACEOF
69233 /* confdefs.h. */
69234 _ACEOF
69235 cat confdefs.h >>conftest.$ac_ext
69236 cat >>conftest.$ac_ext <<_ACEOF
69237 /* end confdefs.h. */
69238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69240 #define $ac_func innocuous_$ac_func
69242 /* System header to define __stub macros and hopefully few prototypes,
69243 which can conflict with char $ac_func (); below.
69244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69245 <limits.h> exists even on freestanding compilers. */
69247 #ifdef __STDC__
69248 # include <limits.h>
69249 #else
69250 # include <assert.h>
69251 #endif
69253 #undef $ac_func
69255 /* Override any gcc2 internal prototype to avoid an error. */
69256 #ifdef __cplusplus
69257 extern "C"
69259 #endif
69260 /* We use char because int might match the return type of a gcc2
69261 builtin and then its argument prototype would still apply. */
69262 char $ac_func ();
69263 /* The GNU C library defines this for functions which it implements
69264 to always fail with ENOSYS. Some functions are actually named
69265 something starting with __ and the normal name is an alias. */
69266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69267 choke me
69268 #else
69269 char (*f) () = $ac_func;
69270 #endif
69271 #ifdef __cplusplus
69273 #endif
69276 main ()
69278 return f != $ac_func;
69280 return 0;
69282 _ACEOF
69283 rm -f conftest.$ac_objext conftest$ac_exeext
69284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69285 (eval $ac_link) 2>conftest.er1
69286 ac_status=$?
69287 grep -v '^ *+' conftest.er1 >conftest.err
69288 rm -f conftest.er1
69289 cat conftest.err >&5
69290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69291 (exit $ac_status); } &&
69292 { ac_try='test -z "$ac_c_werror_flag"
69293 || test ! -s conftest.err'
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); }; } &&
69299 { ac_try='test -s conftest$ac_exeext'
69300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69301 (eval $ac_try) 2>&5
69302 ac_status=$?
69303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69304 (exit $ac_status); }; }; then
69305 eval "$as_ac_var=yes"
69306 else
69307 echo "$as_me: failed program was:" >&5
69308 sed 's/^/| /' conftest.$ac_ext >&5
69310 eval "$as_ac_var=no"
69312 rm -f conftest.err conftest.$ac_objext \
69313 conftest$ac_exeext conftest.$ac_ext
69315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69317 if test `eval echo '${'$as_ac_var'}'` = yes; then
69318 cat >>confdefs.h <<_ACEOF
69319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69320 _ACEOF
69323 done
69325 else
69327 echo "$as_me:$LINENO: checking for _expf declaration" >&5
69328 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
69329 if test x${glibcxx_cv_func__expf_use+set} != xset; then
69330 if test "${glibcxx_cv_func__expf_use+set}" = set; then
69331 echo $ECHO_N "(cached) $ECHO_C" >&6
69332 else
69336 ac_ext=cc
69337 ac_cpp='$CXXCPP $CPPFLAGS'
69338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69342 cat >conftest.$ac_ext <<_ACEOF
69343 /* confdefs.h. */
69344 _ACEOF
69345 cat confdefs.h >>conftest.$ac_ext
69346 cat >>conftest.$ac_ext <<_ACEOF
69347 /* end confdefs.h. */
69348 #include <math.h>
69349 #ifdef HAVE_IEEEFP_H
69350 #include <ieeefp.h>
69351 #endif
69354 main ()
69356 _expf(0);
69358 return 0;
69360 _ACEOF
69361 rm -f conftest.$ac_objext
69362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69363 (eval $ac_compile) 2>conftest.er1
69364 ac_status=$?
69365 grep -v '^ *+' conftest.er1 >conftest.err
69366 rm -f conftest.er1
69367 cat conftest.err >&5
69368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69369 (exit $ac_status); } &&
69370 { ac_try='test -z "$ac_cxx_werror_flag"
69371 || test ! -s conftest.err'
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); }; } &&
69377 { ac_try='test -s conftest.$ac_objext'
69378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69379 (eval $ac_try) 2>&5
69380 ac_status=$?
69381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69382 (exit $ac_status); }; }; then
69383 glibcxx_cv_func__expf_use=yes
69384 else
69385 echo "$as_me: failed program was:" >&5
69386 sed 's/^/| /' conftest.$ac_ext >&5
69388 glibcxx_cv_func__expf_use=no
69390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69391 ac_ext=c
69392 ac_cpp='$CPP $CPPFLAGS'
69393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69401 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
69402 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
69404 if test x$glibcxx_cv_func__expf_use = x"yes"; then
69406 for ac_func in _expf
69408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69409 echo "$as_me:$LINENO: checking for $ac_func" >&5
69410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69411 if eval "test \"\${$as_ac_var+set}\" = set"; then
69412 echo $ECHO_N "(cached) $ECHO_C" >&6
69413 else
69414 if test x$gcc_no_link = xyes; then
69415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69417 { (exit 1); exit 1; }; }
69419 cat >conftest.$ac_ext <<_ACEOF
69420 /* confdefs.h. */
69421 _ACEOF
69422 cat confdefs.h >>conftest.$ac_ext
69423 cat >>conftest.$ac_ext <<_ACEOF
69424 /* end confdefs.h. */
69425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69427 #define $ac_func innocuous_$ac_func
69429 /* System header to define __stub macros and hopefully few prototypes,
69430 which can conflict with char $ac_func (); below.
69431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69432 <limits.h> exists even on freestanding compilers. */
69434 #ifdef __STDC__
69435 # include <limits.h>
69436 #else
69437 # include <assert.h>
69438 #endif
69440 #undef $ac_func
69442 /* Override any gcc2 internal prototype to avoid an error. */
69443 #ifdef __cplusplus
69444 extern "C"
69446 #endif
69447 /* We use char because int might match the return type of a gcc2
69448 builtin and then its argument prototype would still apply. */
69449 char $ac_func ();
69450 /* The GNU C library defines this for functions which it implements
69451 to always fail with ENOSYS. Some functions are actually named
69452 something starting with __ and the normal name is an alias. */
69453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69454 choke me
69455 #else
69456 char (*f) () = $ac_func;
69457 #endif
69458 #ifdef __cplusplus
69460 #endif
69463 main ()
69465 return f != $ac_func;
69467 return 0;
69469 _ACEOF
69470 rm -f conftest.$ac_objext conftest$ac_exeext
69471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69472 (eval $ac_link) 2>conftest.er1
69473 ac_status=$?
69474 grep -v '^ *+' conftest.er1 >conftest.err
69475 rm -f conftest.er1
69476 cat conftest.err >&5
69477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69478 (exit $ac_status); } &&
69479 { ac_try='test -z "$ac_c_werror_flag"
69480 || test ! -s conftest.err'
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); }; } &&
69486 { ac_try='test -s conftest$ac_exeext'
69487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69488 (eval $ac_try) 2>&5
69489 ac_status=$?
69490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69491 (exit $ac_status); }; }; then
69492 eval "$as_ac_var=yes"
69493 else
69494 echo "$as_me: failed program was:" >&5
69495 sed 's/^/| /' conftest.$ac_ext >&5
69497 eval "$as_ac_var=no"
69499 rm -f conftest.err conftest.$ac_objext \
69500 conftest$ac_exeext conftest.$ac_ext
69502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69504 if test `eval echo '${'$as_ac_var'}'` = yes; then
69505 cat >>confdefs.h <<_ACEOF
69506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69507 _ACEOF
69510 done
69520 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
69521 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
69522 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
69523 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
69524 echo $ECHO_N "(cached) $ECHO_C" >&6
69525 else
69529 ac_ext=cc
69530 ac_cpp='$CXXCPP $CPPFLAGS'
69531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69535 cat >conftest.$ac_ext <<_ACEOF
69536 /* confdefs.h. */
69537 _ACEOF
69538 cat confdefs.h >>conftest.$ac_ext
69539 cat >>conftest.$ac_ext <<_ACEOF
69540 /* end confdefs.h. */
69541 #include <math.h>
69542 #ifdef HAVE_IEEEFP_H
69543 #include <ieeefp.h>
69544 #endif
69547 main ()
69549 isnanf(0);
69551 return 0;
69553 _ACEOF
69554 rm -f conftest.$ac_objext
69555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69556 (eval $ac_compile) 2>conftest.er1
69557 ac_status=$?
69558 grep -v '^ *+' conftest.er1 >conftest.err
69559 rm -f conftest.er1
69560 cat conftest.err >&5
69561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69562 (exit $ac_status); } &&
69563 { ac_try='test -z "$ac_cxx_werror_flag"
69564 || test ! -s conftest.err'
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); }; } &&
69570 { ac_try='test -s conftest.$ac_objext'
69571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69572 (eval $ac_try) 2>&5
69573 ac_status=$?
69574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69575 (exit $ac_status); }; }; then
69576 glibcxx_cv_func_isnanf_use=yes
69577 else
69578 echo "$as_me: failed program was:" >&5
69579 sed 's/^/| /' conftest.$ac_ext >&5
69581 glibcxx_cv_func_isnanf_use=no
69583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69584 ac_ext=c
69585 ac_cpp='$CPP $CPPFLAGS'
69586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69594 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
69595 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
69597 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
69599 for ac_func in isnanf
69601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69602 echo "$as_me:$LINENO: checking for $ac_func" >&5
69603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69604 if eval "test \"\${$as_ac_var+set}\" = set"; then
69605 echo $ECHO_N "(cached) $ECHO_C" >&6
69606 else
69607 if test x$gcc_no_link = xyes; then
69608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69610 { (exit 1); exit 1; }; }
69612 cat >conftest.$ac_ext <<_ACEOF
69613 /* confdefs.h. */
69614 _ACEOF
69615 cat confdefs.h >>conftest.$ac_ext
69616 cat >>conftest.$ac_ext <<_ACEOF
69617 /* end confdefs.h. */
69618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69620 #define $ac_func innocuous_$ac_func
69622 /* System header to define __stub macros and hopefully few prototypes,
69623 which can conflict with char $ac_func (); below.
69624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69625 <limits.h> exists even on freestanding compilers. */
69627 #ifdef __STDC__
69628 # include <limits.h>
69629 #else
69630 # include <assert.h>
69631 #endif
69633 #undef $ac_func
69635 /* Override any gcc2 internal prototype to avoid an error. */
69636 #ifdef __cplusplus
69637 extern "C"
69639 #endif
69640 /* We use char because int might match the return type of a gcc2
69641 builtin and then its argument prototype would still apply. */
69642 char $ac_func ();
69643 /* The GNU C library defines this for functions which it implements
69644 to always fail with ENOSYS. Some functions are actually named
69645 something starting with __ and the normal name is an alias. */
69646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69647 choke me
69648 #else
69649 char (*f) () = $ac_func;
69650 #endif
69651 #ifdef __cplusplus
69653 #endif
69656 main ()
69658 return f != $ac_func;
69660 return 0;
69662 _ACEOF
69663 rm -f conftest.$ac_objext conftest$ac_exeext
69664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69665 (eval $ac_link) 2>conftest.er1
69666 ac_status=$?
69667 grep -v '^ *+' conftest.er1 >conftest.err
69668 rm -f conftest.er1
69669 cat conftest.err >&5
69670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69671 (exit $ac_status); } &&
69672 { ac_try='test -z "$ac_c_werror_flag"
69673 || test ! -s conftest.err'
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); }; } &&
69679 { ac_try='test -s conftest$ac_exeext'
69680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69681 (eval $ac_try) 2>&5
69682 ac_status=$?
69683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69684 (exit $ac_status); }; }; then
69685 eval "$as_ac_var=yes"
69686 else
69687 echo "$as_me: failed program was:" >&5
69688 sed 's/^/| /' conftest.$ac_ext >&5
69690 eval "$as_ac_var=no"
69692 rm -f conftest.err conftest.$ac_objext \
69693 conftest$ac_exeext conftest.$ac_ext
69695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69697 if test `eval echo '${'$as_ac_var'}'` = yes; then
69698 cat >>confdefs.h <<_ACEOF
69699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69700 _ACEOF
69703 done
69705 else
69707 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
69708 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
69709 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
69710 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
69711 echo $ECHO_N "(cached) $ECHO_C" >&6
69712 else
69716 ac_ext=cc
69717 ac_cpp='$CXXCPP $CPPFLAGS'
69718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69722 cat >conftest.$ac_ext <<_ACEOF
69723 /* confdefs.h. */
69724 _ACEOF
69725 cat confdefs.h >>conftest.$ac_ext
69726 cat >>conftest.$ac_ext <<_ACEOF
69727 /* end confdefs.h. */
69728 #include <math.h>
69729 #ifdef HAVE_IEEEFP_H
69730 #include <ieeefp.h>
69731 #endif
69734 main ()
69736 _isnanf(0);
69738 return 0;
69740 _ACEOF
69741 rm -f conftest.$ac_objext
69742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69743 (eval $ac_compile) 2>conftest.er1
69744 ac_status=$?
69745 grep -v '^ *+' conftest.er1 >conftest.err
69746 rm -f conftest.er1
69747 cat conftest.err >&5
69748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69749 (exit $ac_status); } &&
69750 { ac_try='test -z "$ac_cxx_werror_flag"
69751 || test ! -s conftest.err'
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); }; } &&
69757 { ac_try='test -s conftest.$ac_objext'
69758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69759 (eval $ac_try) 2>&5
69760 ac_status=$?
69761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69762 (exit $ac_status); }; }; then
69763 glibcxx_cv_func__isnanf_use=yes
69764 else
69765 echo "$as_me: failed program was:" >&5
69766 sed 's/^/| /' conftest.$ac_ext >&5
69768 glibcxx_cv_func__isnanf_use=no
69770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69771 ac_ext=c
69772 ac_cpp='$CPP $CPPFLAGS'
69773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69781 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
69782 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
69784 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
69786 for ac_func in _isnanf
69788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69789 echo "$as_me:$LINENO: checking for $ac_func" >&5
69790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69791 if eval "test \"\${$as_ac_var+set}\" = set"; then
69792 echo $ECHO_N "(cached) $ECHO_C" >&6
69793 else
69794 if test x$gcc_no_link = xyes; then
69795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69797 { (exit 1); exit 1; }; }
69799 cat >conftest.$ac_ext <<_ACEOF
69800 /* confdefs.h. */
69801 _ACEOF
69802 cat confdefs.h >>conftest.$ac_ext
69803 cat >>conftest.$ac_ext <<_ACEOF
69804 /* end confdefs.h. */
69805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69807 #define $ac_func innocuous_$ac_func
69809 /* System header to define __stub macros and hopefully few prototypes,
69810 which can conflict with char $ac_func (); below.
69811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69812 <limits.h> exists even on freestanding compilers. */
69814 #ifdef __STDC__
69815 # include <limits.h>
69816 #else
69817 # include <assert.h>
69818 #endif
69820 #undef $ac_func
69822 /* Override any gcc2 internal prototype to avoid an error. */
69823 #ifdef __cplusplus
69824 extern "C"
69826 #endif
69827 /* We use char because int might match the return type of a gcc2
69828 builtin and then its argument prototype would still apply. */
69829 char $ac_func ();
69830 /* The GNU C library defines this for functions which it implements
69831 to always fail with ENOSYS. Some functions are actually named
69832 something starting with __ and the normal name is an alias. */
69833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69834 choke me
69835 #else
69836 char (*f) () = $ac_func;
69837 #endif
69838 #ifdef __cplusplus
69840 #endif
69843 main ()
69845 return f != $ac_func;
69847 return 0;
69849 _ACEOF
69850 rm -f conftest.$ac_objext conftest$ac_exeext
69851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69852 (eval $ac_link) 2>conftest.er1
69853 ac_status=$?
69854 grep -v '^ *+' conftest.er1 >conftest.err
69855 rm -f conftest.er1
69856 cat conftest.err >&5
69857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69858 (exit $ac_status); } &&
69859 { ac_try='test -z "$ac_c_werror_flag"
69860 || test ! -s conftest.err'
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); }; } &&
69866 { ac_try='test -s conftest$ac_exeext'
69867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69868 (eval $ac_try) 2>&5
69869 ac_status=$?
69870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69871 (exit $ac_status); }; }; then
69872 eval "$as_ac_var=yes"
69873 else
69874 echo "$as_me: failed program was:" >&5
69875 sed 's/^/| /' conftest.$ac_ext >&5
69877 eval "$as_ac_var=no"
69879 rm -f conftest.err conftest.$ac_objext \
69880 conftest$ac_exeext conftest.$ac_ext
69882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69884 if test `eval echo '${'$as_ac_var'}'` = yes; then
69885 cat >>confdefs.h <<_ACEOF
69886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69887 _ACEOF
69890 done
69900 echo "$as_me:$LINENO: checking for isinff declaration" >&5
69901 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
69902 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
69903 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
69904 echo $ECHO_N "(cached) $ECHO_C" >&6
69905 else
69909 ac_ext=cc
69910 ac_cpp='$CXXCPP $CPPFLAGS'
69911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69915 cat >conftest.$ac_ext <<_ACEOF
69916 /* confdefs.h. */
69917 _ACEOF
69918 cat confdefs.h >>conftest.$ac_ext
69919 cat >>conftest.$ac_ext <<_ACEOF
69920 /* end confdefs.h. */
69921 #include <math.h>
69922 #ifdef HAVE_IEEEFP_H
69923 #include <ieeefp.h>
69924 #endif
69927 main ()
69929 isinff(0);
69931 return 0;
69933 _ACEOF
69934 rm -f conftest.$ac_objext
69935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69936 (eval $ac_compile) 2>conftest.er1
69937 ac_status=$?
69938 grep -v '^ *+' conftest.er1 >conftest.err
69939 rm -f conftest.er1
69940 cat conftest.err >&5
69941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69942 (exit $ac_status); } &&
69943 { ac_try='test -z "$ac_cxx_werror_flag"
69944 || test ! -s conftest.err'
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); }; } &&
69950 { ac_try='test -s conftest.$ac_objext'
69951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69952 (eval $ac_try) 2>&5
69953 ac_status=$?
69954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69955 (exit $ac_status); }; }; then
69956 glibcxx_cv_func_isinff_use=yes
69957 else
69958 echo "$as_me: failed program was:" >&5
69959 sed 's/^/| /' conftest.$ac_ext >&5
69961 glibcxx_cv_func_isinff_use=no
69963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69964 ac_ext=c
69965 ac_cpp='$CPP $CPPFLAGS'
69966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69974 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
69975 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
69977 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
69979 for ac_func in isinff
69981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69982 echo "$as_me:$LINENO: checking for $ac_func" >&5
69983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69984 if eval "test \"\${$as_ac_var+set}\" = set"; then
69985 echo $ECHO_N "(cached) $ECHO_C" >&6
69986 else
69987 if test x$gcc_no_link = xyes; then
69988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69990 { (exit 1); exit 1; }; }
69992 cat >conftest.$ac_ext <<_ACEOF
69993 /* confdefs.h. */
69994 _ACEOF
69995 cat confdefs.h >>conftest.$ac_ext
69996 cat >>conftest.$ac_ext <<_ACEOF
69997 /* end confdefs.h. */
69998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70000 #define $ac_func innocuous_$ac_func
70002 /* System header to define __stub macros and hopefully few prototypes,
70003 which can conflict with char $ac_func (); below.
70004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70005 <limits.h> exists even on freestanding compilers. */
70007 #ifdef __STDC__
70008 # include <limits.h>
70009 #else
70010 # include <assert.h>
70011 #endif
70013 #undef $ac_func
70015 /* Override any gcc2 internal prototype to avoid an error. */
70016 #ifdef __cplusplus
70017 extern "C"
70019 #endif
70020 /* We use char because int might match the return type of a gcc2
70021 builtin and then its argument prototype would still apply. */
70022 char $ac_func ();
70023 /* The GNU C library defines this for functions which it implements
70024 to always fail with ENOSYS. Some functions are actually named
70025 something starting with __ and the normal name is an alias. */
70026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70027 choke me
70028 #else
70029 char (*f) () = $ac_func;
70030 #endif
70031 #ifdef __cplusplus
70033 #endif
70036 main ()
70038 return f != $ac_func;
70040 return 0;
70042 _ACEOF
70043 rm -f conftest.$ac_objext conftest$ac_exeext
70044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70045 (eval $ac_link) 2>conftest.er1
70046 ac_status=$?
70047 grep -v '^ *+' conftest.er1 >conftest.err
70048 rm -f conftest.er1
70049 cat conftest.err >&5
70050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70051 (exit $ac_status); } &&
70052 { ac_try='test -z "$ac_c_werror_flag"
70053 || test ! -s conftest.err'
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); }; } &&
70059 { ac_try='test -s conftest$ac_exeext'
70060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70061 (eval $ac_try) 2>&5
70062 ac_status=$?
70063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70064 (exit $ac_status); }; }; then
70065 eval "$as_ac_var=yes"
70066 else
70067 echo "$as_me: failed program was:" >&5
70068 sed 's/^/| /' conftest.$ac_ext >&5
70070 eval "$as_ac_var=no"
70072 rm -f conftest.err conftest.$ac_objext \
70073 conftest$ac_exeext conftest.$ac_ext
70075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70077 if test `eval echo '${'$as_ac_var'}'` = yes; then
70078 cat >>confdefs.h <<_ACEOF
70079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70080 _ACEOF
70083 done
70085 else
70087 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
70088 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
70089 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
70090 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
70091 echo $ECHO_N "(cached) $ECHO_C" >&6
70092 else
70096 ac_ext=cc
70097 ac_cpp='$CXXCPP $CPPFLAGS'
70098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70102 cat >conftest.$ac_ext <<_ACEOF
70103 /* confdefs.h. */
70104 _ACEOF
70105 cat confdefs.h >>conftest.$ac_ext
70106 cat >>conftest.$ac_ext <<_ACEOF
70107 /* end confdefs.h. */
70108 #include <math.h>
70109 #ifdef HAVE_IEEEFP_H
70110 #include <ieeefp.h>
70111 #endif
70114 main ()
70116 _isinff(0);
70118 return 0;
70120 _ACEOF
70121 rm -f conftest.$ac_objext
70122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70123 (eval $ac_compile) 2>conftest.er1
70124 ac_status=$?
70125 grep -v '^ *+' conftest.er1 >conftest.err
70126 rm -f conftest.er1
70127 cat conftest.err >&5
70128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70129 (exit $ac_status); } &&
70130 { ac_try='test -z "$ac_cxx_werror_flag"
70131 || test ! -s conftest.err'
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); }; } &&
70137 { ac_try='test -s conftest.$ac_objext'
70138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70139 (eval $ac_try) 2>&5
70140 ac_status=$?
70141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70142 (exit $ac_status); }; }; then
70143 glibcxx_cv_func__isinff_use=yes
70144 else
70145 echo "$as_me: failed program was:" >&5
70146 sed 's/^/| /' conftest.$ac_ext >&5
70148 glibcxx_cv_func__isinff_use=no
70150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70151 ac_ext=c
70152 ac_cpp='$CPP $CPPFLAGS'
70153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70161 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
70162 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
70164 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
70166 for ac_func in _isinff
70168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70169 echo "$as_me:$LINENO: checking for $ac_func" >&5
70170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70171 if eval "test \"\${$as_ac_var+set}\" = set"; then
70172 echo $ECHO_N "(cached) $ECHO_C" >&6
70173 else
70174 if test x$gcc_no_link = xyes; then
70175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70177 { (exit 1); exit 1; }; }
70179 cat >conftest.$ac_ext <<_ACEOF
70180 /* confdefs.h. */
70181 _ACEOF
70182 cat confdefs.h >>conftest.$ac_ext
70183 cat >>conftest.$ac_ext <<_ACEOF
70184 /* end confdefs.h. */
70185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70187 #define $ac_func innocuous_$ac_func
70189 /* System header to define __stub macros and hopefully few prototypes,
70190 which can conflict with char $ac_func (); below.
70191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70192 <limits.h> exists even on freestanding compilers. */
70194 #ifdef __STDC__
70195 # include <limits.h>
70196 #else
70197 # include <assert.h>
70198 #endif
70200 #undef $ac_func
70202 /* Override any gcc2 internal prototype to avoid an error. */
70203 #ifdef __cplusplus
70204 extern "C"
70206 #endif
70207 /* We use char because int might match the return type of a gcc2
70208 builtin and then its argument prototype would still apply. */
70209 char $ac_func ();
70210 /* The GNU C library defines this for functions which it implements
70211 to always fail with ENOSYS. Some functions are actually named
70212 something starting with __ and the normal name is an alias. */
70213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70214 choke me
70215 #else
70216 char (*f) () = $ac_func;
70217 #endif
70218 #ifdef __cplusplus
70220 #endif
70223 main ()
70225 return f != $ac_func;
70227 return 0;
70229 _ACEOF
70230 rm -f conftest.$ac_objext conftest$ac_exeext
70231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70232 (eval $ac_link) 2>conftest.er1
70233 ac_status=$?
70234 grep -v '^ *+' conftest.er1 >conftest.err
70235 rm -f conftest.er1
70236 cat conftest.err >&5
70237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70238 (exit $ac_status); } &&
70239 { ac_try='test -z "$ac_c_werror_flag"
70240 || test ! -s conftest.err'
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); }; } &&
70246 { ac_try='test -s conftest$ac_exeext'
70247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70248 (eval $ac_try) 2>&5
70249 ac_status=$?
70250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70251 (exit $ac_status); }; }; then
70252 eval "$as_ac_var=yes"
70253 else
70254 echo "$as_me: failed program was:" >&5
70255 sed 's/^/| /' conftest.$ac_ext >&5
70257 eval "$as_ac_var=no"
70259 rm -f conftest.err conftest.$ac_objext \
70260 conftest$ac_exeext conftest.$ac_ext
70262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70264 if test `eval echo '${'$as_ac_var'}'` = yes; then
70265 cat >>confdefs.h <<_ACEOF
70266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70267 _ACEOF
70270 done
70280 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
70281 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
70282 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
70283 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
70284 echo $ECHO_N "(cached) $ECHO_C" >&6
70285 else
70289 ac_ext=cc
70290 ac_cpp='$CXXCPP $CPPFLAGS'
70291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70295 cat >conftest.$ac_ext <<_ACEOF
70296 /* confdefs.h. */
70297 _ACEOF
70298 cat confdefs.h >>conftest.$ac_ext
70299 cat >>conftest.$ac_ext <<_ACEOF
70300 /* end confdefs.h. */
70301 #include <math.h>
70303 main ()
70305 atan2f(0, 0);
70307 return 0;
70309 _ACEOF
70310 rm -f conftest.$ac_objext
70311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70312 (eval $ac_compile) 2>conftest.er1
70313 ac_status=$?
70314 grep -v '^ *+' conftest.er1 >conftest.err
70315 rm -f conftest.er1
70316 cat conftest.err >&5
70317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70318 (exit $ac_status); } &&
70319 { ac_try='test -z "$ac_cxx_werror_flag"
70320 || test ! -s conftest.err'
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); }; } &&
70326 { ac_try='test -s conftest.$ac_objext'
70327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70328 (eval $ac_try) 2>&5
70329 ac_status=$?
70330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70331 (exit $ac_status); }; }; then
70332 glibcxx_cv_func_atan2f_use=yes
70333 else
70334 echo "$as_me: failed program was:" >&5
70335 sed 's/^/| /' conftest.$ac_ext >&5
70337 glibcxx_cv_func_atan2f_use=no
70339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70340 ac_ext=c
70341 ac_cpp='$CPP $CPPFLAGS'
70342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70350 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
70351 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
70353 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
70355 for ac_func in atan2f
70357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70358 echo "$as_me:$LINENO: checking for $ac_func" >&5
70359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70360 if eval "test \"\${$as_ac_var+set}\" = set"; then
70361 echo $ECHO_N "(cached) $ECHO_C" >&6
70362 else
70363 if test x$gcc_no_link = xyes; then
70364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70366 { (exit 1); exit 1; }; }
70368 cat >conftest.$ac_ext <<_ACEOF
70369 /* confdefs.h. */
70370 _ACEOF
70371 cat confdefs.h >>conftest.$ac_ext
70372 cat >>conftest.$ac_ext <<_ACEOF
70373 /* end confdefs.h. */
70374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70376 #define $ac_func innocuous_$ac_func
70378 /* System header to define __stub macros and hopefully few prototypes,
70379 which can conflict with char $ac_func (); below.
70380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70381 <limits.h> exists even on freestanding compilers. */
70383 #ifdef __STDC__
70384 # include <limits.h>
70385 #else
70386 # include <assert.h>
70387 #endif
70389 #undef $ac_func
70391 /* Override any gcc2 internal prototype to avoid an error. */
70392 #ifdef __cplusplus
70393 extern "C"
70395 #endif
70396 /* We use char because int might match the return type of a gcc2
70397 builtin and then its argument prototype would still apply. */
70398 char $ac_func ();
70399 /* The GNU C library defines this for functions which it implements
70400 to always fail with ENOSYS. Some functions are actually named
70401 something starting with __ and the normal name is an alias. */
70402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70403 choke me
70404 #else
70405 char (*f) () = $ac_func;
70406 #endif
70407 #ifdef __cplusplus
70409 #endif
70412 main ()
70414 return f != $ac_func;
70416 return 0;
70418 _ACEOF
70419 rm -f conftest.$ac_objext conftest$ac_exeext
70420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70421 (eval $ac_link) 2>conftest.er1
70422 ac_status=$?
70423 grep -v '^ *+' conftest.er1 >conftest.err
70424 rm -f conftest.er1
70425 cat conftest.err >&5
70426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70427 (exit $ac_status); } &&
70428 { ac_try='test -z "$ac_c_werror_flag"
70429 || test ! -s conftest.err'
70430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70431 (eval $ac_try) 2>&5
70432 ac_status=$?
70433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70434 (exit $ac_status); }; } &&
70435 { ac_try='test -s conftest$ac_exeext'
70436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70437 (eval $ac_try) 2>&5
70438 ac_status=$?
70439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70440 (exit $ac_status); }; }; then
70441 eval "$as_ac_var=yes"
70442 else
70443 echo "$as_me: failed program was:" >&5
70444 sed 's/^/| /' conftest.$ac_ext >&5
70446 eval "$as_ac_var=no"
70448 rm -f conftest.err conftest.$ac_objext \
70449 conftest$ac_exeext conftest.$ac_ext
70451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70453 if test `eval echo '${'$as_ac_var'}'` = yes; then
70454 cat >>confdefs.h <<_ACEOF
70455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70456 _ACEOF
70459 done
70461 else
70463 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
70464 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
70465 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
70466 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
70467 echo $ECHO_N "(cached) $ECHO_C" >&6
70468 else
70472 ac_ext=cc
70473 ac_cpp='$CXXCPP $CPPFLAGS'
70474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70478 cat >conftest.$ac_ext <<_ACEOF
70479 /* confdefs.h. */
70480 _ACEOF
70481 cat confdefs.h >>conftest.$ac_ext
70482 cat >>conftest.$ac_ext <<_ACEOF
70483 /* end confdefs.h. */
70484 #include <math.h>
70486 main ()
70488 _atan2f(0, 0);
70490 return 0;
70492 _ACEOF
70493 rm -f conftest.$ac_objext
70494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70495 (eval $ac_compile) 2>conftest.er1
70496 ac_status=$?
70497 grep -v '^ *+' conftest.er1 >conftest.err
70498 rm -f conftest.er1
70499 cat conftest.err >&5
70500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70501 (exit $ac_status); } &&
70502 { ac_try='test -z "$ac_cxx_werror_flag"
70503 || test ! -s conftest.err'
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); }; } &&
70509 { ac_try='test -s conftest.$ac_objext'
70510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70511 (eval $ac_try) 2>&5
70512 ac_status=$?
70513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70514 (exit $ac_status); }; }; then
70515 glibcxx_cv_func__atan2f_use=yes
70516 else
70517 echo "$as_me: failed program was:" >&5
70518 sed 's/^/| /' conftest.$ac_ext >&5
70520 glibcxx_cv_func__atan2f_use=no
70522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70523 ac_ext=c
70524 ac_cpp='$CPP $CPPFLAGS'
70525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70533 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
70534 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
70536 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
70538 for ac_func in _atan2f
70540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70541 echo "$as_me:$LINENO: checking for $ac_func" >&5
70542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70543 if eval "test \"\${$as_ac_var+set}\" = set"; then
70544 echo $ECHO_N "(cached) $ECHO_C" >&6
70545 else
70546 if test x$gcc_no_link = xyes; then
70547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70549 { (exit 1); exit 1; }; }
70551 cat >conftest.$ac_ext <<_ACEOF
70552 /* confdefs.h. */
70553 _ACEOF
70554 cat confdefs.h >>conftest.$ac_ext
70555 cat >>conftest.$ac_ext <<_ACEOF
70556 /* end confdefs.h. */
70557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70559 #define $ac_func innocuous_$ac_func
70561 /* System header to define __stub macros and hopefully few prototypes,
70562 which can conflict with char $ac_func (); below.
70563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70564 <limits.h> exists even on freestanding compilers. */
70566 #ifdef __STDC__
70567 # include <limits.h>
70568 #else
70569 # include <assert.h>
70570 #endif
70572 #undef $ac_func
70574 /* Override any gcc2 internal prototype to avoid an error. */
70575 #ifdef __cplusplus
70576 extern "C"
70578 #endif
70579 /* We use char because int might match the return type of a gcc2
70580 builtin and then its argument prototype would still apply. */
70581 char $ac_func ();
70582 /* The GNU C library defines this for functions which it implements
70583 to always fail with ENOSYS. Some functions are actually named
70584 something starting with __ and the normal name is an alias. */
70585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70586 choke me
70587 #else
70588 char (*f) () = $ac_func;
70589 #endif
70590 #ifdef __cplusplus
70592 #endif
70595 main ()
70597 return f != $ac_func;
70599 return 0;
70601 _ACEOF
70602 rm -f conftest.$ac_objext conftest$ac_exeext
70603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70604 (eval $ac_link) 2>conftest.er1
70605 ac_status=$?
70606 grep -v '^ *+' conftest.er1 >conftest.err
70607 rm -f conftest.er1
70608 cat conftest.err >&5
70609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70610 (exit $ac_status); } &&
70611 { ac_try='test -z "$ac_c_werror_flag"
70612 || test ! -s conftest.err'
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); }; } &&
70618 { ac_try='test -s conftest$ac_exeext'
70619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70620 (eval $ac_try) 2>&5
70621 ac_status=$?
70622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70623 (exit $ac_status); }; }; then
70624 eval "$as_ac_var=yes"
70625 else
70626 echo "$as_me: failed program was:" >&5
70627 sed 's/^/| /' conftest.$ac_ext >&5
70629 eval "$as_ac_var=no"
70631 rm -f conftest.err conftest.$ac_objext \
70632 conftest$ac_exeext conftest.$ac_ext
70634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70636 if test `eval echo '${'$as_ac_var'}'` = yes; then
70637 cat >>confdefs.h <<_ACEOF
70638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70639 _ACEOF
70642 done
70652 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
70653 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
70654 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
70655 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
70656 echo $ECHO_N "(cached) $ECHO_C" >&6
70657 else
70661 ac_ext=cc
70662 ac_cpp='$CXXCPP $CPPFLAGS'
70663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70667 cat >conftest.$ac_ext <<_ACEOF
70668 /* confdefs.h. */
70669 _ACEOF
70670 cat confdefs.h >>conftest.$ac_ext
70671 cat >>conftest.$ac_ext <<_ACEOF
70672 /* end confdefs.h. */
70673 #include <math.h>
70674 #ifdef HAVE_IEEEFP_H
70675 #include <ieeefp.h>
70676 #endif
70679 main ()
70681 fabsf(0);
70683 return 0;
70685 _ACEOF
70686 rm -f conftest.$ac_objext
70687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70688 (eval $ac_compile) 2>conftest.er1
70689 ac_status=$?
70690 grep -v '^ *+' conftest.er1 >conftest.err
70691 rm -f conftest.er1
70692 cat conftest.err >&5
70693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70694 (exit $ac_status); } &&
70695 { ac_try='test -z "$ac_cxx_werror_flag"
70696 || test ! -s conftest.err'
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); }; } &&
70702 { ac_try='test -s conftest.$ac_objext'
70703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70704 (eval $ac_try) 2>&5
70705 ac_status=$?
70706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70707 (exit $ac_status); }; }; then
70708 glibcxx_cv_func_fabsf_use=yes
70709 else
70710 echo "$as_me: failed program was:" >&5
70711 sed 's/^/| /' conftest.$ac_ext >&5
70713 glibcxx_cv_func_fabsf_use=no
70715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70716 ac_ext=c
70717 ac_cpp='$CPP $CPPFLAGS'
70718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70726 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
70727 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
70729 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
70731 for ac_func in fabsf
70733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70734 echo "$as_me:$LINENO: checking for $ac_func" >&5
70735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70736 if eval "test \"\${$as_ac_var+set}\" = set"; then
70737 echo $ECHO_N "(cached) $ECHO_C" >&6
70738 else
70739 if test x$gcc_no_link = xyes; then
70740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70742 { (exit 1); exit 1; }; }
70744 cat >conftest.$ac_ext <<_ACEOF
70745 /* confdefs.h. */
70746 _ACEOF
70747 cat confdefs.h >>conftest.$ac_ext
70748 cat >>conftest.$ac_ext <<_ACEOF
70749 /* end confdefs.h. */
70750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70752 #define $ac_func innocuous_$ac_func
70754 /* System header to define __stub macros and hopefully few prototypes,
70755 which can conflict with char $ac_func (); below.
70756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70757 <limits.h> exists even on freestanding compilers. */
70759 #ifdef __STDC__
70760 # include <limits.h>
70761 #else
70762 # include <assert.h>
70763 #endif
70765 #undef $ac_func
70767 /* Override any gcc2 internal prototype to avoid an error. */
70768 #ifdef __cplusplus
70769 extern "C"
70771 #endif
70772 /* We use char because int might match the return type of a gcc2
70773 builtin and then its argument prototype would still apply. */
70774 char $ac_func ();
70775 /* The GNU C library defines this for functions which it implements
70776 to always fail with ENOSYS. Some functions are actually named
70777 something starting with __ and the normal name is an alias. */
70778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70779 choke me
70780 #else
70781 char (*f) () = $ac_func;
70782 #endif
70783 #ifdef __cplusplus
70785 #endif
70788 main ()
70790 return f != $ac_func;
70792 return 0;
70794 _ACEOF
70795 rm -f conftest.$ac_objext conftest$ac_exeext
70796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70797 (eval $ac_link) 2>conftest.er1
70798 ac_status=$?
70799 grep -v '^ *+' conftest.er1 >conftest.err
70800 rm -f conftest.er1
70801 cat conftest.err >&5
70802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70803 (exit $ac_status); } &&
70804 { ac_try='test -z "$ac_c_werror_flag"
70805 || test ! -s conftest.err'
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); }; } &&
70811 { ac_try='test -s conftest$ac_exeext'
70812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70813 (eval $ac_try) 2>&5
70814 ac_status=$?
70815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70816 (exit $ac_status); }; }; then
70817 eval "$as_ac_var=yes"
70818 else
70819 echo "$as_me: failed program was:" >&5
70820 sed 's/^/| /' conftest.$ac_ext >&5
70822 eval "$as_ac_var=no"
70824 rm -f conftest.err conftest.$ac_objext \
70825 conftest$ac_exeext conftest.$ac_ext
70827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70829 if test `eval echo '${'$as_ac_var'}'` = yes; then
70830 cat >>confdefs.h <<_ACEOF
70831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70832 _ACEOF
70835 done
70837 else
70839 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
70840 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
70841 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
70842 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
70843 echo $ECHO_N "(cached) $ECHO_C" >&6
70844 else
70848 ac_ext=cc
70849 ac_cpp='$CXXCPP $CPPFLAGS'
70850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70854 cat >conftest.$ac_ext <<_ACEOF
70855 /* confdefs.h. */
70856 _ACEOF
70857 cat confdefs.h >>conftest.$ac_ext
70858 cat >>conftest.$ac_ext <<_ACEOF
70859 /* end confdefs.h. */
70860 #include <math.h>
70861 #ifdef HAVE_IEEEFP_H
70862 #include <ieeefp.h>
70863 #endif
70866 main ()
70868 _fabsf(0);
70870 return 0;
70872 _ACEOF
70873 rm -f conftest.$ac_objext
70874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70875 (eval $ac_compile) 2>conftest.er1
70876 ac_status=$?
70877 grep -v '^ *+' conftest.er1 >conftest.err
70878 rm -f conftest.er1
70879 cat conftest.err >&5
70880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70881 (exit $ac_status); } &&
70882 { ac_try='test -z "$ac_cxx_werror_flag"
70883 || test ! -s conftest.err'
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); }; } &&
70889 { ac_try='test -s conftest.$ac_objext'
70890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70891 (eval $ac_try) 2>&5
70892 ac_status=$?
70893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70894 (exit $ac_status); }; }; then
70895 glibcxx_cv_func__fabsf_use=yes
70896 else
70897 echo "$as_me: failed program was:" >&5
70898 sed 's/^/| /' conftest.$ac_ext >&5
70900 glibcxx_cv_func__fabsf_use=no
70902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70903 ac_ext=c
70904 ac_cpp='$CPP $CPPFLAGS'
70905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70913 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
70914 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
70916 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
70918 for ac_func in _fabsf
70920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70921 echo "$as_me:$LINENO: checking for $ac_func" >&5
70922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70923 if eval "test \"\${$as_ac_var+set}\" = set"; then
70924 echo $ECHO_N "(cached) $ECHO_C" >&6
70925 else
70926 if test x$gcc_no_link = xyes; then
70927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70929 { (exit 1); exit 1; }; }
70931 cat >conftest.$ac_ext <<_ACEOF
70932 /* confdefs.h. */
70933 _ACEOF
70934 cat confdefs.h >>conftest.$ac_ext
70935 cat >>conftest.$ac_ext <<_ACEOF
70936 /* end confdefs.h. */
70937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70939 #define $ac_func innocuous_$ac_func
70941 /* System header to define __stub macros and hopefully few prototypes,
70942 which can conflict with char $ac_func (); below.
70943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70944 <limits.h> exists even on freestanding compilers. */
70946 #ifdef __STDC__
70947 # include <limits.h>
70948 #else
70949 # include <assert.h>
70950 #endif
70952 #undef $ac_func
70954 /* Override any gcc2 internal prototype to avoid an error. */
70955 #ifdef __cplusplus
70956 extern "C"
70958 #endif
70959 /* We use char because int might match the return type of a gcc2
70960 builtin and then its argument prototype would still apply. */
70961 char $ac_func ();
70962 /* The GNU C library defines this for functions which it implements
70963 to always fail with ENOSYS. Some functions are actually named
70964 something starting with __ and the normal name is an alias. */
70965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70966 choke me
70967 #else
70968 char (*f) () = $ac_func;
70969 #endif
70970 #ifdef __cplusplus
70972 #endif
70975 main ()
70977 return f != $ac_func;
70979 return 0;
70981 _ACEOF
70982 rm -f conftest.$ac_objext conftest$ac_exeext
70983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70984 (eval $ac_link) 2>conftest.er1
70985 ac_status=$?
70986 grep -v '^ *+' conftest.er1 >conftest.err
70987 rm -f conftest.er1
70988 cat conftest.err >&5
70989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70990 (exit $ac_status); } &&
70991 { ac_try='test -z "$ac_c_werror_flag"
70992 || test ! -s conftest.err'
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); }; } &&
70998 { ac_try='test -s conftest$ac_exeext'
70999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71000 (eval $ac_try) 2>&5
71001 ac_status=$?
71002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71003 (exit $ac_status); }; }; then
71004 eval "$as_ac_var=yes"
71005 else
71006 echo "$as_me: failed program was:" >&5
71007 sed 's/^/| /' conftest.$ac_ext >&5
71009 eval "$as_ac_var=no"
71011 rm -f conftest.err conftest.$ac_objext \
71012 conftest$ac_exeext conftest.$ac_ext
71014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71016 if test `eval echo '${'$as_ac_var'}'` = yes; then
71017 cat >>confdefs.h <<_ACEOF
71018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71019 _ACEOF
71022 done
71032 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
71033 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
71034 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
71035 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
71036 echo $ECHO_N "(cached) $ECHO_C" >&6
71037 else
71041 ac_ext=cc
71042 ac_cpp='$CXXCPP $CPPFLAGS'
71043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71047 cat >conftest.$ac_ext <<_ACEOF
71048 /* confdefs.h. */
71049 _ACEOF
71050 cat confdefs.h >>conftest.$ac_ext
71051 cat >>conftest.$ac_ext <<_ACEOF
71052 /* end confdefs.h. */
71053 #include <math.h>
71055 main ()
71057 fmodf(0, 0);
71059 return 0;
71061 _ACEOF
71062 rm -f conftest.$ac_objext
71063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71064 (eval $ac_compile) 2>conftest.er1
71065 ac_status=$?
71066 grep -v '^ *+' conftest.er1 >conftest.err
71067 rm -f conftest.er1
71068 cat conftest.err >&5
71069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71070 (exit $ac_status); } &&
71071 { ac_try='test -z "$ac_cxx_werror_flag"
71072 || test ! -s conftest.err'
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); }; } &&
71078 { ac_try='test -s conftest.$ac_objext'
71079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71080 (eval $ac_try) 2>&5
71081 ac_status=$?
71082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71083 (exit $ac_status); }; }; then
71084 glibcxx_cv_func_fmodf_use=yes
71085 else
71086 echo "$as_me: failed program was:" >&5
71087 sed 's/^/| /' conftest.$ac_ext >&5
71089 glibcxx_cv_func_fmodf_use=no
71091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71092 ac_ext=c
71093 ac_cpp='$CPP $CPPFLAGS'
71094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71102 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
71103 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
71105 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
71107 for ac_func in fmodf
71109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71110 echo "$as_me:$LINENO: checking for $ac_func" >&5
71111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71112 if eval "test \"\${$as_ac_var+set}\" = set"; then
71113 echo $ECHO_N "(cached) $ECHO_C" >&6
71114 else
71115 if test x$gcc_no_link = xyes; then
71116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71118 { (exit 1); exit 1; }; }
71120 cat >conftest.$ac_ext <<_ACEOF
71121 /* confdefs.h. */
71122 _ACEOF
71123 cat confdefs.h >>conftest.$ac_ext
71124 cat >>conftest.$ac_ext <<_ACEOF
71125 /* end confdefs.h. */
71126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71128 #define $ac_func innocuous_$ac_func
71130 /* System header to define __stub macros and hopefully few prototypes,
71131 which can conflict with char $ac_func (); below.
71132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71133 <limits.h> exists even on freestanding compilers. */
71135 #ifdef __STDC__
71136 # include <limits.h>
71137 #else
71138 # include <assert.h>
71139 #endif
71141 #undef $ac_func
71143 /* Override any gcc2 internal prototype to avoid an error. */
71144 #ifdef __cplusplus
71145 extern "C"
71147 #endif
71148 /* We use char because int might match the return type of a gcc2
71149 builtin and then its argument prototype would still apply. */
71150 char $ac_func ();
71151 /* The GNU C library defines this for functions which it implements
71152 to always fail with ENOSYS. Some functions are actually named
71153 something starting with __ and the normal name is an alias. */
71154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71155 choke me
71156 #else
71157 char (*f) () = $ac_func;
71158 #endif
71159 #ifdef __cplusplus
71161 #endif
71164 main ()
71166 return f != $ac_func;
71168 return 0;
71170 _ACEOF
71171 rm -f conftest.$ac_objext conftest$ac_exeext
71172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71173 (eval $ac_link) 2>conftest.er1
71174 ac_status=$?
71175 grep -v '^ *+' conftest.er1 >conftest.err
71176 rm -f conftest.er1
71177 cat conftest.err >&5
71178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71179 (exit $ac_status); } &&
71180 { ac_try='test -z "$ac_c_werror_flag"
71181 || test ! -s conftest.err'
71182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71183 (eval $ac_try) 2>&5
71184 ac_status=$?
71185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71186 (exit $ac_status); }; } &&
71187 { ac_try='test -s conftest$ac_exeext'
71188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71189 (eval $ac_try) 2>&5
71190 ac_status=$?
71191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71192 (exit $ac_status); }; }; then
71193 eval "$as_ac_var=yes"
71194 else
71195 echo "$as_me: failed program was:" >&5
71196 sed 's/^/| /' conftest.$ac_ext >&5
71198 eval "$as_ac_var=no"
71200 rm -f conftest.err conftest.$ac_objext \
71201 conftest$ac_exeext conftest.$ac_ext
71203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71205 if test `eval echo '${'$as_ac_var'}'` = yes; then
71206 cat >>confdefs.h <<_ACEOF
71207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71208 _ACEOF
71211 done
71213 else
71215 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
71216 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
71217 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
71218 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
71219 echo $ECHO_N "(cached) $ECHO_C" >&6
71220 else
71224 ac_ext=cc
71225 ac_cpp='$CXXCPP $CPPFLAGS'
71226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71230 cat >conftest.$ac_ext <<_ACEOF
71231 /* confdefs.h. */
71232 _ACEOF
71233 cat confdefs.h >>conftest.$ac_ext
71234 cat >>conftest.$ac_ext <<_ACEOF
71235 /* end confdefs.h. */
71236 #include <math.h>
71238 main ()
71240 _fmodf(0, 0);
71242 return 0;
71244 _ACEOF
71245 rm -f conftest.$ac_objext
71246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71247 (eval $ac_compile) 2>conftest.er1
71248 ac_status=$?
71249 grep -v '^ *+' conftest.er1 >conftest.err
71250 rm -f conftest.er1
71251 cat conftest.err >&5
71252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71253 (exit $ac_status); } &&
71254 { ac_try='test -z "$ac_cxx_werror_flag"
71255 || test ! -s conftest.err'
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); }; } &&
71261 { ac_try='test -s conftest.$ac_objext'
71262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71263 (eval $ac_try) 2>&5
71264 ac_status=$?
71265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71266 (exit $ac_status); }; }; then
71267 glibcxx_cv_func__fmodf_use=yes
71268 else
71269 echo "$as_me: failed program was:" >&5
71270 sed 's/^/| /' conftest.$ac_ext >&5
71272 glibcxx_cv_func__fmodf_use=no
71274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71275 ac_ext=c
71276 ac_cpp='$CPP $CPPFLAGS'
71277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71285 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
71286 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
71288 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
71290 for ac_func in _fmodf
71292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71293 echo "$as_me:$LINENO: checking for $ac_func" >&5
71294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71295 if eval "test \"\${$as_ac_var+set}\" = set"; then
71296 echo $ECHO_N "(cached) $ECHO_C" >&6
71297 else
71298 if test x$gcc_no_link = xyes; then
71299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71301 { (exit 1); exit 1; }; }
71303 cat >conftest.$ac_ext <<_ACEOF
71304 /* confdefs.h. */
71305 _ACEOF
71306 cat confdefs.h >>conftest.$ac_ext
71307 cat >>conftest.$ac_ext <<_ACEOF
71308 /* end confdefs.h. */
71309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71311 #define $ac_func innocuous_$ac_func
71313 /* System header to define __stub macros and hopefully few prototypes,
71314 which can conflict with char $ac_func (); below.
71315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71316 <limits.h> exists even on freestanding compilers. */
71318 #ifdef __STDC__
71319 # include <limits.h>
71320 #else
71321 # include <assert.h>
71322 #endif
71324 #undef $ac_func
71326 /* Override any gcc2 internal prototype to avoid an error. */
71327 #ifdef __cplusplus
71328 extern "C"
71330 #endif
71331 /* We use char because int might match the return type of a gcc2
71332 builtin and then its argument prototype would still apply. */
71333 char $ac_func ();
71334 /* The GNU C library defines this for functions which it implements
71335 to always fail with ENOSYS. Some functions are actually named
71336 something starting with __ and the normal name is an alias. */
71337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71338 choke me
71339 #else
71340 char (*f) () = $ac_func;
71341 #endif
71342 #ifdef __cplusplus
71344 #endif
71347 main ()
71349 return f != $ac_func;
71351 return 0;
71353 _ACEOF
71354 rm -f conftest.$ac_objext conftest$ac_exeext
71355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71356 (eval $ac_link) 2>conftest.er1
71357 ac_status=$?
71358 grep -v '^ *+' conftest.er1 >conftest.err
71359 rm -f conftest.er1
71360 cat conftest.err >&5
71361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71362 (exit $ac_status); } &&
71363 { ac_try='test -z "$ac_c_werror_flag"
71364 || test ! -s conftest.err'
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); }; } &&
71370 { ac_try='test -s conftest$ac_exeext'
71371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71372 (eval $ac_try) 2>&5
71373 ac_status=$?
71374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71375 (exit $ac_status); }; }; then
71376 eval "$as_ac_var=yes"
71377 else
71378 echo "$as_me: failed program was:" >&5
71379 sed 's/^/| /' conftest.$ac_ext >&5
71381 eval "$as_ac_var=no"
71383 rm -f conftest.err conftest.$ac_objext \
71384 conftest$ac_exeext conftest.$ac_ext
71386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71388 if test `eval echo '${'$as_ac_var'}'` = yes; then
71389 cat >>confdefs.h <<_ACEOF
71390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71391 _ACEOF
71394 done
71404 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
71405 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
71406 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
71407 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
71408 echo $ECHO_N "(cached) $ECHO_C" >&6
71409 else
71413 ac_ext=cc
71414 ac_cpp='$CXXCPP $CPPFLAGS'
71415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71419 cat >conftest.$ac_ext <<_ACEOF
71420 /* confdefs.h. */
71421 _ACEOF
71422 cat confdefs.h >>conftest.$ac_ext
71423 cat >>conftest.$ac_ext <<_ACEOF
71424 /* end confdefs.h. */
71425 #include <math.h>
71427 main ()
71429 frexpf(0, 0);
71431 return 0;
71433 _ACEOF
71434 rm -f conftest.$ac_objext
71435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71436 (eval $ac_compile) 2>conftest.er1
71437 ac_status=$?
71438 grep -v '^ *+' conftest.er1 >conftest.err
71439 rm -f conftest.er1
71440 cat conftest.err >&5
71441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71442 (exit $ac_status); } &&
71443 { ac_try='test -z "$ac_cxx_werror_flag"
71444 || test ! -s conftest.err'
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); }; } &&
71450 { ac_try='test -s conftest.$ac_objext'
71451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71452 (eval $ac_try) 2>&5
71453 ac_status=$?
71454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71455 (exit $ac_status); }; }; then
71456 glibcxx_cv_func_frexpf_use=yes
71457 else
71458 echo "$as_me: failed program was:" >&5
71459 sed 's/^/| /' conftest.$ac_ext >&5
71461 glibcxx_cv_func_frexpf_use=no
71463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71464 ac_ext=c
71465 ac_cpp='$CPP $CPPFLAGS'
71466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71474 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
71475 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
71477 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
71479 for ac_func in frexpf
71481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71482 echo "$as_me:$LINENO: checking for $ac_func" >&5
71483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71484 if eval "test \"\${$as_ac_var+set}\" = set"; then
71485 echo $ECHO_N "(cached) $ECHO_C" >&6
71486 else
71487 if test x$gcc_no_link = xyes; then
71488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71490 { (exit 1); exit 1; }; }
71492 cat >conftest.$ac_ext <<_ACEOF
71493 /* confdefs.h. */
71494 _ACEOF
71495 cat confdefs.h >>conftest.$ac_ext
71496 cat >>conftest.$ac_ext <<_ACEOF
71497 /* end confdefs.h. */
71498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71500 #define $ac_func innocuous_$ac_func
71502 /* System header to define __stub macros and hopefully few prototypes,
71503 which can conflict with char $ac_func (); below.
71504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71505 <limits.h> exists even on freestanding compilers. */
71507 #ifdef __STDC__
71508 # include <limits.h>
71509 #else
71510 # include <assert.h>
71511 #endif
71513 #undef $ac_func
71515 /* Override any gcc2 internal prototype to avoid an error. */
71516 #ifdef __cplusplus
71517 extern "C"
71519 #endif
71520 /* We use char because int might match the return type of a gcc2
71521 builtin and then its argument prototype would still apply. */
71522 char $ac_func ();
71523 /* The GNU C library defines this for functions which it implements
71524 to always fail with ENOSYS. Some functions are actually named
71525 something starting with __ and the normal name is an alias. */
71526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71527 choke me
71528 #else
71529 char (*f) () = $ac_func;
71530 #endif
71531 #ifdef __cplusplus
71533 #endif
71536 main ()
71538 return f != $ac_func;
71540 return 0;
71542 _ACEOF
71543 rm -f conftest.$ac_objext conftest$ac_exeext
71544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71545 (eval $ac_link) 2>conftest.er1
71546 ac_status=$?
71547 grep -v '^ *+' conftest.er1 >conftest.err
71548 rm -f conftest.er1
71549 cat conftest.err >&5
71550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71551 (exit $ac_status); } &&
71552 { ac_try='test -z "$ac_c_werror_flag"
71553 || test ! -s conftest.err'
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); }; } &&
71559 { ac_try='test -s conftest$ac_exeext'
71560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71561 (eval $ac_try) 2>&5
71562 ac_status=$?
71563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71564 (exit $ac_status); }; }; then
71565 eval "$as_ac_var=yes"
71566 else
71567 echo "$as_me: failed program was:" >&5
71568 sed 's/^/| /' conftest.$ac_ext >&5
71570 eval "$as_ac_var=no"
71572 rm -f conftest.err conftest.$ac_objext \
71573 conftest$ac_exeext conftest.$ac_ext
71575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71577 if test `eval echo '${'$as_ac_var'}'` = yes; then
71578 cat >>confdefs.h <<_ACEOF
71579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71580 _ACEOF
71583 done
71585 else
71587 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
71588 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
71589 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
71590 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
71591 echo $ECHO_N "(cached) $ECHO_C" >&6
71592 else
71596 ac_ext=cc
71597 ac_cpp='$CXXCPP $CPPFLAGS'
71598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71602 cat >conftest.$ac_ext <<_ACEOF
71603 /* confdefs.h. */
71604 _ACEOF
71605 cat confdefs.h >>conftest.$ac_ext
71606 cat >>conftest.$ac_ext <<_ACEOF
71607 /* end confdefs.h. */
71608 #include <math.h>
71610 main ()
71612 _frexpf(0, 0);
71614 return 0;
71616 _ACEOF
71617 rm -f conftest.$ac_objext
71618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71619 (eval $ac_compile) 2>conftest.er1
71620 ac_status=$?
71621 grep -v '^ *+' conftest.er1 >conftest.err
71622 rm -f conftest.er1
71623 cat conftest.err >&5
71624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71625 (exit $ac_status); } &&
71626 { ac_try='test -z "$ac_cxx_werror_flag"
71627 || test ! -s conftest.err'
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); }; } &&
71633 { ac_try='test -s conftest.$ac_objext'
71634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71635 (eval $ac_try) 2>&5
71636 ac_status=$?
71637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71638 (exit $ac_status); }; }; then
71639 glibcxx_cv_func__frexpf_use=yes
71640 else
71641 echo "$as_me: failed program was:" >&5
71642 sed 's/^/| /' conftest.$ac_ext >&5
71644 glibcxx_cv_func__frexpf_use=no
71646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71647 ac_ext=c
71648 ac_cpp='$CPP $CPPFLAGS'
71649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71657 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
71658 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
71660 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
71662 for ac_func in _frexpf
71664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71665 echo "$as_me:$LINENO: checking for $ac_func" >&5
71666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71667 if eval "test \"\${$as_ac_var+set}\" = set"; then
71668 echo $ECHO_N "(cached) $ECHO_C" >&6
71669 else
71670 if test x$gcc_no_link = xyes; then
71671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71673 { (exit 1); exit 1; }; }
71675 cat >conftest.$ac_ext <<_ACEOF
71676 /* confdefs.h. */
71677 _ACEOF
71678 cat confdefs.h >>conftest.$ac_ext
71679 cat >>conftest.$ac_ext <<_ACEOF
71680 /* end confdefs.h. */
71681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71683 #define $ac_func innocuous_$ac_func
71685 /* System header to define __stub macros and hopefully few prototypes,
71686 which can conflict with char $ac_func (); below.
71687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71688 <limits.h> exists even on freestanding compilers. */
71690 #ifdef __STDC__
71691 # include <limits.h>
71692 #else
71693 # include <assert.h>
71694 #endif
71696 #undef $ac_func
71698 /* Override any gcc2 internal prototype to avoid an error. */
71699 #ifdef __cplusplus
71700 extern "C"
71702 #endif
71703 /* We use char because int might match the return type of a gcc2
71704 builtin and then its argument prototype would still apply. */
71705 char $ac_func ();
71706 /* The GNU C library defines this for functions which it implements
71707 to always fail with ENOSYS. Some functions are actually named
71708 something starting with __ and the normal name is an alias. */
71709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71710 choke me
71711 #else
71712 char (*f) () = $ac_func;
71713 #endif
71714 #ifdef __cplusplus
71716 #endif
71719 main ()
71721 return f != $ac_func;
71723 return 0;
71725 _ACEOF
71726 rm -f conftest.$ac_objext conftest$ac_exeext
71727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71728 (eval $ac_link) 2>conftest.er1
71729 ac_status=$?
71730 grep -v '^ *+' conftest.er1 >conftest.err
71731 rm -f conftest.er1
71732 cat conftest.err >&5
71733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71734 (exit $ac_status); } &&
71735 { ac_try='test -z "$ac_c_werror_flag"
71736 || test ! -s conftest.err'
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); }; } &&
71742 { ac_try='test -s conftest$ac_exeext'
71743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71744 (eval $ac_try) 2>&5
71745 ac_status=$?
71746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71747 (exit $ac_status); }; }; then
71748 eval "$as_ac_var=yes"
71749 else
71750 echo "$as_me: failed program was:" >&5
71751 sed 's/^/| /' conftest.$ac_ext >&5
71753 eval "$as_ac_var=no"
71755 rm -f conftest.err conftest.$ac_objext \
71756 conftest$ac_exeext conftest.$ac_ext
71758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71760 if test `eval echo '${'$as_ac_var'}'` = yes; then
71761 cat >>confdefs.h <<_ACEOF
71762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71763 _ACEOF
71766 done
71776 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
71777 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
71778 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
71779 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
71780 echo $ECHO_N "(cached) $ECHO_C" >&6
71781 else
71785 ac_ext=cc
71786 ac_cpp='$CXXCPP $CPPFLAGS'
71787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71791 cat >conftest.$ac_ext <<_ACEOF
71792 /* confdefs.h. */
71793 _ACEOF
71794 cat confdefs.h >>conftest.$ac_ext
71795 cat >>conftest.$ac_ext <<_ACEOF
71796 /* end confdefs.h. */
71797 #include <math.h>
71799 main ()
71801 hypotf(0, 0);
71803 return 0;
71805 _ACEOF
71806 rm -f conftest.$ac_objext
71807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71808 (eval $ac_compile) 2>conftest.er1
71809 ac_status=$?
71810 grep -v '^ *+' conftest.er1 >conftest.err
71811 rm -f conftest.er1
71812 cat conftest.err >&5
71813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71814 (exit $ac_status); } &&
71815 { ac_try='test -z "$ac_cxx_werror_flag"
71816 || test ! -s conftest.err'
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); }; } &&
71822 { ac_try='test -s conftest.$ac_objext'
71823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71824 (eval $ac_try) 2>&5
71825 ac_status=$?
71826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71827 (exit $ac_status); }; }; then
71828 glibcxx_cv_func_hypotf_use=yes
71829 else
71830 echo "$as_me: failed program was:" >&5
71831 sed 's/^/| /' conftest.$ac_ext >&5
71833 glibcxx_cv_func_hypotf_use=no
71835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71836 ac_ext=c
71837 ac_cpp='$CPP $CPPFLAGS'
71838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71846 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
71847 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
71849 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
71851 for ac_func in hypotf
71853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71854 echo "$as_me:$LINENO: checking for $ac_func" >&5
71855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71856 if eval "test \"\${$as_ac_var+set}\" = set"; then
71857 echo $ECHO_N "(cached) $ECHO_C" >&6
71858 else
71859 if test x$gcc_no_link = xyes; then
71860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71862 { (exit 1); exit 1; }; }
71864 cat >conftest.$ac_ext <<_ACEOF
71865 /* confdefs.h. */
71866 _ACEOF
71867 cat confdefs.h >>conftest.$ac_ext
71868 cat >>conftest.$ac_ext <<_ACEOF
71869 /* end confdefs.h. */
71870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71872 #define $ac_func innocuous_$ac_func
71874 /* System header to define __stub macros and hopefully few prototypes,
71875 which can conflict with char $ac_func (); below.
71876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71877 <limits.h> exists even on freestanding compilers. */
71879 #ifdef __STDC__
71880 # include <limits.h>
71881 #else
71882 # include <assert.h>
71883 #endif
71885 #undef $ac_func
71887 /* Override any gcc2 internal prototype to avoid an error. */
71888 #ifdef __cplusplus
71889 extern "C"
71891 #endif
71892 /* We use char because int might match the return type of a gcc2
71893 builtin and then its argument prototype would still apply. */
71894 char $ac_func ();
71895 /* The GNU C library defines this for functions which it implements
71896 to always fail with ENOSYS. Some functions are actually named
71897 something starting with __ and the normal name is an alias. */
71898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71899 choke me
71900 #else
71901 char (*f) () = $ac_func;
71902 #endif
71903 #ifdef __cplusplus
71905 #endif
71908 main ()
71910 return f != $ac_func;
71912 return 0;
71914 _ACEOF
71915 rm -f conftest.$ac_objext conftest$ac_exeext
71916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71917 (eval $ac_link) 2>conftest.er1
71918 ac_status=$?
71919 grep -v '^ *+' conftest.er1 >conftest.err
71920 rm -f conftest.er1
71921 cat conftest.err >&5
71922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71923 (exit $ac_status); } &&
71924 { ac_try='test -z "$ac_c_werror_flag"
71925 || test ! -s conftest.err'
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); }; } &&
71931 { ac_try='test -s conftest$ac_exeext'
71932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71933 (eval $ac_try) 2>&5
71934 ac_status=$?
71935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71936 (exit $ac_status); }; }; then
71937 eval "$as_ac_var=yes"
71938 else
71939 echo "$as_me: failed program was:" >&5
71940 sed 's/^/| /' conftest.$ac_ext >&5
71942 eval "$as_ac_var=no"
71944 rm -f conftest.err conftest.$ac_objext \
71945 conftest$ac_exeext conftest.$ac_ext
71947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71949 if test `eval echo '${'$as_ac_var'}'` = yes; then
71950 cat >>confdefs.h <<_ACEOF
71951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71952 _ACEOF
71955 done
71957 else
71959 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
71960 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
71961 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
71962 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
71963 echo $ECHO_N "(cached) $ECHO_C" >&6
71964 else
71968 ac_ext=cc
71969 ac_cpp='$CXXCPP $CPPFLAGS'
71970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71974 cat >conftest.$ac_ext <<_ACEOF
71975 /* confdefs.h. */
71976 _ACEOF
71977 cat confdefs.h >>conftest.$ac_ext
71978 cat >>conftest.$ac_ext <<_ACEOF
71979 /* end confdefs.h. */
71980 #include <math.h>
71982 main ()
71984 _hypotf(0, 0);
71986 return 0;
71988 _ACEOF
71989 rm -f conftest.$ac_objext
71990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71991 (eval $ac_compile) 2>conftest.er1
71992 ac_status=$?
71993 grep -v '^ *+' conftest.er1 >conftest.err
71994 rm -f conftest.er1
71995 cat conftest.err >&5
71996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71997 (exit $ac_status); } &&
71998 { ac_try='test -z "$ac_cxx_werror_flag"
71999 || test ! -s conftest.err'
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); }; } &&
72005 { ac_try='test -s conftest.$ac_objext'
72006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72007 (eval $ac_try) 2>&5
72008 ac_status=$?
72009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72010 (exit $ac_status); }; }; then
72011 glibcxx_cv_func__hypotf_use=yes
72012 else
72013 echo "$as_me: failed program was:" >&5
72014 sed 's/^/| /' conftest.$ac_ext >&5
72016 glibcxx_cv_func__hypotf_use=no
72018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72019 ac_ext=c
72020 ac_cpp='$CPP $CPPFLAGS'
72021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72029 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
72030 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
72032 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
72034 for ac_func in _hypotf
72036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72037 echo "$as_me:$LINENO: checking for $ac_func" >&5
72038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72039 if eval "test \"\${$as_ac_var+set}\" = set"; then
72040 echo $ECHO_N "(cached) $ECHO_C" >&6
72041 else
72042 if test x$gcc_no_link = xyes; then
72043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72045 { (exit 1); exit 1; }; }
72047 cat >conftest.$ac_ext <<_ACEOF
72048 /* confdefs.h. */
72049 _ACEOF
72050 cat confdefs.h >>conftest.$ac_ext
72051 cat >>conftest.$ac_ext <<_ACEOF
72052 /* end confdefs.h. */
72053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72055 #define $ac_func innocuous_$ac_func
72057 /* System header to define __stub macros and hopefully few prototypes,
72058 which can conflict with char $ac_func (); below.
72059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72060 <limits.h> exists even on freestanding compilers. */
72062 #ifdef __STDC__
72063 # include <limits.h>
72064 #else
72065 # include <assert.h>
72066 #endif
72068 #undef $ac_func
72070 /* Override any gcc2 internal prototype to avoid an error. */
72071 #ifdef __cplusplus
72072 extern "C"
72074 #endif
72075 /* We use char because int might match the return type of a gcc2
72076 builtin and then its argument prototype would still apply. */
72077 char $ac_func ();
72078 /* The GNU C library defines this for functions which it implements
72079 to always fail with ENOSYS. Some functions are actually named
72080 something starting with __ and the normal name is an alias. */
72081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72082 choke me
72083 #else
72084 char (*f) () = $ac_func;
72085 #endif
72086 #ifdef __cplusplus
72088 #endif
72091 main ()
72093 return f != $ac_func;
72095 return 0;
72097 _ACEOF
72098 rm -f conftest.$ac_objext conftest$ac_exeext
72099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72100 (eval $ac_link) 2>conftest.er1
72101 ac_status=$?
72102 grep -v '^ *+' conftest.er1 >conftest.err
72103 rm -f conftest.er1
72104 cat conftest.err >&5
72105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72106 (exit $ac_status); } &&
72107 { ac_try='test -z "$ac_c_werror_flag"
72108 || test ! -s conftest.err'
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); }; } &&
72114 { ac_try='test -s conftest$ac_exeext'
72115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72116 (eval $ac_try) 2>&5
72117 ac_status=$?
72118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72119 (exit $ac_status); }; }; then
72120 eval "$as_ac_var=yes"
72121 else
72122 echo "$as_me: failed program was:" >&5
72123 sed 's/^/| /' conftest.$ac_ext >&5
72125 eval "$as_ac_var=no"
72127 rm -f conftest.err conftest.$ac_objext \
72128 conftest$ac_exeext conftest.$ac_ext
72130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72132 if test `eval echo '${'$as_ac_var'}'` = yes; then
72133 cat >>confdefs.h <<_ACEOF
72134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72135 _ACEOF
72138 done
72148 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
72149 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
72150 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
72151 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
72152 echo $ECHO_N "(cached) $ECHO_C" >&6
72153 else
72157 ac_ext=cc
72158 ac_cpp='$CXXCPP $CPPFLAGS'
72159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72163 cat >conftest.$ac_ext <<_ACEOF
72164 /* confdefs.h. */
72165 _ACEOF
72166 cat confdefs.h >>conftest.$ac_ext
72167 cat >>conftest.$ac_ext <<_ACEOF
72168 /* end confdefs.h. */
72169 #include <math.h>
72171 main ()
72173 ldexpf(0, 0);
72175 return 0;
72177 _ACEOF
72178 rm -f conftest.$ac_objext
72179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72180 (eval $ac_compile) 2>conftest.er1
72181 ac_status=$?
72182 grep -v '^ *+' conftest.er1 >conftest.err
72183 rm -f conftest.er1
72184 cat conftest.err >&5
72185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72186 (exit $ac_status); } &&
72187 { ac_try='test -z "$ac_cxx_werror_flag"
72188 || test ! -s conftest.err'
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); }; } &&
72194 { ac_try='test -s conftest.$ac_objext'
72195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72196 (eval $ac_try) 2>&5
72197 ac_status=$?
72198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72199 (exit $ac_status); }; }; then
72200 glibcxx_cv_func_ldexpf_use=yes
72201 else
72202 echo "$as_me: failed program was:" >&5
72203 sed 's/^/| /' conftest.$ac_ext >&5
72205 glibcxx_cv_func_ldexpf_use=no
72207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72208 ac_ext=c
72209 ac_cpp='$CPP $CPPFLAGS'
72210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72218 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
72219 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
72221 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
72223 for ac_func in ldexpf
72225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72226 echo "$as_me:$LINENO: checking for $ac_func" >&5
72227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72228 if eval "test \"\${$as_ac_var+set}\" = set"; then
72229 echo $ECHO_N "(cached) $ECHO_C" >&6
72230 else
72231 if test x$gcc_no_link = xyes; then
72232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72234 { (exit 1); exit 1; }; }
72236 cat >conftest.$ac_ext <<_ACEOF
72237 /* confdefs.h. */
72238 _ACEOF
72239 cat confdefs.h >>conftest.$ac_ext
72240 cat >>conftest.$ac_ext <<_ACEOF
72241 /* end confdefs.h. */
72242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72244 #define $ac_func innocuous_$ac_func
72246 /* System header to define __stub macros and hopefully few prototypes,
72247 which can conflict with char $ac_func (); below.
72248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72249 <limits.h> exists even on freestanding compilers. */
72251 #ifdef __STDC__
72252 # include <limits.h>
72253 #else
72254 # include <assert.h>
72255 #endif
72257 #undef $ac_func
72259 /* Override any gcc2 internal prototype to avoid an error. */
72260 #ifdef __cplusplus
72261 extern "C"
72263 #endif
72264 /* We use char because int might match the return type of a gcc2
72265 builtin and then its argument prototype would still apply. */
72266 char $ac_func ();
72267 /* The GNU C library defines this for functions which it implements
72268 to always fail with ENOSYS. Some functions are actually named
72269 something starting with __ and the normal name is an alias. */
72270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72271 choke me
72272 #else
72273 char (*f) () = $ac_func;
72274 #endif
72275 #ifdef __cplusplus
72277 #endif
72280 main ()
72282 return f != $ac_func;
72284 return 0;
72286 _ACEOF
72287 rm -f conftest.$ac_objext conftest$ac_exeext
72288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72289 (eval $ac_link) 2>conftest.er1
72290 ac_status=$?
72291 grep -v '^ *+' conftest.er1 >conftest.err
72292 rm -f conftest.er1
72293 cat conftest.err >&5
72294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72295 (exit $ac_status); } &&
72296 { ac_try='test -z "$ac_c_werror_flag"
72297 || test ! -s conftest.err'
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); }; } &&
72303 { ac_try='test -s conftest$ac_exeext'
72304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72305 (eval $ac_try) 2>&5
72306 ac_status=$?
72307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72308 (exit $ac_status); }; }; then
72309 eval "$as_ac_var=yes"
72310 else
72311 echo "$as_me: failed program was:" >&5
72312 sed 's/^/| /' conftest.$ac_ext >&5
72314 eval "$as_ac_var=no"
72316 rm -f conftest.err conftest.$ac_objext \
72317 conftest$ac_exeext conftest.$ac_ext
72319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72321 if test `eval echo '${'$as_ac_var'}'` = yes; then
72322 cat >>confdefs.h <<_ACEOF
72323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72324 _ACEOF
72327 done
72329 else
72331 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
72332 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
72333 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
72334 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
72335 echo $ECHO_N "(cached) $ECHO_C" >&6
72336 else
72340 ac_ext=cc
72341 ac_cpp='$CXXCPP $CPPFLAGS'
72342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72346 cat >conftest.$ac_ext <<_ACEOF
72347 /* confdefs.h. */
72348 _ACEOF
72349 cat confdefs.h >>conftest.$ac_ext
72350 cat >>conftest.$ac_ext <<_ACEOF
72351 /* end confdefs.h. */
72352 #include <math.h>
72354 main ()
72356 _ldexpf(0, 0);
72358 return 0;
72360 _ACEOF
72361 rm -f conftest.$ac_objext
72362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72363 (eval $ac_compile) 2>conftest.er1
72364 ac_status=$?
72365 grep -v '^ *+' conftest.er1 >conftest.err
72366 rm -f conftest.er1
72367 cat conftest.err >&5
72368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72369 (exit $ac_status); } &&
72370 { ac_try='test -z "$ac_cxx_werror_flag"
72371 || test ! -s conftest.err'
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); }; } &&
72377 { ac_try='test -s conftest.$ac_objext'
72378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72379 (eval $ac_try) 2>&5
72380 ac_status=$?
72381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72382 (exit $ac_status); }; }; then
72383 glibcxx_cv_func__ldexpf_use=yes
72384 else
72385 echo "$as_me: failed program was:" >&5
72386 sed 's/^/| /' conftest.$ac_ext >&5
72388 glibcxx_cv_func__ldexpf_use=no
72390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72391 ac_ext=c
72392 ac_cpp='$CPP $CPPFLAGS'
72393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72401 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
72402 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
72404 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
72406 for ac_func in _ldexpf
72408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72409 echo "$as_me:$LINENO: checking for $ac_func" >&5
72410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72411 if eval "test \"\${$as_ac_var+set}\" = set"; then
72412 echo $ECHO_N "(cached) $ECHO_C" >&6
72413 else
72414 if test x$gcc_no_link = xyes; then
72415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72417 { (exit 1); exit 1; }; }
72419 cat >conftest.$ac_ext <<_ACEOF
72420 /* confdefs.h. */
72421 _ACEOF
72422 cat confdefs.h >>conftest.$ac_ext
72423 cat >>conftest.$ac_ext <<_ACEOF
72424 /* end confdefs.h. */
72425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72427 #define $ac_func innocuous_$ac_func
72429 /* System header to define __stub macros and hopefully few prototypes,
72430 which can conflict with char $ac_func (); below.
72431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72432 <limits.h> exists even on freestanding compilers. */
72434 #ifdef __STDC__
72435 # include <limits.h>
72436 #else
72437 # include <assert.h>
72438 #endif
72440 #undef $ac_func
72442 /* Override any gcc2 internal prototype to avoid an error. */
72443 #ifdef __cplusplus
72444 extern "C"
72446 #endif
72447 /* We use char because int might match the return type of a gcc2
72448 builtin and then its argument prototype would still apply. */
72449 char $ac_func ();
72450 /* The GNU C library defines this for functions which it implements
72451 to always fail with ENOSYS. Some functions are actually named
72452 something starting with __ and the normal name is an alias. */
72453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72454 choke me
72455 #else
72456 char (*f) () = $ac_func;
72457 #endif
72458 #ifdef __cplusplus
72460 #endif
72463 main ()
72465 return f != $ac_func;
72467 return 0;
72469 _ACEOF
72470 rm -f conftest.$ac_objext conftest$ac_exeext
72471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72472 (eval $ac_link) 2>conftest.er1
72473 ac_status=$?
72474 grep -v '^ *+' conftest.er1 >conftest.err
72475 rm -f conftest.er1
72476 cat conftest.err >&5
72477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72478 (exit $ac_status); } &&
72479 { ac_try='test -z "$ac_c_werror_flag"
72480 || test ! -s conftest.err'
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); }; } &&
72486 { ac_try='test -s conftest$ac_exeext'
72487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72488 (eval $ac_try) 2>&5
72489 ac_status=$?
72490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72491 (exit $ac_status); }; }; then
72492 eval "$as_ac_var=yes"
72493 else
72494 echo "$as_me: failed program was:" >&5
72495 sed 's/^/| /' conftest.$ac_ext >&5
72497 eval "$as_ac_var=no"
72499 rm -f conftest.err conftest.$ac_objext \
72500 conftest$ac_exeext conftest.$ac_ext
72502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72504 if test `eval echo '${'$as_ac_var'}'` = yes; then
72505 cat >>confdefs.h <<_ACEOF
72506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72507 _ACEOF
72510 done
72520 echo "$as_me:$LINENO: checking for logf declaration" >&5
72521 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
72522 if test x${glibcxx_cv_func_logf_use+set} != xset; then
72523 if test "${glibcxx_cv_func_logf_use+set}" = set; then
72524 echo $ECHO_N "(cached) $ECHO_C" >&6
72525 else
72529 ac_ext=cc
72530 ac_cpp='$CXXCPP $CPPFLAGS'
72531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72535 cat >conftest.$ac_ext <<_ACEOF
72536 /* confdefs.h. */
72537 _ACEOF
72538 cat confdefs.h >>conftest.$ac_ext
72539 cat >>conftest.$ac_ext <<_ACEOF
72540 /* end confdefs.h. */
72541 #include <math.h>
72542 #ifdef HAVE_IEEEFP_H
72543 #include <ieeefp.h>
72544 #endif
72547 main ()
72549 logf(0);
72551 return 0;
72553 _ACEOF
72554 rm -f conftest.$ac_objext
72555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72556 (eval $ac_compile) 2>conftest.er1
72557 ac_status=$?
72558 grep -v '^ *+' conftest.er1 >conftest.err
72559 rm -f conftest.er1
72560 cat conftest.err >&5
72561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72562 (exit $ac_status); } &&
72563 { ac_try='test -z "$ac_cxx_werror_flag"
72564 || test ! -s conftest.err'
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); }; } &&
72570 { ac_try='test -s conftest.$ac_objext'
72571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72572 (eval $ac_try) 2>&5
72573 ac_status=$?
72574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72575 (exit $ac_status); }; }; then
72576 glibcxx_cv_func_logf_use=yes
72577 else
72578 echo "$as_me: failed program was:" >&5
72579 sed 's/^/| /' conftest.$ac_ext >&5
72581 glibcxx_cv_func_logf_use=no
72583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72584 ac_ext=c
72585 ac_cpp='$CPP $CPPFLAGS'
72586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72594 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
72595 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
72597 if test x$glibcxx_cv_func_logf_use = x"yes"; then
72599 for ac_func in logf
72601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72602 echo "$as_me:$LINENO: checking for $ac_func" >&5
72603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72604 if eval "test \"\${$as_ac_var+set}\" = set"; then
72605 echo $ECHO_N "(cached) $ECHO_C" >&6
72606 else
72607 if test x$gcc_no_link = xyes; then
72608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72610 { (exit 1); exit 1; }; }
72612 cat >conftest.$ac_ext <<_ACEOF
72613 /* confdefs.h. */
72614 _ACEOF
72615 cat confdefs.h >>conftest.$ac_ext
72616 cat >>conftest.$ac_ext <<_ACEOF
72617 /* end confdefs.h. */
72618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72620 #define $ac_func innocuous_$ac_func
72622 /* System header to define __stub macros and hopefully few prototypes,
72623 which can conflict with char $ac_func (); below.
72624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72625 <limits.h> exists even on freestanding compilers. */
72627 #ifdef __STDC__
72628 # include <limits.h>
72629 #else
72630 # include <assert.h>
72631 #endif
72633 #undef $ac_func
72635 /* Override any gcc2 internal prototype to avoid an error. */
72636 #ifdef __cplusplus
72637 extern "C"
72639 #endif
72640 /* We use char because int might match the return type of a gcc2
72641 builtin and then its argument prototype would still apply. */
72642 char $ac_func ();
72643 /* The GNU C library defines this for functions which it implements
72644 to always fail with ENOSYS. Some functions are actually named
72645 something starting with __ and the normal name is an alias. */
72646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72647 choke me
72648 #else
72649 char (*f) () = $ac_func;
72650 #endif
72651 #ifdef __cplusplus
72653 #endif
72656 main ()
72658 return f != $ac_func;
72660 return 0;
72662 _ACEOF
72663 rm -f conftest.$ac_objext conftest$ac_exeext
72664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72665 (eval $ac_link) 2>conftest.er1
72666 ac_status=$?
72667 grep -v '^ *+' conftest.er1 >conftest.err
72668 rm -f conftest.er1
72669 cat conftest.err >&5
72670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72671 (exit $ac_status); } &&
72672 { ac_try='test -z "$ac_c_werror_flag"
72673 || test ! -s conftest.err'
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); }; } &&
72679 { ac_try='test -s conftest$ac_exeext'
72680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72681 (eval $ac_try) 2>&5
72682 ac_status=$?
72683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72684 (exit $ac_status); }; }; then
72685 eval "$as_ac_var=yes"
72686 else
72687 echo "$as_me: failed program was:" >&5
72688 sed 's/^/| /' conftest.$ac_ext >&5
72690 eval "$as_ac_var=no"
72692 rm -f conftest.err conftest.$ac_objext \
72693 conftest$ac_exeext conftest.$ac_ext
72695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72697 if test `eval echo '${'$as_ac_var'}'` = yes; then
72698 cat >>confdefs.h <<_ACEOF
72699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72700 _ACEOF
72703 done
72705 else
72707 echo "$as_me:$LINENO: checking for _logf declaration" >&5
72708 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
72709 if test x${glibcxx_cv_func__logf_use+set} != xset; then
72710 if test "${glibcxx_cv_func__logf_use+set}" = set; then
72711 echo $ECHO_N "(cached) $ECHO_C" >&6
72712 else
72716 ac_ext=cc
72717 ac_cpp='$CXXCPP $CPPFLAGS'
72718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72722 cat >conftest.$ac_ext <<_ACEOF
72723 /* confdefs.h. */
72724 _ACEOF
72725 cat confdefs.h >>conftest.$ac_ext
72726 cat >>conftest.$ac_ext <<_ACEOF
72727 /* end confdefs.h. */
72728 #include <math.h>
72729 #ifdef HAVE_IEEEFP_H
72730 #include <ieeefp.h>
72731 #endif
72734 main ()
72736 _logf(0);
72738 return 0;
72740 _ACEOF
72741 rm -f conftest.$ac_objext
72742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72743 (eval $ac_compile) 2>conftest.er1
72744 ac_status=$?
72745 grep -v '^ *+' conftest.er1 >conftest.err
72746 rm -f conftest.er1
72747 cat conftest.err >&5
72748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72749 (exit $ac_status); } &&
72750 { ac_try='test -z "$ac_cxx_werror_flag"
72751 || test ! -s conftest.err'
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); }; } &&
72757 { ac_try='test -s conftest.$ac_objext'
72758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72759 (eval $ac_try) 2>&5
72760 ac_status=$?
72761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72762 (exit $ac_status); }; }; then
72763 glibcxx_cv_func__logf_use=yes
72764 else
72765 echo "$as_me: failed program was:" >&5
72766 sed 's/^/| /' conftest.$ac_ext >&5
72768 glibcxx_cv_func__logf_use=no
72770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72771 ac_ext=c
72772 ac_cpp='$CPP $CPPFLAGS'
72773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72781 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
72782 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
72784 if test x$glibcxx_cv_func__logf_use = x"yes"; then
72786 for ac_func in _logf
72788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72789 echo "$as_me:$LINENO: checking for $ac_func" >&5
72790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72791 if eval "test \"\${$as_ac_var+set}\" = set"; then
72792 echo $ECHO_N "(cached) $ECHO_C" >&6
72793 else
72794 if test x$gcc_no_link = xyes; then
72795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72797 { (exit 1); exit 1; }; }
72799 cat >conftest.$ac_ext <<_ACEOF
72800 /* confdefs.h. */
72801 _ACEOF
72802 cat confdefs.h >>conftest.$ac_ext
72803 cat >>conftest.$ac_ext <<_ACEOF
72804 /* end confdefs.h. */
72805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72807 #define $ac_func innocuous_$ac_func
72809 /* System header to define __stub macros and hopefully few prototypes,
72810 which can conflict with char $ac_func (); below.
72811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72812 <limits.h> exists even on freestanding compilers. */
72814 #ifdef __STDC__
72815 # include <limits.h>
72816 #else
72817 # include <assert.h>
72818 #endif
72820 #undef $ac_func
72822 /* Override any gcc2 internal prototype to avoid an error. */
72823 #ifdef __cplusplus
72824 extern "C"
72826 #endif
72827 /* We use char because int might match the return type of a gcc2
72828 builtin and then its argument prototype would still apply. */
72829 char $ac_func ();
72830 /* The GNU C library defines this for functions which it implements
72831 to always fail with ENOSYS. Some functions are actually named
72832 something starting with __ and the normal name is an alias. */
72833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72834 choke me
72835 #else
72836 char (*f) () = $ac_func;
72837 #endif
72838 #ifdef __cplusplus
72840 #endif
72843 main ()
72845 return f != $ac_func;
72847 return 0;
72849 _ACEOF
72850 rm -f conftest.$ac_objext conftest$ac_exeext
72851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72852 (eval $ac_link) 2>conftest.er1
72853 ac_status=$?
72854 grep -v '^ *+' conftest.er1 >conftest.err
72855 rm -f conftest.er1
72856 cat conftest.err >&5
72857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72858 (exit $ac_status); } &&
72859 { ac_try='test -z "$ac_c_werror_flag"
72860 || test ! -s conftest.err'
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); }; } &&
72866 { ac_try='test -s conftest$ac_exeext'
72867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72868 (eval $ac_try) 2>&5
72869 ac_status=$?
72870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72871 (exit $ac_status); }; }; then
72872 eval "$as_ac_var=yes"
72873 else
72874 echo "$as_me: failed program was:" >&5
72875 sed 's/^/| /' conftest.$ac_ext >&5
72877 eval "$as_ac_var=no"
72879 rm -f conftest.err conftest.$ac_objext \
72880 conftest$ac_exeext conftest.$ac_ext
72882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72884 if test `eval echo '${'$as_ac_var'}'` = yes; then
72885 cat >>confdefs.h <<_ACEOF
72886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72887 _ACEOF
72890 done
72900 echo "$as_me:$LINENO: checking for log10f declaration" >&5
72901 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
72902 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
72903 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
72904 echo $ECHO_N "(cached) $ECHO_C" >&6
72905 else
72909 ac_ext=cc
72910 ac_cpp='$CXXCPP $CPPFLAGS'
72911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72915 cat >conftest.$ac_ext <<_ACEOF
72916 /* confdefs.h. */
72917 _ACEOF
72918 cat confdefs.h >>conftest.$ac_ext
72919 cat >>conftest.$ac_ext <<_ACEOF
72920 /* end confdefs.h. */
72921 #include <math.h>
72922 #ifdef HAVE_IEEEFP_H
72923 #include <ieeefp.h>
72924 #endif
72927 main ()
72929 log10f(0);
72931 return 0;
72933 _ACEOF
72934 rm -f conftest.$ac_objext
72935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72936 (eval $ac_compile) 2>conftest.er1
72937 ac_status=$?
72938 grep -v '^ *+' conftest.er1 >conftest.err
72939 rm -f conftest.er1
72940 cat conftest.err >&5
72941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72942 (exit $ac_status); } &&
72943 { ac_try='test -z "$ac_cxx_werror_flag"
72944 || test ! -s conftest.err'
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); }; } &&
72950 { ac_try='test -s conftest.$ac_objext'
72951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72952 (eval $ac_try) 2>&5
72953 ac_status=$?
72954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72955 (exit $ac_status); }; }; then
72956 glibcxx_cv_func_log10f_use=yes
72957 else
72958 echo "$as_me: failed program was:" >&5
72959 sed 's/^/| /' conftest.$ac_ext >&5
72961 glibcxx_cv_func_log10f_use=no
72963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72964 ac_ext=c
72965 ac_cpp='$CPP $CPPFLAGS'
72966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72974 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
72975 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
72977 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
72979 for ac_func in log10f
72981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72982 echo "$as_me:$LINENO: checking for $ac_func" >&5
72983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72984 if eval "test \"\${$as_ac_var+set}\" = set"; then
72985 echo $ECHO_N "(cached) $ECHO_C" >&6
72986 else
72987 if test x$gcc_no_link = xyes; then
72988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72990 { (exit 1); exit 1; }; }
72992 cat >conftest.$ac_ext <<_ACEOF
72993 /* confdefs.h. */
72994 _ACEOF
72995 cat confdefs.h >>conftest.$ac_ext
72996 cat >>conftest.$ac_ext <<_ACEOF
72997 /* end confdefs.h. */
72998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73000 #define $ac_func innocuous_$ac_func
73002 /* System header to define __stub macros and hopefully few prototypes,
73003 which can conflict with char $ac_func (); below.
73004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73005 <limits.h> exists even on freestanding compilers. */
73007 #ifdef __STDC__
73008 # include <limits.h>
73009 #else
73010 # include <assert.h>
73011 #endif
73013 #undef $ac_func
73015 /* Override any gcc2 internal prototype to avoid an error. */
73016 #ifdef __cplusplus
73017 extern "C"
73019 #endif
73020 /* We use char because int might match the return type of a gcc2
73021 builtin and then its argument prototype would still apply. */
73022 char $ac_func ();
73023 /* The GNU C library defines this for functions which it implements
73024 to always fail with ENOSYS. Some functions are actually named
73025 something starting with __ and the normal name is an alias. */
73026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73027 choke me
73028 #else
73029 char (*f) () = $ac_func;
73030 #endif
73031 #ifdef __cplusplus
73033 #endif
73036 main ()
73038 return f != $ac_func;
73040 return 0;
73042 _ACEOF
73043 rm -f conftest.$ac_objext conftest$ac_exeext
73044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73045 (eval $ac_link) 2>conftest.er1
73046 ac_status=$?
73047 grep -v '^ *+' conftest.er1 >conftest.err
73048 rm -f conftest.er1
73049 cat conftest.err >&5
73050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73051 (exit $ac_status); } &&
73052 { ac_try='test -z "$ac_c_werror_flag"
73053 || test ! -s conftest.err'
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); }; } &&
73059 { ac_try='test -s conftest$ac_exeext'
73060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73061 (eval $ac_try) 2>&5
73062 ac_status=$?
73063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73064 (exit $ac_status); }; }; then
73065 eval "$as_ac_var=yes"
73066 else
73067 echo "$as_me: failed program was:" >&5
73068 sed 's/^/| /' conftest.$ac_ext >&5
73070 eval "$as_ac_var=no"
73072 rm -f conftest.err conftest.$ac_objext \
73073 conftest$ac_exeext conftest.$ac_ext
73075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73077 if test `eval echo '${'$as_ac_var'}'` = yes; then
73078 cat >>confdefs.h <<_ACEOF
73079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73080 _ACEOF
73083 done
73085 else
73087 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
73088 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
73089 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73090 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
73091 echo $ECHO_N "(cached) $ECHO_C" >&6
73092 else
73096 ac_ext=cc
73097 ac_cpp='$CXXCPP $CPPFLAGS'
73098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73102 cat >conftest.$ac_ext <<_ACEOF
73103 /* confdefs.h. */
73104 _ACEOF
73105 cat confdefs.h >>conftest.$ac_ext
73106 cat >>conftest.$ac_ext <<_ACEOF
73107 /* end confdefs.h. */
73108 #include <math.h>
73109 #ifdef HAVE_IEEEFP_H
73110 #include <ieeefp.h>
73111 #endif
73114 main ()
73116 _log10f(0);
73118 return 0;
73120 _ACEOF
73121 rm -f conftest.$ac_objext
73122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73123 (eval $ac_compile) 2>conftest.er1
73124 ac_status=$?
73125 grep -v '^ *+' conftest.er1 >conftest.err
73126 rm -f conftest.er1
73127 cat conftest.err >&5
73128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73129 (exit $ac_status); } &&
73130 { ac_try='test -z "$ac_cxx_werror_flag"
73131 || test ! -s conftest.err'
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); }; } &&
73137 { ac_try='test -s conftest.$ac_objext'
73138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73139 (eval $ac_try) 2>&5
73140 ac_status=$?
73141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73142 (exit $ac_status); }; }; then
73143 glibcxx_cv_func__log10f_use=yes
73144 else
73145 echo "$as_me: failed program was:" >&5
73146 sed 's/^/| /' conftest.$ac_ext >&5
73148 glibcxx_cv_func__log10f_use=no
73150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73151 ac_ext=c
73152 ac_cpp='$CPP $CPPFLAGS'
73153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73161 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
73162 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
73164 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73166 for ac_func in _log10f
73168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73169 echo "$as_me:$LINENO: checking for $ac_func" >&5
73170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73171 if eval "test \"\${$as_ac_var+set}\" = set"; then
73172 echo $ECHO_N "(cached) $ECHO_C" >&6
73173 else
73174 if test x$gcc_no_link = xyes; then
73175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73177 { (exit 1); exit 1; }; }
73179 cat >conftest.$ac_ext <<_ACEOF
73180 /* confdefs.h. */
73181 _ACEOF
73182 cat confdefs.h >>conftest.$ac_ext
73183 cat >>conftest.$ac_ext <<_ACEOF
73184 /* end confdefs.h. */
73185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73187 #define $ac_func innocuous_$ac_func
73189 /* System header to define __stub macros and hopefully few prototypes,
73190 which can conflict with char $ac_func (); below.
73191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73192 <limits.h> exists even on freestanding compilers. */
73194 #ifdef __STDC__
73195 # include <limits.h>
73196 #else
73197 # include <assert.h>
73198 #endif
73200 #undef $ac_func
73202 /* Override any gcc2 internal prototype to avoid an error. */
73203 #ifdef __cplusplus
73204 extern "C"
73206 #endif
73207 /* We use char because int might match the return type of a gcc2
73208 builtin and then its argument prototype would still apply. */
73209 char $ac_func ();
73210 /* The GNU C library defines this for functions which it implements
73211 to always fail with ENOSYS. Some functions are actually named
73212 something starting with __ and the normal name is an alias. */
73213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73214 choke me
73215 #else
73216 char (*f) () = $ac_func;
73217 #endif
73218 #ifdef __cplusplus
73220 #endif
73223 main ()
73225 return f != $ac_func;
73227 return 0;
73229 _ACEOF
73230 rm -f conftest.$ac_objext conftest$ac_exeext
73231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73232 (eval $ac_link) 2>conftest.er1
73233 ac_status=$?
73234 grep -v '^ *+' conftest.er1 >conftest.err
73235 rm -f conftest.er1
73236 cat conftest.err >&5
73237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73238 (exit $ac_status); } &&
73239 { ac_try='test -z "$ac_c_werror_flag"
73240 || test ! -s conftest.err'
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); }; } &&
73246 { ac_try='test -s conftest$ac_exeext'
73247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73248 (eval $ac_try) 2>&5
73249 ac_status=$?
73250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73251 (exit $ac_status); }; }; then
73252 eval "$as_ac_var=yes"
73253 else
73254 echo "$as_me: failed program was:" >&5
73255 sed 's/^/| /' conftest.$ac_ext >&5
73257 eval "$as_ac_var=no"
73259 rm -f conftest.err conftest.$ac_objext \
73260 conftest$ac_exeext conftest.$ac_ext
73262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73264 if test `eval echo '${'$as_ac_var'}'` = yes; then
73265 cat >>confdefs.h <<_ACEOF
73266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73267 _ACEOF
73270 done
73280 echo "$as_me:$LINENO: checking for modff declaration" >&5
73281 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
73282 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73283 if test "${glibcxx_cv_func_modff_use+set}" = set; then
73284 echo $ECHO_N "(cached) $ECHO_C" >&6
73285 else
73289 ac_ext=cc
73290 ac_cpp='$CXXCPP $CPPFLAGS'
73291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73295 cat >conftest.$ac_ext <<_ACEOF
73296 /* confdefs.h. */
73297 _ACEOF
73298 cat confdefs.h >>conftest.$ac_ext
73299 cat >>conftest.$ac_ext <<_ACEOF
73300 /* end confdefs.h. */
73301 #include <math.h>
73303 main ()
73305 modff(0, 0);
73307 return 0;
73309 _ACEOF
73310 rm -f conftest.$ac_objext
73311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73312 (eval $ac_compile) 2>conftest.er1
73313 ac_status=$?
73314 grep -v '^ *+' conftest.er1 >conftest.err
73315 rm -f conftest.er1
73316 cat conftest.err >&5
73317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73318 (exit $ac_status); } &&
73319 { ac_try='test -z "$ac_cxx_werror_flag"
73320 || test ! -s conftest.err'
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); }; } &&
73326 { ac_try='test -s conftest.$ac_objext'
73327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73328 (eval $ac_try) 2>&5
73329 ac_status=$?
73330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73331 (exit $ac_status); }; }; then
73332 glibcxx_cv_func_modff_use=yes
73333 else
73334 echo "$as_me: failed program was:" >&5
73335 sed 's/^/| /' conftest.$ac_ext >&5
73337 glibcxx_cv_func_modff_use=no
73339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73340 ac_ext=c
73341 ac_cpp='$CPP $CPPFLAGS'
73342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73350 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
73351 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
73353 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73355 for ac_func in modff
73357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73358 echo "$as_me:$LINENO: checking for $ac_func" >&5
73359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73360 if eval "test \"\${$as_ac_var+set}\" = set"; then
73361 echo $ECHO_N "(cached) $ECHO_C" >&6
73362 else
73363 if test x$gcc_no_link = xyes; then
73364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73366 { (exit 1); exit 1; }; }
73368 cat >conftest.$ac_ext <<_ACEOF
73369 /* confdefs.h. */
73370 _ACEOF
73371 cat confdefs.h >>conftest.$ac_ext
73372 cat >>conftest.$ac_ext <<_ACEOF
73373 /* end confdefs.h. */
73374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73376 #define $ac_func innocuous_$ac_func
73378 /* System header to define __stub macros and hopefully few prototypes,
73379 which can conflict with char $ac_func (); below.
73380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73381 <limits.h> exists even on freestanding compilers. */
73383 #ifdef __STDC__
73384 # include <limits.h>
73385 #else
73386 # include <assert.h>
73387 #endif
73389 #undef $ac_func
73391 /* Override any gcc2 internal prototype to avoid an error. */
73392 #ifdef __cplusplus
73393 extern "C"
73395 #endif
73396 /* We use char because int might match the return type of a gcc2
73397 builtin and then its argument prototype would still apply. */
73398 char $ac_func ();
73399 /* The GNU C library defines this for functions which it implements
73400 to always fail with ENOSYS. Some functions are actually named
73401 something starting with __ and the normal name is an alias. */
73402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73403 choke me
73404 #else
73405 char (*f) () = $ac_func;
73406 #endif
73407 #ifdef __cplusplus
73409 #endif
73412 main ()
73414 return f != $ac_func;
73416 return 0;
73418 _ACEOF
73419 rm -f conftest.$ac_objext conftest$ac_exeext
73420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73421 (eval $ac_link) 2>conftest.er1
73422 ac_status=$?
73423 grep -v '^ *+' conftest.er1 >conftest.err
73424 rm -f conftest.er1
73425 cat conftest.err >&5
73426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73427 (exit $ac_status); } &&
73428 { ac_try='test -z "$ac_c_werror_flag"
73429 || test ! -s conftest.err'
73430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73431 (eval $ac_try) 2>&5
73432 ac_status=$?
73433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73434 (exit $ac_status); }; } &&
73435 { ac_try='test -s conftest$ac_exeext'
73436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73437 (eval $ac_try) 2>&5
73438 ac_status=$?
73439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73440 (exit $ac_status); }; }; then
73441 eval "$as_ac_var=yes"
73442 else
73443 echo "$as_me: failed program was:" >&5
73444 sed 's/^/| /' conftest.$ac_ext >&5
73446 eval "$as_ac_var=no"
73448 rm -f conftest.err conftest.$ac_objext \
73449 conftest$ac_exeext conftest.$ac_ext
73451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73453 if test `eval echo '${'$as_ac_var'}'` = yes; then
73454 cat >>confdefs.h <<_ACEOF
73455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73456 _ACEOF
73459 done
73461 else
73463 echo "$as_me:$LINENO: checking for _modff declaration" >&5
73464 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
73465 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73466 if test "${glibcxx_cv_func__modff_use+set}" = set; then
73467 echo $ECHO_N "(cached) $ECHO_C" >&6
73468 else
73472 ac_ext=cc
73473 ac_cpp='$CXXCPP $CPPFLAGS'
73474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73478 cat >conftest.$ac_ext <<_ACEOF
73479 /* confdefs.h. */
73480 _ACEOF
73481 cat confdefs.h >>conftest.$ac_ext
73482 cat >>conftest.$ac_ext <<_ACEOF
73483 /* end confdefs.h. */
73484 #include <math.h>
73486 main ()
73488 _modff(0, 0);
73490 return 0;
73492 _ACEOF
73493 rm -f conftest.$ac_objext
73494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73495 (eval $ac_compile) 2>conftest.er1
73496 ac_status=$?
73497 grep -v '^ *+' conftest.er1 >conftest.err
73498 rm -f conftest.er1
73499 cat conftest.err >&5
73500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73501 (exit $ac_status); } &&
73502 { ac_try='test -z "$ac_cxx_werror_flag"
73503 || test ! -s conftest.err'
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); }; } &&
73509 { ac_try='test -s conftest.$ac_objext'
73510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73511 (eval $ac_try) 2>&5
73512 ac_status=$?
73513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73514 (exit $ac_status); }; }; then
73515 glibcxx_cv_func__modff_use=yes
73516 else
73517 echo "$as_me: failed program was:" >&5
73518 sed 's/^/| /' conftest.$ac_ext >&5
73520 glibcxx_cv_func__modff_use=no
73522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73523 ac_ext=c
73524 ac_cpp='$CPP $CPPFLAGS'
73525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73533 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
73534 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
73536 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73538 for ac_func in _modff
73540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73541 echo "$as_me:$LINENO: checking for $ac_func" >&5
73542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73543 if eval "test \"\${$as_ac_var+set}\" = set"; then
73544 echo $ECHO_N "(cached) $ECHO_C" >&6
73545 else
73546 if test x$gcc_no_link = xyes; then
73547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73549 { (exit 1); exit 1; }; }
73551 cat >conftest.$ac_ext <<_ACEOF
73552 /* confdefs.h. */
73553 _ACEOF
73554 cat confdefs.h >>conftest.$ac_ext
73555 cat >>conftest.$ac_ext <<_ACEOF
73556 /* end confdefs.h. */
73557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73559 #define $ac_func innocuous_$ac_func
73561 /* System header to define __stub macros and hopefully few prototypes,
73562 which can conflict with char $ac_func (); below.
73563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73564 <limits.h> exists even on freestanding compilers. */
73566 #ifdef __STDC__
73567 # include <limits.h>
73568 #else
73569 # include <assert.h>
73570 #endif
73572 #undef $ac_func
73574 /* Override any gcc2 internal prototype to avoid an error. */
73575 #ifdef __cplusplus
73576 extern "C"
73578 #endif
73579 /* We use char because int might match the return type of a gcc2
73580 builtin and then its argument prototype would still apply. */
73581 char $ac_func ();
73582 /* The GNU C library defines this for functions which it implements
73583 to always fail with ENOSYS. Some functions are actually named
73584 something starting with __ and the normal name is an alias. */
73585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73586 choke me
73587 #else
73588 char (*f) () = $ac_func;
73589 #endif
73590 #ifdef __cplusplus
73592 #endif
73595 main ()
73597 return f != $ac_func;
73599 return 0;
73601 _ACEOF
73602 rm -f conftest.$ac_objext conftest$ac_exeext
73603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73604 (eval $ac_link) 2>conftest.er1
73605 ac_status=$?
73606 grep -v '^ *+' conftest.er1 >conftest.err
73607 rm -f conftest.er1
73608 cat conftest.err >&5
73609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73610 (exit $ac_status); } &&
73611 { ac_try='test -z "$ac_c_werror_flag"
73612 || test ! -s conftest.err'
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); }; } &&
73618 { ac_try='test -s conftest$ac_exeext'
73619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73620 (eval $ac_try) 2>&5
73621 ac_status=$?
73622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73623 (exit $ac_status); }; }; then
73624 eval "$as_ac_var=yes"
73625 else
73626 echo "$as_me: failed program was:" >&5
73627 sed 's/^/| /' conftest.$ac_ext >&5
73629 eval "$as_ac_var=no"
73631 rm -f conftest.err conftest.$ac_objext \
73632 conftest$ac_exeext conftest.$ac_ext
73634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73636 if test `eval echo '${'$as_ac_var'}'` = yes; then
73637 cat >>confdefs.h <<_ACEOF
73638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73639 _ACEOF
73642 done
73652 echo "$as_me:$LINENO: checking for modf declaration" >&5
73653 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
73654 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73655 if test "${glibcxx_cv_func_modf_use+set}" = set; then
73656 echo $ECHO_N "(cached) $ECHO_C" >&6
73657 else
73661 ac_ext=cc
73662 ac_cpp='$CXXCPP $CPPFLAGS'
73663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73667 cat >conftest.$ac_ext <<_ACEOF
73668 /* confdefs.h. */
73669 _ACEOF
73670 cat confdefs.h >>conftest.$ac_ext
73671 cat >>conftest.$ac_ext <<_ACEOF
73672 /* end confdefs.h. */
73673 #include <math.h>
73675 main ()
73677 modf(0, 0);
73679 return 0;
73681 _ACEOF
73682 rm -f conftest.$ac_objext
73683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73684 (eval $ac_compile) 2>conftest.er1
73685 ac_status=$?
73686 grep -v '^ *+' conftest.er1 >conftest.err
73687 rm -f conftest.er1
73688 cat conftest.err >&5
73689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73690 (exit $ac_status); } &&
73691 { ac_try='test -z "$ac_cxx_werror_flag"
73692 || test ! -s conftest.err'
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); }; } &&
73698 { ac_try='test -s conftest.$ac_objext'
73699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73700 (eval $ac_try) 2>&5
73701 ac_status=$?
73702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73703 (exit $ac_status); }; }; then
73704 glibcxx_cv_func_modf_use=yes
73705 else
73706 echo "$as_me: failed program was:" >&5
73707 sed 's/^/| /' conftest.$ac_ext >&5
73709 glibcxx_cv_func_modf_use=no
73711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73712 ac_ext=c
73713 ac_cpp='$CPP $CPPFLAGS'
73714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73722 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
73723 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
73725 if test x$glibcxx_cv_func_modf_use = x"yes"; then
73727 for ac_func in modf
73729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73730 echo "$as_me:$LINENO: checking for $ac_func" >&5
73731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73732 if eval "test \"\${$as_ac_var+set}\" = set"; then
73733 echo $ECHO_N "(cached) $ECHO_C" >&6
73734 else
73735 if test x$gcc_no_link = xyes; then
73736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73738 { (exit 1); exit 1; }; }
73740 cat >conftest.$ac_ext <<_ACEOF
73741 /* confdefs.h. */
73742 _ACEOF
73743 cat confdefs.h >>conftest.$ac_ext
73744 cat >>conftest.$ac_ext <<_ACEOF
73745 /* end confdefs.h. */
73746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73748 #define $ac_func innocuous_$ac_func
73750 /* System header to define __stub macros and hopefully few prototypes,
73751 which can conflict with char $ac_func (); below.
73752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73753 <limits.h> exists even on freestanding compilers. */
73755 #ifdef __STDC__
73756 # include <limits.h>
73757 #else
73758 # include <assert.h>
73759 #endif
73761 #undef $ac_func
73763 /* Override any gcc2 internal prototype to avoid an error. */
73764 #ifdef __cplusplus
73765 extern "C"
73767 #endif
73768 /* We use char because int might match the return type of a gcc2
73769 builtin and then its argument prototype would still apply. */
73770 char $ac_func ();
73771 /* The GNU C library defines this for functions which it implements
73772 to always fail with ENOSYS. Some functions are actually named
73773 something starting with __ and the normal name is an alias. */
73774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73775 choke me
73776 #else
73777 char (*f) () = $ac_func;
73778 #endif
73779 #ifdef __cplusplus
73781 #endif
73784 main ()
73786 return f != $ac_func;
73788 return 0;
73790 _ACEOF
73791 rm -f conftest.$ac_objext conftest$ac_exeext
73792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73793 (eval $ac_link) 2>conftest.er1
73794 ac_status=$?
73795 grep -v '^ *+' conftest.er1 >conftest.err
73796 rm -f conftest.er1
73797 cat conftest.err >&5
73798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73799 (exit $ac_status); } &&
73800 { ac_try='test -z "$ac_c_werror_flag"
73801 || test ! -s conftest.err'
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); }; } &&
73807 { ac_try='test -s conftest$ac_exeext'
73808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73809 (eval $ac_try) 2>&5
73810 ac_status=$?
73811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73812 (exit $ac_status); }; }; then
73813 eval "$as_ac_var=yes"
73814 else
73815 echo "$as_me: failed program was:" >&5
73816 sed 's/^/| /' conftest.$ac_ext >&5
73818 eval "$as_ac_var=no"
73820 rm -f conftest.err conftest.$ac_objext \
73821 conftest$ac_exeext conftest.$ac_ext
73823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73825 if test `eval echo '${'$as_ac_var'}'` = yes; then
73826 cat >>confdefs.h <<_ACEOF
73827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73828 _ACEOF
73831 done
73833 else
73835 echo "$as_me:$LINENO: checking for _modf declaration" >&5
73836 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
73837 if test x${glibcxx_cv_func__modf_use+set} != xset; then
73838 if test "${glibcxx_cv_func__modf_use+set}" = set; then
73839 echo $ECHO_N "(cached) $ECHO_C" >&6
73840 else
73844 ac_ext=cc
73845 ac_cpp='$CXXCPP $CPPFLAGS'
73846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73850 cat >conftest.$ac_ext <<_ACEOF
73851 /* confdefs.h. */
73852 _ACEOF
73853 cat confdefs.h >>conftest.$ac_ext
73854 cat >>conftest.$ac_ext <<_ACEOF
73855 /* end confdefs.h. */
73856 #include <math.h>
73858 main ()
73860 _modf(0, 0);
73862 return 0;
73864 _ACEOF
73865 rm -f conftest.$ac_objext
73866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73867 (eval $ac_compile) 2>conftest.er1
73868 ac_status=$?
73869 grep -v '^ *+' conftest.er1 >conftest.err
73870 rm -f conftest.er1
73871 cat conftest.err >&5
73872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73873 (exit $ac_status); } &&
73874 { ac_try='test -z "$ac_cxx_werror_flag"
73875 || test ! -s conftest.err'
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); }; } &&
73881 { ac_try='test -s conftest.$ac_objext'
73882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73883 (eval $ac_try) 2>&5
73884 ac_status=$?
73885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73886 (exit $ac_status); }; }; then
73887 glibcxx_cv_func__modf_use=yes
73888 else
73889 echo "$as_me: failed program was:" >&5
73890 sed 's/^/| /' conftest.$ac_ext >&5
73892 glibcxx_cv_func__modf_use=no
73894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73895 ac_ext=c
73896 ac_cpp='$CPP $CPPFLAGS'
73897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73905 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
73906 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
73908 if test x$glibcxx_cv_func__modf_use = x"yes"; then
73910 for ac_func in _modf
73912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73913 echo "$as_me:$LINENO: checking for $ac_func" >&5
73914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73915 if eval "test \"\${$as_ac_var+set}\" = set"; then
73916 echo $ECHO_N "(cached) $ECHO_C" >&6
73917 else
73918 if test x$gcc_no_link = xyes; then
73919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73921 { (exit 1); exit 1; }; }
73923 cat >conftest.$ac_ext <<_ACEOF
73924 /* confdefs.h. */
73925 _ACEOF
73926 cat confdefs.h >>conftest.$ac_ext
73927 cat >>conftest.$ac_ext <<_ACEOF
73928 /* end confdefs.h. */
73929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73931 #define $ac_func innocuous_$ac_func
73933 /* System header to define __stub macros and hopefully few prototypes,
73934 which can conflict with char $ac_func (); below.
73935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73936 <limits.h> exists even on freestanding compilers. */
73938 #ifdef __STDC__
73939 # include <limits.h>
73940 #else
73941 # include <assert.h>
73942 #endif
73944 #undef $ac_func
73946 /* Override any gcc2 internal prototype to avoid an error. */
73947 #ifdef __cplusplus
73948 extern "C"
73950 #endif
73951 /* We use char because int might match the return type of a gcc2
73952 builtin and then its argument prototype would still apply. */
73953 char $ac_func ();
73954 /* The GNU C library defines this for functions which it implements
73955 to always fail with ENOSYS. Some functions are actually named
73956 something starting with __ and the normal name is an alias. */
73957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73958 choke me
73959 #else
73960 char (*f) () = $ac_func;
73961 #endif
73962 #ifdef __cplusplus
73964 #endif
73967 main ()
73969 return f != $ac_func;
73971 return 0;
73973 _ACEOF
73974 rm -f conftest.$ac_objext conftest$ac_exeext
73975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73976 (eval $ac_link) 2>conftest.er1
73977 ac_status=$?
73978 grep -v '^ *+' conftest.er1 >conftest.err
73979 rm -f conftest.er1
73980 cat conftest.err >&5
73981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73982 (exit $ac_status); } &&
73983 { ac_try='test -z "$ac_c_werror_flag"
73984 || test ! -s conftest.err'
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); }; } &&
73990 { ac_try='test -s conftest$ac_exeext'
73991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73992 (eval $ac_try) 2>&5
73993 ac_status=$?
73994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73995 (exit $ac_status); }; }; then
73996 eval "$as_ac_var=yes"
73997 else
73998 echo "$as_me: failed program was:" >&5
73999 sed 's/^/| /' conftest.$ac_ext >&5
74001 eval "$as_ac_var=no"
74003 rm -f conftest.err conftest.$ac_objext \
74004 conftest$ac_exeext conftest.$ac_ext
74006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74008 if test `eval echo '${'$as_ac_var'}'` = yes; then
74009 cat >>confdefs.h <<_ACEOF
74010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74011 _ACEOF
74014 done
74024 echo "$as_me:$LINENO: checking for powf declaration" >&5
74025 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
74026 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74027 if test "${glibcxx_cv_func_powf_use+set}" = set; then
74028 echo $ECHO_N "(cached) $ECHO_C" >&6
74029 else
74033 ac_ext=cc
74034 ac_cpp='$CXXCPP $CPPFLAGS'
74035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74039 cat >conftest.$ac_ext <<_ACEOF
74040 /* confdefs.h. */
74041 _ACEOF
74042 cat confdefs.h >>conftest.$ac_ext
74043 cat >>conftest.$ac_ext <<_ACEOF
74044 /* end confdefs.h. */
74045 #include <math.h>
74047 main ()
74049 powf(0, 0);
74051 return 0;
74053 _ACEOF
74054 rm -f conftest.$ac_objext
74055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74056 (eval $ac_compile) 2>conftest.er1
74057 ac_status=$?
74058 grep -v '^ *+' conftest.er1 >conftest.err
74059 rm -f conftest.er1
74060 cat conftest.err >&5
74061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74062 (exit $ac_status); } &&
74063 { ac_try='test -z "$ac_cxx_werror_flag"
74064 || test ! -s conftest.err'
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); }; } &&
74070 { ac_try='test -s conftest.$ac_objext'
74071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74072 (eval $ac_try) 2>&5
74073 ac_status=$?
74074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74075 (exit $ac_status); }; }; then
74076 glibcxx_cv_func_powf_use=yes
74077 else
74078 echo "$as_me: failed program was:" >&5
74079 sed 's/^/| /' conftest.$ac_ext >&5
74081 glibcxx_cv_func_powf_use=no
74083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74084 ac_ext=c
74085 ac_cpp='$CPP $CPPFLAGS'
74086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74094 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
74095 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
74097 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74099 for ac_func in powf
74101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74102 echo "$as_me:$LINENO: checking for $ac_func" >&5
74103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74104 if eval "test \"\${$as_ac_var+set}\" = set"; then
74105 echo $ECHO_N "(cached) $ECHO_C" >&6
74106 else
74107 if test x$gcc_no_link = xyes; then
74108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74110 { (exit 1); exit 1; }; }
74112 cat >conftest.$ac_ext <<_ACEOF
74113 /* confdefs.h. */
74114 _ACEOF
74115 cat confdefs.h >>conftest.$ac_ext
74116 cat >>conftest.$ac_ext <<_ACEOF
74117 /* end confdefs.h. */
74118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74120 #define $ac_func innocuous_$ac_func
74122 /* System header to define __stub macros and hopefully few prototypes,
74123 which can conflict with char $ac_func (); below.
74124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74125 <limits.h> exists even on freestanding compilers. */
74127 #ifdef __STDC__
74128 # include <limits.h>
74129 #else
74130 # include <assert.h>
74131 #endif
74133 #undef $ac_func
74135 /* Override any gcc2 internal prototype to avoid an error. */
74136 #ifdef __cplusplus
74137 extern "C"
74139 #endif
74140 /* We use char because int might match the return type of a gcc2
74141 builtin and then its argument prototype would still apply. */
74142 char $ac_func ();
74143 /* The GNU C library defines this for functions which it implements
74144 to always fail with ENOSYS. Some functions are actually named
74145 something starting with __ and the normal name is an alias. */
74146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74147 choke me
74148 #else
74149 char (*f) () = $ac_func;
74150 #endif
74151 #ifdef __cplusplus
74153 #endif
74156 main ()
74158 return f != $ac_func;
74160 return 0;
74162 _ACEOF
74163 rm -f conftest.$ac_objext conftest$ac_exeext
74164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74165 (eval $ac_link) 2>conftest.er1
74166 ac_status=$?
74167 grep -v '^ *+' conftest.er1 >conftest.err
74168 rm -f conftest.er1
74169 cat conftest.err >&5
74170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74171 (exit $ac_status); } &&
74172 { ac_try='test -z "$ac_c_werror_flag"
74173 || test ! -s conftest.err'
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); }; } &&
74179 { ac_try='test -s conftest$ac_exeext'
74180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74181 (eval $ac_try) 2>&5
74182 ac_status=$?
74183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74184 (exit $ac_status); }; }; then
74185 eval "$as_ac_var=yes"
74186 else
74187 echo "$as_me: failed program was:" >&5
74188 sed 's/^/| /' conftest.$ac_ext >&5
74190 eval "$as_ac_var=no"
74192 rm -f conftest.err conftest.$ac_objext \
74193 conftest$ac_exeext conftest.$ac_ext
74195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74197 if test `eval echo '${'$as_ac_var'}'` = yes; then
74198 cat >>confdefs.h <<_ACEOF
74199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74200 _ACEOF
74203 done
74205 else
74207 echo "$as_me:$LINENO: checking for _powf declaration" >&5
74208 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
74209 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74210 if test "${glibcxx_cv_func__powf_use+set}" = set; then
74211 echo $ECHO_N "(cached) $ECHO_C" >&6
74212 else
74216 ac_ext=cc
74217 ac_cpp='$CXXCPP $CPPFLAGS'
74218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74222 cat >conftest.$ac_ext <<_ACEOF
74223 /* confdefs.h. */
74224 _ACEOF
74225 cat confdefs.h >>conftest.$ac_ext
74226 cat >>conftest.$ac_ext <<_ACEOF
74227 /* end confdefs.h. */
74228 #include <math.h>
74230 main ()
74232 _powf(0, 0);
74234 return 0;
74236 _ACEOF
74237 rm -f conftest.$ac_objext
74238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74239 (eval $ac_compile) 2>conftest.er1
74240 ac_status=$?
74241 grep -v '^ *+' conftest.er1 >conftest.err
74242 rm -f conftest.er1
74243 cat conftest.err >&5
74244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74245 (exit $ac_status); } &&
74246 { ac_try='test -z "$ac_cxx_werror_flag"
74247 || test ! -s conftest.err'
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); }; } &&
74253 { ac_try='test -s conftest.$ac_objext'
74254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74255 (eval $ac_try) 2>&5
74256 ac_status=$?
74257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74258 (exit $ac_status); }; }; then
74259 glibcxx_cv_func__powf_use=yes
74260 else
74261 echo "$as_me: failed program was:" >&5
74262 sed 's/^/| /' conftest.$ac_ext >&5
74264 glibcxx_cv_func__powf_use=no
74266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74267 ac_ext=c
74268 ac_cpp='$CPP $CPPFLAGS'
74269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74277 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
74278 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
74280 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74282 for ac_func in _powf
74284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74285 echo "$as_me:$LINENO: checking for $ac_func" >&5
74286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74287 if eval "test \"\${$as_ac_var+set}\" = set"; then
74288 echo $ECHO_N "(cached) $ECHO_C" >&6
74289 else
74290 if test x$gcc_no_link = xyes; then
74291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74293 { (exit 1); exit 1; }; }
74295 cat >conftest.$ac_ext <<_ACEOF
74296 /* confdefs.h. */
74297 _ACEOF
74298 cat confdefs.h >>conftest.$ac_ext
74299 cat >>conftest.$ac_ext <<_ACEOF
74300 /* end confdefs.h. */
74301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74303 #define $ac_func innocuous_$ac_func
74305 /* System header to define __stub macros and hopefully few prototypes,
74306 which can conflict with char $ac_func (); below.
74307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74308 <limits.h> exists even on freestanding compilers. */
74310 #ifdef __STDC__
74311 # include <limits.h>
74312 #else
74313 # include <assert.h>
74314 #endif
74316 #undef $ac_func
74318 /* Override any gcc2 internal prototype to avoid an error. */
74319 #ifdef __cplusplus
74320 extern "C"
74322 #endif
74323 /* We use char because int might match the return type of a gcc2
74324 builtin and then its argument prototype would still apply. */
74325 char $ac_func ();
74326 /* The GNU C library defines this for functions which it implements
74327 to always fail with ENOSYS. Some functions are actually named
74328 something starting with __ and the normal name is an alias. */
74329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74330 choke me
74331 #else
74332 char (*f) () = $ac_func;
74333 #endif
74334 #ifdef __cplusplus
74336 #endif
74339 main ()
74341 return f != $ac_func;
74343 return 0;
74345 _ACEOF
74346 rm -f conftest.$ac_objext conftest$ac_exeext
74347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74348 (eval $ac_link) 2>conftest.er1
74349 ac_status=$?
74350 grep -v '^ *+' conftest.er1 >conftest.err
74351 rm -f conftest.er1
74352 cat conftest.err >&5
74353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74354 (exit $ac_status); } &&
74355 { ac_try='test -z "$ac_c_werror_flag"
74356 || test ! -s conftest.err'
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); }; } &&
74362 { ac_try='test -s conftest$ac_exeext'
74363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74364 (eval $ac_try) 2>&5
74365 ac_status=$?
74366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74367 (exit $ac_status); }; }; then
74368 eval "$as_ac_var=yes"
74369 else
74370 echo "$as_me: failed program was:" >&5
74371 sed 's/^/| /' conftest.$ac_ext >&5
74373 eval "$as_ac_var=no"
74375 rm -f conftest.err conftest.$ac_objext \
74376 conftest$ac_exeext conftest.$ac_ext
74378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74380 if test `eval echo '${'$as_ac_var'}'` = yes; then
74381 cat >>confdefs.h <<_ACEOF
74382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74383 _ACEOF
74386 done
74396 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
74397 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
74398 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74399 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
74400 echo $ECHO_N "(cached) $ECHO_C" >&6
74401 else
74405 ac_ext=cc
74406 ac_cpp='$CXXCPP $CPPFLAGS'
74407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74411 cat >conftest.$ac_ext <<_ACEOF
74412 /* confdefs.h. */
74413 _ACEOF
74414 cat confdefs.h >>conftest.$ac_ext
74415 cat >>conftest.$ac_ext <<_ACEOF
74416 /* end confdefs.h. */
74417 #include <math.h>
74418 #ifdef HAVE_IEEEFP_H
74419 #include <ieeefp.h>
74420 #endif
74423 main ()
74425 sqrtf(0);
74427 return 0;
74429 _ACEOF
74430 rm -f conftest.$ac_objext
74431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74432 (eval $ac_compile) 2>conftest.er1
74433 ac_status=$?
74434 grep -v '^ *+' conftest.er1 >conftest.err
74435 rm -f conftest.er1
74436 cat conftest.err >&5
74437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74438 (exit $ac_status); } &&
74439 { ac_try='test -z "$ac_cxx_werror_flag"
74440 || test ! -s conftest.err'
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); }; } &&
74446 { ac_try='test -s conftest.$ac_objext'
74447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74448 (eval $ac_try) 2>&5
74449 ac_status=$?
74450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74451 (exit $ac_status); }; }; then
74452 glibcxx_cv_func_sqrtf_use=yes
74453 else
74454 echo "$as_me: failed program was:" >&5
74455 sed 's/^/| /' conftest.$ac_ext >&5
74457 glibcxx_cv_func_sqrtf_use=no
74459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74460 ac_ext=c
74461 ac_cpp='$CPP $CPPFLAGS'
74462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74470 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
74471 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
74473 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74475 for ac_func in sqrtf
74477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74478 echo "$as_me:$LINENO: checking for $ac_func" >&5
74479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74480 if eval "test \"\${$as_ac_var+set}\" = set"; then
74481 echo $ECHO_N "(cached) $ECHO_C" >&6
74482 else
74483 if test x$gcc_no_link = xyes; then
74484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74486 { (exit 1); exit 1; }; }
74488 cat >conftest.$ac_ext <<_ACEOF
74489 /* confdefs.h. */
74490 _ACEOF
74491 cat confdefs.h >>conftest.$ac_ext
74492 cat >>conftest.$ac_ext <<_ACEOF
74493 /* end confdefs.h. */
74494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74496 #define $ac_func innocuous_$ac_func
74498 /* System header to define __stub macros and hopefully few prototypes,
74499 which can conflict with char $ac_func (); below.
74500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74501 <limits.h> exists even on freestanding compilers. */
74503 #ifdef __STDC__
74504 # include <limits.h>
74505 #else
74506 # include <assert.h>
74507 #endif
74509 #undef $ac_func
74511 /* Override any gcc2 internal prototype to avoid an error. */
74512 #ifdef __cplusplus
74513 extern "C"
74515 #endif
74516 /* We use char because int might match the return type of a gcc2
74517 builtin and then its argument prototype would still apply. */
74518 char $ac_func ();
74519 /* The GNU C library defines this for functions which it implements
74520 to always fail with ENOSYS. Some functions are actually named
74521 something starting with __ and the normal name is an alias. */
74522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74523 choke me
74524 #else
74525 char (*f) () = $ac_func;
74526 #endif
74527 #ifdef __cplusplus
74529 #endif
74532 main ()
74534 return f != $ac_func;
74536 return 0;
74538 _ACEOF
74539 rm -f conftest.$ac_objext conftest$ac_exeext
74540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74541 (eval $ac_link) 2>conftest.er1
74542 ac_status=$?
74543 grep -v '^ *+' conftest.er1 >conftest.err
74544 rm -f conftest.er1
74545 cat conftest.err >&5
74546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74547 (exit $ac_status); } &&
74548 { ac_try='test -z "$ac_c_werror_flag"
74549 || test ! -s conftest.err'
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); }; } &&
74555 { ac_try='test -s conftest$ac_exeext'
74556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74557 (eval $ac_try) 2>&5
74558 ac_status=$?
74559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74560 (exit $ac_status); }; }; then
74561 eval "$as_ac_var=yes"
74562 else
74563 echo "$as_me: failed program was:" >&5
74564 sed 's/^/| /' conftest.$ac_ext >&5
74566 eval "$as_ac_var=no"
74568 rm -f conftest.err conftest.$ac_objext \
74569 conftest$ac_exeext conftest.$ac_ext
74571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74573 if test `eval echo '${'$as_ac_var'}'` = yes; then
74574 cat >>confdefs.h <<_ACEOF
74575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74576 _ACEOF
74579 done
74581 else
74583 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
74584 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
74585 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74586 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
74587 echo $ECHO_N "(cached) $ECHO_C" >&6
74588 else
74592 ac_ext=cc
74593 ac_cpp='$CXXCPP $CPPFLAGS'
74594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74598 cat >conftest.$ac_ext <<_ACEOF
74599 /* confdefs.h. */
74600 _ACEOF
74601 cat confdefs.h >>conftest.$ac_ext
74602 cat >>conftest.$ac_ext <<_ACEOF
74603 /* end confdefs.h. */
74604 #include <math.h>
74605 #ifdef HAVE_IEEEFP_H
74606 #include <ieeefp.h>
74607 #endif
74610 main ()
74612 _sqrtf(0);
74614 return 0;
74616 _ACEOF
74617 rm -f conftest.$ac_objext
74618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74619 (eval $ac_compile) 2>conftest.er1
74620 ac_status=$?
74621 grep -v '^ *+' conftest.er1 >conftest.err
74622 rm -f conftest.er1
74623 cat conftest.err >&5
74624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74625 (exit $ac_status); } &&
74626 { ac_try='test -z "$ac_cxx_werror_flag"
74627 || test ! -s conftest.err'
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); }; } &&
74633 { ac_try='test -s conftest.$ac_objext'
74634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74635 (eval $ac_try) 2>&5
74636 ac_status=$?
74637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74638 (exit $ac_status); }; }; then
74639 glibcxx_cv_func__sqrtf_use=yes
74640 else
74641 echo "$as_me: failed program was:" >&5
74642 sed 's/^/| /' conftest.$ac_ext >&5
74644 glibcxx_cv_func__sqrtf_use=no
74646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74647 ac_ext=c
74648 ac_cpp='$CPP $CPPFLAGS'
74649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74657 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
74658 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
74660 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74662 for ac_func in _sqrtf
74664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74665 echo "$as_me:$LINENO: checking for $ac_func" >&5
74666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74667 if eval "test \"\${$as_ac_var+set}\" = set"; then
74668 echo $ECHO_N "(cached) $ECHO_C" >&6
74669 else
74670 if test x$gcc_no_link = xyes; then
74671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74673 { (exit 1); exit 1; }; }
74675 cat >conftest.$ac_ext <<_ACEOF
74676 /* confdefs.h. */
74677 _ACEOF
74678 cat confdefs.h >>conftest.$ac_ext
74679 cat >>conftest.$ac_ext <<_ACEOF
74680 /* end confdefs.h. */
74681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74683 #define $ac_func innocuous_$ac_func
74685 /* System header to define __stub macros and hopefully few prototypes,
74686 which can conflict with char $ac_func (); below.
74687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74688 <limits.h> exists even on freestanding compilers. */
74690 #ifdef __STDC__
74691 # include <limits.h>
74692 #else
74693 # include <assert.h>
74694 #endif
74696 #undef $ac_func
74698 /* Override any gcc2 internal prototype to avoid an error. */
74699 #ifdef __cplusplus
74700 extern "C"
74702 #endif
74703 /* We use char because int might match the return type of a gcc2
74704 builtin and then its argument prototype would still apply. */
74705 char $ac_func ();
74706 /* The GNU C library defines this for functions which it implements
74707 to always fail with ENOSYS. Some functions are actually named
74708 something starting with __ and the normal name is an alias. */
74709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74710 choke me
74711 #else
74712 char (*f) () = $ac_func;
74713 #endif
74714 #ifdef __cplusplus
74716 #endif
74719 main ()
74721 return f != $ac_func;
74723 return 0;
74725 _ACEOF
74726 rm -f conftest.$ac_objext conftest$ac_exeext
74727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74728 (eval $ac_link) 2>conftest.er1
74729 ac_status=$?
74730 grep -v '^ *+' conftest.er1 >conftest.err
74731 rm -f conftest.er1
74732 cat conftest.err >&5
74733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74734 (exit $ac_status); } &&
74735 { ac_try='test -z "$ac_c_werror_flag"
74736 || test ! -s conftest.err'
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); }; } &&
74742 { ac_try='test -s conftest$ac_exeext'
74743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74744 (eval $ac_try) 2>&5
74745 ac_status=$?
74746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74747 (exit $ac_status); }; }; then
74748 eval "$as_ac_var=yes"
74749 else
74750 echo "$as_me: failed program was:" >&5
74751 sed 's/^/| /' conftest.$ac_ext >&5
74753 eval "$as_ac_var=no"
74755 rm -f conftest.err conftest.$ac_objext \
74756 conftest$ac_exeext conftest.$ac_ext
74758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74760 if test `eval echo '${'$as_ac_var'}'` = yes; then
74761 cat >>confdefs.h <<_ACEOF
74762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74763 _ACEOF
74766 done
74776 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
74777 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
74778 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74779 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
74780 echo $ECHO_N "(cached) $ECHO_C" >&6
74781 else
74785 ac_ext=cc
74786 ac_cpp='$CXXCPP $CPPFLAGS'
74787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74791 cat >conftest.$ac_ext <<_ACEOF
74792 /* confdefs.h. */
74793 _ACEOF
74794 cat confdefs.h >>conftest.$ac_ext
74795 cat >>conftest.$ac_ext <<_ACEOF
74796 /* end confdefs.h. */
74797 #include <math.h>
74799 main ()
74801 sincosf(0, 0, 0);
74803 return 0;
74805 _ACEOF
74806 rm -f conftest.$ac_objext
74807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74808 (eval $ac_compile) 2>conftest.er1
74809 ac_status=$?
74810 grep -v '^ *+' conftest.er1 >conftest.err
74811 rm -f conftest.er1
74812 cat conftest.err >&5
74813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74814 (exit $ac_status); } &&
74815 { ac_try='test -z "$ac_cxx_werror_flag"
74816 || test ! -s conftest.err'
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); }; } &&
74822 { ac_try='test -s conftest.$ac_objext'
74823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74824 (eval $ac_try) 2>&5
74825 ac_status=$?
74826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74827 (exit $ac_status); }; }; then
74828 glibcxx_cv_func_sincosf_use=yes
74829 else
74830 echo "$as_me: failed program was:" >&5
74831 sed 's/^/| /' conftest.$ac_ext >&5
74833 glibcxx_cv_func_sincosf_use=no
74835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74836 ac_ext=c
74837 ac_cpp='$CPP $CPPFLAGS'
74838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74846 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
74847 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
74849 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74851 for ac_func in sincosf
74853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74854 echo "$as_me:$LINENO: checking for $ac_func" >&5
74855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74856 if eval "test \"\${$as_ac_var+set}\" = set"; then
74857 echo $ECHO_N "(cached) $ECHO_C" >&6
74858 else
74859 if test x$gcc_no_link = xyes; then
74860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74862 { (exit 1); exit 1; }; }
74864 cat >conftest.$ac_ext <<_ACEOF
74865 /* confdefs.h. */
74866 _ACEOF
74867 cat confdefs.h >>conftest.$ac_ext
74868 cat >>conftest.$ac_ext <<_ACEOF
74869 /* end confdefs.h. */
74870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74872 #define $ac_func innocuous_$ac_func
74874 /* System header to define __stub macros and hopefully few prototypes,
74875 which can conflict with char $ac_func (); below.
74876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74877 <limits.h> exists even on freestanding compilers. */
74879 #ifdef __STDC__
74880 # include <limits.h>
74881 #else
74882 # include <assert.h>
74883 #endif
74885 #undef $ac_func
74887 /* Override any gcc2 internal prototype to avoid an error. */
74888 #ifdef __cplusplus
74889 extern "C"
74891 #endif
74892 /* We use char because int might match the return type of a gcc2
74893 builtin and then its argument prototype would still apply. */
74894 char $ac_func ();
74895 /* The GNU C library defines this for functions which it implements
74896 to always fail with ENOSYS. Some functions are actually named
74897 something starting with __ and the normal name is an alias. */
74898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74899 choke me
74900 #else
74901 char (*f) () = $ac_func;
74902 #endif
74903 #ifdef __cplusplus
74905 #endif
74908 main ()
74910 return f != $ac_func;
74912 return 0;
74914 _ACEOF
74915 rm -f conftest.$ac_objext conftest$ac_exeext
74916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74917 (eval $ac_link) 2>conftest.er1
74918 ac_status=$?
74919 grep -v '^ *+' conftest.er1 >conftest.err
74920 rm -f conftest.er1
74921 cat conftest.err >&5
74922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74923 (exit $ac_status); } &&
74924 { ac_try='test -z "$ac_c_werror_flag"
74925 || test ! -s conftest.err'
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); }; } &&
74931 { ac_try='test -s conftest$ac_exeext'
74932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74933 (eval $ac_try) 2>&5
74934 ac_status=$?
74935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74936 (exit $ac_status); }; }; then
74937 eval "$as_ac_var=yes"
74938 else
74939 echo "$as_me: failed program was:" >&5
74940 sed 's/^/| /' conftest.$ac_ext >&5
74942 eval "$as_ac_var=no"
74944 rm -f conftest.err conftest.$ac_objext \
74945 conftest$ac_exeext conftest.$ac_ext
74947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74949 if test `eval echo '${'$as_ac_var'}'` = yes; then
74950 cat >>confdefs.h <<_ACEOF
74951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74952 _ACEOF
74955 done
74957 else
74959 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
74960 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
74961 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74962 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
74963 echo $ECHO_N "(cached) $ECHO_C" >&6
74964 else
74968 ac_ext=cc
74969 ac_cpp='$CXXCPP $CPPFLAGS'
74970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74974 cat >conftest.$ac_ext <<_ACEOF
74975 /* confdefs.h. */
74976 _ACEOF
74977 cat confdefs.h >>conftest.$ac_ext
74978 cat >>conftest.$ac_ext <<_ACEOF
74979 /* end confdefs.h. */
74980 #include <math.h>
74982 main ()
74984 _sincosf(0, 0, 0);
74986 return 0;
74988 _ACEOF
74989 rm -f conftest.$ac_objext
74990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74991 (eval $ac_compile) 2>conftest.er1
74992 ac_status=$?
74993 grep -v '^ *+' conftest.er1 >conftest.err
74994 rm -f conftest.er1
74995 cat conftest.err >&5
74996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74997 (exit $ac_status); } &&
74998 { ac_try='test -z "$ac_cxx_werror_flag"
74999 || test ! -s conftest.err'
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); }; } &&
75005 { ac_try='test -s conftest.$ac_objext'
75006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75007 (eval $ac_try) 2>&5
75008 ac_status=$?
75009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75010 (exit $ac_status); }; }; then
75011 glibcxx_cv_func__sincosf_use=yes
75012 else
75013 echo "$as_me: failed program was:" >&5
75014 sed 's/^/| /' conftest.$ac_ext >&5
75016 glibcxx_cv_func__sincosf_use=no
75018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75019 ac_ext=c
75020 ac_cpp='$CPP $CPPFLAGS'
75021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75029 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
75030 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
75032 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75034 for ac_func in _sincosf
75036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75037 echo "$as_me:$LINENO: checking for $ac_func" >&5
75038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75039 if eval "test \"\${$as_ac_var+set}\" = set"; then
75040 echo $ECHO_N "(cached) $ECHO_C" >&6
75041 else
75042 if test x$gcc_no_link = xyes; then
75043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75045 { (exit 1); exit 1; }; }
75047 cat >conftest.$ac_ext <<_ACEOF
75048 /* confdefs.h. */
75049 _ACEOF
75050 cat confdefs.h >>conftest.$ac_ext
75051 cat >>conftest.$ac_ext <<_ACEOF
75052 /* end confdefs.h. */
75053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75055 #define $ac_func innocuous_$ac_func
75057 /* System header to define __stub macros and hopefully few prototypes,
75058 which can conflict with char $ac_func (); below.
75059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75060 <limits.h> exists even on freestanding compilers. */
75062 #ifdef __STDC__
75063 # include <limits.h>
75064 #else
75065 # include <assert.h>
75066 #endif
75068 #undef $ac_func
75070 /* Override any gcc2 internal prototype to avoid an error. */
75071 #ifdef __cplusplus
75072 extern "C"
75074 #endif
75075 /* We use char because int might match the return type of a gcc2
75076 builtin and then its argument prototype would still apply. */
75077 char $ac_func ();
75078 /* The GNU C library defines this for functions which it implements
75079 to always fail with ENOSYS. Some functions are actually named
75080 something starting with __ and the normal name is an alias. */
75081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75082 choke me
75083 #else
75084 char (*f) () = $ac_func;
75085 #endif
75086 #ifdef __cplusplus
75088 #endif
75091 main ()
75093 return f != $ac_func;
75095 return 0;
75097 _ACEOF
75098 rm -f conftest.$ac_objext conftest$ac_exeext
75099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75100 (eval $ac_link) 2>conftest.er1
75101 ac_status=$?
75102 grep -v '^ *+' conftest.er1 >conftest.err
75103 rm -f conftest.er1
75104 cat conftest.err >&5
75105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75106 (exit $ac_status); } &&
75107 { ac_try='test -z "$ac_c_werror_flag"
75108 || test ! -s conftest.err'
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); }; } &&
75114 { ac_try='test -s conftest$ac_exeext'
75115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75116 (eval $ac_try) 2>&5
75117 ac_status=$?
75118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75119 (exit $ac_status); }; }; then
75120 eval "$as_ac_var=yes"
75121 else
75122 echo "$as_me: failed program was:" >&5
75123 sed 's/^/| /' conftest.$ac_ext >&5
75125 eval "$as_ac_var=no"
75127 rm -f conftest.err conftest.$ac_objext \
75128 conftest$ac_exeext conftest.$ac_ext
75130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75132 if test `eval echo '${'$as_ac_var'}'` = yes; then
75133 cat >>confdefs.h <<_ACEOF
75134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75135 _ACEOF
75138 done
75148 echo "$as_me:$LINENO: checking for finitef declaration" >&5
75149 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
75150 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75151 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
75152 echo $ECHO_N "(cached) $ECHO_C" >&6
75153 else
75157 ac_ext=cc
75158 ac_cpp='$CXXCPP $CPPFLAGS'
75159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75163 cat >conftest.$ac_ext <<_ACEOF
75164 /* confdefs.h. */
75165 _ACEOF
75166 cat confdefs.h >>conftest.$ac_ext
75167 cat >>conftest.$ac_ext <<_ACEOF
75168 /* end confdefs.h. */
75169 #include <math.h>
75170 #ifdef HAVE_IEEEFP_H
75171 #include <ieeefp.h>
75172 #endif
75175 main ()
75177 finitef(0);
75179 return 0;
75181 _ACEOF
75182 rm -f conftest.$ac_objext
75183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75184 (eval $ac_compile) 2>conftest.er1
75185 ac_status=$?
75186 grep -v '^ *+' conftest.er1 >conftest.err
75187 rm -f conftest.er1
75188 cat conftest.err >&5
75189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75190 (exit $ac_status); } &&
75191 { ac_try='test -z "$ac_cxx_werror_flag"
75192 || test ! -s conftest.err'
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); }; } &&
75198 { ac_try='test -s conftest.$ac_objext'
75199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75200 (eval $ac_try) 2>&5
75201 ac_status=$?
75202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75203 (exit $ac_status); }; }; then
75204 glibcxx_cv_func_finitef_use=yes
75205 else
75206 echo "$as_me: failed program was:" >&5
75207 sed 's/^/| /' conftest.$ac_ext >&5
75209 glibcxx_cv_func_finitef_use=no
75211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75212 ac_ext=c
75213 ac_cpp='$CPP $CPPFLAGS'
75214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75222 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
75223 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
75225 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75227 for ac_func in finitef
75229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75230 echo "$as_me:$LINENO: checking for $ac_func" >&5
75231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75232 if eval "test \"\${$as_ac_var+set}\" = set"; then
75233 echo $ECHO_N "(cached) $ECHO_C" >&6
75234 else
75235 if test x$gcc_no_link = xyes; then
75236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75238 { (exit 1); exit 1; }; }
75240 cat >conftest.$ac_ext <<_ACEOF
75241 /* confdefs.h. */
75242 _ACEOF
75243 cat confdefs.h >>conftest.$ac_ext
75244 cat >>conftest.$ac_ext <<_ACEOF
75245 /* end confdefs.h. */
75246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75248 #define $ac_func innocuous_$ac_func
75250 /* System header to define __stub macros and hopefully few prototypes,
75251 which can conflict with char $ac_func (); below.
75252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75253 <limits.h> exists even on freestanding compilers. */
75255 #ifdef __STDC__
75256 # include <limits.h>
75257 #else
75258 # include <assert.h>
75259 #endif
75261 #undef $ac_func
75263 /* Override any gcc2 internal prototype to avoid an error. */
75264 #ifdef __cplusplus
75265 extern "C"
75267 #endif
75268 /* We use char because int might match the return type of a gcc2
75269 builtin and then its argument prototype would still apply. */
75270 char $ac_func ();
75271 /* The GNU C library defines this for functions which it implements
75272 to always fail with ENOSYS. Some functions are actually named
75273 something starting with __ and the normal name is an alias. */
75274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75275 choke me
75276 #else
75277 char (*f) () = $ac_func;
75278 #endif
75279 #ifdef __cplusplus
75281 #endif
75284 main ()
75286 return f != $ac_func;
75288 return 0;
75290 _ACEOF
75291 rm -f conftest.$ac_objext conftest$ac_exeext
75292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75293 (eval $ac_link) 2>conftest.er1
75294 ac_status=$?
75295 grep -v '^ *+' conftest.er1 >conftest.err
75296 rm -f conftest.er1
75297 cat conftest.err >&5
75298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75299 (exit $ac_status); } &&
75300 { ac_try='test -z "$ac_c_werror_flag"
75301 || test ! -s conftest.err'
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); }; } &&
75307 { ac_try='test -s conftest$ac_exeext'
75308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75309 (eval $ac_try) 2>&5
75310 ac_status=$?
75311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75312 (exit $ac_status); }; }; then
75313 eval "$as_ac_var=yes"
75314 else
75315 echo "$as_me: failed program was:" >&5
75316 sed 's/^/| /' conftest.$ac_ext >&5
75318 eval "$as_ac_var=no"
75320 rm -f conftest.err conftest.$ac_objext \
75321 conftest$ac_exeext conftest.$ac_ext
75323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75325 if test `eval echo '${'$as_ac_var'}'` = yes; then
75326 cat >>confdefs.h <<_ACEOF
75327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75328 _ACEOF
75331 done
75333 else
75335 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
75336 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
75337 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75338 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
75339 echo $ECHO_N "(cached) $ECHO_C" >&6
75340 else
75344 ac_ext=cc
75345 ac_cpp='$CXXCPP $CPPFLAGS'
75346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75350 cat >conftest.$ac_ext <<_ACEOF
75351 /* confdefs.h. */
75352 _ACEOF
75353 cat confdefs.h >>conftest.$ac_ext
75354 cat >>conftest.$ac_ext <<_ACEOF
75355 /* end confdefs.h. */
75356 #include <math.h>
75357 #ifdef HAVE_IEEEFP_H
75358 #include <ieeefp.h>
75359 #endif
75362 main ()
75364 _finitef(0);
75366 return 0;
75368 _ACEOF
75369 rm -f conftest.$ac_objext
75370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75371 (eval $ac_compile) 2>conftest.er1
75372 ac_status=$?
75373 grep -v '^ *+' conftest.er1 >conftest.err
75374 rm -f conftest.er1
75375 cat conftest.err >&5
75376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75377 (exit $ac_status); } &&
75378 { ac_try='test -z "$ac_cxx_werror_flag"
75379 || test ! -s conftest.err'
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); }; } &&
75385 { ac_try='test -s conftest.$ac_objext'
75386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75387 (eval $ac_try) 2>&5
75388 ac_status=$?
75389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75390 (exit $ac_status); }; }; then
75391 glibcxx_cv_func__finitef_use=yes
75392 else
75393 echo "$as_me: failed program was:" >&5
75394 sed 's/^/| /' conftest.$ac_ext >&5
75396 glibcxx_cv_func__finitef_use=no
75398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75399 ac_ext=c
75400 ac_cpp='$CPP $CPPFLAGS'
75401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75409 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
75410 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
75412 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75414 for ac_func in _finitef
75416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75417 echo "$as_me:$LINENO: checking for $ac_func" >&5
75418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75419 if eval "test \"\${$as_ac_var+set}\" = set"; then
75420 echo $ECHO_N "(cached) $ECHO_C" >&6
75421 else
75422 if test x$gcc_no_link = xyes; then
75423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75425 { (exit 1); exit 1; }; }
75427 cat >conftest.$ac_ext <<_ACEOF
75428 /* confdefs.h. */
75429 _ACEOF
75430 cat confdefs.h >>conftest.$ac_ext
75431 cat >>conftest.$ac_ext <<_ACEOF
75432 /* end confdefs.h. */
75433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75435 #define $ac_func innocuous_$ac_func
75437 /* System header to define __stub macros and hopefully few prototypes,
75438 which can conflict with char $ac_func (); below.
75439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75440 <limits.h> exists even on freestanding compilers. */
75442 #ifdef __STDC__
75443 # include <limits.h>
75444 #else
75445 # include <assert.h>
75446 #endif
75448 #undef $ac_func
75450 /* Override any gcc2 internal prototype to avoid an error. */
75451 #ifdef __cplusplus
75452 extern "C"
75454 #endif
75455 /* We use char because int might match the return type of a gcc2
75456 builtin and then its argument prototype would still apply. */
75457 char $ac_func ();
75458 /* The GNU C library defines this for functions which it implements
75459 to always fail with ENOSYS. Some functions are actually named
75460 something starting with __ and the normal name is an alias. */
75461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75462 choke me
75463 #else
75464 char (*f) () = $ac_func;
75465 #endif
75466 #ifdef __cplusplus
75468 #endif
75471 main ()
75473 return f != $ac_func;
75475 return 0;
75477 _ACEOF
75478 rm -f conftest.$ac_objext conftest$ac_exeext
75479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75480 (eval $ac_link) 2>conftest.er1
75481 ac_status=$?
75482 grep -v '^ *+' conftest.er1 >conftest.err
75483 rm -f conftest.er1
75484 cat conftest.err >&5
75485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75486 (exit $ac_status); } &&
75487 { ac_try='test -z "$ac_c_werror_flag"
75488 || test ! -s conftest.err'
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); }; } &&
75494 { ac_try='test -s conftest$ac_exeext'
75495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75496 (eval $ac_try) 2>&5
75497 ac_status=$?
75498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75499 (exit $ac_status); }; }; then
75500 eval "$as_ac_var=yes"
75501 else
75502 echo "$as_me: failed program was:" >&5
75503 sed 's/^/| /' conftest.$ac_ext >&5
75505 eval "$as_ac_var=no"
75507 rm -f conftest.err conftest.$ac_objext \
75508 conftest$ac_exeext conftest.$ac_ext
75510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75512 if test `eval echo '${'$as_ac_var'}'` = yes; then
75513 cat >>confdefs.h <<_ACEOF
75514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75515 _ACEOF
75518 done
75528 echo "$as_me:$LINENO: checking for long double trig functions" >&5
75529 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
75530 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
75531 echo $ECHO_N "(cached) $ECHO_C" >&6
75532 else
75536 ac_ext=cc
75537 ac_cpp='$CXXCPP $CPPFLAGS'
75538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75542 cat >conftest.$ac_ext <<_ACEOF
75543 /* confdefs.h. */
75544 _ACEOF
75545 cat confdefs.h >>conftest.$ac_ext
75546 cat >>conftest.$ac_ext <<_ACEOF
75547 /* end confdefs.h. */
75548 #include <math.h>
75550 main ()
75552 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75554 return 0;
75556 _ACEOF
75557 rm -f conftest.$ac_objext
75558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75559 (eval $ac_compile) 2>conftest.er1
75560 ac_status=$?
75561 grep -v '^ *+' conftest.er1 >conftest.err
75562 rm -f conftest.er1
75563 cat conftest.err >&5
75564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75565 (exit $ac_status); } &&
75566 { ac_try='test -z "$ac_cxx_werror_flag"
75567 || test ! -s conftest.err'
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); }; } &&
75573 { ac_try='test -s conftest.$ac_objext'
75574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75575 (eval $ac_try) 2>&5
75576 ac_status=$?
75577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75578 (exit $ac_status); }; }; then
75579 glibcxx_cv_func_long_double_trig_use=yes
75580 else
75581 echo "$as_me: failed program was:" >&5
75582 sed 's/^/| /' conftest.$ac_ext >&5
75584 glibcxx_cv_func_long_double_trig_use=no
75586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75587 ac_ext=c
75588 ac_cpp='$CPP $CPPFLAGS'
75589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
75596 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
75597 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75607 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75610 echo "$as_me:$LINENO: checking for $ac_func" >&5
75611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75612 if eval "test \"\${$as_ac_var+set}\" = set"; then
75613 echo $ECHO_N "(cached) $ECHO_C" >&6
75614 else
75615 if test x$gcc_no_link = xyes; then
75616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75618 { (exit 1); exit 1; }; }
75620 cat >conftest.$ac_ext <<_ACEOF
75621 /* confdefs.h. */
75622 _ACEOF
75623 cat confdefs.h >>conftest.$ac_ext
75624 cat >>conftest.$ac_ext <<_ACEOF
75625 /* end confdefs.h. */
75626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75628 #define $ac_func innocuous_$ac_func
75630 /* System header to define __stub macros and hopefully few prototypes,
75631 which can conflict with char $ac_func (); below.
75632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75633 <limits.h> exists even on freestanding compilers. */
75635 #ifdef __STDC__
75636 # include <limits.h>
75637 #else
75638 # include <assert.h>
75639 #endif
75641 #undef $ac_func
75643 /* Override any gcc2 internal prototype to avoid an error. */
75644 #ifdef __cplusplus
75645 extern "C"
75647 #endif
75648 /* We use char because int might match the return type of a gcc2
75649 builtin and then its argument prototype would still apply. */
75650 char $ac_func ();
75651 /* The GNU C library defines this for functions which it implements
75652 to always fail with ENOSYS. Some functions are actually named
75653 something starting with __ and the normal name is an alias. */
75654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75655 choke me
75656 #else
75657 char (*f) () = $ac_func;
75658 #endif
75659 #ifdef __cplusplus
75661 #endif
75664 main ()
75666 return f != $ac_func;
75668 return 0;
75670 _ACEOF
75671 rm -f conftest.$ac_objext conftest$ac_exeext
75672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75673 (eval $ac_link) 2>conftest.er1
75674 ac_status=$?
75675 grep -v '^ *+' conftest.er1 >conftest.err
75676 rm -f conftest.er1
75677 cat conftest.err >&5
75678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75679 (exit $ac_status); } &&
75680 { ac_try='test -z "$ac_c_werror_flag"
75681 || test ! -s conftest.err'
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); }; } &&
75687 { ac_try='test -s conftest$ac_exeext'
75688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75689 (eval $ac_try) 2>&5
75690 ac_status=$?
75691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75692 (exit $ac_status); }; }; then
75693 eval "$as_ac_var=yes"
75694 else
75695 echo "$as_me: failed program was:" >&5
75696 sed 's/^/| /' conftest.$ac_ext >&5
75698 eval "$as_ac_var=no"
75700 rm -f conftest.err conftest.$ac_objext \
75701 conftest$ac_exeext conftest.$ac_ext
75703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75705 if test `eval echo '${'$as_ac_var'}'` = yes; then
75706 cat >>confdefs.h <<_ACEOF
75707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75708 _ACEOF
75711 done
75713 else
75714 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
75715 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
75716 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
75717 echo $ECHO_N "(cached) $ECHO_C" >&6
75718 else
75722 ac_ext=cc
75723 ac_cpp='$CXXCPP $CPPFLAGS'
75724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75728 cat >conftest.$ac_ext <<_ACEOF
75729 /* confdefs.h. */
75730 _ACEOF
75731 cat confdefs.h >>conftest.$ac_ext
75732 cat >>conftest.$ac_ext <<_ACEOF
75733 /* end confdefs.h. */
75734 #include <math.h>
75736 main ()
75738 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75740 return 0;
75742 _ACEOF
75743 rm -f conftest.$ac_objext
75744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75745 (eval $ac_compile) 2>conftest.er1
75746 ac_status=$?
75747 grep -v '^ *+' conftest.er1 >conftest.err
75748 rm -f conftest.er1
75749 cat conftest.err >&5
75750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75751 (exit $ac_status); } &&
75752 { ac_try='test -z "$ac_cxx_werror_flag"
75753 || test ! -s conftest.err'
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); }; } &&
75759 { ac_try='test -s conftest.$ac_objext'
75760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75761 (eval $ac_try) 2>&5
75762 ac_status=$?
75763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75764 (exit $ac_status); }; }; then
75765 glibcxx_cv_func__long_double_trig_use=yes
75766 else
75767 echo "$as_me: failed program was:" >&5
75768 sed 's/^/| /' conftest.$ac_ext >&5
75770 glibcxx_cv_func__long_double_trig_use=no
75772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75773 ac_ext=c
75774 ac_cpp='$CPP $CPPFLAGS'
75775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75781 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
75782 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
75783 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75793 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75796 echo "$as_me:$LINENO: checking for $ac_func" >&5
75797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75798 if eval "test \"\${$as_ac_var+set}\" = set"; then
75799 echo $ECHO_N "(cached) $ECHO_C" >&6
75800 else
75801 if test x$gcc_no_link = xyes; then
75802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75804 { (exit 1); exit 1; }; }
75806 cat >conftest.$ac_ext <<_ACEOF
75807 /* confdefs.h. */
75808 _ACEOF
75809 cat confdefs.h >>conftest.$ac_ext
75810 cat >>conftest.$ac_ext <<_ACEOF
75811 /* end confdefs.h. */
75812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75814 #define $ac_func innocuous_$ac_func
75816 /* System header to define __stub macros and hopefully few prototypes,
75817 which can conflict with char $ac_func (); below.
75818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75819 <limits.h> exists even on freestanding compilers. */
75821 #ifdef __STDC__
75822 # include <limits.h>
75823 #else
75824 # include <assert.h>
75825 #endif
75827 #undef $ac_func
75829 /* Override any gcc2 internal prototype to avoid an error. */
75830 #ifdef __cplusplus
75831 extern "C"
75833 #endif
75834 /* We use char because int might match the return type of a gcc2
75835 builtin and then its argument prototype would still apply. */
75836 char $ac_func ();
75837 /* The GNU C library defines this for functions which it implements
75838 to always fail with ENOSYS. Some functions are actually named
75839 something starting with __ and the normal name is an alias. */
75840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75841 choke me
75842 #else
75843 char (*f) () = $ac_func;
75844 #endif
75845 #ifdef __cplusplus
75847 #endif
75850 main ()
75852 return f != $ac_func;
75854 return 0;
75856 _ACEOF
75857 rm -f conftest.$ac_objext conftest$ac_exeext
75858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75859 (eval $ac_link) 2>conftest.er1
75860 ac_status=$?
75861 grep -v '^ *+' conftest.er1 >conftest.err
75862 rm -f conftest.er1
75863 cat conftest.err >&5
75864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75865 (exit $ac_status); } &&
75866 { ac_try='test -z "$ac_c_werror_flag"
75867 || test ! -s conftest.err'
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); }; } &&
75873 { ac_try='test -s conftest$ac_exeext'
75874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75875 (eval $ac_try) 2>&5
75876 ac_status=$?
75877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75878 (exit $ac_status); }; }; then
75879 eval "$as_ac_var=yes"
75880 else
75881 echo "$as_me: failed program was:" >&5
75882 sed 's/^/| /' conftest.$ac_ext >&5
75884 eval "$as_ac_var=no"
75886 rm -f conftest.err conftest.$ac_objext \
75887 conftest$ac_exeext conftest.$ac_ext
75889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75891 if test `eval echo '${'$as_ac_var'}'` = yes; then
75892 cat >>confdefs.h <<_ACEOF
75893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75894 _ACEOF
75897 done
75915 echo "$as_me:$LINENO: checking for long double round functions" >&5
75916 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
75917 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
75918 echo $ECHO_N "(cached) $ECHO_C" >&6
75919 else
75923 ac_ext=cc
75924 ac_cpp='$CXXCPP $CPPFLAGS'
75925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75929 cat >conftest.$ac_ext <<_ACEOF
75930 /* confdefs.h. */
75931 _ACEOF
75932 cat confdefs.h >>conftest.$ac_ext
75933 cat >>conftest.$ac_ext <<_ACEOF
75934 /* end confdefs.h. */
75935 #include <math.h>
75937 main ()
75939 ceill (0); floorl (0);
75941 return 0;
75943 _ACEOF
75944 rm -f conftest.$ac_objext
75945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75946 (eval $ac_compile) 2>conftest.er1
75947 ac_status=$?
75948 grep -v '^ *+' conftest.er1 >conftest.err
75949 rm -f conftest.er1
75950 cat conftest.err >&5
75951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75952 (exit $ac_status); } &&
75953 { ac_try='test -z "$ac_cxx_werror_flag"
75954 || test ! -s conftest.err'
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); }; } &&
75960 { ac_try='test -s conftest.$ac_objext'
75961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75962 (eval $ac_try) 2>&5
75963 ac_status=$?
75964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75965 (exit $ac_status); }; }; then
75966 glibcxx_cv_func_long_double_round_use=yes
75967 else
75968 echo "$as_me: failed program was:" >&5
75969 sed 's/^/| /' conftest.$ac_ext >&5
75971 glibcxx_cv_func_long_double_round_use=no
75973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75974 ac_ext=c
75975 ac_cpp='$CPP $CPPFLAGS'
75976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75982 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
75983 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
75984 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75987 for ac_func in ceill floorl
75989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75990 echo "$as_me:$LINENO: checking for $ac_func" >&5
75991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75992 if eval "test \"\${$as_ac_var+set}\" = set"; then
75993 echo $ECHO_N "(cached) $ECHO_C" >&6
75994 else
75995 if test x$gcc_no_link = xyes; then
75996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75998 { (exit 1); exit 1; }; }
76000 cat >conftest.$ac_ext <<_ACEOF
76001 /* confdefs.h. */
76002 _ACEOF
76003 cat confdefs.h >>conftest.$ac_ext
76004 cat >>conftest.$ac_ext <<_ACEOF
76005 /* end confdefs.h. */
76006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76008 #define $ac_func innocuous_$ac_func
76010 /* System header to define __stub macros and hopefully few prototypes,
76011 which can conflict with char $ac_func (); below.
76012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76013 <limits.h> exists even on freestanding compilers. */
76015 #ifdef __STDC__
76016 # include <limits.h>
76017 #else
76018 # include <assert.h>
76019 #endif
76021 #undef $ac_func
76023 /* Override any gcc2 internal prototype to avoid an error. */
76024 #ifdef __cplusplus
76025 extern "C"
76027 #endif
76028 /* We use char because int might match the return type of a gcc2
76029 builtin and then its argument prototype would still apply. */
76030 char $ac_func ();
76031 /* The GNU C library defines this for functions which it implements
76032 to always fail with ENOSYS. Some functions are actually named
76033 something starting with __ and the normal name is an alias. */
76034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76035 choke me
76036 #else
76037 char (*f) () = $ac_func;
76038 #endif
76039 #ifdef __cplusplus
76041 #endif
76044 main ()
76046 return f != $ac_func;
76048 return 0;
76050 _ACEOF
76051 rm -f conftest.$ac_objext conftest$ac_exeext
76052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76053 (eval $ac_link) 2>conftest.er1
76054 ac_status=$?
76055 grep -v '^ *+' conftest.er1 >conftest.err
76056 rm -f conftest.er1
76057 cat conftest.err >&5
76058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76059 (exit $ac_status); } &&
76060 { ac_try='test -z "$ac_c_werror_flag"
76061 || test ! -s conftest.err'
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); }; } &&
76067 { ac_try='test -s conftest$ac_exeext'
76068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76069 (eval $ac_try) 2>&5
76070 ac_status=$?
76071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76072 (exit $ac_status); }; }; then
76073 eval "$as_ac_var=yes"
76074 else
76075 echo "$as_me: failed program was:" >&5
76076 sed 's/^/| /' conftest.$ac_ext >&5
76078 eval "$as_ac_var=no"
76080 rm -f conftest.err conftest.$ac_objext \
76081 conftest$ac_exeext conftest.$ac_ext
76083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76085 if test `eval echo '${'$as_ac_var'}'` = yes; then
76086 cat >>confdefs.h <<_ACEOF
76087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76088 _ACEOF
76091 done
76093 else
76094 echo "$as_me:$LINENO: checking for _long double round functions" >&5
76095 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
76096 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
76097 echo $ECHO_N "(cached) $ECHO_C" >&6
76098 else
76102 ac_ext=cc
76103 ac_cpp='$CXXCPP $CPPFLAGS'
76104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76108 cat >conftest.$ac_ext <<_ACEOF
76109 /* confdefs.h. */
76110 _ACEOF
76111 cat confdefs.h >>conftest.$ac_ext
76112 cat >>conftest.$ac_ext <<_ACEOF
76113 /* end confdefs.h. */
76114 #include <math.h>
76116 main ()
76118 _ceill (0); _floorl (0);
76120 return 0;
76122 _ACEOF
76123 rm -f conftest.$ac_objext
76124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76125 (eval $ac_compile) 2>conftest.er1
76126 ac_status=$?
76127 grep -v '^ *+' conftest.er1 >conftest.err
76128 rm -f conftest.er1
76129 cat conftest.err >&5
76130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76131 (exit $ac_status); } &&
76132 { ac_try='test -z "$ac_cxx_werror_flag"
76133 || test ! -s conftest.err'
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); }; } &&
76139 { ac_try='test -s conftest.$ac_objext'
76140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76141 (eval $ac_try) 2>&5
76142 ac_status=$?
76143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76144 (exit $ac_status); }; }; then
76145 glibcxx_cv_func__long_double_round_use=yes
76146 else
76147 echo "$as_me: failed program was:" >&5
76148 sed 's/^/| /' conftest.$ac_ext >&5
76150 glibcxx_cv_func__long_double_round_use=no
76152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76153 ac_ext=c
76154 ac_cpp='$CPP $CPPFLAGS'
76155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76161 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
76162 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
76163 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
76166 for ac_func in _ceill _floorl
76168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76169 echo "$as_me:$LINENO: checking for $ac_func" >&5
76170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76171 if eval "test \"\${$as_ac_var+set}\" = set"; then
76172 echo $ECHO_N "(cached) $ECHO_C" >&6
76173 else
76174 if test x$gcc_no_link = xyes; then
76175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76177 { (exit 1); exit 1; }; }
76179 cat >conftest.$ac_ext <<_ACEOF
76180 /* confdefs.h. */
76181 _ACEOF
76182 cat confdefs.h >>conftest.$ac_ext
76183 cat >>conftest.$ac_ext <<_ACEOF
76184 /* end confdefs.h. */
76185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76187 #define $ac_func innocuous_$ac_func
76189 /* System header to define __stub macros and hopefully few prototypes,
76190 which can conflict with char $ac_func (); below.
76191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76192 <limits.h> exists even on freestanding compilers. */
76194 #ifdef __STDC__
76195 # include <limits.h>
76196 #else
76197 # include <assert.h>
76198 #endif
76200 #undef $ac_func
76202 /* Override any gcc2 internal prototype to avoid an error. */
76203 #ifdef __cplusplus
76204 extern "C"
76206 #endif
76207 /* We use char because int might match the return type of a gcc2
76208 builtin and then its argument prototype would still apply. */
76209 char $ac_func ();
76210 /* The GNU C library defines this for functions which it implements
76211 to always fail with ENOSYS. Some functions are actually named
76212 something starting with __ and the normal name is an alias. */
76213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76214 choke me
76215 #else
76216 char (*f) () = $ac_func;
76217 #endif
76218 #ifdef __cplusplus
76220 #endif
76223 main ()
76225 return f != $ac_func;
76227 return 0;
76229 _ACEOF
76230 rm -f conftest.$ac_objext conftest$ac_exeext
76231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76232 (eval $ac_link) 2>conftest.er1
76233 ac_status=$?
76234 grep -v '^ *+' conftest.er1 >conftest.err
76235 rm -f conftest.er1
76236 cat conftest.err >&5
76237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76238 (exit $ac_status); } &&
76239 { ac_try='test -z "$ac_c_werror_flag"
76240 || test ! -s conftest.err'
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); }; } &&
76246 { ac_try='test -s conftest$ac_exeext'
76247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76248 (eval $ac_try) 2>&5
76249 ac_status=$?
76250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76251 (exit $ac_status); }; }; then
76252 eval "$as_ac_var=yes"
76253 else
76254 echo "$as_me: failed program was:" >&5
76255 sed 's/^/| /' conftest.$ac_ext >&5
76257 eval "$as_ac_var=no"
76259 rm -f conftest.err conftest.$ac_objext \
76260 conftest$ac_exeext conftest.$ac_ext
76262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76264 if test `eval echo '${'$as_ac_var'}'` = yes; then
76265 cat >>confdefs.h <<_ACEOF
76266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76267 _ACEOF
76270 done
76282 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
76283 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
76284 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76285 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
76286 echo $ECHO_N "(cached) $ECHO_C" >&6
76287 else
76291 ac_ext=cc
76292 ac_cpp='$CXXCPP $CPPFLAGS'
76293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76297 cat >conftest.$ac_ext <<_ACEOF
76298 /* confdefs.h. */
76299 _ACEOF
76300 cat confdefs.h >>conftest.$ac_ext
76301 cat >>conftest.$ac_ext <<_ACEOF
76302 /* end confdefs.h. */
76303 #include <math.h>
76304 #ifdef HAVE_IEEEFP_H
76305 #include <ieeefp.h>
76306 #endif
76309 main ()
76311 isnanl(0);
76313 return 0;
76315 _ACEOF
76316 rm -f conftest.$ac_objext
76317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76318 (eval $ac_compile) 2>conftest.er1
76319 ac_status=$?
76320 grep -v '^ *+' conftest.er1 >conftest.err
76321 rm -f conftest.er1
76322 cat conftest.err >&5
76323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76324 (exit $ac_status); } &&
76325 { ac_try='test -z "$ac_cxx_werror_flag"
76326 || test ! -s conftest.err'
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); }; } &&
76332 { ac_try='test -s conftest.$ac_objext'
76333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76334 (eval $ac_try) 2>&5
76335 ac_status=$?
76336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76337 (exit $ac_status); }; }; then
76338 glibcxx_cv_func_isnanl_use=yes
76339 else
76340 echo "$as_me: failed program was:" >&5
76341 sed 's/^/| /' conftest.$ac_ext >&5
76343 glibcxx_cv_func_isnanl_use=no
76345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76346 ac_ext=c
76347 ac_cpp='$CPP $CPPFLAGS'
76348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76356 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
76357 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
76359 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76361 for ac_func in isnanl
76363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76364 echo "$as_me:$LINENO: checking for $ac_func" >&5
76365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76366 if eval "test \"\${$as_ac_var+set}\" = set"; then
76367 echo $ECHO_N "(cached) $ECHO_C" >&6
76368 else
76369 if test x$gcc_no_link = xyes; then
76370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76372 { (exit 1); exit 1; }; }
76374 cat >conftest.$ac_ext <<_ACEOF
76375 /* confdefs.h. */
76376 _ACEOF
76377 cat confdefs.h >>conftest.$ac_ext
76378 cat >>conftest.$ac_ext <<_ACEOF
76379 /* end confdefs.h. */
76380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76382 #define $ac_func innocuous_$ac_func
76384 /* System header to define __stub macros and hopefully few prototypes,
76385 which can conflict with char $ac_func (); below.
76386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76387 <limits.h> exists even on freestanding compilers. */
76389 #ifdef __STDC__
76390 # include <limits.h>
76391 #else
76392 # include <assert.h>
76393 #endif
76395 #undef $ac_func
76397 /* Override any gcc2 internal prototype to avoid an error. */
76398 #ifdef __cplusplus
76399 extern "C"
76401 #endif
76402 /* We use char because int might match the return type of a gcc2
76403 builtin and then its argument prototype would still apply. */
76404 char $ac_func ();
76405 /* The GNU C library defines this for functions which it implements
76406 to always fail with ENOSYS. Some functions are actually named
76407 something starting with __ and the normal name is an alias. */
76408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76409 choke me
76410 #else
76411 char (*f) () = $ac_func;
76412 #endif
76413 #ifdef __cplusplus
76415 #endif
76418 main ()
76420 return f != $ac_func;
76422 return 0;
76424 _ACEOF
76425 rm -f conftest.$ac_objext conftest$ac_exeext
76426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76427 (eval $ac_link) 2>conftest.er1
76428 ac_status=$?
76429 grep -v '^ *+' conftest.er1 >conftest.err
76430 rm -f conftest.er1
76431 cat conftest.err >&5
76432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76433 (exit $ac_status); } &&
76434 { ac_try='test -z "$ac_c_werror_flag"
76435 || test ! -s conftest.err'
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); }; } &&
76441 { ac_try='test -s conftest$ac_exeext'
76442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76443 (eval $ac_try) 2>&5
76444 ac_status=$?
76445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76446 (exit $ac_status); }; }; then
76447 eval "$as_ac_var=yes"
76448 else
76449 echo "$as_me: failed program was:" >&5
76450 sed 's/^/| /' conftest.$ac_ext >&5
76452 eval "$as_ac_var=no"
76454 rm -f conftest.err conftest.$ac_objext \
76455 conftest$ac_exeext conftest.$ac_ext
76457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76459 if test `eval echo '${'$as_ac_var'}'` = yes; then
76460 cat >>confdefs.h <<_ACEOF
76461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76462 _ACEOF
76465 done
76467 else
76469 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
76470 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
76471 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76472 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
76473 echo $ECHO_N "(cached) $ECHO_C" >&6
76474 else
76478 ac_ext=cc
76479 ac_cpp='$CXXCPP $CPPFLAGS'
76480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76484 cat >conftest.$ac_ext <<_ACEOF
76485 /* confdefs.h. */
76486 _ACEOF
76487 cat confdefs.h >>conftest.$ac_ext
76488 cat >>conftest.$ac_ext <<_ACEOF
76489 /* end confdefs.h. */
76490 #include <math.h>
76491 #ifdef HAVE_IEEEFP_H
76492 #include <ieeefp.h>
76493 #endif
76496 main ()
76498 _isnanl(0);
76500 return 0;
76502 _ACEOF
76503 rm -f conftest.$ac_objext
76504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76505 (eval $ac_compile) 2>conftest.er1
76506 ac_status=$?
76507 grep -v '^ *+' conftest.er1 >conftest.err
76508 rm -f conftest.er1
76509 cat conftest.err >&5
76510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76511 (exit $ac_status); } &&
76512 { ac_try='test -z "$ac_cxx_werror_flag"
76513 || test ! -s conftest.err'
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); }; } &&
76519 { ac_try='test -s conftest.$ac_objext'
76520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76521 (eval $ac_try) 2>&5
76522 ac_status=$?
76523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76524 (exit $ac_status); }; }; then
76525 glibcxx_cv_func__isnanl_use=yes
76526 else
76527 echo "$as_me: failed program was:" >&5
76528 sed 's/^/| /' conftest.$ac_ext >&5
76530 glibcxx_cv_func__isnanl_use=no
76532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76533 ac_ext=c
76534 ac_cpp='$CPP $CPPFLAGS'
76535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76543 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
76544 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
76546 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76548 for ac_func in _isnanl
76550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76551 echo "$as_me:$LINENO: checking for $ac_func" >&5
76552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76553 if eval "test \"\${$as_ac_var+set}\" = set"; then
76554 echo $ECHO_N "(cached) $ECHO_C" >&6
76555 else
76556 if test x$gcc_no_link = xyes; then
76557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76559 { (exit 1); exit 1; }; }
76561 cat >conftest.$ac_ext <<_ACEOF
76562 /* confdefs.h. */
76563 _ACEOF
76564 cat confdefs.h >>conftest.$ac_ext
76565 cat >>conftest.$ac_ext <<_ACEOF
76566 /* end confdefs.h. */
76567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76569 #define $ac_func innocuous_$ac_func
76571 /* System header to define __stub macros and hopefully few prototypes,
76572 which can conflict with char $ac_func (); below.
76573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76574 <limits.h> exists even on freestanding compilers. */
76576 #ifdef __STDC__
76577 # include <limits.h>
76578 #else
76579 # include <assert.h>
76580 #endif
76582 #undef $ac_func
76584 /* Override any gcc2 internal prototype to avoid an error. */
76585 #ifdef __cplusplus
76586 extern "C"
76588 #endif
76589 /* We use char because int might match the return type of a gcc2
76590 builtin and then its argument prototype would still apply. */
76591 char $ac_func ();
76592 /* The GNU C library defines this for functions which it implements
76593 to always fail with ENOSYS. Some functions are actually named
76594 something starting with __ and the normal name is an alias. */
76595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76596 choke me
76597 #else
76598 char (*f) () = $ac_func;
76599 #endif
76600 #ifdef __cplusplus
76602 #endif
76605 main ()
76607 return f != $ac_func;
76609 return 0;
76611 _ACEOF
76612 rm -f conftest.$ac_objext conftest$ac_exeext
76613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76614 (eval $ac_link) 2>conftest.er1
76615 ac_status=$?
76616 grep -v '^ *+' conftest.er1 >conftest.err
76617 rm -f conftest.er1
76618 cat conftest.err >&5
76619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76620 (exit $ac_status); } &&
76621 { ac_try='test -z "$ac_c_werror_flag"
76622 || test ! -s conftest.err'
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); }; } &&
76628 { ac_try='test -s conftest$ac_exeext'
76629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76630 (eval $ac_try) 2>&5
76631 ac_status=$?
76632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76633 (exit $ac_status); }; }; then
76634 eval "$as_ac_var=yes"
76635 else
76636 echo "$as_me: failed program was:" >&5
76637 sed 's/^/| /' conftest.$ac_ext >&5
76639 eval "$as_ac_var=no"
76641 rm -f conftest.err conftest.$ac_objext \
76642 conftest$ac_exeext conftest.$ac_ext
76644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76646 if test `eval echo '${'$as_ac_var'}'` = yes; then
76647 cat >>confdefs.h <<_ACEOF
76648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76649 _ACEOF
76652 done
76662 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
76663 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
76664 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76665 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
76666 echo $ECHO_N "(cached) $ECHO_C" >&6
76667 else
76671 ac_ext=cc
76672 ac_cpp='$CXXCPP $CPPFLAGS'
76673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76677 cat >conftest.$ac_ext <<_ACEOF
76678 /* confdefs.h. */
76679 _ACEOF
76680 cat confdefs.h >>conftest.$ac_ext
76681 cat >>conftest.$ac_ext <<_ACEOF
76682 /* end confdefs.h. */
76683 #include <math.h>
76684 #ifdef HAVE_IEEEFP_H
76685 #include <ieeefp.h>
76686 #endif
76689 main ()
76691 isinfl(0);
76693 return 0;
76695 _ACEOF
76696 rm -f conftest.$ac_objext
76697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76698 (eval $ac_compile) 2>conftest.er1
76699 ac_status=$?
76700 grep -v '^ *+' conftest.er1 >conftest.err
76701 rm -f conftest.er1
76702 cat conftest.err >&5
76703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76704 (exit $ac_status); } &&
76705 { ac_try='test -z "$ac_cxx_werror_flag"
76706 || test ! -s conftest.err'
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); }; } &&
76712 { ac_try='test -s conftest.$ac_objext'
76713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76714 (eval $ac_try) 2>&5
76715 ac_status=$?
76716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76717 (exit $ac_status); }; }; then
76718 glibcxx_cv_func_isinfl_use=yes
76719 else
76720 echo "$as_me: failed program was:" >&5
76721 sed 's/^/| /' conftest.$ac_ext >&5
76723 glibcxx_cv_func_isinfl_use=no
76725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76726 ac_ext=c
76727 ac_cpp='$CPP $CPPFLAGS'
76728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76736 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
76737 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
76739 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76741 for ac_func in isinfl
76743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76744 echo "$as_me:$LINENO: checking for $ac_func" >&5
76745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76746 if eval "test \"\${$as_ac_var+set}\" = set"; then
76747 echo $ECHO_N "(cached) $ECHO_C" >&6
76748 else
76749 if test x$gcc_no_link = xyes; then
76750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76752 { (exit 1); exit 1; }; }
76754 cat >conftest.$ac_ext <<_ACEOF
76755 /* confdefs.h. */
76756 _ACEOF
76757 cat confdefs.h >>conftest.$ac_ext
76758 cat >>conftest.$ac_ext <<_ACEOF
76759 /* end confdefs.h. */
76760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76762 #define $ac_func innocuous_$ac_func
76764 /* System header to define __stub macros and hopefully few prototypes,
76765 which can conflict with char $ac_func (); below.
76766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76767 <limits.h> exists even on freestanding compilers. */
76769 #ifdef __STDC__
76770 # include <limits.h>
76771 #else
76772 # include <assert.h>
76773 #endif
76775 #undef $ac_func
76777 /* Override any gcc2 internal prototype to avoid an error. */
76778 #ifdef __cplusplus
76779 extern "C"
76781 #endif
76782 /* We use char because int might match the return type of a gcc2
76783 builtin and then its argument prototype would still apply. */
76784 char $ac_func ();
76785 /* The GNU C library defines this for functions which it implements
76786 to always fail with ENOSYS. Some functions are actually named
76787 something starting with __ and the normal name is an alias. */
76788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76789 choke me
76790 #else
76791 char (*f) () = $ac_func;
76792 #endif
76793 #ifdef __cplusplus
76795 #endif
76798 main ()
76800 return f != $ac_func;
76802 return 0;
76804 _ACEOF
76805 rm -f conftest.$ac_objext conftest$ac_exeext
76806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76807 (eval $ac_link) 2>conftest.er1
76808 ac_status=$?
76809 grep -v '^ *+' conftest.er1 >conftest.err
76810 rm -f conftest.er1
76811 cat conftest.err >&5
76812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76813 (exit $ac_status); } &&
76814 { ac_try='test -z "$ac_c_werror_flag"
76815 || test ! -s conftest.err'
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); }; } &&
76821 { ac_try='test -s conftest$ac_exeext'
76822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76823 (eval $ac_try) 2>&5
76824 ac_status=$?
76825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76826 (exit $ac_status); }; }; then
76827 eval "$as_ac_var=yes"
76828 else
76829 echo "$as_me: failed program was:" >&5
76830 sed 's/^/| /' conftest.$ac_ext >&5
76832 eval "$as_ac_var=no"
76834 rm -f conftest.err conftest.$ac_objext \
76835 conftest$ac_exeext conftest.$ac_ext
76837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76839 if test `eval echo '${'$as_ac_var'}'` = yes; then
76840 cat >>confdefs.h <<_ACEOF
76841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76842 _ACEOF
76845 done
76847 else
76849 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
76850 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
76851 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76852 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
76853 echo $ECHO_N "(cached) $ECHO_C" >&6
76854 else
76858 ac_ext=cc
76859 ac_cpp='$CXXCPP $CPPFLAGS'
76860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76864 cat >conftest.$ac_ext <<_ACEOF
76865 /* confdefs.h. */
76866 _ACEOF
76867 cat confdefs.h >>conftest.$ac_ext
76868 cat >>conftest.$ac_ext <<_ACEOF
76869 /* end confdefs.h. */
76870 #include <math.h>
76871 #ifdef HAVE_IEEEFP_H
76872 #include <ieeefp.h>
76873 #endif
76876 main ()
76878 _isinfl(0);
76880 return 0;
76882 _ACEOF
76883 rm -f conftest.$ac_objext
76884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76885 (eval $ac_compile) 2>conftest.er1
76886 ac_status=$?
76887 grep -v '^ *+' conftest.er1 >conftest.err
76888 rm -f conftest.er1
76889 cat conftest.err >&5
76890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76891 (exit $ac_status); } &&
76892 { ac_try='test -z "$ac_cxx_werror_flag"
76893 || test ! -s conftest.err'
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); }; } &&
76899 { ac_try='test -s conftest.$ac_objext'
76900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76901 (eval $ac_try) 2>&5
76902 ac_status=$?
76903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76904 (exit $ac_status); }; }; then
76905 glibcxx_cv_func__isinfl_use=yes
76906 else
76907 echo "$as_me: failed program was:" >&5
76908 sed 's/^/| /' conftest.$ac_ext >&5
76910 glibcxx_cv_func__isinfl_use=no
76912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76913 ac_ext=c
76914 ac_cpp='$CPP $CPPFLAGS'
76915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76923 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
76924 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
76926 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76928 for ac_func in _isinfl
76930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76931 echo "$as_me:$LINENO: checking for $ac_func" >&5
76932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76933 if eval "test \"\${$as_ac_var+set}\" = set"; then
76934 echo $ECHO_N "(cached) $ECHO_C" >&6
76935 else
76936 if test x$gcc_no_link = xyes; then
76937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76939 { (exit 1); exit 1; }; }
76941 cat >conftest.$ac_ext <<_ACEOF
76942 /* confdefs.h. */
76943 _ACEOF
76944 cat confdefs.h >>conftest.$ac_ext
76945 cat >>conftest.$ac_ext <<_ACEOF
76946 /* end confdefs.h. */
76947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76949 #define $ac_func innocuous_$ac_func
76951 /* System header to define __stub macros and hopefully few prototypes,
76952 which can conflict with char $ac_func (); below.
76953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76954 <limits.h> exists even on freestanding compilers. */
76956 #ifdef __STDC__
76957 # include <limits.h>
76958 #else
76959 # include <assert.h>
76960 #endif
76962 #undef $ac_func
76964 /* Override any gcc2 internal prototype to avoid an error. */
76965 #ifdef __cplusplus
76966 extern "C"
76968 #endif
76969 /* We use char because int might match the return type of a gcc2
76970 builtin and then its argument prototype would still apply. */
76971 char $ac_func ();
76972 /* The GNU C library defines this for functions which it implements
76973 to always fail with ENOSYS. Some functions are actually named
76974 something starting with __ and the normal name is an alias. */
76975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76976 choke me
76977 #else
76978 char (*f) () = $ac_func;
76979 #endif
76980 #ifdef __cplusplus
76982 #endif
76985 main ()
76987 return f != $ac_func;
76989 return 0;
76991 _ACEOF
76992 rm -f conftest.$ac_objext conftest$ac_exeext
76993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76994 (eval $ac_link) 2>conftest.er1
76995 ac_status=$?
76996 grep -v '^ *+' conftest.er1 >conftest.err
76997 rm -f conftest.er1
76998 cat conftest.err >&5
76999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77000 (exit $ac_status); } &&
77001 { ac_try='test -z "$ac_c_werror_flag"
77002 || test ! -s conftest.err'
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); }; } &&
77008 { ac_try='test -s conftest$ac_exeext'
77009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77010 (eval $ac_try) 2>&5
77011 ac_status=$?
77012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77013 (exit $ac_status); }; }; then
77014 eval "$as_ac_var=yes"
77015 else
77016 echo "$as_me: failed program was:" >&5
77017 sed 's/^/| /' conftest.$ac_ext >&5
77019 eval "$as_ac_var=no"
77021 rm -f conftest.err conftest.$ac_objext \
77022 conftest$ac_exeext conftest.$ac_ext
77024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77026 if test `eval echo '${'$as_ac_var'}'` = yes; then
77027 cat >>confdefs.h <<_ACEOF
77028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77029 _ACEOF
77032 done
77042 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
77043 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
77044 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
77045 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
77046 echo $ECHO_N "(cached) $ECHO_C" >&6
77047 else
77051 ac_ext=cc
77052 ac_cpp='$CXXCPP $CPPFLAGS'
77053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77057 cat >conftest.$ac_ext <<_ACEOF
77058 /* confdefs.h. */
77059 _ACEOF
77060 cat confdefs.h >>conftest.$ac_ext
77061 cat >>conftest.$ac_ext <<_ACEOF
77062 /* end confdefs.h. */
77063 #include <math.h>
77065 main ()
77067 copysignl(0, 0);
77069 return 0;
77071 _ACEOF
77072 rm -f conftest.$ac_objext
77073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77074 (eval $ac_compile) 2>conftest.er1
77075 ac_status=$?
77076 grep -v '^ *+' conftest.er1 >conftest.err
77077 rm -f conftest.er1
77078 cat conftest.err >&5
77079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77080 (exit $ac_status); } &&
77081 { ac_try='test -z "$ac_cxx_werror_flag"
77082 || test ! -s conftest.err'
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); }; } &&
77088 { ac_try='test -s conftest.$ac_objext'
77089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77090 (eval $ac_try) 2>&5
77091 ac_status=$?
77092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77093 (exit $ac_status); }; }; then
77094 glibcxx_cv_func_copysignl_use=yes
77095 else
77096 echo "$as_me: failed program was:" >&5
77097 sed 's/^/| /' conftest.$ac_ext >&5
77099 glibcxx_cv_func_copysignl_use=no
77101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77102 ac_ext=c
77103 ac_cpp='$CPP $CPPFLAGS'
77104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77112 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
77113 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
77115 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
77117 for ac_func in copysignl
77119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77120 echo "$as_me:$LINENO: checking for $ac_func" >&5
77121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77122 if eval "test \"\${$as_ac_var+set}\" = set"; then
77123 echo $ECHO_N "(cached) $ECHO_C" >&6
77124 else
77125 if test x$gcc_no_link = xyes; then
77126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77128 { (exit 1); exit 1; }; }
77130 cat >conftest.$ac_ext <<_ACEOF
77131 /* confdefs.h. */
77132 _ACEOF
77133 cat confdefs.h >>conftest.$ac_ext
77134 cat >>conftest.$ac_ext <<_ACEOF
77135 /* end confdefs.h. */
77136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77138 #define $ac_func innocuous_$ac_func
77140 /* System header to define __stub macros and hopefully few prototypes,
77141 which can conflict with char $ac_func (); below.
77142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77143 <limits.h> exists even on freestanding compilers. */
77145 #ifdef __STDC__
77146 # include <limits.h>
77147 #else
77148 # include <assert.h>
77149 #endif
77151 #undef $ac_func
77153 /* Override any gcc2 internal prototype to avoid an error. */
77154 #ifdef __cplusplus
77155 extern "C"
77157 #endif
77158 /* We use char because int might match the return type of a gcc2
77159 builtin and then its argument prototype would still apply. */
77160 char $ac_func ();
77161 /* The GNU C library defines this for functions which it implements
77162 to always fail with ENOSYS. Some functions are actually named
77163 something starting with __ and the normal name is an alias. */
77164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77165 choke me
77166 #else
77167 char (*f) () = $ac_func;
77168 #endif
77169 #ifdef __cplusplus
77171 #endif
77174 main ()
77176 return f != $ac_func;
77178 return 0;
77180 _ACEOF
77181 rm -f conftest.$ac_objext conftest$ac_exeext
77182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77183 (eval $ac_link) 2>conftest.er1
77184 ac_status=$?
77185 grep -v '^ *+' conftest.er1 >conftest.err
77186 rm -f conftest.er1
77187 cat conftest.err >&5
77188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77189 (exit $ac_status); } &&
77190 { ac_try='test -z "$ac_c_werror_flag"
77191 || test ! -s conftest.err'
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); }; } &&
77197 { ac_try='test -s conftest$ac_exeext'
77198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77199 (eval $ac_try) 2>&5
77200 ac_status=$?
77201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77202 (exit $ac_status); }; }; then
77203 eval "$as_ac_var=yes"
77204 else
77205 echo "$as_me: failed program was:" >&5
77206 sed 's/^/| /' conftest.$ac_ext >&5
77208 eval "$as_ac_var=no"
77210 rm -f conftest.err conftest.$ac_objext \
77211 conftest$ac_exeext conftest.$ac_ext
77213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77215 if test `eval echo '${'$as_ac_var'}'` = yes; then
77216 cat >>confdefs.h <<_ACEOF
77217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77218 _ACEOF
77221 done
77223 else
77225 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
77226 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
77227 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
77228 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
77229 echo $ECHO_N "(cached) $ECHO_C" >&6
77230 else
77234 ac_ext=cc
77235 ac_cpp='$CXXCPP $CPPFLAGS'
77236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77240 cat >conftest.$ac_ext <<_ACEOF
77241 /* confdefs.h. */
77242 _ACEOF
77243 cat confdefs.h >>conftest.$ac_ext
77244 cat >>conftest.$ac_ext <<_ACEOF
77245 /* end confdefs.h. */
77246 #include <math.h>
77248 main ()
77250 _copysignl(0, 0);
77252 return 0;
77254 _ACEOF
77255 rm -f conftest.$ac_objext
77256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77257 (eval $ac_compile) 2>conftest.er1
77258 ac_status=$?
77259 grep -v '^ *+' conftest.er1 >conftest.err
77260 rm -f conftest.er1
77261 cat conftest.err >&5
77262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77263 (exit $ac_status); } &&
77264 { ac_try='test -z "$ac_cxx_werror_flag"
77265 || test ! -s conftest.err'
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); }; } &&
77271 { ac_try='test -s conftest.$ac_objext'
77272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77273 (eval $ac_try) 2>&5
77274 ac_status=$?
77275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77276 (exit $ac_status); }; }; then
77277 glibcxx_cv_func__copysignl_use=yes
77278 else
77279 echo "$as_me: failed program was:" >&5
77280 sed 's/^/| /' conftest.$ac_ext >&5
77282 glibcxx_cv_func__copysignl_use=no
77284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77285 ac_ext=c
77286 ac_cpp='$CPP $CPPFLAGS'
77287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77295 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
77296 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
77298 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
77300 for ac_func in _copysignl
77302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77303 echo "$as_me:$LINENO: checking for $ac_func" >&5
77304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77305 if eval "test \"\${$as_ac_var+set}\" = set"; then
77306 echo $ECHO_N "(cached) $ECHO_C" >&6
77307 else
77308 if test x$gcc_no_link = xyes; then
77309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77311 { (exit 1); exit 1; }; }
77313 cat >conftest.$ac_ext <<_ACEOF
77314 /* confdefs.h. */
77315 _ACEOF
77316 cat confdefs.h >>conftest.$ac_ext
77317 cat >>conftest.$ac_ext <<_ACEOF
77318 /* end confdefs.h. */
77319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77321 #define $ac_func innocuous_$ac_func
77323 /* System header to define __stub macros and hopefully few prototypes,
77324 which can conflict with char $ac_func (); below.
77325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77326 <limits.h> exists even on freestanding compilers. */
77328 #ifdef __STDC__
77329 # include <limits.h>
77330 #else
77331 # include <assert.h>
77332 #endif
77334 #undef $ac_func
77336 /* Override any gcc2 internal prototype to avoid an error. */
77337 #ifdef __cplusplus
77338 extern "C"
77340 #endif
77341 /* We use char because int might match the return type of a gcc2
77342 builtin and then its argument prototype would still apply. */
77343 char $ac_func ();
77344 /* The GNU C library defines this for functions which it implements
77345 to always fail with ENOSYS. Some functions are actually named
77346 something starting with __ and the normal name is an alias. */
77347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77348 choke me
77349 #else
77350 char (*f) () = $ac_func;
77351 #endif
77352 #ifdef __cplusplus
77354 #endif
77357 main ()
77359 return f != $ac_func;
77361 return 0;
77363 _ACEOF
77364 rm -f conftest.$ac_objext conftest$ac_exeext
77365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77366 (eval $ac_link) 2>conftest.er1
77367 ac_status=$?
77368 grep -v '^ *+' conftest.er1 >conftest.err
77369 rm -f conftest.er1
77370 cat conftest.err >&5
77371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77372 (exit $ac_status); } &&
77373 { ac_try='test -z "$ac_c_werror_flag"
77374 || test ! -s conftest.err'
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); }; } &&
77380 { ac_try='test -s conftest$ac_exeext'
77381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77382 (eval $ac_try) 2>&5
77383 ac_status=$?
77384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77385 (exit $ac_status); }; }; then
77386 eval "$as_ac_var=yes"
77387 else
77388 echo "$as_me: failed program was:" >&5
77389 sed 's/^/| /' conftest.$ac_ext >&5
77391 eval "$as_ac_var=no"
77393 rm -f conftest.err conftest.$ac_objext \
77394 conftest$ac_exeext conftest.$ac_ext
77396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77398 if test `eval echo '${'$as_ac_var'}'` = yes; then
77399 cat >>confdefs.h <<_ACEOF
77400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77401 _ACEOF
77404 done
77414 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
77415 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
77416 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
77417 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
77418 echo $ECHO_N "(cached) $ECHO_C" >&6
77419 else
77423 ac_ext=cc
77424 ac_cpp='$CXXCPP $CPPFLAGS'
77425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77429 cat >conftest.$ac_ext <<_ACEOF
77430 /* confdefs.h. */
77431 _ACEOF
77432 cat confdefs.h >>conftest.$ac_ext
77433 cat >>conftest.$ac_ext <<_ACEOF
77434 /* end confdefs.h. */
77435 #include <math.h>
77437 main ()
77439 atan2l(0, 0);
77441 return 0;
77443 _ACEOF
77444 rm -f conftest.$ac_objext
77445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77446 (eval $ac_compile) 2>conftest.er1
77447 ac_status=$?
77448 grep -v '^ *+' conftest.er1 >conftest.err
77449 rm -f conftest.er1
77450 cat conftest.err >&5
77451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77452 (exit $ac_status); } &&
77453 { ac_try='test -z "$ac_cxx_werror_flag"
77454 || test ! -s conftest.err'
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); }; } &&
77460 { ac_try='test -s conftest.$ac_objext'
77461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77462 (eval $ac_try) 2>&5
77463 ac_status=$?
77464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77465 (exit $ac_status); }; }; then
77466 glibcxx_cv_func_atan2l_use=yes
77467 else
77468 echo "$as_me: failed program was:" >&5
77469 sed 's/^/| /' conftest.$ac_ext >&5
77471 glibcxx_cv_func_atan2l_use=no
77473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77474 ac_ext=c
77475 ac_cpp='$CPP $CPPFLAGS'
77476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77484 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
77485 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
77487 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
77489 for ac_func in atan2l
77491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77492 echo "$as_me:$LINENO: checking for $ac_func" >&5
77493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77494 if eval "test \"\${$as_ac_var+set}\" = set"; then
77495 echo $ECHO_N "(cached) $ECHO_C" >&6
77496 else
77497 if test x$gcc_no_link = xyes; then
77498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77500 { (exit 1); exit 1; }; }
77502 cat >conftest.$ac_ext <<_ACEOF
77503 /* confdefs.h. */
77504 _ACEOF
77505 cat confdefs.h >>conftest.$ac_ext
77506 cat >>conftest.$ac_ext <<_ACEOF
77507 /* end confdefs.h. */
77508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77510 #define $ac_func innocuous_$ac_func
77512 /* System header to define __stub macros and hopefully few prototypes,
77513 which can conflict with char $ac_func (); below.
77514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77515 <limits.h> exists even on freestanding compilers. */
77517 #ifdef __STDC__
77518 # include <limits.h>
77519 #else
77520 # include <assert.h>
77521 #endif
77523 #undef $ac_func
77525 /* Override any gcc2 internal prototype to avoid an error. */
77526 #ifdef __cplusplus
77527 extern "C"
77529 #endif
77530 /* We use char because int might match the return type of a gcc2
77531 builtin and then its argument prototype would still apply. */
77532 char $ac_func ();
77533 /* The GNU C library defines this for functions which it implements
77534 to always fail with ENOSYS. Some functions are actually named
77535 something starting with __ and the normal name is an alias. */
77536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77537 choke me
77538 #else
77539 char (*f) () = $ac_func;
77540 #endif
77541 #ifdef __cplusplus
77543 #endif
77546 main ()
77548 return f != $ac_func;
77550 return 0;
77552 _ACEOF
77553 rm -f conftest.$ac_objext conftest$ac_exeext
77554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77555 (eval $ac_link) 2>conftest.er1
77556 ac_status=$?
77557 grep -v '^ *+' conftest.er1 >conftest.err
77558 rm -f conftest.er1
77559 cat conftest.err >&5
77560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77561 (exit $ac_status); } &&
77562 { ac_try='test -z "$ac_c_werror_flag"
77563 || test ! -s conftest.err'
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); }; } &&
77569 { ac_try='test -s conftest$ac_exeext'
77570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77571 (eval $ac_try) 2>&5
77572 ac_status=$?
77573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77574 (exit $ac_status); }; }; then
77575 eval "$as_ac_var=yes"
77576 else
77577 echo "$as_me: failed program was:" >&5
77578 sed 's/^/| /' conftest.$ac_ext >&5
77580 eval "$as_ac_var=no"
77582 rm -f conftest.err conftest.$ac_objext \
77583 conftest$ac_exeext conftest.$ac_ext
77585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77587 if test `eval echo '${'$as_ac_var'}'` = yes; then
77588 cat >>confdefs.h <<_ACEOF
77589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77590 _ACEOF
77593 done
77595 else
77597 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
77598 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
77599 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
77600 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
77601 echo $ECHO_N "(cached) $ECHO_C" >&6
77602 else
77606 ac_ext=cc
77607 ac_cpp='$CXXCPP $CPPFLAGS'
77608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77612 cat >conftest.$ac_ext <<_ACEOF
77613 /* confdefs.h. */
77614 _ACEOF
77615 cat confdefs.h >>conftest.$ac_ext
77616 cat >>conftest.$ac_ext <<_ACEOF
77617 /* end confdefs.h. */
77618 #include <math.h>
77620 main ()
77622 _atan2l(0, 0);
77624 return 0;
77626 _ACEOF
77627 rm -f conftest.$ac_objext
77628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77629 (eval $ac_compile) 2>conftest.er1
77630 ac_status=$?
77631 grep -v '^ *+' conftest.er1 >conftest.err
77632 rm -f conftest.er1
77633 cat conftest.err >&5
77634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77635 (exit $ac_status); } &&
77636 { ac_try='test -z "$ac_cxx_werror_flag"
77637 || test ! -s conftest.err'
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); }; } &&
77643 { ac_try='test -s conftest.$ac_objext'
77644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77645 (eval $ac_try) 2>&5
77646 ac_status=$?
77647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77648 (exit $ac_status); }; }; then
77649 glibcxx_cv_func__atan2l_use=yes
77650 else
77651 echo "$as_me: failed program was:" >&5
77652 sed 's/^/| /' conftest.$ac_ext >&5
77654 glibcxx_cv_func__atan2l_use=no
77656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77657 ac_ext=c
77658 ac_cpp='$CPP $CPPFLAGS'
77659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77667 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
77668 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
77670 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
77672 for ac_func in _atan2l
77674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77675 echo "$as_me:$LINENO: checking for $ac_func" >&5
77676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77677 if eval "test \"\${$as_ac_var+set}\" = set"; then
77678 echo $ECHO_N "(cached) $ECHO_C" >&6
77679 else
77680 if test x$gcc_no_link = xyes; then
77681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77683 { (exit 1); exit 1; }; }
77685 cat >conftest.$ac_ext <<_ACEOF
77686 /* confdefs.h. */
77687 _ACEOF
77688 cat confdefs.h >>conftest.$ac_ext
77689 cat >>conftest.$ac_ext <<_ACEOF
77690 /* end confdefs.h. */
77691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77693 #define $ac_func innocuous_$ac_func
77695 /* System header to define __stub macros and hopefully few prototypes,
77696 which can conflict with char $ac_func (); below.
77697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77698 <limits.h> exists even on freestanding compilers. */
77700 #ifdef __STDC__
77701 # include <limits.h>
77702 #else
77703 # include <assert.h>
77704 #endif
77706 #undef $ac_func
77708 /* Override any gcc2 internal prototype to avoid an error. */
77709 #ifdef __cplusplus
77710 extern "C"
77712 #endif
77713 /* We use char because int might match the return type of a gcc2
77714 builtin and then its argument prototype would still apply. */
77715 char $ac_func ();
77716 /* The GNU C library defines this for functions which it implements
77717 to always fail with ENOSYS. Some functions are actually named
77718 something starting with __ and the normal name is an alias. */
77719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77720 choke me
77721 #else
77722 char (*f) () = $ac_func;
77723 #endif
77724 #ifdef __cplusplus
77726 #endif
77729 main ()
77731 return f != $ac_func;
77733 return 0;
77735 _ACEOF
77736 rm -f conftest.$ac_objext conftest$ac_exeext
77737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77738 (eval $ac_link) 2>conftest.er1
77739 ac_status=$?
77740 grep -v '^ *+' conftest.er1 >conftest.err
77741 rm -f conftest.er1
77742 cat conftest.err >&5
77743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77744 (exit $ac_status); } &&
77745 { ac_try='test -z "$ac_c_werror_flag"
77746 || test ! -s conftest.err'
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); }; } &&
77752 { ac_try='test -s conftest$ac_exeext'
77753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77754 (eval $ac_try) 2>&5
77755 ac_status=$?
77756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77757 (exit $ac_status); }; }; then
77758 eval "$as_ac_var=yes"
77759 else
77760 echo "$as_me: failed program was:" >&5
77761 sed 's/^/| /' conftest.$ac_ext >&5
77763 eval "$as_ac_var=no"
77765 rm -f conftest.err conftest.$ac_objext \
77766 conftest$ac_exeext conftest.$ac_ext
77768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77770 if test `eval echo '${'$as_ac_var'}'` = yes; then
77771 cat >>confdefs.h <<_ACEOF
77772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77773 _ACEOF
77776 done
77786 echo "$as_me:$LINENO: checking for expl declaration" >&5
77787 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
77788 if test x${glibcxx_cv_func_expl_use+set} != xset; then
77789 if test "${glibcxx_cv_func_expl_use+set}" = set; then
77790 echo $ECHO_N "(cached) $ECHO_C" >&6
77791 else
77795 ac_ext=cc
77796 ac_cpp='$CXXCPP $CPPFLAGS'
77797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77801 cat >conftest.$ac_ext <<_ACEOF
77802 /* confdefs.h. */
77803 _ACEOF
77804 cat confdefs.h >>conftest.$ac_ext
77805 cat >>conftest.$ac_ext <<_ACEOF
77806 /* end confdefs.h. */
77807 #include <math.h>
77808 #ifdef HAVE_IEEEFP_H
77809 #include <ieeefp.h>
77810 #endif
77813 main ()
77815 expl(0);
77817 return 0;
77819 _ACEOF
77820 rm -f conftest.$ac_objext
77821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77822 (eval $ac_compile) 2>conftest.er1
77823 ac_status=$?
77824 grep -v '^ *+' conftest.er1 >conftest.err
77825 rm -f conftest.er1
77826 cat conftest.err >&5
77827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77828 (exit $ac_status); } &&
77829 { ac_try='test -z "$ac_cxx_werror_flag"
77830 || test ! -s conftest.err'
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); }; } &&
77836 { ac_try='test -s conftest.$ac_objext'
77837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77838 (eval $ac_try) 2>&5
77839 ac_status=$?
77840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77841 (exit $ac_status); }; }; then
77842 glibcxx_cv_func_expl_use=yes
77843 else
77844 echo "$as_me: failed program was:" >&5
77845 sed 's/^/| /' conftest.$ac_ext >&5
77847 glibcxx_cv_func_expl_use=no
77849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77850 ac_ext=c
77851 ac_cpp='$CPP $CPPFLAGS'
77852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77860 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
77861 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
77863 if test x$glibcxx_cv_func_expl_use = x"yes"; then
77865 for ac_func in expl
77867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77868 echo "$as_me:$LINENO: checking for $ac_func" >&5
77869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77870 if eval "test \"\${$as_ac_var+set}\" = set"; then
77871 echo $ECHO_N "(cached) $ECHO_C" >&6
77872 else
77873 if test x$gcc_no_link = xyes; then
77874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77876 { (exit 1); exit 1; }; }
77878 cat >conftest.$ac_ext <<_ACEOF
77879 /* confdefs.h. */
77880 _ACEOF
77881 cat confdefs.h >>conftest.$ac_ext
77882 cat >>conftest.$ac_ext <<_ACEOF
77883 /* end confdefs.h. */
77884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77886 #define $ac_func innocuous_$ac_func
77888 /* System header to define __stub macros and hopefully few prototypes,
77889 which can conflict with char $ac_func (); below.
77890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77891 <limits.h> exists even on freestanding compilers. */
77893 #ifdef __STDC__
77894 # include <limits.h>
77895 #else
77896 # include <assert.h>
77897 #endif
77899 #undef $ac_func
77901 /* Override any gcc2 internal prototype to avoid an error. */
77902 #ifdef __cplusplus
77903 extern "C"
77905 #endif
77906 /* We use char because int might match the return type of a gcc2
77907 builtin and then its argument prototype would still apply. */
77908 char $ac_func ();
77909 /* The GNU C library defines this for functions which it implements
77910 to always fail with ENOSYS. Some functions are actually named
77911 something starting with __ and the normal name is an alias. */
77912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77913 choke me
77914 #else
77915 char (*f) () = $ac_func;
77916 #endif
77917 #ifdef __cplusplus
77919 #endif
77922 main ()
77924 return f != $ac_func;
77926 return 0;
77928 _ACEOF
77929 rm -f conftest.$ac_objext conftest$ac_exeext
77930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77931 (eval $ac_link) 2>conftest.er1
77932 ac_status=$?
77933 grep -v '^ *+' conftest.er1 >conftest.err
77934 rm -f conftest.er1
77935 cat conftest.err >&5
77936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77937 (exit $ac_status); } &&
77938 { ac_try='test -z "$ac_c_werror_flag"
77939 || test ! -s conftest.err'
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); }; } &&
77945 { ac_try='test -s conftest$ac_exeext'
77946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77947 (eval $ac_try) 2>&5
77948 ac_status=$?
77949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77950 (exit $ac_status); }; }; then
77951 eval "$as_ac_var=yes"
77952 else
77953 echo "$as_me: failed program was:" >&5
77954 sed 's/^/| /' conftest.$ac_ext >&5
77956 eval "$as_ac_var=no"
77958 rm -f conftest.err conftest.$ac_objext \
77959 conftest$ac_exeext conftest.$ac_ext
77961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77963 if test `eval echo '${'$as_ac_var'}'` = yes; then
77964 cat >>confdefs.h <<_ACEOF
77965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77966 _ACEOF
77969 done
77971 else
77973 echo "$as_me:$LINENO: checking for _expl declaration" >&5
77974 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
77975 if test x${glibcxx_cv_func__expl_use+set} != xset; then
77976 if test "${glibcxx_cv_func__expl_use+set}" = set; then
77977 echo $ECHO_N "(cached) $ECHO_C" >&6
77978 else
77982 ac_ext=cc
77983 ac_cpp='$CXXCPP $CPPFLAGS'
77984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77988 cat >conftest.$ac_ext <<_ACEOF
77989 /* confdefs.h. */
77990 _ACEOF
77991 cat confdefs.h >>conftest.$ac_ext
77992 cat >>conftest.$ac_ext <<_ACEOF
77993 /* end confdefs.h. */
77994 #include <math.h>
77995 #ifdef HAVE_IEEEFP_H
77996 #include <ieeefp.h>
77997 #endif
78000 main ()
78002 _expl(0);
78004 return 0;
78006 _ACEOF
78007 rm -f conftest.$ac_objext
78008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78009 (eval $ac_compile) 2>conftest.er1
78010 ac_status=$?
78011 grep -v '^ *+' conftest.er1 >conftest.err
78012 rm -f conftest.er1
78013 cat conftest.err >&5
78014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78015 (exit $ac_status); } &&
78016 { ac_try='test -z "$ac_cxx_werror_flag"
78017 || test ! -s conftest.err'
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); }; } &&
78023 { ac_try='test -s conftest.$ac_objext'
78024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78025 (eval $ac_try) 2>&5
78026 ac_status=$?
78027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78028 (exit $ac_status); }; }; then
78029 glibcxx_cv_func__expl_use=yes
78030 else
78031 echo "$as_me: failed program was:" >&5
78032 sed 's/^/| /' conftest.$ac_ext >&5
78034 glibcxx_cv_func__expl_use=no
78036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78037 ac_ext=c
78038 ac_cpp='$CPP $CPPFLAGS'
78039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78047 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
78048 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
78050 if test x$glibcxx_cv_func__expl_use = x"yes"; then
78052 for ac_func in _expl
78054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78055 echo "$as_me:$LINENO: checking for $ac_func" >&5
78056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78057 if eval "test \"\${$as_ac_var+set}\" = set"; then
78058 echo $ECHO_N "(cached) $ECHO_C" >&6
78059 else
78060 if test x$gcc_no_link = xyes; then
78061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78063 { (exit 1); exit 1; }; }
78065 cat >conftest.$ac_ext <<_ACEOF
78066 /* confdefs.h. */
78067 _ACEOF
78068 cat confdefs.h >>conftest.$ac_ext
78069 cat >>conftest.$ac_ext <<_ACEOF
78070 /* end confdefs.h. */
78071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78073 #define $ac_func innocuous_$ac_func
78075 /* System header to define __stub macros and hopefully few prototypes,
78076 which can conflict with char $ac_func (); below.
78077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78078 <limits.h> exists even on freestanding compilers. */
78080 #ifdef __STDC__
78081 # include <limits.h>
78082 #else
78083 # include <assert.h>
78084 #endif
78086 #undef $ac_func
78088 /* Override any gcc2 internal prototype to avoid an error. */
78089 #ifdef __cplusplus
78090 extern "C"
78092 #endif
78093 /* We use char because int might match the return type of a gcc2
78094 builtin and then its argument prototype would still apply. */
78095 char $ac_func ();
78096 /* The GNU C library defines this for functions which it implements
78097 to always fail with ENOSYS. Some functions are actually named
78098 something starting with __ and the normal name is an alias. */
78099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78100 choke me
78101 #else
78102 char (*f) () = $ac_func;
78103 #endif
78104 #ifdef __cplusplus
78106 #endif
78109 main ()
78111 return f != $ac_func;
78113 return 0;
78115 _ACEOF
78116 rm -f conftest.$ac_objext conftest$ac_exeext
78117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78118 (eval $ac_link) 2>conftest.er1
78119 ac_status=$?
78120 grep -v '^ *+' conftest.er1 >conftest.err
78121 rm -f conftest.er1
78122 cat conftest.err >&5
78123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78124 (exit $ac_status); } &&
78125 { ac_try='test -z "$ac_c_werror_flag"
78126 || test ! -s conftest.err'
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); }; } &&
78132 { ac_try='test -s conftest$ac_exeext'
78133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78134 (eval $ac_try) 2>&5
78135 ac_status=$?
78136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78137 (exit $ac_status); }; }; then
78138 eval "$as_ac_var=yes"
78139 else
78140 echo "$as_me: failed program was:" >&5
78141 sed 's/^/| /' conftest.$ac_ext >&5
78143 eval "$as_ac_var=no"
78145 rm -f conftest.err conftest.$ac_objext \
78146 conftest$ac_exeext conftest.$ac_ext
78148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78150 if test `eval echo '${'$as_ac_var'}'` = yes; then
78151 cat >>confdefs.h <<_ACEOF
78152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78153 _ACEOF
78156 done
78166 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
78167 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
78168 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
78169 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
78170 echo $ECHO_N "(cached) $ECHO_C" >&6
78171 else
78175 ac_ext=cc
78176 ac_cpp='$CXXCPP $CPPFLAGS'
78177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78181 cat >conftest.$ac_ext <<_ACEOF
78182 /* confdefs.h. */
78183 _ACEOF
78184 cat confdefs.h >>conftest.$ac_ext
78185 cat >>conftest.$ac_ext <<_ACEOF
78186 /* end confdefs.h. */
78187 #include <math.h>
78188 #ifdef HAVE_IEEEFP_H
78189 #include <ieeefp.h>
78190 #endif
78193 main ()
78195 fabsl(0);
78197 return 0;
78199 _ACEOF
78200 rm -f conftest.$ac_objext
78201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78202 (eval $ac_compile) 2>conftest.er1
78203 ac_status=$?
78204 grep -v '^ *+' conftest.er1 >conftest.err
78205 rm -f conftest.er1
78206 cat conftest.err >&5
78207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78208 (exit $ac_status); } &&
78209 { ac_try='test -z "$ac_cxx_werror_flag"
78210 || test ! -s conftest.err'
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); }; } &&
78216 { ac_try='test -s conftest.$ac_objext'
78217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78218 (eval $ac_try) 2>&5
78219 ac_status=$?
78220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78221 (exit $ac_status); }; }; then
78222 glibcxx_cv_func_fabsl_use=yes
78223 else
78224 echo "$as_me: failed program was:" >&5
78225 sed 's/^/| /' conftest.$ac_ext >&5
78227 glibcxx_cv_func_fabsl_use=no
78229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78230 ac_ext=c
78231 ac_cpp='$CPP $CPPFLAGS'
78232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78240 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
78241 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
78243 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
78245 for ac_func in fabsl
78247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78248 echo "$as_me:$LINENO: checking for $ac_func" >&5
78249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78250 if eval "test \"\${$as_ac_var+set}\" = set"; then
78251 echo $ECHO_N "(cached) $ECHO_C" >&6
78252 else
78253 if test x$gcc_no_link = xyes; then
78254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78256 { (exit 1); exit 1; }; }
78258 cat >conftest.$ac_ext <<_ACEOF
78259 /* confdefs.h. */
78260 _ACEOF
78261 cat confdefs.h >>conftest.$ac_ext
78262 cat >>conftest.$ac_ext <<_ACEOF
78263 /* end confdefs.h. */
78264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78266 #define $ac_func innocuous_$ac_func
78268 /* System header to define __stub macros and hopefully few prototypes,
78269 which can conflict with char $ac_func (); below.
78270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78271 <limits.h> exists even on freestanding compilers. */
78273 #ifdef __STDC__
78274 # include <limits.h>
78275 #else
78276 # include <assert.h>
78277 #endif
78279 #undef $ac_func
78281 /* Override any gcc2 internal prototype to avoid an error. */
78282 #ifdef __cplusplus
78283 extern "C"
78285 #endif
78286 /* We use char because int might match the return type of a gcc2
78287 builtin and then its argument prototype would still apply. */
78288 char $ac_func ();
78289 /* The GNU C library defines this for functions which it implements
78290 to always fail with ENOSYS. Some functions are actually named
78291 something starting with __ and the normal name is an alias. */
78292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78293 choke me
78294 #else
78295 char (*f) () = $ac_func;
78296 #endif
78297 #ifdef __cplusplus
78299 #endif
78302 main ()
78304 return f != $ac_func;
78306 return 0;
78308 _ACEOF
78309 rm -f conftest.$ac_objext conftest$ac_exeext
78310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78311 (eval $ac_link) 2>conftest.er1
78312 ac_status=$?
78313 grep -v '^ *+' conftest.er1 >conftest.err
78314 rm -f conftest.er1
78315 cat conftest.err >&5
78316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78317 (exit $ac_status); } &&
78318 { ac_try='test -z "$ac_c_werror_flag"
78319 || test ! -s conftest.err'
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); }; } &&
78325 { ac_try='test -s conftest$ac_exeext'
78326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78327 (eval $ac_try) 2>&5
78328 ac_status=$?
78329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78330 (exit $ac_status); }; }; then
78331 eval "$as_ac_var=yes"
78332 else
78333 echo "$as_me: failed program was:" >&5
78334 sed 's/^/| /' conftest.$ac_ext >&5
78336 eval "$as_ac_var=no"
78338 rm -f conftest.err conftest.$ac_objext \
78339 conftest$ac_exeext conftest.$ac_ext
78341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78343 if test `eval echo '${'$as_ac_var'}'` = yes; then
78344 cat >>confdefs.h <<_ACEOF
78345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78346 _ACEOF
78349 done
78351 else
78353 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
78354 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
78355 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
78356 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
78357 echo $ECHO_N "(cached) $ECHO_C" >&6
78358 else
78362 ac_ext=cc
78363 ac_cpp='$CXXCPP $CPPFLAGS'
78364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78368 cat >conftest.$ac_ext <<_ACEOF
78369 /* confdefs.h. */
78370 _ACEOF
78371 cat confdefs.h >>conftest.$ac_ext
78372 cat >>conftest.$ac_ext <<_ACEOF
78373 /* end confdefs.h. */
78374 #include <math.h>
78375 #ifdef HAVE_IEEEFP_H
78376 #include <ieeefp.h>
78377 #endif
78380 main ()
78382 _fabsl(0);
78384 return 0;
78386 _ACEOF
78387 rm -f conftest.$ac_objext
78388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78389 (eval $ac_compile) 2>conftest.er1
78390 ac_status=$?
78391 grep -v '^ *+' conftest.er1 >conftest.err
78392 rm -f conftest.er1
78393 cat conftest.err >&5
78394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78395 (exit $ac_status); } &&
78396 { ac_try='test -z "$ac_cxx_werror_flag"
78397 || test ! -s conftest.err'
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); }; } &&
78403 { ac_try='test -s conftest.$ac_objext'
78404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78405 (eval $ac_try) 2>&5
78406 ac_status=$?
78407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78408 (exit $ac_status); }; }; then
78409 glibcxx_cv_func__fabsl_use=yes
78410 else
78411 echo "$as_me: failed program was:" >&5
78412 sed 's/^/| /' conftest.$ac_ext >&5
78414 glibcxx_cv_func__fabsl_use=no
78416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78417 ac_ext=c
78418 ac_cpp='$CPP $CPPFLAGS'
78419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78427 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
78428 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
78430 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
78432 for ac_func in _fabsl
78434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78435 echo "$as_me:$LINENO: checking for $ac_func" >&5
78436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78437 if eval "test \"\${$as_ac_var+set}\" = set"; then
78438 echo $ECHO_N "(cached) $ECHO_C" >&6
78439 else
78440 if test x$gcc_no_link = xyes; then
78441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78443 { (exit 1); exit 1; }; }
78445 cat >conftest.$ac_ext <<_ACEOF
78446 /* confdefs.h. */
78447 _ACEOF
78448 cat confdefs.h >>conftest.$ac_ext
78449 cat >>conftest.$ac_ext <<_ACEOF
78450 /* end confdefs.h. */
78451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78453 #define $ac_func innocuous_$ac_func
78455 /* System header to define __stub macros and hopefully few prototypes,
78456 which can conflict with char $ac_func (); below.
78457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78458 <limits.h> exists even on freestanding compilers. */
78460 #ifdef __STDC__
78461 # include <limits.h>
78462 #else
78463 # include <assert.h>
78464 #endif
78466 #undef $ac_func
78468 /* Override any gcc2 internal prototype to avoid an error. */
78469 #ifdef __cplusplus
78470 extern "C"
78472 #endif
78473 /* We use char because int might match the return type of a gcc2
78474 builtin and then its argument prototype would still apply. */
78475 char $ac_func ();
78476 /* The GNU C library defines this for functions which it implements
78477 to always fail with ENOSYS. Some functions are actually named
78478 something starting with __ and the normal name is an alias. */
78479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78480 choke me
78481 #else
78482 char (*f) () = $ac_func;
78483 #endif
78484 #ifdef __cplusplus
78486 #endif
78489 main ()
78491 return f != $ac_func;
78493 return 0;
78495 _ACEOF
78496 rm -f conftest.$ac_objext conftest$ac_exeext
78497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78498 (eval $ac_link) 2>conftest.er1
78499 ac_status=$?
78500 grep -v '^ *+' conftest.er1 >conftest.err
78501 rm -f conftest.er1
78502 cat conftest.err >&5
78503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78504 (exit $ac_status); } &&
78505 { ac_try='test -z "$ac_c_werror_flag"
78506 || test ! -s conftest.err'
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); }; } &&
78512 { ac_try='test -s conftest$ac_exeext'
78513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78514 (eval $ac_try) 2>&5
78515 ac_status=$?
78516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78517 (exit $ac_status); }; }; then
78518 eval "$as_ac_var=yes"
78519 else
78520 echo "$as_me: failed program was:" >&5
78521 sed 's/^/| /' conftest.$ac_ext >&5
78523 eval "$as_ac_var=no"
78525 rm -f conftest.err conftest.$ac_objext \
78526 conftest$ac_exeext conftest.$ac_ext
78528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78530 if test `eval echo '${'$as_ac_var'}'` = yes; then
78531 cat >>confdefs.h <<_ACEOF
78532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78533 _ACEOF
78536 done
78546 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
78547 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
78548 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
78549 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
78550 echo $ECHO_N "(cached) $ECHO_C" >&6
78551 else
78555 ac_ext=cc
78556 ac_cpp='$CXXCPP $CPPFLAGS'
78557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78561 cat >conftest.$ac_ext <<_ACEOF
78562 /* confdefs.h. */
78563 _ACEOF
78564 cat confdefs.h >>conftest.$ac_ext
78565 cat >>conftest.$ac_ext <<_ACEOF
78566 /* end confdefs.h. */
78567 #include <math.h>
78569 main ()
78571 fmodl(0, 0);
78573 return 0;
78575 _ACEOF
78576 rm -f conftest.$ac_objext
78577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78578 (eval $ac_compile) 2>conftest.er1
78579 ac_status=$?
78580 grep -v '^ *+' conftest.er1 >conftest.err
78581 rm -f conftest.er1
78582 cat conftest.err >&5
78583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78584 (exit $ac_status); } &&
78585 { ac_try='test -z "$ac_cxx_werror_flag"
78586 || test ! -s conftest.err'
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); }; } &&
78592 { ac_try='test -s conftest.$ac_objext'
78593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78594 (eval $ac_try) 2>&5
78595 ac_status=$?
78596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78597 (exit $ac_status); }; }; then
78598 glibcxx_cv_func_fmodl_use=yes
78599 else
78600 echo "$as_me: failed program was:" >&5
78601 sed 's/^/| /' conftest.$ac_ext >&5
78603 glibcxx_cv_func_fmodl_use=no
78605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78606 ac_ext=c
78607 ac_cpp='$CPP $CPPFLAGS'
78608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78616 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
78617 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
78619 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
78621 for ac_func in fmodl
78623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78624 echo "$as_me:$LINENO: checking for $ac_func" >&5
78625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78626 if eval "test \"\${$as_ac_var+set}\" = set"; then
78627 echo $ECHO_N "(cached) $ECHO_C" >&6
78628 else
78629 if test x$gcc_no_link = xyes; then
78630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78632 { (exit 1); exit 1; }; }
78634 cat >conftest.$ac_ext <<_ACEOF
78635 /* confdefs.h. */
78636 _ACEOF
78637 cat confdefs.h >>conftest.$ac_ext
78638 cat >>conftest.$ac_ext <<_ACEOF
78639 /* end confdefs.h. */
78640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78642 #define $ac_func innocuous_$ac_func
78644 /* System header to define __stub macros and hopefully few prototypes,
78645 which can conflict with char $ac_func (); below.
78646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78647 <limits.h> exists even on freestanding compilers. */
78649 #ifdef __STDC__
78650 # include <limits.h>
78651 #else
78652 # include <assert.h>
78653 #endif
78655 #undef $ac_func
78657 /* Override any gcc2 internal prototype to avoid an error. */
78658 #ifdef __cplusplus
78659 extern "C"
78661 #endif
78662 /* We use char because int might match the return type of a gcc2
78663 builtin and then its argument prototype would still apply. */
78664 char $ac_func ();
78665 /* The GNU C library defines this for functions which it implements
78666 to always fail with ENOSYS. Some functions are actually named
78667 something starting with __ and the normal name is an alias. */
78668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78669 choke me
78670 #else
78671 char (*f) () = $ac_func;
78672 #endif
78673 #ifdef __cplusplus
78675 #endif
78678 main ()
78680 return f != $ac_func;
78682 return 0;
78684 _ACEOF
78685 rm -f conftest.$ac_objext conftest$ac_exeext
78686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78687 (eval $ac_link) 2>conftest.er1
78688 ac_status=$?
78689 grep -v '^ *+' conftest.er1 >conftest.err
78690 rm -f conftest.er1
78691 cat conftest.err >&5
78692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78693 (exit $ac_status); } &&
78694 { ac_try='test -z "$ac_c_werror_flag"
78695 || test ! -s conftest.err'
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); }; } &&
78701 { ac_try='test -s conftest$ac_exeext'
78702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78703 (eval $ac_try) 2>&5
78704 ac_status=$?
78705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78706 (exit $ac_status); }; }; then
78707 eval "$as_ac_var=yes"
78708 else
78709 echo "$as_me: failed program was:" >&5
78710 sed 's/^/| /' conftest.$ac_ext >&5
78712 eval "$as_ac_var=no"
78714 rm -f conftest.err conftest.$ac_objext \
78715 conftest$ac_exeext conftest.$ac_ext
78717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78719 if test `eval echo '${'$as_ac_var'}'` = yes; then
78720 cat >>confdefs.h <<_ACEOF
78721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78722 _ACEOF
78725 done
78727 else
78729 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
78730 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
78731 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
78732 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
78733 echo $ECHO_N "(cached) $ECHO_C" >&6
78734 else
78738 ac_ext=cc
78739 ac_cpp='$CXXCPP $CPPFLAGS'
78740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78744 cat >conftest.$ac_ext <<_ACEOF
78745 /* confdefs.h. */
78746 _ACEOF
78747 cat confdefs.h >>conftest.$ac_ext
78748 cat >>conftest.$ac_ext <<_ACEOF
78749 /* end confdefs.h. */
78750 #include <math.h>
78752 main ()
78754 _fmodl(0, 0);
78756 return 0;
78758 _ACEOF
78759 rm -f conftest.$ac_objext
78760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78761 (eval $ac_compile) 2>conftest.er1
78762 ac_status=$?
78763 grep -v '^ *+' conftest.er1 >conftest.err
78764 rm -f conftest.er1
78765 cat conftest.err >&5
78766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78767 (exit $ac_status); } &&
78768 { ac_try='test -z "$ac_cxx_werror_flag"
78769 || test ! -s conftest.err'
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); }; } &&
78775 { ac_try='test -s conftest.$ac_objext'
78776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78777 (eval $ac_try) 2>&5
78778 ac_status=$?
78779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78780 (exit $ac_status); }; }; then
78781 glibcxx_cv_func__fmodl_use=yes
78782 else
78783 echo "$as_me: failed program was:" >&5
78784 sed 's/^/| /' conftest.$ac_ext >&5
78786 glibcxx_cv_func__fmodl_use=no
78788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78789 ac_ext=c
78790 ac_cpp='$CPP $CPPFLAGS'
78791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78799 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
78800 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
78802 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
78804 for ac_func in _fmodl
78806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78807 echo "$as_me:$LINENO: checking for $ac_func" >&5
78808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78809 if eval "test \"\${$as_ac_var+set}\" = set"; then
78810 echo $ECHO_N "(cached) $ECHO_C" >&6
78811 else
78812 if test x$gcc_no_link = xyes; then
78813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78815 { (exit 1); exit 1; }; }
78817 cat >conftest.$ac_ext <<_ACEOF
78818 /* confdefs.h. */
78819 _ACEOF
78820 cat confdefs.h >>conftest.$ac_ext
78821 cat >>conftest.$ac_ext <<_ACEOF
78822 /* end confdefs.h. */
78823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78825 #define $ac_func innocuous_$ac_func
78827 /* System header to define __stub macros and hopefully few prototypes,
78828 which can conflict with char $ac_func (); below.
78829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78830 <limits.h> exists even on freestanding compilers. */
78832 #ifdef __STDC__
78833 # include <limits.h>
78834 #else
78835 # include <assert.h>
78836 #endif
78838 #undef $ac_func
78840 /* Override any gcc2 internal prototype to avoid an error. */
78841 #ifdef __cplusplus
78842 extern "C"
78844 #endif
78845 /* We use char because int might match the return type of a gcc2
78846 builtin and then its argument prototype would still apply. */
78847 char $ac_func ();
78848 /* The GNU C library defines this for functions which it implements
78849 to always fail with ENOSYS. Some functions are actually named
78850 something starting with __ and the normal name is an alias. */
78851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78852 choke me
78853 #else
78854 char (*f) () = $ac_func;
78855 #endif
78856 #ifdef __cplusplus
78858 #endif
78861 main ()
78863 return f != $ac_func;
78865 return 0;
78867 _ACEOF
78868 rm -f conftest.$ac_objext conftest$ac_exeext
78869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78870 (eval $ac_link) 2>conftest.er1
78871 ac_status=$?
78872 grep -v '^ *+' conftest.er1 >conftest.err
78873 rm -f conftest.er1
78874 cat conftest.err >&5
78875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78876 (exit $ac_status); } &&
78877 { ac_try='test -z "$ac_c_werror_flag"
78878 || test ! -s conftest.err'
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); }; } &&
78884 { ac_try='test -s conftest$ac_exeext'
78885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78886 (eval $ac_try) 2>&5
78887 ac_status=$?
78888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78889 (exit $ac_status); }; }; then
78890 eval "$as_ac_var=yes"
78891 else
78892 echo "$as_me: failed program was:" >&5
78893 sed 's/^/| /' conftest.$ac_ext >&5
78895 eval "$as_ac_var=no"
78897 rm -f conftest.err conftest.$ac_objext \
78898 conftest$ac_exeext conftest.$ac_ext
78900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78902 if test `eval echo '${'$as_ac_var'}'` = yes; then
78903 cat >>confdefs.h <<_ACEOF
78904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78905 _ACEOF
78908 done
78918 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
78919 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
78920 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
78921 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
78922 echo $ECHO_N "(cached) $ECHO_C" >&6
78923 else
78927 ac_ext=cc
78928 ac_cpp='$CXXCPP $CPPFLAGS'
78929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78933 cat >conftest.$ac_ext <<_ACEOF
78934 /* confdefs.h. */
78935 _ACEOF
78936 cat confdefs.h >>conftest.$ac_ext
78937 cat >>conftest.$ac_ext <<_ACEOF
78938 /* end confdefs.h. */
78939 #include <math.h>
78941 main ()
78943 frexpl(0, 0);
78945 return 0;
78947 _ACEOF
78948 rm -f conftest.$ac_objext
78949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78950 (eval $ac_compile) 2>conftest.er1
78951 ac_status=$?
78952 grep -v '^ *+' conftest.er1 >conftest.err
78953 rm -f conftest.er1
78954 cat conftest.err >&5
78955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78956 (exit $ac_status); } &&
78957 { ac_try='test -z "$ac_cxx_werror_flag"
78958 || test ! -s conftest.err'
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); }; } &&
78964 { ac_try='test -s conftest.$ac_objext'
78965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78966 (eval $ac_try) 2>&5
78967 ac_status=$?
78968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78969 (exit $ac_status); }; }; then
78970 glibcxx_cv_func_frexpl_use=yes
78971 else
78972 echo "$as_me: failed program was:" >&5
78973 sed 's/^/| /' conftest.$ac_ext >&5
78975 glibcxx_cv_func_frexpl_use=no
78977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78978 ac_ext=c
78979 ac_cpp='$CPP $CPPFLAGS'
78980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78988 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
78989 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
78991 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
78993 for ac_func in frexpl
78995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78996 echo "$as_me:$LINENO: checking for $ac_func" >&5
78997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78998 if eval "test \"\${$as_ac_var+set}\" = set"; then
78999 echo $ECHO_N "(cached) $ECHO_C" >&6
79000 else
79001 if test x$gcc_no_link = xyes; then
79002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79004 { (exit 1); exit 1; }; }
79006 cat >conftest.$ac_ext <<_ACEOF
79007 /* confdefs.h. */
79008 _ACEOF
79009 cat confdefs.h >>conftest.$ac_ext
79010 cat >>conftest.$ac_ext <<_ACEOF
79011 /* end confdefs.h. */
79012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79014 #define $ac_func innocuous_$ac_func
79016 /* System header to define __stub macros and hopefully few prototypes,
79017 which can conflict with char $ac_func (); below.
79018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79019 <limits.h> exists even on freestanding compilers. */
79021 #ifdef __STDC__
79022 # include <limits.h>
79023 #else
79024 # include <assert.h>
79025 #endif
79027 #undef $ac_func
79029 /* Override any gcc2 internal prototype to avoid an error. */
79030 #ifdef __cplusplus
79031 extern "C"
79033 #endif
79034 /* We use char because int might match the return type of a gcc2
79035 builtin and then its argument prototype would still apply. */
79036 char $ac_func ();
79037 /* The GNU C library defines this for functions which it implements
79038 to always fail with ENOSYS. Some functions are actually named
79039 something starting with __ and the normal name is an alias. */
79040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79041 choke me
79042 #else
79043 char (*f) () = $ac_func;
79044 #endif
79045 #ifdef __cplusplus
79047 #endif
79050 main ()
79052 return f != $ac_func;
79054 return 0;
79056 _ACEOF
79057 rm -f conftest.$ac_objext conftest$ac_exeext
79058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79059 (eval $ac_link) 2>conftest.er1
79060 ac_status=$?
79061 grep -v '^ *+' conftest.er1 >conftest.err
79062 rm -f conftest.er1
79063 cat conftest.err >&5
79064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79065 (exit $ac_status); } &&
79066 { ac_try='test -z "$ac_c_werror_flag"
79067 || test ! -s conftest.err'
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); }; } &&
79073 { ac_try='test -s conftest$ac_exeext'
79074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79075 (eval $ac_try) 2>&5
79076 ac_status=$?
79077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79078 (exit $ac_status); }; }; then
79079 eval "$as_ac_var=yes"
79080 else
79081 echo "$as_me: failed program was:" >&5
79082 sed 's/^/| /' conftest.$ac_ext >&5
79084 eval "$as_ac_var=no"
79086 rm -f conftest.err conftest.$ac_objext \
79087 conftest$ac_exeext conftest.$ac_ext
79089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79091 if test `eval echo '${'$as_ac_var'}'` = yes; then
79092 cat >>confdefs.h <<_ACEOF
79093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79094 _ACEOF
79097 done
79099 else
79101 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
79102 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
79103 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
79104 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
79105 echo $ECHO_N "(cached) $ECHO_C" >&6
79106 else
79110 ac_ext=cc
79111 ac_cpp='$CXXCPP $CPPFLAGS'
79112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79116 cat >conftest.$ac_ext <<_ACEOF
79117 /* confdefs.h. */
79118 _ACEOF
79119 cat confdefs.h >>conftest.$ac_ext
79120 cat >>conftest.$ac_ext <<_ACEOF
79121 /* end confdefs.h. */
79122 #include <math.h>
79124 main ()
79126 _frexpl(0, 0);
79128 return 0;
79130 _ACEOF
79131 rm -f conftest.$ac_objext
79132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79133 (eval $ac_compile) 2>conftest.er1
79134 ac_status=$?
79135 grep -v '^ *+' conftest.er1 >conftest.err
79136 rm -f conftest.er1
79137 cat conftest.err >&5
79138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79139 (exit $ac_status); } &&
79140 { ac_try='test -z "$ac_cxx_werror_flag"
79141 || test ! -s conftest.err'
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); }; } &&
79147 { ac_try='test -s conftest.$ac_objext'
79148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79149 (eval $ac_try) 2>&5
79150 ac_status=$?
79151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79152 (exit $ac_status); }; }; then
79153 glibcxx_cv_func__frexpl_use=yes
79154 else
79155 echo "$as_me: failed program was:" >&5
79156 sed 's/^/| /' conftest.$ac_ext >&5
79158 glibcxx_cv_func__frexpl_use=no
79160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79161 ac_ext=c
79162 ac_cpp='$CPP $CPPFLAGS'
79163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79171 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
79172 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
79174 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
79176 for ac_func in _frexpl
79178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79179 echo "$as_me:$LINENO: checking for $ac_func" >&5
79180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79181 if eval "test \"\${$as_ac_var+set}\" = set"; then
79182 echo $ECHO_N "(cached) $ECHO_C" >&6
79183 else
79184 if test x$gcc_no_link = xyes; then
79185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79187 { (exit 1); exit 1; }; }
79189 cat >conftest.$ac_ext <<_ACEOF
79190 /* confdefs.h. */
79191 _ACEOF
79192 cat confdefs.h >>conftest.$ac_ext
79193 cat >>conftest.$ac_ext <<_ACEOF
79194 /* end confdefs.h. */
79195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79197 #define $ac_func innocuous_$ac_func
79199 /* System header to define __stub macros and hopefully few prototypes,
79200 which can conflict with char $ac_func (); below.
79201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79202 <limits.h> exists even on freestanding compilers. */
79204 #ifdef __STDC__
79205 # include <limits.h>
79206 #else
79207 # include <assert.h>
79208 #endif
79210 #undef $ac_func
79212 /* Override any gcc2 internal prototype to avoid an error. */
79213 #ifdef __cplusplus
79214 extern "C"
79216 #endif
79217 /* We use char because int might match the return type of a gcc2
79218 builtin and then its argument prototype would still apply. */
79219 char $ac_func ();
79220 /* The GNU C library defines this for functions which it implements
79221 to always fail with ENOSYS. Some functions are actually named
79222 something starting with __ and the normal name is an alias. */
79223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79224 choke me
79225 #else
79226 char (*f) () = $ac_func;
79227 #endif
79228 #ifdef __cplusplus
79230 #endif
79233 main ()
79235 return f != $ac_func;
79237 return 0;
79239 _ACEOF
79240 rm -f conftest.$ac_objext conftest$ac_exeext
79241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79242 (eval $ac_link) 2>conftest.er1
79243 ac_status=$?
79244 grep -v '^ *+' conftest.er1 >conftest.err
79245 rm -f conftest.er1
79246 cat conftest.err >&5
79247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79248 (exit $ac_status); } &&
79249 { ac_try='test -z "$ac_c_werror_flag"
79250 || test ! -s conftest.err'
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); }; } &&
79256 { ac_try='test -s conftest$ac_exeext'
79257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79258 (eval $ac_try) 2>&5
79259 ac_status=$?
79260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79261 (exit $ac_status); }; }; then
79262 eval "$as_ac_var=yes"
79263 else
79264 echo "$as_me: failed program was:" >&5
79265 sed 's/^/| /' conftest.$ac_ext >&5
79267 eval "$as_ac_var=no"
79269 rm -f conftest.err conftest.$ac_objext \
79270 conftest$ac_exeext conftest.$ac_ext
79272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79274 if test `eval echo '${'$as_ac_var'}'` = yes; then
79275 cat >>confdefs.h <<_ACEOF
79276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79277 _ACEOF
79280 done
79290 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
79291 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
79292 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
79293 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
79294 echo $ECHO_N "(cached) $ECHO_C" >&6
79295 else
79299 ac_ext=cc
79300 ac_cpp='$CXXCPP $CPPFLAGS'
79301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79305 cat >conftest.$ac_ext <<_ACEOF
79306 /* confdefs.h. */
79307 _ACEOF
79308 cat confdefs.h >>conftest.$ac_ext
79309 cat >>conftest.$ac_ext <<_ACEOF
79310 /* end confdefs.h. */
79311 #include <math.h>
79313 main ()
79315 hypotl(0, 0);
79317 return 0;
79319 _ACEOF
79320 rm -f conftest.$ac_objext
79321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79322 (eval $ac_compile) 2>conftest.er1
79323 ac_status=$?
79324 grep -v '^ *+' conftest.er1 >conftest.err
79325 rm -f conftest.er1
79326 cat conftest.err >&5
79327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79328 (exit $ac_status); } &&
79329 { ac_try='test -z "$ac_cxx_werror_flag"
79330 || test ! -s conftest.err'
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); }; } &&
79336 { ac_try='test -s conftest.$ac_objext'
79337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79338 (eval $ac_try) 2>&5
79339 ac_status=$?
79340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79341 (exit $ac_status); }; }; then
79342 glibcxx_cv_func_hypotl_use=yes
79343 else
79344 echo "$as_me: failed program was:" >&5
79345 sed 's/^/| /' conftest.$ac_ext >&5
79347 glibcxx_cv_func_hypotl_use=no
79349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79350 ac_ext=c
79351 ac_cpp='$CPP $CPPFLAGS'
79352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79360 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
79361 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
79363 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
79365 for ac_func in hypotl
79367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79368 echo "$as_me:$LINENO: checking for $ac_func" >&5
79369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79370 if eval "test \"\${$as_ac_var+set}\" = set"; then
79371 echo $ECHO_N "(cached) $ECHO_C" >&6
79372 else
79373 if test x$gcc_no_link = xyes; then
79374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79376 { (exit 1); exit 1; }; }
79378 cat >conftest.$ac_ext <<_ACEOF
79379 /* confdefs.h. */
79380 _ACEOF
79381 cat confdefs.h >>conftest.$ac_ext
79382 cat >>conftest.$ac_ext <<_ACEOF
79383 /* end confdefs.h. */
79384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79386 #define $ac_func innocuous_$ac_func
79388 /* System header to define __stub macros and hopefully few prototypes,
79389 which can conflict with char $ac_func (); below.
79390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79391 <limits.h> exists even on freestanding compilers. */
79393 #ifdef __STDC__
79394 # include <limits.h>
79395 #else
79396 # include <assert.h>
79397 #endif
79399 #undef $ac_func
79401 /* Override any gcc2 internal prototype to avoid an error. */
79402 #ifdef __cplusplus
79403 extern "C"
79405 #endif
79406 /* We use char because int might match the return type of a gcc2
79407 builtin and then its argument prototype would still apply. */
79408 char $ac_func ();
79409 /* The GNU C library defines this for functions which it implements
79410 to always fail with ENOSYS. Some functions are actually named
79411 something starting with __ and the normal name is an alias. */
79412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79413 choke me
79414 #else
79415 char (*f) () = $ac_func;
79416 #endif
79417 #ifdef __cplusplus
79419 #endif
79422 main ()
79424 return f != $ac_func;
79426 return 0;
79428 _ACEOF
79429 rm -f conftest.$ac_objext conftest$ac_exeext
79430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79431 (eval $ac_link) 2>conftest.er1
79432 ac_status=$?
79433 grep -v '^ *+' conftest.er1 >conftest.err
79434 rm -f conftest.er1
79435 cat conftest.err >&5
79436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79437 (exit $ac_status); } &&
79438 { ac_try='test -z "$ac_c_werror_flag"
79439 || test ! -s conftest.err'
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); }; } &&
79445 { ac_try='test -s conftest$ac_exeext'
79446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79447 (eval $ac_try) 2>&5
79448 ac_status=$?
79449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79450 (exit $ac_status); }; }; then
79451 eval "$as_ac_var=yes"
79452 else
79453 echo "$as_me: failed program was:" >&5
79454 sed 's/^/| /' conftest.$ac_ext >&5
79456 eval "$as_ac_var=no"
79458 rm -f conftest.err conftest.$ac_objext \
79459 conftest$ac_exeext conftest.$ac_ext
79461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79463 if test `eval echo '${'$as_ac_var'}'` = yes; then
79464 cat >>confdefs.h <<_ACEOF
79465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79466 _ACEOF
79469 done
79471 else
79473 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
79474 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
79475 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
79476 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
79477 echo $ECHO_N "(cached) $ECHO_C" >&6
79478 else
79482 ac_ext=cc
79483 ac_cpp='$CXXCPP $CPPFLAGS'
79484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79488 cat >conftest.$ac_ext <<_ACEOF
79489 /* confdefs.h. */
79490 _ACEOF
79491 cat confdefs.h >>conftest.$ac_ext
79492 cat >>conftest.$ac_ext <<_ACEOF
79493 /* end confdefs.h. */
79494 #include <math.h>
79496 main ()
79498 _hypotl(0, 0);
79500 return 0;
79502 _ACEOF
79503 rm -f conftest.$ac_objext
79504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79505 (eval $ac_compile) 2>conftest.er1
79506 ac_status=$?
79507 grep -v '^ *+' conftest.er1 >conftest.err
79508 rm -f conftest.er1
79509 cat conftest.err >&5
79510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79511 (exit $ac_status); } &&
79512 { ac_try='test -z "$ac_cxx_werror_flag"
79513 || test ! -s conftest.err'
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); }; } &&
79519 { ac_try='test -s conftest.$ac_objext'
79520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79521 (eval $ac_try) 2>&5
79522 ac_status=$?
79523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79524 (exit $ac_status); }; }; then
79525 glibcxx_cv_func__hypotl_use=yes
79526 else
79527 echo "$as_me: failed program was:" >&5
79528 sed 's/^/| /' conftest.$ac_ext >&5
79530 glibcxx_cv_func__hypotl_use=no
79532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79533 ac_ext=c
79534 ac_cpp='$CPP $CPPFLAGS'
79535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79543 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
79544 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
79546 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
79548 for ac_func in _hypotl
79550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79551 echo "$as_me:$LINENO: checking for $ac_func" >&5
79552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79553 if eval "test \"\${$as_ac_var+set}\" = set"; then
79554 echo $ECHO_N "(cached) $ECHO_C" >&6
79555 else
79556 if test x$gcc_no_link = xyes; then
79557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79559 { (exit 1); exit 1; }; }
79561 cat >conftest.$ac_ext <<_ACEOF
79562 /* confdefs.h. */
79563 _ACEOF
79564 cat confdefs.h >>conftest.$ac_ext
79565 cat >>conftest.$ac_ext <<_ACEOF
79566 /* end confdefs.h. */
79567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79569 #define $ac_func innocuous_$ac_func
79571 /* System header to define __stub macros and hopefully few prototypes,
79572 which can conflict with char $ac_func (); below.
79573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79574 <limits.h> exists even on freestanding compilers. */
79576 #ifdef __STDC__
79577 # include <limits.h>
79578 #else
79579 # include <assert.h>
79580 #endif
79582 #undef $ac_func
79584 /* Override any gcc2 internal prototype to avoid an error. */
79585 #ifdef __cplusplus
79586 extern "C"
79588 #endif
79589 /* We use char because int might match the return type of a gcc2
79590 builtin and then its argument prototype would still apply. */
79591 char $ac_func ();
79592 /* The GNU C library defines this for functions which it implements
79593 to always fail with ENOSYS. Some functions are actually named
79594 something starting with __ and the normal name is an alias. */
79595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79596 choke me
79597 #else
79598 char (*f) () = $ac_func;
79599 #endif
79600 #ifdef __cplusplus
79602 #endif
79605 main ()
79607 return f != $ac_func;
79609 return 0;
79611 _ACEOF
79612 rm -f conftest.$ac_objext conftest$ac_exeext
79613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79614 (eval $ac_link) 2>conftest.er1
79615 ac_status=$?
79616 grep -v '^ *+' conftest.er1 >conftest.err
79617 rm -f conftest.er1
79618 cat conftest.err >&5
79619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79620 (exit $ac_status); } &&
79621 { ac_try='test -z "$ac_c_werror_flag"
79622 || test ! -s conftest.err'
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); }; } &&
79628 { ac_try='test -s conftest$ac_exeext'
79629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79630 (eval $ac_try) 2>&5
79631 ac_status=$?
79632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79633 (exit $ac_status); }; }; then
79634 eval "$as_ac_var=yes"
79635 else
79636 echo "$as_me: failed program was:" >&5
79637 sed 's/^/| /' conftest.$ac_ext >&5
79639 eval "$as_ac_var=no"
79641 rm -f conftest.err conftest.$ac_objext \
79642 conftest$ac_exeext conftest.$ac_ext
79644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79646 if test `eval echo '${'$as_ac_var'}'` = yes; then
79647 cat >>confdefs.h <<_ACEOF
79648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79649 _ACEOF
79652 done
79662 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
79663 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
79664 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
79665 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
79666 echo $ECHO_N "(cached) $ECHO_C" >&6
79667 else
79671 ac_ext=cc
79672 ac_cpp='$CXXCPP $CPPFLAGS'
79673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79677 cat >conftest.$ac_ext <<_ACEOF
79678 /* confdefs.h. */
79679 _ACEOF
79680 cat confdefs.h >>conftest.$ac_ext
79681 cat >>conftest.$ac_ext <<_ACEOF
79682 /* end confdefs.h. */
79683 #include <math.h>
79685 main ()
79687 ldexpl(0, 0);
79689 return 0;
79691 _ACEOF
79692 rm -f conftest.$ac_objext
79693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79694 (eval $ac_compile) 2>conftest.er1
79695 ac_status=$?
79696 grep -v '^ *+' conftest.er1 >conftest.err
79697 rm -f conftest.er1
79698 cat conftest.err >&5
79699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79700 (exit $ac_status); } &&
79701 { ac_try='test -z "$ac_cxx_werror_flag"
79702 || test ! -s conftest.err'
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); }; } &&
79708 { ac_try='test -s conftest.$ac_objext'
79709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79710 (eval $ac_try) 2>&5
79711 ac_status=$?
79712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79713 (exit $ac_status); }; }; then
79714 glibcxx_cv_func_ldexpl_use=yes
79715 else
79716 echo "$as_me: failed program was:" >&5
79717 sed 's/^/| /' conftest.$ac_ext >&5
79719 glibcxx_cv_func_ldexpl_use=no
79721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79722 ac_ext=c
79723 ac_cpp='$CPP $CPPFLAGS'
79724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79732 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
79733 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
79735 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
79737 for ac_func in ldexpl
79739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79740 echo "$as_me:$LINENO: checking for $ac_func" >&5
79741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79742 if eval "test \"\${$as_ac_var+set}\" = set"; then
79743 echo $ECHO_N "(cached) $ECHO_C" >&6
79744 else
79745 if test x$gcc_no_link = xyes; then
79746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79748 { (exit 1); exit 1; }; }
79750 cat >conftest.$ac_ext <<_ACEOF
79751 /* confdefs.h. */
79752 _ACEOF
79753 cat confdefs.h >>conftest.$ac_ext
79754 cat >>conftest.$ac_ext <<_ACEOF
79755 /* end confdefs.h. */
79756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79758 #define $ac_func innocuous_$ac_func
79760 /* System header to define __stub macros and hopefully few prototypes,
79761 which can conflict with char $ac_func (); below.
79762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79763 <limits.h> exists even on freestanding compilers. */
79765 #ifdef __STDC__
79766 # include <limits.h>
79767 #else
79768 # include <assert.h>
79769 #endif
79771 #undef $ac_func
79773 /* Override any gcc2 internal prototype to avoid an error. */
79774 #ifdef __cplusplus
79775 extern "C"
79777 #endif
79778 /* We use char because int might match the return type of a gcc2
79779 builtin and then its argument prototype would still apply. */
79780 char $ac_func ();
79781 /* The GNU C library defines this for functions which it implements
79782 to always fail with ENOSYS. Some functions are actually named
79783 something starting with __ and the normal name is an alias. */
79784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79785 choke me
79786 #else
79787 char (*f) () = $ac_func;
79788 #endif
79789 #ifdef __cplusplus
79791 #endif
79794 main ()
79796 return f != $ac_func;
79798 return 0;
79800 _ACEOF
79801 rm -f conftest.$ac_objext conftest$ac_exeext
79802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79803 (eval $ac_link) 2>conftest.er1
79804 ac_status=$?
79805 grep -v '^ *+' conftest.er1 >conftest.err
79806 rm -f conftest.er1
79807 cat conftest.err >&5
79808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79809 (exit $ac_status); } &&
79810 { ac_try='test -z "$ac_c_werror_flag"
79811 || test ! -s conftest.err'
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); }; } &&
79817 { ac_try='test -s conftest$ac_exeext'
79818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79819 (eval $ac_try) 2>&5
79820 ac_status=$?
79821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79822 (exit $ac_status); }; }; then
79823 eval "$as_ac_var=yes"
79824 else
79825 echo "$as_me: failed program was:" >&5
79826 sed 's/^/| /' conftest.$ac_ext >&5
79828 eval "$as_ac_var=no"
79830 rm -f conftest.err conftest.$ac_objext \
79831 conftest$ac_exeext conftest.$ac_ext
79833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79835 if test `eval echo '${'$as_ac_var'}'` = yes; then
79836 cat >>confdefs.h <<_ACEOF
79837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79838 _ACEOF
79841 done
79843 else
79845 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
79846 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
79847 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
79848 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
79849 echo $ECHO_N "(cached) $ECHO_C" >&6
79850 else
79854 ac_ext=cc
79855 ac_cpp='$CXXCPP $CPPFLAGS'
79856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79860 cat >conftest.$ac_ext <<_ACEOF
79861 /* confdefs.h. */
79862 _ACEOF
79863 cat confdefs.h >>conftest.$ac_ext
79864 cat >>conftest.$ac_ext <<_ACEOF
79865 /* end confdefs.h. */
79866 #include <math.h>
79868 main ()
79870 _ldexpl(0, 0);
79872 return 0;
79874 _ACEOF
79875 rm -f conftest.$ac_objext
79876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79877 (eval $ac_compile) 2>conftest.er1
79878 ac_status=$?
79879 grep -v '^ *+' conftest.er1 >conftest.err
79880 rm -f conftest.er1
79881 cat conftest.err >&5
79882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79883 (exit $ac_status); } &&
79884 { ac_try='test -z "$ac_cxx_werror_flag"
79885 || test ! -s conftest.err'
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); }; } &&
79891 { ac_try='test -s conftest.$ac_objext'
79892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79893 (eval $ac_try) 2>&5
79894 ac_status=$?
79895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79896 (exit $ac_status); }; }; then
79897 glibcxx_cv_func__ldexpl_use=yes
79898 else
79899 echo "$as_me: failed program was:" >&5
79900 sed 's/^/| /' conftest.$ac_ext >&5
79902 glibcxx_cv_func__ldexpl_use=no
79904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79905 ac_ext=c
79906 ac_cpp='$CPP $CPPFLAGS'
79907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79915 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
79916 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
79918 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
79920 for ac_func in _ldexpl
79922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79923 echo "$as_me:$LINENO: checking for $ac_func" >&5
79924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79925 if eval "test \"\${$as_ac_var+set}\" = set"; then
79926 echo $ECHO_N "(cached) $ECHO_C" >&6
79927 else
79928 if test x$gcc_no_link = xyes; then
79929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79931 { (exit 1); exit 1; }; }
79933 cat >conftest.$ac_ext <<_ACEOF
79934 /* confdefs.h. */
79935 _ACEOF
79936 cat confdefs.h >>conftest.$ac_ext
79937 cat >>conftest.$ac_ext <<_ACEOF
79938 /* end confdefs.h. */
79939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79941 #define $ac_func innocuous_$ac_func
79943 /* System header to define __stub macros and hopefully few prototypes,
79944 which can conflict with char $ac_func (); below.
79945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79946 <limits.h> exists even on freestanding compilers. */
79948 #ifdef __STDC__
79949 # include <limits.h>
79950 #else
79951 # include <assert.h>
79952 #endif
79954 #undef $ac_func
79956 /* Override any gcc2 internal prototype to avoid an error. */
79957 #ifdef __cplusplus
79958 extern "C"
79960 #endif
79961 /* We use char because int might match the return type of a gcc2
79962 builtin and then its argument prototype would still apply. */
79963 char $ac_func ();
79964 /* The GNU C library defines this for functions which it implements
79965 to always fail with ENOSYS. Some functions are actually named
79966 something starting with __ and the normal name is an alias. */
79967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79968 choke me
79969 #else
79970 char (*f) () = $ac_func;
79971 #endif
79972 #ifdef __cplusplus
79974 #endif
79977 main ()
79979 return f != $ac_func;
79981 return 0;
79983 _ACEOF
79984 rm -f conftest.$ac_objext conftest$ac_exeext
79985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79986 (eval $ac_link) 2>conftest.er1
79987 ac_status=$?
79988 grep -v '^ *+' conftest.er1 >conftest.err
79989 rm -f conftest.er1
79990 cat conftest.err >&5
79991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79992 (exit $ac_status); } &&
79993 { ac_try='test -z "$ac_c_werror_flag"
79994 || test ! -s conftest.err'
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); }; } &&
80000 { ac_try='test -s conftest$ac_exeext'
80001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80002 (eval $ac_try) 2>&5
80003 ac_status=$?
80004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80005 (exit $ac_status); }; }; then
80006 eval "$as_ac_var=yes"
80007 else
80008 echo "$as_me: failed program was:" >&5
80009 sed 's/^/| /' conftest.$ac_ext >&5
80011 eval "$as_ac_var=no"
80013 rm -f conftest.err conftest.$ac_objext \
80014 conftest$ac_exeext conftest.$ac_ext
80016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80018 if test `eval echo '${'$as_ac_var'}'` = yes; then
80019 cat >>confdefs.h <<_ACEOF
80020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80021 _ACEOF
80024 done
80034 echo "$as_me:$LINENO: checking for logl declaration" >&5
80035 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
80036 if test x${glibcxx_cv_func_logl_use+set} != xset; then
80037 if test "${glibcxx_cv_func_logl_use+set}" = set; then
80038 echo $ECHO_N "(cached) $ECHO_C" >&6
80039 else
80043 ac_ext=cc
80044 ac_cpp='$CXXCPP $CPPFLAGS'
80045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80049 cat >conftest.$ac_ext <<_ACEOF
80050 /* confdefs.h. */
80051 _ACEOF
80052 cat confdefs.h >>conftest.$ac_ext
80053 cat >>conftest.$ac_ext <<_ACEOF
80054 /* end confdefs.h. */
80055 #include <math.h>
80056 #ifdef HAVE_IEEEFP_H
80057 #include <ieeefp.h>
80058 #endif
80061 main ()
80063 logl(0);
80065 return 0;
80067 _ACEOF
80068 rm -f conftest.$ac_objext
80069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80070 (eval $ac_compile) 2>conftest.er1
80071 ac_status=$?
80072 grep -v '^ *+' conftest.er1 >conftest.err
80073 rm -f conftest.er1
80074 cat conftest.err >&5
80075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80076 (exit $ac_status); } &&
80077 { ac_try='test -z "$ac_cxx_werror_flag"
80078 || test ! -s conftest.err'
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); }; } &&
80084 { ac_try='test -s conftest.$ac_objext'
80085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80086 (eval $ac_try) 2>&5
80087 ac_status=$?
80088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80089 (exit $ac_status); }; }; then
80090 glibcxx_cv_func_logl_use=yes
80091 else
80092 echo "$as_me: failed program was:" >&5
80093 sed 's/^/| /' conftest.$ac_ext >&5
80095 glibcxx_cv_func_logl_use=no
80097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80098 ac_ext=c
80099 ac_cpp='$CPP $CPPFLAGS'
80100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80108 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
80109 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
80111 if test x$glibcxx_cv_func_logl_use = x"yes"; then
80113 for ac_func in logl
80115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80116 echo "$as_me:$LINENO: checking for $ac_func" >&5
80117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80118 if eval "test \"\${$as_ac_var+set}\" = set"; then
80119 echo $ECHO_N "(cached) $ECHO_C" >&6
80120 else
80121 if test x$gcc_no_link = xyes; then
80122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80124 { (exit 1); exit 1; }; }
80126 cat >conftest.$ac_ext <<_ACEOF
80127 /* confdefs.h. */
80128 _ACEOF
80129 cat confdefs.h >>conftest.$ac_ext
80130 cat >>conftest.$ac_ext <<_ACEOF
80131 /* end confdefs.h. */
80132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80134 #define $ac_func innocuous_$ac_func
80136 /* System header to define __stub macros and hopefully few prototypes,
80137 which can conflict with char $ac_func (); below.
80138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80139 <limits.h> exists even on freestanding compilers. */
80141 #ifdef __STDC__
80142 # include <limits.h>
80143 #else
80144 # include <assert.h>
80145 #endif
80147 #undef $ac_func
80149 /* Override any gcc2 internal prototype to avoid an error. */
80150 #ifdef __cplusplus
80151 extern "C"
80153 #endif
80154 /* We use char because int might match the return type of a gcc2
80155 builtin and then its argument prototype would still apply. */
80156 char $ac_func ();
80157 /* The GNU C library defines this for functions which it implements
80158 to always fail with ENOSYS. Some functions are actually named
80159 something starting with __ and the normal name is an alias. */
80160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80161 choke me
80162 #else
80163 char (*f) () = $ac_func;
80164 #endif
80165 #ifdef __cplusplus
80167 #endif
80170 main ()
80172 return f != $ac_func;
80174 return 0;
80176 _ACEOF
80177 rm -f conftest.$ac_objext conftest$ac_exeext
80178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80179 (eval $ac_link) 2>conftest.er1
80180 ac_status=$?
80181 grep -v '^ *+' conftest.er1 >conftest.err
80182 rm -f conftest.er1
80183 cat conftest.err >&5
80184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80185 (exit $ac_status); } &&
80186 { ac_try='test -z "$ac_c_werror_flag"
80187 || test ! -s conftest.err'
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); }; } &&
80193 { ac_try='test -s conftest$ac_exeext'
80194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80195 (eval $ac_try) 2>&5
80196 ac_status=$?
80197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80198 (exit $ac_status); }; }; then
80199 eval "$as_ac_var=yes"
80200 else
80201 echo "$as_me: failed program was:" >&5
80202 sed 's/^/| /' conftest.$ac_ext >&5
80204 eval "$as_ac_var=no"
80206 rm -f conftest.err conftest.$ac_objext \
80207 conftest$ac_exeext conftest.$ac_ext
80209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80211 if test `eval echo '${'$as_ac_var'}'` = yes; then
80212 cat >>confdefs.h <<_ACEOF
80213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80214 _ACEOF
80217 done
80219 else
80221 echo "$as_me:$LINENO: checking for _logl declaration" >&5
80222 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
80223 if test x${glibcxx_cv_func__logl_use+set} != xset; then
80224 if test "${glibcxx_cv_func__logl_use+set}" = set; then
80225 echo $ECHO_N "(cached) $ECHO_C" >&6
80226 else
80230 ac_ext=cc
80231 ac_cpp='$CXXCPP $CPPFLAGS'
80232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80236 cat >conftest.$ac_ext <<_ACEOF
80237 /* confdefs.h. */
80238 _ACEOF
80239 cat confdefs.h >>conftest.$ac_ext
80240 cat >>conftest.$ac_ext <<_ACEOF
80241 /* end confdefs.h. */
80242 #include <math.h>
80243 #ifdef HAVE_IEEEFP_H
80244 #include <ieeefp.h>
80245 #endif
80248 main ()
80250 _logl(0);
80252 return 0;
80254 _ACEOF
80255 rm -f conftest.$ac_objext
80256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80257 (eval $ac_compile) 2>conftest.er1
80258 ac_status=$?
80259 grep -v '^ *+' conftest.er1 >conftest.err
80260 rm -f conftest.er1
80261 cat conftest.err >&5
80262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80263 (exit $ac_status); } &&
80264 { ac_try='test -z "$ac_cxx_werror_flag"
80265 || test ! -s conftest.err'
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); }; } &&
80271 { ac_try='test -s conftest.$ac_objext'
80272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80273 (eval $ac_try) 2>&5
80274 ac_status=$?
80275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80276 (exit $ac_status); }; }; then
80277 glibcxx_cv_func__logl_use=yes
80278 else
80279 echo "$as_me: failed program was:" >&5
80280 sed 's/^/| /' conftest.$ac_ext >&5
80282 glibcxx_cv_func__logl_use=no
80284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80285 ac_ext=c
80286 ac_cpp='$CPP $CPPFLAGS'
80287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80295 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
80296 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
80298 if test x$glibcxx_cv_func__logl_use = x"yes"; then
80300 for ac_func in _logl
80302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80303 echo "$as_me:$LINENO: checking for $ac_func" >&5
80304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80305 if eval "test \"\${$as_ac_var+set}\" = set"; then
80306 echo $ECHO_N "(cached) $ECHO_C" >&6
80307 else
80308 if test x$gcc_no_link = xyes; then
80309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80311 { (exit 1); exit 1; }; }
80313 cat >conftest.$ac_ext <<_ACEOF
80314 /* confdefs.h. */
80315 _ACEOF
80316 cat confdefs.h >>conftest.$ac_ext
80317 cat >>conftest.$ac_ext <<_ACEOF
80318 /* end confdefs.h. */
80319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80321 #define $ac_func innocuous_$ac_func
80323 /* System header to define __stub macros and hopefully few prototypes,
80324 which can conflict with char $ac_func (); below.
80325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80326 <limits.h> exists even on freestanding compilers. */
80328 #ifdef __STDC__
80329 # include <limits.h>
80330 #else
80331 # include <assert.h>
80332 #endif
80334 #undef $ac_func
80336 /* Override any gcc2 internal prototype to avoid an error. */
80337 #ifdef __cplusplus
80338 extern "C"
80340 #endif
80341 /* We use char because int might match the return type of a gcc2
80342 builtin and then its argument prototype would still apply. */
80343 char $ac_func ();
80344 /* The GNU C library defines this for functions which it implements
80345 to always fail with ENOSYS. Some functions are actually named
80346 something starting with __ and the normal name is an alias. */
80347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80348 choke me
80349 #else
80350 char (*f) () = $ac_func;
80351 #endif
80352 #ifdef __cplusplus
80354 #endif
80357 main ()
80359 return f != $ac_func;
80361 return 0;
80363 _ACEOF
80364 rm -f conftest.$ac_objext conftest$ac_exeext
80365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80366 (eval $ac_link) 2>conftest.er1
80367 ac_status=$?
80368 grep -v '^ *+' conftest.er1 >conftest.err
80369 rm -f conftest.er1
80370 cat conftest.err >&5
80371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80372 (exit $ac_status); } &&
80373 { ac_try='test -z "$ac_c_werror_flag"
80374 || test ! -s conftest.err'
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); }; } &&
80380 { ac_try='test -s conftest$ac_exeext'
80381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80382 (eval $ac_try) 2>&5
80383 ac_status=$?
80384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80385 (exit $ac_status); }; }; then
80386 eval "$as_ac_var=yes"
80387 else
80388 echo "$as_me: failed program was:" >&5
80389 sed 's/^/| /' conftest.$ac_ext >&5
80391 eval "$as_ac_var=no"
80393 rm -f conftest.err conftest.$ac_objext \
80394 conftest$ac_exeext conftest.$ac_ext
80396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80398 if test `eval echo '${'$as_ac_var'}'` = yes; then
80399 cat >>confdefs.h <<_ACEOF
80400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80401 _ACEOF
80404 done
80414 echo "$as_me:$LINENO: checking for log10l declaration" >&5
80415 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
80416 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
80417 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
80418 echo $ECHO_N "(cached) $ECHO_C" >&6
80419 else
80423 ac_ext=cc
80424 ac_cpp='$CXXCPP $CPPFLAGS'
80425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80429 cat >conftest.$ac_ext <<_ACEOF
80430 /* confdefs.h. */
80431 _ACEOF
80432 cat confdefs.h >>conftest.$ac_ext
80433 cat >>conftest.$ac_ext <<_ACEOF
80434 /* end confdefs.h. */
80435 #include <math.h>
80436 #ifdef HAVE_IEEEFP_H
80437 #include <ieeefp.h>
80438 #endif
80441 main ()
80443 log10l(0);
80445 return 0;
80447 _ACEOF
80448 rm -f conftest.$ac_objext
80449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80450 (eval $ac_compile) 2>conftest.er1
80451 ac_status=$?
80452 grep -v '^ *+' conftest.er1 >conftest.err
80453 rm -f conftest.er1
80454 cat conftest.err >&5
80455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80456 (exit $ac_status); } &&
80457 { ac_try='test -z "$ac_cxx_werror_flag"
80458 || test ! -s conftest.err'
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); }; } &&
80464 { ac_try='test -s conftest.$ac_objext'
80465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80466 (eval $ac_try) 2>&5
80467 ac_status=$?
80468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80469 (exit $ac_status); }; }; then
80470 glibcxx_cv_func_log10l_use=yes
80471 else
80472 echo "$as_me: failed program was:" >&5
80473 sed 's/^/| /' conftest.$ac_ext >&5
80475 glibcxx_cv_func_log10l_use=no
80477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80478 ac_ext=c
80479 ac_cpp='$CPP $CPPFLAGS'
80480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80488 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
80489 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
80491 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
80493 for ac_func in log10l
80495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80496 echo "$as_me:$LINENO: checking for $ac_func" >&5
80497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80498 if eval "test \"\${$as_ac_var+set}\" = set"; then
80499 echo $ECHO_N "(cached) $ECHO_C" >&6
80500 else
80501 if test x$gcc_no_link = xyes; then
80502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80504 { (exit 1); exit 1; }; }
80506 cat >conftest.$ac_ext <<_ACEOF
80507 /* confdefs.h. */
80508 _ACEOF
80509 cat confdefs.h >>conftest.$ac_ext
80510 cat >>conftest.$ac_ext <<_ACEOF
80511 /* end confdefs.h. */
80512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80514 #define $ac_func innocuous_$ac_func
80516 /* System header to define __stub macros and hopefully few prototypes,
80517 which can conflict with char $ac_func (); below.
80518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80519 <limits.h> exists even on freestanding compilers. */
80521 #ifdef __STDC__
80522 # include <limits.h>
80523 #else
80524 # include <assert.h>
80525 #endif
80527 #undef $ac_func
80529 /* Override any gcc2 internal prototype to avoid an error. */
80530 #ifdef __cplusplus
80531 extern "C"
80533 #endif
80534 /* We use char because int might match the return type of a gcc2
80535 builtin and then its argument prototype would still apply. */
80536 char $ac_func ();
80537 /* The GNU C library defines this for functions which it implements
80538 to always fail with ENOSYS. Some functions are actually named
80539 something starting with __ and the normal name is an alias. */
80540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80541 choke me
80542 #else
80543 char (*f) () = $ac_func;
80544 #endif
80545 #ifdef __cplusplus
80547 #endif
80550 main ()
80552 return f != $ac_func;
80554 return 0;
80556 _ACEOF
80557 rm -f conftest.$ac_objext conftest$ac_exeext
80558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80559 (eval $ac_link) 2>conftest.er1
80560 ac_status=$?
80561 grep -v '^ *+' conftest.er1 >conftest.err
80562 rm -f conftest.er1
80563 cat conftest.err >&5
80564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80565 (exit $ac_status); } &&
80566 { ac_try='test -z "$ac_c_werror_flag"
80567 || test ! -s conftest.err'
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); }; } &&
80573 { ac_try='test -s conftest$ac_exeext'
80574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80575 (eval $ac_try) 2>&5
80576 ac_status=$?
80577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80578 (exit $ac_status); }; }; then
80579 eval "$as_ac_var=yes"
80580 else
80581 echo "$as_me: failed program was:" >&5
80582 sed 's/^/| /' conftest.$ac_ext >&5
80584 eval "$as_ac_var=no"
80586 rm -f conftest.err conftest.$ac_objext \
80587 conftest$ac_exeext conftest.$ac_ext
80589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80591 if test `eval echo '${'$as_ac_var'}'` = yes; then
80592 cat >>confdefs.h <<_ACEOF
80593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80594 _ACEOF
80597 done
80599 else
80601 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
80602 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
80603 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
80604 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
80605 echo $ECHO_N "(cached) $ECHO_C" >&6
80606 else
80610 ac_ext=cc
80611 ac_cpp='$CXXCPP $CPPFLAGS'
80612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80616 cat >conftest.$ac_ext <<_ACEOF
80617 /* confdefs.h. */
80618 _ACEOF
80619 cat confdefs.h >>conftest.$ac_ext
80620 cat >>conftest.$ac_ext <<_ACEOF
80621 /* end confdefs.h. */
80622 #include <math.h>
80623 #ifdef HAVE_IEEEFP_H
80624 #include <ieeefp.h>
80625 #endif
80628 main ()
80630 _log10l(0);
80632 return 0;
80634 _ACEOF
80635 rm -f conftest.$ac_objext
80636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80637 (eval $ac_compile) 2>conftest.er1
80638 ac_status=$?
80639 grep -v '^ *+' conftest.er1 >conftest.err
80640 rm -f conftest.er1
80641 cat conftest.err >&5
80642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80643 (exit $ac_status); } &&
80644 { ac_try='test -z "$ac_cxx_werror_flag"
80645 || test ! -s conftest.err'
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); }; } &&
80651 { ac_try='test -s conftest.$ac_objext'
80652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80653 (eval $ac_try) 2>&5
80654 ac_status=$?
80655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80656 (exit $ac_status); }; }; then
80657 glibcxx_cv_func__log10l_use=yes
80658 else
80659 echo "$as_me: failed program was:" >&5
80660 sed 's/^/| /' conftest.$ac_ext >&5
80662 glibcxx_cv_func__log10l_use=no
80664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80665 ac_ext=c
80666 ac_cpp='$CPP $CPPFLAGS'
80667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80675 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
80676 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
80678 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
80680 for ac_func in _log10l
80682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80683 echo "$as_me:$LINENO: checking for $ac_func" >&5
80684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80685 if eval "test \"\${$as_ac_var+set}\" = set"; then
80686 echo $ECHO_N "(cached) $ECHO_C" >&6
80687 else
80688 if test x$gcc_no_link = xyes; then
80689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80691 { (exit 1); exit 1; }; }
80693 cat >conftest.$ac_ext <<_ACEOF
80694 /* confdefs.h. */
80695 _ACEOF
80696 cat confdefs.h >>conftest.$ac_ext
80697 cat >>conftest.$ac_ext <<_ACEOF
80698 /* end confdefs.h. */
80699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80701 #define $ac_func innocuous_$ac_func
80703 /* System header to define __stub macros and hopefully few prototypes,
80704 which can conflict with char $ac_func (); below.
80705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80706 <limits.h> exists even on freestanding compilers. */
80708 #ifdef __STDC__
80709 # include <limits.h>
80710 #else
80711 # include <assert.h>
80712 #endif
80714 #undef $ac_func
80716 /* Override any gcc2 internal prototype to avoid an error. */
80717 #ifdef __cplusplus
80718 extern "C"
80720 #endif
80721 /* We use char because int might match the return type of a gcc2
80722 builtin and then its argument prototype would still apply. */
80723 char $ac_func ();
80724 /* The GNU C library defines this for functions which it implements
80725 to always fail with ENOSYS. Some functions are actually named
80726 something starting with __ and the normal name is an alias. */
80727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80728 choke me
80729 #else
80730 char (*f) () = $ac_func;
80731 #endif
80732 #ifdef __cplusplus
80734 #endif
80737 main ()
80739 return f != $ac_func;
80741 return 0;
80743 _ACEOF
80744 rm -f conftest.$ac_objext conftest$ac_exeext
80745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80746 (eval $ac_link) 2>conftest.er1
80747 ac_status=$?
80748 grep -v '^ *+' conftest.er1 >conftest.err
80749 rm -f conftest.er1
80750 cat conftest.err >&5
80751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80752 (exit $ac_status); } &&
80753 { ac_try='test -z "$ac_c_werror_flag"
80754 || test ! -s conftest.err'
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); }; } &&
80760 { ac_try='test -s conftest$ac_exeext'
80761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80762 (eval $ac_try) 2>&5
80763 ac_status=$?
80764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80765 (exit $ac_status); }; }; then
80766 eval "$as_ac_var=yes"
80767 else
80768 echo "$as_me: failed program was:" >&5
80769 sed 's/^/| /' conftest.$ac_ext >&5
80771 eval "$as_ac_var=no"
80773 rm -f conftest.err conftest.$ac_objext \
80774 conftest$ac_exeext conftest.$ac_ext
80776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80778 if test `eval echo '${'$as_ac_var'}'` = yes; then
80779 cat >>confdefs.h <<_ACEOF
80780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80781 _ACEOF
80784 done
80794 echo "$as_me:$LINENO: checking for modfl declaration" >&5
80795 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
80796 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
80797 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
80798 echo $ECHO_N "(cached) $ECHO_C" >&6
80799 else
80803 ac_ext=cc
80804 ac_cpp='$CXXCPP $CPPFLAGS'
80805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80809 cat >conftest.$ac_ext <<_ACEOF
80810 /* confdefs.h. */
80811 _ACEOF
80812 cat confdefs.h >>conftest.$ac_ext
80813 cat >>conftest.$ac_ext <<_ACEOF
80814 /* end confdefs.h. */
80815 #include <math.h>
80817 main ()
80819 modfl(0, 0);
80821 return 0;
80823 _ACEOF
80824 rm -f conftest.$ac_objext
80825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80826 (eval $ac_compile) 2>conftest.er1
80827 ac_status=$?
80828 grep -v '^ *+' conftest.er1 >conftest.err
80829 rm -f conftest.er1
80830 cat conftest.err >&5
80831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80832 (exit $ac_status); } &&
80833 { ac_try='test -z "$ac_cxx_werror_flag"
80834 || test ! -s conftest.err'
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); }; } &&
80840 { ac_try='test -s conftest.$ac_objext'
80841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80842 (eval $ac_try) 2>&5
80843 ac_status=$?
80844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80845 (exit $ac_status); }; }; then
80846 glibcxx_cv_func_modfl_use=yes
80847 else
80848 echo "$as_me: failed program was:" >&5
80849 sed 's/^/| /' conftest.$ac_ext >&5
80851 glibcxx_cv_func_modfl_use=no
80853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80854 ac_ext=c
80855 ac_cpp='$CPP $CPPFLAGS'
80856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80864 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
80865 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
80867 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
80869 for ac_func in modfl
80871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80872 echo "$as_me:$LINENO: checking for $ac_func" >&5
80873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80874 if eval "test \"\${$as_ac_var+set}\" = set"; then
80875 echo $ECHO_N "(cached) $ECHO_C" >&6
80876 else
80877 if test x$gcc_no_link = xyes; then
80878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80880 { (exit 1); exit 1; }; }
80882 cat >conftest.$ac_ext <<_ACEOF
80883 /* confdefs.h. */
80884 _ACEOF
80885 cat confdefs.h >>conftest.$ac_ext
80886 cat >>conftest.$ac_ext <<_ACEOF
80887 /* end confdefs.h. */
80888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80890 #define $ac_func innocuous_$ac_func
80892 /* System header to define __stub macros and hopefully few prototypes,
80893 which can conflict with char $ac_func (); below.
80894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80895 <limits.h> exists even on freestanding compilers. */
80897 #ifdef __STDC__
80898 # include <limits.h>
80899 #else
80900 # include <assert.h>
80901 #endif
80903 #undef $ac_func
80905 /* Override any gcc2 internal prototype to avoid an error. */
80906 #ifdef __cplusplus
80907 extern "C"
80909 #endif
80910 /* We use char because int might match the return type of a gcc2
80911 builtin and then its argument prototype would still apply. */
80912 char $ac_func ();
80913 /* The GNU C library defines this for functions which it implements
80914 to always fail with ENOSYS. Some functions are actually named
80915 something starting with __ and the normal name is an alias. */
80916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80917 choke me
80918 #else
80919 char (*f) () = $ac_func;
80920 #endif
80921 #ifdef __cplusplus
80923 #endif
80926 main ()
80928 return f != $ac_func;
80930 return 0;
80932 _ACEOF
80933 rm -f conftest.$ac_objext conftest$ac_exeext
80934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80935 (eval $ac_link) 2>conftest.er1
80936 ac_status=$?
80937 grep -v '^ *+' conftest.er1 >conftest.err
80938 rm -f conftest.er1
80939 cat conftest.err >&5
80940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80941 (exit $ac_status); } &&
80942 { ac_try='test -z "$ac_c_werror_flag"
80943 || test ! -s conftest.err'
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); }; } &&
80949 { ac_try='test -s conftest$ac_exeext'
80950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80951 (eval $ac_try) 2>&5
80952 ac_status=$?
80953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80954 (exit $ac_status); }; }; then
80955 eval "$as_ac_var=yes"
80956 else
80957 echo "$as_me: failed program was:" >&5
80958 sed 's/^/| /' conftest.$ac_ext >&5
80960 eval "$as_ac_var=no"
80962 rm -f conftest.err conftest.$ac_objext \
80963 conftest$ac_exeext conftest.$ac_ext
80965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80967 if test `eval echo '${'$as_ac_var'}'` = yes; then
80968 cat >>confdefs.h <<_ACEOF
80969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80970 _ACEOF
80973 done
80975 else
80977 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
80978 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
80979 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
80980 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
80981 echo $ECHO_N "(cached) $ECHO_C" >&6
80982 else
80986 ac_ext=cc
80987 ac_cpp='$CXXCPP $CPPFLAGS'
80988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80992 cat >conftest.$ac_ext <<_ACEOF
80993 /* confdefs.h. */
80994 _ACEOF
80995 cat confdefs.h >>conftest.$ac_ext
80996 cat >>conftest.$ac_ext <<_ACEOF
80997 /* end confdefs.h. */
80998 #include <math.h>
81000 main ()
81002 _modfl(0, 0);
81004 return 0;
81006 _ACEOF
81007 rm -f conftest.$ac_objext
81008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81009 (eval $ac_compile) 2>conftest.er1
81010 ac_status=$?
81011 grep -v '^ *+' conftest.er1 >conftest.err
81012 rm -f conftest.er1
81013 cat conftest.err >&5
81014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81015 (exit $ac_status); } &&
81016 { ac_try='test -z "$ac_cxx_werror_flag"
81017 || test ! -s conftest.err'
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); }; } &&
81023 { ac_try='test -s conftest.$ac_objext'
81024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81025 (eval $ac_try) 2>&5
81026 ac_status=$?
81027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81028 (exit $ac_status); }; }; then
81029 glibcxx_cv_func__modfl_use=yes
81030 else
81031 echo "$as_me: failed program was:" >&5
81032 sed 's/^/| /' conftest.$ac_ext >&5
81034 glibcxx_cv_func__modfl_use=no
81036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81037 ac_ext=c
81038 ac_cpp='$CPP $CPPFLAGS'
81039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81047 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
81048 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
81050 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
81052 for ac_func in _modfl
81054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81055 echo "$as_me:$LINENO: checking for $ac_func" >&5
81056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81057 if eval "test \"\${$as_ac_var+set}\" = set"; then
81058 echo $ECHO_N "(cached) $ECHO_C" >&6
81059 else
81060 if test x$gcc_no_link = xyes; then
81061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81063 { (exit 1); exit 1; }; }
81065 cat >conftest.$ac_ext <<_ACEOF
81066 /* confdefs.h. */
81067 _ACEOF
81068 cat confdefs.h >>conftest.$ac_ext
81069 cat >>conftest.$ac_ext <<_ACEOF
81070 /* end confdefs.h. */
81071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81073 #define $ac_func innocuous_$ac_func
81075 /* System header to define __stub macros and hopefully few prototypes,
81076 which can conflict with char $ac_func (); below.
81077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81078 <limits.h> exists even on freestanding compilers. */
81080 #ifdef __STDC__
81081 # include <limits.h>
81082 #else
81083 # include <assert.h>
81084 #endif
81086 #undef $ac_func
81088 /* Override any gcc2 internal prototype to avoid an error. */
81089 #ifdef __cplusplus
81090 extern "C"
81092 #endif
81093 /* We use char because int might match the return type of a gcc2
81094 builtin and then its argument prototype would still apply. */
81095 char $ac_func ();
81096 /* The GNU C library defines this for functions which it implements
81097 to always fail with ENOSYS. Some functions are actually named
81098 something starting with __ and the normal name is an alias. */
81099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81100 choke me
81101 #else
81102 char (*f) () = $ac_func;
81103 #endif
81104 #ifdef __cplusplus
81106 #endif
81109 main ()
81111 return f != $ac_func;
81113 return 0;
81115 _ACEOF
81116 rm -f conftest.$ac_objext conftest$ac_exeext
81117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81118 (eval $ac_link) 2>conftest.er1
81119 ac_status=$?
81120 grep -v '^ *+' conftest.er1 >conftest.err
81121 rm -f conftest.er1
81122 cat conftest.err >&5
81123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81124 (exit $ac_status); } &&
81125 { ac_try='test -z "$ac_c_werror_flag"
81126 || test ! -s conftest.err'
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); }; } &&
81132 { ac_try='test -s conftest$ac_exeext'
81133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81134 (eval $ac_try) 2>&5
81135 ac_status=$?
81136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81137 (exit $ac_status); }; }; then
81138 eval "$as_ac_var=yes"
81139 else
81140 echo "$as_me: failed program was:" >&5
81141 sed 's/^/| /' conftest.$ac_ext >&5
81143 eval "$as_ac_var=no"
81145 rm -f conftest.err conftest.$ac_objext \
81146 conftest$ac_exeext conftest.$ac_ext
81148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81150 if test `eval echo '${'$as_ac_var'}'` = yes; then
81151 cat >>confdefs.h <<_ACEOF
81152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81153 _ACEOF
81156 done
81166 echo "$as_me:$LINENO: checking for powl declaration" >&5
81167 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
81168 if test x${glibcxx_cv_func_powl_use+set} != xset; then
81169 if test "${glibcxx_cv_func_powl_use+set}" = set; then
81170 echo $ECHO_N "(cached) $ECHO_C" >&6
81171 else
81175 ac_ext=cc
81176 ac_cpp='$CXXCPP $CPPFLAGS'
81177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81181 cat >conftest.$ac_ext <<_ACEOF
81182 /* confdefs.h. */
81183 _ACEOF
81184 cat confdefs.h >>conftest.$ac_ext
81185 cat >>conftest.$ac_ext <<_ACEOF
81186 /* end confdefs.h. */
81187 #include <math.h>
81189 main ()
81191 powl(0, 0);
81193 return 0;
81195 _ACEOF
81196 rm -f conftest.$ac_objext
81197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81198 (eval $ac_compile) 2>conftest.er1
81199 ac_status=$?
81200 grep -v '^ *+' conftest.er1 >conftest.err
81201 rm -f conftest.er1
81202 cat conftest.err >&5
81203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81204 (exit $ac_status); } &&
81205 { ac_try='test -z "$ac_cxx_werror_flag"
81206 || test ! -s conftest.err'
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); }; } &&
81212 { ac_try='test -s conftest.$ac_objext'
81213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81214 (eval $ac_try) 2>&5
81215 ac_status=$?
81216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81217 (exit $ac_status); }; }; then
81218 glibcxx_cv_func_powl_use=yes
81219 else
81220 echo "$as_me: failed program was:" >&5
81221 sed 's/^/| /' conftest.$ac_ext >&5
81223 glibcxx_cv_func_powl_use=no
81225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81226 ac_ext=c
81227 ac_cpp='$CPP $CPPFLAGS'
81228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81236 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
81237 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
81239 if test x$glibcxx_cv_func_powl_use = x"yes"; then
81241 for ac_func in powl
81243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81244 echo "$as_me:$LINENO: checking for $ac_func" >&5
81245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81246 if eval "test \"\${$as_ac_var+set}\" = set"; then
81247 echo $ECHO_N "(cached) $ECHO_C" >&6
81248 else
81249 if test x$gcc_no_link = xyes; then
81250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81252 { (exit 1); exit 1; }; }
81254 cat >conftest.$ac_ext <<_ACEOF
81255 /* confdefs.h. */
81256 _ACEOF
81257 cat confdefs.h >>conftest.$ac_ext
81258 cat >>conftest.$ac_ext <<_ACEOF
81259 /* end confdefs.h. */
81260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81262 #define $ac_func innocuous_$ac_func
81264 /* System header to define __stub macros and hopefully few prototypes,
81265 which can conflict with char $ac_func (); below.
81266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81267 <limits.h> exists even on freestanding compilers. */
81269 #ifdef __STDC__
81270 # include <limits.h>
81271 #else
81272 # include <assert.h>
81273 #endif
81275 #undef $ac_func
81277 /* Override any gcc2 internal prototype to avoid an error. */
81278 #ifdef __cplusplus
81279 extern "C"
81281 #endif
81282 /* We use char because int might match the return type of a gcc2
81283 builtin and then its argument prototype would still apply. */
81284 char $ac_func ();
81285 /* The GNU C library defines this for functions which it implements
81286 to always fail with ENOSYS. Some functions are actually named
81287 something starting with __ and the normal name is an alias. */
81288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81289 choke me
81290 #else
81291 char (*f) () = $ac_func;
81292 #endif
81293 #ifdef __cplusplus
81295 #endif
81298 main ()
81300 return f != $ac_func;
81302 return 0;
81304 _ACEOF
81305 rm -f conftest.$ac_objext conftest$ac_exeext
81306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81307 (eval $ac_link) 2>conftest.er1
81308 ac_status=$?
81309 grep -v '^ *+' conftest.er1 >conftest.err
81310 rm -f conftest.er1
81311 cat conftest.err >&5
81312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81313 (exit $ac_status); } &&
81314 { ac_try='test -z "$ac_c_werror_flag"
81315 || test ! -s conftest.err'
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); }; } &&
81321 { ac_try='test -s conftest$ac_exeext'
81322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81323 (eval $ac_try) 2>&5
81324 ac_status=$?
81325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81326 (exit $ac_status); }; }; then
81327 eval "$as_ac_var=yes"
81328 else
81329 echo "$as_me: failed program was:" >&5
81330 sed 's/^/| /' conftest.$ac_ext >&5
81332 eval "$as_ac_var=no"
81334 rm -f conftest.err conftest.$ac_objext \
81335 conftest$ac_exeext conftest.$ac_ext
81337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81339 if test `eval echo '${'$as_ac_var'}'` = yes; then
81340 cat >>confdefs.h <<_ACEOF
81341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81342 _ACEOF
81345 done
81347 else
81349 echo "$as_me:$LINENO: checking for _powl declaration" >&5
81350 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
81351 if test x${glibcxx_cv_func__powl_use+set} != xset; then
81352 if test "${glibcxx_cv_func__powl_use+set}" = set; then
81353 echo $ECHO_N "(cached) $ECHO_C" >&6
81354 else
81358 ac_ext=cc
81359 ac_cpp='$CXXCPP $CPPFLAGS'
81360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81364 cat >conftest.$ac_ext <<_ACEOF
81365 /* confdefs.h. */
81366 _ACEOF
81367 cat confdefs.h >>conftest.$ac_ext
81368 cat >>conftest.$ac_ext <<_ACEOF
81369 /* end confdefs.h. */
81370 #include <math.h>
81372 main ()
81374 _powl(0, 0);
81376 return 0;
81378 _ACEOF
81379 rm -f conftest.$ac_objext
81380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81381 (eval $ac_compile) 2>conftest.er1
81382 ac_status=$?
81383 grep -v '^ *+' conftest.er1 >conftest.err
81384 rm -f conftest.er1
81385 cat conftest.err >&5
81386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81387 (exit $ac_status); } &&
81388 { ac_try='test -z "$ac_cxx_werror_flag"
81389 || test ! -s conftest.err'
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); }; } &&
81395 { ac_try='test -s conftest.$ac_objext'
81396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81397 (eval $ac_try) 2>&5
81398 ac_status=$?
81399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81400 (exit $ac_status); }; }; then
81401 glibcxx_cv_func__powl_use=yes
81402 else
81403 echo "$as_me: failed program was:" >&5
81404 sed 's/^/| /' conftest.$ac_ext >&5
81406 glibcxx_cv_func__powl_use=no
81408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81409 ac_ext=c
81410 ac_cpp='$CPP $CPPFLAGS'
81411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81419 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
81420 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
81422 if test x$glibcxx_cv_func__powl_use = x"yes"; then
81424 for ac_func in _powl
81426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81427 echo "$as_me:$LINENO: checking for $ac_func" >&5
81428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81429 if eval "test \"\${$as_ac_var+set}\" = set"; then
81430 echo $ECHO_N "(cached) $ECHO_C" >&6
81431 else
81432 if test x$gcc_no_link = xyes; then
81433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81435 { (exit 1); exit 1; }; }
81437 cat >conftest.$ac_ext <<_ACEOF
81438 /* confdefs.h. */
81439 _ACEOF
81440 cat confdefs.h >>conftest.$ac_ext
81441 cat >>conftest.$ac_ext <<_ACEOF
81442 /* end confdefs.h. */
81443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81445 #define $ac_func innocuous_$ac_func
81447 /* System header to define __stub macros and hopefully few prototypes,
81448 which can conflict with char $ac_func (); below.
81449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81450 <limits.h> exists even on freestanding compilers. */
81452 #ifdef __STDC__
81453 # include <limits.h>
81454 #else
81455 # include <assert.h>
81456 #endif
81458 #undef $ac_func
81460 /* Override any gcc2 internal prototype to avoid an error. */
81461 #ifdef __cplusplus
81462 extern "C"
81464 #endif
81465 /* We use char because int might match the return type of a gcc2
81466 builtin and then its argument prototype would still apply. */
81467 char $ac_func ();
81468 /* The GNU C library defines this for functions which it implements
81469 to always fail with ENOSYS. Some functions are actually named
81470 something starting with __ and the normal name is an alias. */
81471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81472 choke me
81473 #else
81474 char (*f) () = $ac_func;
81475 #endif
81476 #ifdef __cplusplus
81478 #endif
81481 main ()
81483 return f != $ac_func;
81485 return 0;
81487 _ACEOF
81488 rm -f conftest.$ac_objext conftest$ac_exeext
81489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81490 (eval $ac_link) 2>conftest.er1
81491 ac_status=$?
81492 grep -v '^ *+' conftest.er1 >conftest.err
81493 rm -f conftest.er1
81494 cat conftest.err >&5
81495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81496 (exit $ac_status); } &&
81497 { ac_try='test -z "$ac_c_werror_flag"
81498 || test ! -s conftest.err'
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); }; } &&
81504 { ac_try='test -s conftest$ac_exeext'
81505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81506 (eval $ac_try) 2>&5
81507 ac_status=$?
81508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81509 (exit $ac_status); }; }; then
81510 eval "$as_ac_var=yes"
81511 else
81512 echo "$as_me: failed program was:" >&5
81513 sed 's/^/| /' conftest.$ac_ext >&5
81515 eval "$as_ac_var=no"
81517 rm -f conftest.err conftest.$ac_objext \
81518 conftest$ac_exeext conftest.$ac_ext
81520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81522 if test `eval echo '${'$as_ac_var'}'` = yes; then
81523 cat >>confdefs.h <<_ACEOF
81524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81525 _ACEOF
81528 done
81538 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
81539 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
81540 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
81541 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
81542 echo $ECHO_N "(cached) $ECHO_C" >&6
81543 else
81547 ac_ext=cc
81548 ac_cpp='$CXXCPP $CPPFLAGS'
81549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81553 cat >conftest.$ac_ext <<_ACEOF
81554 /* confdefs.h. */
81555 _ACEOF
81556 cat confdefs.h >>conftest.$ac_ext
81557 cat >>conftest.$ac_ext <<_ACEOF
81558 /* end confdefs.h. */
81559 #include <math.h>
81560 #ifdef HAVE_IEEEFP_H
81561 #include <ieeefp.h>
81562 #endif
81565 main ()
81567 sqrtl(0);
81569 return 0;
81571 _ACEOF
81572 rm -f conftest.$ac_objext
81573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81574 (eval $ac_compile) 2>conftest.er1
81575 ac_status=$?
81576 grep -v '^ *+' conftest.er1 >conftest.err
81577 rm -f conftest.er1
81578 cat conftest.err >&5
81579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81580 (exit $ac_status); } &&
81581 { ac_try='test -z "$ac_cxx_werror_flag"
81582 || test ! -s conftest.err'
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); }; } &&
81588 { ac_try='test -s conftest.$ac_objext'
81589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81590 (eval $ac_try) 2>&5
81591 ac_status=$?
81592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81593 (exit $ac_status); }; }; then
81594 glibcxx_cv_func_sqrtl_use=yes
81595 else
81596 echo "$as_me: failed program was:" >&5
81597 sed 's/^/| /' conftest.$ac_ext >&5
81599 glibcxx_cv_func_sqrtl_use=no
81601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81602 ac_ext=c
81603 ac_cpp='$CPP $CPPFLAGS'
81604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81612 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
81613 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
81615 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
81617 for ac_func in sqrtl
81619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81620 echo "$as_me:$LINENO: checking for $ac_func" >&5
81621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81622 if eval "test \"\${$as_ac_var+set}\" = set"; then
81623 echo $ECHO_N "(cached) $ECHO_C" >&6
81624 else
81625 if test x$gcc_no_link = xyes; then
81626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81628 { (exit 1); exit 1; }; }
81630 cat >conftest.$ac_ext <<_ACEOF
81631 /* confdefs.h. */
81632 _ACEOF
81633 cat confdefs.h >>conftest.$ac_ext
81634 cat >>conftest.$ac_ext <<_ACEOF
81635 /* end confdefs.h. */
81636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81638 #define $ac_func innocuous_$ac_func
81640 /* System header to define __stub macros and hopefully few prototypes,
81641 which can conflict with char $ac_func (); below.
81642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81643 <limits.h> exists even on freestanding compilers. */
81645 #ifdef __STDC__
81646 # include <limits.h>
81647 #else
81648 # include <assert.h>
81649 #endif
81651 #undef $ac_func
81653 /* Override any gcc2 internal prototype to avoid an error. */
81654 #ifdef __cplusplus
81655 extern "C"
81657 #endif
81658 /* We use char because int might match the return type of a gcc2
81659 builtin and then its argument prototype would still apply. */
81660 char $ac_func ();
81661 /* The GNU C library defines this for functions which it implements
81662 to always fail with ENOSYS. Some functions are actually named
81663 something starting with __ and the normal name is an alias. */
81664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81665 choke me
81666 #else
81667 char (*f) () = $ac_func;
81668 #endif
81669 #ifdef __cplusplus
81671 #endif
81674 main ()
81676 return f != $ac_func;
81678 return 0;
81680 _ACEOF
81681 rm -f conftest.$ac_objext conftest$ac_exeext
81682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81683 (eval $ac_link) 2>conftest.er1
81684 ac_status=$?
81685 grep -v '^ *+' conftest.er1 >conftest.err
81686 rm -f conftest.er1
81687 cat conftest.err >&5
81688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81689 (exit $ac_status); } &&
81690 { ac_try='test -z "$ac_c_werror_flag"
81691 || test ! -s conftest.err'
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); }; } &&
81697 { ac_try='test -s conftest$ac_exeext'
81698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81699 (eval $ac_try) 2>&5
81700 ac_status=$?
81701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81702 (exit $ac_status); }; }; then
81703 eval "$as_ac_var=yes"
81704 else
81705 echo "$as_me: failed program was:" >&5
81706 sed 's/^/| /' conftest.$ac_ext >&5
81708 eval "$as_ac_var=no"
81710 rm -f conftest.err conftest.$ac_objext \
81711 conftest$ac_exeext conftest.$ac_ext
81713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81715 if test `eval echo '${'$as_ac_var'}'` = yes; then
81716 cat >>confdefs.h <<_ACEOF
81717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81718 _ACEOF
81721 done
81723 else
81725 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
81726 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
81727 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
81728 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
81729 echo $ECHO_N "(cached) $ECHO_C" >&6
81730 else
81734 ac_ext=cc
81735 ac_cpp='$CXXCPP $CPPFLAGS'
81736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81740 cat >conftest.$ac_ext <<_ACEOF
81741 /* confdefs.h. */
81742 _ACEOF
81743 cat confdefs.h >>conftest.$ac_ext
81744 cat >>conftest.$ac_ext <<_ACEOF
81745 /* end confdefs.h. */
81746 #include <math.h>
81747 #ifdef HAVE_IEEEFP_H
81748 #include <ieeefp.h>
81749 #endif
81752 main ()
81754 _sqrtl(0);
81756 return 0;
81758 _ACEOF
81759 rm -f conftest.$ac_objext
81760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81761 (eval $ac_compile) 2>conftest.er1
81762 ac_status=$?
81763 grep -v '^ *+' conftest.er1 >conftest.err
81764 rm -f conftest.er1
81765 cat conftest.err >&5
81766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81767 (exit $ac_status); } &&
81768 { ac_try='test -z "$ac_cxx_werror_flag"
81769 || test ! -s conftest.err'
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); }; } &&
81775 { ac_try='test -s conftest.$ac_objext'
81776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81777 (eval $ac_try) 2>&5
81778 ac_status=$?
81779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81780 (exit $ac_status); }; }; then
81781 glibcxx_cv_func__sqrtl_use=yes
81782 else
81783 echo "$as_me: failed program was:" >&5
81784 sed 's/^/| /' conftest.$ac_ext >&5
81786 glibcxx_cv_func__sqrtl_use=no
81788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81789 ac_ext=c
81790 ac_cpp='$CPP $CPPFLAGS'
81791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81799 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
81800 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
81802 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
81804 for ac_func in _sqrtl
81806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81807 echo "$as_me:$LINENO: checking for $ac_func" >&5
81808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81809 if eval "test \"\${$as_ac_var+set}\" = set"; then
81810 echo $ECHO_N "(cached) $ECHO_C" >&6
81811 else
81812 if test x$gcc_no_link = xyes; then
81813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81815 { (exit 1); exit 1; }; }
81817 cat >conftest.$ac_ext <<_ACEOF
81818 /* confdefs.h. */
81819 _ACEOF
81820 cat confdefs.h >>conftest.$ac_ext
81821 cat >>conftest.$ac_ext <<_ACEOF
81822 /* end confdefs.h. */
81823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81825 #define $ac_func innocuous_$ac_func
81827 /* System header to define __stub macros and hopefully few prototypes,
81828 which can conflict with char $ac_func (); below.
81829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81830 <limits.h> exists even on freestanding compilers. */
81832 #ifdef __STDC__
81833 # include <limits.h>
81834 #else
81835 # include <assert.h>
81836 #endif
81838 #undef $ac_func
81840 /* Override any gcc2 internal prototype to avoid an error. */
81841 #ifdef __cplusplus
81842 extern "C"
81844 #endif
81845 /* We use char because int might match the return type of a gcc2
81846 builtin and then its argument prototype would still apply. */
81847 char $ac_func ();
81848 /* The GNU C library defines this for functions which it implements
81849 to always fail with ENOSYS. Some functions are actually named
81850 something starting with __ and the normal name is an alias. */
81851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81852 choke me
81853 #else
81854 char (*f) () = $ac_func;
81855 #endif
81856 #ifdef __cplusplus
81858 #endif
81861 main ()
81863 return f != $ac_func;
81865 return 0;
81867 _ACEOF
81868 rm -f conftest.$ac_objext conftest$ac_exeext
81869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81870 (eval $ac_link) 2>conftest.er1
81871 ac_status=$?
81872 grep -v '^ *+' conftest.er1 >conftest.err
81873 rm -f conftest.er1
81874 cat conftest.err >&5
81875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81876 (exit $ac_status); } &&
81877 { ac_try='test -z "$ac_c_werror_flag"
81878 || test ! -s conftest.err'
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); }; } &&
81884 { ac_try='test -s conftest$ac_exeext'
81885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81886 (eval $ac_try) 2>&5
81887 ac_status=$?
81888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81889 (exit $ac_status); }; }; then
81890 eval "$as_ac_var=yes"
81891 else
81892 echo "$as_me: failed program was:" >&5
81893 sed 's/^/| /' conftest.$ac_ext >&5
81895 eval "$as_ac_var=no"
81897 rm -f conftest.err conftest.$ac_objext \
81898 conftest$ac_exeext conftest.$ac_ext
81900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81902 if test `eval echo '${'$as_ac_var'}'` = yes; then
81903 cat >>confdefs.h <<_ACEOF
81904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81905 _ACEOF
81908 done
81918 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
81919 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
81920 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
81921 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
81922 echo $ECHO_N "(cached) $ECHO_C" >&6
81923 else
81927 ac_ext=cc
81928 ac_cpp='$CXXCPP $CPPFLAGS'
81929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81933 cat >conftest.$ac_ext <<_ACEOF
81934 /* confdefs.h. */
81935 _ACEOF
81936 cat confdefs.h >>conftest.$ac_ext
81937 cat >>conftest.$ac_ext <<_ACEOF
81938 /* end confdefs.h. */
81939 #include <math.h>
81941 main ()
81943 sincosl(0, 0, 0);
81945 return 0;
81947 _ACEOF
81948 rm -f conftest.$ac_objext
81949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81950 (eval $ac_compile) 2>conftest.er1
81951 ac_status=$?
81952 grep -v '^ *+' conftest.er1 >conftest.err
81953 rm -f conftest.er1
81954 cat conftest.err >&5
81955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81956 (exit $ac_status); } &&
81957 { ac_try='test -z "$ac_cxx_werror_flag"
81958 || test ! -s conftest.err'
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); }; } &&
81964 { ac_try='test -s conftest.$ac_objext'
81965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81966 (eval $ac_try) 2>&5
81967 ac_status=$?
81968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81969 (exit $ac_status); }; }; then
81970 glibcxx_cv_func_sincosl_use=yes
81971 else
81972 echo "$as_me: failed program was:" >&5
81973 sed 's/^/| /' conftest.$ac_ext >&5
81975 glibcxx_cv_func_sincosl_use=no
81977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81978 ac_ext=c
81979 ac_cpp='$CPP $CPPFLAGS'
81980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81988 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
81989 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
81991 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
81993 for ac_func in sincosl
81995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81996 echo "$as_me:$LINENO: checking for $ac_func" >&5
81997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81998 if eval "test \"\${$as_ac_var+set}\" = set"; then
81999 echo $ECHO_N "(cached) $ECHO_C" >&6
82000 else
82001 if test x$gcc_no_link = xyes; then
82002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82004 { (exit 1); exit 1; }; }
82006 cat >conftest.$ac_ext <<_ACEOF
82007 /* confdefs.h. */
82008 _ACEOF
82009 cat confdefs.h >>conftest.$ac_ext
82010 cat >>conftest.$ac_ext <<_ACEOF
82011 /* end confdefs.h. */
82012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82014 #define $ac_func innocuous_$ac_func
82016 /* System header to define __stub macros and hopefully few prototypes,
82017 which can conflict with char $ac_func (); below.
82018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82019 <limits.h> exists even on freestanding compilers. */
82021 #ifdef __STDC__
82022 # include <limits.h>
82023 #else
82024 # include <assert.h>
82025 #endif
82027 #undef $ac_func
82029 /* Override any gcc2 internal prototype to avoid an error. */
82030 #ifdef __cplusplus
82031 extern "C"
82033 #endif
82034 /* We use char because int might match the return type of a gcc2
82035 builtin and then its argument prototype would still apply. */
82036 char $ac_func ();
82037 /* The GNU C library defines this for functions which it implements
82038 to always fail with ENOSYS. Some functions are actually named
82039 something starting with __ and the normal name is an alias. */
82040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82041 choke me
82042 #else
82043 char (*f) () = $ac_func;
82044 #endif
82045 #ifdef __cplusplus
82047 #endif
82050 main ()
82052 return f != $ac_func;
82054 return 0;
82056 _ACEOF
82057 rm -f conftest.$ac_objext conftest$ac_exeext
82058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82059 (eval $ac_link) 2>conftest.er1
82060 ac_status=$?
82061 grep -v '^ *+' conftest.er1 >conftest.err
82062 rm -f conftest.er1
82063 cat conftest.err >&5
82064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82065 (exit $ac_status); } &&
82066 { ac_try='test -z "$ac_c_werror_flag"
82067 || test ! -s conftest.err'
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); }; } &&
82073 { ac_try='test -s conftest$ac_exeext'
82074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82075 (eval $ac_try) 2>&5
82076 ac_status=$?
82077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82078 (exit $ac_status); }; }; then
82079 eval "$as_ac_var=yes"
82080 else
82081 echo "$as_me: failed program was:" >&5
82082 sed 's/^/| /' conftest.$ac_ext >&5
82084 eval "$as_ac_var=no"
82086 rm -f conftest.err conftest.$ac_objext \
82087 conftest$ac_exeext conftest.$ac_ext
82089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82091 if test `eval echo '${'$as_ac_var'}'` = yes; then
82092 cat >>confdefs.h <<_ACEOF
82093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82094 _ACEOF
82097 done
82099 else
82101 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
82102 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
82103 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
82104 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
82105 echo $ECHO_N "(cached) $ECHO_C" >&6
82106 else
82110 ac_ext=cc
82111 ac_cpp='$CXXCPP $CPPFLAGS'
82112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82116 cat >conftest.$ac_ext <<_ACEOF
82117 /* confdefs.h. */
82118 _ACEOF
82119 cat confdefs.h >>conftest.$ac_ext
82120 cat >>conftest.$ac_ext <<_ACEOF
82121 /* end confdefs.h. */
82122 #include <math.h>
82124 main ()
82126 _sincosl(0, 0, 0);
82128 return 0;
82130 _ACEOF
82131 rm -f conftest.$ac_objext
82132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82133 (eval $ac_compile) 2>conftest.er1
82134 ac_status=$?
82135 grep -v '^ *+' conftest.er1 >conftest.err
82136 rm -f conftest.er1
82137 cat conftest.err >&5
82138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82139 (exit $ac_status); } &&
82140 { ac_try='test -z "$ac_cxx_werror_flag"
82141 || test ! -s conftest.err'
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); }; } &&
82147 { ac_try='test -s conftest.$ac_objext'
82148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82149 (eval $ac_try) 2>&5
82150 ac_status=$?
82151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82152 (exit $ac_status); }; }; then
82153 glibcxx_cv_func__sincosl_use=yes
82154 else
82155 echo "$as_me: failed program was:" >&5
82156 sed 's/^/| /' conftest.$ac_ext >&5
82158 glibcxx_cv_func__sincosl_use=no
82160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82161 ac_ext=c
82162 ac_cpp='$CPP $CPPFLAGS'
82163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82171 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
82172 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
82174 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
82176 for ac_func in _sincosl
82178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82179 echo "$as_me:$LINENO: checking for $ac_func" >&5
82180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82181 if eval "test \"\${$as_ac_var+set}\" = set"; then
82182 echo $ECHO_N "(cached) $ECHO_C" >&6
82183 else
82184 if test x$gcc_no_link = xyes; then
82185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82187 { (exit 1); exit 1; }; }
82189 cat >conftest.$ac_ext <<_ACEOF
82190 /* confdefs.h. */
82191 _ACEOF
82192 cat confdefs.h >>conftest.$ac_ext
82193 cat >>conftest.$ac_ext <<_ACEOF
82194 /* end confdefs.h. */
82195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82197 #define $ac_func innocuous_$ac_func
82199 /* System header to define __stub macros and hopefully few prototypes,
82200 which can conflict with char $ac_func (); below.
82201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82202 <limits.h> exists even on freestanding compilers. */
82204 #ifdef __STDC__
82205 # include <limits.h>
82206 #else
82207 # include <assert.h>
82208 #endif
82210 #undef $ac_func
82212 /* Override any gcc2 internal prototype to avoid an error. */
82213 #ifdef __cplusplus
82214 extern "C"
82216 #endif
82217 /* We use char because int might match the return type of a gcc2
82218 builtin and then its argument prototype would still apply. */
82219 char $ac_func ();
82220 /* The GNU C library defines this for functions which it implements
82221 to always fail with ENOSYS. Some functions are actually named
82222 something starting with __ and the normal name is an alias. */
82223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82224 choke me
82225 #else
82226 char (*f) () = $ac_func;
82227 #endif
82228 #ifdef __cplusplus
82230 #endif
82233 main ()
82235 return f != $ac_func;
82237 return 0;
82239 _ACEOF
82240 rm -f conftest.$ac_objext conftest$ac_exeext
82241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82242 (eval $ac_link) 2>conftest.er1
82243 ac_status=$?
82244 grep -v '^ *+' conftest.er1 >conftest.err
82245 rm -f conftest.er1
82246 cat conftest.err >&5
82247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82248 (exit $ac_status); } &&
82249 { ac_try='test -z "$ac_c_werror_flag"
82250 || test ! -s conftest.err'
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); }; } &&
82256 { ac_try='test -s conftest$ac_exeext'
82257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82258 (eval $ac_try) 2>&5
82259 ac_status=$?
82260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82261 (exit $ac_status); }; }; then
82262 eval "$as_ac_var=yes"
82263 else
82264 echo "$as_me: failed program was:" >&5
82265 sed 's/^/| /' conftest.$ac_ext >&5
82267 eval "$as_ac_var=no"
82269 rm -f conftest.err conftest.$ac_objext \
82270 conftest$ac_exeext conftest.$ac_ext
82272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82274 if test `eval echo '${'$as_ac_var'}'` = yes; then
82275 cat >>confdefs.h <<_ACEOF
82276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82277 _ACEOF
82280 done
82290 echo "$as_me:$LINENO: checking for finitel declaration" >&5
82291 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
82292 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
82293 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
82294 echo $ECHO_N "(cached) $ECHO_C" >&6
82295 else
82299 ac_ext=cc
82300 ac_cpp='$CXXCPP $CPPFLAGS'
82301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82305 cat >conftest.$ac_ext <<_ACEOF
82306 /* confdefs.h. */
82307 _ACEOF
82308 cat confdefs.h >>conftest.$ac_ext
82309 cat >>conftest.$ac_ext <<_ACEOF
82310 /* end confdefs.h. */
82311 #include <math.h>
82312 #ifdef HAVE_IEEEFP_H
82313 #include <ieeefp.h>
82314 #endif
82317 main ()
82319 finitel(0);
82321 return 0;
82323 _ACEOF
82324 rm -f conftest.$ac_objext
82325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82326 (eval $ac_compile) 2>conftest.er1
82327 ac_status=$?
82328 grep -v '^ *+' conftest.er1 >conftest.err
82329 rm -f conftest.er1
82330 cat conftest.err >&5
82331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82332 (exit $ac_status); } &&
82333 { ac_try='test -z "$ac_cxx_werror_flag"
82334 || test ! -s conftest.err'
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); }; } &&
82340 { ac_try='test -s conftest.$ac_objext'
82341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82342 (eval $ac_try) 2>&5
82343 ac_status=$?
82344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82345 (exit $ac_status); }; }; then
82346 glibcxx_cv_func_finitel_use=yes
82347 else
82348 echo "$as_me: failed program was:" >&5
82349 sed 's/^/| /' conftest.$ac_ext >&5
82351 glibcxx_cv_func_finitel_use=no
82353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82354 ac_ext=c
82355 ac_cpp='$CPP $CPPFLAGS'
82356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82364 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
82365 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
82367 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
82369 for ac_func in finitel
82371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82372 echo "$as_me:$LINENO: checking for $ac_func" >&5
82373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82374 if eval "test \"\${$as_ac_var+set}\" = set"; then
82375 echo $ECHO_N "(cached) $ECHO_C" >&6
82376 else
82377 if test x$gcc_no_link = xyes; then
82378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82380 { (exit 1); exit 1; }; }
82382 cat >conftest.$ac_ext <<_ACEOF
82383 /* confdefs.h. */
82384 _ACEOF
82385 cat confdefs.h >>conftest.$ac_ext
82386 cat >>conftest.$ac_ext <<_ACEOF
82387 /* end confdefs.h. */
82388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82390 #define $ac_func innocuous_$ac_func
82392 /* System header to define __stub macros and hopefully few prototypes,
82393 which can conflict with char $ac_func (); below.
82394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82395 <limits.h> exists even on freestanding compilers. */
82397 #ifdef __STDC__
82398 # include <limits.h>
82399 #else
82400 # include <assert.h>
82401 #endif
82403 #undef $ac_func
82405 /* Override any gcc2 internal prototype to avoid an error. */
82406 #ifdef __cplusplus
82407 extern "C"
82409 #endif
82410 /* We use char because int might match the return type of a gcc2
82411 builtin and then its argument prototype would still apply. */
82412 char $ac_func ();
82413 /* The GNU C library defines this for functions which it implements
82414 to always fail with ENOSYS. Some functions are actually named
82415 something starting with __ and the normal name is an alias. */
82416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82417 choke me
82418 #else
82419 char (*f) () = $ac_func;
82420 #endif
82421 #ifdef __cplusplus
82423 #endif
82426 main ()
82428 return f != $ac_func;
82430 return 0;
82432 _ACEOF
82433 rm -f conftest.$ac_objext conftest$ac_exeext
82434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82435 (eval $ac_link) 2>conftest.er1
82436 ac_status=$?
82437 grep -v '^ *+' conftest.er1 >conftest.err
82438 rm -f conftest.er1
82439 cat conftest.err >&5
82440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82441 (exit $ac_status); } &&
82442 { ac_try='test -z "$ac_c_werror_flag"
82443 || test ! -s conftest.err'
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); }; } &&
82449 { ac_try='test -s conftest$ac_exeext'
82450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82451 (eval $ac_try) 2>&5
82452 ac_status=$?
82453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82454 (exit $ac_status); }; }; then
82455 eval "$as_ac_var=yes"
82456 else
82457 echo "$as_me: failed program was:" >&5
82458 sed 's/^/| /' conftest.$ac_ext >&5
82460 eval "$as_ac_var=no"
82462 rm -f conftest.err conftest.$ac_objext \
82463 conftest$ac_exeext conftest.$ac_ext
82465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82467 if test `eval echo '${'$as_ac_var'}'` = yes; then
82468 cat >>confdefs.h <<_ACEOF
82469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82470 _ACEOF
82473 done
82475 else
82477 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
82478 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
82479 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
82480 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
82481 echo $ECHO_N "(cached) $ECHO_C" >&6
82482 else
82486 ac_ext=cc
82487 ac_cpp='$CXXCPP $CPPFLAGS'
82488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82492 cat >conftest.$ac_ext <<_ACEOF
82493 /* confdefs.h. */
82494 _ACEOF
82495 cat confdefs.h >>conftest.$ac_ext
82496 cat >>conftest.$ac_ext <<_ACEOF
82497 /* end confdefs.h. */
82498 #include <math.h>
82499 #ifdef HAVE_IEEEFP_H
82500 #include <ieeefp.h>
82501 #endif
82504 main ()
82506 _finitel(0);
82508 return 0;
82510 _ACEOF
82511 rm -f conftest.$ac_objext
82512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82513 (eval $ac_compile) 2>conftest.er1
82514 ac_status=$?
82515 grep -v '^ *+' conftest.er1 >conftest.err
82516 rm -f conftest.er1
82517 cat conftest.err >&5
82518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82519 (exit $ac_status); } &&
82520 { ac_try='test -z "$ac_cxx_werror_flag"
82521 || test ! -s conftest.err'
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); }; } &&
82527 { ac_try='test -s conftest.$ac_objext'
82528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82529 (eval $ac_try) 2>&5
82530 ac_status=$?
82531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82532 (exit $ac_status); }; }; then
82533 glibcxx_cv_func__finitel_use=yes
82534 else
82535 echo "$as_me: failed program was:" >&5
82536 sed 's/^/| /' conftest.$ac_ext >&5
82538 glibcxx_cv_func__finitel_use=no
82540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82541 ac_ext=c
82542 ac_cpp='$CPP $CPPFLAGS'
82543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82551 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
82552 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
82554 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
82556 for ac_func in _finitel
82558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82559 echo "$as_me:$LINENO: checking for $ac_func" >&5
82560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82561 if eval "test \"\${$as_ac_var+set}\" = set"; then
82562 echo $ECHO_N "(cached) $ECHO_C" >&6
82563 else
82564 if test x$gcc_no_link = xyes; then
82565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82567 { (exit 1); exit 1; }; }
82569 cat >conftest.$ac_ext <<_ACEOF
82570 /* confdefs.h. */
82571 _ACEOF
82572 cat confdefs.h >>conftest.$ac_ext
82573 cat >>conftest.$ac_ext <<_ACEOF
82574 /* end confdefs.h. */
82575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82577 #define $ac_func innocuous_$ac_func
82579 /* System header to define __stub macros and hopefully few prototypes,
82580 which can conflict with char $ac_func (); below.
82581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82582 <limits.h> exists even on freestanding compilers. */
82584 #ifdef __STDC__
82585 # include <limits.h>
82586 #else
82587 # include <assert.h>
82588 #endif
82590 #undef $ac_func
82592 /* Override any gcc2 internal prototype to avoid an error. */
82593 #ifdef __cplusplus
82594 extern "C"
82596 #endif
82597 /* We use char because int might match the return type of a gcc2
82598 builtin and then its argument prototype would still apply. */
82599 char $ac_func ();
82600 /* The GNU C library defines this for functions which it implements
82601 to always fail with ENOSYS. Some functions are actually named
82602 something starting with __ and the normal name is an alias. */
82603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82604 choke me
82605 #else
82606 char (*f) () = $ac_func;
82607 #endif
82608 #ifdef __cplusplus
82610 #endif
82613 main ()
82615 return f != $ac_func;
82617 return 0;
82619 _ACEOF
82620 rm -f conftest.$ac_objext conftest$ac_exeext
82621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82622 (eval $ac_link) 2>conftest.er1
82623 ac_status=$?
82624 grep -v '^ *+' conftest.er1 >conftest.err
82625 rm -f conftest.er1
82626 cat conftest.err >&5
82627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82628 (exit $ac_status); } &&
82629 { ac_try='test -z "$ac_c_werror_flag"
82630 || test ! -s conftest.err'
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); }; } &&
82636 { ac_try='test -s conftest$ac_exeext'
82637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82638 (eval $ac_try) 2>&5
82639 ac_status=$?
82640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82641 (exit $ac_status); }; }; then
82642 eval "$as_ac_var=yes"
82643 else
82644 echo "$as_me: failed program was:" >&5
82645 sed 's/^/| /' conftest.$ac_ext >&5
82647 eval "$as_ac_var=no"
82649 rm -f conftest.err conftest.$ac_objext \
82650 conftest$ac_exeext conftest.$ac_ext
82652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82654 if test `eval echo '${'$as_ac_var'}'` = yes; then
82655 cat >>confdefs.h <<_ACEOF
82656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82657 _ACEOF
82660 done
82669 LIBS="$ac_save_LIBS"
82670 CXXFLAGS="$ac_save_CXXFLAGS"
82674 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
82675 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
82676 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
82677 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
82678 echo $ECHO_N "(cached) $ECHO_C" >&6
82679 else
82683 ac_ext=cc
82684 ac_cpp='$CXXCPP $CPPFLAGS'
82685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82689 cat >conftest.$ac_ext <<_ACEOF
82690 /* confdefs.h. */
82691 _ACEOF
82692 cat confdefs.h >>conftest.$ac_ext
82693 cat >>conftest.$ac_ext <<_ACEOF
82694 /* end confdefs.h. */
82695 #include <math.h>
82697 main ()
82699 __builtin_abs(0);
82701 return 0;
82703 _ACEOF
82704 rm -f conftest.$ac_objext
82705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82706 (eval $ac_compile) 2>conftest.er1
82707 ac_status=$?
82708 grep -v '^ *+' conftest.er1 >conftest.err
82709 rm -f conftest.er1
82710 cat conftest.err >&5
82711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82712 (exit $ac_status); } &&
82713 { ac_try='test -z "$ac_cxx_werror_flag"
82714 || test ! -s conftest.err'
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); }; } &&
82720 { ac_try='test -s conftest.$ac_objext'
82721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82722 (eval $ac_try) 2>&5
82723 ac_status=$?
82724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82725 (exit $ac_status); }; }; then
82726 glibcxx_cv_func___builtin_abs_use=yes
82727 else
82728 echo "$as_me: failed program was:" >&5
82729 sed 's/^/| /' conftest.$ac_ext >&5
82731 glibcxx_cv_func___builtin_abs_use=no
82733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82734 ac_ext=c
82735 ac_cpp='$CPP $CPPFLAGS'
82736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82744 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
82745 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
82746 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
82747 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
82748 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
82749 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
82750 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
82751 echo $ECHO_N "(cached) $ECHO_C" >&6
82752 else
82754 if test x$gcc_no_link = xyes; then
82755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82757 { (exit 1); exit 1; }; }
82759 cat >conftest.$ac_ext <<_ACEOF
82760 /* confdefs.h. */
82761 _ACEOF
82762 cat confdefs.h >>conftest.$ac_ext
82763 cat >>conftest.$ac_ext <<_ACEOF
82764 /* end confdefs.h. */
82765 #include <math.h>
82767 main ()
82769 __builtin_abs(0);
82771 return 0;
82773 _ACEOF
82774 rm -f conftest.$ac_objext conftest$ac_exeext
82775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82776 (eval $ac_link) 2>conftest.er1
82777 ac_status=$?
82778 grep -v '^ *+' conftest.er1 >conftest.err
82779 rm -f conftest.er1
82780 cat conftest.err >&5
82781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82782 (exit $ac_status); } &&
82783 { ac_try='test -z "$ac_c_werror_flag"
82784 || test ! -s conftest.err'
82785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82786 (eval $ac_try) 2>&5
82787 ac_status=$?
82788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82789 (exit $ac_status); }; } &&
82790 { ac_try='test -s conftest$ac_exeext'
82791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82792 (eval $ac_try) 2>&5
82793 ac_status=$?
82794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82795 (exit $ac_status); }; }; then
82796 glibcxx_cv_func___builtin_abs_link=yes
82797 else
82798 echo "$as_me: failed program was:" >&5
82799 sed 's/^/| /' conftest.$ac_ext >&5
82801 glibcxx_cv_func___builtin_abs_link=no
82803 rm -f conftest.err conftest.$ac_objext \
82804 conftest$ac_exeext conftest.$ac_ext
82809 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
82810 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
82812 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
82814 cat >>confdefs.h <<\_ACEOF
82815 #define HAVE___BUILTIN_ABS 1
82816 _ACEOF
82823 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
82824 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
82825 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
82826 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
82827 echo $ECHO_N "(cached) $ECHO_C" >&6
82828 else
82832 ac_ext=cc
82833 ac_cpp='$CXXCPP $CPPFLAGS'
82834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82838 cat >conftest.$ac_ext <<_ACEOF
82839 /* confdefs.h. */
82840 _ACEOF
82841 cat confdefs.h >>conftest.$ac_ext
82842 cat >>conftest.$ac_ext <<_ACEOF
82843 /* end confdefs.h. */
82844 #include <math.h>
82846 main ()
82848 __builtin_fabsf(0);
82850 return 0;
82852 _ACEOF
82853 rm -f conftest.$ac_objext
82854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82855 (eval $ac_compile) 2>conftest.er1
82856 ac_status=$?
82857 grep -v '^ *+' conftest.er1 >conftest.err
82858 rm -f conftest.er1
82859 cat conftest.err >&5
82860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82861 (exit $ac_status); } &&
82862 { ac_try='test -z "$ac_cxx_werror_flag"
82863 || test ! -s conftest.err'
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); }; } &&
82869 { ac_try='test -s conftest.$ac_objext'
82870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82871 (eval $ac_try) 2>&5
82872 ac_status=$?
82873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82874 (exit $ac_status); }; }; then
82875 glibcxx_cv_func___builtin_fabsf_use=yes
82876 else
82877 echo "$as_me: failed program was:" >&5
82878 sed 's/^/| /' conftest.$ac_ext >&5
82880 glibcxx_cv_func___builtin_fabsf_use=no
82882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82883 ac_ext=c
82884 ac_cpp='$CPP $CPPFLAGS'
82885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82893 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
82894 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
82895 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
82896 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
82897 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
82898 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
82899 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
82900 echo $ECHO_N "(cached) $ECHO_C" >&6
82901 else
82903 if test x$gcc_no_link = xyes; then
82904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82906 { (exit 1); exit 1; }; }
82908 cat >conftest.$ac_ext <<_ACEOF
82909 /* confdefs.h. */
82910 _ACEOF
82911 cat confdefs.h >>conftest.$ac_ext
82912 cat >>conftest.$ac_ext <<_ACEOF
82913 /* end confdefs.h. */
82914 #include <math.h>
82916 main ()
82918 __builtin_fabsf(0);
82920 return 0;
82922 _ACEOF
82923 rm -f conftest.$ac_objext conftest$ac_exeext
82924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82925 (eval $ac_link) 2>conftest.er1
82926 ac_status=$?
82927 grep -v '^ *+' conftest.er1 >conftest.err
82928 rm -f conftest.er1
82929 cat conftest.err >&5
82930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82931 (exit $ac_status); } &&
82932 { ac_try='test -z "$ac_c_werror_flag"
82933 || test ! -s conftest.err'
82934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82935 (eval $ac_try) 2>&5
82936 ac_status=$?
82937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82938 (exit $ac_status); }; } &&
82939 { ac_try='test -s conftest$ac_exeext'
82940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82941 (eval $ac_try) 2>&5
82942 ac_status=$?
82943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82944 (exit $ac_status); }; }; then
82945 glibcxx_cv_func___builtin_fabsf_link=yes
82946 else
82947 echo "$as_me: failed program was:" >&5
82948 sed 's/^/| /' conftest.$ac_ext >&5
82950 glibcxx_cv_func___builtin_fabsf_link=no
82952 rm -f conftest.err conftest.$ac_objext \
82953 conftest$ac_exeext conftest.$ac_ext
82958 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
82959 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
82961 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
82963 cat >>confdefs.h <<\_ACEOF
82964 #define HAVE___BUILTIN_FABSF 1
82965 _ACEOF
82972 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
82973 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
82974 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
82975 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
82976 echo $ECHO_N "(cached) $ECHO_C" >&6
82977 else
82981 ac_ext=cc
82982 ac_cpp='$CXXCPP $CPPFLAGS'
82983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82987 cat >conftest.$ac_ext <<_ACEOF
82988 /* confdefs.h. */
82989 _ACEOF
82990 cat confdefs.h >>conftest.$ac_ext
82991 cat >>conftest.$ac_ext <<_ACEOF
82992 /* end confdefs.h. */
82993 #include <math.h>
82995 main ()
82997 __builtin_fabs(0);
82999 return 0;
83001 _ACEOF
83002 rm -f conftest.$ac_objext
83003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83004 (eval $ac_compile) 2>conftest.er1
83005 ac_status=$?
83006 grep -v '^ *+' conftest.er1 >conftest.err
83007 rm -f conftest.er1
83008 cat conftest.err >&5
83009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83010 (exit $ac_status); } &&
83011 { ac_try='test -z "$ac_cxx_werror_flag"
83012 || test ! -s conftest.err'
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); }; } &&
83018 { ac_try='test -s conftest.$ac_objext'
83019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83020 (eval $ac_try) 2>&5
83021 ac_status=$?
83022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83023 (exit $ac_status); }; }; then
83024 glibcxx_cv_func___builtin_fabs_use=yes
83025 else
83026 echo "$as_me: failed program was:" >&5
83027 sed 's/^/| /' conftest.$ac_ext >&5
83029 glibcxx_cv_func___builtin_fabs_use=no
83031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83032 ac_ext=c
83033 ac_cpp='$CPP $CPPFLAGS'
83034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83042 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
83043 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
83044 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
83045 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
83046 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
83047 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
83048 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
83049 echo $ECHO_N "(cached) $ECHO_C" >&6
83050 else
83052 if test x$gcc_no_link = xyes; then
83053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83055 { (exit 1); exit 1; }; }
83057 cat >conftest.$ac_ext <<_ACEOF
83058 /* confdefs.h. */
83059 _ACEOF
83060 cat confdefs.h >>conftest.$ac_ext
83061 cat >>conftest.$ac_ext <<_ACEOF
83062 /* end confdefs.h. */
83063 #include <math.h>
83065 main ()
83067 __builtin_fabs(0);
83069 return 0;
83071 _ACEOF
83072 rm -f conftest.$ac_objext conftest$ac_exeext
83073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83074 (eval $ac_link) 2>conftest.er1
83075 ac_status=$?
83076 grep -v '^ *+' conftest.er1 >conftest.err
83077 rm -f conftest.er1
83078 cat conftest.err >&5
83079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83080 (exit $ac_status); } &&
83081 { ac_try='test -z "$ac_c_werror_flag"
83082 || test ! -s conftest.err'
83083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83084 (eval $ac_try) 2>&5
83085 ac_status=$?
83086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83087 (exit $ac_status); }; } &&
83088 { ac_try='test -s conftest$ac_exeext'
83089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83090 (eval $ac_try) 2>&5
83091 ac_status=$?
83092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83093 (exit $ac_status); }; }; then
83094 glibcxx_cv_func___builtin_fabs_link=yes
83095 else
83096 echo "$as_me: failed program was:" >&5
83097 sed 's/^/| /' conftest.$ac_ext >&5
83099 glibcxx_cv_func___builtin_fabs_link=no
83101 rm -f conftest.err conftest.$ac_objext \
83102 conftest$ac_exeext conftest.$ac_ext
83107 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
83108 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
83110 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
83112 cat >>confdefs.h <<\_ACEOF
83113 #define HAVE___BUILTIN_FABS 1
83114 _ACEOF
83121 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
83122 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
83123 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
83124 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
83125 echo $ECHO_N "(cached) $ECHO_C" >&6
83126 else
83130 ac_ext=cc
83131 ac_cpp='$CXXCPP $CPPFLAGS'
83132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83136 cat >conftest.$ac_ext <<_ACEOF
83137 /* confdefs.h. */
83138 _ACEOF
83139 cat confdefs.h >>conftest.$ac_ext
83140 cat >>conftest.$ac_ext <<_ACEOF
83141 /* end confdefs.h. */
83142 #include <math.h>
83144 main ()
83146 __builtin_fabsl(0);
83148 return 0;
83150 _ACEOF
83151 rm -f conftest.$ac_objext
83152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83153 (eval $ac_compile) 2>conftest.er1
83154 ac_status=$?
83155 grep -v '^ *+' conftest.er1 >conftest.err
83156 rm -f conftest.er1
83157 cat conftest.err >&5
83158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83159 (exit $ac_status); } &&
83160 { ac_try='test -z "$ac_cxx_werror_flag"
83161 || test ! -s conftest.err'
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); }; } &&
83167 { ac_try='test -s conftest.$ac_objext'
83168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83169 (eval $ac_try) 2>&5
83170 ac_status=$?
83171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83172 (exit $ac_status); }; }; then
83173 glibcxx_cv_func___builtin_fabsl_use=yes
83174 else
83175 echo "$as_me: failed program was:" >&5
83176 sed 's/^/| /' conftest.$ac_ext >&5
83178 glibcxx_cv_func___builtin_fabsl_use=no
83180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83181 ac_ext=c
83182 ac_cpp='$CPP $CPPFLAGS'
83183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83191 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
83192 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
83193 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
83194 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
83195 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
83196 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
83197 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
83198 echo $ECHO_N "(cached) $ECHO_C" >&6
83199 else
83201 if test x$gcc_no_link = xyes; then
83202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83204 { (exit 1); exit 1; }; }
83206 cat >conftest.$ac_ext <<_ACEOF
83207 /* confdefs.h. */
83208 _ACEOF
83209 cat confdefs.h >>conftest.$ac_ext
83210 cat >>conftest.$ac_ext <<_ACEOF
83211 /* end confdefs.h. */
83212 #include <math.h>
83214 main ()
83216 __builtin_fabsl(0);
83218 return 0;
83220 _ACEOF
83221 rm -f conftest.$ac_objext conftest$ac_exeext
83222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83223 (eval $ac_link) 2>conftest.er1
83224 ac_status=$?
83225 grep -v '^ *+' conftest.er1 >conftest.err
83226 rm -f conftest.er1
83227 cat conftest.err >&5
83228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83229 (exit $ac_status); } &&
83230 { ac_try='test -z "$ac_c_werror_flag"
83231 || test ! -s conftest.err'
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); }; } &&
83237 { ac_try='test -s conftest$ac_exeext'
83238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83239 (eval $ac_try) 2>&5
83240 ac_status=$?
83241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83242 (exit $ac_status); }; }; then
83243 glibcxx_cv_func___builtin_fabsl_link=yes
83244 else
83245 echo "$as_me: failed program was:" >&5
83246 sed 's/^/| /' conftest.$ac_ext >&5
83248 glibcxx_cv_func___builtin_fabsl_link=no
83250 rm -f conftest.err conftest.$ac_objext \
83251 conftest$ac_exeext conftest.$ac_ext
83256 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
83257 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
83259 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
83261 cat >>confdefs.h <<\_ACEOF
83262 #define HAVE___BUILTIN_FABSL 1
83263 _ACEOF
83270 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
83271 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
83272 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
83273 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
83274 echo $ECHO_N "(cached) $ECHO_C" >&6
83275 else
83279 ac_ext=cc
83280 ac_cpp='$CXXCPP $CPPFLAGS'
83281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83285 cat >conftest.$ac_ext <<_ACEOF
83286 /* confdefs.h. */
83287 _ACEOF
83288 cat confdefs.h >>conftest.$ac_ext
83289 cat >>conftest.$ac_ext <<_ACEOF
83290 /* end confdefs.h. */
83291 #include <math.h>
83293 main ()
83295 __builtin_labs(0);
83297 return 0;
83299 _ACEOF
83300 rm -f conftest.$ac_objext
83301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83302 (eval $ac_compile) 2>conftest.er1
83303 ac_status=$?
83304 grep -v '^ *+' conftest.er1 >conftest.err
83305 rm -f conftest.er1
83306 cat conftest.err >&5
83307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83308 (exit $ac_status); } &&
83309 { ac_try='test -z "$ac_cxx_werror_flag"
83310 || test ! -s conftest.err'
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); }; } &&
83316 { ac_try='test -s conftest.$ac_objext'
83317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83318 (eval $ac_try) 2>&5
83319 ac_status=$?
83320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83321 (exit $ac_status); }; }; then
83322 glibcxx_cv_func___builtin_labs_use=yes
83323 else
83324 echo "$as_me: failed program was:" >&5
83325 sed 's/^/| /' conftest.$ac_ext >&5
83327 glibcxx_cv_func___builtin_labs_use=no
83329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83330 ac_ext=c
83331 ac_cpp='$CPP $CPPFLAGS'
83332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83340 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
83341 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
83342 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
83343 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
83344 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
83345 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
83346 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
83347 echo $ECHO_N "(cached) $ECHO_C" >&6
83348 else
83350 if test x$gcc_no_link = xyes; then
83351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83353 { (exit 1); exit 1; }; }
83355 cat >conftest.$ac_ext <<_ACEOF
83356 /* confdefs.h. */
83357 _ACEOF
83358 cat confdefs.h >>conftest.$ac_ext
83359 cat >>conftest.$ac_ext <<_ACEOF
83360 /* end confdefs.h. */
83361 #include <math.h>
83363 main ()
83365 __builtin_labs(0);
83367 return 0;
83369 _ACEOF
83370 rm -f conftest.$ac_objext conftest$ac_exeext
83371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83372 (eval $ac_link) 2>conftest.er1
83373 ac_status=$?
83374 grep -v '^ *+' conftest.er1 >conftest.err
83375 rm -f conftest.er1
83376 cat conftest.err >&5
83377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83378 (exit $ac_status); } &&
83379 { ac_try='test -z "$ac_c_werror_flag"
83380 || test ! -s conftest.err'
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); }; } &&
83386 { ac_try='test -s conftest$ac_exeext'
83387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83388 (eval $ac_try) 2>&5
83389 ac_status=$?
83390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83391 (exit $ac_status); }; }; then
83392 glibcxx_cv_func___builtin_labs_link=yes
83393 else
83394 echo "$as_me: failed program was:" >&5
83395 sed 's/^/| /' conftest.$ac_ext >&5
83397 glibcxx_cv_func___builtin_labs_link=no
83399 rm -f conftest.err conftest.$ac_objext \
83400 conftest$ac_exeext conftest.$ac_ext
83405 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
83406 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
83408 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
83410 cat >>confdefs.h <<\_ACEOF
83411 #define HAVE___BUILTIN_LABS 1
83412 _ACEOF
83420 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
83421 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
83422 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
83423 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
83424 echo $ECHO_N "(cached) $ECHO_C" >&6
83425 else
83429 ac_ext=cc
83430 ac_cpp='$CXXCPP $CPPFLAGS'
83431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83435 cat >conftest.$ac_ext <<_ACEOF
83436 /* confdefs.h. */
83437 _ACEOF
83438 cat confdefs.h >>conftest.$ac_ext
83439 cat >>conftest.$ac_ext <<_ACEOF
83440 /* end confdefs.h. */
83441 #include <math.h>
83443 main ()
83445 __builtin_sqrtf(0);
83447 return 0;
83449 _ACEOF
83450 rm -f conftest.$ac_objext
83451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83452 (eval $ac_compile) 2>conftest.er1
83453 ac_status=$?
83454 grep -v '^ *+' conftest.er1 >conftest.err
83455 rm -f conftest.er1
83456 cat conftest.err >&5
83457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83458 (exit $ac_status); } &&
83459 { ac_try='test -z "$ac_cxx_werror_flag"
83460 || test ! -s conftest.err'
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); }; } &&
83466 { ac_try='test -s conftest.$ac_objext'
83467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83468 (eval $ac_try) 2>&5
83469 ac_status=$?
83470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83471 (exit $ac_status); }; }; then
83472 glibcxx_cv_func___builtin_sqrtf_use=yes
83473 else
83474 echo "$as_me: failed program was:" >&5
83475 sed 's/^/| /' conftest.$ac_ext >&5
83477 glibcxx_cv_func___builtin_sqrtf_use=no
83479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83480 ac_ext=c
83481 ac_cpp='$CPP $CPPFLAGS'
83482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83490 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
83491 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
83492 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
83493 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
83494 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
83495 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
83496 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
83497 echo $ECHO_N "(cached) $ECHO_C" >&6
83498 else
83500 if test x$gcc_no_link = xyes; then
83501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83503 { (exit 1); exit 1; }; }
83505 cat >conftest.$ac_ext <<_ACEOF
83506 /* confdefs.h. */
83507 _ACEOF
83508 cat confdefs.h >>conftest.$ac_ext
83509 cat >>conftest.$ac_ext <<_ACEOF
83510 /* end confdefs.h. */
83511 #include <math.h>
83513 main ()
83515 __builtin_sqrtf(0);
83517 return 0;
83519 _ACEOF
83520 rm -f conftest.$ac_objext conftest$ac_exeext
83521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83522 (eval $ac_link) 2>conftest.er1
83523 ac_status=$?
83524 grep -v '^ *+' conftest.er1 >conftest.err
83525 rm -f conftest.er1
83526 cat conftest.err >&5
83527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83528 (exit $ac_status); } &&
83529 { ac_try='test -z "$ac_c_werror_flag"
83530 || test ! -s conftest.err'
83531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83532 (eval $ac_try) 2>&5
83533 ac_status=$?
83534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83535 (exit $ac_status); }; } &&
83536 { ac_try='test -s conftest$ac_exeext'
83537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83538 (eval $ac_try) 2>&5
83539 ac_status=$?
83540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83541 (exit $ac_status); }; }; then
83542 glibcxx_cv_func___builtin_sqrtf_link=yes
83543 else
83544 echo "$as_me: failed program was:" >&5
83545 sed 's/^/| /' conftest.$ac_ext >&5
83547 glibcxx_cv_func___builtin_sqrtf_link=no
83549 rm -f conftest.err conftest.$ac_objext \
83550 conftest$ac_exeext conftest.$ac_ext
83555 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
83556 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
83558 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
83560 cat >>confdefs.h <<\_ACEOF
83561 #define HAVE___BUILTIN_SQRTF 1
83562 _ACEOF
83569 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
83570 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
83571 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
83572 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
83573 echo $ECHO_N "(cached) $ECHO_C" >&6
83574 else
83578 ac_ext=cc
83579 ac_cpp='$CXXCPP $CPPFLAGS'
83580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83584 cat >conftest.$ac_ext <<_ACEOF
83585 /* confdefs.h. */
83586 _ACEOF
83587 cat confdefs.h >>conftest.$ac_ext
83588 cat >>conftest.$ac_ext <<_ACEOF
83589 /* end confdefs.h. */
83590 #include <math.h>
83592 main ()
83594 __builtin_sqrt(0);
83596 return 0;
83598 _ACEOF
83599 rm -f conftest.$ac_objext
83600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83601 (eval $ac_compile) 2>conftest.er1
83602 ac_status=$?
83603 grep -v '^ *+' conftest.er1 >conftest.err
83604 rm -f conftest.er1
83605 cat conftest.err >&5
83606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83607 (exit $ac_status); } &&
83608 { ac_try='test -z "$ac_cxx_werror_flag"
83609 || test ! -s conftest.err'
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); }; } &&
83615 { ac_try='test -s conftest.$ac_objext'
83616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83617 (eval $ac_try) 2>&5
83618 ac_status=$?
83619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83620 (exit $ac_status); }; }; then
83621 glibcxx_cv_func___builtin_sqrt_use=yes
83622 else
83623 echo "$as_me: failed program was:" >&5
83624 sed 's/^/| /' conftest.$ac_ext >&5
83626 glibcxx_cv_func___builtin_sqrt_use=no
83628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83629 ac_ext=c
83630 ac_cpp='$CPP $CPPFLAGS'
83631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83639 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
83640 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
83641 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
83642 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
83643 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
83644 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
83645 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
83646 echo $ECHO_N "(cached) $ECHO_C" >&6
83647 else
83649 if test x$gcc_no_link = xyes; then
83650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83652 { (exit 1); exit 1; }; }
83654 cat >conftest.$ac_ext <<_ACEOF
83655 /* confdefs.h. */
83656 _ACEOF
83657 cat confdefs.h >>conftest.$ac_ext
83658 cat >>conftest.$ac_ext <<_ACEOF
83659 /* end confdefs.h. */
83660 #include <math.h>
83662 main ()
83664 __builtin_sqrt(0);
83666 return 0;
83668 _ACEOF
83669 rm -f conftest.$ac_objext conftest$ac_exeext
83670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83671 (eval $ac_link) 2>conftest.er1
83672 ac_status=$?
83673 grep -v '^ *+' conftest.er1 >conftest.err
83674 rm -f conftest.er1
83675 cat conftest.err >&5
83676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83677 (exit $ac_status); } &&
83678 { ac_try='test -z "$ac_c_werror_flag"
83679 || test ! -s conftest.err'
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); }; } &&
83685 { ac_try='test -s conftest$ac_exeext'
83686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83687 (eval $ac_try) 2>&5
83688 ac_status=$?
83689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83690 (exit $ac_status); }; }; then
83691 glibcxx_cv_func___builtin_sqrt_link=yes
83692 else
83693 echo "$as_me: failed program was:" >&5
83694 sed 's/^/| /' conftest.$ac_ext >&5
83696 glibcxx_cv_func___builtin_sqrt_link=no
83698 rm -f conftest.err conftest.$ac_objext \
83699 conftest$ac_exeext conftest.$ac_ext
83704 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
83705 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
83707 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
83709 cat >>confdefs.h <<\_ACEOF
83710 #define HAVE___BUILTIN_SQRT 1
83711 _ACEOF
83718 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
83719 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
83720 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
83721 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
83722 echo $ECHO_N "(cached) $ECHO_C" >&6
83723 else
83727 ac_ext=cc
83728 ac_cpp='$CXXCPP $CPPFLAGS'
83729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83733 cat >conftest.$ac_ext <<_ACEOF
83734 /* confdefs.h. */
83735 _ACEOF
83736 cat confdefs.h >>conftest.$ac_ext
83737 cat >>conftest.$ac_ext <<_ACEOF
83738 /* end confdefs.h. */
83739 #include <math.h>
83741 main ()
83743 __builtin_sqrtl(0);
83745 return 0;
83747 _ACEOF
83748 rm -f conftest.$ac_objext
83749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83750 (eval $ac_compile) 2>conftest.er1
83751 ac_status=$?
83752 grep -v '^ *+' conftest.er1 >conftest.err
83753 rm -f conftest.er1
83754 cat conftest.err >&5
83755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83756 (exit $ac_status); } &&
83757 { ac_try='test -z "$ac_cxx_werror_flag"
83758 || test ! -s conftest.err'
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); }; } &&
83764 { ac_try='test -s conftest.$ac_objext'
83765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83766 (eval $ac_try) 2>&5
83767 ac_status=$?
83768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83769 (exit $ac_status); }; }; then
83770 glibcxx_cv_func___builtin_sqrtl_use=yes
83771 else
83772 echo "$as_me: failed program was:" >&5
83773 sed 's/^/| /' conftest.$ac_ext >&5
83775 glibcxx_cv_func___builtin_sqrtl_use=no
83777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83778 ac_ext=c
83779 ac_cpp='$CPP $CPPFLAGS'
83780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83788 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
83789 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
83790 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
83791 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
83792 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
83793 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
83794 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
83795 echo $ECHO_N "(cached) $ECHO_C" >&6
83796 else
83798 if test x$gcc_no_link = xyes; then
83799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83801 { (exit 1); exit 1; }; }
83803 cat >conftest.$ac_ext <<_ACEOF
83804 /* confdefs.h. */
83805 _ACEOF
83806 cat confdefs.h >>conftest.$ac_ext
83807 cat >>conftest.$ac_ext <<_ACEOF
83808 /* end confdefs.h. */
83809 #include <math.h>
83811 main ()
83813 __builtin_sqrtl(0);
83815 return 0;
83817 _ACEOF
83818 rm -f conftest.$ac_objext conftest$ac_exeext
83819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83820 (eval $ac_link) 2>conftest.er1
83821 ac_status=$?
83822 grep -v '^ *+' conftest.er1 >conftest.err
83823 rm -f conftest.er1
83824 cat conftest.err >&5
83825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83826 (exit $ac_status); } &&
83827 { ac_try='test -z "$ac_c_werror_flag"
83828 || test ! -s conftest.err'
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); }; } &&
83834 { ac_try='test -s conftest$ac_exeext'
83835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83836 (eval $ac_try) 2>&5
83837 ac_status=$?
83838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83839 (exit $ac_status); }; }; then
83840 glibcxx_cv_func___builtin_sqrtl_link=yes
83841 else
83842 echo "$as_me: failed program was:" >&5
83843 sed 's/^/| /' conftest.$ac_ext >&5
83845 glibcxx_cv_func___builtin_sqrtl_link=no
83847 rm -f conftest.err conftest.$ac_objext \
83848 conftest$ac_exeext conftest.$ac_ext
83853 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
83854 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
83856 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
83858 cat >>confdefs.h <<\_ACEOF
83859 #define HAVE___BUILTIN_SQRTL 1
83860 _ACEOF
83868 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
83869 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
83870 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
83871 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
83872 echo $ECHO_N "(cached) $ECHO_C" >&6
83873 else
83877 ac_ext=cc
83878 ac_cpp='$CXXCPP $CPPFLAGS'
83879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83883 cat >conftest.$ac_ext <<_ACEOF
83884 /* confdefs.h. */
83885 _ACEOF
83886 cat confdefs.h >>conftest.$ac_ext
83887 cat >>conftest.$ac_ext <<_ACEOF
83888 /* end confdefs.h. */
83889 #include <math.h>
83891 main ()
83893 __builtin_sinf(0);
83895 return 0;
83897 _ACEOF
83898 rm -f conftest.$ac_objext
83899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83900 (eval $ac_compile) 2>conftest.er1
83901 ac_status=$?
83902 grep -v '^ *+' conftest.er1 >conftest.err
83903 rm -f conftest.er1
83904 cat conftest.err >&5
83905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83906 (exit $ac_status); } &&
83907 { ac_try='test -z "$ac_cxx_werror_flag"
83908 || test ! -s conftest.err'
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); }; } &&
83914 { ac_try='test -s conftest.$ac_objext'
83915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83916 (eval $ac_try) 2>&5
83917 ac_status=$?
83918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83919 (exit $ac_status); }; }; then
83920 glibcxx_cv_func___builtin_sinf_use=yes
83921 else
83922 echo "$as_me: failed program was:" >&5
83923 sed 's/^/| /' conftest.$ac_ext >&5
83925 glibcxx_cv_func___builtin_sinf_use=no
83927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83928 ac_ext=c
83929 ac_cpp='$CPP $CPPFLAGS'
83930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83938 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
83939 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
83940 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
83941 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
83942 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
83943 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
83944 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
83945 echo $ECHO_N "(cached) $ECHO_C" >&6
83946 else
83948 if test x$gcc_no_link = xyes; then
83949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83951 { (exit 1); exit 1; }; }
83953 cat >conftest.$ac_ext <<_ACEOF
83954 /* confdefs.h. */
83955 _ACEOF
83956 cat confdefs.h >>conftest.$ac_ext
83957 cat >>conftest.$ac_ext <<_ACEOF
83958 /* end confdefs.h. */
83959 #include <math.h>
83961 main ()
83963 __builtin_sinf(0);
83965 return 0;
83967 _ACEOF
83968 rm -f conftest.$ac_objext conftest$ac_exeext
83969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83970 (eval $ac_link) 2>conftest.er1
83971 ac_status=$?
83972 grep -v '^ *+' conftest.er1 >conftest.err
83973 rm -f conftest.er1
83974 cat conftest.err >&5
83975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83976 (exit $ac_status); } &&
83977 { ac_try='test -z "$ac_c_werror_flag"
83978 || test ! -s conftest.err'
83979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83980 (eval $ac_try) 2>&5
83981 ac_status=$?
83982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83983 (exit $ac_status); }; } &&
83984 { ac_try='test -s conftest$ac_exeext'
83985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83986 (eval $ac_try) 2>&5
83987 ac_status=$?
83988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83989 (exit $ac_status); }; }; then
83990 glibcxx_cv_func___builtin_sinf_link=yes
83991 else
83992 echo "$as_me: failed program was:" >&5
83993 sed 's/^/| /' conftest.$ac_ext >&5
83995 glibcxx_cv_func___builtin_sinf_link=no
83997 rm -f conftest.err conftest.$ac_objext \
83998 conftest$ac_exeext conftest.$ac_ext
84003 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
84004 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
84006 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
84008 cat >>confdefs.h <<\_ACEOF
84009 #define HAVE___BUILTIN_SINF 1
84010 _ACEOF
84017 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
84018 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
84019 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
84020 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
84021 echo $ECHO_N "(cached) $ECHO_C" >&6
84022 else
84026 ac_ext=cc
84027 ac_cpp='$CXXCPP $CPPFLAGS'
84028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84032 cat >conftest.$ac_ext <<_ACEOF
84033 /* confdefs.h. */
84034 _ACEOF
84035 cat confdefs.h >>conftest.$ac_ext
84036 cat >>conftest.$ac_ext <<_ACEOF
84037 /* end confdefs.h. */
84038 #include <math.h>
84040 main ()
84042 __builtin_sin(0);
84044 return 0;
84046 _ACEOF
84047 rm -f conftest.$ac_objext
84048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84049 (eval $ac_compile) 2>conftest.er1
84050 ac_status=$?
84051 grep -v '^ *+' conftest.er1 >conftest.err
84052 rm -f conftest.er1
84053 cat conftest.err >&5
84054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84055 (exit $ac_status); } &&
84056 { ac_try='test -z "$ac_cxx_werror_flag"
84057 || test ! -s conftest.err'
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); }; } &&
84063 { ac_try='test -s conftest.$ac_objext'
84064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84065 (eval $ac_try) 2>&5
84066 ac_status=$?
84067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84068 (exit $ac_status); }; }; then
84069 glibcxx_cv_func___builtin_sin_use=yes
84070 else
84071 echo "$as_me: failed program was:" >&5
84072 sed 's/^/| /' conftest.$ac_ext >&5
84074 glibcxx_cv_func___builtin_sin_use=no
84076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84077 ac_ext=c
84078 ac_cpp='$CPP $CPPFLAGS'
84079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84087 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
84088 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
84089 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
84090 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
84091 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
84092 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
84093 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
84094 echo $ECHO_N "(cached) $ECHO_C" >&6
84095 else
84097 if test x$gcc_no_link = xyes; then
84098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84100 { (exit 1); exit 1; }; }
84102 cat >conftest.$ac_ext <<_ACEOF
84103 /* confdefs.h. */
84104 _ACEOF
84105 cat confdefs.h >>conftest.$ac_ext
84106 cat >>conftest.$ac_ext <<_ACEOF
84107 /* end confdefs.h. */
84108 #include <math.h>
84110 main ()
84112 __builtin_sin(0);
84114 return 0;
84116 _ACEOF
84117 rm -f conftest.$ac_objext conftest$ac_exeext
84118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84119 (eval $ac_link) 2>conftest.er1
84120 ac_status=$?
84121 grep -v '^ *+' conftest.er1 >conftest.err
84122 rm -f conftest.er1
84123 cat conftest.err >&5
84124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84125 (exit $ac_status); } &&
84126 { ac_try='test -z "$ac_c_werror_flag"
84127 || test ! -s conftest.err'
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); }; } &&
84133 { ac_try='test -s conftest$ac_exeext'
84134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84135 (eval $ac_try) 2>&5
84136 ac_status=$?
84137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84138 (exit $ac_status); }; }; then
84139 glibcxx_cv_func___builtin_sin_link=yes
84140 else
84141 echo "$as_me: failed program was:" >&5
84142 sed 's/^/| /' conftest.$ac_ext >&5
84144 glibcxx_cv_func___builtin_sin_link=no
84146 rm -f conftest.err conftest.$ac_objext \
84147 conftest$ac_exeext conftest.$ac_ext
84152 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
84153 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
84155 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
84157 cat >>confdefs.h <<\_ACEOF
84158 #define HAVE___BUILTIN_SIN 1
84159 _ACEOF
84166 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
84167 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
84168 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
84169 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
84170 echo $ECHO_N "(cached) $ECHO_C" >&6
84171 else
84175 ac_ext=cc
84176 ac_cpp='$CXXCPP $CPPFLAGS'
84177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84181 cat >conftest.$ac_ext <<_ACEOF
84182 /* confdefs.h. */
84183 _ACEOF
84184 cat confdefs.h >>conftest.$ac_ext
84185 cat >>conftest.$ac_ext <<_ACEOF
84186 /* end confdefs.h. */
84187 #include <math.h>
84189 main ()
84191 __builtin_sinl(0);
84193 return 0;
84195 _ACEOF
84196 rm -f conftest.$ac_objext
84197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84198 (eval $ac_compile) 2>conftest.er1
84199 ac_status=$?
84200 grep -v '^ *+' conftest.er1 >conftest.err
84201 rm -f conftest.er1
84202 cat conftest.err >&5
84203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84204 (exit $ac_status); } &&
84205 { ac_try='test -z "$ac_cxx_werror_flag"
84206 || test ! -s conftest.err'
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); }; } &&
84212 { ac_try='test -s conftest.$ac_objext'
84213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84214 (eval $ac_try) 2>&5
84215 ac_status=$?
84216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84217 (exit $ac_status); }; }; then
84218 glibcxx_cv_func___builtin_sinl_use=yes
84219 else
84220 echo "$as_me: failed program was:" >&5
84221 sed 's/^/| /' conftest.$ac_ext >&5
84223 glibcxx_cv_func___builtin_sinl_use=no
84225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84226 ac_ext=c
84227 ac_cpp='$CPP $CPPFLAGS'
84228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84236 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
84237 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
84238 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
84239 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
84240 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
84241 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
84242 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
84243 echo $ECHO_N "(cached) $ECHO_C" >&6
84244 else
84246 if test x$gcc_no_link = xyes; then
84247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84249 { (exit 1); exit 1; }; }
84251 cat >conftest.$ac_ext <<_ACEOF
84252 /* confdefs.h. */
84253 _ACEOF
84254 cat confdefs.h >>conftest.$ac_ext
84255 cat >>conftest.$ac_ext <<_ACEOF
84256 /* end confdefs.h. */
84257 #include <math.h>
84259 main ()
84261 __builtin_sinl(0);
84263 return 0;
84265 _ACEOF
84266 rm -f conftest.$ac_objext conftest$ac_exeext
84267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84268 (eval $ac_link) 2>conftest.er1
84269 ac_status=$?
84270 grep -v '^ *+' conftest.er1 >conftest.err
84271 rm -f conftest.er1
84272 cat conftest.err >&5
84273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84274 (exit $ac_status); } &&
84275 { ac_try='test -z "$ac_c_werror_flag"
84276 || test ! -s conftest.err'
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); }; } &&
84282 { ac_try='test -s conftest$ac_exeext'
84283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84284 (eval $ac_try) 2>&5
84285 ac_status=$?
84286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84287 (exit $ac_status); }; }; then
84288 glibcxx_cv_func___builtin_sinl_link=yes
84289 else
84290 echo "$as_me: failed program was:" >&5
84291 sed 's/^/| /' conftest.$ac_ext >&5
84293 glibcxx_cv_func___builtin_sinl_link=no
84295 rm -f conftest.err conftest.$ac_objext \
84296 conftest$ac_exeext conftest.$ac_ext
84301 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
84302 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
84304 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
84306 cat >>confdefs.h <<\_ACEOF
84307 #define HAVE___BUILTIN_SINL 1
84308 _ACEOF
84316 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
84317 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
84318 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
84319 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
84320 echo $ECHO_N "(cached) $ECHO_C" >&6
84321 else
84325 ac_ext=cc
84326 ac_cpp='$CXXCPP $CPPFLAGS'
84327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84331 cat >conftest.$ac_ext <<_ACEOF
84332 /* confdefs.h. */
84333 _ACEOF
84334 cat confdefs.h >>conftest.$ac_ext
84335 cat >>conftest.$ac_ext <<_ACEOF
84336 /* end confdefs.h. */
84337 #include <math.h>
84339 main ()
84341 __builtin_cosf(0);
84343 return 0;
84345 _ACEOF
84346 rm -f conftest.$ac_objext
84347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84348 (eval $ac_compile) 2>conftest.er1
84349 ac_status=$?
84350 grep -v '^ *+' conftest.er1 >conftest.err
84351 rm -f conftest.er1
84352 cat conftest.err >&5
84353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84354 (exit $ac_status); } &&
84355 { ac_try='test -z "$ac_cxx_werror_flag"
84356 || test ! -s conftest.err'
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); }; } &&
84362 { ac_try='test -s conftest.$ac_objext'
84363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84364 (eval $ac_try) 2>&5
84365 ac_status=$?
84366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84367 (exit $ac_status); }; }; then
84368 glibcxx_cv_func___builtin_cosf_use=yes
84369 else
84370 echo "$as_me: failed program was:" >&5
84371 sed 's/^/| /' conftest.$ac_ext >&5
84373 glibcxx_cv_func___builtin_cosf_use=no
84375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84376 ac_ext=c
84377 ac_cpp='$CPP $CPPFLAGS'
84378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84386 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
84387 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
84388 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
84389 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
84390 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
84391 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
84392 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
84393 echo $ECHO_N "(cached) $ECHO_C" >&6
84394 else
84396 if test x$gcc_no_link = xyes; then
84397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84399 { (exit 1); exit 1; }; }
84401 cat >conftest.$ac_ext <<_ACEOF
84402 /* confdefs.h. */
84403 _ACEOF
84404 cat confdefs.h >>conftest.$ac_ext
84405 cat >>conftest.$ac_ext <<_ACEOF
84406 /* end confdefs.h. */
84407 #include <math.h>
84409 main ()
84411 __builtin_cosf(0);
84413 return 0;
84415 _ACEOF
84416 rm -f conftest.$ac_objext conftest$ac_exeext
84417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84418 (eval $ac_link) 2>conftest.er1
84419 ac_status=$?
84420 grep -v '^ *+' conftest.er1 >conftest.err
84421 rm -f conftest.er1
84422 cat conftest.err >&5
84423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84424 (exit $ac_status); } &&
84425 { ac_try='test -z "$ac_c_werror_flag"
84426 || test ! -s conftest.err'
84427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84428 (eval $ac_try) 2>&5
84429 ac_status=$?
84430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84431 (exit $ac_status); }; } &&
84432 { ac_try='test -s conftest$ac_exeext'
84433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84434 (eval $ac_try) 2>&5
84435 ac_status=$?
84436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84437 (exit $ac_status); }; }; then
84438 glibcxx_cv_func___builtin_cosf_link=yes
84439 else
84440 echo "$as_me: failed program was:" >&5
84441 sed 's/^/| /' conftest.$ac_ext >&5
84443 glibcxx_cv_func___builtin_cosf_link=no
84445 rm -f conftest.err conftest.$ac_objext \
84446 conftest$ac_exeext conftest.$ac_ext
84451 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
84452 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
84454 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
84456 cat >>confdefs.h <<\_ACEOF
84457 #define HAVE___BUILTIN_COSF 1
84458 _ACEOF
84465 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
84466 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
84467 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
84468 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
84469 echo $ECHO_N "(cached) $ECHO_C" >&6
84470 else
84474 ac_ext=cc
84475 ac_cpp='$CXXCPP $CPPFLAGS'
84476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84480 cat >conftest.$ac_ext <<_ACEOF
84481 /* confdefs.h. */
84482 _ACEOF
84483 cat confdefs.h >>conftest.$ac_ext
84484 cat >>conftest.$ac_ext <<_ACEOF
84485 /* end confdefs.h. */
84486 #include <math.h>
84488 main ()
84490 __builtin_cos(0);
84492 return 0;
84494 _ACEOF
84495 rm -f conftest.$ac_objext
84496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84497 (eval $ac_compile) 2>conftest.er1
84498 ac_status=$?
84499 grep -v '^ *+' conftest.er1 >conftest.err
84500 rm -f conftest.er1
84501 cat conftest.err >&5
84502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84503 (exit $ac_status); } &&
84504 { ac_try='test -z "$ac_cxx_werror_flag"
84505 || test ! -s conftest.err'
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); }; } &&
84511 { ac_try='test -s conftest.$ac_objext'
84512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84513 (eval $ac_try) 2>&5
84514 ac_status=$?
84515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84516 (exit $ac_status); }; }; then
84517 glibcxx_cv_func___builtin_cos_use=yes
84518 else
84519 echo "$as_me: failed program was:" >&5
84520 sed 's/^/| /' conftest.$ac_ext >&5
84522 glibcxx_cv_func___builtin_cos_use=no
84524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84525 ac_ext=c
84526 ac_cpp='$CPP $CPPFLAGS'
84527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84535 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
84536 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
84537 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
84538 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
84539 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
84540 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
84541 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
84542 echo $ECHO_N "(cached) $ECHO_C" >&6
84543 else
84545 if test x$gcc_no_link = xyes; then
84546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84548 { (exit 1); exit 1; }; }
84550 cat >conftest.$ac_ext <<_ACEOF
84551 /* confdefs.h. */
84552 _ACEOF
84553 cat confdefs.h >>conftest.$ac_ext
84554 cat >>conftest.$ac_ext <<_ACEOF
84555 /* end confdefs.h. */
84556 #include <math.h>
84558 main ()
84560 __builtin_cos(0);
84562 return 0;
84564 _ACEOF
84565 rm -f conftest.$ac_objext conftest$ac_exeext
84566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84567 (eval $ac_link) 2>conftest.er1
84568 ac_status=$?
84569 grep -v '^ *+' conftest.er1 >conftest.err
84570 rm -f conftest.er1
84571 cat conftest.err >&5
84572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84573 (exit $ac_status); } &&
84574 { ac_try='test -z "$ac_c_werror_flag"
84575 || test ! -s conftest.err'
84576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84577 (eval $ac_try) 2>&5
84578 ac_status=$?
84579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84580 (exit $ac_status); }; } &&
84581 { ac_try='test -s conftest$ac_exeext'
84582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84583 (eval $ac_try) 2>&5
84584 ac_status=$?
84585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84586 (exit $ac_status); }; }; then
84587 glibcxx_cv_func___builtin_cos_link=yes
84588 else
84589 echo "$as_me: failed program was:" >&5
84590 sed 's/^/| /' conftest.$ac_ext >&5
84592 glibcxx_cv_func___builtin_cos_link=no
84594 rm -f conftest.err conftest.$ac_objext \
84595 conftest$ac_exeext conftest.$ac_ext
84600 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
84601 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
84603 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
84605 cat >>confdefs.h <<\_ACEOF
84606 #define HAVE___BUILTIN_COS 1
84607 _ACEOF
84614 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
84615 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
84616 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
84617 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
84618 echo $ECHO_N "(cached) $ECHO_C" >&6
84619 else
84623 ac_ext=cc
84624 ac_cpp='$CXXCPP $CPPFLAGS'
84625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84629 cat >conftest.$ac_ext <<_ACEOF
84630 /* confdefs.h. */
84631 _ACEOF
84632 cat confdefs.h >>conftest.$ac_ext
84633 cat >>conftest.$ac_ext <<_ACEOF
84634 /* end confdefs.h. */
84635 #include <math.h>
84637 main ()
84639 __builtin_cosl(0);
84641 return 0;
84643 _ACEOF
84644 rm -f conftest.$ac_objext
84645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84646 (eval $ac_compile) 2>conftest.er1
84647 ac_status=$?
84648 grep -v '^ *+' conftest.er1 >conftest.err
84649 rm -f conftest.er1
84650 cat conftest.err >&5
84651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84652 (exit $ac_status); } &&
84653 { ac_try='test -z "$ac_cxx_werror_flag"
84654 || test ! -s conftest.err'
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); }; } &&
84660 { ac_try='test -s conftest.$ac_objext'
84661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84662 (eval $ac_try) 2>&5
84663 ac_status=$?
84664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84665 (exit $ac_status); }; }; then
84666 glibcxx_cv_func___builtin_cosl_use=yes
84667 else
84668 echo "$as_me: failed program was:" >&5
84669 sed 's/^/| /' conftest.$ac_ext >&5
84671 glibcxx_cv_func___builtin_cosl_use=no
84673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84674 ac_ext=c
84675 ac_cpp='$CPP $CPPFLAGS'
84676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84684 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
84685 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
84686 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
84687 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
84688 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
84689 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
84690 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
84691 echo $ECHO_N "(cached) $ECHO_C" >&6
84692 else
84694 if test x$gcc_no_link = xyes; then
84695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84697 { (exit 1); exit 1; }; }
84699 cat >conftest.$ac_ext <<_ACEOF
84700 /* confdefs.h. */
84701 _ACEOF
84702 cat confdefs.h >>conftest.$ac_ext
84703 cat >>conftest.$ac_ext <<_ACEOF
84704 /* end confdefs.h. */
84705 #include <math.h>
84707 main ()
84709 __builtin_cosl(0);
84711 return 0;
84713 _ACEOF
84714 rm -f conftest.$ac_objext conftest$ac_exeext
84715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84716 (eval $ac_link) 2>conftest.er1
84717 ac_status=$?
84718 grep -v '^ *+' conftest.er1 >conftest.err
84719 rm -f conftest.er1
84720 cat conftest.err >&5
84721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84722 (exit $ac_status); } &&
84723 { ac_try='test -z "$ac_c_werror_flag"
84724 || test ! -s conftest.err'
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); }; } &&
84730 { ac_try='test -s conftest$ac_exeext'
84731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84732 (eval $ac_try) 2>&5
84733 ac_status=$?
84734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84735 (exit $ac_status); }; }; then
84736 glibcxx_cv_func___builtin_cosl_link=yes
84737 else
84738 echo "$as_me: failed program was:" >&5
84739 sed 's/^/| /' conftest.$ac_ext >&5
84741 glibcxx_cv_func___builtin_cosl_link=no
84743 rm -f conftest.err conftest.$ac_objext \
84744 conftest$ac_exeext conftest.$ac_ext
84749 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
84750 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
84752 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
84754 cat >>confdefs.h <<\_ACEOF
84755 #define HAVE___BUILTIN_COSL 1
84756 _ACEOF
84765 echo "$as_me:$LINENO: checking for main in -lm" >&5
84766 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
84767 if test "${ac_cv_lib_m_main+set}" = set; then
84768 echo $ECHO_N "(cached) $ECHO_C" >&6
84769 else
84770 ac_check_lib_save_LIBS=$LIBS
84771 LIBS="-lm $LIBS"
84772 if test x$gcc_no_link = xyes; then
84773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84775 { (exit 1); exit 1; }; }
84777 cat >conftest.$ac_ext <<_ACEOF
84778 /* confdefs.h. */
84779 _ACEOF
84780 cat confdefs.h >>conftest.$ac_ext
84781 cat >>conftest.$ac_ext <<_ACEOF
84782 /* end confdefs.h. */
84786 main ()
84788 main ();
84790 return 0;
84792 _ACEOF
84793 rm -f conftest.$ac_objext conftest$ac_exeext
84794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84795 (eval $ac_link) 2>conftest.er1
84796 ac_status=$?
84797 grep -v '^ *+' conftest.er1 >conftest.err
84798 rm -f conftest.er1
84799 cat conftest.err >&5
84800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84801 (exit $ac_status); } &&
84802 { ac_try='test -z "$ac_c_werror_flag"
84803 || test ! -s conftest.err'
84804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84805 (eval $ac_try) 2>&5
84806 ac_status=$?
84807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84808 (exit $ac_status); }; } &&
84809 { ac_try='test -s conftest$ac_exeext'
84810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84811 (eval $ac_try) 2>&5
84812 ac_status=$?
84813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84814 (exit $ac_status); }; }; then
84815 ac_cv_lib_m_main=yes
84816 else
84817 echo "$as_me: failed program was:" >&5
84818 sed 's/^/| /' conftest.$ac_ext >&5
84820 ac_cv_lib_m_main=no
84822 rm -f conftest.err conftest.$ac_objext \
84823 conftest$ac_exeext conftest.$ac_ext
84824 LIBS=$ac_check_lib_save_LIBS
84826 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
84827 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
84828 if test $ac_cv_lib_m_main = yes; then
84829 cat >>confdefs.h <<_ACEOF
84830 #define HAVE_LIBM 1
84831 _ACEOF
84833 LIBS="-lm $LIBS"
84838 for ac_func in copysignf
84840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84841 echo "$as_me:$LINENO: checking for $ac_func" >&5
84842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84843 if eval "test \"\${$as_ac_var+set}\" = set"; then
84844 echo $ECHO_N "(cached) $ECHO_C" >&6
84845 else
84846 if test x$gcc_no_link = xyes; then
84847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84849 { (exit 1); exit 1; }; }
84851 cat >conftest.$ac_ext <<_ACEOF
84852 /* confdefs.h. */
84853 _ACEOF
84854 cat confdefs.h >>conftest.$ac_ext
84855 cat >>conftest.$ac_ext <<_ACEOF
84856 /* end confdefs.h. */
84857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84859 #define $ac_func innocuous_$ac_func
84861 /* System header to define __stub macros and hopefully few prototypes,
84862 which can conflict with char $ac_func (); below.
84863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84864 <limits.h> exists even on freestanding compilers. */
84866 #ifdef __STDC__
84867 # include <limits.h>
84868 #else
84869 # include <assert.h>
84870 #endif
84872 #undef $ac_func
84874 /* Override any gcc2 internal prototype to avoid an error. */
84875 #ifdef __cplusplus
84876 extern "C"
84878 #endif
84879 /* We use char because int might match the return type of a gcc2
84880 builtin and then its argument prototype would still apply. */
84881 char $ac_func ();
84882 /* The GNU C library defines this for functions which it implements
84883 to always fail with ENOSYS. Some functions are actually named
84884 something starting with __ and the normal name is an alias. */
84885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84886 choke me
84887 #else
84888 char (*f) () = $ac_func;
84889 #endif
84890 #ifdef __cplusplus
84892 #endif
84895 main ()
84897 return f != $ac_func;
84899 return 0;
84901 _ACEOF
84902 rm -f conftest.$ac_objext conftest$ac_exeext
84903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84904 (eval $ac_link) 2>conftest.er1
84905 ac_status=$?
84906 grep -v '^ *+' conftest.er1 >conftest.err
84907 rm -f conftest.er1
84908 cat conftest.err >&5
84909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84910 (exit $ac_status); } &&
84911 { ac_try='test -z "$ac_c_werror_flag"
84912 || test ! -s conftest.err'
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); }; } &&
84918 { ac_try='test -s conftest$ac_exeext'
84919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84920 (eval $ac_try) 2>&5
84921 ac_status=$?
84922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84923 (exit $ac_status); }; }; then
84924 eval "$as_ac_var=yes"
84925 else
84926 echo "$as_me: failed program was:" >&5
84927 sed 's/^/| /' conftest.$ac_ext >&5
84929 eval "$as_ac_var=no"
84931 rm -f conftest.err conftest.$ac_objext \
84932 conftest$ac_exeext conftest.$ac_ext
84934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84936 if test `eval echo '${'$as_ac_var'}'` = yes; then
84937 cat >>confdefs.h <<_ACEOF
84938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84939 _ACEOF
84941 else
84942 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
84944 done
84948 for ac_func in __signbit
84950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84951 echo "$as_me:$LINENO: checking for $ac_func" >&5
84952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84953 if eval "test \"\${$as_ac_var+set}\" = set"; then
84954 echo $ECHO_N "(cached) $ECHO_C" >&6
84955 else
84956 if test x$gcc_no_link = xyes; then
84957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84959 { (exit 1); exit 1; }; }
84961 cat >conftest.$ac_ext <<_ACEOF
84962 /* confdefs.h. */
84963 _ACEOF
84964 cat confdefs.h >>conftest.$ac_ext
84965 cat >>conftest.$ac_ext <<_ACEOF
84966 /* end confdefs.h. */
84967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84969 #define $ac_func innocuous_$ac_func
84971 /* System header to define __stub macros and hopefully few prototypes,
84972 which can conflict with char $ac_func (); below.
84973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84974 <limits.h> exists even on freestanding compilers. */
84976 #ifdef __STDC__
84977 # include <limits.h>
84978 #else
84979 # include <assert.h>
84980 #endif
84982 #undef $ac_func
84984 /* Override any gcc2 internal prototype to avoid an error. */
84985 #ifdef __cplusplus
84986 extern "C"
84988 #endif
84989 /* We use char because int might match the return type of a gcc2
84990 builtin and then its argument prototype would still apply. */
84991 char $ac_func ();
84992 /* The GNU C library defines this for functions which it implements
84993 to always fail with ENOSYS. Some functions are actually named
84994 something starting with __ and the normal name is an alias. */
84995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84996 choke me
84997 #else
84998 char (*f) () = $ac_func;
84999 #endif
85000 #ifdef __cplusplus
85002 #endif
85005 main ()
85007 return f != $ac_func;
85009 return 0;
85011 _ACEOF
85012 rm -f conftest.$ac_objext conftest$ac_exeext
85013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85014 (eval $ac_link) 2>conftest.er1
85015 ac_status=$?
85016 grep -v '^ *+' conftest.er1 >conftest.err
85017 rm -f conftest.er1
85018 cat conftest.err >&5
85019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85020 (exit $ac_status); } &&
85021 { ac_try='test -z "$ac_c_werror_flag"
85022 || test ! -s conftest.err'
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); }; } &&
85028 { ac_try='test -s conftest$ac_exeext'
85029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85030 (eval $ac_try) 2>&5
85031 ac_status=$?
85032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85033 (exit $ac_status); }; }; then
85034 eval "$as_ac_var=yes"
85035 else
85036 echo "$as_me: failed program was:" >&5
85037 sed 's/^/| /' conftest.$ac_ext >&5
85039 eval "$as_ac_var=no"
85041 rm -f conftest.err conftest.$ac_objext \
85042 conftest$ac_exeext conftest.$ac_ext
85044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85046 if test `eval echo '${'$as_ac_var'}'` = yes; then
85047 cat >>confdefs.h <<_ACEOF
85048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85049 _ACEOF
85051 else
85052 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85054 done
85058 for ac_func in __signbitf
85060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85061 echo "$as_me:$LINENO: checking for $ac_func" >&5
85062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85063 if eval "test \"\${$as_ac_var+set}\" = set"; then
85064 echo $ECHO_N "(cached) $ECHO_C" >&6
85065 else
85066 if test x$gcc_no_link = xyes; then
85067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85069 { (exit 1); exit 1; }; }
85071 cat >conftest.$ac_ext <<_ACEOF
85072 /* confdefs.h. */
85073 _ACEOF
85074 cat confdefs.h >>conftest.$ac_ext
85075 cat >>conftest.$ac_ext <<_ACEOF
85076 /* end confdefs.h. */
85077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85079 #define $ac_func innocuous_$ac_func
85081 /* System header to define __stub macros and hopefully few prototypes,
85082 which can conflict with char $ac_func (); below.
85083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85084 <limits.h> exists even on freestanding compilers. */
85086 #ifdef __STDC__
85087 # include <limits.h>
85088 #else
85089 # include <assert.h>
85090 #endif
85092 #undef $ac_func
85094 /* Override any gcc2 internal prototype to avoid an error. */
85095 #ifdef __cplusplus
85096 extern "C"
85098 #endif
85099 /* We use char because int might match the return type of a gcc2
85100 builtin and then its argument prototype would still apply. */
85101 char $ac_func ();
85102 /* The GNU C library defines this for functions which it implements
85103 to always fail with ENOSYS. Some functions are actually named
85104 something starting with __ and the normal name is an alias. */
85105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85106 choke me
85107 #else
85108 char (*f) () = $ac_func;
85109 #endif
85110 #ifdef __cplusplus
85112 #endif
85115 main ()
85117 return f != $ac_func;
85119 return 0;
85121 _ACEOF
85122 rm -f conftest.$ac_objext conftest$ac_exeext
85123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85124 (eval $ac_link) 2>conftest.er1
85125 ac_status=$?
85126 grep -v '^ *+' conftest.er1 >conftest.err
85127 rm -f conftest.er1
85128 cat conftest.err >&5
85129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85130 (exit $ac_status); } &&
85131 { ac_try='test -z "$ac_c_werror_flag"
85132 || test ! -s conftest.err'
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); }; } &&
85138 { ac_try='test -s conftest$ac_exeext'
85139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85140 (eval $ac_try) 2>&5
85141 ac_status=$?
85142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85143 (exit $ac_status); }; }; then
85144 eval "$as_ac_var=yes"
85145 else
85146 echo "$as_me: failed program was:" >&5
85147 sed 's/^/| /' conftest.$ac_ext >&5
85149 eval "$as_ac_var=no"
85151 rm -f conftest.err conftest.$ac_objext \
85152 conftest$ac_exeext conftest.$ac_ext
85154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85156 if test `eval echo '${'$as_ac_var'}'` = yes; then
85157 cat >>confdefs.h <<_ACEOF
85158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85159 _ACEOF
85161 else
85162 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85164 done
85167 if test x$ac_cv_func_copysignl = x"yes"; then
85169 for ac_func in __signbitl
85171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85172 echo "$as_me:$LINENO: checking for $ac_func" >&5
85173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85174 if eval "test \"\${$as_ac_var+set}\" = set"; then
85175 echo $ECHO_N "(cached) $ECHO_C" >&6
85176 else
85177 if test x$gcc_no_link = xyes; then
85178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85180 { (exit 1); exit 1; }; }
85182 cat >conftest.$ac_ext <<_ACEOF
85183 /* confdefs.h. */
85184 _ACEOF
85185 cat confdefs.h >>conftest.$ac_ext
85186 cat >>conftest.$ac_ext <<_ACEOF
85187 /* end confdefs.h. */
85188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85190 #define $ac_func innocuous_$ac_func
85192 /* System header to define __stub macros and hopefully few prototypes,
85193 which can conflict with char $ac_func (); below.
85194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85195 <limits.h> exists even on freestanding compilers. */
85197 #ifdef __STDC__
85198 # include <limits.h>
85199 #else
85200 # include <assert.h>
85201 #endif
85203 #undef $ac_func
85205 /* Override any gcc2 internal prototype to avoid an error. */
85206 #ifdef __cplusplus
85207 extern "C"
85209 #endif
85210 /* We use char because int might match the return type of a gcc2
85211 builtin and then its argument prototype would still apply. */
85212 char $ac_func ();
85213 /* The GNU C library defines this for functions which it implements
85214 to always fail with ENOSYS. Some functions are actually named
85215 something starting with __ and the normal name is an alias. */
85216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85217 choke me
85218 #else
85219 char (*f) () = $ac_func;
85220 #endif
85221 #ifdef __cplusplus
85223 #endif
85226 main ()
85228 return f != $ac_func;
85230 return 0;
85232 _ACEOF
85233 rm -f conftest.$ac_objext conftest$ac_exeext
85234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85235 (eval $ac_link) 2>conftest.er1
85236 ac_status=$?
85237 grep -v '^ *+' conftest.er1 >conftest.err
85238 rm -f conftest.er1
85239 cat conftest.err >&5
85240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85241 (exit $ac_status); } &&
85242 { ac_try='test -z "$ac_c_werror_flag"
85243 || test ! -s conftest.err'
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); }; } &&
85249 { ac_try='test -s conftest$ac_exeext'
85250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85251 (eval $ac_try) 2>&5
85252 ac_status=$?
85253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85254 (exit $ac_status); }; }; then
85255 eval "$as_ac_var=yes"
85256 else
85257 echo "$as_me: failed program was:" >&5
85258 sed 's/^/| /' conftest.$ac_ext >&5
85260 eval "$as_ac_var=no"
85262 rm -f conftest.err conftest.$ac_objext \
85263 conftest$ac_exeext conftest.$ac_ext
85265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85267 if test `eval echo '${'$as_ac_var'}'` = yes; then
85268 cat >>confdefs.h <<_ACEOF
85269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85270 _ACEOF
85272 else
85273 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85275 done
85279 # Used in libmath/Makefile.am.
85280 if test -n "$LIBMATHOBJS"; then
85281 need_libmath=yes
85286 ac_test_CXXFLAGS="${CXXFLAGS+set}"
85287 ac_save_CXXFLAGS="$CXXFLAGS"
85288 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
85291 echo "$as_me:$LINENO: checking for strtold declaration" >&5
85292 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
85293 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
85294 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
85295 echo $ECHO_N "(cached) $ECHO_C" >&6
85296 else
85300 ac_ext=cc
85301 ac_cpp='$CXXCPP $CPPFLAGS'
85302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85306 cat >conftest.$ac_ext <<_ACEOF
85307 /* confdefs.h. */
85308 _ACEOF
85309 cat confdefs.h >>conftest.$ac_ext
85310 cat >>conftest.$ac_ext <<_ACEOF
85311 /* end confdefs.h. */
85312 #include <stdlib.h>
85314 main ()
85316 strtold(0, 0);
85318 return 0;
85320 _ACEOF
85321 rm -f conftest.$ac_objext
85322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85323 (eval $ac_compile) 2>conftest.er1
85324 ac_status=$?
85325 grep -v '^ *+' conftest.er1 >conftest.err
85326 rm -f conftest.er1
85327 cat conftest.err >&5
85328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85329 (exit $ac_status); } &&
85330 { ac_try='test -z "$ac_cxx_werror_flag"
85331 || test ! -s conftest.err'
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); }; } &&
85337 { ac_try='test -s conftest.$ac_objext'
85338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85339 (eval $ac_try) 2>&5
85340 ac_status=$?
85341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85342 (exit $ac_status); }; }; then
85343 glibcxx_cv_func_strtold_use=yes
85344 else
85345 echo "$as_me: failed program was:" >&5
85346 sed 's/^/| /' conftest.$ac_ext >&5
85348 glibcxx_cv_func_strtold_use=no
85350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85351 ac_ext=c
85352 ac_cpp='$CPP $CPPFLAGS'
85353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85361 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
85362 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
85363 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
85365 for ac_func in strtold
85367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85368 echo "$as_me:$LINENO: checking for $ac_func" >&5
85369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85370 if eval "test \"\${$as_ac_var+set}\" = set"; then
85371 echo $ECHO_N "(cached) $ECHO_C" >&6
85372 else
85373 if test x$gcc_no_link = xyes; then
85374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85376 { (exit 1); exit 1; }; }
85378 cat >conftest.$ac_ext <<_ACEOF
85379 /* confdefs.h. */
85380 _ACEOF
85381 cat confdefs.h >>conftest.$ac_ext
85382 cat >>conftest.$ac_ext <<_ACEOF
85383 /* end confdefs.h. */
85384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85386 #define $ac_func innocuous_$ac_func
85388 /* System header to define __stub macros and hopefully few prototypes,
85389 which can conflict with char $ac_func (); below.
85390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85391 <limits.h> exists even on freestanding compilers. */
85393 #ifdef __STDC__
85394 # include <limits.h>
85395 #else
85396 # include <assert.h>
85397 #endif
85399 #undef $ac_func
85401 /* Override any gcc2 internal prototype to avoid an error. */
85402 #ifdef __cplusplus
85403 extern "C"
85405 #endif
85406 /* We use char because int might match the return type of a gcc2
85407 builtin and then its argument prototype would still apply. */
85408 char $ac_func ();
85409 /* The GNU C library defines this for functions which it implements
85410 to always fail with ENOSYS. Some functions are actually named
85411 something starting with __ and the normal name is an alias. */
85412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85413 choke me
85414 #else
85415 char (*f) () = $ac_func;
85416 #endif
85417 #ifdef __cplusplus
85419 #endif
85422 main ()
85424 return f != $ac_func;
85426 return 0;
85428 _ACEOF
85429 rm -f conftest.$ac_objext conftest$ac_exeext
85430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85431 (eval $ac_link) 2>conftest.er1
85432 ac_status=$?
85433 grep -v '^ *+' conftest.er1 >conftest.err
85434 rm -f conftest.er1
85435 cat conftest.err >&5
85436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85437 (exit $ac_status); } &&
85438 { ac_try='test -z "$ac_c_werror_flag"
85439 || test ! -s conftest.err'
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); }; } &&
85445 { ac_try='test -s conftest$ac_exeext'
85446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85447 (eval $ac_try) 2>&5
85448 ac_status=$?
85449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85450 (exit $ac_status); }; }; then
85451 eval "$as_ac_var=yes"
85452 else
85453 echo "$as_me: failed program was:" >&5
85454 sed 's/^/| /' conftest.$ac_ext >&5
85456 eval "$as_ac_var=no"
85458 rm -f conftest.err conftest.$ac_objext \
85459 conftest$ac_exeext conftest.$ac_ext
85461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85463 if test `eval echo '${'$as_ac_var'}'` = yes; then
85464 cat >>confdefs.h <<_ACEOF
85465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85466 _ACEOF
85469 done
85477 echo "$as_me:$LINENO: checking for strtof declaration" >&5
85478 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
85479 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
85480 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
85481 echo $ECHO_N "(cached) $ECHO_C" >&6
85482 else
85486 ac_ext=cc
85487 ac_cpp='$CXXCPP $CPPFLAGS'
85488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85492 cat >conftest.$ac_ext <<_ACEOF
85493 /* confdefs.h. */
85494 _ACEOF
85495 cat confdefs.h >>conftest.$ac_ext
85496 cat >>conftest.$ac_ext <<_ACEOF
85497 /* end confdefs.h. */
85498 #include <stdlib.h>
85500 main ()
85502 strtof(0, 0);
85504 return 0;
85506 _ACEOF
85507 rm -f conftest.$ac_objext
85508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85509 (eval $ac_compile) 2>conftest.er1
85510 ac_status=$?
85511 grep -v '^ *+' conftest.er1 >conftest.err
85512 rm -f conftest.er1
85513 cat conftest.err >&5
85514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85515 (exit $ac_status); } &&
85516 { ac_try='test -z "$ac_cxx_werror_flag"
85517 || test ! -s conftest.err'
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); }; } &&
85523 { ac_try='test -s conftest.$ac_objext'
85524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85525 (eval $ac_try) 2>&5
85526 ac_status=$?
85527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85528 (exit $ac_status); }; }; then
85529 glibcxx_cv_func_strtof_use=yes
85530 else
85531 echo "$as_me: failed program was:" >&5
85532 sed 's/^/| /' conftest.$ac_ext >&5
85534 glibcxx_cv_func_strtof_use=no
85536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85537 ac_ext=c
85538 ac_cpp='$CPP $CPPFLAGS'
85539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85547 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
85548 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
85549 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
85551 for ac_func in strtof
85553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85554 echo "$as_me:$LINENO: checking for $ac_func" >&5
85555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85556 if eval "test \"\${$as_ac_var+set}\" = set"; then
85557 echo $ECHO_N "(cached) $ECHO_C" >&6
85558 else
85559 if test x$gcc_no_link = xyes; then
85560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85562 { (exit 1); exit 1; }; }
85564 cat >conftest.$ac_ext <<_ACEOF
85565 /* confdefs.h. */
85566 _ACEOF
85567 cat confdefs.h >>conftest.$ac_ext
85568 cat >>conftest.$ac_ext <<_ACEOF
85569 /* end confdefs.h. */
85570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85572 #define $ac_func innocuous_$ac_func
85574 /* System header to define __stub macros and hopefully few prototypes,
85575 which can conflict with char $ac_func (); below.
85576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85577 <limits.h> exists even on freestanding compilers. */
85579 #ifdef __STDC__
85580 # include <limits.h>
85581 #else
85582 # include <assert.h>
85583 #endif
85585 #undef $ac_func
85587 /* Override any gcc2 internal prototype to avoid an error. */
85588 #ifdef __cplusplus
85589 extern "C"
85591 #endif
85592 /* We use char because int might match the return type of a gcc2
85593 builtin and then its argument prototype would still apply. */
85594 char $ac_func ();
85595 /* The GNU C library defines this for functions which it implements
85596 to always fail with ENOSYS. Some functions are actually named
85597 something starting with __ and the normal name is an alias. */
85598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85599 choke me
85600 #else
85601 char (*f) () = $ac_func;
85602 #endif
85603 #ifdef __cplusplus
85605 #endif
85608 main ()
85610 return f != $ac_func;
85612 return 0;
85614 _ACEOF
85615 rm -f conftest.$ac_objext conftest$ac_exeext
85616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85617 (eval $ac_link) 2>conftest.er1
85618 ac_status=$?
85619 grep -v '^ *+' conftest.er1 >conftest.err
85620 rm -f conftest.er1
85621 cat conftest.err >&5
85622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85623 (exit $ac_status); } &&
85624 { ac_try='test -z "$ac_c_werror_flag"
85625 || test ! -s conftest.err'
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); }; } &&
85631 { ac_try='test -s conftest$ac_exeext'
85632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85633 (eval $ac_try) 2>&5
85634 ac_status=$?
85635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85636 (exit $ac_status); }; }; then
85637 eval "$as_ac_var=yes"
85638 else
85639 echo "$as_me: failed program was:" >&5
85640 sed 's/^/| /' conftest.$ac_ext >&5
85642 eval "$as_ac_var=no"
85644 rm -f conftest.err conftest.$ac_objext \
85645 conftest$ac_exeext conftest.$ac_ext
85647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85649 if test `eval echo '${'$as_ac_var'}'` = yes; then
85650 cat >>confdefs.h <<_ACEOF
85651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85652 _ACEOF
85655 done
85663 CXXFLAGS="$ac_save_CXXFLAGS"
85666 # For LFS.
85667 cat >>confdefs.h <<\_ACEOF
85668 #define HAVE_INT64_T 1
85669 _ACEOF
85674 ac_ext=cc
85675 ac_cpp='$CXXCPP $CPPFLAGS'
85676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85680 ac_save_CXXFLAGS="$CXXFLAGS"
85681 CXXFLAGS="$CXXFLAGS -fno-exceptions"
85682 echo "$as_me:$LINENO: checking for LFS support" >&5
85683 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
85684 if test "${glibcxx_cv_LFS+set}" = set; then
85685 echo $ECHO_N "(cached) $ECHO_C" >&6
85686 else
85688 if test x$gcc_no_link = xyes; then
85689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85691 { (exit 1); exit 1; }; }
85693 cat >conftest.$ac_ext <<_ACEOF
85694 /* confdefs.h. */
85695 _ACEOF
85696 cat confdefs.h >>conftest.$ac_ext
85697 cat >>conftest.$ac_ext <<_ACEOF
85698 /* end confdefs.h. */
85699 #include <unistd.h>
85700 #include <stdio.h>
85701 #include <sys/stat.h>
85704 main ()
85706 FILE* fp;
85707 fopen64("t", "w");
85708 fseeko64(fp, 0, SEEK_CUR);
85709 ftello64(fp);
85710 lseek64(1, 0, SEEK_CUR);
85711 struct stat64 buf;
85712 fstat64(1, &buf);
85714 return 0;
85716 _ACEOF
85717 rm -f conftest.$ac_objext conftest$ac_exeext
85718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85719 (eval $ac_link) 2>conftest.er1
85720 ac_status=$?
85721 grep -v '^ *+' conftest.er1 >conftest.err
85722 rm -f conftest.er1
85723 cat conftest.err >&5
85724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85725 (exit $ac_status); } &&
85726 { ac_try='test -z "$ac_cxx_werror_flag"
85727 || test ! -s conftest.err'
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); }; } &&
85733 { ac_try='test -s conftest$ac_exeext'
85734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85735 (eval $ac_try) 2>&5
85736 ac_status=$?
85737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85738 (exit $ac_status); }; }; then
85739 glibcxx_cv_LFS=yes
85740 else
85741 echo "$as_me: failed program was:" >&5
85742 sed 's/^/| /' conftest.$ac_ext >&5
85744 glibcxx_cv_LFS=no
85746 rm -f conftest.err conftest.$ac_objext \
85747 conftest$ac_exeext conftest.$ac_ext
85751 if test $glibcxx_cv_LFS = yes; then
85753 cat >>confdefs.h <<\_ACEOF
85754 #define _GLIBCXX_USE_LFS 1
85755 _ACEOF
85758 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
85759 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
85760 CXXFLAGS="$ac_save_CXXFLAGS"
85761 ac_ext=c
85762 ac_cpp='$CPP $CPPFLAGS'
85763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85769 # For showmanyc_helper().
85772 for ac_header in sys/ioctl.h sys/filio.h
85774 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85776 echo "$as_me:$LINENO: checking for $ac_header" >&5
85777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85779 echo $ECHO_N "(cached) $ECHO_C" >&6
85781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85783 else
85784 # Is the header compilable?
85785 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85786 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85787 cat >conftest.$ac_ext <<_ACEOF
85788 /* confdefs.h. */
85789 _ACEOF
85790 cat confdefs.h >>conftest.$ac_ext
85791 cat >>conftest.$ac_ext <<_ACEOF
85792 /* end confdefs.h. */
85793 $ac_includes_default
85794 #include <$ac_header>
85795 _ACEOF
85796 rm -f conftest.$ac_objext
85797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85798 (eval $ac_compile) 2>conftest.er1
85799 ac_status=$?
85800 grep -v '^ *+' conftest.er1 >conftest.err
85801 rm -f conftest.er1
85802 cat conftest.err >&5
85803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85804 (exit $ac_status); } &&
85805 { ac_try='test -z "$ac_c_werror_flag"
85806 || test ! -s conftest.err'
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); }; } &&
85812 { ac_try='test -s conftest.$ac_objext'
85813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85814 (eval $ac_try) 2>&5
85815 ac_status=$?
85816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85817 (exit $ac_status); }; }; then
85818 ac_header_compiler=yes
85819 else
85820 echo "$as_me: failed program was:" >&5
85821 sed 's/^/| /' conftest.$ac_ext >&5
85823 ac_header_compiler=no
85825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85826 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85827 echo "${ECHO_T}$ac_header_compiler" >&6
85829 # Is the header present?
85830 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85831 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85832 cat >conftest.$ac_ext <<_ACEOF
85833 /* confdefs.h. */
85834 _ACEOF
85835 cat confdefs.h >>conftest.$ac_ext
85836 cat >>conftest.$ac_ext <<_ACEOF
85837 /* end confdefs.h. */
85838 #include <$ac_header>
85839 _ACEOF
85840 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85841 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85842 ac_status=$?
85843 grep -v '^ *+' conftest.er1 >conftest.err
85844 rm -f conftest.er1
85845 cat conftest.err >&5
85846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85847 (exit $ac_status); } >/dev/null; then
85848 if test -s conftest.err; then
85849 ac_cpp_err=$ac_c_preproc_warn_flag
85850 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85851 else
85852 ac_cpp_err=
85854 else
85855 ac_cpp_err=yes
85857 if test -z "$ac_cpp_err"; then
85858 ac_header_preproc=yes
85859 else
85860 echo "$as_me: failed program was:" >&5
85861 sed 's/^/| /' conftest.$ac_ext >&5
85863 ac_header_preproc=no
85865 rm -f conftest.err conftest.$ac_ext
85866 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85867 echo "${ECHO_T}$ac_header_preproc" >&6
85869 # So? What about this header?
85870 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85871 yes:no: )
85872 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85873 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85874 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85875 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85876 ac_header_preproc=yes
85878 no:yes:* )
85879 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85880 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85881 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85882 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85883 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85884 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85885 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85886 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85887 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85888 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85889 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85890 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85892 cat <<\_ASBOX
85893 ## ----------------------------------------- ##
85894 ## Report this to the package-unused lists. ##
85895 ## ----------------------------------------- ##
85896 _ASBOX
85898 sed "s/^/$as_me: WARNING: /" >&2
85900 esac
85901 echo "$as_me:$LINENO: checking for $ac_header" >&5
85902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85904 echo $ECHO_N "(cached) $ECHO_C" >&6
85905 else
85906 eval "$as_ac_Header=\$ac_header_preproc"
85908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85912 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85913 cat >>confdefs.h <<_ACEOF
85914 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85915 _ACEOF
85919 done
85922 echo "$as_me:$LINENO: checking for poll" >&5
85923 echo $ECHO_N "checking for poll... $ECHO_C" >&6
85924 if test "${glibcxx_cv_POLL+set}" = set; then
85925 echo $ECHO_N "(cached) $ECHO_C" >&6
85926 else
85928 if test x$gcc_no_link = xyes; then
85929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85931 { (exit 1); exit 1; }; }
85933 cat >conftest.$ac_ext <<_ACEOF
85934 /* confdefs.h. */
85935 _ACEOF
85936 cat confdefs.h >>conftest.$ac_ext
85937 cat >>conftest.$ac_ext <<_ACEOF
85938 /* end confdefs.h. */
85939 #include <poll.h>
85941 main ()
85943 struct pollfd pfd[1];
85944 pfd[0].events = POLLIN;
85945 poll(pfd, 1, 0);
85947 return 0;
85949 _ACEOF
85950 rm -f conftest.$ac_objext conftest$ac_exeext
85951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85952 (eval $ac_link) 2>conftest.er1
85953 ac_status=$?
85954 grep -v '^ *+' conftest.er1 >conftest.err
85955 rm -f conftest.er1
85956 cat conftest.err >&5
85957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85958 (exit $ac_status); } &&
85959 { ac_try='test -z "$ac_c_werror_flag"
85960 || test ! -s conftest.err'
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); }; } &&
85966 { ac_try='test -s conftest$ac_exeext'
85967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85968 (eval $ac_try) 2>&5
85969 ac_status=$?
85970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85971 (exit $ac_status); }; }; then
85972 glibcxx_cv_POLL=yes
85973 else
85974 echo "$as_me: failed program was:" >&5
85975 sed 's/^/| /' conftest.$ac_ext >&5
85977 glibcxx_cv_POLL=no
85979 rm -f conftest.err conftest.$ac_objext \
85980 conftest$ac_exeext conftest.$ac_ext
85984 if test $glibcxx_cv_POLL = yes; then
85986 cat >>confdefs.h <<\_ACEOF
85987 #define HAVE_POLL 1
85988 _ACEOF
85991 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
85992 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
85995 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
85996 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
85997 if test "${glibcxx_cv_S_ISREG+set}" = set; then
85998 echo $ECHO_N "(cached) $ECHO_C" >&6
85999 else
86001 if test x$gcc_no_link = xyes; then
86002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86004 { (exit 1); exit 1; }; }
86006 cat >conftest.$ac_ext <<_ACEOF
86007 /* confdefs.h. */
86008 _ACEOF
86009 cat confdefs.h >>conftest.$ac_ext
86010 cat >>conftest.$ac_ext <<_ACEOF
86011 /* end confdefs.h. */
86012 #include <sys/stat.h>
86014 main ()
86016 struct stat buffer;
86017 fstat(0, &buffer);
86018 S_ISREG(buffer.st_mode);
86020 return 0;
86022 _ACEOF
86023 rm -f conftest.$ac_objext conftest$ac_exeext
86024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86025 (eval $ac_link) 2>conftest.er1
86026 ac_status=$?
86027 grep -v '^ *+' conftest.er1 >conftest.err
86028 rm -f conftest.er1
86029 cat conftest.err >&5
86030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86031 (exit $ac_status); } &&
86032 { ac_try='test -z "$ac_c_werror_flag"
86033 || test ! -s conftest.err'
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); }; } &&
86039 { ac_try='test -s conftest$ac_exeext'
86040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86041 (eval $ac_try) 2>&5
86042 ac_status=$?
86043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86044 (exit $ac_status); }; }; then
86045 glibcxx_cv_S_ISREG=yes
86046 else
86047 echo "$as_me: failed program was:" >&5
86048 sed 's/^/| /' conftest.$ac_ext >&5
86050 glibcxx_cv_S_ISREG=no
86052 rm -f conftest.err conftest.$ac_objext \
86053 conftest$ac_exeext conftest.$ac_ext
86057 if test "${glibcxx_cv_S_IFREG+set}" = set; then
86058 echo $ECHO_N "(cached) $ECHO_C" >&6
86059 else
86061 if test x$gcc_no_link = xyes; then
86062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86064 { (exit 1); exit 1; }; }
86066 cat >conftest.$ac_ext <<_ACEOF
86067 /* confdefs.h. */
86068 _ACEOF
86069 cat confdefs.h >>conftest.$ac_ext
86070 cat >>conftest.$ac_ext <<_ACEOF
86071 /* end confdefs.h. */
86072 #include <sys/stat.h>
86074 main ()
86076 struct stat buffer;
86077 fstat(0, &buffer);
86078 S_IFREG & buffer.st_mode;
86080 return 0;
86082 _ACEOF
86083 rm -f conftest.$ac_objext conftest$ac_exeext
86084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86085 (eval $ac_link) 2>conftest.er1
86086 ac_status=$?
86087 grep -v '^ *+' conftest.er1 >conftest.err
86088 rm -f conftest.er1
86089 cat conftest.err >&5
86090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86091 (exit $ac_status); } &&
86092 { ac_try='test -z "$ac_c_werror_flag"
86093 || test ! -s conftest.err'
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); }; } &&
86099 { ac_try='test -s conftest$ac_exeext'
86100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86101 (eval $ac_try) 2>&5
86102 ac_status=$?
86103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86104 (exit $ac_status); }; }; then
86105 glibcxx_cv_S_IFREG=yes
86106 else
86107 echo "$as_me: failed program was:" >&5
86108 sed 's/^/| /' conftest.$ac_ext >&5
86110 glibcxx_cv_S_IFREG=no
86112 rm -f conftest.err conftest.$ac_objext \
86113 conftest$ac_exeext conftest.$ac_ext
86117 res=no
86118 if test $glibcxx_cv_S_ISREG = yes; then
86120 cat >>confdefs.h <<\_ACEOF
86121 #define HAVE_S_ISREG 1
86122 _ACEOF
86124 res=S_ISREG
86125 elif test $glibcxx_cv_S_IFREG = yes; then
86127 cat >>confdefs.h <<\_ACEOF
86128 #define HAVE_S_IFREG 1
86129 _ACEOF
86131 res=S_IFREG
86133 echo "$as_me:$LINENO: result: $res" >&5
86134 echo "${ECHO_T}$res" >&6
86137 # For xsputn_2().
86139 for ac_header in sys/uio.h
86141 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86143 echo "$as_me:$LINENO: checking for $ac_header" >&5
86144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86146 echo $ECHO_N "(cached) $ECHO_C" >&6
86148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86149 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86150 else
86151 # Is the header compilable?
86152 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86153 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86154 cat >conftest.$ac_ext <<_ACEOF
86155 /* confdefs.h. */
86156 _ACEOF
86157 cat confdefs.h >>conftest.$ac_ext
86158 cat >>conftest.$ac_ext <<_ACEOF
86159 /* end confdefs.h. */
86160 $ac_includes_default
86161 #include <$ac_header>
86162 _ACEOF
86163 rm -f conftest.$ac_objext
86164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86165 (eval $ac_compile) 2>conftest.er1
86166 ac_status=$?
86167 grep -v '^ *+' conftest.er1 >conftest.err
86168 rm -f conftest.er1
86169 cat conftest.err >&5
86170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86171 (exit $ac_status); } &&
86172 { ac_try='test -z "$ac_c_werror_flag"
86173 || test ! -s conftest.err'
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); }; } &&
86179 { ac_try='test -s conftest.$ac_objext'
86180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86181 (eval $ac_try) 2>&5
86182 ac_status=$?
86183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86184 (exit $ac_status); }; }; then
86185 ac_header_compiler=yes
86186 else
86187 echo "$as_me: failed program was:" >&5
86188 sed 's/^/| /' conftest.$ac_ext >&5
86190 ac_header_compiler=no
86192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86193 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86194 echo "${ECHO_T}$ac_header_compiler" >&6
86196 # Is the header present?
86197 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86198 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86199 cat >conftest.$ac_ext <<_ACEOF
86200 /* confdefs.h. */
86201 _ACEOF
86202 cat confdefs.h >>conftest.$ac_ext
86203 cat >>conftest.$ac_ext <<_ACEOF
86204 /* end confdefs.h. */
86205 #include <$ac_header>
86206 _ACEOF
86207 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86208 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86209 ac_status=$?
86210 grep -v '^ *+' conftest.er1 >conftest.err
86211 rm -f conftest.er1
86212 cat conftest.err >&5
86213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86214 (exit $ac_status); } >/dev/null; then
86215 if test -s conftest.err; then
86216 ac_cpp_err=$ac_c_preproc_warn_flag
86217 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86218 else
86219 ac_cpp_err=
86221 else
86222 ac_cpp_err=yes
86224 if test -z "$ac_cpp_err"; then
86225 ac_header_preproc=yes
86226 else
86227 echo "$as_me: failed program was:" >&5
86228 sed 's/^/| /' conftest.$ac_ext >&5
86230 ac_header_preproc=no
86232 rm -f conftest.err conftest.$ac_ext
86233 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86234 echo "${ECHO_T}$ac_header_preproc" >&6
86236 # So? What about this header?
86237 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86238 yes:no: )
86239 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86240 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86241 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86242 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86243 ac_header_preproc=yes
86245 no:yes:* )
86246 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86247 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86248 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86249 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86250 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86251 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86252 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86253 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86255 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86256 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86257 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86259 cat <<\_ASBOX
86260 ## ----------------------------------------- ##
86261 ## Report this to the package-unused lists. ##
86262 ## ----------------------------------------- ##
86263 _ASBOX
86265 sed "s/^/$as_me: WARNING: /" >&2
86267 esac
86268 echo "$as_me:$LINENO: checking for $ac_header" >&5
86269 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86271 echo $ECHO_N "(cached) $ECHO_C" >&6
86272 else
86273 eval "$as_ac_Header=\$ac_header_preproc"
86275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86279 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86280 cat >>confdefs.h <<_ACEOF
86281 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86282 _ACEOF
86286 done
86289 echo "$as_me:$LINENO: checking for writev" >&5
86290 echo $ECHO_N "checking for writev... $ECHO_C" >&6
86291 if test "${glibcxx_cv_WRITEV+set}" = set; then
86292 echo $ECHO_N "(cached) $ECHO_C" >&6
86293 else
86295 if test x$gcc_no_link = xyes; then
86296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86298 { (exit 1); exit 1; }; }
86300 cat >conftest.$ac_ext <<_ACEOF
86301 /* confdefs.h. */
86302 _ACEOF
86303 cat confdefs.h >>conftest.$ac_ext
86304 cat >>conftest.$ac_ext <<_ACEOF
86305 /* end confdefs.h. */
86306 #include <sys/uio.h>
86308 main ()
86310 struct iovec iov[2];
86311 writev(0, iov, 0);
86313 return 0;
86315 _ACEOF
86316 rm -f conftest.$ac_objext conftest$ac_exeext
86317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86318 (eval $ac_link) 2>conftest.er1
86319 ac_status=$?
86320 grep -v '^ *+' conftest.er1 >conftest.err
86321 rm -f conftest.er1
86322 cat conftest.err >&5
86323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86324 (exit $ac_status); } &&
86325 { ac_try='test -z "$ac_c_werror_flag"
86326 || test ! -s conftest.err'
86327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86328 (eval $ac_try) 2>&5
86329 ac_status=$?
86330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86331 (exit $ac_status); }; } &&
86332 { ac_try='test -s conftest$ac_exeext'
86333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86334 (eval $ac_try) 2>&5
86335 ac_status=$?
86336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86337 (exit $ac_status); }; }; then
86338 glibcxx_cv_WRITEV=yes
86339 else
86340 echo "$as_me: failed program was:" >&5
86341 sed 's/^/| /' conftest.$ac_ext >&5
86343 glibcxx_cv_WRITEV=no
86345 rm -f conftest.err conftest.$ac_objext \
86346 conftest$ac_exeext conftest.$ac_ext
86350 if test $glibcxx_cv_WRITEV = yes; then
86352 cat >>confdefs.h <<\_ACEOF
86353 #define HAVE_WRITEV 1
86354 _ACEOF
86357 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
86358 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
86361 *-mingw32*)
86365 for ac_header in sys/types.h locale.h float.h
86367 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86369 echo "$as_me:$LINENO: checking for $ac_header" >&5
86370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86372 echo $ECHO_N "(cached) $ECHO_C" >&6
86374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86376 else
86377 # Is the header compilable?
86378 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86379 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86380 cat >conftest.$ac_ext <<_ACEOF
86381 /* confdefs.h. */
86382 _ACEOF
86383 cat confdefs.h >>conftest.$ac_ext
86384 cat >>conftest.$ac_ext <<_ACEOF
86385 /* end confdefs.h. */
86386 $ac_includes_default
86387 #include <$ac_header>
86388 _ACEOF
86389 rm -f conftest.$ac_objext
86390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86391 (eval $ac_compile) 2>conftest.er1
86392 ac_status=$?
86393 grep -v '^ *+' conftest.er1 >conftest.err
86394 rm -f conftest.er1
86395 cat conftest.err >&5
86396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86397 (exit $ac_status); } &&
86398 { ac_try='test -z "$ac_c_werror_flag"
86399 || test ! -s conftest.err'
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); }; } &&
86405 { ac_try='test -s conftest.$ac_objext'
86406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86407 (eval $ac_try) 2>&5
86408 ac_status=$?
86409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86410 (exit $ac_status); }; }; then
86411 ac_header_compiler=yes
86412 else
86413 echo "$as_me: failed program was:" >&5
86414 sed 's/^/| /' conftest.$ac_ext >&5
86416 ac_header_compiler=no
86418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86419 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86420 echo "${ECHO_T}$ac_header_compiler" >&6
86422 # Is the header present?
86423 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86424 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86425 cat >conftest.$ac_ext <<_ACEOF
86426 /* confdefs.h. */
86427 _ACEOF
86428 cat confdefs.h >>conftest.$ac_ext
86429 cat >>conftest.$ac_ext <<_ACEOF
86430 /* end confdefs.h. */
86431 #include <$ac_header>
86432 _ACEOF
86433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86434 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86435 ac_status=$?
86436 grep -v '^ *+' conftest.er1 >conftest.err
86437 rm -f conftest.er1
86438 cat conftest.err >&5
86439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86440 (exit $ac_status); } >/dev/null; then
86441 if test -s conftest.err; then
86442 ac_cpp_err=$ac_c_preproc_warn_flag
86443 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86444 else
86445 ac_cpp_err=
86447 else
86448 ac_cpp_err=yes
86450 if test -z "$ac_cpp_err"; then
86451 ac_header_preproc=yes
86452 else
86453 echo "$as_me: failed program was:" >&5
86454 sed 's/^/| /' conftest.$ac_ext >&5
86456 ac_header_preproc=no
86458 rm -f conftest.err conftest.$ac_ext
86459 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86460 echo "${ECHO_T}$ac_header_preproc" >&6
86462 # So? What about this header?
86463 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86464 yes:no: )
86465 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86466 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86467 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86468 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86469 ac_header_preproc=yes
86471 no:yes:* )
86472 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86473 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86474 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86475 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86476 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86477 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86478 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86479 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86481 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86482 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86483 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86485 cat <<\_ASBOX
86486 ## ----------------------------------------- ##
86487 ## Report this to the package-unused lists. ##
86488 ## ----------------------------------------- ##
86489 _ASBOX
86491 sed "s/^/$as_me: WARNING: /" >&2
86493 esac
86494 echo "$as_me:$LINENO: checking for $ac_header" >&5
86495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86497 echo $ECHO_N "(cached) $ECHO_C" >&6
86498 else
86499 eval "$as_ac_Header=\$ac_header_preproc"
86501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86506 cat >>confdefs.h <<_ACEOF
86507 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86508 _ACEOF
86512 done
86515 # If we're not using GNU ld, then there's no point in even trying these
86516 # tests. Check for that first. We should have already tested for gld
86517 # by now (in libtool), but require it now just to be safe...
86518 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86519 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86523 # The name set by libtool depends on the version of libtool. Shame on us
86524 # for depending on an impl detail, but c'est la vie. Older versions used
86525 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86526 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86527 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86528 # set (hence we're using an older libtool), then set it.
86529 if test x${with_gnu_ld+set} != xset; then
86530 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86531 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86532 with_gnu_ld=no
86533 else
86534 with_gnu_ld=$ac_cv_prog_gnu_ld
86538 # Start by getting the version number. I think the libtool test already
86539 # does some of this, but throws away the result.
86540 if test x"$with_gnu_ld" = x"yes"; then
86541 echo "$as_me:$LINENO: checking for ld version" >&5
86542 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86544 ldver=`$LD --version 2>/dev/null | head -1 | \
86545 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
86547 glibcxx_gnu_ld_version=`echo $ldver | \
86548 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86549 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86550 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86553 # Set --gc-sections.
86554 glibcxx_gcsections_min_ld=21602
86555 if test x"$with_gnu_ld" = x"yes" &&
86556 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86558 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
86559 # NB: This flag only works reliably after 2.16.1. Configure tests
86560 # for this are difficult, so hard wire a value that should work.
86562 ac_test_CFLAGS="${CFLAGS+set}"
86563 ac_save_CFLAGS="$CFLAGS"
86564 CFLAGS='-Wl,--gc-sections'
86566 # Check for -Wl,--gc-sections
86567 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86568 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86569 if test x$gcc_no_link = xyes; then
86570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86572 { (exit 1); exit 1; }; }
86574 cat >conftest.$ac_ext <<_ACEOF
86575 /* confdefs.h. */
86576 _ACEOF
86577 cat confdefs.h >>conftest.$ac_ext
86578 cat >>conftest.$ac_ext <<_ACEOF
86579 /* end confdefs.h. */
86580 int one(void) { return 1; }
86581 int two(void) { return 2; }
86584 main ()
86586 two();
86588 return 0;
86590 _ACEOF
86591 rm -f conftest.$ac_objext conftest$ac_exeext
86592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86593 (eval $ac_link) 2>conftest.er1
86594 ac_status=$?
86595 grep -v '^ *+' conftest.er1 >conftest.err
86596 rm -f conftest.er1
86597 cat conftest.err >&5
86598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86599 (exit $ac_status); } &&
86600 { ac_try='test -z "$ac_c_werror_flag"
86601 || test ! -s conftest.err'
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); }; } &&
86607 { ac_try='test -s conftest$ac_exeext'
86608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86609 (eval $ac_try) 2>&5
86610 ac_status=$?
86611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86612 (exit $ac_status); }; }; then
86613 ac_gcsections=yes
86614 else
86615 echo "$as_me: failed program was:" >&5
86616 sed 's/^/| /' conftest.$ac_ext >&5
86618 ac_gcsections=no
86620 rm -f conftest.err conftest.$ac_objext \
86621 conftest$ac_exeext conftest.$ac_ext
86622 if test "$ac_gcsections" = "yes"; then
86623 rm -f conftest.c
86624 touch conftest.c
86625 if $CC -c conftest.c; then
86626 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86627 grep "Warning: gc-sections option ignored" > /dev/null; then
86628 ac_gcsections=no
86631 rm -f conftest.c conftest.o conftest
86633 if test "$ac_gcsections" = "yes"; then
86634 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86636 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86637 echo "${ECHO_T}$ac_gcsections" >&6
86639 if test "$ac_test_CFLAGS" = set; then
86640 CFLAGS="$ac_save_CFLAGS"
86641 else
86642 # this is the suspicious part
86643 CFLAGS=''
86647 # Set -z,relro.
86648 # Note this is only for shared objects.
86649 ac_ld_relro=no
86650 if test x"$with_gnu_ld" = x"yes"; then
86651 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86652 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86653 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86654 if test -n "$cxx_z_relo"; then
86655 OPT_LDFLAGS="-Wl,-z,relro"
86656 ac_ld_relro=yes
86658 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86659 echo "${ECHO_T}$ac_ld_relro" >&6
86662 # Set linker optimization flags.
86663 if test x"$with_gnu_ld" = x"yes"; then
86664 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86672 echo "$as_me:$LINENO: checking for main in -lm" >&5
86673 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86674 if test "${ac_cv_lib_m_main+set}" = set; then
86675 echo $ECHO_N "(cached) $ECHO_C" >&6
86676 else
86677 ac_check_lib_save_LIBS=$LIBS
86678 LIBS="-lm $LIBS"
86679 if test x$gcc_no_link = xyes; then
86680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86682 { (exit 1); exit 1; }; }
86684 cat >conftest.$ac_ext <<_ACEOF
86685 /* confdefs.h. */
86686 _ACEOF
86687 cat confdefs.h >>conftest.$ac_ext
86688 cat >>conftest.$ac_ext <<_ACEOF
86689 /* end confdefs.h. */
86693 main ()
86695 main ();
86697 return 0;
86699 _ACEOF
86700 rm -f conftest.$ac_objext conftest$ac_exeext
86701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86702 (eval $ac_link) 2>conftest.er1
86703 ac_status=$?
86704 grep -v '^ *+' conftest.er1 >conftest.err
86705 rm -f conftest.er1
86706 cat conftest.err >&5
86707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86708 (exit $ac_status); } &&
86709 { ac_try='test -z "$ac_c_werror_flag"
86710 || test ! -s conftest.err'
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); }; } &&
86716 { ac_try='test -s conftest$ac_exeext'
86717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86718 (eval $ac_try) 2>&5
86719 ac_status=$?
86720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86721 (exit $ac_status); }; }; then
86722 ac_cv_lib_m_main=yes
86723 else
86724 echo "$as_me: failed program was:" >&5
86725 sed 's/^/| /' conftest.$ac_ext >&5
86727 ac_cv_lib_m_main=no
86729 rm -f conftest.err conftest.$ac_objext \
86730 conftest$ac_exeext conftest.$ac_ext
86731 LIBS=$ac_check_lib_save_LIBS
86733 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86734 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86735 if test $ac_cv_lib_m_main = yes; then
86736 cat >>confdefs.h <<_ACEOF
86737 #define HAVE_LIBM 1
86738 _ACEOF
86740 LIBS="-lm $LIBS"
86745 for ac_func in copysignf
86747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86748 echo "$as_me:$LINENO: checking for $ac_func" >&5
86749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86750 if eval "test \"\${$as_ac_var+set}\" = set"; then
86751 echo $ECHO_N "(cached) $ECHO_C" >&6
86752 else
86753 if test x$gcc_no_link = xyes; then
86754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86756 { (exit 1); exit 1; }; }
86758 cat >conftest.$ac_ext <<_ACEOF
86759 /* confdefs.h. */
86760 _ACEOF
86761 cat confdefs.h >>conftest.$ac_ext
86762 cat >>conftest.$ac_ext <<_ACEOF
86763 /* end confdefs.h. */
86764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86766 #define $ac_func innocuous_$ac_func
86768 /* System header to define __stub macros and hopefully few prototypes,
86769 which can conflict with char $ac_func (); below.
86770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86771 <limits.h> exists even on freestanding compilers. */
86773 #ifdef __STDC__
86774 # include <limits.h>
86775 #else
86776 # include <assert.h>
86777 #endif
86779 #undef $ac_func
86781 /* Override any gcc2 internal prototype to avoid an error. */
86782 #ifdef __cplusplus
86783 extern "C"
86785 #endif
86786 /* We use char because int might match the return type of a gcc2
86787 builtin and then its argument prototype would still apply. */
86788 char $ac_func ();
86789 /* The GNU C library defines this for functions which it implements
86790 to always fail with ENOSYS. Some functions are actually named
86791 something starting with __ and the normal name is an alias. */
86792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86793 choke me
86794 #else
86795 char (*f) () = $ac_func;
86796 #endif
86797 #ifdef __cplusplus
86799 #endif
86802 main ()
86804 return f != $ac_func;
86806 return 0;
86808 _ACEOF
86809 rm -f conftest.$ac_objext conftest$ac_exeext
86810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86811 (eval $ac_link) 2>conftest.er1
86812 ac_status=$?
86813 grep -v '^ *+' conftest.er1 >conftest.err
86814 rm -f conftest.er1
86815 cat conftest.err >&5
86816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86817 (exit $ac_status); } &&
86818 { ac_try='test -z "$ac_c_werror_flag"
86819 || test ! -s conftest.err'
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); }; } &&
86825 { ac_try='test -s conftest$ac_exeext'
86826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86827 (eval $ac_try) 2>&5
86828 ac_status=$?
86829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86830 (exit $ac_status); }; }; then
86831 eval "$as_ac_var=yes"
86832 else
86833 echo "$as_me: failed program was:" >&5
86834 sed 's/^/| /' conftest.$ac_ext >&5
86836 eval "$as_ac_var=no"
86838 rm -f conftest.err conftest.$ac_objext \
86839 conftest$ac_exeext conftest.$ac_ext
86841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86843 if test `eval echo '${'$as_ac_var'}'` = yes; then
86844 cat >>confdefs.h <<_ACEOF
86845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86846 _ACEOF
86848 else
86849 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86851 done
86855 for ac_func in __signbit
86857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86858 echo "$as_me:$LINENO: checking for $ac_func" >&5
86859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86860 if eval "test \"\${$as_ac_var+set}\" = set"; then
86861 echo $ECHO_N "(cached) $ECHO_C" >&6
86862 else
86863 if test x$gcc_no_link = xyes; then
86864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86866 { (exit 1); exit 1; }; }
86868 cat >conftest.$ac_ext <<_ACEOF
86869 /* confdefs.h. */
86870 _ACEOF
86871 cat confdefs.h >>conftest.$ac_ext
86872 cat >>conftest.$ac_ext <<_ACEOF
86873 /* end confdefs.h. */
86874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86876 #define $ac_func innocuous_$ac_func
86878 /* System header to define __stub macros and hopefully few prototypes,
86879 which can conflict with char $ac_func (); below.
86880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86881 <limits.h> exists even on freestanding compilers. */
86883 #ifdef __STDC__
86884 # include <limits.h>
86885 #else
86886 # include <assert.h>
86887 #endif
86889 #undef $ac_func
86891 /* Override any gcc2 internal prototype to avoid an error. */
86892 #ifdef __cplusplus
86893 extern "C"
86895 #endif
86896 /* We use char because int might match the return type of a gcc2
86897 builtin and then its argument prototype would still apply. */
86898 char $ac_func ();
86899 /* The GNU C library defines this for functions which it implements
86900 to always fail with ENOSYS. Some functions are actually named
86901 something starting with __ and the normal name is an alias. */
86902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86903 choke me
86904 #else
86905 char (*f) () = $ac_func;
86906 #endif
86907 #ifdef __cplusplus
86909 #endif
86912 main ()
86914 return f != $ac_func;
86916 return 0;
86918 _ACEOF
86919 rm -f conftest.$ac_objext conftest$ac_exeext
86920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86921 (eval $ac_link) 2>conftest.er1
86922 ac_status=$?
86923 grep -v '^ *+' conftest.er1 >conftest.err
86924 rm -f conftest.er1
86925 cat conftest.err >&5
86926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86927 (exit $ac_status); } &&
86928 { ac_try='test -z "$ac_c_werror_flag"
86929 || test ! -s conftest.err'
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); }; } &&
86935 { ac_try='test -s conftest$ac_exeext'
86936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86937 (eval $ac_try) 2>&5
86938 ac_status=$?
86939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86940 (exit $ac_status); }; }; then
86941 eval "$as_ac_var=yes"
86942 else
86943 echo "$as_me: failed program was:" >&5
86944 sed 's/^/| /' conftest.$ac_ext >&5
86946 eval "$as_ac_var=no"
86948 rm -f conftest.err conftest.$ac_objext \
86949 conftest$ac_exeext conftest.$ac_ext
86951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86953 if test `eval echo '${'$as_ac_var'}'` = yes; then
86954 cat >>confdefs.h <<_ACEOF
86955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86956 _ACEOF
86958 else
86959 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86961 done
86965 for ac_func in __signbitf
86967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86968 echo "$as_me:$LINENO: checking for $ac_func" >&5
86969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86970 if eval "test \"\${$as_ac_var+set}\" = set"; then
86971 echo $ECHO_N "(cached) $ECHO_C" >&6
86972 else
86973 if test x$gcc_no_link = xyes; then
86974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86976 { (exit 1); exit 1; }; }
86978 cat >conftest.$ac_ext <<_ACEOF
86979 /* confdefs.h. */
86980 _ACEOF
86981 cat confdefs.h >>conftest.$ac_ext
86982 cat >>conftest.$ac_ext <<_ACEOF
86983 /* end confdefs.h. */
86984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86986 #define $ac_func innocuous_$ac_func
86988 /* System header to define __stub macros and hopefully few prototypes,
86989 which can conflict with char $ac_func (); below.
86990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86991 <limits.h> exists even on freestanding compilers. */
86993 #ifdef __STDC__
86994 # include <limits.h>
86995 #else
86996 # include <assert.h>
86997 #endif
86999 #undef $ac_func
87001 /* Override any gcc2 internal prototype to avoid an error. */
87002 #ifdef __cplusplus
87003 extern "C"
87005 #endif
87006 /* We use char because int might match the return type of a gcc2
87007 builtin and then its argument prototype would still apply. */
87008 char $ac_func ();
87009 /* The GNU C library defines this for functions which it implements
87010 to always fail with ENOSYS. Some functions are actually named
87011 something starting with __ and the normal name is an alias. */
87012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87013 choke me
87014 #else
87015 char (*f) () = $ac_func;
87016 #endif
87017 #ifdef __cplusplus
87019 #endif
87022 main ()
87024 return f != $ac_func;
87026 return 0;
87028 _ACEOF
87029 rm -f conftest.$ac_objext conftest$ac_exeext
87030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87031 (eval $ac_link) 2>conftest.er1
87032 ac_status=$?
87033 grep -v '^ *+' conftest.er1 >conftest.err
87034 rm -f conftest.er1
87035 cat conftest.err >&5
87036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87037 (exit $ac_status); } &&
87038 { ac_try='test -z "$ac_c_werror_flag"
87039 || test ! -s conftest.err'
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); }; } &&
87045 { ac_try='test -s conftest$ac_exeext'
87046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87047 (eval $ac_try) 2>&5
87048 ac_status=$?
87049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87050 (exit $ac_status); }; }; then
87051 eval "$as_ac_var=yes"
87052 else
87053 echo "$as_me: failed program was:" >&5
87054 sed 's/^/| /' conftest.$ac_ext >&5
87056 eval "$as_ac_var=no"
87058 rm -f conftest.err conftest.$ac_objext \
87059 conftest$ac_exeext conftest.$ac_ext
87061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87063 if test `eval echo '${'$as_ac_var'}'` = yes; then
87064 cat >>confdefs.h <<_ACEOF
87065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87066 _ACEOF
87068 else
87069 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87071 done
87074 if test x$ac_cv_func_copysignl = x"yes"; then
87076 for ac_func in __signbitl
87078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87079 echo "$as_me:$LINENO: checking for $ac_func" >&5
87080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87081 if eval "test \"\${$as_ac_var+set}\" = set"; then
87082 echo $ECHO_N "(cached) $ECHO_C" >&6
87083 else
87084 if test x$gcc_no_link = xyes; then
87085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87087 { (exit 1); exit 1; }; }
87089 cat >conftest.$ac_ext <<_ACEOF
87090 /* confdefs.h. */
87091 _ACEOF
87092 cat confdefs.h >>conftest.$ac_ext
87093 cat >>conftest.$ac_ext <<_ACEOF
87094 /* end confdefs.h. */
87095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87097 #define $ac_func innocuous_$ac_func
87099 /* System header to define __stub macros and hopefully few prototypes,
87100 which can conflict with char $ac_func (); below.
87101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87102 <limits.h> exists even on freestanding compilers. */
87104 #ifdef __STDC__
87105 # include <limits.h>
87106 #else
87107 # include <assert.h>
87108 #endif
87110 #undef $ac_func
87112 /* Override any gcc2 internal prototype to avoid an error. */
87113 #ifdef __cplusplus
87114 extern "C"
87116 #endif
87117 /* We use char because int might match the return type of a gcc2
87118 builtin and then its argument prototype would still apply. */
87119 char $ac_func ();
87120 /* The GNU C library defines this for functions which it implements
87121 to always fail with ENOSYS. Some functions are actually named
87122 something starting with __ and the normal name is an alias. */
87123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87124 choke me
87125 #else
87126 char (*f) () = $ac_func;
87127 #endif
87128 #ifdef __cplusplus
87130 #endif
87133 main ()
87135 return f != $ac_func;
87137 return 0;
87139 _ACEOF
87140 rm -f conftest.$ac_objext conftest$ac_exeext
87141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87142 (eval $ac_link) 2>conftest.er1
87143 ac_status=$?
87144 grep -v '^ *+' conftest.er1 >conftest.err
87145 rm -f conftest.er1
87146 cat conftest.err >&5
87147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87148 (exit $ac_status); } &&
87149 { ac_try='test -z "$ac_c_werror_flag"
87150 || test ! -s conftest.err'
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); }; } &&
87156 { ac_try='test -s conftest$ac_exeext'
87157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87158 (eval $ac_try) 2>&5
87159 ac_status=$?
87160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87161 (exit $ac_status); }; }; then
87162 eval "$as_ac_var=yes"
87163 else
87164 echo "$as_me: failed program was:" >&5
87165 sed 's/^/| /' conftest.$ac_ext >&5
87167 eval "$as_ac_var=no"
87169 rm -f conftest.err conftest.$ac_objext \
87170 conftest$ac_exeext conftest.$ac_ext
87172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87174 if test `eval echo '${'$as_ac_var'}'` = yes; then
87175 cat >>confdefs.h <<_ACEOF
87176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87177 _ACEOF
87179 else
87180 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87182 done
87186 # Used in libmath/Makefile.am.
87187 if test -n "$LIBMATHOBJS"; then
87188 need_libmath=yes
87193 *-netbsd*)
87206 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87207 machine/endian.h machine/param.h sys/machine.h sys/types.h \
87208 fp.h locale.h float.h inttypes.h
87210 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87212 echo "$as_me:$LINENO: checking for $ac_header" >&5
87213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87215 echo $ECHO_N "(cached) $ECHO_C" >&6
87217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87219 else
87220 # Is the header compilable?
87221 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87222 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87223 cat >conftest.$ac_ext <<_ACEOF
87224 /* confdefs.h. */
87225 _ACEOF
87226 cat confdefs.h >>conftest.$ac_ext
87227 cat >>conftest.$ac_ext <<_ACEOF
87228 /* end confdefs.h. */
87229 $ac_includes_default
87230 #include <$ac_header>
87231 _ACEOF
87232 rm -f conftest.$ac_objext
87233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87234 (eval $ac_compile) 2>conftest.er1
87235 ac_status=$?
87236 grep -v '^ *+' conftest.er1 >conftest.err
87237 rm -f conftest.er1
87238 cat conftest.err >&5
87239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87240 (exit $ac_status); } &&
87241 { ac_try='test -z "$ac_c_werror_flag"
87242 || test ! -s conftest.err'
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); }; } &&
87248 { ac_try='test -s conftest.$ac_objext'
87249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87250 (eval $ac_try) 2>&5
87251 ac_status=$?
87252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87253 (exit $ac_status); }; }; then
87254 ac_header_compiler=yes
87255 else
87256 echo "$as_me: failed program was:" >&5
87257 sed 's/^/| /' conftest.$ac_ext >&5
87259 ac_header_compiler=no
87261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87262 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87263 echo "${ECHO_T}$ac_header_compiler" >&6
87265 # Is the header present?
87266 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87267 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87268 cat >conftest.$ac_ext <<_ACEOF
87269 /* confdefs.h. */
87270 _ACEOF
87271 cat confdefs.h >>conftest.$ac_ext
87272 cat >>conftest.$ac_ext <<_ACEOF
87273 /* end confdefs.h. */
87274 #include <$ac_header>
87275 _ACEOF
87276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87277 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87278 ac_status=$?
87279 grep -v '^ *+' conftest.er1 >conftest.err
87280 rm -f conftest.er1
87281 cat conftest.err >&5
87282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87283 (exit $ac_status); } >/dev/null; then
87284 if test -s conftest.err; then
87285 ac_cpp_err=$ac_c_preproc_warn_flag
87286 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87287 else
87288 ac_cpp_err=
87290 else
87291 ac_cpp_err=yes
87293 if test -z "$ac_cpp_err"; then
87294 ac_header_preproc=yes
87295 else
87296 echo "$as_me: failed program was:" >&5
87297 sed 's/^/| /' conftest.$ac_ext >&5
87299 ac_header_preproc=no
87301 rm -f conftest.err conftest.$ac_ext
87302 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87303 echo "${ECHO_T}$ac_header_preproc" >&6
87305 # So? What about this header?
87306 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87307 yes:no: )
87308 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87309 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87311 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87312 ac_header_preproc=yes
87314 no:yes:* )
87315 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87316 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87317 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87318 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87319 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87320 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87321 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87322 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87324 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87325 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87326 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87328 cat <<\_ASBOX
87329 ## ----------------------------------------- ##
87330 ## Report this to the package-unused lists. ##
87331 ## ----------------------------------------- ##
87332 _ASBOX
87334 sed "s/^/$as_me: WARNING: /" >&2
87336 esac
87337 echo "$as_me:$LINENO: checking for $ac_header" >&5
87338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87340 echo $ECHO_N "(cached) $ECHO_C" >&6
87341 else
87342 eval "$as_ac_Header=\$ac_header_preproc"
87344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87349 cat >>confdefs.h <<_ACEOF
87350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87351 _ACEOF
87355 done
87357 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87360 # If we're not using GNU ld, then there's no point in even trying these
87361 # tests. Check for that first. We should have already tested for gld
87362 # by now (in libtool), but require it now just to be safe...
87363 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87364 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87368 # The name set by libtool depends on the version of libtool. Shame on us
87369 # for depending on an impl detail, but c'est la vie. Older versions used
87370 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87371 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87372 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87373 # set (hence we're using an older libtool), then set it.
87374 if test x${with_gnu_ld+set} != xset; then
87375 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87376 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87377 with_gnu_ld=no
87378 else
87379 with_gnu_ld=$ac_cv_prog_gnu_ld
87383 # Start by getting the version number. I think the libtool test already
87384 # does some of this, but throws away the result.
87385 if test x"$with_gnu_ld" = x"yes"; then
87386 echo "$as_me:$LINENO: checking for ld version" >&5
87387 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87389 ldver=`$LD --version 2>/dev/null | head -1 | \
87390 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
87392 glibcxx_gnu_ld_version=`echo $ldver | \
87393 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87394 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87395 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87398 # Set --gc-sections.
87399 glibcxx_gcsections_min_ld=21602
87400 if test x"$with_gnu_ld" = x"yes" &&
87401 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87403 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
87404 # NB: This flag only works reliably after 2.16.1. Configure tests
87405 # for this are difficult, so hard wire a value that should work.
87407 ac_test_CFLAGS="${CFLAGS+set}"
87408 ac_save_CFLAGS="$CFLAGS"
87409 CFLAGS='-Wl,--gc-sections'
87411 # Check for -Wl,--gc-sections
87412 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87413 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87414 if test x$gcc_no_link = xyes; then
87415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87417 { (exit 1); exit 1; }; }
87419 cat >conftest.$ac_ext <<_ACEOF
87420 /* confdefs.h. */
87421 _ACEOF
87422 cat confdefs.h >>conftest.$ac_ext
87423 cat >>conftest.$ac_ext <<_ACEOF
87424 /* end confdefs.h. */
87425 int one(void) { return 1; }
87426 int two(void) { return 2; }
87429 main ()
87431 two();
87433 return 0;
87435 _ACEOF
87436 rm -f conftest.$ac_objext conftest$ac_exeext
87437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87438 (eval $ac_link) 2>conftest.er1
87439 ac_status=$?
87440 grep -v '^ *+' conftest.er1 >conftest.err
87441 rm -f conftest.er1
87442 cat conftest.err >&5
87443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87444 (exit $ac_status); } &&
87445 { ac_try='test -z "$ac_c_werror_flag"
87446 || test ! -s conftest.err'
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); }; } &&
87452 { ac_try='test -s conftest$ac_exeext'
87453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87454 (eval $ac_try) 2>&5
87455 ac_status=$?
87456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87457 (exit $ac_status); }; }; then
87458 ac_gcsections=yes
87459 else
87460 echo "$as_me: failed program was:" >&5
87461 sed 's/^/| /' conftest.$ac_ext >&5
87463 ac_gcsections=no
87465 rm -f conftest.err conftest.$ac_objext \
87466 conftest$ac_exeext conftest.$ac_ext
87467 if test "$ac_gcsections" = "yes"; then
87468 rm -f conftest.c
87469 touch conftest.c
87470 if $CC -c conftest.c; then
87471 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87472 grep "Warning: gc-sections option ignored" > /dev/null; then
87473 ac_gcsections=no
87476 rm -f conftest.c conftest.o conftest
87478 if test "$ac_gcsections" = "yes"; then
87479 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87481 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87482 echo "${ECHO_T}$ac_gcsections" >&6
87484 if test "$ac_test_CFLAGS" = set; then
87485 CFLAGS="$ac_save_CFLAGS"
87486 else
87487 # this is the suspicious part
87488 CFLAGS=''
87492 # Set -z,relro.
87493 # Note this is only for shared objects.
87494 ac_ld_relro=no
87495 if test x"$with_gnu_ld" = x"yes"; then
87496 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87497 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87498 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87499 if test -n "$cxx_z_relo"; then
87500 OPT_LDFLAGS="-Wl,-z,relro"
87501 ac_ld_relro=yes
87503 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87504 echo "${ECHO_T}$ac_ld_relro" >&6
87507 # Set linker optimization flags.
87508 if test x"$with_gnu_ld" = x"yes"; then
87509 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87517 echo "$as_me:$LINENO: checking for main in -lm" >&5
87518 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87519 if test "${ac_cv_lib_m_main+set}" = set; then
87520 echo $ECHO_N "(cached) $ECHO_C" >&6
87521 else
87522 ac_check_lib_save_LIBS=$LIBS
87523 LIBS="-lm $LIBS"
87524 if test x$gcc_no_link = xyes; then
87525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87527 { (exit 1); exit 1; }; }
87529 cat >conftest.$ac_ext <<_ACEOF
87530 /* confdefs.h. */
87531 _ACEOF
87532 cat confdefs.h >>conftest.$ac_ext
87533 cat >>conftest.$ac_ext <<_ACEOF
87534 /* end confdefs.h. */
87538 main ()
87540 main ();
87542 return 0;
87544 _ACEOF
87545 rm -f conftest.$ac_objext conftest$ac_exeext
87546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87547 (eval $ac_link) 2>conftest.er1
87548 ac_status=$?
87549 grep -v '^ *+' conftest.er1 >conftest.err
87550 rm -f conftest.er1
87551 cat conftest.err >&5
87552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87553 (exit $ac_status); } &&
87554 { ac_try='test -z "$ac_c_werror_flag"
87555 || test ! -s conftest.err'
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); }; } &&
87561 { ac_try='test -s conftest$ac_exeext'
87562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87563 (eval $ac_try) 2>&5
87564 ac_status=$?
87565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87566 (exit $ac_status); }; }; then
87567 ac_cv_lib_m_main=yes
87568 else
87569 echo "$as_me: failed program was:" >&5
87570 sed 's/^/| /' conftest.$ac_ext >&5
87572 ac_cv_lib_m_main=no
87574 rm -f conftest.err conftest.$ac_objext \
87575 conftest$ac_exeext conftest.$ac_ext
87576 LIBS=$ac_check_lib_save_LIBS
87578 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87579 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87580 if test $ac_cv_lib_m_main = yes; then
87581 cat >>confdefs.h <<_ACEOF
87582 #define HAVE_LIBM 1
87583 _ACEOF
87585 LIBS="-lm $LIBS"
87590 for ac_func in copysignf
87592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87593 echo "$as_me:$LINENO: checking for $ac_func" >&5
87594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87595 if eval "test \"\${$as_ac_var+set}\" = set"; then
87596 echo $ECHO_N "(cached) $ECHO_C" >&6
87597 else
87598 if test x$gcc_no_link = xyes; then
87599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87601 { (exit 1); exit 1; }; }
87603 cat >conftest.$ac_ext <<_ACEOF
87604 /* confdefs.h. */
87605 _ACEOF
87606 cat confdefs.h >>conftest.$ac_ext
87607 cat >>conftest.$ac_ext <<_ACEOF
87608 /* end confdefs.h. */
87609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87611 #define $ac_func innocuous_$ac_func
87613 /* System header to define __stub macros and hopefully few prototypes,
87614 which can conflict with char $ac_func (); below.
87615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87616 <limits.h> exists even on freestanding compilers. */
87618 #ifdef __STDC__
87619 # include <limits.h>
87620 #else
87621 # include <assert.h>
87622 #endif
87624 #undef $ac_func
87626 /* Override any gcc2 internal prototype to avoid an error. */
87627 #ifdef __cplusplus
87628 extern "C"
87630 #endif
87631 /* We use char because int might match the return type of a gcc2
87632 builtin and then its argument prototype would still apply. */
87633 char $ac_func ();
87634 /* The GNU C library defines this for functions which it implements
87635 to always fail with ENOSYS. Some functions are actually named
87636 something starting with __ and the normal name is an alias. */
87637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87638 choke me
87639 #else
87640 char (*f) () = $ac_func;
87641 #endif
87642 #ifdef __cplusplus
87644 #endif
87647 main ()
87649 return f != $ac_func;
87651 return 0;
87653 _ACEOF
87654 rm -f conftest.$ac_objext conftest$ac_exeext
87655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87656 (eval $ac_link) 2>conftest.er1
87657 ac_status=$?
87658 grep -v '^ *+' conftest.er1 >conftest.err
87659 rm -f conftest.er1
87660 cat conftest.err >&5
87661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87662 (exit $ac_status); } &&
87663 { ac_try='test -z "$ac_c_werror_flag"
87664 || test ! -s conftest.err'
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); }; } &&
87670 { ac_try='test -s conftest$ac_exeext'
87671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87672 (eval $ac_try) 2>&5
87673 ac_status=$?
87674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87675 (exit $ac_status); }; }; then
87676 eval "$as_ac_var=yes"
87677 else
87678 echo "$as_me: failed program was:" >&5
87679 sed 's/^/| /' conftest.$ac_ext >&5
87681 eval "$as_ac_var=no"
87683 rm -f conftest.err conftest.$ac_objext \
87684 conftest$ac_exeext conftest.$ac_ext
87686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87688 if test `eval echo '${'$as_ac_var'}'` = yes; then
87689 cat >>confdefs.h <<_ACEOF
87690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87691 _ACEOF
87693 else
87694 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87696 done
87700 for ac_func in __signbit
87702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87703 echo "$as_me:$LINENO: checking for $ac_func" >&5
87704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87705 if eval "test \"\${$as_ac_var+set}\" = set"; then
87706 echo $ECHO_N "(cached) $ECHO_C" >&6
87707 else
87708 if test x$gcc_no_link = xyes; then
87709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87711 { (exit 1); exit 1; }; }
87713 cat >conftest.$ac_ext <<_ACEOF
87714 /* confdefs.h. */
87715 _ACEOF
87716 cat confdefs.h >>conftest.$ac_ext
87717 cat >>conftest.$ac_ext <<_ACEOF
87718 /* end confdefs.h. */
87719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87721 #define $ac_func innocuous_$ac_func
87723 /* System header to define __stub macros and hopefully few prototypes,
87724 which can conflict with char $ac_func (); below.
87725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87726 <limits.h> exists even on freestanding compilers. */
87728 #ifdef __STDC__
87729 # include <limits.h>
87730 #else
87731 # include <assert.h>
87732 #endif
87734 #undef $ac_func
87736 /* Override any gcc2 internal prototype to avoid an error. */
87737 #ifdef __cplusplus
87738 extern "C"
87740 #endif
87741 /* We use char because int might match the return type of a gcc2
87742 builtin and then its argument prototype would still apply. */
87743 char $ac_func ();
87744 /* The GNU C library defines this for functions which it implements
87745 to always fail with ENOSYS. Some functions are actually named
87746 something starting with __ and the normal name is an alias. */
87747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87748 choke me
87749 #else
87750 char (*f) () = $ac_func;
87751 #endif
87752 #ifdef __cplusplus
87754 #endif
87757 main ()
87759 return f != $ac_func;
87761 return 0;
87763 _ACEOF
87764 rm -f conftest.$ac_objext conftest$ac_exeext
87765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87766 (eval $ac_link) 2>conftest.er1
87767 ac_status=$?
87768 grep -v '^ *+' conftest.er1 >conftest.err
87769 rm -f conftest.er1
87770 cat conftest.err >&5
87771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87772 (exit $ac_status); } &&
87773 { ac_try='test -z "$ac_c_werror_flag"
87774 || test ! -s conftest.err'
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); }; } &&
87780 { ac_try='test -s conftest$ac_exeext'
87781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87782 (eval $ac_try) 2>&5
87783 ac_status=$?
87784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87785 (exit $ac_status); }; }; then
87786 eval "$as_ac_var=yes"
87787 else
87788 echo "$as_me: failed program was:" >&5
87789 sed 's/^/| /' conftest.$ac_ext >&5
87791 eval "$as_ac_var=no"
87793 rm -f conftest.err conftest.$ac_objext \
87794 conftest$ac_exeext conftest.$ac_ext
87796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87798 if test `eval echo '${'$as_ac_var'}'` = yes; then
87799 cat >>confdefs.h <<_ACEOF
87800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87801 _ACEOF
87803 else
87804 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87806 done
87810 for ac_func in __signbitf
87812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87813 echo "$as_me:$LINENO: checking for $ac_func" >&5
87814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87815 if eval "test \"\${$as_ac_var+set}\" = set"; then
87816 echo $ECHO_N "(cached) $ECHO_C" >&6
87817 else
87818 if test x$gcc_no_link = xyes; then
87819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87821 { (exit 1); exit 1; }; }
87823 cat >conftest.$ac_ext <<_ACEOF
87824 /* confdefs.h. */
87825 _ACEOF
87826 cat confdefs.h >>conftest.$ac_ext
87827 cat >>conftest.$ac_ext <<_ACEOF
87828 /* end confdefs.h. */
87829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87831 #define $ac_func innocuous_$ac_func
87833 /* System header to define __stub macros and hopefully few prototypes,
87834 which can conflict with char $ac_func (); below.
87835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87836 <limits.h> exists even on freestanding compilers. */
87838 #ifdef __STDC__
87839 # include <limits.h>
87840 #else
87841 # include <assert.h>
87842 #endif
87844 #undef $ac_func
87846 /* Override any gcc2 internal prototype to avoid an error. */
87847 #ifdef __cplusplus
87848 extern "C"
87850 #endif
87851 /* We use char because int might match the return type of a gcc2
87852 builtin and then its argument prototype would still apply. */
87853 char $ac_func ();
87854 /* The GNU C library defines this for functions which it implements
87855 to always fail with ENOSYS. Some functions are actually named
87856 something starting with __ and the normal name is an alias. */
87857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87858 choke me
87859 #else
87860 char (*f) () = $ac_func;
87861 #endif
87862 #ifdef __cplusplus
87864 #endif
87867 main ()
87869 return f != $ac_func;
87871 return 0;
87873 _ACEOF
87874 rm -f conftest.$ac_objext conftest$ac_exeext
87875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87876 (eval $ac_link) 2>conftest.er1
87877 ac_status=$?
87878 grep -v '^ *+' conftest.er1 >conftest.err
87879 rm -f conftest.er1
87880 cat conftest.err >&5
87881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87882 (exit $ac_status); } &&
87883 { ac_try='test -z "$ac_c_werror_flag"
87884 || test ! -s conftest.err'
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); }; } &&
87890 { ac_try='test -s conftest$ac_exeext'
87891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87892 (eval $ac_try) 2>&5
87893 ac_status=$?
87894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87895 (exit $ac_status); }; }; then
87896 eval "$as_ac_var=yes"
87897 else
87898 echo "$as_me: failed program was:" >&5
87899 sed 's/^/| /' conftest.$ac_ext >&5
87901 eval "$as_ac_var=no"
87903 rm -f conftest.err conftest.$ac_objext \
87904 conftest$ac_exeext conftest.$ac_ext
87906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87908 if test `eval echo '${'$as_ac_var'}'` = yes; then
87909 cat >>confdefs.h <<_ACEOF
87910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87911 _ACEOF
87913 else
87914 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87916 done
87919 if test x$ac_cv_func_copysignl = x"yes"; then
87921 for ac_func in __signbitl
87923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87924 echo "$as_me:$LINENO: checking for $ac_func" >&5
87925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87926 if eval "test \"\${$as_ac_var+set}\" = set"; then
87927 echo $ECHO_N "(cached) $ECHO_C" >&6
87928 else
87929 if test x$gcc_no_link = xyes; then
87930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87932 { (exit 1); exit 1; }; }
87934 cat >conftest.$ac_ext <<_ACEOF
87935 /* confdefs.h. */
87936 _ACEOF
87937 cat confdefs.h >>conftest.$ac_ext
87938 cat >>conftest.$ac_ext <<_ACEOF
87939 /* end confdefs.h. */
87940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87942 #define $ac_func innocuous_$ac_func
87944 /* System header to define __stub macros and hopefully few prototypes,
87945 which can conflict with char $ac_func (); below.
87946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87947 <limits.h> exists even on freestanding compilers. */
87949 #ifdef __STDC__
87950 # include <limits.h>
87951 #else
87952 # include <assert.h>
87953 #endif
87955 #undef $ac_func
87957 /* Override any gcc2 internal prototype to avoid an error. */
87958 #ifdef __cplusplus
87959 extern "C"
87961 #endif
87962 /* We use char because int might match the return type of a gcc2
87963 builtin and then its argument prototype would still apply. */
87964 char $ac_func ();
87965 /* The GNU C library defines this for functions which it implements
87966 to always fail with ENOSYS. Some functions are actually named
87967 something starting with __ and the normal name is an alias. */
87968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87969 choke me
87970 #else
87971 char (*f) () = $ac_func;
87972 #endif
87973 #ifdef __cplusplus
87975 #endif
87978 main ()
87980 return f != $ac_func;
87982 return 0;
87984 _ACEOF
87985 rm -f conftest.$ac_objext conftest$ac_exeext
87986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87987 (eval $ac_link) 2>conftest.er1
87988 ac_status=$?
87989 grep -v '^ *+' conftest.er1 >conftest.err
87990 rm -f conftest.er1
87991 cat conftest.err >&5
87992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87993 (exit $ac_status); } &&
87994 { ac_try='test -z "$ac_c_werror_flag"
87995 || test ! -s conftest.err'
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); }; } &&
88001 { ac_try='test -s conftest$ac_exeext'
88002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88003 (eval $ac_try) 2>&5
88004 ac_status=$?
88005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88006 (exit $ac_status); }; }; then
88007 eval "$as_ac_var=yes"
88008 else
88009 echo "$as_me: failed program was:" >&5
88010 sed 's/^/| /' conftest.$ac_ext >&5
88012 eval "$as_ac_var=no"
88014 rm -f conftest.err conftest.$ac_objext \
88015 conftest$ac_exeext conftest.$ac_ext
88017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88019 if test `eval echo '${'$as_ac_var'}'` = yes; then
88020 cat >>confdefs.h <<_ACEOF
88021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88022 _ACEOF
88024 else
88025 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
88027 done
88031 # Used in libmath/Makefile.am.
88032 if test -n "$LIBMATHOBJS"; then
88033 need_libmath=yes
88037 cat >>confdefs.h <<\_ACEOF
88038 #define HAVE_COPYSIGN 1
88039 _ACEOF
88041 cat >>confdefs.h <<\_ACEOF
88042 #define HAVE_COPYSIGNF 1
88043 _ACEOF
88045 cat >>confdefs.h <<\_ACEOF
88046 #define HAVE_FINITEF 1
88047 _ACEOF
88049 cat >>confdefs.h <<\_ACEOF
88050 #define HAVE_FINITE 1
88051 _ACEOF
88053 cat >>confdefs.h <<\_ACEOF
88054 #define HAVE_FREXPF 1
88055 _ACEOF
88057 cat >>confdefs.h <<\_ACEOF
88058 #define HAVE_HYPOTF 1
88059 _ACEOF
88061 cat >>confdefs.h <<\_ACEOF
88062 #define HAVE_ISINF 1
88063 _ACEOF
88065 cat >>confdefs.h <<\_ACEOF
88066 #define HAVE_ISINFF 1
88067 _ACEOF
88069 cat >>confdefs.h <<\_ACEOF
88070 #define HAVE_ISNAN 1
88071 _ACEOF
88073 cat >>confdefs.h <<\_ACEOF
88074 #define HAVE_ISNANF 1
88075 _ACEOF
88077 if test x"long_double_math_on_this_cpu" = x"yes"; then
88078 cat >>confdefs.h <<\_ACEOF
88079 #define HAVE_FINITEL 1
88080 _ACEOF
88082 cat >>confdefs.h <<\_ACEOF
88083 #define HAVE_ISINFL 1
88084 _ACEOF
88086 cat >>confdefs.h <<\_ACEOF
88087 #define HAVE_ISNANL 1
88088 _ACEOF
88092 *-netware)
88101 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
88102 sys/types.h locale.h float.h inttypes.h
88104 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88106 echo "$as_me:$LINENO: checking for $ac_header" >&5
88107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88109 echo $ECHO_N "(cached) $ECHO_C" >&6
88111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88113 else
88114 # Is the header compilable?
88115 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88116 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88117 cat >conftest.$ac_ext <<_ACEOF
88118 /* confdefs.h. */
88119 _ACEOF
88120 cat confdefs.h >>conftest.$ac_ext
88121 cat >>conftest.$ac_ext <<_ACEOF
88122 /* end confdefs.h. */
88123 $ac_includes_default
88124 #include <$ac_header>
88125 _ACEOF
88126 rm -f conftest.$ac_objext
88127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88128 (eval $ac_compile) 2>conftest.er1
88129 ac_status=$?
88130 grep -v '^ *+' conftest.er1 >conftest.err
88131 rm -f conftest.er1
88132 cat conftest.err >&5
88133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88134 (exit $ac_status); } &&
88135 { ac_try='test -z "$ac_c_werror_flag"
88136 || test ! -s conftest.err'
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); }; } &&
88142 { ac_try='test -s conftest.$ac_objext'
88143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88144 (eval $ac_try) 2>&5
88145 ac_status=$?
88146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88147 (exit $ac_status); }; }; then
88148 ac_header_compiler=yes
88149 else
88150 echo "$as_me: failed program was:" >&5
88151 sed 's/^/| /' conftest.$ac_ext >&5
88153 ac_header_compiler=no
88155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88156 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88157 echo "${ECHO_T}$ac_header_compiler" >&6
88159 # Is the header present?
88160 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88161 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88162 cat >conftest.$ac_ext <<_ACEOF
88163 /* confdefs.h. */
88164 _ACEOF
88165 cat confdefs.h >>conftest.$ac_ext
88166 cat >>conftest.$ac_ext <<_ACEOF
88167 /* end confdefs.h. */
88168 #include <$ac_header>
88169 _ACEOF
88170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88172 ac_status=$?
88173 grep -v '^ *+' conftest.er1 >conftest.err
88174 rm -f conftest.er1
88175 cat conftest.err >&5
88176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88177 (exit $ac_status); } >/dev/null; then
88178 if test -s conftest.err; then
88179 ac_cpp_err=$ac_c_preproc_warn_flag
88180 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88181 else
88182 ac_cpp_err=
88184 else
88185 ac_cpp_err=yes
88187 if test -z "$ac_cpp_err"; then
88188 ac_header_preproc=yes
88189 else
88190 echo "$as_me: failed program was:" >&5
88191 sed 's/^/| /' conftest.$ac_ext >&5
88193 ac_header_preproc=no
88195 rm -f conftest.err conftest.$ac_ext
88196 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88197 echo "${ECHO_T}$ac_header_preproc" >&6
88199 # So? What about this header?
88200 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88201 yes:no: )
88202 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88203 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88205 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88206 ac_header_preproc=yes
88208 no:yes:* )
88209 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88210 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88211 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88212 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88213 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88214 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88215 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88216 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88217 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88218 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88219 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88220 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88222 cat <<\_ASBOX
88223 ## ----------------------------------------- ##
88224 ## Report this to the package-unused lists. ##
88225 ## ----------------------------------------- ##
88226 _ASBOX
88228 sed "s/^/$as_me: WARNING: /" >&2
88230 esac
88231 echo "$as_me:$LINENO: checking for $ac_header" >&5
88232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88234 echo $ECHO_N "(cached) $ECHO_C" >&6
88235 else
88236 eval "$as_ac_Header=\$ac_header_preproc"
88238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88239 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88242 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88243 cat >>confdefs.h <<_ACEOF
88244 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88245 _ACEOF
88249 done
88251 SECTION_FLAGS='-ffunction-sections -fdata-sections'
88254 # If we're not using GNU ld, then there's no point in even trying these
88255 # tests. Check for that first. We should have already tested for gld
88256 # by now (in libtool), but require it now just to be safe...
88257 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
88258 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
88262 # The name set by libtool depends on the version of libtool. Shame on us
88263 # for depending on an impl detail, but c'est la vie. Older versions used
88264 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
88265 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
88266 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
88267 # set (hence we're using an older libtool), then set it.
88268 if test x${with_gnu_ld+set} != xset; then
88269 if test x${ac_cv_prog_gnu_ld+set} != xset; then
88270 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
88271 with_gnu_ld=no
88272 else
88273 with_gnu_ld=$ac_cv_prog_gnu_ld
88277 # Start by getting the version number. I think the libtool test already
88278 # does some of this, but throws away the result.
88279 if test x"$with_gnu_ld" = x"yes"; then
88280 echo "$as_me:$LINENO: checking for ld version" >&5
88281 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
88283 ldver=`$LD --version 2>/dev/null | head -1 | \
88284 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
88286 glibcxx_gnu_ld_version=`echo $ldver | \
88287 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
88288 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
88289 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
88292 # Set --gc-sections.
88293 glibcxx_gcsections_min_ld=21602
88294 if test x"$with_gnu_ld" = x"yes" &&
88295 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
88297 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
88298 # NB: This flag only works reliably after 2.16.1. Configure tests
88299 # for this are difficult, so hard wire a value that should work.
88301 ac_test_CFLAGS="${CFLAGS+set}"
88302 ac_save_CFLAGS="$CFLAGS"
88303 CFLAGS='-Wl,--gc-sections'
88305 # Check for -Wl,--gc-sections
88306 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
88307 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
88308 if test x$gcc_no_link = xyes; then
88309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88311 { (exit 1); exit 1; }; }
88313 cat >conftest.$ac_ext <<_ACEOF
88314 /* confdefs.h. */
88315 _ACEOF
88316 cat confdefs.h >>conftest.$ac_ext
88317 cat >>conftest.$ac_ext <<_ACEOF
88318 /* end confdefs.h. */
88319 int one(void) { return 1; }
88320 int two(void) { return 2; }
88323 main ()
88325 two();
88327 return 0;
88329 _ACEOF
88330 rm -f conftest.$ac_objext conftest$ac_exeext
88331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88332 (eval $ac_link) 2>conftest.er1
88333 ac_status=$?
88334 grep -v '^ *+' conftest.er1 >conftest.err
88335 rm -f conftest.er1
88336 cat conftest.err >&5
88337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88338 (exit $ac_status); } &&
88339 { ac_try='test -z "$ac_c_werror_flag"
88340 || test ! -s conftest.err'
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); }; } &&
88346 { ac_try='test -s conftest$ac_exeext'
88347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88348 (eval $ac_try) 2>&5
88349 ac_status=$?
88350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88351 (exit $ac_status); }; }; then
88352 ac_gcsections=yes
88353 else
88354 echo "$as_me: failed program was:" >&5
88355 sed 's/^/| /' conftest.$ac_ext >&5
88357 ac_gcsections=no
88359 rm -f conftest.err conftest.$ac_objext \
88360 conftest$ac_exeext conftest.$ac_ext
88361 if test "$ac_gcsections" = "yes"; then
88362 rm -f conftest.c
88363 touch conftest.c
88364 if $CC -c conftest.c; then
88365 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
88366 grep "Warning: gc-sections option ignored" > /dev/null; then
88367 ac_gcsections=no
88370 rm -f conftest.c conftest.o conftest
88372 if test "$ac_gcsections" = "yes"; then
88373 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
88375 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
88376 echo "${ECHO_T}$ac_gcsections" >&6
88378 if test "$ac_test_CFLAGS" = set; then
88379 CFLAGS="$ac_save_CFLAGS"
88380 else
88381 # this is the suspicious part
88382 CFLAGS=''
88386 # Set -z,relro.
88387 # Note this is only for shared objects.
88388 ac_ld_relro=no
88389 if test x"$with_gnu_ld" = x"yes"; then
88390 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
88391 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
88392 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
88393 if test -n "$cxx_z_relo"; then
88394 OPT_LDFLAGS="-Wl,-z,relro"
88395 ac_ld_relro=yes
88397 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
88398 echo "${ECHO_T}$ac_ld_relro" >&6
88401 # Set linker optimization flags.
88402 if test x"$with_gnu_ld" = x"yes"; then
88403 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
88411 echo "$as_me:$LINENO: checking for main in -lm" >&5
88412 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
88413 if test "${ac_cv_lib_m_main+set}" = set; then
88414 echo $ECHO_N "(cached) $ECHO_C" >&6
88415 else
88416 ac_check_lib_save_LIBS=$LIBS
88417 LIBS="-lm $LIBS"
88418 if test x$gcc_no_link = xyes; then
88419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88421 { (exit 1); exit 1; }; }
88423 cat >conftest.$ac_ext <<_ACEOF
88424 /* confdefs.h. */
88425 _ACEOF
88426 cat confdefs.h >>conftest.$ac_ext
88427 cat >>conftest.$ac_ext <<_ACEOF
88428 /* end confdefs.h. */
88432 main ()
88434 main ();
88436 return 0;
88438 _ACEOF
88439 rm -f conftest.$ac_objext conftest$ac_exeext
88440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88441 (eval $ac_link) 2>conftest.er1
88442 ac_status=$?
88443 grep -v '^ *+' conftest.er1 >conftest.err
88444 rm -f conftest.er1
88445 cat conftest.err >&5
88446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88447 (exit $ac_status); } &&
88448 { ac_try='test -z "$ac_c_werror_flag"
88449 || test ! -s conftest.err'
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); }; } &&
88455 { ac_try='test -s conftest$ac_exeext'
88456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88457 (eval $ac_try) 2>&5
88458 ac_status=$?
88459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88460 (exit $ac_status); }; }; then
88461 ac_cv_lib_m_main=yes
88462 else
88463 echo "$as_me: failed program was:" >&5
88464 sed 's/^/| /' conftest.$ac_ext >&5
88466 ac_cv_lib_m_main=no
88468 rm -f conftest.err conftest.$ac_objext \
88469 conftest$ac_exeext conftest.$ac_ext
88470 LIBS=$ac_check_lib_save_LIBS
88472 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
88473 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
88474 if test $ac_cv_lib_m_main = yes; then
88475 cat >>confdefs.h <<_ACEOF
88476 #define HAVE_LIBM 1
88477 _ACEOF
88479 LIBS="-lm $LIBS"
88484 for ac_func in copysignf
88486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88487 echo "$as_me:$LINENO: checking for $ac_func" >&5
88488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88489 if eval "test \"\${$as_ac_var+set}\" = set"; then
88490 echo $ECHO_N "(cached) $ECHO_C" >&6
88491 else
88492 if test x$gcc_no_link = xyes; then
88493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88495 { (exit 1); exit 1; }; }
88497 cat >conftest.$ac_ext <<_ACEOF
88498 /* confdefs.h. */
88499 _ACEOF
88500 cat confdefs.h >>conftest.$ac_ext
88501 cat >>conftest.$ac_ext <<_ACEOF
88502 /* end confdefs.h. */
88503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88505 #define $ac_func innocuous_$ac_func
88507 /* System header to define __stub macros and hopefully few prototypes,
88508 which can conflict with char $ac_func (); below.
88509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88510 <limits.h> exists even on freestanding compilers. */
88512 #ifdef __STDC__
88513 # include <limits.h>
88514 #else
88515 # include <assert.h>
88516 #endif
88518 #undef $ac_func
88520 /* Override any gcc2 internal prototype to avoid an error. */
88521 #ifdef __cplusplus
88522 extern "C"
88524 #endif
88525 /* We use char because int might match the return type of a gcc2
88526 builtin and then its argument prototype would still apply. */
88527 char $ac_func ();
88528 /* The GNU C library defines this for functions which it implements
88529 to always fail with ENOSYS. Some functions are actually named
88530 something starting with __ and the normal name is an alias. */
88531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88532 choke me
88533 #else
88534 char (*f) () = $ac_func;
88535 #endif
88536 #ifdef __cplusplus
88538 #endif
88541 main ()
88543 return f != $ac_func;
88545 return 0;
88547 _ACEOF
88548 rm -f conftest.$ac_objext conftest$ac_exeext
88549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88550 (eval $ac_link) 2>conftest.er1
88551 ac_status=$?
88552 grep -v '^ *+' conftest.er1 >conftest.err
88553 rm -f conftest.er1
88554 cat conftest.err >&5
88555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88556 (exit $ac_status); } &&
88557 { ac_try='test -z "$ac_c_werror_flag"
88558 || test ! -s conftest.err'
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); }; } &&
88564 { ac_try='test -s conftest$ac_exeext'
88565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88566 (eval $ac_try) 2>&5
88567 ac_status=$?
88568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88569 (exit $ac_status); }; }; then
88570 eval "$as_ac_var=yes"
88571 else
88572 echo "$as_me: failed program was:" >&5
88573 sed 's/^/| /' conftest.$ac_ext >&5
88575 eval "$as_ac_var=no"
88577 rm -f conftest.err conftest.$ac_objext \
88578 conftest$ac_exeext conftest.$ac_ext
88580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88582 if test `eval echo '${'$as_ac_var'}'` = yes; then
88583 cat >>confdefs.h <<_ACEOF
88584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88585 _ACEOF
88587 else
88588 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
88590 done
88594 for ac_func in __signbit
88596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88597 echo "$as_me:$LINENO: checking for $ac_func" >&5
88598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88599 if eval "test \"\${$as_ac_var+set}\" = set"; then
88600 echo $ECHO_N "(cached) $ECHO_C" >&6
88601 else
88602 if test x$gcc_no_link = xyes; then
88603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88605 { (exit 1); exit 1; }; }
88607 cat >conftest.$ac_ext <<_ACEOF
88608 /* confdefs.h. */
88609 _ACEOF
88610 cat confdefs.h >>conftest.$ac_ext
88611 cat >>conftest.$ac_ext <<_ACEOF
88612 /* end confdefs.h. */
88613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88615 #define $ac_func innocuous_$ac_func
88617 /* System header to define __stub macros and hopefully few prototypes,
88618 which can conflict with char $ac_func (); below.
88619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88620 <limits.h> exists even on freestanding compilers. */
88622 #ifdef __STDC__
88623 # include <limits.h>
88624 #else
88625 # include <assert.h>
88626 #endif
88628 #undef $ac_func
88630 /* Override any gcc2 internal prototype to avoid an error. */
88631 #ifdef __cplusplus
88632 extern "C"
88634 #endif
88635 /* We use char because int might match the return type of a gcc2
88636 builtin and then its argument prototype would still apply. */
88637 char $ac_func ();
88638 /* The GNU C library defines this for functions which it implements
88639 to always fail with ENOSYS. Some functions are actually named
88640 something starting with __ and the normal name is an alias. */
88641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88642 choke me
88643 #else
88644 char (*f) () = $ac_func;
88645 #endif
88646 #ifdef __cplusplus
88648 #endif
88651 main ()
88653 return f != $ac_func;
88655 return 0;
88657 _ACEOF
88658 rm -f conftest.$ac_objext conftest$ac_exeext
88659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88660 (eval $ac_link) 2>conftest.er1
88661 ac_status=$?
88662 grep -v '^ *+' conftest.er1 >conftest.err
88663 rm -f conftest.er1
88664 cat conftest.err >&5
88665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88666 (exit $ac_status); } &&
88667 { ac_try='test -z "$ac_c_werror_flag"
88668 || test ! -s conftest.err'
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); }; } &&
88674 { ac_try='test -s conftest$ac_exeext'
88675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88676 (eval $ac_try) 2>&5
88677 ac_status=$?
88678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88679 (exit $ac_status); }; }; then
88680 eval "$as_ac_var=yes"
88681 else
88682 echo "$as_me: failed program was:" >&5
88683 sed 's/^/| /' conftest.$ac_ext >&5
88685 eval "$as_ac_var=no"
88687 rm -f conftest.err conftest.$ac_objext \
88688 conftest$ac_exeext conftest.$ac_ext
88690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88692 if test `eval echo '${'$as_ac_var'}'` = yes; then
88693 cat >>confdefs.h <<_ACEOF
88694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88695 _ACEOF
88697 else
88698 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
88700 done
88704 for ac_func in __signbitf
88706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88707 echo "$as_me:$LINENO: checking for $ac_func" >&5
88708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88709 if eval "test \"\${$as_ac_var+set}\" = set"; then
88710 echo $ECHO_N "(cached) $ECHO_C" >&6
88711 else
88712 if test x$gcc_no_link = xyes; then
88713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88715 { (exit 1); exit 1; }; }
88717 cat >conftest.$ac_ext <<_ACEOF
88718 /* confdefs.h. */
88719 _ACEOF
88720 cat confdefs.h >>conftest.$ac_ext
88721 cat >>conftest.$ac_ext <<_ACEOF
88722 /* end confdefs.h. */
88723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88725 #define $ac_func innocuous_$ac_func
88727 /* System header to define __stub macros and hopefully few prototypes,
88728 which can conflict with char $ac_func (); below.
88729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88730 <limits.h> exists even on freestanding compilers. */
88732 #ifdef __STDC__
88733 # include <limits.h>
88734 #else
88735 # include <assert.h>
88736 #endif
88738 #undef $ac_func
88740 /* Override any gcc2 internal prototype to avoid an error. */
88741 #ifdef __cplusplus
88742 extern "C"
88744 #endif
88745 /* We use char because int might match the return type of a gcc2
88746 builtin and then its argument prototype would still apply. */
88747 char $ac_func ();
88748 /* The GNU C library defines this for functions which it implements
88749 to always fail with ENOSYS. Some functions are actually named
88750 something starting with __ and the normal name is an alias. */
88751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88752 choke me
88753 #else
88754 char (*f) () = $ac_func;
88755 #endif
88756 #ifdef __cplusplus
88758 #endif
88761 main ()
88763 return f != $ac_func;
88765 return 0;
88767 _ACEOF
88768 rm -f conftest.$ac_objext conftest$ac_exeext
88769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88770 (eval $ac_link) 2>conftest.er1
88771 ac_status=$?
88772 grep -v '^ *+' conftest.er1 >conftest.err
88773 rm -f conftest.er1
88774 cat conftest.err >&5
88775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88776 (exit $ac_status); } &&
88777 { ac_try='test -z "$ac_c_werror_flag"
88778 || test ! -s conftest.err'
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); }; } &&
88784 { ac_try='test -s conftest$ac_exeext'
88785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88786 (eval $ac_try) 2>&5
88787 ac_status=$?
88788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88789 (exit $ac_status); }; }; then
88790 eval "$as_ac_var=yes"
88791 else
88792 echo "$as_me: failed program was:" >&5
88793 sed 's/^/| /' conftest.$ac_ext >&5
88795 eval "$as_ac_var=no"
88797 rm -f conftest.err conftest.$ac_objext \
88798 conftest$ac_exeext conftest.$ac_ext
88800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88802 if test `eval echo '${'$as_ac_var'}'` = yes; then
88803 cat >>confdefs.h <<_ACEOF
88804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88805 _ACEOF
88807 else
88808 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
88810 done
88813 if test x$ac_cv_func_copysignl = x"yes"; then
88815 for ac_func in __signbitl
88817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88818 echo "$as_me:$LINENO: checking for $ac_func" >&5
88819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88820 if eval "test \"\${$as_ac_var+set}\" = set"; then
88821 echo $ECHO_N "(cached) $ECHO_C" >&6
88822 else
88823 if test x$gcc_no_link = xyes; then
88824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88826 { (exit 1); exit 1; }; }
88828 cat >conftest.$ac_ext <<_ACEOF
88829 /* confdefs.h. */
88830 _ACEOF
88831 cat confdefs.h >>conftest.$ac_ext
88832 cat >>conftest.$ac_ext <<_ACEOF
88833 /* end confdefs.h. */
88834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88836 #define $ac_func innocuous_$ac_func
88838 /* System header to define __stub macros and hopefully few prototypes,
88839 which can conflict with char $ac_func (); below.
88840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88841 <limits.h> exists even on freestanding compilers. */
88843 #ifdef __STDC__
88844 # include <limits.h>
88845 #else
88846 # include <assert.h>
88847 #endif
88849 #undef $ac_func
88851 /* Override any gcc2 internal prototype to avoid an error. */
88852 #ifdef __cplusplus
88853 extern "C"
88855 #endif
88856 /* We use char because int might match the return type of a gcc2
88857 builtin and then its argument prototype would still apply. */
88858 char $ac_func ();
88859 /* The GNU C library defines this for functions which it implements
88860 to always fail with ENOSYS. Some functions are actually named
88861 something starting with __ and the normal name is an alias. */
88862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88863 choke me
88864 #else
88865 char (*f) () = $ac_func;
88866 #endif
88867 #ifdef __cplusplus
88869 #endif
88872 main ()
88874 return f != $ac_func;
88876 return 0;
88878 _ACEOF
88879 rm -f conftest.$ac_objext conftest$ac_exeext
88880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88881 (eval $ac_link) 2>conftest.er1
88882 ac_status=$?
88883 grep -v '^ *+' conftest.er1 >conftest.err
88884 rm -f conftest.er1
88885 cat conftest.err >&5
88886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88887 (exit $ac_status); } &&
88888 { ac_try='test -z "$ac_c_werror_flag"
88889 || test ! -s conftest.err'
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); }; } &&
88895 { ac_try='test -s conftest$ac_exeext'
88896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88897 (eval $ac_try) 2>&5
88898 ac_status=$?
88899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88900 (exit $ac_status); }; }; then
88901 eval "$as_ac_var=yes"
88902 else
88903 echo "$as_me: failed program was:" >&5
88904 sed 's/^/| /' conftest.$ac_ext >&5
88906 eval "$as_ac_var=no"
88908 rm -f conftest.err conftest.$ac_objext \
88909 conftest$ac_exeext conftest.$ac_ext
88911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88913 if test `eval echo '${'$as_ac_var'}'` = yes; then
88914 cat >>confdefs.h <<_ACEOF
88915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88916 _ACEOF
88918 else
88919 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
88921 done
88925 # Used in libmath/Makefile.am.
88926 if test -n "$LIBMATHOBJS"; then
88927 need_libmath=yes
88931 cat >>confdefs.h <<\_ACEOF
88932 #define HAVE_HYPOT 1
88933 _ACEOF
88935 cat >>confdefs.h <<\_ACEOF
88936 #define HAVE_ISINF 1
88937 _ACEOF
88939 cat >>confdefs.h <<\_ACEOF
88940 #define HAVE_ISNAN 1
88941 _ACEOF
88944 # For showmanyc_helper().
88947 for ac_header in sys/ioctl.h sys/filio.h
88949 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88951 echo "$as_me:$LINENO: checking for $ac_header" >&5
88952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88954 echo $ECHO_N "(cached) $ECHO_C" >&6
88956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88957 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88958 else
88959 # Is the header compilable?
88960 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88961 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88962 cat >conftest.$ac_ext <<_ACEOF
88963 /* confdefs.h. */
88964 _ACEOF
88965 cat confdefs.h >>conftest.$ac_ext
88966 cat >>conftest.$ac_ext <<_ACEOF
88967 /* end confdefs.h. */
88968 $ac_includes_default
88969 #include <$ac_header>
88970 _ACEOF
88971 rm -f conftest.$ac_objext
88972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88973 (eval $ac_compile) 2>conftest.er1
88974 ac_status=$?
88975 grep -v '^ *+' conftest.er1 >conftest.err
88976 rm -f conftest.er1
88977 cat conftest.err >&5
88978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88979 (exit $ac_status); } &&
88980 { ac_try='test -z "$ac_c_werror_flag"
88981 || test ! -s conftest.err'
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); }; } &&
88987 { ac_try='test -s conftest.$ac_objext'
88988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88989 (eval $ac_try) 2>&5
88990 ac_status=$?
88991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88992 (exit $ac_status); }; }; then
88993 ac_header_compiler=yes
88994 else
88995 echo "$as_me: failed program was:" >&5
88996 sed 's/^/| /' conftest.$ac_ext >&5
88998 ac_header_compiler=no
89000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89001 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89002 echo "${ECHO_T}$ac_header_compiler" >&6
89004 # Is the header present?
89005 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89006 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89007 cat >conftest.$ac_ext <<_ACEOF
89008 /* confdefs.h. */
89009 _ACEOF
89010 cat confdefs.h >>conftest.$ac_ext
89011 cat >>conftest.$ac_ext <<_ACEOF
89012 /* end confdefs.h. */
89013 #include <$ac_header>
89014 _ACEOF
89015 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89016 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89017 ac_status=$?
89018 grep -v '^ *+' conftest.er1 >conftest.err
89019 rm -f conftest.er1
89020 cat conftest.err >&5
89021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89022 (exit $ac_status); } >/dev/null; then
89023 if test -s conftest.err; then
89024 ac_cpp_err=$ac_c_preproc_warn_flag
89025 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89026 else
89027 ac_cpp_err=
89029 else
89030 ac_cpp_err=yes
89032 if test -z "$ac_cpp_err"; then
89033 ac_header_preproc=yes
89034 else
89035 echo "$as_me: failed program was:" >&5
89036 sed 's/^/| /' conftest.$ac_ext >&5
89038 ac_header_preproc=no
89040 rm -f conftest.err conftest.$ac_ext
89041 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89042 echo "${ECHO_T}$ac_header_preproc" >&6
89044 # So? What about this header?
89045 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89046 yes:no: )
89047 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89048 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89049 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89050 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89051 ac_header_preproc=yes
89053 no:yes:* )
89054 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89055 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89056 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89057 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89058 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89059 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89060 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89061 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89063 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89064 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89065 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89067 cat <<\_ASBOX
89068 ## ----------------------------------------- ##
89069 ## Report this to the package-unused lists. ##
89070 ## ----------------------------------------- ##
89071 _ASBOX
89073 sed "s/^/$as_me: WARNING: /" >&2
89075 esac
89076 echo "$as_me:$LINENO: checking for $ac_header" >&5
89077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89079 echo $ECHO_N "(cached) $ECHO_C" >&6
89080 else
89081 eval "$as_ac_Header=\$ac_header_preproc"
89083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89084 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89087 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89088 cat >>confdefs.h <<_ACEOF
89089 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89090 _ACEOF
89094 done
89097 echo "$as_me:$LINENO: checking for poll" >&5
89098 echo $ECHO_N "checking for poll... $ECHO_C" >&6
89099 if test "${glibcxx_cv_POLL+set}" = set; then
89100 echo $ECHO_N "(cached) $ECHO_C" >&6
89101 else
89103 if test x$gcc_no_link = xyes; then
89104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89106 { (exit 1); exit 1; }; }
89108 cat >conftest.$ac_ext <<_ACEOF
89109 /* confdefs.h. */
89110 _ACEOF
89111 cat confdefs.h >>conftest.$ac_ext
89112 cat >>conftest.$ac_ext <<_ACEOF
89113 /* end confdefs.h. */
89114 #include <poll.h>
89116 main ()
89118 struct pollfd pfd[1];
89119 pfd[0].events = POLLIN;
89120 poll(pfd, 1, 0);
89122 return 0;
89124 _ACEOF
89125 rm -f conftest.$ac_objext conftest$ac_exeext
89126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89127 (eval $ac_link) 2>conftest.er1
89128 ac_status=$?
89129 grep -v '^ *+' conftest.er1 >conftest.err
89130 rm -f conftest.er1
89131 cat conftest.err >&5
89132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89133 (exit $ac_status); } &&
89134 { ac_try='test -z "$ac_c_werror_flag"
89135 || test ! -s conftest.err'
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); }; } &&
89141 { ac_try='test -s conftest$ac_exeext'
89142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89143 (eval $ac_try) 2>&5
89144 ac_status=$?
89145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89146 (exit $ac_status); }; }; then
89147 glibcxx_cv_POLL=yes
89148 else
89149 echo "$as_me: failed program was:" >&5
89150 sed 's/^/| /' conftest.$ac_ext >&5
89152 glibcxx_cv_POLL=no
89154 rm -f conftest.err conftest.$ac_objext \
89155 conftest$ac_exeext conftest.$ac_ext
89159 if test $glibcxx_cv_POLL = yes; then
89161 cat >>confdefs.h <<\_ACEOF
89162 #define HAVE_POLL 1
89163 _ACEOF
89166 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
89167 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
89170 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
89171 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
89172 if test "${glibcxx_cv_S_ISREG+set}" = set; then
89173 echo $ECHO_N "(cached) $ECHO_C" >&6
89174 else
89176 if test x$gcc_no_link = xyes; then
89177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89179 { (exit 1); exit 1; }; }
89181 cat >conftest.$ac_ext <<_ACEOF
89182 /* confdefs.h. */
89183 _ACEOF
89184 cat confdefs.h >>conftest.$ac_ext
89185 cat >>conftest.$ac_ext <<_ACEOF
89186 /* end confdefs.h. */
89187 #include <sys/stat.h>
89189 main ()
89191 struct stat buffer;
89192 fstat(0, &buffer);
89193 S_ISREG(buffer.st_mode);
89195 return 0;
89197 _ACEOF
89198 rm -f conftest.$ac_objext conftest$ac_exeext
89199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89200 (eval $ac_link) 2>conftest.er1
89201 ac_status=$?
89202 grep -v '^ *+' conftest.er1 >conftest.err
89203 rm -f conftest.er1
89204 cat conftest.err >&5
89205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89206 (exit $ac_status); } &&
89207 { ac_try='test -z "$ac_c_werror_flag"
89208 || test ! -s conftest.err'
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); }; } &&
89214 { ac_try='test -s conftest$ac_exeext'
89215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89216 (eval $ac_try) 2>&5
89217 ac_status=$?
89218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89219 (exit $ac_status); }; }; then
89220 glibcxx_cv_S_ISREG=yes
89221 else
89222 echo "$as_me: failed program was:" >&5
89223 sed 's/^/| /' conftest.$ac_ext >&5
89225 glibcxx_cv_S_ISREG=no
89227 rm -f conftest.err conftest.$ac_objext \
89228 conftest$ac_exeext conftest.$ac_ext
89232 if test "${glibcxx_cv_S_IFREG+set}" = set; then
89233 echo $ECHO_N "(cached) $ECHO_C" >&6
89234 else
89236 if test x$gcc_no_link = xyes; then
89237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89239 { (exit 1); exit 1; }; }
89241 cat >conftest.$ac_ext <<_ACEOF
89242 /* confdefs.h. */
89243 _ACEOF
89244 cat confdefs.h >>conftest.$ac_ext
89245 cat >>conftest.$ac_ext <<_ACEOF
89246 /* end confdefs.h. */
89247 #include <sys/stat.h>
89249 main ()
89251 struct stat buffer;
89252 fstat(0, &buffer);
89253 S_IFREG & buffer.st_mode;
89255 return 0;
89257 _ACEOF
89258 rm -f conftest.$ac_objext conftest$ac_exeext
89259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89260 (eval $ac_link) 2>conftest.er1
89261 ac_status=$?
89262 grep -v '^ *+' conftest.er1 >conftest.err
89263 rm -f conftest.er1
89264 cat conftest.err >&5
89265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89266 (exit $ac_status); } &&
89267 { ac_try='test -z "$ac_c_werror_flag"
89268 || test ! -s conftest.err'
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); }; } &&
89274 { ac_try='test -s conftest$ac_exeext'
89275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89276 (eval $ac_try) 2>&5
89277 ac_status=$?
89278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89279 (exit $ac_status); }; }; then
89280 glibcxx_cv_S_IFREG=yes
89281 else
89282 echo "$as_me: failed program was:" >&5
89283 sed 's/^/| /' conftest.$ac_ext >&5
89285 glibcxx_cv_S_IFREG=no
89287 rm -f conftest.err conftest.$ac_objext \
89288 conftest$ac_exeext conftest.$ac_ext
89292 res=no
89293 if test $glibcxx_cv_S_ISREG = yes; then
89295 cat >>confdefs.h <<\_ACEOF
89296 #define HAVE_S_ISREG 1
89297 _ACEOF
89299 res=S_ISREG
89300 elif test $glibcxx_cv_S_IFREG = yes; then
89302 cat >>confdefs.h <<\_ACEOF
89303 #define HAVE_S_IFREG 1
89304 _ACEOF
89306 res=S_IFREG
89308 echo "$as_me:$LINENO: result: $res" >&5
89309 echo "${ECHO_T}$res" >&6
89312 # For xsputn_2().
89314 for ac_header in sys/uio.h
89316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89318 echo "$as_me:$LINENO: checking for $ac_header" >&5
89319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89321 echo $ECHO_N "(cached) $ECHO_C" >&6
89323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89325 else
89326 # Is the header compilable?
89327 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89329 cat >conftest.$ac_ext <<_ACEOF
89330 /* confdefs.h. */
89331 _ACEOF
89332 cat confdefs.h >>conftest.$ac_ext
89333 cat >>conftest.$ac_ext <<_ACEOF
89334 /* end confdefs.h. */
89335 $ac_includes_default
89336 #include <$ac_header>
89337 _ACEOF
89338 rm -f conftest.$ac_objext
89339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89340 (eval $ac_compile) 2>conftest.er1
89341 ac_status=$?
89342 grep -v '^ *+' conftest.er1 >conftest.err
89343 rm -f conftest.er1
89344 cat conftest.err >&5
89345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89346 (exit $ac_status); } &&
89347 { ac_try='test -z "$ac_c_werror_flag"
89348 || test ! -s conftest.err'
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); }; } &&
89354 { ac_try='test -s conftest.$ac_objext'
89355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89356 (eval $ac_try) 2>&5
89357 ac_status=$?
89358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89359 (exit $ac_status); }; }; then
89360 ac_header_compiler=yes
89361 else
89362 echo "$as_me: failed program was:" >&5
89363 sed 's/^/| /' conftest.$ac_ext >&5
89365 ac_header_compiler=no
89367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89368 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89369 echo "${ECHO_T}$ac_header_compiler" >&6
89371 # Is the header present?
89372 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89373 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89374 cat >conftest.$ac_ext <<_ACEOF
89375 /* confdefs.h. */
89376 _ACEOF
89377 cat confdefs.h >>conftest.$ac_ext
89378 cat >>conftest.$ac_ext <<_ACEOF
89379 /* end confdefs.h. */
89380 #include <$ac_header>
89381 _ACEOF
89382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89383 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89384 ac_status=$?
89385 grep -v '^ *+' conftest.er1 >conftest.err
89386 rm -f conftest.er1
89387 cat conftest.err >&5
89388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89389 (exit $ac_status); } >/dev/null; then
89390 if test -s conftest.err; then
89391 ac_cpp_err=$ac_c_preproc_warn_flag
89392 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89393 else
89394 ac_cpp_err=
89396 else
89397 ac_cpp_err=yes
89399 if test -z "$ac_cpp_err"; then
89400 ac_header_preproc=yes
89401 else
89402 echo "$as_me: failed program was:" >&5
89403 sed 's/^/| /' conftest.$ac_ext >&5
89405 ac_header_preproc=no
89407 rm -f conftest.err conftest.$ac_ext
89408 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89409 echo "${ECHO_T}$ac_header_preproc" >&6
89411 # So? What about this header?
89412 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89413 yes:no: )
89414 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89415 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89417 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89418 ac_header_preproc=yes
89420 no:yes:* )
89421 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89422 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89423 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89424 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89425 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89426 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89427 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89428 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89430 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89431 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89432 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89434 cat <<\_ASBOX
89435 ## ----------------------------------------- ##
89436 ## Report this to the package-unused lists. ##
89437 ## ----------------------------------------- ##
89438 _ASBOX
89440 sed "s/^/$as_me: WARNING: /" >&2
89442 esac
89443 echo "$as_me:$LINENO: checking for $ac_header" >&5
89444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89446 echo $ECHO_N "(cached) $ECHO_C" >&6
89447 else
89448 eval "$as_ac_Header=\$ac_header_preproc"
89450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89455 cat >>confdefs.h <<_ACEOF
89456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89457 _ACEOF
89461 done
89464 echo "$as_me:$LINENO: checking for writev" >&5
89465 echo $ECHO_N "checking for writev... $ECHO_C" >&6
89466 if test "${glibcxx_cv_WRITEV+set}" = set; then
89467 echo $ECHO_N "(cached) $ECHO_C" >&6
89468 else
89470 if test x$gcc_no_link = xyes; then
89471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89473 { (exit 1); exit 1; }; }
89475 cat >conftest.$ac_ext <<_ACEOF
89476 /* confdefs.h. */
89477 _ACEOF
89478 cat confdefs.h >>conftest.$ac_ext
89479 cat >>conftest.$ac_ext <<_ACEOF
89480 /* end confdefs.h. */
89481 #include <sys/uio.h>
89483 main ()
89485 struct iovec iov[2];
89486 writev(0, iov, 0);
89488 return 0;
89490 _ACEOF
89491 rm -f conftest.$ac_objext conftest$ac_exeext
89492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89493 (eval $ac_link) 2>conftest.er1
89494 ac_status=$?
89495 grep -v '^ *+' conftest.er1 >conftest.err
89496 rm -f conftest.er1
89497 cat conftest.err >&5
89498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89499 (exit $ac_status); } &&
89500 { ac_try='test -z "$ac_c_werror_flag"
89501 || test ! -s conftest.err'
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); }; } &&
89507 { ac_try='test -s conftest$ac_exeext'
89508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89509 (eval $ac_try) 2>&5
89510 ac_status=$?
89511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89512 (exit $ac_status); }; }; then
89513 glibcxx_cv_WRITEV=yes
89514 else
89515 echo "$as_me: failed program was:" >&5
89516 sed 's/^/| /' conftest.$ac_ext >&5
89518 glibcxx_cv_WRITEV=no
89520 rm -f conftest.err conftest.$ac_objext \
89521 conftest$ac_exeext conftest.$ac_ext
89525 if test $glibcxx_cv_WRITEV = yes; then
89527 cat >>confdefs.h <<\_ACEOF
89528 #define HAVE_WRITEV 1
89529 _ACEOF
89532 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
89533 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
89536 *-qnx6.1* | *-qnx6.2*)
89537 SECTION_FLAGS='-ffunction-sections -fdata-sections'
89540 # If we're not using GNU ld, then there's no point in even trying these
89541 # tests. Check for that first. We should have already tested for gld
89542 # by now (in libtool), but require it now just to be safe...
89543 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
89544 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
89548 # The name set by libtool depends on the version of libtool. Shame on us
89549 # for depending on an impl detail, but c'est la vie. Older versions used
89550 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
89551 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
89552 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
89553 # set (hence we're using an older libtool), then set it.
89554 if test x${with_gnu_ld+set} != xset; then
89555 if test x${ac_cv_prog_gnu_ld+set} != xset; then
89556 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
89557 with_gnu_ld=no
89558 else
89559 with_gnu_ld=$ac_cv_prog_gnu_ld
89563 # Start by getting the version number. I think the libtool test already
89564 # does some of this, but throws away the result.
89565 if test x"$with_gnu_ld" = x"yes"; then
89566 echo "$as_me:$LINENO: checking for ld version" >&5
89567 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
89569 ldver=`$LD --version 2>/dev/null | head -1 | \
89570 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
89572 glibcxx_gnu_ld_version=`echo $ldver | \
89573 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
89574 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
89575 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
89578 # Set --gc-sections.
89579 glibcxx_gcsections_min_ld=21602
89580 if test x"$with_gnu_ld" = x"yes" &&
89581 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
89583 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
89584 # NB: This flag only works reliably after 2.16.1. Configure tests
89585 # for this are difficult, so hard wire a value that should work.
89587 ac_test_CFLAGS="${CFLAGS+set}"
89588 ac_save_CFLAGS="$CFLAGS"
89589 CFLAGS='-Wl,--gc-sections'
89591 # Check for -Wl,--gc-sections
89592 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
89593 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
89594 if test x$gcc_no_link = xyes; then
89595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89597 { (exit 1); exit 1; }; }
89599 cat >conftest.$ac_ext <<_ACEOF
89600 /* confdefs.h. */
89601 _ACEOF
89602 cat confdefs.h >>conftest.$ac_ext
89603 cat >>conftest.$ac_ext <<_ACEOF
89604 /* end confdefs.h. */
89605 int one(void) { return 1; }
89606 int two(void) { return 2; }
89609 main ()
89611 two();
89613 return 0;
89615 _ACEOF
89616 rm -f conftest.$ac_objext conftest$ac_exeext
89617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89618 (eval $ac_link) 2>conftest.er1
89619 ac_status=$?
89620 grep -v '^ *+' conftest.er1 >conftest.err
89621 rm -f conftest.er1
89622 cat conftest.err >&5
89623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89624 (exit $ac_status); } &&
89625 { ac_try='test -z "$ac_c_werror_flag"
89626 || test ! -s conftest.err'
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); }; } &&
89632 { ac_try='test -s conftest$ac_exeext'
89633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89634 (eval $ac_try) 2>&5
89635 ac_status=$?
89636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89637 (exit $ac_status); }; }; then
89638 ac_gcsections=yes
89639 else
89640 echo "$as_me: failed program was:" >&5
89641 sed 's/^/| /' conftest.$ac_ext >&5
89643 ac_gcsections=no
89645 rm -f conftest.err conftest.$ac_objext \
89646 conftest$ac_exeext conftest.$ac_ext
89647 if test "$ac_gcsections" = "yes"; then
89648 rm -f conftest.c
89649 touch conftest.c
89650 if $CC -c conftest.c; then
89651 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
89652 grep "Warning: gc-sections option ignored" > /dev/null; then
89653 ac_gcsections=no
89656 rm -f conftest.c conftest.o conftest
89658 if test "$ac_gcsections" = "yes"; then
89659 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
89661 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
89662 echo "${ECHO_T}$ac_gcsections" >&6
89664 if test "$ac_test_CFLAGS" = set; then
89665 CFLAGS="$ac_save_CFLAGS"
89666 else
89667 # this is the suspicious part
89668 CFLAGS=''
89672 # Set -z,relro.
89673 # Note this is only for shared objects.
89674 ac_ld_relro=no
89675 if test x"$with_gnu_ld" = x"yes"; then
89676 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
89677 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
89678 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
89679 if test -n "$cxx_z_relo"; then
89680 OPT_LDFLAGS="-Wl,-z,relro"
89681 ac_ld_relro=yes
89683 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
89684 echo "${ECHO_T}$ac_ld_relro" >&6
89687 # Set linker optimization flags.
89688 if test x"$with_gnu_ld" = x"yes"; then
89689 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
89697 echo "$as_me:$LINENO: checking for main in -lm" >&5
89698 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
89699 if test "${ac_cv_lib_m_main+set}" = set; then
89700 echo $ECHO_N "(cached) $ECHO_C" >&6
89701 else
89702 ac_check_lib_save_LIBS=$LIBS
89703 LIBS="-lm $LIBS"
89704 if test x$gcc_no_link = xyes; then
89705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89707 { (exit 1); exit 1; }; }
89709 cat >conftest.$ac_ext <<_ACEOF
89710 /* confdefs.h. */
89711 _ACEOF
89712 cat confdefs.h >>conftest.$ac_ext
89713 cat >>conftest.$ac_ext <<_ACEOF
89714 /* end confdefs.h. */
89718 main ()
89720 main ();
89722 return 0;
89724 _ACEOF
89725 rm -f conftest.$ac_objext conftest$ac_exeext
89726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89727 (eval $ac_link) 2>conftest.er1
89728 ac_status=$?
89729 grep -v '^ *+' conftest.er1 >conftest.err
89730 rm -f conftest.er1
89731 cat conftest.err >&5
89732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89733 (exit $ac_status); } &&
89734 { ac_try='test -z "$ac_c_werror_flag"
89735 || test ! -s conftest.err'
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); }; } &&
89741 { ac_try='test -s conftest$ac_exeext'
89742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89743 (eval $ac_try) 2>&5
89744 ac_status=$?
89745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89746 (exit $ac_status); }; }; then
89747 ac_cv_lib_m_main=yes
89748 else
89749 echo "$as_me: failed program was:" >&5
89750 sed 's/^/| /' conftest.$ac_ext >&5
89752 ac_cv_lib_m_main=no
89754 rm -f conftest.err conftest.$ac_objext \
89755 conftest$ac_exeext conftest.$ac_ext
89756 LIBS=$ac_check_lib_save_LIBS
89758 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
89759 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
89760 if test $ac_cv_lib_m_main = yes; then
89761 cat >>confdefs.h <<_ACEOF
89762 #define HAVE_LIBM 1
89763 _ACEOF
89765 LIBS="-lm $LIBS"
89770 for ac_func in copysignf
89772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89773 echo "$as_me:$LINENO: checking for $ac_func" >&5
89774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89775 if eval "test \"\${$as_ac_var+set}\" = set"; then
89776 echo $ECHO_N "(cached) $ECHO_C" >&6
89777 else
89778 if test x$gcc_no_link = xyes; then
89779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89781 { (exit 1); exit 1; }; }
89783 cat >conftest.$ac_ext <<_ACEOF
89784 /* confdefs.h. */
89785 _ACEOF
89786 cat confdefs.h >>conftest.$ac_ext
89787 cat >>conftest.$ac_ext <<_ACEOF
89788 /* end confdefs.h. */
89789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89791 #define $ac_func innocuous_$ac_func
89793 /* System header to define __stub macros and hopefully few prototypes,
89794 which can conflict with char $ac_func (); below.
89795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89796 <limits.h> exists even on freestanding compilers. */
89798 #ifdef __STDC__
89799 # include <limits.h>
89800 #else
89801 # include <assert.h>
89802 #endif
89804 #undef $ac_func
89806 /* Override any gcc2 internal prototype to avoid an error. */
89807 #ifdef __cplusplus
89808 extern "C"
89810 #endif
89811 /* We use char because int might match the return type of a gcc2
89812 builtin and then its argument prototype would still apply. */
89813 char $ac_func ();
89814 /* The GNU C library defines this for functions which it implements
89815 to always fail with ENOSYS. Some functions are actually named
89816 something starting with __ and the normal name is an alias. */
89817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89818 choke me
89819 #else
89820 char (*f) () = $ac_func;
89821 #endif
89822 #ifdef __cplusplus
89824 #endif
89827 main ()
89829 return f != $ac_func;
89831 return 0;
89833 _ACEOF
89834 rm -f conftest.$ac_objext conftest$ac_exeext
89835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89836 (eval $ac_link) 2>conftest.er1
89837 ac_status=$?
89838 grep -v '^ *+' conftest.er1 >conftest.err
89839 rm -f conftest.er1
89840 cat conftest.err >&5
89841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89842 (exit $ac_status); } &&
89843 { ac_try='test -z "$ac_c_werror_flag"
89844 || test ! -s conftest.err'
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); }; } &&
89850 { ac_try='test -s conftest$ac_exeext'
89851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89852 (eval $ac_try) 2>&5
89853 ac_status=$?
89854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89855 (exit $ac_status); }; }; then
89856 eval "$as_ac_var=yes"
89857 else
89858 echo "$as_me: failed program was:" >&5
89859 sed 's/^/| /' conftest.$ac_ext >&5
89861 eval "$as_ac_var=no"
89863 rm -f conftest.err conftest.$ac_objext \
89864 conftest$ac_exeext conftest.$ac_ext
89866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89868 if test `eval echo '${'$as_ac_var'}'` = yes; then
89869 cat >>confdefs.h <<_ACEOF
89870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89871 _ACEOF
89873 else
89874 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
89876 done
89880 for ac_func in __signbit
89882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89883 echo "$as_me:$LINENO: checking for $ac_func" >&5
89884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89885 if eval "test \"\${$as_ac_var+set}\" = set"; then
89886 echo $ECHO_N "(cached) $ECHO_C" >&6
89887 else
89888 if test x$gcc_no_link = xyes; then
89889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89891 { (exit 1); exit 1; }; }
89893 cat >conftest.$ac_ext <<_ACEOF
89894 /* confdefs.h. */
89895 _ACEOF
89896 cat confdefs.h >>conftest.$ac_ext
89897 cat >>conftest.$ac_ext <<_ACEOF
89898 /* end confdefs.h. */
89899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89901 #define $ac_func innocuous_$ac_func
89903 /* System header to define __stub macros and hopefully few prototypes,
89904 which can conflict with char $ac_func (); below.
89905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89906 <limits.h> exists even on freestanding compilers. */
89908 #ifdef __STDC__
89909 # include <limits.h>
89910 #else
89911 # include <assert.h>
89912 #endif
89914 #undef $ac_func
89916 /* Override any gcc2 internal prototype to avoid an error. */
89917 #ifdef __cplusplus
89918 extern "C"
89920 #endif
89921 /* We use char because int might match the return type of a gcc2
89922 builtin and then its argument prototype would still apply. */
89923 char $ac_func ();
89924 /* The GNU C library defines this for functions which it implements
89925 to always fail with ENOSYS. Some functions are actually named
89926 something starting with __ and the normal name is an alias. */
89927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89928 choke me
89929 #else
89930 char (*f) () = $ac_func;
89931 #endif
89932 #ifdef __cplusplus
89934 #endif
89937 main ()
89939 return f != $ac_func;
89941 return 0;
89943 _ACEOF
89944 rm -f conftest.$ac_objext conftest$ac_exeext
89945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89946 (eval $ac_link) 2>conftest.er1
89947 ac_status=$?
89948 grep -v '^ *+' conftest.er1 >conftest.err
89949 rm -f conftest.er1
89950 cat conftest.err >&5
89951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89952 (exit $ac_status); } &&
89953 { ac_try='test -z "$ac_c_werror_flag"
89954 || test ! -s conftest.err'
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); }; } &&
89960 { ac_try='test -s conftest$ac_exeext'
89961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89962 (eval $ac_try) 2>&5
89963 ac_status=$?
89964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89965 (exit $ac_status); }; }; then
89966 eval "$as_ac_var=yes"
89967 else
89968 echo "$as_me: failed program was:" >&5
89969 sed 's/^/| /' conftest.$ac_ext >&5
89971 eval "$as_ac_var=no"
89973 rm -f conftest.err conftest.$ac_objext \
89974 conftest$ac_exeext conftest.$ac_ext
89976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89978 if test `eval echo '${'$as_ac_var'}'` = yes; then
89979 cat >>confdefs.h <<_ACEOF
89980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89981 _ACEOF
89983 else
89984 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
89986 done
89990 for ac_func in __signbitf
89992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89993 echo "$as_me:$LINENO: checking for $ac_func" >&5
89994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89995 if eval "test \"\${$as_ac_var+set}\" = set"; then
89996 echo $ECHO_N "(cached) $ECHO_C" >&6
89997 else
89998 if test x$gcc_no_link = xyes; then
89999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90001 { (exit 1); exit 1; }; }
90003 cat >conftest.$ac_ext <<_ACEOF
90004 /* confdefs.h. */
90005 _ACEOF
90006 cat confdefs.h >>conftest.$ac_ext
90007 cat >>conftest.$ac_ext <<_ACEOF
90008 /* end confdefs.h. */
90009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90011 #define $ac_func innocuous_$ac_func
90013 /* System header to define __stub macros and hopefully few prototypes,
90014 which can conflict with char $ac_func (); below.
90015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90016 <limits.h> exists even on freestanding compilers. */
90018 #ifdef __STDC__
90019 # include <limits.h>
90020 #else
90021 # include <assert.h>
90022 #endif
90024 #undef $ac_func
90026 /* Override any gcc2 internal prototype to avoid an error. */
90027 #ifdef __cplusplus
90028 extern "C"
90030 #endif
90031 /* We use char because int might match the return type of a gcc2
90032 builtin and then its argument prototype would still apply. */
90033 char $ac_func ();
90034 /* The GNU C library defines this for functions which it implements
90035 to always fail with ENOSYS. Some functions are actually named
90036 something starting with __ and the normal name is an alias. */
90037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90038 choke me
90039 #else
90040 char (*f) () = $ac_func;
90041 #endif
90042 #ifdef __cplusplus
90044 #endif
90047 main ()
90049 return f != $ac_func;
90051 return 0;
90053 _ACEOF
90054 rm -f conftest.$ac_objext conftest$ac_exeext
90055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90056 (eval $ac_link) 2>conftest.er1
90057 ac_status=$?
90058 grep -v '^ *+' conftest.er1 >conftest.err
90059 rm -f conftest.er1
90060 cat conftest.err >&5
90061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90062 (exit $ac_status); } &&
90063 { ac_try='test -z "$ac_c_werror_flag"
90064 || test ! -s conftest.err'
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); }; } &&
90070 { ac_try='test -s conftest$ac_exeext'
90071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90072 (eval $ac_try) 2>&5
90073 ac_status=$?
90074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90075 (exit $ac_status); }; }; then
90076 eval "$as_ac_var=yes"
90077 else
90078 echo "$as_me: failed program was:" >&5
90079 sed 's/^/| /' conftest.$ac_ext >&5
90081 eval "$as_ac_var=no"
90083 rm -f conftest.err conftest.$ac_objext \
90084 conftest$ac_exeext conftest.$ac_ext
90086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90088 if test `eval echo '${'$as_ac_var'}'` = yes; then
90089 cat >>confdefs.h <<_ACEOF
90090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90091 _ACEOF
90093 else
90094 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
90096 done
90099 if test x$ac_cv_func_copysignl = x"yes"; then
90101 for ac_func in __signbitl
90103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90104 echo "$as_me:$LINENO: checking for $ac_func" >&5
90105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90106 if eval "test \"\${$as_ac_var+set}\" = set"; then
90107 echo $ECHO_N "(cached) $ECHO_C" >&6
90108 else
90109 if test x$gcc_no_link = xyes; then
90110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90112 { (exit 1); exit 1; }; }
90114 cat >conftest.$ac_ext <<_ACEOF
90115 /* confdefs.h. */
90116 _ACEOF
90117 cat confdefs.h >>conftest.$ac_ext
90118 cat >>conftest.$ac_ext <<_ACEOF
90119 /* end confdefs.h. */
90120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90122 #define $ac_func innocuous_$ac_func
90124 /* System header to define __stub macros and hopefully few prototypes,
90125 which can conflict with char $ac_func (); below.
90126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90127 <limits.h> exists even on freestanding compilers. */
90129 #ifdef __STDC__
90130 # include <limits.h>
90131 #else
90132 # include <assert.h>
90133 #endif
90135 #undef $ac_func
90137 /* Override any gcc2 internal prototype to avoid an error. */
90138 #ifdef __cplusplus
90139 extern "C"
90141 #endif
90142 /* We use char because int might match the return type of a gcc2
90143 builtin and then its argument prototype would still apply. */
90144 char $ac_func ();
90145 /* The GNU C library defines this for functions which it implements
90146 to always fail with ENOSYS. Some functions are actually named
90147 something starting with __ and the normal name is an alias. */
90148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90149 choke me
90150 #else
90151 char (*f) () = $ac_func;
90152 #endif
90153 #ifdef __cplusplus
90155 #endif
90158 main ()
90160 return f != $ac_func;
90162 return 0;
90164 _ACEOF
90165 rm -f conftest.$ac_objext conftest$ac_exeext
90166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90167 (eval $ac_link) 2>conftest.er1
90168 ac_status=$?
90169 grep -v '^ *+' conftest.er1 >conftest.err
90170 rm -f conftest.er1
90171 cat conftest.err >&5
90172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90173 (exit $ac_status); } &&
90174 { ac_try='test -z "$ac_c_werror_flag"
90175 || test ! -s conftest.err'
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); }; } &&
90181 { ac_try='test -s conftest$ac_exeext'
90182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90183 (eval $ac_try) 2>&5
90184 ac_status=$?
90185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90186 (exit $ac_status); }; }; then
90187 eval "$as_ac_var=yes"
90188 else
90189 echo "$as_me: failed program was:" >&5
90190 sed 's/^/| /' conftest.$ac_ext >&5
90192 eval "$as_ac_var=no"
90194 rm -f conftest.err conftest.$ac_objext \
90195 conftest$ac_exeext conftest.$ac_ext
90197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90199 if test `eval echo '${'$as_ac_var'}'` = yes; then
90200 cat >>confdefs.h <<_ACEOF
90201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90202 _ACEOF
90204 else
90205 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
90207 done
90211 # Used in libmath/Makefile.am.
90212 if test -n "$LIBMATHOBJS"; then
90213 need_libmath=yes
90217 cat >>confdefs.h <<\_ACEOF
90218 #define HAVE_COSF 1
90219 _ACEOF
90221 cat >>confdefs.h <<\_ACEOF
90222 #define HAVE_COSL 1
90223 _ACEOF
90225 cat >>confdefs.h <<\_ACEOF
90226 #define HAVE_COSHF 1
90227 _ACEOF
90229 cat >>confdefs.h <<\_ACEOF
90230 #define HAVE_COSHL 1
90231 _ACEOF
90233 cat >>confdefs.h <<\_ACEOF
90234 #define HAVE_LOGF 1
90235 _ACEOF
90237 cat >>confdefs.h <<\_ACEOF
90238 #define HAVE_LOGL 1
90239 _ACEOF
90241 cat >>confdefs.h <<\_ACEOF
90242 #define HAVE_LOG10F 1
90243 _ACEOF
90245 cat >>confdefs.h <<\_ACEOF
90246 #define HAVE_LOG10L 1
90247 _ACEOF
90249 cat >>confdefs.h <<\_ACEOF
90250 #define HAVE_SINF 1
90251 _ACEOF
90253 cat >>confdefs.h <<\_ACEOF
90254 #define HAVE_SINL 1
90255 _ACEOF
90257 cat >>confdefs.h <<\_ACEOF
90258 #define HAVE_SINHF 1
90259 _ACEOF
90261 cat >>confdefs.h <<\_ACEOF
90262 #define HAVE_SINHL 1
90263 _ACEOF
90266 *-solaris*)
90267 case "$target" in
90268 # *-solaris2.5)
90269 # os_include_dir="os/solaris/solaris2.5"
90270 # ;;
90271 # *-solaris2.6)
90272 # os_include_dir="os/solaris/solaris2.6"
90273 # ;;
90274 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
90276 # If we're not using GNU ld, then there's no point in even trying these
90277 # tests. Check for that first. We should have already tested for gld
90278 # by now (in libtool), but require it now just to be safe...
90279 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
90280 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
90284 # The name set by libtool depends on the version of libtool. Shame on us
90285 # for depending on an impl detail, but c'est la vie. Older versions used
90286 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
90287 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
90288 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
90289 # set (hence we're using an older libtool), then set it.
90290 if test x${with_gnu_ld+set} != xset; then
90291 if test x${ac_cv_prog_gnu_ld+set} != xset; then
90292 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
90293 with_gnu_ld=no
90294 else
90295 with_gnu_ld=$ac_cv_prog_gnu_ld
90299 # Start by getting the version number. I think the libtool test already
90300 # does some of this, but throws away the result.
90301 if test x"$with_gnu_ld" = x"yes"; then
90302 echo "$as_me:$LINENO: checking for ld version" >&5
90303 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
90305 ldver=`$LD --version 2>/dev/null | head -1 | \
90306 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
90308 glibcxx_gnu_ld_version=`echo $ldver | \
90309 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
90310 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
90311 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
90314 # Set --gc-sections.
90315 glibcxx_gcsections_min_ld=21602
90316 if test x"$with_gnu_ld" = x"yes" &&
90317 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
90319 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
90320 # NB: This flag only works reliably after 2.16.1. Configure tests
90321 # for this are difficult, so hard wire a value that should work.
90323 ac_test_CFLAGS="${CFLAGS+set}"
90324 ac_save_CFLAGS="$CFLAGS"
90325 CFLAGS='-Wl,--gc-sections'
90327 # Check for -Wl,--gc-sections
90328 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
90329 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
90330 if test x$gcc_no_link = xyes; then
90331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90333 { (exit 1); exit 1; }; }
90335 cat >conftest.$ac_ext <<_ACEOF
90336 /* confdefs.h. */
90337 _ACEOF
90338 cat confdefs.h >>conftest.$ac_ext
90339 cat >>conftest.$ac_ext <<_ACEOF
90340 /* end confdefs.h. */
90341 int one(void) { return 1; }
90342 int two(void) { return 2; }
90345 main ()
90347 two();
90349 return 0;
90351 _ACEOF
90352 rm -f conftest.$ac_objext conftest$ac_exeext
90353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90354 (eval $ac_link) 2>conftest.er1
90355 ac_status=$?
90356 grep -v '^ *+' conftest.er1 >conftest.err
90357 rm -f conftest.er1
90358 cat conftest.err >&5
90359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90360 (exit $ac_status); } &&
90361 { ac_try='test -z "$ac_c_werror_flag"
90362 || test ! -s conftest.err'
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); }; } &&
90368 { ac_try='test -s conftest$ac_exeext'
90369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90370 (eval $ac_try) 2>&5
90371 ac_status=$?
90372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90373 (exit $ac_status); }; }; then
90374 ac_gcsections=yes
90375 else
90376 echo "$as_me: failed program was:" >&5
90377 sed 's/^/| /' conftest.$ac_ext >&5
90379 ac_gcsections=no
90381 rm -f conftest.err conftest.$ac_objext \
90382 conftest$ac_exeext conftest.$ac_ext
90383 if test "$ac_gcsections" = "yes"; then
90384 rm -f conftest.c
90385 touch conftest.c
90386 if $CC -c conftest.c; then
90387 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
90388 grep "Warning: gc-sections option ignored" > /dev/null; then
90389 ac_gcsections=no
90392 rm -f conftest.c conftest.o conftest
90394 if test "$ac_gcsections" = "yes"; then
90395 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
90397 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
90398 echo "${ECHO_T}$ac_gcsections" >&6
90400 if test "$ac_test_CFLAGS" = set; then
90401 CFLAGS="$ac_save_CFLAGS"
90402 else
90403 # this is the suspicious part
90404 CFLAGS=''
90408 # Set -z,relro.
90409 # Note this is only for shared objects.
90410 ac_ld_relro=no
90411 if test x"$with_gnu_ld" = x"yes"; then
90412 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
90413 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
90414 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
90415 if test -n "$cxx_z_relo"; then
90416 OPT_LDFLAGS="-Wl,-z,relro"
90417 ac_ld_relro=yes
90419 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
90420 echo "${ECHO_T}$ac_ld_relro" >&6
90423 # Set linker optimization flags.
90424 if test x"$with_gnu_ld" = x"yes"; then
90425 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
90431 cat >>confdefs.h <<\_ACEOF
90432 #define HAVE_GETPAGESIZE 1
90433 _ACEOF
90435 cat >>confdefs.h <<\_ACEOF
90436 #define HAVE_SIGSETJMP 1
90437 _ACEOF
90439 cat >>confdefs.h <<\_ACEOF
90440 #define HAVE_MBSTATE_T 1
90441 _ACEOF
90443 cat >>confdefs.h <<\_ACEOF
90444 #define HAVE_POLL 1
90445 _ACEOF
90447 cat >>confdefs.h <<\_ACEOF
90448 #define HAVE_S_ISREG 1
90449 _ACEOF
90451 cat >>confdefs.h <<\_ACEOF
90452 #define HAVE_LC_MESSAGES 1
90453 _ACEOF
90455 cat >>confdefs.h <<\_ACEOF
90456 #define HAVE_FINITE 1
90457 _ACEOF
90459 cat >>confdefs.h <<\_ACEOF
90460 #define HAVE_FPCLASS 1
90461 _ACEOF
90463 cat >>confdefs.h <<\_ACEOF
90464 #define HAVE_GETPAGESIZE 1
90465 _ACEOF
90467 # All of the dependencies for wide character support are here, so
90468 # turn it on.
90469 cat >>confdefs.h <<\_ACEOF
90470 #define _GLIBCXX_USE_WCHAR_T 1
90471 _ACEOF
90473 # Are these tested for even when cross?
90474 cat >>confdefs.h <<\_ACEOF
90475 #define HAVE_FLOAT_H 1
90476 _ACEOF
90478 cat >>confdefs.h <<\_ACEOF
90479 #define HAVE_IEEEFP_H 1
90480 _ACEOF
90482 cat >>confdefs.h <<\_ACEOF
90483 #define HAVE_INTTYPES_H 1
90484 _ACEOF
90486 cat >>confdefs.h <<\_ACEOF
90487 #define HAVE_LOCALE_H 1
90488 _ACEOF
90490 cat >>confdefs.h <<\_ACEOF
90491 #define HAVE_NAN_H 1
90492 _ACEOF
90494 cat >>confdefs.h <<\_ACEOF
90495 #define HAVE_SYS_FILIO_H 1
90496 _ACEOF
90498 cat >>confdefs.h <<\_ACEOF
90499 #define HAVE_SYS_IOCTL_H 1
90500 _ACEOF
90502 cat >>confdefs.h <<\_ACEOF
90503 #define HAVE_SYS_ISA_DEFS_H 1
90504 _ACEOF
90506 cat >>confdefs.h <<\_ACEOF
90507 #define HAVE_SYS_RESOURCE_H 1
90508 _ACEOF
90510 cat >>confdefs.h <<\_ACEOF
90511 #define HAVE_SYS_TIME_H 1
90512 _ACEOF
90514 cat >>confdefs.h <<\_ACEOF
90515 #define HAVE_SYS_TYPES_H 1
90516 _ACEOF
90518 cat >>confdefs.h <<\_ACEOF
90519 #define HAVE_UNISTD_H 1
90520 _ACEOF
90522 cat >>confdefs.h <<\_ACEOF
90523 #define HAVE_WCHAR_H 1
90524 _ACEOF
90526 cat >>confdefs.h <<\_ACEOF
90527 #define HAVE_WCTYPE_H 1
90528 _ACEOF
90530 cat >>confdefs.h <<\_ACEOF
90531 #define HAVE_LIBM 1
90532 _ACEOF
90535 esac
90536 case "$target" in
90537 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
90538 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
90539 cat >>confdefs.h <<\_ACEOF
90540 #define HAVE___BUILTIN_ABS 1
90541 _ACEOF
90543 cat >>confdefs.h <<\_ACEOF
90544 #define HAVE___BUILTIN_LABS 1
90545 _ACEOF
90547 cat >>confdefs.h <<\_ACEOF
90548 #define HAVE___BUILTIN_FABS 1
90549 _ACEOF
90551 cat >>confdefs.h <<\_ACEOF
90552 #define HAVE___BUILTIN_FABSF 1
90553 _ACEOF
90555 cat >>confdefs.h <<\_ACEOF
90556 #define HAVE___BUILTIN_FABSL 1
90557 _ACEOF
90559 cat >>confdefs.h <<\_ACEOF
90560 #define HAVE___BUILTIN_COS 1
90561 _ACEOF
90563 cat >>confdefs.h <<\_ACEOF
90564 #define HAVE___BUILTIN_COSF 1
90565 _ACEOF
90567 cat >>confdefs.h <<\_ACEOF
90568 #define HAVE___BUILTIN_SIN 1
90569 _ACEOF
90571 cat >>confdefs.h <<\_ACEOF
90572 #define HAVE___BUILTIN_SINF 1
90573 _ACEOF
90576 esac
90577 case "$target" in
90578 *-*-solaris2.10)
90579 # These two C99 functions are present only in Solaris >= 10
90580 cat >>confdefs.h <<\_ACEOF
90581 #define HAVE_STRTOF 1
90582 _ACEOF
90584 cat >>confdefs.h <<\_ACEOF
90585 #define HAVE_STRTOLD 1
90586 _ACEOF
90589 esac
90590 cat >>confdefs.h <<\_ACEOF
90591 #define HAVE_MMAP 1
90592 _ACEOF
90594 cat >>confdefs.h <<\_ACEOF
90595 #define HAVE_COPYSIGN 1
90596 _ACEOF
90598 cat >>confdefs.h <<\_ACEOF
90599 #define HAVE_ISNAN 1
90600 _ACEOF
90602 cat >>confdefs.h <<\_ACEOF
90603 #define HAVE_ISNANF 1
90604 _ACEOF
90606 cat >>confdefs.h <<\_ACEOF
90607 #define HAVE_MODFF 1
90608 _ACEOF
90610 cat >>confdefs.h <<\_ACEOF
90611 #define HAVE_HYPOT 1
90612 _ACEOF
90615 *-tpf)
90624 for ac_header in nan.h endian.h machine/endian.h \
90625 sys/param.h sys/types.h locale.h float.h inttypes.h
90627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90629 echo "$as_me:$LINENO: checking for $ac_header" >&5
90630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90632 echo $ECHO_N "(cached) $ECHO_C" >&6
90634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90635 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90636 else
90637 # Is the header compilable?
90638 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90639 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90640 cat >conftest.$ac_ext <<_ACEOF
90641 /* confdefs.h. */
90642 _ACEOF
90643 cat confdefs.h >>conftest.$ac_ext
90644 cat >>conftest.$ac_ext <<_ACEOF
90645 /* end confdefs.h. */
90646 $ac_includes_default
90647 #include <$ac_header>
90648 _ACEOF
90649 rm -f conftest.$ac_objext
90650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90651 (eval $ac_compile) 2>conftest.er1
90652 ac_status=$?
90653 grep -v '^ *+' conftest.er1 >conftest.err
90654 rm -f conftest.er1
90655 cat conftest.err >&5
90656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90657 (exit $ac_status); } &&
90658 { ac_try='test -z "$ac_c_werror_flag"
90659 || test ! -s conftest.err'
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); }; } &&
90665 { ac_try='test -s conftest.$ac_objext'
90666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90667 (eval $ac_try) 2>&5
90668 ac_status=$?
90669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90670 (exit $ac_status); }; }; then
90671 ac_header_compiler=yes
90672 else
90673 echo "$as_me: failed program was:" >&5
90674 sed 's/^/| /' conftest.$ac_ext >&5
90676 ac_header_compiler=no
90678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90679 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90680 echo "${ECHO_T}$ac_header_compiler" >&6
90682 # Is the header present?
90683 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90684 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90685 cat >conftest.$ac_ext <<_ACEOF
90686 /* confdefs.h. */
90687 _ACEOF
90688 cat confdefs.h >>conftest.$ac_ext
90689 cat >>conftest.$ac_ext <<_ACEOF
90690 /* end confdefs.h. */
90691 #include <$ac_header>
90692 _ACEOF
90693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90694 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90695 ac_status=$?
90696 grep -v '^ *+' conftest.er1 >conftest.err
90697 rm -f conftest.er1
90698 cat conftest.err >&5
90699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90700 (exit $ac_status); } >/dev/null; then
90701 if test -s conftest.err; then
90702 ac_cpp_err=$ac_c_preproc_warn_flag
90703 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90704 else
90705 ac_cpp_err=
90707 else
90708 ac_cpp_err=yes
90710 if test -z "$ac_cpp_err"; then
90711 ac_header_preproc=yes
90712 else
90713 echo "$as_me: failed program was:" >&5
90714 sed 's/^/| /' conftest.$ac_ext >&5
90716 ac_header_preproc=no
90718 rm -f conftest.err conftest.$ac_ext
90719 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90720 echo "${ECHO_T}$ac_header_preproc" >&6
90722 # So? What about this header?
90723 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90724 yes:no: )
90725 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90726 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90727 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90728 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90729 ac_header_preproc=yes
90731 no:yes:* )
90732 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90733 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90734 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
90735 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
90736 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90737 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90738 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
90739 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
90740 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90741 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90742 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90743 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90745 cat <<\_ASBOX
90746 ## ----------------------------------------- ##
90747 ## Report this to the package-unused lists. ##
90748 ## ----------------------------------------- ##
90749 _ASBOX
90751 sed "s/^/$as_me: WARNING: /" >&2
90753 esac
90754 echo "$as_me:$LINENO: checking for $ac_header" >&5
90755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90757 echo $ECHO_N "(cached) $ECHO_C" >&6
90758 else
90759 eval "$as_ac_Header=\$ac_header_preproc"
90761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90762 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90765 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90766 cat >>confdefs.h <<_ACEOF
90767 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90768 _ACEOF
90772 done
90774 SECTION_FLAGS='-ffunction-sections -fdata-sections'
90777 # If we're not using GNU ld, then there's no point in even trying these
90778 # tests. Check for that first. We should have already tested for gld
90779 # by now (in libtool), but require it now just to be safe...
90780 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
90781 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
90785 # The name set by libtool depends on the version of libtool. Shame on us
90786 # for depending on an impl detail, but c'est la vie. Older versions used
90787 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
90788 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
90789 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
90790 # set (hence we're using an older libtool), then set it.
90791 if test x${with_gnu_ld+set} != xset; then
90792 if test x${ac_cv_prog_gnu_ld+set} != xset; then
90793 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
90794 with_gnu_ld=no
90795 else
90796 with_gnu_ld=$ac_cv_prog_gnu_ld
90800 # Start by getting the version number. I think the libtool test already
90801 # does some of this, but throws away the result.
90802 if test x"$with_gnu_ld" = x"yes"; then
90803 echo "$as_me:$LINENO: checking for ld version" >&5
90804 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
90806 ldver=`$LD --version 2>/dev/null | head -1 | \
90807 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
90809 glibcxx_gnu_ld_version=`echo $ldver | \
90810 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
90811 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
90812 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
90815 # Set --gc-sections.
90816 glibcxx_gcsections_min_ld=21602
90817 if test x"$with_gnu_ld" = x"yes" &&
90818 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
90820 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
90821 # NB: This flag only works reliably after 2.16.1. Configure tests
90822 # for this are difficult, so hard wire a value that should work.
90824 ac_test_CFLAGS="${CFLAGS+set}"
90825 ac_save_CFLAGS="$CFLAGS"
90826 CFLAGS='-Wl,--gc-sections'
90828 # Check for -Wl,--gc-sections
90829 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
90830 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
90831 if test x$gcc_no_link = xyes; then
90832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90834 { (exit 1); exit 1; }; }
90836 cat >conftest.$ac_ext <<_ACEOF
90837 /* confdefs.h. */
90838 _ACEOF
90839 cat confdefs.h >>conftest.$ac_ext
90840 cat >>conftest.$ac_ext <<_ACEOF
90841 /* end confdefs.h. */
90842 int one(void) { return 1; }
90843 int two(void) { return 2; }
90846 main ()
90848 two();
90850 return 0;
90852 _ACEOF
90853 rm -f conftest.$ac_objext conftest$ac_exeext
90854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90855 (eval $ac_link) 2>conftest.er1
90856 ac_status=$?
90857 grep -v '^ *+' conftest.er1 >conftest.err
90858 rm -f conftest.er1
90859 cat conftest.err >&5
90860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90861 (exit $ac_status); } &&
90862 { ac_try='test -z "$ac_c_werror_flag"
90863 || test ! -s conftest.err'
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); }; } &&
90869 { ac_try='test -s conftest$ac_exeext'
90870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90871 (eval $ac_try) 2>&5
90872 ac_status=$?
90873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90874 (exit $ac_status); }; }; then
90875 ac_gcsections=yes
90876 else
90877 echo "$as_me: failed program was:" >&5
90878 sed 's/^/| /' conftest.$ac_ext >&5
90880 ac_gcsections=no
90882 rm -f conftest.err conftest.$ac_objext \
90883 conftest$ac_exeext conftest.$ac_ext
90884 if test "$ac_gcsections" = "yes"; then
90885 rm -f conftest.c
90886 touch conftest.c
90887 if $CC -c conftest.c; then
90888 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
90889 grep "Warning: gc-sections option ignored" > /dev/null; then
90890 ac_gcsections=no
90893 rm -f conftest.c conftest.o conftest
90895 if test "$ac_gcsections" = "yes"; then
90896 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
90898 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
90899 echo "${ECHO_T}$ac_gcsections" >&6
90901 if test "$ac_test_CFLAGS" = set; then
90902 CFLAGS="$ac_save_CFLAGS"
90903 else
90904 # this is the suspicious part
90905 CFLAGS=''
90909 # Set -z,relro.
90910 # Note this is only for shared objects.
90911 ac_ld_relro=no
90912 if test x"$with_gnu_ld" = x"yes"; then
90913 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
90914 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
90915 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
90916 if test -n "$cxx_z_relo"; then
90917 OPT_LDFLAGS="-Wl,-z,relro"
90918 ac_ld_relro=yes
90920 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
90921 echo "${ECHO_T}$ac_ld_relro" >&6
90924 # Set linker optimization flags.
90925 if test x"$with_gnu_ld" = x"yes"; then
90926 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
90934 echo "$as_me:$LINENO: checking for main in -lm" >&5
90935 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
90936 if test "${ac_cv_lib_m_main+set}" = set; then
90937 echo $ECHO_N "(cached) $ECHO_C" >&6
90938 else
90939 ac_check_lib_save_LIBS=$LIBS
90940 LIBS="-lm $LIBS"
90941 if test x$gcc_no_link = xyes; then
90942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90944 { (exit 1); exit 1; }; }
90946 cat >conftest.$ac_ext <<_ACEOF
90947 /* confdefs.h. */
90948 _ACEOF
90949 cat confdefs.h >>conftest.$ac_ext
90950 cat >>conftest.$ac_ext <<_ACEOF
90951 /* end confdefs.h. */
90955 main ()
90957 main ();
90959 return 0;
90961 _ACEOF
90962 rm -f conftest.$ac_objext conftest$ac_exeext
90963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90964 (eval $ac_link) 2>conftest.er1
90965 ac_status=$?
90966 grep -v '^ *+' conftest.er1 >conftest.err
90967 rm -f conftest.er1
90968 cat conftest.err >&5
90969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90970 (exit $ac_status); } &&
90971 { ac_try='test -z "$ac_c_werror_flag"
90972 || test ! -s conftest.err'
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); }; } &&
90978 { ac_try='test -s conftest$ac_exeext'
90979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90980 (eval $ac_try) 2>&5
90981 ac_status=$?
90982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90983 (exit $ac_status); }; }; then
90984 ac_cv_lib_m_main=yes
90985 else
90986 echo "$as_me: failed program was:" >&5
90987 sed 's/^/| /' conftest.$ac_ext >&5
90989 ac_cv_lib_m_main=no
90991 rm -f conftest.err conftest.$ac_objext \
90992 conftest$ac_exeext conftest.$ac_ext
90993 LIBS=$ac_check_lib_save_LIBS
90995 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
90996 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
90997 if test $ac_cv_lib_m_main = yes; then
90998 cat >>confdefs.h <<_ACEOF
90999 #define HAVE_LIBM 1
91000 _ACEOF
91002 LIBS="-lm $LIBS"
91007 for ac_func in copysignf
91009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91010 echo "$as_me:$LINENO: checking for $ac_func" >&5
91011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91012 if eval "test \"\${$as_ac_var+set}\" = set"; then
91013 echo $ECHO_N "(cached) $ECHO_C" >&6
91014 else
91015 if test x$gcc_no_link = xyes; then
91016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91018 { (exit 1); exit 1; }; }
91020 cat >conftest.$ac_ext <<_ACEOF
91021 /* confdefs.h. */
91022 _ACEOF
91023 cat confdefs.h >>conftest.$ac_ext
91024 cat >>conftest.$ac_ext <<_ACEOF
91025 /* end confdefs.h. */
91026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91028 #define $ac_func innocuous_$ac_func
91030 /* System header to define __stub macros and hopefully few prototypes,
91031 which can conflict with char $ac_func (); below.
91032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91033 <limits.h> exists even on freestanding compilers. */
91035 #ifdef __STDC__
91036 # include <limits.h>
91037 #else
91038 # include <assert.h>
91039 #endif
91041 #undef $ac_func
91043 /* Override any gcc2 internal prototype to avoid an error. */
91044 #ifdef __cplusplus
91045 extern "C"
91047 #endif
91048 /* We use char because int might match the return type of a gcc2
91049 builtin and then its argument prototype would still apply. */
91050 char $ac_func ();
91051 /* The GNU C library defines this for functions which it implements
91052 to always fail with ENOSYS. Some functions are actually named
91053 something starting with __ and the normal name is an alias. */
91054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91055 choke me
91056 #else
91057 char (*f) () = $ac_func;
91058 #endif
91059 #ifdef __cplusplus
91061 #endif
91064 main ()
91066 return f != $ac_func;
91068 return 0;
91070 _ACEOF
91071 rm -f conftest.$ac_objext conftest$ac_exeext
91072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91073 (eval $ac_link) 2>conftest.er1
91074 ac_status=$?
91075 grep -v '^ *+' conftest.er1 >conftest.err
91076 rm -f conftest.er1
91077 cat conftest.err >&5
91078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91079 (exit $ac_status); } &&
91080 { ac_try='test -z "$ac_c_werror_flag"
91081 || test ! -s conftest.err'
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); }; } &&
91087 { ac_try='test -s conftest$ac_exeext'
91088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91089 (eval $ac_try) 2>&5
91090 ac_status=$?
91091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91092 (exit $ac_status); }; }; then
91093 eval "$as_ac_var=yes"
91094 else
91095 echo "$as_me: failed program was:" >&5
91096 sed 's/^/| /' conftest.$ac_ext >&5
91098 eval "$as_ac_var=no"
91100 rm -f conftest.err conftest.$ac_objext \
91101 conftest$ac_exeext conftest.$ac_ext
91103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91105 if test `eval echo '${'$as_ac_var'}'` = yes; then
91106 cat >>confdefs.h <<_ACEOF
91107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91108 _ACEOF
91110 else
91111 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
91113 done
91117 for ac_func in __signbit
91119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91120 echo "$as_me:$LINENO: checking for $ac_func" >&5
91121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91122 if eval "test \"\${$as_ac_var+set}\" = set"; then
91123 echo $ECHO_N "(cached) $ECHO_C" >&6
91124 else
91125 if test x$gcc_no_link = xyes; then
91126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91128 { (exit 1); exit 1; }; }
91130 cat >conftest.$ac_ext <<_ACEOF
91131 /* confdefs.h. */
91132 _ACEOF
91133 cat confdefs.h >>conftest.$ac_ext
91134 cat >>conftest.$ac_ext <<_ACEOF
91135 /* end confdefs.h. */
91136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91138 #define $ac_func innocuous_$ac_func
91140 /* System header to define __stub macros and hopefully few prototypes,
91141 which can conflict with char $ac_func (); below.
91142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91143 <limits.h> exists even on freestanding compilers. */
91145 #ifdef __STDC__
91146 # include <limits.h>
91147 #else
91148 # include <assert.h>
91149 #endif
91151 #undef $ac_func
91153 /* Override any gcc2 internal prototype to avoid an error. */
91154 #ifdef __cplusplus
91155 extern "C"
91157 #endif
91158 /* We use char because int might match the return type of a gcc2
91159 builtin and then its argument prototype would still apply. */
91160 char $ac_func ();
91161 /* The GNU C library defines this for functions which it implements
91162 to always fail with ENOSYS. Some functions are actually named
91163 something starting with __ and the normal name is an alias. */
91164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91165 choke me
91166 #else
91167 char (*f) () = $ac_func;
91168 #endif
91169 #ifdef __cplusplus
91171 #endif
91174 main ()
91176 return f != $ac_func;
91178 return 0;
91180 _ACEOF
91181 rm -f conftest.$ac_objext conftest$ac_exeext
91182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91183 (eval $ac_link) 2>conftest.er1
91184 ac_status=$?
91185 grep -v '^ *+' conftest.er1 >conftest.err
91186 rm -f conftest.er1
91187 cat conftest.err >&5
91188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91189 (exit $ac_status); } &&
91190 { ac_try='test -z "$ac_c_werror_flag"
91191 || test ! -s conftest.err'
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); }; } &&
91197 { ac_try='test -s conftest$ac_exeext'
91198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91199 (eval $ac_try) 2>&5
91200 ac_status=$?
91201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91202 (exit $ac_status); }; }; then
91203 eval "$as_ac_var=yes"
91204 else
91205 echo "$as_me: failed program was:" >&5
91206 sed 's/^/| /' conftest.$ac_ext >&5
91208 eval "$as_ac_var=no"
91210 rm -f conftest.err conftest.$ac_objext \
91211 conftest$ac_exeext conftest.$ac_ext
91213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91215 if test `eval echo '${'$as_ac_var'}'` = yes; then
91216 cat >>confdefs.h <<_ACEOF
91217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91218 _ACEOF
91220 else
91221 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
91223 done
91227 for ac_func in __signbitf
91229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91230 echo "$as_me:$LINENO: checking for $ac_func" >&5
91231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91232 if eval "test \"\${$as_ac_var+set}\" = set"; then
91233 echo $ECHO_N "(cached) $ECHO_C" >&6
91234 else
91235 if test x$gcc_no_link = xyes; then
91236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91238 { (exit 1); exit 1; }; }
91240 cat >conftest.$ac_ext <<_ACEOF
91241 /* confdefs.h. */
91242 _ACEOF
91243 cat confdefs.h >>conftest.$ac_ext
91244 cat >>conftest.$ac_ext <<_ACEOF
91245 /* end confdefs.h. */
91246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91248 #define $ac_func innocuous_$ac_func
91250 /* System header to define __stub macros and hopefully few prototypes,
91251 which can conflict with char $ac_func (); below.
91252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91253 <limits.h> exists even on freestanding compilers. */
91255 #ifdef __STDC__
91256 # include <limits.h>
91257 #else
91258 # include <assert.h>
91259 #endif
91261 #undef $ac_func
91263 /* Override any gcc2 internal prototype to avoid an error. */
91264 #ifdef __cplusplus
91265 extern "C"
91267 #endif
91268 /* We use char because int might match the return type of a gcc2
91269 builtin and then its argument prototype would still apply. */
91270 char $ac_func ();
91271 /* The GNU C library defines this for functions which it implements
91272 to always fail with ENOSYS. Some functions are actually named
91273 something starting with __ and the normal name is an alias. */
91274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91275 choke me
91276 #else
91277 char (*f) () = $ac_func;
91278 #endif
91279 #ifdef __cplusplus
91281 #endif
91284 main ()
91286 return f != $ac_func;
91288 return 0;
91290 _ACEOF
91291 rm -f conftest.$ac_objext conftest$ac_exeext
91292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91293 (eval $ac_link) 2>conftest.er1
91294 ac_status=$?
91295 grep -v '^ *+' conftest.er1 >conftest.err
91296 rm -f conftest.er1
91297 cat conftest.err >&5
91298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91299 (exit $ac_status); } &&
91300 { ac_try='test -z "$ac_c_werror_flag"
91301 || test ! -s conftest.err'
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); }; } &&
91307 { ac_try='test -s conftest$ac_exeext'
91308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91309 (eval $ac_try) 2>&5
91310 ac_status=$?
91311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91312 (exit $ac_status); }; }; then
91313 eval "$as_ac_var=yes"
91314 else
91315 echo "$as_me: failed program was:" >&5
91316 sed 's/^/| /' conftest.$ac_ext >&5
91318 eval "$as_ac_var=no"
91320 rm -f conftest.err conftest.$ac_objext \
91321 conftest$ac_exeext conftest.$ac_ext
91323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91325 if test `eval echo '${'$as_ac_var'}'` = yes; then
91326 cat >>confdefs.h <<_ACEOF
91327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91328 _ACEOF
91330 else
91331 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
91333 done
91336 if test x$ac_cv_func_copysignl = x"yes"; then
91338 for ac_func in __signbitl
91340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91341 echo "$as_me:$LINENO: checking for $ac_func" >&5
91342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91343 if eval "test \"\${$as_ac_var+set}\" = set"; then
91344 echo $ECHO_N "(cached) $ECHO_C" >&6
91345 else
91346 if test x$gcc_no_link = xyes; then
91347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91349 { (exit 1); exit 1; }; }
91351 cat >conftest.$ac_ext <<_ACEOF
91352 /* confdefs.h. */
91353 _ACEOF
91354 cat confdefs.h >>conftest.$ac_ext
91355 cat >>conftest.$ac_ext <<_ACEOF
91356 /* end confdefs.h. */
91357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91359 #define $ac_func innocuous_$ac_func
91361 /* System header to define __stub macros and hopefully few prototypes,
91362 which can conflict with char $ac_func (); below.
91363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91364 <limits.h> exists even on freestanding compilers. */
91366 #ifdef __STDC__
91367 # include <limits.h>
91368 #else
91369 # include <assert.h>
91370 #endif
91372 #undef $ac_func
91374 /* Override any gcc2 internal prototype to avoid an error. */
91375 #ifdef __cplusplus
91376 extern "C"
91378 #endif
91379 /* We use char because int might match the return type of a gcc2
91380 builtin and then its argument prototype would still apply. */
91381 char $ac_func ();
91382 /* The GNU C library defines this for functions which it implements
91383 to always fail with ENOSYS. Some functions are actually named
91384 something starting with __ and the normal name is an alias. */
91385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91386 choke me
91387 #else
91388 char (*f) () = $ac_func;
91389 #endif
91390 #ifdef __cplusplus
91392 #endif
91395 main ()
91397 return f != $ac_func;
91399 return 0;
91401 _ACEOF
91402 rm -f conftest.$ac_objext conftest$ac_exeext
91403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91404 (eval $ac_link) 2>conftest.er1
91405 ac_status=$?
91406 grep -v '^ *+' conftest.er1 >conftest.err
91407 rm -f conftest.er1
91408 cat conftest.err >&5
91409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91410 (exit $ac_status); } &&
91411 { ac_try='test -z "$ac_c_werror_flag"
91412 || test ! -s conftest.err'
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); }; } &&
91418 { ac_try='test -s conftest$ac_exeext'
91419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91420 (eval $ac_try) 2>&5
91421 ac_status=$?
91422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91423 (exit $ac_status); }; }; then
91424 eval "$as_ac_var=yes"
91425 else
91426 echo "$as_me: failed program was:" >&5
91427 sed 's/^/| /' conftest.$ac_ext >&5
91429 eval "$as_ac_var=no"
91431 rm -f conftest.err conftest.$ac_objext \
91432 conftest$ac_exeext conftest.$ac_ext
91434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91436 if test `eval echo '${'$as_ac_var'}'` = yes; then
91437 cat >>confdefs.h <<_ACEOF
91438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91439 _ACEOF
91441 else
91442 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
91444 done
91448 # Used in libmath/Makefile.am.
91449 if test -n "$LIBMATHOBJS"; then
91450 need_libmath=yes
91454 cat >>confdefs.h <<\_ACEOF
91455 #define HAVE_COPYSIGN 1
91456 _ACEOF
91458 cat >>confdefs.h <<\_ACEOF
91459 #define HAVE_COPYSIGNF 1
91460 _ACEOF
91462 cat >>confdefs.h <<\_ACEOF
91463 #define HAVE_FINITE 1
91464 _ACEOF
91466 cat >>confdefs.h <<\_ACEOF
91467 #define HAVE_FINITEF 1
91468 _ACEOF
91470 cat >>confdefs.h <<\_ACEOF
91471 #define HAVE_FREXPF 1
91472 _ACEOF
91474 cat >>confdefs.h <<\_ACEOF
91475 #define HAVE_HYPOTF 1
91476 _ACEOF
91478 cat >>confdefs.h <<\_ACEOF
91479 #define HAVE_ISINF 1
91480 _ACEOF
91482 cat >>confdefs.h <<\_ACEOF
91483 #define HAVE_ISINFF 1
91484 _ACEOF
91486 cat >>confdefs.h <<\_ACEOF
91487 #define HAVE_ISNAN 1
91488 _ACEOF
91490 cat >>confdefs.h <<\_ACEOF
91491 #define HAVE_ISNANF 1
91492 _ACEOF
91494 cat >>confdefs.h <<\_ACEOF
91495 #define HAVE_SINCOS 1
91496 _ACEOF
91498 cat >>confdefs.h <<\_ACEOF
91499 #define HAVE_SINCOSF 1
91500 _ACEOF
91502 if test x"long_double_math_on_this_cpu" = x"yes"; then
91503 cat >>confdefs.h <<\_ACEOF
91504 #define HAVE_FINITEL 1
91505 _ACEOF
91507 cat >>confdefs.h <<\_ACEOF
91508 #define HAVE_HYPOTL 1
91509 _ACEOF
91511 cat >>confdefs.h <<\_ACEOF
91512 #define HAVE_ISINFL 1
91513 _ACEOF
91515 cat >>confdefs.h <<\_ACEOF
91516 #define HAVE_ISNANL 1
91517 _ACEOF
91521 *-vxworks)
91522 cat >>confdefs.h <<\_ACEOF
91523 #define HAVE_MMAP 1
91524 _ACEOF
91526 cat >>confdefs.h <<\_ACEOF
91527 #define HAVE_ACOSF 1
91528 _ACEOF
91530 cat >>confdefs.h <<\_ACEOF
91531 #define HAVE_ASINF 1
91532 _ACEOF
91534 cat >>confdefs.h <<\_ACEOF
91535 #define HAVE_ATAN2F 1
91536 _ACEOF
91538 cat >>confdefs.h <<\_ACEOF
91539 #define HAVE_ATANF 1
91540 _ACEOF
91542 cat >>confdefs.h <<\_ACEOF
91543 #define HAVE_CEILF 1
91544 _ACEOF
91546 cat >>confdefs.h <<\_ACEOF
91547 #define HAVE_COSF 1
91548 _ACEOF
91550 cat >>confdefs.h <<\_ACEOF
91551 #define HAVE_COSHF 1
91552 _ACEOF
91554 cat >>confdefs.h <<\_ACEOF
91555 #define HAVE_EXPF 1
91556 _ACEOF
91558 cat >>confdefs.h <<\_ACEOF
91559 #define HAVE_FABSF 1
91560 _ACEOF
91562 cat >>confdefs.h <<\_ACEOF
91563 #define HAVE_FLOORF 1
91564 _ACEOF
91566 cat >>confdefs.h <<\_ACEOF
91567 #define HAVE_FMODF 1
91568 _ACEOF
91570 cat >>confdefs.h <<\_ACEOF
91571 #define HAVE_HYPOT 1
91572 _ACEOF
91574 cat >>confdefs.h <<\_ACEOF
91575 #define HAVE_LOG10F 1
91576 _ACEOF
91578 cat >>confdefs.h <<\_ACEOF
91579 #define HAVE_LOGF 1
91580 _ACEOF
91582 cat >>confdefs.h <<\_ACEOF
91583 #define HAVE_POWF 1
91584 _ACEOF
91586 cat >>confdefs.h <<\_ACEOF
91587 #define HAVE_SINF 1
91588 _ACEOF
91590 cat >>confdefs.h <<\_ACEOF
91591 #define HAVE_SINHF 1
91592 _ACEOF
91594 cat >>confdefs.h <<\_ACEOF
91595 #define HAVE_SQRTF 1
91596 _ACEOF
91598 cat >>confdefs.h <<\_ACEOF
91599 #define HAVE_TANF 1
91600 _ACEOF
91602 cat >>confdefs.h <<\_ACEOF
91603 #define HAVE_TANHF 1
91604 _ACEOF
91607 *-windiss*)
91608 cat >>confdefs.h <<\_ACEOF
91609 #define HAVE_ACOSF 1
91610 _ACEOF
91612 cat >>confdefs.h <<\_ACEOF
91613 #define HAVE_ACOSL 1
91614 _ACEOF
91616 cat >>confdefs.h <<\_ACEOF
91617 #define HAVE_ASINF 1
91618 _ACEOF
91620 cat >>confdefs.h <<\_ACEOF
91621 #define HAVE_ASINL 1
91622 _ACEOF
91624 cat >>confdefs.h <<\_ACEOF
91625 #define HAVE_ATAN2F 1
91626 _ACEOF
91628 cat >>confdefs.h <<\_ACEOF
91629 #define HAVE_ATAN2L 1
91630 _ACEOF
91632 cat >>confdefs.h <<\_ACEOF
91633 #define HAVE_ATANF 1
91634 _ACEOF
91636 cat >>confdefs.h <<\_ACEOF
91637 #define HAVE_ATANL 1
91638 _ACEOF
91640 cat >>confdefs.h <<\_ACEOF
91641 #define HAVE_CEILF 1
91642 _ACEOF
91644 cat >>confdefs.h <<\_ACEOF
91645 #define HAVE_CEILL 1
91646 _ACEOF
91648 cat >>confdefs.h <<\_ACEOF
91649 #define HAVE_COPYSIGN 1
91650 _ACEOF
91652 cat >>confdefs.h <<\_ACEOF
91653 #define HAVE_COPYSIGNF 1
91654 _ACEOF
91656 cat >>confdefs.h <<\_ACEOF
91657 #define HAVE_COSF 1
91658 _ACEOF
91660 cat >>confdefs.h <<\_ACEOF
91661 #define HAVE_COSL 1
91662 _ACEOF
91664 cat >>confdefs.h <<\_ACEOF
91665 #define HAVE_COSHF 1
91666 _ACEOF
91668 cat >>confdefs.h <<\_ACEOF
91669 #define HAVE_COSHL 1
91670 _ACEOF
91672 cat >>confdefs.h <<\_ACEOF
91673 #define HAVE_EXPF 1
91674 _ACEOF
91676 cat >>confdefs.h <<\_ACEOF
91677 #define HAVE_EXPL 1
91678 _ACEOF
91680 cat >>confdefs.h <<\_ACEOF
91681 #define HAVE_FABSF 1
91682 _ACEOF
91684 cat >>confdefs.h <<\_ACEOF
91685 #define HAVE_FABSL 1
91686 _ACEOF
91688 cat >>confdefs.h <<\_ACEOF
91689 #define HAVE_FLOORF 1
91690 _ACEOF
91692 cat >>confdefs.h <<\_ACEOF
91693 #define HAVE_FLOORL 1
91694 _ACEOF
91696 cat >>confdefs.h <<\_ACEOF
91697 #define HAVE_FMODF 1
91698 _ACEOF
91700 cat >>confdefs.h <<\_ACEOF
91701 #define HAVE_FMODL 1
91702 _ACEOF
91704 cat >>confdefs.h <<\_ACEOF
91705 #define HAVE_FREXPF 1
91706 _ACEOF
91708 cat >>confdefs.h <<\_ACEOF
91709 #define HAVE_FREXPL 1
91710 _ACEOF
91712 cat >>confdefs.h <<\_ACEOF
91713 #define HAVE_LDEXPF 1
91714 _ACEOF
91716 cat >>confdefs.h <<\_ACEOF
91717 #define HAVE_LDEXPL 1
91718 _ACEOF
91720 cat >>confdefs.h <<\_ACEOF
91721 #define HAVE_LOG10F 1
91722 _ACEOF
91724 cat >>confdefs.h <<\_ACEOF
91725 #define HAVE_LOG10L 1
91726 _ACEOF
91728 cat >>confdefs.h <<\_ACEOF
91729 #define HAVE_LOGF 1
91730 _ACEOF
91732 cat >>confdefs.h <<\_ACEOF
91733 #define HAVE_MODFF 1
91734 _ACEOF
91736 cat >>confdefs.h <<\_ACEOF
91737 #define HAVE_MODFL 1
91738 _ACEOF
91740 cat >>confdefs.h <<\_ACEOF
91741 #define HAVE_POWF 1
91742 _ACEOF
91744 cat >>confdefs.h <<\_ACEOF
91745 #define HAVE_POWL 1
91746 _ACEOF
91748 cat >>confdefs.h <<\_ACEOF
91749 #define HAVE_SINF 1
91750 _ACEOF
91752 cat >>confdefs.h <<\_ACEOF
91753 #define HAVE_SINL 1
91754 _ACEOF
91756 cat >>confdefs.h <<\_ACEOF
91757 #define HAVE_SINHF 1
91758 _ACEOF
91760 cat >>confdefs.h <<\_ACEOF
91761 #define HAVE_SINHL 1
91762 _ACEOF
91764 cat >>confdefs.h <<\_ACEOF
91765 #define HAVE_SQRTF 1
91766 _ACEOF
91768 cat >>confdefs.h <<\_ACEOF
91769 #define HAVE_SQRTL 1
91770 _ACEOF
91772 cat >>confdefs.h <<\_ACEOF
91773 #define HAVE_TANF 1
91774 _ACEOF
91776 cat >>confdefs.h <<\_ACEOF
91777 #define HAVE_TANL 1
91778 _ACEOF
91780 cat >>confdefs.h <<\_ACEOF
91781 #define HAVE_TANHF 1
91782 _ACEOF
91784 cat >>confdefs.h <<\_ACEOF
91785 #define HAVE_TANHL 1
91786 _ACEOF
91790 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
91791 echo "$as_me: error: No support for this host/target combination." >&2;}
91792 { (exit 1); exit 1; }; }
91794 esac
91798 # At some point, we should differentiate between architectures
91799 # like x86, which have long double versions, and alpha/powerpc/etc.,
91800 # which don't. For the time being, punt.
91801 if test x"long_double_math_on_this_cpu" = x"yes"; then
91802 cat >>confdefs.h <<\_ACEOF
91803 #define HAVE_ACOSL 1
91804 _ACEOF
91806 cat >>confdefs.h <<\_ACEOF
91807 #define HAVE_ASINL 1
91808 _ACEOF
91810 cat >>confdefs.h <<\_ACEOF
91811 #define HAVE_ATAN2L 1
91812 _ACEOF
91814 cat >>confdefs.h <<\_ACEOF
91815 #define HAVE_ATANL 1
91816 _ACEOF
91818 cat >>confdefs.h <<\_ACEOF
91819 #define HAVE_CEILL 1
91820 _ACEOF
91822 cat >>confdefs.h <<\_ACEOF
91823 #define HAVE_COPYSIGNL 1
91824 _ACEOF
91826 cat >>confdefs.h <<\_ACEOF
91827 #define HAVE_COSL 1
91828 _ACEOF
91830 cat >>confdefs.h <<\_ACEOF
91831 #define HAVE_COSHL 1
91832 _ACEOF
91834 cat >>confdefs.h <<\_ACEOF
91835 #define HAVE_EXPL 1
91836 _ACEOF
91838 cat >>confdefs.h <<\_ACEOF
91839 #define HAVE_FABSL 1
91840 _ACEOF
91842 cat >>confdefs.h <<\_ACEOF
91843 #define HAVE_FLOORL 1
91844 _ACEOF
91846 cat >>confdefs.h <<\_ACEOF
91847 #define HAVE_FMODL 1
91848 _ACEOF
91850 cat >>confdefs.h <<\_ACEOF
91851 #define HAVE_FREXPL 1
91852 _ACEOF
91854 cat >>confdefs.h <<\_ACEOF
91855 #define HAVE_LDEXPL 1
91856 _ACEOF
91858 cat >>confdefs.h <<\_ACEOF
91859 #define HAVE_LOG10L 1
91860 _ACEOF
91862 cat >>confdefs.h <<\_ACEOF
91863 #define HAVE_LOGL 1
91864 _ACEOF
91866 cat >>confdefs.h <<\_ACEOF
91867 #define HAVE_MODFL 1
91868 _ACEOF
91870 cat >>confdefs.h <<\_ACEOF
91871 #define HAVE_POWL 1
91872 _ACEOF
91874 cat >>confdefs.h <<\_ACEOF
91875 #define HAVE_SINCOSL 1
91876 _ACEOF
91878 cat >>confdefs.h <<\_ACEOF
91879 #define HAVE_SINL 1
91880 _ACEOF
91882 cat >>confdefs.h <<\_ACEOF
91883 #define HAVE_SINHL 1
91884 _ACEOF
91886 cat >>confdefs.h <<\_ACEOF
91887 #define HAVE_SQRTL 1
91888 _ACEOF
91890 cat >>confdefs.h <<\_ACEOF
91891 #define HAVE_TANL 1
91892 _ACEOF
91894 cat >>confdefs.h <<\_ACEOF
91895 #define HAVE_TANHL 1
91896 _ACEOF
91900 # Assume we have _Unwind_GetIPInfo for cross-compiles.
91901 cat >>confdefs.h <<\_ACEOF
91902 #define HAVE_GETIPINFO 1
91903 _ACEOF
91908 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
91911 # Check whether --enable-symvers or --disable-symvers was given.
91912 if test "${enable_symvers+set}" = set; then
91913 enableval="$enable_symvers"
91915 case "$enableval" in
91916 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
91917 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
91918 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
91919 { (exit 1); exit 1; }; } ;;
91920 esac
91922 else
91923 enable_symvers=yes
91927 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
91928 # don't know enough about $LD to do tricks...
91931 # Turn a 'yes' into a suitable default.
91932 if test x$enable_symvers = xyes ; then
91933 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
91934 enable_symvers=no
91935 else
91936 if test $with_gnu_ld = yes ; then
91937 enable_symvers=gnu
91938 else
91939 case ${target_os} in
91940 darwin*)
91941 enable_symvers=darwin ;;
91943 enable_symvers=no ;;
91944 esac
91949 # Check to see if 'darwin' or 'darwin-export' can win.
91950 if test x$enable_symvers = xdarwin-export ; then
91951 enable_symvers=darwin
91954 # Check to see if 'gnu' can win.
91955 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
91956 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
91957 echo "$as_me:$LINENO: checking for shared libgcc" >&5
91958 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
91959 ac_save_CFLAGS="$CFLAGS"
91960 CFLAGS=' -lgcc_s'
91961 if test x$gcc_no_link = xyes; then
91962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91964 { (exit 1); exit 1; }; }
91966 cat >conftest.$ac_ext <<_ACEOF
91967 /* confdefs.h. */
91968 _ACEOF
91969 cat confdefs.h >>conftest.$ac_ext
91970 cat >>conftest.$ac_ext <<_ACEOF
91971 /* end confdefs.h. */
91974 main ()
91976 return 0;
91978 return 0;
91980 _ACEOF
91981 rm -f conftest.$ac_objext conftest$ac_exeext
91982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91983 (eval $ac_link) 2>conftest.er1
91984 ac_status=$?
91985 grep -v '^ *+' conftest.er1 >conftest.err
91986 rm -f conftest.er1
91987 cat conftest.err >&5
91988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91989 (exit $ac_status); } &&
91990 { ac_try='test -z "$ac_c_werror_flag"
91991 || test ! -s conftest.err'
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); }; } &&
91997 { ac_try='test -s conftest$ac_exeext'
91998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91999 (eval $ac_try) 2>&5
92000 ac_status=$?
92001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92002 (exit $ac_status); }; }; then
92003 glibcxx_shared_libgcc=yes
92004 else
92005 echo "$as_me: failed program was:" >&5
92006 sed 's/^/| /' conftest.$ac_ext >&5
92008 glibcxx_shared_libgcc=no
92010 rm -f conftest.err conftest.$ac_objext \
92011 conftest$ac_exeext conftest.$ac_ext
92012 CFLAGS="$ac_save_CFLAGS"
92013 if test $glibcxx_shared_libgcc = no; then
92014 cat > conftest.c <<EOF
92015 int main (void) { return 0; }
92017 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
92018 -shared -shared-libgcc -o conftest.so \
92019 conftest.c -v 2>&1 >/dev/null \
92020 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
92021 rm -f conftest.c conftest.so
92022 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
92023 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
92024 if test x$gcc_no_link = xyes; then
92025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92027 { (exit 1); exit 1; }; }
92029 cat >conftest.$ac_ext <<_ACEOF
92030 /* confdefs.h. */
92031 _ACEOF
92032 cat confdefs.h >>conftest.$ac_ext
92033 cat >>conftest.$ac_ext <<_ACEOF
92034 /* end confdefs.h. */
92037 main ()
92039 return 0;
92041 return 0;
92043 _ACEOF
92044 rm -f conftest.$ac_objext conftest$ac_exeext
92045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92046 (eval $ac_link) 2>conftest.er1
92047 ac_status=$?
92048 grep -v '^ *+' conftest.er1 >conftest.err
92049 rm -f conftest.er1
92050 cat conftest.err >&5
92051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92052 (exit $ac_status); } &&
92053 { ac_try='test -z "$ac_c_werror_flag"
92054 || test ! -s conftest.err'
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); }; } &&
92060 { ac_try='test -s conftest$ac_exeext'
92061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92062 (eval $ac_try) 2>&5
92063 ac_status=$?
92064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92065 (exit $ac_status); }; }; then
92066 glibcxx_shared_libgcc=yes
92067 else
92068 echo "$as_me: failed program was:" >&5
92069 sed 's/^/| /' conftest.$ac_ext >&5
92072 rm -f conftest.err conftest.$ac_objext \
92073 conftest$ac_exeext conftest.$ac_ext
92074 CFLAGS="$ac_save_CFLAGS"
92077 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
92078 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
92080 # For GNU ld, we need at least this version. The format is described in
92081 # GLIBCXX_CHECK_LINKER_FEATURES above.
92082 glibcxx_min_gnu_ld_version=21400
92084 # If no shared libgcc, can't win.
92085 if test $glibcxx_shared_libgcc != yes; then
92086 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
92087 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
92088 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
92089 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
92090 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
92091 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
92092 enable_symvers=no
92093 elif test $with_gnu_ld != yes ; then
92094 # just fail for now
92095 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
92096 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
92097 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
92098 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
92099 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
92100 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
92101 enable_symvers=no
92102 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
92103 # The right tools, the right setup, but too old. Fallbacks?
92104 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
92105 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
92106 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
92107 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
92108 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
92109 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
92110 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
92111 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
92112 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
92113 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
92114 enable_symvers=no
92118 # Everything parsed; figure out what file to use.
92119 case $enable_symvers in
92121 SYMVER_FILE=config/abi/pre/none.ver
92123 gnu)
92124 SYMVER_FILE=config/abi/pre/gnu.ver
92126 cat >>confdefs.h <<\_ACEOF
92127 #define _GLIBCXX_SYMVER_GNU 1
92128 _ACEOF
92131 gnu-versioned-namespace)
92132 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
92134 cat >>confdefs.h <<\_ACEOF
92135 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
92136 _ACEOF
92139 darwin)
92140 SYMVER_FILE=config/abi/pre/gnu.ver
92142 cat >>confdefs.h <<\_ACEOF
92143 #define _GLIBCXX_SYMVER_DARWIN 1
92144 _ACEOF
92147 esac
92149 if test x$enable_symvers != xno ; then
92151 cat >>confdefs.h <<\_ACEOF
92152 #define _GLIBCXX_SYMVER 1
92153 _ACEOF
92163 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
92164 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
92166 # Now, set up compatibility support, if any.
92167 # In addition, need this to deal with std::size_t mangling in
92168 # src/compatibility.cc. In a perfect world, could use
92169 # typeid(std::size_t).name()[0] to do direct substitution.
92170 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
92171 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
92172 ac_save_CFLAGS="$CFLAGS"
92173 CFLAGS="-Werror"
92174 cat >conftest.$ac_ext <<_ACEOF
92175 /* confdefs.h. */
92176 _ACEOF
92177 cat confdefs.h >>conftest.$ac_ext
92178 cat >>conftest.$ac_ext <<_ACEOF
92179 /* end confdefs.h. */
92182 main ()
92184 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
92186 return 0;
92188 _ACEOF
92189 rm -f conftest.$ac_objext
92190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92191 (eval $ac_compile) 2>conftest.er1
92192 ac_status=$?
92193 grep -v '^ *+' conftest.er1 >conftest.err
92194 rm -f conftest.er1
92195 cat conftest.err >&5
92196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92197 (exit $ac_status); } &&
92198 { ac_try='test -z "$ac_c_werror_flag"
92199 || test ! -s conftest.err'
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); }; } &&
92205 { ac_try='test -s conftest.$ac_objext'
92206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92207 (eval $ac_try) 2>&5
92208 ac_status=$?
92209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92210 (exit $ac_status); }; }; then
92211 glibcxx_size_t_is_i=yes
92212 else
92213 echo "$as_me: failed program was:" >&5
92214 sed 's/^/| /' conftest.$ac_ext >&5
92216 glibcxx_size_t_is_i=no
92218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92219 CFLAGS=$ac_save_CFLAGS
92220 if test "$glibcxx_size_t_is_i" = yes; then
92222 cat >>confdefs.h <<\_ACEOF
92223 #define _GLIBCXX_SIZE_T_IS_UINT 1
92224 _ACEOF
92227 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
92228 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
92230 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
92231 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
92232 ac_save_CFLAGS="$CFLAGS"
92233 CFLAGS="-Werror"
92234 cat >conftest.$ac_ext <<_ACEOF
92235 /* confdefs.h. */
92236 _ACEOF
92237 cat confdefs.h >>conftest.$ac_ext
92238 cat >>conftest.$ac_ext <<_ACEOF
92239 /* end confdefs.h. */
92242 main ()
92244 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
92246 return 0;
92248 _ACEOF
92249 rm -f conftest.$ac_objext
92250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92251 (eval $ac_compile) 2>conftest.er1
92252 ac_status=$?
92253 grep -v '^ *+' conftest.er1 >conftest.err
92254 rm -f conftest.er1
92255 cat conftest.err >&5
92256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92257 (exit $ac_status); } &&
92258 { ac_try='test -z "$ac_c_werror_flag"
92259 || test ! -s conftest.err'
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); }; } &&
92265 { ac_try='test -s conftest.$ac_objext'
92266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92267 (eval $ac_try) 2>&5
92268 ac_status=$?
92269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92270 (exit $ac_status); }; }; then
92271 glibcxx_ptrdiff_t_is_i=yes
92272 else
92273 echo "$as_me: failed program was:" >&5
92274 sed 's/^/| /' conftest.$ac_ext >&5
92276 glibcxx_ptrdiff_t_is_i=no
92278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92279 CFLAGS=$ac_save_CFLAGS
92280 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
92282 cat >>confdefs.h <<\_ACEOF
92283 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
92284 _ACEOF
92287 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
92288 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
92291 # Check whether --enable-visibility or --disable-visibility was given.
92292 if test "${enable_visibility+set}" = set; then
92293 enableval="$enable_visibility"
92295 case "$enableval" in
92296 yes|no) ;;
92297 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
92298 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
92299 { (exit 1); exit 1; }; } ;;
92300 esac
92302 else
92303 enable_visibility=yes
92307 if test x$enable_visibility = xyes ; then
92308 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
92309 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
92310 if test "${have_attribute_visibility+set}" = set; then
92311 echo $ECHO_N "(cached) $ECHO_C" >&6
92312 else
92314 save_CFLAGS="$CFLAGS"
92315 CFLAGS="$CFLAGS -Werror"
92316 cat >conftest.$ac_ext <<_ACEOF
92317 /* confdefs.h. */
92318 _ACEOF
92319 cat confdefs.h >>conftest.$ac_ext
92320 cat >>conftest.$ac_ext <<_ACEOF
92321 /* end confdefs.h. */
92322 void __attribute__((visibility("hidden"))) foo(void) { }
92324 main ()
92328 return 0;
92330 _ACEOF
92331 rm -f conftest.$ac_objext
92332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92333 (eval $ac_compile) 2>conftest.er1
92334 ac_status=$?
92335 grep -v '^ *+' conftest.er1 >conftest.err
92336 rm -f conftest.er1
92337 cat conftest.err >&5
92338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92339 (exit $ac_status); } &&
92340 { ac_try='test -z "$ac_c_werror_flag"
92341 || test ! -s conftest.err'
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); }; } &&
92347 { ac_try='test -s conftest.$ac_objext'
92348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92349 (eval $ac_try) 2>&5
92350 ac_status=$?
92351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92352 (exit $ac_status); }; }; then
92353 have_attribute_visibility=yes
92354 else
92355 echo "$as_me: failed program was:" >&5
92356 sed 's/^/| /' conftest.$ac_ext >&5
92358 have_attribute_visibility=no
92360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92361 CFLAGS="$save_CFLAGS"
92363 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
92364 echo "${ECHO_T}$have_attribute_visibility" >&6
92365 if test $have_attribute_visibility = no; then
92366 enable_visibility=no
92371 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
92372 echo "$as_me: visibility supported: $enable_visibility" >&6;}
92375 ac_ldbl_compat=no
92376 case "$target" in
92377 powerpc*-*-linux* | \
92378 powerpc*-*-gnu* | \
92379 sparc*-*-linux* | \
92380 s390*-*-linux* | \
92381 alpha*-*-linux*)
92382 cat >conftest.$ac_ext <<_ACEOF
92383 /* confdefs.h. */
92384 _ACEOF
92385 cat confdefs.h >>conftest.$ac_ext
92386 cat >>conftest.$ac_ext <<_ACEOF
92387 /* end confdefs.h. */
92390 main ()
92393 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
92394 #error no need for long double compatibility
92395 #endif
92398 return 0;
92400 _ACEOF
92401 rm -f conftest.$ac_objext
92402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92403 (eval $ac_compile) 2>conftest.er1
92404 ac_status=$?
92405 grep -v '^ *+' conftest.er1 >conftest.err
92406 rm -f conftest.er1
92407 cat conftest.err >&5
92408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92409 (exit $ac_status); } &&
92410 { ac_try='test -z "$ac_c_werror_flag"
92411 || test ! -s conftest.err'
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); }; } &&
92417 { ac_try='test -s conftest.$ac_objext'
92418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92419 (eval $ac_try) 2>&5
92420 ac_status=$?
92421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92422 (exit $ac_status); }; }; then
92423 ac_ldbl_compat=yes
92424 else
92425 echo "$as_me: failed program was:" >&5
92426 sed 's/^/| /' conftest.$ac_ext >&5
92428 ac_ldbl_compat=no
92430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92431 if test "$ac_ldbl_compat" = yes; then
92433 cat >>confdefs.h <<\_ACEOF
92434 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
92435 _ACEOF
92437 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
92439 esac
92442 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
92444 if $GLIBCXX_IS_NATIVE ; then
92445 # Do checks for resource limit functions.
92447 setrlimit_have_headers=yes
92451 for ac_header in unistd.h sys/time.h sys/resource.h
92453 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92455 echo "$as_me:$LINENO: checking for $ac_header" >&5
92456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92458 echo $ECHO_N "(cached) $ECHO_C" >&6
92460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92462 else
92463 # Is the header compilable?
92464 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92465 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92466 cat >conftest.$ac_ext <<_ACEOF
92467 /* confdefs.h. */
92468 _ACEOF
92469 cat confdefs.h >>conftest.$ac_ext
92470 cat >>conftest.$ac_ext <<_ACEOF
92471 /* end confdefs.h. */
92472 $ac_includes_default
92473 #include <$ac_header>
92474 _ACEOF
92475 rm -f conftest.$ac_objext
92476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92477 (eval $ac_compile) 2>conftest.er1
92478 ac_status=$?
92479 grep -v '^ *+' conftest.er1 >conftest.err
92480 rm -f conftest.er1
92481 cat conftest.err >&5
92482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92483 (exit $ac_status); } &&
92484 { ac_try='test -z "$ac_c_werror_flag"
92485 || test ! -s conftest.err'
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); }; } &&
92491 { ac_try='test -s conftest.$ac_objext'
92492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92493 (eval $ac_try) 2>&5
92494 ac_status=$?
92495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92496 (exit $ac_status); }; }; then
92497 ac_header_compiler=yes
92498 else
92499 echo "$as_me: failed program was:" >&5
92500 sed 's/^/| /' conftest.$ac_ext >&5
92502 ac_header_compiler=no
92504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92505 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92506 echo "${ECHO_T}$ac_header_compiler" >&6
92508 # Is the header present?
92509 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92510 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92511 cat >conftest.$ac_ext <<_ACEOF
92512 /* confdefs.h. */
92513 _ACEOF
92514 cat confdefs.h >>conftest.$ac_ext
92515 cat >>conftest.$ac_ext <<_ACEOF
92516 /* end confdefs.h. */
92517 #include <$ac_header>
92518 _ACEOF
92519 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92520 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92521 ac_status=$?
92522 grep -v '^ *+' conftest.er1 >conftest.err
92523 rm -f conftest.er1
92524 cat conftest.err >&5
92525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92526 (exit $ac_status); } >/dev/null; then
92527 if test -s conftest.err; then
92528 ac_cpp_err=$ac_c_preproc_warn_flag
92529 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92530 else
92531 ac_cpp_err=
92533 else
92534 ac_cpp_err=yes
92536 if test -z "$ac_cpp_err"; then
92537 ac_header_preproc=yes
92538 else
92539 echo "$as_me: failed program was:" >&5
92540 sed 's/^/| /' conftest.$ac_ext >&5
92542 ac_header_preproc=no
92544 rm -f conftest.err conftest.$ac_ext
92545 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92546 echo "${ECHO_T}$ac_header_preproc" >&6
92548 # So? What about this header?
92549 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92550 yes:no: )
92551 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92552 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92554 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92555 ac_header_preproc=yes
92557 no:yes:* )
92558 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92559 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92560 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
92561 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
92562 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92563 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92564 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
92565 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
92566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92567 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92568 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92569 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92571 cat <<\_ASBOX
92572 ## ----------------------------------------- ##
92573 ## Report this to the package-unused lists. ##
92574 ## ----------------------------------------- ##
92575 _ASBOX
92577 sed "s/^/$as_me: WARNING: /" >&2
92579 esac
92580 echo "$as_me:$LINENO: checking for $ac_header" >&5
92581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92583 echo $ECHO_N "(cached) $ECHO_C" >&6
92584 else
92585 eval "$as_ac_Header=\$ac_header_preproc"
92587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92591 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92592 cat >>confdefs.h <<_ACEOF
92593 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92594 _ACEOF
92596 else
92597 setrlimit_have_headers=no
92600 done
92602 # If don't have the headers, then we can't run the tests now, and we
92603 # won't be seeing any of these during testsuite compilation.
92604 if test $setrlimit_have_headers = yes; then
92605 # Can't do these in a loop, else the resulting syntax is wrong.
92607 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
92608 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
92609 cat >conftest.$ac_ext <<_ACEOF
92610 /* confdefs.h. */
92611 _ACEOF
92612 cat confdefs.h >>conftest.$ac_ext
92613 cat >>conftest.$ac_ext <<_ACEOF
92614 /* end confdefs.h. */
92615 #include <unistd.h>
92616 #include <sys/time.h>
92617 #include <sys/resource.h>
92620 main ()
92622 int f = RLIMIT_DATA ;
92624 return 0;
92626 _ACEOF
92627 rm -f conftest.$ac_objext
92628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92629 (eval $ac_compile) 2>conftest.er1
92630 ac_status=$?
92631 grep -v '^ *+' conftest.er1 >conftest.err
92632 rm -f conftest.er1
92633 cat conftest.err >&5
92634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92635 (exit $ac_status); } &&
92636 { ac_try='test -z "$ac_c_werror_flag"
92637 || test ! -s conftest.err'
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); }; } &&
92643 { ac_try='test -s conftest.$ac_objext'
92644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92645 (eval $ac_try) 2>&5
92646 ac_status=$?
92647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92648 (exit $ac_status); }; }; then
92649 glibcxx_mresult=1
92650 else
92651 echo "$as_me: failed program was:" >&5
92652 sed 's/^/| /' conftest.$ac_ext >&5
92654 glibcxx_mresult=0
92656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92658 cat >>confdefs.h <<_ACEOF
92659 #define HAVE_LIMIT_DATA $glibcxx_mresult
92660 _ACEOF
92662 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
92663 echo "$as_me:$LINENO: result: $res" >&5
92664 echo "${ECHO_T}$res" >&6
92667 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
92668 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
92669 cat >conftest.$ac_ext <<_ACEOF
92670 /* confdefs.h. */
92671 _ACEOF
92672 cat confdefs.h >>conftest.$ac_ext
92673 cat >>conftest.$ac_ext <<_ACEOF
92674 /* end confdefs.h. */
92675 #include <unistd.h>
92676 #include <sys/time.h>
92677 #include <sys/resource.h>
92680 main ()
92682 int f = RLIMIT_RSS ;
92684 return 0;
92686 _ACEOF
92687 rm -f conftest.$ac_objext
92688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92689 (eval $ac_compile) 2>conftest.er1
92690 ac_status=$?
92691 grep -v '^ *+' conftest.er1 >conftest.err
92692 rm -f conftest.er1
92693 cat conftest.err >&5
92694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92695 (exit $ac_status); } &&
92696 { ac_try='test -z "$ac_c_werror_flag"
92697 || test ! -s conftest.err'
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); }; } &&
92703 { ac_try='test -s conftest.$ac_objext'
92704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92705 (eval $ac_try) 2>&5
92706 ac_status=$?
92707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92708 (exit $ac_status); }; }; then
92709 glibcxx_mresult=1
92710 else
92711 echo "$as_me: failed program was:" >&5
92712 sed 's/^/| /' conftest.$ac_ext >&5
92714 glibcxx_mresult=0
92716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92718 cat >>confdefs.h <<_ACEOF
92719 #define HAVE_LIMIT_RSS $glibcxx_mresult
92720 _ACEOF
92722 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
92723 echo "$as_me:$LINENO: result: $res" >&5
92724 echo "${ECHO_T}$res" >&6
92727 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
92728 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
92729 cat >conftest.$ac_ext <<_ACEOF
92730 /* confdefs.h. */
92731 _ACEOF
92732 cat confdefs.h >>conftest.$ac_ext
92733 cat >>conftest.$ac_ext <<_ACEOF
92734 /* end confdefs.h. */
92735 #include <unistd.h>
92736 #include <sys/time.h>
92737 #include <sys/resource.h>
92740 main ()
92742 int f = RLIMIT_VMEM ;
92744 return 0;
92746 _ACEOF
92747 rm -f conftest.$ac_objext
92748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92749 (eval $ac_compile) 2>conftest.er1
92750 ac_status=$?
92751 grep -v '^ *+' conftest.er1 >conftest.err
92752 rm -f conftest.er1
92753 cat conftest.err >&5
92754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92755 (exit $ac_status); } &&
92756 { ac_try='test -z "$ac_c_werror_flag"
92757 || test ! -s conftest.err'
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); }; } &&
92763 { ac_try='test -s conftest.$ac_objext'
92764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92765 (eval $ac_try) 2>&5
92766 ac_status=$?
92767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92768 (exit $ac_status); }; }; then
92769 glibcxx_mresult=1
92770 else
92771 echo "$as_me: failed program was:" >&5
92772 sed 's/^/| /' conftest.$ac_ext >&5
92774 glibcxx_mresult=0
92776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92778 cat >>confdefs.h <<_ACEOF
92779 #define HAVE_LIMIT_VMEM $glibcxx_mresult
92780 _ACEOF
92782 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
92783 echo "$as_me:$LINENO: result: $res" >&5
92784 echo "${ECHO_T}$res" >&6
92787 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
92788 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
92789 cat >conftest.$ac_ext <<_ACEOF
92790 /* confdefs.h. */
92791 _ACEOF
92792 cat confdefs.h >>conftest.$ac_ext
92793 cat >>conftest.$ac_ext <<_ACEOF
92794 /* end confdefs.h. */
92795 #include <unistd.h>
92796 #include <sys/time.h>
92797 #include <sys/resource.h>
92800 main ()
92802 int f = RLIMIT_AS ;
92804 return 0;
92806 _ACEOF
92807 rm -f conftest.$ac_objext
92808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92809 (eval $ac_compile) 2>conftest.er1
92810 ac_status=$?
92811 grep -v '^ *+' conftest.er1 >conftest.err
92812 rm -f conftest.er1
92813 cat conftest.err >&5
92814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92815 (exit $ac_status); } &&
92816 { ac_try='test -z "$ac_c_werror_flag"
92817 || test ! -s conftest.err'
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); }; } &&
92823 { ac_try='test -s conftest.$ac_objext'
92824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92825 (eval $ac_try) 2>&5
92826 ac_status=$?
92827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92828 (exit $ac_status); }; }; then
92829 glibcxx_mresult=1
92830 else
92831 echo "$as_me: failed program was:" >&5
92832 sed 's/^/| /' conftest.$ac_ext >&5
92834 glibcxx_mresult=0
92836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92838 cat >>confdefs.h <<_ACEOF
92839 #define HAVE_LIMIT_AS $glibcxx_mresult
92840 _ACEOF
92842 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
92843 echo "$as_me:$LINENO: result: $res" >&5
92844 echo "${ECHO_T}$res" >&6
92847 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
92848 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
92849 cat >conftest.$ac_ext <<_ACEOF
92850 /* confdefs.h. */
92851 _ACEOF
92852 cat confdefs.h >>conftest.$ac_ext
92853 cat >>conftest.$ac_ext <<_ACEOF
92854 /* end confdefs.h. */
92855 #include <unistd.h>
92856 #include <sys/time.h>
92857 #include <sys/resource.h>
92860 main ()
92862 int f = RLIMIT_FSIZE ;
92864 return 0;
92866 _ACEOF
92867 rm -f conftest.$ac_objext
92868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92869 (eval $ac_compile) 2>conftest.er1
92870 ac_status=$?
92871 grep -v '^ *+' conftest.er1 >conftest.err
92872 rm -f conftest.er1
92873 cat conftest.err >&5
92874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92875 (exit $ac_status); } &&
92876 { ac_try='test -z "$ac_c_werror_flag"
92877 || test ! -s conftest.err'
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); }; } &&
92883 { ac_try='test -s conftest.$ac_objext'
92884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92885 (eval $ac_try) 2>&5
92886 ac_status=$?
92887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92888 (exit $ac_status); }; }; then
92889 glibcxx_mresult=1
92890 else
92891 echo "$as_me: failed program was:" >&5
92892 sed 's/^/| /' conftest.$ac_ext >&5
92894 glibcxx_mresult=0
92896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92898 cat >>confdefs.h <<_ACEOF
92899 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
92900 _ACEOF
92902 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
92903 echo "$as_me:$LINENO: result: $res" >&5
92904 echo "${ECHO_T}$res" >&6
92907 # Check for rlimit, setrlimit.
92908 if test "${ac_setrlimit+set}" = set; then
92909 echo $ECHO_N "(cached) $ECHO_C" >&6
92910 else
92912 cat >conftest.$ac_ext <<_ACEOF
92913 /* confdefs.h. */
92914 _ACEOF
92915 cat confdefs.h >>conftest.$ac_ext
92916 cat >>conftest.$ac_ext <<_ACEOF
92917 /* end confdefs.h. */
92918 #include <unistd.h>
92919 #include <sys/time.h>
92920 #include <sys/resource.h>
92923 main ()
92925 struct rlimit r;
92926 setrlimit(0, &r);
92928 return 0;
92930 _ACEOF
92931 rm -f conftest.$ac_objext
92932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92933 (eval $ac_compile) 2>conftest.er1
92934 ac_status=$?
92935 grep -v '^ *+' conftest.er1 >conftest.err
92936 rm -f conftest.er1
92937 cat conftest.err >&5
92938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92939 (exit $ac_status); } &&
92940 { ac_try='test -z "$ac_c_werror_flag"
92941 || test ! -s conftest.err'
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); }; } &&
92947 { ac_try='test -s conftest.$ac_objext'
92948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92949 (eval $ac_try) 2>&5
92950 ac_status=$?
92951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92952 (exit $ac_status); }; }; then
92953 ac_setrlimit=yes
92954 else
92955 echo "$as_me: failed program was:" >&5
92956 sed 's/^/| /' conftest.$ac_ext >&5
92958 ac_setrlimit=no
92960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92966 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
92967 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
92968 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
92969 ac_res_limits=yes
92971 cat >>confdefs.h <<\_ACEOF
92972 #define _GLIBCXX_RES_LIMITS 1
92973 _ACEOF
92975 else
92976 ac_res_limits=no
92978 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
92979 echo "${ECHO_T}$ac_res_limits" >&6
92982 # Look for setenv, so that extended locale tests can be performed.
92984 echo "$as_me:$LINENO: checking for setenv declaration" >&5
92985 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
92986 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
92987 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
92988 echo $ECHO_N "(cached) $ECHO_C" >&6
92989 else
92993 ac_ext=cc
92994 ac_cpp='$CXXCPP $CPPFLAGS'
92995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92999 cat >conftest.$ac_ext <<_ACEOF
93000 /* confdefs.h. */
93001 _ACEOF
93002 cat confdefs.h >>conftest.$ac_ext
93003 cat >>conftest.$ac_ext <<_ACEOF
93004 /* end confdefs.h. */
93005 #include <stdlib.h>
93007 main ()
93009 setenv(0, 0, 0);
93011 return 0;
93013 _ACEOF
93014 rm -f conftest.$ac_objext
93015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93016 (eval $ac_compile) 2>conftest.er1
93017 ac_status=$?
93018 grep -v '^ *+' conftest.er1 >conftest.err
93019 rm -f conftest.er1
93020 cat conftest.err >&5
93021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93022 (exit $ac_status); } &&
93023 { ac_try='test -z "$ac_cxx_werror_flag"
93024 || test ! -s conftest.err'
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); }; } &&
93030 { ac_try='test -s conftest.$ac_objext'
93031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93032 (eval $ac_try) 2>&5
93033 ac_status=$?
93034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93035 (exit $ac_status); }; }; then
93036 glibcxx_cv_func_setenv_use=yes
93037 else
93038 echo "$as_me: failed program was:" >&5
93039 sed 's/^/| /' conftest.$ac_ext >&5
93041 glibcxx_cv_func_setenv_use=no
93043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93044 ac_ext=c
93045 ac_cpp='$CPP $CPPFLAGS'
93046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93054 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
93055 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
93056 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
93058 for ac_func in setenv
93060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93061 echo "$as_me:$LINENO: checking for $ac_func" >&5
93062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93063 if eval "test \"\${$as_ac_var+set}\" = set"; then
93064 echo $ECHO_N "(cached) $ECHO_C" >&6
93065 else
93066 if test x$gcc_no_link = xyes; then
93067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93069 { (exit 1); exit 1; }; }
93071 cat >conftest.$ac_ext <<_ACEOF
93072 /* confdefs.h. */
93073 _ACEOF
93074 cat confdefs.h >>conftest.$ac_ext
93075 cat >>conftest.$ac_ext <<_ACEOF
93076 /* end confdefs.h. */
93077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93079 #define $ac_func innocuous_$ac_func
93081 /* System header to define __stub macros and hopefully few prototypes,
93082 which can conflict with char $ac_func (); below.
93083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93084 <limits.h> exists even on freestanding compilers. */
93086 #ifdef __STDC__
93087 # include <limits.h>
93088 #else
93089 # include <assert.h>
93090 #endif
93092 #undef $ac_func
93094 /* Override any gcc2 internal prototype to avoid an error. */
93095 #ifdef __cplusplus
93096 extern "C"
93098 #endif
93099 /* We use char because int might match the return type of a gcc2
93100 builtin and then its argument prototype would still apply. */
93101 char $ac_func ();
93102 /* The GNU C library defines this for functions which it implements
93103 to always fail with ENOSYS. Some functions are actually named
93104 something starting with __ and the normal name is an alias. */
93105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93106 choke me
93107 #else
93108 char (*f) () = $ac_func;
93109 #endif
93110 #ifdef __cplusplus
93112 #endif
93115 main ()
93117 return f != $ac_func;
93119 return 0;
93121 _ACEOF
93122 rm -f conftest.$ac_objext conftest$ac_exeext
93123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93124 (eval $ac_link) 2>conftest.er1
93125 ac_status=$?
93126 grep -v '^ *+' conftest.er1 >conftest.err
93127 rm -f conftest.er1
93128 cat conftest.err >&5
93129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93130 (exit $ac_status); } &&
93131 { ac_try='test -z "$ac_c_werror_flag"
93132 || test ! -s conftest.err'
93133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93134 (eval $ac_try) 2>&5
93135 ac_status=$?
93136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93137 (exit $ac_status); }; } &&
93138 { ac_try='test -s conftest$ac_exeext'
93139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93140 (eval $ac_try) 2>&5
93141 ac_status=$?
93142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93143 (exit $ac_status); }; }; then
93144 eval "$as_ac_var=yes"
93145 else
93146 echo "$as_me: failed program was:" >&5
93147 sed 's/^/| /' conftest.$ac_ext >&5
93149 eval "$as_ac_var=no"
93151 rm -f conftest.err conftest.$ac_objext \
93152 conftest$ac_exeext conftest.$ac_ext
93154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93156 if test `eval echo '${'$as_ac_var'}'` = yes; then
93157 cat >>confdefs.h <<_ACEOF
93158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93159 _ACEOF
93162 done
93168 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
93169 test $enable_symvers != no; then
93170 case "$host" in
93171 *-*-cygwin*)
93172 enable_abi_check=no ;;
93174 enable_abi_check=yes ;;
93175 esac
93176 else
93177 # Only build this as native, since automake does not understand
93178 # CXX_FOR_BUILD.
93179 enable_abi_check=no
93182 # Export file names for ABI checking.
93183 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
93187 # Propagate the target-specific source directories through the build chain.
93188 ATOMICITY_SRCDIR=config/${atomicity_dir}
93189 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
93190 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
93191 OS_INC_SRCDIR=config/${os_include_dir}
93192 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
93200 # Determine cross-compile flags and AM_CONDITIONALs.
93201 #AC_SUBST(GLIBCXX_IS_NATIVE)
93202 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
93203 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
93204 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
93207 if test $is_hosted = yes; then
93208 GLIBCXX_HOSTED_TRUE=
93209 GLIBCXX_HOSTED_FALSE='#'
93210 else
93211 GLIBCXX_HOSTED_TRUE='#'
93212 GLIBCXX_HOSTED_FALSE=
93218 if test $enable_libstdcxx_pch = yes; then
93219 GLIBCXX_BUILD_PCH_TRUE=
93220 GLIBCXX_BUILD_PCH_FALSE='#'
93221 else
93222 GLIBCXX_BUILD_PCH_TRUE='#'
93223 GLIBCXX_BUILD_PCH_FALSE=
93229 if test $enable_cheaders = c; then
93230 GLIBCXX_C_HEADERS_C_TRUE=
93231 GLIBCXX_C_HEADERS_C_FALSE='#'
93232 else
93233 GLIBCXX_C_HEADERS_C_TRUE='#'
93234 GLIBCXX_C_HEADERS_C_FALSE=
93240 if test $enable_cheaders = c_std; then
93241 GLIBCXX_C_HEADERS_C_STD_TRUE=
93242 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
93243 else
93244 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
93245 GLIBCXX_C_HEADERS_C_STD_FALSE=
93251 if test $enable_cheaders = c_global; then
93252 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
93253 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
93254 else
93255 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
93256 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
93262 if test $c_compatibility = yes; then
93263 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
93264 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
93265 else
93266 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
93267 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
93273 if test $c_extra = yes; then
93274 GLIBCXX_C_HEADERS_EXTRA_TRUE=
93275 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
93276 else
93277 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
93278 GLIBCXX_C_HEADERS_EXTRA_FALSE=
93284 if test $enable_libstdcxx_debug = yes; then
93285 GLIBCXX_BUILD_DEBUG_TRUE=
93286 GLIBCXX_BUILD_DEBUG_FALSE='#'
93287 else
93288 GLIBCXX_BUILD_DEBUG_TRUE='#'
93289 GLIBCXX_BUILD_DEBUG_FALSE=
93295 if test $enable_symvers != no; then
93296 ENABLE_SYMVERS_TRUE=
93297 ENABLE_SYMVERS_FALSE='#'
93298 else
93299 ENABLE_SYMVERS_TRUE='#'
93300 ENABLE_SYMVERS_FALSE=
93306 if test $enable_symvers = gnu; then
93307 ENABLE_SYMVERS_GNU_TRUE=
93308 ENABLE_SYMVERS_GNU_FALSE='#'
93309 else
93310 ENABLE_SYMVERS_GNU_TRUE='#'
93311 ENABLE_SYMVERS_GNU_FALSE=
93317 if test $enable_symvers = gnu-versioned-namespace; then
93318 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
93319 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
93320 else
93321 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
93322 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
93328 if test $enable_symvers = darwin; then
93329 ENABLE_SYMVERS_DARWIN_TRUE=
93330 ENABLE_SYMVERS_DARWIN_FALSE='#'
93331 else
93332 ENABLE_SYMVERS_DARWIN_TRUE='#'
93333 ENABLE_SYMVERS_DARWIN_FALSE=
93339 if test $enable_visibility = yes; then
93340 ENABLE_VISIBILITY_TRUE=
93341 ENABLE_VISIBILITY_FALSE='#'
93342 else
93343 ENABLE_VISIBILITY_TRUE='#'
93344 ENABLE_VISIBILITY_FALSE=
93350 if test $ac_ldbl_compat = yes; then
93351 GLIBCXX_LDBL_COMPAT_TRUE=
93352 GLIBCXX_LDBL_COMPAT_FALSE='#'
93353 else
93354 GLIBCXX_LDBL_COMPAT_TRUE='#'
93355 GLIBCXX_LDBL_COMPAT_FALSE=
93361 cat >confcache <<\_ACEOF
93362 # This file is a shell script that caches the results of configure
93363 # tests run on this system so they can be shared between configure
93364 # scripts and configure runs, see configure's option --config-cache.
93365 # It is not useful on other systems. If it contains results you don't
93366 # want to keep, you may remove or edit it.
93368 # config.status only pays attention to the cache file if you give it
93369 # the --recheck option to rerun configure.
93371 # `ac_cv_env_foo' variables (set or unset) will be overridden when
93372 # loading this file, other *unset* `ac_cv_foo' will be assigned the
93373 # following values.
93375 _ACEOF
93377 # The following way of writing the cache mishandles newlines in values,
93378 # but we know of no workaround that is simple, portable, and efficient.
93379 # So, don't put newlines in cache variables' values.
93380 # Ultrix sh set writes to stderr and can't be redirected directly,
93381 # and sets the high bit in the cache file unless we assign to the vars.
93383 (set) 2>&1 |
93384 case `(ac_space=' '; set | grep ac_space) 2>&1` in
93385 *ac_space=\ *)
93386 # `set' does not quote correctly, so add quotes (double-quote
93387 # substitution turns \\\\ into \\, and sed turns \\ into \).
93388 sed -n \
93389 "s/'/'\\\\''/g;
93390 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
93393 # `set' quotes correctly as required by POSIX, so do not add quotes.
93394 sed -n \
93395 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
93397 esac;
93399 sed '
93400 t clear
93401 : clear
93402 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
93403 t end
93404 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
93405 : end' >>confcache
93406 if diff $cache_file confcache >/dev/null 2>&1; then :; else
93407 if test -w $cache_file; then
93408 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
93409 cat confcache >$cache_file
93410 else
93411 echo "not updating unwritable cache $cache_file"
93414 rm -f confcache
93416 if test ${multilib} = yes; then
93417 multilib_arg="--enable-multilib"
93418 else
93419 multilib_arg=
93422 # Export all the install information.
93424 glibcxx_toolexecdir=no
93425 glibcxx_toolexeclibdir=no
93426 glibcxx_prefixdir=$prefix
93428 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
93429 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
93431 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
93432 if test "${with_gxx_include_dir+set}" = set; then
93433 withval="$with_gxx_include_dir"
93434 case "$withval" in
93435 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
93436 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
93437 { (exit 1); exit 1; }; } ;;
93438 no) gxx_include_dir=no ;;
93439 *) gxx_include_dir=$withval ;;
93440 esac
93441 else
93442 gxx_include_dir=no
93444 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
93445 echo "${ECHO_T}$gxx_include_dir" >&6
93447 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
93448 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
93449 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
93450 if test "${enable_version_specific_runtime_libs+set}" = set; then
93451 enableval="$enable_version_specific_runtime_libs"
93452 case "$enableval" in
93453 yes) version_specific_libs=yes ;;
93454 no) version_specific_libs=no ;;
93455 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
93456 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
93457 { (exit 1); exit 1; }; };;
93458 esac
93459 else
93460 version_specific_libs=no
93462 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
93463 echo "${ECHO_T}$version_specific_libs" >&6
93465 # Default case for install directory for include files.
93466 if test $version_specific_libs = no && test $gxx_include_dir = no; then
93467 gxx_include_dir='include/c++/${gcc_version}'
93468 if test -n "$with_cross_host" &&
93469 test x"$with_cross_host" != x"no"; then
93470 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
93471 else
93472 gxx_include_dir='${prefix}/'"$gxx_include_dir"
93476 # Version-specific runtime libs processing.
93477 if test $version_specific_libs = yes; then
93478 # Need the gcc compiler version to know where to install libraries
93479 # and header files if --enable-version-specific-runtime-libs option
93480 # is selected. FIXME: these variables are misnamed, there are
93481 # no executables installed in _toolexecdir or _toolexeclibdir.
93482 if test x"$gxx_include_dir" = x"no"; then
93483 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
93485 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
93486 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
93489 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
93490 # Install a library built with a cross compiler in tooldir, not libdir.
93491 if test x"$glibcxx_toolexecdir" = x"no"; then
93492 if test -n "$with_cross_host" &&
93493 test x"$with_cross_host" != x"no"; then
93494 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
93495 glibcxx_toolexeclibdir='${toolexecdir}/lib'
93496 else
93497 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
93498 glibcxx_toolexeclibdir='${libdir}'
93500 multi_os_directory=`$CXX -print-multi-os-directory`
93501 case $multi_os_directory in
93502 .) ;; # Avoid trailing /.
93503 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
93504 esac
93507 echo "$as_me:$LINENO: checking for install location" >&5
93508 echo $ECHO_N "checking for install location... $ECHO_C" >&6
93509 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
93510 echo "${ECHO_T}$gxx_include_dir" >&6
93518 # Export all the include and flag information to Makefiles.
93520 # Used for every C++ compile we perform.
93521 GLIBCXX_INCLUDES="\
93522 -I$glibcxx_builddir/include/$host_alias \
93523 -I$glibcxx_builddir/include \
93524 -I$glibcxx_srcdir/libsupc++"
93526 # For Canadian crosses, pick this up too.
93527 if test $CANADIAN = yes; then
93528 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
93531 # Stuff in the actual top level. Currently only used by libsupc++ to
93532 # get unwind* headers from the gcc dir.
93533 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
93534 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
93536 # Now, export this to all the little Makefiles....
93541 # Optimization flags that are probably a good idea for thrill-seekers. Just
93542 # uncomment the lines below and make, everything else is ready to go...
93543 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
93544 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
93547 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
93551 if test "$enable_shared" = yes; then
93552 LIBSUPCXX_PICFLAGS="-prefer-pic"
93553 else
93554 LIBSUPCXX_PICFLAGS=
93558 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
93560 ac_config_files="$ac_config_files scripts/testsuite_flags"
93563 ac_config_commands="$ac_config_commands default"
93566 cat >confcache <<\_ACEOF
93567 # This file is a shell script that caches the results of configure
93568 # tests run on this system so they can be shared between configure
93569 # scripts and configure runs, see configure's option --config-cache.
93570 # It is not useful on other systems. If it contains results you don't
93571 # want to keep, you may remove or edit it.
93573 # config.status only pays attention to the cache file if you give it
93574 # the --recheck option to rerun configure.
93576 # `ac_cv_env_foo' variables (set or unset) will be overridden when
93577 # loading this file, other *unset* `ac_cv_foo' will be assigned the
93578 # following values.
93580 _ACEOF
93582 # The following way of writing the cache mishandles newlines in values,
93583 # but we know of no workaround that is simple, portable, and efficient.
93584 # So, don't put newlines in cache variables' values.
93585 # Ultrix sh set writes to stderr and can't be redirected directly,
93586 # and sets the high bit in the cache file unless we assign to the vars.
93588 (set) 2>&1 |
93589 case `(ac_space=' '; set | grep ac_space) 2>&1` in
93590 *ac_space=\ *)
93591 # `set' does not quote correctly, so add quotes (double-quote
93592 # substitution turns \\\\ into \\, and sed turns \\ into \).
93593 sed -n \
93594 "s/'/'\\\\''/g;
93595 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
93598 # `set' quotes correctly as required by POSIX, so do not add quotes.
93599 sed -n \
93600 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
93602 esac;
93604 sed '
93605 t clear
93606 : clear
93607 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
93608 t end
93609 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
93610 : end' >>confcache
93611 if diff $cache_file confcache >/dev/null 2>&1; then :; else
93612 if test -w $cache_file; then
93613 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
93614 cat confcache >$cache_file
93615 else
93616 echo "not updating unwritable cache $cache_file"
93619 rm -f confcache
93621 test "x$prefix" = xNONE && prefix=$ac_default_prefix
93622 # Let make expand exec_prefix.
93623 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
93625 # VPATH may cause trouble with some makes, so we remove $(srcdir),
93626 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
93627 # trailing colons and then remove the whole line if VPATH becomes empty
93628 # (actually we leave an empty line to preserve line numbers).
93629 if test "x$srcdir" = x.; then
93630 ac_vpsub='/^[ ]*VPATH[ ]*=/{
93631 s/:*\$(srcdir):*/:/;
93632 s/:*\${srcdir}:*/:/;
93633 s/:*@srcdir@:*/:/;
93634 s/^\([^=]*=[ ]*\):*/\1/;
93635 s/:*$//;
93636 s/^[^=]*=[ ]*$//;
93640 DEFS=-DHAVE_CONFIG_H
93642 ac_libobjs=
93643 ac_ltlibobjs=
93644 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
93645 # 1. Remove the extension, and $U if already installed.
93646 ac_i=`echo "$ac_i" |
93647 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
93648 # 2. Add them.
93649 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
93650 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
93651 done
93652 LIBOBJS=$ac_libobjs
93654 LTLIBOBJS=$ac_ltlibobjs
93657 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
93658 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
93659 Usually this means the macro was only invoked conditionally." >&5
93660 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
93661 Usually this means the macro was only invoked conditionally." >&2;}
93662 { (exit 1); exit 1; }; }
93664 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
93665 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
93666 Usually this means the macro was only invoked conditionally." >&5
93667 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
93668 Usually this means the macro was only invoked conditionally." >&2;}
93669 { (exit 1); exit 1; }; }
93671 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
93672 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
93673 Usually this means the macro was only invoked conditionally." >&5
93674 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
93675 Usually this means the macro was only invoked conditionally." >&2;}
93676 { (exit 1); exit 1; }; }
93678 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
93679 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
93680 Usually this means the macro was only invoked conditionally." >&5
93681 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
93682 Usually this means the macro was only invoked conditionally." >&2;}
93683 { (exit 1); exit 1; }; }
93685 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
93686 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
93687 Usually this means the macro was only invoked conditionally." >&5
93688 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
93689 Usually this means the macro was only invoked conditionally." >&2;}
93690 { (exit 1); exit 1; }; }
93692 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
93693 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
93694 Usually this means the macro was only invoked conditionally." >&5
93695 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
93696 Usually this means the macro was only invoked conditionally." >&2;}
93697 { (exit 1); exit 1; }; }
93699 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
93700 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
93701 Usually this means the macro was only invoked conditionally." >&5
93702 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
93703 Usually this means the macro was only invoked conditionally." >&2;}
93704 { (exit 1); exit 1; }; }
93706 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
93707 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
93708 Usually this means the macro was only invoked conditionally." >&5
93709 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
93710 Usually this means the macro was only invoked conditionally." >&2;}
93711 { (exit 1); exit 1; }; }
93713 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
93714 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
93715 Usually this means the macro was only invoked conditionally." >&5
93716 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
93717 Usually this means the macro was only invoked conditionally." >&2;}
93718 { (exit 1); exit 1; }; }
93720 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
93721 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
93722 Usually this means the macro was only invoked conditionally." >&5
93723 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
93724 Usually this means the macro was only invoked conditionally." >&2;}
93725 { (exit 1); exit 1; }; }
93727 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
93728 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
93729 Usually this means the macro was only invoked conditionally." >&5
93730 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
93731 Usually this means the macro was only invoked conditionally." >&2;}
93732 { (exit 1); exit 1; }; }
93734 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
93735 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
93736 Usually this means the macro was only invoked conditionally." >&5
93737 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
93738 Usually this means the macro was only invoked conditionally." >&2;}
93739 { (exit 1); exit 1; }; }
93741 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
93742 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
93743 Usually this means the macro was only invoked conditionally." >&5
93744 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
93745 Usually this means the macro was only invoked conditionally." >&2;}
93746 { (exit 1); exit 1; }; }
93748 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
93749 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
93750 Usually this means the macro was only invoked conditionally." >&5
93751 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
93752 Usually this means the macro was only invoked conditionally." >&2;}
93753 { (exit 1); exit 1; }; }
93755 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
93756 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
93757 Usually this means the macro was only invoked conditionally." >&5
93758 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
93759 Usually this means the macro was only invoked conditionally." >&2;}
93760 { (exit 1); exit 1; }; }
93763 : ${CONFIG_STATUS=./config.status}
93764 ac_clean_files_save=$ac_clean_files
93765 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
93766 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
93767 echo "$as_me: creating $CONFIG_STATUS" >&6;}
93768 cat >$CONFIG_STATUS <<_ACEOF
93769 #! $SHELL
93770 # Generated by $as_me.
93771 # Run this file to recreate the current configuration.
93772 # Compiler output produced by configure, useful for debugging
93773 # configure, is in config.log if it exists.
93775 debug=false
93776 ac_cs_recheck=false
93777 ac_cs_silent=false
93778 SHELL=\${CONFIG_SHELL-$SHELL}
93779 _ACEOF
93781 cat >>$CONFIG_STATUS <<\_ACEOF
93782 ## --------------------- ##
93783 ## M4sh Initialization. ##
93784 ## --------------------- ##
93786 # Be Bourne compatible
93787 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
93788 emulate sh
93789 NULLCMD=:
93790 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
93791 # is contrary to our usage. Disable this feature.
93792 alias -g '${1+"$@"}'='"$@"'
93793 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
93794 set -o posix
93796 DUALCASE=1; export DUALCASE # for MKS sh
93798 # Support unset when possible.
93799 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
93800 as_unset=unset
93801 else
93802 as_unset=false
93806 # Work around bugs in pre-3.0 UWIN ksh.
93807 $as_unset ENV MAIL MAILPATH
93808 PS1='$ '
93809 PS2='> '
93810 PS4='+ '
93812 # NLS nuisances.
93813 for as_var in \
93814 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
93815 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
93816 LC_TELEPHONE LC_TIME
93818 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
93819 eval $as_var=C; export $as_var
93820 else
93821 $as_unset $as_var
93823 done
93825 # Required to use basename.
93826 if expr a : '\(a\)' >/dev/null 2>&1; then
93827 as_expr=expr
93828 else
93829 as_expr=false
93832 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
93833 as_basename=basename
93834 else
93835 as_basename=false
93839 # Name of the executable.
93840 as_me=`$as_basename "$0" ||
93841 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
93842 X"$0" : 'X\(//\)$' \| \
93843 X"$0" : 'X\(/\)$' \| \
93844 . : '\(.\)' 2>/dev/null ||
93845 echo X/"$0" |
93846 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
93847 /^X\/\(\/\/\)$/{ s//\1/; q; }
93848 /^X\/\(\/\).*/{ s//\1/; q; }
93849 s/.*/./; q'`
93852 # PATH needs CR, and LINENO needs CR and PATH.
93853 # Avoid depending upon Character Ranges.
93854 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
93855 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
93856 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
93857 as_cr_digits='0123456789'
93858 as_cr_alnum=$as_cr_Letters$as_cr_digits
93860 # The user is always right.
93861 if test "${PATH_SEPARATOR+set}" != set; then
93862 echo "#! /bin/sh" >conf$$.sh
93863 echo "exit 0" >>conf$$.sh
93864 chmod +x conf$$.sh
93865 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
93866 PATH_SEPARATOR=';'
93867 else
93868 PATH_SEPARATOR=:
93870 rm -f conf$$.sh
93874 as_lineno_1=$LINENO
93875 as_lineno_2=$LINENO
93876 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
93877 test "x$as_lineno_1" != "x$as_lineno_2" &&
93878 test "x$as_lineno_3" = "x$as_lineno_2" || {
93879 # Find who we are. Look in the path if we contain no path at all
93880 # relative or not.
93881 case $0 in
93882 *[\\/]* ) as_myself=$0 ;;
93883 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93884 for as_dir in $PATH
93886 IFS=$as_save_IFS
93887 test -z "$as_dir" && as_dir=.
93888 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
93889 done
93892 esac
93893 # We did not find ourselves, most probably we were run as `sh COMMAND'
93894 # in which case we are not to be found in the path.
93895 if test "x$as_myself" = x; then
93896 as_myself=$0
93898 if test ! -f "$as_myself"; then
93899 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
93900 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
93901 { (exit 1); exit 1; }; }
93903 case $CONFIG_SHELL in
93905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93906 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
93908 IFS=$as_save_IFS
93909 test -z "$as_dir" && as_dir=.
93910 for as_base in sh bash ksh sh5; do
93911 case $as_dir in
93913 if ("$as_dir/$as_base" -c '
93914 as_lineno_1=$LINENO
93915 as_lineno_2=$LINENO
93916 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
93917 test "x$as_lineno_1" != "x$as_lineno_2" &&
93918 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
93919 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
93920 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
93921 CONFIG_SHELL=$as_dir/$as_base
93922 export CONFIG_SHELL
93923 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
93924 fi;;
93925 esac
93926 done
93927 done
93929 esac
93931 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
93932 # uniformly replaced by the line number. The first 'sed' inserts a
93933 # line-number line before each line; the second 'sed' does the real
93934 # work. The second script uses 'N' to pair each line-number line
93935 # with the numbered line, and appends trailing '-' during
93936 # substitution so that $LINENO is not a special case at line end.
93937 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
93938 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
93939 sed '=' <$as_myself |
93940 sed '
93942 s,$,-,
93943 : loop
93944 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
93945 t loop
93946 s,-$,,
93947 s,^['$as_cr_digits']*\n,,
93948 ' >$as_me.lineno &&
93949 chmod +x $as_me.lineno ||
93950 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
93951 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
93952 { (exit 1); exit 1; }; }
93954 # Don't try to exec as it changes $[0], causing all sort of problems
93955 # (the dirname of $[0] is not the place where we might find the
93956 # original and so on. Autoconf is especially sensible to this).
93957 . ./$as_me.lineno
93958 # Exit status is that of the last command.
93959 exit
93963 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
93964 *c*,-n*) ECHO_N= ECHO_C='
93965 ' ECHO_T=' ' ;;
93966 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
93967 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
93968 esac
93970 if expr a : '\(a\)' >/dev/null 2>&1; then
93971 as_expr=expr
93972 else
93973 as_expr=false
93976 rm -f conf$$ conf$$.exe conf$$.file
93977 echo >conf$$.file
93978 if ln -s conf$$.file conf$$ 2>/dev/null; then
93979 # We could just check for DJGPP; but this test a) works b) is more generic
93980 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
93981 if test -f conf$$.exe; then
93982 # Don't use ln at all; we don't have any links
93983 as_ln_s='cp -p'
93984 else
93985 as_ln_s='ln -s'
93987 elif ln conf$$.file conf$$ 2>/dev/null; then
93988 as_ln_s=ln
93989 else
93990 as_ln_s='cp -p'
93992 rm -f conf$$ conf$$.exe conf$$.file
93994 if mkdir -p . 2>/dev/null; then
93995 as_mkdir_p=:
93996 else
93997 test -d ./-p && rmdir ./-p
93998 as_mkdir_p=false
94001 as_executable_p="test -f"
94003 # Sed expression to map a string onto a valid CPP name.
94004 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
94006 # Sed expression to map a string onto a valid variable name.
94007 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
94010 # IFS
94011 # We need space, tab and new line, in precisely that order.
94012 as_nl='
94014 IFS=" $as_nl"
94016 # CDPATH.
94017 $as_unset CDPATH
94019 exec 6>&1
94021 # Open the log real soon, to keep \$[0] and so on meaningful, and to
94022 # report actual input values of CONFIG_FILES etc. instead of their
94023 # values after options handling. Logging --version etc. is OK.
94024 exec 5>>config.log
94026 echo
94027 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
94028 ## Running $as_me. ##
94029 _ASBOX
94030 } >&5
94031 cat >&5 <<_CSEOF
94033 This file was extended by package-unused $as_me version-unused, which was
94034 generated by GNU Autoconf 2.59. Invocation command line was
94036 CONFIG_FILES = $CONFIG_FILES
94037 CONFIG_HEADERS = $CONFIG_HEADERS
94038 CONFIG_LINKS = $CONFIG_LINKS
94039 CONFIG_COMMANDS = $CONFIG_COMMANDS
94040 $ $0 $@
94042 _CSEOF
94043 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
94044 echo >&5
94045 _ACEOF
94047 # Files that config.status was made for.
94048 if test -n "$ac_config_files"; then
94049 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
94052 if test -n "$ac_config_headers"; then
94053 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
94056 if test -n "$ac_config_links"; then
94057 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
94060 if test -n "$ac_config_commands"; then
94061 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
94064 cat >>$CONFIG_STATUS <<\_ACEOF
94066 ac_cs_usage="\
94067 \`$as_me' instantiates files from templates according to the
94068 current configuration.
94070 Usage: $0 [OPTIONS] [FILE]...
94072 -h, --help print this help, then exit
94073 -V, --version print version number, then exit
94074 -q, --quiet do not print progress messages
94075 -d, --debug don't remove temporary files
94076 --recheck update $as_me by reconfiguring in the same conditions
94077 --file=FILE[:TEMPLATE]
94078 instantiate the configuration file FILE
94079 --header=FILE[:TEMPLATE]
94080 instantiate the configuration header FILE
94082 Configuration files:
94083 $config_files
94085 Configuration headers:
94086 $config_headers
94088 Configuration commands:
94089 $config_commands
94091 Report bugs to <bug-autoconf@gnu.org>."
94092 _ACEOF
94094 cat >>$CONFIG_STATUS <<_ACEOF
94095 ac_cs_version="\\
94096 package-unused config.status version-unused
94097 configured by $0, generated by GNU Autoconf 2.59,
94098 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
94100 Copyright (C) 2003 Free Software Foundation, Inc.
94101 This config.status script is free software; the Free Software Foundation
94102 gives unlimited permission to copy, distribute and modify it."
94103 srcdir=$srcdir
94104 INSTALL="$INSTALL"
94105 _ACEOF
94107 cat >>$CONFIG_STATUS <<\_ACEOF
94108 # If no file are specified by the user, then we need to provide default
94109 # value. By we need to know if files were specified by the user.
94110 ac_need_defaults=:
94111 while test $# != 0
94113 case $1 in
94114 --*=*)
94115 ac_option=`expr "x$1" : 'x\([^=]*\)='`
94116 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
94117 ac_shift=:
94120 ac_option=$1
94121 ac_optarg=$2
94122 ac_shift=shift
94124 *) # This is not an option, so the user has probably given explicit
94125 # arguments.
94126 ac_option=$1
94127 ac_need_defaults=false;;
94128 esac
94130 case $ac_option in
94131 # Handling of the options.
94132 _ACEOF
94133 cat >>$CONFIG_STATUS <<\_ACEOF
94134 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
94135 ac_cs_recheck=: ;;
94136 --version | --vers* | -V )
94137 echo "$ac_cs_version"; exit 0 ;;
94138 --he | --h)
94139 # Conflict between --help and --header
94140 { { echo "$as_me:$LINENO: error: ambiguous option: $1
94141 Try \`$0 --help' for more information." >&5
94142 echo "$as_me: error: ambiguous option: $1
94143 Try \`$0 --help' for more information." >&2;}
94144 { (exit 1); exit 1; }; };;
94145 --help | --hel | -h )
94146 echo "$ac_cs_usage"; exit 0 ;;
94147 --debug | --d* | -d )
94148 debug=: ;;
94149 --file | --fil | --fi | --f )
94150 $ac_shift
94151 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
94152 ac_need_defaults=false;;
94153 --header | --heade | --head | --hea )
94154 $ac_shift
94155 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
94156 ac_need_defaults=false;;
94157 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
94158 | -silent | --silent | --silen | --sile | --sil | --si | --s)
94159 ac_cs_silent=: ;;
94161 # This is an error.
94162 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
94163 Try \`$0 --help' for more information." >&5
94164 echo "$as_me: error: unrecognized option: $1
94165 Try \`$0 --help' for more information." >&2;}
94166 { (exit 1); exit 1; }; } ;;
94168 *) ac_config_targets="$ac_config_targets $1" ;;
94170 esac
94171 shift
94172 done
94174 ac_configure_extra_args=
94176 if $ac_cs_silent; then
94177 exec 6>/dev/null
94178 ac_configure_extra_args="$ac_configure_extra_args --silent"
94181 _ACEOF
94182 cat >>$CONFIG_STATUS <<_ACEOF
94183 if \$ac_cs_recheck; then
94184 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
94185 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
94188 _ACEOF
94190 cat >>$CONFIG_STATUS <<_ACEOF
94192 # INIT-COMMANDS section.
94196 srcdir="$srcdir"
94197 host="$host"
94198 target="$target"
94199 with_multisubdir="$with_multisubdir"
94200 with_multisrctop="$with_multisrctop"
94201 with_target_subdir="$with_target_subdir"
94202 ac_configure_args="${multilib_arg} ${ac_configure_args}"
94203 multi_basedir="$multi_basedir"
94204 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
94205 CC="$CC"
94208 # The HP-UX ksh and POSIX shell print the target directory to stdout
94209 # if CDPATH is set.
94210 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
94212 sed_quote_subst='$sed_quote_subst'
94213 double_quote_subst='$double_quote_subst'
94214 delay_variable_subst='$delay_variable_subst'
94215 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
94216 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
94217 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
94218 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
94219 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
94220 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
94221 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
94222 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
94223 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
94224 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
94225 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
94226 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
94227 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
94228 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
94229 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
94230 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
94231 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
94232 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
94233 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
94234 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
94235 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
94236 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
94237 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
94238 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
94239 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
94240 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
94241 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
94242 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94243 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
94244 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
94245 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
94246 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
94247 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
94248 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
94249 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94250 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94251 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94252 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
94253 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
94254 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
94255 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
94256 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
94257 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
94258 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"`'
94259 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
94260 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
94261 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
94262 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
94263 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
94264 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
94265 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
94266 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
94267 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
94268 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
94269 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
94270 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94271 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94272 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
94273 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
94274 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
94275 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
94276 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
94277 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94278 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94279 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94280 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94281 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94282 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94283 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
94284 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
94285 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
94286 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
94287 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
94288 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
94289 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
94290 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
94291 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
94292 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
94293 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
94294 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
94295 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
94296 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
94297 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
94298 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94299 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
94300 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
94301 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94302 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
94303 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
94304 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
94305 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
94306 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
94307 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
94308 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
94309 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
94310 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
94311 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
94312 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
94313 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94314 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94315 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94316 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
94317 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
94318 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
94319 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
94320 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
94321 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
94322 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
94323 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
94324 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
94325 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
94326 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
94327 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
94328 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
94329 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
94330 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
94331 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94332 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94333 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94334 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94335 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94336 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94337 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94338 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94339 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94340 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94341 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94342 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94343 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94344 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94345 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94346 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94347 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94348 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94349 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94350 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94351 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94352 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94353 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94354 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94355 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94356 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94357 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94358 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94359 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94360 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94361 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94362 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94363 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94364 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94365 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94366 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94367 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94368 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94369 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94370 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94371 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94372 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94373 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94374 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94375 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94376 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94378 LTCC='$LTCC'
94379 LTCFLAGS='$LTCFLAGS'
94380 compiler='$compiler_DEFAULT'
94382 # Quote evaled strings.
94383 for var in SED \
94384 GREP \
94385 EGREP \
94386 FGREP \
94387 LD \
94388 NM \
94389 LN_S \
94390 lt_SP2NL \
94391 lt_NL2SP \
94392 reload_flag \
94393 deplibs_check_method \
94394 file_magic_cmd \
94395 AR \
94396 AR_FLAGS \
94397 STRIP \
94398 RANLIB \
94399 CC \
94400 CFLAGS \
94401 compiler \
94402 lt_cv_sys_global_symbol_pipe \
94403 lt_cv_sys_global_symbol_to_cdecl \
94404 lt_cv_sys_global_symbol_to_c_name_address \
94405 SHELL \
94406 ECHO \
94407 lt_prog_compiler_no_builtin_flag \
94408 lt_prog_compiler_wl \
94409 lt_prog_compiler_pic \
94410 lt_prog_compiler_static \
94411 lt_cv_prog_compiler_c_o \
94412 need_locks \
94413 shrext_cmds \
94414 export_dynamic_flag_spec \
94415 whole_archive_flag_spec \
94416 compiler_needs_object \
94417 with_gnu_ld \
94418 allow_undefined_flag \
94419 no_undefined_flag \
94420 hardcode_libdir_flag_spec \
94421 hardcode_libdir_flag_spec_ld \
94422 hardcode_libdir_separator \
94423 fix_srcfile_path \
94424 exclude_expsyms \
94425 include_expsyms \
94426 file_list_spec \
94427 variables_saved_for_relink \
94428 libname_spec \
94429 library_names_spec \
94430 soname_spec \
94431 finish_eval \
94432 old_striplib \
94433 striplib \
94434 predep_objects \
94435 postdep_objects \
94436 predeps \
94437 postdeps \
94438 compiler_lib_search_path \
94439 LD_CXX \
94440 compiler_CXX \
94441 lt_prog_compiler_no_builtin_flag_CXX \
94442 lt_prog_compiler_wl_CXX \
94443 lt_prog_compiler_pic_CXX \
94444 lt_prog_compiler_static_CXX \
94445 lt_cv_prog_compiler_c_o_CXX \
94446 export_dynamic_flag_spec_CXX \
94447 whole_archive_flag_spec_CXX \
94448 compiler_needs_object_CXX \
94449 with_gnu_ld_CXX \
94450 allow_undefined_flag_CXX \
94451 no_undefined_flag_CXX \
94452 hardcode_libdir_flag_spec_CXX \
94453 hardcode_libdir_flag_spec_ld_CXX \
94454 hardcode_libdir_separator_CXX \
94455 fix_srcfile_path_CXX \
94456 exclude_expsyms_CXX \
94457 include_expsyms_CXX \
94458 file_list_spec_CXX \
94459 predep_objects_CXX \
94460 postdep_objects_CXX \
94461 predeps_CXX \
94462 postdeps_CXX \
94463 compiler_lib_search_path_CXX; do
94464 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
94465 *[\\\\\\\`\\"\\\$]*)
94466 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
94469 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
94471 esac
94472 done
94474 # Double-quote double-evaled strings.
94475 for var in reload_cmds \
94476 old_postinstall_cmds \
94477 old_postuninstall_cmds \
94478 old_archive_cmds \
94479 extract_expsyms_cmds \
94480 old_archive_from_new_cmds \
94481 old_archive_from_expsyms_cmds \
94482 archive_cmds \
94483 archive_expsym_cmds \
94484 module_cmds \
94485 module_expsym_cmds \
94486 export_symbols_cmds \
94487 prelink_cmds \
94488 postinstall_cmds \
94489 postuninstall_cmds \
94490 finish_cmds \
94491 sys_lib_search_path_spec \
94492 sys_lib_dlsearch_path_spec \
94493 old_archive_cmds_CXX \
94494 old_archive_from_new_cmds_CXX \
94495 old_archive_from_expsyms_cmds_CXX \
94496 archive_cmds_CXX \
94497 archive_expsym_cmds_CXX \
94498 module_cmds_CXX \
94499 module_expsym_cmds_CXX \
94500 export_symbols_cmds_CXX \
94501 prelink_cmds_CXX; do
94502 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
94503 *[\\\\\\\`\\"\\\$]*)
94504 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
94507 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
94509 esac
94510 done
94512 # Fix-up fallback echo if it was mangled by the above quoting rules.
94513 case \$lt_ECHO in
94514 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
94516 esac
94518 ac_aux_dir='$ac_aux_dir'
94519 xsi_shell='$xsi_shell'
94520 lt_shell_append='$lt_shell_append'
94522 # See if we are running on zsh, and set the options which allow our
94523 # commands through without removal of \ escapes INIT.
94524 if test -n "\${ZSH_VERSION+set}" ; then
94525 setopt NO_GLOB_SUBST
94529 PACKAGE='$PACKAGE'
94530 VERSION='$VERSION'
94531 TIMESTAMP='$TIMESTAMP'
94532 RM='$RM'
94533 ofile='$ofile'
94540 # Variables needed in config.status (file generation) which aren't already
94541 # passed by autoconf.
94542 SUBDIRS="$SUBDIRS"
94545 _ACEOF
94549 cat >>$CONFIG_STATUS <<\_ACEOF
94550 for ac_config_target in $ac_config_targets
94552 case "$ac_config_target" in
94553 # Handling of arguments.
94554 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
94555 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
94556 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
94557 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
94558 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
94559 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
94560 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
94561 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
94562 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
94563 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
94564 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
94565 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
94566 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
94567 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
94568 { (exit 1); exit 1; }; };;
94569 esac
94570 done
94572 # If the user did not use the arguments to specify the items to instantiate,
94573 # then the envvar interface is used. Set only those that are not.
94574 # We use the long form for the default assignment because of an extremely
94575 # bizarre bug on SunOS 4.1.3.
94576 if $ac_need_defaults; then
94577 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
94578 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
94579 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
94582 # Have a temporary directory for convenience. Make it in the build tree
94583 # simply because there is no reason to put it here, and in addition,
94584 # creating and moving files from /tmp can sometimes cause problems.
94585 # Create a temporary directory, and hook for its removal unless debugging.
94586 $debug ||
94588 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
94589 trap '{ (exit 1); exit 1; }' 1 2 13 15
94592 # Create a (secure) tmp directory for tmp files.
94595 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
94596 test -n "$tmp" && test -d "$tmp"
94597 } ||
94599 tmp=./confstat$$-$RANDOM
94600 (umask 077 && mkdir $tmp)
94601 } ||
94603 echo "$me: cannot create a temporary directory in ." >&2
94604 { (exit 1); exit 1; }
94607 _ACEOF
94609 cat >>$CONFIG_STATUS <<_ACEOF
94612 # CONFIG_FILES section.
94615 # No need to generate the scripts if there are no CONFIG_FILES.
94616 # This happens for instance when ./config.status config.h
94617 if test -n "\$CONFIG_FILES"; then
94618 # Protect against being on the right side of a sed subst in config.status.
94619 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
94620 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
94621 s,@SHELL@,$SHELL,;t t
94622 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
94623 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
94624 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
94625 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
94626 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
94627 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
94628 s,@exec_prefix@,$exec_prefix,;t t
94629 s,@prefix@,$prefix,;t t
94630 s,@program_transform_name@,$program_transform_name,;t t
94631 s,@bindir@,$bindir,;t t
94632 s,@sbindir@,$sbindir,;t t
94633 s,@libexecdir@,$libexecdir,;t t
94634 s,@datadir@,$datadir,;t t
94635 s,@sysconfdir@,$sysconfdir,;t t
94636 s,@sharedstatedir@,$sharedstatedir,;t t
94637 s,@localstatedir@,$localstatedir,;t t
94638 s,@libdir@,$libdir,;t t
94639 s,@includedir@,$includedir,;t t
94640 s,@oldincludedir@,$oldincludedir,;t t
94641 s,@infodir@,$infodir,;t t
94642 s,@mandir@,$mandir,;t t
94643 s,@build_alias@,$build_alias,;t t
94644 s,@host_alias@,$host_alias,;t t
94645 s,@target_alias@,$target_alias,;t t
94646 s,@DEFS@,$DEFS,;t t
94647 s,@ECHO_C@,$ECHO_C,;t t
94648 s,@ECHO_N@,$ECHO_N,;t t
94649 s,@ECHO_T@,$ECHO_T,;t t
94650 s,@LIBS@,$LIBS,;t t
94651 s,@libtool_VERSION@,$libtool_VERSION,;t t
94652 s,@multi_basedir@,$multi_basedir,;t t
94653 s,@build@,$build,;t t
94654 s,@build_cpu@,$build_cpu,;t t
94655 s,@build_vendor@,$build_vendor,;t t
94656 s,@build_os@,$build_os,;t t
94657 s,@host@,$host,;t t
94658 s,@host_cpu@,$host_cpu,;t t
94659 s,@host_vendor@,$host_vendor,;t t
94660 s,@host_os@,$host_os,;t t
94661 s,@target@,$target,;t t
94662 s,@target_cpu@,$target_cpu,;t t
94663 s,@target_vendor@,$target_vendor,;t t
94664 s,@target_os@,$target_os,;t t
94665 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
94666 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
94667 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
94668 s,@CYGPATH_W@,$CYGPATH_W,;t t
94669 s,@PACKAGE@,$PACKAGE,;t t
94670 s,@VERSION@,$VERSION,;t t
94671 s,@ACLOCAL@,$ACLOCAL,;t t
94672 s,@AUTOCONF@,$AUTOCONF,;t t
94673 s,@AUTOMAKE@,$AUTOMAKE,;t t
94674 s,@AUTOHEADER@,$AUTOHEADER,;t t
94675 s,@MAKEINFO@,$MAKEINFO,;t t
94676 s,@install_sh@,$install_sh,;t t
94677 s,@STRIP@,$STRIP,;t t
94678 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
94679 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
94680 s,@mkdir_p@,$mkdir_p,;t t
94681 s,@AWK@,$AWK,;t t
94682 s,@SET_MAKE@,$SET_MAKE,;t t
94683 s,@am__leading_dot@,$am__leading_dot,;t t
94684 s,@AMTAR@,$AMTAR,;t t
94685 s,@am__tar@,$am__tar,;t t
94686 s,@am__untar@,$am__untar,;t t
94687 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
94688 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
94689 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
94690 s,@CC@,$CC,;t t
94691 s,@ac_ct_CC@,$ac_ct_CC,;t t
94692 s,@EXEEXT@,$EXEEXT,;t t
94693 s,@OBJEXT@,$OBJEXT,;t t
94694 s,@CXX@,$CXX,;t t
94695 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
94696 s,@CFLAGS@,$CFLAGS,;t t
94697 s,@CXXFLAGS@,$CXXFLAGS,;t t
94698 s,@LN_S@,$LN_S,;t t
94699 s,@AS@,$AS,;t t
94700 s,@ac_ct_AS@,$ac_ct_AS,;t t
94701 s,@AR@,$AR,;t t
94702 s,@ac_ct_AR@,$ac_ct_AR,;t t
94703 s,@RANLIB@,$RANLIB,;t t
94704 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
94705 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
94706 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
94707 s,@MAINT@,$MAINT,;t t
94708 s,@CPP@,$CPP,;t t
94709 s,@CPPFLAGS@,$CPPFLAGS,;t t
94710 s,@EGREP@,$EGREP,;t t
94711 s,@LIBTOOL@,$LIBTOOL,;t t
94712 s,@SED@,$SED,;t t
94713 s,@FGREP@,$FGREP,;t t
94714 s,@GREP@,$GREP,;t t
94715 s,@LD@,$LD,;t t
94716 s,@DUMPBIN@,$DUMPBIN,;t t
94717 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
94718 s,@NM@,$NM,;t t
94719 s,@lt_ECHO@,$lt_ECHO,;t t
94720 s,@LDFLAGS@,$LDFLAGS,;t t
94721 s,@CXXCPP@,$CXXCPP,;t t
94722 s,@enable_shared@,$enable_shared,;t t
94723 s,@enable_static@,$enable_static,;t t
94724 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
94725 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
94726 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
94727 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
94728 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
94729 s,@CSTDIO_H@,$CSTDIO_H,;t t
94730 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
94731 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
94732 s,@check_msgfmt@,$check_msgfmt,;t t
94733 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
94734 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
94735 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
94736 s,@USE_NLS@,$USE_NLS,;t t
94737 s,@CLOCALE_H@,$CLOCALE_H,;t t
94738 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
94739 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
94740 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
94741 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
94742 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
94743 s,@CMONEY_CC@,$CMONEY_CC,;t t
94744 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
94745 s,@CTIME_H@,$CTIME_H,;t t
94746 s,@CTIME_CC@,$CTIME_CC,;t t
94747 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
94748 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
94749 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
94750 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
94751 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
94752 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
94753 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
94754 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
94755 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
94756 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
94757 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
94758 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
94759 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
94760 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
94761 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
94762 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
94763 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
94764 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
94765 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
94766 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
94767 s,@WERROR@,$WERROR,;t t
94768 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
94769 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
94770 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
94771 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
94772 s,@LIBICONV@,$LIBICONV,;t t
94773 s,@LTLIBICONV@,$LTLIBICONV,;t t
94774 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
94775 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
94776 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
94777 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
94778 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
94779 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
94780 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
94781 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
94782 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
94783 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
94784 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
94785 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
94786 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
94787 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
94788 s,@baseline_dir@,$baseline_dir,;t t
94789 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
94790 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
94791 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
94792 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
94793 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
94794 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
94795 s,@gxx_include_dir@,$gxx_include_dir,;t t
94796 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
94797 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
94798 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
94799 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
94800 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
94801 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
94802 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
94803 s,@LIBOBJS@,$LIBOBJS,;t t
94804 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
94805 CEOF
94807 _ACEOF
94809 cat >>$CONFIG_STATUS <<\_ACEOF
94810 # Split the substitutions into bite-sized pieces for seds with
94811 # small command number limits, like on Digital OSF/1 and HP-UX.
94812 ac_max_sed_lines=48
94813 ac_sed_frag=1 # Number of current file.
94814 ac_beg=1 # First line for current file.
94815 ac_end=$ac_max_sed_lines # Line after last line for current file.
94816 ac_more_lines=:
94817 ac_sed_cmds=
94818 while $ac_more_lines; do
94819 if test $ac_beg -gt 1; then
94820 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
94821 else
94822 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
94824 if test ! -s $tmp/subs.frag; then
94825 ac_more_lines=false
94826 else
94827 # The purpose of the label and of the branching condition is to
94828 # speed up the sed processing (if there are no `@' at all, there
94829 # is no need to browse any of the substitutions).
94830 # These are the two extra sed commands mentioned above.
94831 (echo ':t
94832 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
94833 if test -z "$ac_sed_cmds"; then
94834 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
94835 else
94836 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
94838 ac_sed_frag=`expr $ac_sed_frag + 1`
94839 ac_beg=$ac_end
94840 ac_end=`expr $ac_end + $ac_max_sed_lines`
94842 done
94843 if test -z "$ac_sed_cmds"; then
94844 ac_sed_cmds=cat
94846 fi # test -n "$CONFIG_FILES"
94848 _ACEOF
94849 cat >>$CONFIG_STATUS <<\_ACEOF
94850 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
94851 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
94852 case $ac_file in
94853 - | *:- | *:-:* ) # input from stdin
94854 cat >$tmp/stdin
94855 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
94856 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
94857 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
94858 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
94859 * ) ac_file_in=$ac_file.in ;;
94860 esac
94862 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
94863 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
94864 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
94865 X"$ac_file" : 'X\(//\)[^/]' \| \
94866 X"$ac_file" : 'X\(//\)$' \| \
94867 X"$ac_file" : 'X\(/\)' \| \
94868 . : '\(.\)' 2>/dev/null ||
94869 echo X"$ac_file" |
94870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
94871 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
94872 /^X\(\/\/\)$/{ s//\1/; q; }
94873 /^X\(\/\).*/{ s//\1/; q; }
94874 s/.*/./; q'`
94875 { if $as_mkdir_p; then
94876 mkdir -p "$ac_dir"
94877 else
94878 as_dir="$ac_dir"
94879 as_dirs=
94880 while test ! -d "$as_dir"; do
94881 as_dirs="$as_dir $as_dirs"
94882 as_dir=`(dirname "$as_dir") 2>/dev/null ||
94883 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
94884 X"$as_dir" : 'X\(//\)[^/]' \| \
94885 X"$as_dir" : 'X\(//\)$' \| \
94886 X"$as_dir" : 'X\(/\)' \| \
94887 . : '\(.\)' 2>/dev/null ||
94888 echo X"$as_dir" |
94889 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
94890 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
94891 /^X\(\/\/\)$/{ s//\1/; q; }
94892 /^X\(\/\).*/{ s//\1/; q; }
94893 s/.*/./; q'`
94894 done
94895 test ! -n "$as_dirs" || mkdir $as_dirs
94896 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
94897 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
94898 { (exit 1); exit 1; }; }; }
94900 ac_builddir=.
94902 if test "$ac_dir" != .; then
94903 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
94904 # A "../" for each directory in $ac_dir_suffix.
94905 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
94906 else
94907 ac_dir_suffix= ac_top_builddir=
94910 case $srcdir in
94911 .) # No --srcdir option. We are building in place.
94912 ac_srcdir=.
94913 if test -z "$ac_top_builddir"; then
94914 ac_top_srcdir=.
94915 else
94916 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
94917 fi ;;
94918 [\\/]* | ?:[\\/]* ) # Absolute path.
94919 ac_srcdir=$srcdir$ac_dir_suffix;
94920 ac_top_srcdir=$srcdir ;;
94921 *) # Relative path.
94922 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
94923 ac_top_srcdir=$ac_top_builddir$srcdir ;;
94924 esac
94926 # Do not use `cd foo && pwd` to compute absolute paths, because
94927 # the directories may not exist.
94928 case `pwd` in
94929 .) ac_abs_builddir="$ac_dir";;
94931 case "$ac_dir" in
94932 .) ac_abs_builddir=`pwd`;;
94933 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
94934 *) ac_abs_builddir=`pwd`/"$ac_dir";;
94935 esac;;
94936 esac
94937 case $ac_abs_builddir in
94938 .) ac_abs_top_builddir=${ac_top_builddir}.;;
94940 case ${ac_top_builddir}. in
94941 .) ac_abs_top_builddir=$ac_abs_builddir;;
94942 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
94943 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
94944 esac;;
94945 esac
94946 case $ac_abs_builddir in
94947 .) ac_abs_srcdir=$ac_srcdir;;
94949 case $ac_srcdir in
94950 .) ac_abs_srcdir=$ac_abs_builddir;;
94951 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
94952 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
94953 esac;;
94954 esac
94955 case $ac_abs_builddir in
94956 .) ac_abs_top_srcdir=$ac_top_srcdir;;
94958 case $ac_top_srcdir in
94959 .) ac_abs_top_srcdir=$ac_abs_builddir;;
94960 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
94961 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
94962 esac;;
94963 esac
94966 case $INSTALL in
94967 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
94968 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
94969 esac
94971 if test x"$ac_file" != x-; then
94972 { echo "$as_me:$LINENO: creating $ac_file" >&5
94973 echo "$as_me: creating $ac_file" >&6;}
94974 rm -f "$ac_file"
94976 # Let's still pretend it is `configure' which instantiates (i.e., don't
94977 # use $as_me), people would be surprised to read:
94978 # /* config.h. Generated by config.status. */
94979 if test x"$ac_file" = x-; then
94980 configure_input=
94981 else
94982 configure_input="$ac_file. "
94984 configure_input=$configure_input"Generated from `echo $ac_file_in |
94985 sed 's,.*/,,'` by configure."
94987 # First look for the input files in the build tree, otherwise in the
94988 # src tree.
94989 ac_file_inputs=`IFS=:
94990 for f in $ac_file_in; do
94991 case $f in
94992 -) echo $tmp/stdin ;;
94993 [\\/$]*)
94994 # Absolute (can't be DOS-style, as IFS=:)
94995 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
94996 echo "$as_me: error: cannot find input file: $f" >&2;}
94997 { (exit 1); exit 1; }; }
94998 echo "$f";;
94999 *) # Relative
95000 if test -f "$f"; then
95001 # Build tree
95002 echo "$f"
95003 elif test -f "$srcdir/$f"; then
95004 # Source tree
95005 echo "$srcdir/$f"
95006 else
95007 # /dev/null tree
95008 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95009 echo "$as_me: error: cannot find input file: $f" >&2;}
95010 { (exit 1); exit 1; }; }
95011 fi;;
95012 esac
95013 done` || { (exit 1); exit 1; }
95014 _ACEOF
95015 cat >>$CONFIG_STATUS <<_ACEOF
95016 sed "$ac_vpsub
95017 $extrasub
95018 _ACEOF
95019 cat >>$CONFIG_STATUS <<\_ACEOF
95021 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
95022 s,@configure_input@,$configure_input,;t t
95023 s,@srcdir@,$ac_srcdir,;t t
95024 s,@abs_srcdir@,$ac_abs_srcdir,;t t
95025 s,@top_srcdir@,$ac_top_srcdir,;t t
95026 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
95027 s,@builddir@,$ac_builddir,;t t
95028 s,@abs_builddir@,$ac_abs_builddir,;t t
95029 s,@top_builddir@,$ac_top_builddir,;t t
95030 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
95031 s,@INSTALL@,$ac_INSTALL,;t t
95032 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
95033 rm -f $tmp/stdin
95034 if test x"$ac_file" != x-; then
95035 mv $tmp/out $ac_file
95036 else
95037 cat $tmp/out
95038 rm -f $tmp/out
95041 # Run the commands associated with the file.
95042 case $ac_file in
95043 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
95044 esac
95045 done
95046 _ACEOF
95047 cat >>$CONFIG_STATUS <<\_ACEOF
95050 # CONFIG_HEADER section.
95053 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
95054 # NAME is the cpp macro being defined and VALUE is the value it is being given.
95056 # ac_d sets the value in "#define NAME VALUE" lines.
95057 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
95058 ac_dB='[ ].*$,\1#\2'
95059 ac_dC=' '
95060 ac_dD=',;t'
95061 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
95062 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
95063 ac_uB='$,\1#\2define\3'
95064 ac_uC=' '
95065 ac_uD=',;t'
95067 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
95068 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
95069 case $ac_file in
95070 - | *:- | *:-:* ) # input from stdin
95071 cat >$tmp/stdin
95072 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95073 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95074 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95075 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95076 * ) ac_file_in=$ac_file.in ;;
95077 esac
95079 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
95080 echo "$as_me: creating $ac_file" >&6;}
95082 # First look for the input files in the build tree, otherwise in the
95083 # src tree.
95084 ac_file_inputs=`IFS=:
95085 for f in $ac_file_in; do
95086 case $f in
95087 -) echo $tmp/stdin ;;
95088 [\\/$]*)
95089 # Absolute (can't be DOS-style, as IFS=:)
95090 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95091 echo "$as_me: error: cannot find input file: $f" >&2;}
95092 { (exit 1); exit 1; }; }
95093 # Do quote $f, to prevent DOS paths from being IFS'd.
95094 echo "$f";;
95095 *) # Relative
95096 if test -f "$f"; then
95097 # Build tree
95098 echo "$f"
95099 elif test -f "$srcdir/$f"; then
95100 # Source tree
95101 echo "$srcdir/$f"
95102 else
95103 # /dev/null tree
95104 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95105 echo "$as_me: error: cannot find input file: $f" >&2;}
95106 { (exit 1); exit 1; }; }
95107 fi;;
95108 esac
95109 done` || { (exit 1); exit 1; }
95110 # Remove the trailing spaces.
95111 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
95113 _ACEOF
95115 # Transform confdefs.h into two sed scripts, `conftest.defines' and
95116 # `conftest.undefs', that substitutes the proper values into
95117 # config.h.in to produce config.h. The first handles `#define'
95118 # templates, and the second `#undef' templates.
95119 # And first: Protect against being on the right side of a sed subst in
95120 # config.status. Protect against being in an unquoted here document
95121 # in config.status.
95122 rm -f conftest.defines conftest.undefs
95123 # Using a here document instead of a string reduces the quoting nightmare.
95124 # Putting comments in sed scripts is not portable.
95126 # `end' is used to avoid that the second main sed command (meant for
95127 # 0-ary CPP macros) applies to n-ary macro definitions.
95128 # See the Autoconf documentation for `clear'.
95129 cat >confdef2sed.sed <<\_ACEOF
95130 s/[\\&,]/\\&/g
95131 s,[\\$`],\\&,g
95132 t clear
95133 : clear
95134 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
95135 t end
95136 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
95137 : end
95138 _ACEOF
95139 # If some macros were called several times there might be several times
95140 # the same #defines, which is useless. Nevertheless, we may not want to
95141 # sort them, since we want the *last* AC-DEFINE to be honored.
95142 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
95143 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
95144 rm -f confdef2sed.sed
95146 # This sed command replaces #undef with comments. This is necessary, for
95147 # example, in the case of _POSIX_SOURCE, which is predefined and required
95148 # on some systems where configure will not decide to define it.
95149 cat >>conftest.undefs <<\_ACEOF
95150 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
95151 _ACEOF
95153 # Break up conftest.defines because some shells have a limit on the size
95154 # of here documents, and old seds have small limits too (100 cmds).
95155 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
95156 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
95157 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
95158 echo ' :' >>$CONFIG_STATUS
95159 rm -f conftest.tail
95160 while grep . conftest.defines >/dev/null
95162 # Write a limited-size here document to $tmp/defines.sed.
95163 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
95164 # Speed up: don't consider the non `#define' lines.
95165 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
95166 # Work around the forget-to-reset-the-flag bug.
95167 echo 't clr' >>$CONFIG_STATUS
95168 echo ': clr' >>$CONFIG_STATUS
95169 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
95170 echo 'CEOF
95171 sed -f $tmp/defines.sed $tmp/in >$tmp/out
95172 rm -f $tmp/in
95173 mv $tmp/out $tmp/in
95174 ' >>$CONFIG_STATUS
95175 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
95176 rm -f conftest.defines
95177 mv conftest.tail conftest.defines
95178 done
95179 rm -f conftest.defines
95180 echo ' fi # grep' >>$CONFIG_STATUS
95181 echo >>$CONFIG_STATUS
95183 # Break up conftest.undefs because some shells have a limit on the size
95184 # of here documents, and old seds have small limits too (100 cmds).
95185 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
95186 rm -f conftest.tail
95187 while grep . conftest.undefs >/dev/null
95189 # Write a limited-size here document to $tmp/undefs.sed.
95190 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
95191 # Speed up: don't consider the non `#undef'
95192 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
95193 # Work around the forget-to-reset-the-flag bug.
95194 echo 't clr' >>$CONFIG_STATUS
95195 echo ': clr' >>$CONFIG_STATUS
95196 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
95197 echo 'CEOF
95198 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
95199 rm -f $tmp/in
95200 mv $tmp/out $tmp/in
95201 ' >>$CONFIG_STATUS
95202 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
95203 rm -f conftest.undefs
95204 mv conftest.tail conftest.undefs
95205 done
95206 rm -f conftest.undefs
95208 cat >>$CONFIG_STATUS <<\_ACEOF
95209 # Let's still pretend it is `configure' which instantiates (i.e., don't
95210 # use $as_me), people would be surprised to read:
95211 # /* config.h. Generated by config.status. */
95212 if test x"$ac_file" = x-; then
95213 echo "/* Generated by configure. */" >$tmp/config.h
95214 else
95215 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
95217 cat $tmp/in >>$tmp/config.h
95218 rm -f $tmp/in
95219 if test x"$ac_file" != x-; then
95220 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
95221 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
95222 echo "$as_me: $ac_file is unchanged" >&6;}
95223 else
95224 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
95225 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95226 X"$ac_file" : 'X\(//\)[^/]' \| \
95227 X"$ac_file" : 'X\(//\)$' \| \
95228 X"$ac_file" : 'X\(/\)' \| \
95229 . : '\(.\)' 2>/dev/null ||
95230 echo X"$ac_file" |
95231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95232 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95233 /^X\(\/\/\)$/{ s//\1/; q; }
95234 /^X\(\/\).*/{ s//\1/; q; }
95235 s/.*/./; q'`
95236 { if $as_mkdir_p; then
95237 mkdir -p "$ac_dir"
95238 else
95239 as_dir="$ac_dir"
95240 as_dirs=
95241 while test ! -d "$as_dir"; do
95242 as_dirs="$as_dir $as_dirs"
95243 as_dir=`(dirname "$as_dir") 2>/dev/null ||
95244 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95245 X"$as_dir" : 'X\(//\)[^/]' \| \
95246 X"$as_dir" : 'X\(//\)$' \| \
95247 X"$as_dir" : 'X\(/\)' \| \
95248 . : '\(.\)' 2>/dev/null ||
95249 echo X"$as_dir" |
95250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95251 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95252 /^X\(\/\/\)$/{ s//\1/; q; }
95253 /^X\(\/\).*/{ s//\1/; q; }
95254 s/.*/./; q'`
95255 done
95256 test ! -n "$as_dirs" || mkdir $as_dirs
95257 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
95258 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
95259 { (exit 1); exit 1; }; }; }
95261 rm -f $ac_file
95262 mv $tmp/config.h $ac_file
95264 else
95265 cat $tmp/config.h
95266 rm -f $tmp/config.h
95268 # Compute $ac_file's index in $config_headers.
95269 _am_stamp_count=1
95270 for _am_header in $config_headers :; do
95271 case $_am_header in
95272 $ac_file | $ac_file:* )
95273 break ;;
95275 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
95276 esac
95277 done
95278 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
95279 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95280 X$ac_file : 'X\(//\)[^/]' \| \
95281 X$ac_file : 'X\(//\)$' \| \
95282 X$ac_file : 'X\(/\)' \| \
95283 . : '\(.\)' 2>/dev/null ||
95284 echo X$ac_file |
95285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95286 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95287 /^X\(\/\/\)$/{ s//\1/; q; }
95288 /^X\(\/\).*/{ s//\1/; q; }
95289 s/.*/./; q'`/stamp-h$_am_stamp_count
95290 done
95291 _ACEOF
95292 cat >>$CONFIG_STATUS <<\_ACEOF
95295 # CONFIG_COMMANDS section.
95297 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
95298 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
95299 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
95300 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
95301 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95302 X"$ac_dest" : 'X\(//\)[^/]' \| \
95303 X"$ac_dest" : 'X\(//\)$' \| \
95304 X"$ac_dest" : 'X\(/\)' \| \
95305 . : '\(.\)' 2>/dev/null ||
95306 echo X"$ac_dest" |
95307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95308 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95309 /^X\(\/\/\)$/{ s//\1/; q; }
95310 /^X\(\/\).*/{ s//\1/; q; }
95311 s/.*/./; q'`
95312 { if $as_mkdir_p; then
95313 mkdir -p "$ac_dir"
95314 else
95315 as_dir="$ac_dir"
95316 as_dirs=
95317 while test ! -d "$as_dir"; do
95318 as_dirs="$as_dir $as_dirs"
95319 as_dir=`(dirname "$as_dir") 2>/dev/null ||
95320 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95321 X"$as_dir" : 'X\(//\)[^/]' \| \
95322 X"$as_dir" : 'X\(//\)$' \| \
95323 X"$as_dir" : 'X\(/\)' \| \
95324 . : '\(.\)' 2>/dev/null ||
95325 echo X"$as_dir" |
95326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95327 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95328 /^X\(\/\/\)$/{ s//\1/; q; }
95329 /^X\(\/\).*/{ s//\1/; q; }
95330 s/.*/./; q'`
95331 done
95332 test ! -n "$as_dirs" || mkdir $as_dirs
95333 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
95334 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
95335 { (exit 1); exit 1; }; }; }
95337 ac_builddir=.
95339 if test "$ac_dir" != .; then
95340 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
95341 # A "../" for each directory in $ac_dir_suffix.
95342 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
95343 else
95344 ac_dir_suffix= ac_top_builddir=
95347 case $srcdir in
95348 .) # No --srcdir option. We are building in place.
95349 ac_srcdir=.
95350 if test -z "$ac_top_builddir"; then
95351 ac_top_srcdir=.
95352 else
95353 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
95354 fi ;;
95355 [\\/]* | ?:[\\/]* ) # Absolute path.
95356 ac_srcdir=$srcdir$ac_dir_suffix;
95357 ac_top_srcdir=$srcdir ;;
95358 *) # Relative path.
95359 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
95360 ac_top_srcdir=$ac_top_builddir$srcdir ;;
95361 esac
95363 # Do not use `cd foo && pwd` to compute absolute paths, because
95364 # the directories may not exist.
95365 case `pwd` in
95366 .) ac_abs_builddir="$ac_dir";;
95368 case "$ac_dir" in
95369 .) ac_abs_builddir=`pwd`;;
95370 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
95371 *) ac_abs_builddir=`pwd`/"$ac_dir";;
95372 esac;;
95373 esac
95374 case $ac_abs_builddir in
95375 .) ac_abs_top_builddir=${ac_top_builddir}.;;
95377 case ${ac_top_builddir}. in
95378 .) ac_abs_top_builddir=$ac_abs_builddir;;
95379 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
95380 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
95381 esac;;
95382 esac
95383 case $ac_abs_builddir in
95384 .) ac_abs_srcdir=$ac_srcdir;;
95386 case $ac_srcdir in
95387 .) ac_abs_srcdir=$ac_abs_builddir;;
95388 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
95389 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
95390 esac;;
95391 esac
95392 case $ac_abs_builddir in
95393 .) ac_abs_top_srcdir=$ac_top_srcdir;;
95395 case $ac_top_srcdir in
95396 .) ac_abs_top_srcdir=$ac_abs_builddir;;
95397 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
95398 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
95399 esac;;
95400 esac
95403 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
95404 echo "$as_me: executing $ac_dest commands" >&6;}
95405 case $ac_dest in
95406 default-1 )
95407 # Only add multilib support code if we just rebuilt the top-level
95408 # Makefile.
95409 case " $CONFIG_FILES " in
95410 *" Makefile "*)
95411 ac_file=Makefile . ${multi_basedir}/config-ml.in
95413 esac ;;
95414 libtool )
95416 # See if we are running on zsh, and set the options which allow our
95417 # commands through without removal of \ escapes.
95418 if test -n "${ZSH_VERSION+set}" ; then
95419 setopt NO_GLOB_SUBST
95422 cfgfile="${ofile}T"
95423 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
95424 $RM "$cfgfile"
95426 cat <<_LT_EOF >> "$cfgfile"
95427 #! $SHELL
95429 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
95430 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
95431 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
95432 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
95434 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
95435 # 2006, 2007 Free Software Foundation, Inc.
95437 # This file is part of GNU Libtool:
95438 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
95440 # This program is free software; you can redistribute it and/or modify
95441 # it under the terms of the GNU General Public License as published by
95442 # the Free Software Foundation; either version 2 of the License, or
95443 # (at your option) any later version.
95445 # This program is distributed in the hope that it will be useful, but
95446 # WITHOUT ANY WARRANTY; without even the implied warranty of
95447 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
95448 # General Public License for more details.
95450 # You should have received a copy of the GNU General Public License
95451 # along with this program; if not, a copy can be downloaded from
95452 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
95453 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
95454 # MA 02110-1301, USA.
95456 # As a special exception to the GNU General Public License, if you
95457 # distribute this file as part of a program that contains a
95458 # configuration script generated by Autoconf, you may include it under
95459 # the same distribution terms that you use for the rest of that program.
95462 # The names of the tagged configurations supported by this script.
95463 available_tags="CXX "
95465 # ### BEGIN LIBTOOL CONFIG
95467 # Which release of libtool.m4 was used?
95468 macro_version=$macro_version
95469 macro_revision=$macro_revision
95471 # Whether or not to build shared libraries.
95472 build_libtool_libs=$enable_shared
95474 # Whether or not to build static libraries.
95475 build_old_libs=$enable_static
95477 # What type of objects to build.
95478 pic_mode=$pic_mode
95480 # Whether or not to optimize for fast installation.
95481 fast_install=$enable_fast_install
95483 # The host system.
95484 host_alias=$host_alias
95485 host=$host
95486 host_os=$host_os
95488 # The build system.
95489 build_alias=$build_alias
95490 build=$build
95491 build_os=$build_os
95493 # A sed program that does not truncate output.
95494 SED=$lt_SED
95496 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
95497 Xsed="\$SED -e 1s/^X//"
95499 # A grep program that handles long lines.
95500 GREP=$lt_GREP
95502 # An ERE matcher.
95503 EGREP=$lt_EGREP
95505 # A literal string matcher.
95506 FGREP=$lt_FGREP
95508 # A BSD- or MS-compatible name lister.
95509 NM=$lt_NM
95511 # Whether we need soft or hard links.
95512 LN_S=$lt_LN_S
95514 # What is the maximum length of a command?
95515 max_cmd_len=$max_cmd_len
95517 # Object file suffix (normally "o").
95518 objext=$ac_objext
95520 # Executable file suffix (normally "").
95521 exeext=$exeext
95523 # whether the shell understands "unset".
95524 lt_unset=$lt_unset
95526 # turn spaces into newlines.
95527 SP2NL=$lt_lt_SP2NL
95529 # turn newlines into spaces.
95530 NL2SP=$lt_lt_NL2SP
95532 # How to create reloadable object files.
95533 reload_flag=$lt_reload_flag
95534 reload_cmds=$lt_reload_cmds
95536 # Method to check whether dependent libraries are shared objects.
95537 deplibs_check_method=$lt_deplibs_check_method
95539 # Command to use when deplibs_check_method == "file_magic".
95540 file_magic_cmd=$lt_file_magic_cmd
95542 # The archiver.
95543 AR=$lt_AR
95544 AR_FLAGS=$lt_AR_FLAGS
95546 # A symbol stripping program.
95547 STRIP=$lt_STRIP
95549 # Commands used to install an old-style archive.
95550 RANLIB=$lt_RANLIB
95551 old_postinstall_cmds=$lt_old_postinstall_cmds
95552 old_postuninstall_cmds=$lt_old_postuninstall_cmds
95554 # A C compiler.
95555 LTCC=$lt_CC
95557 # LTCC compiler flags.
95558 LTCFLAGS=$lt_CFLAGS
95560 # Take the output of nm and produce a listing of raw symbols and C names.
95561 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
95563 # Transform the output of nm in a proper C declaration.
95564 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
95566 # Transform the output of nm in a C name address pair.
95567 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
95569 # The name of the directory that contains temporary libtool files.
95570 objdir=$objdir
95572 # Shell to use when invoking shell scripts.
95573 SHELL=$lt_SHELL
95575 # An echo program that does not interpret backslashes.
95576 ECHO=$lt_ECHO
95578 # Used to examine libraries when file_magic_cmd begins with "file".
95579 MAGIC_CMD=$MAGIC_CMD
95581 # Must we lock files when doing compilation?
95582 need_locks=$lt_need_locks
95584 # Old archive suffix (normally "a").
95585 libext=$libext
95587 # Shared library suffix (normally ".so").
95588 shrext_cmds=$lt_shrext_cmds
95590 # The commands to extract the exported symbol list from a shared archive.
95591 extract_expsyms_cmds=$lt_extract_expsyms_cmds
95593 # Variables whose values should be saved in libtool wrapper scripts and
95594 # restored at link time.
95595 variables_saved_for_relink=$lt_variables_saved_for_relink
95597 # Do we need the "lib" prefix for modules?
95598 need_lib_prefix=$need_lib_prefix
95600 # Do we need a version for libraries?
95601 need_version=$need_version
95603 # Library versioning type.
95604 version_type=$version_type
95606 # Shared library runtime path variable.
95607 runpath_var=$runpath_var
95609 # Shared library path variable.
95610 shlibpath_var=$shlibpath_var
95612 # Is shlibpath searched before the hard-coded library search path?
95613 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
95615 # Format of library name prefix.
95616 libname_spec=$lt_libname_spec
95618 # List of archive names. First name is the real one, the rest are links.
95619 # The last name is the one that the linker finds with -lNAME
95620 library_names_spec=$lt_library_names_spec
95622 # The coded name of the library, if different from the real name.
95623 soname_spec=$lt_soname_spec
95625 # Command to use after installation of a shared archive.
95626 postinstall_cmds=$lt_postinstall_cmds
95628 # Command to use after uninstallation of a shared archive.
95629 postuninstall_cmds=$lt_postuninstall_cmds
95631 # Commands used to finish a libtool library installation in a directory.
95632 finish_cmds=$lt_finish_cmds
95634 # As "finish_cmds", except a single script fragment to be evaled but
95635 # not shown.
95636 finish_eval=$lt_finish_eval
95638 # Whether we should hardcode library paths into libraries.
95639 hardcode_into_libs=$hardcode_into_libs
95641 # Compile-time system search path for libraries.
95642 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
95644 # Run-time system search path for libraries.
95645 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
95647 # Whether dlopen is supported.
95648 dlopen_support=$enable_dlopen
95650 # Whether dlopen of programs is supported.
95651 dlopen_self=$enable_dlopen_self
95653 # Whether dlopen of statically linked programs is supported.
95654 dlopen_self_static=$enable_dlopen_self_static
95656 # Commands to strip libraries.
95657 old_striplib=$lt_old_striplib
95658 striplib=$lt_striplib
95661 # The linker used to build libraries.
95662 LD=$lt_LD
95664 # Commands used to build an old-style archive.
95665 old_archive_cmds=$lt_old_archive_cmds
95667 # A language specific compiler.
95668 CC=$lt_compiler
95670 # Is the compiler the GNU compiler?
95671 with_gcc=$GCC
95673 # Compiler flag to turn off builtin functions.
95674 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
95676 # How to pass a linker flag through the compiler.
95677 wl=$lt_lt_prog_compiler_wl
95679 # Additional compiler flags for building library objects.
95680 pic_flag=$lt_lt_prog_compiler_pic
95682 # Compiler flag to prevent dynamic linking.
95683 link_static_flag=$lt_lt_prog_compiler_static
95685 # Does compiler simultaneously support -c and -o options?
95686 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
95688 # Whether or not to add -lc for building shared libraries.
95689 build_libtool_need_lc=$archive_cmds_need_lc
95691 # Whether or not to disallow shared libs when runtime libs are static.
95692 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
95694 # Compiler flag to allow reflexive dlopens.
95695 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
95697 # Compiler flag to generate shared objects directly from archives.
95698 whole_archive_flag_spec=$lt_whole_archive_flag_spec
95700 # Whether the compiler copes with passing no objects directly.
95701 compiler_needs_object=$lt_compiler_needs_object
95703 # Create an old-style archive from a shared archive.
95704 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
95706 # Create a temporary old-style archive to link instead of a shared archive.
95707 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
95709 # Commands used to build a shared archive.
95710 archive_cmds=$lt_archive_cmds
95711 archive_expsym_cmds=$lt_archive_expsym_cmds
95713 # Commands used to build a loadable module if different from building
95714 # a shared archive.
95715 module_cmds=$lt_module_cmds
95716 module_expsym_cmds=$lt_module_expsym_cmds
95718 # Whether we are building with GNU ld or not.
95719 with_gnu_ld=$lt_with_gnu_ld
95721 # Flag that allows shared libraries with undefined symbols to be built.
95722 allow_undefined_flag=$lt_allow_undefined_flag
95724 # Flag that enforces no undefined symbols.
95725 no_undefined_flag=$lt_no_undefined_flag
95727 # Flag to hardcode \$libdir into a binary during linking.
95728 # This must work even if \$libdir does not exist
95729 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
95731 # If ld is used when linking, flag to hardcode \$libdir into a binary
95732 # during linking. This must work even if \$libdir does not exist.
95733 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
95735 # Whether we need a single "-rpath" flag with a separated argument.
95736 hardcode_libdir_separator=$lt_hardcode_libdir_separator
95738 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
95739 # DIR into the resulting binary.
95740 hardcode_direct=$hardcode_direct
95742 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
95743 # DIR into the resulting binary and the resulting library dependency is
95744 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
95745 # library is relocated.
95746 hardcode_direct_absolute=$hardcode_direct_absolute
95748 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
95749 # into the resulting binary.
95750 hardcode_minus_L=$hardcode_minus_L
95752 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
95753 # into the resulting binary.
95754 hardcode_shlibpath_var=$hardcode_shlibpath_var
95756 # Set to "yes" if building a shared library automatically hardcodes DIR
95757 # into the library and all subsequent libraries and executables linked
95758 # against it.
95759 hardcode_automatic=$hardcode_automatic
95761 # Set to yes if linker adds runtime paths of dependent libraries
95762 # to runtime path list.
95763 inherit_rpath=$inherit_rpath
95765 # Whether libtool must link a program against all its dependency libraries.
95766 link_all_deplibs=$link_all_deplibs
95768 # Fix the shell variable \$srcfile for the compiler.
95769 fix_srcfile_path=$lt_fix_srcfile_path
95771 # Set to "yes" if exported symbols are required.
95772 always_export_symbols=$always_export_symbols
95774 # The commands to list exported symbols.
95775 export_symbols_cmds=$lt_export_symbols_cmds
95777 # Symbols that should not be listed in the preloaded symbols.
95778 exclude_expsyms=$lt_exclude_expsyms
95780 # Symbols that must always be exported.
95781 include_expsyms=$lt_include_expsyms
95783 # Commands necessary for linking programs (against libraries) with templates.
95784 prelink_cmds=$lt_prelink_cmds
95786 # Specify filename containing input files.
95787 file_list_spec=$lt_file_list_spec
95789 # How to hardcode a shared library path into an executable.
95790 hardcode_action=$hardcode_action
95792 # Dependencies to place before and after the objects being linked to
95793 # create a shared library.
95794 predep_objects=$lt_predep_objects
95795 postdep_objects=$lt_postdep_objects
95796 predeps=$lt_predeps
95797 postdeps=$lt_postdeps
95799 # The library search path used internally by the compiler when linking
95800 # a shared library.
95801 compiler_lib_search_path=$lt_compiler_lib_search_path
95803 # ### END LIBTOOL CONFIG
95805 _LT_EOF
95807 case $host_os in
95808 aix3*)
95809 cat <<\_LT_EOF >> "$cfgfile"
95810 # AIX sometimes has problems with the GCC collect2 program. For some
95811 # reason, if we set the COLLECT_NAMES environment variable, the problems
95812 # vanish in a puff of smoke.
95813 if test "X${COLLECT_NAMES+set}" != Xset; then
95814 COLLECT_NAMES=
95815 export COLLECT_NAMES
95817 _LT_EOF
95819 esac
95822 ltmain="$ac_aux_dir/ltmain.sh"
95825 # We use sed instead of cat because bash on DJGPP gets confused if
95826 # if finds mixed CR/LF and LF-only lines. Since sed operates in
95827 # text mode, it properly converts lines to CR/LF. This bash problem
95828 # is reportedly fixed, but why not run on old versions too?
95829 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
95830 || (rm -f "$cfgfile"; exit 1)
95832 case $xsi_shell in
95833 yes)
95834 cat << \_LT_EOF >> "$cfgfile"
95835 # func_dirname file append nondir_replacement
95836 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
95837 # otherwise set result to NONDIR_REPLACEMENT.
95838 func_dirname ()
95840 case ${1} in
95841 */*) func_dirname_result="${1%/*}${2}" ;;
95842 * ) func_dirname_result="${3}" ;;
95843 esac
95846 # func_basename file
95847 func_basename ()
95849 func_basename_result="${1##*/}"
95852 # func_stripname prefix suffix name
95853 # strip PREFIX and SUFFIX off of NAME.
95854 # PREFIX and SUFFIX must not contain globbing or regex special
95855 # characters, hashes, percent signs, but SUFFIX may contain a leading
95856 # dot (in which case that matches only a dot).
95857 func_stripname ()
95859 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
95860 # positional parameters, so assign one to ordinary parameter first.
95861 func_stripname_result=${3}
95862 func_stripname_result=${func_stripname_result#"${1}"}
95863 func_stripname_result=${func_stripname_result%"${2}"}
95866 # func_opt_split
95867 func_opt_split ()
95869 func_opt_split_opt=${1%%=*}
95870 func_opt_split_arg=${1#*=}
95873 # func_lo2o object
95874 func_lo2o ()
95876 case ${1} in
95877 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
95878 *) func_lo2o_result=${1} ;;
95879 esac
95881 _LT_EOF
95883 *) # Bourne compatible functions.
95884 cat << \_LT_EOF >> "$cfgfile"
95885 # func_dirname file append nondir_replacement
95886 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
95887 # otherwise set result to NONDIR_REPLACEMENT.
95888 func_dirname ()
95890 # Extract subdirectory from the argument.
95891 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
95892 if test "X$func_dirname_result" = "X${1}"; then
95893 func_dirname_result="${3}"
95894 else
95895 func_dirname_result="$func_dirname_result${2}"
95899 # func_basename file
95900 func_basename ()
95902 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
95905 # func_stripname prefix suffix name
95906 # strip PREFIX and SUFFIX off of NAME.
95907 # PREFIX and SUFFIX must not contain globbing or regex special
95908 # characters, hashes, percent signs, but SUFFIX may contain a leading
95909 # dot (in which case that matches only a dot).
95910 # func_strip_suffix prefix name
95911 func_stripname ()
95913 case ${2} in
95914 .*) func_stripname_result=`$ECHO "X${3}" \
95915 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
95916 *) func_stripname_result=`$ECHO "X${3}" \
95917 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
95918 esac
95921 # sed scripts:
95922 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
95923 my_sed_long_arg='1s/^-[^=]*=//'
95925 # func_opt_split
95926 func_opt_split ()
95928 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
95929 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
95932 # func_lo2o object
95933 func_lo2o ()
95935 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
95937 _LT_EOF
95938 esac
95940 case $lt_shell_append in
95941 yes)
95942 cat << \_LT_EOF >> "$cfgfile"
95944 # func_append var value
95945 # Append VALUE to the end of shell variable VAR.
95946 func_append ()
95948 eval "$1+=\$2"
95950 _LT_EOF
95953 cat << \_LT_EOF >> "$cfgfile"
95955 # func_append var value
95956 # Append VALUE to the end of shell variable VAR.
95957 func_append ()
95959 eval "$1=\$$1\$2"
95961 _LT_EOF
95963 esac
95966 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
95967 || (rm -f "$cfgfile"; exit 1)
95969 mv -f "$cfgfile" "$ofile" ||
95970 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
95971 chmod +x "$ofile"
95974 cat <<_LT_EOF >> "$ofile"
95976 # ### BEGIN LIBTOOL TAG CONFIG: CXX
95978 # The linker used to build libraries.
95979 LD=$lt_LD_CXX
95981 # Commands used to build an old-style archive.
95982 old_archive_cmds=$lt_old_archive_cmds_CXX
95984 # A language specific compiler.
95985 CC=$lt_compiler_CXX
95987 # Is the compiler the GNU compiler?
95988 with_gcc=$GCC_CXX
95990 # Compiler flag to turn off builtin functions.
95991 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
95993 # How to pass a linker flag through the compiler.
95994 wl=$lt_lt_prog_compiler_wl_CXX
95996 # Additional compiler flags for building library objects.
95997 pic_flag=$lt_lt_prog_compiler_pic_CXX
95999 # Compiler flag to prevent dynamic linking.
96000 link_static_flag=$lt_lt_prog_compiler_static_CXX
96002 # Does compiler simultaneously support -c and -o options?
96003 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
96005 # Whether or not to add -lc for building shared libraries.
96006 build_libtool_need_lc=$archive_cmds_need_lc_CXX
96008 # Whether or not to disallow shared libs when runtime libs are static.
96009 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
96011 # Compiler flag to allow reflexive dlopens.
96012 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
96014 # Compiler flag to generate shared objects directly from archives.
96015 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
96017 # Whether the compiler copes with passing no objects directly.
96018 compiler_needs_object=$lt_compiler_needs_object_CXX
96020 # Create an old-style archive from a shared archive.
96021 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
96023 # Create a temporary old-style archive to link instead of a shared archive.
96024 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
96026 # Commands used to build a shared archive.
96027 archive_cmds=$lt_archive_cmds_CXX
96028 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
96030 # Commands used to build a loadable module if different from building
96031 # a shared archive.
96032 module_cmds=$lt_module_cmds_CXX
96033 module_expsym_cmds=$lt_module_expsym_cmds_CXX
96035 # Whether we are building with GNU ld or not.
96036 with_gnu_ld=$lt_with_gnu_ld_CXX
96038 # Flag that allows shared libraries with undefined symbols to be built.
96039 allow_undefined_flag=$lt_allow_undefined_flag_CXX
96041 # Flag that enforces no undefined symbols.
96042 no_undefined_flag=$lt_no_undefined_flag_CXX
96044 # Flag to hardcode \$libdir into a binary during linking.
96045 # This must work even if \$libdir does not exist
96046 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
96048 # If ld is used when linking, flag to hardcode \$libdir into a binary
96049 # during linking. This must work even if \$libdir does not exist.
96050 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
96052 # Whether we need a single "-rpath" flag with a separated argument.
96053 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
96055 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
96056 # DIR into the resulting binary.
96057 hardcode_direct=$hardcode_direct_CXX
96059 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
96060 # DIR into the resulting binary and the resulting library dependency is
96061 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
96062 # library is relocated.
96063 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
96065 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
96066 # into the resulting binary.
96067 hardcode_minus_L=$hardcode_minus_L_CXX
96069 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
96070 # into the resulting binary.
96071 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
96073 # Set to "yes" if building a shared library automatically hardcodes DIR
96074 # into the library and all subsequent libraries and executables linked
96075 # against it.
96076 hardcode_automatic=$hardcode_automatic_CXX
96078 # Set to yes if linker adds runtime paths of dependent libraries
96079 # to runtime path list.
96080 inherit_rpath=$inherit_rpath_CXX
96082 # Whether libtool must link a program against all its dependency libraries.
96083 link_all_deplibs=$link_all_deplibs_CXX
96085 # Fix the shell variable \$srcfile for the compiler.
96086 fix_srcfile_path=$lt_fix_srcfile_path_CXX
96088 # Set to "yes" if exported symbols are required.
96089 always_export_symbols=$always_export_symbols_CXX
96091 # The commands to list exported symbols.
96092 export_symbols_cmds=$lt_export_symbols_cmds_CXX
96094 # Symbols that should not be listed in the preloaded symbols.
96095 exclude_expsyms=$lt_exclude_expsyms_CXX
96097 # Symbols that must always be exported.
96098 include_expsyms=$lt_include_expsyms_CXX
96100 # Commands necessary for linking programs (against libraries) with templates.
96101 prelink_cmds=$lt_prelink_cmds_CXX
96103 # Specify filename containing input files.
96104 file_list_spec=$lt_file_list_spec_CXX
96106 # How to hardcode a shared library path into an executable.
96107 hardcode_action=$hardcode_action_CXX
96109 # Dependencies to place before and after the objects being linked to
96110 # create a shared library.
96111 predep_objects=$lt_predep_objects_CXX
96112 postdep_objects=$lt_postdep_objects_CXX
96113 predeps=$lt_predeps_CXX
96114 postdeps=$lt_postdeps_CXX
96116 # The library search path used internally by the compiler when linking
96117 # a shared library.
96118 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
96120 # ### END LIBTOOL TAG CONFIG: CXX
96121 _LT_EOF
96124 default ) if test -n "$CONFIG_FILES"; then
96125 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
96126 # that multilib installs will end up installed in the correct place.
96127 # The testsuite needs it for multilib-aware ABI baseline files.
96128 # To work around this not being passed down from config-ml.in ->
96129 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
96130 # append it here. Only modify Makefiles that have just been created.
96132 # Also, get rid of this simulated-VPATH thing that automake does.
96133 cat > vpsed << \_EOF
96134 s!`test -f '$<' || echo '$(srcdir)/'`!!
96135 _EOF
96136 for i in $SUBDIRS; do
96137 case $CONFIG_FILES in
96138 *${i}/Makefile*)
96139 #echo "Adding MULTISUBDIR to $i/Makefile"
96140 sed -f vpsed $i/Makefile > tmp
96141 grep '^MULTISUBDIR =' Makefile >> tmp
96142 mv tmp $i/Makefile
96144 esac
96145 done
96146 rm vpsed
96148 (cd include && ${MAKE-make})
96150 esac
96151 done
96152 _ACEOF
96154 cat >>$CONFIG_STATUS <<\_ACEOF
96156 { (exit 0); exit 0; }
96157 _ACEOF
96158 chmod +x $CONFIG_STATUS
96159 ac_clean_files=$ac_clean_files_save
96162 # configure is writing to config.log, and then calls config.status.
96163 # config.status does its own redirection, appending to config.log.
96164 # Unfortunately, on DOS this fails, as config.log is still kept open
96165 # by configure, so config.status won't be able to write to it; its
96166 # output is simply discarded. So we exec the FD to /dev/null,
96167 # effectively closing config.log, so it can be properly (re)opened and
96168 # appended to by config.status. When coming back to configure, we
96169 # need to make the FD available again.
96170 if test "$no_create" != yes; then
96171 ac_cs_success=:
96172 ac_config_status_args=
96173 test "$silent" = yes &&
96174 ac_config_status_args="$ac_config_status_args --quiet"
96175 exec 5>/dev/null
96176 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
96177 exec 5>>config.log
96178 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
96179 # would make configure fail if this is the last instruction.
96180 $ac_cs_success || { (exit 1); exit 1; }