Revert:
[official-gcc.git] / libstdc++-v3 / configure
blob17d59229ff055edb3fecec5f4af47a8e0b50a5f2
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
248 case X$lt_ECHO in
249 X*--fallback-echo)
250 # Remove one level of quotation (which was required for Make).
251 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
253 esac
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257 # Discard the --no-reexec flag, and continue.
258 shift
259 elif test "X$1" = X--fallback-echo; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
265 else
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo; then
271 # used as fallback echo
272 shift
273 cat <<_LT_EOF
275 _LT_EOF
276 exit 0
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290 then
291 break
293 done
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
300 else
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308 for dir in $PATH /usr/ucb; do
309 IFS="$lt_save_ifs"
310 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
314 ECHO="$dir/echo"
315 break
317 done
318 IFS="$lt_save_ifs"
320 if test "X$ECHO" = Xecho; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
326 ECHO='print -r'
327 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X/bin/ksh; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL=/bin/ksh
333 export CONFIG_SHELL
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335 else
336 # Try using printf.
337 ECHO='printf %s\n'
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
341 # Cool, printf works
343 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348 export CONFIG_SHELL
349 SHELL="$CONFIG_SHELL"
350 export SHELL
351 ECHO="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO="$CONFIG_SHELL $0 --fallback-echo"
357 else
358 # maybe with a smaller string...
359 prev=:
361 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363 then
364 break
366 prev="$cmd"
367 done
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373 else
374 # Oops. We lost completely, so just stick with echo.
375 ECHO=echo
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
398 exec 6>&1
401 # Initializations.
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
417 PACKAGE_NAME='package-unused'
418 PACKAGE_TARNAME='libstdc++'
419 PACKAGE_VERSION='version-unused'
420 PACKAGE_STRING='package-unused version-unused'
421 PACKAGE_BUGREPORT=''
423 ac_unique_file="src/ios.cc"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
426 #include <stdio.h>
427 #if HAVE_SYS_TYPES_H
428 # include <sys/types.h>
429 #endif
430 #if HAVE_SYS_STAT_H
431 # include <sys/stat.h>
432 #endif
433 #if STDC_HEADERS
434 # include <stdlib.h>
435 # include <stddef.h>
436 #else
437 # if HAVE_STDLIB_H
438 # include <stdlib.h>
439 # endif
440 #endif
441 #if HAVE_STRING_H
442 # if !STDC_HEADERS && HAVE_MEMORY_H
443 # include <memory.h>
444 # endif
445 # include <string.h>
446 #endif
447 #if HAVE_STRINGS_H
448 # include <strings.h>
449 #endif
450 #if HAVE_INTTYPES_H
451 # include <inttypes.h>
452 #else
453 # if HAVE_STDINT_H
454 # include <stdint.h>
455 # endif
456 #endif
457 #if HAVE_UNISTD_H
458 # include <unistd.h>
459 #endif"
461 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 LDFLAGS CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS glibcxx_thread_h WERROR SECTION_FLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_C_GLOBAL_TRUE GLIBCXX_C_HEADERS_C_GLOBAL_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE GLIBCXX_C_HEADERS_EXTRA_TRUE GLIBCXX_C_HEADERS_EXTRA_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE ENABLE_PARALLEL_TRUE ENABLE_PARALLEL_FALSE EXTRA_CXX_FLAGS GLIBCXX_LIBS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ATOMIC_FLAGS CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR ERROR_CONSTANTS_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
462 ac_subst_files=''
463 ac_pwd=`pwd`
465 # Initialize some variables set by options.
466 ac_init_help=
467 ac_init_version=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
470 cache_file=/dev/null
471 exec_prefix=NONE
472 no_create=
473 no_recursion=
474 prefix=NONE
475 program_prefix=NONE
476 program_suffix=NONE
477 program_transform_name=s,x,x,
478 silent=
479 site=
480 srcdir=
481 verbose=
482 x_includes=NONE
483 x_libraries=NONE
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir='${exec_prefix}/bin'
491 sbindir='${exec_prefix}/sbin'
492 libexecdir='${exec_prefix}/libexec'
493 datadir='${prefix}/share'
494 sysconfdir='${prefix}/etc'
495 sharedstatedir='${prefix}/com'
496 localstatedir='${prefix}/var'
497 libdir='${exec_prefix}/lib'
498 includedir='${prefix}/include'
499 oldincludedir='/usr/include'
500 infodir='${prefix}/info'
501 mandir='${prefix}/man'
503 ac_prev=
504 for ac_option
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
509 ac_prev=
510 continue
513 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
515 # Accept the important Cygnus configure options, so we can diagnose typos.
517 case $ac_option in
519 -bindir | --bindir | --bindi | --bind | --bin | --bi)
520 ac_prev=bindir ;;
521 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
522 bindir=$ac_optarg ;;
524 -build | --build | --buil | --bui | --bu)
525 ac_prev=build_alias ;;
526 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
527 build_alias=$ac_optarg ;;
529 -cache-file | --cache-file | --cache-fil | --cache-fi \
530 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
531 ac_prev=cache_file ;;
532 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
533 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
534 cache_file=$ac_optarg ;;
536 --config-cache | -C)
537 cache_file=config.cache ;;
539 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
540 ac_prev=datadir ;;
541 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
542 | --da=*)
543 datadir=$ac_optarg ;;
545 -disable-* | --disable-*)
546 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
554 -enable-* | --enable-*)
555 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
561 case $ac_option in
562 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
563 *) ac_optarg=yes ;;
564 esac
565 eval "enable_$ac_feature='$ac_optarg'" ;;
567 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
568 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
569 | --exec | --exe | --ex)
570 ac_prev=exec_prefix ;;
571 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
572 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
573 | --exec=* | --exe=* | --ex=*)
574 exec_prefix=$ac_optarg ;;
576 -gas | --gas | --ga | --g)
577 # Obsolete; use --with-gas.
578 with_gas=yes ;;
580 -help | --help | --hel | --he | -h)
581 ac_init_help=long ;;
582 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
583 ac_init_help=recursive ;;
584 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
585 ac_init_help=short ;;
587 -host | --host | --hos | --ho)
588 ac_prev=host_alias ;;
589 -host=* | --host=* | --hos=* | --ho=*)
590 host_alias=$ac_optarg ;;
592 -includedir | --includedir | --includedi | --included | --include \
593 | --includ | --inclu | --incl | --inc)
594 ac_prev=includedir ;;
595 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
596 | --includ=* | --inclu=* | --incl=* | --inc=*)
597 includedir=$ac_optarg ;;
599 -infodir | --infodir | --infodi | --infod | --info | --inf)
600 ac_prev=infodir ;;
601 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
602 infodir=$ac_optarg ;;
604 -libdir | --libdir | --libdi | --libd)
605 ac_prev=libdir ;;
606 -libdir=* | --libdir=* | --libdi=* | --libd=*)
607 libdir=$ac_optarg ;;
609 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
610 | --libexe | --libex | --libe)
611 ac_prev=libexecdir ;;
612 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
613 | --libexe=* | --libex=* | --libe=*)
614 libexecdir=$ac_optarg ;;
616 -localstatedir | --localstatedir | --localstatedi | --localstated \
617 | --localstate | --localstat | --localsta | --localst \
618 | --locals | --local | --loca | --loc | --lo)
619 ac_prev=localstatedir ;;
620 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
621 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
622 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
623 localstatedir=$ac_optarg ;;
625 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
626 ac_prev=mandir ;;
627 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
628 mandir=$ac_optarg ;;
630 -nfp | --nfp | --nf)
631 # Obsolete; use --without-fp.
632 with_fp=no ;;
634 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
635 | --no-cr | --no-c | -n)
636 no_create=yes ;;
638 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
639 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
640 no_recursion=yes ;;
642 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
643 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
644 | --oldin | --oldi | --old | --ol | --o)
645 ac_prev=oldincludedir ;;
646 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
647 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
648 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
649 oldincludedir=$ac_optarg ;;
651 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
652 ac_prev=prefix ;;
653 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
654 prefix=$ac_optarg ;;
656 -program-prefix | --program-prefix | --program-prefi | --program-pref \
657 | --program-pre | --program-pr | --program-p)
658 ac_prev=program_prefix ;;
659 -program-prefix=* | --program-prefix=* | --program-prefi=* \
660 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
661 program_prefix=$ac_optarg ;;
663 -program-suffix | --program-suffix | --program-suffi | --program-suff \
664 | --program-suf | --program-su | --program-s)
665 ac_prev=program_suffix ;;
666 -program-suffix=* | --program-suffix=* | --program-suffi=* \
667 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
668 program_suffix=$ac_optarg ;;
670 -program-transform-name | --program-transform-name \
671 | --program-transform-nam | --program-transform-na \
672 | --program-transform-n | --program-transform- \
673 | --program-transform | --program-transfor \
674 | --program-transfo | --program-transf \
675 | --program-trans | --program-tran \
676 | --progr-tra | --program-tr | --program-t)
677 ac_prev=program_transform_name ;;
678 -program-transform-name=* | --program-transform-name=* \
679 | --program-transform-nam=* | --program-transform-na=* \
680 | --program-transform-n=* | --program-transform-=* \
681 | --program-transform=* | --program-transfor=* \
682 | --program-transfo=* | --program-transf=* \
683 | --program-trans=* | --program-tran=* \
684 | --progr-tra=* | --program-tr=* | --program-t=*)
685 program_transform_name=$ac_optarg ;;
687 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
688 | -silent | --silent | --silen | --sile | --sil)
689 silent=yes ;;
691 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
692 ac_prev=sbindir ;;
693 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
694 | --sbi=* | --sb=*)
695 sbindir=$ac_optarg ;;
697 -sharedstatedir | --sharedstatedir | --sharedstatedi \
698 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
699 | --sharedst | --shareds | --shared | --share | --shar \
700 | --sha | --sh)
701 ac_prev=sharedstatedir ;;
702 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
703 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
704 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
705 | --sha=* | --sh=*)
706 sharedstatedir=$ac_optarg ;;
708 -site | --site | --sit)
709 ac_prev=site ;;
710 -site=* | --site=* | --sit=*)
711 site=$ac_optarg ;;
713 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
714 ac_prev=srcdir ;;
715 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
716 srcdir=$ac_optarg ;;
718 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
719 | --syscon | --sysco | --sysc | --sys | --sy)
720 ac_prev=sysconfdir ;;
721 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
722 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
723 sysconfdir=$ac_optarg ;;
725 -target | --target | --targe | --targ | --tar | --ta | --t)
726 ac_prev=target_alias ;;
727 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
728 target_alias=$ac_optarg ;;
730 -v | -verbose | --verbose | --verbos | --verbo | --verb)
731 verbose=yes ;;
733 -version | --version | --versio | --versi | --vers | -V)
734 ac_init_version=: ;;
736 -with-* | --with-*)
737 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package=`echo $ac_package| sed 's/-/_/g'`
743 case $ac_option in
744 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
745 *) ac_optarg=yes ;;
746 esac
747 eval "with_$ac_package='$ac_optarg'" ;;
749 -without-* | --without-*)
750 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
758 --x)
759 # Obsolete; use --with-x.
760 with_x=yes ;;
762 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
763 | --x-incl | --x-inc | --x-in | --x-i)
764 ac_prev=x_includes ;;
765 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
766 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
767 x_includes=$ac_optarg ;;
769 -x-libraries | --x-libraries | --x-librarie | --x-librari \
770 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
771 ac_prev=x_libraries ;;
772 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
773 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
774 x_libraries=$ac_optarg ;;
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
781 *=*)
782 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
789 export $ac_envvar ;;
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
799 esac
800 done
802 if test -n "$ac_prev"; then
803 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
808 # Be sure to have absolute paths.
809 for ac_var in exec_prefix prefix
811 eval ac_val=$`echo $ac_var`
812 case $ac_val in
813 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
816 esac
817 done
819 # Be sure to have absolute paths.
820 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
823 eval ac_val=$`echo $ac_var`
824 case $ac_val in
825 [\\/$]* | ?:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
828 esac
829 done
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
834 build=$build_alias
835 host=$host_alias
836 target=$target_alias
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x; then
840 if test "x$build_alias" = x; then
841 cross_compiling=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
845 cross_compiling=yes
849 ac_tool_prefix=
850 test -n "$host_alias" && ac_tool_prefix=$host_alias-
852 test "$silent" = yes && exec 6>/dev/null
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
865 echo X"$0" |
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
870 s/.*/./; q'`
871 srcdir=$ac_confdir
872 if test ! -r $srcdir/$ac_unique_file; then
873 srcdir=..
875 else
876 ac_srcdir_defaulted=no
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
882 else
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
887 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set=${build_alias+set}
892 ac_env_build_alias_value=$build_alias
893 ac_cv_env_build_alias_set=${build_alias+set}
894 ac_cv_env_build_alias_value=$build_alias
895 ac_env_host_alias_set=${host_alias+set}
896 ac_env_host_alias_value=$host_alias
897 ac_cv_env_host_alias_set=${host_alias+set}
898 ac_cv_env_host_alias_value=$host_alias
899 ac_env_target_alias_set=${target_alias+set}
900 ac_env_target_alias_value=$target_alias
901 ac_cv_env_target_alias_set=${target_alias+set}
902 ac_cv_env_target_alias_value=$target_alias
903 ac_env_CPP_set=${CPP+set}
904 ac_env_CPP_value=$CPP
905 ac_cv_env_CPP_set=${CPP+set}
906 ac_cv_env_CPP_value=$CPP
907 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
908 ac_env_CPPFLAGS_value=$CPPFLAGS
909 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
910 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
911 ac_env_CXX_set=${CXX+set}
912 ac_env_CXX_value=$CXX
913 ac_cv_env_CXX_set=${CXX+set}
914 ac_cv_env_CXX_value=$CXX
915 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
916 ac_env_CXXFLAGS_value=$CXXFLAGS
917 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
918 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
919 ac_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_env_LDFLAGS_value=$LDFLAGS
921 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 ac_env_CXXCPP_set=${CXXCPP+set}
924 ac_env_CXXCPP_value=$CXXCPP
925 ac_cv_env_CXXCPP_set=${CXXCPP+set}
926 ac_cv_env_CXXCPP_value=$CXXCPP
929 # Report the --help message.
931 if test "$ac_init_help" = "long"; then
932 # Omit some internal or obsolete options to make the list less imposing.
933 # This message is too long to be a string in the A/UX 3.1 sh.
934 cat <<_ACEOF
935 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
937 Usage: $0 [OPTION]... [VAR=VALUE]...
939 To assign environment variables (e.g., CC, CFLAGS...), specify them as
940 VAR=VALUE. See below for descriptions of some of the useful variables.
942 Defaults for the options are specified in brackets.
944 Configuration:
945 -h, --help display this help and exit
946 --help=short display options specific to this package
947 --help=recursive display the short help of all the included packages
948 -V, --version display version information and exit
949 -q, --quiet, --silent do not print \`checking...' messages
950 --cache-file=FILE cache test results in FILE [disabled]
951 -C, --config-cache alias for \`--cache-file=config.cache'
952 -n, --no-create do not create output files
953 --srcdir=DIR find the sources in DIR [configure dir or \`..']
955 _ACEOF
957 cat <<_ACEOF
958 Installation directories:
959 --prefix=PREFIX install architecture-independent files in PREFIX
960 [$ac_default_prefix]
961 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
962 [PREFIX]
964 By default, \`make install' will install all the files in
965 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
966 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
967 for instance \`--prefix=\$HOME'.
969 For better control, use the options below.
971 Fine tuning of the installation directories:
972 --bindir=DIR user executables [EPREFIX/bin]
973 --sbindir=DIR system admin executables [EPREFIX/sbin]
974 --libexecdir=DIR program executables [EPREFIX/libexec]
975 --datadir=DIR read-only architecture-independent data [PREFIX/share]
976 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
977 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
978 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
979 --libdir=DIR object code libraries [EPREFIX/lib]
980 --includedir=DIR C header files [PREFIX/include]
981 --oldincludedir=DIR C header files for non-gcc [/usr/include]
982 --infodir=DIR info documentation [PREFIX/info]
983 --mandir=DIR man documentation [PREFIX/man]
984 _ACEOF
986 cat <<\_ACEOF
988 Program names:
989 --program-prefix=PREFIX prepend PREFIX to installed program names
990 --program-suffix=SUFFIX append SUFFIX to installed program names
991 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
993 System types:
994 --build=BUILD configure for building on BUILD [guessed]
995 --host=HOST cross-compile to build programs to run on HOST [BUILD]
996 --target=TARGET configure for building compilers for TARGET [HOST]
997 _ACEOF
1000 if test -n "$ac_init_help"; then
1001 case $ac_init_help in
1002 short | recursive ) echo "Configuration of package-unused version-unused:";;
1003 esac
1004 cat <<\_ACEOF
1006 Optional Features:
1007 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1008 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1009 --enable-multilib build many library versions (default)
1010 --enable-maintainer-mode enable make rules and dependencies not useful
1011 (and sometimes confusing) to the casual installer
1012 --enable-shared[=PKGS]
1013 build shared libraries [default=yes]
1014 --enable-static[=PKGS]
1015 build static libraries [default=yes]
1016 --enable-fast-install[=PKGS]
1017 optimize for fast installation [default=yes]
1018 --disable-libtool-lock avoid locking (might break parallel builds)
1019 --disable-hosted-libstdcxx
1020 only build freestanding C++ runtime support
1021 --enable-sjlj-exceptions
1022 force use of builtin_setjmp for exceptions
1023 [default=auto]
1024 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1025 [default=$is_hosted]
1026 --enable-cstdio=PACKAGE use target-specific I/O package
1027 [default=stdio]
1028 --enable-clocale[=MODEL]
1029 use MODEL for target locale package
1030 [default=auto]
1031 --enable-nls use Native Language Support (default)
1032 --enable-libstdcxx-allocator=KIND
1033 use KIND for target std::allocator base
1034 [default=auto]
1035 --enable-cheaders=KIND construct "C" headers for g++
1036 [default=$c_model]
1037 --enable-long-long enable template specializations for 'long long'
1038 [default=yes]
1039 --enable-wchar_t enable template specializations for 'wchar_t'
1040 [default=yes]
1041 --enable-c99 turns on ISO/IEC 9899:1999 support
1042 [default=yes]
1043 --enable-concept-checks use Boost-derived template checks [default=no]
1044 --enable-libstdcxx-debug-flags=FLAGS
1045 pass compiler FLAGS when building debug library
1046 [default="-g3 -O0"]
1047 --enable-libstdcxx-debug
1048 build extra debug library [default=no]
1049 --enable-cxx-flags=FLAGS
1050 pass compiler FLAGS when building library
1051 [default=]
1052 --enable-fully-dynamic-string
1053 do not put empty strings in per-process static
1054 memory [default=no]
1055 --enable-clock-gettime=KIND
1056 use KIND for check type [default=no]
1057 --enable-tls Use thread-local storage [default=yes]
1058 --disable-rpath do not hardcode runtime library paths
1059 --enable-linux-futex use the Linux futex system call
1060 [default=default]
1061 --enable-symvers=STYLE enables symbol versioning of the shared library
1062 [default=yes]
1063 --enable-visibility enables visibility safe usage [default=yes]
1064 --enable-version-specific-runtime-libs
1065 Specify that runtime libraries should be installed
1066 in a compiler-specific directory
1068 Optional Packages:
1069 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1070 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1071 --with-target-subdir=SUBDIR
1072 configuring in a subdirectory
1073 --with-cross-host=HOST configuring with a cross compiler
1074 --with-newlib assume newlib as a system C library
1075 --with-pic try to use only PIC/non-PIC objects [default=use
1076 both]
1077 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1078 --with-gnu-ld assume the C compiler uses GNU ld default=no
1079 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1080 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1081 --with-system-libunwind use installed libunwind
1082 --with-gxx-include-dir=DIR
1083 installation directory for include files
1085 Some influential environment variables:
1086 CC C compiler command
1087 CFLAGS C compiler flags
1088 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1089 nonstandard directory <lib dir>
1090 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1091 headers in a nonstandard directory <include dir>
1092 CXX C++ compiler command
1093 CXXFLAGS C++ compiler flags
1094 CPP C preprocessor
1095 CXXCPP C++ preprocessor
1097 Use these variables to override the choices made by `configure' or to help
1098 it to find libraries and programs with nonstandard names/locations.
1100 _ACEOF
1103 if test "$ac_init_help" = "recursive"; then
1104 # If there are subdirs, report their specific --help.
1105 ac_popdir=`pwd`
1106 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1107 test -d $ac_dir || continue
1108 ac_builddir=.
1110 if test "$ac_dir" != .; then
1111 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1112 # A "../" for each directory in $ac_dir_suffix.
1113 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1114 else
1115 ac_dir_suffix= ac_top_builddir=
1118 case $srcdir in
1119 .) # No --srcdir option. We are building in place.
1120 ac_srcdir=.
1121 if test -z "$ac_top_builddir"; then
1122 ac_top_srcdir=.
1123 else
1124 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1125 fi ;;
1126 [\\/]* | ?:[\\/]* ) # Absolute path.
1127 ac_srcdir=$srcdir$ac_dir_suffix;
1128 ac_top_srcdir=$srcdir ;;
1129 *) # Relative path.
1130 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1131 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1132 esac
1134 # Do not use `cd foo && pwd` to compute absolute paths, because
1135 # the directories may not exist.
1136 case `pwd` in
1137 .) ac_abs_builddir="$ac_dir";;
1139 case "$ac_dir" in
1140 .) ac_abs_builddir=`pwd`;;
1141 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1142 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1143 esac;;
1144 esac
1145 case $ac_abs_builddir in
1146 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1148 case ${ac_top_builddir}. in
1149 .) ac_abs_top_builddir=$ac_abs_builddir;;
1150 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1151 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1152 esac;;
1153 esac
1154 case $ac_abs_builddir in
1155 .) ac_abs_srcdir=$ac_srcdir;;
1157 case $ac_srcdir in
1158 .) ac_abs_srcdir=$ac_abs_builddir;;
1159 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1160 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1161 esac;;
1162 esac
1163 case $ac_abs_builddir in
1164 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1166 case $ac_top_srcdir in
1167 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1168 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1169 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1170 esac;;
1171 esac
1173 cd $ac_dir
1174 # Check for guested configure; otherwise get Cygnus style configure.
1175 if test -f $ac_srcdir/configure.gnu; then
1176 echo
1177 $SHELL $ac_srcdir/configure.gnu --help=recursive
1178 elif test -f $ac_srcdir/configure; then
1179 echo
1180 $SHELL $ac_srcdir/configure --help=recursive
1181 elif test -f $ac_srcdir/configure.ac ||
1182 test -f $ac_srcdir/configure.in; then
1183 echo
1184 $ac_configure --help
1185 else
1186 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1188 cd $ac_popdir
1189 done
1192 test -n "$ac_init_help" && exit 0
1193 if $ac_init_version; then
1194 cat <<\_ACEOF
1195 package-unused configure version-unused
1196 generated by GNU Autoconf 2.59
1198 Copyright (C) 2003 Free Software Foundation, Inc.
1199 This configure script is free software; the Free Software Foundation
1200 gives unlimited permission to copy, distribute and modify it.
1201 _ACEOF
1202 exit 0
1204 exec 5>config.log
1205 cat >&5 <<_ACEOF
1206 This file contains any messages produced by compilers while
1207 running configure, to aid debugging if configure makes a mistake.
1209 It was created by package-unused $as_me version-unused, which was
1210 generated by GNU Autoconf 2.59. Invocation command line was
1212 $ $0 $@
1214 _ACEOF
1216 cat <<_ASUNAME
1217 ## --------- ##
1218 ## Platform. ##
1219 ## --------- ##
1221 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1222 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1223 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1224 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1225 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1227 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1228 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1230 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1231 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1232 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1233 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1234 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1235 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1236 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1238 _ASUNAME
1240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1241 for as_dir in $PATH
1243 IFS=$as_save_IFS
1244 test -z "$as_dir" && as_dir=.
1245 echo "PATH: $as_dir"
1246 done
1248 } >&5
1250 cat >&5 <<_ACEOF
1253 ## ----------- ##
1254 ## Core tests. ##
1255 ## ----------- ##
1257 _ACEOF
1260 # Keep a trace of the command line.
1261 # Strip out --no-create and --no-recursion so they do not pile up.
1262 # Strip out --silent because we don't want to record it for future runs.
1263 # Also quote any args containing shell meta-characters.
1264 # Make two passes to allow for proper duplicate-argument suppression.
1265 ac_configure_args=
1266 ac_configure_args0=
1267 ac_configure_args1=
1268 ac_sep=
1269 ac_must_keep_next=false
1270 for ac_pass in 1 2
1272 for ac_arg
1274 case $ac_arg in
1275 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1276 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1277 | -silent | --silent | --silen | --sile | --sil)
1278 continue ;;
1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1281 esac
1282 case $ac_pass in
1283 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1285 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1286 if test $ac_must_keep_next = true; then
1287 ac_must_keep_next=false # Got value, back to normal.
1288 else
1289 case $ac_arg in
1290 *=* | --config-cache | -C | -disable-* | --disable-* \
1291 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1292 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1293 | -with-* | --with-* | -without-* | --without-* | --x)
1294 case "$ac_configure_args0 " in
1295 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1296 esac
1298 -* ) ac_must_keep_next=true ;;
1299 esac
1301 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1302 # Get rid of the leading space.
1303 ac_sep=" "
1305 esac
1306 done
1307 done
1308 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1309 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1311 # When interrupted or exit'd, cleanup temporary files, and complete
1312 # config.log. We remove comments because anyway the quotes in there
1313 # would cause problems or look ugly.
1314 # WARNING: Be sure not to use single quotes in there, as some shells,
1315 # such as our DU 5.0 friend, will then `close' the trap.
1316 trap 'exit_status=$?
1317 # Save into config.log some information that might help in debugging.
1319 echo
1321 cat <<\_ASBOX
1322 ## ---------------- ##
1323 ## Cache variables. ##
1324 ## ---------------- ##
1325 _ASBOX
1326 echo
1327 # The following way of writing the cache mishandles newlines in values,
1329 (set) 2>&1 |
1330 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1331 *ac_space=\ *)
1332 sed -n \
1333 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1334 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1337 sed -n \
1338 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1340 esac;
1342 echo
1344 cat <<\_ASBOX
1345 ## ----------------- ##
1346 ## Output variables. ##
1347 ## ----------------- ##
1348 _ASBOX
1349 echo
1350 for ac_var in $ac_subst_vars
1352 eval ac_val=$`echo $ac_var`
1353 echo "$ac_var='"'"'$ac_val'"'"'"
1354 done | sort
1355 echo
1357 if test -n "$ac_subst_files"; then
1358 cat <<\_ASBOX
1359 ## ------------- ##
1360 ## Output files. ##
1361 ## ------------- ##
1362 _ASBOX
1363 echo
1364 for ac_var in $ac_subst_files
1366 eval ac_val=$`echo $ac_var`
1367 echo "$ac_var='"'"'$ac_val'"'"'"
1368 done | sort
1369 echo
1372 if test -s confdefs.h; then
1373 cat <<\_ASBOX
1374 ## ----------- ##
1375 ## confdefs.h. ##
1376 ## ----------- ##
1377 _ASBOX
1378 echo
1379 sed "/^$/d" confdefs.h | sort
1380 echo
1382 test "$ac_signal" != 0 &&
1383 echo "$as_me: caught signal $ac_signal"
1384 echo "$as_me: exit $exit_status"
1385 } >&5
1386 rm -f core *.core &&
1387 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1388 exit $exit_status
1390 for ac_signal in 1 2 13 15; do
1391 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1392 done
1393 ac_signal=0
1395 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1396 rm -rf conftest* confdefs.h
1397 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1398 echo >confdefs.h
1400 # Predefined preprocessor variables.
1402 cat >>confdefs.h <<_ACEOF
1403 #define PACKAGE_NAME "$PACKAGE_NAME"
1404 _ACEOF
1407 cat >>confdefs.h <<_ACEOF
1408 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1409 _ACEOF
1412 cat >>confdefs.h <<_ACEOF
1413 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1414 _ACEOF
1417 cat >>confdefs.h <<_ACEOF
1418 #define PACKAGE_STRING "$PACKAGE_STRING"
1419 _ACEOF
1422 cat >>confdefs.h <<_ACEOF
1423 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1424 _ACEOF
1427 # Let the site file select an alternate cache file if it wants to.
1428 # Prefer explicitly selected file to automatically selected ones.
1429 if test -z "$CONFIG_SITE"; then
1430 if test "x$prefix" != xNONE; then
1431 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1432 else
1433 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1436 for ac_site_file in $CONFIG_SITE; do
1437 if test -r "$ac_site_file"; then
1438 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1439 echo "$as_me: loading site script $ac_site_file" >&6;}
1440 sed 's/^/| /' "$ac_site_file" >&5
1441 . "$ac_site_file"
1443 done
1445 if test -r "$cache_file"; then
1446 # Some versions of bash will fail to source /dev/null (special
1447 # files actually), so we avoid doing that.
1448 if test -f "$cache_file"; then
1449 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1450 echo "$as_me: loading cache $cache_file" >&6;}
1451 case $cache_file in
1452 [\\/]* | ?:[\\/]* ) . $cache_file;;
1453 *) . ./$cache_file;;
1454 esac
1456 else
1457 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1458 echo "$as_me: creating cache $cache_file" >&6;}
1459 >$cache_file
1462 # Check that the precious variables saved in the cache have kept the same
1463 # value.
1464 ac_cache_corrupted=false
1465 for ac_var in `(set) 2>&1 |
1466 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1467 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1468 eval ac_new_set=\$ac_env_${ac_var}_set
1469 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1470 eval ac_new_val="\$ac_env_${ac_var}_value"
1471 case $ac_old_set,$ac_new_set in
1472 set,)
1473 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1475 ac_cache_corrupted=: ;;
1476 ,set)
1477 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1478 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1479 ac_cache_corrupted=: ;;
1480 ,);;
1482 if test "x$ac_old_val" != "x$ac_new_val"; then
1483 # differences in whitespace do not lead to failure.
1484 ac_old_val_w=`echo x $ac_old_val`
1485 ac_new_val_w=`echo x $ac_new_val`
1486 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1487 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1488 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1489 ac_cache_corrupted=:
1490 else
1491 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1492 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1493 eval $ac_var=\$ac_old_val
1495 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1496 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1497 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1498 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1499 fi;;
1500 esac
1501 # Pass precious variables to config.status.
1502 if test "$ac_new_set" = set; then
1503 case $ac_new_val in
1504 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1505 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1506 *) ac_arg=$ac_var=$ac_new_val ;;
1507 esac
1508 case " $ac_configure_args " in
1509 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1510 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1511 esac
1513 done
1514 if $ac_cache_corrupted; then
1515 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1516 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1517 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1518 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1519 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1520 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1521 { (exit 1); exit 1; }; }
1524 ac_ext=c
1525 ac_cpp='$CPP $CPPFLAGS'
1526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1560 ac_config_headers="$ac_config_headers config.h"
1563 # This works around the fact that libtool configuration may change LD
1564 # for this particular configuration, but some shells, instead of
1565 # keeping the changes in LD private, export them just because LD is
1566 # exported. Only used at the end of this file.
1567 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1569 # For libtool versioning info, format is CURRENT:REVISION:AGE
1570 libtool_VERSION=6:11:0
1573 # Find the rest of the source tree framework.
1574 # Default to --enable-multilib
1575 # Check whether --enable-multilib or --disable-multilib was given.
1576 if test "${enable_multilib+set}" = set; then
1577 enableval="$enable_multilib"
1578 case "$enableval" in
1579 yes) multilib=yes ;;
1580 no) multilib=no ;;
1581 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1582 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1583 { (exit 1); exit 1; }; } ;;
1584 esac
1585 else
1586 multilib=yes
1589 # We may get other options which we leave undocumented:
1590 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1591 # See config-ml.in if you want the gory details.
1593 if test "$srcdir" = "."; then
1594 if test "$with_target_subdir" != "."; then
1595 multi_basedir="$srcdir/$with_multisrctop../.."
1596 else
1597 multi_basedir="$srcdir/$with_multisrctop.."
1599 else
1600 multi_basedir="$srcdir/.."
1604 # Even if the default multilib is not a cross compilation,
1605 # it may be that some of the other multilibs are.
1606 if test $cross_compiling = no && test $multilib = yes \
1607 && test "x${with_multisubdir}" != x ; then
1608 cross_compiling=maybe
1611 ac_config_commands="$ac_config_commands default-1"
1614 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1616 # You will slowly go insane if you do not grok the following fact: when
1617 # building v3 as part of the compiler, the top-level /target/ becomes the
1618 # library's /host/. configure then causes --target to default to --host,
1619 # exactly like any other package using autoconf. Therefore, 'target' and
1620 # 'host' will always be the same. This makes sense both for native and
1621 # cross compilers, just think about it for a little while. :-)
1623 # Also, if v3 is being configured as part of a cross compiler, the top-level
1624 # configure script will pass the "real" host as $with_cross_host.
1626 # Do not delete or change the following two lines. For why, see
1627 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1628 ac_aux_dir=
1629 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1630 if test -f $ac_dir/install-sh; then
1631 ac_aux_dir=$ac_dir
1632 ac_install_sh="$ac_aux_dir/install-sh -c"
1633 break
1634 elif test -f $ac_dir/install.sh; then
1635 ac_aux_dir=$ac_dir
1636 ac_install_sh="$ac_aux_dir/install.sh -c"
1637 break
1638 elif test -f $ac_dir/shtool; then
1639 ac_aux_dir=$ac_dir
1640 ac_install_sh="$ac_aux_dir/shtool install -c"
1641 break
1643 done
1644 if test -z "$ac_aux_dir"; then
1645 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1646 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1647 { (exit 1); exit 1; }; }
1649 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1650 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1651 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1653 # Make sure we can run config.sub.
1654 $ac_config_sub sun4 >/dev/null 2>&1 ||
1655 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1656 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1657 { (exit 1); exit 1; }; }
1659 echo "$as_me:$LINENO: checking build system type" >&5
1660 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1661 if test "${ac_cv_build+set}" = set; then
1662 echo $ECHO_N "(cached) $ECHO_C" >&6
1663 else
1664 ac_cv_build_alias=$build_alias
1665 test -z "$ac_cv_build_alias" &&
1666 ac_cv_build_alias=`$ac_config_guess`
1667 test -z "$ac_cv_build_alias" &&
1668 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1669 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1670 { (exit 1); exit 1; }; }
1671 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1672 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1673 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1674 { (exit 1); exit 1; }; }
1677 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1678 echo "${ECHO_T}$ac_cv_build" >&6
1679 build=$ac_cv_build
1680 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1681 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1682 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1685 echo "$as_me:$LINENO: checking host system type" >&5
1686 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1687 if test "${ac_cv_host+set}" = set; then
1688 echo $ECHO_N "(cached) $ECHO_C" >&6
1689 else
1690 ac_cv_host_alias=$host_alias
1691 test -z "$ac_cv_host_alias" &&
1692 ac_cv_host_alias=$ac_cv_build_alias
1693 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1694 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1695 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1696 { (exit 1); exit 1; }; }
1699 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1700 echo "${ECHO_T}$ac_cv_host" >&6
1701 host=$ac_cv_host
1702 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1703 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1704 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1707 echo "$as_me:$LINENO: checking target system type" >&5
1708 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1709 if test "${ac_cv_target+set}" = set; then
1710 echo $ECHO_N "(cached) $ECHO_C" >&6
1711 else
1712 ac_cv_target_alias=$target_alias
1713 test "x$ac_cv_target_alias" = "x" &&
1714 ac_cv_target_alias=$ac_cv_host_alias
1715 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1716 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1717 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1718 { (exit 1); exit 1; }; }
1721 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1722 echo "${ECHO_T}$ac_cv_target" >&6
1723 target=$ac_cv_target
1724 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1725 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1726 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1729 # The aliases save the names the user supplied, while $host etc.
1730 # will get canonicalized.
1731 test -n "$target_alias" &&
1732 test "$program_prefix$program_suffix$program_transform_name" = \
1733 NONENONEs,x,x, &&
1734 program_prefix=${target_alias}-
1735 target_alias=${target_alias-$host_alias}
1737 # Handy for debugging:
1738 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1740 if test "$build" != "$host"; then
1741 # We are being configured with some form of cross compiler.
1742 GLIBCXX_IS_NATIVE=false
1743 case "$host","$target" in
1744 # Darwin crosses can use the host system's libraries and headers,
1745 # because of the fat library support. Of course, it must be the
1746 # same version of Darwin on both sides. Allow the user to
1747 # just say --target=foo-darwin without a version number to mean
1748 # "the version on this system".
1749 *-*-darwin*,*-*-darwin*)
1750 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1751 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1752 if test $hostos = $targetos -o $targetos = darwin ; then
1753 GLIBCXX_IS_NATIVE=true
1760 esac
1761 else
1762 GLIBCXX_IS_NATIVE=true
1765 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1766 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1767 # 1.x: minimum required version
1768 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1769 # of other PACKAGE_* variables will, however, and there's nothing
1770 # we can do about that; they come from AC_INIT).
1771 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1772 # file in the top srcdir, etc, etc), so stop complaining.
1773 # no-dependencies: turns off auto dependency generation (just for now)
1774 # -Wall: turns on all automake warnings...
1775 # -Wno-portability: ...except this one, since GNU make is now required.
1776 am__api_version="1.9"
1777 # Find a good install program. We prefer a C program (faster),
1778 # so one script is as good as another. But avoid the broken or
1779 # incompatible versions:
1780 # SysV /etc/install, /usr/sbin/install
1781 # SunOS /usr/etc/install
1782 # IRIX /sbin/install
1783 # AIX /bin/install
1784 # AmigaOS /C/install, which installs bootblocks on floppy discs
1785 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1786 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1787 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1788 # OS/2's system install, which has a completely different semantic
1789 # ./install, which can be erroneously created by make from ./install.sh.
1790 # Reject install programs that cannot install multiple files.
1791 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1792 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1793 if test -z "$INSTALL"; then
1794 if test "${ac_cv_path_install+set}" = set; then
1795 echo $ECHO_N "(cached) $ECHO_C" >&6
1796 else
1797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1798 for as_dir in $PATH
1800 IFS=$as_save_IFS
1801 test -z "$as_dir" && as_dir=.
1802 # Account for people who put trailing slashes in PATH elements.
1803 case $as_dir/ in
1804 ./ | .// | /cC/* | \
1805 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1806 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1807 /usr/ucb/* ) ;;
1809 # OSF1 and SCO ODT 3.0 have their own names for install.
1810 # Don't use installbsd from OSF since it installs stuff as root
1811 # by default.
1812 for ac_prog in ginstall scoinst install; do
1813 for ac_exec_ext in '' $ac_executable_extensions; do
1814 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1815 if test $ac_prog = install &&
1816 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1817 # AIX install. It has an incompatible calling convention.
1819 elif test $ac_prog = install &&
1820 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1821 # program-specific install script used by HP pwplus--don't use.
1823 else
1824 rm -rf conftest.one conftest.two conftest.dir
1825 echo one > conftest.one
1826 echo two > conftest.two
1827 mkdir conftest.dir
1828 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1829 test -s conftest.one && test -s conftest.two &&
1830 test -s conftest.dir/conftest.one &&
1831 test -s conftest.dir/conftest.two
1832 then
1833 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1834 break 3
1838 done
1839 done
1841 esac
1842 done
1844 rm -rf conftest.one conftest.two conftest.dir
1847 if test "${ac_cv_path_install+set}" = set; then
1848 INSTALL=$ac_cv_path_install
1849 else
1850 # As a last resort, use the slow shell script. Don't cache a
1851 # value for INSTALL within a source directory, because that will
1852 # break other packages using the cache if that directory is
1853 # removed, or if the value is a relative name.
1854 INSTALL=$ac_install_sh
1857 echo "$as_me:$LINENO: result: $INSTALL" >&5
1858 echo "${ECHO_T}$INSTALL" >&6
1860 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1861 # It thinks the first close brace ends the variable substitution.
1862 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1864 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1866 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1868 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1869 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1870 # Just in case
1871 sleep 1
1872 echo timestamp > conftest.file
1873 # Do `set' in a subshell so we don't clobber the current shell's
1874 # arguments. Must try -L first in case configure is actually a
1875 # symlink; some systems play weird games with the mod time of symlinks
1876 # (eg FreeBSD returns the mod time of the symlink's containing
1877 # directory).
1878 if (
1879 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1880 if test "$*" = "X"; then
1881 # -L didn't work.
1882 set X `ls -t $srcdir/configure conftest.file`
1884 rm -f conftest.file
1885 if test "$*" != "X $srcdir/configure conftest.file" \
1886 && test "$*" != "X conftest.file $srcdir/configure"; then
1888 # If neither matched, then we have a broken ls. This can happen
1889 # if, for instance, CONFIG_SHELL is bash and it inherits a
1890 # broken ls alias from the environment. This has actually
1891 # happened. Such a system could not be considered "sane".
1892 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1893 alias in your environment" >&5
1894 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1895 alias in your environment" >&2;}
1896 { (exit 1); exit 1; }; }
1899 test "$2" = conftest.file
1901 then
1902 # Ok.
1904 else
1905 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1906 Check your system clock" >&5
1907 echo "$as_me: error: newly created file is older than distributed files!
1908 Check your system clock" >&2;}
1909 { (exit 1); exit 1; }; }
1911 echo "$as_me:$LINENO: result: yes" >&5
1912 echo "${ECHO_T}yes" >&6
1913 test "$program_prefix" != NONE &&
1914 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1915 # Use a double $ so make ignores it.
1916 test "$program_suffix" != NONE &&
1917 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1918 # Double any \ or $. echo might interpret backslashes.
1919 # By default was `s,x,x', remove it if useless.
1920 cat <<\_ACEOF >conftest.sed
1921 s/[\\$]/&&/g;s/;s,x,x,$//
1922 _ACEOF
1923 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1924 rm conftest.sed
1926 # expand $ac_aux_dir to an absolute path
1927 am_aux_dir=`cd $ac_aux_dir && pwd`
1929 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1930 # Use eval to expand $SHELL
1931 if eval "$MISSING --run true"; then
1932 am_missing_run="$MISSING --run "
1933 else
1934 am_missing_run=
1935 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1936 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1939 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1940 # We used to keeping the `.' as first argument, in order to
1941 # allow $(mkdir_p) to be used without argument. As in
1942 # $(mkdir_p) $(somedir)
1943 # where $(somedir) is conditionally defined. However this is wrong
1944 # for two reasons:
1945 # 1. if the package is installed by a user who cannot write `.'
1946 # make install will fail,
1947 # 2. the above comment should most certainly read
1948 # $(mkdir_p) $(DESTDIR)$(somedir)
1949 # so it does not work when $(somedir) is undefined and
1950 # $(DESTDIR) is not.
1951 # To support the latter case, we have to write
1952 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1953 # so the `.' trick is pointless.
1954 mkdir_p='mkdir -p --'
1955 else
1956 # On NextStep and OpenStep, the `mkdir' command does not
1957 # recognize any option. It will interpret all options as
1958 # directories to create, and then abort because `.' already
1959 # exists.
1960 for d in ./-p ./--version;
1962 test -d $d && rmdir $d
1963 done
1964 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1965 if test -f "$ac_aux_dir/mkinstalldirs"; then
1966 mkdir_p='$(mkinstalldirs)'
1967 else
1968 mkdir_p='$(install_sh) -d'
1972 for ac_prog in gawk mawk nawk awk
1974 # Extract the first word of "$ac_prog", so it can be a program name with args.
1975 set dummy $ac_prog; ac_word=$2
1976 echo "$as_me:$LINENO: checking for $ac_word" >&5
1977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1978 if test "${ac_cv_prog_AWK+set}" = set; then
1979 echo $ECHO_N "(cached) $ECHO_C" >&6
1980 else
1981 if test -n "$AWK"; then
1982 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1983 else
1984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1985 for as_dir in $PATH
1987 IFS=$as_save_IFS
1988 test -z "$as_dir" && as_dir=.
1989 for ac_exec_ext in '' $ac_executable_extensions; do
1990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1991 ac_cv_prog_AWK="$ac_prog"
1992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993 break 2
1995 done
1996 done
2000 AWK=$ac_cv_prog_AWK
2001 if test -n "$AWK"; then
2002 echo "$as_me:$LINENO: result: $AWK" >&5
2003 echo "${ECHO_T}$AWK" >&6
2004 else
2005 echo "$as_me:$LINENO: result: no" >&5
2006 echo "${ECHO_T}no" >&6
2009 test -n "$AWK" && break
2010 done
2012 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2013 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2014 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2015 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2016 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 else
2018 cat >conftest.make <<\_ACEOF
2019 all:
2020 @echo 'ac_maketemp="$(MAKE)"'
2021 _ACEOF
2022 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2023 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2024 if test -n "$ac_maketemp"; then
2025 eval ac_cv_prog_make_${ac_make}_set=yes
2026 else
2027 eval ac_cv_prog_make_${ac_make}_set=no
2029 rm -f conftest.make
2031 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2032 echo "$as_me:$LINENO: result: yes" >&5
2033 echo "${ECHO_T}yes" >&6
2034 SET_MAKE=
2035 else
2036 echo "$as_me:$LINENO: result: no" >&5
2037 echo "${ECHO_T}no" >&6
2038 SET_MAKE="MAKE=${MAKE-make}"
2041 rm -rf .tst 2>/dev/null
2042 mkdir .tst 2>/dev/null
2043 if test -d .tst; then
2044 am__leading_dot=.
2045 else
2046 am__leading_dot=_
2048 rmdir .tst 2>/dev/null
2050 # test to see if srcdir already configured
2051 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2052 test -f $srcdir/config.status; then
2053 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2054 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2055 { (exit 1); exit 1; }; }
2058 # test whether we have cygpath
2059 if test -z "$CYGPATH_W"; then
2060 if (cygpath --version) >/dev/null 2>/dev/null; then
2061 CYGPATH_W='cygpath -w'
2062 else
2063 CYGPATH_W=echo
2068 # Define the identity of the package.
2069 PACKAGE='libstdc++'
2070 VERSION='version-unused'
2073 # Some tools Automake needs.
2075 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2078 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2081 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2084 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2087 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2089 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2091 # Installed binaries are usually stripped using `strip' when the user
2092 # run `make install-strip'. However `strip' might not be the right
2093 # tool to use in cross-compilation environments, therefore Automake
2094 # will honor the `STRIP' environment variable to overrule this program.
2095 if test "$cross_compiling" != no; then
2096 if test -n "$ac_tool_prefix"; then
2097 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2098 set dummy ${ac_tool_prefix}strip; ac_word=$2
2099 echo "$as_me:$LINENO: checking for $ac_word" >&5
2100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2101 if test "${ac_cv_prog_STRIP+set}" = set; then
2102 echo $ECHO_N "(cached) $ECHO_C" >&6
2103 else
2104 if test -n "$STRIP"; then
2105 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2106 else
2107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2108 for as_dir in $PATH
2110 IFS=$as_save_IFS
2111 test -z "$as_dir" && as_dir=.
2112 for ac_exec_ext in '' $ac_executable_extensions; do
2113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2114 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2116 break 2
2118 done
2119 done
2123 STRIP=$ac_cv_prog_STRIP
2124 if test -n "$STRIP"; then
2125 echo "$as_me:$LINENO: result: $STRIP" >&5
2126 echo "${ECHO_T}$STRIP" >&6
2127 else
2128 echo "$as_me:$LINENO: result: no" >&5
2129 echo "${ECHO_T}no" >&6
2133 if test -z "$ac_cv_prog_STRIP"; then
2134 ac_ct_STRIP=$STRIP
2135 # Extract the first word of "strip", so it can be a program name with args.
2136 set dummy strip; ac_word=$2
2137 echo "$as_me:$LINENO: checking for $ac_word" >&5
2138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2139 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2140 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 else
2142 if test -n "$ac_ct_STRIP"; then
2143 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2144 else
2145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2146 for as_dir in $PATH
2148 IFS=$as_save_IFS
2149 test -z "$as_dir" && as_dir=.
2150 for ac_exec_ext in '' $ac_executable_extensions; do
2151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2152 ac_cv_prog_ac_ct_STRIP="strip"
2153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 break 2
2156 done
2157 done
2159 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2162 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2163 if test -n "$ac_ct_STRIP"; then
2164 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2165 echo "${ECHO_T}$ac_ct_STRIP" >&6
2166 else
2167 echo "$as_me:$LINENO: result: no" >&5
2168 echo "${ECHO_T}no" >&6
2171 STRIP=$ac_ct_STRIP
2172 else
2173 STRIP="$ac_cv_prog_STRIP"
2177 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2179 # We need awk for the "check" target. The system "awk" is bad on
2180 # some platforms.
2181 # Always define AMTAR for backward compatibility.
2183 AMTAR=${AMTAR-"${am_missing_run}tar"}
2185 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2196 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
2197 # up critical shell variables.
2199 ac_ext=c
2200 ac_cpp='$CPP $CPPFLAGS'
2201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2204 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2205 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2206 # On Suns, sometimes $CPP names a directory.
2207 if test -n "$CPP" && test -d "$CPP"; then
2208 CPP=
2210 if test -z "$CPP"; then
2211 if test "${ac_cv_prog_CPP+set}" = set; then
2212 echo $ECHO_N "(cached) $ECHO_C" >&6
2213 else
2214 # Double quotes because CPP needs to be expanded
2215 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2217 ac_preproc_ok=false
2218 for ac_c_preproc_warn_flag in '' yes
2220 # Use a header file that comes with gcc, so configuring glibc
2221 # with a fresh cross-compiler works.
2222 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2223 # <limits.h> exists even on freestanding compilers.
2224 # On the NeXT, cc -E runs the code through the compiler's parser,
2225 # not just through cpp. "Syntax error" is here to catch this case.
2226 cat >conftest.$ac_ext <<_ACEOF
2227 /* confdefs.h. */
2228 _ACEOF
2229 cat confdefs.h >>conftest.$ac_ext
2230 cat >>conftest.$ac_ext <<_ACEOF
2231 /* end confdefs.h. */
2232 #ifdef __STDC__
2233 # include <limits.h>
2234 #else
2235 # include <assert.h>
2236 #endif
2237 Syntax error
2238 _ACEOF
2239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2241 ac_status=$?
2242 grep -v '^ *+' conftest.er1 >conftest.err
2243 rm -f conftest.er1
2244 cat conftest.err >&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); } >/dev/null; then
2247 if test -s conftest.err; then
2248 ac_cpp_err=$ac_c_preproc_warn_flag
2249 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2250 else
2251 ac_cpp_err=
2253 else
2254 ac_cpp_err=yes
2256 if test -z "$ac_cpp_err"; then
2258 else
2259 echo "$as_me: failed program was:" >&5
2260 sed 's/^/| /' conftest.$ac_ext >&5
2262 # Broken: fails on valid input.
2263 continue
2265 rm -f conftest.err conftest.$ac_ext
2267 # OK, works on sane cases. Now check whether non-existent headers
2268 # can be detected and how.
2269 cat >conftest.$ac_ext <<_ACEOF
2270 /* confdefs.h. */
2271 _ACEOF
2272 cat confdefs.h >>conftest.$ac_ext
2273 cat >>conftest.$ac_ext <<_ACEOF
2274 /* end confdefs.h. */
2275 #include <ac_nonexistent.h>
2276 _ACEOF
2277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2278 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2279 ac_status=$?
2280 grep -v '^ *+' conftest.er1 >conftest.err
2281 rm -f conftest.er1
2282 cat conftest.err >&5
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); } >/dev/null; then
2285 if test -s conftest.err; then
2286 ac_cpp_err=$ac_c_preproc_warn_flag
2287 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2288 else
2289 ac_cpp_err=
2291 else
2292 ac_cpp_err=yes
2294 if test -z "$ac_cpp_err"; then
2295 # Broken: success on invalid input.
2296 continue
2297 else
2298 echo "$as_me: failed program was:" >&5
2299 sed 's/^/| /' conftest.$ac_ext >&5
2301 # Passes both tests.
2302 ac_preproc_ok=:
2303 break
2305 rm -f conftest.err conftest.$ac_ext
2307 done
2308 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2309 rm -f conftest.err conftest.$ac_ext
2310 if $ac_preproc_ok; then
2311 break
2314 done
2315 ac_cv_prog_CPP=$CPP
2318 CPP=$ac_cv_prog_CPP
2319 else
2320 ac_cv_prog_CPP=$CPP
2322 echo "$as_me:$LINENO: result: $CPP" >&5
2323 echo "${ECHO_T}$CPP" >&6
2324 ac_preproc_ok=false
2325 for ac_c_preproc_warn_flag in '' yes
2327 # Use a header file that comes with gcc, so configuring glibc
2328 # with a fresh cross-compiler works.
2329 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2330 # <limits.h> exists even on freestanding compilers.
2331 # On the NeXT, cc -E runs the code through the compiler's parser,
2332 # not just through cpp. "Syntax error" is here to catch this case.
2333 cat >conftest.$ac_ext <<_ACEOF
2334 /* confdefs.h. */
2335 _ACEOF
2336 cat confdefs.h >>conftest.$ac_ext
2337 cat >>conftest.$ac_ext <<_ACEOF
2338 /* end confdefs.h. */
2339 #ifdef __STDC__
2340 # include <limits.h>
2341 #else
2342 # include <assert.h>
2343 #endif
2344 Syntax error
2345 _ACEOF
2346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2348 ac_status=$?
2349 grep -v '^ *+' conftest.er1 >conftest.err
2350 rm -f conftest.er1
2351 cat conftest.err >&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); } >/dev/null; then
2354 if test -s conftest.err; then
2355 ac_cpp_err=$ac_c_preproc_warn_flag
2356 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2357 else
2358 ac_cpp_err=
2360 else
2361 ac_cpp_err=yes
2363 if test -z "$ac_cpp_err"; then
2365 else
2366 echo "$as_me: failed program was:" >&5
2367 sed 's/^/| /' conftest.$ac_ext >&5
2369 # Broken: fails on valid input.
2370 continue
2372 rm -f conftest.err conftest.$ac_ext
2374 # OK, works on sane cases. Now check whether non-existent headers
2375 # can be detected and how.
2376 cat >conftest.$ac_ext <<_ACEOF
2377 /* confdefs.h. */
2378 _ACEOF
2379 cat confdefs.h >>conftest.$ac_ext
2380 cat >>conftest.$ac_ext <<_ACEOF
2381 /* end confdefs.h. */
2382 #include <ac_nonexistent.h>
2383 _ACEOF
2384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2386 ac_status=$?
2387 grep -v '^ *+' conftest.er1 >conftest.err
2388 rm -f conftest.er1
2389 cat conftest.err >&5
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); } >/dev/null; then
2392 if test -s conftest.err; then
2393 ac_cpp_err=$ac_c_preproc_warn_flag
2394 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2395 else
2396 ac_cpp_err=
2398 else
2399 ac_cpp_err=yes
2401 if test -z "$ac_cpp_err"; then
2402 # Broken: success on invalid input.
2403 continue
2404 else
2405 echo "$as_me: failed program was:" >&5
2406 sed 's/^/| /' conftest.$ac_ext >&5
2408 # Passes both tests.
2409 ac_preproc_ok=:
2410 break
2412 rm -f conftest.err conftest.$ac_ext
2414 done
2415 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2416 rm -f conftest.err conftest.$ac_ext
2417 if $ac_preproc_ok; then
2419 else
2420 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2421 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2422 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2423 See \`config.log' for more details." >&5
2424 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2425 See \`config.log' for more details." >&2;}
2426 { (exit 1); exit 1; }; }; }
2429 ac_ext=c
2430 ac_cpp='$CPP $CPPFLAGS'
2431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2436 echo "$as_me:$LINENO: checking for egrep" >&5
2437 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2438 if test "${ac_cv_prog_egrep+set}" = set; then
2439 echo $ECHO_N "(cached) $ECHO_C" >&6
2440 else
2441 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2442 then ac_cv_prog_egrep='grep -E'
2443 else ac_cv_prog_egrep='egrep'
2446 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2447 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2448 EGREP=$ac_cv_prog_egrep
2452 # Keep these sync'd with the list in Makefile.am. The first provides an
2453 # expandable list at autoconf time; the second provides an expandable list
2454 # (i.e., shell variable) at configure time.
2456 SUBDIRS='include libmath libsupc++ src doc po testsuite'
2458 # These need to be absolute paths, yet at the same time need to
2459 # canonicalize only relative paths, because then amd will not unmount
2460 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2461 glibcxx_builddir=`${PWDCMD-pwd}`
2462 case $srcdir in
2463 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2464 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2465 esac
2466 toplevel_srcdir=${glibcxx_srcdir}/..
2471 # We use these options to decide which functions to include. They are
2472 # set from the top level.
2474 # Check whether --with-target-subdir or --without-target-subdir was given.
2475 if test "${with_target_subdir+set}" = set; then
2476 withval="$with_target_subdir"
2481 # Check whether --with-cross-host or --without-cross-host was given.
2482 if test "${with_cross_host+set}" = set; then
2483 withval="$with_cross_host"
2488 # Check whether --with-newlib or --without-newlib was given.
2489 if test "${with_newlib+set}" = set; then
2490 withval="$with_newlib"
2494 # We're almost certainly being configured before anything else which uses
2495 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2496 # we not cache the value of CXX that we "discover" here, because it's set
2497 # to something unique for us and libjava. Other target libraries need to
2498 # find CXX for themselves. We yank the rug out from under the normal AC_*
2499 # process by sneakily renaming the cache variable. This also lets us debug
2500 # the value of "our" CXX in postmortems.
2502 # We must also force CXX to /not/ be a precious variable, otherwise the
2503 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2504 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2505 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2506 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2508 # -fno-builtin must be present here so that a non-conflicting form of
2509 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2514 save_CXXFLAGS="$CXXFLAGS"
2515 CXXFLAGS="$CXXFLAGS -fno-builtin"
2516 ac_ext=c
2517 ac_cpp='$CPP $CPPFLAGS'
2518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2521 if test -n "$ac_tool_prefix"; then
2522 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2523 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2524 echo "$as_me:$LINENO: checking for $ac_word" >&5
2525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2526 if test "${ac_cv_prog_CC+set}" = set; then
2527 echo $ECHO_N "(cached) $ECHO_C" >&6
2528 else
2529 if test -n "$CC"; then
2530 ac_cv_prog_CC="$CC" # Let the user override the test.
2531 else
2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2533 for as_dir in $PATH
2535 IFS=$as_save_IFS
2536 test -z "$as_dir" && as_dir=.
2537 for ac_exec_ext in '' $ac_executable_extensions; do
2538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2539 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2541 break 2
2543 done
2544 done
2548 CC=$ac_cv_prog_CC
2549 if test -n "$CC"; then
2550 echo "$as_me:$LINENO: result: $CC" >&5
2551 echo "${ECHO_T}$CC" >&6
2552 else
2553 echo "$as_me:$LINENO: result: no" >&5
2554 echo "${ECHO_T}no" >&6
2558 if test -z "$ac_cv_prog_CC"; then
2559 ac_ct_CC=$CC
2560 # Extract the first word of "gcc", so it can be a program name with args.
2561 set dummy gcc; ac_word=$2
2562 echo "$as_me:$LINENO: checking for $ac_word" >&5
2563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2564 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2565 echo $ECHO_N "(cached) $ECHO_C" >&6
2566 else
2567 if test -n "$ac_ct_CC"; then
2568 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2569 else
2570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571 for as_dir in $PATH
2573 IFS=$as_save_IFS
2574 test -z "$as_dir" && as_dir=.
2575 for ac_exec_ext in '' $ac_executable_extensions; do
2576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2577 ac_cv_prog_ac_ct_CC="gcc"
2578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2579 break 2
2581 done
2582 done
2586 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2587 if test -n "$ac_ct_CC"; then
2588 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2589 echo "${ECHO_T}$ac_ct_CC" >&6
2590 else
2591 echo "$as_me:$LINENO: result: no" >&5
2592 echo "${ECHO_T}no" >&6
2595 CC=$ac_ct_CC
2596 else
2597 CC="$ac_cv_prog_CC"
2600 if test -z "$CC"; then
2601 if test -n "$ac_tool_prefix"; then
2602 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2603 set dummy ${ac_tool_prefix}cc; ac_word=$2
2604 echo "$as_me:$LINENO: checking for $ac_word" >&5
2605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2606 if test "${ac_cv_prog_CC+set}" = set; then
2607 echo $ECHO_N "(cached) $ECHO_C" >&6
2608 else
2609 if test -n "$CC"; then
2610 ac_cv_prog_CC="$CC" # Let the user override the test.
2611 else
2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 for as_dir in $PATH
2615 IFS=$as_save_IFS
2616 test -z "$as_dir" && as_dir=.
2617 for ac_exec_ext in '' $ac_executable_extensions; do
2618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2619 ac_cv_prog_CC="${ac_tool_prefix}cc"
2620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2621 break 2
2623 done
2624 done
2628 CC=$ac_cv_prog_CC
2629 if test -n "$CC"; then
2630 echo "$as_me:$LINENO: result: $CC" >&5
2631 echo "${ECHO_T}$CC" >&6
2632 else
2633 echo "$as_me:$LINENO: result: no" >&5
2634 echo "${ECHO_T}no" >&6
2638 if test -z "$ac_cv_prog_CC"; then
2639 ac_ct_CC=$CC
2640 # Extract the first word of "cc", so it can be a program name with args.
2641 set dummy cc; ac_word=$2
2642 echo "$as_me:$LINENO: checking for $ac_word" >&5
2643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2644 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2645 echo $ECHO_N "(cached) $ECHO_C" >&6
2646 else
2647 if test -n "$ac_ct_CC"; then
2648 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2649 else
2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651 for as_dir in $PATH
2653 IFS=$as_save_IFS
2654 test -z "$as_dir" && as_dir=.
2655 for ac_exec_ext in '' $ac_executable_extensions; do
2656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2657 ac_cv_prog_ac_ct_CC="cc"
2658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2659 break 2
2661 done
2662 done
2666 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2667 if test -n "$ac_ct_CC"; then
2668 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2669 echo "${ECHO_T}$ac_ct_CC" >&6
2670 else
2671 echo "$as_me:$LINENO: result: no" >&5
2672 echo "${ECHO_T}no" >&6
2675 CC=$ac_ct_CC
2676 else
2677 CC="$ac_cv_prog_CC"
2681 if test -z "$CC"; then
2682 # Extract the first word of "cc", so it can be a program name with args.
2683 set dummy cc; ac_word=$2
2684 echo "$as_me:$LINENO: checking for $ac_word" >&5
2685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2686 if test "${ac_cv_prog_CC+set}" = set; then
2687 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 else
2689 if test -n "$CC"; then
2690 ac_cv_prog_CC="$CC" # Let the user override the test.
2691 else
2692 ac_prog_rejected=no
2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 for as_dir in $PATH
2696 IFS=$as_save_IFS
2697 test -z "$as_dir" && as_dir=.
2698 for ac_exec_ext in '' $ac_executable_extensions; do
2699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2700 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2701 ac_prog_rejected=yes
2702 continue
2704 ac_cv_prog_CC="cc"
2705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2706 break 2
2708 done
2709 done
2711 if test $ac_prog_rejected = yes; then
2712 # We found a bogon in the path, so make sure we never use it.
2713 set dummy $ac_cv_prog_CC
2714 shift
2715 if test $# != 0; then
2716 # We chose a different compiler from the bogus one.
2717 # However, it has the same basename, so the bogon will be chosen
2718 # first if we set CC to just the basename; use the full file name.
2719 shift
2720 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2725 CC=$ac_cv_prog_CC
2726 if test -n "$CC"; then
2727 echo "$as_me:$LINENO: result: $CC" >&5
2728 echo "${ECHO_T}$CC" >&6
2729 else
2730 echo "$as_me:$LINENO: result: no" >&5
2731 echo "${ECHO_T}no" >&6
2735 if test -z "$CC"; then
2736 if test -n "$ac_tool_prefix"; then
2737 for ac_prog in cl
2739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2741 echo "$as_me:$LINENO: checking for $ac_word" >&5
2742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2743 if test "${ac_cv_prog_CC+set}" = set; then
2744 echo $ECHO_N "(cached) $ECHO_C" >&6
2745 else
2746 if test -n "$CC"; then
2747 ac_cv_prog_CC="$CC" # Let the user override the test.
2748 else
2749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2750 for as_dir in $PATH
2752 IFS=$as_save_IFS
2753 test -z "$as_dir" && as_dir=.
2754 for ac_exec_ext in '' $ac_executable_extensions; do
2755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2756 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 break 2
2760 done
2761 done
2765 CC=$ac_cv_prog_CC
2766 if test -n "$CC"; then
2767 echo "$as_me:$LINENO: result: $CC" >&5
2768 echo "${ECHO_T}$CC" >&6
2769 else
2770 echo "$as_me:$LINENO: result: no" >&5
2771 echo "${ECHO_T}no" >&6
2774 test -n "$CC" && break
2775 done
2777 if test -z "$CC"; then
2778 ac_ct_CC=$CC
2779 for ac_prog in cl
2781 # Extract the first word of "$ac_prog", so it can be a program name with args.
2782 set dummy $ac_prog; ac_word=$2
2783 echo "$as_me:$LINENO: checking for $ac_word" >&5
2784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2785 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2786 echo $ECHO_N "(cached) $ECHO_C" >&6
2787 else
2788 if test -n "$ac_ct_CC"; then
2789 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2790 else
2791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792 for as_dir in $PATH
2794 IFS=$as_save_IFS
2795 test -z "$as_dir" && as_dir=.
2796 for ac_exec_ext in '' $ac_executable_extensions; do
2797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2798 ac_cv_prog_ac_ct_CC="$ac_prog"
2799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2800 break 2
2802 done
2803 done
2807 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2808 if test -n "$ac_ct_CC"; then
2809 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2810 echo "${ECHO_T}$ac_ct_CC" >&6
2811 else
2812 echo "$as_me:$LINENO: result: no" >&5
2813 echo "${ECHO_T}no" >&6
2816 test -n "$ac_ct_CC" && break
2817 done
2819 CC=$ac_ct_CC
2825 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2826 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2827 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2828 See \`config.log' for more details." >&5
2829 echo "$as_me: error: no acceptable C compiler found in \$PATH
2830 See \`config.log' for more details." >&2;}
2831 { (exit 1); exit 1; }; }; }
2833 # Provide some information about the compiler.
2834 echo "$as_me:$LINENO:" \
2835 "checking for C compiler version" >&5
2836 ac_compiler=`set X $ac_compile; echo $2`
2837 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2838 (eval $ac_compiler --version </dev/null >&5) 2>&5
2839 ac_status=$?
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); }
2842 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2843 (eval $ac_compiler -v </dev/null >&5) 2>&5
2844 ac_status=$?
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }
2847 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2848 (eval $ac_compiler -V </dev/null >&5) 2>&5
2849 ac_status=$?
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }
2853 cat >conftest.$ac_ext <<_ACEOF
2854 /* confdefs.h. */
2855 _ACEOF
2856 cat confdefs.h >>conftest.$ac_ext
2857 cat >>conftest.$ac_ext <<_ACEOF
2858 /* end confdefs.h. */
2861 main ()
2865 return 0;
2867 _ACEOF
2868 # FIXME: Cleanup?
2869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2870 (eval $ac_link) 2>&5
2871 ac_status=$?
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); }; then
2874 gcc_no_link=no
2875 else
2876 gcc_no_link=yes
2879 if test x$gcc_no_link = xyes; then
2880 # Setting cross_compile will disable run tests; it will
2881 # also disable AC_CHECK_FILE but that's generally
2882 # correct if we can't link.
2883 cross_compiling=yes
2884 EXEEXT=
2885 else
2886 cat >conftest.$ac_ext <<_ACEOF
2887 /* confdefs.h. */
2888 _ACEOF
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2894 main ()
2898 return 0;
2900 _ACEOF
2901 ac_clean_files_save=$ac_clean_files
2902 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2903 # Try to create an executable without -o first, disregard a.out.
2904 # It will help us diagnose broken compilers, and finding out an intuition
2905 # of exeext.
2906 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2907 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2908 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2909 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2910 (eval $ac_link_default) 2>&5
2911 ac_status=$?
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); }; then
2914 # Find the output, starting from the most likely. This scheme is
2915 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2916 # resort.
2918 # Be careful to initialize this variable, since it used to be cached.
2919 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2920 ac_cv_exeext=
2921 # b.out is created by i960 compilers.
2922 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2924 test -f "$ac_file" || continue
2925 case $ac_file in
2926 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2928 conftest.$ac_ext )
2929 # This is the source file.
2931 [ab].out )
2932 # We found the default executable, but exeext='' is most
2933 # certainly right.
2934 break;;
2935 *.* )
2936 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2937 # FIXME: I believe we export ac_cv_exeext for Libtool,
2938 # but it would be cool to find out if it's true. Does anybody
2939 # maintain Libtool? --akim.
2940 export ac_cv_exeext
2941 break;;
2943 break;;
2944 esac
2945 done
2946 else
2947 echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.$ac_ext >&5
2950 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2951 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2952 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2953 See \`config.log' for more details." >&5
2954 echo "$as_me: error: C compiler cannot create executables
2955 See \`config.log' for more details." >&2;}
2956 { (exit 77); exit 77; }; }; }
2959 ac_exeext=$ac_cv_exeext
2960 echo "$as_me:$LINENO: result: $ac_file" >&5
2961 echo "${ECHO_T}$ac_file" >&6
2963 # Check the compiler produces executables we can run. If not, either
2964 # the compiler is broken, or we cross compile.
2965 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2966 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2967 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2968 # If not cross compiling, check that we can run a simple program.
2969 if test "$cross_compiling" != yes; then
2970 if { ac_try='./$ac_file'
2971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2972 (eval $ac_try) 2>&5
2973 ac_status=$?
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; }; then
2976 cross_compiling=no
2977 else
2978 if test "$cross_compiling" = maybe; then
2979 cross_compiling=yes
2980 else
2981 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2982 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2983 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2984 If you meant to cross compile, use \`--host'.
2985 See \`config.log' for more details." >&5
2986 echo "$as_me: error: cannot run C compiled programs.
2987 If you meant to cross compile, use \`--host'.
2988 See \`config.log' for more details." >&2;}
2989 { (exit 1); exit 1; }; }; }
2993 echo "$as_me:$LINENO: result: yes" >&5
2994 echo "${ECHO_T}yes" >&6
2996 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2997 ac_clean_files=$ac_clean_files_save
2998 # Check the compiler produces executables we can run. If not, either
2999 # the compiler is broken, or we cross compile.
3000 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3001 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3002 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3003 echo "${ECHO_T}$cross_compiling" >&6
3005 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3006 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3008 (eval $ac_link) 2>&5
3009 ac_status=$?
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); }; then
3012 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3013 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3014 # work properly (i.e., refer to `conftest.exe'), while it won't with
3015 # `rm'.
3016 for ac_file in conftest.exe conftest conftest.*; do
3017 test -f "$ac_file" || continue
3018 case $ac_file in
3019 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3020 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3021 export ac_cv_exeext
3022 break;;
3023 * ) break;;
3024 esac
3025 done
3026 else
3027 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3028 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3029 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3030 See \`config.log' for more details." >&5
3031 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3032 See \`config.log' for more details." >&2;}
3033 { (exit 1); exit 1; }; }; }
3036 rm -f conftest$ac_cv_exeext
3037 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3038 echo "${ECHO_T}$ac_cv_exeext" >&6
3040 rm -f conftest.$ac_ext
3041 EXEEXT=$ac_cv_exeext
3042 ac_exeext=$EXEEXT
3044 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3045 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3046 if test "${ac_cv_objext+set}" = set; then
3047 echo $ECHO_N "(cached) $ECHO_C" >&6
3048 else
3049 cat >conftest.$ac_ext <<_ACEOF
3050 /* confdefs.h. */
3051 _ACEOF
3052 cat confdefs.h >>conftest.$ac_ext
3053 cat >>conftest.$ac_ext <<_ACEOF
3054 /* end confdefs.h. */
3057 main ()
3061 return 0;
3063 _ACEOF
3064 rm -f conftest.o conftest.obj
3065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3066 (eval $ac_compile) 2>&5
3067 ac_status=$?
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); }; then
3070 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3071 case $ac_file in
3072 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3073 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3074 break;;
3075 esac
3076 done
3077 else
3078 echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3081 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3082 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3083 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3084 See \`config.log' for more details." >&5
3085 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3086 See \`config.log' for more details." >&2;}
3087 { (exit 1); exit 1; }; }; }
3090 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3092 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3093 echo "${ECHO_T}$ac_cv_objext" >&6
3094 OBJEXT=$ac_cv_objext
3095 ac_objext=$OBJEXT
3096 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3097 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3098 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3099 echo $ECHO_N "(cached) $ECHO_C" >&6
3100 else
3101 cat >conftest.$ac_ext <<_ACEOF
3102 /* confdefs.h. */
3103 _ACEOF
3104 cat confdefs.h >>conftest.$ac_ext
3105 cat >>conftest.$ac_ext <<_ACEOF
3106 /* end confdefs.h. */
3109 main ()
3111 #ifndef __GNUC__
3112 choke me
3113 #endif
3116 return 0;
3118 _ACEOF
3119 rm -f conftest.$ac_objext
3120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3121 (eval $ac_compile) 2>conftest.er1
3122 ac_status=$?
3123 grep -v '^ *+' conftest.er1 >conftest.err
3124 rm -f conftest.er1
3125 cat conftest.err >&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); } &&
3128 { ac_try='test -z "$ac_c_werror_flag"
3129 || test ! -s conftest.err'
3130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3131 (eval $ac_try) 2>&5
3132 ac_status=$?
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }; } &&
3135 { ac_try='test -s conftest.$ac_objext'
3136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3137 (eval $ac_try) 2>&5
3138 ac_status=$?
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); }; }; then
3141 ac_compiler_gnu=yes
3142 else
3143 echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3146 ac_compiler_gnu=no
3148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3149 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3152 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3153 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3154 GCC=`test $ac_compiler_gnu = yes && echo yes`
3155 ac_test_CFLAGS=${CFLAGS+set}
3156 ac_save_CFLAGS=$CFLAGS
3157 CFLAGS="-g"
3158 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3159 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3160 if test "${ac_cv_prog_cc_g+set}" = set; then
3161 echo $ECHO_N "(cached) $ECHO_C" >&6
3162 else
3163 cat >conftest.$ac_ext <<_ACEOF
3164 /* confdefs.h. */
3165 _ACEOF
3166 cat confdefs.h >>conftest.$ac_ext
3167 cat >>conftest.$ac_ext <<_ACEOF
3168 /* end confdefs.h. */
3171 main ()
3175 return 0;
3177 _ACEOF
3178 rm -f conftest.$ac_objext
3179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3180 (eval $ac_compile) 2>conftest.er1
3181 ac_status=$?
3182 grep -v '^ *+' conftest.er1 >conftest.err
3183 rm -f conftest.er1
3184 cat conftest.err >&5
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); } &&
3187 { ac_try='test -z "$ac_c_werror_flag"
3188 || test ! -s conftest.err'
3189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3190 (eval $ac_try) 2>&5
3191 ac_status=$?
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); }; } &&
3194 { ac_try='test -s conftest.$ac_objext'
3195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196 (eval $ac_try) 2>&5
3197 ac_status=$?
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); }; }; then
3200 ac_cv_prog_cc_g=yes
3201 else
3202 echo "$as_me: failed program was:" >&5
3203 sed 's/^/| /' conftest.$ac_ext >&5
3205 ac_cv_prog_cc_g=no
3207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3209 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3210 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3211 if test "$ac_test_CFLAGS" = set; then
3212 CFLAGS=$ac_save_CFLAGS
3213 elif test $ac_cv_prog_cc_g = yes; then
3214 if test "$GCC" = yes; then
3215 CFLAGS="-g -O2"
3216 else
3217 CFLAGS="-g"
3219 else
3220 if test "$GCC" = yes; then
3221 CFLAGS="-O2"
3222 else
3223 CFLAGS=
3226 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3227 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3228 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3229 echo $ECHO_N "(cached) $ECHO_C" >&6
3230 else
3231 ac_cv_prog_cc_stdc=no
3232 ac_save_CC=$CC
3233 cat >conftest.$ac_ext <<_ACEOF
3234 /* confdefs.h. */
3235 _ACEOF
3236 cat confdefs.h >>conftest.$ac_ext
3237 cat >>conftest.$ac_ext <<_ACEOF
3238 /* end confdefs.h. */
3239 #include <stdarg.h>
3240 #include <stdio.h>
3241 #include <sys/types.h>
3242 #include <sys/stat.h>
3243 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3244 struct buf { int x; };
3245 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3246 static char *e (p, i)
3247 char **p;
3248 int i;
3250 return p[i];
3252 static char *f (char * (*g) (char **, int), char **p, ...)
3254 char *s;
3255 va_list v;
3256 va_start (v,p);
3257 s = g (p, va_arg (v,int));
3258 va_end (v);
3259 return s;
3262 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3263 function prototypes and stuff, but not '\xHH' hex character constants.
3264 These don't provoke an error unfortunately, instead are silently treated
3265 as 'x'. The following induces an error, until -std1 is added to get
3266 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3267 array size at least. It's necessary to write '\x00'==0 to get something
3268 that's true only with -std1. */
3269 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3271 int test (int i, double x);
3272 struct s1 {int (*f) (int a);};
3273 struct s2 {int (*f) (double a);};
3274 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3275 int argc;
3276 char **argv;
3278 main ()
3280 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3282 return 0;
3284 _ACEOF
3285 # Don't try gcc -ansi; that turns off useful extensions and
3286 # breaks some systems' header files.
3287 # AIX -qlanglvl=ansi
3288 # Ultrix and OSF/1 -std1
3289 # HP-UX 10.20 and later -Ae
3290 # HP-UX older versions -Aa -D_HPUX_SOURCE
3291 # SVR4 -Xc -D__EXTENSIONS__
3292 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3294 CC="$ac_save_CC $ac_arg"
3295 rm -f conftest.$ac_objext
3296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3297 (eval $ac_compile) 2>conftest.er1
3298 ac_status=$?
3299 grep -v '^ *+' conftest.er1 >conftest.err
3300 rm -f conftest.er1
3301 cat conftest.err >&5
3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); } &&
3304 { ac_try='test -z "$ac_c_werror_flag"
3305 || test ! -s conftest.err'
3306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307 (eval $ac_try) 2>&5
3308 ac_status=$?
3309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310 (exit $ac_status); }; } &&
3311 { ac_try='test -s conftest.$ac_objext'
3312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3313 (eval $ac_try) 2>&5
3314 ac_status=$?
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); }; }; then
3317 ac_cv_prog_cc_stdc=$ac_arg
3318 break
3319 else
3320 echo "$as_me: failed program was:" >&5
3321 sed 's/^/| /' conftest.$ac_ext >&5
3324 rm -f conftest.err conftest.$ac_objext
3325 done
3326 rm -f conftest.$ac_ext conftest.$ac_objext
3327 CC=$ac_save_CC
3331 case "x$ac_cv_prog_cc_stdc" in
3332 x|xno)
3333 echo "$as_me:$LINENO: result: none needed" >&5
3334 echo "${ECHO_T}none needed" >&6 ;;
3336 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3337 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3338 CC="$CC $ac_cv_prog_cc_stdc" ;;
3339 esac
3341 # Some people use a C++ compiler to compile C. Since we use `exit',
3342 # in C++ we need to declare it. In case someone uses the same compiler
3343 # for both compiling C and C++ we need to have the C++ compiler decide
3344 # the declaration of exit, since it's the most demanding environment.
3345 cat >conftest.$ac_ext <<_ACEOF
3346 #ifndef __cplusplus
3347 choke me
3348 #endif
3349 _ACEOF
3350 rm -f conftest.$ac_objext
3351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3352 (eval $ac_compile) 2>conftest.er1
3353 ac_status=$?
3354 grep -v '^ *+' conftest.er1 >conftest.err
3355 rm -f conftest.er1
3356 cat conftest.err >&5
3357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358 (exit $ac_status); } &&
3359 { ac_try='test -z "$ac_c_werror_flag"
3360 || test ! -s conftest.err'
3361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3362 (eval $ac_try) 2>&5
3363 ac_status=$?
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); }; } &&
3366 { ac_try='test -s conftest.$ac_objext'
3367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3368 (eval $ac_try) 2>&5
3369 ac_status=$?
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); }; }; then
3372 for ac_declaration in \
3373 '' \
3374 'extern "C" void std::exit (int) throw (); using std::exit;' \
3375 'extern "C" void std::exit (int); using std::exit;' \
3376 'extern "C" void exit (int) throw ();' \
3377 'extern "C" void exit (int);' \
3378 'void exit (int);'
3380 cat >conftest.$ac_ext <<_ACEOF
3381 /* confdefs.h. */
3382 _ACEOF
3383 cat confdefs.h >>conftest.$ac_ext
3384 cat >>conftest.$ac_ext <<_ACEOF
3385 /* end confdefs.h. */
3386 $ac_declaration
3387 #include <stdlib.h>
3389 main ()
3391 exit (42);
3393 return 0;
3395 _ACEOF
3396 rm -f conftest.$ac_objext
3397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3398 (eval $ac_compile) 2>conftest.er1
3399 ac_status=$?
3400 grep -v '^ *+' conftest.er1 >conftest.err
3401 rm -f conftest.er1
3402 cat conftest.err >&5
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); } &&
3405 { ac_try='test -z "$ac_c_werror_flag"
3406 || test ! -s conftest.err'
3407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3408 (eval $ac_try) 2>&5
3409 ac_status=$?
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); }; } &&
3412 { ac_try='test -s conftest.$ac_objext'
3413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3414 (eval $ac_try) 2>&5
3415 ac_status=$?
3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); }; }; then
3419 else
3420 echo "$as_me: failed program was:" >&5
3421 sed 's/^/| /' conftest.$ac_ext >&5
3423 continue
3425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3426 cat >conftest.$ac_ext <<_ACEOF
3427 /* confdefs.h. */
3428 _ACEOF
3429 cat confdefs.h >>conftest.$ac_ext
3430 cat >>conftest.$ac_ext <<_ACEOF
3431 /* end confdefs.h. */
3432 $ac_declaration
3434 main ()
3436 exit (42);
3438 return 0;
3440 _ACEOF
3441 rm -f conftest.$ac_objext
3442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3443 (eval $ac_compile) 2>conftest.er1
3444 ac_status=$?
3445 grep -v '^ *+' conftest.er1 >conftest.err
3446 rm -f conftest.er1
3447 cat conftest.err >&5
3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); } &&
3450 { ac_try='test -z "$ac_c_werror_flag"
3451 || test ! -s conftest.err'
3452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3453 (eval $ac_try) 2>&5
3454 ac_status=$?
3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456 (exit $ac_status); }; } &&
3457 { ac_try='test -s conftest.$ac_objext'
3458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3459 (eval $ac_try) 2>&5
3460 ac_status=$?
3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); }; }; then
3463 break
3464 else
3465 echo "$as_me: failed program was:" >&5
3466 sed 's/^/| /' conftest.$ac_ext >&5
3469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3470 done
3471 rm -f conftest*
3472 if test -n "$ac_declaration"; then
3473 echo '#ifdef __cplusplus' >>confdefs.h
3474 echo $ac_declaration >>confdefs.h
3475 echo '#endif' >>confdefs.h
3478 else
3479 echo "$as_me: failed program was:" >&5
3480 sed 's/^/| /' conftest.$ac_ext >&5
3483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3484 ac_ext=c
3485 ac_cpp='$CPP $CPPFLAGS'
3486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3490 ac_ext=cc
3491 ac_cpp='$CXXCPP $CPPFLAGS'
3492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3495 if test -n "$ac_tool_prefix"; then
3496 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3498 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3499 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3500 echo "$as_me:$LINENO: checking for $ac_word" >&5
3501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3502 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3503 echo $ECHO_N "(cached) $ECHO_C" >&6
3504 else
3505 if test -n "$CXX"; then
3506 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3507 else
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 for as_dir in $PATH
3511 IFS=$as_save_IFS
3512 test -z "$as_dir" && as_dir=.
3513 for ac_exec_ext in '' $ac_executable_extensions; do
3514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3515 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3517 break 2
3519 done
3520 done
3524 CXX=$glibcxx_cv_prog_CXX
3525 if test -n "$CXX"; then
3526 echo "$as_me:$LINENO: result: $CXX" >&5
3527 echo "${ECHO_T}$CXX" >&6
3528 else
3529 echo "$as_me:$LINENO: result: no" >&5
3530 echo "${ECHO_T}no" >&6
3533 test -n "$CXX" && break
3534 done
3536 if test -z "$CXX"; then
3537 ac_ct_CXX=$CXX
3538 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3540 # Extract the first word of "$ac_prog", so it can be a program name with args.
3541 set dummy $ac_prog; ac_word=$2
3542 echo "$as_me:$LINENO: checking for $ac_word" >&5
3543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3544 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3545 echo $ECHO_N "(cached) $ECHO_C" >&6
3546 else
3547 if test -n "$ac_ct_CXX"; then
3548 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3549 else
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 for as_dir in $PATH
3553 IFS=$as_save_IFS
3554 test -z "$as_dir" && as_dir=.
3555 for ac_exec_ext in '' $ac_executable_extensions; do
3556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3557 ac_cv_prog_ac_ct_CXX="$ac_prog"
3558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3559 break 2
3561 done
3562 done
3566 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3567 if test -n "$ac_ct_CXX"; then
3568 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3569 echo "${ECHO_T}$ac_ct_CXX" >&6
3570 else
3571 echo "$as_me:$LINENO: result: no" >&5
3572 echo "${ECHO_T}no" >&6
3575 test -n "$ac_ct_CXX" && break
3576 done
3577 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3579 CXX=$ac_ct_CXX
3583 # Provide some information about the compiler.
3584 echo "$as_me:$LINENO:" \
3585 "checking for C++ compiler version" >&5
3586 ac_compiler=`set X $ac_compile; echo $2`
3587 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3588 (eval $ac_compiler --version </dev/null >&5) 2>&5
3589 ac_status=$?
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); }
3592 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3593 (eval $ac_compiler -v </dev/null >&5) 2>&5
3594 ac_status=$?
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); }
3597 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3598 (eval $ac_compiler -V </dev/null >&5) 2>&5
3599 ac_status=$?
3600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601 (exit $ac_status); }
3603 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3604 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3605 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3606 echo $ECHO_N "(cached) $ECHO_C" >&6
3607 else
3608 cat >conftest.$ac_ext <<_ACEOF
3609 /* confdefs.h. */
3610 _ACEOF
3611 cat confdefs.h >>conftest.$ac_ext
3612 cat >>conftest.$ac_ext <<_ACEOF
3613 /* end confdefs.h. */
3616 main ()
3618 #ifndef __GNUC__
3619 choke me
3620 #endif
3623 return 0;
3625 _ACEOF
3626 rm -f conftest.$ac_objext
3627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3628 (eval $ac_compile) 2>conftest.er1
3629 ac_status=$?
3630 grep -v '^ *+' conftest.er1 >conftest.err
3631 rm -f conftest.er1
3632 cat conftest.err >&5
3633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634 (exit $ac_status); } &&
3635 { ac_try='test -z "$ac_cxx_werror_flag"
3636 || test ! -s conftest.err'
3637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3638 (eval $ac_try) 2>&5
3639 ac_status=$?
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); }; } &&
3642 { ac_try='test -s conftest.$ac_objext'
3643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3644 (eval $ac_try) 2>&5
3645 ac_status=$?
3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647 (exit $ac_status); }; }; then
3648 ac_compiler_gnu=yes
3649 else
3650 echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3653 ac_compiler_gnu=no
3655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3656 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3659 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3660 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3661 GXX=`test $ac_compiler_gnu = yes && echo yes`
3662 ac_test_CXXFLAGS=${CXXFLAGS+set}
3663 ac_save_CXXFLAGS=$CXXFLAGS
3664 CXXFLAGS="-g"
3665 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3666 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3667 if test "${ac_cv_prog_cxx_g+set}" = set; then
3668 echo $ECHO_N "(cached) $ECHO_C" >&6
3669 else
3670 cat >conftest.$ac_ext <<_ACEOF
3671 /* confdefs.h. */
3672 _ACEOF
3673 cat confdefs.h >>conftest.$ac_ext
3674 cat >>conftest.$ac_ext <<_ACEOF
3675 /* end confdefs.h. */
3678 main ()
3682 return 0;
3684 _ACEOF
3685 rm -f conftest.$ac_objext
3686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3687 (eval $ac_compile) 2>conftest.er1
3688 ac_status=$?
3689 grep -v '^ *+' conftest.er1 >conftest.err
3690 rm -f conftest.er1
3691 cat conftest.err >&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); } &&
3694 { ac_try='test -z "$ac_cxx_werror_flag"
3695 || test ! -s conftest.err'
3696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3697 (eval $ac_try) 2>&5
3698 ac_status=$?
3699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700 (exit $ac_status); }; } &&
3701 { ac_try='test -s conftest.$ac_objext'
3702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3703 (eval $ac_try) 2>&5
3704 ac_status=$?
3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706 (exit $ac_status); }; }; then
3707 ac_cv_prog_cxx_g=yes
3708 else
3709 echo "$as_me: failed program was:" >&5
3710 sed 's/^/| /' conftest.$ac_ext >&5
3712 ac_cv_prog_cxx_g=no
3714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3716 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3717 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3718 if test "$ac_test_CXXFLAGS" = set; then
3719 CXXFLAGS=$ac_save_CXXFLAGS
3720 elif test $ac_cv_prog_cxx_g = yes; then
3721 if test "$GXX" = yes; then
3722 CXXFLAGS="-g -O2"
3723 else
3724 CXXFLAGS="-g"
3726 else
3727 if test "$GXX" = yes; then
3728 CXXFLAGS="-O2"
3729 else
3730 CXXFLAGS=
3733 for ac_declaration in \
3734 '' \
3735 'extern "C" void std::exit (int) throw (); using std::exit;' \
3736 'extern "C" void std::exit (int); using std::exit;' \
3737 'extern "C" void exit (int) throw ();' \
3738 'extern "C" void exit (int);' \
3739 'void exit (int);'
3741 cat >conftest.$ac_ext <<_ACEOF
3742 /* confdefs.h. */
3743 _ACEOF
3744 cat confdefs.h >>conftest.$ac_ext
3745 cat >>conftest.$ac_ext <<_ACEOF
3746 /* end confdefs.h. */
3747 $ac_declaration
3748 #include <stdlib.h>
3750 main ()
3752 exit (42);
3754 return 0;
3756 _ACEOF
3757 rm -f conftest.$ac_objext
3758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3759 (eval $ac_compile) 2>conftest.er1
3760 ac_status=$?
3761 grep -v '^ *+' conftest.er1 >conftest.err
3762 rm -f conftest.er1
3763 cat conftest.err >&5
3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); } &&
3766 { ac_try='test -z "$ac_cxx_werror_flag"
3767 || test ! -s conftest.err'
3768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3769 (eval $ac_try) 2>&5
3770 ac_status=$?
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); }; } &&
3773 { ac_try='test -s conftest.$ac_objext'
3774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3775 (eval $ac_try) 2>&5
3776 ac_status=$?
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); }; }; then
3780 else
3781 echo "$as_me: failed program was:" >&5
3782 sed 's/^/| /' conftest.$ac_ext >&5
3784 continue
3786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3787 cat >conftest.$ac_ext <<_ACEOF
3788 /* confdefs.h. */
3789 _ACEOF
3790 cat confdefs.h >>conftest.$ac_ext
3791 cat >>conftest.$ac_ext <<_ACEOF
3792 /* end confdefs.h. */
3793 $ac_declaration
3795 main ()
3797 exit (42);
3799 return 0;
3801 _ACEOF
3802 rm -f conftest.$ac_objext
3803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3804 (eval $ac_compile) 2>conftest.er1
3805 ac_status=$?
3806 grep -v '^ *+' conftest.er1 >conftest.err
3807 rm -f conftest.er1
3808 cat conftest.err >&5
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); } &&
3811 { ac_try='test -z "$ac_cxx_werror_flag"
3812 || test ! -s conftest.err'
3813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3814 (eval $ac_try) 2>&5
3815 ac_status=$?
3816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); }; } &&
3818 { ac_try='test -s conftest.$ac_objext'
3819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3820 (eval $ac_try) 2>&5
3821 ac_status=$?
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); }; }; then
3824 break
3825 else
3826 echo "$as_me: failed program was:" >&5
3827 sed 's/^/| /' conftest.$ac_ext >&5
3830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3831 done
3832 rm -f conftest*
3833 if test -n "$ac_declaration"; then
3834 echo '#ifdef __cplusplus' >>confdefs.h
3835 echo $ac_declaration >>confdefs.h
3836 echo '#endif' >>confdefs.h
3839 ac_ext=c
3840 ac_cpp='$CPP $CPPFLAGS'
3841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3845 CXXFLAGS="$save_CXXFLAGS"
3850 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3851 # available). Uncomment the next line to force a particular method.
3852 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3853 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3854 LN_S=$as_ln_s
3855 if test "$LN_S" = "ln -s"; then
3856 echo "$as_me:$LINENO: result: yes" >&5
3857 echo "${ECHO_T}yes" >&6
3858 else
3859 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3860 echo "${ECHO_T}no, using $LN_S" >&6
3863 #LN_S='cp -p'
3865 if test -n "$ac_tool_prefix"; then
3866 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3867 set dummy ${ac_tool_prefix}as; ac_word=$2
3868 echo "$as_me:$LINENO: checking for $ac_word" >&5
3869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3870 if test "${ac_cv_prog_AS+set}" = set; then
3871 echo $ECHO_N "(cached) $ECHO_C" >&6
3872 else
3873 if test -n "$AS"; then
3874 ac_cv_prog_AS="$AS" # Let the user override the test.
3875 else
3876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3877 for as_dir in $PATH
3879 IFS=$as_save_IFS
3880 test -z "$as_dir" && as_dir=.
3881 for ac_exec_ext in '' $ac_executable_extensions; do
3882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3883 ac_cv_prog_AS="${ac_tool_prefix}as"
3884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3885 break 2
3887 done
3888 done
3892 AS=$ac_cv_prog_AS
3893 if test -n "$AS"; then
3894 echo "$as_me:$LINENO: result: $AS" >&5
3895 echo "${ECHO_T}$AS" >&6
3896 else
3897 echo "$as_me:$LINENO: result: no" >&5
3898 echo "${ECHO_T}no" >&6
3902 if test -z "$ac_cv_prog_AS"; then
3903 ac_ct_AS=$AS
3904 # Extract the first word of "as", so it can be a program name with args.
3905 set dummy as; ac_word=$2
3906 echo "$as_me:$LINENO: checking for $ac_word" >&5
3907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3908 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3909 echo $ECHO_N "(cached) $ECHO_C" >&6
3910 else
3911 if test -n "$ac_ct_AS"; then
3912 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3913 else
3914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915 for as_dir in $PATH
3917 IFS=$as_save_IFS
3918 test -z "$as_dir" && as_dir=.
3919 for ac_exec_ext in '' $ac_executable_extensions; do
3920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3921 ac_cv_prog_ac_ct_AS="as"
3922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3923 break 2
3925 done
3926 done
3930 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3931 if test -n "$ac_ct_AS"; then
3932 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3933 echo "${ECHO_T}$ac_ct_AS" >&6
3934 else
3935 echo "$as_me:$LINENO: result: no" >&5
3936 echo "${ECHO_T}no" >&6
3939 AS=$ac_ct_AS
3940 else
3941 AS="$ac_cv_prog_AS"
3944 if test -n "$ac_tool_prefix"; then
3945 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3946 set dummy ${ac_tool_prefix}ar; ac_word=$2
3947 echo "$as_me:$LINENO: checking for $ac_word" >&5
3948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3949 if test "${ac_cv_prog_AR+set}" = set; then
3950 echo $ECHO_N "(cached) $ECHO_C" >&6
3951 else
3952 if test -n "$AR"; then
3953 ac_cv_prog_AR="$AR" # Let the user override the test.
3954 else
3955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3956 for as_dir in $PATH
3958 IFS=$as_save_IFS
3959 test -z "$as_dir" && as_dir=.
3960 for ac_exec_ext in '' $ac_executable_extensions; do
3961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3962 ac_cv_prog_AR="${ac_tool_prefix}ar"
3963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3964 break 2
3966 done
3967 done
3971 AR=$ac_cv_prog_AR
3972 if test -n "$AR"; then
3973 echo "$as_me:$LINENO: result: $AR" >&5
3974 echo "${ECHO_T}$AR" >&6
3975 else
3976 echo "$as_me:$LINENO: result: no" >&5
3977 echo "${ECHO_T}no" >&6
3981 if test -z "$ac_cv_prog_AR"; then
3982 ac_ct_AR=$AR
3983 # Extract the first word of "ar", so it can be a program name with args.
3984 set dummy ar; ac_word=$2
3985 echo "$as_me:$LINENO: checking for $ac_word" >&5
3986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3987 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3988 echo $ECHO_N "(cached) $ECHO_C" >&6
3989 else
3990 if test -n "$ac_ct_AR"; then
3991 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3992 else
3993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3994 for as_dir in $PATH
3996 IFS=$as_save_IFS
3997 test -z "$as_dir" && as_dir=.
3998 for ac_exec_ext in '' $ac_executable_extensions; do
3999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4000 ac_cv_prog_ac_ct_AR="ar"
4001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 break 2
4004 done
4005 done
4009 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4010 if test -n "$ac_ct_AR"; then
4011 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4012 echo "${ECHO_T}$ac_ct_AR" >&6
4013 else
4014 echo "$as_me:$LINENO: result: no" >&5
4015 echo "${ECHO_T}no" >&6
4018 AR=$ac_ct_AR
4019 else
4020 AR="$ac_cv_prog_AR"
4023 if test -n "$ac_tool_prefix"; then
4024 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4025 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4026 echo "$as_me:$LINENO: checking for $ac_word" >&5
4027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4028 if test "${ac_cv_prog_RANLIB+set}" = set; then
4029 echo $ECHO_N "(cached) $ECHO_C" >&6
4030 else
4031 if test -n "$RANLIB"; then
4032 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4033 else
4034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4035 for as_dir in $PATH
4037 IFS=$as_save_IFS
4038 test -z "$as_dir" && as_dir=.
4039 for ac_exec_ext in '' $ac_executable_extensions; do
4040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4041 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4043 break 2
4045 done
4046 done
4050 RANLIB=$ac_cv_prog_RANLIB
4051 if test -n "$RANLIB"; then
4052 echo "$as_me:$LINENO: result: $RANLIB" >&5
4053 echo "${ECHO_T}$RANLIB" >&6
4054 else
4055 echo "$as_me:$LINENO: result: no" >&5
4056 echo "${ECHO_T}no" >&6
4060 if test -z "$ac_cv_prog_RANLIB"; then
4061 ac_ct_RANLIB=$RANLIB
4062 # Extract the first word of "ranlib", so it can be a program name with args.
4063 set dummy ranlib; ac_word=$2
4064 echo "$as_me:$LINENO: checking for $ac_word" >&5
4065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4066 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4067 echo $ECHO_N "(cached) $ECHO_C" >&6
4068 else
4069 if test -n "$ac_ct_RANLIB"; then
4070 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4071 else
4072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4073 for as_dir in $PATH
4075 IFS=$as_save_IFS
4076 test -z "$as_dir" && as_dir=.
4077 for ac_exec_ext in '' $ac_executable_extensions; do
4078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4079 ac_cv_prog_ac_ct_RANLIB="ranlib"
4080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4081 break 2
4083 done
4084 done
4086 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4089 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4090 if test -n "$ac_ct_RANLIB"; then
4091 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4092 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4093 else
4094 echo "$as_me:$LINENO: result: no" >&5
4095 echo "${ECHO_T}no" >&6
4098 RANLIB=$ac_ct_RANLIB
4099 else
4100 RANLIB="$ac_cv_prog_RANLIB"
4104 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4105 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4106 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4107 if test "${enable_maintainer_mode+set}" = set; then
4108 enableval="$enable_maintainer_mode"
4109 USE_MAINTAINER_MODE=$enableval
4110 else
4111 USE_MAINTAINER_MODE=no
4113 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4114 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4117 if test $USE_MAINTAINER_MODE = yes; then
4118 MAINTAINER_MODE_TRUE=
4119 MAINTAINER_MODE_FALSE='#'
4120 else
4121 MAINTAINER_MODE_TRUE='#'
4122 MAINTAINER_MODE_FALSE=
4125 MAINT=$MAINTAINER_MODE_TRUE
4129 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4130 # which are themselves conditionally expanded.
4131 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4132 ## other macros from doing the same. This should be automated.) -pme
4133 need_libmath=no
4135 # Check for uClibc since Linux platforms use different configuration
4136 # directories depending on the C library in use.
4137 cat >conftest.$ac_ext <<_ACEOF
4138 /* confdefs.h. */
4139 _ACEOF
4140 cat confdefs.h >>conftest.$ac_ext
4141 cat >>conftest.$ac_ext <<_ACEOF
4142 /* end confdefs.h. */
4144 #include <stdio.h>
4145 #if __UCLIBC__
4146 _using_uclibc
4147 #endif
4149 _ACEOF
4150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4151 $EGREP "_using_uclibc" >/dev/null 2>&1; then
4152 uclibc=yes
4153 else
4154 uclibc=no
4156 rm -f conftest*
4159 # Find platform-specific directories containing configuration info.
4160 # Also possibly modify flags used elsewhere, as needed by the platform.
4162 . $glibcxx_srcdir/configure.host
4163 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4164 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4165 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4166 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4170 if test "x${with_newlib}" != "xyes"; then
4171 enable_dlopen=yes
4176 case `pwd` in
4177 *\ * | *\ *)
4178 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4179 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4180 esac
4184 macro_version='2.2.6'
4185 macro_revision='1.3012'
4199 ltmain="$ac_aux_dir/ltmain.sh"
4201 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4202 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4203 if test "${lt_cv_path_SED+set}" = set; then
4204 echo $ECHO_N "(cached) $ECHO_C" >&6
4205 else
4206 # Loop through the user's path and test for sed and gsed.
4207 # Then use that list of sed's as ones to test for truncation.
4208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4209 for as_dir in $PATH
4211 IFS=$as_save_IFS
4212 test -z "$as_dir" && as_dir=.
4213 for lt_ac_prog in sed gsed; do
4214 for ac_exec_ext in '' $ac_executable_extensions; do
4215 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4216 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4218 done
4219 done
4220 done
4221 IFS=$as_save_IFS
4222 lt_ac_max=0
4223 lt_ac_count=0
4224 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4225 # along with /bin/sed that truncates output.
4226 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4227 test ! -f $lt_ac_sed && continue
4228 cat /dev/null > conftest.in
4229 lt_ac_count=0
4230 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4231 # Check for GNU sed and select it if it is found.
4232 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4233 lt_cv_path_SED=$lt_ac_sed
4234 break
4236 while true; do
4237 cat conftest.in conftest.in >conftest.tmp
4238 mv conftest.tmp conftest.in
4239 cp conftest.in conftest.nl
4240 echo >>conftest.nl
4241 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4242 cmp -s conftest.out conftest.nl || break
4243 # 10000 chars as input seems more than enough
4244 test $lt_ac_count -gt 10 && break
4245 lt_ac_count=`expr $lt_ac_count + 1`
4246 if test $lt_ac_count -gt $lt_ac_max; then
4247 lt_ac_max=$lt_ac_count
4248 lt_cv_path_SED=$lt_ac_sed
4250 done
4251 done
4255 SED=$lt_cv_path_SED
4257 echo "$as_me:$LINENO: result: $SED" >&5
4258 echo "${ECHO_T}$SED" >&6
4260 test -z "$SED" && SED=sed
4261 Xsed="$SED -e 1s/^X//"
4273 echo "$as_me:$LINENO: checking for fgrep" >&5
4274 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4275 if test "${ac_cv_prog_fgrep+set}" = set; then
4276 echo $ECHO_N "(cached) $ECHO_C" >&6
4277 else
4278 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4279 then ac_cv_prog_fgrep='grep -F'
4280 else ac_cv_prog_fgrep='fgrep'
4283 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4284 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4285 FGREP=$ac_cv_prog_fgrep
4288 test -z "$GREP" && GREP=grep
4308 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4309 if test "${with_gnu_ld+set}" = set; then
4310 withval="$with_gnu_ld"
4311 test "$withval" = no || with_gnu_ld=yes
4312 else
4313 with_gnu_ld=no
4315 ac_prog=ld
4316 if test "$GCC" = yes; then
4317 # Check if gcc -print-prog-name=ld gives a path.
4318 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4319 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4320 case $host in
4321 *-*-mingw*)
4322 # gcc leaves a trailing carriage return which upsets mingw
4323 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4325 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4326 esac
4327 case $ac_prog in
4328 # Accept absolute paths.
4329 [\\/]* | ?:[\\/]*)
4330 re_direlt='/[^/][^/]*/\.\./'
4331 # Canonicalize the pathname of ld
4332 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4333 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4334 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4335 done
4336 test -z "$LD" && LD="$ac_prog"
4339 # If it fails, then pretend we aren't using GCC.
4340 ac_prog=ld
4343 # If it is relative, then search for the first ld in PATH.
4344 with_gnu_ld=unknown
4346 esac
4347 elif test "$with_gnu_ld" = yes; then
4348 echo "$as_me:$LINENO: checking for GNU ld" >&5
4349 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4350 else
4351 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4352 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4354 if test "${lt_cv_path_LD+set}" = set; then
4355 echo $ECHO_N "(cached) $ECHO_C" >&6
4356 else
4357 if test -z "$LD"; then
4358 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4359 for ac_dir in $PATH; do
4360 IFS="$lt_save_ifs"
4361 test -z "$ac_dir" && ac_dir=.
4362 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4363 lt_cv_path_LD="$ac_dir/$ac_prog"
4364 # Check to see if the program is GNU ld. I'd rather use --version,
4365 # but apparently some variants of GNU ld only accept -v.
4366 # Break only if it was the GNU/non-GNU ld that we prefer.
4367 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4368 *GNU* | *'with BFD'*)
4369 test "$with_gnu_ld" != no && break
4372 test "$with_gnu_ld" != yes && break
4374 esac
4376 done
4377 IFS="$lt_save_ifs"
4378 else
4379 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4383 LD="$lt_cv_path_LD"
4384 if test -n "$LD"; then
4385 echo "$as_me:$LINENO: result: $LD" >&5
4386 echo "${ECHO_T}$LD" >&6
4387 else
4388 echo "$as_me:$LINENO: result: no" >&5
4389 echo "${ECHO_T}no" >&6
4391 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4392 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4393 { (exit 1); exit 1; }; }
4394 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4395 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4396 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4397 echo $ECHO_N "(cached) $ECHO_C" >&6
4398 else
4399 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4400 case `$LD -v 2>&1 </dev/null` in
4401 *GNU* | *'with BFD'*)
4402 lt_cv_prog_gnu_ld=yes
4405 lt_cv_prog_gnu_ld=no
4407 esac
4409 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4410 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4411 with_gnu_ld=$lt_cv_prog_gnu_ld
4421 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4422 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4423 if test "${lt_cv_path_NM+set}" = set; then
4424 echo $ECHO_N "(cached) $ECHO_C" >&6
4425 else
4426 if test -n "$NM"; then
4427 # Let the user override the test.
4428 lt_cv_path_NM="$NM"
4429 else
4430 lt_nm_to_check="${ac_tool_prefix}nm"
4431 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4432 lt_nm_to_check="$lt_nm_to_check nm"
4434 for lt_tmp_nm in $lt_nm_to_check; do
4435 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4436 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4437 IFS="$lt_save_ifs"
4438 test -z "$ac_dir" && ac_dir=.
4439 tmp_nm="$ac_dir/$lt_tmp_nm"
4440 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4441 # Check to see if the nm accepts a BSD-compat flag.
4442 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4443 # nm: unknown option "B" ignored
4444 # Tru64's nm complains that /dev/null is an invalid object file
4445 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4446 */dev/null* | *'Invalid file or object type'*)
4447 lt_cv_path_NM="$tmp_nm -B"
4448 break
4451 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4452 */dev/null*)
4453 lt_cv_path_NM="$tmp_nm -p"
4454 break
4457 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4458 continue # so that we can try to find one that supports BSD flags
4460 esac
4462 esac
4464 done
4465 IFS="$lt_save_ifs"
4466 done
4467 : ${lt_cv_path_NM=no}
4470 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4471 echo "${ECHO_T}$lt_cv_path_NM" >&6
4472 if test "$lt_cv_path_NM" != "no"; then
4473 NM="$lt_cv_path_NM"
4474 else
4475 # Didn't find any BSD compatible name lister, look for dumpbin.
4476 if test -n "$ac_tool_prefix"; then
4477 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4479 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4480 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4481 echo "$as_me:$LINENO: checking for $ac_word" >&5
4482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4483 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4484 echo $ECHO_N "(cached) $ECHO_C" >&6
4485 else
4486 if test -n "$DUMPBIN"; then
4487 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4488 else
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 for as_dir in $PATH
4492 IFS=$as_save_IFS
4493 test -z "$as_dir" && as_dir=.
4494 for ac_exec_ext in '' $ac_executable_extensions; do
4495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4496 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4498 break 2
4500 done
4501 done
4505 DUMPBIN=$ac_cv_prog_DUMPBIN
4506 if test -n "$DUMPBIN"; then
4507 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4508 echo "${ECHO_T}$DUMPBIN" >&6
4509 else
4510 echo "$as_me:$LINENO: result: no" >&5
4511 echo "${ECHO_T}no" >&6
4514 test -n "$DUMPBIN" && break
4515 done
4517 if test -z "$DUMPBIN"; then
4518 ac_ct_DUMPBIN=$DUMPBIN
4519 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4521 # Extract the first word of "$ac_prog", so it can be a program name with args.
4522 set dummy $ac_prog; ac_word=$2
4523 echo "$as_me:$LINENO: checking for $ac_word" >&5
4524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4525 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4526 echo $ECHO_N "(cached) $ECHO_C" >&6
4527 else
4528 if test -n "$ac_ct_DUMPBIN"; then
4529 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4530 else
4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 for as_dir in $PATH
4534 IFS=$as_save_IFS
4535 test -z "$as_dir" && as_dir=.
4536 for ac_exec_ext in '' $ac_executable_extensions; do
4537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4538 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 break 2
4542 done
4543 done
4547 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4548 if test -n "$ac_ct_DUMPBIN"; then
4549 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4550 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4551 else
4552 echo "$as_me:$LINENO: result: no" >&5
4553 echo "${ECHO_T}no" >&6
4556 test -n "$ac_ct_DUMPBIN" && break
4557 done
4558 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4560 DUMPBIN=$ac_ct_DUMPBIN
4564 if test "$DUMPBIN" != ":"; then
4565 NM="$DUMPBIN"
4568 test -z "$NM" && NM=nm
4575 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4576 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4577 if test "${lt_cv_nm_interface+set}" = set; then
4578 echo $ECHO_N "(cached) $ECHO_C" >&6
4579 else
4580 lt_cv_nm_interface="BSD nm"
4581 echo "int some_variable = 0;" > conftest.$ac_ext
4582 (eval echo "\"\$as_me:4582: $ac_compile\"" >&5)
4583 (eval "$ac_compile" 2>conftest.err)
4584 cat conftest.err >&5
4585 (eval echo "\"\$as_me:4585: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4586 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4587 cat conftest.err >&5
4588 (eval echo "\"\$as_me:4588: output\"" >&5)
4589 cat conftest.out >&5
4590 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4591 lt_cv_nm_interface="MS dumpbin"
4593 rm -f conftest*
4595 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4596 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4598 # find the maximum length of command line arguments
4599 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4600 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4601 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4602 echo $ECHO_N "(cached) $ECHO_C" >&6
4603 else
4605 teststring="ABCD"
4607 case $build_os in
4608 msdosdjgpp*)
4609 # On DJGPP, this test can blow up pretty badly due to problems in libc
4610 # (any single argument exceeding 2000 bytes causes a buffer overrun
4611 # during glob expansion). Even if it were fixed, the result of this
4612 # check would be larger than it should be.
4613 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4616 gnu*)
4617 # Under GNU Hurd, this test is not required because there is
4618 # no limit to the length of command line arguments.
4619 # Libtool will interpret -1 as no limit whatsoever
4620 lt_cv_sys_max_cmd_len=-1;
4623 cygwin* | mingw* | cegcc*)
4624 # On Win9x/ME, this test blows up -- it succeeds, but takes
4625 # about 5 minutes as the teststring grows exponentially.
4626 # Worse, since 9x/ME are not pre-emptively multitasking,
4627 # you end up with a "frozen" computer, even though with patience
4628 # the test eventually succeeds (with a max line length of 256k).
4629 # Instead, let's just punt: use the minimum linelength reported by
4630 # all of the supported platforms: 8192 (on NT/2K/XP).
4631 lt_cv_sys_max_cmd_len=8192;
4634 amigaos*)
4635 # On AmigaOS with pdksh, this test takes hours, literally.
4636 # So we just punt and use a minimum line length of 8192.
4637 lt_cv_sys_max_cmd_len=8192;
4640 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4641 # This has been around since 386BSD, at least. Likely further.
4642 if test -x /sbin/sysctl; then
4643 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4644 elif test -x /usr/sbin/sysctl; then
4645 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4646 else
4647 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4649 # And add a safety zone
4650 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4651 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4654 interix*)
4655 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4656 lt_cv_sys_max_cmd_len=196608
4659 osf*)
4660 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4661 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4662 # nice to cause kernel panics so lets avoid the loop below.
4663 # First set a reasonable default.
4664 lt_cv_sys_max_cmd_len=16384
4666 if test -x /sbin/sysconfig; then
4667 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4668 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4669 esac
4672 sco3.2v5*)
4673 lt_cv_sys_max_cmd_len=102400
4675 sysv5* | sco5v6* | sysv4.2uw2*)
4676 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4677 if test -n "$kargmax"; then
4678 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4679 else
4680 lt_cv_sys_max_cmd_len=32768
4684 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4685 if test -n "$lt_cv_sys_max_cmd_len"; then
4686 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4687 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4688 else
4689 # Make teststring a little bigger before we do anything with it.
4690 # a 1K string should be a reasonable start.
4691 for i in 1 2 3 4 5 6 7 8 ; do
4692 teststring=$teststring$teststring
4693 done
4694 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4695 # If test is not a shell built-in, we'll probably end up computing a
4696 # maximum length that is only half of the actual maximum length, but
4697 # we can't tell.
4698 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4699 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4700 test $i != 17 # 1/2 MB should be enough
4702 i=`expr $i + 1`
4703 teststring=$teststring$teststring
4704 done
4705 # Only check the string length outside the loop.
4706 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4707 teststring=
4708 # Add a significant safety factor because C++ compilers can tack on
4709 # massive amounts of additional arguments before passing them to the
4710 # linker. It appears as though 1/2 is a usable value.
4711 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4714 esac
4718 if test -n $lt_cv_sys_max_cmd_len ; then
4719 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4720 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4721 else
4722 echo "$as_me:$LINENO: result: none" >&5
4723 echo "${ECHO_T}none" >&6
4725 max_cmd_len=$lt_cv_sys_max_cmd_len
4732 : ${CP="cp -f"}
4733 : ${MV="mv -f"}
4734 : ${RM="rm -f"}
4736 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4737 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4738 # Try some XSI features
4739 xsi_shell=no
4740 ( _lt_dummy="a/b/c"
4741 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4742 = c,a/b,, \
4743 && eval 'test $(( 1 + 1 )) -eq 2 \
4744 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4745 && xsi_shell=yes
4746 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4747 echo "${ECHO_T}$xsi_shell" >&6
4750 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4751 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4752 lt_shell_append=no
4753 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4754 >/dev/null 2>&1 \
4755 && lt_shell_append=yes
4756 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4757 echo "${ECHO_T}$lt_shell_append" >&6
4760 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4761 lt_unset=unset
4762 else
4763 lt_unset=false
4770 # test EBCDIC or ASCII
4771 case `echo X|tr X '\101'` in
4772 A) # ASCII based system
4773 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4774 lt_SP2NL='tr \040 \012'
4775 lt_NL2SP='tr \015\012 \040\040'
4777 *) # EBCDIC based system
4778 lt_SP2NL='tr \100 \n'
4779 lt_NL2SP='tr \r\n \100\100'
4781 esac
4791 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4792 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4793 if test "${lt_cv_ld_reload_flag+set}" = set; then
4794 echo $ECHO_N "(cached) $ECHO_C" >&6
4795 else
4796 lt_cv_ld_reload_flag='-r'
4798 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4799 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4800 reload_flag=$lt_cv_ld_reload_flag
4801 case $reload_flag in
4802 "" | " "*) ;;
4803 *) reload_flag=" $reload_flag" ;;
4804 esac
4805 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4806 case $host_os in
4807 darwin*)
4808 if test "$GCC" = yes; then
4809 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4810 else
4811 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4814 esac
4824 if test -n "$ac_tool_prefix"; then
4825 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4826 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4827 echo "$as_me:$LINENO: checking for $ac_word" >&5
4828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4829 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4830 echo $ECHO_N "(cached) $ECHO_C" >&6
4831 else
4832 if test -n "$OBJDUMP"; then
4833 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4834 else
4835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4836 for as_dir in $PATH
4838 IFS=$as_save_IFS
4839 test -z "$as_dir" && as_dir=.
4840 for ac_exec_ext in '' $ac_executable_extensions; do
4841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4842 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4844 break 2
4846 done
4847 done
4851 OBJDUMP=$ac_cv_prog_OBJDUMP
4852 if test -n "$OBJDUMP"; then
4853 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4854 echo "${ECHO_T}$OBJDUMP" >&6
4855 else
4856 echo "$as_me:$LINENO: result: no" >&5
4857 echo "${ECHO_T}no" >&6
4861 if test -z "$ac_cv_prog_OBJDUMP"; then
4862 ac_ct_OBJDUMP=$OBJDUMP
4863 # Extract the first word of "objdump", so it can be a program name with args.
4864 set dummy objdump; ac_word=$2
4865 echo "$as_me:$LINENO: checking for $ac_word" >&5
4866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4867 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4868 echo $ECHO_N "(cached) $ECHO_C" >&6
4869 else
4870 if test -n "$ac_ct_OBJDUMP"; then
4871 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4872 else
4873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4874 for as_dir in $PATH
4876 IFS=$as_save_IFS
4877 test -z "$as_dir" && as_dir=.
4878 for ac_exec_ext in '' $ac_executable_extensions; do
4879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4880 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4882 break 2
4884 done
4885 done
4887 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
4890 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4891 if test -n "$ac_ct_OBJDUMP"; then
4892 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4893 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4894 else
4895 echo "$as_me:$LINENO: result: no" >&5
4896 echo "${ECHO_T}no" >&6
4899 OBJDUMP=$ac_ct_OBJDUMP
4900 else
4901 OBJDUMP="$ac_cv_prog_OBJDUMP"
4904 test -z "$OBJDUMP" && OBJDUMP=objdump
4914 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4915 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4916 if test "${lt_cv_deplibs_check_method+set}" = set; then
4917 echo $ECHO_N "(cached) $ECHO_C" >&6
4918 else
4919 lt_cv_file_magic_cmd='$MAGIC_CMD'
4920 lt_cv_file_magic_test_file=
4921 lt_cv_deplibs_check_method='unknown'
4922 # Need to set the preceding variable on all platforms that support
4923 # interlibrary dependencies.
4924 # 'none' -- dependencies not supported.
4925 # `unknown' -- same as none, but documents that we really don't know.
4926 # 'pass_all' -- all dependencies passed with no checks.
4927 # 'test_compile' -- check by making test program.
4928 # 'file_magic [[regex]]' -- check by looking for files in library path
4929 # which responds to the $file_magic_cmd with a given extended regex.
4930 # If you have `file' or equivalent on your system and you're not sure
4931 # whether `pass_all' will *always* work, you probably want this one.
4933 case $host_os in
4934 aix[4-9]*)
4935 lt_cv_deplibs_check_method=pass_all
4938 beos*)
4939 lt_cv_deplibs_check_method=pass_all
4942 bsdi[45]*)
4943 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4944 lt_cv_file_magic_cmd='/usr/bin/file -L'
4945 lt_cv_file_magic_test_file=/shlib/libc.so
4948 cygwin*)
4949 # func_win32_libid is a shell function defined in ltmain.sh
4950 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4951 lt_cv_file_magic_cmd='func_win32_libid'
4954 mingw* | pw32*)
4955 # Base MSYS/MinGW do not provide the 'file' command needed by
4956 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4957 # unless we find 'file', for example because we are cross-compiling.
4958 if ( file / ) >/dev/null 2>&1; then
4959 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4960 lt_cv_file_magic_cmd='func_win32_libid'
4961 else
4962 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4963 lt_cv_file_magic_cmd='$OBJDUMP -f'
4967 cegcc)
4968 # use the weaker test based on 'objdump'. See mingw*.
4969 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4970 lt_cv_file_magic_cmd='$OBJDUMP -f'
4973 darwin* | rhapsody*)
4974 lt_cv_deplibs_check_method=pass_all
4977 freebsd* | dragonfly*)
4978 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4979 case $host_cpu in
4980 i*86 )
4981 # Not sure whether the presence of OpenBSD here was a mistake.
4982 # Let's accept both of them until this is cleared up.
4983 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4984 lt_cv_file_magic_cmd=/usr/bin/file
4985 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4987 esac
4988 else
4989 lt_cv_deplibs_check_method=pass_all
4993 gnu*)
4994 lt_cv_deplibs_check_method=pass_all
4997 hpux10.20* | hpux11*)
4998 lt_cv_file_magic_cmd=/usr/bin/file
4999 case $host_cpu in
5000 ia64*)
5001 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5002 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5004 hppa*64*)
5005 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]'
5006 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5009 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5010 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5012 esac
5015 interix[3-9]*)
5016 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5017 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5020 irix5* | irix6* | nonstopux*)
5021 case $LD in
5022 *-32|*"-32 ") libmagic=32-bit;;
5023 *-n32|*"-n32 ") libmagic=N32;;
5024 *-64|*"-64 ") libmagic=64-bit;;
5025 *) libmagic=never-match;;
5026 esac
5027 lt_cv_deplibs_check_method=pass_all
5030 # This must be Linux ELF.
5031 linux* | k*bsd*-gnu)
5032 lt_cv_deplibs_check_method=pass_all
5035 netbsd*)
5036 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5037 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5038 else
5039 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5043 newos6*)
5044 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5045 lt_cv_file_magic_cmd=/usr/bin/file
5046 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5049 *nto* | *qnx*)
5050 lt_cv_deplibs_check_method=pass_all
5053 openbsd*)
5054 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5055 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5056 else
5057 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5061 osf3* | osf4* | osf5*)
5062 lt_cv_deplibs_check_method=pass_all
5065 rdos*)
5066 lt_cv_deplibs_check_method=pass_all
5069 solaris*)
5070 lt_cv_deplibs_check_method=pass_all
5073 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5074 lt_cv_deplibs_check_method=pass_all
5077 sysv4 | sysv4.3*)
5078 case $host_vendor in
5079 motorola)
5080 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]'
5081 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5083 ncr)
5084 lt_cv_deplibs_check_method=pass_all
5086 sequent)
5087 lt_cv_file_magic_cmd='/bin/file'
5088 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5090 sni)
5091 lt_cv_file_magic_cmd='/bin/file'
5092 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5093 lt_cv_file_magic_test_file=/lib/libc.so
5095 siemens)
5096 lt_cv_deplibs_check_method=pass_all
5099 lt_cv_deplibs_check_method=pass_all
5101 esac
5104 tpf*)
5105 lt_cv_deplibs_check_method=pass_all
5107 esac
5110 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5111 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5112 file_magic_cmd=$lt_cv_file_magic_cmd
5113 deplibs_check_method=$lt_cv_deplibs_check_method
5114 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5127 if test -n "$ac_tool_prefix"; then
5128 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5129 set dummy ${ac_tool_prefix}ar; ac_word=$2
5130 echo "$as_me:$LINENO: checking for $ac_word" >&5
5131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5132 if test "${ac_cv_prog_AR+set}" = set; then
5133 echo $ECHO_N "(cached) $ECHO_C" >&6
5134 else
5135 if test -n "$AR"; then
5136 ac_cv_prog_AR="$AR" # Let the user override the test.
5137 else
5138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5139 for as_dir in $PATH
5141 IFS=$as_save_IFS
5142 test -z "$as_dir" && as_dir=.
5143 for ac_exec_ext in '' $ac_executable_extensions; do
5144 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5145 ac_cv_prog_AR="${ac_tool_prefix}ar"
5146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5147 break 2
5149 done
5150 done
5154 AR=$ac_cv_prog_AR
5155 if test -n "$AR"; then
5156 echo "$as_me:$LINENO: result: $AR" >&5
5157 echo "${ECHO_T}$AR" >&6
5158 else
5159 echo "$as_me:$LINENO: result: no" >&5
5160 echo "${ECHO_T}no" >&6
5164 if test -z "$ac_cv_prog_AR"; then
5165 ac_ct_AR=$AR
5166 # Extract the first word of "ar", so it can be a program name with args.
5167 set dummy ar; ac_word=$2
5168 echo "$as_me:$LINENO: checking for $ac_word" >&5
5169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5170 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5171 echo $ECHO_N "(cached) $ECHO_C" >&6
5172 else
5173 if test -n "$ac_ct_AR"; then
5174 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5175 else
5176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5177 for as_dir in $PATH
5179 IFS=$as_save_IFS
5180 test -z "$as_dir" && as_dir=.
5181 for ac_exec_ext in '' $ac_executable_extensions; do
5182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5183 ac_cv_prog_ac_ct_AR="ar"
5184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5185 break 2
5187 done
5188 done
5190 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5193 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5194 if test -n "$ac_ct_AR"; then
5195 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5196 echo "${ECHO_T}$ac_ct_AR" >&6
5197 else
5198 echo "$as_me:$LINENO: result: no" >&5
5199 echo "${ECHO_T}no" >&6
5202 AR=$ac_ct_AR
5203 else
5204 AR="$ac_cv_prog_AR"
5207 test -z "$AR" && AR=ar
5208 test -z "$AR_FLAGS" && AR_FLAGS=cru
5220 if test -n "$ac_tool_prefix"; then
5221 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5222 set dummy ${ac_tool_prefix}strip; ac_word=$2
5223 echo "$as_me:$LINENO: checking for $ac_word" >&5
5224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5225 if test "${ac_cv_prog_STRIP+set}" = set; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 else
5228 if test -n "$STRIP"; then
5229 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5230 else
5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232 for as_dir in $PATH
5234 IFS=$as_save_IFS
5235 test -z "$as_dir" && as_dir=.
5236 for ac_exec_ext in '' $ac_executable_extensions; do
5237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5238 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5240 break 2
5242 done
5243 done
5247 STRIP=$ac_cv_prog_STRIP
5248 if test -n "$STRIP"; then
5249 echo "$as_me:$LINENO: result: $STRIP" >&5
5250 echo "${ECHO_T}$STRIP" >&6
5251 else
5252 echo "$as_me:$LINENO: result: no" >&5
5253 echo "${ECHO_T}no" >&6
5257 if test -z "$ac_cv_prog_STRIP"; then
5258 ac_ct_STRIP=$STRIP
5259 # Extract the first word of "strip", so it can be a program name with args.
5260 set dummy strip; ac_word=$2
5261 echo "$as_me:$LINENO: checking for $ac_word" >&5
5262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5263 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5264 echo $ECHO_N "(cached) $ECHO_C" >&6
5265 else
5266 if test -n "$ac_ct_STRIP"; then
5267 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5268 else
5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5270 for as_dir in $PATH
5272 IFS=$as_save_IFS
5273 test -z "$as_dir" && as_dir=.
5274 for ac_exec_ext in '' $ac_executable_extensions; do
5275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5276 ac_cv_prog_ac_ct_STRIP="strip"
5277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5278 break 2
5280 done
5281 done
5283 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5286 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5287 if test -n "$ac_ct_STRIP"; then
5288 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5289 echo "${ECHO_T}$ac_ct_STRIP" >&6
5290 else
5291 echo "$as_me:$LINENO: result: no" >&5
5292 echo "${ECHO_T}no" >&6
5295 STRIP=$ac_ct_STRIP
5296 else
5297 STRIP="$ac_cv_prog_STRIP"
5300 test -z "$STRIP" && STRIP=:
5307 if test -n "$ac_tool_prefix"; then
5308 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5309 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5310 echo "$as_me:$LINENO: checking for $ac_word" >&5
5311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5312 if test "${ac_cv_prog_RANLIB+set}" = set; then
5313 echo $ECHO_N "(cached) $ECHO_C" >&6
5314 else
5315 if test -n "$RANLIB"; then
5316 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5317 else
5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5319 for as_dir in $PATH
5321 IFS=$as_save_IFS
5322 test -z "$as_dir" && as_dir=.
5323 for ac_exec_ext in '' $ac_executable_extensions; do
5324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5325 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5327 break 2
5329 done
5330 done
5334 RANLIB=$ac_cv_prog_RANLIB
5335 if test -n "$RANLIB"; then
5336 echo "$as_me:$LINENO: result: $RANLIB" >&5
5337 echo "${ECHO_T}$RANLIB" >&6
5338 else
5339 echo "$as_me:$LINENO: result: no" >&5
5340 echo "${ECHO_T}no" >&6
5344 if test -z "$ac_cv_prog_RANLIB"; then
5345 ac_ct_RANLIB=$RANLIB
5346 # Extract the first word of "ranlib", so it can be a program name with args.
5347 set dummy ranlib; ac_word=$2
5348 echo "$as_me:$LINENO: checking for $ac_word" >&5
5349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5350 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5351 echo $ECHO_N "(cached) $ECHO_C" >&6
5352 else
5353 if test -n "$ac_ct_RANLIB"; then
5354 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5355 else
5356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5357 for as_dir in $PATH
5359 IFS=$as_save_IFS
5360 test -z "$as_dir" && as_dir=.
5361 for ac_exec_ext in '' $ac_executable_extensions; do
5362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5363 ac_cv_prog_ac_ct_RANLIB="ranlib"
5364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5365 break 2
5367 done
5368 done
5370 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5373 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5374 if test -n "$ac_ct_RANLIB"; then
5375 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5376 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5377 else
5378 echo "$as_me:$LINENO: result: no" >&5
5379 echo "${ECHO_T}no" >&6
5382 RANLIB=$ac_ct_RANLIB
5383 else
5384 RANLIB="$ac_cv_prog_RANLIB"
5387 test -z "$RANLIB" && RANLIB=:
5394 # Determine commands to create old-style static archives.
5395 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5396 old_postinstall_cmds='chmod 644 $oldlib'
5397 old_postuninstall_cmds=
5399 if test -n "$RANLIB"; then
5400 case $host_os in
5401 openbsd*)
5402 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5405 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5407 esac
5408 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5444 # If no C compiler was specified, use CC.
5445 LTCC=${LTCC-"$CC"}
5447 # If no C compiler flags were specified, use CFLAGS.
5448 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5450 # Allow CC to be a program name with arguments.
5451 compiler=$CC
5454 # Check for command to grab the raw symbol name followed by C symbol from nm.
5455 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5456 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5457 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5458 echo $ECHO_N "(cached) $ECHO_C" >&6
5459 else
5461 # These are sane defaults that work on at least a few old systems.
5462 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5464 # Character class describing NM global symbol codes.
5465 symcode='[BCDEGRST]'
5467 # Regexp to match symbols that can be accessed directly from C.
5468 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5470 # Define system-specific variables.
5471 case $host_os in
5472 aix*)
5473 symcode='[BCDT]'
5475 cygwin* | mingw* | pw32* | cegcc*)
5476 symcode='[ABCDGISTW]'
5478 hpux*)
5479 if test "$host_cpu" = ia64; then
5480 symcode='[ABCDEGRST]'
5483 irix* | nonstopux*)
5484 symcode='[BCDEGRST]'
5486 osf*)
5487 symcode='[BCDEGQRST]'
5489 solaris*)
5490 symcode='[BDRT]'
5492 sco3.2v5*)
5493 symcode='[DT]'
5495 sysv4.2uw2*)
5496 symcode='[DT]'
5498 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5499 symcode='[ABDT]'
5501 sysv4)
5502 symcode='[DFNSTU]'
5504 esac
5506 # If we're using GNU nm, then use its standard symbol codes.
5507 case `$NM -V 2>&1` in
5508 *GNU* | *'with BFD'*)
5509 symcode='[ABCDGIRSTW]' ;;
5510 esac
5512 # Transform an extracted symbol line into a proper C declaration.
5513 # Some systems (esp. on ia64) link data and code symbols differently,
5514 # so use this general approach.
5515 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5517 # Transform an extracted symbol line into symbol name and symbol address
5518 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5519 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5521 # Handle CRLF in mingw tool chain
5522 opt_cr=
5523 case $build_os in
5524 mingw*)
5525 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5527 esac
5529 # Try without a prefix underscore, then with it.
5530 for ac_symprfx in "" "_"; do
5532 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5533 symxfrm="\\1 $ac_symprfx\\2 \\2"
5535 # Write the raw and C identifiers.
5536 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5537 # Fake it for dumpbin and say T for any non-static function
5538 # and D for any global variable.
5539 # Also find C++ and __fastcall symbols from MSVC++,
5540 # which start with @ or ?.
5541 lt_cv_sys_global_symbol_pipe="$AWK '"\
5542 " {last_section=section; section=\$ 3};"\
5543 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5544 " \$ 0!~/External *\|/{next};"\
5545 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5546 " {if(hide[section]) next};"\
5547 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5548 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5549 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5550 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5551 " ' prfx=^$ac_symprfx"
5552 else
5553 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5556 # Check to see that the pipe works correctly.
5557 pipe_works=no
5559 rm -f conftest*
5560 cat > conftest.$ac_ext <<_LT_EOF
5561 #ifdef __cplusplus
5562 extern "C" {
5563 #endif
5564 char nm_test_var;
5565 void nm_test_func(void);
5566 void nm_test_func(void){}
5567 #ifdef __cplusplus
5569 #endif
5570 int main(){nm_test_var='a';nm_test_func();return(0);}
5571 _LT_EOF
5573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5574 (eval $ac_compile) 2>&5
5575 ac_status=$?
5576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577 (exit $ac_status); }; then
5578 # Now try to grab the symbols.
5579 nlist=conftest.nm
5580 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5581 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5582 ac_status=$?
5583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 (exit $ac_status); } && test -s "$nlist"; then
5585 # Try sorting and uniquifying the output.
5586 if sort "$nlist" | uniq > "$nlist"T; then
5587 mv -f "$nlist"T "$nlist"
5588 else
5589 rm -f "$nlist"T
5592 # Make sure that we snagged all the symbols we need.
5593 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5594 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5595 cat <<_LT_EOF > conftest.$ac_ext
5596 #ifdef __cplusplus
5597 extern "C" {
5598 #endif
5600 _LT_EOF
5601 # Now generate the symbol file.
5602 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5604 cat <<_LT_EOF >> conftest.$ac_ext
5606 /* The mapping between symbol names and symbols. */
5607 const struct {
5608 const char *name;
5609 void *address;
5611 lt__PROGRAM__LTX_preloaded_symbols[] =
5613 { "@PROGRAM@", (void *) 0 },
5614 _LT_EOF
5615 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5616 cat <<\_LT_EOF >> conftest.$ac_ext
5617 {0, (void *) 0}
5620 /* This works around a problem in FreeBSD linker */
5621 #ifdef FREEBSD_WORKAROUND
5622 static const void *lt_preloaded_setup() {
5623 return lt__PROGRAM__LTX_preloaded_symbols;
5625 #endif
5627 #ifdef __cplusplus
5629 #endif
5630 _LT_EOF
5631 # Now try linking the two files.
5632 mv conftest.$ac_objext conftstm.$ac_objext
5633 lt_save_LIBS="$LIBS"
5634 lt_save_CFLAGS="$CFLAGS"
5635 LIBS="conftstm.$ac_objext"
5636 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5638 (eval $ac_link) 2>&5
5639 ac_status=$?
5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5642 pipe_works=yes
5644 LIBS="$lt_save_LIBS"
5645 CFLAGS="$lt_save_CFLAGS"
5646 else
5647 echo "cannot find nm_test_func in $nlist" >&5
5649 else
5650 echo "cannot find nm_test_var in $nlist" >&5
5652 else
5653 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5655 else
5656 echo "$progname: failed program was:" >&5
5657 cat conftest.$ac_ext >&5
5659 rm -rf conftest* conftst*
5661 # Do not use the global_symbol_pipe unless it works.
5662 if test "$pipe_works" = yes; then
5663 break
5664 else
5665 lt_cv_sys_global_symbol_pipe=
5667 done
5671 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5672 lt_cv_sys_global_symbol_to_cdecl=
5674 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5675 echo "$as_me:$LINENO: result: failed" >&5
5676 echo "${ECHO_T}failed" >&6
5677 else
5678 echo "$as_me:$LINENO: result: ok" >&5
5679 echo "${ECHO_T}ok" >&6
5703 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5704 if test "${enable_libtool_lock+set}" = set; then
5705 enableval="$enable_libtool_lock"
5708 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5710 # Some flags need to be propagated to the compiler or linker for good
5711 # libtool support.
5712 case $host in
5713 ia64-*-hpux*)
5714 # Find out which ABI we are using.
5715 echo 'int i;' > conftest.$ac_ext
5716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5717 (eval $ac_compile) 2>&5
5718 ac_status=$?
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); }; then
5721 case `/usr/bin/file conftest.$ac_objext` in
5722 *ELF-32*)
5723 HPUX_IA64_MODE="32"
5725 *ELF-64*)
5726 HPUX_IA64_MODE="64"
5728 esac
5730 rm -rf conftest*
5732 *-*-irix6*)
5733 # Find out which ABI we are using.
5734 echo '#line 5734 "configure"' > 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 if test "$lt_cv_prog_gnu_ld" = yes; then
5741 case `/usr/bin/file conftest.$ac_objext` in
5742 *32-bit*)
5743 LD="${LD-ld} -melf32bsmip"
5745 *N32*)
5746 LD="${LD-ld} -melf32bmipn32"
5748 *64-bit*)
5749 LD="${LD-ld} -melf64bmip"
5751 esac
5752 else
5753 case `/usr/bin/file conftest.$ac_objext` in
5754 *32-bit*)
5755 LD="${LD-ld} -32"
5757 *N32*)
5758 LD="${LD-ld} -n32"
5760 *64-bit*)
5761 LD="${LD-ld} -64"
5763 esac
5766 rm -rf conftest*
5769 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5770 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5771 # Find out which ABI we are using.
5772 echo 'int i;' > conftest.$ac_ext
5773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5774 (eval $ac_compile) 2>&5
5775 ac_status=$?
5776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 (exit $ac_status); }; then
5778 case `/usr/bin/file conftest.o` in
5779 *32-bit*)
5780 case $host in
5781 x86_64-*kfreebsd*-gnu)
5782 LD="${LD-ld} -m elf_i386_fbsd"
5784 x86_64-*linux*)
5785 LD="${LD-ld} -m elf_i386"
5787 ppc64-*linux*|powerpc64-*linux*)
5788 LD="${LD-ld} -m elf32ppclinux"
5790 s390x-*linux*)
5791 LD="${LD-ld} -m elf_s390"
5793 sparc64-*linux*)
5794 LD="${LD-ld} -m elf32_sparc"
5796 esac
5798 *64-bit*)
5799 case $host in
5800 x86_64-*kfreebsd*-gnu)
5801 LD="${LD-ld} -m elf_x86_64_fbsd"
5803 x86_64-*linux*)
5804 LD="${LD-ld} -m elf_x86_64"
5806 ppc*-*linux*|powerpc*-*linux*)
5807 LD="${LD-ld} -m elf64ppc"
5809 s390*-*linux*|s390*-*tpf*)
5810 LD="${LD-ld} -m elf64_s390"
5812 sparc*-*linux*)
5813 LD="${LD-ld} -m elf64_sparc"
5815 esac
5817 esac
5819 rm -rf conftest*
5822 *-*-sco3.2v5*)
5823 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5824 SAVE_CFLAGS="$CFLAGS"
5825 CFLAGS="$CFLAGS -belf"
5826 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5827 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5828 if test "${lt_cv_cc_needs_belf+set}" = set; then
5829 echo $ECHO_N "(cached) $ECHO_C" >&6
5830 else
5831 ac_ext=c
5832 ac_cpp='$CPP $CPPFLAGS'
5833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5837 if test x$gcc_no_link = xyes; then
5838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5840 { (exit 1); exit 1; }; }
5842 cat >conftest.$ac_ext <<_ACEOF
5843 /* confdefs.h. */
5844 _ACEOF
5845 cat confdefs.h >>conftest.$ac_ext
5846 cat >>conftest.$ac_ext <<_ACEOF
5847 /* end confdefs.h. */
5850 main ()
5854 return 0;
5856 _ACEOF
5857 rm -f conftest.$ac_objext conftest$ac_exeext
5858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5859 (eval $ac_link) 2>conftest.er1
5860 ac_status=$?
5861 grep -v '^ *+' conftest.er1 >conftest.err
5862 rm -f conftest.er1
5863 cat conftest.err >&5
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); } &&
5866 { ac_try='test -z "$ac_c_werror_flag"
5867 || test ! -s conftest.err'
5868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5869 (eval $ac_try) 2>&5
5870 ac_status=$?
5871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5872 (exit $ac_status); }; } &&
5873 { ac_try='test -s conftest$ac_exeext'
5874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5875 (eval $ac_try) 2>&5
5876 ac_status=$?
5877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 (exit $ac_status); }; }; then
5879 lt_cv_cc_needs_belf=yes
5880 else
5881 echo "$as_me: failed program was:" >&5
5882 sed 's/^/| /' conftest.$ac_ext >&5
5884 lt_cv_cc_needs_belf=no
5886 rm -f conftest.err conftest.$ac_objext \
5887 conftest$ac_exeext conftest.$ac_ext
5888 ac_ext=c
5889 ac_cpp='$CPP $CPPFLAGS'
5890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5895 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5896 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5897 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5898 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5899 CFLAGS="$SAVE_CFLAGS"
5902 sparc*-*solaris*)
5903 # Find out which ABI we are using.
5904 echo 'int i;' > conftest.$ac_ext
5905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5906 (eval $ac_compile) 2>&5
5907 ac_status=$?
5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909 (exit $ac_status); }; then
5910 case `/usr/bin/file conftest.o` in
5911 *64-bit*)
5912 case $lt_cv_prog_gnu_ld in
5913 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5915 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5916 LD="${LD-ld} -64"
5919 esac
5921 esac
5923 rm -rf conftest*
5925 esac
5927 need_locks="$enable_libtool_lock"
5930 case $host_os in
5931 rhapsody* | darwin*)
5932 if test -n "$ac_tool_prefix"; then
5933 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5934 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5935 echo "$as_me:$LINENO: checking for $ac_word" >&5
5936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5937 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5938 echo $ECHO_N "(cached) $ECHO_C" >&6
5939 else
5940 if test -n "$DSYMUTIL"; then
5941 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5942 else
5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 for as_dir in $PATH
5946 IFS=$as_save_IFS
5947 test -z "$as_dir" && as_dir=.
5948 for ac_exec_ext in '' $ac_executable_extensions; do
5949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5950 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5952 break 2
5954 done
5955 done
5959 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5960 if test -n "$DSYMUTIL"; then
5961 echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5962 echo "${ECHO_T}$DSYMUTIL" >&6
5963 else
5964 echo "$as_me:$LINENO: result: no" >&5
5965 echo "${ECHO_T}no" >&6
5969 if test -z "$ac_cv_prog_DSYMUTIL"; then
5970 ac_ct_DSYMUTIL=$DSYMUTIL
5971 # Extract the first word of "dsymutil", so it can be a program name with args.
5972 set dummy dsymutil; ac_word=$2
5973 echo "$as_me:$LINENO: checking for $ac_word" >&5
5974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5975 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5976 echo $ECHO_N "(cached) $ECHO_C" >&6
5977 else
5978 if test -n "$ac_ct_DSYMUTIL"; then
5979 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5980 else
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 for as_dir in $PATH
5984 IFS=$as_save_IFS
5985 test -z "$as_dir" && as_dir=.
5986 for ac_exec_ext in '' $ac_executable_extensions; do
5987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5988 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 break 2
5992 done
5993 done
5995 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
5998 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5999 if test -n "$ac_ct_DSYMUTIL"; then
6000 echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6001 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
6002 else
6003 echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6007 DSYMUTIL=$ac_ct_DSYMUTIL
6008 else
6009 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6012 if test -n "$ac_tool_prefix"; then
6013 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6014 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6015 echo "$as_me:$LINENO: checking for $ac_word" >&5
6016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6017 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6018 echo $ECHO_N "(cached) $ECHO_C" >&6
6019 else
6020 if test -n "$NMEDIT"; then
6021 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6022 else
6023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6024 for as_dir in $PATH
6026 IFS=$as_save_IFS
6027 test -z "$as_dir" && as_dir=.
6028 for ac_exec_ext in '' $ac_executable_extensions; do
6029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6030 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6032 break 2
6034 done
6035 done
6039 NMEDIT=$ac_cv_prog_NMEDIT
6040 if test -n "$NMEDIT"; then
6041 echo "$as_me:$LINENO: result: $NMEDIT" >&5
6042 echo "${ECHO_T}$NMEDIT" >&6
6043 else
6044 echo "$as_me:$LINENO: result: no" >&5
6045 echo "${ECHO_T}no" >&6
6049 if test -z "$ac_cv_prog_NMEDIT"; then
6050 ac_ct_NMEDIT=$NMEDIT
6051 # Extract the first word of "nmedit", so it can be a program name with args.
6052 set dummy nmedit; ac_word=$2
6053 echo "$as_me:$LINENO: checking for $ac_word" >&5
6054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6055 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6056 echo $ECHO_N "(cached) $ECHO_C" >&6
6057 else
6058 if test -n "$ac_ct_NMEDIT"; then
6059 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6060 else
6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6062 for as_dir in $PATH
6064 IFS=$as_save_IFS
6065 test -z "$as_dir" && as_dir=.
6066 for ac_exec_ext in '' $ac_executable_extensions; do
6067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6068 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6070 break 2
6072 done
6073 done
6075 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
6078 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6079 if test -n "$ac_ct_NMEDIT"; then
6080 echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6081 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
6082 else
6083 echo "$as_me:$LINENO: result: no" >&5
6084 echo "${ECHO_T}no" >&6
6087 NMEDIT=$ac_ct_NMEDIT
6088 else
6089 NMEDIT="$ac_cv_prog_NMEDIT"
6092 if test -n "$ac_tool_prefix"; then
6093 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6094 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6095 echo "$as_me:$LINENO: checking for $ac_word" >&5
6096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6097 if test "${ac_cv_prog_LIPO+set}" = set; then
6098 echo $ECHO_N "(cached) $ECHO_C" >&6
6099 else
6100 if test -n "$LIPO"; then
6101 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6102 else
6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 for as_dir in $PATH
6106 IFS=$as_save_IFS
6107 test -z "$as_dir" && as_dir=.
6108 for ac_exec_ext in '' $ac_executable_extensions; do
6109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6110 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6112 break 2
6114 done
6115 done
6119 LIPO=$ac_cv_prog_LIPO
6120 if test -n "$LIPO"; then
6121 echo "$as_me:$LINENO: result: $LIPO" >&5
6122 echo "${ECHO_T}$LIPO" >&6
6123 else
6124 echo "$as_me:$LINENO: result: no" >&5
6125 echo "${ECHO_T}no" >&6
6129 if test -z "$ac_cv_prog_LIPO"; then
6130 ac_ct_LIPO=$LIPO
6131 # Extract the first word of "lipo", so it can be a program name with args.
6132 set dummy lipo; ac_word=$2
6133 echo "$as_me:$LINENO: checking for $ac_word" >&5
6134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6135 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6136 echo $ECHO_N "(cached) $ECHO_C" >&6
6137 else
6138 if test -n "$ac_ct_LIPO"; then
6139 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6140 else
6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6142 for as_dir in $PATH
6144 IFS=$as_save_IFS
6145 test -z "$as_dir" && as_dir=.
6146 for ac_exec_ext in '' $ac_executable_extensions; do
6147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6148 ac_cv_prog_ac_ct_LIPO="lipo"
6149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6150 break 2
6152 done
6153 done
6155 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
6158 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6159 if test -n "$ac_ct_LIPO"; then
6160 echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6161 echo "${ECHO_T}$ac_ct_LIPO" >&6
6162 else
6163 echo "$as_me:$LINENO: result: no" >&5
6164 echo "${ECHO_T}no" >&6
6167 LIPO=$ac_ct_LIPO
6168 else
6169 LIPO="$ac_cv_prog_LIPO"
6172 if test -n "$ac_tool_prefix"; then
6173 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6174 set dummy ${ac_tool_prefix}otool; ac_word=$2
6175 echo "$as_me:$LINENO: checking for $ac_word" >&5
6176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6177 if test "${ac_cv_prog_OTOOL+set}" = set; then
6178 echo $ECHO_N "(cached) $ECHO_C" >&6
6179 else
6180 if test -n "$OTOOL"; then
6181 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6182 else
6183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6184 for as_dir in $PATH
6186 IFS=$as_save_IFS
6187 test -z "$as_dir" && as_dir=.
6188 for ac_exec_ext in '' $ac_executable_extensions; do
6189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6190 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6192 break 2
6194 done
6195 done
6199 OTOOL=$ac_cv_prog_OTOOL
6200 if test -n "$OTOOL"; then
6201 echo "$as_me:$LINENO: result: $OTOOL" >&5
6202 echo "${ECHO_T}$OTOOL" >&6
6203 else
6204 echo "$as_me:$LINENO: result: no" >&5
6205 echo "${ECHO_T}no" >&6
6209 if test -z "$ac_cv_prog_OTOOL"; then
6210 ac_ct_OTOOL=$OTOOL
6211 # Extract the first word of "otool", so it can be a program name with args.
6212 set dummy otool; ac_word=$2
6213 echo "$as_me:$LINENO: checking for $ac_word" >&5
6214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6215 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6216 echo $ECHO_N "(cached) $ECHO_C" >&6
6217 else
6218 if test -n "$ac_ct_OTOOL"; then
6219 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6220 else
6221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6222 for as_dir in $PATH
6224 IFS=$as_save_IFS
6225 test -z "$as_dir" && as_dir=.
6226 for ac_exec_ext in '' $ac_executable_extensions; do
6227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6228 ac_cv_prog_ac_ct_OTOOL="otool"
6229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6230 break 2
6232 done
6233 done
6235 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
6238 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6239 if test -n "$ac_ct_OTOOL"; then
6240 echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6241 echo "${ECHO_T}$ac_ct_OTOOL" >&6
6242 else
6243 echo "$as_me:$LINENO: result: no" >&5
6244 echo "${ECHO_T}no" >&6
6247 OTOOL=$ac_ct_OTOOL
6248 else
6249 OTOOL="$ac_cv_prog_OTOOL"
6252 if test -n "$ac_tool_prefix"; then
6253 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6254 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6255 echo "$as_me:$LINENO: checking for $ac_word" >&5
6256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6257 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6258 echo $ECHO_N "(cached) $ECHO_C" >&6
6259 else
6260 if test -n "$OTOOL64"; then
6261 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6262 else
6263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6264 for as_dir in $PATH
6266 IFS=$as_save_IFS
6267 test -z "$as_dir" && as_dir=.
6268 for ac_exec_ext in '' $ac_executable_extensions; do
6269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6270 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6272 break 2
6274 done
6275 done
6279 OTOOL64=$ac_cv_prog_OTOOL64
6280 if test -n "$OTOOL64"; then
6281 echo "$as_me:$LINENO: result: $OTOOL64" >&5
6282 echo "${ECHO_T}$OTOOL64" >&6
6283 else
6284 echo "$as_me:$LINENO: result: no" >&5
6285 echo "${ECHO_T}no" >&6
6289 if test -z "$ac_cv_prog_OTOOL64"; then
6290 ac_ct_OTOOL64=$OTOOL64
6291 # Extract the first word of "otool64", so it can be a program name with args.
6292 set dummy otool64; ac_word=$2
6293 echo "$as_me:$LINENO: checking for $ac_word" >&5
6294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6295 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6296 echo $ECHO_N "(cached) $ECHO_C" >&6
6297 else
6298 if test -n "$ac_ct_OTOOL64"; then
6299 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6300 else
6301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6302 for as_dir in $PATH
6304 IFS=$as_save_IFS
6305 test -z "$as_dir" && as_dir=.
6306 for ac_exec_ext in '' $ac_executable_extensions; do
6307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6308 ac_cv_prog_ac_ct_OTOOL64="otool64"
6309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6310 break 2
6312 done
6313 done
6315 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
6318 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6319 if test -n "$ac_ct_OTOOL64"; then
6320 echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6321 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
6322 else
6323 echo "$as_me:$LINENO: result: no" >&5
6324 echo "${ECHO_T}no" >&6
6327 OTOOL64=$ac_ct_OTOOL64
6328 else
6329 OTOOL64="$ac_cv_prog_OTOOL64"
6358 echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6359 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
6360 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6361 echo $ECHO_N "(cached) $ECHO_C" >&6
6362 else
6363 lt_cv_apple_cc_single_mod=no
6364 if test -z "${LT_MULTI_MODULE}"; then
6365 # By default we will add the -single_module flag. You can override
6366 # by either setting the environment variable LT_MULTI_MODULE
6367 # non-empty at configure time, or by adding -multi_module to the
6368 # link flags.
6369 rm -rf libconftest.dylib*
6370 echo "int foo(void){return 1;}" > conftest.c
6371 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6372 -dynamiclib -Wl,-single_module conftest.c" >&5
6373 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6374 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6375 _lt_result=$?
6376 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6377 lt_cv_apple_cc_single_mod=yes
6378 else
6379 cat conftest.err >&5
6381 rm -rf libconftest.dylib*
6382 rm -f conftest.*
6385 echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6386 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
6387 echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6388 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
6389 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6390 echo $ECHO_N "(cached) $ECHO_C" >&6
6391 else
6392 lt_cv_ld_exported_symbols_list=no
6393 save_LDFLAGS=$LDFLAGS
6394 echo "_main" > conftest.sym
6395 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6396 if test x$gcc_no_link = xyes; then
6397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6399 { (exit 1); exit 1; }; }
6401 cat >conftest.$ac_ext <<_ACEOF
6402 /* confdefs.h. */
6403 _ACEOF
6404 cat confdefs.h >>conftest.$ac_ext
6405 cat >>conftest.$ac_ext <<_ACEOF
6406 /* end confdefs.h. */
6409 main ()
6413 return 0;
6415 _ACEOF
6416 rm -f conftest.$ac_objext conftest$ac_exeext
6417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6418 (eval $ac_link) 2>conftest.er1
6419 ac_status=$?
6420 grep -v '^ *+' conftest.er1 >conftest.err
6421 rm -f conftest.er1
6422 cat conftest.err >&5
6423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424 (exit $ac_status); } &&
6425 { ac_try='test -z "$ac_c_werror_flag"
6426 || test ! -s conftest.err'
6427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6428 (eval $ac_try) 2>&5
6429 ac_status=$?
6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431 (exit $ac_status); }; } &&
6432 { ac_try='test -s conftest$ac_exeext'
6433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6434 (eval $ac_try) 2>&5
6435 ac_status=$?
6436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437 (exit $ac_status); }; }; then
6438 lt_cv_ld_exported_symbols_list=yes
6439 else
6440 echo "$as_me: failed program was:" >&5
6441 sed 's/^/| /' conftest.$ac_ext >&5
6443 lt_cv_ld_exported_symbols_list=no
6445 rm -f conftest.err conftest.$ac_objext \
6446 conftest$ac_exeext conftest.$ac_ext
6447 LDFLAGS="$save_LDFLAGS"
6450 echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6451 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
6452 case $host_os in
6453 rhapsody* | darwin1.[012])
6454 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6455 darwin1.*)
6456 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6457 darwin*) # darwin 5.x on
6458 # if running on 10.5 or later, the deployment target defaults
6459 # to the OS version, if on x86, and 10.4, the deployment
6460 # target defaults to 10.4. Don't you love it?
6461 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6462 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6463 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6464 10.[012]*)
6465 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6466 10.*)
6467 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6468 esac
6470 esac
6471 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6472 _lt_dar_single_mod='$single_module'
6474 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6475 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6476 else
6477 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6479 if test "$DSYMUTIL" != ":"; then
6480 _lt_dsymutil='~$DSYMUTIL $lib || :'
6481 else
6482 _lt_dsymutil=
6485 esac
6487 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6488 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6489 if test "${ac_cv_header_stdc+set}" = set; then
6490 echo $ECHO_N "(cached) $ECHO_C" >&6
6491 else
6492 cat >conftest.$ac_ext <<_ACEOF
6493 /* confdefs.h. */
6494 _ACEOF
6495 cat confdefs.h >>conftest.$ac_ext
6496 cat >>conftest.$ac_ext <<_ACEOF
6497 /* end confdefs.h. */
6498 #include <stdlib.h>
6499 #include <stdarg.h>
6500 #include <string.h>
6501 #include <float.h>
6504 main ()
6508 return 0;
6510 _ACEOF
6511 rm -f conftest.$ac_objext
6512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6513 (eval $ac_compile) 2>conftest.er1
6514 ac_status=$?
6515 grep -v '^ *+' conftest.er1 >conftest.err
6516 rm -f conftest.er1
6517 cat conftest.err >&5
6518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519 (exit $ac_status); } &&
6520 { ac_try='test -z "$ac_c_werror_flag"
6521 || test ! -s conftest.err'
6522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6523 (eval $ac_try) 2>&5
6524 ac_status=$?
6525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526 (exit $ac_status); }; } &&
6527 { ac_try='test -s conftest.$ac_objext'
6528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6529 (eval $ac_try) 2>&5
6530 ac_status=$?
6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 (exit $ac_status); }; }; then
6533 ac_cv_header_stdc=yes
6534 else
6535 echo "$as_me: failed program was:" >&5
6536 sed 's/^/| /' conftest.$ac_ext >&5
6538 ac_cv_header_stdc=no
6540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6542 if test $ac_cv_header_stdc = yes; then
6543 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6544 cat >conftest.$ac_ext <<_ACEOF
6545 /* confdefs.h. */
6546 _ACEOF
6547 cat confdefs.h >>conftest.$ac_ext
6548 cat >>conftest.$ac_ext <<_ACEOF
6549 /* end confdefs.h. */
6550 #include <string.h>
6552 _ACEOF
6553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6554 $EGREP "memchr" >/dev/null 2>&1; then
6556 else
6557 ac_cv_header_stdc=no
6559 rm -f conftest*
6563 if test $ac_cv_header_stdc = yes; then
6564 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6565 cat >conftest.$ac_ext <<_ACEOF
6566 /* confdefs.h. */
6567 _ACEOF
6568 cat confdefs.h >>conftest.$ac_ext
6569 cat >>conftest.$ac_ext <<_ACEOF
6570 /* end confdefs.h. */
6571 #include <stdlib.h>
6573 _ACEOF
6574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6575 $EGREP "free" >/dev/null 2>&1; then
6577 else
6578 ac_cv_header_stdc=no
6580 rm -f conftest*
6584 if test $ac_cv_header_stdc = yes; then
6585 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6586 if test "$cross_compiling" = yes; then
6588 else
6589 cat >conftest.$ac_ext <<_ACEOF
6590 /* confdefs.h. */
6591 _ACEOF
6592 cat confdefs.h >>conftest.$ac_ext
6593 cat >>conftest.$ac_ext <<_ACEOF
6594 /* end confdefs.h. */
6595 #include <ctype.h>
6596 #if ((' ' & 0x0FF) == 0x020)
6597 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6598 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6599 #else
6600 # define ISLOWER(c) \
6601 (('a' <= (c) && (c) <= 'i') \
6602 || ('j' <= (c) && (c) <= 'r') \
6603 || ('s' <= (c) && (c) <= 'z'))
6604 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6605 #endif
6607 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6609 main ()
6611 int i;
6612 for (i = 0; i < 256; i++)
6613 if (XOR (islower (i), ISLOWER (i))
6614 || toupper (i) != TOUPPER (i))
6615 exit(2);
6616 exit (0);
6618 _ACEOF
6619 rm -f conftest$ac_exeext
6620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6621 (eval $ac_link) 2>&5
6622 ac_status=$?
6623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6626 (eval $ac_try) 2>&5
6627 ac_status=$?
6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629 (exit $ac_status); }; }; then
6631 else
6632 echo "$as_me: program exited with status $ac_status" >&5
6633 echo "$as_me: failed program was:" >&5
6634 sed 's/^/| /' conftest.$ac_ext >&5
6636 ( exit $ac_status )
6637 ac_cv_header_stdc=no
6639 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6643 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6644 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6645 if test $ac_cv_header_stdc = yes; then
6647 cat >>confdefs.h <<\_ACEOF
6648 #define STDC_HEADERS 1
6649 _ACEOF
6653 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6663 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6664 inttypes.h stdint.h unistd.h
6666 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6667 echo "$as_me:$LINENO: checking for $ac_header" >&5
6668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6670 echo $ECHO_N "(cached) $ECHO_C" >&6
6671 else
6672 cat >conftest.$ac_ext <<_ACEOF
6673 /* confdefs.h. */
6674 _ACEOF
6675 cat confdefs.h >>conftest.$ac_ext
6676 cat >>conftest.$ac_ext <<_ACEOF
6677 /* end confdefs.h. */
6678 $ac_includes_default
6680 #include <$ac_header>
6681 _ACEOF
6682 rm -f conftest.$ac_objext
6683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6684 (eval $ac_compile) 2>conftest.er1
6685 ac_status=$?
6686 grep -v '^ *+' conftest.er1 >conftest.err
6687 rm -f conftest.er1
6688 cat conftest.err >&5
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); } &&
6691 { ac_try='test -z "$ac_c_werror_flag"
6692 || test ! -s conftest.err'
6693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6694 (eval $ac_try) 2>&5
6695 ac_status=$?
6696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6697 (exit $ac_status); }; } &&
6698 { ac_try='test -s conftest.$ac_objext'
6699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6700 (eval $ac_try) 2>&5
6701 ac_status=$?
6702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6703 (exit $ac_status); }; }; then
6704 eval "$as_ac_Header=yes"
6705 else
6706 echo "$as_me: failed program was:" >&5
6707 sed 's/^/| /' conftest.$ac_ext >&5
6709 eval "$as_ac_Header=no"
6711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6716 cat >>confdefs.h <<_ACEOF
6717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6718 _ACEOF
6722 done
6726 for ac_header in dlfcn.h
6728 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6729 echo "$as_me:$LINENO: checking for $ac_header" >&5
6730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6732 echo $ECHO_N "(cached) $ECHO_C" >&6
6733 else
6734 cat >conftest.$ac_ext <<_ACEOF
6735 /* confdefs.h. */
6736 _ACEOF
6737 cat confdefs.h >>conftest.$ac_ext
6738 cat >>conftest.$ac_ext <<_ACEOF
6739 /* end confdefs.h. */
6740 $ac_includes_default
6742 #include <$ac_header>
6743 _ACEOF
6744 rm -f conftest.$ac_objext
6745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6746 (eval $ac_compile) 2>conftest.er1
6747 ac_status=$?
6748 grep -v '^ *+' conftest.er1 >conftest.err
6749 rm -f conftest.er1
6750 cat conftest.err >&5
6751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752 (exit $ac_status); } &&
6753 { ac_try='test -z "$ac_c_werror_flag"
6754 || test ! -s conftest.err'
6755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6756 (eval $ac_try) 2>&5
6757 ac_status=$?
6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); }; } &&
6760 { ac_try='test -s conftest.$ac_objext'
6761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6762 (eval $ac_try) 2>&5
6763 ac_status=$?
6764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 (exit $ac_status); }; }; then
6766 eval "$as_ac_Header=yes"
6767 else
6768 echo "$as_me: failed program was:" >&5
6769 sed 's/^/| /' conftest.$ac_ext >&5
6771 eval "$as_ac_Header=no"
6773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6778 cat >>confdefs.h <<_ACEOF
6779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6780 _ACEOF
6784 done
6788 ac_ext=cc
6789 ac_cpp='$CXXCPP $CPPFLAGS'
6790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6793 if test -n "$ac_tool_prefix"; then
6794 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6796 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6797 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6798 echo "$as_me:$LINENO: checking for $ac_word" >&5
6799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6800 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6801 echo $ECHO_N "(cached) $ECHO_C" >&6
6802 else
6803 if test -n "$CXX"; then
6804 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6805 else
6806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6807 for as_dir in $PATH
6809 IFS=$as_save_IFS
6810 test -z "$as_dir" && as_dir=.
6811 for ac_exec_ext in '' $ac_executable_extensions; do
6812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6813 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6815 break 2
6817 done
6818 done
6822 CXX=$glibcxx_cv_prog_CXX
6823 if test -n "$CXX"; then
6824 echo "$as_me:$LINENO: result: $CXX" >&5
6825 echo "${ECHO_T}$CXX" >&6
6826 else
6827 echo "$as_me:$LINENO: result: no" >&5
6828 echo "${ECHO_T}no" >&6
6831 test -n "$CXX" && break
6832 done
6834 if test -z "$CXX"; then
6835 ac_ct_CXX=$CXX
6836 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6838 # Extract the first word of "$ac_prog", so it can be a program name with args.
6839 set dummy $ac_prog; ac_word=$2
6840 echo "$as_me:$LINENO: checking for $ac_word" >&5
6841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6842 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6843 echo $ECHO_N "(cached) $ECHO_C" >&6
6844 else
6845 if test -n "$ac_ct_CXX"; then
6846 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6847 else
6848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6849 for as_dir in $PATH
6851 IFS=$as_save_IFS
6852 test -z "$as_dir" && as_dir=.
6853 for ac_exec_ext in '' $ac_executable_extensions; do
6854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6855 ac_cv_prog_ac_ct_CXX="$ac_prog"
6856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6857 break 2
6859 done
6860 done
6864 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6865 if test -n "$ac_ct_CXX"; then
6866 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6867 echo "${ECHO_T}$ac_ct_CXX" >&6
6868 else
6869 echo "$as_me:$LINENO: result: no" >&5
6870 echo "${ECHO_T}no" >&6
6873 test -n "$ac_ct_CXX" && break
6874 done
6875 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6877 CXX=$ac_ct_CXX
6881 # Provide some information about the compiler.
6882 echo "$as_me:$LINENO:" \
6883 "checking for C++ compiler version" >&5
6884 ac_compiler=`set X $ac_compile; echo $2`
6885 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6886 (eval $ac_compiler --version </dev/null >&5) 2>&5
6887 ac_status=$?
6888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6889 (exit $ac_status); }
6890 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6891 (eval $ac_compiler -v </dev/null >&5) 2>&5
6892 ac_status=$?
6893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); }
6895 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6896 (eval $ac_compiler -V </dev/null >&5) 2>&5
6897 ac_status=$?
6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899 (exit $ac_status); }
6901 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6902 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6903 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6904 echo $ECHO_N "(cached) $ECHO_C" >&6
6905 else
6906 cat >conftest.$ac_ext <<_ACEOF
6907 /* confdefs.h. */
6908 _ACEOF
6909 cat confdefs.h >>conftest.$ac_ext
6910 cat >>conftest.$ac_ext <<_ACEOF
6911 /* end confdefs.h. */
6914 main ()
6916 #ifndef __GNUC__
6917 choke me
6918 #endif
6921 return 0;
6923 _ACEOF
6924 rm -f conftest.$ac_objext
6925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6926 (eval $ac_compile) 2>conftest.er1
6927 ac_status=$?
6928 grep -v '^ *+' conftest.er1 >conftest.err
6929 rm -f conftest.er1
6930 cat conftest.err >&5
6931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6932 (exit $ac_status); } &&
6933 { ac_try='test -z "$ac_cxx_werror_flag"
6934 || test ! -s conftest.err'
6935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6936 (eval $ac_try) 2>&5
6937 ac_status=$?
6938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6939 (exit $ac_status); }; } &&
6940 { ac_try='test -s conftest.$ac_objext'
6941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6942 (eval $ac_try) 2>&5
6943 ac_status=$?
6944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6945 (exit $ac_status); }; }; then
6946 ac_compiler_gnu=yes
6947 else
6948 echo "$as_me: failed program was:" >&5
6949 sed 's/^/| /' conftest.$ac_ext >&5
6951 ac_compiler_gnu=no
6953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6954 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6957 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6958 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6959 GXX=`test $ac_compiler_gnu = yes && echo yes`
6960 ac_test_CXXFLAGS=${CXXFLAGS+set}
6961 ac_save_CXXFLAGS=$CXXFLAGS
6962 CXXFLAGS="-g"
6963 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6964 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6965 if test "${ac_cv_prog_cxx_g+set}" = set; then
6966 echo $ECHO_N "(cached) $ECHO_C" >&6
6967 else
6968 cat >conftest.$ac_ext <<_ACEOF
6969 /* confdefs.h. */
6970 _ACEOF
6971 cat confdefs.h >>conftest.$ac_ext
6972 cat >>conftest.$ac_ext <<_ACEOF
6973 /* end confdefs.h. */
6976 main ()
6980 return 0;
6982 _ACEOF
6983 rm -f conftest.$ac_objext
6984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6985 (eval $ac_compile) 2>conftest.er1
6986 ac_status=$?
6987 grep -v '^ *+' conftest.er1 >conftest.err
6988 rm -f conftest.er1
6989 cat conftest.err >&5
6990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991 (exit $ac_status); } &&
6992 { ac_try='test -z "$ac_cxx_werror_flag"
6993 || test ! -s conftest.err'
6994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6995 (eval $ac_try) 2>&5
6996 ac_status=$?
6997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998 (exit $ac_status); }; } &&
6999 { ac_try='test -s conftest.$ac_objext'
7000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7001 (eval $ac_try) 2>&5
7002 ac_status=$?
7003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7004 (exit $ac_status); }; }; then
7005 ac_cv_prog_cxx_g=yes
7006 else
7007 echo "$as_me: failed program was:" >&5
7008 sed 's/^/| /' conftest.$ac_ext >&5
7010 ac_cv_prog_cxx_g=no
7012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7014 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7015 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7016 if test "$ac_test_CXXFLAGS" = set; then
7017 CXXFLAGS=$ac_save_CXXFLAGS
7018 elif test $ac_cv_prog_cxx_g = yes; then
7019 if test "$GXX" = yes; then
7020 CXXFLAGS="-g -O2"
7021 else
7022 CXXFLAGS="-g"
7024 else
7025 if test "$GXX" = yes; then
7026 CXXFLAGS="-O2"
7027 else
7028 CXXFLAGS=
7031 for ac_declaration in \
7032 '' \
7033 'extern "C" void std::exit (int) throw (); using std::exit;' \
7034 'extern "C" void std::exit (int); using std::exit;' \
7035 'extern "C" void exit (int) throw ();' \
7036 'extern "C" void exit (int);' \
7037 'void exit (int);'
7039 cat >conftest.$ac_ext <<_ACEOF
7040 /* confdefs.h. */
7041 _ACEOF
7042 cat confdefs.h >>conftest.$ac_ext
7043 cat >>conftest.$ac_ext <<_ACEOF
7044 /* end confdefs.h. */
7045 $ac_declaration
7046 #include <stdlib.h>
7048 main ()
7050 exit (42);
7052 return 0;
7054 _ACEOF
7055 rm -f conftest.$ac_objext
7056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7057 (eval $ac_compile) 2>conftest.er1
7058 ac_status=$?
7059 grep -v '^ *+' conftest.er1 >conftest.err
7060 rm -f conftest.er1
7061 cat conftest.err >&5
7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063 (exit $ac_status); } &&
7064 { ac_try='test -z "$ac_cxx_werror_flag"
7065 || test ! -s conftest.err'
7066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7067 (eval $ac_try) 2>&5
7068 ac_status=$?
7069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7070 (exit $ac_status); }; } &&
7071 { ac_try='test -s conftest.$ac_objext'
7072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7073 (eval $ac_try) 2>&5
7074 ac_status=$?
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076 (exit $ac_status); }; }; then
7078 else
7079 echo "$as_me: failed program was:" >&5
7080 sed 's/^/| /' conftest.$ac_ext >&5
7082 continue
7084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7085 cat >conftest.$ac_ext <<_ACEOF
7086 /* confdefs.h. */
7087 _ACEOF
7088 cat confdefs.h >>conftest.$ac_ext
7089 cat >>conftest.$ac_ext <<_ACEOF
7090 /* end confdefs.h. */
7091 $ac_declaration
7093 main ()
7095 exit (42);
7097 return 0;
7099 _ACEOF
7100 rm -f conftest.$ac_objext
7101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7102 (eval $ac_compile) 2>conftest.er1
7103 ac_status=$?
7104 grep -v '^ *+' conftest.er1 >conftest.err
7105 rm -f conftest.er1
7106 cat conftest.err >&5
7107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7108 (exit $ac_status); } &&
7109 { ac_try='test -z "$ac_cxx_werror_flag"
7110 || test ! -s conftest.err'
7111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7112 (eval $ac_try) 2>&5
7113 ac_status=$?
7114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7115 (exit $ac_status); }; } &&
7116 { ac_try='test -s conftest.$ac_objext'
7117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7118 (eval $ac_try) 2>&5
7119 ac_status=$?
7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121 (exit $ac_status); }; }; then
7122 break
7123 else
7124 echo "$as_me: failed program was:" >&5
7125 sed 's/^/| /' conftest.$ac_ext >&5
7128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7129 done
7130 rm -f conftest*
7131 if test -n "$ac_declaration"; then
7132 echo '#ifdef __cplusplus' >>confdefs.h
7133 echo $ac_declaration >>confdefs.h
7134 echo '#endif' >>confdefs.h
7137 ac_ext=c
7138 ac_cpp='$CPP $CPPFLAGS'
7139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7143 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7144 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7145 (test "X$CXX" != "Xg++"))) ; then
7146 ac_ext=cc
7147 ac_cpp='$CXXCPP $CPPFLAGS'
7148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7151 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7152 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7153 if test -z "$CXXCPP"; then
7154 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7155 echo $ECHO_N "(cached) $ECHO_C" >&6
7156 else
7157 # Double quotes because CXXCPP needs to be expanded
7158 for CXXCPP in "$CXX -E" "/lib/cpp"
7160 ac_preproc_ok=false
7161 for ac_cxx_preproc_warn_flag in '' yes
7163 # Use a header file that comes with gcc, so configuring glibc
7164 # with a fresh cross-compiler works.
7165 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7166 # <limits.h> exists even on freestanding compilers.
7167 # On the NeXT, cc -E runs the code through the compiler's parser,
7168 # not just through cpp. "Syntax error" is here to catch this case.
7169 cat >conftest.$ac_ext <<_ACEOF
7170 /* confdefs.h. */
7171 _ACEOF
7172 cat confdefs.h >>conftest.$ac_ext
7173 cat >>conftest.$ac_ext <<_ACEOF
7174 /* end confdefs.h. */
7175 #ifdef __STDC__
7176 # include <limits.h>
7177 #else
7178 # include <assert.h>
7179 #endif
7180 Syntax error
7181 _ACEOF
7182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7183 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7184 ac_status=$?
7185 grep -v '^ *+' conftest.er1 >conftest.err
7186 rm -f conftest.er1
7187 cat conftest.err >&5
7188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189 (exit $ac_status); } >/dev/null; then
7190 if test -s conftest.err; then
7191 ac_cpp_err=$ac_cxx_preproc_warn_flag
7192 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7193 else
7194 ac_cpp_err=
7196 else
7197 ac_cpp_err=yes
7199 if test -z "$ac_cpp_err"; then
7201 else
7202 echo "$as_me: failed program was:" >&5
7203 sed 's/^/| /' conftest.$ac_ext >&5
7205 # Broken: fails on valid input.
7206 continue
7208 rm -f conftest.err conftest.$ac_ext
7210 # OK, works on sane cases. Now check whether non-existent headers
7211 # can be detected and how.
7212 cat >conftest.$ac_ext <<_ACEOF
7213 /* confdefs.h. */
7214 _ACEOF
7215 cat confdefs.h >>conftest.$ac_ext
7216 cat >>conftest.$ac_ext <<_ACEOF
7217 /* end confdefs.h. */
7218 #include <ac_nonexistent.h>
7219 _ACEOF
7220 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7221 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7222 ac_status=$?
7223 grep -v '^ *+' conftest.er1 >conftest.err
7224 rm -f conftest.er1
7225 cat conftest.err >&5
7226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7227 (exit $ac_status); } >/dev/null; then
7228 if test -s conftest.err; then
7229 ac_cpp_err=$ac_cxx_preproc_warn_flag
7230 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7231 else
7232 ac_cpp_err=
7234 else
7235 ac_cpp_err=yes
7237 if test -z "$ac_cpp_err"; then
7238 # Broken: success on invalid input.
7239 continue
7240 else
7241 echo "$as_me: failed program was:" >&5
7242 sed 's/^/| /' conftest.$ac_ext >&5
7244 # Passes both tests.
7245 ac_preproc_ok=:
7246 break
7248 rm -f conftest.err conftest.$ac_ext
7250 done
7251 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7252 rm -f conftest.err conftest.$ac_ext
7253 if $ac_preproc_ok; then
7254 break
7257 done
7258 ac_cv_prog_CXXCPP=$CXXCPP
7261 CXXCPP=$ac_cv_prog_CXXCPP
7262 else
7263 ac_cv_prog_CXXCPP=$CXXCPP
7265 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7266 echo "${ECHO_T}$CXXCPP" >&6
7267 ac_preproc_ok=false
7268 for ac_cxx_preproc_warn_flag in '' yes
7270 # Use a header file that comes with gcc, so configuring glibc
7271 # with a fresh cross-compiler works.
7272 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7273 # <limits.h> exists even on freestanding compilers.
7274 # On the NeXT, cc -E runs the code through the compiler's parser,
7275 # not just through cpp. "Syntax error" is here to catch this case.
7276 cat >conftest.$ac_ext <<_ACEOF
7277 /* confdefs.h. */
7278 _ACEOF
7279 cat confdefs.h >>conftest.$ac_ext
7280 cat >>conftest.$ac_ext <<_ACEOF
7281 /* end confdefs.h. */
7282 #ifdef __STDC__
7283 # include <limits.h>
7284 #else
7285 # include <assert.h>
7286 #endif
7287 Syntax error
7288 _ACEOF
7289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7290 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7291 ac_status=$?
7292 grep -v '^ *+' conftest.er1 >conftest.err
7293 rm -f conftest.er1
7294 cat conftest.err >&5
7295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7296 (exit $ac_status); } >/dev/null; then
7297 if test -s conftest.err; then
7298 ac_cpp_err=$ac_cxx_preproc_warn_flag
7299 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7300 else
7301 ac_cpp_err=
7303 else
7304 ac_cpp_err=yes
7306 if test -z "$ac_cpp_err"; then
7308 else
7309 echo "$as_me: failed program was:" >&5
7310 sed 's/^/| /' conftest.$ac_ext >&5
7312 # Broken: fails on valid input.
7313 continue
7315 rm -f conftest.err conftest.$ac_ext
7317 # OK, works on sane cases. Now check whether non-existent headers
7318 # can be detected and how.
7319 cat >conftest.$ac_ext <<_ACEOF
7320 /* confdefs.h. */
7321 _ACEOF
7322 cat confdefs.h >>conftest.$ac_ext
7323 cat >>conftest.$ac_ext <<_ACEOF
7324 /* end confdefs.h. */
7325 #include <ac_nonexistent.h>
7326 _ACEOF
7327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7328 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7329 ac_status=$?
7330 grep -v '^ *+' conftest.er1 >conftest.err
7331 rm -f conftest.er1
7332 cat conftest.err >&5
7333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7334 (exit $ac_status); } >/dev/null; then
7335 if test -s conftest.err; then
7336 ac_cpp_err=$ac_cxx_preproc_warn_flag
7337 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7338 else
7339 ac_cpp_err=
7341 else
7342 ac_cpp_err=yes
7344 if test -z "$ac_cpp_err"; then
7345 # Broken: success on invalid input.
7346 continue
7347 else
7348 echo "$as_me: failed program was:" >&5
7349 sed 's/^/| /' conftest.$ac_ext >&5
7351 # Passes both tests.
7352 ac_preproc_ok=:
7353 break
7355 rm -f conftest.err conftest.$ac_ext
7357 done
7358 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7359 rm -f conftest.err conftest.$ac_ext
7360 if $ac_preproc_ok; then
7362 else
7363 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7364 echo "$as_me: error: in \`$ac_pwd':" >&2;}
7365 _lt_caught_CXX_error=yes; }
7368 ac_ext=c
7369 ac_cpp='$CPP $CPPFLAGS'
7370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7374 else
7375 _lt_caught_CXX_error=yes
7382 # Set options
7387 enable_win32_dll=no
7390 # Check whether --enable-shared or --disable-shared was given.
7391 if test "${enable_shared+set}" = set; then
7392 enableval="$enable_shared"
7393 p=${PACKAGE-default}
7394 case $enableval in
7395 yes) enable_shared=yes ;;
7396 no) enable_shared=no ;;
7398 enable_shared=no
7399 # Look at the argument we got. We use all the common list separators.
7400 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7401 for pkg in $enableval; do
7402 IFS="$lt_save_ifs"
7403 if test "X$pkg" = "X$p"; then
7404 enable_shared=yes
7406 done
7407 IFS="$lt_save_ifs"
7409 esac
7410 else
7411 enable_shared=yes
7421 # Check whether --enable-static or --disable-static was given.
7422 if test "${enable_static+set}" = set; then
7423 enableval="$enable_static"
7424 p=${PACKAGE-default}
7425 case $enableval in
7426 yes) enable_static=yes ;;
7427 no) enable_static=no ;;
7429 enable_static=no
7430 # Look at the argument we got. We use all the common list separators.
7431 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7432 for pkg in $enableval; do
7433 IFS="$lt_save_ifs"
7434 if test "X$pkg" = "X$p"; then
7435 enable_static=yes
7437 done
7438 IFS="$lt_save_ifs"
7440 esac
7441 else
7442 enable_static=yes
7453 # Check whether --with-pic or --without-pic was given.
7454 if test "${with_pic+set}" = set; then
7455 withval="$with_pic"
7456 pic_mode="$withval"
7457 else
7458 pic_mode=default
7461 test -z "$pic_mode" && pic_mode=default
7469 # Check whether --enable-fast-install or --disable-fast-install was given.
7470 if test "${enable_fast_install+set}" = set; then
7471 enableval="$enable_fast_install"
7472 p=${PACKAGE-default}
7473 case $enableval in
7474 yes) enable_fast_install=yes ;;
7475 no) enable_fast_install=no ;;
7477 enable_fast_install=no
7478 # Look at the argument we got. We use all the common list separators.
7479 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7480 for pkg in $enableval; do
7481 IFS="$lt_save_ifs"
7482 if test "X$pkg" = "X$p"; then
7483 enable_fast_install=yes
7485 done
7486 IFS="$lt_save_ifs"
7488 esac
7489 else
7490 enable_fast_install=yes
7502 # This can be used to rebuild libtool when needed
7503 LIBTOOL_DEPS="$ltmain"
7505 # Always use our own libtool.
7506 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7532 test -z "$LN_S" && LN_S="ln -s"
7547 if test -n "${ZSH_VERSION+set}" ; then
7548 setopt NO_GLOB_SUBST
7551 echo "$as_me:$LINENO: checking for objdir" >&5
7552 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7553 if test "${lt_cv_objdir+set}" = set; then
7554 echo $ECHO_N "(cached) $ECHO_C" >&6
7555 else
7556 rm -f .libs 2>/dev/null
7557 mkdir .libs 2>/dev/null
7558 if test -d .libs; then
7559 lt_cv_objdir=.libs
7560 else
7561 # MS-DOS does not allow filenames that begin with a dot.
7562 lt_cv_objdir=_libs
7564 rmdir .libs 2>/dev/null
7566 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7567 echo "${ECHO_T}$lt_cv_objdir" >&6
7568 objdir=$lt_cv_objdir
7574 cat >>confdefs.h <<_ACEOF
7575 #define LT_OBJDIR "$lt_cv_objdir/"
7576 _ACEOF
7594 case $host_os in
7595 aix3*)
7596 # AIX sometimes has problems with the GCC collect2 program. For some
7597 # reason, if we set the COLLECT_NAMES environment variable, the problems
7598 # vanish in a puff of smoke.
7599 if test "X${COLLECT_NAMES+set}" != Xset; then
7600 COLLECT_NAMES=
7601 export COLLECT_NAMES
7604 esac
7606 # Sed substitution that helps us do robust quoting. It backslashifies
7607 # metacharacters that are still active within double-quoted strings.
7608 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7610 # Same as above, but do not quote variable references.
7611 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7613 # Sed substitution to delay expansion of an escaped shell variable in a
7614 # double_quote_subst'ed string.
7615 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7617 # Sed substitution to delay expansion of an escaped single quote.
7618 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7620 # Sed substitution to avoid accidental globbing in evaled expressions
7621 no_glob_subst='s/\*/\\\*/g'
7623 # Global variables:
7624 ofile=libtool
7625 can_build_shared=yes
7627 # All known linkers require a `.a' archive for static linking (except MSVC,
7628 # which needs '.lib').
7629 libext=a
7631 with_gnu_ld="$lt_cv_prog_gnu_ld"
7633 old_CC="$CC"
7634 old_CFLAGS="$CFLAGS"
7636 # Set sane defaults for various variables
7637 test -z "$CC" && CC=cc
7638 test -z "$LTCC" && LTCC=$CC
7639 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7640 test -z "$LD" && LD=ld
7641 test -z "$ac_objext" && ac_objext=o
7643 for cc_temp in $compiler""; do
7644 case $cc_temp in
7645 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7646 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7647 \-*) ;;
7648 *) break;;
7649 esac
7650 done
7651 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7654 # Only perform the check for file, if the check method requires it
7655 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7656 case $deplibs_check_method in
7657 file_magic*)
7658 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7659 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7660 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7661 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7662 echo $ECHO_N "(cached) $ECHO_C" >&6
7663 else
7664 case $MAGIC_CMD in
7665 [\\/*] | ?:[\\/]*)
7666 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7669 lt_save_MAGIC_CMD="$MAGIC_CMD"
7670 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7671 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7672 for ac_dir in $ac_dummy; do
7673 IFS="$lt_save_ifs"
7674 test -z "$ac_dir" && ac_dir=.
7675 if test -f $ac_dir/${ac_tool_prefix}file; then
7676 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7677 if test -n "$file_magic_test_file"; then
7678 case $deplibs_check_method in
7679 "file_magic "*)
7680 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7681 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7682 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7683 $EGREP "$file_magic_regex" > /dev/null; then
7685 else
7686 cat <<_LT_EOF 1>&2
7688 *** Warning: the command libtool uses to detect shared libraries,
7689 *** $file_magic_cmd, produces output that libtool cannot recognize.
7690 *** The result is that libtool may fail to recognize shared libraries
7691 *** as such. This will affect the creation of libtool libraries that
7692 *** depend on shared libraries, but programs linked with such libtool
7693 *** libraries will work regardless of this problem. Nevertheless, you
7694 *** may want to report the problem to your system manager and/or to
7695 *** bug-libtool@gnu.org
7697 _LT_EOF
7698 fi ;;
7699 esac
7701 break
7703 done
7704 IFS="$lt_save_ifs"
7705 MAGIC_CMD="$lt_save_MAGIC_CMD"
7707 esac
7710 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7711 if test -n "$MAGIC_CMD"; then
7712 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7713 echo "${ECHO_T}$MAGIC_CMD" >&6
7714 else
7715 echo "$as_me:$LINENO: result: no" >&5
7716 echo "${ECHO_T}no" >&6
7723 if test -z "$lt_cv_path_MAGIC_CMD"; then
7724 if test -n "$ac_tool_prefix"; then
7725 echo "$as_me:$LINENO: checking for file" >&5
7726 echo $ECHO_N "checking for file... $ECHO_C" >&6
7727 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7728 echo $ECHO_N "(cached) $ECHO_C" >&6
7729 else
7730 case $MAGIC_CMD in
7731 [\\/*] | ?:[\\/]*)
7732 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7735 lt_save_MAGIC_CMD="$MAGIC_CMD"
7736 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7737 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7738 for ac_dir in $ac_dummy; do
7739 IFS="$lt_save_ifs"
7740 test -z "$ac_dir" && ac_dir=.
7741 if test -f $ac_dir/file; then
7742 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7743 if test -n "$file_magic_test_file"; then
7744 case $deplibs_check_method in
7745 "file_magic "*)
7746 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7747 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7748 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7749 $EGREP "$file_magic_regex" > /dev/null; then
7751 else
7752 cat <<_LT_EOF 1>&2
7754 *** Warning: the command libtool uses to detect shared libraries,
7755 *** $file_magic_cmd, produces output that libtool cannot recognize.
7756 *** The result is that libtool may fail to recognize shared libraries
7757 *** as such. This will affect the creation of libtool libraries that
7758 *** depend on shared libraries, but programs linked with such libtool
7759 *** libraries will work regardless of this problem. Nevertheless, you
7760 *** may want to report the problem to your system manager and/or to
7761 *** bug-libtool@gnu.org
7763 _LT_EOF
7764 fi ;;
7765 esac
7767 break
7769 done
7770 IFS="$lt_save_ifs"
7771 MAGIC_CMD="$lt_save_MAGIC_CMD"
7773 esac
7776 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7777 if test -n "$MAGIC_CMD"; then
7778 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7779 echo "${ECHO_T}$MAGIC_CMD" >&6
7780 else
7781 echo "$as_me:$LINENO: result: no" >&5
7782 echo "${ECHO_T}no" >&6
7786 else
7787 MAGIC_CMD=:
7793 esac
7795 # Use C for the default configuration in the libtool script
7797 lt_save_CC="$CC"
7798 ac_ext=c
7799 ac_cpp='$CPP $CPPFLAGS'
7800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7805 # Source file extension for C test sources.
7806 ac_ext=c
7808 # Object file extension for compiled C test sources.
7809 objext=o
7810 objext=$objext
7812 # Code to be used in simple compile tests
7813 lt_simple_compile_test_code="int some_variable = 0;"
7815 # Code to be used in simple link tests
7816 lt_simple_link_test_code='int main(){return(0);}'
7824 # If no C compiler was specified, use CC.
7825 LTCC=${LTCC-"$CC"}
7827 # If no C compiler flags were specified, use CFLAGS.
7828 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7830 # Allow CC to be a program name with arguments.
7831 compiler=$CC
7833 # Save the default compiler, since it gets overwritten when the other
7834 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7835 compiler_DEFAULT=$CC
7837 # save warnings/boilerplate of simple test code
7838 ac_outfile=conftest.$ac_objext
7839 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7840 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7841 _lt_compiler_boilerplate=`cat conftest.err`
7842 $RM conftest*
7844 ac_outfile=conftest.$ac_objext
7845 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7846 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7847 _lt_linker_boilerplate=`cat conftest.err`
7848 $RM -r conftest*
7851 ## CAVEAT EMPTOR:
7852 ## There is no encapsulation within the following macros, do not change
7853 ## the running order or otherwise move them around unless you know exactly
7854 ## what you are doing...
7855 if test -n "$compiler"; then
7857 lt_prog_compiler_no_builtin_flag=
7859 if test "$GCC" = yes; then
7860 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7862 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7863 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7864 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7865 echo $ECHO_N "(cached) $ECHO_C" >&6
7866 else
7867 lt_cv_prog_compiler_rtti_exceptions=no
7868 ac_outfile=conftest.$ac_objext
7869 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7870 lt_compiler_flag="-fno-rtti -fno-exceptions"
7871 # Insert the option either (1) after the last *FLAGS variable, or
7872 # (2) before a word containing "conftest.", or (3) at the end.
7873 # Note that $ac_compile itself does not contain backslashes and begins
7874 # with a dollar sign (not a hyphen), so the echo should work correctly.
7875 # The option is referenced via a variable to avoid confusing sed.
7876 lt_compile=`echo "$ac_compile" | $SED \
7877 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7878 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7879 -e 's:$: $lt_compiler_flag:'`
7880 (eval echo "\"\$as_me:7880: $lt_compile\"" >&5)
7881 (eval "$lt_compile" 2>conftest.err)
7882 ac_status=$?
7883 cat conftest.err >&5
7884 echo "$as_me:7884: \$? = $ac_status" >&5
7885 if (exit $ac_status) && test -s "$ac_outfile"; then
7886 # The compiler can only warn and ignore the option if not recognized
7887 # So say no if there are warnings other than the usual output.
7888 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7889 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7890 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7891 lt_cv_prog_compiler_rtti_exceptions=yes
7894 $RM conftest*
7897 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7898 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7900 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7901 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7902 else
7913 lt_prog_compiler_wl=
7914 lt_prog_compiler_pic=
7915 lt_prog_compiler_static=
7917 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7918 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7920 if test "$GCC" = yes; then
7921 lt_prog_compiler_wl='-Wl,'
7922 lt_prog_compiler_static='-static'
7924 case $host_os in
7925 aix*)
7926 # All AIX code is PIC.
7927 if test "$host_cpu" = ia64; then
7928 # AIX 5 now supports IA64 processor
7929 lt_prog_compiler_static='-Bstatic'
7933 amigaos*)
7934 case $host_cpu in
7935 powerpc)
7936 # see comment about AmigaOS4 .so support
7937 lt_prog_compiler_pic='-fPIC'
7939 m68k)
7940 # FIXME: we need at least 68020 code to build shared libraries, but
7941 # adding the `-m68020' flag to GCC prevents building anything better,
7942 # like `-m68040'.
7943 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7945 esac
7948 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7949 # PIC is the default for these OSes.
7952 mingw* | cygwin* | pw32* | os2* | cegcc*)
7953 # This hack is so that the source file can tell whether it is being
7954 # built for inclusion in a dll (and should export symbols for example).
7955 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7956 # (--disable-auto-import) libraries
7957 lt_prog_compiler_pic='-DDLL_EXPORT'
7960 darwin* | rhapsody*)
7961 # PIC is the default on this platform
7962 # Common symbols not allowed in MH_DYLIB files
7963 lt_prog_compiler_pic='-fno-common'
7966 hpux*)
7967 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7968 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7969 # sets the default TLS model and affects inlining.
7970 case $host_cpu in
7971 hppa*64*)
7972 # +Z the default
7975 lt_prog_compiler_pic='-fPIC'
7977 esac
7980 interix[3-9]*)
7981 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7982 # Instead, we relocate shared libraries at runtime.
7985 msdosdjgpp*)
7986 # Just because we use GCC doesn't mean we suddenly get shared libraries
7987 # on systems that don't support them.
7988 lt_prog_compiler_can_build_shared=no
7989 enable_shared=no
7992 *nto* | *qnx*)
7993 # QNX uses GNU C++, but need to define -shared option too, otherwise
7994 # it will coredump.
7995 lt_prog_compiler_pic='-fPIC -shared'
7998 sysv4*MP*)
7999 if test -d /usr/nec; then
8000 lt_prog_compiler_pic=-Kconform_pic
8005 lt_prog_compiler_pic='-fPIC'
8007 esac
8008 else
8009 # PORTME Check for flag to pass linker flags through the system compiler.
8010 case $host_os in
8011 aix*)
8012 lt_prog_compiler_wl='-Wl,'
8013 if test "$host_cpu" = ia64; then
8014 # AIX 5 now supports IA64 processor
8015 lt_prog_compiler_static='-Bstatic'
8016 else
8017 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8021 mingw* | cygwin* | pw32* | os2* | cegcc*)
8022 # This hack is so that the source file can tell whether it is being
8023 # built for inclusion in a dll (and should export symbols for example).
8024 lt_prog_compiler_pic='-DDLL_EXPORT'
8027 hpux9* | hpux10* | hpux11*)
8028 lt_prog_compiler_wl='-Wl,'
8029 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8030 # not for PA HP-UX.
8031 case $host_cpu in
8032 hppa*64*|ia64*)
8033 # +Z the default
8036 lt_prog_compiler_pic='+Z'
8038 esac
8039 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8040 lt_prog_compiler_static='${wl}-a ${wl}archive'
8043 irix5* | irix6* | nonstopux*)
8044 lt_prog_compiler_wl='-Wl,'
8045 # PIC (with -KPIC) is the default.
8046 lt_prog_compiler_static='-non_shared'
8049 linux* | k*bsd*-gnu)
8050 case $cc_basename in
8051 # old Intel for x86_64 which still supported -KPIC.
8052 ecc*)
8053 lt_prog_compiler_wl='-Wl,'
8054 lt_prog_compiler_pic='-KPIC'
8055 lt_prog_compiler_static='-static'
8057 # icc used to be incompatible with GCC.
8058 # ICC 10 doesn't accept -KPIC any more.
8059 icc* | ifort*)
8060 lt_prog_compiler_wl='-Wl,'
8061 lt_prog_compiler_pic='-fPIC'
8062 lt_prog_compiler_static='-static'
8064 # Lahey Fortran 8.1.
8065 lf95*)
8066 lt_prog_compiler_wl='-Wl,'
8067 lt_prog_compiler_pic='--shared'
8068 lt_prog_compiler_static='--static'
8070 pgcc* | pgf77* | pgf90* | pgf95*)
8071 # Portland Group compilers (*not* the Pentium gcc compiler,
8072 # which looks to be a dead project)
8073 lt_prog_compiler_wl='-Wl,'
8074 lt_prog_compiler_pic='-fpic'
8075 lt_prog_compiler_static='-Bstatic'
8077 ccc*)
8078 lt_prog_compiler_wl='-Wl,'
8079 # All Alpha code is PIC.
8080 lt_prog_compiler_static='-non_shared'
8082 xl*)
8083 # IBM XL C 8.0/Fortran 10.1 on PPC
8084 lt_prog_compiler_wl='-Wl,'
8085 lt_prog_compiler_pic='-qpic'
8086 lt_prog_compiler_static='-qstaticlink'
8089 case `$CC -V 2>&1 | sed 5q` in
8090 *Sun\ C*)
8091 # Sun C 5.9
8092 lt_prog_compiler_pic='-KPIC'
8093 lt_prog_compiler_static='-Bstatic'
8094 lt_prog_compiler_wl='-Wl,'
8096 *Sun\ F*)
8097 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8098 lt_prog_compiler_pic='-KPIC'
8099 lt_prog_compiler_static='-Bstatic'
8100 lt_prog_compiler_wl=''
8102 esac
8104 esac
8107 newsos6)
8108 lt_prog_compiler_pic='-KPIC'
8109 lt_prog_compiler_static='-Bstatic'
8112 *nto* | *qnx*)
8113 # QNX uses GNU C++, but need to define -shared option too, otherwise
8114 # it will coredump.
8115 lt_prog_compiler_pic='-fPIC -shared'
8118 osf3* | osf4* | osf5*)
8119 lt_prog_compiler_wl='-Wl,'
8120 # All OSF/1 code is PIC.
8121 lt_prog_compiler_static='-non_shared'
8124 rdos*)
8125 lt_prog_compiler_static='-non_shared'
8128 solaris*)
8129 lt_prog_compiler_pic='-KPIC'
8130 lt_prog_compiler_static='-Bstatic'
8131 case $cc_basename in
8132 f77* | f90* | f95*)
8133 lt_prog_compiler_wl='-Qoption ld ';;
8135 lt_prog_compiler_wl='-Wl,';;
8136 esac
8139 sunos4*)
8140 lt_prog_compiler_wl='-Qoption ld '
8141 lt_prog_compiler_pic='-PIC'
8142 lt_prog_compiler_static='-Bstatic'
8145 sysv4 | sysv4.2uw2* | sysv4.3*)
8146 lt_prog_compiler_wl='-Wl,'
8147 lt_prog_compiler_pic='-KPIC'
8148 lt_prog_compiler_static='-Bstatic'
8151 sysv4*MP*)
8152 if test -d /usr/nec ;then
8153 lt_prog_compiler_pic='-Kconform_pic'
8154 lt_prog_compiler_static='-Bstatic'
8158 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8159 lt_prog_compiler_wl='-Wl,'
8160 lt_prog_compiler_pic='-KPIC'
8161 lt_prog_compiler_static='-Bstatic'
8164 unicos*)
8165 lt_prog_compiler_wl='-Wl,'
8166 lt_prog_compiler_can_build_shared=no
8169 uts4*)
8170 lt_prog_compiler_pic='-pic'
8171 lt_prog_compiler_static='-Bstatic'
8175 lt_prog_compiler_can_build_shared=no
8177 esac
8180 case $host_os in
8181 # For platforms which do not support PIC, -DPIC is meaningless:
8182 *djgpp*)
8183 lt_prog_compiler_pic=
8186 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8188 esac
8189 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8190 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8198 # Check to make sure the PIC flag actually works.
8200 if test -n "$lt_prog_compiler_pic"; then
8201 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8202 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8203 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8204 echo $ECHO_N "(cached) $ECHO_C" >&6
8205 else
8206 lt_cv_prog_compiler_pic_works=no
8207 ac_outfile=conftest.$ac_objext
8208 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8209 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8210 # Insert the option either (1) after the last *FLAGS variable, or
8211 # (2) before a word containing "conftest.", or (3) at the end.
8212 # Note that $ac_compile itself does not contain backslashes and begins
8213 # with a dollar sign (not a hyphen), so the echo should work correctly.
8214 # The option is referenced via a variable to avoid confusing sed.
8215 lt_compile=`echo "$ac_compile" | $SED \
8216 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8217 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8218 -e 's:$: $lt_compiler_flag:'`
8219 (eval echo "\"\$as_me:8219: $lt_compile\"" >&5)
8220 (eval "$lt_compile" 2>conftest.err)
8221 ac_status=$?
8222 cat conftest.err >&5
8223 echo "$as_me:8223: \$? = $ac_status" >&5
8224 if (exit $ac_status) && test -s "$ac_outfile"; then
8225 # The compiler can only warn and ignore the option if not recognized
8226 # So say no if there are warnings other than the usual output.
8227 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8228 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8229 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8230 lt_cv_prog_compiler_pic_works=yes
8233 $RM conftest*
8236 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8237 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
8239 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8240 case $lt_prog_compiler_pic in
8241 "" | " "*) ;;
8242 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8243 esac
8244 else
8245 lt_prog_compiler_pic=
8246 lt_prog_compiler_can_build_shared=no
8257 # Check to make sure the static flag actually works.
8259 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8260 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8261 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8262 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8263 echo $ECHO_N "(cached) $ECHO_C" >&6
8264 else
8265 lt_cv_prog_compiler_static_works=no
8266 save_LDFLAGS="$LDFLAGS"
8267 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8268 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8269 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8270 # The linker can only warn and ignore the option if not recognized
8271 # So say no if there are warnings
8272 if test -s conftest.err; then
8273 # Append any errors to the config.log.
8274 cat conftest.err 1>&5
8275 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8276 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8277 if diff conftest.exp conftest.er2 >/dev/null; then
8278 lt_cv_prog_compiler_static_works=yes
8280 else
8281 lt_cv_prog_compiler_static_works=yes
8284 $RM -r conftest*
8285 LDFLAGS="$save_LDFLAGS"
8288 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8289 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
8291 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8293 else
8294 lt_prog_compiler_static=
8303 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8304 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8305 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8306 echo $ECHO_N "(cached) $ECHO_C" >&6
8307 else
8308 lt_cv_prog_compiler_c_o=no
8309 $RM -r conftest 2>/dev/null
8310 mkdir conftest
8311 cd conftest
8312 mkdir out
8313 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8315 lt_compiler_flag="-o out/conftest2.$ac_objext"
8316 # Insert the option either (1) after the last *FLAGS variable, or
8317 # (2) before a word containing "conftest.", or (3) at the end.
8318 # Note that $ac_compile itself does not contain backslashes and begins
8319 # with a dollar sign (not a hyphen), so the echo should work correctly.
8320 lt_compile=`echo "$ac_compile" | $SED \
8321 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8322 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8323 -e 's:$: $lt_compiler_flag:'`
8324 (eval echo "\"\$as_me:8324: $lt_compile\"" >&5)
8325 (eval "$lt_compile" 2>out/conftest.err)
8326 ac_status=$?
8327 cat out/conftest.err >&5
8328 echo "$as_me:8328: \$? = $ac_status" >&5
8329 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8330 then
8331 # The compiler can only warn and ignore the option if not recognized
8332 # So say no if there are warnings
8333 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8334 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8335 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8336 lt_cv_prog_compiler_c_o=yes
8339 chmod u+w . 2>&5
8340 $RM conftest*
8341 # SGI C++ compiler will create directory out/ii_files/ for
8342 # template instantiation
8343 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8344 $RM out/* && rmdir out
8345 cd ..
8346 $RM -r conftest
8347 $RM conftest*
8350 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8351 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8358 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8359 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8360 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8361 echo $ECHO_N "(cached) $ECHO_C" >&6
8362 else
8363 lt_cv_prog_compiler_c_o=no
8364 $RM -r conftest 2>/dev/null
8365 mkdir conftest
8366 cd conftest
8367 mkdir out
8368 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8370 lt_compiler_flag="-o out/conftest2.$ac_objext"
8371 # Insert the option either (1) after the last *FLAGS variable, or
8372 # (2) before a word containing "conftest.", or (3) at the end.
8373 # Note that $ac_compile itself does not contain backslashes and begins
8374 # with a dollar sign (not a hyphen), so the echo should work correctly.
8375 lt_compile=`echo "$ac_compile" | $SED \
8376 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8377 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8378 -e 's:$: $lt_compiler_flag:'`
8379 (eval echo "\"\$as_me:8379: $lt_compile\"" >&5)
8380 (eval "$lt_compile" 2>out/conftest.err)
8381 ac_status=$?
8382 cat out/conftest.err >&5
8383 echo "$as_me:8383: \$? = $ac_status" >&5
8384 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8385 then
8386 # The compiler can only warn and ignore the option if not recognized
8387 # So say no if there are warnings
8388 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8389 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8390 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8391 lt_cv_prog_compiler_c_o=yes
8394 chmod u+w . 2>&5
8395 $RM conftest*
8396 # SGI C++ compiler will create directory out/ii_files/ for
8397 # template instantiation
8398 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8399 $RM out/* && rmdir out
8400 cd ..
8401 $RM -r conftest
8402 $RM conftest*
8405 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8406 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8411 hard_links="nottested"
8412 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8413 # do not overwrite the value of need_locks provided by the user
8414 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8415 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8416 hard_links=yes
8417 $RM conftest*
8418 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8419 touch conftest.a
8420 ln conftest.a conftest.b 2>&5 || hard_links=no
8421 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8422 echo "$as_me:$LINENO: result: $hard_links" >&5
8423 echo "${ECHO_T}$hard_links" >&6
8424 if test "$hard_links" = no; then
8425 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8426 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8427 need_locks=warn
8429 else
8430 need_locks=no
8438 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8439 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8441 runpath_var=
8442 allow_undefined_flag=
8443 always_export_symbols=no
8444 archive_cmds=
8445 archive_expsym_cmds=
8446 compiler_needs_object=no
8447 enable_shared_with_static_runtimes=no
8448 export_dynamic_flag_spec=
8449 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8450 hardcode_automatic=no
8451 hardcode_direct=no
8452 hardcode_direct_absolute=no
8453 hardcode_libdir_flag_spec=
8454 hardcode_libdir_flag_spec_ld=
8455 hardcode_libdir_separator=
8456 hardcode_minus_L=no
8457 hardcode_shlibpath_var=unsupported
8458 inherit_rpath=no
8459 link_all_deplibs=unknown
8460 module_cmds=
8461 module_expsym_cmds=
8462 old_archive_from_new_cmds=
8463 old_archive_from_expsyms_cmds=
8464 thread_safe_flag_spec=
8465 whole_archive_flag_spec=
8466 # include_expsyms should be a list of space-separated symbols to be *always*
8467 # included in the symbol list
8468 include_expsyms=
8469 # exclude_expsyms can be an extended regexp of symbols to exclude
8470 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8471 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8472 # as well as any symbol that contains `d'.
8473 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8474 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8475 # platforms (ab)use it in PIC code, but their linkers get confused if
8476 # the symbol is explicitly referenced. Since portable code cannot
8477 # rely on this symbol name, it's probably fine to never include it in
8478 # preloaded symbol tables.
8479 # Exclude shared library initialization/finalization symbols.
8480 extract_expsyms_cmds=
8482 case $host_os in
8483 cygwin* | mingw* | pw32* | cegcc*)
8484 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8485 # When not using gcc, we currently assume that we are using
8486 # Microsoft Visual C++.
8487 if test "$GCC" != yes; then
8488 with_gnu_ld=no
8491 interix*)
8492 # we just hope/assume this is gcc and not c89 (= MSVC++)
8493 with_gnu_ld=yes
8495 openbsd*)
8496 with_gnu_ld=no
8498 esac
8500 ld_shlibs=yes
8501 if test "$with_gnu_ld" = yes; then
8502 # If archive_cmds runs LD, not CC, wlarc should be empty
8503 wlarc='${wl}'
8505 # Set some defaults for GNU ld with shared library support. These
8506 # are reset later if shared libraries are not supported. Putting them
8507 # here allows them to be overridden if necessary.
8508 runpath_var=LD_RUN_PATH
8509 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8510 export_dynamic_flag_spec='${wl}--export-dynamic'
8511 # ancient GNU ld didn't support --whole-archive et. al.
8512 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8513 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8514 else
8515 whole_archive_flag_spec=
8517 supports_anon_versioning=no
8518 case `$LD -v 2>&1` in
8519 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8520 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8521 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8522 *\ 2.11.*) ;; # other 2.11 versions
8523 *) supports_anon_versioning=yes ;;
8524 esac
8526 # See if GNU ld supports shared libraries.
8527 case $host_os in
8528 aix[3-9]*)
8529 # On AIX/PPC, the GNU linker is very broken
8530 if test "$host_cpu" != ia64; then
8531 ld_shlibs=no
8532 cat <<_LT_EOF 1>&2
8534 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8535 *** to be unable to reliably create shared libraries on AIX.
8536 *** Therefore, libtool is disabling shared libraries support. If you
8537 *** really care for shared libraries, you may want to modify your PATH
8538 *** so that a non-GNU linker is found, and then restart.
8540 _LT_EOF
8544 amigaos*)
8545 case $host_cpu in
8546 powerpc)
8547 # see comment about AmigaOS4 .so support
8548 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8549 archive_expsym_cmds=''
8551 m68k)
8552 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)'
8553 hardcode_libdir_flag_spec='-L$libdir'
8554 hardcode_minus_L=yes
8556 esac
8559 beos*)
8560 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8561 allow_undefined_flag=unsupported
8562 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8563 # support --undefined. This deserves some investigation. FIXME
8564 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8565 else
8566 ld_shlibs=no
8570 cygwin* | mingw* | pw32* | cegcc*)
8571 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8572 # as there is no search path for DLLs.
8573 hardcode_libdir_flag_spec='-L$libdir'
8574 allow_undefined_flag=unsupported
8575 always_export_symbols=no
8576 enable_shared_with_static_runtimes=yes
8577 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8579 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8580 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8581 # If the export-symbols file already is a .def file (1st line
8582 # is EXPORTS), use it as is; otherwise, prepend...
8583 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8584 cp $export_symbols $output_objdir/$soname.def;
8585 else
8586 echo EXPORTS > $output_objdir/$soname.def;
8587 cat $export_symbols >> $output_objdir/$soname.def;
8589 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8590 else
8591 ld_shlibs=no
8595 interix[3-9]*)
8596 hardcode_direct=no
8597 hardcode_shlibpath_var=no
8598 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8599 export_dynamic_flag_spec='${wl}-E'
8600 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8601 # Instead, shared libraries are loaded at an image base (0x10000000 by
8602 # default) and relocated if they conflict, which is a slow very memory
8603 # consuming and fragmenting process. To avoid this, we pick a random,
8604 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8605 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8606 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8607 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'
8610 gnu* | linux* | tpf* | k*bsd*-gnu)
8611 tmp_diet=no
8612 if test "$host_os" = linux-dietlibc; then
8613 case $cc_basename in
8614 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8615 esac
8617 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8618 && test "$tmp_diet" = no
8619 then
8620 tmp_addflag=
8621 tmp_sharedflag='-shared'
8622 case $cc_basename,$host_cpu in
8623 pgcc*) # Portland Group C compiler
8624 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'
8625 tmp_addflag=' $pic_flag'
8627 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8628 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'
8629 tmp_addflag=' $pic_flag -Mnomain' ;;
8630 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8631 tmp_addflag=' -i_dynamic' ;;
8632 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8633 tmp_addflag=' -i_dynamic -nofor_main' ;;
8634 ifc* | ifort*) # Intel Fortran compiler
8635 tmp_addflag=' -nofor_main' ;;
8636 lf95*) # Lahey Fortran 8.1
8637 whole_archive_flag_spec=
8638 tmp_sharedflag='--shared' ;;
8639 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8640 tmp_sharedflag='-qmkshrobj'
8641 tmp_addflag= ;;
8642 esac
8643 case `$CC -V 2>&1 | sed 5q` in
8644 *Sun\ C*) # Sun C 5.9
8645 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'
8646 compiler_needs_object=yes
8647 tmp_sharedflag='-G' ;;
8648 *Sun\ F*) # Sun Fortran 8.3
8649 tmp_sharedflag='-G' ;;
8650 esac
8651 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8653 if test "x$supports_anon_versioning" = xyes; then
8654 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8655 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8656 echo "local: *; };" >> $output_objdir/$libname.ver~
8657 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8660 case $cc_basename in
8661 xlf*)
8662 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8663 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8664 hardcode_libdir_flag_spec=
8665 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8666 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8667 if test "x$supports_anon_versioning" = xyes; then
8668 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8669 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8670 echo "local: *; };" >> $output_objdir/$libname.ver~
8671 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8674 esac
8675 else
8676 ld_shlibs=no
8680 netbsd*)
8681 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8682 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8683 wlarc=
8684 else
8685 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8686 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8690 solaris*)
8691 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8692 ld_shlibs=no
8693 cat <<_LT_EOF 1>&2
8695 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8696 *** create shared libraries on Solaris systems. Therefore, libtool
8697 *** is disabling shared libraries support. We urge you to upgrade GNU
8698 *** binutils to release 2.9.1 or newer. Another option is to modify
8699 *** your PATH or compiler configuration so that the native linker is
8700 *** used, and then restart.
8702 _LT_EOF
8703 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8704 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8705 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8706 else
8707 ld_shlibs=no
8711 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8712 case `$LD -v 2>&1` in
8713 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8714 ld_shlibs=no
8715 cat <<_LT_EOF 1>&2
8717 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8718 *** reliably create shared libraries on SCO systems. Therefore, libtool
8719 *** is disabling shared libraries support. We urge you to upgrade GNU
8720 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8721 *** your PATH or compiler configuration so that the native linker is
8722 *** used, and then restart.
8724 _LT_EOF
8727 # For security reasons, it is highly recommended that you always
8728 # use absolute paths for naming shared libraries, and exclude the
8729 # DT_RUNPATH tag from executables and libraries. But doing so
8730 # requires that you compile everything twice, which is a pain.
8731 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8732 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8733 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8734 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8735 else
8736 ld_shlibs=no
8739 esac
8742 sunos4*)
8743 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8744 wlarc=
8745 hardcode_direct=yes
8746 hardcode_shlibpath_var=no
8750 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8751 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8752 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8753 else
8754 ld_shlibs=no
8757 esac
8759 if test "$ld_shlibs" = no; then
8760 runpath_var=
8761 hardcode_libdir_flag_spec=
8762 export_dynamic_flag_spec=
8763 whole_archive_flag_spec=
8765 else
8766 # PORTME fill in a description of your system's linker (not GNU ld)
8767 case $host_os in
8768 aix3*)
8769 allow_undefined_flag=unsupported
8770 always_export_symbols=yes
8771 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'
8772 # Note: this linker hardcodes the directories in LIBPATH if there
8773 # are no directories specified by -L.
8774 hardcode_minus_L=yes
8775 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8776 # Neither direct hardcoding nor static linking is supported with a
8777 # broken collect2.
8778 hardcode_direct=unsupported
8782 aix[4-9]*)
8783 if test "$host_cpu" = ia64; then
8784 # On IA64, the linker does run time linking by default, so we don't
8785 # have to do anything special.
8786 aix_use_runtimelinking=no
8787 exp_sym_flag='-Bexport'
8788 no_entry_flag=""
8789 else
8790 # If we're using GNU nm, then we don't want the "-C" option.
8791 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8792 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8793 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'
8794 else
8795 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'
8797 aix_use_runtimelinking=no
8799 # Test if we are trying to use run time linking or normal
8800 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8801 # need to do runtime linking.
8802 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8803 for ld_flag in $LDFLAGS; do
8804 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8805 aix_use_runtimelinking=yes
8806 break
8808 done
8810 esac
8812 exp_sym_flag='-bexport'
8813 no_entry_flag='-bnoentry'
8816 # When large executables or shared objects are built, AIX ld can
8817 # have problems creating the table of contents. If linking a library
8818 # or program results in "error TOC overflow" add -mminimal-toc to
8819 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8820 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8822 archive_cmds=''
8823 hardcode_direct=yes
8824 hardcode_direct_absolute=yes
8825 hardcode_libdir_separator=':'
8826 link_all_deplibs=yes
8827 file_list_spec='${wl}-f,'
8829 if test "$GCC" = yes; then
8830 case $host_os in aix4.[012]|aix4.[012].*)
8831 # We only want to do this on AIX 4.2 and lower, the check
8832 # below for broken collect2 doesn't work under 4.3+
8833 collect2name=`${CC} -print-prog-name=collect2`
8834 if test -f "$collect2name" &&
8835 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8836 then
8837 # We have reworked collect2
8839 else
8840 # We have old collect2
8841 hardcode_direct=unsupported
8842 # It fails to find uninstalled libraries when the uninstalled
8843 # path is not listed in the libpath. Setting hardcode_minus_L
8844 # to unsupported forces relinking
8845 hardcode_minus_L=yes
8846 hardcode_libdir_flag_spec='-L$libdir'
8847 hardcode_libdir_separator=
8850 esac
8851 shared_flag='-shared'
8852 if test "$aix_use_runtimelinking" = yes; then
8853 shared_flag="$shared_flag "'${wl}-G'
8855 else
8856 # not using gcc
8857 if test "$host_cpu" = ia64; then
8858 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8859 # chokes on -Wl,-G. The following line is correct:
8860 shared_flag='-G'
8861 else
8862 if test "$aix_use_runtimelinking" = yes; then
8863 shared_flag='${wl}-G'
8864 else
8865 shared_flag='${wl}-bM:SRE'
8870 export_dynamic_flag_spec='${wl}-bexpall'
8871 # It seems that -bexpall does not export symbols beginning with
8872 # underscore (_), so it is better to generate a list of symbols to export.
8873 always_export_symbols=yes
8874 if test "$aix_use_runtimelinking" = yes; then
8875 # Warning - without using the other runtime loading flags (-brtl),
8876 # -berok will link without error, but may produce a broken library.
8877 allow_undefined_flag='-berok'
8878 # Determine the default libpath from the value encoded in an
8879 # empty executable.
8880 if test x$gcc_no_link = xyes; then
8881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8883 { (exit 1); exit 1; }; }
8885 cat >conftest.$ac_ext <<_ACEOF
8886 /* confdefs.h. */
8887 _ACEOF
8888 cat confdefs.h >>conftest.$ac_ext
8889 cat >>conftest.$ac_ext <<_ACEOF
8890 /* end confdefs.h. */
8893 main ()
8897 return 0;
8899 _ACEOF
8900 rm -f conftest.$ac_objext conftest$ac_exeext
8901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8902 (eval $ac_link) 2>conftest.er1
8903 ac_status=$?
8904 grep -v '^ *+' conftest.er1 >conftest.err
8905 rm -f conftest.er1
8906 cat conftest.err >&5
8907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8908 (exit $ac_status); } &&
8909 { ac_try='test -z "$ac_c_werror_flag"
8910 || test ! -s conftest.err'
8911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8912 (eval $ac_try) 2>&5
8913 ac_status=$?
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); }; } &&
8916 { ac_try='test -s conftest$ac_exeext'
8917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8918 (eval $ac_try) 2>&5
8919 ac_status=$?
8920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921 (exit $ac_status); }; }; then
8923 lt_aix_libpath_sed='
8924 /Import File Strings/,/^$/ {
8925 /^0/ {
8926 s/^0 *\(.*\)$/\1/
8930 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8931 # Check for a 64-bit object if we didn't find anything.
8932 if test -z "$aix_libpath"; then
8933 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8935 else
8936 echo "$as_me: failed program was:" >&5
8937 sed 's/^/| /' conftest.$ac_ext >&5
8940 rm -f conftest.err conftest.$ac_objext \
8941 conftest$ac_exeext conftest.$ac_ext
8942 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8944 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8945 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"
8946 else
8947 if test "$host_cpu" = ia64; then
8948 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8949 allow_undefined_flag="-z nodefs"
8950 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"
8951 else
8952 # Determine the default libpath from the value encoded in an
8953 # empty executable.
8954 if test x$gcc_no_link = xyes; then
8955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8957 { (exit 1); exit 1; }; }
8959 cat >conftest.$ac_ext <<_ACEOF
8960 /* confdefs.h. */
8961 _ACEOF
8962 cat confdefs.h >>conftest.$ac_ext
8963 cat >>conftest.$ac_ext <<_ACEOF
8964 /* end confdefs.h. */
8967 main ()
8971 return 0;
8973 _ACEOF
8974 rm -f conftest.$ac_objext conftest$ac_exeext
8975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8976 (eval $ac_link) 2>conftest.er1
8977 ac_status=$?
8978 grep -v '^ *+' conftest.er1 >conftest.err
8979 rm -f conftest.er1
8980 cat conftest.err >&5
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); } &&
8983 { ac_try='test -z "$ac_c_werror_flag"
8984 || test ! -s conftest.err'
8985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986 (eval $ac_try) 2>&5
8987 ac_status=$?
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); }; } &&
8990 { ac_try='test -s conftest$ac_exeext'
8991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8992 (eval $ac_try) 2>&5
8993 ac_status=$?
8994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995 (exit $ac_status); }; }; then
8997 lt_aix_libpath_sed='
8998 /Import File Strings/,/^$/ {
8999 /^0/ {
9000 s/^0 *\(.*\)$/\1/
9004 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9005 # Check for a 64-bit object if we didn't find anything.
9006 if test -z "$aix_libpath"; then
9007 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9009 else
9010 echo "$as_me: failed program was:" >&5
9011 sed 's/^/| /' conftest.$ac_ext >&5
9014 rm -f conftest.err conftest.$ac_objext \
9015 conftest$ac_exeext conftest.$ac_ext
9016 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9018 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9019 # Warning - without using the other run time loading flags,
9020 # -berok will link without error, but may produce a broken library.
9021 no_undefined_flag=' ${wl}-bernotok'
9022 allow_undefined_flag=' ${wl}-berok'
9023 # Exported symbols can be pulled into shared objects from archives
9024 whole_archive_flag_spec='$convenience'
9025 archive_cmds_need_lc=yes
9026 # This is similar to how AIX traditionally builds its shared libraries.
9027 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'
9032 amigaos*)
9033 case $host_cpu in
9034 powerpc)
9035 # see comment about AmigaOS4 .so support
9036 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9037 archive_expsym_cmds=''
9039 m68k)
9040 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)'
9041 hardcode_libdir_flag_spec='-L$libdir'
9042 hardcode_minus_L=yes
9044 esac
9047 bsdi[45]*)
9048 export_dynamic_flag_spec=-rdynamic
9051 cygwin* | mingw* | pw32* | cegcc*)
9052 # When not using gcc, we currently assume that we are using
9053 # Microsoft Visual C++.
9054 # hardcode_libdir_flag_spec is actually meaningless, as there is
9055 # no search path for DLLs.
9056 hardcode_libdir_flag_spec=' '
9057 allow_undefined_flag=unsupported
9058 # Tell ltmain to make .lib files, not .a files.
9059 libext=lib
9060 # Tell ltmain to make .dll files, not .so files.
9061 shrext_cmds=".dll"
9062 # FIXME: Setting linknames here is a bad hack.
9063 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9064 # The linker will automatically build a .lib file if we build a DLL.
9065 old_archive_from_new_cmds='true'
9066 # FIXME: Should let the user specify the lib program.
9067 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9068 fix_srcfile_path='`cygpath -w "$srcfile"`'
9069 enable_shared_with_static_runtimes=yes
9072 darwin* | rhapsody*)
9075 archive_cmds_need_lc=no
9076 hardcode_direct=no
9077 hardcode_automatic=yes
9078 hardcode_shlibpath_var=unsupported
9079 whole_archive_flag_spec=''
9080 link_all_deplibs=yes
9081 allow_undefined_flag="$_lt_dar_allow_undefined"
9082 case $cc_basename in
9083 ifort*) _lt_dar_can_shared=yes ;;
9084 *) _lt_dar_can_shared=$GCC ;;
9085 esac
9086 if test "$_lt_dar_can_shared" = "yes"; then
9087 output_verbose_link_cmd=echo
9088 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9089 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9090 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9091 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9093 else
9094 ld_shlibs=no
9099 dgux*)
9100 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9101 hardcode_libdir_flag_spec='-L$libdir'
9102 hardcode_shlibpath_var=no
9105 freebsd1*)
9106 ld_shlibs=no
9109 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9110 # support. Future versions do this automatically, but an explicit c++rt0.o
9111 # does not break anything, and helps significantly (at the cost of a little
9112 # extra space).
9113 freebsd2.2*)
9114 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9115 hardcode_libdir_flag_spec='-R$libdir'
9116 hardcode_direct=yes
9117 hardcode_shlibpath_var=no
9120 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9121 freebsd2*)
9122 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9123 hardcode_direct=yes
9124 hardcode_minus_L=yes
9125 hardcode_shlibpath_var=no
9128 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9129 freebsd* | dragonfly*)
9130 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9131 hardcode_libdir_flag_spec='-R$libdir'
9132 hardcode_direct=yes
9133 hardcode_shlibpath_var=no
9136 hpux9*)
9137 if test "$GCC" = yes; then
9138 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'
9139 else
9140 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'
9142 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9143 hardcode_libdir_separator=:
9144 hardcode_direct=yes
9146 # hardcode_minus_L: Not really in the search PATH,
9147 # but as the default location of the library.
9148 hardcode_minus_L=yes
9149 export_dynamic_flag_spec='${wl}-E'
9152 hpux10*)
9153 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9154 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9155 else
9156 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9158 if test "$with_gnu_ld" = no; then
9159 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9160 hardcode_libdir_flag_spec_ld='+b $libdir'
9161 hardcode_libdir_separator=:
9162 hardcode_direct=yes
9163 hardcode_direct_absolute=yes
9164 export_dynamic_flag_spec='${wl}-E'
9165 # hardcode_minus_L: Not really in the search PATH,
9166 # but as the default location of the library.
9167 hardcode_minus_L=yes
9171 hpux11*)
9172 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9173 case $host_cpu in
9174 hppa*64*)
9175 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9177 ia64*)
9178 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9181 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9183 esac
9184 else
9185 case $host_cpu in
9186 hppa*64*)
9187 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9189 ia64*)
9190 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9193 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9195 esac
9197 if test "$with_gnu_ld" = no; then
9198 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9199 hardcode_libdir_separator=:
9201 case $host_cpu in
9202 hppa*64*|ia64*)
9203 hardcode_direct=no
9204 hardcode_shlibpath_var=no
9207 hardcode_direct=yes
9208 hardcode_direct_absolute=yes
9209 export_dynamic_flag_spec='${wl}-E'
9211 # hardcode_minus_L: Not really in the search PATH,
9212 # but as the default location of the library.
9213 hardcode_minus_L=yes
9215 esac
9219 irix5* | irix6* | nonstopux*)
9220 if test "$GCC" = yes; then
9221 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'
9222 # Try to use the -exported_symbol ld option, if it does not
9223 # work, assume that -exports_file does not work either and
9224 # implicitly export all symbols.
9225 save_LDFLAGS="$LDFLAGS"
9226 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9227 if test x$gcc_no_link = xyes; then
9228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9230 { (exit 1); exit 1; }; }
9232 cat >conftest.$ac_ext <<_ACEOF
9233 int foo(void) {}
9234 _ACEOF
9235 rm -f conftest.$ac_objext conftest$ac_exeext
9236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9237 (eval $ac_link) 2>conftest.er1
9238 ac_status=$?
9239 grep -v '^ *+' conftest.er1 >conftest.err
9240 rm -f conftest.er1
9241 cat conftest.err >&5
9242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9243 (exit $ac_status); } &&
9244 { ac_try='test -z "$ac_c_werror_flag"
9245 || test ! -s conftest.err'
9246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9247 (eval $ac_try) 2>&5
9248 ac_status=$?
9249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9250 (exit $ac_status); }; } &&
9251 { ac_try='test -s conftest$ac_exeext'
9252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9253 (eval $ac_try) 2>&5
9254 ac_status=$?
9255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9256 (exit $ac_status); }; }; then
9257 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'
9259 else
9260 echo "$as_me: failed program was:" >&5
9261 sed 's/^/| /' conftest.$ac_ext >&5
9264 rm -f conftest.err conftest.$ac_objext \
9265 conftest$ac_exeext conftest.$ac_ext
9266 LDFLAGS="$save_LDFLAGS"
9267 else
9268 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'
9269 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'
9271 archive_cmds_need_lc='no'
9272 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9273 hardcode_libdir_separator=:
9274 inherit_rpath=yes
9275 link_all_deplibs=yes
9278 netbsd*)
9279 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9280 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9281 else
9282 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9284 hardcode_libdir_flag_spec='-R$libdir'
9285 hardcode_direct=yes
9286 hardcode_shlibpath_var=no
9289 newsos6)
9290 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9291 hardcode_direct=yes
9292 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9293 hardcode_libdir_separator=:
9294 hardcode_shlibpath_var=no
9297 *nto* | *qnx*)
9300 openbsd*)
9301 if test -f /usr/libexec/ld.so; then
9302 hardcode_direct=yes
9303 hardcode_shlibpath_var=no
9304 hardcode_direct_absolute=yes
9305 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9306 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9307 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9308 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9309 export_dynamic_flag_spec='${wl}-E'
9310 else
9311 case $host_os in
9312 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9313 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9314 hardcode_libdir_flag_spec='-R$libdir'
9317 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9318 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9320 esac
9322 else
9323 ld_shlibs=no
9327 os2*)
9328 hardcode_libdir_flag_spec='-L$libdir'
9329 hardcode_minus_L=yes
9330 allow_undefined_flag=unsupported
9331 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'
9332 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9335 osf3*)
9336 if test "$GCC" = yes; then
9337 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9338 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'
9339 else
9340 allow_undefined_flag=' -expect_unresolved \*'
9341 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'
9343 archive_cmds_need_lc='no'
9344 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9345 hardcode_libdir_separator=:
9348 osf4* | osf5*) # as osf3* with the addition of -msym flag
9349 if test "$GCC" = yes; then
9350 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9351 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'
9352 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9353 else
9354 allow_undefined_flag=' -expect_unresolved \*'
9355 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'
9356 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~
9357 $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'
9359 # Both c and cxx compiler support -rpath directly
9360 hardcode_libdir_flag_spec='-rpath $libdir'
9362 archive_cmds_need_lc='no'
9363 hardcode_libdir_separator=:
9366 solaris*)
9367 no_undefined_flag=' -z defs'
9368 if test "$GCC" = yes; then
9369 wlarc='${wl}'
9370 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9371 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9372 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9373 else
9374 case `$CC -V 2>&1` in
9375 *"Compilers 5.0"*)
9376 wlarc=''
9377 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9378 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9379 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9382 wlarc='${wl}'
9383 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9384 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9385 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9387 esac
9389 hardcode_libdir_flag_spec='-R$libdir'
9390 hardcode_shlibpath_var=no
9391 case $host_os in
9392 solaris2.[0-5] | solaris2.[0-5].*) ;;
9394 # The compiler driver will combine and reorder linker options,
9395 # but understands `-z linker_flag'. GCC discards it without `$wl',
9396 # but is careful enough not to reorder.
9397 # Supported since Solaris 2.6 (maybe 2.5.1?)
9398 if test "$GCC" = yes; then
9399 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9400 else
9401 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9404 esac
9405 link_all_deplibs=yes
9408 sunos4*)
9409 if test "x$host_vendor" = xsequent; then
9410 # Use $CC to link under sequent, because it throws in some extra .o
9411 # files that make .init and .fini sections work.
9412 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9413 else
9414 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9416 hardcode_libdir_flag_spec='-L$libdir'
9417 hardcode_direct=yes
9418 hardcode_minus_L=yes
9419 hardcode_shlibpath_var=no
9422 sysv4)
9423 case $host_vendor in
9424 sni)
9425 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9426 hardcode_direct=yes # is this really true???
9428 siemens)
9429 ## LD is ld it makes a PLAMLIB
9430 ## CC just makes a GrossModule.
9431 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9432 reload_cmds='$CC -r -o $output$reload_objs'
9433 hardcode_direct=no
9435 motorola)
9436 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9437 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9439 esac
9440 runpath_var='LD_RUN_PATH'
9441 hardcode_shlibpath_var=no
9444 sysv4.3*)
9445 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9446 hardcode_shlibpath_var=no
9447 export_dynamic_flag_spec='-Bexport'
9450 sysv4*MP*)
9451 if test -d /usr/nec; then
9452 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9453 hardcode_shlibpath_var=no
9454 runpath_var=LD_RUN_PATH
9455 hardcode_runpath_var=yes
9456 ld_shlibs=yes
9460 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9461 no_undefined_flag='${wl}-z,text'
9462 archive_cmds_need_lc=no
9463 hardcode_shlibpath_var=no
9464 runpath_var='LD_RUN_PATH'
9466 if test "$GCC" = yes; then
9467 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9468 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9469 else
9470 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9471 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9475 sysv5* | sco3.2v5* | sco5v6*)
9476 # Note: We can NOT use -z defs as we might desire, because we do not
9477 # link with -lc, and that would cause any symbols used from libc to
9478 # always be unresolved, which means just about no library would
9479 # ever link correctly. If we're not using GNU ld we use -z text
9480 # though, which does catch some bad symbols but isn't as heavy-handed
9481 # as -z defs.
9482 no_undefined_flag='${wl}-z,text'
9483 allow_undefined_flag='${wl}-z,nodefs'
9484 archive_cmds_need_lc=no
9485 hardcode_shlibpath_var=no
9486 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9487 hardcode_libdir_separator=':'
9488 link_all_deplibs=yes
9489 export_dynamic_flag_spec='${wl}-Bexport'
9490 runpath_var='LD_RUN_PATH'
9492 if test "$GCC" = yes; then
9493 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9494 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9495 else
9496 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9497 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9501 uts4*)
9502 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9503 hardcode_libdir_flag_spec='-L$libdir'
9504 hardcode_shlibpath_var=no
9508 ld_shlibs=no
9510 esac
9512 if test x$host_vendor = xsni; then
9513 case $host in
9514 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9515 export_dynamic_flag_spec='${wl}-Blargedynsym'
9517 esac
9521 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9522 echo "${ECHO_T}$ld_shlibs" >&6
9523 test "$ld_shlibs" = no && can_build_shared=no
9525 with_gnu_ld=$with_gnu_ld
9542 # Do we need to explicitly link libc?
9544 case "x$archive_cmds_need_lc" in
9545 x|xyes)
9546 # Assume -lc should be added
9547 archive_cmds_need_lc=yes
9549 if test "$enable_shared" = yes && test "$GCC" = yes; then
9550 case $archive_cmds in
9551 *'~'*)
9552 # FIXME: we may have to deal with multi-command sequences.
9554 '$CC '*)
9555 # Test whether the compiler implicitly links with -lc since on some
9556 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9557 # to ld, don't add -lc before -lgcc.
9558 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9559 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9560 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
9561 echo $ECHO_N "(cached) $ECHO_C" >&6
9562 else
9563 $RM conftest*
9564 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9567 (eval $ac_compile) 2>&5
9568 ac_status=$?
9569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570 (exit $ac_status); } 2>conftest.err; then
9571 soname=conftest
9572 lib=conftest
9573 libobjs=conftest.$ac_objext
9574 deplibs=
9575 wl=$lt_prog_compiler_wl
9576 pic_flag=$lt_prog_compiler_pic
9577 compiler_flags=-v
9578 linker_flags=-v
9579 verstring=
9580 output_objdir=.
9581 libname=conftest
9582 lt_save_allow_undefined_flag=$allow_undefined_flag
9583 allow_undefined_flag=
9584 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9585 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9586 ac_status=$?
9587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9588 (exit $ac_status); }
9589 then
9590 lt_cv_archive_cmds_need_lc=no
9591 else
9592 lt_cv_archive_cmds_need_lc=yes
9594 allow_undefined_flag=$lt_save_allow_undefined_flag
9595 else
9596 cat conftest.err 1>&5
9598 $RM conftest*
9601 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
9602 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
9603 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9605 esac
9608 esac
9766 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9767 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9769 if test "$GCC" = yes; then
9770 case $host_os in
9771 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9772 *) lt_awk_arg="/^libraries:/" ;;
9773 esac
9774 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9775 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9776 # if the path contains ";" then we assume it to be the separator
9777 # otherwise default to the standard path separator (i.e. ":") - it is
9778 # assumed that no part of a normal pathname contains ";" but that should
9779 # okay in the real world where ";" in dirpaths is itself problematic.
9780 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9781 else
9782 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9784 # Ok, now we have the path, separated by spaces, we can step through it
9785 # and add multilib dir if necessary.
9786 lt_tmp_lt_search_path_spec=
9787 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9788 for lt_sys_path in $lt_search_path_spec; do
9789 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9790 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9791 else
9792 test -d "$lt_sys_path" && \
9793 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9795 done
9796 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9797 BEGIN {RS=" "; FS="/|\n";} {
9798 lt_foo="";
9799 lt_count=0;
9800 for (lt_i = NF; lt_i > 0; lt_i--) {
9801 if ($lt_i != "" && $lt_i != ".") {
9802 if ($lt_i == "..") {
9803 lt_count++;
9804 } else {
9805 if (lt_count == 0) {
9806 lt_foo="/" $lt_i lt_foo;
9807 } else {
9808 lt_count--;
9813 if (lt_foo != "") { lt_freq[lt_foo]++; }
9814 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9816 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9817 else
9818 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9820 library_names_spec=
9821 libname_spec='lib$name'
9822 soname_spec=
9823 shrext_cmds=".so"
9824 postinstall_cmds=
9825 postuninstall_cmds=
9826 finish_cmds=
9827 finish_eval=
9828 shlibpath_var=
9829 shlibpath_overrides_runpath=unknown
9830 version_type=none
9831 dynamic_linker="$host_os ld.so"
9832 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9833 need_lib_prefix=unknown
9834 hardcode_into_libs=no
9836 # when you set need_version to no, make sure it does not cause -set_version
9837 # flags to be left without arguments
9838 need_version=unknown
9840 case $host_os in
9841 aix3*)
9842 version_type=linux
9843 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9844 shlibpath_var=LIBPATH
9846 # AIX 3 has no versioning support, so we append a major version to the name.
9847 soname_spec='${libname}${release}${shared_ext}$major'
9850 aix[4-9]*)
9851 version_type=linux
9852 need_lib_prefix=no
9853 need_version=no
9854 hardcode_into_libs=yes
9855 if test "$host_cpu" = ia64; then
9856 # AIX 5 supports IA64
9857 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9858 shlibpath_var=LD_LIBRARY_PATH
9859 else
9860 # With GCC up to 2.95.x, collect2 would create an import file
9861 # for dependence libraries. The import file would start with
9862 # the line `#! .'. This would cause the generated library to
9863 # depend on `.', always an invalid library. This was fixed in
9864 # development snapshots of GCC prior to 3.0.
9865 case $host_os in
9866 aix4 | aix4.[01] | aix4.[01].*)
9867 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9868 echo ' yes '
9869 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9871 else
9872 can_build_shared=no
9875 esac
9876 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9877 # soname into executable. Probably we can add versioning support to
9878 # collect2, so additional links can be useful in future.
9879 if test "$aix_use_runtimelinking" = yes; then
9880 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9881 # instead of lib<name>.a to let people know that these are not
9882 # typical AIX shared libraries.
9883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9884 else
9885 # We preserve .a as extension for shared libraries through AIX4.2
9886 # and later when we are not doing run time linking.
9887 library_names_spec='${libname}${release}.a $libname.a'
9888 soname_spec='${libname}${release}${shared_ext}$major'
9890 shlibpath_var=LIBPATH
9894 amigaos*)
9895 case $host_cpu in
9896 powerpc)
9897 # Since July 2007 AmigaOS4 officially supports .so libraries.
9898 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9901 m68k)
9902 library_names_spec='$libname.ixlibrary $libname.a'
9903 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9904 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'
9906 esac
9909 beos*)
9910 library_names_spec='${libname}${shared_ext}'
9911 dynamic_linker="$host_os ld.so"
9912 shlibpath_var=LIBRARY_PATH
9915 bsdi[45]*)
9916 version_type=linux
9917 need_version=no
9918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9919 soname_spec='${libname}${release}${shared_ext}$major'
9920 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9921 shlibpath_var=LD_LIBRARY_PATH
9922 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9923 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9924 # the default ld.so.conf also contains /usr/contrib/lib and
9925 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9926 # libtool to hard-code these into programs
9929 cygwin* | mingw* | pw32* | cegcc*)
9930 version_type=windows
9931 shrext_cmds=".dll"
9932 need_version=no
9933 need_lib_prefix=no
9935 case $GCC,$host_os in
9936 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9937 library_names_spec='$libname.dll.a'
9938 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9939 postinstall_cmds='base_file=`basename \${file}`~
9940 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9941 dldir=$destdir/`dirname \$dlpath`~
9942 test -d \$dldir || mkdir -p \$dldir~
9943 $install_prog $dir/$dlname \$dldir/$dlname~
9944 chmod a+x \$dldir/$dlname~
9945 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9946 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9948 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9949 dlpath=$dir/\$dldll~
9950 $RM \$dlpath'
9951 shlibpath_overrides_runpath=yes
9953 case $host_os in
9954 cygwin*)
9955 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9956 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9957 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9959 mingw* | cegcc*)
9960 # MinGW DLLs use traditional 'lib' prefix
9961 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9962 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9963 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9964 # It is most probably a Windows format PATH printed by
9965 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9966 # path with ; separators, and with drive letters. We can handle the
9967 # drive letters (cygwin fileutils understands them), so leave them,
9968 # especially as we might pass files found there to a mingw objdump,
9969 # which wouldn't understand a cygwinified path. Ahh.
9970 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9971 else
9972 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9975 pw32*)
9976 # pw32 DLLs use 'pw' prefix rather than 'lib'
9977 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9979 esac
9983 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9985 esac
9986 dynamic_linker='Win32 ld.exe'
9987 # FIXME: first we should search . and the directory the executable is in
9988 shlibpath_var=PATH
9991 darwin* | rhapsody*)
9992 dynamic_linker="$host_os dyld"
9993 version_type=darwin
9994 need_lib_prefix=no
9995 need_version=no
9996 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9997 soname_spec='${libname}${release}${major}$shared_ext'
9998 shlibpath_overrides_runpath=yes
9999 shlibpath_var=DYLD_LIBRARY_PATH
10000 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10002 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10003 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10006 dgux*)
10007 version_type=linux
10008 need_lib_prefix=no
10009 need_version=no
10010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10011 soname_spec='${libname}${release}${shared_ext}$major'
10012 shlibpath_var=LD_LIBRARY_PATH
10015 freebsd1*)
10016 dynamic_linker=no
10019 freebsd* | dragonfly*)
10020 # DragonFly does not have aout. When/if they implement a new
10021 # versioning mechanism, adjust this.
10022 if test -x /usr/bin/objformat; then
10023 objformat=`/usr/bin/objformat`
10024 else
10025 case $host_os in
10026 freebsd[123]*) objformat=aout ;;
10027 *) objformat=elf ;;
10028 esac
10030 version_type=freebsd-$objformat
10031 case $version_type in
10032 freebsd-elf*)
10033 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10034 need_version=no
10035 need_lib_prefix=no
10037 freebsd-*)
10038 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10039 need_version=yes
10041 esac
10042 shlibpath_var=LD_LIBRARY_PATH
10043 case $host_os in
10044 freebsd2*)
10045 shlibpath_overrides_runpath=yes
10047 freebsd3.[01]* | freebsdelf3.[01]*)
10048 shlibpath_overrides_runpath=yes
10049 hardcode_into_libs=yes
10051 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10052 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10053 shlibpath_overrides_runpath=no
10054 hardcode_into_libs=yes
10056 *) # from 4.6 on, and DragonFly
10057 shlibpath_overrides_runpath=yes
10058 hardcode_into_libs=yes
10060 esac
10063 gnu*)
10064 version_type=linux
10065 need_lib_prefix=no
10066 need_version=no
10067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10068 soname_spec='${libname}${release}${shared_ext}$major'
10069 shlibpath_var=LD_LIBRARY_PATH
10070 hardcode_into_libs=yes
10073 hpux9* | hpux10* | hpux11*)
10074 # Give a soname corresponding to the major version so that dld.sl refuses to
10075 # link against other versions.
10076 version_type=sunos
10077 need_lib_prefix=no
10078 need_version=no
10079 case $host_cpu in
10080 ia64*)
10081 shrext_cmds='.so'
10082 hardcode_into_libs=yes
10083 dynamic_linker="$host_os dld.so"
10084 shlibpath_var=LD_LIBRARY_PATH
10085 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10087 soname_spec='${libname}${release}${shared_ext}$major'
10088 if test "X$HPUX_IA64_MODE" = X32; then
10089 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10090 else
10091 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10093 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10095 hppa*64*)
10096 shrext_cmds='.sl'
10097 hardcode_into_libs=yes
10098 dynamic_linker="$host_os dld.sl"
10099 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10100 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10101 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10102 soname_spec='${libname}${release}${shared_ext}$major'
10103 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10104 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10107 shrext_cmds='.sl'
10108 dynamic_linker="$host_os dld.sl"
10109 shlibpath_var=SHLIB_PATH
10110 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10112 soname_spec='${libname}${release}${shared_ext}$major'
10114 esac
10115 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10116 postinstall_cmds='chmod 555 $lib'
10119 interix[3-9]*)
10120 version_type=linux
10121 need_lib_prefix=no
10122 need_version=no
10123 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10124 soname_spec='${libname}${release}${shared_ext}$major'
10125 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10126 shlibpath_var=LD_LIBRARY_PATH
10127 shlibpath_overrides_runpath=no
10128 hardcode_into_libs=yes
10131 irix5* | irix6* | nonstopux*)
10132 case $host_os in
10133 nonstopux*) version_type=nonstopux ;;
10135 if test "$lt_cv_prog_gnu_ld" = yes; then
10136 version_type=linux
10137 else
10138 version_type=irix
10139 fi ;;
10140 esac
10141 need_lib_prefix=no
10142 need_version=no
10143 soname_spec='${libname}${release}${shared_ext}$major'
10144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10145 case $host_os in
10146 irix5* | nonstopux*)
10147 libsuff= shlibsuff=
10150 case $LD in # libtool.m4 will add one of these switches to LD
10151 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10152 libsuff= shlibsuff= libmagic=32-bit;;
10153 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10154 libsuff=32 shlibsuff=N32 libmagic=N32;;
10155 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10156 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10157 *) libsuff= shlibsuff= libmagic=never-match;;
10158 esac
10160 esac
10161 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10162 shlibpath_overrides_runpath=no
10163 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10164 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10165 hardcode_into_libs=yes
10168 # No shared lib support for Linux oldld, aout, or coff.
10169 linux*oldld* | linux*aout* | linux*coff*)
10170 dynamic_linker=no
10173 # This must be Linux ELF.
10174 linux* | k*bsd*-gnu)
10175 version_type=linux
10176 need_lib_prefix=no
10177 need_version=no
10178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10179 soname_spec='${libname}${release}${shared_ext}$major'
10180 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10181 shlibpath_var=LD_LIBRARY_PATH
10182 shlibpath_overrides_runpath=no
10184 # Some binutils ld are patched to set DT_RUNPATH
10185 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
10186 echo $ECHO_N "(cached) $ECHO_C" >&6
10187 else
10188 lt_cv_shlibpath_overrides_runpath=no
10189 save_LDFLAGS=$LDFLAGS
10190 save_libdir=$libdir
10191 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10192 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10193 if test x$gcc_no_link = xyes; then
10194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10196 { (exit 1); exit 1; }; }
10198 cat >conftest.$ac_ext <<_ACEOF
10199 /* confdefs.h. */
10200 _ACEOF
10201 cat confdefs.h >>conftest.$ac_ext
10202 cat >>conftest.$ac_ext <<_ACEOF
10203 /* end confdefs.h. */
10206 main ()
10210 return 0;
10212 _ACEOF
10213 rm -f conftest.$ac_objext conftest$ac_exeext
10214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10215 (eval $ac_link) 2>conftest.er1
10216 ac_status=$?
10217 grep -v '^ *+' conftest.er1 >conftest.err
10218 rm -f conftest.er1
10219 cat conftest.err >&5
10220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221 (exit $ac_status); } &&
10222 { ac_try='test -z "$ac_c_werror_flag"
10223 || test ! -s conftest.err'
10224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10225 (eval $ac_try) 2>&5
10226 ac_status=$?
10227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10228 (exit $ac_status); }; } &&
10229 { ac_try='test -s conftest$ac_exeext'
10230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10231 (eval $ac_try) 2>&5
10232 ac_status=$?
10233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10234 (exit $ac_status); }; }; then
10235 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10236 lt_cv_shlibpath_overrides_runpath=yes
10239 else
10240 echo "$as_me: failed program was:" >&5
10241 sed 's/^/| /' conftest.$ac_ext >&5
10244 rm -f conftest.err conftest.$ac_objext \
10245 conftest$ac_exeext conftest.$ac_ext
10246 LDFLAGS=$save_LDFLAGS
10247 libdir=$save_libdir
10251 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10253 # This implies no fast_install, which is unacceptable.
10254 # Some rework will be needed to allow for fast_install
10255 # before this can be enabled.
10256 hardcode_into_libs=yes
10258 # Append ld.so.conf contents to the search path
10259 if test -f /etc/ld.so.conf; then
10260 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10261 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10264 # We used to test for /lib/ld.so.1 and disable shared libraries on
10265 # powerpc, because MkLinux only supported shared libraries with the
10266 # GNU dynamic linker. Since this was broken with cross compilers,
10267 # most powerpc-linux boxes support dynamic linking these days and
10268 # people can always --disable-shared, the test was removed, and we
10269 # assume the GNU/Linux dynamic linker is in use.
10270 dynamic_linker='GNU/Linux ld.so'
10273 netbsd*)
10274 version_type=sunos
10275 need_lib_prefix=no
10276 need_version=no
10277 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10278 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10279 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10280 dynamic_linker='NetBSD (a.out) ld.so'
10281 else
10282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10283 soname_spec='${libname}${release}${shared_ext}$major'
10284 dynamic_linker='NetBSD ld.elf_so'
10286 shlibpath_var=LD_LIBRARY_PATH
10287 shlibpath_overrides_runpath=yes
10288 hardcode_into_libs=yes
10291 newsos6)
10292 version_type=linux
10293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10294 shlibpath_var=LD_LIBRARY_PATH
10295 shlibpath_overrides_runpath=yes
10298 *nto* | *qnx*)
10299 version_type=qnx
10300 need_lib_prefix=no
10301 need_version=no
10302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10303 soname_spec='${libname}${release}${shared_ext}$major'
10304 shlibpath_var=LD_LIBRARY_PATH
10305 shlibpath_overrides_runpath=no
10306 hardcode_into_libs=yes
10307 dynamic_linker='ldqnx.so'
10310 openbsd*)
10311 version_type=sunos
10312 sys_lib_dlsearch_path_spec="/usr/lib"
10313 need_lib_prefix=no
10314 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10315 case $host_os in
10316 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10317 *) need_version=no ;;
10318 esac
10319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10320 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10321 shlibpath_var=LD_LIBRARY_PATH
10322 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10323 case $host_os in
10324 openbsd2.[89] | openbsd2.[89].*)
10325 shlibpath_overrides_runpath=no
10328 shlibpath_overrides_runpath=yes
10330 esac
10331 else
10332 shlibpath_overrides_runpath=yes
10336 os2*)
10337 libname_spec='$name'
10338 shrext_cmds=".dll"
10339 need_lib_prefix=no
10340 library_names_spec='$libname${shared_ext} $libname.a'
10341 dynamic_linker='OS/2 ld.exe'
10342 shlibpath_var=LIBPATH
10345 osf3* | osf4* | osf5*)
10346 version_type=osf
10347 need_lib_prefix=no
10348 need_version=no
10349 soname_spec='${libname}${release}${shared_ext}$major'
10350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10351 shlibpath_var=LD_LIBRARY_PATH
10352 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10353 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10356 rdos*)
10357 dynamic_linker=no
10360 solaris*)
10361 version_type=linux
10362 need_lib_prefix=no
10363 need_version=no
10364 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10365 soname_spec='${libname}${release}${shared_ext}$major'
10366 shlibpath_var=LD_LIBRARY_PATH
10367 shlibpath_overrides_runpath=yes
10368 hardcode_into_libs=yes
10369 # ldd complains unless libraries are executable
10370 postinstall_cmds='chmod +x $lib'
10373 sunos4*)
10374 version_type=sunos
10375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10376 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10377 shlibpath_var=LD_LIBRARY_PATH
10378 shlibpath_overrides_runpath=yes
10379 if test "$with_gnu_ld" = yes; then
10380 need_lib_prefix=no
10382 need_version=yes
10385 sysv4 | sysv4.3*)
10386 version_type=linux
10387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10388 soname_spec='${libname}${release}${shared_ext}$major'
10389 shlibpath_var=LD_LIBRARY_PATH
10390 case $host_vendor in
10391 sni)
10392 shlibpath_overrides_runpath=no
10393 need_lib_prefix=no
10394 runpath_var=LD_RUN_PATH
10396 siemens)
10397 need_lib_prefix=no
10399 motorola)
10400 need_lib_prefix=no
10401 need_version=no
10402 shlibpath_overrides_runpath=no
10403 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10405 esac
10408 sysv4*MP*)
10409 if test -d /usr/nec ;then
10410 version_type=linux
10411 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10412 soname_spec='$libname${shared_ext}.$major'
10413 shlibpath_var=LD_LIBRARY_PATH
10417 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10418 version_type=freebsd-elf
10419 need_lib_prefix=no
10420 need_version=no
10421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10422 soname_spec='${libname}${release}${shared_ext}$major'
10423 shlibpath_var=LD_LIBRARY_PATH
10424 shlibpath_overrides_runpath=yes
10425 hardcode_into_libs=yes
10426 if test "$with_gnu_ld" = yes; then
10427 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10428 else
10429 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10430 case $host_os in
10431 sco3.2v5*)
10432 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10434 esac
10436 sys_lib_dlsearch_path_spec='/usr/lib'
10439 tpf*)
10440 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10441 version_type=linux
10442 need_lib_prefix=no
10443 need_version=no
10444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10445 shlibpath_var=LD_LIBRARY_PATH
10446 shlibpath_overrides_runpath=no
10447 hardcode_into_libs=yes
10450 uts4*)
10451 version_type=linux
10452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10453 soname_spec='${libname}${release}${shared_ext}$major'
10454 shlibpath_var=LD_LIBRARY_PATH
10458 dynamic_linker=no
10460 esac
10461 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10462 echo "${ECHO_T}$dynamic_linker" >&6
10463 test "$dynamic_linker" = no && can_build_shared=no
10465 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10466 if test "$GCC" = yes; then
10467 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10470 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10471 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10473 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10474 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10563 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10564 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10565 hardcode_action=
10566 if test -n "$hardcode_libdir_flag_spec" ||
10567 test -n "$runpath_var" ||
10568 test "X$hardcode_automatic" = "Xyes" ; then
10570 # We can hardcode non-existent directories.
10571 if test "$hardcode_direct" != no &&
10572 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10573 # have to relink, otherwise we might link with an installed library
10574 # when we should be linking with a yet-to-be-installed one
10575 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10576 test "$hardcode_minus_L" != no; then
10577 # Linking always hardcodes the temporary library directory.
10578 hardcode_action=relink
10579 else
10580 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10581 hardcode_action=immediate
10583 else
10584 # We cannot hardcode anything, or else we can only hardcode existing
10585 # directories.
10586 hardcode_action=unsupported
10588 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10589 echo "${ECHO_T}$hardcode_action" >&6
10591 if test "$hardcode_action" = relink ||
10592 test "$inherit_rpath" = yes; then
10593 # Fast installation is not supported
10594 enable_fast_install=no
10595 elif test "$shlibpath_overrides_runpath" = yes ||
10596 test "$enable_shared" = no; then
10597 # Fast installation is not necessary
10598 enable_fast_install=needless
10606 if test "x$enable_dlopen" != xyes; then
10607 enable_dlopen=unknown
10608 enable_dlopen_self=unknown
10609 enable_dlopen_self_static=unknown
10610 else
10611 lt_cv_dlopen=no
10612 lt_cv_dlopen_libs=
10614 case $host_os in
10615 beos*)
10616 lt_cv_dlopen="load_add_on"
10617 lt_cv_dlopen_libs=
10618 lt_cv_dlopen_self=yes
10621 mingw* | pw32* | cegcc*)
10622 lt_cv_dlopen="LoadLibrary"
10623 lt_cv_dlopen_libs=
10626 cygwin*)
10627 lt_cv_dlopen="dlopen"
10628 lt_cv_dlopen_libs=
10631 darwin*)
10632 # if libdl is installed we need to link against it
10633 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10634 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10635 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10636 echo $ECHO_N "(cached) $ECHO_C" >&6
10637 else
10638 ac_check_lib_save_LIBS=$LIBS
10639 LIBS="-ldl $LIBS"
10640 if test x$gcc_no_link = xyes; then
10641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10643 { (exit 1); exit 1; }; }
10645 cat >conftest.$ac_ext <<_ACEOF
10646 /* confdefs.h. */
10647 _ACEOF
10648 cat confdefs.h >>conftest.$ac_ext
10649 cat >>conftest.$ac_ext <<_ACEOF
10650 /* end confdefs.h. */
10652 /* Override any gcc2 internal prototype to avoid an error. */
10653 #ifdef __cplusplus
10654 extern "C"
10655 #endif
10656 /* We use char because int might match the return type of a gcc2
10657 builtin and then its argument prototype would still apply. */
10658 char dlopen ();
10660 main ()
10662 dlopen ();
10664 return 0;
10666 _ACEOF
10667 rm -f conftest.$ac_objext conftest$ac_exeext
10668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10669 (eval $ac_link) 2>conftest.er1
10670 ac_status=$?
10671 grep -v '^ *+' conftest.er1 >conftest.err
10672 rm -f conftest.er1
10673 cat conftest.err >&5
10674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675 (exit $ac_status); } &&
10676 { ac_try='test -z "$ac_c_werror_flag"
10677 || test ! -s conftest.err'
10678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10679 (eval $ac_try) 2>&5
10680 ac_status=$?
10681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10682 (exit $ac_status); }; } &&
10683 { ac_try='test -s conftest$ac_exeext'
10684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10685 (eval $ac_try) 2>&5
10686 ac_status=$?
10687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10688 (exit $ac_status); }; }; then
10689 ac_cv_lib_dl_dlopen=yes
10690 else
10691 echo "$as_me: failed program was:" >&5
10692 sed 's/^/| /' conftest.$ac_ext >&5
10694 ac_cv_lib_dl_dlopen=no
10696 rm -f conftest.err conftest.$ac_objext \
10697 conftest$ac_exeext conftest.$ac_ext
10698 LIBS=$ac_check_lib_save_LIBS
10700 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10701 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10702 if test $ac_cv_lib_dl_dlopen = yes; then
10703 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10704 else
10706 lt_cv_dlopen="dyld"
10707 lt_cv_dlopen_libs=
10708 lt_cv_dlopen_self=yes
10715 echo "$as_me:$LINENO: checking for shl_load" >&5
10716 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10717 if test "${ac_cv_func_shl_load+set}" = set; then
10718 echo $ECHO_N "(cached) $ECHO_C" >&6
10719 else
10720 if test x$gcc_no_link = xyes; then
10721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10723 { (exit 1); exit 1; }; }
10725 cat >conftest.$ac_ext <<_ACEOF
10726 /* confdefs.h. */
10727 _ACEOF
10728 cat confdefs.h >>conftest.$ac_ext
10729 cat >>conftest.$ac_ext <<_ACEOF
10730 /* end confdefs.h. */
10731 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10733 #define shl_load innocuous_shl_load
10735 /* System header to define __stub macros and hopefully few prototypes,
10736 which can conflict with char shl_load (); below.
10737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10738 <limits.h> exists even on freestanding compilers. */
10740 #ifdef __STDC__
10741 # include <limits.h>
10742 #else
10743 # include <assert.h>
10744 #endif
10746 #undef shl_load
10748 /* Override any gcc2 internal prototype to avoid an error. */
10749 #ifdef __cplusplus
10750 extern "C"
10752 #endif
10753 /* We use char because int might match the return type of a gcc2
10754 builtin and then its argument prototype would still apply. */
10755 char shl_load ();
10756 /* The GNU C library defines this for functions which it implements
10757 to always fail with ENOSYS. Some functions are actually named
10758 something starting with __ and the normal name is an alias. */
10759 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10760 choke me
10761 #else
10762 char (*f) () = shl_load;
10763 #endif
10764 #ifdef __cplusplus
10766 #endif
10769 main ()
10771 return f != shl_load;
10773 return 0;
10775 _ACEOF
10776 rm -f conftest.$ac_objext conftest$ac_exeext
10777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10778 (eval $ac_link) 2>conftest.er1
10779 ac_status=$?
10780 grep -v '^ *+' conftest.er1 >conftest.err
10781 rm -f conftest.er1
10782 cat conftest.err >&5
10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); } &&
10785 { ac_try='test -z "$ac_c_werror_flag"
10786 || test ! -s conftest.err'
10787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10788 (eval $ac_try) 2>&5
10789 ac_status=$?
10790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10791 (exit $ac_status); }; } &&
10792 { ac_try='test -s conftest$ac_exeext'
10793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10794 (eval $ac_try) 2>&5
10795 ac_status=$?
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); }; }; then
10798 ac_cv_func_shl_load=yes
10799 else
10800 echo "$as_me: failed program was:" >&5
10801 sed 's/^/| /' conftest.$ac_ext >&5
10803 ac_cv_func_shl_load=no
10805 rm -f conftest.err conftest.$ac_objext \
10806 conftest$ac_exeext conftest.$ac_ext
10808 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10809 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10810 if test $ac_cv_func_shl_load = yes; then
10811 lt_cv_dlopen="shl_load"
10812 else
10813 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10814 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10815 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10816 echo $ECHO_N "(cached) $ECHO_C" >&6
10817 else
10818 ac_check_lib_save_LIBS=$LIBS
10819 LIBS="-ldld $LIBS"
10820 if test x$gcc_no_link = xyes; then
10821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10823 { (exit 1); exit 1; }; }
10825 cat >conftest.$ac_ext <<_ACEOF
10826 /* confdefs.h. */
10827 _ACEOF
10828 cat confdefs.h >>conftest.$ac_ext
10829 cat >>conftest.$ac_ext <<_ACEOF
10830 /* end confdefs.h. */
10832 /* Override any gcc2 internal prototype to avoid an error. */
10833 #ifdef __cplusplus
10834 extern "C"
10835 #endif
10836 /* We use char because int might match the return type of a gcc2
10837 builtin and then its argument prototype would still apply. */
10838 char shl_load ();
10840 main ()
10842 shl_load ();
10844 return 0;
10846 _ACEOF
10847 rm -f conftest.$ac_objext conftest$ac_exeext
10848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10849 (eval $ac_link) 2>conftest.er1
10850 ac_status=$?
10851 grep -v '^ *+' conftest.er1 >conftest.err
10852 rm -f conftest.er1
10853 cat conftest.err >&5
10854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855 (exit $ac_status); } &&
10856 { ac_try='test -z "$ac_c_werror_flag"
10857 || test ! -s conftest.err'
10858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10859 (eval $ac_try) 2>&5
10860 ac_status=$?
10861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862 (exit $ac_status); }; } &&
10863 { ac_try='test -s conftest$ac_exeext'
10864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10865 (eval $ac_try) 2>&5
10866 ac_status=$?
10867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868 (exit $ac_status); }; }; then
10869 ac_cv_lib_dld_shl_load=yes
10870 else
10871 echo "$as_me: failed program was:" >&5
10872 sed 's/^/| /' conftest.$ac_ext >&5
10874 ac_cv_lib_dld_shl_load=no
10876 rm -f conftest.err conftest.$ac_objext \
10877 conftest$ac_exeext conftest.$ac_ext
10878 LIBS=$ac_check_lib_save_LIBS
10880 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10881 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10882 if test $ac_cv_lib_dld_shl_load = yes; then
10883 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10884 else
10885 echo "$as_me:$LINENO: checking for dlopen" >&5
10886 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10887 if test "${ac_cv_func_dlopen+set}" = set; then
10888 echo $ECHO_N "(cached) $ECHO_C" >&6
10889 else
10890 if test x$gcc_no_link = xyes; then
10891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10893 { (exit 1); exit 1; }; }
10895 cat >conftest.$ac_ext <<_ACEOF
10896 /* confdefs.h. */
10897 _ACEOF
10898 cat confdefs.h >>conftest.$ac_ext
10899 cat >>conftest.$ac_ext <<_ACEOF
10900 /* end confdefs.h. */
10901 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10903 #define dlopen innocuous_dlopen
10905 /* System header to define __stub macros and hopefully few prototypes,
10906 which can conflict with char dlopen (); below.
10907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10908 <limits.h> exists even on freestanding compilers. */
10910 #ifdef __STDC__
10911 # include <limits.h>
10912 #else
10913 # include <assert.h>
10914 #endif
10916 #undef dlopen
10918 /* Override any gcc2 internal prototype to avoid an error. */
10919 #ifdef __cplusplus
10920 extern "C"
10922 #endif
10923 /* We use char because int might match the return type of a gcc2
10924 builtin and then its argument prototype would still apply. */
10925 char dlopen ();
10926 /* The GNU C library defines this for functions which it implements
10927 to always fail with ENOSYS. Some functions are actually named
10928 something starting with __ and the normal name is an alias. */
10929 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10930 choke me
10931 #else
10932 char (*f) () = dlopen;
10933 #endif
10934 #ifdef __cplusplus
10936 #endif
10939 main ()
10941 return f != dlopen;
10943 return 0;
10945 _ACEOF
10946 rm -f conftest.$ac_objext conftest$ac_exeext
10947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10948 (eval $ac_link) 2>conftest.er1
10949 ac_status=$?
10950 grep -v '^ *+' conftest.er1 >conftest.err
10951 rm -f conftest.er1
10952 cat conftest.err >&5
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); } &&
10955 { ac_try='test -z "$ac_c_werror_flag"
10956 || test ! -s conftest.err'
10957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10958 (eval $ac_try) 2>&5
10959 ac_status=$?
10960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10961 (exit $ac_status); }; } &&
10962 { ac_try='test -s conftest$ac_exeext'
10963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10964 (eval $ac_try) 2>&5
10965 ac_status=$?
10966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); }; }; then
10968 ac_cv_func_dlopen=yes
10969 else
10970 echo "$as_me: failed program was:" >&5
10971 sed 's/^/| /' conftest.$ac_ext >&5
10973 ac_cv_func_dlopen=no
10975 rm -f conftest.err conftest.$ac_objext \
10976 conftest$ac_exeext conftest.$ac_ext
10978 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10979 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10980 if test $ac_cv_func_dlopen = yes; then
10981 lt_cv_dlopen="dlopen"
10982 else
10983 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10984 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10985 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10986 echo $ECHO_N "(cached) $ECHO_C" >&6
10987 else
10988 ac_check_lib_save_LIBS=$LIBS
10989 LIBS="-ldl $LIBS"
10990 if test x$gcc_no_link = xyes; then
10991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10993 { (exit 1); exit 1; }; }
10995 cat >conftest.$ac_ext <<_ACEOF
10996 /* confdefs.h. */
10997 _ACEOF
10998 cat confdefs.h >>conftest.$ac_ext
10999 cat >>conftest.$ac_ext <<_ACEOF
11000 /* end confdefs.h. */
11002 /* Override any gcc2 internal prototype to avoid an error. */
11003 #ifdef __cplusplus
11004 extern "C"
11005 #endif
11006 /* We use char because int might match the return type of a gcc2
11007 builtin and then its argument prototype would still apply. */
11008 char dlopen ();
11010 main ()
11012 dlopen ();
11014 return 0;
11016 _ACEOF
11017 rm -f conftest.$ac_objext conftest$ac_exeext
11018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11019 (eval $ac_link) 2>conftest.er1
11020 ac_status=$?
11021 grep -v '^ *+' conftest.er1 >conftest.err
11022 rm -f conftest.er1
11023 cat conftest.err >&5
11024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025 (exit $ac_status); } &&
11026 { ac_try='test -z "$ac_c_werror_flag"
11027 || test ! -s conftest.err'
11028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11029 (eval $ac_try) 2>&5
11030 ac_status=$?
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); }; } &&
11033 { ac_try='test -s conftest$ac_exeext'
11034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11035 (eval $ac_try) 2>&5
11036 ac_status=$?
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); }; }; then
11039 ac_cv_lib_dl_dlopen=yes
11040 else
11041 echo "$as_me: failed program was:" >&5
11042 sed 's/^/| /' conftest.$ac_ext >&5
11044 ac_cv_lib_dl_dlopen=no
11046 rm -f conftest.err conftest.$ac_objext \
11047 conftest$ac_exeext conftest.$ac_ext
11048 LIBS=$ac_check_lib_save_LIBS
11050 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11051 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11052 if test $ac_cv_lib_dl_dlopen = yes; then
11053 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11054 else
11055 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11056 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11057 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11058 echo $ECHO_N "(cached) $ECHO_C" >&6
11059 else
11060 ac_check_lib_save_LIBS=$LIBS
11061 LIBS="-lsvld $LIBS"
11062 if test x$gcc_no_link = xyes; then
11063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11065 { (exit 1); exit 1; }; }
11067 cat >conftest.$ac_ext <<_ACEOF
11068 /* confdefs.h. */
11069 _ACEOF
11070 cat confdefs.h >>conftest.$ac_ext
11071 cat >>conftest.$ac_ext <<_ACEOF
11072 /* end confdefs.h. */
11074 /* Override any gcc2 internal prototype to avoid an error. */
11075 #ifdef __cplusplus
11076 extern "C"
11077 #endif
11078 /* We use char because int might match the return type of a gcc2
11079 builtin and then its argument prototype would still apply. */
11080 char dlopen ();
11082 main ()
11084 dlopen ();
11086 return 0;
11088 _ACEOF
11089 rm -f conftest.$ac_objext conftest$ac_exeext
11090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11091 (eval $ac_link) 2>conftest.er1
11092 ac_status=$?
11093 grep -v '^ *+' conftest.er1 >conftest.err
11094 rm -f conftest.er1
11095 cat conftest.err >&5
11096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11097 (exit $ac_status); } &&
11098 { ac_try='test -z "$ac_c_werror_flag"
11099 || test ! -s conftest.err'
11100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11101 (eval $ac_try) 2>&5
11102 ac_status=$?
11103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104 (exit $ac_status); }; } &&
11105 { ac_try='test -s conftest$ac_exeext'
11106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11107 (eval $ac_try) 2>&5
11108 ac_status=$?
11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110 (exit $ac_status); }; }; then
11111 ac_cv_lib_svld_dlopen=yes
11112 else
11113 echo "$as_me: failed program was:" >&5
11114 sed 's/^/| /' conftest.$ac_ext >&5
11116 ac_cv_lib_svld_dlopen=no
11118 rm -f conftest.err conftest.$ac_objext \
11119 conftest$ac_exeext conftest.$ac_ext
11120 LIBS=$ac_check_lib_save_LIBS
11122 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11123 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11124 if test $ac_cv_lib_svld_dlopen = yes; then
11125 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11126 else
11127 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11128 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11129 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11130 echo $ECHO_N "(cached) $ECHO_C" >&6
11131 else
11132 ac_check_lib_save_LIBS=$LIBS
11133 LIBS="-ldld $LIBS"
11134 if test x$gcc_no_link = xyes; then
11135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11137 { (exit 1); exit 1; }; }
11139 cat >conftest.$ac_ext <<_ACEOF
11140 /* confdefs.h. */
11141 _ACEOF
11142 cat confdefs.h >>conftest.$ac_ext
11143 cat >>conftest.$ac_ext <<_ACEOF
11144 /* end confdefs.h. */
11146 /* Override any gcc2 internal prototype to avoid an error. */
11147 #ifdef __cplusplus
11148 extern "C"
11149 #endif
11150 /* We use char because int might match the return type of a gcc2
11151 builtin and then its argument prototype would still apply. */
11152 char dld_link ();
11154 main ()
11156 dld_link ();
11158 return 0;
11160 _ACEOF
11161 rm -f conftest.$ac_objext conftest$ac_exeext
11162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11163 (eval $ac_link) 2>conftest.er1
11164 ac_status=$?
11165 grep -v '^ *+' conftest.er1 >conftest.err
11166 rm -f conftest.er1
11167 cat conftest.err >&5
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); } &&
11170 { ac_try='test -z "$ac_c_werror_flag"
11171 || test ! -s conftest.err'
11172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11173 (eval $ac_try) 2>&5
11174 ac_status=$?
11175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11176 (exit $ac_status); }; } &&
11177 { ac_try='test -s conftest$ac_exeext'
11178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11179 (eval $ac_try) 2>&5
11180 ac_status=$?
11181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11182 (exit $ac_status); }; }; then
11183 ac_cv_lib_dld_dld_link=yes
11184 else
11185 echo "$as_me: failed program was:" >&5
11186 sed 's/^/| /' conftest.$ac_ext >&5
11188 ac_cv_lib_dld_dld_link=no
11190 rm -f conftest.err conftest.$ac_objext \
11191 conftest$ac_exeext conftest.$ac_ext
11192 LIBS=$ac_check_lib_save_LIBS
11194 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11195 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11196 if test $ac_cv_lib_dld_dld_link = yes; then
11197 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11216 esac
11218 if test "x$lt_cv_dlopen" != xno; then
11219 enable_dlopen=yes
11220 else
11221 enable_dlopen=no
11224 case $lt_cv_dlopen in
11225 dlopen)
11226 save_CPPFLAGS="$CPPFLAGS"
11227 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11229 save_LDFLAGS="$LDFLAGS"
11230 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11232 save_LIBS="$LIBS"
11233 LIBS="$lt_cv_dlopen_libs $LIBS"
11235 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11236 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11237 if test "${lt_cv_dlopen_self+set}" = set; then
11238 echo $ECHO_N "(cached) $ECHO_C" >&6
11239 else
11240 if test "$cross_compiling" = yes; then :
11241 lt_cv_dlopen_self=cross
11242 else
11243 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11244 lt_status=$lt_dlunknown
11245 cat > conftest.$ac_ext <<_LT_EOF
11246 #line 11246 "configure"
11247 #include "confdefs.h"
11249 #if HAVE_DLFCN_H
11250 #include <dlfcn.h>
11251 #endif
11253 #include <stdio.h>
11255 #ifdef RTLD_GLOBAL
11256 # define LT_DLGLOBAL RTLD_GLOBAL
11257 #else
11258 # ifdef DL_GLOBAL
11259 # define LT_DLGLOBAL DL_GLOBAL
11260 # else
11261 # define LT_DLGLOBAL 0
11262 # endif
11263 #endif
11265 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11266 find out it does not work in some platform. */
11267 #ifndef LT_DLLAZY_OR_NOW
11268 # ifdef RTLD_LAZY
11269 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11270 # else
11271 # ifdef DL_LAZY
11272 # define LT_DLLAZY_OR_NOW DL_LAZY
11273 # else
11274 # ifdef RTLD_NOW
11275 # define LT_DLLAZY_OR_NOW RTLD_NOW
11276 # else
11277 # ifdef DL_NOW
11278 # define LT_DLLAZY_OR_NOW DL_NOW
11279 # else
11280 # define LT_DLLAZY_OR_NOW 0
11281 # endif
11282 # endif
11283 # endif
11284 # endif
11285 #endif
11287 void fnord() { int i=42;}
11288 int main ()
11290 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11291 int status = $lt_dlunknown;
11293 if (self)
11295 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11296 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11297 /* dlclose (self); */
11299 else
11300 puts (dlerror ());
11302 return status;
11304 _LT_EOF
11305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11306 (eval $ac_link) 2>&5
11307 ac_status=$?
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11310 (./conftest; exit; ) >&5 2>/dev/null
11311 lt_status=$?
11312 case x$lt_status in
11313 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11314 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11315 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11316 esac
11317 else :
11318 # compilation failed
11319 lt_cv_dlopen_self=no
11322 rm -fr conftest*
11326 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11327 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11329 if test "x$lt_cv_dlopen_self" = xyes; then
11330 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11331 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11332 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11333 if test "${lt_cv_dlopen_self_static+set}" = set; then
11334 echo $ECHO_N "(cached) $ECHO_C" >&6
11335 else
11336 if test "$cross_compiling" = yes; then :
11337 lt_cv_dlopen_self_static=cross
11338 else
11339 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11340 lt_status=$lt_dlunknown
11341 cat > conftest.$ac_ext <<_LT_EOF
11342 #line 11342 "configure"
11343 #include "confdefs.h"
11345 #if HAVE_DLFCN_H
11346 #include <dlfcn.h>
11347 #endif
11349 #include <stdio.h>
11351 #ifdef RTLD_GLOBAL
11352 # define LT_DLGLOBAL RTLD_GLOBAL
11353 #else
11354 # ifdef DL_GLOBAL
11355 # define LT_DLGLOBAL DL_GLOBAL
11356 # else
11357 # define LT_DLGLOBAL 0
11358 # endif
11359 #endif
11361 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11362 find out it does not work in some platform. */
11363 #ifndef LT_DLLAZY_OR_NOW
11364 # ifdef RTLD_LAZY
11365 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11366 # else
11367 # ifdef DL_LAZY
11368 # define LT_DLLAZY_OR_NOW DL_LAZY
11369 # else
11370 # ifdef RTLD_NOW
11371 # define LT_DLLAZY_OR_NOW RTLD_NOW
11372 # else
11373 # ifdef DL_NOW
11374 # define LT_DLLAZY_OR_NOW DL_NOW
11375 # else
11376 # define LT_DLLAZY_OR_NOW 0
11377 # endif
11378 # endif
11379 # endif
11380 # endif
11381 #endif
11383 void fnord() { int i=42;}
11384 int main ()
11386 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11387 int status = $lt_dlunknown;
11389 if (self)
11391 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11392 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11393 /* dlclose (self); */
11395 else
11396 puts (dlerror ());
11398 return status;
11400 _LT_EOF
11401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11402 (eval $ac_link) 2>&5
11403 ac_status=$?
11404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11406 (./conftest; exit; ) >&5 2>/dev/null
11407 lt_status=$?
11408 case x$lt_status in
11409 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11410 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11411 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11412 esac
11413 else :
11414 # compilation failed
11415 lt_cv_dlopen_self_static=no
11418 rm -fr conftest*
11422 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11423 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11426 CPPFLAGS="$save_CPPFLAGS"
11427 LDFLAGS="$save_LDFLAGS"
11428 LIBS="$save_LIBS"
11430 esac
11432 case $lt_cv_dlopen_self in
11433 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11434 *) enable_dlopen_self=unknown ;;
11435 esac
11437 case $lt_cv_dlopen_self_static in
11438 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11439 *) enable_dlopen_self_static=unknown ;;
11440 esac
11459 striplib=
11460 old_striplib=
11461 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11462 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11463 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11464 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11465 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11466 echo "$as_me:$LINENO: result: yes" >&5
11467 echo "${ECHO_T}yes" >&6
11468 else
11469 # FIXME - insert some real tests, host_os isn't really good enough
11470 case $host_os in
11471 darwin*)
11472 if test -n "$STRIP" ; then
11473 striplib="$STRIP -x"
11474 old_striplib="$STRIP -S"
11475 echo "$as_me:$LINENO: result: yes" >&5
11476 echo "${ECHO_T}yes" >&6
11477 else
11478 echo "$as_me:$LINENO: result: no" >&5
11479 echo "${ECHO_T}no" >&6
11483 echo "$as_me:$LINENO: result: no" >&5
11484 echo "${ECHO_T}no" >&6
11486 esac
11500 # Report which library types will actually be built
11501 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11502 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11503 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11504 echo "${ECHO_T}$can_build_shared" >&6
11506 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11507 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11508 test "$can_build_shared" = "no" && enable_shared=no
11510 # On AIX, shared libraries and static libraries use the same namespace, and
11511 # are all built from PIC.
11512 case $host_os in
11513 aix3*)
11514 test "$enable_shared" = yes && enable_static=no
11515 if test -n "$RANLIB"; then
11516 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11517 postinstall_cmds='$RANLIB $lib'
11521 aix[4-9]*)
11522 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11523 test "$enable_shared" = yes && enable_static=no
11526 esac
11527 echo "$as_me:$LINENO: result: $enable_shared" >&5
11528 echo "${ECHO_T}$enable_shared" >&6
11530 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11531 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11532 # Make sure either enable_shared or enable_static is yes.
11533 test "$enable_shared" = yes || enable_static=yes
11534 echo "$as_me:$LINENO: result: $enable_static" >&5
11535 echo "${ECHO_T}$enable_static" >&6
11541 ac_ext=c
11542 ac_cpp='$CPP $CPPFLAGS'
11543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11547 CC="$lt_save_CC"
11550 ac_ext=cc
11551 ac_cpp='$CXXCPP $CPPFLAGS'
11552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11556 archive_cmds_need_lc_CXX=no
11557 allow_undefined_flag_CXX=
11558 always_export_symbols_CXX=no
11559 archive_expsym_cmds_CXX=
11560 compiler_needs_object_CXX=no
11561 export_dynamic_flag_spec_CXX=
11562 hardcode_direct_CXX=no
11563 hardcode_direct_absolute_CXX=no
11564 hardcode_libdir_flag_spec_CXX=
11565 hardcode_libdir_flag_spec_ld_CXX=
11566 hardcode_libdir_separator_CXX=
11567 hardcode_minus_L_CXX=no
11568 hardcode_shlibpath_var_CXX=unsupported
11569 hardcode_automatic_CXX=no
11570 inherit_rpath_CXX=no
11571 module_cmds_CXX=
11572 module_expsym_cmds_CXX=
11573 link_all_deplibs_CXX=unknown
11574 old_archive_cmds_CXX=$old_archive_cmds
11575 no_undefined_flag_CXX=
11576 whole_archive_flag_spec_CXX=
11577 enable_shared_with_static_runtimes_CXX=no
11579 # Source file extension for C++ test sources.
11580 ac_ext=cpp
11582 # Object file extension for compiled C++ test sources.
11583 objext=o
11584 objext_CXX=$objext
11586 # No sense in running all these tests if we already determined that
11587 # the CXX compiler isn't working. Some variables (like enable_shared)
11588 # are currently assumed to apply to all compilers on this platform,
11589 # and will be corrupted by setting them based on a non-working compiler.
11590 if test "$_lt_caught_CXX_error" != yes; then
11591 # Code to be used in simple compile tests
11592 lt_simple_compile_test_code="int some_variable = 0;"
11594 # Code to be used in simple link tests
11595 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11597 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11604 # If no C compiler was specified, use CC.
11605 LTCC=${LTCC-"$CC"}
11607 # If no C compiler flags were specified, use CFLAGS.
11608 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11610 # Allow CC to be a program name with arguments.
11611 compiler=$CC
11614 # save warnings/boilerplate of simple test code
11615 ac_outfile=conftest.$ac_objext
11616 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11617 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11618 _lt_compiler_boilerplate=`cat conftest.err`
11619 $RM conftest*
11621 ac_outfile=conftest.$ac_objext
11622 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11623 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11624 _lt_linker_boilerplate=`cat conftest.err`
11625 $RM -r conftest*
11628 # Allow CC to be a program name with arguments.
11629 lt_save_CC=$CC
11630 lt_save_LD=$LD
11631 lt_save_GCC=$GCC
11632 GCC=$GXX
11633 lt_save_with_gnu_ld=$with_gnu_ld
11634 lt_save_path_LD=$lt_cv_path_LD
11635 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11636 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11637 else
11638 $as_unset lt_cv_prog_gnu_ld
11640 if test -n "${lt_cv_path_LDCXX+set}"; then
11641 lt_cv_path_LD=$lt_cv_path_LDCXX
11642 else
11643 $as_unset lt_cv_path_LD
11645 test -z "${LDCXX+set}" || LD=$LDCXX
11646 CC=${CXX-"c++"}
11647 compiler=$CC
11648 compiler_CXX=$CC
11649 for cc_temp in $compiler""; do
11650 case $cc_temp in
11651 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11652 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11653 \-*) ;;
11654 *) break;;
11655 esac
11656 done
11657 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11660 if test -n "$compiler"; then
11661 # We don't want -fno-exception when compiling C++ code, so set the
11662 # no_builtin_flag separately
11663 if test "$GXX" = yes; then
11664 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11665 else
11666 lt_prog_compiler_no_builtin_flag_CXX=
11669 if test "$GXX" = yes; then
11670 # Set up default GNU C++ configuration
11674 # Check whether --with-gnu-ld or --without-gnu-ld was given.
11675 if test "${with_gnu_ld+set}" = set; then
11676 withval="$with_gnu_ld"
11677 test "$withval" = no || with_gnu_ld=yes
11678 else
11679 with_gnu_ld=no
11681 ac_prog=ld
11682 if test "$GCC" = yes; then
11683 # Check if gcc -print-prog-name=ld gives a path.
11684 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11685 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
11686 case $host in
11687 *-*-mingw*)
11688 # gcc leaves a trailing carriage return which upsets mingw
11689 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11691 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11692 esac
11693 case $ac_prog in
11694 # Accept absolute paths.
11695 [\\/]* | ?:[\\/]*)
11696 re_direlt='/[^/][^/]*/\.\./'
11697 # Canonicalize the pathname of ld
11698 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11699 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11700 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11701 done
11702 test -z "$LD" && LD="$ac_prog"
11705 # If it fails, then pretend we aren't using GCC.
11706 ac_prog=ld
11709 # If it is relative, then search for the first ld in PATH.
11710 with_gnu_ld=unknown
11712 esac
11713 elif test "$with_gnu_ld" = yes; then
11714 echo "$as_me:$LINENO: checking for GNU ld" >&5
11715 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11716 else
11717 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11718 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11720 if test "${lt_cv_path_LD+set}" = set; then
11721 echo $ECHO_N "(cached) $ECHO_C" >&6
11722 else
11723 if test -z "$LD"; then
11724 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11725 for ac_dir in $PATH; do
11726 IFS="$lt_save_ifs"
11727 test -z "$ac_dir" && ac_dir=.
11728 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11729 lt_cv_path_LD="$ac_dir/$ac_prog"
11730 # Check to see if the program is GNU ld. I'd rather use --version,
11731 # but apparently some variants of GNU ld only accept -v.
11732 # Break only if it was the GNU/non-GNU ld that we prefer.
11733 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11734 *GNU* | *'with BFD'*)
11735 test "$with_gnu_ld" != no && break
11738 test "$with_gnu_ld" != yes && break
11740 esac
11742 done
11743 IFS="$lt_save_ifs"
11744 else
11745 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11749 LD="$lt_cv_path_LD"
11750 if test -n "$LD"; then
11751 echo "$as_me:$LINENO: result: $LD" >&5
11752 echo "${ECHO_T}$LD" >&6
11753 else
11754 echo "$as_me:$LINENO: result: no" >&5
11755 echo "${ECHO_T}no" >&6
11757 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11758 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11759 { (exit 1); exit 1; }; }
11760 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11761 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11762 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11763 echo $ECHO_N "(cached) $ECHO_C" >&6
11764 else
11765 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11766 case `$LD -v 2>&1 </dev/null` in
11767 *GNU* | *'with BFD'*)
11768 lt_cv_prog_gnu_ld=yes
11771 lt_cv_prog_gnu_ld=no
11773 esac
11775 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11776 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11777 with_gnu_ld=$lt_cv_prog_gnu_ld
11785 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11786 # archiving commands below assume that GNU ld is being used.
11787 if test "$with_gnu_ld" = yes; then
11788 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11789 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'
11791 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11792 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11794 # If archive_cmds runs LD, not CC, wlarc should be empty
11795 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11796 # investigate it a little bit more. (MM)
11797 wlarc='${wl}'
11799 # ancient GNU ld didn't support --whole-archive et. al.
11800 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11801 $GREP 'no-whole-archive' > /dev/null; then
11802 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11803 else
11804 whole_archive_flag_spec_CXX=
11806 else
11807 with_gnu_ld=no
11808 wlarc=
11810 # A generic and very simple default shared library creation
11811 # command for GNU C++ for the case where it uses the native
11812 # linker, instead of GNU ld. If possible, this setting should
11813 # overridden to take advantage of the native linker features on
11814 # the platform it is being used on.
11815 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11818 # Commands to make compiler produce verbose output that lists
11819 # what "hidden" libraries, object files and flags are used when
11820 # linking a shared library.
11821 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11823 else
11824 GXX=no
11825 with_gnu_ld=no
11826 wlarc=
11829 # PORTME: fill in a description of your system's C++ link characteristics
11830 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11831 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11832 ld_shlibs_CXX=yes
11833 case $host_os in
11834 aix3*)
11835 # FIXME: insert proper C++ library support
11836 ld_shlibs_CXX=no
11838 aix[4-9]*)
11839 if test "$host_cpu" = ia64; then
11840 # On IA64, the linker does run time linking by default, so we don't
11841 # have to do anything special.
11842 aix_use_runtimelinking=no
11843 exp_sym_flag='-Bexport'
11844 no_entry_flag=""
11845 else
11846 aix_use_runtimelinking=no
11848 # Test if we are trying to use run time linking or normal
11849 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11850 # need to do runtime linking.
11851 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11852 for ld_flag in $LDFLAGS; do
11853 case $ld_flag in
11854 *-brtl*)
11855 aix_use_runtimelinking=yes
11856 break
11858 esac
11859 done
11861 esac
11863 exp_sym_flag='-bexport'
11864 no_entry_flag='-bnoentry'
11867 # When large executables or shared objects are built, AIX ld can
11868 # have problems creating the table of contents. If linking a library
11869 # or program results in "error TOC overflow" add -mminimal-toc to
11870 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11871 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11873 archive_cmds_CXX=''
11874 hardcode_direct_CXX=yes
11875 hardcode_direct_absolute_CXX=yes
11876 hardcode_libdir_separator_CXX=':'
11877 link_all_deplibs_CXX=yes
11878 file_list_spec_CXX='${wl}-f,'
11880 if test "$GXX" = yes; then
11881 case $host_os in aix4.[012]|aix4.[012].*)
11882 # We only want to do this on AIX 4.2 and lower, the check
11883 # below for broken collect2 doesn't work under 4.3+
11884 collect2name=`${CC} -print-prog-name=collect2`
11885 if test -f "$collect2name" &&
11886 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11887 then
11888 # We have reworked collect2
11890 else
11891 # We have old collect2
11892 hardcode_direct_CXX=unsupported
11893 # It fails to find uninstalled libraries when the uninstalled
11894 # path is not listed in the libpath. Setting hardcode_minus_L
11895 # to unsupported forces relinking
11896 hardcode_minus_L_CXX=yes
11897 hardcode_libdir_flag_spec_CXX='-L$libdir'
11898 hardcode_libdir_separator_CXX=
11900 esac
11901 shared_flag='-shared'
11902 if test "$aix_use_runtimelinking" = yes; then
11903 shared_flag="$shared_flag "'${wl}-G'
11905 else
11906 # not using gcc
11907 if test "$host_cpu" = ia64; then
11908 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11909 # chokes on -Wl,-G. The following line is correct:
11910 shared_flag='-G'
11911 else
11912 if test "$aix_use_runtimelinking" = yes; then
11913 shared_flag='${wl}-G'
11914 else
11915 shared_flag='${wl}-bM:SRE'
11920 export_dynamic_flag_spec_CXX='${wl}-bexpall'
11921 # It seems that -bexpall does not export symbols beginning with
11922 # underscore (_), so it is better to generate a list of symbols to
11923 # export.
11924 always_export_symbols_CXX=yes
11925 if test "$aix_use_runtimelinking" = yes; then
11926 # Warning - without using the other runtime loading flags (-brtl),
11927 # -berok will link without error, but may produce a broken library.
11928 allow_undefined_flag_CXX='-berok'
11929 # Determine the default libpath from the value encoded in an empty
11930 # executable.
11931 if test x$gcc_no_link = xyes; then
11932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11934 { (exit 1); exit 1; }; }
11936 cat >conftest.$ac_ext <<_ACEOF
11937 /* confdefs.h. */
11938 _ACEOF
11939 cat confdefs.h >>conftest.$ac_ext
11940 cat >>conftest.$ac_ext <<_ACEOF
11941 /* end confdefs.h. */
11944 main ()
11948 return 0;
11950 _ACEOF
11951 rm -f conftest.$ac_objext conftest$ac_exeext
11952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11953 (eval $ac_link) 2>conftest.er1
11954 ac_status=$?
11955 grep -v '^ *+' conftest.er1 >conftest.err
11956 rm -f conftest.er1
11957 cat conftest.err >&5
11958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); } &&
11960 { ac_try='test -z "$ac_cxx_werror_flag"
11961 || test ! -s conftest.err'
11962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11963 (eval $ac_try) 2>&5
11964 ac_status=$?
11965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11966 (exit $ac_status); }; } &&
11967 { ac_try='test -s conftest$ac_exeext'
11968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11969 (eval $ac_try) 2>&5
11970 ac_status=$?
11971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972 (exit $ac_status); }; }; then
11974 lt_aix_libpath_sed='
11975 /Import File Strings/,/^$/ {
11976 /^0/ {
11977 s/^0 *\(.*\)$/\1/
11981 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11982 # Check for a 64-bit object if we didn't find anything.
11983 if test -z "$aix_libpath"; then
11984 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11986 else
11987 echo "$as_me: failed program was:" >&5
11988 sed 's/^/| /' conftest.$ac_ext >&5
11991 rm -f conftest.err conftest.$ac_objext \
11992 conftest$ac_exeext conftest.$ac_ext
11993 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11995 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11997 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"
11998 else
11999 if test "$host_cpu" = ia64; then
12000 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12001 allow_undefined_flag_CXX="-z nodefs"
12002 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"
12003 else
12004 # Determine the default libpath from the value encoded in an
12005 # empty executable.
12006 if test x$gcc_no_link = xyes; then
12007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12009 { (exit 1); exit 1; }; }
12011 cat >conftest.$ac_ext <<_ACEOF
12012 /* confdefs.h. */
12013 _ACEOF
12014 cat confdefs.h >>conftest.$ac_ext
12015 cat >>conftest.$ac_ext <<_ACEOF
12016 /* end confdefs.h. */
12019 main ()
12023 return 0;
12025 _ACEOF
12026 rm -f conftest.$ac_objext conftest$ac_exeext
12027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12028 (eval $ac_link) 2>conftest.er1
12029 ac_status=$?
12030 grep -v '^ *+' conftest.er1 >conftest.err
12031 rm -f conftest.er1
12032 cat conftest.err >&5
12033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12034 (exit $ac_status); } &&
12035 { ac_try='test -z "$ac_cxx_werror_flag"
12036 || test ! -s conftest.err'
12037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12038 (eval $ac_try) 2>&5
12039 ac_status=$?
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); }; } &&
12042 { ac_try='test -s conftest$ac_exeext'
12043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12044 (eval $ac_try) 2>&5
12045 ac_status=$?
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); }; }; then
12049 lt_aix_libpath_sed='
12050 /Import File Strings/,/^$/ {
12051 /^0/ {
12052 s/^0 *\(.*\)$/\1/
12056 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12057 # Check for a 64-bit object if we didn't find anything.
12058 if test -z "$aix_libpath"; then
12059 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12061 else
12062 echo "$as_me: failed program was:" >&5
12063 sed 's/^/| /' conftest.$ac_ext >&5
12066 rm -f conftest.err conftest.$ac_objext \
12067 conftest$ac_exeext conftest.$ac_ext
12068 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12070 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12071 # Warning - without using the other run time loading flags,
12072 # -berok will link without error, but may produce a broken library.
12073 no_undefined_flag_CXX=' ${wl}-bernotok'
12074 allow_undefined_flag_CXX=' ${wl}-berok'
12075 # Exported symbols can be pulled into shared objects from archives
12076 whole_archive_flag_spec_CXX='$convenience'
12077 archive_cmds_need_lc_CXX=yes
12078 # This is similar to how AIX traditionally builds its shared
12079 # libraries.
12080 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'
12085 beos*)
12086 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12087 allow_undefined_flag_CXX=unsupported
12088 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12089 # support --undefined. This deserves some investigation. FIXME
12090 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12091 else
12092 ld_shlibs_CXX=no
12096 chorus*)
12097 case $cc_basename in
12099 # FIXME: insert proper C++ library support
12100 ld_shlibs_CXX=no
12102 esac
12105 cygwin* | mingw* | pw32* | cegcc*)
12106 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12107 # as there is no search path for DLLs.
12108 hardcode_libdir_flag_spec_CXX='-L$libdir'
12109 allow_undefined_flag_CXX=unsupported
12110 always_export_symbols_CXX=no
12111 enable_shared_with_static_runtimes_CXX=yes
12113 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12114 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'
12115 # If the export-symbols file already is a .def file (1st line
12116 # is EXPORTS), use it as is; otherwise, prepend...
12117 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12118 cp $export_symbols $output_objdir/$soname.def;
12119 else
12120 echo EXPORTS > $output_objdir/$soname.def;
12121 cat $export_symbols >> $output_objdir/$soname.def;
12123 $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'
12124 else
12125 ld_shlibs_CXX=no
12128 darwin* | rhapsody*)
12131 archive_cmds_need_lc_CXX=no
12132 hardcode_direct_CXX=no
12133 hardcode_automatic_CXX=yes
12134 hardcode_shlibpath_var_CXX=unsupported
12135 whole_archive_flag_spec_CXX=''
12136 link_all_deplibs_CXX=yes
12137 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12138 case $cc_basename in
12139 ifort*) _lt_dar_can_shared=yes ;;
12140 *) _lt_dar_can_shared=$GCC ;;
12141 esac
12142 if test "$_lt_dar_can_shared" = "yes"; then
12143 output_verbose_link_cmd=echo
12144 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12145 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12146 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12147 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12148 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12149 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12150 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12153 else
12154 ld_shlibs_CXX=no
12159 dgux*)
12160 case $cc_basename in
12161 ec++*)
12162 # FIXME: insert proper C++ library support
12163 ld_shlibs_CXX=no
12165 ghcx*)
12166 # Green Hills C++ Compiler
12167 # FIXME: insert proper C++ library support
12168 ld_shlibs_CXX=no
12171 # FIXME: insert proper C++ library support
12172 ld_shlibs_CXX=no
12174 esac
12177 freebsd[12]*)
12178 # C++ shared libraries reported to be fairly broken before
12179 # switch to ELF
12180 ld_shlibs_CXX=no
12183 freebsd-elf*)
12184 archive_cmds_need_lc_CXX=no
12187 freebsd* | dragonfly*)
12188 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12189 # conventions
12190 ld_shlibs_CXX=yes
12193 gnu*)
12196 hpux9*)
12197 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12198 hardcode_libdir_separator_CXX=:
12199 export_dynamic_flag_spec_CXX='${wl}-E'
12200 hardcode_direct_CXX=yes
12201 hardcode_minus_L_CXX=yes # Not in the search PATH,
12202 # but as the default
12203 # location of the library.
12205 case $cc_basename in
12206 CC*)
12207 # FIXME: insert proper C++ library support
12208 ld_shlibs_CXX=no
12210 aCC*)
12211 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'
12212 # Commands to make compiler produce verbose output that lists
12213 # what "hidden" libraries, object files and flags are used when
12214 # linking a shared library.
12216 # There doesn't appear to be a way to prevent this compiler from
12217 # explicitly linking system object files so we need to strip them
12218 # from the output so that they don't get included in the library
12219 # dependencies.
12220 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'
12223 if test "$GXX" = yes; then
12224 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'
12225 else
12226 # FIXME: insert proper C++ library support
12227 ld_shlibs_CXX=no
12230 esac
12233 hpux10*|hpux11*)
12234 if test $with_gnu_ld = no; then
12235 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12236 hardcode_libdir_separator_CXX=:
12238 case $host_cpu in
12239 hppa*64*|ia64*)
12242 export_dynamic_flag_spec_CXX='${wl}-E'
12244 esac
12246 case $host_cpu in
12247 hppa*64*|ia64*)
12248 hardcode_direct_CXX=no
12249 hardcode_shlibpath_var_CXX=no
12252 hardcode_direct_CXX=yes
12253 hardcode_direct_absolute_CXX=yes
12254 hardcode_minus_L_CXX=yes # Not in the search PATH,
12255 # but as the default
12256 # location of the library.
12258 esac
12260 case $cc_basename in
12261 CC*)
12262 # FIXME: insert proper C++ library support
12263 ld_shlibs_CXX=no
12265 aCC*)
12266 case $host_cpu in
12267 hppa*64*)
12268 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12270 ia64*)
12271 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12274 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12276 esac
12277 # Commands to make compiler produce verbose output that lists
12278 # what "hidden" libraries, object files and flags are used when
12279 # linking a shared library.
12281 # There doesn't appear to be a way to prevent this compiler from
12282 # explicitly linking system object files so we need to strip them
12283 # from the output so that they don't get included in the library
12284 # dependencies.
12285 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'
12288 if test "$GXX" = yes; then
12289 if test $with_gnu_ld = no; then
12290 case $host_cpu in
12291 hppa*64*)
12292 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12294 ia64*)
12295 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12298 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'
12300 esac
12302 else
12303 # FIXME: insert proper C++ library support
12304 ld_shlibs_CXX=no
12307 esac
12310 interix[3-9]*)
12311 hardcode_direct_CXX=no
12312 hardcode_shlibpath_var_CXX=no
12313 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12314 export_dynamic_flag_spec_CXX='${wl}-E'
12315 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12316 # Instead, shared libraries are loaded at an image base (0x10000000 by
12317 # default) and relocated if they conflict, which is a slow very memory
12318 # consuming and fragmenting process. To avoid this, we pick a random,
12319 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12320 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12321 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'
12322 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'
12324 irix5* | irix6*)
12325 case $cc_basename in
12326 CC*)
12327 # SGI C++
12328 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'
12330 # Archives containing C++ object files must be created using
12331 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12332 # necessary to make sure instantiated templates are included
12333 # in the archive.
12334 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12337 if test "$GXX" = yes; then
12338 if test "$with_gnu_ld" = no; then
12339 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'
12340 else
12341 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'
12344 link_all_deplibs_CXX=yes
12346 esac
12347 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12348 hardcode_libdir_separator_CXX=:
12349 inherit_rpath_CXX=yes
12352 linux* | k*bsd*-gnu)
12353 case $cc_basename in
12354 KCC*)
12355 # Kuck and Associates, Inc. (KAI) C++ Compiler
12357 # KCC will only create a shared library if the output file
12358 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12359 # to its proper name (with version) after linking.
12360 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'
12361 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'
12362 # Commands to make compiler produce verbose output that lists
12363 # what "hidden" libraries, object files and flags are used when
12364 # linking a shared library.
12366 # There doesn't appear to be a way to prevent this compiler from
12367 # explicitly linking system object files so we need to strip them
12368 # from the output so that they don't get included in the library
12369 # dependencies.
12370 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'
12372 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12373 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12375 # Archives containing C++ object files must be created using
12376 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12377 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12379 icpc* | ecpc* )
12380 # Intel C++
12381 with_gnu_ld=yes
12382 # version 8.0 and above of icpc choke on multiply defined symbols
12383 # if we add $predep_objects and $postdep_objects, however 7.1 and
12384 # earlier do not add the objects themselves.
12385 case `$CC -V 2>&1` in
12386 *"Version 7."*)
12387 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12388 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'
12390 *) # Version 8.0 or newer
12391 tmp_idyn=
12392 case $host_cpu in
12393 ia64*) tmp_idyn=' -i_dynamic';;
12394 esac
12395 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12396 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'
12398 esac
12399 archive_cmds_need_lc_CXX=no
12400 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12401 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12402 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12404 pgCC* | pgcpp*)
12405 # Portland Group C++ compiler
12406 case `$CC -V` in
12407 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12408 prelink_cmds_CXX='tpldir=Template.dir~
12409 rm -rf $tpldir~
12410 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12411 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12412 old_archive_cmds_CXX='tpldir=Template.dir~
12413 rm -rf $tpldir~
12414 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12415 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12416 $RANLIB $oldlib'
12417 archive_cmds_CXX='tpldir=Template.dir~
12418 rm -rf $tpldir~
12419 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12420 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12421 archive_expsym_cmds_CXX='tpldir=Template.dir~
12422 rm -rf $tpldir~
12423 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12424 $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'
12426 *) # Version 6 will use weak symbols
12427 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12428 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'
12430 esac
12432 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12433 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12434 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'
12436 cxx*)
12437 # Compaq C++
12438 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12439 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'
12441 runpath_var=LD_RUN_PATH
12442 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12443 hardcode_libdir_separator_CXX=:
12445 # Commands to make compiler produce verbose output that lists
12446 # what "hidden" libraries, object files and flags are used when
12447 # linking a shared library.
12449 # There doesn't appear to be a way to prevent this compiler from
12450 # explicitly linking system object files so we need to strip them
12451 # from the output so that they don't get included in the library
12452 # dependencies.
12453 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'
12455 xl*)
12456 # IBM XL 8.0 on PPC, with GNU ld
12457 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12458 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12459 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12460 if test "x$supports_anon_versioning" = xyes; then
12461 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12462 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12463 echo "local: *; };" >> $output_objdir/$libname.ver~
12464 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12468 case `$CC -V 2>&1 | sed 5q` in
12469 *Sun\ C*)
12470 # Sun C++ 5.9
12471 no_undefined_flag_CXX=' -zdefs'
12472 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12473 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'
12474 hardcode_libdir_flag_spec_CXX='-R$libdir'
12475 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'
12476 compiler_needs_object_CXX=yes
12478 # Not sure whether something based on
12479 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12480 # would be better.
12481 output_verbose_link_cmd='echo'
12483 # Archives containing C++ object files must be created using
12484 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12485 # necessary to make sure instantiated templates are included
12486 # in the archive.
12487 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12489 esac
12491 esac
12494 lynxos*)
12495 # FIXME: insert proper C++ library support
12496 ld_shlibs_CXX=no
12499 m88k*)
12500 # FIXME: insert proper C++ library support
12501 ld_shlibs_CXX=no
12504 mvs*)
12505 case $cc_basename in
12506 cxx*)
12507 # FIXME: insert proper C++ library support
12508 ld_shlibs_CXX=no
12511 # FIXME: insert proper C++ library support
12512 ld_shlibs_CXX=no
12514 esac
12517 netbsd*)
12518 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12519 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12520 wlarc=
12521 hardcode_libdir_flag_spec_CXX='-R$libdir'
12522 hardcode_direct_CXX=yes
12523 hardcode_shlibpath_var_CXX=no
12525 # Workaround some broken pre-1.5 toolchains
12526 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12529 *nto* | *qnx*)
12530 ld_shlibs_CXX=yes
12533 openbsd2*)
12534 # C++ shared libraries are fairly broken
12535 ld_shlibs_CXX=no
12538 openbsd*)
12539 if test -f /usr/libexec/ld.so; then
12540 hardcode_direct_CXX=yes
12541 hardcode_shlibpath_var_CXX=no
12542 hardcode_direct_absolute_CXX=yes
12543 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12544 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12545 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12546 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12547 export_dynamic_flag_spec_CXX='${wl}-E'
12548 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12550 output_verbose_link_cmd=echo
12551 else
12552 ld_shlibs_CXX=no
12556 osf3* | osf4* | osf5*)
12557 case $cc_basename in
12558 KCC*)
12559 # Kuck and Associates, Inc. (KAI) C++ Compiler
12561 # KCC will only create a shared library if the output file
12562 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12563 # to its proper name (with version) after linking.
12564 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'
12566 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12567 hardcode_libdir_separator_CXX=:
12569 # Archives containing C++ object files must be created using
12570 # the KAI C++ compiler.
12571 case $host in
12572 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12573 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12574 esac
12576 RCC*)
12577 # Rational C++ 2.4.1
12578 # FIXME: insert proper C++ library support
12579 ld_shlibs_CXX=no
12581 cxx*)
12582 case $host in
12583 osf3*)
12584 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12585 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'
12586 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12589 allow_undefined_flag_CXX=' -expect_unresolved \*'
12590 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'
12591 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12592 echo "-hidden">> $lib.exp~
12593 $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~
12594 $RM $lib.exp'
12595 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12597 esac
12599 hardcode_libdir_separator_CXX=:
12601 # Commands to make compiler produce verbose output that lists
12602 # what "hidden" libraries, object files and flags are used when
12603 # linking a shared library.
12605 # There doesn't appear to be a way to prevent this compiler from
12606 # explicitly linking system object files so we need to strip them
12607 # from the output so that they don't get included in the library
12608 # dependencies.
12609 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'
12612 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12613 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12614 case $host in
12615 osf3*)
12616 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'
12619 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'
12621 esac
12623 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12624 hardcode_libdir_separator_CXX=:
12626 # Commands to make compiler produce verbose output that lists
12627 # what "hidden" libraries, object files and flags are used when
12628 # linking a shared library.
12629 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12631 else
12632 # FIXME: insert proper C++ library support
12633 ld_shlibs_CXX=no
12636 esac
12639 psos*)
12640 # FIXME: insert proper C++ library support
12641 ld_shlibs_CXX=no
12644 sunos4*)
12645 case $cc_basename in
12646 CC*)
12647 # Sun C++ 4.x
12648 # FIXME: insert proper C++ library support
12649 ld_shlibs_CXX=no
12651 lcc*)
12652 # Lucid
12653 # FIXME: insert proper C++ library support
12654 ld_shlibs_CXX=no
12657 # FIXME: insert proper C++ library support
12658 ld_shlibs_CXX=no
12660 esac
12663 solaris*)
12664 case $cc_basename in
12665 CC*)
12666 # Sun C++ 4.2, 5.x and Centerline C++
12667 archive_cmds_need_lc_CXX=yes
12668 no_undefined_flag_CXX=' -zdefs'
12669 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12670 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12671 $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'
12673 hardcode_libdir_flag_spec_CXX='-R$libdir'
12674 hardcode_shlibpath_var_CXX=no
12675 case $host_os in
12676 solaris2.[0-5] | solaris2.[0-5].*) ;;
12678 # The compiler driver will combine and reorder linker options,
12679 # but understands `-z linker_flag'.
12680 # Supported since Solaris 2.6 (maybe 2.5.1?)
12681 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12683 esac
12684 link_all_deplibs_CXX=yes
12686 output_verbose_link_cmd='echo'
12688 # Archives containing C++ object files must be created using
12689 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12690 # necessary to make sure instantiated templates are included
12691 # in the archive.
12692 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12694 gcx*)
12695 # Green Hills C++ Compiler
12696 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12698 # The C++ compiler must be used to create the archive.
12699 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12702 # GNU C++ compiler with Solaris linker
12703 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12704 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12705 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12706 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12707 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12708 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12710 # Commands to make compiler produce verbose output that lists
12711 # what "hidden" libraries, object files and flags are used when
12712 # linking a shared library.
12713 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12714 else
12715 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12716 # platform.
12717 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12718 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12719 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12721 # Commands to make compiler produce verbose output that lists
12722 # what "hidden" libraries, object files and flags are used when
12723 # linking a shared library.
12724 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12727 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12728 case $host_os in
12729 solaris2.[0-5] | solaris2.[0-5].*) ;;
12731 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12733 esac
12736 esac
12739 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12740 no_undefined_flag_CXX='${wl}-z,text'
12741 archive_cmds_need_lc_CXX=no
12742 hardcode_shlibpath_var_CXX=no
12743 runpath_var='LD_RUN_PATH'
12745 case $cc_basename in
12746 CC*)
12747 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12748 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12751 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12752 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12754 esac
12757 sysv5* | sco3.2v5* | sco5v6*)
12758 # Note: We can NOT use -z defs as we might desire, because we do not
12759 # link with -lc, and that would cause any symbols used from libc to
12760 # always be unresolved, which means just about no library would
12761 # ever link correctly. If we're not using GNU ld we use -z text
12762 # though, which does catch some bad symbols but isn't as heavy-handed
12763 # as -z defs.
12764 no_undefined_flag_CXX='${wl}-z,text'
12765 allow_undefined_flag_CXX='${wl}-z,nodefs'
12766 archive_cmds_need_lc_CXX=no
12767 hardcode_shlibpath_var_CXX=no
12768 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12769 hardcode_libdir_separator_CXX=':'
12770 link_all_deplibs_CXX=yes
12771 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12772 runpath_var='LD_RUN_PATH'
12774 case $cc_basename in
12775 CC*)
12776 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12777 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12780 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12781 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12783 esac
12786 tandem*)
12787 case $cc_basename in
12788 NCC*)
12789 # NonStop-UX NCC 3.20
12790 # FIXME: insert proper C++ library support
12791 ld_shlibs_CXX=no
12794 # FIXME: insert proper C++ library support
12795 ld_shlibs_CXX=no
12797 esac
12800 vxworks*)
12801 # FIXME: insert proper C++ library support
12802 ld_shlibs_CXX=no
12806 # FIXME: insert proper C++ library support
12807 ld_shlibs_CXX=no
12809 esac
12811 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12812 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12813 test "$ld_shlibs_CXX" = no && can_build_shared=no
12815 GCC_CXX="$GXX"
12816 LD_CXX="$LD"
12818 ## CAVEAT EMPTOR:
12819 ## There is no encapsulation within the following macros, do not change
12820 ## the running order or otherwise move them around unless you know exactly
12821 ## what you are doing...
12822 # Dependencies to place before and after the object being linked:
12823 predep_objects_CXX=
12824 postdep_objects_CXX=
12825 predeps_CXX=
12826 postdeps_CXX=
12827 compiler_lib_search_path_CXX=
12829 cat > conftest.$ac_ext <<_LT_EOF
12830 class Foo
12832 public:
12833 Foo (void) { a = 0; }
12834 private:
12835 int a;
12837 _LT_EOF
12839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12840 (eval $ac_compile) 2>&5
12841 ac_status=$?
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); }; then
12844 # Parse the compiler output and extract the necessary
12845 # objects, libraries and library flags.
12847 # Sentinel used to keep track of whether or not we are before
12848 # the conftest object file.
12849 pre_test_object_deps_done=no
12851 for p in `eval "$output_verbose_link_cmd"`; do
12852 case $p in
12854 -L* | -R* | -l*)
12855 # Some compilers place space between "-{L,R}" and the path.
12856 # Remove the space.
12857 if test $p = "-L" ||
12858 test $p = "-R"; then
12859 prev=$p
12860 continue
12861 else
12862 prev=
12865 if test "$pre_test_object_deps_done" = no; then
12866 case $p in
12867 -L* | -R*)
12868 # Internal compiler library paths should come after those
12869 # provided the user. The postdeps already come after the
12870 # user supplied libs so there is no need to process them.
12871 if test -z "$compiler_lib_search_path_CXX"; then
12872 compiler_lib_search_path_CXX="${prev}${p}"
12873 else
12874 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12877 # The "-l" case would never come before the object being
12878 # linked, so don't bother handling this case.
12879 esac
12880 else
12881 if test -z "$postdeps_CXX"; then
12882 postdeps_CXX="${prev}${p}"
12883 else
12884 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12889 *.$objext)
12890 # This assumes that the test object file only shows up
12891 # once in the compiler output.
12892 if test "$p" = "conftest.$objext"; then
12893 pre_test_object_deps_done=yes
12894 continue
12897 if test "$pre_test_object_deps_done" = no; then
12898 if test -z "$predep_objects_CXX"; then
12899 predep_objects_CXX="$p"
12900 else
12901 predep_objects_CXX="$predep_objects_CXX $p"
12903 else
12904 if test -z "$postdep_objects_CXX"; then
12905 postdep_objects_CXX="$p"
12906 else
12907 postdep_objects_CXX="$postdep_objects_CXX $p"
12912 *) ;; # Ignore the rest.
12914 esac
12915 done
12917 # Clean up.
12918 rm -f a.out a.exe
12919 else
12920 echo "libtool.m4: error: problem compiling CXX test program"
12923 $RM -f confest.$objext
12925 # PORTME: override above test on systems where it is broken
12926 case $host_os in
12927 interix[3-9]*)
12928 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12929 # hack all around it, let's just trust "g++" to DTRT.
12930 predep_objects_CXX=
12931 postdep_objects_CXX=
12932 postdeps_CXX=
12935 linux*)
12936 case `$CC -V 2>&1 | sed 5q` in
12937 *Sun\ C*)
12938 # Sun C++ 5.9
12940 # The more standards-conforming stlport4 library is
12941 # incompatible with the Cstd library. Avoid specifying
12942 # it if it's in CXXFLAGS. Ignore libCrun as
12943 # -library=stlport4 depends on it.
12944 case " $CXX $CXXFLAGS " in
12945 *" -library=stlport4 "*)
12946 solaris_use_stlport4=yes
12948 esac
12950 if test "$solaris_use_stlport4" != yes; then
12951 postdeps_CXX='-library=Cstd -library=Crun'
12954 esac
12957 solaris*)
12958 case $cc_basename in
12959 CC*)
12960 # The more standards-conforming stlport4 library is
12961 # incompatible with the Cstd library. Avoid specifying
12962 # it if it's in CXXFLAGS. Ignore libCrun as
12963 # -library=stlport4 depends on it.
12964 case " $CXX $CXXFLAGS " in
12965 *" -library=stlport4 "*)
12966 solaris_use_stlport4=yes
12968 esac
12970 # Adding this requires a known-good setup of shared libraries for
12971 # Sun compiler versions before 5.6, else PIC objects from an old
12972 # archive will be linked into the output, leading to subtle bugs.
12973 if test "$solaris_use_stlport4" != yes; then
12974 postdeps_CXX='-library=Cstd -library=Crun'
12977 esac
12979 esac
12982 case " $postdeps_CXX " in
12983 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12984 esac
12985 compiler_lib_search_dirs_CXX=
12986 if test -n "${compiler_lib_search_path_CXX}"; then
12987 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13020 lt_prog_compiler_wl_CXX=
13021 lt_prog_compiler_pic_CXX=
13022 lt_prog_compiler_static_CXX=
13024 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13025 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13027 # C++ specific cases for pic, static, wl, etc.
13028 if test "$GXX" = yes; then
13029 lt_prog_compiler_wl_CXX='-Wl,'
13030 lt_prog_compiler_static_CXX='-static'
13032 case $host_os in
13033 aix*)
13034 # All AIX code is PIC.
13035 if test "$host_cpu" = ia64; then
13036 # AIX 5 now supports IA64 processor
13037 lt_prog_compiler_static_CXX='-Bstatic'
13041 amigaos*)
13042 case $host_cpu in
13043 powerpc)
13044 # see comment about AmigaOS4 .so support
13045 lt_prog_compiler_pic_CXX='-fPIC'
13047 m68k)
13048 # FIXME: we need at least 68020 code to build shared libraries, but
13049 # adding the `-m68020' flag to GCC prevents building anything better,
13050 # like `-m68040'.
13051 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13053 esac
13056 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13057 # PIC is the default for these OSes.
13059 mingw* | cygwin* | os2* | pw32* | cegcc*)
13060 # This hack is so that the source file can tell whether it is being
13061 # built for inclusion in a dll (and should export symbols for example).
13062 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13063 # (--disable-auto-import) libraries
13064 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13066 darwin* | rhapsody*)
13067 # PIC is the default on this platform
13068 # Common symbols not allowed in MH_DYLIB files
13069 lt_prog_compiler_pic_CXX='-fno-common'
13071 *djgpp*)
13072 # DJGPP does not support shared libraries at all
13073 lt_prog_compiler_pic_CXX=
13075 interix[3-9]*)
13076 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13077 # Instead, we relocate shared libraries at runtime.
13079 sysv4*MP*)
13080 if test -d /usr/nec; then
13081 lt_prog_compiler_pic_CXX=-Kconform_pic
13084 hpux*)
13085 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13086 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13087 # sets the default TLS model and affects inlining.
13088 case $host_cpu in
13089 hppa*64*)
13092 lt_prog_compiler_pic_CXX='-fPIC'
13094 esac
13096 *qnx* | *nto*)
13097 # QNX uses GNU C++, but need to define -shared option too, otherwise
13098 # it will coredump.
13099 lt_prog_compiler_pic_CXX='-fPIC -shared'
13102 lt_prog_compiler_pic_CXX='-fPIC'
13104 esac
13105 else
13106 case $host_os in
13107 aix[4-9]*)
13108 # All AIX code is PIC.
13109 if test "$host_cpu" = ia64; then
13110 # AIX 5 now supports IA64 processor
13111 lt_prog_compiler_static_CXX='-Bstatic'
13112 else
13113 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13116 chorus*)
13117 case $cc_basename in
13118 cxch68*)
13119 # Green Hills C++ Compiler
13120 # _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"
13122 esac
13124 dgux*)
13125 case $cc_basename in
13126 ec++*)
13127 lt_prog_compiler_pic_CXX='-KPIC'
13129 ghcx*)
13130 # Green Hills C++ Compiler
13131 lt_prog_compiler_pic_CXX='-pic'
13135 esac
13137 freebsd* | dragonfly*)
13138 # FreeBSD uses GNU C++
13140 hpux9* | hpux10* | hpux11*)
13141 case $cc_basename in
13142 CC*)
13143 lt_prog_compiler_wl_CXX='-Wl,'
13144 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13145 if test "$host_cpu" != ia64; then
13146 lt_prog_compiler_pic_CXX='+Z'
13149 aCC*)
13150 lt_prog_compiler_wl_CXX='-Wl,'
13151 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13152 case $host_cpu in
13153 hppa*64*|ia64*)
13154 # +Z the default
13157 lt_prog_compiler_pic_CXX='+Z'
13159 esac
13163 esac
13165 interix*)
13166 # This is c89, which is MS Visual C++ (no shared libs)
13167 # Anyone wants to do a port?
13169 irix5* | irix6* | nonstopux*)
13170 case $cc_basename in
13171 CC*)
13172 lt_prog_compiler_wl_CXX='-Wl,'
13173 lt_prog_compiler_static_CXX='-non_shared'
13174 # CC pic flag -KPIC is the default.
13178 esac
13180 linux* | k*bsd*-gnu)
13181 case $cc_basename in
13182 KCC*)
13183 # KAI C++ Compiler
13184 lt_prog_compiler_wl_CXX='--backend -Wl,'
13185 lt_prog_compiler_pic_CXX='-fPIC'
13187 ecpc* )
13188 # old Intel C++ for x86_64 which still supported -KPIC.
13189 lt_prog_compiler_wl_CXX='-Wl,'
13190 lt_prog_compiler_pic_CXX='-KPIC'
13191 lt_prog_compiler_static_CXX='-static'
13193 icpc* )
13194 # Intel C++, used to be incompatible with GCC.
13195 # ICC 10 doesn't accept -KPIC any more.
13196 lt_prog_compiler_wl_CXX='-Wl,'
13197 lt_prog_compiler_pic_CXX='-fPIC'
13198 lt_prog_compiler_static_CXX='-static'
13200 pgCC* | pgcpp*)
13201 # Portland Group C++ compiler
13202 lt_prog_compiler_wl_CXX='-Wl,'
13203 lt_prog_compiler_pic_CXX='-fpic'
13204 lt_prog_compiler_static_CXX='-Bstatic'
13206 cxx*)
13207 # Compaq C++
13208 # Make sure the PIC flag is empty. It appears that all Alpha
13209 # Linux and Compaq Tru64 Unix objects are PIC.
13210 lt_prog_compiler_pic_CXX=
13211 lt_prog_compiler_static_CXX='-non_shared'
13213 xlc* | xlC*)
13214 # IBM XL 8.0 on PPC
13215 lt_prog_compiler_wl_CXX='-Wl,'
13216 lt_prog_compiler_pic_CXX='-qpic'
13217 lt_prog_compiler_static_CXX='-qstaticlink'
13220 case `$CC -V 2>&1 | sed 5q` in
13221 *Sun\ C*)
13222 # Sun C++ 5.9
13223 lt_prog_compiler_pic_CXX='-KPIC'
13224 lt_prog_compiler_static_CXX='-Bstatic'
13225 lt_prog_compiler_wl_CXX='-Qoption ld '
13227 esac
13229 esac
13231 lynxos*)
13233 m88k*)
13235 mvs*)
13236 case $cc_basename in
13237 cxx*)
13238 lt_prog_compiler_pic_CXX='-W c,exportall'
13242 esac
13244 netbsd*)
13246 *qnx* | *nto*)
13247 # QNX uses GNU C++, but need to define -shared option too, otherwise
13248 # it will coredump.
13249 lt_prog_compiler_pic_CXX='-fPIC -shared'
13251 osf3* | osf4* | osf5*)
13252 case $cc_basename in
13253 KCC*)
13254 lt_prog_compiler_wl_CXX='--backend -Wl,'
13256 RCC*)
13257 # Rational C++ 2.4.1
13258 lt_prog_compiler_pic_CXX='-pic'
13260 cxx*)
13261 # Digital/Compaq C++
13262 lt_prog_compiler_wl_CXX='-Wl,'
13263 # Make sure the PIC flag is empty. It appears that all Alpha
13264 # Linux and Compaq Tru64 Unix objects are PIC.
13265 lt_prog_compiler_pic_CXX=
13266 lt_prog_compiler_static_CXX='-non_shared'
13270 esac
13272 psos*)
13274 solaris*)
13275 case $cc_basename in
13276 CC*)
13277 # Sun C++ 4.2, 5.x and Centerline C++
13278 lt_prog_compiler_pic_CXX='-KPIC'
13279 lt_prog_compiler_static_CXX='-Bstatic'
13280 lt_prog_compiler_wl_CXX='-Qoption ld '
13282 gcx*)
13283 # Green Hills C++ Compiler
13284 lt_prog_compiler_pic_CXX='-PIC'
13288 esac
13290 sunos4*)
13291 case $cc_basename in
13292 CC*)
13293 # Sun C++ 4.x
13294 lt_prog_compiler_pic_CXX='-pic'
13295 lt_prog_compiler_static_CXX='-Bstatic'
13297 lcc*)
13298 # Lucid
13299 lt_prog_compiler_pic_CXX='-pic'
13303 esac
13305 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13306 case $cc_basename in
13307 CC*)
13308 lt_prog_compiler_wl_CXX='-Wl,'
13309 lt_prog_compiler_pic_CXX='-KPIC'
13310 lt_prog_compiler_static_CXX='-Bstatic'
13312 esac
13314 tandem*)
13315 case $cc_basename in
13316 NCC*)
13317 # NonStop-UX NCC 3.20
13318 lt_prog_compiler_pic_CXX='-KPIC'
13322 esac
13324 vxworks*)
13327 lt_prog_compiler_can_build_shared_CXX=no
13329 esac
13332 case $host_os in
13333 # For platforms which do not support PIC, -DPIC is meaningless:
13334 *djgpp*)
13335 lt_prog_compiler_pic_CXX=
13338 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13340 esac
13341 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13342 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
13347 # Check to make sure the PIC flag actually works.
13349 if test -n "$lt_prog_compiler_pic_CXX"; then
13350 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13351 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
13352 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13353 echo $ECHO_N "(cached) $ECHO_C" >&6
13354 else
13355 lt_cv_prog_compiler_pic_works_CXX=no
13356 ac_outfile=conftest.$ac_objext
13357 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13358 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13359 # Insert the option either (1) after the last *FLAGS variable, or
13360 # (2) before a word containing "conftest.", or (3) at the end.
13361 # Note that $ac_compile itself does not contain backslashes and begins
13362 # with a dollar sign (not a hyphen), so the echo should work correctly.
13363 # The option is referenced via a variable to avoid confusing sed.
13364 lt_compile=`echo "$ac_compile" | $SED \
13365 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13366 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13367 -e 's:$: $lt_compiler_flag:'`
13368 (eval echo "\"\$as_me:13368: $lt_compile\"" >&5)
13369 (eval "$lt_compile" 2>conftest.err)
13370 ac_status=$?
13371 cat conftest.err >&5
13372 echo "$as_me:13372: \$? = $ac_status" >&5
13373 if (exit $ac_status) && test -s "$ac_outfile"; then
13374 # The compiler can only warn and ignore the option if not recognized
13375 # So say no if there are warnings other than the usual output.
13376 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13377 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13378 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13379 lt_cv_prog_compiler_pic_works_CXX=yes
13382 $RM conftest*
13385 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13386 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
13388 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13389 case $lt_prog_compiler_pic_CXX in
13390 "" | " "*) ;;
13391 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13392 esac
13393 else
13394 lt_prog_compiler_pic_CXX=
13395 lt_prog_compiler_can_build_shared_CXX=no
13403 # Check to make sure the static flag actually works.
13405 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13406 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13407 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13408 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13409 echo $ECHO_N "(cached) $ECHO_C" >&6
13410 else
13411 lt_cv_prog_compiler_static_works_CXX=no
13412 save_LDFLAGS="$LDFLAGS"
13413 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13414 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13415 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13416 # The linker can only warn and ignore the option if not recognized
13417 # So say no if there are warnings
13418 if test -s conftest.err; then
13419 # Append any errors to the config.log.
13420 cat conftest.err 1>&5
13421 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13422 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13423 if diff conftest.exp conftest.er2 >/dev/null; then
13424 lt_cv_prog_compiler_static_works_CXX=yes
13426 else
13427 lt_cv_prog_compiler_static_works_CXX=yes
13430 $RM -r conftest*
13431 LDFLAGS="$save_LDFLAGS"
13434 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13435 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
13437 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13439 else
13440 lt_prog_compiler_static_CXX=
13446 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13447 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13448 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13449 echo $ECHO_N "(cached) $ECHO_C" >&6
13450 else
13451 lt_cv_prog_compiler_c_o_CXX=no
13452 $RM -r conftest 2>/dev/null
13453 mkdir conftest
13454 cd conftest
13455 mkdir out
13456 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13458 lt_compiler_flag="-o out/conftest2.$ac_objext"
13459 # Insert the option either (1) after the last *FLAGS variable, or
13460 # (2) before a word containing "conftest.", or (3) at the end.
13461 # Note that $ac_compile itself does not contain backslashes and begins
13462 # with a dollar sign (not a hyphen), so the echo should work correctly.
13463 lt_compile=`echo "$ac_compile" | $SED \
13464 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13465 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13466 -e 's:$: $lt_compiler_flag:'`
13467 (eval echo "\"\$as_me:13467: $lt_compile\"" >&5)
13468 (eval "$lt_compile" 2>out/conftest.err)
13469 ac_status=$?
13470 cat out/conftest.err >&5
13471 echo "$as_me:13471: \$? = $ac_status" >&5
13472 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13473 then
13474 # The compiler can only warn and ignore the option if not recognized
13475 # So say no if there are warnings
13476 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13477 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13478 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13479 lt_cv_prog_compiler_c_o_CXX=yes
13482 chmod u+w . 2>&5
13483 $RM conftest*
13484 # SGI C++ compiler will create directory out/ii_files/ for
13485 # template instantiation
13486 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13487 $RM out/* && rmdir out
13488 cd ..
13489 $RM -r conftest
13490 $RM conftest*
13493 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13494 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13498 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13499 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13500 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13501 echo $ECHO_N "(cached) $ECHO_C" >&6
13502 else
13503 lt_cv_prog_compiler_c_o_CXX=no
13504 $RM -r conftest 2>/dev/null
13505 mkdir conftest
13506 cd conftest
13507 mkdir out
13508 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13510 lt_compiler_flag="-o out/conftest2.$ac_objext"
13511 # Insert the option either (1) after the last *FLAGS variable, or
13512 # (2) before a word containing "conftest.", or (3) at the end.
13513 # Note that $ac_compile itself does not contain backslashes and begins
13514 # with a dollar sign (not a hyphen), so the echo should work correctly.
13515 lt_compile=`echo "$ac_compile" | $SED \
13516 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13517 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13518 -e 's:$: $lt_compiler_flag:'`
13519 (eval echo "\"\$as_me:13519: $lt_compile\"" >&5)
13520 (eval "$lt_compile" 2>out/conftest.err)
13521 ac_status=$?
13522 cat out/conftest.err >&5
13523 echo "$as_me:13523: \$? = $ac_status" >&5
13524 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13525 then
13526 # The compiler can only warn and ignore the option if not recognized
13527 # So say no if there are warnings
13528 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13529 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13530 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13531 lt_cv_prog_compiler_c_o_CXX=yes
13534 chmod u+w . 2>&5
13535 $RM conftest*
13536 # SGI C++ compiler will create directory out/ii_files/ for
13537 # template instantiation
13538 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13539 $RM out/* && rmdir out
13540 cd ..
13541 $RM -r conftest
13542 $RM conftest*
13545 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13546 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13551 hard_links="nottested"
13552 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13553 # do not overwrite the value of need_locks provided by the user
13554 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13555 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13556 hard_links=yes
13557 $RM conftest*
13558 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13559 touch conftest.a
13560 ln conftest.a conftest.b 2>&5 || hard_links=no
13561 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13562 echo "$as_me:$LINENO: result: $hard_links" >&5
13563 echo "${ECHO_T}$hard_links" >&6
13564 if test "$hard_links" = no; then
13565 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13566 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13567 need_locks=warn
13569 else
13570 need_locks=no
13575 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13576 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13578 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13579 case $host_os in
13580 aix[4-9]*)
13581 # If we're using GNU nm, then we don't want the "-C" option.
13582 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13583 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13584 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'
13585 else
13586 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'
13589 pw32*)
13590 export_symbols_cmds_CXX="$ltdll_cmds"
13592 cygwin* | mingw* | cegcc*)
13593 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'
13596 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13598 esac
13599 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13601 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13602 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13603 test "$ld_shlibs_CXX" = no && can_build_shared=no
13605 with_gnu_ld_CXX=$with_gnu_ld
13613 # Do we need to explicitly link libc?
13615 case "x$archive_cmds_need_lc_CXX" in
13616 x|xyes)
13617 # Assume -lc should be added
13618 archive_cmds_need_lc_CXX=yes
13620 if test "$enable_shared" = yes && test "$GCC" = yes; then
13621 case $archive_cmds_CXX in
13622 *'~'*)
13623 # FIXME: we may have to deal with multi-command sequences.
13625 '$CC '*)
13626 # Test whether the compiler implicitly links with -lc since on some
13627 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13628 # to ld, don't add -lc before -lgcc.
13629 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13630 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13631 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
13632 echo $ECHO_N "(cached) $ECHO_C" >&6
13633 else
13634 $RM conftest*
13635 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13638 (eval $ac_compile) 2>&5
13639 ac_status=$?
13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641 (exit $ac_status); } 2>conftest.err; then
13642 soname=conftest
13643 lib=conftest
13644 libobjs=conftest.$ac_objext
13645 deplibs=
13646 wl=$lt_prog_compiler_wl_CXX
13647 pic_flag=$lt_prog_compiler_pic_CXX
13648 compiler_flags=-v
13649 linker_flags=-v
13650 verstring=
13651 output_objdir=.
13652 libname=conftest
13653 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13654 allow_undefined_flag_CXX=
13655 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13656 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13657 ac_status=$?
13658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13659 (exit $ac_status); }
13660 then
13661 lt_cv_archive_cmds_need_lc_CXX=no
13662 else
13663 lt_cv_archive_cmds_need_lc_CXX=yes
13665 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13666 else
13667 cat conftest.err 1>&5
13669 $RM conftest*
13672 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13673 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
13674 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
13676 esac
13679 esac
13744 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13745 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13747 library_names_spec=
13748 libname_spec='lib$name'
13749 soname_spec=
13750 shrext_cmds=".so"
13751 postinstall_cmds=
13752 postuninstall_cmds=
13753 finish_cmds=
13754 finish_eval=
13755 shlibpath_var=
13756 shlibpath_overrides_runpath=unknown
13757 version_type=none
13758 dynamic_linker="$host_os ld.so"
13759 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13760 need_lib_prefix=unknown
13761 hardcode_into_libs=no
13763 # when you set need_version to no, make sure it does not cause -set_version
13764 # flags to be left without arguments
13765 need_version=unknown
13767 case $host_os in
13768 aix3*)
13769 version_type=linux
13770 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13771 shlibpath_var=LIBPATH
13773 # AIX 3 has no versioning support, so we append a major version to the name.
13774 soname_spec='${libname}${release}${shared_ext}$major'
13777 aix[4-9]*)
13778 version_type=linux
13779 need_lib_prefix=no
13780 need_version=no
13781 hardcode_into_libs=yes
13782 if test "$host_cpu" = ia64; then
13783 # AIX 5 supports IA64
13784 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13785 shlibpath_var=LD_LIBRARY_PATH
13786 else
13787 # With GCC up to 2.95.x, collect2 would create an import file
13788 # for dependence libraries. The import file would start with
13789 # the line `#! .'. This would cause the generated library to
13790 # depend on `.', always an invalid library. This was fixed in
13791 # development snapshots of GCC prior to 3.0.
13792 case $host_os in
13793 aix4 | aix4.[01] | aix4.[01].*)
13794 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13795 echo ' yes '
13796 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13798 else
13799 can_build_shared=no
13802 esac
13803 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13804 # soname into executable. Probably we can add versioning support to
13805 # collect2, so additional links can be useful in future.
13806 if test "$aix_use_runtimelinking" = yes; then
13807 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13808 # instead of lib<name>.a to let people know that these are not
13809 # typical AIX shared libraries.
13810 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13811 else
13812 # We preserve .a as extension for shared libraries through AIX4.2
13813 # and later when we are not doing run time linking.
13814 library_names_spec='${libname}${release}.a $libname.a'
13815 soname_spec='${libname}${release}${shared_ext}$major'
13817 shlibpath_var=LIBPATH
13821 amigaos*)
13822 case $host_cpu in
13823 powerpc)
13824 # Since July 2007 AmigaOS4 officially supports .so libraries.
13825 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13828 m68k)
13829 library_names_spec='$libname.ixlibrary $libname.a'
13830 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13831 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'
13833 esac
13836 beos*)
13837 library_names_spec='${libname}${shared_ext}'
13838 dynamic_linker="$host_os ld.so"
13839 shlibpath_var=LIBRARY_PATH
13842 bsdi[45]*)
13843 version_type=linux
13844 need_version=no
13845 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13846 soname_spec='${libname}${release}${shared_ext}$major'
13847 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13848 shlibpath_var=LD_LIBRARY_PATH
13849 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13850 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13851 # the default ld.so.conf also contains /usr/contrib/lib and
13852 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13853 # libtool to hard-code these into programs
13856 cygwin* | mingw* | pw32* | cegcc*)
13857 version_type=windows
13858 shrext_cmds=".dll"
13859 need_version=no
13860 need_lib_prefix=no
13862 case $GCC,$host_os in
13863 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13864 library_names_spec='$libname.dll.a'
13865 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13866 postinstall_cmds='base_file=`basename \${file}`~
13867 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13868 dldir=$destdir/`dirname \$dlpath`~
13869 test -d \$dldir || mkdir -p \$dldir~
13870 $install_prog $dir/$dlname \$dldir/$dlname~
13871 chmod a+x \$dldir/$dlname~
13872 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13873 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13875 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13876 dlpath=$dir/\$dldll~
13877 $RM \$dlpath'
13878 shlibpath_overrides_runpath=yes
13880 case $host_os in
13881 cygwin*)
13882 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13883 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13884 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13886 mingw* | cegcc*)
13887 # MinGW DLLs use traditional 'lib' prefix
13888 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13889 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13890 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13891 # It is most probably a Windows format PATH printed by
13892 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13893 # path with ; separators, and with drive letters. We can handle the
13894 # drive letters (cygwin fileutils understands them), so leave them,
13895 # especially as we might pass files found there to a mingw objdump,
13896 # which wouldn't understand a cygwinified path. Ahh.
13897 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13898 else
13899 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13902 pw32*)
13903 # pw32 DLLs use 'pw' prefix rather than 'lib'
13904 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13906 esac
13910 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13912 esac
13913 dynamic_linker='Win32 ld.exe'
13914 # FIXME: first we should search . and the directory the executable is in
13915 shlibpath_var=PATH
13918 darwin* | rhapsody*)
13919 dynamic_linker="$host_os dyld"
13920 version_type=darwin
13921 need_lib_prefix=no
13922 need_version=no
13923 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13924 soname_spec='${libname}${release}${major}$shared_ext'
13925 shlibpath_overrides_runpath=yes
13926 shlibpath_var=DYLD_LIBRARY_PATH
13927 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13929 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13932 dgux*)
13933 version_type=linux
13934 need_lib_prefix=no
13935 need_version=no
13936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13937 soname_spec='${libname}${release}${shared_ext}$major'
13938 shlibpath_var=LD_LIBRARY_PATH
13941 freebsd1*)
13942 dynamic_linker=no
13945 freebsd* | dragonfly*)
13946 # DragonFly does not have aout. When/if they implement a new
13947 # versioning mechanism, adjust this.
13948 if test -x /usr/bin/objformat; then
13949 objformat=`/usr/bin/objformat`
13950 else
13951 case $host_os in
13952 freebsd[123]*) objformat=aout ;;
13953 *) objformat=elf ;;
13954 esac
13956 version_type=freebsd-$objformat
13957 case $version_type in
13958 freebsd-elf*)
13959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13960 need_version=no
13961 need_lib_prefix=no
13963 freebsd-*)
13964 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13965 need_version=yes
13967 esac
13968 shlibpath_var=LD_LIBRARY_PATH
13969 case $host_os in
13970 freebsd2*)
13971 shlibpath_overrides_runpath=yes
13973 freebsd3.[01]* | freebsdelf3.[01]*)
13974 shlibpath_overrides_runpath=yes
13975 hardcode_into_libs=yes
13977 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13978 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13979 shlibpath_overrides_runpath=no
13980 hardcode_into_libs=yes
13982 *) # from 4.6 on, and DragonFly
13983 shlibpath_overrides_runpath=yes
13984 hardcode_into_libs=yes
13986 esac
13989 gnu*)
13990 version_type=linux
13991 need_lib_prefix=no
13992 need_version=no
13993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13994 soname_spec='${libname}${release}${shared_ext}$major'
13995 shlibpath_var=LD_LIBRARY_PATH
13996 hardcode_into_libs=yes
13999 hpux9* | hpux10* | hpux11*)
14000 # Give a soname corresponding to the major version so that dld.sl refuses to
14001 # link against other versions.
14002 version_type=sunos
14003 need_lib_prefix=no
14004 need_version=no
14005 case $host_cpu in
14006 ia64*)
14007 shrext_cmds='.so'
14008 hardcode_into_libs=yes
14009 dynamic_linker="$host_os dld.so"
14010 shlibpath_var=LD_LIBRARY_PATH
14011 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14013 soname_spec='${libname}${release}${shared_ext}$major'
14014 if test "X$HPUX_IA64_MODE" = X32; then
14015 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14016 else
14017 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14019 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14021 hppa*64*)
14022 shrext_cmds='.sl'
14023 hardcode_into_libs=yes
14024 dynamic_linker="$host_os dld.sl"
14025 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14026 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14028 soname_spec='${libname}${release}${shared_ext}$major'
14029 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14030 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14033 shrext_cmds='.sl'
14034 dynamic_linker="$host_os dld.sl"
14035 shlibpath_var=SHLIB_PATH
14036 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14038 soname_spec='${libname}${release}${shared_ext}$major'
14040 esac
14041 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14042 postinstall_cmds='chmod 555 $lib'
14045 interix[3-9]*)
14046 version_type=linux
14047 need_lib_prefix=no
14048 need_version=no
14049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14050 soname_spec='${libname}${release}${shared_ext}$major'
14051 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14052 shlibpath_var=LD_LIBRARY_PATH
14053 shlibpath_overrides_runpath=no
14054 hardcode_into_libs=yes
14057 irix5* | irix6* | nonstopux*)
14058 case $host_os in
14059 nonstopux*) version_type=nonstopux ;;
14061 if test "$lt_cv_prog_gnu_ld" = yes; then
14062 version_type=linux
14063 else
14064 version_type=irix
14065 fi ;;
14066 esac
14067 need_lib_prefix=no
14068 need_version=no
14069 soname_spec='${libname}${release}${shared_ext}$major'
14070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14071 case $host_os in
14072 irix5* | nonstopux*)
14073 libsuff= shlibsuff=
14076 case $LD in # libtool.m4 will add one of these switches to LD
14077 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14078 libsuff= shlibsuff= libmagic=32-bit;;
14079 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14080 libsuff=32 shlibsuff=N32 libmagic=N32;;
14081 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14082 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14083 *) libsuff= shlibsuff= libmagic=never-match;;
14084 esac
14086 esac
14087 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14088 shlibpath_overrides_runpath=no
14089 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14090 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14091 hardcode_into_libs=yes
14094 # No shared lib support for Linux oldld, aout, or coff.
14095 linux*oldld* | linux*aout* | linux*coff*)
14096 dynamic_linker=no
14099 # This must be Linux ELF.
14100 linux* | k*bsd*-gnu)
14101 version_type=linux
14102 need_lib_prefix=no
14103 need_version=no
14104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14105 soname_spec='${libname}${release}${shared_ext}$major'
14106 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14107 shlibpath_var=LD_LIBRARY_PATH
14108 shlibpath_overrides_runpath=no
14110 # Some binutils ld are patched to set DT_RUNPATH
14111 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
14112 echo $ECHO_N "(cached) $ECHO_C" >&6
14113 else
14114 lt_cv_shlibpath_overrides_runpath=no
14115 save_LDFLAGS=$LDFLAGS
14116 save_libdir=$libdir
14117 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14118 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14119 if test x$gcc_no_link = xyes; then
14120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14122 { (exit 1); exit 1; }; }
14124 cat >conftest.$ac_ext <<_ACEOF
14125 /* confdefs.h. */
14126 _ACEOF
14127 cat confdefs.h >>conftest.$ac_ext
14128 cat >>conftest.$ac_ext <<_ACEOF
14129 /* end confdefs.h. */
14132 main ()
14136 return 0;
14138 _ACEOF
14139 rm -f conftest.$ac_objext conftest$ac_exeext
14140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14141 (eval $ac_link) 2>conftest.er1
14142 ac_status=$?
14143 grep -v '^ *+' conftest.er1 >conftest.err
14144 rm -f conftest.er1
14145 cat conftest.err >&5
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); } &&
14148 { ac_try='test -z "$ac_cxx_werror_flag"
14149 || test ! -s conftest.err'
14150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14151 (eval $ac_try) 2>&5
14152 ac_status=$?
14153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14154 (exit $ac_status); }; } &&
14155 { ac_try='test -s conftest$ac_exeext'
14156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14157 (eval $ac_try) 2>&5
14158 ac_status=$?
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); }; }; then
14161 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
14162 lt_cv_shlibpath_overrides_runpath=yes
14165 else
14166 echo "$as_me: failed program was:" >&5
14167 sed 's/^/| /' conftest.$ac_ext >&5
14170 rm -f conftest.err conftest.$ac_objext \
14171 conftest$ac_exeext conftest.$ac_ext
14172 LDFLAGS=$save_LDFLAGS
14173 libdir=$save_libdir
14177 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14179 # This implies no fast_install, which is unacceptable.
14180 # Some rework will be needed to allow for fast_install
14181 # before this can be enabled.
14182 hardcode_into_libs=yes
14184 # Append ld.so.conf contents to the search path
14185 if test -f /etc/ld.so.conf; then
14186 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14187 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14190 # We used to test for /lib/ld.so.1 and disable shared libraries on
14191 # powerpc, because MkLinux only supported shared libraries with the
14192 # GNU dynamic linker. Since this was broken with cross compilers,
14193 # most powerpc-linux boxes support dynamic linking these days and
14194 # people can always --disable-shared, the test was removed, and we
14195 # assume the GNU/Linux dynamic linker is in use.
14196 dynamic_linker='GNU/Linux ld.so'
14199 netbsd*)
14200 version_type=sunos
14201 need_lib_prefix=no
14202 need_version=no
14203 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14205 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14206 dynamic_linker='NetBSD (a.out) ld.so'
14207 else
14208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14209 soname_spec='${libname}${release}${shared_ext}$major'
14210 dynamic_linker='NetBSD ld.elf_so'
14212 shlibpath_var=LD_LIBRARY_PATH
14213 shlibpath_overrides_runpath=yes
14214 hardcode_into_libs=yes
14217 newsos6)
14218 version_type=linux
14219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14220 shlibpath_var=LD_LIBRARY_PATH
14221 shlibpath_overrides_runpath=yes
14224 *nto* | *qnx*)
14225 version_type=qnx
14226 need_lib_prefix=no
14227 need_version=no
14228 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14229 soname_spec='${libname}${release}${shared_ext}$major'
14230 shlibpath_var=LD_LIBRARY_PATH
14231 shlibpath_overrides_runpath=no
14232 hardcode_into_libs=yes
14233 dynamic_linker='ldqnx.so'
14236 openbsd*)
14237 version_type=sunos
14238 sys_lib_dlsearch_path_spec="/usr/lib"
14239 need_lib_prefix=no
14240 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14241 case $host_os in
14242 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14243 *) need_version=no ;;
14244 esac
14245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14246 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14247 shlibpath_var=LD_LIBRARY_PATH
14248 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14249 case $host_os in
14250 openbsd2.[89] | openbsd2.[89].*)
14251 shlibpath_overrides_runpath=no
14254 shlibpath_overrides_runpath=yes
14256 esac
14257 else
14258 shlibpath_overrides_runpath=yes
14262 os2*)
14263 libname_spec='$name'
14264 shrext_cmds=".dll"
14265 need_lib_prefix=no
14266 library_names_spec='$libname${shared_ext} $libname.a'
14267 dynamic_linker='OS/2 ld.exe'
14268 shlibpath_var=LIBPATH
14271 osf3* | osf4* | osf5*)
14272 version_type=osf
14273 need_lib_prefix=no
14274 need_version=no
14275 soname_spec='${libname}${release}${shared_ext}$major'
14276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14277 shlibpath_var=LD_LIBRARY_PATH
14278 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14279 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14282 rdos*)
14283 dynamic_linker=no
14286 solaris*)
14287 version_type=linux
14288 need_lib_prefix=no
14289 need_version=no
14290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14291 soname_spec='${libname}${release}${shared_ext}$major'
14292 shlibpath_var=LD_LIBRARY_PATH
14293 shlibpath_overrides_runpath=yes
14294 hardcode_into_libs=yes
14295 # ldd complains unless libraries are executable
14296 postinstall_cmds='chmod +x $lib'
14299 sunos4*)
14300 version_type=sunos
14301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14302 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14303 shlibpath_var=LD_LIBRARY_PATH
14304 shlibpath_overrides_runpath=yes
14305 if test "$with_gnu_ld" = yes; then
14306 need_lib_prefix=no
14308 need_version=yes
14311 sysv4 | sysv4.3*)
14312 version_type=linux
14313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14314 soname_spec='${libname}${release}${shared_ext}$major'
14315 shlibpath_var=LD_LIBRARY_PATH
14316 case $host_vendor in
14317 sni)
14318 shlibpath_overrides_runpath=no
14319 need_lib_prefix=no
14320 runpath_var=LD_RUN_PATH
14322 siemens)
14323 need_lib_prefix=no
14325 motorola)
14326 need_lib_prefix=no
14327 need_version=no
14328 shlibpath_overrides_runpath=no
14329 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14331 esac
14334 sysv4*MP*)
14335 if test -d /usr/nec ;then
14336 version_type=linux
14337 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14338 soname_spec='$libname${shared_ext}.$major'
14339 shlibpath_var=LD_LIBRARY_PATH
14343 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14344 version_type=freebsd-elf
14345 need_lib_prefix=no
14346 need_version=no
14347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14348 soname_spec='${libname}${release}${shared_ext}$major'
14349 shlibpath_var=LD_LIBRARY_PATH
14350 shlibpath_overrides_runpath=yes
14351 hardcode_into_libs=yes
14352 if test "$with_gnu_ld" = yes; then
14353 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14354 else
14355 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14356 case $host_os in
14357 sco3.2v5*)
14358 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14360 esac
14362 sys_lib_dlsearch_path_spec='/usr/lib'
14365 tpf*)
14366 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14367 version_type=linux
14368 need_lib_prefix=no
14369 need_version=no
14370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14371 shlibpath_var=LD_LIBRARY_PATH
14372 shlibpath_overrides_runpath=no
14373 hardcode_into_libs=yes
14376 uts4*)
14377 version_type=linux
14378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14379 soname_spec='${libname}${release}${shared_ext}$major'
14380 shlibpath_var=LD_LIBRARY_PATH
14384 dynamic_linker=no
14386 esac
14387 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14388 echo "${ECHO_T}$dynamic_linker" >&6
14389 test "$dynamic_linker" = no && can_build_shared=no
14391 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14392 if test "$GCC" = yes; then
14393 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14396 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14397 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14399 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14400 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14438 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14439 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14440 hardcode_action_CXX=
14441 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14442 test -n "$runpath_var_CXX" ||
14443 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14445 # We can hardcode non-existent directories.
14446 if test "$hardcode_direct_CXX" != no &&
14447 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14448 # have to relink, otherwise we might link with an installed library
14449 # when we should be linking with a yet-to-be-installed one
14450 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14451 test "$hardcode_minus_L_CXX" != no; then
14452 # Linking always hardcodes the temporary library directory.
14453 hardcode_action_CXX=relink
14454 else
14455 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14456 hardcode_action_CXX=immediate
14458 else
14459 # We cannot hardcode anything, or else we can only hardcode existing
14460 # directories.
14461 hardcode_action_CXX=unsupported
14463 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14464 echo "${ECHO_T}$hardcode_action_CXX" >&6
14466 if test "$hardcode_action_CXX" = relink ||
14467 test "$inherit_rpath_CXX" = yes; then
14468 # Fast installation is not supported
14469 enable_fast_install=no
14470 elif test "$shlibpath_overrides_runpath" = yes ||
14471 test "$enable_shared" = no; then
14472 # Fast installation is not necessary
14473 enable_fast_install=needless
14482 fi # test -n "$compiler"
14484 CC=$lt_save_CC
14485 LDCXX=$LD
14486 LD=$lt_save_LD
14487 GCC=$lt_save_GCC
14488 with_gnu_ld=$lt_save_with_gnu_ld
14489 lt_cv_path_LDCXX=$lt_cv_path_LD
14490 lt_cv_path_LD=$lt_save_path_LD
14491 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14492 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14493 fi # test "$_lt_caught_CXX_error" != yes
14495 ac_ext=c
14496 ac_cpp='$CPP $CPPFLAGS'
14497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14513 ac_config_commands="$ac_config_commands libtool"
14518 # Only expand once:
14524 # Possibly disable most of the library.
14525 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14526 ## than just ignoring the results. Faster /and/ more correct, win win.
14528 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
14529 if test "${enable_hosted_libstdcxx+set}" = set; then
14530 enableval="$enable_hosted_libstdcxx"
14532 else
14533 case "$host" in
14534 arm*-*-symbianelf*)
14535 enable_hosted_libstdcxx=no
14538 enable_hosted_libstdcxx=yes
14540 esac
14542 if test "$enable_hosted_libstdcxx" = no; then
14543 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
14544 echo "$as_me: Only freestanding libraries will be built" >&6;}
14545 is_hosted=no
14546 hosted_define=0
14547 enable_abi_check=no
14548 enable_libstdcxx_pch=no
14549 else
14550 is_hosted=yes
14551 hosted_define=1
14555 cat >>confdefs.h <<_ACEOF
14556 #define _GLIBCXX_HOSTED $hosted_define
14557 _ACEOF
14561 # Enable compiler support that doesn't require linking.
14563 echo "$as_me:$LINENO: checking for exception model to use" >&5
14564 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
14567 ac_ext=cc
14568 ac_cpp='$CXXCPP $CPPFLAGS'
14569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14573 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
14574 if test "${enable_sjlj_exceptions+set}" = set; then
14575 enableval="$enable_sjlj_exceptions"
14577 case "$enableval" in
14578 yes|no|auto) ;;
14579 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
14580 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
14581 { (exit 1); exit 1; }; } ;;
14582 esac
14584 else
14585 enable_sjlj_exceptions=auto
14589 if test $enable_sjlj_exceptions = auto; then
14590 # Botheration. Now we've got to detect the exception model. Link tests
14591 # against libgcc.a are problematic since we've not been given proper -L
14592 # bits for single-tree newlib and libgloss.
14594 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14595 cat > conftest.$ac_ext << EOF
14596 #line 14596 "configure"
14597 struct S { ~S(); };
14598 void bar();
14599 void foo()
14601 S s;
14602 bar();
14605 old_CXXFLAGS="$CXXFLAGS"
14606 CXXFLAGS=-S
14607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14608 (eval $ac_compile) 2>&5
14609 ac_status=$?
14610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611 (exit $ac_status); }; then
14612 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14613 enable_sjlj_exceptions=yes
14614 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14615 enable_sjlj_exceptions=no
14616 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14617 enable_sjlj_exceptions=no
14620 CXXFLAGS="$old_CXXFLAGS"
14621 rm -f conftest*
14624 # This is a tad weird, for hysterical raisins. We have to map
14625 # enable/disable to two different models.
14626 case $enable_sjlj_exceptions in
14627 yes)
14629 cat >>confdefs.h <<\_ACEOF
14630 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
14631 _ACEOF
14633 ac_exception_model_name=sjlj
14636 ac_exception_model_name="call frame"
14639 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
14640 echo "$as_me: error: unable to detect exception model" >&2;}
14641 { (exit 1); exit 1; }; }
14643 esac
14644 ac_ext=c
14645 ac_cpp='$CPP $CPPFLAGS'
14646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14650 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
14651 echo "${ECHO_T}$ac_exception_model_name" >&6
14654 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
14655 if test "${enable_libstdcxx_pch+set}" = set; then
14656 enableval="$enable_libstdcxx_pch"
14658 case "$enableval" in
14659 yes|no) ;;
14660 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
14661 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
14662 { (exit 1); exit 1; }; } ;;
14663 esac
14665 else
14666 enable_libstdcxx_pch=$is_hosted
14669 if test $enable_libstdcxx_pch = yes; then
14670 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
14671 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
14672 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
14673 echo $ECHO_N "(cached) $ECHO_C" >&6
14674 else
14675 ac_save_CXXFLAGS="$CXXFLAGS"
14676 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14679 ac_ext=cc
14680 ac_cpp='$CXXCPP $CPPFLAGS'
14681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14685 echo '#include <math.h>' > conftest.h
14686 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
14687 -o conftest.h.gch 1>&5 2>&1 &&
14688 echo '#error "pch failed"' > conftest.h &&
14689 echo '#include "conftest.h"' > conftest.cc &&
14690 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
14691 then
14692 glibcxx_cv_prog_CXX_pch=yes
14693 else
14694 glibcxx_cv_prog_CXX_pch=no
14696 rm -f conftest*
14697 CXXFLAGS=$ac_save_CXXFLAGS
14698 ac_ext=c
14699 ac_cpp='$CPP $CPPFLAGS'
14700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14706 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
14707 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
14708 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
14711 echo "$as_me:$LINENO: checking for enabled PCH" >&5
14712 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
14713 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
14714 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
14717 if test $enable_libstdcxx_pch = yes; then
14718 glibcxx_PCHFLAGS="-include bits/stdc++.h"
14719 else
14720 glibcxx_PCHFLAGS=""
14727 ac_ext=cc
14728 ac_cpp='$CXXCPP $CPPFLAGS'
14729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14733 old_CXXFLAGS="$CXXFLAGS"
14735 # Compile unoptimized.
14736 CXXFLAGS='-O0 -S'
14738 # Fake what AC_TRY_COMPILE does, without linking as this is
14739 # unnecessary for a builtins test.
14741 cat > conftest.$ac_ext << EOF
14742 #line 14742 "configure"
14743 int main()
14745 typedef bool atomic_type;
14746 atomic_type c1;
14747 atomic_type c2;
14748 const atomic_type c3(0);
14749 __sync_fetch_and_add(&c1, c2);
14750 __sync_val_compare_and_swap(&c1, c3, c2);
14751 __sync_lock_test_and_set(&c1, c3);
14752 __sync_lock_release(&c1);
14753 __sync_synchronize();
14754 return 0;
14758 echo "$as_me:$LINENO: checking for atomic builtins for bool" >&5
14759 echo $ECHO_N "checking for atomic builtins for bool... $ECHO_C" >&6
14760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14761 (eval $ac_compile) 2>&5
14762 ac_status=$?
14763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14764 (exit $ac_status); }; then
14765 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14766 enable_atomic_builtinsb=no
14767 else
14769 cat >>confdefs.h <<\_ACEOF
14770 #define _GLIBCXX_ATOMIC_BUILTINS_1 1
14771 _ACEOF
14773 enable_atomic_builtinsb=yes
14776 echo "$as_me:$LINENO: result: $enable_atomic_builtinsb" >&5
14777 echo "${ECHO_T}$enable_atomic_builtinsb" >&6
14778 rm -f conftest*
14780 cat > conftest.$ac_ext << EOF
14781 #line 14781 "configure"
14782 int main()
14784 typedef short atomic_type;
14785 atomic_type c1;
14786 atomic_type c2;
14787 const atomic_type c3(0);
14788 __sync_fetch_and_add(&c1, c2);
14789 __sync_val_compare_and_swap(&c1, c3, c2);
14790 __sync_lock_test_and_set(&c1, c3);
14791 __sync_lock_release(&c1);
14792 __sync_synchronize();
14793 return 0;
14797 echo "$as_me:$LINENO: checking for atomic builtins for short" >&5
14798 echo $ECHO_N "checking for atomic builtins for short... $ECHO_C" >&6
14799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14800 (eval $ac_compile) 2>&5
14801 ac_status=$?
14802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803 (exit $ac_status); }; then
14804 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14805 enable_atomic_builtinss=no
14806 else
14808 cat >>confdefs.h <<\_ACEOF
14809 #define _GLIBCXX_ATOMIC_BUILTINS_2 1
14810 _ACEOF
14812 enable_atomic_builtinss=yes
14815 echo "$as_me:$LINENO: result: $enable_atomic_builtinss" >&5
14816 echo "${ECHO_T}$enable_atomic_builtinss" >&6
14817 rm -f conftest*
14819 cat > conftest.$ac_ext << EOF
14820 #line 14820 "configure"
14821 int main()
14823 // NB: _Atomic_word not necessarily int.
14824 typedef int atomic_type;
14825 atomic_type c1;
14826 atomic_type c2;
14827 const atomic_type c3(0);
14828 __sync_fetch_and_add(&c1, c2);
14829 __sync_val_compare_and_swap(&c1, c3, c2);
14830 __sync_lock_test_and_set(&c1, c3);
14831 __sync_lock_release(&c1);
14832 __sync_synchronize();
14833 return 0;
14837 echo "$as_me:$LINENO: checking for atomic builtins for int" >&5
14838 echo $ECHO_N "checking for atomic builtins for int... $ECHO_C" >&6
14839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14840 (eval $ac_compile) 2>&5
14841 ac_status=$?
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); }; then
14844 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14845 enable_atomic_builtinsi=no
14846 else
14848 cat >>confdefs.h <<\_ACEOF
14849 #define _GLIBCXX_ATOMIC_BUILTINS_4 1
14850 _ACEOF
14852 enable_atomic_builtinsi=yes
14855 echo "$as_me:$LINENO: result: $enable_atomic_builtinsi" >&5
14856 echo "${ECHO_T}$enable_atomic_builtinsi" >&6
14857 rm -f conftest*
14859 cat > conftest.$ac_ext << EOF
14860 #line 14860 "configure"
14861 int main()
14863 typedef long long atomic_type;
14864 atomic_type c1;
14865 atomic_type c2;
14866 const atomic_type c3(0);
14867 __sync_fetch_and_add(&c1, c2);
14868 __sync_val_compare_and_swap(&c1, c3, c2);
14869 __sync_lock_test_and_set(&c1, c3);
14870 __sync_lock_release(&c1);
14871 __sync_synchronize();
14872 return 0;
14876 echo "$as_me:$LINENO: checking for atomic builtins for long long" >&5
14877 echo $ECHO_N "checking for atomic builtins for long long... $ECHO_C" >&6
14878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14879 (eval $ac_compile) 2>&5
14880 ac_status=$?
14881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882 (exit $ac_status); }; then
14883 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14884 enable_atomic_builtinsll=no
14885 else
14887 cat >>confdefs.h <<\_ACEOF
14888 #define _GLIBCXX_ATOMIC_BUILTINS_8 1
14889 _ACEOF
14891 enable_atomic_builtinsll=yes
14894 echo "$as_me:$LINENO: result: $enable_atomic_builtinsll" >&5
14895 echo "${ECHO_T}$enable_atomic_builtinsll" >&6
14896 rm -f conftest*
14899 CXXFLAGS="$old_CXXFLAGS"
14900 ac_ext=c
14901 ac_cpp='$CPP $CPPFLAGS'
14902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14907 # Set atomicity_dir to builtins if either of above tests pass.
14908 if test $enable_atomic_builtinsi = yes || test $enable_atomic_builtinsb = yes ; then
14909 atomicity_dir=cpu/generic/atomicity_builtins
14912 # If still generic, set to mutex.
14913 if test $atomicity_dir = "cpu/generic" ; then
14914 atomicity_dir=cpu/generic/atomicity_mutex
14915 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
14916 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
14917 if test "x$target_thread_file" = xsingle; then
14918 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
14919 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
14920 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
14921 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
14922 else
14923 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
14924 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
14925 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
14926 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
14932 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
14933 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
14934 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
14935 echo "$as_me:$LINENO: result: $target_thread_file" >&5
14936 echo "${ECHO_T}$target_thread_file" >&6
14938 if test $target_thread_file != single; then
14940 cat >>confdefs.h <<\_ACEOF
14941 #define HAVE_GTHR_DEFAULT 1
14942 _ACEOF
14946 glibcxx_thread_h=gthr-$target_thread_file.h
14948 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
14949 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
14950 enable_thread=yes
14951 else
14952 enable_thread=no
14958 # Checks for compiler support that doesn't require linking.
14960 # All these tests are for C++; save the language and the compiler flags.
14961 # The CXXFLAGS thing is suspicious, but based on similar bits previously
14962 # found in GLIBCXX_CONFIGURE.
14965 ac_ext=cc
14966 ac_cpp='$CXXCPP $CPPFLAGS'
14967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14971 ac_test_CXXFLAGS="${CXXFLAGS+set}"
14972 ac_save_CXXFLAGS="$CXXFLAGS"
14974 # Check for maintainer-mode bits.
14975 if test x"$USE_MAINTAINER_MODE" = xno; then
14976 WERROR=''
14977 else
14978 WERROR='-Werror'
14981 # Check for -ffunction-sections -fdata-sections
14982 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
14983 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
14984 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
14985 cat >conftest.$ac_ext <<_ACEOF
14986 /* confdefs.h. */
14987 _ACEOF
14988 cat confdefs.h >>conftest.$ac_ext
14989 cat >>conftest.$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14991 int foo; void bar() { };
14993 main ()
14997 return 0;
14999 _ACEOF
15000 rm -f conftest.$ac_objext
15001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15002 (eval $ac_compile) 2>conftest.er1
15003 ac_status=$?
15004 grep -v '^ *+' conftest.er1 >conftest.err
15005 rm -f conftest.er1
15006 cat conftest.err >&5
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); } &&
15009 { ac_try='test -z "$ac_cxx_werror_flag"
15010 || test ! -s conftest.err'
15011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15012 (eval $ac_try) 2>&5
15013 ac_status=$?
15014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15015 (exit $ac_status); }; } &&
15016 { ac_try='test -s conftest.$ac_objext'
15017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15018 (eval $ac_try) 2>&5
15019 ac_status=$?
15020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15021 (exit $ac_status); }; }; then
15022 ac_fdsections=yes
15023 else
15024 echo "$as_me: failed program was:" >&5
15025 sed 's/^/| /' conftest.$ac_ext >&5
15027 ac_fdsections=no
15029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15030 if test "$ac_test_CXXFLAGS" = set; then
15031 CXXFLAGS="$ac_save_CXXFLAGS"
15032 else
15033 # this is the suspicious part
15034 CXXFLAGS=''
15036 if test x"$ac_fdsections" = x"yes"; then
15037 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15039 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
15040 echo "${ECHO_T}$ac_fdsections" >&6
15042 ac_ext=c
15043 ac_cpp='$CPP $CPPFLAGS'
15044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15051 GLIBCXX_CHECK_STANDARD_LAYOUT
15053 # Enable all the variable C++ runtime options that don't require linking.
15055 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
15056 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
15057 # Check whether --enable-cstdio or --disable-cstdio was given.
15058 if test "${enable_cstdio+set}" = set; then
15059 enableval="$enable_cstdio"
15061 case "$enableval" in
15062 stdio) ;;
15063 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
15064 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
15065 { (exit 1); exit 1; }; } ;;
15066 esac
15068 else
15069 enable_cstdio=stdio
15073 # Now that libio has been removed, you can have any color you want as long
15074 # as it's black. This is one big no-op until other packages are added, but
15075 # showing the framework never hurts.
15076 case ${enable_cstdio} in
15077 stdio)
15078 CSTDIO_H=config/io/c_io_stdio.h
15079 BASIC_FILE_H=config/io/basic_file_stdio.h
15080 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15081 echo "$as_me:$LINENO: result: stdio" >&5
15082 echo "${ECHO_T}stdio" >&6
15084 esac
15091 # Check whether --enable-clocale or --disable-clocale was given.
15092 if test "${enable_clocale+set}" = set; then
15093 enableval="$enable_clocale"
15095 case "$enableval" in
15096 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15097 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
15098 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
15099 { (exit 1); exit 1; }; } ;;
15100 esac
15102 else
15103 enable_clocale=auto
15107 # Deal with gettext issues. Default to not using it (=no) until we detect
15108 # support for it later. Let the user turn it off via --e/d, but let that
15109 # default to on for easier handling.
15110 USE_NLS=no
15111 # Check whether --enable-nls or --disable-nls was given.
15112 if test "${enable_nls+set}" = set; then
15113 enableval="$enable_nls"
15115 else
15116 enable_nls=yes
15119 # Either a known packaage, or "auto"
15120 if test $enable_clocale = no || test $enable_clocale = yes; then
15121 enable_clocale=auto
15123 enable_clocale_flag=$enable_clocale
15125 # Probe for locale model to use if none specified.
15126 # Default to "generic".
15127 if test $enable_clocale_flag = auto; then
15128 case ${target_os} in
15129 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15130 enable_clocale_flag=gnu
15132 darwin* | freebsd*)
15133 enable_clocale_flag=darwin
15136 enable_clocale_flag=generic
15138 esac
15141 # Sanity check model, and test for special functionality.
15142 if test $enable_clocale_flag = gnu; then
15143 cat >conftest.$ac_ext <<_ACEOF
15144 /* confdefs.h. */
15145 _ACEOF
15146 cat confdefs.h >>conftest.$ac_ext
15147 cat >>conftest.$ac_ext <<_ACEOF
15148 /* end confdefs.h. */
15150 #include <features.h>
15151 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
15152 _GLIBCXX_ok
15153 #endif
15155 _ACEOF
15156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15157 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
15158 enable_clocale_flag=gnu
15159 else
15160 enable_clocale_flag=generic
15162 rm -f conftest*
15165 if test $enable_clocale = auto; then
15166 # Test for bugs early in glibc-2.2.x series
15167 if test "$cross_compiling" = yes; then
15168 enable_clocale_flag=generic
15169 else
15170 cat >conftest.$ac_ext <<_ACEOF
15171 /* confdefs.h. */
15172 _ACEOF
15173 cat confdefs.h >>conftest.$ac_ext
15174 cat >>conftest.$ac_ext <<_ACEOF
15175 /* end confdefs.h. */
15177 #define _GNU_SOURCE 1
15178 #include <locale.h>
15179 #include <string.h>
15180 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
15181 extern __typeof(newlocale) __newlocale;
15182 extern __typeof(duplocale) __duplocale;
15183 extern __typeof(strcoll_l) __strcoll_l;
15184 #endif
15185 int main()
15187 const char __one[] = "Äuglein Augmen";
15188 const char __two[] = "Äuglein";
15189 int i;
15190 int j;
15191 __locale_t loc;
15192 __locale_t loc_dup;
15193 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
15194 loc_dup = __duplocale(loc);
15195 i = __strcoll_l(__one, __two, loc);
15196 j = __strcoll_l(__one, __two, loc_dup);
15197 return 0;
15200 _ACEOF
15201 rm -f conftest$ac_exeext
15202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15203 (eval $ac_link) 2>&5
15204 ac_status=$?
15205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15206 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15208 (eval $ac_try) 2>&5
15209 ac_status=$?
15210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); }; }; then
15212 enable_clocale_flag=gnu
15213 else
15214 echo "$as_me: program exited with status $ac_status" >&5
15215 echo "$as_me: failed program was:" >&5
15216 sed 's/^/| /' conftest.$ac_ext >&5
15218 ( exit $ac_status )
15219 enable_clocale_flag=generic
15221 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15225 # Set it to scream when it hurts.
15226 ac_save_CFLAGS="$CFLAGS"
15227 CFLAGS="-Wimplicit-function-declaration -Werror"
15229 # Use strxfrm_l if available.
15230 cat >conftest.$ac_ext <<_ACEOF
15231 /* confdefs.h. */
15232 _ACEOF
15233 cat confdefs.h >>conftest.$ac_ext
15234 cat >>conftest.$ac_ext <<_ACEOF
15235 /* end confdefs.h. */
15236 #define _GNU_SOURCE 1
15237 #include <string.h>
15238 #include <locale.h>
15240 main ()
15242 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15244 return 0;
15246 _ACEOF
15247 rm -f conftest.$ac_objext
15248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15249 (eval $ac_compile) 2>conftest.er1
15250 ac_status=$?
15251 grep -v '^ *+' conftest.er1 >conftest.err
15252 rm -f conftest.er1
15253 cat conftest.err >&5
15254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255 (exit $ac_status); } &&
15256 { ac_try='test -z "$ac_c_werror_flag"
15257 || test ! -s conftest.err'
15258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15259 (eval $ac_try) 2>&5
15260 ac_status=$?
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); }; } &&
15263 { ac_try='test -s conftest.$ac_objext'
15264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15265 (eval $ac_try) 2>&5
15266 ac_status=$?
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); }; }; then
15270 cat >>confdefs.h <<\_ACEOF
15271 #define HAVE_STRXFRM_L 1
15272 _ACEOF
15274 else
15275 echo "$as_me: failed program was:" >&5
15276 sed 's/^/| /' conftest.$ac_ext >&5
15279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15281 # Use strerror_l if available.
15282 cat >conftest.$ac_ext <<_ACEOF
15283 /* confdefs.h. */
15284 _ACEOF
15285 cat confdefs.h >>conftest.$ac_ext
15286 cat >>conftest.$ac_ext <<_ACEOF
15287 /* end confdefs.h. */
15288 #define _GNU_SOURCE 1
15289 #include <string.h>
15290 #include <locale.h>
15292 main ()
15294 __locale_t loc; strerror_l(5, loc);
15296 return 0;
15298 _ACEOF
15299 rm -f conftest.$ac_objext
15300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15301 (eval $ac_compile) 2>conftest.er1
15302 ac_status=$?
15303 grep -v '^ *+' conftest.er1 >conftest.err
15304 rm -f conftest.er1
15305 cat conftest.err >&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); } &&
15308 { ac_try='test -z "$ac_c_werror_flag"
15309 || test ! -s conftest.err'
15310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15311 (eval $ac_try) 2>&5
15312 ac_status=$?
15313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15314 (exit $ac_status); }; } &&
15315 { ac_try='test -s conftest.$ac_objext'
15316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15317 (eval $ac_try) 2>&5
15318 ac_status=$?
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); }; }; then
15322 cat >>confdefs.h <<\_ACEOF
15323 #define HAVE_STRERROR_L 1
15324 _ACEOF
15326 else
15327 echo "$as_me: failed program was:" >&5
15328 sed 's/^/| /' conftest.$ac_ext >&5
15331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15333 CFLAGS="$ac_save_CFLAGS"
15336 # Perhaps use strerror_r if available, and strerror_l isn't.
15337 ac_save_CFLAGS="$CFLAGS"
15338 CFLAGS="-Wimplicit-function-declaration -Werror"
15339 cat >conftest.$ac_ext <<_ACEOF
15340 /* confdefs.h. */
15341 _ACEOF
15342 cat confdefs.h >>conftest.$ac_ext
15343 cat >>conftest.$ac_ext <<_ACEOF
15344 /* end confdefs.h. */
15345 #define _GNU_SOURCE 1
15346 #include <string.h>
15347 #include <locale.h>
15349 main ()
15351 char s[128]; strerror_r(5, s, 128);
15353 return 0;
15355 _ACEOF
15356 rm -f conftest.$ac_objext
15357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15358 (eval $ac_compile) 2>conftest.er1
15359 ac_status=$?
15360 grep -v '^ *+' conftest.er1 >conftest.err
15361 rm -f conftest.er1
15362 cat conftest.err >&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } &&
15365 { ac_try='test -z "$ac_c_werror_flag"
15366 || test ! -s conftest.err'
15367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15368 (eval $ac_try) 2>&5
15369 ac_status=$?
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); }; } &&
15372 { ac_try='test -s conftest.$ac_objext'
15373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15374 (eval $ac_try) 2>&5
15375 ac_status=$?
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); }; }; then
15379 cat >>confdefs.h <<\_ACEOF
15380 #define HAVE_STRERROR_R 1
15381 _ACEOF
15383 else
15384 echo "$as_me: failed program was:" >&5
15385 sed 's/^/| /' conftest.$ac_ext >&5
15388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15389 CFLAGS="$ac_save_CFLAGS"
15391 # Set configure bits for specified locale package
15392 echo "$as_me:$LINENO: checking for C locale to use" >&5
15393 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
15394 case ${enable_clocale_flag} in
15395 generic)
15396 echo "$as_me:$LINENO: result: generic" >&5
15397 echo "${ECHO_T}generic" >&6
15399 CLOCALE_H=config/locale/generic/c_locale.h
15400 CLOCALE_CC=config/locale/generic/c_locale.cc
15401 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15402 CCOLLATE_CC=config/locale/generic/collate_members.cc
15403 CCTYPE_CC=config/locale/generic/ctype_members.cc
15404 CMESSAGES_H=config/locale/generic/messages_members.h
15405 CMESSAGES_CC=config/locale/generic/messages_members.cc
15406 CMONEY_CC=config/locale/generic/monetary_members.cc
15407 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15408 CTIME_H=config/locale/generic/time_members.h
15409 CTIME_CC=config/locale/generic/time_members.cc
15410 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15412 darwin)
15413 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
15414 echo "${ECHO_T}darwin or freebsd" >&6
15416 CLOCALE_H=config/locale/generic/c_locale.h
15417 CLOCALE_CC=config/locale/generic/c_locale.cc
15418 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15419 CCOLLATE_CC=config/locale/generic/collate_members.cc
15420 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15421 CMESSAGES_H=config/locale/generic/messages_members.h
15422 CMESSAGES_CC=config/locale/generic/messages_members.cc
15423 CMONEY_CC=config/locale/generic/monetary_members.cc
15424 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15425 CTIME_H=config/locale/generic/time_members.h
15426 CTIME_CC=config/locale/generic/time_members.cc
15427 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15430 gnu)
15431 echo "$as_me:$LINENO: result: gnu" >&5
15432 echo "${ECHO_T}gnu" >&6
15434 # Declare intention to use gettext, and add support for specific
15435 # languages.
15436 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15437 ALL_LINGUAS="de fr"
15439 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15440 # Extract the first word of "msgfmt", so it can be a program name with args.
15441 set dummy msgfmt; ac_word=$2
15442 echo "$as_me:$LINENO: checking for $ac_word" >&5
15443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15444 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
15445 echo $ECHO_N "(cached) $ECHO_C" >&6
15446 else
15447 if test -n "$check_msgfmt"; then
15448 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15449 else
15450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15451 for as_dir in $PATH
15453 IFS=$as_save_IFS
15454 test -z "$as_dir" && as_dir=.
15455 for ac_exec_ext in '' $ac_executable_extensions; do
15456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15457 ac_cv_prog_check_msgfmt="yes"
15458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15459 break 2
15461 done
15462 done
15464 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15467 check_msgfmt=$ac_cv_prog_check_msgfmt
15468 if test -n "$check_msgfmt"; then
15469 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
15470 echo "${ECHO_T}$check_msgfmt" >&6
15471 else
15472 echo "$as_me:$LINENO: result: no" >&5
15473 echo "${ECHO_T}no" >&6
15476 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15477 USE_NLS=yes
15479 # Export the build objects.
15480 for ling in $ALL_LINGUAS; do \
15481 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15482 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15483 done
15487 CLOCALE_H=config/locale/gnu/c_locale.h
15488 CLOCALE_CC=config/locale/gnu/c_locale.cc
15489 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15490 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15491 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15492 CMESSAGES_H=config/locale/gnu/messages_members.h
15493 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15494 CMONEY_CC=config/locale/gnu/monetary_members.cc
15495 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15496 CTIME_H=config/locale/gnu/time_members.h
15497 CTIME_CC=config/locale/gnu/time_members.cc
15498 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15500 ieee_1003.1-2001)
15501 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
15502 echo "${ECHO_T}IEEE 1003.1" >&6
15504 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15505 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15506 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15507 CCOLLATE_CC=config/locale/generic/collate_members.cc
15508 CCTYPE_CC=config/locale/generic/ctype_members.cc
15509 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15510 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15511 CMONEY_CC=config/locale/generic/monetary_members.cc
15512 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15513 CTIME_H=config/locale/generic/time_members.h
15514 CTIME_CC=config/locale/generic/time_members.cc
15515 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15517 esac
15519 # This is where the testsuite looks for locale catalogs, using the
15520 # -DLOCALEDIR define during testsuite compilation.
15521 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15524 # A standalone libintl (e.g., GNU libintl) may be in use.
15525 if test $USE_NLS = yes; then
15527 for ac_header in libintl.h
15529 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15531 echo "$as_me:$LINENO: checking for $ac_header" >&5
15532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15534 echo $ECHO_N "(cached) $ECHO_C" >&6
15536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15538 else
15539 # Is the header compilable?
15540 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15541 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15542 cat >conftest.$ac_ext <<_ACEOF
15543 /* confdefs.h. */
15544 _ACEOF
15545 cat confdefs.h >>conftest.$ac_ext
15546 cat >>conftest.$ac_ext <<_ACEOF
15547 /* end confdefs.h. */
15548 $ac_includes_default
15549 #include <$ac_header>
15550 _ACEOF
15551 rm -f conftest.$ac_objext
15552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15553 (eval $ac_compile) 2>conftest.er1
15554 ac_status=$?
15555 grep -v '^ *+' conftest.er1 >conftest.err
15556 rm -f conftest.er1
15557 cat conftest.err >&5
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); } &&
15560 { ac_try='test -z "$ac_c_werror_flag"
15561 || test ! -s conftest.err'
15562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15563 (eval $ac_try) 2>&5
15564 ac_status=$?
15565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); }; } &&
15567 { ac_try='test -s conftest.$ac_objext'
15568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15569 (eval $ac_try) 2>&5
15570 ac_status=$?
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); }; }; then
15573 ac_header_compiler=yes
15574 else
15575 echo "$as_me: failed program was:" >&5
15576 sed 's/^/| /' conftest.$ac_ext >&5
15578 ac_header_compiler=no
15580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15581 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15582 echo "${ECHO_T}$ac_header_compiler" >&6
15584 # Is the header present?
15585 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15587 cat >conftest.$ac_ext <<_ACEOF
15588 /* confdefs.h. */
15589 _ACEOF
15590 cat confdefs.h >>conftest.$ac_ext
15591 cat >>conftest.$ac_ext <<_ACEOF
15592 /* end confdefs.h. */
15593 #include <$ac_header>
15594 _ACEOF
15595 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15596 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15597 ac_status=$?
15598 grep -v '^ *+' conftest.er1 >conftest.err
15599 rm -f conftest.er1
15600 cat conftest.err >&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); } >/dev/null; then
15603 if test -s conftest.err; then
15604 ac_cpp_err=$ac_c_preproc_warn_flag
15605 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15606 else
15607 ac_cpp_err=
15609 else
15610 ac_cpp_err=yes
15612 if test -z "$ac_cpp_err"; then
15613 ac_header_preproc=yes
15614 else
15615 echo "$as_me: failed program was:" >&5
15616 sed 's/^/| /' conftest.$ac_ext >&5
15618 ac_header_preproc=no
15620 rm -f conftest.err conftest.$ac_ext
15621 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15622 echo "${ECHO_T}$ac_header_preproc" >&6
15624 # So? What about this header?
15625 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15626 yes:no: )
15627 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15628 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15630 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15631 ac_header_preproc=yes
15633 no:yes:* )
15634 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15635 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15636 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15637 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15638 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15639 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15640 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15641 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15643 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15644 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15645 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15647 cat <<\_ASBOX
15648 ## ----------------------------------------- ##
15649 ## Report this to the package-unused lists. ##
15650 ## ----------------------------------------- ##
15651 _ASBOX
15653 sed "s/^/$as_me: WARNING: /" >&2
15655 esac
15656 echo "$as_me:$LINENO: checking for $ac_header" >&5
15657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15659 echo $ECHO_N "(cached) $ECHO_C" >&6
15660 else
15661 eval "$as_ac_Header=\$ac_header_preproc"
15663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15668 cat >>confdefs.h <<_ACEOF
15669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15670 _ACEOF
15672 else
15673 USE_NLS=no
15676 done
15678 echo "$as_me:$LINENO: checking for library containing gettext" >&5
15679 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
15680 if test "${ac_cv_search_gettext+set}" = set; then
15681 echo $ECHO_N "(cached) $ECHO_C" >&6
15682 else
15683 ac_func_search_save_LIBS=$LIBS
15684 ac_cv_search_gettext=no
15685 if test x$gcc_no_link = xyes; then
15686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15688 { (exit 1); exit 1; }; }
15690 cat >conftest.$ac_ext <<_ACEOF
15691 /* confdefs.h. */
15692 _ACEOF
15693 cat confdefs.h >>conftest.$ac_ext
15694 cat >>conftest.$ac_ext <<_ACEOF
15695 /* end confdefs.h. */
15697 /* Override any gcc2 internal prototype to avoid an error. */
15698 #ifdef __cplusplus
15699 extern "C"
15700 #endif
15701 /* We use char because int might match the return type of a gcc2
15702 builtin and then its argument prototype would still apply. */
15703 char gettext ();
15705 main ()
15707 gettext ();
15709 return 0;
15711 _ACEOF
15712 rm -f conftest.$ac_objext conftest$ac_exeext
15713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15714 (eval $ac_link) 2>conftest.er1
15715 ac_status=$?
15716 grep -v '^ *+' conftest.er1 >conftest.err
15717 rm -f conftest.er1
15718 cat conftest.err >&5
15719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15720 (exit $ac_status); } &&
15721 { ac_try='test -z "$ac_c_werror_flag"
15722 || test ! -s conftest.err'
15723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15724 (eval $ac_try) 2>&5
15725 ac_status=$?
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); }; } &&
15728 { ac_try='test -s conftest$ac_exeext'
15729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15730 (eval $ac_try) 2>&5
15731 ac_status=$?
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); }; }; then
15734 ac_cv_search_gettext="none required"
15735 else
15736 echo "$as_me: failed program was:" >&5
15737 sed 's/^/| /' conftest.$ac_ext >&5
15740 rm -f conftest.err conftest.$ac_objext \
15741 conftest$ac_exeext conftest.$ac_ext
15742 if test "$ac_cv_search_gettext" = no; then
15743 for ac_lib in intl; do
15744 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15745 if test x$gcc_no_link = xyes; then
15746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15748 { (exit 1); exit 1; }; }
15750 cat >conftest.$ac_ext <<_ACEOF
15751 /* confdefs.h. */
15752 _ACEOF
15753 cat confdefs.h >>conftest.$ac_ext
15754 cat >>conftest.$ac_ext <<_ACEOF
15755 /* end confdefs.h. */
15757 /* Override any gcc2 internal prototype to avoid an error. */
15758 #ifdef __cplusplus
15759 extern "C"
15760 #endif
15761 /* We use char because int might match the return type of a gcc2
15762 builtin and then its argument prototype would still apply. */
15763 char gettext ();
15765 main ()
15767 gettext ();
15769 return 0;
15771 _ACEOF
15772 rm -f conftest.$ac_objext conftest$ac_exeext
15773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15774 (eval $ac_link) 2>conftest.er1
15775 ac_status=$?
15776 grep -v '^ *+' conftest.er1 >conftest.err
15777 rm -f conftest.er1
15778 cat conftest.err >&5
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); } &&
15781 { ac_try='test -z "$ac_c_werror_flag"
15782 || test ! -s conftest.err'
15783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15784 (eval $ac_try) 2>&5
15785 ac_status=$?
15786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787 (exit $ac_status); }; } &&
15788 { ac_try='test -s conftest$ac_exeext'
15789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15790 (eval $ac_try) 2>&5
15791 ac_status=$?
15792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 (exit $ac_status); }; }; then
15794 ac_cv_search_gettext="-l$ac_lib"
15795 break
15796 else
15797 echo "$as_me: failed program was:" >&5
15798 sed 's/^/| /' conftest.$ac_ext >&5
15801 rm -f conftest.err conftest.$ac_objext \
15802 conftest$ac_exeext conftest.$ac_ext
15803 done
15805 LIBS=$ac_func_search_save_LIBS
15807 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
15808 echo "${ECHO_T}$ac_cv_search_gettext" >&6
15809 if test "$ac_cv_search_gettext" != no; then
15810 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
15812 else
15813 USE_NLS=no
15817 if test $USE_NLS = yes; then
15819 cat >>confdefs.h <<\_ACEOF
15820 #define _GLIBCXX_USE_NLS 1
15821 _ACEOF
15840 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
15841 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
15842 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
15843 if test "${enable_libstdcxx_allocator+set}" = set; then
15844 enableval="$enable_libstdcxx_allocator"
15846 case "$enableval" in
15847 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15848 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
15849 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
15850 { (exit 1); exit 1; }; } ;;
15851 esac
15853 else
15854 enable_libstdcxx_allocator=auto
15858 # If they didn't use this option switch, or if they specified --enable
15859 # with no specific model, we'll have to look for one. If they
15860 # specified --disable (???), do likewise.
15861 if test $enable_libstdcxx_allocator = no ||
15862 test $enable_libstdcxx_allocator = yes;
15863 then
15864 enable_libstdcxx_allocator=auto
15867 # Either a known package, or "auto". Auto implies the default choice
15868 # for a particular platform.
15869 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15871 # Probe for host-specific support if no specific model is specified.
15872 # Default to "new".
15873 if test $enable_libstdcxx_allocator_flag = auto; then
15874 case ${target_os} in
15875 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15876 enable_libstdcxx_allocator_flag=new
15879 enable_libstdcxx_allocator_flag=new
15881 esac
15883 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
15884 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
15887 # Set configure bits for specified locale package
15888 case ${enable_libstdcxx_allocator_flag} in
15889 bitmap)
15890 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15891 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15893 malloc)
15894 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15895 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15898 ALLOCATOR_H=config/allocator/mt_allocator_base.h
15899 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15901 new)
15902 ALLOCATOR_H=config/allocator/new_allocator_base.h
15903 ALLOCATOR_NAME=__gnu_cxx::new_allocator
15905 pool)
15906 ALLOCATOR_H=config/allocator/pool_allocator_base.h
15907 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15909 esac
15915 # Check whether --enable-cheaders or --disable-cheaders was given.
15916 if test "${enable_cheaders+set}" = set; then
15917 enableval="$enable_cheaders"
15919 case "$enableval" in
15920 c|c_std|c_global) ;;
15921 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
15922 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
15923 { (exit 1); exit 1; }; } ;;
15924 esac
15926 else
15927 enable_cheaders=$c_model
15930 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
15931 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
15933 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
15935 # Allow overrides to configure.host here.
15936 if test $enable_cheaders = c_global; then
15937 c_compatibility=yes
15940 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
15941 c_extra=yes
15951 # Check whether --enable-long-long or --disable-long-long was given.
15952 if test "${enable_long_long+set}" = set; then
15953 enableval="$enable_long_long"
15955 case "$enableval" in
15956 yes|no) ;;
15957 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
15958 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
15959 { (exit 1); exit 1; }; } ;;
15960 esac
15962 else
15963 enable_long_long=yes
15966 if test $enable_long_long = yes; then
15968 cat >>confdefs.h <<\_ACEOF
15969 #define _GLIBCXX_USE_LONG_LONG 1
15970 _ACEOF
15973 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
15974 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
15975 echo "$as_me:$LINENO: result: $enable_long_long" >&5
15976 echo "${ECHO_T}$enable_long_long" >&6
15979 # Check whether --enable-wchar_t or --disable-wchar_t was given.
15980 if test "${enable_wchar_t+set}" = set; then
15981 enableval="$enable_wchar_t"
15983 case "$enableval" in
15984 yes|no) ;;
15985 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
15986 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
15987 { (exit 1); exit 1; }; } ;;
15988 esac
15990 else
15991 enable_wchar_t=yes
15995 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
15997 for ac_header in wchar.h
15999 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16001 echo "$as_me:$LINENO: checking for $ac_header" >&5
16002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16004 echo $ECHO_N "(cached) $ECHO_C" >&6
16006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16007 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16008 else
16009 # Is the header compilable?
16010 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16011 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16012 cat >conftest.$ac_ext <<_ACEOF
16013 /* confdefs.h. */
16014 _ACEOF
16015 cat confdefs.h >>conftest.$ac_ext
16016 cat >>conftest.$ac_ext <<_ACEOF
16017 /* end confdefs.h. */
16018 $ac_includes_default
16019 #include <$ac_header>
16020 _ACEOF
16021 rm -f conftest.$ac_objext
16022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16023 (eval $ac_compile) 2>conftest.er1
16024 ac_status=$?
16025 grep -v '^ *+' conftest.er1 >conftest.err
16026 rm -f conftest.er1
16027 cat conftest.err >&5
16028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16029 (exit $ac_status); } &&
16030 { ac_try='test -z "$ac_c_werror_flag"
16031 || test ! -s conftest.err'
16032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16033 (eval $ac_try) 2>&5
16034 ac_status=$?
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); }; } &&
16037 { ac_try='test -s conftest.$ac_objext'
16038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16039 (eval $ac_try) 2>&5
16040 ac_status=$?
16041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042 (exit $ac_status); }; }; then
16043 ac_header_compiler=yes
16044 else
16045 echo "$as_me: failed program was:" >&5
16046 sed 's/^/| /' conftest.$ac_ext >&5
16048 ac_header_compiler=no
16050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16051 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16052 echo "${ECHO_T}$ac_header_compiler" >&6
16054 # Is the header present?
16055 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16056 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16057 cat >conftest.$ac_ext <<_ACEOF
16058 /* confdefs.h. */
16059 _ACEOF
16060 cat confdefs.h >>conftest.$ac_ext
16061 cat >>conftest.$ac_ext <<_ACEOF
16062 /* end confdefs.h. */
16063 #include <$ac_header>
16064 _ACEOF
16065 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16066 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16067 ac_status=$?
16068 grep -v '^ *+' conftest.er1 >conftest.err
16069 rm -f conftest.er1
16070 cat conftest.err >&5
16071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072 (exit $ac_status); } >/dev/null; then
16073 if test -s conftest.err; then
16074 ac_cpp_err=$ac_c_preproc_warn_flag
16075 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16076 else
16077 ac_cpp_err=
16079 else
16080 ac_cpp_err=yes
16082 if test -z "$ac_cpp_err"; then
16083 ac_header_preproc=yes
16084 else
16085 echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.$ac_ext >&5
16088 ac_header_preproc=no
16090 rm -f conftest.err conftest.$ac_ext
16091 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16092 echo "${ECHO_T}$ac_header_preproc" >&6
16094 # So? What about this header?
16095 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16096 yes:no: )
16097 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16098 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16099 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16100 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16101 ac_header_preproc=yes
16103 no:yes:* )
16104 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16105 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16106 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16107 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16108 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16109 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16110 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16111 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16112 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16113 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16114 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16115 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16117 cat <<\_ASBOX
16118 ## ----------------------------------------- ##
16119 ## Report this to the package-unused lists. ##
16120 ## ----------------------------------------- ##
16121 _ASBOX
16123 sed "s/^/$as_me: WARNING: /" >&2
16125 esac
16126 echo "$as_me:$LINENO: checking for $ac_header" >&5
16127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16129 echo $ECHO_N "(cached) $ECHO_C" >&6
16130 else
16131 eval "$as_ac_Header=\$ac_header_preproc"
16133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16134 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16137 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16138 cat >>confdefs.h <<_ACEOF
16139 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16140 _ACEOF
16141 ac_has_wchar_h=yes
16142 else
16143 ac_has_wchar_h=no
16146 done
16148 echo "$as_me:$LINENO: checking for mbstate_t" >&5
16149 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
16150 cat >conftest.$ac_ext <<_ACEOF
16151 /* confdefs.h. */
16152 _ACEOF
16153 cat confdefs.h >>conftest.$ac_ext
16154 cat >>conftest.$ac_ext <<_ACEOF
16155 /* end confdefs.h. */
16156 #include <wchar.h>
16158 main ()
16160 mbstate_t teststate;
16162 return 0;
16164 _ACEOF
16165 rm -f conftest.$ac_objext
16166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16167 (eval $ac_compile) 2>conftest.er1
16168 ac_status=$?
16169 grep -v '^ *+' conftest.er1 >conftest.err
16170 rm -f conftest.er1
16171 cat conftest.err >&5
16172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173 (exit $ac_status); } &&
16174 { ac_try='test -z "$ac_c_werror_flag"
16175 || test ! -s conftest.err'
16176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177 (eval $ac_try) 2>&5
16178 ac_status=$?
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); }; } &&
16181 { ac_try='test -s conftest.$ac_objext'
16182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16183 (eval $ac_try) 2>&5
16184 ac_status=$?
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); }; }; then
16187 have_mbstate_t=yes
16188 else
16189 echo "$as_me: failed program was:" >&5
16190 sed 's/^/| /' conftest.$ac_ext >&5
16192 have_mbstate_t=no
16194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16195 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
16196 echo "${ECHO_T}$have_mbstate_t" >&6
16197 if test x"$have_mbstate_t" = xyes; then
16199 cat >>confdefs.h <<\_ACEOF
16200 #define HAVE_MBSTATE_T 1
16201 _ACEOF
16205 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16206 # ac_has_wchar_h.
16208 for ac_header in wctype.h
16210 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16212 echo "$as_me:$LINENO: checking for $ac_header" >&5
16213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16215 echo $ECHO_N "(cached) $ECHO_C" >&6
16217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16219 else
16220 # Is the header compilable?
16221 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16222 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16223 cat >conftest.$ac_ext <<_ACEOF
16224 /* confdefs.h. */
16225 _ACEOF
16226 cat confdefs.h >>conftest.$ac_ext
16227 cat >>conftest.$ac_ext <<_ACEOF
16228 /* end confdefs.h. */
16229 $ac_includes_default
16230 #include <$ac_header>
16231 _ACEOF
16232 rm -f conftest.$ac_objext
16233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16234 (eval $ac_compile) 2>conftest.er1
16235 ac_status=$?
16236 grep -v '^ *+' conftest.er1 >conftest.err
16237 rm -f conftest.er1
16238 cat conftest.err >&5
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); } &&
16241 { ac_try='test -z "$ac_c_werror_flag"
16242 || test ! -s conftest.err'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16245 ac_status=$?
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; } &&
16248 { ac_try='test -s conftest.$ac_objext'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16251 ac_status=$?
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; }; then
16254 ac_header_compiler=yes
16255 else
16256 echo "$as_me: failed program was:" >&5
16257 sed 's/^/| /' conftest.$ac_ext >&5
16259 ac_header_compiler=no
16261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16262 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16263 echo "${ECHO_T}$ac_header_compiler" >&6
16265 # Is the header present?
16266 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16267 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16268 cat >conftest.$ac_ext <<_ACEOF
16269 /* confdefs.h. */
16270 _ACEOF
16271 cat confdefs.h >>conftest.$ac_ext
16272 cat >>conftest.$ac_ext <<_ACEOF
16273 /* end confdefs.h. */
16274 #include <$ac_header>
16275 _ACEOF
16276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16277 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16278 ac_status=$?
16279 grep -v '^ *+' conftest.er1 >conftest.err
16280 rm -f conftest.er1
16281 cat conftest.err >&5
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); } >/dev/null; then
16284 if test -s conftest.err; then
16285 ac_cpp_err=$ac_c_preproc_warn_flag
16286 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16287 else
16288 ac_cpp_err=
16290 else
16291 ac_cpp_err=yes
16293 if test -z "$ac_cpp_err"; then
16294 ac_header_preproc=yes
16295 else
16296 echo "$as_me: failed program was:" >&5
16297 sed 's/^/| /' conftest.$ac_ext >&5
16299 ac_header_preproc=no
16301 rm -f conftest.err conftest.$ac_ext
16302 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16303 echo "${ECHO_T}$ac_header_preproc" >&6
16305 # So? What about this header?
16306 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16307 yes:no: )
16308 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16309 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16311 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16312 ac_header_preproc=yes
16314 no:yes:* )
16315 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16316 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16317 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16318 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16319 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16320 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16321 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16322 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16324 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16325 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16326 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16328 cat <<\_ASBOX
16329 ## ----------------------------------------- ##
16330 ## Report this to the package-unused lists. ##
16331 ## ----------------------------------------- ##
16332 _ASBOX
16334 sed "s/^/$as_me: WARNING: /" >&2
16336 esac
16337 echo "$as_me:$LINENO: checking for $ac_header" >&5
16338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16340 echo $ECHO_N "(cached) $ECHO_C" >&6
16341 else
16342 eval "$as_ac_Header=\$ac_header_preproc"
16344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16349 cat >>confdefs.h <<_ACEOF
16350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16351 _ACEOF
16352 ac_has_wctype_h=yes
16353 else
16354 ac_has_wctype_h=no
16357 done
16360 if test x"$enable_wchar_t" = x"yes"; then
16364 ac_ext=cc
16365 ac_cpp='$CXXCPP $CPPFLAGS'
16366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16371 if test x"$ac_has_wchar_h" = xyes &&
16372 test x"$ac_has_wctype_h" = xyes; then
16373 cat >conftest.$ac_ext <<_ACEOF
16374 /* confdefs.h. */
16375 _ACEOF
16376 cat confdefs.h >>conftest.$ac_ext
16377 cat >>conftest.$ac_ext <<_ACEOF
16378 /* end confdefs.h. */
16379 #include <wchar.h>
16380 #include <stddef.h>
16381 wint_t i;
16382 long l = WEOF;
16383 long j = WCHAR_MIN;
16384 long k = WCHAR_MAX;
16385 namespace test
16387 using ::btowc;
16388 using ::fgetwc;
16389 using ::fgetws;
16390 using ::fputwc;
16391 using ::fputws;
16392 using ::fwide;
16393 using ::fwprintf;
16394 using ::fwscanf;
16395 using ::getwc;
16396 using ::getwchar;
16397 using ::mbrlen;
16398 using ::mbrtowc;
16399 using ::mbsinit;
16400 using ::mbsrtowcs;
16401 using ::putwc;
16402 using ::putwchar;
16403 using ::swprintf;
16404 using ::swscanf;
16405 using ::ungetwc;
16406 using ::vfwprintf;
16407 using ::vswprintf;
16408 using ::vwprintf;
16409 using ::wcrtomb;
16410 using ::wcscat;
16411 using ::wcschr;
16412 using ::wcscmp;
16413 using ::wcscoll;
16414 using ::wcscpy;
16415 using ::wcscspn;
16416 using ::wcsftime;
16417 using ::wcslen;
16418 using ::wcsncat;
16419 using ::wcsncmp;
16420 using ::wcsncpy;
16421 using ::wcspbrk;
16422 using ::wcsrchr;
16423 using ::wcsrtombs;
16424 using ::wcsspn;
16425 using ::wcsstr;
16426 using ::wcstod;
16427 using ::wcstok;
16428 using ::wcstol;
16429 using ::wcstoul;
16430 using ::wcsxfrm;
16431 using ::wctob;
16432 using ::wmemchr;
16433 using ::wmemcmp;
16434 using ::wmemcpy;
16435 using ::wmemmove;
16436 using ::wmemset;
16437 using ::wprintf;
16438 using ::wscanf;
16442 main ()
16446 return 0;
16448 _ACEOF
16449 rm -f conftest.$ac_objext
16450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16451 (eval $ac_compile) 2>conftest.er1
16452 ac_status=$?
16453 grep -v '^ *+' conftest.er1 >conftest.err
16454 rm -f conftest.er1
16455 cat conftest.err >&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); } &&
16458 { ac_try='test -z "$ac_cxx_werror_flag"
16459 || test ! -s conftest.err'
16460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16461 (eval $ac_try) 2>&5
16462 ac_status=$?
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); }; } &&
16465 { ac_try='test -s conftest.$ac_objext'
16466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16467 (eval $ac_try) 2>&5
16468 ac_status=$?
16469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470 (exit $ac_status); }; }; then
16472 else
16473 echo "$as_me: failed program was:" >&5
16474 sed 's/^/| /' conftest.$ac_ext >&5
16476 enable_wchar_t=no
16478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16479 else
16480 enable_wchar_t=no
16483 ac_ext=c
16484 ac_cpp='$CPP $CPPFLAGS'
16485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16491 if test x"$enable_wchar_t" = x"yes"; then
16493 cat >>confdefs.h <<\_ACEOF
16494 #define _GLIBCXX_USE_WCHAR_T 1
16495 _ACEOF
16499 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
16500 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
16501 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
16502 echo "${ECHO_T}$enable_wchar_t" >&6
16506 # Check whether --enable-c99 or --disable-c99 was given.
16507 if test "${enable_c99+set}" = set; then
16508 enableval="$enable_c99"
16510 case "$enableval" in
16511 yes|no) ;;
16512 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
16513 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
16514 { (exit 1); exit 1; }; } ;;
16515 esac
16517 else
16518 enable_c99=yes
16522 if test x"$enable_c99" = x"yes"; then
16526 ac_ext=cc
16527 ac_cpp='$CXXCPP $CPPFLAGS'
16528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16533 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16534 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16535 # spuriously enabled.
16536 # Long term, -std=c++0x could be even better, could manage to explicitely
16537 # request C99 facilities to the underlying C headers.
16538 ac_save_CXXFLAGS="$CXXFLAGS"
16539 CXXFLAGS="$CXXFLAGS -std=c++98"
16540 ac_save_LIBS="$LIBS"
16541 ac_save_gcc_no_link="$gcc_no_link"
16543 if test x$gcc_no_link != xyes; then
16544 # Use -fno-exceptions to that the C driver can link these tests without
16545 # hitting undefined references to personality routines.
16546 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16547 echo "$as_me:$LINENO: checking for sin in -lm" >&5
16548 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
16549 if test "${ac_cv_lib_m_sin+set}" = set; then
16550 echo $ECHO_N "(cached) $ECHO_C" >&6
16551 else
16552 ac_check_lib_save_LIBS=$LIBS
16553 LIBS="-lm $LIBS"
16554 if test x$gcc_no_link = xyes; then
16555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16557 { (exit 1); exit 1; }; }
16559 cat >conftest.$ac_ext <<_ACEOF
16560 /* confdefs.h. */
16561 _ACEOF
16562 cat confdefs.h >>conftest.$ac_ext
16563 cat >>conftest.$ac_ext <<_ACEOF
16564 /* end confdefs.h. */
16566 /* Override any gcc2 internal prototype to avoid an error. */
16567 #ifdef __cplusplus
16568 extern "C"
16569 #endif
16570 /* We use char because int might match the return type of a gcc2
16571 builtin and then its argument prototype would still apply. */
16572 char sin ();
16574 main ()
16576 sin ();
16578 return 0;
16580 _ACEOF
16581 rm -f conftest.$ac_objext conftest$ac_exeext
16582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16583 (eval $ac_link) 2>conftest.er1
16584 ac_status=$?
16585 grep -v '^ *+' conftest.er1 >conftest.err
16586 rm -f conftest.er1
16587 cat conftest.err >&5
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589 (exit $ac_status); } &&
16590 { ac_try='test -z "$ac_cxx_werror_flag"
16591 || test ! -s conftest.err'
16592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16593 (eval $ac_try) 2>&5
16594 ac_status=$?
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); }; } &&
16597 { ac_try='test -s conftest$ac_exeext'
16598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16599 (eval $ac_try) 2>&5
16600 ac_status=$?
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); }; }; then
16603 ac_cv_lib_m_sin=yes
16604 else
16605 echo "$as_me: failed program was:" >&5
16606 sed 's/^/| /' conftest.$ac_ext >&5
16608 ac_cv_lib_m_sin=no
16610 rm -f conftest.err conftest.$ac_objext \
16611 conftest$ac_exeext conftest.$ac_ext
16612 LIBS=$ac_check_lib_save_LIBS
16614 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
16615 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
16616 if test $ac_cv_lib_m_sin = yes; then
16618 LIBS="$LIBS -lm"
16620 else
16622 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16623 gcc_no_link=yes
16629 # Check for the existence of <math.h> functions used if C99 is enabled.
16630 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
16631 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
16632 if test "${glibcxx_cv_c99_math+set}" = set; then
16633 echo $ECHO_N "(cached) $ECHO_C" >&6
16634 else
16636 if test x$gcc_no_link = xyes; then
16637 cat >conftest.$ac_ext <<_ACEOF
16638 /* confdefs.h. */
16639 _ACEOF
16640 cat confdefs.h >>conftest.$ac_ext
16641 cat >>conftest.$ac_ext <<_ACEOF
16642 /* end confdefs.h. */
16643 #include <math.h>
16644 volatile double d1, d2;
16645 volatile int i;
16647 main ()
16649 i = fpclassify(d1);
16650 i = isfinite(d1);
16651 i = isinf(d1);
16652 i = isnan(d1);
16653 i = isnormal(d1);
16654 i = signbit(d1);
16655 i = isgreater(d1, d2);
16656 i = isgreaterequal(d1, d2);
16657 i = isless(d1, d2);
16658 i = islessequal(d1, d2);
16659 i = islessgreater(d1, d2);
16660 i = islessgreater(d1, d2);
16661 i = isunordered(d1, d2);
16664 return 0;
16666 _ACEOF
16667 rm -f conftest.$ac_objext
16668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16669 (eval $ac_compile) 2>conftest.er1
16670 ac_status=$?
16671 grep -v '^ *+' conftest.er1 >conftest.err
16672 rm -f conftest.er1
16673 cat conftest.err >&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); } &&
16676 { ac_try='test -z "$ac_cxx_werror_flag"
16677 || test ! -s conftest.err'
16678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16679 (eval $ac_try) 2>&5
16680 ac_status=$?
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); }; } &&
16683 { ac_try='test -s conftest.$ac_objext'
16684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16685 (eval $ac_try) 2>&5
16686 ac_status=$?
16687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688 (exit $ac_status); }; }; then
16689 glibcxx_cv_c99_math=yes
16690 else
16691 echo "$as_me: failed program was:" >&5
16692 sed 's/^/| /' conftest.$ac_ext >&5
16694 glibcxx_cv_c99_math=no
16696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16697 else
16698 if test x$gcc_no_link = xyes; then
16699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16701 { (exit 1); exit 1; }; }
16703 cat >conftest.$ac_ext <<_ACEOF
16704 /* confdefs.h. */
16705 _ACEOF
16706 cat confdefs.h >>conftest.$ac_ext
16707 cat >>conftest.$ac_ext <<_ACEOF
16708 /* end confdefs.h. */
16709 #include <math.h>
16710 volatile double d1, d2;
16711 volatile int i;
16713 main ()
16715 i = fpclassify(d1);
16716 i = isfinite(d1);
16717 i = isinf(d1);
16718 i = isnan(d1);
16719 i = isnormal(d1);
16720 i = signbit(d1);
16721 i = isgreater(d1, d2);
16722 i = isgreaterequal(d1, d2);
16723 i = isless(d1, d2);
16724 i = islessequal(d1, d2);
16725 i = islessgreater(d1, d2);
16726 i = islessgreater(d1, d2);
16727 i = isunordered(d1, d2);
16730 return 0;
16732 _ACEOF
16733 rm -f conftest.$ac_objext conftest$ac_exeext
16734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16735 (eval $ac_link) 2>conftest.er1
16736 ac_status=$?
16737 grep -v '^ *+' conftest.er1 >conftest.err
16738 rm -f conftest.er1
16739 cat conftest.err >&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); } &&
16742 { ac_try='test -z "$ac_cxx_werror_flag"
16743 || test ! -s conftest.err'
16744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16745 (eval $ac_try) 2>&5
16746 ac_status=$?
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); }; } &&
16749 { ac_try='test -s conftest$ac_exeext'
16750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16751 (eval $ac_try) 2>&5
16752 ac_status=$?
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); }; }; then
16755 glibcxx_cv_c99_math=yes
16756 else
16757 echo "$as_me: failed program was:" >&5
16758 sed 's/^/| /' conftest.$ac_ext >&5
16760 glibcxx_cv_c99_math=no
16762 rm -f conftest.err conftest.$ac_objext \
16763 conftest$ac_exeext conftest.$ac_ext
16768 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math" >&5
16769 echo "${ECHO_T}$glibcxx_cv_c99_math" >&6
16770 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16772 cat >>confdefs.h <<\_ACEOF
16773 #define _GLIBCXX_USE_C99_MATH 1
16774 _ACEOF
16778 # Check for the existence of <complex.h> complex math functions.
16779 # This is necessary even though libstdc++ uses the builtin versions
16780 # of these functions, because if the builtin cannot be used, a reference
16781 # to the library function is emitted.
16783 for ac_header in tgmath.h
16785 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16787 echo "$as_me:$LINENO: checking for $ac_header" >&5
16788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16790 echo $ECHO_N "(cached) $ECHO_C" >&6
16792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16793 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16794 else
16795 # Is the header compilable?
16796 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16797 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16798 cat >conftest.$ac_ext <<_ACEOF
16799 /* confdefs.h. */
16800 _ACEOF
16801 cat confdefs.h >>conftest.$ac_ext
16802 cat >>conftest.$ac_ext <<_ACEOF
16803 /* end confdefs.h. */
16804 $ac_includes_default
16805 #include <$ac_header>
16806 _ACEOF
16807 rm -f conftest.$ac_objext
16808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16809 (eval $ac_compile) 2>conftest.er1
16810 ac_status=$?
16811 grep -v '^ *+' conftest.er1 >conftest.err
16812 rm -f conftest.er1
16813 cat conftest.err >&5
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); } &&
16816 { ac_try='test -z "$ac_cxx_werror_flag"
16817 || test ! -s conftest.err'
16818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16819 (eval $ac_try) 2>&5
16820 ac_status=$?
16821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16822 (exit $ac_status); }; } &&
16823 { ac_try='test -s conftest.$ac_objext'
16824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16825 (eval $ac_try) 2>&5
16826 ac_status=$?
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); }; }; then
16829 ac_header_compiler=yes
16830 else
16831 echo "$as_me: failed program was:" >&5
16832 sed 's/^/| /' conftest.$ac_ext >&5
16834 ac_header_compiler=no
16836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16837 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16838 echo "${ECHO_T}$ac_header_compiler" >&6
16840 # Is the header present?
16841 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16842 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16843 cat >conftest.$ac_ext <<_ACEOF
16844 /* confdefs.h. */
16845 _ACEOF
16846 cat confdefs.h >>conftest.$ac_ext
16847 cat >>conftest.$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16849 #include <$ac_header>
16850 _ACEOF
16851 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16852 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16853 ac_status=$?
16854 grep -v '^ *+' conftest.er1 >conftest.err
16855 rm -f conftest.er1
16856 cat conftest.err >&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); } >/dev/null; then
16859 if test -s conftest.err; then
16860 ac_cpp_err=$ac_cxx_preproc_warn_flag
16861 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16862 else
16863 ac_cpp_err=
16865 else
16866 ac_cpp_err=yes
16868 if test -z "$ac_cpp_err"; then
16869 ac_header_preproc=yes
16870 else
16871 echo "$as_me: failed program was:" >&5
16872 sed 's/^/| /' conftest.$ac_ext >&5
16874 ac_header_preproc=no
16876 rm -f conftest.err conftest.$ac_ext
16877 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16878 echo "${ECHO_T}$ac_header_preproc" >&6
16880 # So? What about this header?
16881 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16882 yes:no: )
16883 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16884 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16886 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16887 ac_header_preproc=yes
16889 no:yes:* )
16890 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16891 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16892 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16893 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16894 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16895 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16896 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16897 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16900 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16901 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16903 cat <<\_ASBOX
16904 ## ----------------------------------------- ##
16905 ## Report this to the package-unused lists. ##
16906 ## ----------------------------------------- ##
16907 _ASBOX
16909 sed "s/^/$as_me: WARNING: /" >&2
16911 esac
16912 echo "$as_me:$LINENO: checking for $ac_header" >&5
16913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16915 echo $ECHO_N "(cached) $ECHO_C" >&6
16916 else
16917 eval "$as_ac_Header=\$ac_header_preproc"
16919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16923 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16924 cat >>confdefs.h <<_ACEOF
16925 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16926 _ACEOF
16927 ac_has_tgmath_h=yes
16928 else
16929 ac_has_tgmath_h=no
16932 done
16935 for ac_header in complex.h
16937 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16939 echo "$as_me:$LINENO: checking for $ac_header" >&5
16940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16942 echo $ECHO_N "(cached) $ECHO_C" >&6
16944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16946 else
16947 # Is the header compilable?
16948 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16949 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16950 cat >conftest.$ac_ext <<_ACEOF
16951 /* confdefs.h. */
16952 _ACEOF
16953 cat confdefs.h >>conftest.$ac_ext
16954 cat >>conftest.$ac_ext <<_ACEOF
16955 /* end confdefs.h. */
16956 $ac_includes_default
16957 #include <$ac_header>
16958 _ACEOF
16959 rm -f conftest.$ac_objext
16960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16961 (eval $ac_compile) 2>conftest.er1
16962 ac_status=$?
16963 grep -v '^ *+' conftest.er1 >conftest.err
16964 rm -f conftest.er1
16965 cat conftest.err >&5
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); } &&
16968 { ac_try='test -z "$ac_cxx_werror_flag"
16969 || test ! -s conftest.err'
16970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16971 (eval $ac_try) 2>&5
16972 ac_status=$?
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); }; } &&
16975 { ac_try='test -s conftest.$ac_objext'
16976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16977 (eval $ac_try) 2>&5
16978 ac_status=$?
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); }; }; then
16981 ac_header_compiler=yes
16982 else
16983 echo "$as_me: failed program was:" >&5
16984 sed 's/^/| /' conftest.$ac_ext >&5
16986 ac_header_compiler=no
16988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16990 echo "${ECHO_T}$ac_header_compiler" >&6
16992 # Is the header present?
16993 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16994 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16995 cat >conftest.$ac_ext <<_ACEOF
16996 /* confdefs.h. */
16997 _ACEOF
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17001 #include <$ac_header>
17002 _ACEOF
17003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17005 ac_status=$?
17006 grep -v '^ *+' conftest.er1 >conftest.err
17007 rm -f conftest.er1
17008 cat conftest.err >&5
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); } >/dev/null; then
17011 if test -s conftest.err; then
17012 ac_cpp_err=$ac_cxx_preproc_warn_flag
17013 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17014 else
17015 ac_cpp_err=
17017 else
17018 ac_cpp_err=yes
17020 if test -z "$ac_cpp_err"; then
17021 ac_header_preproc=yes
17022 else
17023 echo "$as_me: failed program was:" >&5
17024 sed 's/^/| /' conftest.$ac_ext >&5
17026 ac_header_preproc=no
17028 rm -f conftest.err conftest.$ac_ext
17029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17030 echo "${ECHO_T}$ac_header_preproc" >&6
17032 # So? What about this header?
17033 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17034 yes:no: )
17035 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17038 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17039 ac_header_preproc=yes
17041 no:yes:* )
17042 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17044 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17045 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17046 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17047 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17048 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17049 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17052 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17055 cat <<\_ASBOX
17056 ## ----------------------------------------- ##
17057 ## Report this to the package-unused lists. ##
17058 ## ----------------------------------------- ##
17059 _ASBOX
17061 sed "s/^/$as_me: WARNING: /" >&2
17063 esac
17064 echo "$as_me:$LINENO: checking for $ac_header" >&5
17065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17067 echo $ECHO_N "(cached) $ECHO_C" >&6
17068 else
17069 eval "$as_ac_Header=\$ac_header_preproc"
17071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17076 cat >>confdefs.h <<_ACEOF
17077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17078 _ACEOF
17079 ac_has_complex_h=yes
17080 else
17081 ac_has_complex_h=no
17084 done
17086 glibcxx_cv_c99_complex=no;
17087 if test x"$ac_has_complex_h" = x"yes"; then
17088 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
17089 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
17090 if test x$gcc_no_link = xyes; then
17091 cat >conftest.$ac_ext <<_ACEOF
17092 /* confdefs.h. */
17093 _ACEOF
17094 cat confdefs.h >>conftest.$ac_ext
17095 cat >>conftest.$ac_ext <<_ACEOF
17096 /* end confdefs.h. */
17097 #include <complex.h>
17098 typedef __complex__ float float_type;
17099 typedef __complex__ double double_type;
17100 typedef __complex__ long double ld_type;
17101 volatile float_type tmpf;
17102 volatile double_type tmpd;
17103 volatile ld_type tmpld;
17104 volatile float f;
17105 volatile double d;
17106 volatile long double ld;
17108 main ()
17110 f = cabsf(tmpf);
17111 f = cargf(tmpf);
17112 tmpf = ccosf(tmpf);
17113 tmpf = ccoshf(tmpf);
17114 tmpf = cexpf(tmpf);
17115 tmpf = clogf(tmpf);
17116 tmpf = csinf(tmpf);
17117 tmpf = csinhf(tmpf);
17118 tmpf = csqrtf(tmpf);
17119 tmpf = ctanf(tmpf);
17120 tmpf = ctanhf(tmpf);
17121 tmpf = cpowf(tmpf, tmpf);
17122 tmpf = cprojf(tmpf);
17123 d = cabs(tmpd);
17124 d = carg(tmpd);
17125 tmpd = ccos(tmpd);
17126 tmpd = ccosh(tmpd);
17127 tmpd = cexp(tmpd);
17128 tmpd = clog(tmpd);
17129 tmpd = csin(tmpd);
17130 tmpd = csinh(tmpd);
17131 tmpd = csqrt(tmpd);
17132 tmpd = ctan(tmpd);
17133 tmpd = ctanh(tmpd);
17134 tmpd = cpow(tmpd, tmpd);
17135 tmpd = cproj(tmpd);
17136 ld = cabsl(tmpld);
17137 ld = cargl(tmpld);
17138 tmpld = ccosl(tmpld);
17139 tmpld = ccoshl(tmpld);
17140 tmpld = cexpl(tmpld);
17141 tmpld = clogl(tmpld);
17142 tmpld = csinl(tmpld);
17143 tmpld = csinhl(tmpld);
17144 tmpld = csqrtl(tmpld);
17145 tmpld = ctanl(tmpld);
17146 tmpld = ctanhl(tmpld);
17147 tmpld = cpowl(tmpld, tmpld);
17148 tmpld = cprojl(tmpld);
17151 return 0;
17153 _ACEOF
17154 rm -f conftest.$ac_objext
17155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17156 (eval $ac_compile) 2>conftest.er1
17157 ac_status=$?
17158 grep -v '^ *+' conftest.er1 >conftest.err
17159 rm -f conftest.er1
17160 cat conftest.err >&5
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); } &&
17163 { ac_try='test -z "$ac_cxx_werror_flag"
17164 || test ! -s conftest.err'
17165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17166 (eval $ac_try) 2>&5
17167 ac_status=$?
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); }; } &&
17170 { ac_try='test -s conftest.$ac_objext'
17171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17172 (eval $ac_try) 2>&5
17173 ac_status=$?
17174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175 (exit $ac_status); }; }; then
17176 glibcxx_cv_c99_complex=yes
17177 else
17178 echo "$as_me: failed program was:" >&5
17179 sed 's/^/| /' conftest.$ac_ext >&5
17181 glibcxx_cv_c99_complex=no
17183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17184 else
17185 if test x$gcc_no_link = xyes; then
17186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17188 { (exit 1); exit 1; }; }
17190 cat >conftest.$ac_ext <<_ACEOF
17191 /* confdefs.h. */
17192 _ACEOF
17193 cat confdefs.h >>conftest.$ac_ext
17194 cat >>conftest.$ac_ext <<_ACEOF
17195 /* end confdefs.h. */
17196 #include <complex.h>
17197 typedef __complex__ float float_type;
17198 typedef __complex__ double double_type;
17199 typedef __complex__ long double ld_type;
17200 volatile float_type tmpf;
17201 volatile double_type tmpd;
17202 volatile ld_type tmpld;
17203 volatile float f;
17204 volatile double d;
17205 volatile long double ld;
17207 main ()
17209 f = cabsf(tmpf);
17210 f = cargf(tmpf);
17211 tmpf = ccosf(tmpf);
17212 tmpf = ccoshf(tmpf);
17213 tmpf = cexpf(tmpf);
17214 tmpf = clogf(tmpf);
17215 tmpf = csinf(tmpf);
17216 tmpf = csinhf(tmpf);
17217 tmpf = csqrtf(tmpf);
17218 tmpf = ctanf(tmpf);
17219 tmpf = ctanhf(tmpf);
17220 tmpf = cpowf(tmpf, tmpf);
17221 tmpf = cprojf(tmpf);
17222 d = cabs(tmpd);
17223 d = carg(tmpd);
17224 tmpd = ccos(tmpd);
17225 tmpd = ccosh(tmpd);
17226 tmpd = cexp(tmpd);
17227 tmpd = clog(tmpd);
17228 tmpd = csin(tmpd);
17229 tmpd = csinh(tmpd);
17230 tmpd = csqrt(tmpd);
17231 tmpd = ctan(tmpd);
17232 tmpd = ctanh(tmpd);
17233 tmpd = cpow(tmpd, tmpd);
17234 tmpd = cproj(tmpd);
17235 ld = cabsl(tmpld);
17236 ld = cargl(tmpld);
17237 tmpld = ccosl(tmpld);
17238 tmpld = ccoshl(tmpld);
17239 tmpld = cexpl(tmpld);
17240 tmpld = clogl(tmpld);
17241 tmpld = csinl(tmpld);
17242 tmpld = csinhl(tmpld);
17243 tmpld = csqrtl(tmpld);
17244 tmpld = ctanl(tmpld);
17245 tmpld = ctanhl(tmpld);
17246 tmpld = cpowl(tmpld, tmpld);
17247 tmpld = cprojl(tmpld);
17250 return 0;
17252 _ACEOF
17253 rm -f conftest.$ac_objext conftest$ac_exeext
17254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17255 (eval $ac_link) 2>conftest.er1
17256 ac_status=$?
17257 grep -v '^ *+' conftest.er1 >conftest.err
17258 rm -f conftest.er1
17259 cat conftest.err >&5
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); } &&
17262 { ac_try='test -z "$ac_cxx_werror_flag"
17263 || test ! -s conftest.err'
17264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17265 (eval $ac_try) 2>&5
17266 ac_status=$?
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); }; } &&
17269 { ac_try='test -s conftest$ac_exeext'
17270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17271 (eval $ac_try) 2>&5
17272 ac_status=$?
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); }; }; then
17275 glibcxx_cv_c99_complex=yes
17276 else
17277 echo "$as_me: failed program was:" >&5
17278 sed 's/^/| /' conftest.$ac_ext >&5
17280 glibcxx_cv_c99_complex=no
17282 rm -f conftest.err conftest.$ac_objext \
17283 conftest$ac_exeext conftest.$ac_ext
17286 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_complex" >&5
17287 echo "${ECHO_T}$glibcxx_cv_c99_complex" >&6
17288 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
17290 cat >>confdefs.h <<\_ACEOF
17291 #define _GLIBCXX_USE_C99_COMPLEX 1
17292 _ACEOF
17296 # Check for the existence in <stdio.h> of vscanf, et. al.
17297 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
17298 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
17299 if test "${glibcxx_cv_c99_stdio+set}" = set; then
17300 echo $ECHO_N "(cached) $ECHO_C" >&6
17301 else
17303 if test x$gcc_no_link = xyes; then
17304 cat >conftest.$ac_ext <<_ACEOF
17305 /* confdefs.h. */
17306 _ACEOF
17307 cat confdefs.h >>conftest.$ac_ext
17308 cat >>conftest.$ac_ext <<_ACEOF
17309 /* end confdefs.h. */
17310 #include <stdio.h>
17311 #include <stdarg.h>
17312 void foo(char* fmt, ...)
17314 va_list args; va_start(args, fmt);
17315 vfscanf(stderr, "%i", args);
17316 vscanf("%i", args);
17317 vsnprintf(fmt, 0, "%i", args);
17318 vsscanf(fmt, "%i", args);
17321 main ()
17323 snprintf("12", 0, "%i");
17325 return 0;
17327 _ACEOF
17328 rm -f conftest.$ac_objext
17329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17330 (eval $ac_compile) 2>conftest.er1
17331 ac_status=$?
17332 grep -v '^ *+' conftest.er1 >conftest.err
17333 rm -f conftest.er1
17334 cat conftest.err >&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } &&
17337 { ac_try='test -z "$ac_cxx_werror_flag"
17338 || test ! -s conftest.err'
17339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17340 (eval $ac_try) 2>&5
17341 ac_status=$?
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); }; } &&
17344 { ac_try='test -s conftest.$ac_objext'
17345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17346 (eval $ac_try) 2>&5
17347 ac_status=$?
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); }; }; then
17350 glibcxx_cv_c99_stdio=yes
17351 else
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.$ac_ext >&5
17355 glibcxx_cv_c99_stdio=no
17357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17358 else
17359 if test x$gcc_no_link = xyes; then
17360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17362 { (exit 1); exit 1; }; }
17364 cat >conftest.$ac_ext <<_ACEOF
17365 /* confdefs.h. */
17366 _ACEOF
17367 cat confdefs.h >>conftest.$ac_ext
17368 cat >>conftest.$ac_ext <<_ACEOF
17369 /* end confdefs.h. */
17370 #include <stdio.h>
17371 #include <stdarg.h>
17372 void foo(char* fmt, ...)
17374 va_list args; va_start(args, fmt);
17375 vfscanf(stderr, "%i", args);
17376 vscanf("%i", args);
17377 vsnprintf(fmt, 0, "%i", args);
17378 vsscanf(fmt, "%i", args);
17381 main ()
17383 snprintf("12", 0, "%i");
17385 return 0;
17387 _ACEOF
17388 rm -f conftest.$ac_objext conftest$ac_exeext
17389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17390 (eval $ac_link) 2>conftest.er1
17391 ac_status=$?
17392 grep -v '^ *+' conftest.er1 >conftest.err
17393 rm -f conftest.er1
17394 cat conftest.err >&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); } &&
17397 { ac_try='test -z "$ac_cxx_werror_flag"
17398 || test ! -s conftest.err'
17399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400 (eval $ac_try) 2>&5
17401 ac_status=$?
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }; } &&
17404 { ac_try='test -s conftest$ac_exeext'
17405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406 (eval $ac_try) 2>&5
17407 ac_status=$?
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); }; }; then
17410 glibcxx_cv_c99_stdio=yes
17411 else
17412 echo "$as_me: failed program was:" >&5
17413 sed 's/^/| /' conftest.$ac_ext >&5
17415 glibcxx_cv_c99_stdio=no
17417 rm -f conftest.err conftest.$ac_objext \
17418 conftest$ac_exeext conftest.$ac_ext
17423 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdio" >&5
17424 echo "${ECHO_T}$glibcxx_cv_c99_stdio" >&6
17426 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17427 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
17428 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
17429 if test "${glibcxx_cv_c99_stdlib+set}" = set; then
17430 echo $ECHO_N "(cached) $ECHO_C" >&6
17431 else
17433 if test x$gcc_no_link = xyes; then
17434 cat >conftest.$ac_ext <<_ACEOF
17435 /* confdefs.h. */
17436 _ACEOF
17437 cat confdefs.h >>conftest.$ac_ext
17438 cat >>conftest.$ac_ext <<_ACEOF
17439 /* end confdefs.h. */
17440 #include <stdlib.h>
17441 volatile float f;
17442 volatile long double ld;
17443 volatile unsigned long long ll;
17444 lldiv_t mydivt;
17446 main ()
17448 char* tmp;
17449 f = strtof("gnu", &tmp);
17450 ld = strtold("gnu", &tmp);
17451 ll = strtoll("gnu", &tmp, 10);
17452 ll = strtoull("gnu", &tmp, 10);
17453 ll = llabs(10);
17454 mydivt = lldiv(10,1);
17455 ll = mydivt.quot;
17456 ll = mydivt.rem;
17457 ll = atoll("10");
17458 _Exit(0);
17461 return 0;
17463 _ACEOF
17464 rm -f conftest.$ac_objext
17465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17466 (eval $ac_compile) 2>conftest.er1
17467 ac_status=$?
17468 grep -v '^ *+' conftest.er1 >conftest.err
17469 rm -f conftest.er1
17470 cat conftest.err >&5
17471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472 (exit $ac_status); } &&
17473 { ac_try='test -z "$ac_cxx_werror_flag"
17474 || test ! -s conftest.err'
17475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17476 (eval $ac_try) 2>&5
17477 ac_status=$?
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); }; } &&
17480 { ac_try='test -s conftest.$ac_objext'
17481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17482 (eval $ac_try) 2>&5
17483 ac_status=$?
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); }; }; then
17486 glibcxx_cv_c99_stdlib=yes
17487 else
17488 echo "$as_me: failed program was:" >&5
17489 sed 's/^/| /' conftest.$ac_ext >&5
17491 glibcxx_cv_c99_stdlib=no
17493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17494 else
17495 if test x$gcc_no_link = xyes; then
17496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17498 { (exit 1); exit 1; }; }
17500 cat >conftest.$ac_ext <<_ACEOF
17501 /* confdefs.h. */
17502 _ACEOF
17503 cat confdefs.h >>conftest.$ac_ext
17504 cat >>conftest.$ac_ext <<_ACEOF
17505 /* end confdefs.h. */
17506 #include <stdlib.h>
17507 volatile float f;
17508 volatile long double ld;
17509 volatile unsigned long long ll;
17510 lldiv_t mydivt;
17512 main ()
17514 char* tmp;
17515 f = strtof("gnu", &tmp);
17516 ld = strtold("gnu", &tmp);
17517 ll = strtoll("gnu", &tmp, 10);
17518 ll = strtoull("gnu", &tmp, 10);
17519 ll = llabs(10);
17520 mydivt = lldiv(10,1);
17521 ll = mydivt.quot;
17522 ll = mydivt.rem;
17523 ll = atoll("10");
17524 _Exit(0);
17527 return 0;
17529 _ACEOF
17530 rm -f conftest.$ac_objext conftest$ac_exeext
17531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17532 (eval $ac_link) 2>conftest.er1
17533 ac_status=$?
17534 grep -v '^ *+' conftest.er1 >conftest.err
17535 rm -f conftest.er1
17536 cat conftest.err >&5
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 (exit $ac_status); } &&
17539 { ac_try='test -z "$ac_cxx_werror_flag"
17540 || test ! -s conftest.err'
17541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17542 (eval $ac_try) 2>&5
17543 ac_status=$?
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); }; } &&
17546 { ac_try='test -s conftest$ac_exeext'
17547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17548 (eval $ac_try) 2>&5
17549 ac_status=$?
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); }; }; then
17552 glibcxx_cv_c99_stdlib=yes
17553 else
17554 echo "$as_me: failed program was:" >&5
17555 sed 's/^/| /' conftest.$ac_ext >&5
17557 glibcxx_cv_c99_stdlib=no
17559 rm -f conftest.err conftest.$ac_objext \
17560 conftest$ac_exeext conftest.$ac_ext
17565 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdlib" >&5
17566 echo "${ECHO_T}$glibcxx_cv_c99_stdlib" >&6
17568 # Check for the existence in <wchar.h> of wcstold, etc.
17569 glibcxx_cv_c99_wchar=no;
17570 if test x"$ac_has_wchar_h" = xyes &&
17571 test x"$ac_has_wctype_h" = xyes; then
17572 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
17573 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
17574 cat >conftest.$ac_ext <<_ACEOF
17575 /* confdefs.h. */
17576 _ACEOF
17577 cat confdefs.h >>conftest.$ac_ext
17578 cat >>conftest.$ac_ext <<_ACEOF
17579 /* end confdefs.h. */
17580 #include <wchar.h>
17581 namespace test
17583 using ::wcstold;
17584 using ::wcstoll;
17585 using ::wcstoull;
17589 main ()
17593 return 0;
17595 _ACEOF
17596 rm -f conftest.$ac_objext
17597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17598 (eval $ac_compile) 2>conftest.er1
17599 ac_status=$?
17600 grep -v '^ *+' conftest.er1 >conftest.err
17601 rm -f conftest.er1
17602 cat conftest.err >&5
17603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17604 (exit $ac_status); } &&
17605 { ac_try='test -z "$ac_cxx_werror_flag"
17606 || test ! -s conftest.err'
17607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17608 (eval $ac_try) 2>&5
17609 ac_status=$?
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); }; } &&
17612 { ac_try='test -s conftest.$ac_objext'
17613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17614 (eval $ac_try) 2>&5
17615 ac_status=$?
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); }; }; then
17618 glibcxx_cv_c99_wchar=yes
17619 else
17620 echo "$as_me: failed program was:" >&5
17621 sed 's/^/| /' conftest.$ac_ext >&5
17623 glibcxx_cv_c99_wchar=no
17625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17627 # Checks for wide character functions that may not be present.
17628 # Injection of these is wrapped with guard macros.
17629 # NB: only put functions here, instead of immediately above, if
17630 # absolutely necessary.
17631 cat >conftest.$ac_ext <<_ACEOF
17632 /* confdefs.h. */
17633 _ACEOF
17634 cat confdefs.h >>conftest.$ac_ext
17635 cat >>conftest.$ac_ext <<_ACEOF
17636 /* end confdefs.h. */
17637 #include <wchar.h>
17638 namespace test { using ::vfwscanf; }
17640 main ()
17644 return 0;
17646 _ACEOF
17647 rm -f conftest.$ac_objext
17648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17649 (eval $ac_compile) 2>conftest.er1
17650 ac_status=$?
17651 grep -v '^ *+' conftest.er1 >conftest.err
17652 rm -f conftest.er1
17653 cat conftest.err >&5
17654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655 (exit $ac_status); } &&
17656 { ac_try='test -z "$ac_cxx_werror_flag"
17657 || test ! -s conftest.err'
17658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17659 (eval $ac_try) 2>&5
17660 ac_status=$?
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); }; } &&
17663 { ac_try='test -s conftest.$ac_objext'
17664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665 (eval $ac_try) 2>&5
17666 ac_status=$?
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; }; then
17670 cat >>confdefs.h <<\_ACEOF
17671 #define HAVE_VFWSCANF 1
17672 _ACEOF
17674 else
17675 echo "$as_me: failed program was:" >&5
17676 sed 's/^/| /' conftest.$ac_ext >&5
17679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17681 cat >conftest.$ac_ext <<_ACEOF
17682 /* confdefs.h. */
17683 _ACEOF
17684 cat confdefs.h >>conftest.$ac_ext
17685 cat >>conftest.$ac_ext <<_ACEOF
17686 /* end confdefs.h. */
17687 #include <wchar.h>
17688 namespace test { using ::vswscanf; }
17690 main ()
17694 return 0;
17696 _ACEOF
17697 rm -f conftest.$ac_objext
17698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17699 (eval $ac_compile) 2>conftest.er1
17700 ac_status=$?
17701 grep -v '^ *+' conftest.er1 >conftest.err
17702 rm -f conftest.er1
17703 cat conftest.err >&5
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); } &&
17706 { ac_try='test -z "$ac_cxx_werror_flag"
17707 || test ! -s conftest.err'
17708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17709 (eval $ac_try) 2>&5
17710 ac_status=$?
17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17712 (exit $ac_status); }; } &&
17713 { ac_try='test -s conftest.$ac_objext'
17714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17715 (eval $ac_try) 2>&5
17716 ac_status=$?
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); }; }; then
17720 cat >>confdefs.h <<\_ACEOF
17721 #define HAVE_VSWSCANF 1
17722 _ACEOF
17724 else
17725 echo "$as_me: failed program was:" >&5
17726 sed 's/^/| /' conftest.$ac_ext >&5
17729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17731 cat >conftest.$ac_ext <<_ACEOF
17732 /* confdefs.h. */
17733 _ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737 #include <wchar.h>
17738 namespace test { using ::vwscanf; }
17740 main ()
17744 return 0;
17746 _ACEOF
17747 rm -f conftest.$ac_objext
17748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17749 (eval $ac_compile) 2>conftest.er1
17750 ac_status=$?
17751 grep -v '^ *+' conftest.er1 >conftest.err
17752 rm -f conftest.er1
17753 cat conftest.err >&5
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); } &&
17756 { ac_try='test -z "$ac_cxx_werror_flag"
17757 || test ! -s conftest.err'
17758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17759 (eval $ac_try) 2>&5
17760 ac_status=$?
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); }; } &&
17763 { ac_try='test -s conftest.$ac_objext'
17764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765 (eval $ac_try) 2>&5
17766 ac_status=$?
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }; }; then
17770 cat >>confdefs.h <<\_ACEOF
17771 #define HAVE_VWSCANF 1
17772 _ACEOF
17774 else
17775 echo "$as_me: failed program was:" >&5
17776 sed 's/^/| /' conftest.$ac_ext >&5
17779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17781 cat >conftest.$ac_ext <<_ACEOF
17782 /* confdefs.h. */
17783 _ACEOF
17784 cat confdefs.h >>conftest.$ac_ext
17785 cat >>conftest.$ac_ext <<_ACEOF
17786 /* end confdefs.h. */
17787 #include <wchar.h>
17788 namespace test { using ::wcstof; }
17790 main ()
17794 return 0;
17796 _ACEOF
17797 rm -f conftest.$ac_objext
17798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17799 (eval $ac_compile) 2>conftest.er1
17800 ac_status=$?
17801 grep -v '^ *+' conftest.er1 >conftest.err
17802 rm -f conftest.er1
17803 cat conftest.err >&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); } &&
17806 { ac_try='test -z "$ac_cxx_werror_flag"
17807 || test ! -s conftest.err'
17808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17809 (eval $ac_try) 2>&5
17810 ac_status=$?
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); }; } &&
17813 { ac_try='test -s conftest.$ac_objext'
17814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17815 (eval $ac_try) 2>&5
17816 ac_status=$?
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); }; }; then
17820 cat >>confdefs.h <<\_ACEOF
17821 #define HAVE_WCSTOF 1
17822 _ACEOF
17824 else
17825 echo "$as_me: failed program was:" >&5
17826 sed 's/^/| /' conftest.$ac_ext >&5
17829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17831 cat >conftest.$ac_ext <<_ACEOF
17832 /* confdefs.h. */
17833 _ACEOF
17834 cat confdefs.h >>conftest.$ac_ext
17835 cat >>conftest.$ac_ext <<_ACEOF
17836 /* end confdefs.h. */
17837 #include <wctype.h>
17839 main ()
17841 wint_t t; int i = iswblank(t);
17843 return 0;
17845 _ACEOF
17846 rm -f conftest.$ac_objext
17847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17848 (eval $ac_compile) 2>conftest.er1
17849 ac_status=$?
17850 grep -v '^ *+' conftest.er1 >conftest.err
17851 rm -f conftest.er1
17852 cat conftest.err >&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); } &&
17855 { ac_try='test -z "$ac_cxx_werror_flag"
17856 || test ! -s conftest.err'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17859 ac_status=$?
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; } &&
17862 { ac_try='test -s conftest.$ac_objext'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17865 ac_status=$?
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; }; then
17869 cat >>confdefs.h <<\_ACEOF
17870 #define HAVE_ISWBLANK 1
17871 _ACEOF
17873 else
17874 echo "$as_me: failed program was:" >&5
17875 sed 's/^/| /' conftest.$ac_ext >&5
17878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17880 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_wchar" >&5
17881 echo "${ECHO_T}$glibcxx_cv_c99_wchar" >&6
17884 # Option parsed, now set things appropriately.
17885 if test x"$glibcxx_cv_c99_math" = x"no" ||
17886 test x"$glibcxx_cv_c99_complex" = x"no" ||
17887 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17888 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17889 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17890 enable_c99=no;
17891 else
17893 cat >>confdefs.h <<\_ACEOF
17894 #define _GLIBCXX_USE_C99 1
17895 _ACEOF
17899 gcc_no_link="$ac_save_gcc_no_link"
17900 LIBS="$ac_save_LIBS"
17901 CXXFLAGS="$ac_save_CXXFLAGS"
17902 ac_ext=c
17903 ac_cpp='$CPP $CPPFLAGS'
17904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17910 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
17911 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
17912 echo "$as_me:$LINENO: result: $enable_c99" >&5
17913 echo "${ECHO_T}$enable_c99" >&6
17916 # Check whether --enable-concept-checks or --disable-concept-checks was given.
17917 if test "${enable_concept_checks+set}" = set; then
17918 enableval="$enable_concept_checks"
17920 case "$enableval" in
17921 yes|no) ;;
17922 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
17923 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
17924 { (exit 1); exit 1; }; } ;;
17925 esac
17927 else
17928 enable_concept_checks=no
17931 if test $enable_concept_checks = yes; then
17933 cat >>confdefs.h <<\_ACEOF
17934 #define _GLIBCXX_CONCEPT_CHECKS 1
17935 _ACEOF
17940 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
17941 if test "${enable_libstdcxx_debug_flags+set}" = set; then
17942 enableval="$enable_libstdcxx_debug_flags"
17943 case "x$enable_libstdcxx_debug_flags" in
17944 xno | x) enable_libstdcxx_debug_flags= ;;
17945 x-*) ;;
17946 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
17947 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
17948 { (exit 1); exit 1; }; } ;;
17949 esac
17950 else
17951 enable_libstdcxx_debug_flags="-g3 -O0"
17955 # Option parsed, now set things appropriately
17956 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17959 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
17960 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17963 echo "$as_me:$LINENO: checking for additional debug build" >&5
17964 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
17965 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
17966 if test "${enable_libstdcxx_debug+set}" = set; then
17967 enableval="$enable_libstdcxx_debug"
17969 case "$enableval" in
17970 yes|no) ;;
17971 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
17972 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
17973 { (exit 1); exit 1; }; } ;;
17974 esac
17976 else
17977 enable_libstdcxx_debug=no
17980 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
17981 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
17986 enable_parallel=no;
17988 # See if configured libgomp/omp.h exists. (libgomp may be in
17989 # noconfigdirs but not explicitly disabled.)
17990 if test -f $glibcxx_builddir/../libgomp/omp.h; then
17991 enable_parallel=yes;
17992 else
17993 { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
17994 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
17997 echo "$as_me:$LINENO: checking for parallel mode support" >&5
17998 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
17999 echo "$as_me:$LINENO: result: $enable_parallel" >&5
18000 echo "${ECHO_T}$enable_parallel" >&6
18003 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
18004 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
18005 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
18006 if test "${enable_cxx_flags+set}" = set; then
18007 enableval="$enable_cxx_flags"
18008 case "x$enable_cxx_flags" in
18009 xno | x) enable_cxx_flags= ;;
18010 x-*) ;;
18011 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
18012 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
18013 { (exit 1); exit 1; }; } ;;
18014 esac
18015 else
18016 enable_cxx_flags=
18020 # Run through flags (either default or command-line) and set anything
18021 # extra (e.g., #defines) that must accompany particular g++ options.
18022 if test -n "$enable_cxx_flags"; then
18023 for f in $enable_cxx_flags; do
18024 case "$f" in
18025 -fhonor-std) ;;
18026 -*) ;;
18027 *) # and we're trying to pass /what/ exactly?
18028 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
18029 echo "$as_me: error: compiler flags start with a -" >&2;}
18030 { (exit 1); exit 1; }; } ;;
18031 esac
18032 done
18035 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18036 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
18037 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
18041 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
18042 if test "${enable_fully_dynamic_string+set}" = set; then
18043 enableval="$enable_fully_dynamic_string"
18045 case "$enableval" in
18046 yes|no) ;;
18047 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
18048 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
18049 { (exit 1); exit 1; }; } ;;
18050 esac
18052 else
18053 enable_fully_dynamic_string=no
18056 if test $enable_fully_dynamic_string = yes; then
18058 cat >>confdefs.h <<\_ACEOF
18059 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
18060 _ACEOF
18065 # Checks for operating systems support that doesn't require linking.
18068 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
18069 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
18070 if test "${glibcxx_cv_system_error1+set}" = set; then
18071 echo $ECHO_N "(cached) $ECHO_C" >&6
18072 else
18074 cat >conftest.$ac_ext <<_ACEOF
18075 /* confdefs.h. */
18076 _ACEOF
18077 cat confdefs.h >>conftest.$ac_ext
18078 cat >>conftest.$ac_ext <<_ACEOF
18079 /* end confdefs.h. */
18080 #include <errno.h>
18082 main ()
18084 int i = EOWNERDEAD;
18086 return 0;
18088 _ACEOF
18089 rm -f conftest.$ac_objext
18090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18091 (eval $ac_compile) 2>conftest.er1
18092 ac_status=$?
18093 grep -v '^ *+' conftest.er1 >conftest.err
18094 rm -f conftest.er1
18095 cat conftest.err >&5
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); } &&
18098 { ac_try='test -z "$ac_c_werror_flag"
18099 || test ! -s conftest.err'
18100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18101 (eval $ac_try) 2>&5
18102 ac_status=$?
18103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18104 (exit $ac_status); }; } &&
18105 { ac_try='test -s conftest.$ac_objext'
18106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18107 (eval $ac_try) 2>&5
18108 ac_status=$?
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); }; }; then
18111 glibcxx_cv_system_error1=yes
18112 else
18113 echo "$as_me: failed program was:" >&5
18114 sed 's/^/| /' conftest.$ac_ext >&5
18116 glibcxx_cv_system_error1=no
18118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18122 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error1" >&5
18123 echo "${ECHO_T}$glibcxx_cv_system_error1" >&6
18124 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18126 cat >>confdefs.h <<\_ACEOF
18127 #define HAVE_EOWNERDEAD 1
18128 _ACEOF
18131 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
18132 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
18133 if test "${glibcxx_cv_system_error2+set}" = set; then
18134 echo $ECHO_N "(cached) $ECHO_C" >&6
18135 else
18137 cat >conftest.$ac_ext <<_ACEOF
18138 /* confdefs.h. */
18139 _ACEOF
18140 cat confdefs.h >>conftest.$ac_ext
18141 cat >>conftest.$ac_ext <<_ACEOF
18142 /* end confdefs.h. */
18143 #include <errno.h>
18145 main ()
18147 int i = ENOTRECOVERABLE;
18149 return 0;
18151 _ACEOF
18152 rm -f conftest.$ac_objext
18153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18154 (eval $ac_compile) 2>conftest.er1
18155 ac_status=$?
18156 grep -v '^ *+' conftest.er1 >conftest.err
18157 rm -f conftest.er1
18158 cat conftest.err >&5
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); } &&
18161 { ac_try='test -z "$ac_c_werror_flag"
18162 || test ! -s conftest.err'
18163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164 (eval $ac_try) 2>&5
18165 ac_status=$?
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); }; } &&
18168 { ac_try='test -s conftest.$ac_objext'
18169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170 (eval $ac_try) 2>&5
18171 ac_status=$?
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); }; }; then
18174 glibcxx_cv_system_error2=yes
18175 else
18176 echo "$as_me: failed program was:" >&5
18177 sed 's/^/| /' conftest.$ac_ext >&5
18179 glibcxx_cv_system_error2=no
18181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18185 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error2" >&5
18186 echo "${ECHO_T}$glibcxx_cv_system_error2" >&6
18187 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18189 cat >>confdefs.h <<\_ACEOF
18190 #define HAVE_ENOTRECOVERABLE 1
18191 _ACEOF
18194 echo "$as_me:$LINENO: checking for ENOLINK" >&5
18195 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
18196 if test "${glibcxx_cv_system_error3+set}" = set; then
18197 echo $ECHO_N "(cached) $ECHO_C" >&6
18198 else
18200 cat >conftest.$ac_ext <<_ACEOF
18201 /* confdefs.h. */
18202 _ACEOF
18203 cat confdefs.h >>conftest.$ac_ext
18204 cat >>conftest.$ac_ext <<_ACEOF
18205 /* end confdefs.h. */
18206 #include <errno.h>
18208 main ()
18210 int i = ENOLINK;
18212 return 0;
18214 _ACEOF
18215 rm -f conftest.$ac_objext
18216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18217 (eval $ac_compile) 2>conftest.er1
18218 ac_status=$?
18219 grep -v '^ *+' conftest.er1 >conftest.err
18220 rm -f conftest.er1
18221 cat conftest.err >&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); } &&
18224 { ac_try='test -z "$ac_c_werror_flag"
18225 || test ! -s conftest.err'
18226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227 (eval $ac_try) 2>&5
18228 ac_status=$?
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); }; } &&
18231 { ac_try='test -s conftest.$ac_objext'
18232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18233 (eval $ac_try) 2>&5
18234 ac_status=$?
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); }; }; then
18237 glibcxx_cv_system_error3=yes
18238 else
18239 echo "$as_me: failed program was:" >&5
18240 sed 's/^/| /' conftest.$ac_ext >&5
18242 glibcxx_cv_system_error3=no
18244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18248 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error3" >&5
18249 echo "${ECHO_T}$glibcxx_cv_system_error3" >&6
18250 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18252 cat >>confdefs.h <<\_ACEOF
18253 #define HAVE_ENOLINK 1
18254 _ACEOF
18257 echo "$as_me:$LINENO: checking for EPROTO" >&5
18258 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
18259 if test "${glibcxx_cv_system_error4+set}" = set; then
18260 echo $ECHO_N "(cached) $ECHO_C" >&6
18261 else
18263 cat >conftest.$ac_ext <<_ACEOF
18264 /* confdefs.h. */
18265 _ACEOF
18266 cat confdefs.h >>conftest.$ac_ext
18267 cat >>conftest.$ac_ext <<_ACEOF
18268 /* end confdefs.h. */
18269 #include <errno.h>
18271 main ()
18273 int i = EPROTO;
18275 return 0;
18277 _ACEOF
18278 rm -f conftest.$ac_objext
18279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18280 (eval $ac_compile) 2>conftest.er1
18281 ac_status=$?
18282 grep -v '^ *+' conftest.er1 >conftest.err
18283 rm -f conftest.er1
18284 cat conftest.err >&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); } &&
18287 { ac_try='test -z "$ac_c_werror_flag"
18288 || test ! -s conftest.err'
18289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18290 (eval $ac_try) 2>&5
18291 ac_status=$?
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); }; } &&
18294 { ac_try='test -s conftest.$ac_objext'
18295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296 (eval $ac_try) 2>&5
18297 ac_status=$?
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); }; }; then
18300 glibcxx_cv_system_error4=yes
18301 else
18302 echo "$as_me: failed program was:" >&5
18303 sed 's/^/| /' conftest.$ac_ext >&5
18305 glibcxx_cv_system_error4=no
18307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18311 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error4" >&5
18312 echo "${ECHO_T}$glibcxx_cv_system_error4" >&6
18313 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18315 cat >>confdefs.h <<\_ACEOF
18316 #define HAVE_EPROTO 1
18317 _ACEOF
18320 echo "$as_me:$LINENO: checking for ENODATA" >&5
18321 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
18322 if test "${glibcxx_cv_system_error5+set}" = set; then
18323 echo $ECHO_N "(cached) $ECHO_C" >&6
18324 else
18326 cat >conftest.$ac_ext <<_ACEOF
18327 /* confdefs.h. */
18328 _ACEOF
18329 cat confdefs.h >>conftest.$ac_ext
18330 cat >>conftest.$ac_ext <<_ACEOF
18331 /* end confdefs.h. */
18332 #include <errno.h>
18334 main ()
18336 int i = ENODATA;
18338 return 0;
18340 _ACEOF
18341 rm -f conftest.$ac_objext
18342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18343 (eval $ac_compile) 2>conftest.er1
18344 ac_status=$?
18345 grep -v '^ *+' conftest.er1 >conftest.err
18346 rm -f conftest.er1
18347 cat conftest.err >&5
18348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18349 (exit $ac_status); } &&
18350 { ac_try='test -z "$ac_c_werror_flag"
18351 || test ! -s conftest.err'
18352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18353 (eval $ac_try) 2>&5
18354 ac_status=$?
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); }; } &&
18357 { ac_try='test -s conftest.$ac_objext'
18358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18359 (eval $ac_try) 2>&5
18360 ac_status=$?
18361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362 (exit $ac_status); }; }; then
18363 glibcxx_cv_system_error5=yes
18364 else
18365 echo "$as_me: failed program was:" >&5
18366 sed 's/^/| /' conftest.$ac_ext >&5
18368 glibcxx_cv_system_error5=no
18370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18374 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error5" >&5
18375 echo "${ECHO_T}$glibcxx_cv_system_error5" >&6
18376 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18378 cat >>confdefs.h <<\_ACEOF
18379 #define HAVE_ENODATA 1
18380 _ACEOF
18383 echo "$as_me:$LINENO: checking for ENOSR" >&5
18384 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
18385 if test "${glibcxx_cv_system_error6+set}" = set; then
18386 echo $ECHO_N "(cached) $ECHO_C" >&6
18387 else
18389 cat >conftest.$ac_ext <<_ACEOF
18390 /* confdefs.h. */
18391 _ACEOF
18392 cat confdefs.h >>conftest.$ac_ext
18393 cat >>conftest.$ac_ext <<_ACEOF
18394 /* end confdefs.h. */
18395 #include <errno.h>
18397 main ()
18399 int i = ENOSR;
18401 return 0;
18403 _ACEOF
18404 rm -f conftest.$ac_objext
18405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18406 (eval $ac_compile) 2>conftest.er1
18407 ac_status=$?
18408 grep -v '^ *+' conftest.er1 >conftest.err
18409 rm -f conftest.er1
18410 cat conftest.err >&5
18411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18412 (exit $ac_status); } &&
18413 { ac_try='test -z "$ac_c_werror_flag"
18414 || test ! -s conftest.err'
18415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18416 (eval $ac_try) 2>&5
18417 ac_status=$?
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); }; } &&
18420 { ac_try='test -s conftest.$ac_objext'
18421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18422 (eval $ac_try) 2>&5
18423 ac_status=$?
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); }; }; then
18426 glibcxx_cv_system_error6=yes
18427 else
18428 echo "$as_me: failed program was:" >&5
18429 sed 's/^/| /' conftest.$ac_ext >&5
18431 glibcxx_cv_system_error6=no
18433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18437 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error6" >&5
18438 echo "${ECHO_T}$glibcxx_cv_system_error6" >&6
18439 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18441 cat >>confdefs.h <<\_ACEOF
18442 #define HAVE_ENOSR 1
18443 _ACEOF
18446 echo "$as_me:$LINENO: checking for ENOSTR" >&5
18447 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
18448 if test "${glibcxx_cv_system_error7+set}" = set; then
18449 echo $ECHO_N "(cached) $ECHO_C" >&6
18450 else
18452 cat >conftest.$ac_ext <<_ACEOF
18453 /* confdefs.h. */
18454 _ACEOF
18455 cat confdefs.h >>conftest.$ac_ext
18456 cat >>conftest.$ac_ext <<_ACEOF
18457 /* end confdefs.h. */
18458 #include <errno.h>
18460 main ()
18462 int i = ENOSTR;
18464 return 0;
18466 _ACEOF
18467 rm -f conftest.$ac_objext
18468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18469 (eval $ac_compile) 2>conftest.er1
18470 ac_status=$?
18471 grep -v '^ *+' conftest.er1 >conftest.err
18472 rm -f conftest.er1
18473 cat conftest.err >&5
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); } &&
18476 { ac_try='test -z "$ac_c_werror_flag"
18477 || test ! -s conftest.err'
18478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18479 (eval $ac_try) 2>&5
18480 ac_status=$?
18481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18482 (exit $ac_status); }; } &&
18483 { ac_try='test -s conftest.$ac_objext'
18484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18485 (eval $ac_try) 2>&5
18486 ac_status=$?
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); }; }; then
18489 glibcxx_cv_system_error7=yes
18490 else
18491 echo "$as_me: failed program was:" >&5
18492 sed 's/^/| /' conftest.$ac_ext >&5
18494 glibcxx_cv_system_error7=no
18496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18500 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error7" >&5
18501 echo "${ECHO_T}$glibcxx_cv_system_error7" >&6
18502 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18504 cat >>confdefs.h <<\_ACEOF
18505 #define HAVE_ENOSTR 1
18506 _ACEOF
18509 echo "$as_me:$LINENO: checking for ETIME" >&5
18510 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
18511 if test "${glibcxx_cv_system_error8+set}" = set; then
18512 echo $ECHO_N "(cached) $ECHO_C" >&6
18513 else
18515 cat >conftest.$ac_ext <<_ACEOF
18516 /* confdefs.h. */
18517 _ACEOF
18518 cat confdefs.h >>conftest.$ac_ext
18519 cat >>conftest.$ac_ext <<_ACEOF
18520 /* end confdefs.h. */
18521 #include <errno.h>
18523 main ()
18525 int i = ETIME;
18527 return 0;
18529 _ACEOF
18530 rm -f conftest.$ac_objext
18531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18532 (eval $ac_compile) 2>conftest.er1
18533 ac_status=$?
18534 grep -v '^ *+' conftest.er1 >conftest.err
18535 rm -f conftest.er1
18536 cat conftest.err >&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); } &&
18539 { ac_try='test -z "$ac_c_werror_flag"
18540 || test ! -s conftest.err'
18541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18542 (eval $ac_try) 2>&5
18543 ac_status=$?
18544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545 (exit $ac_status); }; } &&
18546 { ac_try='test -s conftest.$ac_objext'
18547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18548 (eval $ac_try) 2>&5
18549 ac_status=$?
18550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18551 (exit $ac_status); }; }; then
18552 glibcxx_cv_system_error8=yes
18553 else
18554 echo "$as_me: failed program was:" >&5
18555 sed 's/^/| /' conftest.$ac_ext >&5
18557 glibcxx_cv_system_error8=no
18559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18563 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error8" >&5
18564 echo "${ECHO_T}$glibcxx_cv_system_error8" >&6
18565 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18567 cat >>confdefs.h <<\_ACEOF
18568 #define HAVE_ETIME 1
18569 _ACEOF
18572 echo "$as_me:$LINENO: checking for EBADMSG" >&5
18573 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
18574 if test "${glibcxx_cv_system_error9+set}" = set; then
18575 echo $ECHO_N "(cached) $ECHO_C" >&6
18576 else
18578 cat >conftest.$ac_ext <<_ACEOF
18579 /* confdefs.h. */
18580 _ACEOF
18581 cat confdefs.h >>conftest.$ac_ext
18582 cat >>conftest.$ac_ext <<_ACEOF
18583 /* end confdefs.h. */
18584 #include <errno.h>
18586 main ()
18588 int i = EBADMSG;
18590 return 0;
18592 _ACEOF
18593 rm -f conftest.$ac_objext
18594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18595 (eval $ac_compile) 2>conftest.er1
18596 ac_status=$?
18597 grep -v '^ *+' conftest.er1 >conftest.err
18598 rm -f conftest.er1
18599 cat conftest.err >&5
18600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 (exit $ac_status); } &&
18602 { ac_try='test -z "$ac_c_werror_flag"
18603 || test ! -s conftest.err'
18604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18605 (eval $ac_try) 2>&5
18606 ac_status=$?
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); }; } &&
18609 { ac_try='test -s conftest.$ac_objext'
18610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18611 (eval $ac_try) 2>&5
18612 ac_status=$?
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); }; }; then
18615 glibcxx_cv_system_error9=yes
18616 else
18617 echo "$as_me: failed program was:" >&5
18618 sed 's/^/| /' conftest.$ac_ext >&5
18620 glibcxx_cv_system_error9=no
18622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18626 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error9" >&5
18627 echo "${ECHO_T}$glibcxx_cv_system_error9" >&6
18628 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18630 cat >>confdefs.h <<\_ACEOF
18631 #define HAVE_EBADMSG 1
18632 _ACEOF
18635 echo "$as_me:$LINENO: checking for ECANCELED" >&5
18636 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
18637 if test "${glibcxx_cv_system_error10+set}" = set; then
18638 echo $ECHO_N "(cached) $ECHO_C" >&6
18639 else
18641 cat >conftest.$ac_ext <<_ACEOF
18642 /* confdefs.h. */
18643 _ACEOF
18644 cat confdefs.h >>conftest.$ac_ext
18645 cat >>conftest.$ac_ext <<_ACEOF
18646 /* end confdefs.h. */
18647 #include <errno.h>
18649 main ()
18651 int i = ECANCELED;
18653 return 0;
18655 _ACEOF
18656 rm -f conftest.$ac_objext
18657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18658 (eval $ac_compile) 2>conftest.er1
18659 ac_status=$?
18660 grep -v '^ *+' conftest.er1 >conftest.err
18661 rm -f conftest.er1
18662 cat conftest.err >&5
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); } &&
18665 { ac_try='test -z "$ac_c_werror_flag"
18666 || test ! -s conftest.err'
18667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18668 (eval $ac_try) 2>&5
18669 ac_status=$?
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); }; } &&
18672 { ac_try='test -s conftest.$ac_objext'
18673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18674 (eval $ac_try) 2>&5
18675 ac_status=$?
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); }; }; then
18678 glibcxx_cv_system_error10=yes
18679 else
18680 echo "$as_me: failed program was:" >&5
18681 sed 's/^/| /' conftest.$ac_ext >&5
18683 glibcxx_cv_system_error10=no
18685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18689 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error10" >&5
18690 echo "${ECHO_T}$glibcxx_cv_system_error10" >&6
18691 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18693 cat >>confdefs.h <<\_ACEOF
18694 #define HAVE_ECANCELED 1
18695 _ACEOF
18698 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
18699 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
18700 if test "${glibcxx_cv_system_error11+set}" = set; then
18701 echo $ECHO_N "(cached) $ECHO_C" >&6
18702 else
18704 cat >conftest.$ac_ext <<_ACEOF
18705 /* confdefs.h. */
18706 _ACEOF
18707 cat confdefs.h >>conftest.$ac_ext
18708 cat >>conftest.$ac_ext <<_ACEOF
18709 /* end confdefs.h. */
18710 #include <errno.h>
18712 main ()
18714 int i = EOVERFLOW;
18716 return 0;
18718 _ACEOF
18719 rm -f conftest.$ac_objext
18720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18721 (eval $ac_compile) 2>conftest.er1
18722 ac_status=$?
18723 grep -v '^ *+' conftest.er1 >conftest.err
18724 rm -f conftest.er1
18725 cat conftest.err >&5
18726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727 (exit $ac_status); } &&
18728 { ac_try='test -z "$ac_c_werror_flag"
18729 || test ! -s conftest.err'
18730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18731 (eval $ac_try) 2>&5
18732 ac_status=$?
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; } &&
18735 { ac_try='test -s conftest.$ac_objext'
18736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18737 (eval $ac_try) 2>&5
18738 ac_status=$?
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); }; }; then
18741 glibcxx_cv_system_error11=yes
18742 else
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.$ac_ext >&5
18746 glibcxx_cv_system_error11=no
18748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18752 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error11" >&5
18753 echo "${ECHO_T}$glibcxx_cv_system_error11" >&6
18754 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18756 cat >>confdefs.h <<\_ACEOF
18757 #define HAVE_EOVERFLOW 1
18758 _ACEOF
18761 echo "$as_me:$LINENO: checking for ENOTSUP" >&5
18762 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
18763 if test "${glibcxx_cv_system_error12+set}" = set; then
18764 echo $ECHO_N "(cached) $ECHO_C" >&6
18765 else
18767 cat >conftest.$ac_ext <<_ACEOF
18768 /* confdefs.h. */
18769 _ACEOF
18770 cat confdefs.h >>conftest.$ac_ext
18771 cat >>conftest.$ac_ext <<_ACEOF
18772 /* end confdefs.h. */
18773 #include <errno.h>
18775 main ()
18777 int i = ENOTSUP;
18779 return 0;
18781 _ACEOF
18782 rm -f conftest.$ac_objext
18783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18784 (eval $ac_compile) 2>conftest.er1
18785 ac_status=$?
18786 grep -v '^ *+' conftest.er1 >conftest.err
18787 rm -f conftest.er1
18788 cat conftest.err >&5
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); } &&
18791 { ac_try='test -z "$ac_c_werror_flag"
18792 || test ! -s conftest.err'
18793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18794 (eval $ac_try) 2>&5
18795 ac_status=$?
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); }; } &&
18798 { ac_try='test -s conftest.$ac_objext'
18799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18800 (eval $ac_try) 2>&5
18801 ac_status=$?
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); }; }; then
18804 glibcxx_cv_system_error12=yes
18805 else
18806 echo "$as_me: failed program was:" >&5
18807 sed 's/^/| /' conftest.$ac_ext >&5
18809 glibcxx_cv_system_error12=no
18811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18815 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error12" >&5
18816 echo "${ECHO_T}$glibcxx_cv_system_error12" >&6
18817 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18819 cat >>confdefs.h <<\_ACEOF
18820 #define HAVE_ENOTSUP 1
18821 _ACEOF
18824 echo "$as_me:$LINENO: checking for EIDRM" >&5
18825 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
18826 if test "${glibcxx_cv_system_error13+set}" = set; then
18827 echo $ECHO_N "(cached) $ECHO_C" >&6
18828 else
18830 cat >conftest.$ac_ext <<_ACEOF
18831 /* confdefs.h. */
18832 _ACEOF
18833 cat confdefs.h >>conftest.$ac_ext
18834 cat >>conftest.$ac_ext <<_ACEOF
18835 /* end confdefs.h. */
18836 #include <errno.h>
18838 main ()
18840 int i = EIDRM;
18842 return 0;
18844 _ACEOF
18845 rm -f conftest.$ac_objext
18846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18847 (eval $ac_compile) 2>conftest.er1
18848 ac_status=$?
18849 grep -v '^ *+' conftest.er1 >conftest.err
18850 rm -f conftest.er1
18851 cat conftest.err >&5
18852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853 (exit $ac_status); } &&
18854 { ac_try='test -z "$ac_c_werror_flag"
18855 || test ! -s conftest.err'
18856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18857 (eval $ac_try) 2>&5
18858 ac_status=$?
18859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18860 (exit $ac_status); }; } &&
18861 { ac_try='test -s conftest.$ac_objext'
18862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18863 (eval $ac_try) 2>&5
18864 ac_status=$?
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); }; }; then
18867 glibcxx_cv_system_error13=yes
18868 else
18869 echo "$as_me: failed program was:" >&5
18870 sed 's/^/| /' conftest.$ac_ext >&5
18872 glibcxx_cv_system_error13=no
18874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18878 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error13" >&5
18879 echo "${ECHO_T}$glibcxx_cv_system_error13" >&6
18880 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18882 cat >>confdefs.h <<\_ACEOF
18883 #define HAVE_EIDRM 1
18884 _ACEOF
18887 echo "$as_me:$LINENO: checking for ETXTBSY" >&5
18888 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
18889 if test "${glibcxx_cv_system_error14+set}" = set; then
18890 echo $ECHO_N "(cached) $ECHO_C" >&6
18891 else
18893 cat >conftest.$ac_ext <<_ACEOF
18894 /* confdefs.h. */
18895 _ACEOF
18896 cat confdefs.h >>conftest.$ac_ext
18897 cat >>conftest.$ac_ext <<_ACEOF
18898 /* end confdefs.h. */
18899 #include <errno.h>
18901 main ()
18903 int i = ETXTBSY;
18905 return 0;
18907 _ACEOF
18908 rm -f conftest.$ac_objext
18909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18910 (eval $ac_compile) 2>conftest.er1
18911 ac_status=$?
18912 grep -v '^ *+' conftest.er1 >conftest.err
18913 rm -f conftest.er1
18914 cat conftest.err >&5
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); } &&
18917 { ac_try='test -z "$ac_c_werror_flag"
18918 || test ! -s conftest.err'
18919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18920 (eval $ac_try) 2>&5
18921 ac_status=$?
18922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18923 (exit $ac_status); }; } &&
18924 { ac_try='test -s conftest.$ac_objext'
18925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18926 (eval $ac_try) 2>&5
18927 ac_status=$?
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); }; }; then
18930 glibcxx_cv_system_error14=yes
18931 else
18932 echo "$as_me: failed program was:" >&5
18933 sed 's/^/| /' conftest.$ac_ext >&5
18935 glibcxx_cv_system_error14=no
18937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18941 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error14" >&5
18942 echo "${ECHO_T}$glibcxx_cv_system_error14" >&6
18943 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18945 cat >>confdefs.h <<\_ACEOF
18946 #define HAVE_ETXTBSY 1
18947 _ACEOF
18953 # For the streamoff typedef.
18958 ac_ext=cc
18959 ac_cpp='$CXXCPP $CPPFLAGS'
18960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18965 echo "$as_me:$LINENO: checking for int64_t" >&5
18966 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
18967 if test "${glibcxx_cv_INT64_T+set}" = set; then
18968 echo $ECHO_N "(cached) $ECHO_C" >&6
18969 else
18971 cat >conftest.$ac_ext <<_ACEOF
18972 /* confdefs.h. */
18973 _ACEOF
18974 cat confdefs.h >>conftest.$ac_ext
18975 cat >>conftest.$ac_ext <<_ACEOF
18976 /* end confdefs.h. */
18977 #include <stdint.h>
18979 main ()
18981 int64_t var;
18983 return 0;
18985 _ACEOF
18986 rm -f conftest.$ac_objext
18987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18988 (eval $ac_compile) 2>conftest.er1
18989 ac_status=$?
18990 grep -v '^ *+' conftest.er1 >conftest.err
18991 rm -f conftest.er1
18992 cat conftest.err >&5
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); } &&
18995 { ac_try='test -z "$ac_cxx_werror_flag"
18996 || test ! -s conftest.err'
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); }; } &&
19002 { ac_try='test -s conftest.$ac_objext'
19003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19004 (eval $ac_try) 2>&5
19005 ac_status=$?
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); }; }; then
19008 glibcxx_cv_INT64_T=yes
19009 else
19010 echo "$as_me: failed program was:" >&5
19011 sed 's/^/| /' conftest.$ac_ext >&5
19013 glibcxx_cv_INT64_T=no
19015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19020 if test $glibcxx_cv_INT64_T = yes; then
19022 cat >>confdefs.h <<\_ACEOF
19023 #define HAVE_INT64_T 1
19024 _ACEOF
19026 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
19027 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
19029 echo "$as_me:$LINENO: checking for int64_t as long" >&5
19030 echo $ECHO_N "checking for int64_t as long... $ECHO_C" >&6
19031 if test "${glibcxx_cv_int64_t_long+set}" = set; then
19032 echo $ECHO_N "(cached) $ECHO_C" >&6
19033 else
19035 cat >conftest.$ac_ext <<_ACEOF
19036 /* confdefs.h. */
19037 _ACEOF
19038 cat confdefs.h >>conftest.$ac_ext
19039 cat >>conftest.$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19041 #include <stdint.h>
19042 template<typename, typename> struct same { enum { value = -1 }; };
19043 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19044 int array[same<int64_t, long>::value];
19046 main ()
19050 return 0;
19052 _ACEOF
19053 rm -f conftest.$ac_objext
19054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19055 (eval $ac_compile) 2>conftest.er1
19056 ac_status=$?
19057 grep -v '^ *+' conftest.er1 >conftest.err
19058 rm -f conftest.er1
19059 cat conftest.err >&5
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); } &&
19062 { ac_try='test -z "$ac_cxx_werror_flag"
19063 || test ! -s conftest.err'
19064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19065 (eval $ac_try) 2>&5
19066 ac_status=$?
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); }; } &&
19069 { ac_try='test -s conftest.$ac_objext'
19070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19071 (eval $ac_try) 2>&5
19072 ac_status=$?
19073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074 (exit $ac_status); }; }; then
19075 glibcxx_cv_int64_t_long=yes
19076 else
19077 echo "$as_me: failed program was:" >&5
19078 sed 's/^/| /' conftest.$ac_ext >&5
19080 glibcxx_cv_int64_t_long=no
19082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19087 if test $glibcxx_cv_int64_t_long = yes; then
19089 cat >>confdefs.h <<\_ACEOF
19090 #define HAVE_INT64_T_LONG 1
19091 _ACEOF
19093 echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long" >&5
19094 echo "${ECHO_T}$glibcxx_cv_int64_t_long" >&6
19097 echo "$as_me:$LINENO: checking for int64_t as long long" >&5
19098 echo $ECHO_N "checking for int64_t as long long... $ECHO_C" >&6
19099 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then
19100 echo $ECHO_N "(cached) $ECHO_C" >&6
19101 else
19103 cat >conftest.$ac_ext <<_ACEOF
19104 /* confdefs.h. */
19105 _ACEOF
19106 cat confdefs.h >>conftest.$ac_ext
19107 cat >>conftest.$ac_ext <<_ACEOF
19108 /* end confdefs.h. */
19109 #include <stdint.h>
19110 template<typename, typename> struct same { enum { value = -1 }; };
19111 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19112 int array[same<int64_t, long long>::value];
19114 main ()
19118 return 0;
19120 _ACEOF
19121 rm -f conftest.$ac_objext
19122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19123 (eval $ac_compile) 2>conftest.er1
19124 ac_status=$?
19125 grep -v '^ *+' conftest.er1 >conftest.err
19126 rm -f conftest.er1
19127 cat conftest.err >&5
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); } &&
19130 { ac_try='test -z "$ac_cxx_werror_flag"
19131 || test ! -s conftest.err'
19132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19133 (eval $ac_try) 2>&5
19134 ac_status=$?
19135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19136 (exit $ac_status); }; } &&
19137 { ac_try='test -s conftest.$ac_objext'
19138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19139 (eval $ac_try) 2>&5
19140 ac_status=$?
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); }; }; then
19143 glibcxx_cv_int64_t_long_long=yes
19144 else
19145 echo "$as_me: failed program was:" >&5
19146 sed 's/^/| /' conftest.$ac_ext >&5
19148 glibcxx_cv_int64_t_long_long=no
19150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19155 if test $glibcxx_cv_int64_t_long_long = yes; then
19157 cat >>confdefs.h <<\_ACEOF
19158 #define HAVE_INT64_T_LONG_LONG 1
19159 _ACEOF
19161 echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long_long" >&5
19162 echo "${ECHO_T}$glibcxx_cv_int64_t_long_long" >&6
19166 ac_ext=c
19167 ac_cpp='$CPP $CPPFLAGS'
19168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19174 # For LFS support.
19178 ac_ext=cc
19179 ac_cpp='$CXXCPP $CPPFLAGS'
19180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19184 ac_save_CXXFLAGS="$CXXFLAGS"
19185 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19186 echo "$as_me:$LINENO: checking for LFS support" >&5
19187 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
19188 if test "${glibcxx_cv_LFS+set}" = set; then
19189 echo $ECHO_N "(cached) $ECHO_C" >&6
19190 else
19192 if test x$gcc_no_link = xyes; then
19193 cat >conftest.$ac_ext <<_ACEOF
19194 /* confdefs.h. */
19195 _ACEOF
19196 cat confdefs.h >>conftest.$ac_ext
19197 cat >>conftest.$ac_ext <<_ACEOF
19198 /* end confdefs.h. */
19199 #include <unistd.h>
19200 #include <stdio.h>
19201 #include <sys/stat.h>
19204 main ()
19206 FILE* fp;
19207 fopen64("t", "w");
19208 fseeko64(fp, 0, SEEK_CUR);
19209 ftello64(fp);
19210 lseek64(1, 0, SEEK_CUR);
19211 struct stat64 buf;
19212 fstat64(1, &buf);
19214 return 0;
19216 _ACEOF
19217 rm -f conftest.$ac_objext
19218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19219 (eval $ac_compile) 2>conftest.er1
19220 ac_status=$?
19221 grep -v '^ *+' conftest.er1 >conftest.err
19222 rm -f conftest.er1
19223 cat conftest.err >&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); } &&
19226 { ac_try='test -z "$ac_cxx_werror_flag"
19227 || test ! -s conftest.err'
19228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19229 (eval $ac_try) 2>&5
19230 ac_status=$?
19231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232 (exit $ac_status); }; } &&
19233 { ac_try='test -s conftest.$ac_objext'
19234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19235 (eval $ac_try) 2>&5
19236 ac_status=$?
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); }; }; then
19239 glibcxx_cv_LFS=yes
19240 else
19241 echo "$as_me: failed program was:" >&5
19242 sed 's/^/| /' conftest.$ac_ext >&5
19244 glibcxx_cv_LFS=no
19246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19247 else
19248 if test x$gcc_no_link = xyes; then
19249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19251 { (exit 1); exit 1; }; }
19253 cat >conftest.$ac_ext <<_ACEOF
19254 /* confdefs.h. */
19255 _ACEOF
19256 cat confdefs.h >>conftest.$ac_ext
19257 cat >>conftest.$ac_ext <<_ACEOF
19258 /* end confdefs.h. */
19259 #include <unistd.h>
19260 #include <stdio.h>
19261 #include <sys/stat.h>
19264 main ()
19266 FILE* fp;
19267 fopen64("t", "w");
19268 fseeko64(fp, 0, SEEK_CUR);
19269 ftello64(fp);
19270 lseek64(1, 0, SEEK_CUR);
19271 struct stat64 buf;
19272 fstat64(1, &buf);
19274 return 0;
19276 _ACEOF
19277 rm -f conftest.$ac_objext conftest$ac_exeext
19278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19279 (eval $ac_link) 2>conftest.er1
19280 ac_status=$?
19281 grep -v '^ *+' conftest.er1 >conftest.err
19282 rm -f conftest.er1
19283 cat conftest.err >&5
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); } &&
19286 { ac_try='test -z "$ac_cxx_werror_flag"
19287 || test ! -s conftest.err'
19288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19289 (eval $ac_try) 2>&5
19290 ac_status=$?
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); }; } &&
19293 { ac_try='test -s conftest$ac_exeext'
19294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19295 (eval $ac_try) 2>&5
19296 ac_status=$?
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); }; }; then
19299 glibcxx_cv_LFS=yes
19300 else
19301 echo "$as_me: failed program was:" >&5
19302 sed 's/^/| /' conftest.$ac_ext >&5
19304 glibcxx_cv_LFS=no
19306 rm -f conftest.err conftest.$ac_objext \
19307 conftest$ac_exeext conftest.$ac_ext
19312 if test $glibcxx_cv_LFS = yes; then
19314 cat >>confdefs.h <<\_ACEOF
19315 #define _GLIBCXX_USE_LFS 1
19316 _ACEOF
19319 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
19320 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
19321 CXXFLAGS="$ac_save_CXXFLAGS"
19322 ac_ext=c
19323 ac_cpp='$CPP $CPPFLAGS'
19324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19330 # For showmanyc_helper().
19333 for ac_header in sys/ioctl.h sys/filio.h
19335 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19337 echo "$as_me:$LINENO: checking for $ac_header" >&5
19338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19340 echo $ECHO_N "(cached) $ECHO_C" >&6
19342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19344 else
19345 # Is the header compilable?
19346 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19347 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19348 cat >conftest.$ac_ext <<_ACEOF
19349 /* confdefs.h. */
19350 _ACEOF
19351 cat confdefs.h >>conftest.$ac_ext
19352 cat >>conftest.$ac_ext <<_ACEOF
19353 /* end confdefs.h. */
19354 $ac_includes_default
19355 #include <$ac_header>
19356 _ACEOF
19357 rm -f conftest.$ac_objext
19358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19359 (eval $ac_compile) 2>conftest.er1
19360 ac_status=$?
19361 grep -v '^ *+' conftest.er1 >conftest.err
19362 rm -f conftest.er1
19363 cat conftest.err >&5
19364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365 (exit $ac_status); } &&
19366 { ac_try='test -z "$ac_c_werror_flag"
19367 || test ! -s conftest.err'
19368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19369 (eval $ac_try) 2>&5
19370 ac_status=$?
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); }; } &&
19373 { ac_try='test -s conftest.$ac_objext'
19374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19375 (eval $ac_try) 2>&5
19376 ac_status=$?
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); }; }; then
19379 ac_header_compiler=yes
19380 else
19381 echo "$as_me: failed program was:" >&5
19382 sed 's/^/| /' conftest.$ac_ext >&5
19384 ac_header_compiler=no
19386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19387 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19388 echo "${ECHO_T}$ac_header_compiler" >&6
19390 # Is the header present?
19391 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19392 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19393 cat >conftest.$ac_ext <<_ACEOF
19394 /* confdefs.h. */
19395 _ACEOF
19396 cat confdefs.h >>conftest.$ac_ext
19397 cat >>conftest.$ac_ext <<_ACEOF
19398 /* end confdefs.h. */
19399 #include <$ac_header>
19400 _ACEOF
19401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19402 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19403 ac_status=$?
19404 grep -v '^ *+' conftest.er1 >conftest.err
19405 rm -f conftest.er1
19406 cat conftest.err >&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); } >/dev/null; then
19409 if test -s conftest.err; then
19410 ac_cpp_err=$ac_c_preproc_warn_flag
19411 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19412 else
19413 ac_cpp_err=
19415 else
19416 ac_cpp_err=yes
19418 if test -z "$ac_cpp_err"; then
19419 ac_header_preproc=yes
19420 else
19421 echo "$as_me: failed program was:" >&5
19422 sed 's/^/| /' conftest.$ac_ext >&5
19424 ac_header_preproc=no
19426 rm -f conftest.err conftest.$ac_ext
19427 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19428 echo "${ECHO_T}$ac_header_preproc" >&6
19430 # So? What about this header?
19431 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19432 yes:no: )
19433 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19434 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19436 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19437 ac_header_preproc=yes
19439 no:yes:* )
19440 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19441 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19442 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19443 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19444 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19445 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19446 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19447 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19449 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19450 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19451 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19453 cat <<\_ASBOX
19454 ## ----------------------------------------- ##
19455 ## Report this to the package-unused lists. ##
19456 ## ----------------------------------------- ##
19457 _ASBOX
19459 sed "s/^/$as_me: WARNING: /" >&2
19461 esac
19462 echo "$as_me:$LINENO: checking for $ac_header" >&5
19463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19465 echo $ECHO_N "(cached) $ECHO_C" >&6
19466 else
19467 eval "$as_ac_Header=\$ac_header_preproc"
19469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19474 cat >>confdefs.h <<_ACEOF
19475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19476 _ACEOF
19480 done
19486 ac_ext=cc
19487 ac_cpp='$CXXCPP $CPPFLAGS'
19488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19492 ac_save_CXXFLAGS="$CXXFLAGS"
19493 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19495 echo "$as_me:$LINENO: checking for poll" >&5
19496 echo $ECHO_N "checking for poll... $ECHO_C" >&6
19497 if test "${glibcxx_cv_POLL+set}" = set; then
19498 echo $ECHO_N "(cached) $ECHO_C" >&6
19499 else
19501 if test x$gcc_no_link = xyes; then
19502 cat >conftest.$ac_ext <<_ACEOF
19503 /* confdefs.h. */
19504 _ACEOF
19505 cat confdefs.h >>conftest.$ac_ext
19506 cat >>conftest.$ac_ext <<_ACEOF
19507 /* end confdefs.h. */
19508 #include <poll.h>
19510 main ()
19512 struct pollfd pfd[1];
19513 pfd[0].events = POLLIN;
19514 poll(pfd, 1, 0);
19516 return 0;
19518 _ACEOF
19519 rm -f conftest.$ac_objext
19520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19521 (eval $ac_compile) 2>conftest.er1
19522 ac_status=$?
19523 grep -v '^ *+' conftest.er1 >conftest.err
19524 rm -f conftest.er1
19525 cat conftest.err >&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); } &&
19528 { ac_try='test -z "$ac_cxx_werror_flag"
19529 || test ! -s conftest.err'
19530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19531 (eval $ac_try) 2>&5
19532 ac_status=$?
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); }; } &&
19535 { ac_try='test -s conftest.$ac_objext'
19536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19537 (eval $ac_try) 2>&5
19538 ac_status=$?
19539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 (exit $ac_status); }; }; then
19541 glibcxx_cv_POLL=yes
19542 else
19543 echo "$as_me: failed program was:" >&5
19544 sed 's/^/| /' conftest.$ac_ext >&5
19546 glibcxx_cv_POLL=no
19548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19549 else
19550 if test x$gcc_no_link = xyes; then
19551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19553 { (exit 1); exit 1; }; }
19555 cat >conftest.$ac_ext <<_ACEOF
19556 /* confdefs.h. */
19557 _ACEOF
19558 cat confdefs.h >>conftest.$ac_ext
19559 cat >>conftest.$ac_ext <<_ACEOF
19560 /* end confdefs.h. */
19561 #include <poll.h>
19563 main ()
19565 struct pollfd pfd[1];
19566 pfd[0].events = POLLIN;
19567 poll(pfd, 1, 0);
19569 return 0;
19571 _ACEOF
19572 rm -f conftest.$ac_objext conftest$ac_exeext
19573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19574 (eval $ac_link) 2>conftest.er1
19575 ac_status=$?
19576 grep -v '^ *+' conftest.er1 >conftest.err
19577 rm -f conftest.er1
19578 cat conftest.err >&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); } &&
19581 { ac_try='test -z "$ac_cxx_werror_flag"
19582 || test ! -s conftest.err'
19583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19584 (eval $ac_try) 2>&5
19585 ac_status=$?
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); }; } &&
19588 { ac_try='test -s conftest$ac_exeext'
19589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19590 (eval $ac_try) 2>&5
19591 ac_status=$?
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); }; }; then
19594 glibcxx_cv_POLL=yes
19595 else
19596 echo "$as_me: failed program was:" >&5
19597 sed 's/^/| /' conftest.$ac_ext >&5
19599 glibcxx_cv_POLL=no
19601 rm -f conftest.err conftest.$ac_objext \
19602 conftest$ac_exeext conftest.$ac_ext
19607 if test $glibcxx_cv_POLL = yes; then
19609 cat >>confdefs.h <<\_ACEOF
19610 #define HAVE_POLL 1
19611 _ACEOF
19614 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
19615 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
19617 CXXFLAGS="$ac_save_CXXFLAGS"
19618 ac_ext=c
19619 ac_cpp='$CPP $CPPFLAGS'
19620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19629 ac_ext=cc
19630 ac_cpp='$CXXCPP $CPPFLAGS'
19631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19635 ac_save_CXXFLAGS="$CXXFLAGS"
19636 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19638 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
19639 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
19640 if test "${glibcxx_cv_S_ISREG+set}" = set; then
19641 echo $ECHO_N "(cached) $ECHO_C" >&6
19642 else
19644 if test x$gcc_no_link = xyes; then
19645 cat >conftest.$ac_ext <<_ACEOF
19646 /* confdefs.h. */
19647 _ACEOF
19648 cat confdefs.h >>conftest.$ac_ext
19649 cat >>conftest.$ac_ext <<_ACEOF
19650 /* end confdefs.h. */
19651 #include <sys/stat.h>
19653 main ()
19655 struct stat buffer;
19656 fstat(0, &buffer);
19657 S_ISREG(buffer.st_mode);
19659 return 0;
19661 _ACEOF
19662 rm -f conftest.$ac_objext
19663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19664 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_S_ISREG=yes
19685 else
19686 echo "$as_me: failed program was:" >&5
19687 sed 's/^/| /' conftest.$ac_ext >&5
19689 glibcxx_cv_S_ISREG=no
19691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19692 else
19693 if test x$gcc_no_link = xyes; then
19694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19696 { (exit 1); exit 1; }; }
19698 cat >conftest.$ac_ext <<_ACEOF
19699 /* confdefs.h. */
19700 _ACEOF
19701 cat confdefs.h >>conftest.$ac_ext
19702 cat >>conftest.$ac_ext <<_ACEOF
19703 /* end confdefs.h. */
19704 #include <sys/stat.h>
19706 main ()
19708 struct stat buffer;
19709 fstat(0, &buffer);
19710 S_ISREG(buffer.st_mode);
19712 return 0;
19714 _ACEOF
19715 rm -f conftest.$ac_objext conftest$ac_exeext
19716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19717 (eval $ac_link) 2>conftest.er1
19718 ac_status=$?
19719 grep -v '^ *+' conftest.er1 >conftest.err
19720 rm -f conftest.er1
19721 cat conftest.err >&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); } &&
19724 { ac_try='test -z "$ac_cxx_werror_flag"
19725 || test ! -s conftest.err'
19726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19727 (eval $ac_try) 2>&5
19728 ac_status=$?
19729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 (exit $ac_status); }; } &&
19731 { ac_try='test -s conftest$ac_exeext'
19732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19733 (eval $ac_try) 2>&5
19734 ac_status=$?
19735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736 (exit $ac_status); }; }; then
19737 glibcxx_cv_S_ISREG=yes
19738 else
19739 echo "$as_me: failed program was:" >&5
19740 sed 's/^/| /' conftest.$ac_ext >&5
19742 glibcxx_cv_S_ISREG=no
19744 rm -f conftest.err conftest.$ac_objext \
19745 conftest$ac_exeext conftest.$ac_ext
19750 if test "${glibcxx_cv_S_IFREG+set}" = set; then
19751 echo $ECHO_N "(cached) $ECHO_C" >&6
19752 else
19754 if test x$gcc_no_link = xyes; then
19755 cat >conftest.$ac_ext <<_ACEOF
19756 /* confdefs.h. */
19757 _ACEOF
19758 cat confdefs.h >>conftest.$ac_ext
19759 cat >>conftest.$ac_ext <<_ACEOF
19760 /* end confdefs.h. */
19761 #include <sys/stat.h>
19763 main ()
19765 struct stat buffer;
19766 fstat(0, &buffer);
19767 S_IFREG & buffer.st_mode;
19769 return 0;
19771 _ACEOF
19772 rm -f conftest.$ac_objext
19773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19774 (eval $ac_compile) 2>conftest.er1
19775 ac_status=$?
19776 grep -v '^ *+' conftest.er1 >conftest.err
19777 rm -f conftest.er1
19778 cat conftest.err >&5
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); } &&
19781 { ac_try='test -z "$ac_cxx_werror_flag"
19782 || test ! -s conftest.err'
19783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19784 (eval $ac_try) 2>&5
19785 ac_status=$?
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }; } &&
19788 { ac_try='test -s conftest.$ac_objext'
19789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19790 (eval $ac_try) 2>&5
19791 ac_status=$?
19792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793 (exit $ac_status); }; }; then
19794 glibcxx_cv_S_IFREG=yes
19795 else
19796 echo "$as_me: failed program was:" >&5
19797 sed 's/^/| /' conftest.$ac_ext >&5
19799 glibcxx_cv_S_IFREG=no
19801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19802 else
19803 if test x$gcc_no_link = xyes; then
19804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19806 { (exit 1); exit 1; }; }
19808 cat >conftest.$ac_ext <<_ACEOF
19809 /* confdefs.h. */
19810 _ACEOF
19811 cat confdefs.h >>conftest.$ac_ext
19812 cat >>conftest.$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19814 #include <sys/stat.h>
19816 main ()
19818 struct stat buffer;
19819 fstat(0, &buffer);
19820 S_IFREG & buffer.st_mode;
19822 return 0;
19824 _ACEOF
19825 rm -f conftest.$ac_objext conftest$ac_exeext
19826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19827 (eval $ac_link) 2>conftest.er1
19828 ac_status=$?
19829 grep -v '^ *+' conftest.er1 >conftest.err
19830 rm -f conftest.er1
19831 cat conftest.err >&5
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); } &&
19834 { ac_try='test -z "$ac_cxx_werror_flag"
19835 || test ! -s conftest.err'
19836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837 (eval $ac_try) 2>&5
19838 ac_status=$?
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; } &&
19841 { ac_try='test -s conftest$ac_exeext'
19842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843 (eval $ac_try) 2>&5
19844 ac_status=$?
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); }; }; then
19847 glibcxx_cv_S_IFREG=yes
19848 else
19849 echo "$as_me: failed program was:" >&5
19850 sed 's/^/| /' conftest.$ac_ext >&5
19852 glibcxx_cv_S_IFREG=no
19854 rm -f conftest.err conftest.$ac_objext \
19855 conftest$ac_exeext conftest.$ac_ext
19860 res=no
19861 if test $glibcxx_cv_S_ISREG = yes; then
19863 cat >>confdefs.h <<\_ACEOF
19864 #define HAVE_S_ISREG 1
19865 _ACEOF
19867 res=S_ISREG
19868 elif test $glibcxx_cv_S_IFREG = yes; then
19870 cat >>confdefs.h <<\_ACEOF
19871 #define HAVE_S_IFREG 1
19872 _ACEOF
19874 res=S_IFREG
19876 echo "$as_me:$LINENO: result: $res" >&5
19877 echo "${ECHO_T}$res" >&6
19879 CXXFLAGS="$ac_save_CXXFLAGS"
19880 ac_ext=c
19881 ac_cpp='$CPP $CPPFLAGS'
19882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19888 # For xsputn_2().
19890 for ac_header in sys/uio.h
19892 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19894 echo "$as_me:$LINENO: checking for $ac_header" >&5
19895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19897 echo $ECHO_N "(cached) $ECHO_C" >&6
19899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19901 else
19902 # Is the header compilable?
19903 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19904 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19905 cat >conftest.$ac_ext <<_ACEOF
19906 /* confdefs.h. */
19907 _ACEOF
19908 cat confdefs.h >>conftest.$ac_ext
19909 cat >>conftest.$ac_ext <<_ACEOF
19910 /* end confdefs.h. */
19911 $ac_includes_default
19912 #include <$ac_header>
19913 _ACEOF
19914 rm -f conftest.$ac_objext
19915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19916 (eval $ac_compile) 2>conftest.er1
19917 ac_status=$?
19918 grep -v '^ *+' conftest.er1 >conftest.err
19919 rm -f conftest.er1
19920 cat conftest.err >&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } &&
19923 { ac_try='test -z "$ac_c_werror_flag"
19924 || test ! -s conftest.err'
19925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19926 (eval $ac_try) 2>&5
19927 ac_status=$?
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); }; } &&
19930 { ac_try='test -s conftest.$ac_objext'
19931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19932 (eval $ac_try) 2>&5
19933 ac_status=$?
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); }; }; then
19936 ac_header_compiler=yes
19937 else
19938 echo "$as_me: failed program was:" >&5
19939 sed 's/^/| /' conftest.$ac_ext >&5
19941 ac_header_compiler=no
19943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19944 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19945 echo "${ECHO_T}$ac_header_compiler" >&6
19947 # Is the header present?
19948 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19949 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19950 cat >conftest.$ac_ext <<_ACEOF
19951 /* confdefs.h. */
19952 _ACEOF
19953 cat confdefs.h >>conftest.$ac_ext
19954 cat >>conftest.$ac_ext <<_ACEOF
19955 /* end confdefs.h. */
19956 #include <$ac_header>
19957 _ACEOF
19958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19959 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19960 ac_status=$?
19961 grep -v '^ *+' conftest.er1 >conftest.err
19962 rm -f conftest.er1
19963 cat conftest.err >&5
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); } >/dev/null; then
19966 if test -s conftest.err; then
19967 ac_cpp_err=$ac_c_preproc_warn_flag
19968 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19969 else
19970 ac_cpp_err=
19972 else
19973 ac_cpp_err=yes
19975 if test -z "$ac_cpp_err"; then
19976 ac_header_preproc=yes
19977 else
19978 echo "$as_me: failed program was:" >&5
19979 sed 's/^/| /' conftest.$ac_ext >&5
19981 ac_header_preproc=no
19983 rm -f conftest.err conftest.$ac_ext
19984 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19985 echo "${ECHO_T}$ac_header_preproc" >&6
19987 # So? What about this header?
19988 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19989 yes:no: )
19990 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19991 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19992 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19993 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19994 ac_header_preproc=yes
19996 no:yes:* )
19997 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19998 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19999 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20000 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20001 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20002 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20003 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20004 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20006 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20007 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20008 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20010 cat <<\_ASBOX
20011 ## ----------------------------------------- ##
20012 ## Report this to the package-unused lists. ##
20013 ## ----------------------------------------- ##
20014 _ASBOX
20016 sed "s/^/$as_me: WARNING: /" >&2
20018 esac
20019 echo "$as_me:$LINENO: checking for $ac_header" >&5
20020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20022 echo $ECHO_N "(cached) $ECHO_C" >&6
20023 else
20024 eval "$as_ac_Header=\$ac_header_preproc"
20026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20027 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20031 cat >>confdefs.h <<_ACEOF
20032 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20033 _ACEOF
20037 done
20043 ac_ext=cc
20044 ac_cpp='$CXXCPP $CPPFLAGS'
20045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20049 ac_save_CXXFLAGS="$CXXFLAGS"
20050 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20052 echo "$as_me:$LINENO: checking for writev" >&5
20053 echo $ECHO_N "checking for writev... $ECHO_C" >&6
20054 if test "${glibcxx_cv_WRITEV+set}" = set; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20056 else
20058 if test x$gcc_no_link = xyes; then
20059 cat >conftest.$ac_ext <<_ACEOF
20060 /* confdefs.h. */
20061 _ACEOF
20062 cat confdefs.h >>conftest.$ac_ext
20063 cat >>conftest.$ac_ext <<_ACEOF
20064 /* end confdefs.h. */
20065 #include <sys/uio.h>
20067 main ()
20069 struct iovec iov[2];
20070 writev(0, iov, 0);
20072 return 0;
20074 _ACEOF
20075 rm -f conftest.$ac_objext
20076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20077 (eval $ac_compile) 2>conftest.er1
20078 ac_status=$?
20079 grep -v '^ *+' conftest.er1 >conftest.err
20080 rm -f conftest.er1
20081 cat conftest.err >&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } &&
20084 { ac_try='test -z "$ac_cxx_werror_flag"
20085 || test ! -s conftest.err'
20086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20087 (eval $ac_try) 2>&5
20088 ac_status=$?
20089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090 (exit $ac_status); }; } &&
20091 { ac_try='test -s conftest.$ac_objext'
20092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20093 (eval $ac_try) 2>&5
20094 ac_status=$?
20095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096 (exit $ac_status); }; }; then
20097 glibcxx_cv_WRITEV=yes
20098 else
20099 echo "$as_me: failed program was:" >&5
20100 sed 's/^/| /' conftest.$ac_ext >&5
20102 glibcxx_cv_WRITEV=no
20104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20105 else
20106 if test x$gcc_no_link = xyes; then
20107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20109 { (exit 1); exit 1; }; }
20111 cat >conftest.$ac_ext <<_ACEOF
20112 /* confdefs.h. */
20113 _ACEOF
20114 cat confdefs.h >>conftest.$ac_ext
20115 cat >>conftest.$ac_ext <<_ACEOF
20116 /* end confdefs.h. */
20117 #include <sys/uio.h>
20119 main ()
20121 struct iovec iov[2];
20122 writev(0, iov, 0);
20124 return 0;
20126 _ACEOF
20127 rm -f conftest.$ac_objext conftest$ac_exeext
20128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20129 (eval $ac_link) 2>conftest.er1
20130 ac_status=$?
20131 grep -v '^ *+' conftest.er1 >conftest.err
20132 rm -f conftest.er1
20133 cat conftest.err >&5
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); } &&
20136 { ac_try='test -z "$ac_cxx_werror_flag"
20137 || test ! -s conftest.err'
20138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20139 (eval $ac_try) 2>&5
20140 ac_status=$?
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); }; } &&
20143 { ac_try='test -s conftest$ac_exeext'
20144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20145 (eval $ac_try) 2>&5
20146 ac_status=$?
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); }; }; then
20149 glibcxx_cv_WRITEV=yes
20150 else
20151 echo "$as_me: failed program was:" >&5
20152 sed 's/^/| /' conftest.$ac_ext >&5
20154 glibcxx_cv_WRITEV=no
20156 rm -f conftest.err conftest.$ac_objext \
20157 conftest$ac_exeext conftest.$ac_ext
20162 if test $glibcxx_cv_WRITEV = yes; then
20164 cat >>confdefs.h <<\_ACEOF
20165 #define HAVE_WRITEV 1
20166 _ACEOF
20169 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
20170 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
20172 CXXFLAGS="$ac_save_CXXFLAGS"
20173 ac_ext=c
20174 ac_cpp='$CPP $CPPFLAGS'
20175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20181 # For C99 support to TR1.
20186 ac_ext=cc
20187 ac_cpp='$CXXCPP $CPPFLAGS'
20188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20193 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
20194 # undefined and fake C99 facilities may be spuriously enabled.
20195 ac_save_CXXFLAGS="$CXXFLAGS"
20196 CXXFLAGS="$CXXFLAGS -std=c++98"
20198 # Check for the existence of <complex.h> complex math functions used
20199 # by tr1/complex.
20201 for ac_header in complex.h
20203 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20205 echo "$as_me:$LINENO: checking for $ac_header" >&5
20206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20208 echo $ECHO_N "(cached) $ECHO_C" >&6
20210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20212 else
20213 # Is the header compilable?
20214 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20215 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20216 cat >conftest.$ac_ext <<_ACEOF
20217 /* confdefs.h. */
20218 _ACEOF
20219 cat confdefs.h >>conftest.$ac_ext
20220 cat >>conftest.$ac_ext <<_ACEOF
20221 /* end confdefs.h. */
20222 $ac_includes_default
20223 #include <$ac_header>
20224 _ACEOF
20225 rm -f conftest.$ac_objext
20226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20227 (eval $ac_compile) 2>conftest.er1
20228 ac_status=$?
20229 grep -v '^ *+' conftest.er1 >conftest.err
20230 rm -f conftest.er1
20231 cat conftest.err >&5
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); } &&
20234 { ac_try='test -z "$ac_cxx_werror_flag"
20235 || test ! -s conftest.err'
20236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20237 (eval $ac_try) 2>&5
20238 ac_status=$?
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); }; } &&
20241 { ac_try='test -s conftest.$ac_objext'
20242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20243 (eval $ac_try) 2>&5
20244 ac_status=$?
20245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246 (exit $ac_status); }; }; then
20247 ac_header_compiler=yes
20248 else
20249 echo "$as_me: failed program was:" >&5
20250 sed 's/^/| /' conftest.$ac_ext >&5
20252 ac_header_compiler=no
20254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20255 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20256 echo "${ECHO_T}$ac_header_compiler" >&6
20258 # Is the header present?
20259 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20260 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20261 cat >conftest.$ac_ext <<_ACEOF
20262 /* confdefs.h. */
20263 _ACEOF
20264 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 #include <$ac_header>
20268 _ACEOF
20269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20270 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20271 ac_status=$?
20272 grep -v '^ *+' conftest.er1 >conftest.err
20273 rm -f conftest.er1
20274 cat conftest.err >&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); } >/dev/null; then
20277 if test -s conftest.err; then
20278 ac_cpp_err=$ac_cxx_preproc_warn_flag
20279 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20280 else
20281 ac_cpp_err=
20283 else
20284 ac_cpp_err=yes
20286 if test -z "$ac_cpp_err"; then
20287 ac_header_preproc=yes
20288 else
20289 echo "$as_me: failed program was:" >&5
20290 sed 's/^/| /' conftest.$ac_ext >&5
20292 ac_header_preproc=no
20294 rm -f conftest.err conftest.$ac_ext
20295 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20296 echo "${ECHO_T}$ac_header_preproc" >&6
20298 # So? What about this header?
20299 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20300 yes:no: )
20301 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20302 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20304 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20305 ac_header_preproc=yes
20307 no:yes:* )
20308 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20309 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20310 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20311 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20312 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20313 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20314 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20315 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20317 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20318 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20319 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20321 cat <<\_ASBOX
20322 ## ----------------------------------------- ##
20323 ## Report this to the package-unused lists. ##
20324 ## ----------------------------------------- ##
20325 _ASBOX
20327 sed "s/^/$as_me: WARNING: /" >&2
20329 esac
20330 echo "$as_me:$LINENO: checking for $ac_header" >&5
20331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20333 echo $ECHO_N "(cached) $ECHO_C" >&6
20334 else
20335 eval "$as_ac_Header=\$ac_header_preproc"
20337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20338 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20342 cat >>confdefs.h <<_ACEOF
20343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20344 _ACEOF
20345 ac_has_complex_h=yes
20346 else
20347 ac_has_complex_h=no
20350 done
20352 ac_c99_complex_tr1=no;
20353 if test x"$ac_has_complex_h" = x"yes"; then
20354 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
20355 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
20356 cat >conftest.$ac_ext <<_ACEOF
20357 /* confdefs.h. */
20358 _ACEOF
20359 cat confdefs.h >>conftest.$ac_ext
20360 cat >>conftest.$ac_ext <<_ACEOF
20361 /* end confdefs.h. */
20362 #include <complex.h>
20364 main ()
20366 typedef __complex__ float float_type; float_type tmpf;
20367 cacosf(tmpf);
20368 casinf(tmpf);
20369 catanf(tmpf);
20370 cacoshf(tmpf);
20371 casinhf(tmpf);
20372 catanhf(tmpf);
20373 typedef __complex__ double double_type; double_type tmpd;
20374 cacos(tmpd);
20375 casin(tmpd);
20376 catan(tmpd);
20377 cacosh(tmpd);
20378 casinh(tmpd);
20379 catanh(tmpd);
20380 typedef __complex__ long double ld_type; ld_type tmpld;
20381 cacosl(tmpld);
20382 casinl(tmpld);
20383 catanl(tmpld);
20384 cacoshl(tmpld);
20385 casinhl(tmpld);
20386 catanhl(tmpld);
20389 return 0;
20391 _ACEOF
20392 rm -f conftest.$ac_objext
20393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20394 (eval $ac_compile) 2>conftest.er1
20395 ac_status=$?
20396 grep -v '^ *+' conftest.er1 >conftest.err
20397 rm -f conftest.er1
20398 cat conftest.err >&5
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); } &&
20401 { ac_try='test -z "$ac_cxx_werror_flag"
20402 || test ! -s conftest.err'
20403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20404 (eval $ac_try) 2>&5
20405 ac_status=$?
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); }; } &&
20408 { ac_try='test -s conftest.$ac_objext'
20409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20410 (eval $ac_try) 2>&5
20411 ac_status=$?
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); }; }; then
20414 ac_c99_complex_tr1=yes
20415 else
20416 echo "$as_me: failed program was:" >&5
20417 sed 's/^/| /' conftest.$ac_ext >&5
20419 ac_c99_complex_tr1=no
20421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20423 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
20424 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
20425 if test x"$ac_c99_complex_tr1" = x"yes"; then
20427 cat >>confdefs.h <<\_ACEOF
20428 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
20429 _ACEOF
20433 # Check for the existence of <ctype.h> functions.
20434 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20435 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
20436 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
20437 echo $ECHO_N "(cached) $ECHO_C" >&6
20438 else
20440 cat >conftest.$ac_ext <<_ACEOF
20441 /* confdefs.h. */
20442 _ACEOF
20443 cat confdefs.h >>conftest.$ac_ext
20444 cat >>conftest.$ac_ext <<_ACEOF
20445 /* end confdefs.h. */
20446 #include <ctype.h>
20448 main ()
20450 int ch;
20451 int ret;
20452 ret = isblank(ch);
20455 return 0;
20457 _ACEOF
20458 rm -f conftest.$ac_objext
20459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20460 (eval $ac_compile) 2>conftest.er1
20461 ac_status=$?
20462 grep -v '^ *+' conftest.er1 >conftest.err
20463 rm -f conftest.er1
20464 cat conftest.err >&5
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); } &&
20467 { ac_try='test -z "$ac_cxx_werror_flag"
20468 || test ! -s conftest.err'
20469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20470 (eval $ac_try) 2>&5
20471 ac_status=$?
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); }; } &&
20474 { ac_try='test -s conftest.$ac_objext'
20475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20476 (eval $ac_try) 2>&5
20477 ac_status=$?
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); }; }; then
20480 glibcxx_cv_c99_ctype_tr1=yes
20481 else
20482 echo "$as_me: failed program was:" >&5
20483 sed 's/^/| /' conftest.$ac_ext >&5
20485 glibcxx_cv_c99_ctype_tr1=no
20487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20491 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
20492 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
20493 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20495 cat >>confdefs.h <<\_ACEOF
20496 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
20497 _ACEOF
20501 # Check for the existence of <fenv.h> functions.
20503 for ac_header in fenv.h
20505 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20507 echo "$as_me:$LINENO: checking for $ac_header" >&5
20508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20510 echo $ECHO_N "(cached) $ECHO_C" >&6
20512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20513 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20514 else
20515 # Is the header compilable?
20516 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20517 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20518 cat >conftest.$ac_ext <<_ACEOF
20519 /* confdefs.h. */
20520 _ACEOF
20521 cat confdefs.h >>conftest.$ac_ext
20522 cat >>conftest.$ac_ext <<_ACEOF
20523 /* end confdefs.h. */
20524 $ac_includes_default
20525 #include <$ac_header>
20526 _ACEOF
20527 rm -f conftest.$ac_objext
20528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20529 (eval $ac_compile) 2>conftest.er1
20530 ac_status=$?
20531 grep -v '^ *+' conftest.er1 >conftest.err
20532 rm -f conftest.er1
20533 cat conftest.err >&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); } &&
20536 { ac_try='test -z "$ac_cxx_werror_flag"
20537 || test ! -s conftest.err'
20538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20539 (eval $ac_try) 2>&5
20540 ac_status=$?
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); }; } &&
20543 { ac_try='test -s conftest.$ac_objext'
20544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20545 (eval $ac_try) 2>&5
20546 ac_status=$?
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); }; }; then
20549 ac_header_compiler=yes
20550 else
20551 echo "$as_me: failed program was:" >&5
20552 sed 's/^/| /' conftest.$ac_ext >&5
20554 ac_header_compiler=no
20556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20557 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20558 echo "${ECHO_T}$ac_header_compiler" >&6
20560 # Is the header present?
20561 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20562 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20563 cat >conftest.$ac_ext <<_ACEOF
20564 /* confdefs.h. */
20565 _ACEOF
20566 cat confdefs.h >>conftest.$ac_ext
20567 cat >>conftest.$ac_ext <<_ACEOF
20568 /* end confdefs.h. */
20569 #include <$ac_header>
20570 _ACEOF
20571 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20572 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20573 ac_status=$?
20574 grep -v '^ *+' conftest.er1 >conftest.err
20575 rm -f conftest.er1
20576 cat conftest.err >&5
20577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20578 (exit $ac_status); } >/dev/null; then
20579 if test -s conftest.err; then
20580 ac_cpp_err=$ac_cxx_preproc_warn_flag
20581 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20582 else
20583 ac_cpp_err=
20585 else
20586 ac_cpp_err=yes
20588 if test -z "$ac_cpp_err"; then
20589 ac_header_preproc=yes
20590 else
20591 echo "$as_me: failed program was:" >&5
20592 sed 's/^/| /' conftest.$ac_ext >&5
20594 ac_header_preproc=no
20596 rm -f conftest.err conftest.$ac_ext
20597 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20598 echo "${ECHO_T}$ac_header_preproc" >&6
20600 # So? What about this header?
20601 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20602 yes:no: )
20603 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20604 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20606 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20607 ac_header_preproc=yes
20609 no:yes:* )
20610 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20611 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20612 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20613 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20614 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20615 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20616 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20617 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20618 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20619 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20620 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20621 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20623 cat <<\_ASBOX
20624 ## ----------------------------------------- ##
20625 ## Report this to the package-unused lists. ##
20626 ## ----------------------------------------- ##
20627 _ASBOX
20629 sed "s/^/$as_me: WARNING: /" >&2
20631 esac
20632 echo "$as_me:$LINENO: checking for $ac_header" >&5
20633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20635 echo $ECHO_N "(cached) $ECHO_C" >&6
20636 else
20637 eval "$as_ac_Header=\$ac_header_preproc"
20639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20643 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20644 cat >>confdefs.h <<_ACEOF
20645 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20646 _ACEOF
20647 ac_has_fenv_h=yes
20648 else
20649 ac_has_fenv_h=no
20652 done
20654 ac_c99_fenv_tr1=no;
20655 if test x"$ac_has_fenv_h" = x"yes"; then
20656 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20657 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
20658 cat >conftest.$ac_ext <<_ACEOF
20659 /* confdefs.h. */
20660 _ACEOF
20661 cat confdefs.h >>conftest.$ac_ext
20662 cat >>conftest.$ac_ext <<_ACEOF
20663 /* end confdefs.h. */
20664 #include <fenv.h>
20666 main ()
20668 int except, mode;
20669 fexcept_t* pflag;
20670 fenv_t* penv;
20671 int ret;
20672 ret = feclearexcept(except);
20673 ret = fegetexceptflag(pflag, except);
20674 ret = feraiseexcept(except);
20675 ret = fesetexceptflag(pflag, except);
20676 ret = fetestexcept(except);
20677 ret = fegetround();
20678 ret = fesetround(mode);
20679 ret = fegetenv(penv);
20680 ret = feholdexcept(penv);
20681 ret = fesetenv(penv);
20682 ret = feupdateenv(penv);
20685 return 0;
20687 _ACEOF
20688 rm -f conftest.$ac_objext
20689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20690 (eval $ac_compile) 2>conftest.er1
20691 ac_status=$?
20692 grep -v '^ *+' conftest.er1 >conftest.err
20693 rm -f conftest.er1
20694 cat conftest.err >&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); } &&
20697 { ac_try='test -z "$ac_cxx_werror_flag"
20698 || test ! -s conftest.err'
20699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700 (eval $ac_try) 2>&5
20701 ac_status=$?
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; } &&
20704 { ac_try='test -s conftest.$ac_objext'
20705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20706 (eval $ac_try) 2>&5
20707 ac_status=$?
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); }; }; then
20710 ac_c99_fenv_tr1=yes
20711 else
20712 echo "$as_me: failed program was:" >&5
20713 sed 's/^/| /' conftest.$ac_ext >&5
20715 ac_c99_fenv_tr1=no
20717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20719 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
20720 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
20721 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20723 cat >>confdefs.h <<\_ACEOF
20724 #define _GLIBCXX_USE_C99_FENV_TR1 1
20725 _ACEOF
20729 # Check for the existence of <stdint.h> types.
20730 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20731 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
20732 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
20733 echo $ECHO_N "(cached) $ECHO_C" >&6
20734 else
20736 cat >conftest.$ac_ext <<_ACEOF
20737 /* confdefs.h. */
20738 _ACEOF
20739 cat confdefs.h >>conftest.$ac_ext
20740 cat >>conftest.$ac_ext <<_ACEOF
20741 /* end confdefs.h. */
20742 #define __STDC_LIMIT_MACROS
20743 #define __STDC_CONSTANT_MACROS
20744 #include <stdint.h>
20746 main ()
20748 typedef int8_t my_int8_t;
20749 my_int8_t i8 = INT8_MIN;
20750 i8 = INT8_MAX;
20751 typedef int16_t my_int16_t;
20752 my_int16_t i16 = INT16_MIN;
20753 i16 = INT16_MAX;
20754 typedef int32_t my_int32_t;
20755 my_int32_t i32 = INT32_MIN;
20756 i32 = INT32_MAX;
20757 typedef int64_t my_int64_t;
20758 my_int64_t i64 = INT64_MIN;
20759 i64 = INT64_MAX;
20760 typedef int_fast8_t my_int_fast8_t;
20761 my_int_fast8_t if8 = INT_FAST8_MIN;
20762 if8 = INT_FAST8_MAX;
20763 typedef int_fast16_t my_int_fast16_t;
20764 my_int_fast16_t if16 = INT_FAST16_MIN;
20765 if16 = INT_FAST16_MAX;
20766 typedef int_fast32_t my_int_fast32_t;
20767 my_int_fast32_t if32 = INT_FAST32_MIN;
20768 if32 = INT_FAST32_MAX;
20769 typedef int_fast64_t my_int_fast64_t;
20770 my_int_fast64_t if64 = INT_FAST64_MIN;
20771 if64 = INT_FAST64_MAX;
20772 typedef int_least8_t my_int_least8_t;
20773 my_int_least8_t il8 = INT_LEAST8_MIN;
20774 il8 = INT_LEAST8_MAX;
20775 typedef int_least16_t my_int_least16_t;
20776 my_int_least16_t il16 = INT_LEAST16_MIN;
20777 il16 = INT_LEAST16_MAX;
20778 typedef int_least32_t my_int_least32_t;
20779 my_int_least32_t il32 = INT_LEAST32_MIN;
20780 il32 = INT_LEAST32_MAX;
20781 typedef int_least64_t my_int_least64_t;
20782 my_int_least64_t il64 = INT_LEAST64_MIN;
20783 il64 = INT_LEAST64_MAX;
20784 typedef intmax_t my_intmax_t;
20785 my_intmax_t im = INTMAX_MAX;
20786 im = INTMAX_MIN;
20787 typedef intptr_t my_intptr_t;
20788 my_intptr_t ip = INTPTR_MAX;
20789 ip = INTPTR_MIN;
20790 typedef uint8_t my_uint8_t;
20791 my_uint8_t ui8 = UINT8_MAX;
20792 ui8 = UINT8_MAX;
20793 typedef uint16_t my_uint16_t;
20794 my_uint16_t ui16 = UINT16_MAX;
20795 ui16 = UINT16_MAX;
20796 typedef uint32_t my_uint32_t;
20797 my_uint32_t ui32 = UINT32_MAX;
20798 ui32 = UINT32_MAX;
20799 typedef uint64_t my_uint64_t;
20800 my_uint64_t ui64 = UINT64_MAX;
20801 ui64 = UINT64_MAX;
20802 typedef uint_fast8_t my_uint_fast8_t;
20803 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20804 uif8 = UINT_FAST8_MAX;
20805 typedef uint_fast16_t my_uint_fast16_t;
20806 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20807 uif16 = UINT_FAST16_MAX;
20808 typedef uint_fast32_t my_uint_fast32_t;
20809 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20810 uif32 = UINT_FAST32_MAX;
20811 typedef uint_fast64_t my_uint_fast64_t;
20812 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20813 uif64 = UINT_FAST64_MAX;
20814 typedef uint_least8_t my_uint_least8_t;
20815 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20816 uil8 = UINT_LEAST8_MAX;
20817 typedef uint_least16_t my_uint_least16_t;
20818 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20819 uil16 = UINT_LEAST16_MAX;
20820 typedef uint_least32_t my_uint_least32_t;
20821 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20822 uil32 = UINT_LEAST32_MAX;
20823 typedef uint_least64_t my_uint_least64_t;
20824 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20825 uil64 = UINT_LEAST64_MAX;
20826 typedef uintmax_t my_uintmax_t;
20827 my_uintmax_t uim = UINTMAX_MAX;
20828 uim = UINTMAX_MAX;
20829 typedef uintptr_t my_uintptr_t;
20830 my_uintptr_t uip = UINTPTR_MAX;
20831 uip = UINTPTR_MAX;
20834 return 0;
20836 _ACEOF
20837 rm -f conftest.$ac_objext
20838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20839 (eval $ac_compile) 2>conftest.er1
20840 ac_status=$?
20841 grep -v '^ *+' conftest.er1 >conftest.err
20842 rm -f conftest.er1
20843 cat conftest.err >&5
20844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20845 (exit $ac_status); } &&
20846 { ac_try='test -z "$ac_cxx_werror_flag"
20847 || test ! -s conftest.err'
20848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20849 (eval $ac_try) 2>&5
20850 ac_status=$?
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); }; } &&
20853 { ac_try='test -s conftest.$ac_objext'
20854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20855 (eval $ac_try) 2>&5
20856 ac_status=$?
20857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858 (exit $ac_status); }; }; then
20859 glibcxx_cv_c99_stdint_tr1=yes
20860 else
20861 echo "$as_me: failed program was:" >&5
20862 sed 's/^/| /' conftest.$ac_ext >&5
20864 glibcxx_cv_c99_stdint_tr1=no
20866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20870 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
20871 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
20872 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20874 cat >>confdefs.h <<\_ACEOF
20875 #define _GLIBCXX_USE_C99_STDINT_TR1 1
20876 _ACEOF
20880 # Check for the existence of <math.h> functions.
20881 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
20882 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
20883 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
20884 echo $ECHO_N "(cached) $ECHO_C" >&6
20885 else
20887 cat >conftest.$ac_ext <<_ACEOF
20888 /* confdefs.h. */
20889 _ACEOF
20890 cat confdefs.h >>conftest.$ac_ext
20891 cat >>conftest.$ac_ext <<_ACEOF
20892 /* end confdefs.h. */
20893 #include <math.h>
20895 main ()
20897 typedef double_t my_double_t;
20898 typedef float_t my_float_t;
20899 acosh(0.0);
20900 acoshf(0.0f);
20901 acoshl(0.0l);
20902 asinh(0.0);
20903 asinhf(0.0f);
20904 asinhl(0.0l);
20905 atanh(0.0);
20906 atanhf(0.0f);
20907 atanhl(0.0l);
20908 cbrt(0.0);
20909 cbrtf(0.0f);
20910 cbrtl(0.0l);
20911 copysign(0.0, 0.0);
20912 copysignf(0.0f, 0.0f);
20913 copysignl(0.0l, 0.0l);
20914 erf(0.0);
20915 erff(0.0f);
20916 erfl(0.0l);
20917 erfc(0.0);
20918 erfcf(0.0f);
20919 erfcl(0.0l);
20920 exp2(0.0);
20921 exp2f(0.0f);
20922 exp2l(0.0l);
20923 expm1(0.0);
20924 expm1f(0.0f);
20925 expm1l(0.0l);
20926 fdim(0.0, 0.0);
20927 fdimf(0.0f, 0.0f);
20928 fdiml(0.0l, 0.0l);
20929 fma(0.0, 0.0, 0.0);
20930 fmaf(0.0f, 0.0f, 0.0f);
20931 fmal(0.0l, 0.0l, 0.0l);
20932 fmax(0.0, 0.0);
20933 fmaxf(0.0f, 0.0f);
20934 fmaxl(0.0l, 0.0l);
20935 fmin(0.0, 0.0);
20936 fminf(0.0f, 0.0f);
20937 fminl(0.0l, 0.0l);
20938 hypot(0.0, 0.0);
20939 hypotf(0.0f, 0.0f);
20940 hypotl(0.0l, 0.0l);
20941 ilogb(0.0);
20942 ilogbf(0.0f);
20943 ilogbl(0.0l);
20944 lgamma(0.0);
20945 lgammaf(0.0f);
20946 lgammal(0.0l);
20947 llrint(0.0);
20948 llrintf(0.0f);
20949 llrintl(0.0l);
20950 llround(0.0);
20951 llroundf(0.0f);
20952 llroundl(0.0l);
20953 log1p(0.0);
20954 log1pf(0.0f);
20955 log1pl(0.0l);
20956 log2(0.0);
20957 log2f(0.0f);
20958 log2l(0.0l);
20959 logb(0.0);
20960 logbf(0.0f);
20961 logbl(0.0l);
20962 lrint(0.0);
20963 lrintf(0.0f);
20964 lrintl(0.0l);
20965 lround(0.0);
20966 lroundf(0.0f);
20967 lroundl(0.0l);
20968 nan(0);
20969 nanf(0);
20970 nanl(0);
20971 nearbyint(0.0);
20972 nearbyintf(0.0f);
20973 nearbyintl(0.0l);
20974 nextafter(0.0, 0.0);
20975 nextafterf(0.0f, 0.0f);
20976 nextafterl(0.0l, 0.0l);
20977 nexttoward(0.0, 0.0);
20978 nexttowardf(0.0f, 0.0f);
20979 nexttowardl(0.0l, 0.0l);
20980 remainder(0.0, 0.0);
20981 remainderf(0.0f, 0.0f);
20982 remainderl(0.0l, 0.0l);
20983 remquo(0.0, 0.0, 0);
20984 remquof(0.0f, 0.0f, 0);
20985 remquol(0.0l, 0.0l, 0);
20986 rint(0.0);
20987 rintf(0.0f);
20988 rintl(0.0l);
20989 round(0.0);
20990 roundf(0.0f);
20991 roundl(0.0l);
20992 scalbln(0.0, 0l);
20993 scalblnf(0.0f, 0l);
20994 scalblnl(0.0l, 0l);
20995 scalbn(0.0, 0);
20996 scalbnf(0.0f, 0);
20997 scalbnl(0.0l, 0);
20998 tgamma(0.0);
20999 tgammaf(0.0f);
21000 tgammal(0.0l);
21001 trunc(0.0);
21002 truncf(0.0f);
21003 truncl(0.0l);
21006 return 0;
21008 _ACEOF
21009 rm -f conftest.$ac_objext
21010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21011 (eval $ac_compile) 2>conftest.er1
21012 ac_status=$?
21013 grep -v '^ *+' conftest.er1 >conftest.err
21014 rm -f conftest.er1
21015 cat conftest.err >&5
21016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21017 (exit $ac_status); } &&
21018 { ac_try='test -z "$ac_cxx_werror_flag"
21019 || test ! -s conftest.err'
21020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21021 (eval $ac_try) 2>&5
21022 ac_status=$?
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); }; } &&
21025 { ac_try='test -s conftest.$ac_objext'
21026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21027 (eval $ac_try) 2>&5
21028 ac_status=$?
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); }; }; then
21031 glibcxx_cv_c99_math_tr1=yes
21032 else
21033 echo "$as_me: failed program was:" >&5
21034 sed 's/^/| /' conftest.$ac_ext >&5
21036 glibcxx_cv_c99_math_tr1=no
21038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21042 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
21043 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
21044 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
21046 cat >>confdefs.h <<\_ACEOF
21047 #define _GLIBCXX_USE_C99_MATH_TR1 1
21048 _ACEOF
21052 # Check for the existence of <inttypes.h> functions (NB: doesn't make
21053 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
21054 ac_c99_inttypes_tr1=no;
21055 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
21056 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
21057 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
21058 cat >conftest.$ac_ext <<_ACEOF
21059 /* confdefs.h. */
21060 _ACEOF
21061 cat confdefs.h >>conftest.$ac_ext
21062 cat >>conftest.$ac_ext <<_ACEOF
21063 /* end confdefs.h. */
21064 #include <inttypes.h>
21066 main ()
21068 intmax_t i, numer, denom, base;
21069 const char* s;
21070 char** endptr;
21071 intmax_t ret = imaxabs(i);
21072 imaxdiv_t dret = imaxdiv(numer, denom);
21073 ret = strtoimax(s, endptr, base);
21074 uintmax_t uret = strtoumax(s, endptr, base);
21077 return 0;
21079 _ACEOF
21080 rm -f conftest.$ac_objext
21081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21082 (eval $ac_compile) 2>conftest.er1
21083 ac_status=$?
21084 grep -v '^ *+' conftest.er1 >conftest.err
21085 rm -f conftest.er1
21086 cat conftest.err >&5
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); } &&
21089 { ac_try='test -z "$ac_cxx_werror_flag"
21090 || test ! -s conftest.err'
21091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21092 (eval $ac_try) 2>&5
21093 ac_status=$?
21094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095 (exit $ac_status); }; } &&
21096 { ac_try='test -s conftest.$ac_objext'
21097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21098 (eval $ac_try) 2>&5
21099 ac_status=$?
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); }; }; then
21102 ac_c99_inttypes_tr1=yes
21103 else
21104 echo "$as_me: failed program was:" >&5
21105 sed 's/^/| /' conftest.$ac_ext >&5
21107 ac_c99_inttypes_tr1=no
21109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21111 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
21112 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
21113 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
21115 cat >>confdefs.h <<\_ACEOF
21116 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
21117 _ACEOF
21121 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
21122 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
21123 ac_c99_inttypes_wchar_t_tr1=no;
21124 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
21125 echo "$as_me:$LINENO: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
21126 echo $ECHO_N "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
21127 cat >conftest.$ac_ext <<_ACEOF
21128 /* confdefs.h. */
21129 _ACEOF
21130 cat confdefs.h >>conftest.$ac_ext
21131 cat >>conftest.$ac_ext <<_ACEOF
21132 /* end confdefs.h. */
21133 #include <inttypes.h>
21135 main ()
21137 intmax_t base;
21138 const wchar_t* s;
21139 wchar_t** endptr;
21140 intmax_t ret = wcstoimax(s, endptr, base);
21141 uintmax_t uret = wcstoumax(s, endptr, base);
21144 return 0;
21146 _ACEOF
21147 rm -f conftest.$ac_objext
21148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21149 (eval $ac_compile) 2>conftest.er1
21150 ac_status=$?
21151 grep -v '^ *+' conftest.er1 >conftest.err
21152 rm -f conftest.er1
21153 cat conftest.err >&5
21154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21155 (exit $ac_status); } &&
21156 { ac_try='test -z "$ac_cxx_werror_flag"
21157 || test ! -s conftest.err'
21158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21159 (eval $ac_try) 2>&5
21160 ac_status=$?
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); }; } &&
21163 { ac_try='test -s conftest.$ac_objext'
21164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21165 (eval $ac_try) 2>&5
21166 ac_status=$?
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); }; }; then
21169 ac_c99_inttypes_wchar_t_tr1=yes
21170 else
21171 echo "$as_me: failed program was:" >&5
21172 sed 's/^/| /' conftest.$ac_ext >&5
21174 ac_c99_inttypes_wchar_t_tr1=no
21176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21178 echo "$as_me:$LINENO: result: $ac_c99_inttypes_wchar_t_tr1" >&5
21179 echo "${ECHO_T}$ac_c99_inttypes_wchar_t_tr1" >&6
21180 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
21182 cat >>confdefs.h <<\_ACEOF
21183 #define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1
21184 _ACEOF
21188 # Check for the existence of the <stdbool.h> header.
21190 for ac_header in stdbool.h
21192 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21194 echo "$as_me:$LINENO: checking for $ac_header" >&5
21195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21197 echo $ECHO_N "(cached) $ECHO_C" >&6
21199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21201 else
21202 # Is the header compilable?
21203 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21204 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21205 cat >conftest.$ac_ext <<_ACEOF
21206 /* confdefs.h. */
21207 _ACEOF
21208 cat confdefs.h >>conftest.$ac_ext
21209 cat >>conftest.$ac_ext <<_ACEOF
21210 /* end confdefs.h. */
21211 $ac_includes_default
21212 #include <$ac_header>
21213 _ACEOF
21214 rm -f conftest.$ac_objext
21215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21216 (eval $ac_compile) 2>conftest.er1
21217 ac_status=$?
21218 grep -v '^ *+' conftest.er1 >conftest.err
21219 rm -f conftest.er1
21220 cat conftest.err >&5
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); } &&
21223 { ac_try='test -z "$ac_cxx_werror_flag"
21224 || test ! -s conftest.err'
21225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21226 (eval $ac_try) 2>&5
21227 ac_status=$?
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); }; } &&
21230 { ac_try='test -s conftest.$ac_objext'
21231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21232 (eval $ac_try) 2>&5
21233 ac_status=$?
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); }; }; then
21236 ac_header_compiler=yes
21237 else
21238 echo "$as_me: failed program was:" >&5
21239 sed 's/^/| /' conftest.$ac_ext >&5
21241 ac_header_compiler=no
21243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21245 echo "${ECHO_T}$ac_header_compiler" >&6
21247 # Is the header present?
21248 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21249 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21250 cat >conftest.$ac_ext <<_ACEOF
21251 /* confdefs.h. */
21252 _ACEOF
21253 cat confdefs.h >>conftest.$ac_ext
21254 cat >>conftest.$ac_ext <<_ACEOF
21255 /* end confdefs.h. */
21256 #include <$ac_header>
21257 _ACEOF
21258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21260 ac_status=$?
21261 grep -v '^ *+' conftest.er1 >conftest.err
21262 rm -f conftest.er1
21263 cat conftest.err >&5
21264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21265 (exit $ac_status); } >/dev/null; then
21266 if test -s conftest.err; then
21267 ac_cpp_err=$ac_cxx_preproc_warn_flag
21268 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21269 else
21270 ac_cpp_err=
21272 else
21273 ac_cpp_err=yes
21275 if test -z "$ac_cpp_err"; then
21276 ac_header_preproc=yes
21277 else
21278 echo "$as_me: failed program was:" >&5
21279 sed 's/^/| /' conftest.$ac_ext >&5
21281 ac_header_preproc=no
21283 rm -f conftest.err conftest.$ac_ext
21284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21285 echo "${ECHO_T}$ac_header_preproc" >&6
21287 # So? What about this header?
21288 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21289 yes:no: )
21290 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21291 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21293 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21294 ac_header_preproc=yes
21296 no:yes:* )
21297 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21298 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21299 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21300 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21301 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21302 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21303 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21304 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21306 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21307 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21308 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21310 cat <<\_ASBOX
21311 ## ----------------------------------------- ##
21312 ## Report this to the package-unused lists. ##
21313 ## ----------------------------------------- ##
21314 _ASBOX
21316 sed "s/^/$as_me: WARNING: /" >&2
21318 esac
21319 echo "$as_me:$LINENO: checking for $ac_header" >&5
21320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21322 echo $ECHO_N "(cached) $ECHO_C" >&6
21323 else
21324 eval "$as_ac_Header=\$ac_header_preproc"
21326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21327 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21330 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21331 cat >>confdefs.h <<_ACEOF
21332 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21333 _ACEOF
21337 done
21340 CXXFLAGS="$ac_save_CXXFLAGS"
21341 ac_ext=c
21342 ac_cpp='$CPP $CPPFLAGS'
21343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21349 # For common values of EOF, SEEK_CUR, SEEK_END.
21352 echo "$as_me:$LINENO: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
21353 echo $ECHO_N "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... $ECHO_C" >&6
21354 if test "${glibcxx_cv_stdio_macros+set}" = set; then
21355 echo $ECHO_N "(cached) $ECHO_C" >&6
21356 else
21358 cat >conftest.$ac_ext <<_ACEOF
21359 /* confdefs.h. */
21360 _ACEOF
21361 cat confdefs.h >>conftest.$ac_ext
21362 cat >>conftest.$ac_ext <<_ACEOF
21363 /* end confdefs.h. */
21364 #include <stdio.h>
21366 main ()
21368 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
21369 unusual values...
21370 #endif
21373 return 0;
21375 _ACEOF
21376 rm -f conftest.$ac_objext
21377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21378 (eval $ac_compile) 2>conftest.er1
21379 ac_status=$?
21380 grep -v '^ *+' conftest.er1 >conftest.err
21381 rm -f conftest.er1
21382 cat conftest.err >&5
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); } &&
21385 { ac_try='test -z "$ac_c_werror_flag"
21386 || test ! -s conftest.err'
21387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21388 (eval $ac_try) 2>&5
21389 ac_status=$?
21390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391 (exit $ac_status); }; } &&
21392 { ac_try='test -s conftest.$ac_objext'
21393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21394 (eval $ac_try) 2>&5
21395 ac_status=$?
21396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 (exit $ac_status); }; }; then
21398 glibcxx_cv_stdio_macros=yes
21399 else
21400 echo "$as_me: failed program was:" >&5
21401 sed 's/^/| /' conftest.$ac_ext >&5
21403 glibcxx_cv_stdio_macros=no
21405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21409 echo "$as_me:$LINENO: result: $glibcxx_cv_stdio_macros" >&5
21410 echo "${ECHO_T}$glibcxx_cv_stdio_macros" >&6
21411 if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
21413 cat >>confdefs.h <<\_ACEOF
21414 #define _GLIBCXX_STDIO_MACROS 1
21415 _ACEOF
21421 # For gettimeofday support.
21424 echo "$as_me:$LINENO: checking for gettimeofday" >&5
21425 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
21429 ac_ext=cc
21430 ac_cpp='$CXXCPP $CPPFLAGS'
21431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21435 ac_save_CXXFLAGS="$CXXFLAGS"
21436 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21438 ac_has_gettimeofday=no;
21440 for ac_header in sys/time.h
21442 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21444 echo "$as_me:$LINENO: checking for $ac_header" >&5
21445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21447 echo $ECHO_N "(cached) $ECHO_C" >&6
21449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21451 else
21452 # Is the header compilable?
21453 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21454 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21455 cat >conftest.$ac_ext <<_ACEOF
21456 /* confdefs.h. */
21457 _ACEOF
21458 cat confdefs.h >>conftest.$ac_ext
21459 cat >>conftest.$ac_ext <<_ACEOF
21460 /* end confdefs.h. */
21461 $ac_includes_default
21462 #include <$ac_header>
21463 _ACEOF
21464 rm -f conftest.$ac_objext
21465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21466 (eval $ac_compile) 2>conftest.er1
21467 ac_status=$?
21468 grep -v '^ *+' conftest.er1 >conftest.err
21469 rm -f conftest.er1
21470 cat conftest.err >&5
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); } &&
21473 { ac_try='test -z "$ac_cxx_werror_flag"
21474 || test ! -s conftest.err'
21475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21476 (eval $ac_try) 2>&5
21477 ac_status=$?
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); }; } &&
21480 { ac_try='test -s conftest.$ac_objext'
21481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21482 (eval $ac_try) 2>&5
21483 ac_status=$?
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); }; }; then
21486 ac_header_compiler=yes
21487 else
21488 echo "$as_me: failed program was:" >&5
21489 sed 's/^/| /' conftest.$ac_ext >&5
21491 ac_header_compiler=no
21493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21494 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21495 echo "${ECHO_T}$ac_header_compiler" >&6
21497 # Is the header present?
21498 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21499 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21500 cat >conftest.$ac_ext <<_ACEOF
21501 /* confdefs.h. */
21502 _ACEOF
21503 cat confdefs.h >>conftest.$ac_ext
21504 cat >>conftest.$ac_ext <<_ACEOF
21505 /* end confdefs.h. */
21506 #include <$ac_header>
21507 _ACEOF
21508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21509 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21510 ac_status=$?
21511 grep -v '^ *+' conftest.er1 >conftest.err
21512 rm -f conftest.er1
21513 cat conftest.err >&5
21514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21515 (exit $ac_status); } >/dev/null; then
21516 if test -s conftest.err; then
21517 ac_cpp_err=$ac_cxx_preproc_warn_flag
21518 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21519 else
21520 ac_cpp_err=
21522 else
21523 ac_cpp_err=yes
21525 if test -z "$ac_cpp_err"; then
21526 ac_header_preproc=yes
21527 else
21528 echo "$as_me: failed program was:" >&5
21529 sed 's/^/| /' conftest.$ac_ext >&5
21531 ac_header_preproc=no
21533 rm -f conftest.err conftest.$ac_ext
21534 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21535 echo "${ECHO_T}$ac_header_preproc" >&6
21537 # So? What about this header?
21538 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21539 yes:no: )
21540 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21541 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21543 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21544 ac_header_preproc=yes
21546 no:yes:* )
21547 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21548 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21549 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21550 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21551 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21552 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21553 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21554 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21557 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21558 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21560 cat <<\_ASBOX
21561 ## ----------------------------------------- ##
21562 ## Report this to the package-unused lists. ##
21563 ## ----------------------------------------- ##
21564 _ASBOX
21566 sed "s/^/$as_me: WARNING: /" >&2
21568 esac
21569 echo "$as_me:$LINENO: checking for $ac_header" >&5
21570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21572 echo $ECHO_N "(cached) $ECHO_C" >&6
21573 else
21574 eval "$as_ac_Header=\$ac_header_preproc"
21576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21581 cat >>confdefs.h <<_ACEOF
21582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21583 _ACEOF
21584 ac_has_sys_time_h=yes
21585 else
21586 ac_has_sys_time_h=no
21589 done
21591 if test x"$ac_has_sys_time_h" = x"yes"; then
21592 echo "$as_me:$LINENO: checking for gettimeofday" >&5
21593 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
21594 if test x$gcc_no_link = xyes; then
21595 cat >conftest.$ac_ext <<_ACEOF
21596 /* confdefs.h. */
21597 _ACEOF
21598 cat confdefs.h >>conftest.$ac_ext
21599 cat >>conftest.$ac_ext <<_ACEOF
21600 /* end confdefs.h. */
21601 #include <sys/time.h>
21603 main ()
21605 timeval tv; gettimeofday(&tv, 0);
21607 return 0;
21609 _ACEOF
21610 rm -f conftest.$ac_objext
21611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21612 (eval $ac_compile) 2>conftest.er1
21613 ac_status=$?
21614 grep -v '^ *+' conftest.er1 >conftest.err
21615 rm -f conftest.er1
21616 cat conftest.err >&5
21617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21618 (exit $ac_status); } &&
21619 { ac_try='test -z "$ac_cxx_werror_flag"
21620 || test ! -s conftest.err'
21621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21622 (eval $ac_try) 2>&5
21623 ac_status=$?
21624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21625 (exit $ac_status); }; } &&
21626 { ac_try='test -s conftest.$ac_objext'
21627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21628 (eval $ac_try) 2>&5
21629 ac_status=$?
21630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21631 (exit $ac_status); }; }; then
21632 ac_has_gettimeofday=yes
21633 else
21634 echo "$as_me: failed program was:" >&5
21635 sed 's/^/| /' conftest.$ac_ext >&5
21637 ac_has_gettimeofday=no
21639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21640 else
21641 if test x$gcc_no_link = xyes; then
21642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21644 { (exit 1); exit 1; }; }
21646 cat >conftest.$ac_ext <<_ACEOF
21647 /* confdefs.h. */
21648 _ACEOF
21649 cat confdefs.h >>conftest.$ac_ext
21650 cat >>conftest.$ac_ext <<_ACEOF
21651 /* end confdefs.h. */
21652 #include <sys/time.h>
21654 main ()
21656 timeval tv; gettimeofday(&tv, 0);
21658 return 0;
21660 _ACEOF
21661 rm -f conftest.$ac_objext conftest$ac_exeext
21662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21663 (eval $ac_link) 2>conftest.er1
21664 ac_status=$?
21665 grep -v '^ *+' conftest.er1 >conftest.err
21666 rm -f conftest.er1
21667 cat conftest.err >&5
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); } &&
21670 { ac_try='test -z "$ac_cxx_werror_flag"
21671 || test ! -s conftest.err'
21672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21673 (eval $ac_try) 2>&5
21674 ac_status=$?
21675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21676 (exit $ac_status); }; } &&
21677 { ac_try='test -s conftest$ac_exeext'
21678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21679 (eval $ac_try) 2>&5
21680 ac_status=$?
21681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21682 (exit $ac_status); }; }; then
21683 ac_has_gettimeofday=yes
21684 else
21685 echo "$as_me: failed program was:" >&5
21686 sed 's/^/| /' conftest.$ac_ext >&5
21688 ac_has_gettimeofday=no
21690 rm -f conftest.err conftest.$ac_objext \
21691 conftest$ac_exeext conftest.$ac_ext
21694 echo "$as_me:$LINENO: result: $ac_has_gettimeofday" >&5
21695 echo "${ECHO_T}$ac_has_gettimeofday" >&6
21698 if test x"$ac_has_gettimeofday" = x"yes"; then
21700 cat >>confdefs.h <<\_ACEOF
21701 #define _GLIBCXX_USE_GETTIMEOFDAY 1
21702 _ACEOF
21706 CXXFLAGS="$ac_save_CXXFLAGS"
21707 ac_ext=c
21708 ac_cpp='$CPP $CPPFLAGS'
21709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21715 # For clock_gettime support.
21716 # NB: The default is [no], because otherwise it requires linking.
21719 echo "$as_me:$LINENO: checking for clock_gettime clocks" >&5
21720 echo $ECHO_N "checking for clock_gettime clocks... $ECHO_C" >&6
21721 # Check whether --enable-clock-gettime or --disable-clock-gettime was given.
21722 if test "${enable_clock_gettime+set}" = set; then
21723 enableval="$enable_clock_gettime"
21725 case "$enableval" in
21726 yes|no|rt) ;;
21727 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clock-gettime" >&5
21728 echo "$as_me: error: Unknown argument to enable/disable clock-gettime" >&2;}
21729 { (exit 1); exit 1; }; } ;;
21730 esac
21732 else
21733 enable_clock_gettime=no
21739 ac_ext=cc
21740 ac_cpp='$CXXCPP $CPPFLAGS'
21741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21745 ac_save_CXXFLAGS="$CXXFLAGS"
21746 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21747 ac_save_LIBS="$LIBS"
21749 ac_has_clock_monotonic=no;
21750 ac_has_clock_realtime=no;
21752 if test x"$enable_clock_gettime" != x"no"; then
21754 if test x"$enable_clock_gettime" = x"rt"; then
21755 echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
21756 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
21757 if test "${ac_cv_search_clock_gettime+set}" = set; then
21758 echo $ECHO_N "(cached) $ECHO_C" >&6
21759 else
21760 ac_func_search_save_LIBS=$LIBS
21761 ac_cv_search_clock_gettime=no
21762 if test x$gcc_no_link = xyes; then
21763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21765 { (exit 1); exit 1; }; }
21767 cat >conftest.$ac_ext <<_ACEOF
21768 /* confdefs.h. */
21769 _ACEOF
21770 cat confdefs.h >>conftest.$ac_ext
21771 cat >>conftest.$ac_ext <<_ACEOF
21772 /* end confdefs.h. */
21774 /* Override any gcc2 internal prototype to avoid an error. */
21775 #ifdef __cplusplus
21776 extern "C"
21777 #endif
21778 /* We use char because int might match the return type of a gcc2
21779 builtin and then its argument prototype would still apply. */
21780 char clock_gettime ();
21782 main ()
21784 clock_gettime ();
21786 return 0;
21788 _ACEOF
21789 rm -f conftest.$ac_objext conftest$ac_exeext
21790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21791 (eval $ac_link) 2>conftest.er1
21792 ac_status=$?
21793 grep -v '^ *+' conftest.er1 >conftest.err
21794 rm -f conftest.er1
21795 cat conftest.err >&5
21796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21797 (exit $ac_status); } &&
21798 { ac_try='test -z "$ac_cxx_werror_flag"
21799 || test ! -s conftest.err'
21800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21801 (eval $ac_try) 2>&5
21802 ac_status=$?
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); }; } &&
21805 { ac_try='test -s conftest$ac_exeext'
21806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21807 (eval $ac_try) 2>&5
21808 ac_status=$?
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); }; }; then
21811 ac_cv_search_clock_gettime="none required"
21812 else
21813 echo "$as_me: failed program was:" >&5
21814 sed 's/^/| /' conftest.$ac_ext >&5
21817 rm -f conftest.err conftest.$ac_objext \
21818 conftest$ac_exeext conftest.$ac_ext
21819 if test "$ac_cv_search_clock_gettime" = no; then
21820 for ac_lib in rt posix4; do
21821 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21822 if test x$gcc_no_link = xyes; then
21823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21825 { (exit 1); exit 1; }; }
21827 cat >conftest.$ac_ext <<_ACEOF
21828 /* confdefs.h. */
21829 _ACEOF
21830 cat confdefs.h >>conftest.$ac_ext
21831 cat >>conftest.$ac_ext <<_ACEOF
21832 /* end confdefs.h. */
21834 /* Override any gcc2 internal prototype to avoid an error. */
21835 #ifdef __cplusplus
21836 extern "C"
21837 #endif
21838 /* We use char because int might match the return type of a gcc2
21839 builtin and then its argument prototype would still apply. */
21840 char clock_gettime ();
21842 main ()
21844 clock_gettime ();
21846 return 0;
21848 _ACEOF
21849 rm -f conftest.$ac_objext conftest$ac_exeext
21850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21851 (eval $ac_link) 2>conftest.er1
21852 ac_status=$?
21853 grep -v '^ *+' conftest.er1 >conftest.err
21854 rm -f conftest.er1
21855 cat conftest.err >&5
21856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21857 (exit $ac_status); } &&
21858 { ac_try='test -z "$ac_cxx_werror_flag"
21859 || test ! -s conftest.err'
21860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21861 (eval $ac_try) 2>&5
21862 ac_status=$?
21863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864 (exit $ac_status); }; } &&
21865 { ac_try='test -s conftest$ac_exeext'
21866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21867 (eval $ac_try) 2>&5
21868 ac_status=$?
21869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21870 (exit $ac_status); }; }; then
21871 ac_cv_search_clock_gettime="-l$ac_lib"
21872 break
21873 else
21874 echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.$ac_ext >&5
21878 rm -f conftest.err conftest.$ac_objext \
21879 conftest$ac_exeext conftest.$ac_ext
21880 done
21882 LIBS=$ac_func_search_save_LIBS
21884 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
21885 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
21886 if test "$ac_cv_search_clock_gettime" != no; then
21887 test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
21891 else
21892 echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
21893 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
21894 if test "${ac_cv_search_clock_gettime+set}" = set; then
21895 echo $ECHO_N "(cached) $ECHO_C" >&6
21896 else
21897 ac_func_search_save_LIBS=$LIBS
21898 ac_cv_search_clock_gettime=no
21899 if test x$gcc_no_link = xyes; then
21900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21902 { (exit 1); exit 1; }; }
21904 cat >conftest.$ac_ext <<_ACEOF
21905 /* confdefs.h. */
21906 _ACEOF
21907 cat confdefs.h >>conftest.$ac_ext
21908 cat >>conftest.$ac_ext <<_ACEOF
21909 /* end confdefs.h. */
21911 /* Override any gcc2 internal prototype to avoid an error. */
21912 #ifdef __cplusplus
21913 extern "C"
21914 #endif
21915 /* We use char because int might match the return type of a gcc2
21916 builtin and then its argument prototype would still apply. */
21917 char clock_gettime ();
21919 main ()
21921 clock_gettime ();
21923 return 0;
21925 _ACEOF
21926 rm -f conftest.$ac_objext conftest$ac_exeext
21927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21928 (eval $ac_link) 2>conftest.er1
21929 ac_status=$?
21930 grep -v '^ *+' conftest.er1 >conftest.err
21931 rm -f conftest.er1
21932 cat conftest.err >&5
21933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934 (exit $ac_status); } &&
21935 { ac_try='test -z "$ac_cxx_werror_flag"
21936 || test ! -s conftest.err'
21937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21938 (eval $ac_try) 2>&5
21939 ac_status=$?
21940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21941 (exit $ac_status); }; } &&
21942 { ac_try='test -s conftest$ac_exeext'
21943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21944 (eval $ac_try) 2>&5
21945 ac_status=$?
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947 (exit $ac_status); }; }; then
21948 ac_cv_search_clock_gettime="none required"
21949 else
21950 echo "$as_me: failed program was:" >&5
21951 sed 's/^/| /' conftest.$ac_ext >&5
21954 rm -f conftest.err conftest.$ac_objext \
21955 conftest$ac_exeext conftest.$ac_ext
21956 if test "$ac_cv_search_clock_gettime" = no; then
21957 for ac_lib in posix4; do
21958 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21959 if test x$gcc_no_link = xyes; then
21960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21962 { (exit 1); exit 1; }; }
21964 cat >conftest.$ac_ext <<_ACEOF
21965 /* confdefs.h. */
21966 _ACEOF
21967 cat confdefs.h >>conftest.$ac_ext
21968 cat >>conftest.$ac_ext <<_ACEOF
21969 /* end confdefs.h. */
21971 /* Override any gcc2 internal prototype to avoid an error. */
21972 #ifdef __cplusplus
21973 extern "C"
21974 #endif
21975 /* We use char because int might match the return type of a gcc2
21976 builtin and then its argument prototype would still apply. */
21977 char clock_gettime ();
21979 main ()
21981 clock_gettime ();
21983 return 0;
21985 _ACEOF
21986 rm -f conftest.$ac_objext conftest$ac_exeext
21987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21988 (eval $ac_link) 2>conftest.er1
21989 ac_status=$?
21990 grep -v '^ *+' conftest.er1 >conftest.err
21991 rm -f conftest.er1
21992 cat conftest.err >&5
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); } &&
21995 { ac_try='test -z "$ac_cxx_werror_flag"
21996 || test ! -s conftest.err'
21997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21998 (eval $ac_try) 2>&5
21999 ac_status=$?
22000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22001 (exit $ac_status); }; } &&
22002 { ac_try='test -s conftest$ac_exeext'
22003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22004 (eval $ac_try) 2>&5
22005 ac_status=$?
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); }; }; then
22008 ac_cv_search_clock_gettime="-l$ac_lib"
22009 break
22010 else
22011 echo "$as_me: failed program was:" >&5
22012 sed 's/^/| /' conftest.$ac_ext >&5
22015 rm -f conftest.err conftest.$ac_objext \
22016 conftest$ac_exeext conftest.$ac_ext
22017 done
22019 LIBS=$ac_func_search_save_LIBS
22021 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
22022 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
22023 if test "$ac_cv_search_clock_gettime" != no; then
22024 test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
22030 case "$ac_cv_search_clock_gettime" in
22031 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
22032 esac
22035 for ac_header in unistd.h
22037 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22039 echo "$as_me:$LINENO: checking for $ac_header" >&5
22040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22042 echo $ECHO_N "(cached) $ECHO_C" >&6
22044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22046 else
22047 # Is the header compilable?
22048 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22049 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22050 cat >conftest.$ac_ext <<_ACEOF
22051 /* confdefs.h. */
22052 _ACEOF
22053 cat confdefs.h >>conftest.$ac_ext
22054 cat >>conftest.$ac_ext <<_ACEOF
22055 /* end confdefs.h. */
22056 $ac_includes_default
22057 #include <$ac_header>
22058 _ACEOF
22059 rm -f conftest.$ac_objext
22060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22061 (eval $ac_compile) 2>conftest.er1
22062 ac_status=$?
22063 grep -v '^ *+' conftest.er1 >conftest.err
22064 rm -f conftest.er1
22065 cat conftest.err >&5
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); } &&
22068 { ac_try='test -z "$ac_cxx_werror_flag"
22069 || test ! -s conftest.err'
22070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22071 (eval $ac_try) 2>&5
22072 ac_status=$?
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); }; } &&
22075 { ac_try='test -s conftest.$ac_objext'
22076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22077 (eval $ac_try) 2>&5
22078 ac_status=$?
22079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22080 (exit $ac_status); }; }; then
22081 ac_header_compiler=yes
22082 else
22083 echo "$as_me: failed program was:" >&5
22084 sed 's/^/| /' conftest.$ac_ext >&5
22086 ac_header_compiler=no
22088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22089 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22090 echo "${ECHO_T}$ac_header_compiler" >&6
22092 # Is the header present?
22093 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22094 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22095 cat >conftest.$ac_ext <<_ACEOF
22096 /* confdefs.h. */
22097 _ACEOF
22098 cat confdefs.h >>conftest.$ac_ext
22099 cat >>conftest.$ac_ext <<_ACEOF
22100 /* end confdefs.h. */
22101 #include <$ac_header>
22102 _ACEOF
22103 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22104 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22105 ac_status=$?
22106 grep -v '^ *+' conftest.er1 >conftest.err
22107 rm -f conftest.er1
22108 cat conftest.err >&5
22109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22110 (exit $ac_status); } >/dev/null; then
22111 if test -s conftest.err; then
22112 ac_cpp_err=$ac_cxx_preproc_warn_flag
22113 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22114 else
22115 ac_cpp_err=
22117 else
22118 ac_cpp_err=yes
22120 if test -z "$ac_cpp_err"; then
22121 ac_header_preproc=yes
22122 else
22123 echo "$as_me: failed program was:" >&5
22124 sed 's/^/| /' conftest.$ac_ext >&5
22126 ac_header_preproc=no
22128 rm -f conftest.err conftest.$ac_ext
22129 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22130 echo "${ECHO_T}$ac_header_preproc" >&6
22132 # So? What about this header?
22133 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22134 yes:no: )
22135 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22136 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22138 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22139 ac_header_preproc=yes
22141 no:yes:* )
22142 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22143 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22144 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22145 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22146 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22147 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22148 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22149 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22151 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22152 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22153 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22155 cat <<\_ASBOX
22156 ## ----------------------------------------- ##
22157 ## Report this to the package-unused lists. ##
22158 ## ----------------------------------------- ##
22159 _ASBOX
22161 sed "s/^/$as_me: WARNING: /" >&2
22163 esac
22164 echo "$as_me:$LINENO: checking for $ac_header" >&5
22165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22167 echo $ECHO_N "(cached) $ECHO_C" >&6
22168 else
22169 eval "$as_ac_Header=\$ac_header_preproc"
22171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22175 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22176 cat >>confdefs.h <<_ACEOF
22177 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22178 _ACEOF
22179 ac_has_unistd_h=yes
22180 else
22181 ac_has_unistd_h=no
22184 done
22187 if test x"$ac_has_unistd_h" = x"yes"; then
22188 echo "$as_me:$LINENO: checking for monotonic clock" >&5
22189 echo $ECHO_N "checking for monotonic clock... $ECHO_C" >&6
22190 if test x$gcc_no_link = xyes; then
22191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22193 { (exit 1); exit 1; }; }
22195 cat >conftest.$ac_ext <<_ACEOF
22196 /* confdefs.h. */
22197 _ACEOF
22198 cat confdefs.h >>conftest.$ac_ext
22199 cat >>conftest.$ac_ext <<_ACEOF
22200 /* end confdefs.h. */
22201 #include <unistd.h>
22202 #include <time.h>
22205 main ()
22207 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
22208 timespec tp;
22209 #endif
22210 clock_gettime(CLOCK_MONOTONIC, &tp);
22213 return 0;
22215 _ACEOF
22216 rm -f conftest.$ac_objext conftest$ac_exeext
22217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22218 (eval $ac_link) 2>conftest.er1
22219 ac_status=$?
22220 grep -v '^ *+' conftest.er1 >conftest.err
22221 rm -f conftest.er1
22222 cat conftest.err >&5
22223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22224 (exit $ac_status); } &&
22225 { ac_try='test -z "$ac_cxx_werror_flag"
22226 || test ! -s conftest.err'
22227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22228 (eval $ac_try) 2>&5
22229 ac_status=$?
22230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22231 (exit $ac_status); }; } &&
22232 { ac_try='test -s conftest$ac_exeext'
22233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22234 (eval $ac_try) 2>&5
22235 ac_status=$?
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); }; }; then
22238 ac_has_clock_monotonic=yes
22239 else
22240 echo "$as_me: failed program was:" >&5
22241 sed 's/^/| /' conftest.$ac_ext >&5
22243 ac_has_clock_monotonic=no
22245 rm -f conftest.err conftest.$ac_objext \
22246 conftest$ac_exeext conftest.$ac_ext
22248 echo "$as_me:$LINENO: result: $ac_has_clock_monotonic" >&5
22249 echo "${ECHO_T}$ac_has_clock_monotonic" >&6
22251 echo "$as_me:$LINENO: checking for realtime clock" >&5
22252 echo $ECHO_N "checking for realtime clock... $ECHO_C" >&6
22253 if test x$gcc_no_link = xyes; then
22254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22256 { (exit 1); exit 1; }; }
22258 cat >conftest.$ac_ext <<_ACEOF
22259 /* confdefs.h. */
22260 _ACEOF
22261 cat confdefs.h >>conftest.$ac_ext
22262 cat >>conftest.$ac_ext <<_ACEOF
22263 /* end confdefs.h. */
22264 #include <unistd.h>
22265 #include <time.h>
22268 main ()
22270 #if _POSIX_TIMERS > 0
22271 timespec tp;
22272 #endif
22273 clock_gettime(CLOCK_REALTIME, &tp);
22276 return 0;
22278 _ACEOF
22279 rm -f conftest.$ac_objext conftest$ac_exeext
22280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22281 (eval $ac_link) 2>conftest.er1
22282 ac_status=$?
22283 grep -v '^ *+' conftest.er1 >conftest.err
22284 rm -f conftest.er1
22285 cat conftest.err >&5
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); } &&
22288 { ac_try='test -z "$ac_cxx_werror_flag"
22289 || test ! -s conftest.err'
22290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22291 (eval $ac_try) 2>&5
22292 ac_status=$?
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); }; } &&
22295 { ac_try='test -s conftest$ac_exeext'
22296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22297 (eval $ac_try) 2>&5
22298 ac_status=$?
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); }; }; then
22301 ac_has_clock_realtime=yes
22302 else
22303 echo "$as_me: failed program was:" >&5
22304 sed 's/^/| /' conftest.$ac_ext >&5
22306 ac_has_clock_realtime=no
22308 rm -f conftest.err conftest.$ac_objext \
22309 conftest$ac_exeext conftest.$ac_ext
22311 echo "$as_me:$LINENO: result: $ac_has_clock_realtime" >&5
22312 echo "${ECHO_T}$ac_has_clock_realtime" >&6
22317 if test x"$ac_has_clock_monotonic" = x"yes"; then
22319 cat >>confdefs.h <<\_ACEOF
22320 #define _GLIBCXX_USE_CLOCK_MONOTONIC 1
22321 _ACEOF
22325 if test x"$ac_has_clock_realtime" = x"yes"; then
22327 cat >>confdefs.h <<\_ACEOF
22328 #define _GLIBCXX_USE_CLOCK_REALTIME 1
22329 _ACEOF
22335 CXXFLAGS="$ac_save_CXXFLAGS"
22336 LIBS="$ac_save_LIBS"
22337 ac_ext=c
22338 ac_cpp='$CPP $CPPFLAGS'
22339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22345 # For gthread support
22349 ac_ext=cc
22350 ac_cpp='$CXXCPP $CPPFLAGS'
22351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22356 ac_save_CXXFLAGS="$CXXFLAGS"
22357 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
22359 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
22360 case $target_thread_file in
22361 posix)
22362 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
22363 esac
22365 echo "$as_me:$LINENO: checking for gthreads library" >&5
22366 echo $ECHO_N "checking for gthreads library... $ECHO_C" >&6
22368 cat >conftest.$ac_ext <<_ACEOF
22369 /* confdefs.h. */
22370 _ACEOF
22371 cat confdefs.h >>conftest.$ac_ext
22372 cat >>conftest.$ac_ext <<_ACEOF
22373 /* end confdefs.h. */
22374 #include "gthr.h"
22376 main ()
22379 #ifndef __GTHREADS_CXX0X
22380 #error
22381 #endif
22383 // In case of POSIX threads check _POSIX_TIMEOUTS too.
22384 #if (defined(_PTHREADS) \
22385 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
22386 #error
22387 #endif
22390 return 0;
22392 _ACEOF
22393 rm -f conftest.$ac_objext
22394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22395 (eval $ac_compile) 2>conftest.er1
22396 ac_status=$?
22397 grep -v '^ *+' conftest.er1 >conftest.err
22398 rm -f conftest.er1
22399 cat conftest.err >&5
22400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401 (exit $ac_status); } &&
22402 { ac_try='test -z "$ac_cxx_werror_flag"
22403 || test ! -s conftest.err'
22404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22405 (eval $ac_try) 2>&5
22406 ac_status=$?
22407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22408 (exit $ac_status); }; } &&
22409 { ac_try='test -s conftest.$ac_objext'
22410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22411 (eval $ac_try) 2>&5
22412 ac_status=$?
22413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414 (exit $ac_status); }; }; then
22415 ac_has_gthreads=yes
22416 else
22417 echo "$as_me: failed program was:" >&5
22418 sed 's/^/| /' conftest.$ac_ext >&5
22420 ac_has_gthreads=no
22422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22424 echo "$as_me:$LINENO: result: $ac_has_gthreads" >&5
22425 echo "${ECHO_T}$ac_has_gthreads" >&6
22427 if test x"$ac_has_gthreads" = x"yes"; then
22429 cat >>confdefs.h <<\_ACEOF
22430 #define _GLIBCXX_HAS_GTHREADS 1
22431 _ACEOF
22435 CXXFLAGS="$ac_save_CXXFLAGS"
22436 ac_ext=c
22437 ac_cpp='$CPP $CPPFLAGS'
22438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22444 # For nanosleep support
22447 echo "$as_me:$LINENO: checking for nanosleep" >&5
22448 echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6
22452 ac_ext=cc
22453 ac_cpp='$CXXCPP $CPPFLAGS'
22454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22458 ac_save_CXXFLAGS="$CXXFLAGS"
22459 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22461 ac_has_nanosleep=no;
22463 for ac_header in time.h
22465 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22467 echo "$as_me:$LINENO: checking for $ac_header" >&5
22468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22470 echo $ECHO_N "(cached) $ECHO_C" >&6
22472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22474 else
22475 # Is the header compilable?
22476 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22477 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22478 cat >conftest.$ac_ext <<_ACEOF
22479 /* confdefs.h. */
22480 _ACEOF
22481 cat confdefs.h >>conftest.$ac_ext
22482 cat >>conftest.$ac_ext <<_ACEOF
22483 /* end confdefs.h. */
22484 $ac_includes_default
22485 #include <$ac_header>
22486 _ACEOF
22487 rm -f conftest.$ac_objext
22488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22489 (eval $ac_compile) 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_cxx_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_objext'
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 ac_header_compiler=yes
22510 else
22511 echo "$as_me: failed program was:" >&5
22512 sed 's/^/| /' conftest.$ac_ext >&5
22514 ac_header_compiler=no
22516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22517 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22518 echo "${ECHO_T}$ac_header_compiler" >&6
22520 # Is the header present?
22521 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22522 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22523 cat >conftest.$ac_ext <<_ACEOF
22524 /* confdefs.h. */
22525 _ACEOF
22526 cat confdefs.h >>conftest.$ac_ext
22527 cat >>conftest.$ac_ext <<_ACEOF
22528 /* end confdefs.h. */
22529 #include <$ac_header>
22530 _ACEOF
22531 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22532 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22533 ac_status=$?
22534 grep -v '^ *+' conftest.er1 >conftest.err
22535 rm -f conftest.er1
22536 cat conftest.err >&5
22537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538 (exit $ac_status); } >/dev/null; then
22539 if test -s conftest.err; then
22540 ac_cpp_err=$ac_cxx_preproc_warn_flag
22541 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22542 else
22543 ac_cpp_err=
22545 else
22546 ac_cpp_err=yes
22548 if test -z "$ac_cpp_err"; then
22549 ac_header_preproc=yes
22550 else
22551 echo "$as_me: failed program was:" >&5
22552 sed 's/^/| /' conftest.$ac_ext >&5
22554 ac_header_preproc=no
22556 rm -f conftest.err conftest.$ac_ext
22557 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22558 echo "${ECHO_T}$ac_header_preproc" >&6
22560 # So? What about this header?
22561 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22562 yes:no: )
22563 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22564 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22566 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22567 ac_header_preproc=yes
22569 no:yes:* )
22570 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22571 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22572 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22573 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22574 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22575 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22576 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22577 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22579 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22580 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22581 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22583 cat <<\_ASBOX
22584 ## ----------------------------------------- ##
22585 ## Report this to the package-unused lists. ##
22586 ## ----------------------------------------- ##
22587 _ASBOX
22589 sed "s/^/$as_me: WARNING: /" >&2
22591 esac
22592 echo "$as_me:$LINENO: checking for $ac_header" >&5
22593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22595 echo $ECHO_N "(cached) $ECHO_C" >&6
22596 else
22597 eval "$as_ac_Header=\$ac_header_preproc"
22599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22603 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22604 cat >>confdefs.h <<_ACEOF
22605 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22606 _ACEOF
22607 ac_has_time_h=yes
22608 else
22609 ac_has_time_h=no
22612 done
22614 if test x"$ac_has_time_h" = x"yes"; then
22615 echo "$as_me:$LINENO: checking for nanosleep" >&5
22616 echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6
22617 cat >conftest.$ac_ext <<_ACEOF
22618 /* confdefs.h. */
22619 _ACEOF
22620 cat confdefs.h >>conftest.$ac_ext
22621 cat >>conftest.$ac_ext <<_ACEOF
22622 /* end confdefs.h. */
22623 #include <time.h>
22625 main ()
22627 timespec ts; nanosleep(&ts, 0);
22629 return 0;
22631 _ACEOF
22632 rm -f conftest.$ac_objext
22633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22634 (eval $ac_compile) 2>conftest.er1
22635 ac_status=$?
22636 grep -v '^ *+' conftest.er1 >conftest.err
22637 rm -f conftest.er1
22638 cat conftest.err >&5
22639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22640 (exit $ac_status); } &&
22641 { ac_try='test -z "$ac_cxx_werror_flag"
22642 || test ! -s conftest.err'
22643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22644 (eval $ac_try) 2>&5
22645 ac_status=$?
22646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647 (exit $ac_status); }; } &&
22648 { ac_try='test -s conftest.$ac_objext'
22649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22650 (eval $ac_try) 2>&5
22651 ac_status=$?
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); }; }; then
22654 ac_has_nanosleep=yes
22655 else
22656 echo "$as_me: failed program was:" >&5
22657 sed 's/^/| /' conftest.$ac_ext >&5
22659 ac_has_nanosleep=no
22661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22663 echo "$as_me:$LINENO: result: $ac_has_nanosleep" >&5
22664 echo "${ECHO_T}$ac_has_nanosleep" >&6
22667 if test x"$ac_has_nanosleep" = x"yes"; then
22669 cat >>confdefs.h <<\_ACEOF
22670 #define _GLIBCXX_USE_NANOSLEEP 1
22671 _ACEOF
22675 CXXFLAGS="$ac_save_CXXFLAGS"
22676 ac_ext=c
22677 ac_cpp='$CPP $CPPFLAGS'
22678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22685 if test "${ac_cv_header_locale_h+set}" = set; then
22686 echo "$as_me:$LINENO: checking for locale.h" >&5
22687 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
22688 if test "${ac_cv_header_locale_h+set}" = set; then
22689 echo $ECHO_N "(cached) $ECHO_C" >&6
22691 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
22692 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
22693 else
22694 # Is the header compilable?
22695 echo "$as_me:$LINENO: checking locale.h usability" >&5
22696 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
22697 cat >conftest.$ac_ext <<_ACEOF
22698 /* confdefs.h. */
22699 _ACEOF
22700 cat confdefs.h >>conftest.$ac_ext
22701 cat >>conftest.$ac_ext <<_ACEOF
22702 /* end confdefs.h. */
22703 $ac_includes_default
22704 #include <locale.h>
22705 _ACEOF
22706 rm -f conftest.$ac_objext
22707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22708 (eval $ac_compile) 2>conftest.er1
22709 ac_status=$?
22710 grep -v '^ *+' conftest.er1 >conftest.err
22711 rm -f conftest.er1
22712 cat conftest.err >&5
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); } &&
22715 { ac_try='test -z "$ac_c_werror_flag"
22716 || test ! -s conftest.err'
22717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22718 (eval $ac_try) 2>&5
22719 ac_status=$?
22720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22721 (exit $ac_status); }; } &&
22722 { ac_try='test -s conftest.$ac_objext'
22723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22724 (eval $ac_try) 2>&5
22725 ac_status=$?
22726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727 (exit $ac_status); }; }; then
22728 ac_header_compiler=yes
22729 else
22730 echo "$as_me: failed program was:" >&5
22731 sed 's/^/| /' conftest.$ac_ext >&5
22733 ac_header_compiler=no
22735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22736 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22737 echo "${ECHO_T}$ac_header_compiler" >&6
22739 # Is the header present?
22740 echo "$as_me:$LINENO: checking locale.h presence" >&5
22741 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
22742 cat >conftest.$ac_ext <<_ACEOF
22743 /* confdefs.h. */
22744 _ACEOF
22745 cat confdefs.h >>conftest.$ac_ext
22746 cat >>conftest.$ac_ext <<_ACEOF
22747 /* end confdefs.h. */
22748 #include <locale.h>
22749 _ACEOF
22750 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22751 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22752 ac_status=$?
22753 grep -v '^ *+' conftest.er1 >conftest.err
22754 rm -f conftest.er1
22755 cat conftest.err >&5
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); } >/dev/null; then
22758 if test -s conftest.err; then
22759 ac_cpp_err=$ac_c_preproc_warn_flag
22760 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22761 else
22762 ac_cpp_err=
22764 else
22765 ac_cpp_err=yes
22767 if test -z "$ac_cpp_err"; then
22768 ac_header_preproc=yes
22769 else
22770 echo "$as_me: failed program was:" >&5
22771 sed 's/^/| /' conftest.$ac_ext >&5
22773 ac_header_preproc=no
22775 rm -f conftest.err conftest.$ac_ext
22776 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22777 echo "${ECHO_T}$ac_header_preproc" >&6
22779 # So? What about this header?
22780 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22781 yes:no: )
22782 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
22783 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22784 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
22785 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
22786 ac_header_preproc=yes
22788 no:yes:* )
22789 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
22790 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
22791 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
22792 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
22793 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
22794 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
22795 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
22796 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
22797 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
22798 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
22799 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
22800 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
22802 cat <<\_ASBOX
22803 ## ----------------------------------------- ##
22804 ## Report this to the package-unused lists. ##
22805 ## ----------------------------------------- ##
22806 _ASBOX
22808 sed "s/^/$as_me: WARNING: /" >&2
22810 esac
22811 echo "$as_me:$LINENO: checking for locale.h" >&5
22812 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
22813 if test "${ac_cv_header_locale_h+set}" = set; then
22814 echo $ECHO_N "(cached) $ECHO_C" >&6
22815 else
22816 ac_cv_header_locale_h=$ac_header_preproc
22818 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
22819 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
22822 if test $ac_cv_header_locale_h = yes; then
22824 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
22825 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
22826 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
22827 echo $ECHO_N "(cached) $ECHO_C" >&6
22828 else
22829 cat >conftest.$ac_ext <<_ACEOF
22830 /* confdefs.h. */
22831 _ACEOF
22832 cat confdefs.h >>conftest.$ac_ext
22833 cat >>conftest.$ac_ext <<_ACEOF
22834 /* end confdefs.h. */
22835 #include <locale.h>
22837 main ()
22839 return LC_MESSAGES
22841 return 0;
22843 _ACEOF
22844 rm -f conftest.$ac_objext
22845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22846 (eval $ac_compile) 2>conftest.er1
22847 ac_status=$?
22848 grep -v '^ *+' conftest.er1 >conftest.err
22849 rm -f conftest.er1
22850 cat conftest.err >&5
22851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852 (exit $ac_status); } &&
22853 { ac_try='test -z "$ac_c_werror_flag"
22854 || test ! -s conftest.err'
22855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22856 (eval $ac_try) 2>&5
22857 ac_status=$?
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); }; } &&
22860 { ac_try='test -s conftest.$ac_objext'
22861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22862 (eval $ac_try) 2>&5
22863 ac_status=$?
22864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865 (exit $ac_status); }; }; then
22866 ac_cv_val_LC_MESSAGES=yes
22867 else
22868 echo "$as_me: failed program was:" >&5
22869 sed 's/^/| /' conftest.$ac_ext >&5
22871 ac_cv_val_LC_MESSAGES=no
22873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22875 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
22876 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
22877 if test $ac_cv_val_LC_MESSAGES = yes; then
22879 cat >>confdefs.h <<\_ACEOF
22880 #define HAVE_LC_MESSAGES 1
22881 _ACEOF
22890 # Check for available headers.
22916 for ac_header in endian.h float.h fp.h ieeefp.h inttypes.h locale.h \
22917 machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22918 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22919 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22920 wchar.h wctype.h
22922 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22924 echo "$as_me:$LINENO: checking for $ac_header" >&5
22925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22927 echo $ECHO_N "(cached) $ECHO_C" >&6
22929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22931 else
22932 # Is the header compilable?
22933 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22934 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22935 cat >conftest.$ac_ext <<_ACEOF
22936 /* confdefs.h. */
22937 _ACEOF
22938 cat confdefs.h >>conftest.$ac_ext
22939 cat >>conftest.$ac_ext <<_ACEOF
22940 /* end confdefs.h. */
22941 $ac_includes_default
22942 #include <$ac_header>
22943 _ACEOF
22944 rm -f conftest.$ac_objext
22945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22946 (eval $ac_compile) 2>conftest.er1
22947 ac_status=$?
22948 grep -v '^ *+' conftest.er1 >conftest.err
22949 rm -f conftest.er1
22950 cat conftest.err >&5
22951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22952 (exit $ac_status); } &&
22953 { ac_try='test -z "$ac_c_werror_flag"
22954 || test ! -s conftest.err'
22955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22956 (eval $ac_try) 2>&5
22957 ac_status=$?
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); }; } &&
22960 { ac_try='test -s conftest.$ac_objext'
22961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22962 (eval $ac_try) 2>&5
22963 ac_status=$?
22964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22965 (exit $ac_status); }; }; then
22966 ac_header_compiler=yes
22967 else
22968 echo "$as_me: failed program was:" >&5
22969 sed 's/^/| /' conftest.$ac_ext >&5
22971 ac_header_compiler=no
22973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22975 echo "${ECHO_T}$ac_header_compiler" >&6
22977 # Is the header present?
22978 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22979 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22980 cat >conftest.$ac_ext <<_ACEOF
22981 /* confdefs.h. */
22982 _ACEOF
22983 cat confdefs.h >>conftest.$ac_ext
22984 cat >>conftest.$ac_ext <<_ACEOF
22985 /* end confdefs.h. */
22986 #include <$ac_header>
22987 _ACEOF
22988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22989 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22990 ac_status=$?
22991 grep -v '^ *+' conftest.er1 >conftest.err
22992 rm -f conftest.er1
22993 cat conftest.err >&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); } >/dev/null; then
22996 if test -s conftest.err; then
22997 ac_cpp_err=$ac_c_preproc_warn_flag
22998 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22999 else
23000 ac_cpp_err=
23002 else
23003 ac_cpp_err=yes
23005 if test -z "$ac_cpp_err"; then
23006 ac_header_preproc=yes
23007 else
23008 echo "$as_me: failed program was:" >&5
23009 sed 's/^/| /' conftest.$ac_ext >&5
23011 ac_header_preproc=no
23013 rm -f conftest.err conftest.$ac_ext
23014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23015 echo "${ECHO_T}$ac_header_preproc" >&6
23017 # So? What about this header?
23018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23019 yes:no: )
23020 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23021 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23023 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23024 ac_header_preproc=yes
23026 no:yes:* )
23027 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23028 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23029 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23030 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23031 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23032 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23033 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23034 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23036 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23037 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23038 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23040 cat <<\_ASBOX
23041 ## ----------------------------------------- ##
23042 ## Report this to the package-unused lists. ##
23043 ## ----------------------------------------- ##
23044 _ASBOX
23046 sed "s/^/$as_me: WARNING: /" >&2
23048 esac
23049 echo "$as_me:$LINENO: checking for $ac_header" >&5
23050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23052 echo $ECHO_N "(cached) $ECHO_C" >&6
23053 else
23054 eval "$as_ac_Header=\$ac_header_preproc"
23056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23061 cat >>confdefs.h <<_ACEOF
23062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23063 _ACEOF
23067 done
23070 # Only do link tests if native. Else, hardcode.
23071 if $GLIBCXX_IS_NATIVE; then
23073 # We can do more elaborate tests that assume a working linker.
23074 CANADIAN=no
23078 # Check whether --with-gnu-ld or --without-gnu-ld was given.
23079 if test "${with_gnu_ld+set}" = set; then
23080 withval="$with_gnu_ld"
23081 test "$withval" = no || with_gnu_ld=yes
23082 else
23083 with_gnu_ld=no
23085 ac_prog=ld
23086 if test "$GCC" = yes; then
23087 # Check if gcc -print-prog-name=ld gives a path.
23088 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
23089 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
23090 case $host in
23091 *-*-mingw*)
23092 # gcc leaves a trailing carriage return which upsets mingw
23093 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
23095 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
23096 esac
23097 case $ac_prog in
23098 # Accept absolute paths.
23099 [\\/]* | ?:[\\/]*)
23100 re_direlt='/[^/][^/]*/\.\./'
23101 # Canonicalize the pathname of ld
23102 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
23103 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
23104 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
23105 done
23106 test -z "$LD" && LD="$ac_prog"
23109 # If it fails, then pretend we aren't using GCC.
23110 ac_prog=ld
23113 # If it is relative, then search for the first ld in PATH.
23114 with_gnu_ld=unknown
23116 esac
23117 elif test "$with_gnu_ld" = yes; then
23118 echo "$as_me:$LINENO: checking for GNU ld" >&5
23119 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
23120 else
23121 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
23122 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
23124 if test "${lt_cv_path_LD+set}" = set; then
23125 echo $ECHO_N "(cached) $ECHO_C" >&6
23126 else
23127 if test -z "$LD"; then
23128 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
23129 for ac_dir in $PATH; do
23130 IFS="$lt_save_ifs"
23131 test -z "$ac_dir" && ac_dir=.
23132 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
23133 lt_cv_path_LD="$ac_dir/$ac_prog"
23134 # Check to see if the program is GNU ld. I'd rather use --version,
23135 # but apparently some variants of GNU ld only accept -v.
23136 # Break only if it was the GNU/non-GNU ld that we prefer.
23137 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
23138 *GNU* | *'with BFD'*)
23139 test "$with_gnu_ld" != no && break
23142 test "$with_gnu_ld" != yes && break
23144 esac
23146 done
23147 IFS="$lt_save_ifs"
23148 else
23149 lt_cv_path_LD="$LD" # Let the user override the test with a path.
23153 LD="$lt_cv_path_LD"
23154 if test -n "$LD"; then
23155 echo "$as_me:$LINENO: result: $LD" >&5
23156 echo "${ECHO_T}$LD" >&6
23157 else
23158 echo "$as_me:$LINENO: result: no" >&5
23159 echo "${ECHO_T}no" >&6
23161 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
23162 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
23163 { (exit 1); exit 1; }; }
23164 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
23165 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
23166 if test "${lt_cv_prog_gnu_ld+set}" = set; then
23167 echo $ECHO_N "(cached) $ECHO_C" >&6
23168 else
23169 # I'd rather use --version here, but apparently some GNU lds only accept -v.
23170 case `$LD -v 2>&1 </dev/null` in
23171 *GNU* | *'with BFD'*)
23172 lt_cv_prog_gnu_ld=yes
23175 lt_cv_prog_gnu_ld=no
23177 esac
23179 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
23180 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
23181 with_gnu_ld=$lt_cv_prog_gnu_ld
23189 # If we're not using GNU ld, then there's no point in even trying these
23190 # tests. Check for that first. We should have already tested for gld
23191 # by now (in libtool), but require it now just to be safe...
23192 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
23193 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
23197 # The name set by libtool depends on the version of libtool. Shame on us
23198 # for depending on an impl detail, but c'est la vie. Older versions used
23199 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
23200 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
23201 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
23202 # set (hence we're using an older libtool), then set it.
23203 if test x${with_gnu_ld+set} != xset; then
23204 if test x${ac_cv_prog_gnu_ld+set} != xset; then
23205 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
23206 with_gnu_ld=no
23207 else
23208 with_gnu_ld=$ac_cv_prog_gnu_ld
23212 # Start by getting the version number. I think the libtool test already
23213 # does some of this, but throws away the result.
23214 glibcxx_ld_is_gold=no
23215 if test x"$with_gnu_ld" = x"yes"; then
23216 echo "$as_me:$LINENO: checking for ld version" >&5
23217 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
23219 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
23220 glibcxx_ld_is_gold=yes
23222 ldver=`$LD --version 2>/dev/null | head -1 | \
23223 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
23225 glibcxx_gnu_ld_version=`echo $ldver | \
23226 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
23227 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
23228 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
23231 # Set --gc-sections.
23232 glibcxx_have_gc_sections=no
23233 if test "$glibcxx_ld_is_gold" = "yes"; then
23234 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
23235 glibcxx_have_gc_sections=yes
23237 else
23238 glibcxx_gcsections_min_ld=21602
23239 if test x"$with_gnu_ld" = x"yes" &&
23240 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
23241 glibcxx_have_gc_sections=yes
23244 if test "$glibcxx_have_gc_sections" = "yes"; then
23245 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
23246 # NB: This flag only works reliably after 2.16.1. Configure tests
23247 # for this are difficult, so hard wire a value that should work.
23249 ac_test_CFLAGS="${CFLAGS+set}"
23250 ac_save_CFLAGS="$CFLAGS"
23251 CFLAGS='-Wl,--gc-sections'
23253 # Check for -Wl,--gc-sections
23254 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
23255 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
23256 if test x$gcc_no_link = xyes; then
23257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23259 { (exit 1); exit 1; }; }
23261 cat >conftest.$ac_ext <<_ACEOF
23262 /* confdefs.h. */
23263 _ACEOF
23264 cat confdefs.h >>conftest.$ac_ext
23265 cat >>conftest.$ac_ext <<_ACEOF
23266 /* end confdefs.h. */
23267 int one(void) { return 1; }
23268 int two(void) { return 2; }
23271 main ()
23273 two();
23275 return 0;
23277 _ACEOF
23278 rm -f conftest.$ac_objext conftest$ac_exeext
23279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23280 (eval $ac_link) 2>conftest.er1
23281 ac_status=$?
23282 grep -v '^ *+' conftest.er1 >conftest.err
23283 rm -f conftest.er1
23284 cat conftest.err >&5
23285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286 (exit $ac_status); } &&
23287 { ac_try='test -z "$ac_c_werror_flag"
23288 || test ! -s conftest.err'
23289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23290 (eval $ac_try) 2>&5
23291 ac_status=$?
23292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23293 (exit $ac_status); }; } &&
23294 { ac_try='test -s conftest$ac_exeext'
23295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23296 (eval $ac_try) 2>&5
23297 ac_status=$?
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); }; }; then
23300 ac_gcsections=yes
23301 else
23302 echo "$as_me: failed program was:" >&5
23303 sed 's/^/| /' conftest.$ac_ext >&5
23305 ac_gcsections=no
23307 rm -f conftest.err conftest.$ac_objext \
23308 conftest$ac_exeext conftest.$ac_ext
23309 if test "$ac_gcsections" = "yes"; then
23310 rm -f conftest.c
23311 touch conftest.c
23312 if $CC -c conftest.c; then
23313 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
23314 grep "Warning: gc-sections option ignored" > /dev/null; then
23315 ac_gcsections=no
23318 rm -f conftest.c conftest.o conftest
23320 if test "$ac_gcsections" = "yes"; then
23321 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
23323 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
23324 echo "${ECHO_T}$ac_gcsections" >&6
23326 if test "$ac_test_CFLAGS" = set; then
23327 CFLAGS="$ac_save_CFLAGS"
23328 else
23329 # this is the suspicious part
23330 CFLAGS=''
23334 # Set -z,relro.
23335 # Note this is only for shared objects.
23336 ac_ld_relro=no
23337 if test x"$with_gnu_ld" = x"yes"; then
23338 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
23339 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
23340 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
23341 if test -n "$cxx_z_relo"; then
23342 OPT_LDFLAGS="-Wl,-z,relro"
23343 ac_ld_relro=yes
23345 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
23346 echo "${ECHO_T}$ac_ld_relro" >&6
23349 # Set linker optimization flags.
23350 if test x"$with_gnu_ld" = x"yes"; then
23351 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
23358 ac_test_CXXFLAGS="${CXXFLAGS+set}"
23359 ac_save_CXXFLAGS="$CXXFLAGS"
23360 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
23362 echo "$as_me:$LINENO: checking for sin in -lm" >&5
23363 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
23364 if test "${ac_cv_lib_m_sin+set}" = set; then
23365 echo $ECHO_N "(cached) $ECHO_C" >&6
23366 else
23367 ac_check_lib_save_LIBS=$LIBS
23368 LIBS="-lm $LIBS"
23369 if test x$gcc_no_link = xyes; then
23370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23372 { (exit 1); exit 1; }; }
23374 cat >conftest.$ac_ext <<_ACEOF
23375 /* confdefs.h. */
23376 _ACEOF
23377 cat confdefs.h >>conftest.$ac_ext
23378 cat >>conftest.$ac_ext <<_ACEOF
23379 /* end confdefs.h. */
23381 /* Override any gcc2 internal prototype to avoid an error. */
23382 #ifdef __cplusplus
23383 extern "C"
23384 #endif
23385 /* We use char because int might match the return type of a gcc2
23386 builtin and then its argument prototype would still apply. */
23387 char sin ();
23389 main ()
23391 sin ();
23393 return 0;
23395 _ACEOF
23396 rm -f conftest.$ac_objext conftest$ac_exeext
23397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23398 (eval $ac_link) 2>conftest.er1
23399 ac_status=$?
23400 grep -v '^ *+' conftest.er1 >conftest.err
23401 rm -f conftest.er1
23402 cat conftest.err >&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); } &&
23405 { ac_try='test -z "$ac_c_werror_flag"
23406 || test ! -s conftest.err'
23407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23408 (eval $ac_try) 2>&5
23409 ac_status=$?
23410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411 (exit $ac_status); }; } &&
23412 { ac_try='test -s conftest$ac_exeext'
23413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23414 (eval $ac_try) 2>&5
23415 ac_status=$?
23416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23417 (exit $ac_status); }; }; then
23418 ac_cv_lib_m_sin=yes
23419 else
23420 echo "$as_me: failed program was:" >&5
23421 sed 's/^/| /' conftest.$ac_ext >&5
23423 ac_cv_lib_m_sin=no
23425 rm -f conftest.err conftest.$ac_objext \
23426 conftest$ac_exeext conftest.$ac_ext
23427 LIBS=$ac_check_lib_save_LIBS
23429 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
23430 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
23431 if test $ac_cv_lib_m_sin = yes; then
23432 libm="-lm"
23435 ac_save_LIBS="$LIBS"
23436 LIBS="$LIBS $libm"
23440 echo "$as_me:$LINENO: checking for isinf declaration" >&5
23441 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
23442 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
23443 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
23444 echo $ECHO_N "(cached) $ECHO_C" >&6
23445 else
23449 ac_ext=cc
23450 ac_cpp='$CXXCPP $CPPFLAGS'
23451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23455 cat >conftest.$ac_ext <<_ACEOF
23456 /* confdefs.h. */
23457 _ACEOF
23458 cat confdefs.h >>conftest.$ac_ext
23459 cat >>conftest.$ac_ext <<_ACEOF
23460 /* end confdefs.h. */
23461 #include <math.h>
23462 #ifdef HAVE_IEEEFP_H
23463 #include <ieeefp.h>
23464 #endif
23467 main ()
23469 isinf(0);
23471 return 0;
23473 _ACEOF
23474 rm -f conftest.$ac_objext
23475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23476 (eval $ac_compile) 2>conftest.er1
23477 ac_status=$?
23478 grep -v '^ *+' conftest.er1 >conftest.err
23479 rm -f conftest.er1
23480 cat conftest.err >&5
23481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23482 (exit $ac_status); } &&
23483 { ac_try='test -z "$ac_cxx_werror_flag"
23484 || test ! -s conftest.err'
23485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23486 (eval $ac_try) 2>&5
23487 ac_status=$?
23488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23489 (exit $ac_status); }; } &&
23490 { ac_try='test -s conftest.$ac_objext'
23491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23492 (eval $ac_try) 2>&5
23493 ac_status=$?
23494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23495 (exit $ac_status); }; }; then
23496 glibcxx_cv_func_isinf_use=yes
23497 else
23498 echo "$as_me: failed program was:" >&5
23499 sed 's/^/| /' conftest.$ac_ext >&5
23501 glibcxx_cv_func_isinf_use=no
23503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23504 ac_ext=c
23505 ac_cpp='$CPP $CPPFLAGS'
23506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23514 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
23515 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
23517 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
23519 for ac_func in isinf
23521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23522 echo "$as_me:$LINENO: checking for $ac_func" >&5
23523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23524 if eval "test \"\${$as_ac_var+set}\" = set"; then
23525 echo $ECHO_N "(cached) $ECHO_C" >&6
23526 else
23527 if test x$gcc_no_link = xyes; then
23528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23530 { (exit 1); exit 1; }; }
23532 cat >conftest.$ac_ext <<_ACEOF
23533 /* confdefs.h. */
23534 _ACEOF
23535 cat confdefs.h >>conftest.$ac_ext
23536 cat >>conftest.$ac_ext <<_ACEOF
23537 /* end confdefs.h. */
23538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23540 #define $ac_func innocuous_$ac_func
23542 /* System header to define __stub macros and hopefully few prototypes,
23543 which can conflict with char $ac_func (); below.
23544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23545 <limits.h> exists even on freestanding compilers. */
23547 #ifdef __STDC__
23548 # include <limits.h>
23549 #else
23550 # include <assert.h>
23551 #endif
23553 #undef $ac_func
23555 /* Override any gcc2 internal prototype to avoid an error. */
23556 #ifdef __cplusplus
23557 extern "C"
23559 #endif
23560 /* We use char because int might match the return type of a gcc2
23561 builtin and then its argument prototype would still apply. */
23562 char $ac_func ();
23563 /* The GNU C library defines this for functions which it implements
23564 to always fail with ENOSYS. Some functions are actually named
23565 something starting with __ and the normal name is an alias. */
23566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23567 choke me
23568 #else
23569 char (*f) () = $ac_func;
23570 #endif
23571 #ifdef __cplusplus
23573 #endif
23576 main ()
23578 return f != $ac_func;
23580 return 0;
23582 _ACEOF
23583 rm -f conftest.$ac_objext conftest$ac_exeext
23584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23585 (eval $ac_link) 2>conftest.er1
23586 ac_status=$?
23587 grep -v '^ *+' conftest.er1 >conftest.err
23588 rm -f conftest.er1
23589 cat conftest.err >&5
23590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591 (exit $ac_status); } &&
23592 { ac_try='test -z "$ac_c_werror_flag"
23593 || test ! -s conftest.err'
23594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23595 (eval $ac_try) 2>&5
23596 ac_status=$?
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); }; } &&
23599 { ac_try='test -s conftest$ac_exeext'
23600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23601 (eval $ac_try) 2>&5
23602 ac_status=$?
23603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604 (exit $ac_status); }; }; then
23605 eval "$as_ac_var=yes"
23606 else
23607 echo "$as_me: failed program was:" >&5
23608 sed 's/^/| /' conftest.$ac_ext >&5
23610 eval "$as_ac_var=no"
23612 rm -f conftest.err conftest.$ac_objext \
23613 conftest$ac_exeext conftest.$ac_ext
23615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23617 if test `eval echo '${'$as_ac_var'}'` = yes; then
23618 cat >>confdefs.h <<_ACEOF
23619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23620 _ACEOF
23623 done
23625 else
23627 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
23628 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
23629 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
23630 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
23631 echo $ECHO_N "(cached) $ECHO_C" >&6
23632 else
23636 ac_ext=cc
23637 ac_cpp='$CXXCPP $CPPFLAGS'
23638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23642 cat >conftest.$ac_ext <<_ACEOF
23643 /* confdefs.h. */
23644 _ACEOF
23645 cat confdefs.h >>conftest.$ac_ext
23646 cat >>conftest.$ac_ext <<_ACEOF
23647 /* end confdefs.h. */
23648 #include <math.h>
23649 #ifdef HAVE_IEEEFP_H
23650 #include <ieeefp.h>
23651 #endif
23654 main ()
23656 _isinf(0);
23658 return 0;
23660 _ACEOF
23661 rm -f conftest.$ac_objext
23662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23663 (eval $ac_compile) 2>conftest.er1
23664 ac_status=$?
23665 grep -v '^ *+' conftest.er1 >conftest.err
23666 rm -f conftest.er1
23667 cat conftest.err >&5
23668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); } &&
23670 { ac_try='test -z "$ac_cxx_werror_flag"
23671 || test ! -s conftest.err'
23672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23673 (eval $ac_try) 2>&5
23674 ac_status=$?
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); }; } &&
23677 { ac_try='test -s conftest.$ac_objext'
23678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23679 (eval $ac_try) 2>&5
23680 ac_status=$?
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); }; }; then
23683 glibcxx_cv_func__isinf_use=yes
23684 else
23685 echo "$as_me: failed program was:" >&5
23686 sed 's/^/| /' conftest.$ac_ext >&5
23688 glibcxx_cv_func__isinf_use=no
23690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23691 ac_ext=c
23692 ac_cpp='$CPP $CPPFLAGS'
23693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23701 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
23702 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
23704 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
23706 for ac_func in _isinf
23708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23709 echo "$as_me:$LINENO: checking for $ac_func" >&5
23710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23711 if eval "test \"\${$as_ac_var+set}\" = set"; then
23712 echo $ECHO_N "(cached) $ECHO_C" >&6
23713 else
23714 if test x$gcc_no_link = xyes; then
23715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23717 { (exit 1); exit 1; }; }
23719 cat >conftest.$ac_ext <<_ACEOF
23720 /* confdefs.h. */
23721 _ACEOF
23722 cat confdefs.h >>conftest.$ac_ext
23723 cat >>conftest.$ac_ext <<_ACEOF
23724 /* end confdefs.h. */
23725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23727 #define $ac_func innocuous_$ac_func
23729 /* System header to define __stub macros and hopefully few prototypes,
23730 which can conflict with char $ac_func (); below.
23731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23732 <limits.h> exists even on freestanding compilers. */
23734 #ifdef __STDC__
23735 # include <limits.h>
23736 #else
23737 # include <assert.h>
23738 #endif
23740 #undef $ac_func
23742 /* Override any gcc2 internal prototype to avoid an error. */
23743 #ifdef __cplusplus
23744 extern "C"
23746 #endif
23747 /* We use char because int might match the return type of a gcc2
23748 builtin and then its argument prototype would still apply. */
23749 char $ac_func ();
23750 /* The GNU C library defines this for functions which it implements
23751 to always fail with ENOSYS. Some functions are actually named
23752 something starting with __ and the normal name is an alias. */
23753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23754 choke me
23755 #else
23756 char (*f) () = $ac_func;
23757 #endif
23758 #ifdef __cplusplus
23760 #endif
23763 main ()
23765 return f != $ac_func;
23767 return 0;
23769 _ACEOF
23770 rm -f conftest.$ac_objext conftest$ac_exeext
23771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23772 (eval $ac_link) 2>conftest.er1
23773 ac_status=$?
23774 grep -v '^ *+' conftest.er1 >conftest.err
23775 rm -f conftest.er1
23776 cat conftest.err >&5
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); } &&
23779 { ac_try='test -z "$ac_c_werror_flag"
23780 || test ! -s conftest.err'
23781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23782 (eval $ac_try) 2>&5
23783 ac_status=$?
23784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23785 (exit $ac_status); }; } &&
23786 { ac_try='test -s conftest$ac_exeext'
23787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23788 (eval $ac_try) 2>&5
23789 ac_status=$?
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); }; }; then
23792 eval "$as_ac_var=yes"
23793 else
23794 echo "$as_me: failed program was:" >&5
23795 sed 's/^/| /' conftest.$ac_ext >&5
23797 eval "$as_ac_var=no"
23799 rm -f conftest.err conftest.$ac_objext \
23800 conftest$ac_exeext conftest.$ac_ext
23802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23804 if test `eval echo '${'$as_ac_var'}'` = yes; then
23805 cat >>confdefs.h <<_ACEOF
23806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23807 _ACEOF
23810 done
23820 echo "$as_me:$LINENO: checking for isnan declaration" >&5
23821 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
23822 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
23823 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
23824 echo $ECHO_N "(cached) $ECHO_C" >&6
23825 else
23829 ac_ext=cc
23830 ac_cpp='$CXXCPP $CPPFLAGS'
23831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23835 cat >conftest.$ac_ext <<_ACEOF
23836 /* confdefs.h. */
23837 _ACEOF
23838 cat confdefs.h >>conftest.$ac_ext
23839 cat >>conftest.$ac_ext <<_ACEOF
23840 /* end confdefs.h. */
23841 #include <math.h>
23842 #ifdef HAVE_IEEEFP_H
23843 #include <ieeefp.h>
23844 #endif
23847 main ()
23849 isnan(0);
23851 return 0;
23853 _ACEOF
23854 rm -f conftest.$ac_objext
23855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23856 (eval $ac_compile) 2>conftest.er1
23857 ac_status=$?
23858 grep -v '^ *+' conftest.er1 >conftest.err
23859 rm -f conftest.er1
23860 cat conftest.err >&5
23861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23862 (exit $ac_status); } &&
23863 { ac_try='test -z "$ac_cxx_werror_flag"
23864 || test ! -s conftest.err'
23865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23866 (eval $ac_try) 2>&5
23867 ac_status=$?
23868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869 (exit $ac_status); }; } &&
23870 { ac_try='test -s conftest.$ac_objext'
23871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23872 (eval $ac_try) 2>&5
23873 ac_status=$?
23874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23875 (exit $ac_status); }; }; then
23876 glibcxx_cv_func_isnan_use=yes
23877 else
23878 echo "$as_me: failed program was:" >&5
23879 sed 's/^/| /' conftest.$ac_ext >&5
23881 glibcxx_cv_func_isnan_use=no
23883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23884 ac_ext=c
23885 ac_cpp='$CPP $CPPFLAGS'
23886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23894 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
23895 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
23897 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
23899 for ac_func in isnan
23901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23902 echo "$as_me:$LINENO: checking for $ac_func" >&5
23903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23904 if eval "test \"\${$as_ac_var+set}\" = set"; then
23905 echo $ECHO_N "(cached) $ECHO_C" >&6
23906 else
23907 if test x$gcc_no_link = xyes; then
23908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23910 { (exit 1); exit 1; }; }
23912 cat >conftest.$ac_ext <<_ACEOF
23913 /* confdefs.h. */
23914 _ACEOF
23915 cat confdefs.h >>conftest.$ac_ext
23916 cat >>conftest.$ac_ext <<_ACEOF
23917 /* end confdefs.h. */
23918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23920 #define $ac_func innocuous_$ac_func
23922 /* System header to define __stub macros and hopefully few prototypes,
23923 which can conflict with char $ac_func (); below.
23924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23925 <limits.h> exists even on freestanding compilers. */
23927 #ifdef __STDC__
23928 # include <limits.h>
23929 #else
23930 # include <assert.h>
23931 #endif
23933 #undef $ac_func
23935 /* Override any gcc2 internal prototype to avoid an error. */
23936 #ifdef __cplusplus
23937 extern "C"
23939 #endif
23940 /* We use char because int might match the return type of a gcc2
23941 builtin and then its argument prototype would still apply. */
23942 char $ac_func ();
23943 /* The GNU C library defines this for functions which it implements
23944 to always fail with ENOSYS. Some functions are actually named
23945 something starting with __ and the normal name is an alias. */
23946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23947 choke me
23948 #else
23949 char (*f) () = $ac_func;
23950 #endif
23951 #ifdef __cplusplus
23953 #endif
23956 main ()
23958 return f != $ac_func;
23960 return 0;
23962 _ACEOF
23963 rm -f conftest.$ac_objext conftest$ac_exeext
23964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23965 (eval $ac_link) 2>conftest.er1
23966 ac_status=$?
23967 grep -v '^ *+' conftest.er1 >conftest.err
23968 rm -f conftest.er1
23969 cat conftest.err >&5
23970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23971 (exit $ac_status); } &&
23972 { ac_try='test -z "$ac_c_werror_flag"
23973 || test ! -s conftest.err'
23974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23975 (eval $ac_try) 2>&5
23976 ac_status=$?
23977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23978 (exit $ac_status); }; } &&
23979 { ac_try='test -s conftest$ac_exeext'
23980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23981 (eval $ac_try) 2>&5
23982 ac_status=$?
23983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23984 (exit $ac_status); }; }; then
23985 eval "$as_ac_var=yes"
23986 else
23987 echo "$as_me: failed program was:" >&5
23988 sed 's/^/| /' conftest.$ac_ext >&5
23990 eval "$as_ac_var=no"
23992 rm -f conftest.err conftest.$ac_objext \
23993 conftest$ac_exeext conftest.$ac_ext
23995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23997 if test `eval echo '${'$as_ac_var'}'` = yes; then
23998 cat >>confdefs.h <<_ACEOF
23999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24000 _ACEOF
24003 done
24005 else
24007 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
24008 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
24009 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
24010 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
24011 echo $ECHO_N "(cached) $ECHO_C" >&6
24012 else
24016 ac_ext=cc
24017 ac_cpp='$CXXCPP $CPPFLAGS'
24018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24022 cat >conftest.$ac_ext <<_ACEOF
24023 /* confdefs.h. */
24024 _ACEOF
24025 cat confdefs.h >>conftest.$ac_ext
24026 cat >>conftest.$ac_ext <<_ACEOF
24027 /* end confdefs.h. */
24028 #include <math.h>
24029 #ifdef HAVE_IEEEFP_H
24030 #include <ieeefp.h>
24031 #endif
24034 main ()
24036 _isnan(0);
24038 return 0;
24040 _ACEOF
24041 rm -f conftest.$ac_objext
24042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24043 (eval $ac_compile) 2>conftest.er1
24044 ac_status=$?
24045 grep -v '^ *+' conftest.er1 >conftest.err
24046 rm -f conftest.er1
24047 cat conftest.err >&5
24048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24049 (exit $ac_status); } &&
24050 { ac_try='test -z "$ac_cxx_werror_flag"
24051 || test ! -s conftest.err'
24052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24053 (eval $ac_try) 2>&5
24054 ac_status=$?
24055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24056 (exit $ac_status); }; } &&
24057 { ac_try='test -s conftest.$ac_objext'
24058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24059 (eval $ac_try) 2>&5
24060 ac_status=$?
24061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24062 (exit $ac_status); }; }; then
24063 glibcxx_cv_func__isnan_use=yes
24064 else
24065 echo "$as_me: failed program was:" >&5
24066 sed 's/^/| /' conftest.$ac_ext >&5
24068 glibcxx_cv_func__isnan_use=no
24070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24071 ac_ext=c
24072 ac_cpp='$CPP $CPPFLAGS'
24073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24081 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
24082 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
24084 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
24086 for ac_func in _isnan
24088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24089 echo "$as_me:$LINENO: checking for $ac_func" >&5
24090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24091 if eval "test \"\${$as_ac_var+set}\" = set"; then
24092 echo $ECHO_N "(cached) $ECHO_C" >&6
24093 else
24094 if test x$gcc_no_link = xyes; then
24095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24097 { (exit 1); exit 1; }; }
24099 cat >conftest.$ac_ext <<_ACEOF
24100 /* confdefs.h. */
24101 _ACEOF
24102 cat confdefs.h >>conftest.$ac_ext
24103 cat >>conftest.$ac_ext <<_ACEOF
24104 /* end confdefs.h. */
24105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24107 #define $ac_func innocuous_$ac_func
24109 /* System header to define __stub macros and hopefully few prototypes,
24110 which can conflict with char $ac_func (); below.
24111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24112 <limits.h> exists even on freestanding compilers. */
24114 #ifdef __STDC__
24115 # include <limits.h>
24116 #else
24117 # include <assert.h>
24118 #endif
24120 #undef $ac_func
24122 /* Override any gcc2 internal prototype to avoid an error. */
24123 #ifdef __cplusplus
24124 extern "C"
24126 #endif
24127 /* We use char because int might match the return type of a gcc2
24128 builtin and then its argument prototype would still apply. */
24129 char $ac_func ();
24130 /* The GNU C library defines this for functions which it implements
24131 to always fail with ENOSYS. Some functions are actually named
24132 something starting with __ and the normal name is an alias. */
24133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24134 choke me
24135 #else
24136 char (*f) () = $ac_func;
24137 #endif
24138 #ifdef __cplusplus
24140 #endif
24143 main ()
24145 return f != $ac_func;
24147 return 0;
24149 _ACEOF
24150 rm -f conftest.$ac_objext conftest$ac_exeext
24151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24152 (eval $ac_link) 2>conftest.er1
24153 ac_status=$?
24154 grep -v '^ *+' conftest.er1 >conftest.err
24155 rm -f conftest.er1
24156 cat conftest.err >&5
24157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24158 (exit $ac_status); } &&
24159 { ac_try='test -z "$ac_c_werror_flag"
24160 || test ! -s conftest.err'
24161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24162 (eval $ac_try) 2>&5
24163 ac_status=$?
24164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24165 (exit $ac_status); }; } &&
24166 { ac_try='test -s conftest$ac_exeext'
24167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24168 (eval $ac_try) 2>&5
24169 ac_status=$?
24170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24171 (exit $ac_status); }; }; then
24172 eval "$as_ac_var=yes"
24173 else
24174 echo "$as_me: failed program was:" >&5
24175 sed 's/^/| /' conftest.$ac_ext >&5
24177 eval "$as_ac_var=no"
24179 rm -f conftest.err conftest.$ac_objext \
24180 conftest$ac_exeext conftest.$ac_ext
24182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24184 if test `eval echo '${'$as_ac_var'}'` = yes; then
24185 cat >>confdefs.h <<_ACEOF
24186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24187 _ACEOF
24190 done
24200 echo "$as_me:$LINENO: checking for finite declaration" >&5
24201 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
24202 if test x${glibcxx_cv_func_finite_use+set} != xset; then
24203 if test "${glibcxx_cv_func_finite_use+set}" = set; then
24204 echo $ECHO_N "(cached) $ECHO_C" >&6
24205 else
24209 ac_ext=cc
24210 ac_cpp='$CXXCPP $CPPFLAGS'
24211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24215 cat >conftest.$ac_ext <<_ACEOF
24216 /* confdefs.h. */
24217 _ACEOF
24218 cat confdefs.h >>conftest.$ac_ext
24219 cat >>conftest.$ac_ext <<_ACEOF
24220 /* end confdefs.h. */
24221 #include <math.h>
24222 #ifdef HAVE_IEEEFP_H
24223 #include <ieeefp.h>
24224 #endif
24227 main ()
24229 finite(0);
24231 return 0;
24233 _ACEOF
24234 rm -f conftest.$ac_objext
24235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24236 (eval $ac_compile) 2>conftest.er1
24237 ac_status=$?
24238 grep -v '^ *+' conftest.er1 >conftest.err
24239 rm -f conftest.er1
24240 cat conftest.err >&5
24241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24242 (exit $ac_status); } &&
24243 { ac_try='test -z "$ac_cxx_werror_flag"
24244 || test ! -s conftest.err'
24245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24246 (eval $ac_try) 2>&5
24247 ac_status=$?
24248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24249 (exit $ac_status); }; } &&
24250 { ac_try='test -s conftest.$ac_objext'
24251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24252 (eval $ac_try) 2>&5
24253 ac_status=$?
24254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24255 (exit $ac_status); }; }; then
24256 glibcxx_cv_func_finite_use=yes
24257 else
24258 echo "$as_me: failed program was:" >&5
24259 sed 's/^/| /' conftest.$ac_ext >&5
24261 glibcxx_cv_func_finite_use=no
24263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24264 ac_ext=c
24265 ac_cpp='$CPP $CPPFLAGS'
24266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24274 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
24275 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
24277 if test x$glibcxx_cv_func_finite_use = x"yes"; then
24279 for ac_func in finite
24281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24282 echo "$as_me:$LINENO: checking for $ac_func" >&5
24283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24284 if eval "test \"\${$as_ac_var+set}\" = set"; then
24285 echo $ECHO_N "(cached) $ECHO_C" >&6
24286 else
24287 if test x$gcc_no_link = xyes; then
24288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24290 { (exit 1); exit 1; }; }
24292 cat >conftest.$ac_ext <<_ACEOF
24293 /* confdefs.h. */
24294 _ACEOF
24295 cat confdefs.h >>conftest.$ac_ext
24296 cat >>conftest.$ac_ext <<_ACEOF
24297 /* end confdefs.h. */
24298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24300 #define $ac_func innocuous_$ac_func
24302 /* System header to define __stub macros and hopefully few prototypes,
24303 which can conflict with char $ac_func (); below.
24304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24305 <limits.h> exists even on freestanding compilers. */
24307 #ifdef __STDC__
24308 # include <limits.h>
24309 #else
24310 # include <assert.h>
24311 #endif
24313 #undef $ac_func
24315 /* Override any gcc2 internal prototype to avoid an error. */
24316 #ifdef __cplusplus
24317 extern "C"
24319 #endif
24320 /* We use char because int might match the return type of a gcc2
24321 builtin and then its argument prototype would still apply. */
24322 char $ac_func ();
24323 /* The GNU C library defines this for functions which it implements
24324 to always fail with ENOSYS. Some functions are actually named
24325 something starting with __ and the normal name is an alias. */
24326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24327 choke me
24328 #else
24329 char (*f) () = $ac_func;
24330 #endif
24331 #ifdef __cplusplus
24333 #endif
24336 main ()
24338 return f != $ac_func;
24340 return 0;
24342 _ACEOF
24343 rm -f conftest.$ac_objext conftest$ac_exeext
24344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24345 (eval $ac_link) 2>conftest.er1
24346 ac_status=$?
24347 grep -v '^ *+' conftest.er1 >conftest.err
24348 rm -f conftest.er1
24349 cat conftest.err >&5
24350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351 (exit $ac_status); } &&
24352 { ac_try='test -z "$ac_c_werror_flag"
24353 || test ! -s conftest.err'
24354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24355 (eval $ac_try) 2>&5
24356 ac_status=$?
24357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24358 (exit $ac_status); }; } &&
24359 { ac_try='test -s conftest$ac_exeext'
24360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24361 (eval $ac_try) 2>&5
24362 ac_status=$?
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); }; }; then
24365 eval "$as_ac_var=yes"
24366 else
24367 echo "$as_me: failed program was:" >&5
24368 sed 's/^/| /' conftest.$ac_ext >&5
24370 eval "$as_ac_var=no"
24372 rm -f conftest.err conftest.$ac_objext \
24373 conftest$ac_exeext conftest.$ac_ext
24375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24377 if test `eval echo '${'$as_ac_var'}'` = yes; then
24378 cat >>confdefs.h <<_ACEOF
24379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24380 _ACEOF
24383 done
24385 else
24387 echo "$as_me:$LINENO: checking for _finite declaration" >&5
24388 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
24389 if test x${glibcxx_cv_func__finite_use+set} != xset; then
24390 if test "${glibcxx_cv_func__finite_use+set}" = set; then
24391 echo $ECHO_N "(cached) $ECHO_C" >&6
24392 else
24396 ac_ext=cc
24397 ac_cpp='$CXXCPP $CPPFLAGS'
24398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24402 cat >conftest.$ac_ext <<_ACEOF
24403 /* confdefs.h. */
24404 _ACEOF
24405 cat confdefs.h >>conftest.$ac_ext
24406 cat >>conftest.$ac_ext <<_ACEOF
24407 /* end confdefs.h. */
24408 #include <math.h>
24409 #ifdef HAVE_IEEEFP_H
24410 #include <ieeefp.h>
24411 #endif
24414 main ()
24416 _finite(0);
24418 return 0;
24420 _ACEOF
24421 rm -f conftest.$ac_objext
24422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24423 (eval $ac_compile) 2>conftest.er1
24424 ac_status=$?
24425 grep -v '^ *+' conftest.er1 >conftest.err
24426 rm -f conftest.er1
24427 cat conftest.err >&5
24428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429 (exit $ac_status); } &&
24430 { ac_try='test -z "$ac_cxx_werror_flag"
24431 || test ! -s conftest.err'
24432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24433 (eval $ac_try) 2>&5
24434 ac_status=$?
24435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24436 (exit $ac_status); }; } &&
24437 { ac_try='test -s conftest.$ac_objext'
24438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24439 (eval $ac_try) 2>&5
24440 ac_status=$?
24441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24442 (exit $ac_status); }; }; then
24443 glibcxx_cv_func__finite_use=yes
24444 else
24445 echo "$as_me: failed program was:" >&5
24446 sed 's/^/| /' conftest.$ac_ext >&5
24448 glibcxx_cv_func__finite_use=no
24450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24451 ac_ext=c
24452 ac_cpp='$CPP $CPPFLAGS'
24453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24461 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
24462 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
24464 if test x$glibcxx_cv_func__finite_use = x"yes"; then
24466 for ac_func in _finite
24468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24469 echo "$as_me:$LINENO: checking for $ac_func" >&5
24470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24471 if eval "test \"\${$as_ac_var+set}\" = set"; then
24472 echo $ECHO_N "(cached) $ECHO_C" >&6
24473 else
24474 if test x$gcc_no_link = xyes; then
24475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24477 { (exit 1); exit 1; }; }
24479 cat >conftest.$ac_ext <<_ACEOF
24480 /* confdefs.h. */
24481 _ACEOF
24482 cat confdefs.h >>conftest.$ac_ext
24483 cat >>conftest.$ac_ext <<_ACEOF
24484 /* end confdefs.h. */
24485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24487 #define $ac_func innocuous_$ac_func
24489 /* System header to define __stub macros and hopefully few prototypes,
24490 which can conflict with char $ac_func (); below.
24491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24492 <limits.h> exists even on freestanding compilers. */
24494 #ifdef __STDC__
24495 # include <limits.h>
24496 #else
24497 # include <assert.h>
24498 #endif
24500 #undef $ac_func
24502 /* Override any gcc2 internal prototype to avoid an error. */
24503 #ifdef __cplusplus
24504 extern "C"
24506 #endif
24507 /* We use char because int might match the return type of a gcc2
24508 builtin and then its argument prototype would still apply. */
24509 char $ac_func ();
24510 /* The GNU C library defines this for functions which it implements
24511 to always fail with ENOSYS. Some functions are actually named
24512 something starting with __ and the normal name is an alias. */
24513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24514 choke me
24515 #else
24516 char (*f) () = $ac_func;
24517 #endif
24518 #ifdef __cplusplus
24520 #endif
24523 main ()
24525 return f != $ac_func;
24527 return 0;
24529 _ACEOF
24530 rm -f conftest.$ac_objext conftest$ac_exeext
24531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24532 (eval $ac_link) 2>conftest.er1
24533 ac_status=$?
24534 grep -v '^ *+' conftest.er1 >conftest.err
24535 rm -f conftest.er1
24536 cat conftest.err >&5
24537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24538 (exit $ac_status); } &&
24539 { ac_try='test -z "$ac_c_werror_flag"
24540 || test ! -s conftest.err'
24541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24542 (eval $ac_try) 2>&5
24543 ac_status=$?
24544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545 (exit $ac_status); }; } &&
24546 { ac_try='test -s conftest$ac_exeext'
24547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24548 (eval $ac_try) 2>&5
24549 ac_status=$?
24550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24551 (exit $ac_status); }; }; then
24552 eval "$as_ac_var=yes"
24553 else
24554 echo "$as_me: failed program was:" >&5
24555 sed 's/^/| /' conftest.$ac_ext >&5
24557 eval "$as_ac_var=no"
24559 rm -f conftest.err conftest.$ac_objext \
24560 conftest$ac_exeext conftest.$ac_ext
24562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24564 if test `eval echo '${'$as_ac_var'}'` = yes; then
24565 cat >>confdefs.h <<_ACEOF
24566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24567 _ACEOF
24570 done
24580 echo "$as_me:$LINENO: checking for copysign declaration" >&5
24581 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
24582 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
24583 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
24584 echo $ECHO_N "(cached) $ECHO_C" >&6
24585 else
24589 ac_ext=cc
24590 ac_cpp='$CXXCPP $CPPFLAGS'
24591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24595 cat >conftest.$ac_ext <<_ACEOF
24596 /* confdefs.h. */
24597 _ACEOF
24598 cat confdefs.h >>conftest.$ac_ext
24599 cat >>conftest.$ac_ext <<_ACEOF
24600 /* end confdefs.h. */
24601 #include <math.h>
24603 main ()
24605 copysign(0, 0);
24607 return 0;
24609 _ACEOF
24610 rm -f conftest.$ac_objext
24611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24612 (eval $ac_compile) 2>conftest.er1
24613 ac_status=$?
24614 grep -v '^ *+' conftest.er1 >conftest.err
24615 rm -f conftest.er1
24616 cat conftest.err >&5
24617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24618 (exit $ac_status); } &&
24619 { ac_try='test -z "$ac_cxx_werror_flag"
24620 || test ! -s conftest.err'
24621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24622 (eval $ac_try) 2>&5
24623 ac_status=$?
24624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24625 (exit $ac_status); }; } &&
24626 { ac_try='test -s conftest.$ac_objext'
24627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24628 (eval $ac_try) 2>&5
24629 ac_status=$?
24630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24631 (exit $ac_status); }; }; then
24632 glibcxx_cv_func_copysign_use=yes
24633 else
24634 echo "$as_me: failed program was:" >&5
24635 sed 's/^/| /' conftest.$ac_ext >&5
24637 glibcxx_cv_func_copysign_use=no
24639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24640 ac_ext=c
24641 ac_cpp='$CPP $CPPFLAGS'
24642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24650 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
24651 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
24653 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
24655 for ac_func in copysign
24657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24658 echo "$as_me:$LINENO: checking for $ac_func" >&5
24659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24660 if eval "test \"\${$as_ac_var+set}\" = set"; then
24661 echo $ECHO_N "(cached) $ECHO_C" >&6
24662 else
24663 if test x$gcc_no_link = xyes; then
24664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24666 { (exit 1); exit 1; }; }
24668 cat >conftest.$ac_ext <<_ACEOF
24669 /* confdefs.h. */
24670 _ACEOF
24671 cat confdefs.h >>conftest.$ac_ext
24672 cat >>conftest.$ac_ext <<_ACEOF
24673 /* end confdefs.h. */
24674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24676 #define $ac_func innocuous_$ac_func
24678 /* System header to define __stub macros and hopefully few prototypes,
24679 which can conflict with char $ac_func (); below.
24680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24681 <limits.h> exists even on freestanding compilers. */
24683 #ifdef __STDC__
24684 # include <limits.h>
24685 #else
24686 # include <assert.h>
24687 #endif
24689 #undef $ac_func
24691 /* Override any gcc2 internal prototype to avoid an error. */
24692 #ifdef __cplusplus
24693 extern "C"
24695 #endif
24696 /* We use char because int might match the return type of a gcc2
24697 builtin and then its argument prototype would still apply. */
24698 char $ac_func ();
24699 /* The GNU C library defines this for functions which it implements
24700 to always fail with ENOSYS. Some functions are actually named
24701 something starting with __ and the normal name is an alias. */
24702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24703 choke me
24704 #else
24705 char (*f) () = $ac_func;
24706 #endif
24707 #ifdef __cplusplus
24709 #endif
24712 main ()
24714 return f != $ac_func;
24716 return 0;
24718 _ACEOF
24719 rm -f conftest.$ac_objext conftest$ac_exeext
24720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24721 (eval $ac_link) 2>conftest.er1
24722 ac_status=$?
24723 grep -v '^ *+' conftest.er1 >conftest.err
24724 rm -f conftest.er1
24725 cat conftest.err >&5
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); } &&
24728 { ac_try='test -z "$ac_c_werror_flag"
24729 || test ! -s conftest.err'
24730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24731 (eval $ac_try) 2>&5
24732 ac_status=$?
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); }; } &&
24735 { ac_try='test -s conftest$ac_exeext'
24736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24737 (eval $ac_try) 2>&5
24738 ac_status=$?
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); }; }; then
24741 eval "$as_ac_var=yes"
24742 else
24743 echo "$as_me: failed program was:" >&5
24744 sed 's/^/| /' conftest.$ac_ext >&5
24746 eval "$as_ac_var=no"
24748 rm -f conftest.err conftest.$ac_objext \
24749 conftest$ac_exeext conftest.$ac_ext
24751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24753 if test `eval echo '${'$as_ac_var'}'` = yes; then
24754 cat >>confdefs.h <<_ACEOF
24755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24756 _ACEOF
24759 done
24761 else
24763 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
24764 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
24765 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
24766 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
24767 echo $ECHO_N "(cached) $ECHO_C" >&6
24768 else
24772 ac_ext=cc
24773 ac_cpp='$CXXCPP $CPPFLAGS'
24774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24778 cat >conftest.$ac_ext <<_ACEOF
24779 /* confdefs.h. */
24780 _ACEOF
24781 cat confdefs.h >>conftest.$ac_ext
24782 cat >>conftest.$ac_ext <<_ACEOF
24783 /* end confdefs.h. */
24784 #include <math.h>
24786 main ()
24788 _copysign(0, 0);
24790 return 0;
24792 _ACEOF
24793 rm -f conftest.$ac_objext
24794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24795 (eval $ac_compile) 2>conftest.er1
24796 ac_status=$?
24797 grep -v '^ *+' conftest.er1 >conftest.err
24798 rm -f conftest.er1
24799 cat conftest.err >&5
24800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24801 (exit $ac_status); } &&
24802 { ac_try='test -z "$ac_cxx_werror_flag"
24803 || test ! -s conftest.err'
24804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24805 (eval $ac_try) 2>&5
24806 ac_status=$?
24807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808 (exit $ac_status); }; } &&
24809 { ac_try='test -s conftest.$ac_objext'
24810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24811 (eval $ac_try) 2>&5
24812 ac_status=$?
24813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24814 (exit $ac_status); }; }; then
24815 glibcxx_cv_func__copysign_use=yes
24816 else
24817 echo "$as_me: failed program was:" >&5
24818 sed 's/^/| /' conftest.$ac_ext >&5
24820 glibcxx_cv_func__copysign_use=no
24822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24823 ac_ext=c
24824 ac_cpp='$CPP $CPPFLAGS'
24825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24833 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
24834 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
24836 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
24838 for ac_func in _copysign
24840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24841 echo "$as_me:$LINENO: checking for $ac_func" >&5
24842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24843 if eval "test \"\${$as_ac_var+set}\" = set"; then
24844 echo $ECHO_N "(cached) $ECHO_C" >&6
24845 else
24846 if test x$gcc_no_link = xyes; then
24847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24849 { (exit 1); exit 1; }; }
24851 cat >conftest.$ac_ext <<_ACEOF
24852 /* confdefs.h. */
24853 _ACEOF
24854 cat confdefs.h >>conftest.$ac_ext
24855 cat >>conftest.$ac_ext <<_ACEOF
24856 /* end confdefs.h. */
24857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24859 #define $ac_func innocuous_$ac_func
24861 /* System header to define __stub macros and hopefully few prototypes,
24862 which can conflict with char $ac_func (); below.
24863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24864 <limits.h> exists even on freestanding compilers. */
24866 #ifdef __STDC__
24867 # include <limits.h>
24868 #else
24869 # include <assert.h>
24870 #endif
24872 #undef $ac_func
24874 /* Override any gcc2 internal prototype to avoid an error. */
24875 #ifdef __cplusplus
24876 extern "C"
24878 #endif
24879 /* We use char because int might match the return type of a gcc2
24880 builtin and then its argument prototype would still apply. */
24881 char $ac_func ();
24882 /* The GNU C library defines this for functions which it implements
24883 to always fail with ENOSYS. Some functions are actually named
24884 something starting with __ and the normal name is an alias. */
24885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24886 choke me
24887 #else
24888 char (*f) () = $ac_func;
24889 #endif
24890 #ifdef __cplusplus
24892 #endif
24895 main ()
24897 return f != $ac_func;
24899 return 0;
24901 _ACEOF
24902 rm -f conftest.$ac_objext conftest$ac_exeext
24903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24904 (eval $ac_link) 2>conftest.er1
24905 ac_status=$?
24906 grep -v '^ *+' conftest.er1 >conftest.err
24907 rm -f conftest.er1
24908 cat conftest.err >&5
24909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24910 (exit $ac_status); } &&
24911 { ac_try='test -z "$ac_c_werror_flag"
24912 || test ! -s conftest.err'
24913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24914 (eval $ac_try) 2>&5
24915 ac_status=$?
24916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24917 (exit $ac_status); }; } &&
24918 { ac_try='test -s conftest$ac_exeext'
24919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24920 (eval $ac_try) 2>&5
24921 ac_status=$?
24922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24923 (exit $ac_status); }; }; then
24924 eval "$as_ac_var=yes"
24925 else
24926 echo "$as_me: failed program was:" >&5
24927 sed 's/^/| /' conftest.$ac_ext >&5
24929 eval "$as_ac_var=no"
24931 rm -f conftest.err conftest.$ac_objext \
24932 conftest$ac_exeext conftest.$ac_ext
24934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24936 if test `eval echo '${'$as_ac_var'}'` = yes; then
24937 cat >>confdefs.h <<_ACEOF
24938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24939 _ACEOF
24942 done
24952 echo "$as_me:$LINENO: checking for sincos declaration" >&5
24953 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
24954 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
24955 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
24956 echo $ECHO_N "(cached) $ECHO_C" >&6
24957 else
24961 ac_ext=cc
24962 ac_cpp='$CXXCPP $CPPFLAGS'
24963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24967 cat >conftest.$ac_ext <<_ACEOF
24968 /* confdefs.h. */
24969 _ACEOF
24970 cat confdefs.h >>conftest.$ac_ext
24971 cat >>conftest.$ac_ext <<_ACEOF
24972 /* end confdefs.h. */
24973 #include <math.h>
24975 main ()
24977 sincos(0, 0, 0);
24979 return 0;
24981 _ACEOF
24982 rm -f conftest.$ac_objext
24983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24984 (eval $ac_compile) 2>conftest.er1
24985 ac_status=$?
24986 grep -v '^ *+' conftest.er1 >conftest.err
24987 rm -f conftest.er1
24988 cat conftest.err >&5
24989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24990 (exit $ac_status); } &&
24991 { ac_try='test -z "$ac_cxx_werror_flag"
24992 || test ! -s conftest.err'
24993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24994 (eval $ac_try) 2>&5
24995 ac_status=$?
24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997 (exit $ac_status); }; } &&
24998 { ac_try='test -s conftest.$ac_objext'
24999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25000 (eval $ac_try) 2>&5
25001 ac_status=$?
25002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003 (exit $ac_status); }; }; then
25004 glibcxx_cv_func_sincos_use=yes
25005 else
25006 echo "$as_me: failed program was:" >&5
25007 sed 's/^/| /' conftest.$ac_ext >&5
25009 glibcxx_cv_func_sincos_use=no
25011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25012 ac_ext=c
25013 ac_cpp='$CPP $CPPFLAGS'
25014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25022 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
25023 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
25025 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
25027 for ac_func in sincos
25029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25030 echo "$as_me:$LINENO: checking for $ac_func" >&5
25031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25032 if eval "test \"\${$as_ac_var+set}\" = set"; then
25033 echo $ECHO_N "(cached) $ECHO_C" >&6
25034 else
25035 if test x$gcc_no_link = xyes; then
25036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25038 { (exit 1); exit 1; }; }
25040 cat >conftest.$ac_ext <<_ACEOF
25041 /* confdefs.h. */
25042 _ACEOF
25043 cat confdefs.h >>conftest.$ac_ext
25044 cat >>conftest.$ac_ext <<_ACEOF
25045 /* end confdefs.h. */
25046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25048 #define $ac_func innocuous_$ac_func
25050 /* System header to define __stub macros and hopefully few prototypes,
25051 which can conflict with char $ac_func (); below.
25052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25053 <limits.h> exists even on freestanding compilers. */
25055 #ifdef __STDC__
25056 # include <limits.h>
25057 #else
25058 # include <assert.h>
25059 #endif
25061 #undef $ac_func
25063 /* Override any gcc2 internal prototype to avoid an error. */
25064 #ifdef __cplusplus
25065 extern "C"
25067 #endif
25068 /* We use char because int might match the return type of a gcc2
25069 builtin and then its argument prototype would still apply. */
25070 char $ac_func ();
25071 /* The GNU C library defines this for functions which it implements
25072 to always fail with ENOSYS. Some functions are actually named
25073 something starting with __ and the normal name is an alias. */
25074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25075 choke me
25076 #else
25077 char (*f) () = $ac_func;
25078 #endif
25079 #ifdef __cplusplus
25081 #endif
25084 main ()
25086 return f != $ac_func;
25088 return 0;
25090 _ACEOF
25091 rm -f conftest.$ac_objext conftest$ac_exeext
25092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25093 (eval $ac_link) 2>conftest.er1
25094 ac_status=$?
25095 grep -v '^ *+' conftest.er1 >conftest.err
25096 rm -f conftest.er1
25097 cat conftest.err >&5
25098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099 (exit $ac_status); } &&
25100 { ac_try='test -z "$ac_c_werror_flag"
25101 || test ! -s conftest.err'
25102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25103 (eval $ac_try) 2>&5
25104 ac_status=$?
25105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25106 (exit $ac_status); }; } &&
25107 { ac_try='test -s conftest$ac_exeext'
25108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25109 (eval $ac_try) 2>&5
25110 ac_status=$?
25111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25112 (exit $ac_status); }; }; then
25113 eval "$as_ac_var=yes"
25114 else
25115 echo "$as_me: failed program was:" >&5
25116 sed 's/^/| /' conftest.$ac_ext >&5
25118 eval "$as_ac_var=no"
25120 rm -f conftest.err conftest.$ac_objext \
25121 conftest$ac_exeext conftest.$ac_ext
25123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25125 if test `eval echo '${'$as_ac_var'}'` = yes; then
25126 cat >>confdefs.h <<_ACEOF
25127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25128 _ACEOF
25131 done
25133 else
25135 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
25136 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
25137 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
25138 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
25139 echo $ECHO_N "(cached) $ECHO_C" >&6
25140 else
25144 ac_ext=cc
25145 ac_cpp='$CXXCPP $CPPFLAGS'
25146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25150 cat >conftest.$ac_ext <<_ACEOF
25151 /* confdefs.h. */
25152 _ACEOF
25153 cat confdefs.h >>conftest.$ac_ext
25154 cat >>conftest.$ac_ext <<_ACEOF
25155 /* end confdefs.h. */
25156 #include <math.h>
25158 main ()
25160 _sincos(0, 0, 0);
25162 return 0;
25164 _ACEOF
25165 rm -f conftest.$ac_objext
25166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25167 (eval $ac_compile) 2>conftest.er1
25168 ac_status=$?
25169 grep -v '^ *+' conftest.er1 >conftest.err
25170 rm -f conftest.er1
25171 cat conftest.err >&5
25172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25173 (exit $ac_status); } &&
25174 { ac_try='test -z "$ac_cxx_werror_flag"
25175 || test ! -s conftest.err'
25176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25177 (eval $ac_try) 2>&5
25178 ac_status=$?
25179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180 (exit $ac_status); }; } &&
25181 { ac_try='test -s conftest.$ac_objext'
25182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25183 (eval $ac_try) 2>&5
25184 ac_status=$?
25185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25186 (exit $ac_status); }; }; then
25187 glibcxx_cv_func__sincos_use=yes
25188 else
25189 echo "$as_me: failed program was:" >&5
25190 sed 's/^/| /' conftest.$ac_ext >&5
25192 glibcxx_cv_func__sincos_use=no
25194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25195 ac_ext=c
25196 ac_cpp='$CPP $CPPFLAGS'
25197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25205 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
25206 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
25208 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
25210 for ac_func in _sincos
25212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25213 echo "$as_me:$LINENO: checking for $ac_func" >&5
25214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25215 if eval "test \"\${$as_ac_var+set}\" = set"; then
25216 echo $ECHO_N "(cached) $ECHO_C" >&6
25217 else
25218 if test x$gcc_no_link = xyes; then
25219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25221 { (exit 1); exit 1; }; }
25223 cat >conftest.$ac_ext <<_ACEOF
25224 /* confdefs.h. */
25225 _ACEOF
25226 cat confdefs.h >>conftest.$ac_ext
25227 cat >>conftest.$ac_ext <<_ACEOF
25228 /* end confdefs.h. */
25229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25231 #define $ac_func innocuous_$ac_func
25233 /* System header to define __stub macros and hopefully few prototypes,
25234 which can conflict with char $ac_func (); below.
25235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25236 <limits.h> exists even on freestanding compilers. */
25238 #ifdef __STDC__
25239 # include <limits.h>
25240 #else
25241 # include <assert.h>
25242 #endif
25244 #undef $ac_func
25246 /* Override any gcc2 internal prototype to avoid an error. */
25247 #ifdef __cplusplus
25248 extern "C"
25250 #endif
25251 /* We use char because int might match the return type of a gcc2
25252 builtin and then its argument prototype would still apply. */
25253 char $ac_func ();
25254 /* The GNU C library defines this for functions which it implements
25255 to always fail with ENOSYS. Some functions are actually named
25256 something starting with __ and the normal name is an alias. */
25257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25258 choke me
25259 #else
25260 char (*f) () = $ac_func;
25261 #endif
25262 #ifdef __cplusplus
25264 #endif
25267 main ()
25269 return f != $ac_func;
25271 return 0;
25273 _ACEOF
25274 rm -f conftest.$ac_objext conftest$ac_exeext
25275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25276 (eval $ac_link) 2>conftest.er1
25277 ac_status=$?
25278 grep -v '^ *+' conftest.er1 >conftest.err
25279 rm -f conftest.er1
25280 cat conftest.err >&5
25281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25282 (exit $ac_status); } &&
25283 { ac_try='test -z "$ac_c_werror_flag"
25284 || test ! -s conftest.err'
25285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25286 (eval $ac_try) 2>&5
25287 ac_status=$?
25288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25289 (exit $ac_status); }; } &&
25290 { ac_try='test -s conftest$ac_exeext'
25291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25292 (eval $ac_try) 2>&5
25293 ac_status=$?
25294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25295 (exit $ac_status); }; }; then
25296 eval "$as_ac_var=yes"
25297 else
25298 echo "$as_me: failed program was:" >&5
25299 sed 's/^/| /' conftest.$ac_ext >&5
25301 eval "$as_ac_var=no"
25303 rm -f conftest.err conftest.$ac_objext \
25304 conftest$ac_exeext conftest.$ac_ext
25306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25308 if test `eval echo '${'$as_ac_var'}'` = yes; then
25309 cat >>confdefs.h <<_ACEOF
25310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25311 _ACEOF
25314 done
25324 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
25325 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
25326 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
25327 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
25328 echo $ECHO_N "(cached) $ECHO_C" >&6
25329 else
25333 ac_ext=cc
25334 ac_cpp='$CXXCPP $CPPFLAGS'
25335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25339 cat >conftest.$ac_ext <<_ACEOF
25340 /* confdefs.h. */
25341 _ACEOF
25342 cat confdefs.h >>conftest.$ac_ext
25343 cat >>conftest.$ac_ext <<_ACEOF
25344 /* end confdefs.h. */
25345 #include <math.h>
25346 #ifdef HAVE_IEEEFP_H
25347 #include <ieeefp.h>
25348 #endif
25351 main ()
25353 fpclass(0);
25355 return 0;
25357 _ACEOF
25358 rm -f conftest.$ac_objext
25359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25360 (eval $ac_compile) 2>conftest.er1
25361 ac_status=$?
25362 grep -v '^ *+' conftest.er1 >conftest.err
25363 rm -f conftest.er1
25364 cat conftest.err >&5
25365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25366 (exit $ac_status); } &&
25367 { ac_try='test -z "$ac_cxx_werror_flag"
25368 || test ! -s conftest.err'
25369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25370 (eval $ac_try) 2>&5
25371 ac_status=$?
25372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25373 (exit $ac_status); }; } &&
25374 { ac_try='test -s conftest.$ac_objext'
25375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25376 (eval $ac_try) 2>&5
25377 ac_status=$?
25378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25379 (exit $ac_status); }; }; then
25380 glibcxx_cv_func_fpclass_use=yes
25381 else
25382 echo "$as_me: failed program was:" >&5
25383 sed 's/^/| /' conftest.$ac_ext >&5
25385 glibcxx_cv_func_fpclass_use=no
25387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25388 ac_ext=c
25389 ac_cpp='$CPP $CPPFLAGS'
25390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25398 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
25399 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
25401 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
25403 for ac_func in fpclass
25405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25406 echo "$as_me:$LINENO: checking for $ac_func" >&5
25407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25408 if eval "test \"\${$as_ac_var+set}\" = set"; then
25409 echo $ECHO_N "(cached) $ECHO_C" >&6
25410 else
25411 if test x$gcc_no_link = xyes; then
25412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25414 { (exit 1); exit 1; }; }
25416 cat >conftest.$ac_ext <<_ACEOF
25417 /* confdefs.h. */
25418 _ACEOF
25419 cat confdefs.h >>conftest.$ac_ext
25420 cat >>conftest.$ac_ext <<_ACEOF
25421 /* end confdefs.h. */
25422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25424 #define $ac_func innocuous_$ac_func
25426 /* System header to define __stub macros and hopefully few prototypes,
25427 which can conflict with char $ac_func (); below.
25428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25429 <limits.h> exists even on freestanding compilers. */
25431 #ifdef __STDC__
25432 # include <limits.h>
25433 #else
25434 # include <assert.h>
25435 #endif
25437 #undef $ac_func
25439 /* Override any gcc2 internal prototype to avoid an error. */
25440 #ifdef __cplusplus
25441 extern "C"
25443 #endif
25444 /* We use char because int might match the return type of a gcc2
25445 builtin and then its argument prototype would still apply. */
25446 char $ac_func ();
25447 /* The GNU C library defines this for functions which it implements
25448 to always fail with ENOSYS. Some functions are actually named
25449 something starting with __ and the normal name is an alias. */
25450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25451 choke me
25452 #else
25453 char (*f) () = $ac_func;
25454 #endif
25455 #ifdef __cplusplus
25457 #endif
25460 main ()
25462 return f != $ac_func;
25464 return 0;
25466 _ACEOF
25467 rm -f conftest.$ac_objext conftest$ac_exeext
25468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25469 (eval $ac_link) 2>conftest.er1
25470 ac_status=$?
25471 grep -v '^ *+' conftest.er1 >conftest.err
25472 rm -f conftest.er1
25473 cat conftest.err >&5
25474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25475 (exit $ac_status); } &&
25476 { ac_try='test -z "$ac_c_werror_flag"
25477 || test ! -s conftest.err'
25478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25479 (eval $ac_try) 2>&5
25480 ac_status=$?
25481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25482 (exit $ac_status); }; } &&
25483 { ac_try='test -s conftest$ac_exeext'
25484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25485 (eval $ac_try) 2>&5
25486 ac_status=$?
25487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25488 (exit $ac_status); }; }; then
25489 eval "$as_ac_var=yes"
25490 else
25491 echo "$as_me: failed program was:" >&5
25492 sed 's/^/| /' conftest.$ac_ext >&5
25494 eval "$as_ac_var=no"
25496 rm -f conftest.err conftest.$ac_objext \
25497 conftest$ac_exeext conftest.$ac_ext
25499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25501 if test `eval echo '${'$as_ac_var'}'` = yes; then
25502 cat >>confdefs.h <<_ACEOF
25503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25504 _ACEOF
25507 done
25509 else
25511 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
25512 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
25513 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
25514 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
25515 echo $ECHO_N "(cached) $ECHO_C" >&6
25516 else
25520 ac_ext=cc
25521 ac_cpp='$CXXCPP $CPPFLAGS'
25522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25526 cat >conftest.$ac_ext <<_ACEOF
25527 /* confdefs.h. */
25528 _ACEOF
25529 cat confdefs.h >>conftest.$ac_ext
25530 cat >>conftest.$ac_ext <<_ACEOF
25531 /* end confdefs.h. */
25532 #include <math.h>
25533 #ifdef HAVE_IEEEFP_H
25534 #include <ieeefp.h>
25535 #endif
25538 main ()
25540 _fpclass(0);
25542 return 0;
25544 _ACEOF
25545 rm -f conftest.$ac_objext
25546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25547 (eval $ac_compile) 2>conftest.er1
25548 ac_status=$?
25549 grep -v '^ *+' conftest.er1 >conftest.err
25550 rm -f conftest.er1
25551 cat conftest.err >&5
25552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25553 (exit $ac_status); } &&
25554 { ac_try='test -z "$ac_cxx_werror_flag"
25555 || test ! -s conftest.err'
25556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25557 (eval $ac_try) 2>&5
25558 ac_status=$?
25559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25560 (exit $ac_status); }; } &&
25561 { ac_try='test -s conftest.$ac_objext'
25562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25563 (eval $ac_try) 2>&5
25564 ac_status=$?
25565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25566 (exit $ac_status); }; }; then
25567 glibcxx_cv_func__fpclass_use=yes
25568 else
25569 echo "$as_me: failed program was:" >&5
25570 sed 's/^/| /' conftest.$ac_ext >&5
25572 glibcxx_cv_func__fpclass_use=no
25574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25575 ac_ext=c
25576 ac_cpp='$CPP $CPPFLAGS'
25577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25585 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
25586 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
25588 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
25590 for ac_func in _fpclass
25592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25593 echo "$as_me:$LINENO: checking for $ac_func" >&5
25594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25595 if eval "test \"\${$as_ac_var+set}\" = set"; then
25596 echo $ECHO_N "(cached) $ECHO_C" >&6
25597 else
25598 if test x$gcc_no_link = xyes; then
25599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25601 { (exit 1); exit 1; }; }
25603 cat >conftest.$ac_ext <<_ACEOF
25604 /* confdefs.h. */
25605 _ACEOF
25606 cat confdefs.h >>conftest.$ac_ext
25607 cat >>conftest.$ac_ext <<_ACEOF
25608 /* end confdefs.h. */
25609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25611 #define $ac_func innocuous_$ac_func
25613 /* System header to define __stub macros and hopefully few prototypes,
25614 which can conflict with char $ac_func (); below.
25615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25616 <limits.h> exists even on freestanding compilers. */
25618 #ifdef __STDC__
25619 # include <limits.h>
25620 #else
25621 # include <assert.h>
25622 #endif
25624 #undef $ac_func
25626 /* Override any gcc2 internal prototype to avoid an error. */
25627 #ifdef __cplusplus
25628 extern "C"
25630 #endif
25631 /* We use char because int might match the return type of a gcc2
25632 builtin and then its argument prototype would still apply. */
25633 char $ac_func ();
25634 /* The GNU C library defines this for functions which it implements
25635 to always fail with ENOSYS. Some functions are actually named
25636 something starting with __ and the normal name is an alias. */
25637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25638 choke me
25639 #else
25640 char (*f) () = $ac_func;
25641 #endif
25642 #ifdef __cplusplus
25644 #endif
25647 main ()
25649 return f != $ac_func;
25651 return 0;
25653 _ACEOF
25654 rm -f conftest.$ac_objext conftest$ac_exeext
25655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25656 (eval $ac_link) 2>conftest.er1
25657 ac_status=$?
25658 grep -v '^ *+' conftest.er1 >conftest.err
25659 rm -f conftest.er1
25660 cat conftest.err >&5
25661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25662 (exit $ac_status); } &&
25663 { ac_try='test -z "$ac_c_werror_flag"
25664 || test ! -s conftest.err'
25665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25666 (eval $ac_try) 2>&5
25667 ac_status=$?
25668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25669 (exit $ac_status); }; } &&
25670 { ac_try='test -s conftest$ac_exeext'
25671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25672 (eval $ac_try) 2>&5
25673 ac_status=$?
25674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25675 (exit $ac_status); }; }; then
25676 eval "$as_ac_var=yes"
25677 else
25678 echo "$as_me: failed program was:" >&5
25679 sed 's/^/| /' conftest.$ac_ext >&5
25681 eval "$as_ac_var=no"
25683 rm -f conftest.err conftest.$ac_objext \
25684 conftest$ac_exeext conftest.$ac_ext
25686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25688 if test `eval echo '${'$as_ac_var'}'` = yes; then
25689 cat >>confdefs.h <<_ACEOF
25690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25691 _ACEOF
25694 done
25704 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
25705 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
25706 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
25707 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
25708 echo $ECHO_N "(cached) $ECHO_C" >&6
25709 else
25713 ac_ext=cc
25714 ac_cpp='$CXXCPP $CPPFLAGS'
25715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25719 cat >conftest.$ac_ext <<_ACEOF
25720 /* confdefs.h. */
25721 _ACEOF
25722 cat confdefs.h >>conftest.$ac_ext
25723 cat >>conftest.$ac_ext <<_ACEOF
25724 /* end confdefs.h. */
25725 #include <math.h>
25726 #ifdef HAVE_IEEEFP_H
25727 #include <ieeefp.h>
25728 #endif
25731 main ()
25733 qfpclass(0);
25735 return 0;
25737 _ACEOF
25738 rm -f conftest.$ac_objext
25739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25740 (eval $ac_compile) 2>conftest.er1
25741 ac_status=$?
25742 grep -v '^ *+' conftest.er1 >conftest.err
25743 rm -f conftest.er1
25744 cat conftest.err >&5
25745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25746 (exit $ac_status); } &&
25747 { ac_try='test -z "$ac_cxx_werror_flag"
25748 || test ! -s conftest.err'
25749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25750 (eval $ac_try) 2>&5
25751 ac_status=$?
25752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25753 (exit $ac_status); }; } &&
25754 { ac_try='test -s conftest.$ac_objext'
25755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25756 (eval $ac_try) 2>&5
25757 ac_status=$?
25758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759 (exit $ac_status); }; }; then
25760 glibcxx_cv_func_qfpclass_use=yes
25761 else
25762 echo "$as_me: failed program was:" >&5
25763 sed 's/^/| /' conftest.$ac_ext >&5
25765 glibcxx_cv_func_qfpclass_use=no
25767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25768 ac_ext=c
25769 ac_cpp='$CPP $CPPFLAGS'
25770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25778 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
25779 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
25781 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
25783 for ac_func in qfpclass
25785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25786 echo "$as_me:$LINENO: checking for $ac_func" >&5
25787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25788 if eval "test \"\${$as_ac_var+set}\" = set"; then
25789 echo $ECHO_N "(cached) $ECHO_C" >&6
25790 else
25791 if test x$gcc_no_link = xyes; then
25792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25794 { (exit 1); exit 1; }; }
25796 cat >conftest.$ac_ext <<_ACEOF
25797 /* confdefs.h. */
25798 _ACEOF
25799 cat confdefs.h >>conftest.$ac_ext
25800 cat >>conftest.$ac_ext <<_ACEOF
25801 /* end confdefs.h. */
25802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25804 #define $ac_func innocuous_$ac_func
25806 /* System header to define __stub macros and hopefully few prototypes,
25807 which can conflict with char $ac_func (); below.
25808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25809 <limits.h> exists even on freestanding compilers. */
25811 #ifdef __STDC__
25812 # include <limits.h>
25813 #else
25814 # include <assert.h>
25815 #endif
25817 #undef $ac_func
25819 /* Override any gcc2 internal prototype to avoid an error. */
25820 #ifdef __cplusplus
25821 extern "C"
25823 #endif
25824 /* We use char because int might match the return type of a gcc2
25825 builtin and then its argument prototype would still apply. */
25826 char $ac_func ();
25827 /* The GNU C library defines this for functions which it implements
25828 to always fail with ENOSYS. Some functions are actually named
25829 something starting with __ and the normal name is an alias. */
25830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25831 choke me
25832 #else
25833 char (*f) () = $ac_func;
25834 #endif
25835 #ifdef __cplusplus
25837 #endif
25840 main ()
25842 return f != $ac_func;
25844 return 0;
25846 _ACEOF
25847 rm -f conftest.$ac_objext conftest$ac_exeext
25848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25849 (eval $ac_link) 2>conftest.er1
25850 ac_status=$?
25851 grep -v '^ *+' conftest.er1 >conftest.err
25852 rm -f conftest.er1
25853 cat conftest.err >&5
25854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25855 (exit $ac_status); } &&
25856 { ac_try='test -z "$ac_c_werror_flag"
25857 || test ! -s conftest.err'
25858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25859 (eval $ac_try) 2>&5
25860 ac_status=$?
25861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862 (exit $ac_status); }; } &&
25863 { ac_try='test -s conftest$ac_exeext'
25864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25865 (eval $ac_try) 2>&5
25866 ac_status=$?
25867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25868 (exit $ac_status); }; }; then
25869 eval "$as_ac_var=yes"
25870 else
25871 echo "$as_me: failed program was:" >&5
25872 sed 's/^/| /' conftest.$ac_ext >&5
25874 eval "$as_ac_var=no"
25876 rm -f conftest.err conftest.$ac_objext \
25877 conftest$ac_exeext conftest.$ac_ext
25879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25881 if test `eval echo '${'$as_ac_var'}'` = yes; then
25882 cat >>confdefs.h <<_ACEOF
25883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25884 _ACEOF
25887 done
25889 else
25891 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
25892 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
25893 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
25894 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
25895 echo $ECHO_N "(cached) $ECHO_C" >&6
25896 else
25900 ac_ext=cc
25901 ac_cpp='$CXXCPP $CPPFLAGS'
25902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25906 cat >conftest.$ac_ext <<_ACEOF
25907 /* confdefs.h. */
25908 _ACEOF
25909 cat confdefs.h >>conftest.$ac_ext
25910 cat >>conftest.$ac_ext <<_ACEOF
25911 /* end confdefs.h. */
25912 #include <math.h>
25913 #ifdef HAVE_IEEEFP_H
25914 #include <ieeefp.h>
25915 #endif
25918 main ()
25920 _qfpclass(0);
25922 return 0;
25924 _ACEOF
25925 rm -f conftest.$ac_objext
25926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25927 (eval $ac_compile) 2>conftest.er1
25928 ac_status=$?
25929 grep -v '^ *+' conftest.er1 >conftest.err
25930 rm -f conftest.er1
25931 cat conftest.err >&5
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); } &&
25934 { ac_try='test -z "$ac_cxx_werror_flag"
25935 || test ! -s conftest.err'
25936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25937 (eval $ac_try) 2>&5
25938 ac_status=$?
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); }; } &&
25941 { ac_try='test -s conftest.$ac_objext'
25942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25943 (eval $ac_try) 2>&5
25944 ac_status=$?
25945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946 (exit $ac_status); }; }; then
25947 glibcxx_cv_func__qfpclass_use=yes
25948 else
25949 echo "$as_me: failed program was:" >&5
25950 sed 's/^/| /' conftest.$ac_ext >&5
25952 glibcxx_cv_func__qfpclass_use=no
25954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25955 ac_ext=c
25956 ac_cpp='$CPP $CPPFLAGS'
25957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25965 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
25966 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
25968 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
25970 for ac_func in _qfpclass
25972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25973 echo "$as_me:$LINENO: checking for $ac_func" >&5
25974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25975 if eval "test \"\${$as_ac_var+set}\" = set"; then
25976 echo $ECHO_N "(cached) $ECHO_C" >&6
25977 else
25978 if test x$gcc_no_link = xyes; then
25979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25981 { (exit 1); exit 1; }; }
25983 cat >conftest.$ac_ext <<_ACEOF
25984 /* confdefs.h. */
25985 _ACEOF
25986 cat confdefs.h >>conftest.$ac_ext
25987 cat >>conftest.$ac_ext <<_ACEOF
25988 /* end confdefs.h. */
25989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25991 #define $ac_func innocuous_$ac_func
25993 /* System header to define __stub macros and hopefully few prototypes,
25994 which can conflict with char $ac_func (); below.
25995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25996 <limits.h> exists even on freestanding compilers. */
25998 #ifdef __STDC__
25999 # include <limits.h>
26000 #else
26001 # include <assert.h>
26002 #endif
26004 #undef $ac_func
26006 /* Override any gcc2 internal prototype to avoid an error. */
26007 #ifdef __cplusplus
26008 extern "C"
26010 #endif
26011 /* We use char because int might match the return type of a gcc2
26012 builtin and then its argument prototype would still apply. */
26013 char $ac_func ();
26014 /* The GNU C library defines this for functions which it implements
26015 to always fail with ENOSYS. Some functions are actually named
26016 something starting with __ and the normal name is an alias. */
26017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26018 choke me
26019 #else
26020 char (*f) () = $ac_func;
26021 #endif
26022 #ifdef __cplusplus
26024 #endif
26027 main ()
26029 return f != $ac_func;
26031 return 0;
26033 _ACEOF
26034 rm -f conftest.$ac_objext conftest$ac_exeext
26035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26036 (eval $ac_link) 2>conftest.er1
26037 ac_status=$?
26038 grep -v '^ *+' conftest.er1 >conftest.err
26039 rm -f conftest.er1
26040 cat conftest.err >&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } &&
26043 { ac_try='test -z "$ac_c_werror_flag"
26044 || test ! -s conftest.err'
26045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26046 (eval $ac_try) 2>&5
26047 ac_status=$?
26048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26049 (exit $ac_status); }; } &&
26050 { ac_try='test -s conftest$ac_exeext'
26051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26052 (eval $ac_try) 2>&5
26053 ac_status=$?
26054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26055 (exit $ac_status); }; }; then
26056 eval "$as_ac_var=yes"
26057 else
26058 echo "$as_me: failed program was:" >&5
26059 sed 's/^/| /' conftest.$ac_ext >&5
26061 eval "$as_ac_var=no"
26063 rm -f conftest.err conftest.$ac_objext \
26064 conftest$ac_exeext conftest.$ac_ext
26066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26068 if test `eval echo '${'$as_ac_var'}'` = yes; then
26069 cat >>confdefs.h <<_ACEOF
26070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26071 _ACEOF
26074 done
26084 echo "$as_me:$LINENO: checking for hypot declaration" >&5
26085 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
26086 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
26087 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
26088 echo $ECHO_N "(cached) $ECHO_C" >&6
26089 else
26093 ac_ext=cc
26094 ac_cpp='$CXXCPP $CPPFLAGS'
26095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26099 cat >conftest.$ac_ext <<_ACEOF
26100 /* confdefs.h. */
26101 _ACEOF
26102 cat confdefs.h >>conftest.$ac_ext
26103 cat >>conftest.$ac_ext <<_ACEOF
26104 /* end confdefs.h. */
26105 #include <math.h>
26107 main ()
26109 hypot(0, 0);
26111 return 0;
26113 _ACEOF
26114 rm -f conftest.$ac_objext
26115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26116 (eval $ac_compile) 2>conftest.er1
26117 ac_status=$?
26118 grep -v '^ *+' conftest.er1 >conftest.err
26119 rm -f conftest.er1
26120 cat conftest.err >&5
26121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26122 (exit $ac_status); } &&
26123 { ac_try='test -z "$ac_cxx_werror_flag"
26124 || test ! -s conftest.err'
26125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26126 (eval $ac_try) 2>&5
26127 ac_status=$?
26128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26129 (exit $ac_status); }; } &&
26130 { ac_try='test -s conftest.$ac_objext'
26131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26132 (eval $ac_try) 2>&5
26133 ac_status=$?
26134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135 (exit $ac_status); }; }; then
26136 glibcxx_cv_func_hypot_use=yes
26137 else
26138 echo "$as_me: failed program was:" >&5
26139 sed 's/^/| /' conftest.$ac_ext >&5
26141 glibcxx_cv_func_hypot_use=no
26143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26144 ac_ext=c
26145 ac_cpp='$CPP $CPPFLAGS'
26146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26154 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
26155 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
26157 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
26159 for ac_func in hypot
26161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26162 echo "$as_me:$LINENO: checking for $ac_func" >&5
26163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26164 if eval "test \"\${$as_ac_var+set}\" = set"; then
26165 echo $ECHO_N "(cached) $ECHO_C" >&6
26166 else
26167 if test x$gcc_no_link = xyes; then
26168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26170 { (exit 1); exit 1; }; }
26172 cat >conftest.$ac_ext <<_ACEOF
26173 /* confdefs.h. */
26174 _ACEOF
26175 cat confdefs.h >>conftest.$ac_ext
26176 cat >>conftest.$ac_ext <<_ACEOF
26177 /* end confdefs.h. */
26178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26180 #define $ac_func innocuous_$ac_func
26182 /* System header to define __stub macros and hopefully few prototypes,
26183 which can conflict with char $ac_func (); below.
26184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26185 <limits.h> exists even on freestanding compilers. */
26187 #ifdef __STDC__
26188 # include <limits.h>
26189 #else
26190 # include <assert.h>
26191 #endif
26193 #undef $ac_func
26195 /* Override any gcc2 internal prototype to avoid an error. */
26196 #ifdef __cplusplus
26197 extern "C"
26199 #endif
26200 /* We use char because int might match the return type of a gcc2
26201 builtin and then its argument prototype would still apply. */
26202 char $ac_func ();
26203 /* The GNU C library defines this for functions which it implements
26204 to always fail with ENOSYS. Some functions are actually named
26205 something starting with __ and the normal name is an alias. */
26206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26207 choke me
26208 #else
26209 char (*f) () = $ac_func;
26210 #endif
26211 #ifdef __cplusplus
26213 #endif
26216 main ()
26218 return f != $ac_func;
26220 return 0;
26222 _ACEOF
26223 rm -f conftest.$ac_objext conftest$ac_exeext
26224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26225 (eval $ac_link) 2>conftest.er1
26226 ac_status=$?
26227 grep -v '^ *+' conftest.er1 >conftest.err
26228 rm -f conftest.er1
26229 cat conftest.err >&5
26230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26231 (exit $ac_status); } &&
26232 { ac_try='test -z "$ac_c_werror_flag"
26233 || test ! -s conftest.err'
26234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26235 (eval $ac_try) 2>&5
26236 ac_status=$?
26237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26238 (exit $ac_status); }; } &&
26239 { ac_try='test -s conftest$ac_exeext'
26240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26241 (eval $ac_try) 2>&5
26242 ac_status=$?
26243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26244 (exit $ac_status); }; }; then
26245 eval "$as_ac_var=yes"
26246 else
26247 echo "$as_me: failed program was:" >&5
26248 sed 's/^/| /' conftest.$ac_ext >&5
26250 eval "$as_ac_var=no"
26252 rm -f conftest.err conftest.$ac_objext \
26253 conftest$ac_exeext conftest.$ac_ext
26255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26257 if test `eval echo '${'$as_ac_var'}'` = yes; then
26258 cat >>confdefs.h <<_ACEOF
26259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26260 _ACEOF
26263 done
26265 else
26267 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
26268 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
26269 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
26270 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
26271 echo $ECHO_N "(cached) $ECHO_C" >&6
26272 else
26276 ac_ext=cc
26277 ac_cpp='$CXXCPP $CPPFLAGS'
26278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26282 cat >conftest.$ac_ext <<_ACEOF
26283 /* confdefs.h. */
26284 _ACEOF
26285 cat confdefs.h >>conftest.$ac_ext
26286 cat >>conftest.$ac_ext <<_ACEOF
26287 /* end confdefs.h. */
26288 #include <math.h>
26290 main ()
26292 _hypot(0, 0);
26294 return 0;
26296 _ACEOF
26297 rm -f conftest.$ac_objext
26298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26299 (eval $ac_compile) 2>conftest.er1
26300 ac_status=$?
26301 grep -v '^ *+' conftest.er1 >conftest.err
26302 rm -f conftest.er1
26303 cat conftest.err >&5
26304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26305 (exit $ac_status); } &&
26306 { ac_try='test -z "$ac_cxx_werror_flag"
26307 || test ! -s conftest.err'
26308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26309 (eval $ac_try) 2>&5
26310 ac_status=$?
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); }; } &&
26313 { ac_try='test -s conftest.$ac_objext'
26314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26315 (eval $ac_try) 2>&5
26316 ac_status=$?
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); }; }; then
26319 glibcxx_cv_func__hypot_use=yes
26320 else
26321 echo "$as_me: failed program was:" >&5
26322 sed 's/^/| /' conftest.$ac_ext >&5
26324 glibcxx_cv_func__hypot_use=no
26326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26327 ac_ext=c
26328 ac_cpp='$CPP $CPPFLAGS'
26329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26337 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
26338 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
26340 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
26342 for ac_func in _hypot
26344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26345 echo "$as_me:$LINENO: checking for $ac_func" >&5
26346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26347 if eval "test \"\${$as_ac_var+set}\" = set"; then
26348 echo $ECHO_N "(cached) $ECHO_C" >&6
26349 else
26350 if test x$gcc_no_link = xyes; then
26351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26353 { (exit 1); exit 1; }; }
26355 cat >conftest.$ac_ext <<_ACEOF
26356 /* confdefs.h. */
26357 _ACEOF
26358 cat confdefs.h >>conftest.$ac_ext
26359 cat >>conftest.$ac_ext <<_ACEOF
26360 /* end confdefs.h. */
26361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26363 #define $ac_func innocuous_$ac_func
26365 /* System header to define __stub macros and hopefully few prototypes,
26366 which can conflict with char $ac_func (); below.
26367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26368 <limits.h> exists even on freestanding compilers. */
26370 #ifdef __STDC__
26371 # include <limits.h>
26372 #else
26373 # include <assert.h>
26374 #endif
26376 #undef $ac_func
26378 /* Override any gcc2 internal prototype to avoid an error. */
26379 #ifdef __cplusplus
26380 extern "C"
26382 #endif
26383 /* We use char because int might match the return type of a gcc2
26384 builtin and then its argument prototype would still apply. */
26385 char $ac_func ();
26386 /* The GNU C library defines this for functions which it implements
26387 to always fail with ENOSYS. Some functions are actually named
26388 something starting with __ and the normal name is an alias. */
26389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26390 choke me
26391 #else
26392 char (*f) () = $ac_func;
26393 #endif
26394 #ifdef __cplusplus
26396 #endif
26399 main ()
26401 return f != $ac_func;
26403 return 0;
26405 _ACEOF
26406 rm -f conftest.$ac_objext conftest$ac_exeext
26407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26408 (eval $ac_link) 2>conftest.er1
26409 ac_status=$?
26410 grep -v '^ *+' conftest.er1 >conftest.err
26411 rm -f conftest.er1
26412 cat conftest.err >&5
26413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26414 (exit $ac_status); } &&
26415 { ac_try='test -z "$ac_c_werror_flag"
26416 || test ! -s conftest.err'
26417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26418 (eval $ac_try) 2>&5
26419 ac_status=$?
26420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26421 (exit $ac_status); }; } &&
26422 { ac_try='test -s conftest$ac_exeext'
26423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26424 (eval $ac_try) 2>&5
26425 ac_status=$?
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); }; }; then
26428 eval "$as_ac_var=yes"
26429 else
26430 echo "$as_me: failed program was:" >&5
26431 sed 's/^/| /' conftest.$ac_ext >&5
26433 eval "$as_ac_var=no"
26435 rm -f conftest.err conftest.$ac_objext \
26436 conftest$ac_exeext conftest.$ac_ext
26438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26440 if test `eval echo '${'$as_ac_var'}'` = yes; then
26441 cat >>confdefs.h <<_ACEOF
26442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26443 _ACEOF
26446 done
26456 echo "$as_me:$LINENO: checking for float trig functions" >&5
26457 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
26458 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
26459 echo $ECHO_N "(cached) $ECHO_C" >&6
26460 else
26464 ac_ext=cc
26465 ac_cpp='$CXXCPP $CPPFLAGS'
26466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26470 cat >conftest.$ac_ext <<_ACEOF
26471 /* confdefs.h. */
26472 _ACEOF
26473 cat confdefs.h >>conftest.$ac_ext
26474 cat >>conftest.$ac_ext <<_ACEOF
26475 /* end confdefs.h. */
26476 #include <math.h>
26478 main ()
26480 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
26482 return 0;
26484 _ACEOF
26485 rm -f conftest.$ac_objext
26486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26487 (eval $ac_compile) 2>conftest.er1
26488 ac_status=$?
26489 grep -v '^ *+' conftest.er1 >conftest.err
26490 rm -f conftest.er1
26491 cat conftest.err >&5
26492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26493 (exit $ac_status); } &&
26494 { ac_try='test -z "$ac_cxx_werror_flag"
26495 || test ! -s conftest.err'
26496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26497 (eval $ac_try) 2>&5
26498 ac_status=$?
26499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26500 (exit $ac_status); }; } &&
26501 { ac_try='test -s conftest.$ac_objext'
26502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26503 (eval $ac_try) 2>&5
26504 ac_status=$?
26505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26506 (exit $ac_status); }; }; then
26507 glibcxx_cv_func_float_trig_use=yes
26508 else
26509 echo "$as_me: failed program was:" >&5
26510 sed 's/^/| /' conftest.$ac_ext >&5
26512 glibcxx_cv_func_float_trig_use=no
26514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26515 ac_ext=c
26516 ac_cpp='$CPP $CPPFLAGS'
26517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26523 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
26524 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
26525 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
26535 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
26537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26538 echo "$as_me:$LINENO: checking for $ac_func" >&5
26539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26540 if eval "test \"\${$as_ac_var+set}\" = set"; then
26541 echo $ECHO_N "(cached) $ECHO_C" >&6
26542 else
26543 if test x$gcc_no_link = xyes; then
26544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26546 { (exit 1); exit 1; }; }
26548 cat >conftest.$ac_ext <<_ACEOF
26549 /* confdefs.h. */
26550 _ACEOF
26551 cat confdefs.h >>conftest.$ac_ext
26552 cat >>conftest.$ac_ext <<_ACEOF
26553 /* end confdefs.h. */
26554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26556 #define $ac_func innocuous_$ac_func
26558 /* System header to define __stub macros and hopefully few prototypes,
26559 which can conflict with char $ac_func (); below.
26560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26561 <limits.h> exists even on freestanding compilers. */
26563 #ifdef __STDC__
26564 # include <limits.h>
26565 #else
26566 # include <assert.h>
26567 #endif
26569 #undef $ac_func
26571 /* Override any gcc2 internal prototype to avoid an error. */
26572 #ifdef __cplusplus
26573 extern "C"
26575 #endif
26576 /* We use char because int might match the return type of a gcc2
26577 builtin and then its argument prototype would still apply. */
26578 char $ac_func ();
26579 /* The GNU C library defines this for functions which it implements
26580 to always fail with ENOSYS. Some functions are actually named
26581 something starting with __ and the normal name is an alias. */
26582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26583 choke me
26584 #else
26585 char (*f) () = $ac_func;
26586 #endif
26587 #ifdef __cplusplus
26589 #endif
26592 main ()
26594 return f != $ac_func;
26596 return 0;
26598 _ACEOF
26599 rm -f conftest.$ac_objext conftest$ac_exeext
26600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26601 (eval $ac_link) 2>conftest.er1
26602 ac_status=$?
26603 grep -v '^ *+' conftest.er1 >conftest.err
26604 rm -f conftest.er1
26605 cat conftest.err >&5
26606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26607 (exit $ac_status); } &&
26608 { ac_try='test -z "$ac_c_werror_flag"
26609 || test ! -s conftest.err'
26610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26611 (eval $ac_try) 2>&5
26612 ac_status=$?
26613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26614 (exit $ac_status); }; } &&
26615 { ac_try='test -s conftest$ac_exeext'
26616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26617 (eval $ac_try) 2>&5
26618 ac_status=$?
26619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26620 (exit $ac_status); }; }; then
26621 eval "$as_ac_var=yes"
26622 else
26623 echo "$as_me: failed program was:" >&5
26624 sed 's/^/| /' conftest.$ac_ext >&5
26626 eval "$as_ac_var=no"
26628 rm -f conftest.err conftest.$ac_objext \
26629 conftest$ac_exeext conftest.$ac_ext
26631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26633 if test `eval echo '${'$as_ac_var'}'` = yes; then
26634 cat >>confdefs.h <<_ACEOF
26635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26636 _ACEOF
26639 done
26641 else
26642 echo "$as_me:$LINENO: checking for _float trig functions" >&5
26643 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
26644 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
26645 echo $ECHO_N "(cached) $ECHO_C" >&6
26646 else
26650 ac_ext=cc
26651 ac_cpp='$CXXCPP $CPPFLAGS'
26652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26656 cat >conftest.$ac_ext <<_ACEOF
26657 /* confdefs.h. */
26658 _ACEOF
26659 cat confdefs.h >>conftest.$ac_ext
26660 cat >>conftest.$ac_ext <<_ACEOF
26661 /* end confdefs.h. */
26662 #include <math.h>
26664 main ()
26666 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
26668 return 0;
26670 _ACEOF
26671 rm -f conftest.$ac_objext
26672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26673 (eval $ac_compile) 2>conftest.er1
26674 ac_status=$?
26675 grep -v '^ *+' conftest.er1 >conftest.err
26676 rm -f conftest.er1
26677 cat conftest.err >&5
26678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26679 (exit $ac_status); } &&
26680 { ac_try='test -z "$ac_cxx_werror_flag"
26681 || test ! -s conftest.err'
26682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26683 (eval $ac_try) 2>&5
26684 ac_status=$?
26685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686 (exit $ac_status); }; } &&
26687 { ac_try='test -s conftest.$ac_objext'
26688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26689 (eval $ac_try) 2>&5
26690 ac_status=$?
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); }; }; then
26693 glibcxx_cv_func__float_trig_use=yes
26694 else
26695 echo "$as_me: failed program was:" >&5
26696 sed 's/^/| /' conftest.$ac_ext >&5
26698 glibcxx_cv_func__float_trig_use=no
26700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26701 ac_ext=c
26702 ac_cpp='$CPP $CPPFLAGS'
26703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26709 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
26710 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
26711 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
26721 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
26723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26724 echo "$as_me:$LINENO: checking for $ac_func" >&5
26725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26726 if eval "test \"\${$as_ac_var+set}\" = set"; then
26727 echo $ECHO_N "(cached) $ECHO_C" >&6
26728 else
26729 if test x$gcc_no_link = xyes; then
26730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26732 { (exit 1); exit 1; }; }
26734 cat >conftest.$ac_ext <<_ACEOF
26735 /* confdefs.h. */
26736 _ACEOF
26737 cat confdefs.h >>conftest.$ac_ext
26738 cat >>conftest.$ac_ext <<_ACEOF
26739 /* end confdefs.h. */
26740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26742 #define $ac_func innocuous_$ac_func
26744 /* System header to define __stub macros and hopefully few prototypes,
26745 which can conflict with char $ac_func (); below.
26746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26747 <limits.h> exists even on freestanding compilers. */
26749 #ifdef __STDC__
26750 # include <limits.h>
26751 #else
26752 # include <assert.h>
26753 #endif
26755 #undef $ac_func
26757 /* Override any gcc2 internal prototype to avoid an error. */
26758 #ifdef __cplusplus
26759 extern "C"
26761 #endif
26762 /* We use char because int might match the return type of a gcc2
26763 builtin and then its argument prototype would still apply. */
26764 char $ac_func ();
26765 /* The GNU C library defines this for functions which it implements
26766 to always fail with ENOSYS. Some functions are actually named
26767 something starting with __ and the normal name is an alias. */
26768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26769 choke me
26770 #else
26771 char (*f) () = $ac_func;
26772 #endif
26773 #ifdef __cplusplus
26775 #endif
26778 main ()
26780 return f != $ac_func;
26782 return 0;
26784 _ACEOF
26785 rm -f conftest.$ac_objext conftest$ac_exeext
26786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26787 (eval $ac_link) 2>conftest.er1
26788 ac_status=$?
26789 grep -v '^ *+' conftest.er1 >conftest.err
26790 rm -f conftest.er1
26791 cat conftest.err >&5
26792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26793 (exit $ac_status); } &&
26794 { ac_try='test -z "$ac_c_werror_flag"
26795 || test ! -s conftest.err'
26796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26797 (eval $ac_try) 2>&5
26798 ac_status=$?
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); }; } &&
26801 { ac_try='test -s conftest$ac_exeext'
26802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26803 (eval $ac_try) 2>&5
26804 ac_status=$?
26805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26806 (exit $ac_status); }; }; then
26807 eval "$as_ac_var=yes"
26808 else
26809 echo "$as_me: failed program was:" >&5
26810 sed 's/^/| /' conftest.$ac_ext >&5
26812 eval "$as_ac_var=no"
26814 rm -f conftest.err conftest.$ac_objext \
26815 conftest$ac_exeext conftest.$ac_ext
26817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26819 if test `eval echo '${'$as_ac_var'}'` = yes; then
26820 cat >>confdefs.h <<_ACEOF
26821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26822 _ACEOF
26825 done
26843 echo "$as_me:$LINENO: checking for float round functions" >&5
26844 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
26845 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
26846 echo $ECHO_N "(cached) $ECHO_C" >&6
26847 else
26851 ac_ext=cc
26852 ac_cpp='$CXXCPP $CPPFLAGS'
26853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26857 cat >conftest.$ac_ext <<_ACEOF
26858 /* confdefs.h. */
26859 _ACEOF
26860 cat confdefs.h >>conftest.$ac_ext
26861 cat >>conftest.$ac_ext <<_ACEOF
26862 /* end confdefs.h. */
26863 #include <math.h>
26865 main ()
26867 ceilf (0); floorf (0);
26869 return 0;
26871 _ACEOF
26872 rm -f conftest.$ac_objext
26873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26874 (eval $ac_compile) 2>conftest.er1
26875 ac_status=$?
26876 grep -v '^ *+' conftest.er1 >conftest.err
26877 rm -f conftest.er1
26878 cat conftest.err >&5
26879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26880 (exit $ac_status); } &&
26881 { ac_try='test -z "$ac_cxx_werror_flag"
26882 || test ! -s conftest.err'
26883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26884 (eval $ac_try) 2>&5
26885 ac_status=$?
26886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26887 (exit $ac_status); }; } &&
26888 { ac_try='test -s conftest.$ac_objext'
26889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26890 (eval $ac_try) 2>&5
26891 ac_status=$?
26892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893 (exit $ac_status); }; }; then
26894 glibcxx_cv_func_float_round_use=yes
26895 else
26896 echo "$as_me: failed program was:" >&5
26897 sed 's/^/| /' conftest.$ac_ext >&5
26899 glibcxx_cv_func_float_round_use=no
26901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26902 ac_ext=c
26903 ac_cpp='$CPP $CPPFLAGS'
26904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26910 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
26911 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
26912 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
26915 for ac_func in ceilf floorf
26917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26918 echo "$as_me:$LINENO: checking for $ac_func" >&5
26919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26920 if eval "test \"\${$as_ac_var+set}\" = set"; then
26921 echo $ECHO_N "(cached) $ECHO_C" >&6
26922 else
26923 if test x$gcc_no_link = xyes; then
26924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26926 { (exit 1); exit 1; }; }
26928 cat >conftest.$ac_ext <<_ACEOF
26929 /* confdefs.h. */
26930 _ACEOF
26931 cat confdefs.h >>conftest.$ac_ext
26932 cat >>conftest.$ac_ext <<_ACEOF
26933 /* end confdefs.h. */
26934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26936 #define $ac_func innocuous_$ac_func
26938 /* System header to define __stub macros and hopefully few prototypes,
26939 which can conflict with char $ac_func (); below.
26940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26941 <limits.h> exists even on freestanding compilers. */
26943 #ifdef __STDC__
26944 # include <limits.h>
26945 #else
26946 # include <assert.h>
26947 #endif
26949 #undef $ac_func
26951 /* Override any gcc2 internal prototype to avoid an error. */
26952 #ifdef __cplusplus
26953 extern "C"
26955 #endif
26956 /* We use char because int might match the return type of a gcc2
26957 builtin and then its argument prototype would still apply. */
26958 char $ac_func ();
26959 /* The GNU C library defines this for functions which it implements
26960 to always fail with ENOSYS. Some functions are actually named
26961 something starting with __ and the normal name is an alias. */
26962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26963 choke me
26964 #else
26965 char (*f) () = $ac_func;
26966 #endif
26967 #ifdef __cplusplus
26969 #endif
26972 main ()
26974 return f != $ac_func;
26976 return 0;
26978 _ACEOF
26979 rm -f conftest.$ac_objext conftest$ac_exeext
26980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26981 (eval $ac_link) 2>conftest.er1
26982 ac_status=$?
26983 grep -v '^ *+' conftest.er1 >conftest.err
26984 rm -f conftest.er1
26985 cat conftest.err >&5
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); } &&
26988 { ac_try='test -z "$ac_c_werror_flag"
26989 || test ! -s conftest.err'
26990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26991 (eval $ac_try) 2>&5
26992 ac_status=$?
26993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26994 (exit $ac_status); }; } &&
26995 { ac_try='test -s conftest$ac_exeext'
26996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26997 (eval $ac_try) 2>&5
26998 ac_status=$?
26999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27000 (exit $ac_status); }; }; then
27001 eval "$as_ac_var=yes"
27002 else
27003 echo "$as_me: failed program was:" >&5
27004 sed 's/^/| /' conftest.$ac_ext >&5
27006 eval "$as_ac_var=no"
27008 rm -f conftest.err conftest.$ac_objext \
27009 conftest$ac_exeext conftest.$ac_ext
27011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27013 if test `eval echo '${'$as_ac_var'}'` = yes; then
27014 cat >>confdefs.h <<_ACEOF
27015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27016 _ACEOF
27019 done
27021 else
27022 echo "$as_me:$LINENO: checking for _float round functions" >&5
27023 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
27024 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
27025 echo $ECHO_N "(cached) $ECHO_C" >&6
27026 else
27030 ac_ext=cc
27031 ac_cpp='$CXXCPP $CPPFLAGS'
27032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27036 cat >conftest.$ac_ext <<_ACEOF
27037 /* confdefs.h. */
27038 _ACEOF
27039 cat confdefs.h >>conftest.$ac_ext
27040 cat >>conftest.$ac_ext <<_ACEOF
27041 /* end confdefs.h. */
27042 #include <math.h>
27044 main ()
27046 _ceilf (0); _floorf (0);
27048 return 0;
27050 _ACEOF
27051 rm -f conftest.$ac_objext
27052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27053 (eval $ac_compile) 2>conftest.er1
27054 ac_status=$?
27055 grep -v '^ *+' conftest.er1 >conftest.err
27056 rm -f conftest.er1
27057 cat conftest.err >&5
27058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27059 (exit $ac_status); } &&
27060 { ac_try='test -z "$ac_cxx_werror_flag"
27061 || test ! -s conftest.err'
27062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27063 (eval $ac_try) 2>&5
27064 ac_status=$?
27065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066 (exit $ac_status); }; } &&
27067 { ac_try='test -s conftest.$ac_objext'
27068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27069 (eval $ac_try) 2>&5
27070 ac_status=$?
27071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27072 (exit $ac_status); }; }; then
27073 glibcxx_cv_func__float_round_use=yes
27074 else
27075 echo "$as_me: failed program was:" >&5
27076 sed 's/^/| /' conftest.$ac_ext >&5
27078 glibcxx_cv_func__float_round_use=no
27080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27081 ac_ext=c
27082 ac_cpp='$CPP $CPPFLAGS'
27083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27089 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
27090 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
27091 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27094 for ac_func in _ceilf _floorf
27096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27097 echo "$as_me:$LINENO: checking for $ac_func" >&5
27098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27099 if eval "test \"\${$as_ac_var+set}\" = set"; then
27100 echo $ECHO_N "(cached) $ECHO_C" >&6
27101 else
27102 if test x$gcc_no_link = xyes; then
27103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27105 { (exit 1); exit 1; }; }
27107 cat >conftest.$ac_ext <<_ACEOF
27108 /* confdefs.h. */
27109 _ACEOF
27110 cat confdefs.h >>conftest.$ac_ext
27111 cat >>conftest.$ac_ext <<_ACEOF
27112 /* end confdefs.h. */
27113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27115 #define $ac_func innocuous_$ac_func
27117 /* System header to define __stub macros and hopefully few prototypes,
27118 which can conflict with char $ac_func (); below.
27119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27120 <limits.h> exists even on freestanding compilers. */
27122 #ifdef __STDC__
27123 # include <limits.h>
27124 #else
27125 # include <assert.h>
27126 #endif
27128 #undef $ac_func
27130 /* Override any gcc2 internal prototype to avoid an error. */
27131 #ifdef __cplusplus
27132 extern "C"
27134 #endif
27135 /* We use char because int might match the return type of a gcc2
27136 builtin and then its argument prototype would still apply. */
27137 char $ac_func ();
27138 /* The GNU C library defines this for functions which it implements
27139 to always fail with ENOSYS. Some functions are actually named
27140 something starting with __ and the normal name is an alias. */
27141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27142 choke me
27143 #else
27144 char (*f) () = $ac_func;
27145 #endif
27146 #ifdef __cplusplus
27148 #endif
27151 main ()
27153 return f != $ac_func;
27155 return 0;
27157 _ACEOF
27158 rm -f conftest.$ac_objext conftest$ac_exeext
27159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27160 (eval $ac_link) 2>conftest.er1
27161 ac_status=$?
27162 grep -v '^ *+' conftest.er1 >conftest.err
27163 rm -f conftest.er1
27164 cat conftest.err >&5
27165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166 (exit $ac_status); } &&
27167 { ac_try='test -z "$ac_c_werror_flag"
27168 || test ! -s conftest.err'
27169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27170 (eval $ac_try) 2>&5
27171 ac_status=$?
27172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27173 (exit $ac_status); }; } &&
27174 { ac_try='test -s conftest$ac_exeext'
27175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27176 (eval $ac_try) 2>&5
27177 ac_status=$?
27178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27179 (exit $ac_status); }; }; then
27180 eval "$as_ac_var=yes"
27181 else
27182 echo "$as_me: failed program was:" >&5
27183 sed 's/^/| /' conftest.$ac_ext >&5
27185 eval "$as_ac_var=no"
27187 rm -f conftest.err conftest.$ac_objext \
27188 conftest$ac_exeext conftest.$ac_ext
27190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27192 if test `eval echo '${'$as_ac_var'}'` = yes; then
27193 cat >>confdefs.h <<_ACEOF
27194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27195 _ACEOF
27198 done
27210 echo "$as_me:$LINENO: checking for expf declaration" >&5
27211 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
27212 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27213 if test "${glibcxx_cv_func_expf_use+set}" = set; then
27214 echo $ECHO_N "(cached) $ECHO_C" >&6
27215 else
27219 ac_ext=cc
27220 ac_cpp='$CXXCPP $CPPFLAGS'
27221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27225 cat >conftest.$ac_ext <<_ACEOF
27226 /* confdefs.h. */
27227 _ACEOF
27228 cat confdefs.h >>conftest.$ac_ext
27229 cat >>conftest.$ac_ext <<_ACEOF
27230 /* end confdefs.h. */
27231 #include <math.h>
27232 #ifdef HAVE_IEEEFP_H
27233 #include <ieeefp.h>
27234 #endif
27237 main ()
27239 expf(0);
27241 return 0;
27243 _ACEOF
27244 rm -f conftest.$ac_objext
27245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27246 (eval $ac_compile) 2>conftest.er1
27247 ac_status=$?
27248 grep -v '^ *+' conftest.er1 >conftest.err
27249 rm -f conftest.er1
27250 cat conftest.err >&5
27251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252 (exit $ac_status); } &&
27253 { ac_try='test -z "$ac_cxx_werror_flag"
27254 || test ! -s conftest.err'
27255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27256 (eval $ac_try) 2>&5
27257 ac_status=$?
27258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27259 (exit $ac_status); }; } &&
27260 { ac_try='test -s conftest.$ac_objext'
27261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27262 (eval $ac_try) 2>&5
27263 ac_status=$?
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); }; }; then
27266 glibcxx_cv_func_expf_use=yes
27267 else
27268 echo "$as_me: failed program was:" >&5
27269 sed 's/^/| /' conftest.$ac_ext >&5
27271 glibcxx_cv_func_expf_use=no
27273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27274 ac_ext=c
27275 ac_cpp='$CPP $CPPFLAGS'
27276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27284 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
27285 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
27287 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27289 for ac_func in expf
27291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27292 echo "$as_me:$LINENO: checking for $ac_func" >&5
27293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27294 if eval "test \"\${$as_ac_var+set}\" = set"; then
27295 echo $ECHO_N "(cached) $ECHO_C" >&6
27296 else
27297 if test x$gcc_no_link = xyes; then
27298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27300 { (exit 1); exit 1; }; }
27302 cat >conftest.$ac_ext <<_ACEOF
27303 /* confdefs.h. */
27304 _ACEOF
27305 cat confdefs.h >>conftest.$ac_ext
27306 cat >>conftest.$ac_ext <<_ACEOF
27307 /* end confdefs.h. */
27308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27310 #define $ac_func innocuous_$ac_func
27312 /* System header to define __stub macros and hopefully few prototypes,
27313 which can conflict with char $ac_func (); below.
27314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27315 <limits.h> exists even on freestanding compilers. */
27317 #ifdef __STDC__
27318 # include <limits.h>
27319 #else
27320 # include <assert.h>
27321 #endif
27323 #undef $ac_func
27325 /* Override any gcc2 internal prototype to avoid an error. */
27326 #ifdef __cplusplus
27327 extern "C"
27329 #endif
27330 /* We use char because int might match the return type of a gcc2
27331 builtin and then its argument prototype would still apply. */
27332 char $ac_func ();
27333 /* The GNU C library defines this for functions which it implements
27334 to always fail with ENOSYS. Some functions are actually named
27335 something starting with __ and the normal name is an alias. */
27336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27337 choke me
27338 #else
27339 char (*f) () = $ac_func;
27340 #endif
27341 #ifdef __cplusplus
27343 #endif
27346 main ()
27348 return f != $ac_func;
27350 return 0;
27352 _ACEOF
27353 rm -f conftest.$ac_objext conftest$ac_exeext
27354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27355 (eval $ac_link) 2>conftest.er1
27356 ac_status=$?
27357 grep -v '^ *+' conftest.er1 >conftest.err
27358 rm -f conftest.er1
27359 cat conftest.err >&5
27360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27361 (exit $ac_status); } &&
27362 { ac_try='test -z "$ac_c_werror_flag"
27363 || test ! -s conftest.err'
27364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27365 (eval $ac_try) 2>&5
27366 ac_status=$?
27367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27368 (exit $ac_status); }; } &&
27369 { ac_try='test -s conftest$ac_exeext'
27370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27371 (eval $ac_try) 2>&5
27372 ac_status=$?
27373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27374 (exit $ac_status); }; }; then
27375 eval "$as_ac_var=yes"
27376 else
27377 echo "$as_me: failed program was:" >&5
27378 sed 's/^/| /' conftest.$ac_ext >&5
27380 eval "$as_ac_var=no"
27382 rm -f conftest.err conftest.$ac_objext \
27383 conftest$ac_exeext conftest.$ac_ext
27385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27387 if test `eval echo '${'$as_ac_var'}'` = yes; then
27388 cat >>confdefs.h <<_ACEOF
27389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27390 _ACEOF
27393 done
27395 else
27397 echo "$as_me:$LINENO: checking for _expf declaration" >&5
27398 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
27399 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27400 if test "${glibcxx_cv_func__expf_use+set}" = set; then
27401 echo $ECHO_N "(cached) $ECHO_C" >&6
27402 else
27406 ac_ext=cc
27407 ac_cpp='$CXXCPP $CPPFLAGS'
27408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27412 cat >conftest.$ac_ext <<_ACEOF
27413 /* confdefs.h. */
27414 _ACEOF
27415 cat confdefs.h >>conftest.$ac_ext
27416 cat >>conftest.$ac_ext <<_ACEOF
27417 /* end confdefs.h. */
27418 #include <math.h>
27419 #ifdef HAVE_IEEEFP_H
27420 #include <ieeefp.h>
27421 #endif
27424 main ()
27426 _expf(0);
27428 return 0;
27430 _ACEOF
27431 rm -f conftest.$ac_objext
27432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27433 (eval $ac_compile) 2>conftest.er1
27434 ac_status=$?
27435 grep -v '^ *+' conftest.er1 >conftest.err
27436 rm -f conftest.er1
27437 cat conftest.err >&5
27438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27439 (exit $ac_status); } &&
27440 { ac_try='test -z "$ac_cxx_werror_flag"
27441 || test ! -s conftest.err'
27442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27443 (eval $ac_try) 2>&5
27444 ac_status=$?
27445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446 (exit $ac_status); }; } &&
27447 { ac_try='test -s conftest.$ac_objext'
27448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27449 (eval $ac_try) 2>&5
27450 ac_status=$?
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); }; }; then
27453 glibcxx_cv_func__expf_use=yes
27454 else
27455 echo "$as_me: failed program was:" >&5
27456 sed 's/^/| /' conftest.$ac_ext >&5
27458 glibcxx_cv_func__expf_use=no
27460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27461 ac_ext=c
27462 ac_cpp='$CPP $CPPFLAGS'
27463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27471 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
27472 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
27474 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27476 for ac_func in _expf
27478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27479 echo "$as_me:$LINENO: checking for $ac_func" >&5
27480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27481 if eval "test \"\${$as_ac_var+set}\" = set"; then
27482 echo $ECHO_N "(cached) $ECHO_C" >&6
27483 else
27484 if test x$gcc_no_link = xyes; then
27485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27487 { (exit 1); exit 1; }; }
27489 cat >conftest.$ac_ext <<_ACEOF
27490 /* confdefs.h. */
27491 _ACEOF
27492 cat confdefs.h >>conftest.$ac_ext
27493 cat >>conftest.$ac_ext <<_ACEOF
27494 /* end confdefs.h. */
27495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27497 #define $ac_func innocuous_$ac_func
27499 /* System header to define __stub macros and hopefully few prototypes,
27500 which can conflict with char $ac_func (); below.
27501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27502 <limits.h> exists even on freestanding compilers. */
27504 #ifdef __STDC__
27505 # include <limits.h>
27506 #else
27507 # include <assert.h>
27508 #endif
27510 #undef $ac_func
27512 /* Override any gcc2 internal prototype to avoid an error. */
27513 #ifdef __cplusplus
27514 extern "C"
27516 #endif
27517 /* We use char because int might match the return type of a gcc2
27518 builtin and then its argument prototype would still apply. */
27519 char $ac_func ();
27520 /* The GNU C library defines this for functions which it implements
27521 to always fail with ENOSYS. Some functions are actually named
27522 something starting with __ and the normal name is an alias. */
27523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27524 choke me
27525 #else
27526 char (*f) () = $ac_func;
27527 #endif
27528 #ifdef __cplusplus
27530 #endif
27533 main ()
27535 return f != $ac_func;
27537 return 0;
27539 _ACEOF
27540 rm -f conftest.$ac_objext conftest$ac_exeext
27541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27542 (eval $ac_link) 2>conftest.er1
27543 ac_status=$?
27544 grep -v '^ *+' conftest.er1 >conftest.err
27545 rm -f conftest.er1
27546 cat conftest.err >&5
27547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27548 (exit $ac_status); } &&
27549 { ac_try='test -z "$ac_c_werror_flag"
27550 || test ! -s conftest.err'
27551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27552 (eval $ac_try) 2>&5
27553 ac_status=$?
27554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555 (exit $ac_status); }; } &&
27556 { ac_try='test -s conftest$ac_exeext'
27557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27558 (eval $ac_try) 2>&5
27559 ac_status=$?
27560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27561 (exit $ac_status); }; }; then
27562 eval "$as_ac_var=yes"
27563 else
27564 echo "$as_me: failed program was:" >&5
27565 sed 's/^/| /' conftest.$ac_ext >&5
27567 eval "$as_ac_var=no"
27569 rm -f conftest.err conftest.$ac_objext \
27570 conftest$ac_exeext conftest.$ac_ext
27572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27574 if test `eval echo '${'$as_ac_var'}'` = yes; then
27575 cat >>confdefs.h <<_ACEOF
27576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27577 _ACEOF
27580 done
27590 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
27591 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
27592 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27593 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
27594 echo $ECHO_N "(cached) $ECHO_C" >&6
27595 else
27599 ac_ext=cc
27600 ac_cpp='$CXXCPP $CPPFLAGS'
27601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27605 cat >conftest.$ac_ext <<_ACEOF
27606 /* confdefs.h. */
27607 _ACEOF
27608 cat confdefs.h >>conftest.$ac_ext
27609 cat >>conftest.$ac_ext <<_ACEOF
27610 /* end confdefs.h. */
27611 #include <math.h>
27612 #ifdef HAVE_IEEEFP_H
27613 #include <ieeefp.h>
27614 #endif
27617 main ()
27619 isnanf(0);
27621 return 0;
27623 _ACEOF
27624 rm -f conftest.$ac_objext
27625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27626 (eval $ac_compile) 2>conftest.er1
27627 ac_status=$?
27628 grep -v '^ *+' conftest.er1 >conftest.err
27629 rm -f conftest.er1
27630 cat conftest.err >&5
27631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27632 (exit $ac_status); } &&
27633 { ac_try='test -z "$ac_cxx_werror_flag"
27634 || test ! -s conftest.err'
27635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27636 (eval $ac_try) 2>&5
27637 ac_status=$?
27638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27639 (exit $ac_status); }; } &&
27640 { ac_try='test -s conftest.$ac_objext'
27641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27642 (eval $ac_try) 2>&5
27643 ac_status=$?
27644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27645 (exit $ac_status); }; }; then
27646 glibcxx_cv_func_isnanf_use=yes
27647 else
27648 echo "$as_me: failed program was:" >&5
27649 sed 's/^/| /' conftest.$ac_ext >&5
27651 glibcxx_cv_func_isnanf_use=no
27653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27654 ac_ext=c
27655 ac_cpp='$CPP $CPPFLAGS'
27656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27664 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
27665 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
27667 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27669 for ac_func in isnanf
27671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27672 echo "$as_me:$LINENO: checking for $ac_func" >&5
27673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27674 if eval "test \"\${$as_ac_var+set}\" = set"; then
27675 echo $ECHO_N "(cached) $ECHO_C" >&6
27676 else
27677 if test x$gcc_no_link = xyes; then
27678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27680 { (exit 1); exit 1; }; }
27682 cat >conftest.$ac_ext <<_ACEOF
27683 /* confdefs.h. */
27684 _ACEOF
27685 cat confdefs.h >>conftest.$ac_ext
27686 cat >>conftest.$ac_ext <<_ACEOF
27687 /* end confdefs.h. */
27688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27690 #define $ac_func innocuous_$ac_func
27692 /* System header to define __stub macros and hopefully few prototypes,
27693 which can conflict with char $ac_func (); below.
27694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27695 <limits.h> exists even on freestanding compilers. */
27697 #ifdef __STDC__
27698 # include <limits.h>
27699 #else
27700 # include <assert.h>
27701 #endif
27703 #undef $ac_func
27705 /* Override any gcc2 internal prototype to avoid an error. */
27706 #ifdef __cplusplus
27707 extern "C"
27709 #endif
27710 /* We use char because int might match the return type of a gcc2
27711 builtin and then its argument prototype would still apply. */
27712 char $ac_func ();
27713 /* The GNU C library defines this for functions which it implements
27714 to always fail with ENOSYS. Some functions are actually named
27715 something starting with __ and the normal name is an alias. */
27716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27717 choke me
27718 #else
27719 char (*f) () = $ac_func;
27720 #endif
27721 #ifdef __cplusplus
27723 #endif
27726 main ()
27728 return f != $ac_func;
27730 return 0;
27732 _ACEOF
27733 rm -f conftest.$ac_objext conftest$ac_exeext
27734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27735 (eval $ac_link) 2>conftest.er1
27736 ac_status=$?
27737 grep -v '^ *+' conftest.er1 >conftest.err
27738 rm -f conftest.er1
27739 cat conftest.err >&5
27740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27741 (exit $ac_status); } &&
27742 { ac_try='test -z "$ac_c_werror_flag"
27743 || test ! -s conftest.err'
27744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27745 (eval $ac_try) 2>&5
27746 ac_status=$?
27747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27748 (exit $ac_status); }; } &&
27749 { ac_try='test -s conftest$ac_exeext'
27750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27751 (eval $ac_try) 2>&5
27752 ac_status=$?
27753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27754 (exit $ac_status); }; }; then
27755 eval "$as_ac_var=yes"
27756 else
27757 echo "$as_me: failed program was:" >&5
27758 sed 's/^/| /' conftest.$ac_ext >&5
27760 eval "$as_ac_var=no"
27762 rm -f conftest.err conftest.$ac_objext \
27763 conftest$ac_exeext conftest.$ac_ext
27765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27767 if test `eval echo '${'$as_ac_var'}'` = yes; then
27768 cat >>confdefs.h <<_ACEOF
27769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27770 _ACEOF
27773 done
27775 else
27777 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
27778 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
27779 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
27780 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
27781 echo $ECHO_N "(cached) $ECHO_C" >&6
27782 else
27786 ac_ext=cc
27787 ac_cpp='$CXXCPP $CPPFLAGS'
27788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27792 cat >conftest.$ac_ext <<_ACEOF
27793 /* confdefs.h. */
27794 _ACEOF
27795 cat confdefs.h >>conftest.$ac_ext
27796 cat >>conftest.$ac_ext <<_ACEOF
27797 /* end confdefs.h. */
27798 #include <math.h>
27799 #ifdef HAVE_IEEEFP_H
27800 #include <ieeefp.h>
27801 #endif
27804 main ()
27806 _isnanf(0);
27808 return 0;
27810 _ACEOF
27811 rm -f conftest.$ac_objext
27812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27813 (eval $ac_compile) 2>conftest.er1
27814 ac_status=$?
27815 grep -v '^ *+' conftest.er1 >conftest.err
27816 rm -f conftest.er1
27817 cat conftest.err >&5
27818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 (exit $ac_status); } &&
27820 { ac_try='test -z "$ac_cxx_werror_flag"
27821 || test ! -s conftest.err'
27822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27823 (eval $ac_try) 2>&5
27824 ac_status=$?
27825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27826 (exit $ac_status); }; } &&
27827 { ac_try='test -s conftest.$ac_objext'
27828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27829 (eval $ac_try) 2>&5
27830 ac_status=$?
27831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27832 (exit $ac_status); }; }; then
27833 glibcxx_cv_func__isnanf_use=yes
27834 else
27835 echo "$as_me: failed program was:" >&5
27836 sed 's/^/| /' conftest.$ac_ext >&5
27838 glibcxx_cv_func__isnanf_use=no
27840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27841 ac_ext=c
27842 ac_cpp='$CPP $CPPFLAGS'
27843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27851 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
27852 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
27854 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
27856 for ac_func in _isnanf
27858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27859 echo "$as_me:$LINENO: checking for $ac_func" >&5
27860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27861 if eval "test \"\${$as_ac_var+set}\" = set"; then
27862 echo $ECHO_N "(cached) $ECHO_C" >&6
27863 else
27864 if test x$gcc_no_link = xyes; then
27865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27867 { (exit 1); exit 1; }; }
27869 cat >conftest.$ac_ext <<_ACEOF
27870 /* confdefs.h. */
27871 _ACEOF
27872 cat confdefs.h >>conftest.$ac_ext
27873 cat >>conftest.$ac_ext <<_ACEOF
27874 /* end confdefs.h. */
27875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27877 #define $ac_func innocuous_$ac_func
27879 /* System header to define __stub macros and hopefully few prototypes,
27880 which can conflict with char $ac_func (); below.
27881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27882 <limits.h> exists even on freestanding compilers. */
27884 #ifdef __STDC__
27885 # include <limits.h>
27886 #else
27887 # include <assert.h>
27888 #endif
27890 #undef $ac_func
27892 /* Override any gcc2 internal prototype to avoid an error. */
27893 #ifdef __cplusplus
27894 extern "C"
27896 #endif
27897 /* We use char because int might match the return type of a gcc2
27898 builtin and then its argument prototype would still apply. */
27899 char $ac_func ();
27900 /* The GNU C library defines this for functions which it implements
27901 to always fail with ENOSYS. Some functions are actually named
27902 something starting with __ and the normal name is an alias. */
27903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27904 choke me
27905 #else
27906 char (*f) () = $ac_func;
27907 #endif
27908 #ifdef __cplusplus
27910 #endif
27913 main ()
27915 return f != $ac_func;
27917 return 0;
27919 _ACEOF
27920 rm -f conftest.$ac_objext conftest$ac_exeext
27921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27922 (eval $ac_link) 2>conftest.er1
27923 ac_status=$?
27924 grep -v '^ *+' conftest.er1 >conftest.err
27925 rm -f conftest.er1
27926 cat conftest.err >&5
27927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27928 (exit $ac_status); } &&
27929 { ac_try='test -z "$ac_c_werror_flag"
27930 || test ! -s conftest.err'
27931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27932 (eval $ac_try) 2>&5
27933 ac_status=$?
27934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27935 (exit $ac_status); }; } &&
27936 { ac_try='test -s conftest$ac_exeext'
27937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27938 (eval $ac_try) 2>&5
27939 ac_status=$?
27940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27941 (exit $ac_status); }; }; then
27942 eval "$as_ac_var=yes"
27943 else
27944 echo "$as_me: failed program was:" >&5
27945 sed 's/^/| /' conftest.$ac_ext >&5
27947 eval "$as_ac_var=no"
27949 rm -f conftest.err conftest.$ac_objext \
27950 conftest$ac_exeext conftest.$ac_ext
27952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27954 if test `eval echo '${'$as_ac_var'}'` = yes; then
27955 cat >>confdefs.h <<_ACEOF
27956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27957 _ACEOF
27960 done
27970 echo "$as_me:$LINENO: checking for isinff declaration" >&5
27971 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
27972 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
27973 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
27974 echo $ECHO_N "(cached) $ECHO_C" >&6
27975 else
27979 ac_ext=cc
27980 ac_cpp='$CXXCPP $CPPFLAGS'
27981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27985 cat >conftest.$ac_ext <<_ACEOF
27986 /* confdefs.h. */
27987 _ACEOF
27988 cat confdefs.h >>conftest.$ac_ext
27989 cat >>conftest.$ac_ext <<_ACEOF
27990 /* end confdefs.h. */
27991 #include <math.h>
27992 #ifdef HAVE_IEEEFP_H
27993 #include <ieeefp.h>
27994 #endif
27997 main ()
27999 isinff(0);
28001 return 0;
28003 _ACEOF
28004 rm -f conftest.$ac_objext
28005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28006 (eval $ac_compile) 2>conftest.er1
28007 ac_status=$?
28008 grep -v '^ *+' conftest.er1 >conftest.err
28009 rm -f conftest.er1
28010 cat conftest.err >&5
28011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012 (exit $ac_status); } &&
28013 { ac_try='test -z "$ac_cxx_werror_flag"
28014 || test ! -s conftest.err'
28015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28016 (eval $ac_try) 2>&5
28017 ac_status=$?
28018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28019 (exit $ac_status); }; } &&
28020 { ac_try='test -s conftest.$ac_objext'
28021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28022 (eval $ac_try) 2>&5
28023 ac_status=$?
28024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28025 (exit $ac_status); }; }; then
28026 glibcxx_cv_func_isinff_use=yes
28027 else
28028 echo "$as_me: failed program was:" >&5
28029 sed 's/^/| /' conftest.$ac_ext >&5
28031 glibcxx_cv_func_isinff_use=no
28033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28034 ac_ext=c
28035 ac_cpp='$CPP $CPPFLAGS'
28036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28044 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
28045 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
28047 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28049 for ac_func in isinff
28051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28052 echo "$as_me:$LINENO: checking for $ac_func" >&5
28053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28054 if eval "test \"\${$as_ac_var+set}\" = set"; then
28055 echo $ECHO_N "(cached) $ECHO_C" >&6
28056 else
28057 if test x$gcc_no_link = xyes; then
28058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28060 { (exit 1); exit 1; }; }
28062 cat >conftest.$ac_ext <<_ACEOF
28063 /* confdefs.h. */
28064 _ACEOF
28065 cat confdefs.h >>conftest.$ac_ext
28066 cat >>conftest.$ac_ext <<_ACEOF
28067 /* end confdefs.h. */
28068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28070 #define $ac_func innocuous_$ac_func
28072 /* System header to define __stub macros and hopefully few prototypes,
28073 which can conflict with char $ac_func (); below.
28074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28075 <limits.h> exists even on freestanding compilers. */
28077 #ifdef __STDC__
28078 # include <limits.h>
28079 #else
28080 # include <assert.h>
28081 #endif
28083 #undef $ac_func
28085 /* Override any gcc2 internal prototype to avoid an error. */
28086 #ifdef __cplusplus
28087 extern "C"
28089 #endif
28090 /* We use char because int might match the return type of a gcc2
28091 builtin and then its argument prototype would still apply. */
28092 char $ac_func ();
28093 /* The GNU C library defines this for functions which it implements
28094 to always fail with ENOSYS. Some functions are actually named
28095 something starting with __ and the normal name is an alias. */
28096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28097 choke me
28098 #else
28099 char (*f) () = $ac_func;
28100 #endif
28101 #ifdef __cplusplus
28103 #endif
28106 main ()
28108 return f != $ac_func;
28110 return 0;
28112 _ACEOF
28113 rm -f conftest.$ac_objext conftest$ac_exeext
28114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28115 (eval $ac_link) 2>conftest.er1
28116 ac_status=$?
28117 grep -v '^ *+' conftest.er1 >conftest.err
28118 rm -f conftest.er1
28119 cat conftest.err >&5
28120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28121 (exit $ac_status); } &&
28122 { ac_try='test -z "$ac_c_werror_flag"
28123 || test ! -s conftest.err'
28124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28125 (eval $ac_try) 2>&5
28126 ac_status=$?
28127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28128 (exit $ac_status); }; } &&
28129 { ac_try='test -s conftest$ac_exeext'
28130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28131 (eval $ac_try) 2>&5
28132 ac_status=$?
28133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28134 (exit $ac_status); }; }; then
28135 eval "$as_ac_var=yes"
28136 else
28137 echo "$as_me: failed program was:" >&5
28138 sed 's/^/| /' conftest.$ac_ext >&5
28140 eval "$as_ac_var=no"
28142 rm -f conftest.err conftest.$ac_objext \
28143 conftest$ac_exeext conftest.$ac_ext
28145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28147 if test `eval echo '${'$as_ac_var'}'` = yes; then
28148 cat >>confdefs.h <<_ACEOF
28149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28150 _ACEOF
28153 done
28155 else
28157 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
28158 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
28159 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28160 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
28161 echo $ECHO_N "(cached) $ECHO_C" >&6
28162 else
28166 ac_ext=cc
28167 ac_cpp='$CXXCPP $CPPFLAGS'
28168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28172 cat >conftest.$ac_ext <<_ACEOF
28173 /* confdefs.h. */
28174 _ACEOF
28175 cat confdefs.h >>conftest.$ac_ext
28176 cat >>conftest.$ac_ext <<_ACEOF
28177 /* end confdefs.h. */
28178 #include <math.h>
28179 #ifdef HAVE_IEEEFP_H
28180 #include <ieeefp.h>
28181 #endif
28184 main ()
28186 _isinff(0);
28188 return 0;
28190 _ACEOF
28191 rm -f conftest.$ac_objext
28192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28193 (eval $ac_compile) 2>conftest.er1
28194 ac_status=$?
28195 grep -v '^ *+' conftest.er1 >conftest.err
28196 rm -f conftest.er1
28197 cat conftest.err >&5
28198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28199 (exit $ac_status); } &&
28200 { ac_try='test -z "$ac_cxx_werror_flag"
28201 || test ! -s conftest.err'
28202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28203 (eval $ac_try) 2>&5
28204 ac_status=$?
28205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28206 (exit $ac_status); }; } &&
28207 { ac_try='test -s conftest.$ac_objext'
28208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28209 (eval $ac_try) 2>&5
28210 ac_status=$?
28211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28212 (exit $ac_status); }; }; then
28213 glibcxx_cv_func__isinff_use=yes
28214 else
28215 echo "$as_me: failed program was:" >&5
28216 sed 's/^/| /' conftest.$ac_ext >&5
28218 glibcxx_cv_func__isinff_use=no
28220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28221 ac_ext=c
28222 ac_cpp='$CPP $CPPFLAGS'
28223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28231 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
28232 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
28234 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28236 for ac_func in _isinff
28238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28239 echo "$as_me:$LINENO: checking for $ac_func" >&5
28240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28241 if eval "test \"\${$as_ac_var+set}\" = set"; then
28242 echo $ECHO_N "(cached) $ECHO_C" >&6
28243 else
28244 if test x$gcc_no_link = xyes; then
28245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28247 { (exit 1); exit 1; }; }
28249 cat >conftest.$ac_ext <<_ACEOF
28250 /* confdefs.h. */
28251 _ACEOF
28252 cat confdefs.h >>conftest.$ac_ext
28253 cat >>conftest.$ac_ext <<_ACEOF
28254 /* end confdefs.h. */
28255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28257 #define $ac_func innocuous_$ac_func
28259 /* System header to define __stub macros and hopefully few prototypes,
28260 which can conflict with char $ac_func (); below.
28261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28262 <limits.h> exists even on freestanding compilers. */
28264 #ifdef __STDC__
28265 # include <limits.h>
28266 #else
28267 # include <assert.h>
28268 #endif
28270 #undef $ac_func
28272 /* Override any gcc2 internal prototype to avoid an error. */
28273 #ifdef __cplusplus
28274 extern "C"
28276 #endif
28277 /* We use char because int might match the return type of a gcc2
28278 builtin and then its argument prototype would still apply. */
28279 char $ac_func ();
28280 /* The GNU C library defines this for functions which it implements
28281 to always fail with ENOSYS. Some functions are actually named
28282 something starting with __ and the normal name is an alias. */
28283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28284 choke me
28285 #else
28286 char (*f) () = $ac_func;
28287 #endif
28288 #ifdef __cplusplus
28290 #endif
28293 main ()
28295 return f != $ac_func;
28297 return 0;
28299 _ACEOF
28300 rm -f conftest.$ac_objext conftest$ac_exeext
28301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28302 (eval $ac_link) 2>conftest.er1
28303 ac_status=$?
28304 grep -v '^ *+' conftest.er1 >conftest.err
28305 rm -f conftest.er1
28306 cat conftest.err >&5
28307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28308 (exit $ac_status); } &&
28309 { ac_try='test -z "$ac_c_werror_flag"
28310 || test ! -s conftest.err'
28311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28312 (eval $ac_try) 2>&5
28313 ac_status=$?
28314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28315 (exit $ac_status); }; } &&
28316 { ac_try='test -s conftest$ac_exeext'
28317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28318 (eval $ac_try) 2>&5
28319 ac_status=$?
28320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28321 (exit $ac_status); }; }; then
28322 eval "$as_ac_var=yes"
28323 else
28324 echo "$as_me: failed program was:" >&5
28325 sed 's/^/| /' conftest.$ac_ext >&5
28327 eval "$as_ac_var=no"
28329 rm -f conftest.err conftest.$ac_objext \
28330 conftest$ac_exeext conftest.$ac_ext
28332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28334 if test `eval echo '${'$as_ac_var'}'` = yes; then
28335 cat >>confdefs.h <<_ACEOF
28336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28337 _ACEOF
28340 done
28350 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
28351 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
28352 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28353 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
28354 echo $ECHO_N "(cached) $ECHO_C" >&6
28355 else
28359 ac_ext=cc
28360 ac_cpp='$CXXCPP $CPPFLAGS'
28361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28365 cat >conftest.$ac_ext <<_ACEOF
28366 /* confdefs.h. */
28367 _ACEOF
28368 cat confdefs.h >>conftest.$ac_ext
28369 cat >>conftest.$ac_ext <<_ACEOF
28370 /* end confdefs.h. */
28371 #include <math.h>
28373 main ()
28375 atan2f(0, 0);
28377 return 0;
28379 _ACEOF
28380 rm -f conftest.$ac_objext
28381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28382 (eval $ac_compile) 2>conftest.er1
28383 ac_status=$?
28384 grep -v '^ *+' conftest.er1 >conftest.err
28385 rm -f conftest.er1
28386 cat conftest.err >&5
28387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28388 (exit $ac_status); } &&
28389 { ac_try='test -z "$ac_cxx_werror_flag"
28390 || test ! -s conftest.err'
28391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28392 (eval $ac_try) 2>&5
28393 ac_status=$?
28394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395 (exit $ac_status); }; } &&
28396 { ac_try='test -s conftest.$ac_objext'
28397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28398 (eval $ac_try) 2>&5
28399 ac_status=$?
28400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28401 (exit $ac_status); }; }; then
28402 glibcxx_cv_func_atan2f_use=yes
28403 else
28404 echo "$as_me: failed program was:" >&5
28405 sed 's/^/| /' conftest.$ac_ext >&5
28407 glibcxx_cv_func_atan2f_use=no
28409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28410 ac_ext=c
28411 ac_cpp='$CPP $CPPFLAGS'
28412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28420 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
28421 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
28423 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28425 for ac_func in atan2f
28427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28428 echo "$as_me:$LINENO: checking for $ac_func" >&5
28429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28430 if eval "test \"\${$as_ac_var+set}\" = set"; then
28431 echo $ECHO_N "(cached) $ECHO_C" >&6
28432 else
28433 if test x$gcc_no_link = xyes; then
28434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28436 { (exit 1); exit 1; }; }
28438 cat >conftest.$ac_ext <<_ACEOF
28439 /* confdefs.h. */
28440 _ACEOF
28441 cat confdefs.h >>conftest.$ac_ext
28442 cat >>conftest.$ac_ext <<_ACEOF
28443 /* end confdefs.h. */
28444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28446 #define $ac_func innocuous_$ac_func
28448 /* System header to define __stub macros and hopefully few prototypes,
28449 which can conflict with char $ac_func (); below.
28450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28451 <limits.h> exists even on freestanding compilers. */
28453 #ifdef __STDC__
28454 # include <limits.h>
28455 #else
28456 # include <assert.h>
28457 #endif
28459 #undef $ac_func
28461 /* Override any gcc2 internal prototype to avoid an error. */
28462 #ifdef __cplusplus
28463 extern "C"
28465 #endif
28466 /* We use char because int might match the return type of a gcc2
28467 builtin and then its argument prototype would still apply. */
28468 char $ac_func ();
28469 /* The GNU C library defines this for functions which it implements
28470 to always fail with ENOSYS. Some functions are actually named
28471 something starting with __ and the normal name is an alias. */
28472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28473 choke me
28474 #else
28475 char (*f) () = $ac_func;
28476 #endif
28477 #ifdef __cplusplus
28479 #endif
28482 main ()
28484 return f != $ac_func;
28486 return 0;
28488 _ACEOF
28489 rm -f conftest.$ac_objext conftest$ac_exeext
28490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28491 (eval $ac_link) 2>conftest.er1
28492 ac_status=$?
28493 grep -v '^ *+' conftest.er1 >conftest.err
28494 rm -f conftest.er1
28495 cat conftest.err >&5
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); } &&
28498 { ac_try='test -z "$ac_c_werror_flag"
28499 || test ! -s conftest.err'
28500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28501 (eval $ac_try) 2>&5
28502 ac_status=$?
28503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504 (exit $ac_status); }; } &&
28505 { ac_try='test -s conftest$ac_exeext'
28506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28507 (eval $ac_try) 2>&5
28508 ac_status=$?
28509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28510 (exit $ac_status); }; }; then
28511 eval "$as_ac_var=yes"
28512 else
28513 echo "$as_me: failed program was:" >&5
28514 sed 's/^/| /' conftest.$ac_ext >&5
28516 eval "$as_ac_var=no"
28518 rm -f conftest.err conftest.$ac_objext \
28519 conftest$ac_exeext conftest.$ac_ext
28521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28523 if test `eval echo '${'$as_ac_var'}'` = yes; then
28524 cat >>confdefs.h <<_ACEOF
28525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28526 _ACEOF
28529 done
28531 else
28533 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
28534 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
28535 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28536 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
28537 echo $ECHO_N "(cached) $ECHO_C" >&6
28538 else
28542 ac_ext=cc
28543 ac_cpp='$CXXCPP $CPPFLAGS'
28544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28548 cat >conftest.$ac_ext <<_ACEOF
28549 /* confdefs.h. */
28550 _ACEOF
28551 cat confdefs.h >>conftest.$ac_ext
28552 cat >>conftest.$ac_ext <<_ACEOF
28553 /* end confdefs.h. */
28554 #include <math.h>
28556 main ()
28558 _atan2f(0, 0);
28560 return 0;
28562 _ACEOF
28563 rm -f conftest.$ac_objext
28564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28565 (eval $ac_compile) 2>conftest.er1
28566 ac_status=$?
28567 grep -v '^ *+' conftest.er1 >conftest.err
28568 rm -f conftest.er1
28569 cat conftest.err >&5
28570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571 (exit $ac_status); } &&
28572 { ac_try='test -z "$ac_cxx_werror_flag"
28573 || test ! -s conftest.err'
28574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28575 (eval $ac_try) 2>&5
28576 ac_status=$?
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); }; } &&
28579 { ac_try='test -s conftest.$ac_objext'
28580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28581 (eval $ac_try) 2>&5
28582 ac_status=$?
28583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584 (exit $ac_status); }; }; then
28585 glibcxx_cv_func__atan2f_use=yes
28586 else
28587 echo "$as_me: failed program was:" >&5
28588 sed 's/^/| /' conftest.$ac_ext >&5
28590 glibcxx_cv_func__atan2f_use=no
28592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28593 ac_ext=c
28594 ac_cpp='$CPP $CPPFLAGS'
28595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28603 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
28604 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
28606 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28608 for ac_func in _atan2f
28610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28611 echo "$as_me:$LINENO: checking for $ac_func" >&5
28612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28613 if eval "test \"\${$as_ac_var+set}\" = set"; then
28614 echo $ECHO_N "(cached) $ECHO_C" >&6
28615 else
28616 if test x$gcc_no_link = xyes; then
28617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28619 { (exit 1); exit 1; }; }
28621 cat >conftest.$ac_ext <<_ACEOF
28622 /* confdefs.h. */
28623 _ACEOF
28624 cat confdefs.h >>conftest.$ac_ext
28625 cat >>conftest.$ac_ext <<_ACEOF
28626 /* end confdefs.h. */
28627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28629 #define $ac_func innocuous_$ac_func
28631 /* System header to define __stub macros and hopefully few prototypes,
28632 which can conflict with char $ac_func (); below.
28633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28634 <limits.h> exists even on freestanding compilers. */
28636 #ifdef __STDC__
28637 # include <limits.h>
28638 #else
28639 # include <assert.h>
28640 #endif
28642 #undef $ac_func
28644 /* Override any gcc2 internal prototype to avoid an error. */
28645 #ifdef __cplusplus
28646 extern "C"
28648 #endif
28649 /* We use char because int might match the return type of a gcc2
28650 builtin and then its argument prototype would still apply. */
28651 char $ac_func ();
28652 /* The GNU C library defines this for functions which it implements
28653 to always fail with ENOSYS. Some functions are actually named
28654 something starting with __ and the normal name is an alias. */
28655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28656 choke me
28657 #else
28658 char (*f) () = $ac_func;
28659 #endif
28660 #ifdef __cplusplus
28662 #endif
28665 main ()
28667 return f != $ac_func;
28669 return 0;
28671 _ACEOF
28672 rm -f conftest.$ac_objext conftest$ac_exeext
28673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28674 (eval $ac_link) 2>conftest.er1
28675 ac_status=$?
28676 grep -v '^ *+' conftest.er1 >conftest.err
28677 rm -f conftest.er1
28678 cat conftest.err >&5
28679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28680 (exit $ac_status); } &&
28681 { ac_try='test -z "$ac_c_werror_flag"
28682 || test ! -s conftest.err'
28683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28684 (eval $ac_try) 2>&5
28685 ac_status=$?
28686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28687 (exit $ac_status); }; } &&
28688 { ac_try='test -s conftest$ac_exeext'
28689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28690 (eval $ac_try) 2>&5
28691 ac_status=$?
28692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28693 (exit $ac_status); }; }; then
28694 eval "$as_ac_var=yes"
28695 else
28696 echo "$as_me: failed program was:" >&5
28697 sed 's/^/| /' conftest.$ac_ext >&5
28699 eval "$as_ac_var=no"
28701 rm -f conftest.err conftest.$ac_objext \
28702 conftest$ac_exeext conftest.$ac_ext
28704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28706 if test `eval echo '${'$as_ac_var'}'` = yes; then
28707 cat >>confdefs.h <<_ACEOF
28708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28709 _ACEOF
28712 done
28722 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
28723 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
28724 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28725 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
28726 echo $ECHO_N "(cached) $ECHO_C" >&6
28727 else
28731 ac_ext=cc
28732 ac_cpp='$CXXCPP $CPPFLAGS'
28733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28737 cat >conftest.$ac_ext <<_ACEOF
28738 /* confdefs.h. */
28739 _ACEOF
28740 cat confdefs.h >>conftest.$ac_ext
28741 cat >>conftest.$ac_ext <<_ACEOF
28742 /* end confdefs.h. */
28743 #include <math.h>
28744 #ifdef HAVE_IEEEFP_H
28745 #include <ieeefp.h>
28746 #endif
28749 main ()
28751 fabsf(0);
28753 return 0;
28755 _ACEOF
28756 rm -f conftest.$ac_objext
28757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28758 (eval $ac_compile) 2>conftest.er1
28759 ac_status=$?
28760 grep -v '^ *+' conftest.er1 >conftest.err
28761 rm -f conftest.er1
28762 cat conftest.err >&5
28763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764 (exit $ac_status); } &&
28765 { ac_try='test -z "$ac_cxx_werror_flag"
28766 || test ! -s conftest.err'
28767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28768 (eval $ac_try) 2>&5
28769 ac_status=$?
28770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28771 (exit $ac_status); }; } &&
28772 { ac_try='test -s conftest.$ac_objext'
28773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28774 (eval $ac_try) 2>&5
28775 ac_status=$?
28776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28777 (exit $ac_status); }; }; then
28778 glibcxx_cv_func_fabsf_use=yes
28779 else
28780 echo "$as_me: failed program was:" >&5
28781 sed 's/^/| /' conftest.$ac_ext >&5
28783 glibcxx_cv_func_fabsf_use=no
28785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28786 ac_ext=c
28787 ac_cpp='$CPP $CPPFLAGS'
28788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28796 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
28797 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
28799 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28801 for ac_func in fabsf
28803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28804 echo "$as_me:$LINENO: checking for $ac_func" >&5
28805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28806 if eval "test \"\${$as_ac_var+set}\" = set"; then
28807 echo $ECHO_N "(cached) $ECHO_C" >&6
28808 else
28809 if test x$gcc_no_link = xyes; then
28810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28812 { (exit 1); exit 1; }; }
28814 cat >conftest.$ac_ext <<_ACEOF
28815 /* confdefs.h. */
28816 _ACEOF
28817 cat confdefs.h >>conftest.$ac_ext
28818 cat >>conftest.$ac_ext <<_ACEOF
28819 /* end confdefs.h. */
28820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28822 #define $ac_func innocuous_$ac_func
28824 /* System header to define __stub macros and hopefully few prototypes,
28825 which can conflict with char $ac_func (); below.
28826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28827 <limits.h> exists even on freestanding compilers. */
28829 #ifdef __STDC__
28830 # include <limits.h>
28831 #else
28832 # include <assert.h>
28833 #endif
28835 #undef $ac_func
28837 /* Override any gcc2 internal prototype to avoid an error. */
28838 #ifdef __cplusplus
28839 extern "C"
28841 #endif
28842 /* We use char because int might match the return type of a gcc2
28843 builtin and then its argument prototype would still apply. */
28844 char $ac_func ();
28845 /* The GNU C library defines this for functions which it implements
28846 to always fail with ENOSYS. Some functions are actually named
28847 something starting with __ and the normal name is an alias. */
28848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28849 choke me
28850 #else
28851 char (*f) () = $ac_func;
28852 #endif
28853 #ifdef __cplusplus
28855 #endif
28858 main ()
28860 return f != $ac_func;
28862 return 0;
28864 _ACEOF
28865 rm -f conftest.$ac_objext conftest$ac_exeext
28866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28867 (eval $ac_link) 2>conftest.er1
28868 ac_status=$?
28869 grep -v '^ *+' conftest.er1 >conftest.err
28870 rm -f conftest.er1
28871 cat conftest.err >&5
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); } &&
28874 { ac_try='test -z "$ac_c_werror_flag"
28875 || test ! -s conftest.err'
28876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28877 (eval $ac_try) 2>&5
28878 ac_status=$?
28879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28880 (exit $ac_status); }; } &&
28881 { ac_try='test -s conftest$ac_exeext'
28882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28883 (eval $ac_try) 2>&5
28884 ac_status=$?
28885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28886 (exit $ac_status); }; }; then
28887 eval "$as_ac_var=yes"
28888 else
28889 echo "$as_me: failed program was:" >&5
28890 sed 's/^/| /' conftest.$ac_ext >&5
28892 eval "$as_ac_var=no"
28894 rm -f conftest.err conftest.$ac_objext \
28895 conftest$ac_exeext conftest.$ac_ext
28897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28899 if test `eval echo '${'$as_ac_var'}'` = yes; then
28900 cat >>confdefs.h <<_ACEOF
28901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28902 _ACEOF
28905 done
28907 else
28909 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
28910 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
28911 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28912 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
28913 echo $ECHO_N "(cached) $ECHO_C" >&6
28914 else
28918 ac_ext=cc
28919 ac_cpp='$CXXCPP $CPPFLAGS'
28920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28924 cat >conftest.$ac_ext <<_ACEOF
28925 /* confdefs.h. */
28926 _ACEOF
28927 cat confdefs.h >>conftest.$ac_ext
28928 cat >>conftest.$ac_ext <<_ACEOF
28929 /* end confdefs.h. */
28930 #include <math.h>
28931 #ifdef HAVE_IEEEFP_H
28932 #include <ieeefp.h>
28933 #endif
28936 main ()
28938 _fabsf(0);
28940 return 0;
28942 _ACEOF
28943 rm -f conftest.$ac_objext
28944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28945 (eval $ac_compile) 2>conftest.er1
28946 ac_status=$?
28947 grep -v '^ *+' conftest.er1 >conftest.err
28948 rm -f conftest.er1
28949 cat conftest.err >&5
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); } &&
28952 { ac_try='test -z "$ac_cxx_werror_flag"
28953 || test ! -s conftest.err'
28954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28955 (eval $ac_try) 2>&5
28956 ac_status=$?
28957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28958 (exit $ac_status); }; } &&
28959 { ac_try='test -s conftest.$ac_objext'
28960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28961 (eval $ac_try) 2>&5
28962 ac_status=$?
28963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28964 (exit $ac_status); }; }; then
28965 glibcxx_cv_func__fabsf_use=yes
28966 else
28967 echo "$as_me: failed program was:" >&5
28968 sed 's/^/| /' conftest.$ac_ext >&5
28970 glibcxx_cv_func__fabsf_use=no
28972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28973 ac_ext=c
28974 ac_cpp='$CPP $CPPFLAGS'
28975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28983 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
28984 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
28986 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28988 for ac_func in _fabsf
28990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28991 echo "$as_me:$LINENO: checking for $ac_func" >&5
28992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28993 if eval "test \"\${$as_ac_var+set}\" = set"; then
28994 echo $ECHO_N "(cached) $ECHO_C" >&6
28995 else
28996 if test x$gcc_no_link = xyes; then
28997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28999 { (exit 1); exit 1; }; }
29001 cat >conftest.$ac_ext <<_ACEOF
29002 /* confdefs.h. */
29003 _ACEOF
29004 cat confdefs.h >>conftest.$ac_ext
29005 cat >>conftest.$ac_ext <<_ACEOF
29006 /* end confdefs.h. */
29007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29009 #define $ac_func innocuous_$ac_func
29011 /* System header to define __stub macros and hopefully few prototypes,
29012 which can conflict with char $ac_func (); below.
29013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29014 <limits.h> exists even on freestanding compilers. */
29016 #ifdef __STDC__
29017 # include <limits.h>
29018 #else
29019 # include <assert.h>
29020 #endif
29022 #undef $ac_func
29024 /* Override any gcc2 internal prototype to avoid an error. */
29025 #ifdef __cplusplus
29026 extern "C"
29028 #endif
29029 /* We use char because int might match the return type of a gcc2
29030 builtin and then its argument prototype would still apply. */
29031 char $ac_func ();
29032 /* The GNU C library defines this for functions which it implements
29033 to always fail with ENOSYS. Some functions are actually named
29034 something starting with __ and the normal name is an alias. */
29035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29036 choke me
29037 #else
29038 char (*f) () = $ac_func;
29039 #endif
29040 #ifdef __cplusplus
29042 #endif
29045 main ()
29047 return f != $ac_func;
29049 return 0;
29051 _ACEOF
29052 rm -f conftest.$ac_objext conftest$ac_exeext
29053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29054 (eval $ac_link) 2>conftest.er1
29055 ac_status=$?
29056 grep -v '^ *+' conftest.er1 >conftest.err
29057 rm -f conftest.er1
29058 cat conftest.err >&5
29059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29060 (exit $ac_status); } &&
29061 { ac_try='test -z "$ac_c_werror_flag"
29062 || test ! -s conftest.err'
29063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29064 (eval $ac_try) 2>&5
29065 ac_status=$?
29066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29067 (exit $ac_status); }; } &&
29068 { ac_try='test -s conftest$ac_exeext'
29069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29070 (eval $ac_try) 2>&5
29071 ac_status=$?
29072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29073 (exit $ac_status); }; }; then
29074 eval "$as_ac_var=yes"
29075 else
29076 echo "$as_me: failed program was:" >&5
29077 sed 's/^/| /' conftest.$ac_ext >&5
29079 eval "$as_ac_var=no"
29081 rm -f conftest.err conftest.$ac_objext \
29082 conftest$ac_exeext conftest.$ac_ext
29084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29086 if test `eval echo '${'$as_ac_var'}'` = yes; then
29087 cat >>confdefs.h <<_ACEOF
29088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29089 _ACEOF
29092 done
29102 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
29103 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
29104 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29105 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
29106 echo $ECHO_N "(cached) $ECHO_C" >&6
29107 else
29111 ac_ext=cc
29112 ac_cpp='$CXXCPP $CPPFLAGS'
29113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29117 cat >conftest.$ac_ext <<_ACEOF
29118 /* confdefs.h. */
29119 _ACEOF
29120 cat confdefs.h >>conftest.$ac_ext
29121 cat >>conftest.$ac_ext <<_ACEOF
29122 /* end confdefs.h. */
29123 #include <math.h>
29125 main ()
29127 fmodf(0, 0);
29129 return 0;
29131 _ACEOF
29132 rm -f conftest.$ac_objext
29133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29134 (eval $ac_compile) 2>conftest.er1
29135 ac_status=$?
29136 grep -v '^ *+' conftest.er1 >conftest.err
29137 rm -f conftest.er1
29138 cat conftest.err >&5
29139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29140 (exit $ac_status); } &&
29141 { ac_try='test -z "$ac_cxx_werror_flag"
29142 || test ! -s conftest.err'
29143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29144 (eval $ac_try) 2>&5
29145 ac_status=$?
29146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29147 (exit $ac_status); }; } &&
29148 { ac_try='test -s conftest.$ac_objext'
29149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29150 (eval $ac_try) 2>&5
29151 ac_status=$?
29152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29153 (exit $ac_status); }; }; then
29154 glibcxx_cv_func_fmodf_use=yes
29155 else
29156 echo "$as_me: failed program was:" >&5
29157 sed 's/^/| /' conftest.$ac_ext >&5
29159 glibcxx_cv_func_fmodf_use=no
29161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29162 ac_ext=c
29163 ac_cpp='$CPP $CPPFLAGS'
29164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29172 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
29173 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
29175 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29177 for ac_func in fmodf
29179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29180 echo "$as_me:$LINENO: checking for $ac_func" >&5
29181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29182 if eval "test \"\${$as_ac_var+set}\" = set"; then
29183 echo $ECHO_N "(cached) $ECHO_C" >&6
29184 else
29185 if test x$gcc_no_link = xyes; then
29186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29188 { (exit 1); exit 1; }; }
29190 cat >conftest.$ac_ext <<_ACEOF
29191 /* confdefs.h. */
29192 _ACEOF
29193 cat confdefs.h >>conftest.$ac_ext
29194 cat >>conftest.$ac_ext <<_ACEOF
29195 /* end confdefs.h. */
29196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29198 #define $ac_func innocuous_$ac_func
29200 /* System header to define __stub macros and hopefully few prototypes,
29201 which can conflict with char $ac_func (); below.
29202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29203 <limits.h> exists even on freestanding compilers. */
29205 #ifdef __STDC__
29206 # include <limits.h>
29207 #else
29208 # include <assert.h>
29209 #endif
29211 #undef $ac_func
29213 /* Override any gcc2 internal prototype to avoid an error. */
29214 #ifdef __cplusplus
29215 extern "C"
29217 #endif
29218 /* We use char because int might match the return type of a gcc2
29219 builtin and then its argument prototype would still apply. */
29220 char $ac_func ();
29221 /* The GNU C library defines this for functions which it implements
29222 to always fail with ENOSYS. Some functions are actually named
29223 something starting with __ and the normal name is an alias. */
29224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29225 choke me
29226 #else
29227 char (*f) () = $ac_func;
29228 #endif
29229 #ifdef __cplusplus
29231 #endif
29234 main ()
29236 return f != $ac_func;
29238 return 0;
29240 _ACEOF
29241 rm -f conftest.$ac_objext conftest$ac_exeext
29242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29243 (eval $ac_link) 2>conftest.er1
29244 ac_status=$?
29245 grep -v '^ *+' conftest.er1 >conftest.err
29246 rm -f conftest.er1
29247 cat conftest.err >&5
29248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29249 (exit $ac_status); } &&
29250 { ac_try='test -z "$ac_c_werror_flag"
29251 || test ! -s conftest.err'
29252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29253 (eval $ac_try) 2>&5
29254 ac_status=$?
29255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29256 (exit $ac_status); }; } &&
29257 { ac_try='test -s conftest$ac_exeext'
29258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29259 (eval $ac_try) 2>&5
29260 ac_status=$?
29261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29262 (exit $ac_status); }; }; then
29263 eval "$as_ac_var=yes"
29264 else
29265 echo "$as_me: failed program was:" >&5
29266 sed 's/^/| /' conftest.$ac_ext >&5
29268 eval "$as_ac_var=no"
29270 rm -f conftest.err conftest.$ac_objext \
29271 conftest$ac_exeext conftest.$ac_ext
29273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29275 if test `eval echo '${'$as_ac_var'}'` = yes; then
29276 cat >>confdefs.h <<_ACEOF
29277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29278 _ACEOF
29281 done
29283 else
29285 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
29286 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
29287 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29288 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
29289 echo $ECHO_N "(cached) $ECHO_C" >&6
29290 else
29294 ac_ext=cc
29295 ac_cpp='$CXXCPP $CPPFLAGS'
29296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29300 cat >conftest.$ac_ext <<_ACEOF
29301 /* confdefs.h. */
29302 _ACEOF
29303 cat confdefs.h >>conftest.$ac_ext
29304 cat >>conftest.$ac_ext <<_ACEOF
29305 /* end confdefs.h. */
29306 #include <math.h>
29308 main ()
29310 _fmodf(0, 0);
29312 return 0;
29314 _ACEOF
29315 rm -f conftest.$ac_objext
29316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29317 (eval $ac_compile) 2>conftest.er1
29318 ac_status=$?
29319 grep -v '^ *+' conftest.er1 >conftest.err
29320 rm -f conftest.er1
29321 cat conftest.err >&5
29322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29323 (exit $ac_status); } &&
29324 { ac_try='test -z "$ac_cxx_werror_flag"
29325 || test ! -s conftest.err'
29326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29327 (eval $ac_try) 2>&5
29328 ac_status=$?
29329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29330 (exit $ac_status); }; } &&
29331 { ac_try='test -s conftest.$ac_objext'
29332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29333 (eval $ac_try) 2>&5
29334 ac_status=$?
29335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29336 (exit $ac_status); }; }; then
29337 glibcxx_cv_func__fmodf_use=yes
29338 else
29339 echo "$as_me: failed program was:" >&5
29340 sed 's/^/| /' conftest.$ac_ext >&5
29342 glibcxx_cv_func__fmodf_use=no
29344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29345 ac_ext=c
29346 ac_cpp='$CPP $CPPFLAGS'
29347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29355 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
29356 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
29358 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29360 for ac_func in _fmodf
29362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29363 echo "$as_me:$LINENO: checking for $ac_func" >&5
29364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29365 if eval "test \"\${$as_ac_var+set}\" = set"; then
29366 echo $ECHO_N "(cached) $ECHO_C" >&6
29367 else
29368 if test x$gcc_no_link = xyes; then
29369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29371 { (exit 1); exit 1; }; }
29373 cat >conftest.$ac_ext <<_ACEOF
29374 /* confdefs.h. */
29375 _ACEOF
29376 cat confdefs.h >>conftest.$ac_ext
29377 cat >>conftest.$ac_ext <<_ACEOF
29378 /* end confdefs.h. */
29379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29381 #define $ac_func innocuous_$ac_func
29383 /* System header to define __stub macros and hopefully few prototypes,
29384 which can conflict with char $ac_func (); below.
29385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29386 <limits.h> exists even on freestanding compilers. */
29388 #ifdef __STDC__
29389 # include <limits.h>
29390 #else
29391 # include <assert.h>
29392 #endif
29394 #undef $ac_func
29396 /* Override any gcc2 internal prototype to avoid an error. */
29397 #ifdef __cplusplus
29398 extern "C"
29400 #endif
29401 /* We use char because int might match the return type of a gcc2
29402 builtin and then its argument prototype would still apply. */
29403 char $ac_func ();
29404 /* The GNU C library defines this for functions which it implements
29405 to always fail with ENOSYS. Some functions are actually named
29406 something starting with __ and the normal name is an alias. */
29407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29408 choke me
29409 #else
29410 char (*f) () = $ac_func;
29411 #endif
29412 #ifdef __cplusplus
29414 #endif
29417 main ()
29419 return f != $ac_func;
29421 return 0;
29423 _ACEOF
29424 rm -f conftest.$ac_objext conftest$ac_exeext
29425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29426 (eval $ac_link) 2>conftest.er1
29427 ac_status=$?
29428 grep -v '^ *+' conftest.er1 >conftest.err
29429 rm -f conftest.er1
29430 cat conftest.err >&5
29431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29432 (exit $ac_status); } &&
29433 { ac_try='test -z "$ac_c_werror_flag"
29434 || test ! -s conftest.err'
29435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29436 (eval $ac_try) 2>&5
29437 ac_status=$?
29438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439 (exit $ac_status); }; } &&
29440 { ac_try='test -s conftest$ac_exeext'
29441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29442 (eval $ac_try) 2>&5
29443 ac_status=$?
29444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29445 (exit $ac_status); }; }; then
29446 eval "$as_ac_var=yes"
29447 else
29448 echo "$as_me: failed program was:" >&5
29449 sed 's/^/| /' conftest.$ac_ext >&5
29451 eval "$as_ac_var=no"
29453 rm -f conftest.err conftest.$ac_objext \
29454 conftest$ac_exeext conftest.$ac_ext
29456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29458 if test `eval echo '${'$as_ac_var'}'` = yes; then
29459 cat >>confdefs.h <<_ACEOF
29460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29461 _ACEOF
29464 done
29474 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
29475 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
29476 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29477 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
29478 echo $ECHO_N "(cached) $ECHO_C" >&6
29479 else
29483 ac_ext=cc
29484 ac_cpp='$CXXCPP $CPPFLAGS'
29485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29489 cat >conftest.$ac_ext <<_ACEOF
29490 /* confdefs.h. */
29491 _ACEOF
29492 cat confdefs.h >>conftest.$ac_ext
29493 cat >>conftest.$ac_ext <<_ACEOF
29494 /* end confdefs.h. */
29495 #include <math.h>
29497 main ()
29499 frexpf(0, 0);
29501 return 0;
29503 _ACEOF
29504 rm -f conftest.$ac_objext
29505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29506 (eval $ac_compile) 2>conftest.er1
29507 ac_status=$?
29508 grep -v '^ *+' conftest.er1 >conftest.err
29509 rm -f conftest.er1
29510 cat conftest.err >&5
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); } &&
29513 { ac_try='test -z "$ac_cxx_werror_flag"
29514 || test ! -s conftest.err'
29515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29516 (eval $ac_try) 2>&5
29517 ac_status=$?
29518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29519 (exit $ac_status); }; } &&
29520 { ac_try='test -s conftest.$ac_objext'
29521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29522 (eval $ac_try) 2>&5
29523 ac_status=$?
29524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29525 (exit $ac_status); }; }; then
29526 glibcxx_cv_func_frexpf_use=yes
29527 else
29528 echo "$as_me: failed program was:" >&5
29529 sed 's/^/| /' conftest.$ac_ext >&5
29531 glibcxx_cv_func_frexpf_use=no
29533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29534 ac_ext=c
29535 ac_cpp='$CPP $CPPFLAGS'
29536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29544 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
29545 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
29547 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29549 for ac_func in frexpf
29551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29552 echo "$as_me:$LINENO: checking for $ac_func" >&5
29553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29554 if eval "test \"\${$as_ac_var+set}\" = set"; then
29555 echo $ECHO_N "(cached) $ECHO_C" >&6
29556 else
29557 if test x$gcc_no_link = xyes; then
29558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29560 { (exit 1); exit 1; }; }
29562 cat >conftest.$ac_ext <<_ACEOF
29563 /* confdefs.h. */
29564 _ACEOF
29565 cat confdefs.h >>conftest.$ac_ext
29566 cat >>conftest.$ac_ext <<_ACEOF
29567 /* end confdefs.h. */
29568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29570 #define $ac_func innocuous_$ac_func
29572 /* System header to define __stub macros and hopefully few prototypes,
29573 which can conflict with char $ac_func (); below.
29574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29575 <limits.h> exists even on freestanding compilers. */
29577 #ifdef __STDC__
29578 # include <limits.h>
29579 #else
29580 # include <assert.h>
29581 #endif
29583 #undef $ac_func
29585 /* Override any gcc2 internal prototype to avoid an error. */
29586 #ifdef __cplusplus
29587 extern "C"
29589 #endif
29590 /* We use char because int might match the return type of a gcc2
29591 builtin and then its argument prototype would still apply. */
29592 char $ac_func ();
29593 /* The GNU C library defines this for functions which it implements
29594 to always fail with ENOSYS. Some functions are actually named
29595 something starting with __ and the normal name is an alias. */
29596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29597 choke me
29598 #else
29599 char (*f) () = $ac_func;
29600 #endif
29601 #ifdef __cplusplus
29603 #endif
29606 main ()
29608 return f != $ac_func;
29610 return 0;
29612 _ACEOF
29613 rm -f conftest.$ac_objext conftest$ac_exeext
29614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29615 (eval $ac_link) 2>conftest.er1
29616 ac_status=$?
29617 grep -v '^ *+' conftest.er1 >conftest.err
29618 rm -f conftest.er1
29619 cat conftest.err >&5
29620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29621 (exit $ac_status); } &&
29622 { ac_try='test -z "$ac_c_werror_flag"
29623 || test ! -s conftest.err'
29624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29625 (eval $ac_try) 2>&5
29626 ac_status=$?
29627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29628 (exit $ac_status); }; } &&
29629 { ac_try='test -s conftest$ac_exeext'
29630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29631 (eval $ac_try) 2>&5
29632 ac_status=$?
29633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29634 (exit $ac_status); }; }; then
29635 eval "$as_ac_var=yes"
29636 else
29637 echo "$as_me: failed program was:" >&5
29638 sed 's/^/| /' conftest.$ac_ext >&5
29640 eval "$as_ac_var=no"
29642 rm -f conftest.err conftest.$ac_objext \
29643 conftest$ac_exeext conftest.$ac_ext
29645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29647 if test `eval echo '${'$as_ac_var'}'` = yes; then
29648 cat >>confdefs.h <<_ACEOF
29649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29650 _ACEOF
29653 done
29655 else
29657 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
29658 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
29659 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29660 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
29661 echo $ECHO_N "(cached) $ECHO_C" >&6
29662 else
29666 ac_ext=cc
29667 ac_cpp='$CXXCPP $CPPFLAGS'
29668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29672 cat >conftest.$ac_ext <<_ACEOF
29673 /* confdefs.h. */
29674 _ACEOF
29675 cat confdefs.h >>conftest.$ac_ext
29676 cat >>conftest.$ac_ext <<_ACEOF
29677 /* end confdefs.h. */
29678 #include <math.h>
29680 main ()
29682 _frexpf(0, 0);
29684 return 0;
29686 _ACEOF
29687 rm -f conftest.$ac_objext
29688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29689 (eval $ac_compile) 2>conftest.er1
29690 ac_status=$?
29691 grep -v '^ *+' conftest.er1 >conftest.err
29692 rm -f conftest.er1
29693 cat conftest.err >&5
29694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29695 (exit $ac_status); } &&
29696 { ac_try='test -z "$ac_cxx_werror_flag"
29697 || test ! -s conftest.err'
29698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29699 (eval $ac_try) 2>&5
29700 ac_status=$?
29701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29702 (exit $ac_status); }; } &&
29703 { ac_try='test -s conftest.$ac_objext'
29704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29705 (eval $ac_try) 2>&5
29706 ac_status=$?
29707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708 (exit $ac_status); }; }; then
29709 glibcxx_cv_func__frexpf_use=yes
29710 else
29711 echo "$as_me: failed program was:" >&5
29712 sed 's/^/| /' conftest.$ac_ext >&5
29714 glibcxx_cv_func__frexpf_use=no
29716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29717 ac_ext=c
29718 ac_cpp='$CPP $CPPFLAGS'
29719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29727 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
29728 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
29730 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29732 for ac_func in _frexpf
29734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29735 echo "$as_me:$LINENO: checking for $ac_func" >&5
29736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29737 if eval "test \"\${$as_ac_var+set}\" = set"; then
29738 echo $ECHO_N "(cached) $ECHO_C" >&6
29739 else
29740 if test x$gcc_no_link = xyes; then
29741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29743 { (exit 1); exit 1; }; }
29745 cat >conftest.$ac_ext <<_ACEOF
29746 /* confdefs.h. */
29747 _ACEOF
29748 cat confdefs.h >>conftest.$ac_ext
29749 cat >>conftest.$ac_ext <<_ACEOF
29750 /* end confdefs.h. */
29751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29753 #define $ac_func innocuous_$ac_func
29755 /* System header to define __stub macros and hopefully few prototypes,
29756 which can conflict with char $ac_func (); below.
29757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29758 <limits.h> exists even on freestanding compilers. */
29760 #ifdef __STDC__
29761 # include <limits.h>
29762 #else
29763 # include <assert.h>
29764 #endif
29766 #undef $ac_func
29768 /* Override any gcc2 internal prototype to avoid an error. */
29769 #ifdef __cplusplus
29770 extern "C"
29772 #endif
29773 /* We use char because int might match the return type of a gcc2
29774 builtin and then its argument prototype would still apply. */
29775 char $ac_func ();
29776 /* The GNU C library defines this for functions which it implements
29777 to always fail with ENOSYS. Some functions are actually named
29778 something starting with __ and the normal name is an alias. */
29779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29780 choke me
29781 #else
29782 char (*f) () = $ac_func;
29783 #endif
29784 #ifdef __cplusplus
29786 #endif
29789 main ()
29791 return f != $ac_func;
29793 return 0;
29795 _ACEOF
29796 rm -f conftest.$ac_objext conftest$ac_exeext
29797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29798 (eval $ac_link) 2>conftest.er1
29799 ac_status=$?
29800 grep -v '^ *+' conftest.er1 >conftest.err
29801 rm -f conftest.er1
29802 cat conftest.err >&5
29803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29804 (exit $ac_status); } &&
29805 { ac_try='test -z "$ac_c_werror_flag"
29806 || test ! -s conftest.err'
29807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29808 (eval $ac_try) 2>&5
29809 ac_status=$?
29810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29811 (exit $ac_status); }; } &&
29812 { ac_try='test -s conftest$ac_exeext'
29813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29814 (eval $ac_try) 2>&5
29815 ac_status=$?
29816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29817 (exit $ac_status); }; }; then
29818 eval "$as_ac_var=yes"
29819 else
29820 echo "$as_me: failed program was:" >&5
29821 sed 's/^/| /' conftest.$ac_ext >&5
29823 eval "$as_ac_var=no"
29825 rm -f conftest.err conftest.$ac_objext \
29826 conftest$ac_exeext conftest.$ac_ext
29828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29830 if test `eval echo '${'$as_ac_var'}'` = yes; then
29831 cat >>confdefs.h <<_ACEOF
29832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29833 _ACEOF
29836 done
29846 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
29847 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
29848 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29849 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
29850 echo $ECHO_N "(cached) $ECHO_C" >&6
29851 else
29855 ac_ext=cc
29856 ac_cpp='$CXXCPP $CPPFLAGS'
29857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29861 cat >conftest.$ac_ext <<_ACEOF
29862 /* confdefs.h. */
29863 _ACEOF
29864 cat confdefs.h >>conftest.$ac_ext
29865 cat >>conftest.$ac_ext <<_ACEOF
29866 /* end confdefs.h. */
29867 #include <math.h>
29869 main ()
29871 hypotf(0, 0);
29873 return 0;
29875 _ACEOF
29876 rm -f conftest.$ac_objext
29877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29878 (eval $ac_compile) 2>conftest.er1
29879 ac_status=$?
29880 grep -v '^ *+' conftest.er1 >conftest.err
29881 rm -f conftest.er1
29882 cat conftest.err >&5
29883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884 (exit $ac_status); } &&
29885 { ac_try='test -z "$ac_cxx_werror_flag"
29886 || test ! -s conftest.err'
29887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29888 (eval $ac_try) 2>&5
29889 ac_status=$?
29890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891 (exit $ac_status); }; } &&
29892 { ac_try='test -s conftest.$ac_objext'
29893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29894 (eval $ac_try) 2>&5
29895 ac_status=$?
29896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897 (exit $ac_status); }; }; then
29898 glibcxx_cv_func_hypotf_use=yes
29899 else
29900 echo "$as_me: failed program was:" >&5
29901 sed 's/^/| /' conftest.$ac_ext >&5
29903 glibcxx_cv_func_hypotf_use=no
29905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29906 ac_ext=c
29907 ac_cpp='$CPP $CPPFLAGS'
29908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29916 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
29917 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
29919 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29921 for ac_func in hypotf
29923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29924 echo "$as_me:$LINENO: checking for $ac_func" >&5
29925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29926 if eval "test \"\${$as_ac_var+set}\" = set"; then
29927 echo $ECHO_N "(cached) $ECHO_C" >&6
29928 else
29929 if test x$gcc_no_link = xyes; then
29930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29932 { (exit 1); exit 1; }; }
29934 cat >conftest.$ac_ext <<_ACEOF
29935 /* confdefs.h. */
29936 _ACEOF
29937 cat confdefs.h >>conftest.$ac_ext
29938 cat >>conftest.$ac_ext <<_ACEOF
29939 /* end confdefs.h. */
29940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29942 #define $ac_func innocuous_$ac_func
29944 /* System header to define __stub macros and hopefully few prototypes,
29945 which can conflict with char $ac_func (); below.
29946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29947 <limits.h> exists even on freestanding compilers. */
29949 #ifdef __STDC__
29950 # include <limits.h>
29951 #else
29952 # include <assert.h>
29953 #endif
29955 #undef $ac_func
29957 /* Override any gcc2 internal prototype to avoid an error. */
29958 #ifdef __cplusplus
29959 extern "C"
29961 #endif
29962 /* We use char because int might match the return type of a gcc2
29963 builtin and then its argument prototype would still apply. */
29964 char $ac_func ();
29965 /* The GNU C library defines this for functions which it implements
29966 to always fail with ENOSYS. Some functions are actually named
29967 something starting with __ and the normal name is an alias. */
29968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29969 choke me
29970 #else
29971 char (*f) () = $ac_func;
29972 #endif
29973 #ifdef __cplusplus
29975 #endif
29978 main ()
29980 return f != $ac_func;
29982 return 0;
29984 _ACEOF
29985 rm -f conftest.$ac_objext conftest$ac_exeext
29986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29987 (eval $ac_link) 2>conftest.er1
29988 ac_status=$?
29989 grep -v '^ *+' conftest.er1 >conftest.err
29990 rm -f conftest.er1
29991 cat conftest.err >&5
29992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29993 (exit $ac_status); } &&
29994 { ac_try='test -z "$ac_c_werror_flag"
29995 || test ! -s conftest.err'
29996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29997 (eval $ac_try) 2>&5
29998 ac_status=$?
29999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30000 (exit $ac_status); }; } &&
30001 { ac_try='test -s conftest$ac_exeext'
30002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30003 (eval $ac_try) 2>&5
30004 ac_status=$?
30005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30006 (exit $ac_status); }; }; then
30007 eval "$as_ac_var=yes"
30008 else
30009 echo "$as_me: failed program was:" >&5
30010 sed 's/^/| /' conftest.$ac_ext >&5
30012 eval "$as_ac_var=no"
30014 rm -f conftest.err conftest.$ac_objext \
30015 conftest$ac_exeext conftest.$ac_ext
30017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30019 if test `eval echo '${'$as_ac_var'}'` = yes; then
30020 cat >>confdefs.h <<_ACEOF
30021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30022 _ACEOF
30025 done
30027 else
30029 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
30030 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
30031 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30032 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
30033 echo $ECHO_N "(cached) $ECHO_C" >&6
30034 else
30038 ac_ext=cc
30039 ac_cpp='$CXXCPP $CPPFLAGS'
30040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30044 cat >conftest.$ac_ext <<_ACEOF
30045 /* confdefs.h. */
30046 _ACEOF
30047 cat confdefs.h >>conftest.$ac_ext
30048 cat >>conftest.$ac_ext <<_ACEOF
30049 /* end confdefs.h. */
30050 #include <math.h>
30052 main ()
30054 _hypotf(0, 0);
30056 return 0;
30058 _ACEOF
30059 rm -f conftest.$ac_objext
30060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30061 (eval $ac_compile) 2>conftest.er1
30062 ac_status=$?
30063 grep -v '^ *+' conftest.er1 >conftest.err
30064 rm -f conftest.er1
30065 cat conftest.err >&5
30066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30067 (exit $ac_status); } &&
30068 { ac_try='test -z "$ac_cxx_werror_flag"
30069 || test ! -s conftest.err'
30070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30071 (eval $ac_try) 2>&5
30072 ac_status=$?
30073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30074 (exit $ac_status); }; } &&
30075 { ac_try='test -s conftest.$ac_objext'
30076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30077 (eval $ac_try) 2>&5
30078 ac_status=$?
30079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30080 (exit $ac_status); }; }; then
30081 glibcxx_cv_func__hypotf_use=yes
30082 else
30083 echo "$as_me: failed program was:" >&5
30084 sed 's/^/| /' conftest.$ac_ext >&5
30086 glibcxx_cv_func__hypotf_use=no
30088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30089 ac_ext=c
30090 ac_cpp='$CPP $CPPFLAGS'
30091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30099 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
30100 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
30102 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30104 for ac_func in _hypotf
30106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30107 echo "$as_me:$LINENO: checking for $ac_func" >&5
30108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30109 if eval "test \"\${$as_ac_var+set}\" = set"; then
30110 echo $ECHO_N "(cached) $ECHO_C" >&6
30111 else
30112 if test x$gcc_no_link = xyes; then
30113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30115 { (exit 1); exit 1; }; }
30117 cat >conftest.$ac_ext <<_ACEOF
30118 /* confdefs.h. */
30119 _ACEOF
30120 cat confdefs.h >>conftest.$ac_ext
30121 cat >>conftest.$ac_ext <<_ACEOF
30122 /* end confdefs.h. */
30123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30125 #define $ac_func innocuous_$ac_func
30127 /* System header to define __stub macros and hopefully few prototypes,
30128 which can conflict with char $ac_func (); below.
30129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30130 <limits.h> exists even on freestanding compilers. */
30132 #ifdef __STDC__
30133 # include <limits.h>
30134 #else
30135 # include <assert.h>
30136 #endif
30138 #undef $ac_func
30140 /* Override any gcc2 internal prototype to avoid an error. */
30141 #ifdef __cplusplus
30142 extern "C"
30144 #endif
30145 /* We use char because int might match the return type of a gcc2
30146 builtin and then its argument prototype would still apply. */
30147 char $ac_func ();
30148 /* The GNU C library defines this for functions which it implements
30149 to always fail with ENOSYS. Some functions are actually named
30150 something starting with __ and the normal name is an alias. */
30151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30152 choke me
30153 #else
30154 char (*f) () = $ac_func;
30155 #endif
30156 #ifdef __cplusplus
30158 #endif
30161 main ()
30163 return f != $ac_func;
30165 return 0;
30167 _ACEOF
30168 rm -f conftest.$ac_objext conftest$ac_exeext
30169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30170 (eval $ac_link) 2>conftest.er1
30171 ac_status=$?
30172 grep -v '^ *+' conftest.er1 >conftest.err
30173 rm -f conftest.er1
30174 cat conftest.err >&5
30175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30176 (exit $ac_status); } &&
30177 { ac_try='test -z "$ac_c_werror_flag"
30178 || test ! -s conftest.err'
30179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30180 (eval $ac_try) 2>&5
30181 ac_status=$?
30182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30183 (exit $ac_status); }; } &&
30184 { ac_try='test -s conftest$ac_exeext'
30185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30186 (eval $ac_try) 2>&5
30187 ac_status=$?
30188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30189 (exit $ac_status); }; }; then
30190 eval "$as_ac_var=yes"
30191 else
30192 echo "$as_me: failed program was:" >&5
30193 sed 's/^/| /' conftest.$ac_ext >&5
30195 eval "$as_ac_var=no"
30197 rm -f conftest.err conftest.$ac_objext \
30198 conftest$ac_exeext conftest.$ac_ext
30200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30202 if test `eval echo '${'$as_ac_var'}'` = yes; then
30203 cat >>confdefs.h <<_ACEOF
30204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30205 _ACEOF
30208 done
30218 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
30219 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
30220 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30221 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
30222 echo $ECHO_N "(cached) $ECHO_C" >&6
30223 else
30227 ac_ext=cc
30228 ac_cpp='$CXXCPP $CPPFLAGS'
30229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30233 cat >conftest.$ac_ext <<_ACEOF
30234 /* confdefs.h. */
30235 _ACEOF
30236 cat confdefs.h >>conftest.$ac_ext
30237 cat >>conftest.$ac_ext <<_ACEOF
30238 /* end confdefs.h. */
30239 #include <math.h>
30241 main ()
30243 ldexpf(0, 0);
30245 return 0;
30247 _ACEOF
30248 rm -f conftest.$ac_objext
30249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30250 (eval $ac_compile) 2>conftest.er1
30251 ac_status=$?
30252 grep -v '^ *+' conftest.er1 >conftest.err
30253 rm -f conftest.er1
30254 cat conftest.err >&5
30255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30256 (exit $ac_status); } &&
30257 { ac_try='test -z "$ac_cxx_werror_flag"
30258 || test ! -s conftest.err'
30259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30260 (eval $ac_try) 2>&5
30261 ac_status=$?
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); }; } &&
30264 { ac_try='test -s conftest.$ac_objext'
30265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30266 (eval $ac_try) 2>&5
30267 ac_status=$?
30268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30269 (exit $ac_status); }; }; then
30270 glibcxx_cv_func_ldexpf_use=yes
30271 else
30272 echo "$as_me: failed program was:" >&5
30273 sed 's/^/| /' conftest.$ac_ext >&5
30275 glibcxx_cv_func_ldexpf_use=no
30277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30278 ac_ext=c
30279 ac_cpp='$CPP $CPPFLAGS'
30280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30288 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
30289 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
30291 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30293 for ac_func in ldexpf
30295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30296 echo "$as_me:$LINENO: checking for $ac_func" >&5
30297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30298 if eval "test \"\${$as_ac_var+set}\" = set"; then
30299 echo $ECHO_N "(cached) $ECHO_C" >&6
30300 else
30301 if test x$gcc_no_link = xyes; then
30302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30304 { (exit 1); exit 1; }; }
30306 cat >conftest.$ac_ext <<_ACEOF
30307 /* confdefs.h. */
30308 _ACEOF
30309 cat confdefs.h >>conftest.$ac_ext
30310 cat >>conftest.$ac_ext <<_ACEOF
30311 /* end confdefs.h. */
30312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30314 #define $ac_func innocuous_$ac_func
30316 /* System header to define __stub macros and hopefully few prototypes,
30317 which can conflict with char $ac_func (); below.
30318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30319 <limits.h> exists even on freestanding compilers. */
30321 #ifdef __STDC__
30322 # include <limits.h>
30323 #else
30324 # include <assert.h>
30325 #endif
30327 #undef $ac_func
30329 /* Override any gcc2 internal prototype to avoid an error. */
30330 #ifdef __cplusplus
30331 extern "C"
30333 #endif
30334 /* We use char because int might match the return type of a gcc2
30335 builtin and then its argument prototype would still apply. */
30336 char $ac_func ();
30337 /* The GNU C library defines this for functions which it implements
30338 to always fail with ENOSYS. Some functions are actually named
30339 something starting with __ and the normal name is an alias. */
30340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30341 choke me
30342 #else
30343 char (*f) () = $ac_func;
30344 #endif
30345 #ifdef __cplusplus
30347 #endif
30350 main ()
30352 return f != $ac_func;
30354 return 0;
30356 _ACEOF
30357 rm -f conftest.$ac_objext conftest$ac_exeext
30358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30359 (eval $ac_link) 2>conftest.er1
30360 ac_status=$?
30361 grep -v '^ *+' conftest.er1 >conftest.err
30362 rm -f conftest.er1
30363 cat conftest.err >&5
30364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30365 (exit $ac_status); } &&
30366 { ac_try='test -z "$ac_c_werror_flag"
30367 || test ! -s conftest.err'
30368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30369 (eval $ac_try) 2>&5
30370 ac_status=$?
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); }; } &&
30373 { ac_try='test -s conftest$ac_exeext'
30374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30375 (eval $ac_try) 2>&5
30376 ac_status=$?
30377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378 (exit $ac_status); }; }; then
30379 eval "$as_ac_var=yes"
30380 else
30381 echo "$as_me: failed program was:" >&5
30382 sed 's/^/| /' conftest.$ac_ext >&5
30384 eval "$as_ac_var=no"
30386 rm -f conftest.err conftest.$ac_objext \
30387 conftest$ac_exeext conftest.$ac_ext
30389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30391 if test `eval echo '${'$as_ac_var'}'` = yes; then
30392 cat >>confdefs.h <<_ACEOF
30393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30394 _ACEOF
30397 done
30399 else
30401 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
30402 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
30403 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30404 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
30405 echo $ECHO_N "(cached) $ECHO_C" >&6
30406 else
30410 ac_ext=cc
30411 ac_cpp='$CXXCPP $CPPFLAGS'
30412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30416 cat >conftest.$ac_ext <<_ACEOF
30417 /* confdefs.h. */
30418 _ACEOF
30419 cat confdefs.h >>conftest.$ac_ext
30420 cat >>conftest.$ac_ext <<_ACEOF
30421 /* end confdefs.h. */
30422 #include <math.h>
30424 main ()
30426 _ldexpf(0, 0);
30428 return 0;
30430 _ACEOF
30431 rm -f conftest.$ac_objext
30432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30433 (eval $ac_compile) 2>conftest.er1
30434 ac_status=$?
30435 grep -v '^ *+' conftest.er1 >conftest.err
30436 rm -f conftest.er1
30437 cat conftest.err >&5
30438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30439 (exit $ac_status); } &&
30440 { ac_try='test -z "$ac_cxx_werror_flag"
30441 || test ! -s conftest.err'
30442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30443 (eval $ac_try) 2>&5
30444 ac_status=$?
30445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30446 (exit $ac_status); }; } &&
30447 { ac_try='test -s conftest.$ac_objext'
30448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30449 (eval $ac_try) 2>&5
30450 ac_status=$?
30451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30452 (exit $ac_status); }; }; then
30453 glibcxx_cv_func__ldexpf_use=yes
30454 else
30455 echo "$as_me: failed program was:" >&5
30456 sed 's/^/| /' conftest.$ac_ext >&5
30458 glibcxx_cv_func__ldexpf_use=no
30460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30461 ac_ext=c
30462 ac_cpp='$CPP $CPPFLAGS'
30463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30471 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
30472 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
30474 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30476 for ac_func in _ldexpf
30478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30479 echo "$as_me:$LINENO: checking for $ac_func" >&5
30480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30481 if eval "test \"\${$as_ac_var+set}\" = set"; then
30482 echo $ECHO_N "(cached) $ECHO_C" >&6
30483 else
30484 if test x$gcc_no_link = xyes; then
30485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30487 { (exit 1); exit 1; }; }
30489 cat >conftest.$ac_ext <<_ACEOF
30490 /* confdefs.h. */
30491 _ACEOF
30492 cat confdefs.h >>conftest.$ac_ext
30493 cat >>conftest.$ac_ext <<_ACEOF
30494 /* end confdefs.h. */
30495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30497 #define $ac_func innocuous_$ac_func
30499 /* System header to define __stub macros and hopefully few prototypes,
30500 which can conflict with char $ac_func (); below.
30501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30502 <limits.h> exists even on freestanding compilers. */
30504 #ifdef __STDC__
30505 # include <limits.h>
30506 #else
30507 # include <assert.h>
30508 #endif
30510 #undef $ac_func
30512 /* Override any gcc2 internal prototype to avoid an error. */
30513 #ifdef __cplusplus
30514 extern "C"
30516 #endif
30517 /* We use char because int might match the return type of a gcc2
30518 builtin and then its argument prototype would still apply. */
30519 char $ac_func ();
30520 /* The GNU C library defines this for functions which it implements
30521 to always fail with ENOSYS. Some functions are actually named
30522 something starting with __ and the normal name is an alias. */
30523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30524 choke me
30525 #else
30526 char (*f) () = $ac_func;
30527 #endif
30528 #ifdef __cplusplus
30530 #endif
30533 main ()
30535 return f != $ac_func;
30537 return 0;
30539 _ACEOF
30540 rm -f conftest.$ac_objext conftest$ac_exeext
30541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30542 (eval $ac_link) 2>conftest.er1
30543 ac_status=$?
30544 grep -v '^ *+' conftest.er1 >conftest.err
30545 rm -f conftest.er1
30546 cat conftest.err >&5
30547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30548 (exit $ac_status); } &&
30549 { ac_try='test -z "$ac_c_werror_flag"
30550 || test ! -s conftest.err'
30551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30552 (eval $ac_try) 2>&5
30553 ac_status=$?
30554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30555 (exit $ac_status); }; } &&
30556 { ac_try='test -s conftest$ac_exeext'
30557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30558 (eval $ac_try) 2>&5
30559 ac_status=$?
30560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30561 (exit $ac_status); }; }; then
30562 eval "$as_ac_var=yes"
30563 else
30564 echo "$as_me: failed program was:" >&5
30565 sed 's/^/| /' conftest.$ac_ext >&5
30567 eval "$as_ac_var=no"
30569 rm -f conftest.err conftest.$ac_objext \
30570 conftest$ac_exeext conftest.$ac_ext
30572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30574 if test `eval echo '${'$as_ac_var'}'` = yes; then
30575 cat >>confdefs.h <<_ACEOF
30576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30577 _ACEOF
30580 done
30590 echo "$as_me:$LINENO: checking for logf declaration" >&5
30591 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
30592 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30593 if test "${glibcxx_cv_func_logf_use+set}" = set; then
30594 echo $ECHO_N "(cached) $ECHO_C" >&6
30595 else
30599 ac_ext=cc
30600 ac_cpp='$CXXCPP $CPPFLAGS'
30601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30605 cat >conftest.$ac_ext <<_ACEOF
30606 /* confdefs.h. */
30607 _ACEOF
30608 cat confdefs.h >>conftest.$ac_ext
30609 cat >>conftest.$ac_ext <<_ACEOF
30610 /* end confdefs.h. */
30611 #include <math.h>
30612 #ifdef HAVE_IEEEFP_H
30613 #include <ieeefp.h>
30614 #endif
30617 main ()
30619 logf(0);
30621 return 0;
30623 _ACEOF
30624 rm -f conftest.$ac_objext
30625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30626 (eval $ac_compile) 2>conftest.er1
30627 ac_status=$?
30628 grep -v '^ *+' conftest.er1 >conftest.err
30629 rm -f conftest.er1
30630 cat conftest.err >&5
30631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30632 (exit $ac_status); } &&
30633 { ac_try='test -z "$ac_cxx_werror_flag"
30634 || test ! -s conftest.err'
30635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30636 (eval $ac_try) 2>&5
30637 ac_status=$?
30638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30639 (exit $ac_status); }; } &&
30640 { ac_try='test -s conftest.$ac_objext'
30641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30642 (eval $ac_try) 2>&5
30643 ac_status=$?
30644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30645 (exit $ac_status); }; }; then
30646 glibcxx_cv_func_logf_use=yes
30647 else
30648 echo "$as_me: failed program was:" >&5
30649 sed 's/^/| /' conftest.$ac_ext >&5
30651 glibcxx_cv_func_logf_use=no
30653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30654 ac_ext=c
30655 ac_cpp='$CPP $CPPFLAGS'
30656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30664 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
30665 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
30667 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30669 for ac_func in logf
30671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30672 echo "$as_me:$LINENO: checking for $ac_func" >&5
30673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30674 if eval "test \"\${$as_ac_var+set}\" = set"; then
30675 echo $ECHO_N "(cached) $ECHO_C" >&6
30676 else
30677 if test x$gcc_no_link = xyes; then
30678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30680 { (exit 1); exit 1; }; }
30682 cat >conftest.$ac_ext <<_ACEOF
30683 /* confdefs.h. */
30684 _ACEOF
30685 cat confdefs.h >>conftest.$ac_ext
30686 cat >>conftest.$ac_ext <<_ACEOF
30687 /* end confdefs.h. */
30688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30690 #define $ac_func innocuous_$ac_func
30692 /* System header to define __stub macros and hopefully few prototypes,
30693 which can conflict with char $ac_func (); below.
30694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30695 <limits.h> exists even on freestanding compilers. */
30697 #ifdef __STDC__
30698 # include <limits.h>
30699 #else
30700 # include <assert.h>
30701 #endif
30703 #undef $ac_func
30705 /* Override any gcc2 internal prototype to avoid an error. */
30706 #ifdef __cplusplus
30707 extern "C"
30709 #endif
30710 /* We use char because int might match the return type of a gcc2
30711 builtin and then its argument prototype would still apply. */
30712 char $ac_func ();
30713 /* The GNU C library defines this for functions which it implements
30714 to always fail with ENOSYS. Some functions are actually named
30715 something starting with __ and the normal name is an alias. */
30716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30717 choke me
30718 #else
30719 char (*f) () = $ac_func;
30720 #endif
30721 #ifdef __cplusplus
30723 #endif
30726 main ()
30728 return f != $ac_func;
30730 return 0;
30732 _ACEOF
30733 rm -f conftest.$ac_objext conftest$ac_exeext
30734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30735 (eval $ac_link) 2>conftest.er1
30736 ac_status=$?
30737 grep -v '^ *+' conftest.er1 >conftest.err
30738 rm -f conftest.er1
30739 cat conftest.err >&5
30740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30741 (exit $ac_status); } &&
30742 { ac_try='test -z "$ac_c_werror_flag"
30743 || test ! -s conftest.err'
30744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30745 (eval $ac_try) 2>&5
30746 ac_status=$?
30747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748 (exit $ac_status); }; } &&
30749 { ac_try='test -s conftest$ac_exeext'
30750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30751 (eval $ac_try) 2>&5
30752 ac_status=$?
30753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30754 (exit $ac_status); }; }; then
30755 eval "$as_ac_var=yes"
30756 else
30757 echo "$as_me: failed program was:" >&5
30758 sed 's/^/| /' conftest.$ac_ext >&5
30760 eval "$as_ac_var=no"
30762 rm -f conftest.err conftest.$ac_objext \
30763 conftest$ac_exeext conftest.$ac_ext
30765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30767 if test `eval echo '${'$as_ac_var'}'` = yes; then
30768 cat >>confdefs.h <<_ACEOF
30769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30770 _ACEOF
30773 done
30775 else
30777 echo "$as_me:$LINENO: checking for _logf declaration" >&5
30778 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
30779 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30780 if test "${glibcxx_cv_func__logf_use+set}" = set; then
30781 echo $ECHO_N "(cached) $ECHO_C" >&6
30782 else
30786 ac_ext=cc
30787 ac_cpp='$CXXCPP $CPPFLAGS'
30788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30792 cat >conftest.$ac_ext <<_ACEOF
30793 /* confdefs.h. */
30794 _ACEOF
30795 cat confdefs.h >>conftest.$ac_ext
30796 cat >>conftest.$ac_ext <<_ACEOF
30797 /* end confdefs.h. */
30798 #include <math.h>
30799 #ifdef HAVE_IEEEFP_H
30800 #include <ieeefp.h>
30801 #endif
30804 main ()
30806 _logf(0);
30808 return 0;
30810 _ACEOF
30811 rm -f conftest.$ac_objext
30812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30813 (eval $ac_compile) 2>conftest.er1
30814 ac_status=$?
30815 grep -v '^ *+' conftest.er1 >conftest.err
30816 rm -f conftest.er1
30817 cat conftest.err >&5
30818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30819 (exit $ac_status); } &&
30820 { ac_try='test -z "$ac_cxx_werror_flag"
30821 || test ! -s conftest.err'
30822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30823 (eval $ac_try) 2>&5
30824 ac_status=$?
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); }; } &&
30827 { ac_try='test -s conftest.$ac_objext'
30828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30829 (eval $ac_try) 2>&5
30830 ac_status=$?
30831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30832 (exit $ac_status); }; }; then
30833 glibcxx_cv_func__logf_use=yes
30834 else
30835 echo "$as_me: failed program was:" >&5
30836 sed 's/^/| /' conftest.$ac_ext >&5
30838 glibcxx_cv_func__logf_use=no
30840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30841 ac_ext=c
30842 ac_cpp='$CPP $CPPFLAGS'
30843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30851 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
30852 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
30854 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30856 for ac_func in _logf
30858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30859 echo "$as_me:$LINENO: checking for $ac_func" >&5
30860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30861 if eval "test \"\${$as_ac_var+set}\" = set"; then
30862 echo $ECHO_N "(cached) $ECHO_C" >&6
30863 else
30864 if test x$gcc_no_link = xyes; then
30865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30867 { (exit 1); exit 1; }; }
30869 cat >conftest.$ac_ext <<_ACEOF
30870 /* confdefs.h. */
30871 _ACEOF
30872 cat confdefs.h >>conftest.$ac_ext
30873 cat >>conftest.$ac_ext <<_ACEOF
30874 /* end confdefs.h. */
30875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30877 #define $ac_func innocuous_$ac_func
30879 /* System header to define __stub macros and hopefully few prototypes,
30880 which can conflict with char $ac_func (); below.
30881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30882 <limits.h> exists even on freestanding compilers. */
30884 #ifdef __STDC__
30885 # include <limits.h>
30886 #else
30887 # include <assert.h>
30888 #endif
30890 #undef $ac_func
30892 /* Override any gcc2 internal prototype to avoid an error. */
30893 #ifdef __cplusplus
30894 extern "C"
30896 #endif
30897 /* We use char because int might match the return type of a gcc2
30898 builtin and then its argument prototype would still apply. */
30899 char $ac_func ();
30900 /* The GNU C library defines this for functions which it implements
30901 to always fail with ENOSYS. Some functions are actually named
30902 something starting with __ and the normal name is an alias. */
30903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30904 choke me
30905 #else
30906 char (*f) () = $ac_func;
30907 #endif
30908 #ifdef __cplusplus
30910 #endif
30913 main ()
30915 return f != $ac_func;
30917 return 0;
30919 _ACEOF
30920 rm -f conftest.$ac_objext conftest$ac_exeext
30921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30922 (eval $ac_link) 2>conftest.er1
30923 ac_status=$?
30924 grep -v '^ *+' conftest.er1 >conftest.err
30925 rm -f conftest.er1
30926 cat conftest.err >&5
30927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928 (exit $ac_status); } &&
30929 { ac_try='test -z "$ac_c_werror_flag"
30930 || test ! -s conftest.err'
30931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30932 (eval $ac_try) 2>&5
30933 ac_status=$?
30934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30935 (exit $ac_status); }; } &&
30936 { ac_try='test -s conftest$ac_exeext'
30937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30938 (eval $ac_try) 2>&5
30939 ac_status=$?
30940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30941 (exit $ac_status); }; }; then
30942 eval "$as_ac_var=yes"
30943 else
30944 echo "$as_me: failed program was:" >&5
30945 sed 's/^/| /' conftest.$ac_ext >&5
30947 eval "$as_ac_var=no"
30949 rm -f conftest.err conftest.$ac_objext \
30950 conftest$ac_exeext conftest.$ac_ext
30952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30954 if test `eval echo '${'$as_ac_var'}'` = yes; then
30955 cat >>confdefs.h <<_ACEOF
30956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30957 _ACEOF
30960 done
30970 echo "$as_me:$LINENO: checking for log10f declaration" >&5
30971 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
30972 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30973 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
30974 echo $ECHO_N "(cached) $ECHO_C" >&6
30975 else
30979 ac_ext=cc
30980 ac_cpp='$CXXCPP $CPPFLAGS'
30981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30985 cat >conftest.$ac_ext <<_ACEOF
30986 /* confdefs.h. */
30987 _ACEOF
30988 cat confdefs.h >>conftest.$ac_ext
30989 cat >>conftest.$ac_ext <<_ACEOF
30990 /* end confdefs.h. */
30991 #include <math.h>
30992 #ifdef HAVE_IEEEFP_H
30993 #include <ieeefp.h>
30994 #endif
30997 main ()
30999 log10f(0);
31001 return 0;
31003 _ACEOF
31004 rm -f conftest.$ac_objext
31005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31006 (eval $ac_compile) 2>conftest.er1
31007 ac_status=$?
31008 grep -v '^ *+' conftest.er1 >conftest.err
31009 rm -f conftest.er1
31010 cat conftest.err >&5
31011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31012 (exit $ac_status); } &&
31013 { ac_try='test -z "$ac_cxx_werror_flag"
31014 || test ! -s conftest.err'
31015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31016 (eval $ac_try) 2>&5
31017 ac_status=$?
31018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31019 (exit $ac_status); }; } &&
31020 { ac_try='test -s conftest.$ac_objext'
31021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31022 (eval $ac_try) 2>&5
31023 ac_status=$?
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); }; }; then
31026 glibcxx_cv_func_log10f_use=yes
31027 else
31028 echo "$as_me: failed program was:" >&5
31029 sed 's/^/| /' conftest.$ac_ext >&5
31031 glibcxx_cv_func_log10f_use=no
31033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31034 ac_ext=c
31035 ac_cpp='$CPP $CPPFLAGS'
31036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31044 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
31045 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
31047 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31049 for ac_func in log10f
31051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31052 echo "$as_me:$LINENO: checking for $ac_func" >&5
31053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31054 if eval "test \"\${$as_ac_var+set}\" = set"; then
31055 echo $ECHO_N "(cached) $ECHO_C" >&6
31056 else
31057 if test x$gcc_no_link = xyes; then
31058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31060 { (exit 1); exit 1; }; }
31062 cat >conftest.$ac_ext <<_ACEOF
31063 /* confdefs.h. */
31064 _ACEOF
31065 cat confdefs.h >>conftest.$ac_ext
31066 cat >>conftest.$ac_ext <<_ACEOF
31067 /* end confdefs.h. */
31068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31070 #define $ac_func innocuous_$ac_func
31072 /* System header to define __stub macros and hopefully few prototypes,
31073 which can conflict with char $ac_func (); below.
31074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31075 <limits.h> exists even on freestanding compilers. */
31077 #ifdef __STDC__
31078 # include <limits.h>
31079 #else
31080 # include <assert.h>
31081 #endif
31083 #undef $ac_func
31085 /* Override any gcc2 internal prototype to avoid an error. */
31086 #ifdef __cplusplus
31087 extern "C"
31089 #endif
31090 /* We use char because int might match the return type of a gcc2
31091 builtin and then its argument prototype would still apply. */
31092 char $ac_func ();
31093 /* The GNU C library defines this for functions which it implements
31094 to always fail with ENOSYS. Some functions are actually named
31095 something starting with __ and the normal name is an alias. */
31096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31097 choke me
31098 #else
31099 char (*f) () = $ac_func;
31100 #endif
31101 #ifdef __cplusplus
31103 #endif
31106 main ()
31108 return f != $ac_func;
31110 return 0;
31112 _ACEOF
31113 rm -f conftest.$ac_objext conftest$ac_exeext
31114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31115 (eval $ac_link) 2>conftest.er1
31116 ac_status=$?
31117 grep -v '^ *+' conftest.er1 >conftest.err
31118 rm -f conftest.er1
31119 cat conftest.err >&5
31120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31121 (exit $ac_status); } &&
31122 { ac_try='test -z "$ac_c_werror_flag"
31123 || test ! -s conftest.err'
31124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31125 (eval $ac_try) 2>&5
31126 ac_status=$?
31127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31128 (exit $ac_status); }; } &&
31129 { ac_try='test -s conftest$ac_exeext'
31130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31131 (eval $ac_try) 2>&5
31132 ac_status=$?
31133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31134 (exit $ac_status); }; }; then
31135 eval "$as_ac_var=yes"
31136 else
31137 echo "$as_me: failed program was:" >&5
31138 sed 's/^/| /' conftest.$ac_ext >&5
31140 eval "$as_ac_var=no"
31142 rm -f conftest.err conftest.$ac_objext \
31143 conftest$ac_exeext conftest.$ac_ext
31145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31147 if test `eval echo '${'$as_ac_var'}'` = yes; then
31148 cat >>confdefs.h <<_ACEOF
31149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31150 _ACEOF
31153 done
31155 else
31157 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
31158 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
31159 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31160 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
31161 echo $ECHO_N "(cached) $ECHO_C" >&6
31162 else
31166 ac_ext=cc
31167 ac_cpp='$CXXCPP $CPPFLAGS'
31168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31172 cat >conftest.$ac_ext <<_ACEOF
31173 /* confdefs.h. */
31174 _ACEOF
31175 cat confdefs.h >>conftest.$ac_ext
31176 cat >>conftest.$ac_ext <<_ACEOF
31177 /* end confdefs.h. */
31178 #include <math.h>
31179 #ifdef HAVE_IEEEFP_H
31180 #include <ieeefp.h>
31181 #endif
31184 main ()
31186 _log10f(0);
31188 return 0;
31190 _ACEOF
31191 rm -f conftest.$ac_objext
31192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31193 (eval $ac_compile) 2>conftest.er1
31194 ac_status=$?
31195 grep -v '^ *+' conftest.er1 >conftest.err
31196 rm -f conftest.er1
31197 cat conftest.err >&5
31198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199 (exit $ac_status); } &&
31200 { ac_try='test -z "$ac_cxx_werror_flag"
31201 || test ! -s conftest.err'
31202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31203 (eval $ac_try) 2>&5
31204 ac_status=$?
31205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31206 (exit $ac_status); }; } &&
31207 { ac_try='test -s conftest.$ac_objext'
31208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31209 (eval $ac_try) 2>&5
31210 ac_status=$?
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); }; }; then
31213 glibcxx_cv_func__log10f_use=yes
31214 else
31215 echo "$as_me: failed program was:" >&5
31216 sed 's/^/| /' conftest.$ac_ext >&5
31218 glibcxx_cv_func__log10f_use=no
31220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31221 ac_ext=c
31222 ac_cpp='$CPP $CPPFLAGS'
31223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31231 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
31232 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
31234 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31236 for ac_func in _log10f
31238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31239 echo "$as_me:$LINENO: checking for $ac_func" >&5
31240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31241 if eval "test \"\${$as_ac_var+set}\" = set"; then
31242 echo $ECHO_N "(cached) $ECHO_C" >&6
31243 else
31244 if test x$gcc_no_link = xyes; then
31245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31247 { (exit 1); exit 1; }; }
31249 cat >conftest.$ac_ext <<_ACEOF
31250 /* confdefs.h. */
31251 _ACEOF
31252 cat confdefs.h >>conftest.$ac_ext
31253 cat >>conftest.$ac_ext <<_ACEOF
31254 /* end confdefs.h. */
31255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31257 #define $ac_func innocuous_$ac_func
31259 /* System header to define __stub macros and hopefully few prototypes,
31260 which can conflict with char $ac_func (); below.
31261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31262 <limits.h> exists even on freestanding compilers. */
31264 #ifdef __STDC__
31265 # include <limits.h>
31266 #else
31267 # include <assert.h>
31268 #endif
31270 #undef $ac_func
31272 /* Override any gcc2 internal prototype to avoid an error. */
31273 #ifdef __cplusplus
31274 extern "C"
31276 #endif
31277 /* We use char because int might match the return type of a gcc2
31278 builtin and then its argument prototype would still apply. */
31279 char $ac_func ();
31280 /* The GNU C library defines this for functions which it implements
31281 to always fail with ENOSYS. Some functions are actually named
31282 something starting with __ and the normal name is an alias. */
31283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31284 choke me
31285 #else
31286 char (*f) () = $ac_func;
31287 #endif
31288 #ifdef __cplusplus
31290 #endif
31293 main ()
31295 return f != $ac_func;
31297 return 0;
31299 _ACEOF
31300 rm -f conftest.$ac_objext conftest$ac_exeext
31301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31302 (eval $ac_link) 2>conftest.er1
31303 ac_status=$?
31304 grep -v '^ *+' conftest.er1 >conftest.err
31305 rm -f conftest.er1
31306 cat conftest.err >&5
31307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31308 (exit $ac_status); } &&
31309 { ac_try='test -z "$ac_c_werror_flag"
31310 || test ! -s conftest.err'
31311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31312 (eval $ac_try) 2>&5
31313 ac_status=$?
31314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31315 (exit $ac_status); }; } &&
31316 { ac_try='test -s conftest$ac_exeext'
31317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31318 (eval $ac_try) 2>&5
31319 ac_status=$?
31320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31321 (exit $ac_status); }; }; then
31322 eval "$as_ac_var=yes"
31323 else
31324 echo "$as_me: failed program was:" >&5
31325 sed 's/^/| /' conftest.$ac_ext >&5
31327 eval "$as_ac_var=no"
31329 rm -f conftest.err conftest.$ac_objext \
31330 conftest$ac_exeext conftest.$ac_ext
31332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31334 if test `eval echo '${'$as_ac_var'}'` = yes; then
31335 cat >>confdefs.h <<_ACEOF
31336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31337 _ACEOF
31340 done
31350 echo "$as_me:$LINENO: checking for modff declaration" >&5
31351 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
31352 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31353 if test "${glibcxx_cv_func_modff_use+set}" = set; then
31354 echo $ECHO_N "(cached) $ECHO_C" >&6
31355 else
31359 ac_ext=cc
31360 ac_cpp='$CXXCPP $CPPFLAGS'
31361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31365 cat >conftest.$ac_ext <<_ACEOF
31366 /* confdefs.h. */
31367 _ACEOF
31368 cat confdefs.h >>conftest.$ac_ext
31369 cat >>conftest.$ac_ext <<_ACEOF
31370 /* end confdefs.h. */
31371 #include <math.h>
31373 main ()
31375 modff(0, 0);
31377 return 0;
31379 _ACEOF
31380 rm -f conftest.$ac_objext
31381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31382 (eval $ac_compile) 2>conftest.er1
31383 ac_status=$?
31384 grep -v '^ *+' conftest.er1 >conftest.err
31385 rm -f conftest.er1
31386 cat conftest.err >&5
31387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388 (exit $ac_status); } &&
31389 { ac_try='test -z "$ac_cxx_werror_flag"
31390 || test ! -s conftest.err'
31391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31392 (eval $ac_try) 2>&5
31393 ac_status=$?
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); }; } &&
31396 { ac_try='test -s conftest.$ac_objext'
31397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31398 (eval $ac_try) 2>&5
31399 ac_status=$?
31400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31401 (exit $ac_status); }; }; then
31402 glibcxx_cv_func_modff_use=yes
31403 else
31404 echo "$as_me: failed program was:" >&5
31405 sed 's/^/| /' conftest.$ac_ext >&5
31407 glibcxx_cv_func_modff_use=no
31409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31410 ac_ext=c
31411 ac_cpp='$CPP $CPPFLAGS'
31412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31420 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
31421 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
31423 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31425 for ac_func in modff
31427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31428 echo "$as_me:$LINENO: checking for $ac_func" >&5
31429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31430 if eval "test \"\${$as_ac_var+set}\" = set"; then
31431 echo $ECHO_N "(cached) $ECHO_C" >&6
31432 else
31433 if test x$gcc_no_link = xyes; then
31434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31436 { (exit 1); exit 1; }; }
31438 cat >conftest.$ac_ext <<_ACEOF
31439 /* confdefs.h. */
31440 _ACEOF
31441 cat confdefs.h >>conftest.$ac_ext
31442 cat >>conftest.$ac_ext <<_ACEOF
31443 /* end confdefs.h. */
31444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31446 #define $ac_func innocuous_$ac_func
31448 /* System header to define __stub macros and hopefully few prototypes,
31449 which can conflict with char $ac_func (); below.
31450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31451 <limits.h> exists even on freestanding compilers. */
31453 #ifdef __STDC__
31454 # include <limits.h>
31455 #else
31456 # include <assert.h>
31457 #endif
31459 #undef $ac_func
31461 /* Override any gcc2 internal prototype to avoid an error. */
31462 #ifdef __cplusplus
31463 extern "C"
31465 #endif
31466 /* We use char because int might match the return type of a gcc2
31467 builtin and then its argument prototype would still apply. */
31468 char $ac_func ();
31469 /* The GNU C library defines this for functions which it implements
31470 to always fail with ENOSYS. Some functions are actually named
31471 something starting with __ and the normal name is an alias. */
31472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31473 choke me
31474 #else
31475 char (*f) () = $ac_func;
31476 #endif
31477 #ifdef __cplusplus
31479 #endif
31482 main ()
31484 return f != $ac_func;
31486 return 0;
31488 _ACEOF
31489 rm -f conftest.$ac_objext conftest$ac_exeext
31490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31491 (eval $ac_link) 2>conftest.er1
31492 ac_status=$?
31493 grep -v '^ *+' conftest.er1 >conftest.err
31494 rm -f conftest.er1
31495 cat conftest.err >&5
31496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31497 (exit $ac_status); } &&
31498 { ac_try='test -z "$ac_c_werror_flag"
31499 || test ! -s conftest.err'
31500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31501 (eval $ac_try) 2>&5
31502 ac_status=$?
31503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31504 (exit $ac_status); }; } &&
31505 { ac_try='test -s conftest$ac_exeext'
31506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31507 (eval $ac_try) 2>&5
31508 ac_status=$?
31509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31510 (exit $ac_status); }; }; then
31511 eval "$as_ac_var=yes"
31512 else
31513 echo "$as_me: failed program was:" >&5
31514 sed 's/^/| /' conftest.$ac_ext >&5
31516 eval "$as_ac_var=no"
31518 rm -f conftest.err conftest.$ac_objext \
31519 conftest$ac_exeext conftest.$ac_ext
31521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31523 if test `eval echo '${'$as_ac_var'}'` = yes; then
31524 cat >>confdefs.h <<_ACEOF
31525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31526 _ACEOF
31529 done
31531 else
31533 echo "$as_me:$LINENO: checking for _modff declaration" >&5
31534 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
31535 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31536 if test "${glibcxx_cv_func__modff_use+set}" = set; then
31537 echo $ECHO_N "(cached) $ECHO_C" >&6
31538 else
31542 ac_ext=cc
31543 ac_cpp='$CXXCPP $CPPFLAGS'
31544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31548 cat >conftest.$ac_ext <<_ACEOF
31549 /* confdefs.h. */
31550 _ACEOF
31551 cat confdefs.h >>conftest.$ac_ext
31552 cat >>conftest.$ac_ext <<_ACEOF
31553 /* end confdefs.h. */
31554 #include <math.h>
31556 main ()
31558 _modff(0, 0);
31560 return 0;
31562 _ACEOF
31563 rm -f conftest.$ac_objext
31564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31565 (eval $ac_compile) 2>conftest.er1
31566 ac_status=$?
31567 grep -v '^ *+' conftest.er1 >conftest.err
31568 rm -f conftest.er1
31569 cat conftest.err >&5
31570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31571 (exit $ac_status); } &&
31572 { ac_try='test -z "$ac_cxx_werror_flag"
31573 || test ! -s conftest.err'
31574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31575 (eval $ac_try) 2>&5
31576 ac_status=$?
31577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31578 (exit $ac_status); }; } &&
31579 { ac_try='test -s conftest.$ac_objext'
31580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31581 (eval $ac_try) 2>&5
31582 ac_status=$?
31583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31584 (exit $ac_status); }; }; then
31585 glibcxx_cv_func__modff_use=yes
31586 else
31587 echo "$as_me: failed program was:" >&5
31588 sed 's/^/| /' conftest.$ac_ext >&5
31590 glibcxx_cv_func__modff_use=no
31592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31593 ac_ext=c
31594 ac_cpp='$CPP $CPPFLAGS'
31595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31603 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
31604 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
31606 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31608 for ac_func in _modff
31610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31611 echo "$as_me:$LINENO: checking for $ac_func" >&5
31612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31613 if eval "test \"\${$as_ac_var+set}\" = set"; then
31614 echo $ECHO_N "(cached) $ECHO_C" >&6
31615 else
31616 if test x$gcc_no_link = xyes; then
31617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31619 { (exit 1); exit 1; }; }
31621 cat >conftest.$ac_ext <<_ACEOF
31622 /* confdefs.h. */
31623 _ACEOF
31624 cat confdefs.h >>conftest.$ac_ext
31625 cat >>conftest.$ac_ext <<_ACEOF
31626 /* end confdefs.h. */
31627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31629 #define $ac_func innocuous_$ac_func
31631 /* System header to define __stub macros and hopefully few prototypes,
31632 which can conflict with char $ac_func (); below.
31633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31634 <limits.h> exists even on freestanding compilers. */
31636 #ifdef __STDC__
31637 # include <limits.h>
31638 #else
31639 # include <assert.h>
31640 #endif
31642 #undef $ac_func
31644 /* Override any gcc2 internal prototype to avoid an error. */
31645 #ifdef __cplusplus
31646 extern "C"
31648 #endif
31649 /* We use char because int might match the return type of a gcc2
31650 builtin and then its argument prototype would still apply. */
31651 char $ac_func ();
31652 /* The GNU C library defines this for functions which it implements
31653 to always fail with ENOSYS. Some functions are actually named
31654 something starting with __ and the normal name is an alias. */
31655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31656 choke me
31657 #else
31658 char (*f) () = $ac_func;
31659 #endif
31660 #ifdef __cplusplus
31662 #endif
31665 main ()
31667 return f != $ac_func;
31669 return 0;
31671 _ACEOF
31672 rm -f conftest.$ac_objext conftest$ac_exeext
31673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31674 (eval $ac_link) 2>conftest.er1
31675 ac_status=$?
31676 grep -v '^ *+' conftest.er1 >conftest.err
31677 rm -f conftest.er1
31678 cat conftest.err >&5
31679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31680 (exit $ac_status); } &&
31681 { ac_try='test -z "$ac_c_werror_flag"
31682 || test ! -s conftest.err'
31683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31684 (eval $ac_try) 2>&5
31685 ac_status=$?
31686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31687 (exit $ac_status); }; } &&
31688 { ac_try='test -s conftest$ac_exeext'
31689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31690 (eval $ac_try) 2>&5
31691 ac_status=$?
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); }; }; then
31694 eval "$as_ac_var=yes"
31695 else
31696 echo "$as_me: failed program was:" >&5
31697 sed 's/^/| /' conftest.$ac_ext >&5
31699 eval "$as_ac_var=no"
31701 rm -f conftest.err conftest.$ac_objext \
31702 conftest$ac_exeext conftest.$ac_ext
31704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31706 if test `eval echo '${'$as_ac_var'}'` = yes; then
31707 cat >>confdefs.h <<_ACEOF
31708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31709 _ACEOF
31712 done
31722 echo "$as_me:$LINENO: checking for modf declaration" >&5
31723 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
31724 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31725 if test "${glibcxx_cv_func_modf_use+set}" = set; then
31726 echo $ECHO_N "(cached) $ECHO_C" >&6
31727 else
31731 ac_ext=cc
31732 ac_cpp='$CXXCPP $CPPFLAGS'
31733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31737 cat >conftest.$ac_ext <<_ACEOF
31738 /* confdefs.h. */
31739 _ACEOF
31740 cat confdefs.h >>conftest.$ac_ext
31741 cat >>conftest.$ac_ext <<_ACEOF
31742 /* end confdefs.h. */
31743 #include <math.h>
31745 main ()
31747 modf(0, 0);
31749 return 0;
31751 _ACEOF
31752 rm -f conftest.$ac_objext
31753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31754 (eval $ac_compile) 2>conftest.er1
31755 ac_status=$?
31756 grep -v '^ *+' conftest.er1 >conftest.err
31757 rm -f conftest.er1
31758 cat conftest.err >&5
31759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31760 (exit $ac_status); } &&
31761 { ac_try='test -z "$ac_cxx_werror_flag"
31762 || test ! -s conftest.err'
31763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31764 (eval $ac_try) 2>&5
31765 ac_status=$?
31766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31767 (exit $ac_status); }; } &&
31768 { ac_try='test -s conftest.$ac_objext'
31769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31770 (eval $ac_try) 2>&5
31771 ac_status=$?
31772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31773 (exit $ac_status); }; }; then
31774 glibcxx_cv_func_modf_use=yes
31775 else
31776 echo "$as_me: failed program was:" >&5
31777 sed 's/^/| /' conftest.$ac_ext >&5
31779 glibcxx_cv_func_modf_use=no
31781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31782 ac_ext=c
31783 ac_cpp='$CPP $CPPFLAGS'
31784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31792 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
31793 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
31795 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31797 for ac_func in modf
31799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31800 echo "$as_me:$LINENO: checking for $ac_func" >&5
31801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31802 if eval "test \"\${$as_ac_var+set}\" = set"; then
31803 echo $ECHO_N "(cached) $ECHO_C" >&6
31804 else
31805 if test x$gcc_no_link = xyes; then
31806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31808 { (exit 1); exit 1; }; }
31810 cat >conftest.$ac_ext <<_ACEOF
31811 /* confdefs.h. */
31812 _ACEOF
31813 cat confdefs.h >>conftest.$ac_ext
31814 cat >>conftest.$ac_ext <<_ACEOF
31815 /* end confdefs.h. */
31816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31818 #define $ac_func innocuous_$ac_func
31820 /* System header to define __stub macros and hopefully few prototypes,
31821 which can conflict with char $ac_func (); below.
31822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31823 <limits.h> exists even on freestanding compilers. */
31825 #ifdef __STDC__
31826 # include <limits.h>
31827 #else
31828 # include <assert.h>
31829 #endif
31831 #undef $ac_func
31833 /* Override any gcc2 internal prototype to avoid an error. */
31834 #ifdef __cplusplus
31835 extern "C"
31837 #endif
31838 /* We use char because int might match the return type of a gcc2
31839 builtin and then its argument prototype would still apply. */
31840 char $ac_func ();
31841 /* The GNU C library defines this for functions which it implements
31842 to always fail with ENOSYS. Some functions are actually named
31843 something starting with __ and the normal name is an alias. */
31844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31845 choke me
31846 #else
31847 char (*f) () = $ac_func;
31848 #endif
31849 #ifdef __cplusplus
31851 #endif
31854 main ()
31856 return f != $ac_func;
31858 return 0;
31860 _ACEOF
31861 rm -f conftest.$ac_objext conftest$ac_exeext
31862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31863 (eval $ac_link) 2>conftest.er1
31864 ac_status=$?
31865 grep -v '^ *+' conftest.er1 >conftest.err
31866 rm -f conftest.er1
31867 cat conftest.err >&5
31868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31869 (exit $ac_status); } &&
31870 { ac_try='test -z "$ac_c_werror_flag"
31871 || test ! -s conftest.err'
31872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31873 (eval $ac_try) 2>&5
31874 ac_status=$?
31875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31876 (exit $ac_status); }; } &&
31877 { ac_try='test -s conftest$ac_exeext'
31878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31879 (eval $ac_try) 2>&5
31880 ac_status=$?
31881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31882 (exit $ac_status); }; }; then
31883 eval "$as_ac_var=yes"
31884 else
31885 echo "$as_me: failed program was:" >&5
31886 sed 's/^/| /' conftest.$ac_ext >&5
31888 eval "$as_ac_var=no"
31890 rm -f conftest.err conftest.$ac_objext \
31891 conftest$ac_exeext conftest.$ac_ext
31893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31895 if test `eval echo '${'$as_ac_var'}'` = yes; then
31896 cat >>confdefs.h <<_ACEOF
31897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31898 _ACEOF
31901 done
31903 else
31905 echo "$as_me:$LINENO: checking for _modf declaration" >&5
31906 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
31907 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31908 if test "${glibcxx_cv_func__modf_use+set}" = set; then
31909 echo $ECHO_N "(cached) $ECHO_C" >&6
31910 else
31914 ac_ext=cc
31915 ac_cpp='$CXXCPP $CPPFLAGS'
31916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31920 cat >conftest.$ac_ext <<_ACEOF
31921 /* confdefs.h. */
31922 _ACEOF
31923 cat confdefs.h >>conftest.$ac_ext
31924 cat >>conftest.$ac_ext <<_ACEOF
31925 /* end confdefs.h. */
31926 #include <math.h>
31928 main ()
31930 _modf(0, 0);
31932 return 0;
31934 _ACEOF
31935 rm -f conftest.$ac_objext
31936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31937 (eval $ac_compile) 2>conftest.er1
31938 ac_status=$?
31939 grep -v '^ *+' conftest.er1 >conftest.err
31940 rm -f conftest.er1
31941 cat conftest.err >&5
31942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31943 (exit $ac_status); } &&
31944 { ac_try='test -z "$ac_cxx_werror_flag"
31945 || test ! -s conftest.err'
31946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31947 (eval $ac_try) 2>&5
31948 ac_status=$?
31949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31950 (exit $ac_status); }; } &&
31951 { ac_try='test -s conftest.$ac_objext'
31952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31953 (eval $ac_try) 2>&5
31954 ac_status=$?
31955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31956 (exit $ac_status); }; }; then
31957 glibcxx_cv_func__modf_use=yes
31958 else
31959 echo "$as_me: failed program was:" >&5
31960 sed 's/^/| /' conftest.$ac_ext >&5
31962 glibcxx_cv_func__modf_use=no
31964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31965 ac_ext=c
31966 ac_cpp='$CPP $CPPFLAGS'
31967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31975 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
31976 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
31978 if test x$glibcxx_cv_func__modf_use = x"yes"; then
31980 for ac_func in _modf
31982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31983 echo "$as_me:$LINENO: checking for $ac_func" >&5
31984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31985 if eval "test \"\${$as_ac_var+set}\" = set"; then
31986 echo $ECHO_N "(cached) $ECHO_C" >&6
31987 else
31988 if test x$gcc_no_link = xyes; then
31989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31991 { (exit 1); exit 1; }; }
31993 cat >conftest.$ac_ext <<_ACEOF
31994 /* confdefs.h. */
31995 _ACEOF
31996 cat confdefs.h >>conftest.$ac_ext
31997 cat >>conftest.$ac_ext <<_ACEOF
31998 /* end confdefs.h. */
31999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32001 #define $ac_func innocuous_$ac_func
32003 /* System header to define __stub macros and hopefully few prototypes,
32004 which can conflict with char $ac_func (); below.
32005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32006 <limits.h> exists even on freestanding compilers. */
32008 #ifdef __STDC__
32009 # include <limits.h>
32010 #else
32011 # include <assert.h>
32012 #endif
32014 #undef $ac_func
32016 /* Override any gcc2 internal prototype to avoid an error. */
32017 #ifdef __cplusplus
32018 extern "C"
32020 #endif
32021 /* We use char because int might match the return type of a gcc2
32022 builtin and then its argument prototype would still apply. */
32023 char $ac_func ();
32024 /* The GNU C library defines this for functions which it implements
32025 to always fail with ENOSYS. Some functions are actually named
32026 something starting with __ and the normal name is an alias. */
32027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32028 choke me
32029 #else
32030 char (*f) () = $ac_func;
32031 #endif
32032 #ifdef __cplusplus
32034 #endif
32037 main ()
32039 return f != $ac_func;
32041 return 0;
32043 _ACEOF
32044 rm -f conftest.$ac_objext conftest$ac_exeext
32045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32046 (eval $ac_link) 2>conftest.er1
32047 ac_status=$?
32048 grep -v '^ *+' conftest.er1 >conftest.err
32049 rm -f conftest.er1
32050 cat conftest.err >&5
32051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32052 (exit $ac_status); } &&
32053 { ac_try='test -z "$ac_c_werror_flag"
32054 || test ! -s conftest.err'
32055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32056 (eval $ac_try) 2>&5
32057 ac_status=$?
32058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32059 (exit $ac_status); }; } &&
32060 { ac_try='test -s conftest$ac_exeext'
32061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32062 (eval $ac_try) 2>&5
32063 ac_status=$?
32064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32065 (exit $ac_status); }; }; then
32066 eval "$as_ac_var=yes"
32067 else
32068 echo "$as_me: failed program was:" >&5
32069 sed 's/^/| /' conftest.$ac_ext >&5
32071 eval "$as_ac_var=no"
32073 rm -f conftest.err conftest.$ac_objext \
32074 conftest$ac_exeext conftest.$ac_ext
32076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32078 if test `eval echo '${'$as_ac_var'}'` = yes; then
32079 cat >>confdefs.h <<_ACEOF
32080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32081 _ACEOF
32084 done
32094 echo "$as_me:$LINENO: checking for powf declaration" >&5
32095 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
32096 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32097 if test "${glibcxx_cv_func_powf_use+set}" = set; then
32098 echo $ECHO_N "(cached) $ECHO_C" >&6
32099 else
32103 ac_ext=cc
32104 ac_cpp='$CXXCPP $CPPFLAGS'
32105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32109 cat >conftest.$ac_ext <<_ACEOF
32110 /* confdefs.h. */
32111 _ACEOF
32112 cat confdefs.h >>conftest.$ac_ext
32113 cat >>conftest.$ac_ext <<_ACEOF
32114 /* end confdefs.h. */
32115 #include <math.h>
32117 main ()
32119 powf(0, 0);
32121 return 0;
32123 _ACEOF
32124 rm -f conftest.$ac_objext
32125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32126 (eval $ac_compile) 2>conftest.er1
32127 ac_status=$?
32128 grep -v '^ *+' conftest.er1 >conftest.err
32129 rm -f conftest.er1
32130 cat conftest.err >&5
32131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32132 (exit $ac_status); } &&
32133 { ac_try='test -z "$ac_cxx_werror_flag"
32134 || test ! -s conftest.err'
32135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32136 (eval $ac_try) 2>&5
32137 ac_status=$?
32138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32139 (exit $ac_status); }; } &&
32140 { ac_try='test -s conftest.$ac_objext'
32141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32142 (eval $ac_try) 2>&5
32143 ac_status=$?
32144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32145 (exit $ac_status); }; }; then
32146 glibcxx_cv_func_powf_use=yes
32147 else
32148 echo "$as_me: failed program was:" >&5
32149 sed 's/^/| /' conftest.$ac_ext >&5
32151 glibcxx_cv_func_powf_use=no
32153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32154 ac_ext=c
32155 ac_cpp='$CPP $CPPFLAGS'
32156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32164 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
32165 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
32167 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32169 for ac_func in powf
32171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32172 echo "$as_me:$LINENO: checking for $ac_func" >&5
32173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32174 if eval "test \"\${$as_ac_var+set}\" = set"; then
32175 echo $ECHO_N "(cached) $ECHO_C" >&6
32176 else
32177 if test x$gcc_no_link = xyes; then
32178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32180 { (exit 1); exit 1; }; }
32182 cat >conftest.$ac_ext <<_ACEOF
32183 /* confdefs.h. */
32184 _ACEOF
32185 cat confdefs.h >>conftest.$ac_ext
32186 cat >>conftest.$ac_ext <<_ACEOF
32187 /* end confdefs.h. */
32188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32190 #define $ac_func innocuous_$ac_func
32192 /* System header to define __stub macros and hopefully few prototypes,
32193 which can conflict with char $ac_func (); below.
32194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32195 <limits.h> exists even on freestanding compilers. */
32197 #ifdef __STDC__
32198 # include <limits.h>
32199 #else
32200 # include <assert.h>
32201 #endif
32203 #undef $ac_func
32205 /* Override any gcc2 internal prototype to avoid an error. */
32206 #ifdef __cplusplus
32207 extern "C"
32209 #endif
32210 /* We use char because int might match the return type of a gcc2
32211 builtin and then its argument prototype would still apply. */
32212 char $ac_func ();
32213 /* The GNU C library defines this for functions which it implements
32214 to always fail with ENOSYS. Some functions are actually named
32215 something starting with __ and the normal name is an alias. */
32216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32217 choke me
32218 #else
32219 char (*f) () = $ac_func;
32220 #endif
32221 #ifdef __cplusplus
32223 #endif
32226 main ()
32228 return f != $ac_func;
32230 return 0;
32232 _ACEOF
32233 rm -f conftest.$ac_objext conftest$ac_exeext
32234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32235 (eval $ac_link) 2>conftest.er1
32236 ac_status=$?
32237 grep -v '^ *+' conftest.er1 >conftest.err
32238 rm -f conftest.er1
32239 cat conftest.err >&5
32240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32241 (exit $ac_status); } &&
32242 { ac_try='test -z "$ac_c_werror_flag"
32243 || test ! -s conftest.err'
32244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32245 (eval $ac_try) 2>&5
32246 ac_status=$?
32247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32248 (exit $ac_status); }; } &&
32249 { ac_try='test -s conftest$ac_exeext'
32250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32251 (eval $ac_try) 2>&5
32252 ac_status=$?
32253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32254 (exit $ac_status); }; }; then
32255 eval "$as_ac_var=yes"
32256 else
32257 echo "$as_me: failed program was:" >&5
32258 sed 's/^/| /' conftest.$ac_ext >&5
32260 eval "$as_ac_var=no"
32262 rm -f conftest.err conftest.$ac_objext \
32263 conftest$ac_exeext conftest.$ac_ext
32265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32267 if test `eval echo '${'$as_ac_var'}'` = yes; then
32268 cat >>confdefs.h <<_ACEOF
32269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32270 _ACEOF
32273 done
32275 else
32277 echo "$as_me:$LINENO: checking for _powf declaration" >&5
32278 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
32279 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32280 if test "${glibcxx_cv_func__powf_use+set}" = set; then
32281 echo $ECHO_N "(cached) $ECHO_C" >&6
32282 else
32286 ac_ext=cc
32287 ac_cpp='$CXXCPP $CPPFLAGS'
32288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32292 cat >conftest.$ac_ext <<_ACEOF
32293 /* confdefs.h. */
32294 _ACEOF
32295 cat confdefs.h >>conftest.$ac_ext
32296 cat >>conftest.$ac_ext <<_ACEOF
32297 /* end confdefs.h. */
32298 #include <math.h>
32300 main ()
32302 _powf(0, 0);
32304 return 0;
32306 _ACEOF
32307 rm -f conftest.$ac_objext
32308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32309 (eval $ac_compile) 2>conftest.er1
32310 ac_status=$?
32311 grep -v '^ *+' conftest.er1 >conftest.err
32312 rm -f conftest.er1
32313 cat conftest.err >&5
32314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32315 (exit $ac_status); } &&
32316 { ac_try='test -z "$ac_cxx_werror_flag"
32317 || test ! -s conftest.err'
32318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32319 (eval $ac_try) 2>&5
32320 ac_status=$?
32321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32322 (exit $ac_status); }; } &&
32323 { ac_try='test -s conftest.$ac_objext'
32324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32325 (eval $ac_try) 2>&5
32326 ac_status=$?
32327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32328 (exit $ac_status); }; }; then
32329 glibcxx_cv_func__powf_use=yes
32330 else
32331 echo "$as_me: failed program was:" >&5
32332 sed 's/^/| /' conftest.$ac_ext >&5
32334 glibcxx_cv_func__powf_use=no
32336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32337 ac_ext=c
32338 ac_cpp='$CPP $CPPFLAGS'
32339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32347 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
32348 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
32350 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32352 for ac_func in _powf
32354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32355 echo "$as_me:$LINENO: checking for $ac_func" >&5
32356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32357 if eval "test \"\${$as_ac_var+set}\" = set"; then
32358 echo $ECHO_N "(cached) $ECHO_C" >&6
32359 else
32360 if test x$gcc_no_link = xyes; then
32361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32363 { (exit 1); exit 1; }; }
32365 cat >conftest.$ac_ext <<_ACEOF
32366 /* confdefs.h. */
32367 _ACEOF
32368 cat confdefs.h >>conftest.$ac_ext
32369 cat >>conftest.$ac_ext <<_ACEOF
32370 /* end confdefs.h. */
32371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32373 #define $ac_func innocuous_$ac_func
32375 /* System header to define __stub macros and hopefully few prototypes,
32376 which can conflict with char $ac_func (); below.
32377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32378 <limits.h> exists even on freestanding compilers. */
32380 #ifdef __STDC__
32381 # include <limits.h>
32382 #else
32383 # include <assert.h>
32384 #endif
32386 #undef $ac_func
32388 /* Override any gcc2 internal prototype to avoid an error. */
32389 #ifdef __cplusplus
32390 extern "C"
32392 #endif
32393 /* We use char because int might match the return type of a gcc2
32394 builtin and then its argument prototype would still apply. */
32395 char $ac_func ();
32396 /* The GNU C library defines this for functions which it implements
32397 to always fail with ENOSYS. Some functions are actually named
32398 something starting with __ and the normal name is an alias. */
32399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32400 choke me
32401 #else
32402 char (*f) () = $ac_func;
32403 #endif
32404 #ifdef __cplusplus
32406 #endif
32409 main ()
32411 return f != $ac_func;
32413 return 0;
32415 _ACEOF
32416 rm -f conftest.$ac_objext conftest$ac_exeext
32417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32418 (eval $ac_link) 2>conftest.er1
32419 ac_status=$?
32420 grep -v '^ *+' conftest.er1 >conftest.err
32421 rm -f conftest.er1
32422 cat conftest.err >&5
32423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32424 (exit $ac_status); } &&
32425 { ac_try='test -z "$ac_c_werror_flag"
32426 || test ! -s conftest.err'
32427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32428 (eval $ac_try) 2>&5
32429 ac_status=$?
32430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431 (exit $ac_status); }; } &&
32432 { ac_try='test -s conftest$ac_exeext'
32433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32434 (eval $ac_try) 2>&5
32435 ac_status=$?
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); }; }; then
32438 eval "$as_ac_var=yes"
32439 else
32440 echo "$as_me: failed program was:" >&5
32441 sed 's/^/| /' conftest.$ac_ext >&5
32443 eval "$as_ac_var=no"
32445 rm -f conftest.err conftest.$ac_objext \
32446 conftest$ac_exeext conftest.$ac_ext
32448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32450 if test `eval echo '${'$as_ac_var'}'` = yes; then
32451 cat >>confdefs.h <<_ACEOF
32452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32453 _ACEOF
32456 done
32466 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
32467 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
32468 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32469 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
32470 echo $ECHO_N "(cached) $ECHO_C" >&6
32471 else
32475 ac_ext=cc
32476 ac_cpp='$CXXCPP $CPPFLAGS'
32477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32481 cat >conftest.$ac_ext <<_ACEOF
32482 /* confdefs.h. */
32483 _ACEOF
32484 cat confdefs.h >>conftest.$ac_ext
32485 cat >>conftest.$ac_ext <<_ACEOF
32486 /* end confdefs.h. */
32487 #include <math.h>
32488 #ifdef HAVE_IEEEFP_H
32489 #include <ieeefp.h>
32490 #endif
32493 main ()
32495 sqrtf(0);
32497 return 0;
32499 _ACEOF
32500 rm -f conftest.$ac_objext
32501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32502 (eval $ac_compile) 2>conftest.er1
32503 ac_status=$?
32504 grep -v '^ *+' conftest.er1 >conftest.err
32505 rm -f conftest.er1
32506 cat conftest.err >&5
32507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508 (exit $ac_status); } &&
32509 { ac_try='test -z "$ac_cxx_werror_flag"
32510 || test ! -s conftest.err'
32511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32512 (eval $ac_try) 2>&5
32513 ac_status=$?
32514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32515 (exit $ac_status); }; } &&
32516 { ac_try='test -s conftest.$ac_objext'
32517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32518 (eval $ac_try) 2>&5
32519 ac_status=$?
32520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32521 (exit $ac_status); }; }; then
32522 glibcxx_cv_func_sqrtf_use=yes
32523 else
32524 echo "$as_me: failed program was:" >&5
32525 sed 's/^/| /' conftest.$ac_ext >&5
32527 glibcxx_cv_func_sqrtf_use=no
32529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32530 ac_ext=c
32531 ac_cpp='$CPP $CPPFLAGS'
32532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32540 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
32541 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
32543 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32545 for ac_func in sqrtf
32547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32548 echo "$as_me:$LINENO: checking for $ac_func" >&5
32549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32550 if eval "test \"\${$as_ac_var+set}\" = set"; then
32551 echo $ECHO_N "(cached) $ECHO_C" >&6
32552 else
32553 if test x$gcc_no_link = xyes; then
32554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32556 { (exit 1); exit 1; }; }
32558 cat >conftest.$ac_ext <<_ACEOF
32559 /* confdefs.h. */
32560 _ACEOF
32561 cat confdefs.h >>conftest.$ac_ext
32562 cat >>conftest.$ac_ext <<_ACEOF
32563 /* end confdefs.h. */
32564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32566 #define $ac_func innocuous_$ac_func
32568 /* System header to define __stub macros and hopefully few prototypes,
32569 which can conflict with char $ac_func (); below.
32570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32571 <limits.h> exists even on freestanding compilers. */
32573 #ifdef __STDC__
32574 # include <limits.h>
32575 #else
32576 # include <assert.h>
32577 #endif
32579 #undef $ac_func
32581 /* Override any gcc2 internal prototype to avoid an error. */
32582 #ifdef __cplusplus
32583 extern "C"
32585 #endif
32586 /* We use char because int might match the return type of a gcc2
32587 builtin and then its argument prototype would still apply. */
32588 char $ac_func ();
32589 /* The GNU C library defines this for functions which it implements
32590 to always fail with ENOSYS. Some functions are actually named
32591 something starting with __ and the normal name is an alias. */
32592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32593 choke me
32594 #else
32595 char (*f) () = $ac_func;
32596 #endif
32597 #ifdef __cplusplus
32599 #endif
32602 main ()
32604 return f != $ac_func;
32606 return 0;
32608 _ACEOF
32609 rm -f conftest.$ac_objext conftest$ac_exeext
32610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32611 (eval $ac_link) 2>conftest.er1
32612 ac_status=$?
32613 grep -v '^ *+' conftest.er1 >conftest.err
32614 rm -f conftest.er1
32615 cat conftest.err >&5
32616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617 (exit $ac_status); } &&
32618 { ac_try='test -z "$ac_c_werror_flag"
32619 || test ! -s conftest.err'
32620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32621 (eval $ac_try) 2>&5
32622 ac_status=$?
32623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32624 (exit $ac_status); }; } &&
32625 { ac_try='test -s conftest$ac_exeext'
32626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32627 (eval $ac_try) 2>&5
32628 ac_status=$?
32629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32630 (exit $ac_status); }; }; then
32631 eval "$as_ac_var=yes"
32632 else
32633 echo "$as_me: failed program was:" >&5
32634 sed 's/^/| /' conftest.$ac_ext >&5
32636 eval "$as_ac_var=no"
32638 rm -f conftest.err conftest.$ac_objext \
32639 conftest$ac_exeext conftest.$ac_ext
32641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32643 if test `eval echo '${'$as_ac_var'}'` = yes; then
32644 cat >>confdefs.h <<_ACEOF
32645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32646 _ACEOF
32649 done
32651 else
32653 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
32654 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
32655 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32656 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
32657 echo $ECHO_N "(cached) $ECHO_C" >&6
32658 else
32662 ac_ext=cc
32663 ac_cpp='$CXXCPP $CPPFLAGS'
32664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32668 cat >conftest.$ac_ext <<_ACEOF
32669 /* confdefs.h. */
32670 _ACEOF
32671 cat confdefs.h >>conftest.$ac_ext
32672 cat >>conftest.$ac_ext <<_ACEOF
32673 /* end confdefs.h. */
32674 #include <math.h>
32675 #ifdef HAVE_IEEEFP_H
32676 #include <ieeefp.h>
32677 #endif
32680 main ()
32682 _sqrtf(0);
32684 return 0;
32686 _ACEOF
32687 rm -f conftest.$ac_objext
32688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32689 (eval $ac_compile) 2>conftest.er1
32690 ac_status=$?
32691 grep -v '^ *+' conftest.er1 >conftest.err
32692 rm -f conftest.er1
32693 cat conftest.err >&5
32694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32695 (exit $ac_status); } &&
32696 { ac_try='test -z "$ac_cxx_werror_flag"
32697 || test ! -s conftest.err'
32698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32699 (eval $ac_try) 2>&5
32700 ac_status=$?
32701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32702 (exit $ac_status); }; } &&
32703 { ac_try='test -s conftest.$ac_objext'
32704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32705 (eval $ac_try) 2>&5
32706 ac_status=$?
32707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32708 (exit $ac_status); }; }; then
32709 glibcxx_cv_func__sqrtf_use=yes
32710 else
32711 echo "$as_me: failed program was:" >&5
32712 sed 's/^/| /' conftest.$ac_ext >&5
32714 glibcxx_cv_func__sqrtf_use=no
32716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32717 ac_ext=c
32718 ac_cpp='$CPP $CPPFLAGS'
32719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32727 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
32728 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
32730 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32732 for ac_func in _sqrtf
32734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32735 echo "$as_me:$LINENO: checking for $ac_func" >&5
32736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32737 if eval "test \"\${$as_ac_var+set}\" = set"; then
32738 echo $ECHO_N "(cached) $ECHO_C" >&6
32739 else
32740 if test x$gcc_no_link = xyes; then
32741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32743 { (exit 1); exit 1; }; }
32745 cat >conftest.$ac_ext <<_ACEOF
32746 /* confdefs.h. */
32747 _ACEOF
32748 cat confdefs.h >>conftest.$ac_ext
32749 cat >>conftest.$ac_ext <<_ACEOF
32750 /* end confdefs.h. */
32751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32753 #define $ac_func innocuous_$ac_func
32755 /* System header to define __stub macros and hopefully few prototypes,
32756 which can conflict with char $ac_func (); below.
32757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32758 <limits.h> exists even on freestanding compilers. */
32760 #ifdef __STDC__
32761 # include <limits.h>
32762 #else
32763 # include <assert.h>
32764 #endif
32766 #undef $ac_func
32768 /* Override any gcc2 internal prototype to avoid an error. */
32769 #ifdef __cplusplus
32770 extern "C"
32772 #endif
32773 /* We use char because int might match the return type of a gcc2
32774 builtin and then its argument prototype would still apply. */
32775 char $ac_func ();
32776 /* The GNU C library defines this for functions which it implements
32777 to always fail with ENOSYS. Some functions are actually named
32778 something starting with __ and the normal name is an alias. */
32779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32780 choke me
32781 #else
32782 char (*f) () = $ac_func;
32783 #endif
32784 #ifdef __cplusplus
32786 #endif
32789 main ()
32791 return f != $ac_func;
32793 return 0;
32795 _ACEOF
32796 rm -f conftest.$ac_objext conftest$ac_exeext
32797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32798 (eval $ac_link) 2>conftest.er1
32799 ac_status=$?
32800 grep -v '^ *+' conftest.er1 >conftest.err
32801 rm -f conftest.er1
32802 cat conftest.err >&5
32803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32804 (exit $ac_status); } &&
32805 { ac_try='test -z "$ac_c_werror_flag"
32806 || test ! -s conftest.err'
32807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32808 (eval $ac_try) 2>&5
32809 ac_status=$?
32810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32811 (exit $ac_status); }; } &&
32812 { ac_try='test -s conftest$ac_exeext'
32813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32814 (eval $ac_try) 2>&5
32815 ac_status=$?
32816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32817 (exit $ac_status); }; }; then
32818 eval "$as_ac_var=yes"
32819 else
32820 echo "$as_me: failed program was:" >&5
32821 sed 's/^/| /' conftest.$ac_ext >&5
32823 eval "$as_ac_var=no"
32825 rm -f conftest.err conftest.$ac_objext \
32826 conftest$ac_exeext conftest.$ac_ext
32828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32830 if test `eval echo '${'$as_ac_var'}'` = yes; then
32831 cat >>confdefs.h <<_ACEOF
32832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32833 _ACEOF
32836 done
32846 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
32847 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
32848 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32849 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
32850 echo $ECHO_N "(cached) $ECHO_C" >&6
32851 else
32855 ac_ext=cc
32856 ac_cpp='$CXXCPP $CPPFLAGS'
32857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32861 cat >conftest.$ac_ext <<_ACEOF
32862 /* confdefs.h. */
32863 _ACEOF
32864 cat confdefs.h >>conftest.$ac_ext
32865 cat >>conftest.$ac_ext <<_ACEOF
32866 /* end confdefs.h. */
32867 #include <math.h>
32869 main ()
32871 sincosf(0, 0, 0);
32873 return 0;
32875 _ACEOF
32876 rm -f conftest.$ac_objext
32877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32878 (eval $ac_compile) 2>conftest.er1
32879 ac_status=$?
32880 grep -v '^ *+' conftest.er1 >conftest.err
32881 rm -f conftest.er1
32882 cat conftest.err >&5
32883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32884 (exit $ac_status); } &&
32885 { ac_try='test -z "$ac_cxx_werror_flag"
32886 || test ! -s conftest.err'
32887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32888 (eval $ac_try) 2>&5
32889 ac_status=$?
32890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32891 (exit $ac_status); }; } &&
32892 { ac_try='test -s conftest.$ac_objext'
32893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32894 (eval $ac_try) 2>&5
32895 ac_status=$?
32896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32897 (exit $ac_status); }; }; then
32898 glibcxx_cv_func_sincosf_use=yes
32899 else
32900 echo "$as_me: failed program was:" >&5
32901 sed 's/^/| /' conftest.$ac_ext >&5
32903 glibcxx_cv_func_sincosf_use=no
32905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32906 ac_ext=c
32907 ac_cpp='$CPP $CPPFLAGS'
32908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32916 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
32917 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
32919 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32921 for ac_func in sincosf
32923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32924 echo "$as_me:$LINENO: checking for $ac_func" >&5
32925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32926 if eval "test \"\${$as_ac_var+set}\" = set"; then
32927 echo $ECHO_N "(cached) $ECHO_C" >&6
32928 else
32929 if test x$gcc_no_link = xyes; then
32930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32932 { (exit 1); exit 1; }; }
32934 cat >conftest.$ac_ext <<_ACEOF
32935 /* confdefs.h. */
32936 _ACEOF
32937 cat confdefs.h >>conftest.$ac_ext
32938 cat >>conftest.$ac_ext <<_ACEOF
32939 /* end confdefs.h. */
32940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32942 #define $ac_func innocuous_$ac_func
32944 /* System header to define __stub macros and hopefully few prototypes,
32945 which can conflict with char $ac_func (); below.
32946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32947 <limits.h> exists even on freestanding compilers. */
32949 #ifdef __STDC__
32950 # include <limits.h>
32951 #else
32952 # include <assert.h>
32953 #endif
32955 #undef $ac_func
32957 /* Override any gcc2 internal prototype to avoid an error. */
32958 #ifdef __cplusplus
32959 extern "C"
32961 #endif
32962 /* We use char because int might match the return type of a gcc2
32963 builtin and then its argument prototype would still apply. */
32964 char $ac_func ();
32965 /* The GNU C library defines this for functions which it implements
32966 to always fail with ENOSYS. Some functions are actually named
32967 something starting with __ and the normal name is an alias. */
32968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32969 choke me
32970 #else
32971 char (*f) () = $ac_func;
32972 #endif
32973 #ifdef __cplusplus
32975 #endif
32978 main ()
32980 return f != $ac_func;
32982 return 0;
32984 _ACEOF
32985 rm -f conftest.$ac_objext conftest$ac_exeext
32986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32987 (eval $ac_link) 2>conftest.er1
32988 ac_status=$?
32989 grep -v '^ *+' conftest.er1 >conftest.err
32990 rm -f conftest.er1
32991 cat conftest.err >&5
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); } &&
32994 { ac_try='test -z "$ac_c_werror_flag"
32995 || test ! -s conftest.err'
32996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32997 (eval $ac_try) 2>&5
32998 ac_status=$?
32999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33000 (exit $ac_status); }; } &&
33001 { ac_try='test -s conftest$ac_exeext'
33002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33003 (eval $ac_try) 2>&5
33004 ac_status=$?
33005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33006 (exit $ac_status); }; }; then
33007 eval "$as_ac_var=yes"
33008 else
33009 echo "$as_me: failed program was:" >&5
33010 sed 's/^/| /' conftest.$ac_ext >&5
33012 eval "$as_ac_var=no"
33014 rm -f conftest.err conftest.$ac_objext \
33015 conftest$ac_exeext conftest.$ac_ext
33017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33019 if test `eval echo '${'$as_ac_var'}'` = yes; then
33020 cat >>confdefs.h <<_ACEOF
33021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33022 _ACEOF
33025 done
33027 else
33029 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
33030 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
33031 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
33032 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
33033 echo $ECHO_N "(cached) $ECHO_C" >&6
33034 else
33038 ac_ext=cc
33039 ac_cpp='$CXXCPP $CPPFLAGS'
33040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33044 cat >conftest.$ac_ext <<_ACEOF
33045 /* confdefs.h. */
33046 _ACEOF
33047 cat confdefs.h >>conftest.$ac_ext
33048 cat >>conftest.$ac_ext <<_ACEOF
33049 /* end confdefs.h. */
33050 #include <math.h>
33052 main ()
33054 _sincosf(0, 0, 0);
33056 return 0;
33058 _ACEOF
33059 rm -f conftest.$ac_objext
33060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33061 (eval $ac_compile) 2>conftest.er1
33062 ac_status=$?
33063 grep -v '^ *+' conftest.er1 >conftest.err
33064 rm -f conftest.er1
33065 cat conftest.err >&5
33066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33067 (exit $ac_status); } &&
33068 { ac_try='test -z "$ac_cxx_werror_flag"
33069 || test ! -s conftest.err'
33070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33071 (eval $ac_try) 2>&5
33072 ac_status=$?
33073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33074 (exit $ac_status); }; } &&
33075 { ac_try='test -s conftest.$ac_objext'
33076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33077 (eval $ac_try) 2>&5
33078 ac_status=$?
33079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33080 (exit $ac_status); }; }; then
33081 glibcxx_cv_func__sincosf_use=yes
33082 else
33083 echo "$as_me: failed program was:" >&5
33084 sed 's/^/| /' conftest.$ac_ext >&5
33086 glibcxx_cv_func__sincosf_use=no
33088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33089 ac_ext=c
33090 ac_cpp='$CPP $CPPFLAGS'
33091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33099 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
33100 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
33102 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
33104 for ac_func in _sincosf
33106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33107 echo "$as_me:$LINENO: checking for $ac_func" >&5
33108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33109 if eval "test \"\${$as_ac_var+set}\" = set"; then
33110 echo $ECHO_N "(cached) $ECHO_C" >&6
33111 else
33112 if test x$gcc_no_link = xyes; then
33113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33115 { (exit 1); exit 1; }; }
33117 cat >conftest.$ac_ext <<_ACEOF
33118 /* confdefs.h. */
33119 _ACEOF
33120 cat confdefs.h >>conftest.$ac_ext
33121 cat >>conftest.$ac_ext <<_ACEOF
33122 /* end confdefs.h. */
33123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33125 #define $ac_func innocuous_$ac_func
33127 /* System header to define __stub macros and hopefully few prototypes,
33128 which can conflict with char $ac_func (); below.
33129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33130 <limits.h> exists even on freestanding compilers. */
33132 #ifdef __STDC__
33133 # include <limits.h>
33134 #else
33135 # include <assert.h>
33136 #endif
33138 #undef $ac_func
33140 /* Override any gcc2 internal prototype to avoid an error. */
33141 #ifdef __cplusplus
33142 extern "C"
33144 #endif
33145 /* We use char because int might match the return type of a gcc2
33146 builtin and then its argument prototype would still apply. */
33147 char $ac_func ();
33148 /* The GNU C library defines this for functions which it implements
33149 to always fail with ENOSYS. Some functions are actually named
33150 something starting with __ and the normal name is an alias. */
33151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33152 choke me
33153 #else
33154 char (*f) () = $ac_func;
33155 #endif
33156 #ifdef __cplusplus
33158 #endif
33161 main ()
33163 return f != $ac_func;
33165 return 0;
33167 _ACEOF
33168 rm -f conftest.$ac_objext conftest$ac_exeext
33169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33170 (eval $ac_link) 2>conftest.er1
33171 ac_status=$?
33172 grep -v '^ *+' conftest.er1 >conftest.err
33173 rm -f conftest.er1
33174 cat conftest.err >&5
33175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33176 (exit $ac_status); } &&
33177 { ac_try='test -z "$ac_c_werror_flag"
33178 || test ! -s conftest.err'
33179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33180 (eval $ac_try) 2>&5
33181 ac_status=$?
33182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33183 (exit $ac_status); }; } &&
33184 { ac_try='test -s conftest$ac_exeext'
33185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33186 (eval $ac_try) 2>&5
33187 ac_status=$?
33188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33189 (exit $ac_status); }; }; then
33190 eval "$as_ac_var=yes"
33191 else
33192 echo "$as_me: failed program was:" >&5
33193 sed 's/^/| /' conftest.$ac_ext >&5
33195 eval "$as_ac_var=no"
33197 rm -f conftest.err conftest.$ac_objext \
33198 conftest$ac_exeext conftest.$ac_ext
33200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33202 if test `eval echo '${'$as_ac_var'}'` = yes; then
33203 cat >>confdefs.h <<_ACEOF
33204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33205 _ACEOF
33208 done
33218 echo "$as_me:$LINENO: checking for finitef declaration" >&5
33219 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
33220 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
33221 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
33222 echo $ECHO_N "(cached) $ECHO_C" >&6
33223 else
33227 ac_ext=cc
33228 ac_cpp='$CXXCPP $CPPFLAGS'
33229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33233 cat >conftest.$ac_ext <<_ACEOF
33234 /* confdefs.h. */
33235 _ACEOF
33236 cat confdefs.h >>conftest.$ac_ext
33237 cat >>conftest.$ac_ext <<_ACEOF
33238 /* end confdefs.h. */
33239 #include <math.h>
33240 #ifdef HAVE_IEEEFP_H
33241 #include <ieeefp.h>
33242 #endif
33245 main ()
33247 finitef(0);
33249 return 0;
33251 _ACEOF
33252 rm -f conftest.$ac_objext
33253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33254 (eval $ac_compile) 2>conftest.er1
33255 ac_status=$?
33256 grep -v '^ *+' conftest.er1 >conftest.err
33257 rm -f conftest.er1
33258 cat conftest.err >&5
33259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33260 (exit $ac_status); } &&
33261 { ac_try='test -z "$ac_cxx_werror_flag"
33262 || test ! -s conftest.err'
33263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33264 (eval $ac_try) 2>&5
33265 ac_status=$?
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); }; } &&
33268 { ac_try='test -s conftest.$ac_objext'
33269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33270 (eval $ac_try) 2>&5
33271 ac_status=$?
33272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33273 (exit $ac_status); }; }; then
33274 glibcxx_cv_func_finitef_use=yes
33275 else
33276 echo "$as_me: failed program was:" >&5
33277 sed 's/^/| /' conftest.$ac_ext >&5
33279 glibcxx_cv_func_finitef_use=no
33281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33282 ac_ext=c
33283 ac_cpp='$CPP $CPPFLAGS'
33284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33292 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
33293 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
33295 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
33297 for ac_func in finitef
33299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33300 echo "$as_me:$LINENO: checking for $ac_func" >&5
33301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33302 if eval "test \"\${$as_ac_var+set}\" = set"; then
33303 echo $ECHO_N "(cached) $ECHO_C" >&6
33304 else
33305 if test x$gcc_no_link = xyes; then
33306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33308 { (exit 1); exit 1; }; }
33310 cat >conftest.$ac_ext <<_ACEOF
33311 /* confdefs.h. */
33312 _ACEOF
33313 cat confdefs.h >>conftest.$ac_ext
33314 cat >>conftest.$ac_ext <<_ACEOF
33315 /* end confdefs.h. */
33316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33318 #define $ac_func innocuous_$ac_func
33320 /* System header to define __stub macros and hopefully few prototypes,
33321 which can conflict with char $ac_func (); below.
33322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33323 <limits.h> exists even on freestanding compilers. */
33325 #ifdef __STDC__
33326 # include <limits.h>
33327 #else
33328 # include <assert.h>
33329 #endif
33331 #undef $ac_func
33333 /* Override any gcc2 internal prototype to avoid an error. */
33334 #ifdef __cplusplus
33335 extern "C"
33337 #endif
33338 /* We use char because int might match the return type of a gcc2
33339 builtin and then its argument prototype would still apply. */
33340 char $ac_func ();
33341 /* The GNU C library defines this for functions which it implements
33342 to always fail with ENOSYS. Some functions are actually named
33343 something starting with __ and the normal name is an alias. */
33344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33345 choke me
33346 #else
33347 char (*f) () = $ac_func;
33348 #endif
33349 #ifdef __cplusplus
33351 #endif
33354 main ()
33356 return f != $ac_func;
33358 return 0;
33360 _ACEOF
33361 rm -f conftest.$ac_objext conftest$ac_exeext
33362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33363 (eval $ac_link) 2>conftest.er1
33364 ac_status=$?
33365 grep -v '^ *+' conftest.er1 >conftest.err
33366 rm -f conftest.er1
33367 cat conftest.err >&5
33368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33369 (exit $ac_status); } &&
33370 { ac_try='test -z "$ac_c_werror_flag"
33371 || test ! -s conftest.err'
33372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33373 (eval $ac_try) 2>&5
33374 ac_status=$?
33375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33376 (exit $ac_status); }; } &&
33377 { ac_try='test -s conftest$ac_exeext'
33378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33379 (eval $ac_try) 2>&5
33380 ac_status=$?
33381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33382 (exit $ac_status); }; }; then
33383 eval "$as_ac_var=yes"
33384 else
33385 echo "$as_me: failed program was:" >&5
33386 sed 's/^/| /' conftest.$ac_ext >&5
33388 eval "$as_ac_var=no"
33390 rm -f conftest.err conftest.$ac_objext \
33391 conftest$ac_exeext conftest.$ac_ext
33393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33395 if test `eval echo '${'$as_ac_var'}'` = yes; then
33396 cat >>confdefs.h <<_ACEOF
33397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33398 _ACEOF
33401 done
33403 else
33405 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
33406 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
33407 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
33408 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
33409 echo $ECHO_N "(cached) $ECHO_C" >&6
33410 else
33414 ac_ext=cc
33415 ac_cpp='$CXXCPP $CPPFLAGS'
33416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33420 cat >conftest.$ac_ext <<_ACEOF
33421 /* confdefs.h. */
33422 _ACEOF
33423 cat confdefs.h >>conftest.$ac_ext
33424 cat >>conftest.$ac_ext <<_ACEOF
33425 /* end confdefs.h. */
33426 #include <math.h>
33427 #ifdef HAVE_IEEEFP_H
33428 #include <ieeefp.h>
33429 #endif
33432 main ()
33434 _finitef(0);
33436 return 0;
33438 _ACEOF
33439 rm -f conftest.$ac_objext
33440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33441 (eval $ac_compile) 2>conftest.er1
33442 ac_status=$?
33443 grep -v '^ *+' conftest.er1 >conftest.err
33444 rm -f conftest.er1
33445 cat conftest.err >&5
33446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33447 (exit $ac_status); } &&
33448 { ac_try='test -z "$ac_cxx_werror_flag"
33449 || test ! -s conftest.err'
33450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33451 (eval $ac_try) 2>&5
33452 ac_status=$?
33453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454 (exit $ac_status); }; } &&
33455 { ac_try='test -s conftest.$ac_objext'
33456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33457 (eval $ac_try) 2>&5
33458 ac_status=$?
33459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33460 (exit $ac_status); }; }; then
33461 glibcxx_cv_func__finitef_use=yes
33462 else
33463 echo "$as_me: failed program was:" >&5
33464 sed 's/^/| /' conftest.$ac_ext >&5
33466 glibcxx_cv_func__finitef_use=no
33468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33469 ac_ext=c
33470 ac_cpp='$CPP $CPPFLAGS'
33471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33479 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
33480 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
33482 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
33484 for ac_func in _finitef
33486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33487 echo "$as_me:$LINENO: checking for $ac_func" >&5
33488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33489 if eval "test \"\${$as_ac_var+set}\" = set"; then
33490 echo $ECHO_N "(cached) $ECHO_C" >&6
33491 else
33492 if test x$gcc_no_link = xyes; then
33493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33495 { (exit 1); exit 1; }; }
33497 cat >conftest.$ac_ext <<_ACEOF
33498 /* confdefs.h. */
33499 _ACEOF
33500 cat confdefs.h >>conftest.$ac_ext
33501 cat >>conftest.$ac_ext <<_ACEOF
33502 /* end confdefs.h. */
33503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33505 #define $ac_func innocuous_$ac_func
33507 /* System header to define __stub macros and hopefully few prototypes,
33508 which can conflict with char $ac_func (); below.
33509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33510 <limits.h> exists even on freestanding compilers. */
33512 #ifdef __STDC__
33513 # include <limits.h>
33514 #else
33515 # include <assert.h>
33516 #endif
33518 #undef $ac_func
33520 /* Override any gcc2 internal prototype to avoid an error. */
33521 #ifdef __cplusplus
33522 extern "C"
33524 #endif
33525 /* We use char because int might match the return type of a gcc2
33526 builtin and then its argument prototype would still apply. */
33527 char $ac_func ();
33528 /* The GNU C library defines this for functions which it implements
33529 to always fail with ENOSYS. Some functions are actually named
33530 something starting with __ and the normal name is an alias. */
33531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33532 choke me
33533 #else
33534 char (*f) () = $ac_func;
33535 #endif
33536 #ifdef __cplusplus
33538 #endif
33541 main ()
33543 return f != $ac_func;
33545 return 0;
33547 _ACEOF
33548 rm -f conftest.$ac_objext conftest$ac_exeext
33549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33550 (eval $ac_link) 2>conftest.er1
33551 ac_status=$?
33552 grep -v '^ *+' conftest.er1 >conftest.err
33553 rm -f conftest.er1
33554 cat conftest.err >&5
33555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33556 (exit $ac_status); } &&
33557 { ac_try='test -z "$ac_c_werror_flag"
33558 || test ! -s conftest.err'
33559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33560 (eval $ac_try) 2>&5
33561 ac_status=$?
33562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33563 (exit $ac_status); }; } &&
33564 { ac_try='test -s conftest$ac_exeext'
33565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33566 (eval $ac_try) 2>&5
33567 ac_status=$?
33568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33569 (exit $ac_status); }; }; then
33570 eval "$as_ac_var=yes"
33571 else
33572 echo "$as_me: failed program was:" >&5
33573 sed 's/^/| /' conftest.$ac_ext >&5
33575 eval "$as_ac_var=no"
33577 rm -f conftest.err conftest.$ac_objext \
33578 conftest$ac_exeext conftest.$ac_ext
33580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33582 if test `eval echo '${'$as_ac_var'}'` = yes; then
33583 cat >>confdefs.h <<_ACEOF
33584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33585 _ACEOF
33588 done
33598 echo "$as_me:$LINENO: checking for long double trig functions" >&5
33599 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
33600 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
33601 echo $ECHO_N "(cached) $ECHO_C" >&6
33602 else
33606 ac_ext=cc
33607 ac_cpp='$CXXCPP $CPPFLAGS'
33608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33612 cat >conftest.$ac_ext <<_ACEOF
33613 /* confdefs.h. */
33614 _ACEOF
33615 cat confdefs.h >>conftest.$ac_ext
33616 cat >>conftest.$ac_ext <<_ACEOF
33617 /* end confdefs.h. */
33618 #include <math.h>
33620 main ()
33622 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
33624 return 0;
33626 _ACEOF
33627 rm -f conftest.$ac_objext
33628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33629 (eval $ac_compile) 2>conftest.er1
33630 ac_status=$?
33631 grep -v '^ *+' conftest.er1 >conftest.err
33632 rm -f conftest.er1
33633 cat conftest.err >&5
33634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33635 (exit $ac_status); } &&
33636 { ac_try='test -z "$ac_cxx_werror_flag"
33637 || test ! -s conftest.err'
33638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33639 (eval $ac_try) 2>&5
33640 ac_status=$?
33641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33642 (exit $ac_status); }; } &&
33643 { ac_try='test -s conftest.$ac_objext'
33644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33645 (eval $ac_try) 2>&5
33646 ac_status=$?
33647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33648 (exit $ac_status); }; }; then
33649 glibcxx_cv_func_long_double_trig_use=yes
33650 else
33651 echo "$as_me: failed program was:" >&5
33652 sed 's/^/| /' conftest.$ac_ext >&5
33654 glibcxx_cv_func_long_double_trig_use=no
33656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33657 ac_ext=c
33658 ac_cpp='$CPP $CPPFLAGS'
33659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33665 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
33666 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
33667 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
33677 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
33679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33680 echo "$as_me:$LINENO: checking for $ac_func" >&5
33681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33682 if eval "test \"\${$as_ac_var+set}\" = set"; then
33683 echo $ECHO_N "(cached) $ECHO_C" >&6
33684 else
33685 if test x$gcc_no_link = xyes; then
33686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33688 { (exit 1); exit 1; }; }
33690 cat >conftest.$ac_ext <<_ACEOF
33691 /* confdefs.h. */
33692 _ACEOF
33693 cat confdefs.h >>conftest.$ac_ext
33694 cat >>conftest.$ac_ext <<_ACEOF
33695 /* end confdefs.h. */
33696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33698 #define $ac_func innocuous_$ac_func
33700 /* System header to define __stub macros and hopefully few prototypes,
33701 which can conflict with char $ac_func (); below.
33702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33703 <limits.h> exists even on freestanding compilers. */
33705 #ifdef __STDC__
33706 # include <limits.h>
33707 #else
33708 # include <assert.h>
33709 #endif
33711 #undef $ac_func
33713 /* Override any gcc2 internal prototype to avoid an error. */
33714 #ifdef __cplusplus
33715 extern "C"
33717 #endif
33718 /* We use char because int might match the return type of a gcc2
33719 builtin and then its argument prototype would still apply. */
33720 char $ac_func ();
33721 /* The GNU C library defines this for functions which it implements
33722 to always fail with ENOSYS. Some functions are actually named
33723 something starting with __ and the normal name is an alias. */
33724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33725 choke me
33726 #else
33727 char (*f) () = $ac_func;
33728 #endif
33729 #ifdef __cplusplus
33731 #endif
33734 main ()
33736 return f != $ac_func;
33738 return 0;
33740 _ACEOF
33741 rm -f conftest.$ac_objext conftest$ac_exeext
33742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33743 (eval $ac_link) 2>conftest.er1
33744 ac_status=$?
33745 grep -v '^ *+' conftest.er1 >conftest.err
33746 rm -f conftest.er1
33747 cat conftest.err >&5
33748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33749 (exit $ac_status); } &&
33750 { ac_try='test -z "$ac_c_werror_flag"
33751 || test ! -s conftest.err'
33752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33753 (eval $ac_try) 2>&5
33754 ac_status=$?
33755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33756 (exit $ac_status); }; } &&
33757 { ac_try='test -s conftest$ac_exeext'
33758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33759 (eval $ac_try) 2>&5
33760 ac_status=$?
33761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33762 (exit $ac_status); }; }; then
33763 eval "$as_ac_var=yes"
33764 else
33765 echo "$as_me: failed program was:" >&5
33766 sed 's/^/| /' conftest.$ac_ext >&5
33768 eval "$as_ac_var=no"
33770 rm -f conftest.err conftest.$ac_objext \
33771 conftest$ac_exeext conftest.$ac_ext
33773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33775 if test `eval echo '${'$as_ac_var'}'` = yes; then
33776 cat >>confdefs.h <<_ACEOF
33777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33778 _ACEOF
33781 done
33783 else
33784 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
33785 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
33786 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
33787 echo $ECHO_N "(cached) $ECHO_C" >&6
33788 else
33792 ac_ext=cc
33793 ac_cpp='$CXXCPP $CPPFLAGS'
33794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33798 cat >conftest.$ac_ext <<_ACEOF
33799 /* confdefs.h. */
33800 _ACEOF
33801 cat confdefs.h >>conftest.$ac_ext
33802 cat >>conftest.$ac_ext <<_ACEOF
33803 /* end confdefs.h. */
33804 #include <math.h>
33806 main ()
33808 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
33810 return 0;
33812 _ACEOF
33813 rm -f conftest.$ac_objext
33814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33815 (eval $ac_compile) 2>conftest.er1
33816 ac_status=$?
33817 grep -v '^ *+' conftest.er1 >conftest.err
33818 rm -f conftest.er1
33819 cat conftest.err >&5
33820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33821 (exit $ac_status); } &&
33822 { ac_try='test -z "$ac_cxx_werror_flag"
33823 || test ! -s conftest.err'
33824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33825 (eval $ac_try) 2>&5
33826 ac_status=$?
33827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33828 (exit $ac_status); }; } &&
33829 { ac_try='test -s conftest.$ac_objext'
33830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33831 (eval $ac_try) 2>&5
33832 ac_status=$?
33833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33834 (exit $ac_status); }; }; then
33835 glibcxx_cv_func__long_double_trig_use=yes
33836 else
33837 echo "$as_me: failed program was:" >&5
33838 sed 's/^/| /' conftest.$ac_ext >&5
33840 glibcxx_cv_func__long_double_trig_use=no
33842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33843 ac_ext=c
33844 ac_cpp='$CPP $CPPFLAGS'
33845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33851 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
33852 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
33853 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
33863 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
33865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33866 echo "$as_me:$LINENO: checking for $ac_func" >&5
33867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33868 if eval "test \"\${$as_ac_var+set}\" = set"; then
33869 echo $ECHO_N "(cached) $ECHO_C" >&6
33870 else
33871 if test x$gcc_no_link = xyes; then
33872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33874 { (exit 1); exit 1; }; }
33876 cat >conftest.$ac_ext <<_ACEOF
33877 /* confdefs.h. */
33878 _ACEOF
33879 cat confdefs.h >>conftest.$ac_ext
33880 cat >>conftest.$ac_ext <<_ACEOF
33881 /* end confdefs.h. */
33882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33884 #define $ac_func innocuous_$ac_func
33886 /* System header to define __stub macros and hopefully few prototypes,
33887 which can conflict with char $ac_func (); below.
33888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33889 <limits.h> exists even on freestanding compilers. */
33891 #ifdef __STDC__
33892 # include <limits.h>
33893 #else
33894 # include <assert.h>
33895 #endif
33897 #undef $ac_func
33899 /* Override any gcc2 internal prototype to avoid an error. */
33900 #ifdef __cplusplus
33901 extern "C"
33903 #endif
33904 /* We use char because int might match the return type of a gcc2
33905 builtin and then its argument prototype would still apply. */
33906 char $ac_func ();
33907 /* The GNU C library defines this for functions which it implements
33908 to always fail with ENOSYS. Some functions are actually named
33909 something starting with __ and the normal name is an alias. */
33910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33911 choke me
33912 #else
33913 char (*f) () = $ac_func;
33914 #endif
33915 #ifdef __cplusplus
33917 #endif
33920 main ()
33922 return f != $ac_func;
33924 return 0;
33926 _ACEOF
33927 rm -f conftest.$ac_objext conftest$ac_exeext
33928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33929 (eval $ac_link) 2>conftest.er1
33930 ac_status=$?
33931 grep -v '^ *+' conftest.er1 >conftest.err
33932 rm -f conftest.er1
33933 cat conftest.err >&5
33934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33935 (exit $ac_status); } &&
33936 { ac_try='test -z "$ac_c_werror_flag"
33937 || test ! -s conftest.err'
33938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33939 (eval $ac_try) 2>&5
33940 ac_status=$?
33941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33942 (exit $ac_status); }; } &&
33943 { ac_try='test -s conftest$ac_exeext'
33944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33945 (eval $ac_try) 2>&5
33946 ac_status=$?
33947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33948 (exit $ac_status); }; }; then
33949 eval "$as_ac_var=yes"
33950 else
33951 echo "$as_me: failed program was:" >&5
33952 sed 's/^/| /' conftest.$ac_ext >&5
33954 eval "$as_ac_var=no"
33956 rm -f conftest.err conftest.$ac_objext \
33957 conftest$ac_exeext conftest.$ac_ext
33959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33961 if test `eval echo '${'$as_ac_var'}'` = yes; then
33962 cat >>confdefs.h <<_ACEOF
33963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33964 _ACEOF
33967 done
33985 echo "$as_me:$LINENO: checking for long double round functions" >&5
33986 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
33987 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
33988 echo $ECHO_N "(cached) $ECHO_C" >&6
33989 else
33993 ac_ext=cc
33994 ac_cpp='$CXXCPP $CPPFLAGS'
33995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33999 cat >conftest.$ac_ext <<_ACEOF
34000 /* confdefs.h. */
34001 _ACEOF
34002 cat confdefs.h >>conftest.$ac_ext
34003 cat >>conftest.$ac_ext <<_ACEOF
34004 /* end confdefs.h. */
34005 #include <math.h>
34007 main ()
34009 ceill (0); floorl (0);
34011 return 0;
34013 _ACEOF
34014 rm -f conftest.$ac_objext
34015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34016 (eval $ac_compile) 2>conftest.er1
34017 ac_status=$?
34018 grep -v '^ *+' conftest.er1 >conftest.err
34019 rm -f conftest.er1
34020 cat conftest.err >&5
34021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34022 (exit $ac_status); } &&
34023 { ac_try='test -z "$ac_cxx_werror_flag"
34024 || test ! -s conftest.err'
34025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34026 (eval $ac_try) 2>&5
34027 ac_status=$?
34028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34029 (exit $ac_status); }; } &&
34030 { ac_try='test -s conftest.$ac_objext'
34031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34032 (eval $ac_try) 2>&5
34033 ac_status=$?
34034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34035 (exit $ac_status); }; }; then
34036 glibcxx_cv_func_long_double_round_use=yes
34037 else
34038 echo "$as_me: failed program was:" >&5
34039 sed 's/^/| /' conftest.$ac_ext >&5
34041 glibcxx_cv_func_long_double_round_use=no
34043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34044 ac_ext=c
34045 ac_cpp='$CPP $CPPFLAGS'
34046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34052 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
34053 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
34054 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
34057 for ac_func in ceill floorl
34059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34060 echo "$as_me:$LINENO: checking for $ac_func" >&5
34061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34062 if eval "test \"\${$as_ac_var+set}\" = set"; then
34063 echo $ECHO_N "(cached) $ECHO_C" >&6
34064 else
34065 if test x$gcc_no_link = xyes; then
34066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34068 { (exit 1); exit 1; }; }
34070 cat >conftest.$ac_ext <<_ACEOF
34071 /* confdefs.h. */
34072 _ACEOF
34073 cat confdefs.h >>conftest.$ac_ext
34074 cat >>conftest.$ac_ext <<_ACEOF
34075 /* end confdefs.h. */
34076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34078 #define $ac_func innocuous_$ac_func
34080 /* System header to define __stub macros and hopefully few prototypes,
34081 which can conflict with char $ac_func (); below.
34082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34083 <limits.h> exists even on freestanding compilers. */
34085 #ifdef __STDC__
34086 # include <limits.h>
34087 #else
34088 # include <assert.h>
34089 #endif
34091 #undef $ac_func
34093 /* Override any gcc2 internal prototype to avoid an error. */
34094 #ifdef __cplusplus
34095 extern "C"
34097 #endif
34098 /* We use char because int might match the return type of a gcc2
34099 builtin and then its argument prototype would still apply. */
34100 char $ac_func ();
34101 /* The GNU C library defines this for functions which it implements
34102 to always fail with ENOSYS. Some functions are actually named
34103 something starting with __ and the normal name is an alias. */
34104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34105 choke me
34106 #else
34107 char (*f) () = $ac_func;
34108 #endif
34109 #ifdef __cplusplus
34111 #endif
34114 main ()
34116 return f != $ac_func;
34118 return 0;
34120 _ACEOF
34121 rm -f conftest.$ac_objext conftest$ac_exeext
34122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34123 (eval $ac_link) 2>conftest.er1
34124 ac_status=$?
34125 grep -v '^ *+' conftest.er1 >conftest.err
34126 rm -f conftest.er1
34127 cat conftest.err >&5
34128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34129 (exit $ac_status); } &&
34130 { ac_try='test -z "$ac_c_werror_flag"
34131 || test ! -s conftest.err'
34132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34133 (eval $ac_try) 2>&5
34134 ac_status=$?
34135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34136 (exit $ac_status); }; } &&
34137 { ac_try='test -s conftest$ac_exeext'
34138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34139 (eval $ac_try) 2>&5
34140 ac_status=$?
34141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34142 (exit $ac_status); }; }; then
34143 eval "$as_ac_var=yes"
34144 else
34145 echo "$as_me: failed program was:" >&5
34146 sed 's/^/| /' conftest.$ac_ext >&5
34148 eval "$as_ac_var=no"
34150 rm -f conftest.err conftest.$ac_objext \
34151 conftest$ac_exeext conftest.$ac_ext
34153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34155 if test `eval echo '${'$as_ac_var'}'` = yes; then
34156 cat >>confdefs.h <<_ACEOF
34157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34158 _ACEOF
34161 done
34163 else
34164 echo "$as_me:$LINENO: checking for _long double round functions" >&5
34165 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
34166 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
34167 echo $ECHO_N "(cached) $ECHO_C" >&6
34168 else
34172 ac_ext=cc
34173 ac_cpp='$CXXCPP $CPPFLAGS'
34174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34178 cat >conftest.$ac_ext <<_ACEOF
34179 /* confdefs.h. */
34180 _ACEOF
34181 cat confdefs.h >>conftest.$ac_ext
34182 cat >>conftest.$ac_ext <<_ACEOF
34183 /* end confdefs.h. */
34184 #include <math.h>
34186 main ()
34188 _ceill (0); _floorl (0);
34190 return 0;
34192 _ACEOF
34193 rm -f conftest.$ac_objext
34194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34195 (eval $ac_compile) 2>conftest.er1
34196 ac_status=$?
34197 grep -v '^ *+' conftest.er1 >conftest.err
34198 rm -f conftest.er1
34199 cat conftest.err >&5
34200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34201 (exit $ac_status); } &&
34202 { ac_try='test -z "$ac_cxx_werror_flag"
34203 || test ! -s conftest.err'
34204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34205 (eval $ac_try) 2>&5
34206 ac_status=$?
34207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34208 (exit $ac_status); }; } &&
34209 { ac_try='test -s conftest.$ac_objext'
34210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34211 (eval $ac_try) 2>&5
34212 ac_status=$?
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 (exit $ac_status); }; }; then
34215 glibcxx_cv_func__long_double_round_use=yes
34216 else
34217 echo "$as_me: failed program was:" >&5
34218 sed 's/^/| /' conftest.$ac_ext >&5
34220 glibcxx_cv_func__long_double_round_use=no
34222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34223 ac_ext=c
34224 ac_cpp='$CPP $CPPFLAGS'
34225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34231 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
34232 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
34233 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
34236 for ac_func in _ceill _floorl
34238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34239 echo "$as_me:$LINENO: checking for $ac_func" >&5
34240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34241 if eval "test \"\${$as_ac_var+set}\" = set"; then
34242 echo $ECHO_N "(cached) $ECHO_C" >&6
34243 else
34244 if test x$gcc_no_link = xyes; then
34245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34247 { (exit 1); exit 1; }; }
34249 cat >conftest.$ac_ext <<_ACEOF
34250 /* confdefs.h. */
34251 _ACEOF
34252 cat confdefs.h >>conftest.$ac_ext
34253 cat >>conftest.$ac_ext <<_ACEOF
34254 /* end confdefs.h. */
34255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34257 #define $ac_func innocuous_$ac_func
34259 /* System header to define __stub macros and hopefully few prototypes,
34260 which can conflict with char $ac_func (); below.
34261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34262 <limits.h> exists even on freestanding compilers. */
34264 #ifdef __STDC__
34265 # include <limits.h>
34266 #else
34267 # include <assert.h>
34268 #endif
34270 #undef $ac_func
34272 /* Override any gcc2 internal prototype to avoid an error. */
34273 #ifdef __cplusplus
34274 extern "C"
34276 #endif
34277 /* We use char because int might match the return type of a gcc2
34278 builtin and then its argument prototype would still apply. */
34279 char $ac_func ();
34280 /* The GNU C library defines this for functions which it implements
34281 to always fail with ENOSYS. Some functions are actually named
34282 something starting with __ and the normal name is an alias. */
34283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34284 choke me
34285 #else
34286 char (*f) () = $ac_func;
34287 #endif
34288 #ifdef __cplusplus
34290 #endif
34293 main ()
34295 return f != $ac_func;
34297 return 0;
34299 _ACEOF
34300 rm -f conftest.$ac_objext conftest$ac_exeext
34301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34302 (eval $ac_link) 2>conftest.er1
34303 ac_status=$?
34304 grep -v '^ *+' conftest.er1 >conftest.err
34305 rm -f conftest.er1
34306 cat conftest.err >&5
34307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34308 (exit $ac_status); } &&
34309 { ac_try='test -z "$ac_c_werror_flag"
34310 || test ! -s conftest.err'
34311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34312 (eval $ac_try) 2>&5
34313 ac_status=$?
34314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34315 (exit $ac_status); }; } &&
34316 { ac_try='test -s conftest$ac_exeext'
34317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34318 (eval $ac_try) 2>&5
34319 ac_status=$?
34320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34321 (exit $ac_status); }; }; then
34322 eval "$as_ac_var=yes"
34323 else
34324 echo "$as_me: failed program was:" >&5
34325 sed 's/^/| /' conftest.$ac_ext >&5
34327 eval "$as_ac_var=no"
34329 rm -f conftest.err conftest.$ac_objext \
34330 conftest$ac_exeext conftest.$ac_ext
34332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34334 if test `eval echo '${'$as_ac_var'}'` = yes; then
34335 cat >>confdefs.h <<_ACEOF
34336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34337 _ACEOF
34340 done
34352 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
34353 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
34354 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
34355 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
34356 echo $ECHO_N "(cached) $ECHO_C" >&6
34357 else
34361 ac_ext=cc
34362 ac_cpp='$CXXCPP $CPPFLAGS'
34363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34367 cat >conftest.$ac_ext <<_ACEOF
34368 /* confdefs.h. */
34369 _ACEOF
34370 cat confdefs.h >>conftest.$ac_ext
34371 cat >>conftest.$ac_ext <<_ACEOF
34372 /* end confdefs.h. */
34373 #include <math.h>
34374 #ifdef HAVE_IEEEFP_H
34375 #include <ieeefp.h>
34376 #endif
34379 main ()
34381 isnanl(0);
34383 return 0;
34385 _ACEOF
34386 rm -f conftest.$ac_objext
34387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34388 (eval $ac_compile) 2>conftest.er1
34389 ac_status=$?
34390 grep -v '^ *+' conftest.er1 >conftest.err
34391 rm -f conftest.er1
34392 cat conftest.err >&5
34393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34394 (exit $ac_status); } &&
34395 { ac_try='test -z "$ac_cxx_werror_flag"
34396 || test ! -s conftest.err'
34397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34398 (eval $ac_try) 2>&5
34399 ac_status=$?
34400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401 (exit $ac_status); }; } &&
34402 { ac_try='test -s conftest.$ac_objext'
34403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34404 (eval $ac_try) 2>&5
34405 ac_status=$?
34406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34407 (exit $ac_status); }; }; then
34408 glibcxx_cv_func_isnanl_use=yes
34409 else
34410 echo "$as_me: failed program was:" >&5
34411 sed 's/^/| /' conftest.$ac_ext >&5
34413 glibcxx_cv_func_isnanl_use=no
34415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34416 ac_ext=c
34417 ac_cpp='$CPP $CPPFLAGS'
34418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34426 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
34427 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
34429 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
34431 for ac_func in isnanl
34433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34434 echo "$as_me:$LINENO: checking for $ac_func" >&5
34435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34436 if eval "test \"\${$as_ac_var+set}\" = set"; then
34437 echo $ECHO_N "(cached) $ECHO_C" >&6
34438 else
34439 if test x$gcc_no_link = xyes; then
34440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34442 { (exit 1); exit 1; }; }
34444 cat >conftest.$ac_ext <<_ACEOF
34445 /* confdefs.h. */
34446 _ACEOF
34447 cat confdefs.h >>conftest.$ac_ext
34448 cat >>conftest.$ac_ext <<_ACEOF
34449 /* end confdefs.h. */
34450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34452 #define $ac_func innocuous_$ac_func
34454 /* System header to define __stub macros and hopefully few prototypes,
34455 which can conflict with char $ac_func (); below.
34456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34457 <limits.h> exists even on freestanding compilers. */
34459 #ifdef __STDC__
34460 # include <limits.h>
34461 #else
34462 # include <assert.h>
34463 #endif
34465 #undef $ac_func
34467 /* Override any gcc2 internal prototype to avoid an error. */
34468 #ifdef __cplusplus
34469 extern "C"
34471 #endif
34472 /* We use char because int might match the return type of a gcc2
34473 builtin and then its argument prototype would still apply. */
34474 char $ac_func ();
34475 /* The GNU C library defines this for functions which it implements
34476 to always fail with ENOSYS. Some functions are actually named
34477 something starting with __ and the normal name is an alias. */
34478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34479 choke me
34480 #else
34481 char (*f) () = $ac_func;
34482 #endif
34483 #ifdef __cplusplus
34485 #endif
34488 main ()
34490 return f != $ac_func;
34492 return 0;
34494 _ACEOF
34495 rm -f conftest.$ac_objext conftest$ac_exeext
34496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34497 (eval $ac_link) 2>conftest.er1
34498 ac_status=$?
34499 grep -v '^ *+' conftest.er1 >conftest.err
34500 rm -f conftest.er1
34501 cat conftest.err >&5
34502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34503 (exit $ac_status); } &&
34504 { ac_try='test -z "$ac_c_werror_flag"
34505 || test ! -s conftest.err'
34506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34507 (eval $ac_try) 2>&5
34508 ac_status=$?
34509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34510 (exit $ac_status); }; } &&
34511 { ac_try='test -s conftest$ac_exeext'
34512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34513 (eval $ac_try) 2>&5
34514 ac_status=$?
34515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34516 (exit $ac_status); }; }; then
34517 eval "$as_ac_var=yes"
34518 else
34519 echo "$as_me: failed program was:" >&5
34520 sed 's/^/| /' conftest.$ac_ext >&5
34522 eval "$as_ac_var=no"
34524 rm -f conftest.err conftest.$ac_objext \
34525 conftest$ac_exeext conftest.$ac_ext
34527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34529 if test `eval echo '${'$as_ac_var'}'` = yes; then
34530 cat >>confdefs.h <<_ACEOF
34531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34532 _ACEOF
34535 done
34537 else
34539 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
34540 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
34541 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
34542 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
34543 echo $ECHO_N "(cached) $ECHO_C" >&6
34544 else
34548 ac_ext=cc
34549 ac_cpp='$CXXCPP $CPPFLAGS'
34550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34554 cat >conftest.$ac_ext <<_ACEOF
34555 /* confdefs.h. */
34556 _ACEOF
34557 cat confdefs.h >>conftest.$ac_ext
34558 cat >>conftest.$ac_ext <<_ACEOF
34559 /* end confdefs.h. */
34560 #include <math.h>
34561 #ifdef HAVE_IEEEFP_H
34562 #include <ieeefp.h>
34563 #endif
34566 main ()
34568 _isnanl(0);
34570 return 0;
34572 _ACEOF
34573 rm -f conftest.$ac_objext
34574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34575 (eval $ac_compile) 2>conftest.er1
34576 ac_status=$?
34577 grep -v '^ *+' conftest.er1 >conftest.err
34578 rm -f conftest.er1
34579 cat conftest.err >&5
34580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34581 (exit $ac_status); } &&
34582 { ac_try='test -z "$ac_cxx_werror_flag"
34583 || test ! -s conftest.err'
34584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34585 (eval $ac_try) 2>&5
34586 ac_status=$?
34587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34588 (exit $ac_status); }; } &&
34589 { ac_try='test -s conftest.$ac_objext'
34590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34591 (eval $ac_try) 2>&5
34592 ac_status=$?
34593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34594 (exit $ac_status); }; }; then
34595 glibcxx_cv_func__isnanl_use=yes
34596 else
34597 echo "$as_me: failed program was:" >&5
34598 sed 's/^/| /' conftest.$ac_ext >&5
34600 glibcxx_cv_func__isnanl_use=no
34602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34603 ac_ext=c
34604 ac_cpp='$CPP $CPPFLAGS'
34605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34613 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
34614 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
34616 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
34618 for ac_func in _isnanl
34620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34621 echo "$as_me:$LINENO: checking for $ac_func" >&5
34622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34623 if eval "test \"\${$as_ac_var+set}\" = set"; then
34624 echo $ECHO_N "(cached) $ECHO_C" >&6
34625 else
34626 if test x$gcc_no_link = xyes; then
34627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34629 { (exit 1); exit 1; }; }
34631 cat >conftest.$ac_ext <<_ACEOF
34632 /* confdefs.h. */
34633 _ACEOF
34634 cat confdefs.h >>conftest.$ac_ext
34635 cat >>conftest.$ac_ext <<_ACEOF
34636 /* end confdefs.h. */
34637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34639 #define $ac_func innocuous_$ac_func
34641 /* System header to define __stub macros and hopefully few prototypes,
34642 which can conflict with char $ac_func (); below.
34643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34644 <limits.h> exists even on freestanding compilers. */
34646 #ifdef __STDC__
34647 # include <limits.h>
34648 #else
34649 # include <assert.h>
34650 #endif
34652 #undef $ac_func
34654 /* Override any gcc2 internal prototype to avoid an error. */
34655 #ifdef __cplusplus
34656 extern "C"
34658 #endif
34659 /* We use char because int might match the return type of a gcc2
34660 builtin and then its argument prototype would still apply. */
34661 char $ac_func ();
34662 /* The GNU C library defines this for functions which it implements
34663 to always fail with ENOSYS. Some functions are actually named
34664 something starting with __ and the normal name is an alias. */
34665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34666 choke me
34667 #else
34668 char (*f) () = $ac_func;
34669 #endif
34670 #ifdef __cplusplus
34672 #endif
34675 main ()
34677 return f != $ac_func;
34679 return 0;
34681 _ACEOF
34682 rm -f conftest.$ac_objext conftest$ac_exeext
34683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34684 (eval $ac_link) 2>conftest.er1
34685 ac_status=$?
34686 grep -v '^ *+' conftest.er1 >conftest.err
34687 rm -f conftest.er1
34688 cat conftest.err >&5
34689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34690 (exit $ac_status); } &&
34691 { ac_try='test -z "$ac_c_werror_flag"
34692 || test ! -s conftest.err'
34693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34694 (eval $ac_try) 2>&5
34695 ac_status=$?
34696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34697 (exit $ac_status); }; } &&
34698 { ac_try='test -s conftest$ac_exeext'
34699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34700 (eval $ac_try) 2>&5
34701 ac_status=$?
34702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34703 (exit $ac_status); }; }; then
34704 eval "$as_ac_var=yes"
34705 else
34706 echo "$as_me: failed program was:" >&5
34707 sed 's/^/| /' conftest.$ac_ext >&5
34709 eval "$as_ac_var=no"
34711 rm -f conftest.err conftest.$ac_objext \
34712 conftest$ac_exeext conftest.$ac_ext
34714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34716 if test `eval echo '${'$as_ac_var'}'` = yes; then
34717 cat >>confdefs.h <<_ACEOF
34718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34719 _ACEOF
34722 done
34732 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
34733 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
34734 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
34735 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
34736 echo $ECHO_N "(cached) $ECHO_C" >&6
34737 else
34741 ac_ext=cc
34742 ac_cpp='$CXXCPP $CPPFLAGS'
34743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34747 cat >conftest.$ac_ext <<_ACEOF
34748 /* confdefs.h. */
34749 _ACEOF
34750 cat confdefs.h >>conftest.$ac_ext
34751 cat >>conftest.$ac_ext <<_ACEOF
34752 /* end confdefs.h. */
34753 #include <math.h>
34754 #ifdef HAVE_IEEEFP_H
34755 #include <ieeefp.h>
34756 #endif
34759 main ()
34761 isinfl(0);
34763 return 0;
34765 _ACEOF
34766 rm -f conftest.$ac_objext
34767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34768 (eval $ac_compile) 2>conftest.er1
34769 ac_status=$?
34770 grep -v '^ *+' conftest.er1 >conftest.err
34771 rm -f conftest.er1
34772 cat conftest.err >&5
34773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34774 (exit $ac_status); } &&
34775 { ac_try='test -z "$ac_cxx_werror_flag"
34776 || test ! -s conftest.err'
34777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34778 (eval $ac_try) 2>&5
34779 ac_status=$?
34780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34781 (exit $ac_status); }; } &&
34782 { ac_try='test -s conftest.$ac_objext'
34783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34784 (eval $ac_try) 2>&5
34785 ac_status=$?
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); }; }; then
34788 glibcxx_cv_func_isinfl_use=yes
34789 else
34790 echo "$as_me: failed program was:" >&5
34791 sed 's/^/| /' conftest.$ac_ext >&5
34793 glibcxx_cv_func_isinfl_use=no
34795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34796 ac_ext=c
34797 ac_cpp='$CPP $CPPFLAGS'
34798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34806 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
34807 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
34809 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
34811 for ac_func in isinfl
34813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34814 echo "$as_me:$LINENO: checking for $ac_func" >&5
34815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34816 if eval "test \"\${$as_ac_var+set}\" = set"; then
34817 echo $ECHO_N "(cached) $ECHO_C" >&6
34818 else
34819 if test x$gcc_no_link = xyes; then
34820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34822 { (exit 1); exit 1; }; }
34824 cat >conftest.$ac_ext <<_ACEOF
34825 /* confdefs.h. */
34826 _ACEOF
34827 cat confdefs.h >>conftest.$ac_ext
34828 cat >>conftest.$ac_ext <<_ACEOF
34829 /* end confdefs.h. */
34830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34832 #define $ac_func innocuous_$ac_func
34834 /* System header to define __stub macros and hopefully few prototypes,
34835 which can conflict with char $ac_func (); below.
34836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34837 <limits.h> exists even on freestanding compilers. */
34839 #ifdef __STDC__
34840 # include <limits.h>
34841 #else
34842 # include <assert.h>
34843 #endif
34845 #undef $ac_func
34847 /* Override any gcc2 internal prototype to avoid an error. */
34848 #ifdef __cplusplus
34849 extern "C"
34851 #endif
34852 /* We use char because int might match the return type of a gcc2
34853 builtin and then its argument prototype would still apply. */
34854 char $ac_func ();
34855 /* The GNU C library defines this for functions which it implements
34856 to always fail with ENOSYS. Some functions are actually named
34857 something starting with __ and the normal name is an alias. */
34858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34859 choke me
34860 #else
34861 char (*f) () = $ac_func;
34862 #endif
34863 #ifdef __cplusplus
34865 #endif
34868 main ()
34870 return f != $ac_func;
34872 return 0;
34874 _ACEOF
34875 rm -f conftest.$ac_objext conftest$ac_exeext
34876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34877 (eval $ac_link) 2>conftest.er1
34878 ac_status=$?
34879 grep -v '^ *+' conftest.er1 >conftest.err
34880 rm -f conftest.er1
34881 cat conftest.err >&5
34882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34883 (exit $ac_status); } &&
34884 { ac_try='test -z "$ac_c_werror_flag"
34885 || test ! -s conftest.err'
34886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34887 (eval $ac_try) 2>&5
34888 ac_status=$?
34889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34890 (exit $ac_status); }; } &&
34891 { ac_try='test -s conftest$ac_exeext'
34892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34893 (eval $ac_try) 2>&5
34894 ac_status=$?
34895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34896 (exit $ac_status); }; }; then
34897 eval "$as_ac_var=yes"
34898 else
34899 echo "$as_me: failed program was:" >&5
34900 sed 's/^/| /' conftest.$ac_ext >&5
34902 eval "$as_ac_var=no"
34904 rm -f conftest.err conftest.$ac_objext \
34905 conftest$ac_exeext conftest.$ac_ext
34907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34909 if test `eval echo '${'$as_ac_var'}'` = yes; then
34910 cat >>confdefs.h <<_ACEOF
34911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34912 _ACEOF
34915 done
34917 else
34919 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
34920 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
34921 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
34922 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
34923 echo $ECHO_N "(cached) $ECHO_C" >&6
34924 else
34928 ac_ext=cc
34929 ac_cpp='$CXXCPP $CPPFLAGS'
34930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34934 cat >conftest.$ac_ext <<_ACEOF
34935 /* confdefs.h. */
34936 _ACEOF
34937 cat confdefs.h >>conftest.$ac_ext
34938 cat >>conftest.$ac_ext <<_ACEOF
34939 /* end confdefs.h. */
34940 #include <math.h>
34941 #ifdef HAVE_IEEEFP_H
34942 #include <ieeefp.h>
34943 #endif
34946 main ()
34948 _isinfl(0);
34950 return 0;
34952 _ACEOF
34953 rm -f conftest.$ac_objext
34954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34955 (eval $ac_compile) 2>conftest.er1
34956 ac_status=$?
34957 grep -v '^ *+' conftest.er1 >conftest.err
34958 rm -f conftest.er1
34959 cat conftest.err >&5
34960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34961 (exit $ac_status); } &&
34962 { ac_try='test -z "$ac_cxx_werror_flag"
34963 || test ! -s conftest.err'
34964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34965 (eval $ac_try) 2>&5
34966 ac_status=$?
34967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968 (exit $ac_status); }; } &&
34969 { ac_try='test -s conftest.$ac_objext'
34970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34971 (eval $ac_try) 2>&5
34972 ac_status=$?
34973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34974 (exit $ac_status); }; }; then
34975 glibcxx_cv_func__isinfl_use=yes
34976 else
34977 echo "$as_me: failed program was:" >&5
34978 sed 's/^/| /' conftest.$ac_ext >&5
34980 glibcxx_cv_func__isinfl_use=no
34982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34983 ac_ext=c
34984 ac_cpp='$CPP $CPPFLAGS'
34985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34993 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
34994 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
34996 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
34998 for ac_func in _isinfl
35000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35001 echo "$as_me:$LINENO: checking for $ac_func" >&5
35002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35003 if eval "test \"\${$as_ac_var+set}\" = set"; then
35004 echo $ECHO_N "(cached) $ECHO_C" >&6
35005 else
35006 if test x$gcc_no_link = xyes; then
35007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35009 { (exit 1); exit 1; }; }
35011 cat >conftest.$ac_ext <<_ACEOF
35012 /* confdefs.h. */
35013 _ACEOF
35014 cat confdefs.h >>conftest.$ac_ext
35015 cat >>conftest.$ac_ext <<_ACEOF
35016 /* end confdefs.h. */
35017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35019 #define $ac_func innocuous_$ac_func
35021 /* System header to define __stub macros and hopefully few prototypes,
35022 which can conflict with char $ac_func (); below.
35023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35024 <limits.h> exists even on freestanding compilers. */
35026 #ifdef __STDC__
35027 # include <limits.h>
35028 #else
35029 # include <assert.h>
35030 #endif
35032 #undef $ac_func
35034 /* Override any gcc2 internal prototype to avoid an error. */
35035 #ifdef __cplusplus
35036 extern "C"
35038 #endif
35039 /* We use char because int might match the return type of a gcc2
35040 builtin and then its argument prototype would still apply. */
35041 char $ac_func ();
35042 /* The GNU C library defines this for functions which it implements
35043 to always fail with ENOSYS. Some functions are actually named
35044 something starting with __ and the normal name is an alias. */
35045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35046 choke me
35047 #else
35048 char (*f) () = $ac_func;
35049 #endif
35050 #ifdef __cplusplus
35052 #endif
35055 main ()
35057 return f != $ac_func;
35059 return 0;
35061 _ACEOF
35062 rm -f conftest.$ac_objext conftest$ac_exeext
35063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35064 (eval $ac_link) 2>conftest.er1
35065 ac_status=$?
35066 grep -v '^ *+' conftest.er1 >conftest.err
35067 rm -f conftest.er1
35068 cat conftest.err >&5
35069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35070 (exit $ac_status); } &&
35071 { ac_try='test -z "$ac_c_werror_flag"
35072 || test ! -s conftest.err'
35073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35074 (eval $ac_try) 2>&5
35075 ac_status=$?
35076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35077 (exit $ac_status); }; } &&
35078 { ac_try='test -s conftest$ac_exeext'
35079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35080 (eval $ac_try) 2>&5
35081 ac_status=$?
35082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35083 (exit $ac_status); }; }; then
35084 eval "$as_ac_var=yes"
35085 else
35086 echo "$as_me: failed program was:" >&5
35087 sed 's/^/| /' conftest.$ac_ext >&5
35089 eval "$as_ac_var=no"
35091 rm -f conftest.err conftest.$ac_objext \
35092 conftest$ac_exeext conftest.$ac_ext
35094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35096 if test `eval echo '${'$as_ac_var'}'` = yes; then
35097 cat >>confdefs.h <<_ACEOF
35098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35099 _ACEOF
35102 done
35112 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
35113 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
35114 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
35115 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
35116 echo $ECHO_N "(cached) $ECHO_C" >&6
35117 else
35121 ac_ext=cc
35122 ac_cpp='$CXXCPP $CPPFLAGS'
35123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35127 cat >conftest.$ac_ext <<_ACEOF
35128 /* confdefs.h. */
35129 _ACEOF
35130 cat confdefs.h >>conftest.$ac_ext
35131 cat >>conftest.$ac_ext <<_ACEOF
35132 /* end confdefs.h. */
35133 #include <math.h>
35135 main ()
35137 copysignl(0, 0);
35139 return 0;
35141 _ACEOF
35142 rm -f conftest.$ac_objext
35143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35144 (eval $ac_compile) 2>conftest.er1
35145 ac_status=$?
35146 grep -v '^ *+' conftest.er1 >conftest.err
35147 rm -f conftest.er1
35148 cat conftest.err >&5
35149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35150 (exit $ac_status); } &&
35151 { ac_try='test -z "$ac_cxx_werror_flag"
35152 || test ! -s conftest.err'
35153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35154 (eval $ac_try) 2>&5
35155 ac_status=$?
35156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35157 (exit $ac_status); }; } &&
35158 { ac_try='test -s conftest.$ac_objext'
35159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35160 (eval $ac_try) 2>&5
35161 ac_status=$?
35162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35163 (exit $ac_status); }; }; then
35164 glibcxx_cv_func_copysignl_use=yes
35165 else
35166 echo "$as_me: failed program was:" >&5
35167 sed 's/^/| /' conftest.$ac_ext >&5
35169 glibcxx_cv_func_copysignl_use=no
35171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35172 ac_ext=c
35173 ac_cpp='$CPP $CPPFLAGS'
35174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35182 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
35183 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
35185 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
35187 for ac_func in copysignl
35189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35190 echo "$as_me:$LINENO: checking for $ac_func" >&5
35191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35192 if eval "test \"\${$as_ac_var+set}\" = set"; then
35193 echo $ECHO_N "(cached) $ECHO_C" >&6
35194 else
35195 if test x$gcc_no_link = xyes; then
35196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35198 { (exit 1); exit 1; }; }
35200 cat >conftest.$ac_ext <<_ACEOF
35201 /* confdefs.h. */
35202 _ACEOF
35203 cat confdefs.h >>conftest.$ac_ext
35204 cat >>conftest.$ac_ext <<_ACEOF
35205 /* end confdefs.h. */
35206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35208 #define $ac_func innocuous_$ac_func
35210 /* System header to define __stub macros and hopefully few prototypes,
35211 which can conflict with char $ac_func (); below.
35212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35213 <limits.h> exists even on freestanding compilers. */
35215 #ifdef __STDC__
35216 # include <limits.h>
35217 #else
35218 # include <assert.h>
35219 #endif
35221 #undef $ac_func
35223 /* Override any gcc2 internal prototype to avoid an error. */
35224 #ifdef __cplusplus
35225 extern "C"
35227 #endif
35228 /* We use char because int might match the return type of a gcc2
35229 builtin and then its argument prototype would still apply. */
35230 char $ac_func ();
35231 /* The GNU C library defines this for functions which it implements
35232 to always fail with ENOSYS. Some functions are actually named
35233 something starting with __ and the normal name is an alias. */
35234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35235 choke me
35236 #else
35237 char (*f) () = $ac_func;
35238 #endif
35239 #ifdef __cplusplus
35241 #endif
35244 main ()
35246 return f != $ac_func;
35248 return 0;
35250 _ACEOF
35251 rm -f conftest.$ac_objext conftest$ac_exeext
35252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35253 (eval $ac_link) 2>conftest.er1
35254 ac_status=$?
35255 grep -v '^ *+' conftest.er1 >conftest.err
35256 rm -f conftest.er1
35257 cat conftest.err >&5
35258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35259 (exit $ac_status); } &&
35260 { ac_try='test -z "$ac_c_werror_flag"
35261 || test ! -s conftest.err'
35262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35263 (eval $ac_try) 2>&5
35264 ac_status=$?
35265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35266 (exit $ac_status); }; } &&
35267 { ac_try='test -s conftest$ac_exeext'
35268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35269 (eval $ac_try) 2>&5
35270 ac_status=$?
35271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35272 (exit $ac_status); }; }; then
35273 eval "$as_ac_var=yes"
35274 else
35275 echo "$as_me: failed program was:" >&5
35276 sed 's/^/| /' conftest.$ac_ext >&5
35278 eval "$as_ac_var=no"
35280 rm -f conftest.err conftest.$ac_objext \
35281 conftest$ac_exeext conftest.$ac_ext
35283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35285 if test `eval echo '${'$as_ac_var'}'` = yes; then
35286 cat >>confdefs.h <<_ACEOF
35287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35288 _ACEOF
35291 done
35293 else
35295 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
35296 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
35297 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
35298 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
35299 echo $ECHO_N "(cached) $ECHO_C" >&6
35300 else
35304 ac_ext=cc
35305 ac_cpp='$CXXCPP $CPPFLAGS'
35306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35310 cat >conftest.$ac_ext <<_ACEOF
35311 /* confdefs.h. */
35312 _ACEOF
35313 cat confdefs.h >>conftest.$ac_ext
35314 cat >>conftest.$ac_ext <<_ACEOF
35315 /* end confdefs.h. */
35316 #include <math.h>
35318 main ()
35320 _copysignl(0, 0);
35322 return 0;
35324 _ACEOF
35325 rm -f conftest.$ac_objext
35326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35327 (eval $ac_compile) 2>conftest.er1
35328 ac_status=$?
35329 grep -v '^ *+' conftest.er1 >conftest.err
35330 rm -f conftest.er1
35331 cat conftest.err >&5
35332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35333 (exit $ac_status); } &&
35334 { ac_try='test -z "$ac_cxx_werror_flag"
35335 || test ! -s conftest.err'
35336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35337 (eval $ac_try) 2>&5
35338 ac_status=$?
35339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35340 (exit $ac_status); }; } &&
35341 { ac_try='test -s conftest.$ac_objext'
35342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35343 (eval $ac_try) 2>&5
35344 ac_status=$?
35345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35346 (exit $ac_status); }; }; then
35347 glibcxx_cv_func__copysignl_use=yes
35348 else
35349 echo "$as_me: failed program was:" >&5
35350 sed 's/^/| /' conftest.$ac_ext >&5
35352 glibcxx_cv_func__copysignl_use=no
35354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35355 ac_ext=c
35356 ac_cpp='$CPP $CPPFLAGS'
35357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35365 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
35366 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
35368 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
35370 for ac_func in _copysignl
35372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35373 echo "$as_me:$LINENO: checking for $ac_func" >&5
35374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35375 if eval "test \"\${$as_ac_var+set}\" = set"; then
35376 echo $ECHO_N "(cached) $ECHO_C" >&6
35377 else
35378 if test x$gcc_no_link = xyes; then
35379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35381 { (exit 1); exit 1; }; }
35383 cat >conftest.$ac_ext <<_ACEOF
35384 /* confdefs.h. */
35385 _ACEOF
35386 cat confdefs.h >>conftest.$ac_ext
35387 cat >>conftest.$ac_ext <<_ACEOF
35388 /* end confdefs.h. */
35389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35391 #define $ac_func innocuous_$ac_func
35393 /* System header to define __stub macros and hopefully few prototypes,
35394 which can conflict with char $ac_func (); below.
35395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35396 <limits.h> exists even on freestanding compilers. */
35398 #ifdef __STDC__
35399 # include <limits.h>
35400 #else
35401 # include <assert.h>
35402 #endif
35404 #undef $ac_func
35406 /* Override any gcc2 internal prototype to avoid an error. */
35407 #ifdef __cplusplus
35408 extern "C"
35410 #endif
35411 /* We use char because int might match the return type of a gcc2
35412 builtin and then its argument prototype would still apply. */
35413 char $ac_func ();
35414 /* The GNU C library defines this for functions which it implements
35415 to always fail with ENOSYS. Some functions are actually named
35416 something starting with __ and the normal name is an alias. */
35417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35418 choke me
35419 #else
35420 char (*f) () = $ac_func;
35421 #endif
35422 #ifdef __cplusplus
35424 #endif
35427 main ()
35429 return f != $ac_func;
35431 return 0;
35433 _ACEOF
35434 rm -f conftest.$ac_objext conftest$ac_exeext
35435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35436 (eval $ac_link) 2>conftest.er1
35437 ac_status=$?
35438 grep -v '^ *+' conftest.er1 >conftest.err
35439 rm -f conftest.er1
35440 cat conftest.err >&5
35441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35442 (exit $ac_status); } &&
35443 { ac_try='test -z "$ac_c_werror_flag"
35444 || test ! -s conftest.err'
35445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35446 (eval $ac_try) 2>&5
35447 ac_status=$?
35448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35449 (exit $ac_status); }; } &&
35450 { ac_try='test -s conftest$ac_exeext'
35451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35452 (eval $ac_try) 2>&5
35453 ac_status=$?
35454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35455 (exit $ac_status); }; }; then
35456 eval "$as_ac_var=yes"
35457 else
35458 echo "$as_me: failed program was:" >&5
35459 sed 's/^/| /' conftest.$ac_ext >&5
35461 eval "$as_ac_var=no"
35463 rm -f conftest.err conftest.$ac_objext \
35464 conftest$ac_exeext conftest.$ac_ext
35466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35468 if test `eval echo '${'$as_ac_var'}'` = yes; then
35469 cat >>confdefs.h <<_ACEOF
35470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35471 _ACEOF
35474 done
35484 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
35485 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
35486 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
35487 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
35488 echo $ECHO_N "(cached) $ECHO_C" >&6
35489 else
35493 ac_ext=cc
35494 ac_cpp='$CXXCPP $CPPFLAGS'
35495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35499 cat >conftest.$ac_ext <<_ACEOF
35500 /* confdefs.h. */
35501 _ACEOF
35502 cat confdefs.h >>conftest.$ac_ext
35503 cat >>conftest.$ac_ext <<_ACEOF
35504 /* end confdefs.h. */
35505 #include <math.h>
35507 main ()
35509 atan2l(0, 0);
35511 return 0;
35513 _ACEOF
35514 rm -f conftest.$ac_objext
35515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35516 (eval $ac_compile) 2>conftest.er1
35517 ac_status=$?
35518 grep -v '^ *+' conftest.er1 >conftest.err
35519 rm -f conftest.er1
35520 cat conftest.err >&5
35521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522 (exit $ac_status); } &&
35523 { ac_try='test -z "$ac_cxx_werror_flag"
35524 || test ! -s conftest.err'
35525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35526 (eval $ac_try) 2>&5
35527 ac_status=$?
35528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35529 (exit $ac_status); }; } &&
35530 { ac_try='test -s conftest.$ac_objext'
35531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35532 (eval $ac_try) 2>&5
35533 ac_status=$?
35534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35535 (exit $ac_status); }; }; then
35536 glibcxx_cv_func_atan2l_use=yes
35537 else
35538 echo "$as_me: failed program was:" >&5
35539 sed 's/^/| /' conftest.$ac_ext >&5
35541 glibcxx_cv_func_atan2l_use=no
35543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35544 ac_ext=c
35545 ac_cpp='$CPP $CPPFLAGS'
35546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35554 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
35555 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
35557 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
35559 for ac_func in atan2l
35561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35562 echo "$as_me:$LINENO: checking for $ac_func" >&5
35563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35564 if eval "test \"\${$as_ac_var+set}\" = set"; then
35565 echo $ECHO_N "(cached) $ECHO_C" >&6
35566 else
35567 if test x$gcc_no_link = xyes; then
35568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35570 { (exit 1); exit 1; }; }
35572 cat >conftest.$ac_ext <<_ACEOF
35573 /* confdefs.h. */
35574 _ACEOF
35575 cat confdefs.h >>conftest.$ac_ext
35576 cat >>conftest.$ac_ext <<_ACEOF
35577 /* end confdefs.h. */
35578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35580 #define $ac_func innocuous_$ac_func
35582 /* System header to define __stub macros and hopefully few prototypes,
35583 which can conflict with char $ac_func (); below.
35584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35585 <limits.h> exists even on freestanding compilers. */
35587 #ifdef __STDC__
35588 # include <limits.h>
35589 #else
35590 # include <assert.h>
35591 #endif
35593 #undef $ac_func
35595 /* Override any gcc2 internal prototype to avoid an error. */
35596 #ifdef __cplusplus
35597 extern "C"
35599 #endif
35600 /* We use char because int might match the return type of a gcc2
35601 builtin and then its argument prototype would still apply. */
35602 char $ac_func ();
35603 /* The GNU C library defines this for functions which it implements
35604 to always fail with ENOSYS. Some functions are actually named
35605 something starting with __ and the normal name is an alias. */
35606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35607 choke me
35608 #else
35609 char (*f) () = $ac_func;
35610 #endif
35611 #ifdef __cplusplus
35613 #endif
35616 main ()
35618 return f != $ac_func;
35620 return 0;
35622 _ACEOF
35623 rm -f conftest.$ac_objext conftest$ac_exeext
35624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35625 (eval $ac_link) 2>conftest.er1
35626 ac_status=$?
35627 grep -v '^ *+' conftest.er1 >conftest.err
35628 rm -f conftest.er1
35629 cat conftest.err >&5
35630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35631 (exit $ac_status); } &&
35632 { ac_try='test -z "$ac_c_werror_flag"
35633 || test ! -s conftest.err'
35634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35635 (eval $ac_try) 2>&5
35636 ac_status=$?
35637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35638 (exit $ac_status); }; } &&
35639 { ac_try='test -s conftest$ac_exeext'
35640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35641 (eval $ac_try) 2>&5
35642 ac_status=$?
35643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35644 (exit $ac_status); }; }; then
35645 eval "$as_ac_var=yes"
35646 else
35647 echo "$as_me: failed program was:" >&5
35648 sed 's/^/| /' conftest.$ac_ext >&5
35650 eval "$as_ac_var=no"
35652 rm -f conftest.err conftest.$ac_objext \
35653 conftest$ac_exeext conftest.$ac_ext
35655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35657 if test `eval echo '${'$as_ac_var'}'` = yes; then
35658 cat >>confdefs.h <<_ACEOF
35659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35660 _ACEOF
35663 done
35665 else
35667 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
35668 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
35669 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
35670 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
35671 echo $ECHO_N "(cached) $ECHO_C" >&6
35672 else
35676 ac_ext=cc
35677 ac_cpp='$CXXCPP $CPPFLAGS'
35678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35682 cat >conftest.$ac_ext <<_ACEOF
35683 /* confdefs.h. */
35684 _ACEOF
35685 cat confdefs.h >>conftest.$ac_ext
35686 cat >>conftest.$ac_ext <<_ACEOF
35687 /* end confdefs.h. */
35688 #include <math.h>
35690 main ()
35692 _atan2l(0, 0);
35694 return 0;
35696 _ACEOF
35697 rm -f conftest.$ac_objext
35698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35699 (eval $ac_compile) 2>conftest.er1
35700 ac_status=$?
35701 grep -v '^ *+' conftest.er1 >conftest.err
35702 rm -f conftest.er1
35703 cat conftest.err >&5
35704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35705 (exit $ac_status); } &&
35706 { ac_try='test -z "$ac_cxx_werror_flag"
35707 || test ! -s conftest.err'
35708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35709 (eval $ac_try) 2>&5
35710 ac_status=$?
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); }; } &&
35713 { ac_try='test -s conftest.$ac_objext'
35714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35715 (eval $ac_try) 2>&5
35716 ac_status=$?
35717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35718 (exit $ac_status); }; }; then
35719 glibcxx_cv_func__atan2l_use=yes
35720 else
35721 echo "$as_me: failed program was:" >&5
35722 sed 's/^/| /' conftest.$ac_ext >&5
35724 glibcxx_cv_func__atan2l_use=no
35726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35727 ac_ext=c
35728 ac_cpp='$CPP $CPPFLAGS'
35729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35737 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
35738 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
35740 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
35742 for ac_func in _atan2l
35744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35745 echo "$as_me:$LINENO: checking for $ac_func" >&5
35746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35747 if eval "test \"\${$as_ac_var+set}\" = set"; then
35748 echo $ECHO_N "(cached) $ECHO_C" >&6
35749 else
35750 if test x$gcc_no_link = xyes; then
35751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35753 { (exit 1); exit 1; }; }
35755 cat >conftest.$ac_ext <<_ACEOF
35756 /* confdefs.h. */
35757 _ACEOF
35758 cat confdefs.h >>conftest.$ac_ext
35759 cat >>conftest.$ac_ext <<_ACEOF
35760 /* end confdefs.h. */
35761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35763 #define $ac_func innocuous_$ac_func
35765 /* System header to define __stub macros and hopefully few prototypes,
35766 which can conflict with char $ac_func (); below.
35767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35768 <limits.h> exists even on freestanding compilers. */
35770 #ifdef __STDC__
35771 # include <limits.h>
35772 #else
35773 # include <assert.h>
35774 #endif
35776 #undef $ac_func
35778 /* Override any gcc2 internal prototype to avoid an error. */
35779 #ifdef __cplusplus
35780 extern "C"
35782 #endif
35783 /* We use char because int might match the return type of a gcc2
35784 builtin and then its argument prototype would still apply. */
35785 char $ac_func ();
35786 /* The GNU C library defines this for functions which it implements
35787 to always fail with ENOSYS. Some functions are actually named
35788 something starting with __ and the normal name is an alias. */
35789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35790 choke me
35791 #else
35792 char (*f) () = $ac_func;
35793 #endif
35794 #ifdef __cplusplus
35796 #endif
35799 main ()
35801 return f != $ac_func;
35803 return 0;
35805 _ACEOF
35806 rm -f conftest.$ac_objext conftest$ac_exeext
35807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35808 (eval $ac_link) 2>conftest.er1
35809 ac_status=$?
35810 grep -v '^ *+' conftest.er1 >conftest.err
35811 rm -f conftest.er1
35812 cat conftest.err >&5
35813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35814 (exit $ac_status); } &&
35815 { ac_try='test -z "$ac_c_werror_flag"
35816 || test ! -s conftest.err'
35817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35818 (eval $ac_try) 2>&5
35819 ac_status=$?
35820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35821 (exit $ac_status); }; } &&
35822 { ac_try='test -s conftest$ac_exeext'
35823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35824 (eval $ac_try) 2>&5
35825 ac_status=$?
35826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35827 (exit $ac_status); }; }; then
35828 eval "$as_ac_var=yes"
35829 else
35830 echo "$as_me: failed program was:" >&5
35831 sed 's/^/| /' conftest.$ac_ext >&5
35833 eval "$as_ac_var=no"
35835 rm -f conftest.err conftest.$ac_objext \
35836 conftest$ac_exeext conftest.$ac_ext
35838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35840 if test `eval echo '${'$as_ac_var'}'` = yes; then
35841 cat >>confdefs.h <<_ACEOF
35842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35843 _ACEOF
35846 done
35856 echo "$as_me:$LINENO: checking for expl declaration" >&5
35857 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
35858 if test x${glibcxx_cv_func_expl_use+set} != xset; then
35859 if test "${glibcxx_cv_func_expl_use+set}" = set; then
35860 echo $ECHO_N "(cached) $ECHO_C" >&6
35861 else
35865 ac_ext=cc
35866 ac_cpp='$CXXCPP $CPPFLAGS'
35867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35871 cat >conftest.$ac_ext <<_ACEOF
35872 /* confdefs.h. */
35873 _ACEOF
35874 cat confdefs.h >>conftest.$ac_ext
35875 cat >>conftest.$ac_ext <<_ACEOF
35876 /* end confdefs.h. */
35877 #include <math.h>
35878 #ifdef HAVE_IEEEFP_H
35879 #include <ieeefp.h>
35880 #endif
35883 main ()
35885 expl(0);
35887 return 0;
35889 _ACEOF
35890 rm -f conftest.$ac_objext
35891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35892 (eval $ac_compile) 2>conftest.er1
35893 ac_status=$?
35894 grep -v '^ *+' conftest.er1 >conftest.err
35895 rm -f conftest.er1
35896 cat conftest.err >&5
35897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35898 (exit $ac_status); } &&
35899 { ac_try='test -z "$ac_cxx_werror_flag"
35900 || test ! -s conftest.err'
35901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35902 (eval $ac_try) 2>&5
35903 ac_status=$?
35904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35905 (exit $ac_status); }; } &&
35906 { ac_try='test -s conftest.$ac_objext'
35907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35908 (eval $ac_try) 2>&5
35909 ac_status=$?
35910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35911 (exit $ac_status); }; }; then
35912 glibcxx_cv_func_expl_use=yes
35913 else
35914 echo "$as_me: failed program was:" >&5
35915 sed 's/^/| /' conftest.$ac_ext >&5
35917 glibcxx_cv_func_expl_use=no
35919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35920 ac_ext=c
35921 ac_cpp='$CPP $CPPFLAGS'
35922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35930 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
35931 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
35933 if test x$glibcxx_cv_func_expl_use = x"yes"; then
35935 for ac_func in expl
35937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35938 echo "$as_me:$LINENO: checking for $ac_func" >&5
35939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35940 if eval "test \"\${$as_ac_var+set}\" = set"; then
35941 echo $ECHO_N "(cached) $ECHO_C" >&6
35942 else
35943 if test x$gcc_no_link = xyes; then
35944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35946 { (exit 1); exit 1; }; }
35948 cat >conftest.$ac_ext <<_ACEOF
35949 /* confdefs.h. */
35950 _ACEOF
35951 cat confdefs.h >>conftest.$ac_ext
35952 cat >>conftest.$ac_ext <<_ACEOF
35953 /* end confdefs.h. */
35954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35956 #define $ac_func innocuous_$ac_func
35958 /* System header to define __stub macros and hopefully few prototypes,
35959 which can conflict with char $ac_func (); below.
35960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35961 <limits.h> exists even on freestanding compilers. */
35963 #ifdef __STDC__
35964 # include <limits.h>
35965 #else
35966 # include <assert.h>
35967 #endif
35969 #undef $ac_func
35971 /* Override any gcc2 internal prototype to avoid an error. */
35972 #ifdef __cplusplus
35973 extern "C"
35975 #endif
35976 /* We use char because int might match the return type of a gcc2
35977 builtin and then its argument prototype would still apply. */
35978 char $ac_func ();
35979 /* The GNU C library defines this for functions which it implements
35980 to always fail with ENOSYS. Some functions are actually named
35981 something starting with __ and the normal name is an alias. */
35982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35983 choke me
35984 #else
35985 char (*f) () = $ac_func;
35986 #endif
35987 #ifdef __cplusplus
35989 #endif
35992 main ()
35994 return f != $ac_func;
35996 return 0;
35998 _ACEOF
35999 rm -f conftest.$ac_objext conftest$ac_exeext
36000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36001 (eval $ac_link) 2>conftest.er1
36002 ac_status=$?
36003 grep -v '^ *+' conftest.er1 >conftest.err
36004 rm -f conftest.er1
36005 cat conftest.err >&5
36006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36007 (exit $ac_status); } &&
36008 { ac_try='test -z "$ac_c_werror_flag"
36009 || test ! -s conftest.err'
36010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36011 (eval $ac_try) 2>&5
36012 ac_status=$?
36013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36014 (exit $ac_status); }; } &&
36015 { ac_try='test -s conftest$ac_exeext'
36016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36017 (eval $ac_try) 2>&5
36018 ac_status=$?
36019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36020 (exit $ac_status); }; }; then
36021 eval "$as_ac_var=yes"
36022 else
36023 echo "$as_me: failed program was:" >&5
36024 sed 's/^/| /' conftest.$ac_ext >&5
36026 eval "$as_ac_var=no"
36028 rm -f conftest.err conftest.$ac_objext \
36029 conftest$ac_exeext conftest.$ac_ext
36031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36033 if test `eval echo '${'$as_ac_var'}'` = yes; then
36034 cat >>confdefs.h <<_ACEOF
36035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36036 _ACEOF
36039 done
36041 else
36043 echo "$as_me:$LINENO: checking for _expl declaration" >&5
36044 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
36045 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36046 if test "${glibcxx_cv_func__expl_use+set}" = set; then
36047 echo $ECHO_N "(cached) $ECHO_C" >&6
36048 else
36052 ac_ext=cc
36053 ac_cpp='$CXXCPP $CPPFLAGS'
36054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36058 cat >conftest.$ac_ext <<_ACEOF
36059 /* confdefs.h. */
36060 _ACEOF
36061 cat confdefs.h >>conftest.$ac_ext
36062 cat >>conftest.$ac_ext <<_ACEOF
36063 /* end confdefs.h. */
36064 #include <math.h>
36065 #ifdef HAVE_IEEEFP_H
36066 #include <ieeefp.h>
36067 #endif
36070 main ()
36072 _expl(0);
36074 return 0;
36076 _ACEOF
36077 rm -f conftest.$ac_objext
36078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36079 (eval $ac_compile) 2>conftest.er1
36080 ac_status=$?
36081 grep -v '^ *+' conftest.er1 >conftest.err
36082 rm -f conftest.er1
36083 cat conftest.err >&5
36084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36085 (exit $ac_status); } &&
36086 { ac_try='test -z "$ac_cxx_werror_flag"
36087 || test ! -s conftest.err'
36088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36089 (eval $ac_try) 2>&5
36090 ac_status=$?
36091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36092 (exit $ac_status); }; } &&
36093 { ac_try='test -s conftest.$ac_objext'
36094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36095 (eval $ac_try) 2>&5
36096 ac_status=$?
36097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36098 (exit $ac_status); }; }; then
36099 glibcxx_cv_func__expl_use=yes
36100 else
36101 echo "$as_me: failed program was:" >&5
36102 sed 's/^/| /' conftest.$ac_ext >&5
36104 glibcxx_cv_func__expl_use=no
36106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36107 ac_ext=c
36108 ac_cpp='$CPP $CPPFLAGS'
36109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36117 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
36118 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
36120 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36122 for ac_func in _expl
36124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36125 echo "$as_me:$LINENO: checking for $ac_func" >&5
36126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36127 if eval "test \"\${$as_ac_var+set}\" = set"; then
36128 echo $ECHO_N "(cached) $ECHO_C" >&6
36129 else
36130 if test x$gcc_no_link = xyes; then
36131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36133 { (exit 1); exit 1; }; }
36135 cat >conftest.$ac_ext <<_ACEOF
36136 /* confdefs.h. */
36137 _ACEOF
36138 cat confdefs.h >>conftest.$ac_ext
36139 cat >>conftest.$ac_ext <<_ACEOF
36140 /* end confdefs.h. */
36141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36143 #define $ac_func innocuous_$ac_func
36145 /* System header to define __stub macros and hopefully few prototypes,
36146 which can conflict with char $ac_func (); below.
36147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36148 <limits.h> exists even on freestanding compilers. */
36150 #ifdef __STDC__
36151 # include <limits.h>
36152 #else
36153 # include <assert.h>
36154 #endif
36156 #undef $ac_func
36158 /* Override any gcc2 internal prototype to avoid an error. */
36159 #ifdef __cplusplus
36160 extern "C"
36162 #endif
36163 /* We use char because int might match the return type of a gcc2
36164 builtin and then its argument prototype would still apply. */
36165 char $ac_func ();
36166 /* The GNU C library defines this for functions which it implements
36167 to always fail with ENOSYS. Some functions are actually named
36168 something starting with __ and the normal name is an alias. */
36169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36170 choke me
36171 #else
36172 char (*f) () = $ac_func;
36173 #endif
36174 #ifdef __cplusplus
36176 #endif
36179 main ()
36181 return f != $ac_func;
36183 return 0;
36185 _ACEOF
36186 rm -f conftest.$ac_objext conftest$ac_exeext
36187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36188 (eval $ac_link) 2>conftest.er1
36189 ac_status=$?
36190 grep -v '^ *+' conftest.er1 >conftest.err
36191 rm -f conftest.er1
36192 cat conftest.err >&5
36193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36194 (exit $ac_status); } &&
36195 { ac_try='test -z "$ac_c_werror_flag"
36196 || test ! -s conftest.err'
36197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36198 (eval $ac_try) 2>&5
36199 ac_status=$?
36200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36201 (exit $ac_status); }; } &&
36202 { ac_try='test -s conftest$ac_exeext'
36203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36204 (eval $ac_try) 2>&5
36205 ac_status=$?
36206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36207 (exit $ac_status); }; }; then
36208 eval "$as_ac_var=yes"
36209 else
36210 echo "$as_me: failed program was:" >&5
36211 sed 's/^/| /' conftest.$ac_ext >&5
36213 eval "$as_ac_var=no"
36215 rm -f conftest.err conftest.$ac_objext \
36216 conftest$ac_exeext conftest.$ac_ext
36218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36220 if test `eval echo '${'$as_ac_var'}'` = yes; then
36221 cat >>confdefs.h <<_ACEOF
36222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36223 _ACEOF
36226 done
36236 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
36237 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
36238 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36239 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
36240 echo $ECHO_N "(cached) $ECHO_C" >&6
36241 else
36245 ac_ext=cc
36246 ac_cpp='$CXXCPP $CPPFLAGS'
36247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36251 cat >conftest.$ac_ext <<_ACEOF
36252 /* confdefs.h. */
36253 _ACEOF
36254 cat confdefs.h >>conftest.$ac_ext
36255 cat >>conftest.$ac_ext <<_ACEOF
36256 /* end confdefs.h. */
36257 #include <math.h>
36258 #ifdef HAVE_IEEEFP_H
36259 #include <ieeefp.h>
36260 #endif
36263 main ()
36265 fabsl(0);
36267 return 0;
36269 _ACEOF
36270 rm -f conftest.$ac_objext
36271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36272 (eval $ac_compile) 2>conftest.er1
36273 ac_status=$?
36274 grep -v '^ *+' conftest.er1 >conftest.err
36275 rm -f conftest.er1
36276 cat conftest.err >&5
36277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36278 (exit $ac_status); } &&
36279 { ac_try='test -z "$ac_cxx_werror_flag"
36280 || test ! -s conftest.err'
36281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36282 (eval $ac_try) 2>&5
36283 ac_status=$?
36284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36285 (exit $ac_status); }; } &&
36286 { ac_try='test -s conftest.$ac_objext'
36287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36288 (eval $ac_try) 2>&5
36289 ac_status=$?
36290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36291 (exit $ac_status); }; }; then
36292 glibcxx_cv_func_fabsl_use=yes
36293 else
36294 echo "$as_me: failed program was:" >&5
36295 sed 's/^/| /' conftest.$ac_ext >&5
36297 glibcxx_cv_func_fabsl_use=no
36299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36300 ac_ext=c
36301 ac_cpp='$CPP $CPPFLAGS'
36302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36310 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
36311 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
36313 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36315 for ac_func in fabsl
36317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36318 echo "$as_me:$LINENO: checking for $ac_func" >&5
36319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36320 if eval "test \"\${$as_ac_var+set}\" = set"; then
36321 echo $ECHO_N "(cached) $ECHO_C" >&6
36322 else
36323 if test x$gcc_no_link = xyes; then
36324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36326 { (exit 1); exit 1; }; }
36328 cat >conftest.$ac_ext <<_ACEOF
36329 /* confdefs.h. */
36330 _ACEOF
36331 cat confdefs.h >>conftest.$ac_ext
36332 cat >>conftest.$ac_ext <<_ACEOF
36333 /* end confdefs.h. */
36334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36336 #define $ac_func innocuous_$ac_func
36338 /* System header to define __stub macros and hopefully few prototypes,
36339 which can conflict with char $ac_func (); below.
36340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36341 <limits.h> exists even on freestanding compilers. */
36343 #ifdef __STDC__
36344 # include <limits.h>
36345 #else
36346 # include <assert.h>
36347 #endif
36349 #undef $ac_func
36351 /* Override any gcc2 internal prototype to avoid an error. */
36352 #ifdef __cplusplus
36353 extern "C"
36355 #endif
36356 /* We use char because int might match the return type of a gcc2
36357 builtin and then its argument prototype would still apply. */
36358 char $ac_func ();
36359 /* The GNU C library defines this for functions which it implements
36360 to always fail with ENOSYS. Some functions are actually named
36361 something starting with __ and the normal name is an alias. */
36362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36363 choke me
36364 #else
36365 char (*f) () = $ac_func;
36366 #endif
36367 #ifdef __cplusplus
36369 #endif
36372 main ()
36374 return f != $ac_func;
36376 return 0;
36378 _ACEOF
36379 rm -f conftest.$ac_objext conftest$ac_exeext
36380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36381 (eval $ac_link) 2>conftest.er1
36382 ac_status=$?
36383 grep -v '^ *+' conftest.er1 >conftest.err
36384 rm -f conftest.er1
36385 cat conftest.err >&5
36386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36387 (exit $ac_status); } &&
36388 { ac_try='test -z "$ac_c_werror_flag"
36389 || test ! -s conftest.err'
36390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36391 (eval $ac_try) 2>&5
36392 ac_status=$?
36393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36394 (exit $ac_status); }; } &&
36395 { ac_try='test -s conftest$ac_exeext'
36396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36397 (eval $ac_try) 2>&5
36398 ac_status=$?
36399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36400 (exit $ac_status); }; }; then
36401 eval "$as_ac_var=yes"
36402 else
36403 echo "$as_me: failed program was:" >&5
36404 sed 's/^/| /' conftest.$ac_ext >&5
36406 eval "$as_ac_var=no"
36408 rm -f conftest.err conftest.$ac_objext \
36409 conftest$ac_exeext conftest.$ac_ext
36411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36413 if test `eval echo '${'$as_ac_var'}'` = yes; then
36414 cat >>confdefs.h <<_ACEOF
36415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36416 _ACEOF
36419 done
36421 else
36423 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
36424 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
36425 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36426 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
36427 echo $ECHO_N "(cached) $ECHO_C" >&6
36428 else
36432 ac_ext=cc
36433 ac_cpp='$CXXCPP $CPPFLAGS'
36434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36438 cat >conftest.$ac_ext <<_ACEOF
36439 /* confdefs.h. */
36440 _ACEOF
36441 cat confdefs.h >>conftest.$ac_ext
36442 cat >>conftest.$ac_ext <<_ACEOF
36443 /* end confdefs.h. */
36444 #include <math.h>
36445 #ifdef HAVE_IEEEFP_H
36446 #include <ieeefp.h>
36447 #endif
36450 main ()
36452 _fabsl(0);
36454 return 0;
36456 _ACEOF
36457 rm -f conftest.$ac_objext
36458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36459 (eval $ac_compile) 2>conftest.er1
36460 ac_status=$?
36461 grep -v '^ *+' conftest.er1 >conftest.err
36462 rm -f conftest.er1
36463 cat conftest.err >&5
36464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36465 (exit $ac_status); } &&
36466 { ac_try='test -z "$ac_cxx_werror_flag"
36467 || test ! -s conftest.err'
36468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36469 (eval $ac_try) 2>&5
36470 ac_status=$?
36471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36472 (exit $ac_status); }; } &&
36473 { ac_try='test -s conftest.$ac_objext'
36474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36475 (eval $ac_try) 2>&5
36476 ac_status=$?
36477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36478 (exit $ac_status); }; }; then
36479 glibcxx_cv_func__fabsl_use=yes
36480 else
36481 echo "$as_me: failed program was:" >&5
36482 sed 's/^/| /' conftest.$ac_ext >&5
36484 glibcxx_cv_func__fabsl_use=no
36486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36487 ac_ext=c
36488 ac_cpp='$CPP $CPPFLAGS'
36489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36497 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
36498 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
36500 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36502 for ac_func in _fabsl
36504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36505 echo "$as_me:$LINENO: checking for $ac_func" >&5
36506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36507 if eval "test \"\${$as_ac_var+set}\" = set"; then
36508 echo $ECHO_N "(cached) $ECHO_C" >&6
36509 else
36510 if test x$gcc_no_link = xyes; then
36511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36513 { (exit 1); exit 1; }; }
36515 cat >conftest.$ac_ext <<_ACEOF
36516 /* confdefs.h. */
36517 _ACEOF
36518 cat confdefs.h >>conftest.$ac_ext
36519 cat >>conftest.$ac_ext <<_ACEOF
36520 /* end confdefs.h. */
36521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36523 #define $ac_func innocuous_$ac_func
36525 /* System header to define __stub macros and hopefully few prototypes,
36526 which can conflict with char $ac_func (); below.
36527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36528 <limits.h> exists even on freestanding compilers. */
36530 #ifdef __STDC__
36531 # include <limits.h>
36532 #else
36533 # include <assert.h>
36534 #endif
36536 #undef $ac_func
36538 /* Override any gcc2 internal prototype to avoid an error. */
36539 #ifdef __cplusplus
36540 extern "C"
36542 #endif
36543 /* We use char because int might match the return type of a gcc2
36544 builtin and then its argument prototype would still apply. */
36545 char $ac_func ();
36546 /* The GNU C library defines this for functions which it implements
36547 to always fail with ENOSYS. Some functions are actually named
36548 something starting with __ and the normal name is an alias. */
36549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36550 choke me
36551 #else
36552 char (*f) () = $ac_func;
36553 #endif
36554 #ifdef __cplusplus
36556 #endif
36559 main ()
36561 return f != $ac_func;
36563 return 0;
36565 _ACEOF
36566 rm -f conftest.$ac_objext conftest$ac_exeext
36567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36568 (eval $ac_link) 2>conftest.er1
36569 ac_status=$?
36570 grep -v '^ *+' conftest.er1 >conftest.err
36571 rm -f conftest.er1
36572 cat conftest.err >&5
36573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36574 (exit $ac_status); } &&
36575 { ac_try='test -z "$ac_c_werror_flag"
36576 || test ! -s conftest.err'
36577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36578 (eval $ac_try) 2>&5
36579 ac_status=$?
36580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36581 (exit $ac_status); }; } &&
36582 { ac_try='test -s conftest$ac_exeext'
36583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36584 (eval $ac_try) 2>&5
36585 ac_status=$?
36586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36587 (exit $ac_status); }; }; then
36588 eval "$as_ac_var=yes"
36589 else
36590 echo "$as_me: failed program was:" >&5
36591 sed 's/^/| /' conftest.$ac_ext >&5
36593 eval "$as_ac_var=no"
36595 rm -f conftest.err conftest.$ac_objext \
36596 conftest$ac_exeext conftest.$ac_ext
36598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36600 if test `eval echo '${'$as_ac_var'}'` = yes; then
36601 cat >>confdefs.h <<_ACEOF
36602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36603 _ACEOF
36606 done
36616 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
36617 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
36618 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36619 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
36620 echo $ECHO_N "(cached) $ECHO_C" >&6
36621 else
36625 ac_ext=cc
36626 ac_cpp='$CXXCPP $CPPFLAGS'
36627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36631 cat >conftest.$ac_ext <<_ACEOF
36632 /* confdefs.h. */
36633 _ACEOF
36634 cat confdefs.h >>conftest.$ac_ext
36635 cat >>conftest.$ac_ext <<_ACEOF
36636 /* end confdefs.h. */
36637 #include <math.h>
36639 main ()
36641 fmodl(0, 0);
36643 return 0;
36645 _ACEOF
36646 rm -f conftest.$ac_objext
36647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36648 (eval $ac_compile) 2>conftest.er1
36649 ac_status=$?
36650 grep -v '^ *+' conftest.er1 >conftest.err
36651 rm -f conftest.er1
36652 cat conftest.err >&5
36653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36654 (exit $ac_status); } &&
36655 { ac_try='test -z "$ac_cxx_werror_flag"
36656 || test ! -s conftest.err'
36657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36658 (eval $ac_try) 2>&5
36659 ac_status=$?
36660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36661 (exit $ac_status); }; } &&
36662 { ac_try='test -s conftest.$ac_objext'
36663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36664 (eval $ac_try) 2>&5
36665 ac_status=$?
36666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36667 (exit $ac_status); }; }; then
36668 glibcxx_cv_func_fmodl_use=yes
36669 else
36670 echo "$as_me: failed program was:" >&5
36671 sed 's/^/| /' conftest.$ac_ext >&5
36673 glibcxx_cv_func_fmodl_use=no
36675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36676 ac_ext=c
36677 ac_cpp='$CPP $CPPFLAGS'
36678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36686 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
36687 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
36689 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36691 for ac_func in fmodl
36693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36694 echo "$as_me:$LINENO: checking for $ac_func" >&5
36695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36696 if eval "test \"\${$as_ac_var+set}\" = set"; then
36697 echo $ECHO_N "(cached) $ECHO_C" >&6
36698 else
36699 if test x$gcc_no_link = xyes; then
36700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36702 { (exit 1); exit 1; }; }
36704 cat >conftest.$ac_ext <<_ACEOF
36705 /* confdefs.h. */
36706 _ACEOF
36707 cat confdefs.h >>conftest.$ac_ext
36708 cat >>conftest.$ac_ext <<_ACEOF
36709 /* end confdefs.h. */
36710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36712 #define $ac_func innocuous_$ac_func
36714 /* System header to define __stub macros and hopefully few prototypes,
36715 which can conflict with char $ac_func (); below.
36716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36717 <limits.h> exists even on freestanding compilers. */
36719 #ifdef __STDC__
36720 # include <limits.h>
36721 #else
36722 # include <assert.h>
36723 #endif
36725 #undef $ac_func
36727 /* Override any gcc2 internal prototype to avoid an error. */
36728 #ifdef __cplusplus
36729 extern "C"
36731 #endif
36732 /* We use char because int might match the return type of a gcc2
36733 builtin and then its argument prototype would still apply. */
36734 char $ac_func ();
36735 /* The GNU C library defines this for functions which it implements
36736 to always fail with ENOSYS. Some functions are actually named
36737 something starting with __ and the normal name is an alias. */
36738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36739 choke me
36740 #else
36741 char (*f) () = $ac_func;
36742 #endif
36743 #ifdef __cplusplus
36745 #endif
36748 main ()
36750 return f != $ac_func;
36752 return 0;
36754 _ACEOF
36755 rm -f conftest.$ac_objext conftest$ac_exeext
36756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36757 (eval $ac_link) 2>conftest.er1
36758 ac_status=$?
36759 grep -v '^ *+' conftest.er1 >conftest.err
36760 rm -f conftest.er1
36761 cat conftest.err >&5
36762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36763 (exit $ac_status); } &&
36764 { ac_try='test -z "$ac_c_werror_flag"
36765 || test ! -s conftest.err'
36766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36767 (eval $ac_try) 2>&5
36768 ac_status=$?
36769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36770 (exit $ac_status); }; } &&
36771 { ac_try='test -s conftest$ac_exeext'
36772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36773 (eval $ac_try) 2>&5
36774 ac_status=$?
36775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36776 (exit $ac_status); }; }; then
36777 eval "$as_ac_var=yes"
36778 else
36779 echo "$as_me: failed program was:" >&5
36780 sed 's/^/| /' conftest.$ac_ext >&5
36782 eval "$as_ac_var=no"
36784 rm -f conftest.err conftest.$ac_objext \
36785 conftest$ac_exeext conftest.$ac_ext
36787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36789 if test `eval echo '${'$as_ac_var'}'` = yes; then
36790 cat >>confdefs.h <<_ACEOF
36791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36792 _ACEOF
36795 done
36797 else
36799 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
36800 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
36801 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36802 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
36803 echo $ECHO_N "(cached) $ECHO_C" >&6
36804 else
36808 ac_ext=cc
36809 ac_cpp='$CXXCPP $CPPFLAGS'
36810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36814 cat >conftest.$ac_ext <<_ACEOF
36815 /* confdefs.h. */
36816 _ACEOF
36817 cat confdefs.h >>conftest.$ac_ext
36818 cat >>conftest.$ac_ext <<_ACEOF
36819 /* end confdefs.h. */
36820 #include <math.h>
36822 main ()
36824 _fmodl(0, 0);
36826 return 0;
36828 _ACEOF
36829 rm -f conftest.$ac_objext
36830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36831 (eval $ac_compile) 2>conftest.er1
36832 ac_status=$?
36833 grep -v '^ *+' conftest.er1 >conftest.err
36834 rm -f conftest.er1
36835 cat conftest.err >&5
36836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36837 (exit $ac_status); } &&
36838 { ac_try='test -z "$ac_cxx_werror_flag"
36839 || test ! -s conftest.err'
36840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36841 (eval $ac_try) 2>&5
36842 ac_status=$?
36843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36844 (exit $ac_status); }; } &&
36845 { ac_try='test -s conftest.$ac_objext'
36846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36847 (eval $ac_try) 2>&5
36848 ac_status=$?
36849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36850 (exit $ac_status); }; }; then
36851 glibcxx_cv_func__fmodl_use=yes
36852 else
36853 echo "$as_me: failed program was:" >&5
36854 sed 's/^/| /' conftest.$ac_ext >&5
36856 glibcxx_cv_func__fmodl_use=no
36858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36859 ac_ext=c
36860 ac_cpp='$CPP $CPPFLAGS'
36861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36869 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
36870 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
36872 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36874 for ac_func in _fmodl
36876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36877 echo "$as_me:$LINENO: checking for $ac_func" >&5
36878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36879 if eval "test \"\${$as_ac_var+set}\" = set"; then
36880 echo $ECHO_N "(cached) $ECHO_C" >&6
36881 else
36882 if test x$gcc_no_link = xyes; then
36883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36885 { (exit 1); exit 1; }; }
36887 cat >conftest.$ac_ext <<_ACEOF
36888 /* confdefs.h. */
36889 _ACEOF
36890 cat confdefs.h >>conftest.$ac_ext
36891 cat >>conftest.$ac_ext <<_ACEOF
36892 /* end confdefs.h. */
36893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36895 #define $ac_func innocuous_$ac_func
36897 /* System header to define __stub macros and hopefully few prototypes,
36898 which can conflict with char $ac_func (); below.
36899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36900 <limits.h> exists even on freestanding compilers. */
36902 #ifdef __STDC__
36903 # include <limits.h>
36904 #else
36905 # include <assert.h>
36906 #endif
36908 #undef $ac_func
36910 /* Override any gcc2 internal prototype to avoid an error. */
36911 #ifdef __cplusplus
36912 extern "C"
36914 #endif
36915 /* We use char because int might match the return type of a gcc2
36916 builtin and then its argument prototype would still apply. */
36917 char $ac_func ();
36918 /* The GNU C library defines this for functions which it implements
36919 to always fail with ENOSYS. Some functions are actually named
36920 something starting with __ and the normal name is an alias. */
36921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36922 choke me
36923 #else
36924 char (*f) () = $ac_func;
36925 #endif
36926 #ifdef __cplusplus
36928 #endif
36931 main ()
36933 return f != $ac_func;
36935 return 0;
36937 _ACEOF
36938 rm -f conftest.$ac_objext conftest$ac_exeext
36939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36940 (eval $ac_link) 2>conftest.er1
36941 ac_status=$?
36942 grep -v '^ *+' conftest.er1 >conftest.err
36943 rm -f conftest.er1
36944 cat conftest.err >&5
36945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36946 (exit $ac_status); } &&
36947 { ac_try='test -z "$ac_c_werror_flag"
36948 || test ! -s conftest.err'
36949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36950 (eval $ac_try) 2>&5
36951 ac_status=$?
36952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36953 (exit $ac_status); }; } &&
36954 { ac_try='test -s conftest$ac_exeext'
36955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36956 (eval $ac_try) 2>&5
36957 ac_status=$?
36958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36959 (exit $ac_status); }; }; then
36960 eval "$as_ac_var=yes"
36961 else
36962 echo "$as_me: failed program was:" >&5
36963 sed 's/^/| /' conftest.$ac_ext >&5
36965 eval "$as_ac_var=no"
36967 rm -f conftest.err conftest.$ac_objext \
36968 conftest$ac_exeext conftest.$ac_ext
36970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36972 if test `eval echo '${'$as_ac_var'}'` = yes; then
36973 cat >>confdefs.h <<_ACEOF
36974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36975 _ACEOF
36978 done
36988 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
36989 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
36990 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36991 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
36992 echo $ECHO_N "(cached) $ECHO_C" >&6
36993 else
36997 ac_ext=cc
36998 ac_cpp='$CXXCPP $CPPFLAGS'
36999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37003 cat >conftest.$ac_ext <<_ACEOF
37004 /* confdefs.h. */
37005 _ACEOF
37006 cat confdefs.h >>conftest.$ac_ext
37007 cat >>conftest.$ac_ext <<_ACEOF
37008 /* end confdefs.h. */
37009 #include <math.h>
37011 main ()
37013 frexpl(0, 0);
37015 return 0;
37017 _ACEOF
37018 rm -f conftest.$ac_objext
37019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37020 (eval $ac_compile) 2>conftest.er1
37021 ac_status=$?
37022 grep -v '^ *+' conftest.er1 >conftest.err
37023 rm -f conftest.er1
37024 cat conftest.err >&5
37025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37026 (exit $ac_status); } &&
37027 { ac_try='test -z "$ac_cxx_werror_flag"
37028 || test ! -s conftest.err'
37029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37030 (eval $ac_try) 2>&5
37031 ac_status=$?
37032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37033 (exit $ac_status); }; } &&
37034 { ac_try='test -s conftest.$ac_objext'
37035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37036 (eval $ac_try) 2>&5
37037 ac_status=$?
37038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37039 (exit $ac_status); }; }; then
37040 glibcxx_cv_func_frexpl_use=yes
37041 else
37042 echo "$as_me: failed program was:" >&5
37043 sed 's/^/| /' conftest.$ac_ext >&5
37045 glibcxx_cv_func_frexpl_use=no
37047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37048 ac_ext=c
37049 ac_cpp='$CPP $CPPFLAGS'
37050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37058 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
37059 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
37061 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37063 for ac_func in frexpl
37065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37066 echo "$as_me:$LINENO: checking for $ac_func" >&5
37067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37068 if eval "test \"\${$as_ac_var+set}\" = set"; then
37069 echo $ECHO_N "(cached) $ECHO_C" >&6
37070 else
37071 if test x$gcc_no_link = xyes; then
37072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37074 { (exit 1); exit 1; }; }
37076 cat >conftest.$ac_ext <<_ACEOF
37077 /* confdefs.h. */
37078 _ACEOF
37079 cat confdefs.h >>conftest.$ac_ext
37080 cat >>conftest.$ac_ext <<_ACEOF
37081 /* end confdefs.h. */
37082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37084 #define $ac_func innocuous_$ac_func
37086 /* System header to define __stub macros and hopefully few prototypes,
37087 which can conflict with char $ac_func (); below.
37088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37089 <limits.h> exists even on freestanding compilers. */
37091 #ifdef __STDC__
37092 # include <limits.h>
37093 #else
37094 # include <assert.h>
37095 #endif
37097 #undef $ac_func
37099 /* Override any gcc2 internal prototype to avoid an error. */
37100 #ifdef __cplusplus
37101 extern "C"
37103 #endif
37104 /* We use char because int might match the return type of a gcc2
37105 builtin and then its argument prototype would still apply. */
37106 char $ac_func ();
37107 /* The GNU C library defines this for functions which it implements
37108 to always fail with ENOSYS. Some functions are actually named
37109 something starting with __ and the normal name is an alias. */
37110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37111 choke me
37112 #else
37113 char (*f) () = $ac_func;
37114 #endif
37115 #ifdef __cplusplus
37117 #endif
37120 main ()
37122 return f != $ac_func;
37124 return 0;
37126 _ACEOF
37127 rm -f conftest.$ac_objext conftest$ac_exeext
37128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37129 (eval $ac_link) 2>conftest.er1
37130 ac_status=$?
37131 grep -v '^ *+' conftest.er1 >conftest.err
37132 rm -f conftest.er1
37133 cat conftest.err >&5
37134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37135 (exit $ac_status); } &&
37136 { ac_try='test -z "$ac_c_werror_flag"
37137 || test ! -s conftest.err'
37138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37139 (eval $ac_try) 2>&5
37140 ac_status=$?
37141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37142 (exit $ac_status); }; } &&
37143 { ac_try='test -s conftest$ac_exeext'
37144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37145 (eval $ac_try) 2>&5
37146 ac_status=$?
37147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37148 (exit $ac_status); }; }; then
37149 eval "$as_ac_var=yes"
37150 else
37151 echo "$as_me: failed program was:" >&5
37152 sed 's/^/| /' conftest.$ac_ext >&5
37154 eval "$as_ac_var=no"
37156 rm -f conftest.err conftest.$ac_objext \
37157 conftest$ac_exeext conftest.$ac_ext
37159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37161 if test `eval echo '${'$as_ac_var'}'` = yes; then
37162 cat >>confdefs.h <<_ACEOF
37163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37164 _ACEOF
37167 done
37169 else
37171 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
37172 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
37173 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37174 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
37175 echo $ECHO_N "(cached) $ECHO_C" >&6
37176 else
37180 ac_ext=cc
37181 ac_cpp='$CXXCPP $CPPFLAGS'
37182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37186 cat >conftest.$ac_ext <<_ACEOF
37187 /* confdefs.h. */
37188 _ACEOF
37189 cat confdefs.h >>conftest.$ac_ext
37190 cat >>conftest.$ac_ext <<_ACEOF
37191 /* end confdefs.h. */
37192 #include <math.h>
37194 main ()
37196 _frexpl(0, 0);
37198 return 0;
37200 _ACEOF
37201 rm -f conftest.$ac_objext
37202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37203 (eval $ac_compile) 2>conftest.er1
37204 ac_status=$?
37205 grep -v '^ *+' conftest.er1 >conftest.err
37206 rm -f conftest.er1
37207 cat conftest.err >&5
37208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37209 (exit $ac_status); } &&
37210 { ac_try='test -z "$ac_cxx_werror_flag"
37211 || test ! -s conftest.err'
37212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37213 (eval $ac_try) 2>&5
37214 ac_status=$?
37215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37216 (exit $ac_status); }; } &&
37217 { ac_try='test -s conftest.$ac_objext'
37218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37219 (eval $ac_try) 2>&5
37220 ac_status=$?
37221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37222 (exit $ac_status); }; }; then
37223 glibcxx_cv_func__frexpl_use=yes
37224 else
37225 echo "$as_me: failed program was:" >&5
37226 sed 's/^/| /' conftest.$ac_ext >&5
37228 glibcxx_cv_func__frexpl_use=no
37230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37231 ac_ext=c
37232 ac_cpp='$CPP $CPPFLAGS'
37233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37241 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
37242 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
37244 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37246 for ac_func in _frexpl
37248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37249 echo "$as_me:$LINENO: checking for $ac_func" >&5
37250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37251 if eval "test \"\${$as_ac_var+set}\" = set"; then
37252 echo $ECHO_N "(cached) $ECHO_C" >&6
37253 else
37254 if test x$gcc_no_link = xyes; then
37255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37257 { (exit 1); exit 1; }; }
37259 cat >conftest.$ac_ext <<_ACEOF
37260 /* confdefs.h. */
37261 _ACEOF
37262 cat confdefs.h >>conftest.$ac_ext
37263 cat >>conftest.$ac_ext <<_ACEOF
37264 /* end confdefs.h. */
37265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37267 #define $ac_func innocuous_$ac_func
37269 /* System header to define __stub macros and hopefully few prototypes,
37270 which can conflict with char $ac_func (); below.
37271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37272 <limits.h> exists even on freestanding compilers. */
37274 #ifdef __STDC__
37275 # include <limits.h>
37276 #else
37277 # include <assert.h>
37278 #endif
37280 #undef $ac_func
37282 /* Override any gcc2 internal prototype to avoid an error. */
37283 #ifdef __cplusplus
37284 extern "C"
37286 #endif
37287 /* We use char because int might match the return type of a gcc2
37288 builtin and then its argument prototype would still apply. */
37289 char $ac_func ();
37290 /* The GNU C library defines this for functions which it implements
37291 to always fail with ENOSYS. Some functions are actually named
37292 something starting with __ and the normal name is an alias. */
37293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37294 choke me
37295 #else
37296 char (*f) () = $ac_func;
37297 #endif
37298 #ifdef __cplusplus
37300 #endif
37303 main ()
37305 return f != $ac_func;
37307 return 0;
37309 _ACEOF
37310 rm -f conftest.$ac_objext conftest$ac_exeext
37311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37312 (eval $ac_link) 2>conftest.er1
37313 ac_status=$?
37314 grep -v '^ *+' conftest.er1 >conftest.err
37315 rm -f conftest.er1
37316 cat conftest.err >&5
37317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37318 (exit $ac_status); } &&
37319 { ac_try='test -z "$ac_c_werror_flag"
37320 || test ! -s conftest.err'
37321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37322 (eval $ac_try) 2>&5
37323 ac_status=$?
37324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37325 (exit $ac_status); }; } &&
37326 { ac_try='test -s conftest$ac_exeext'
37327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37328 (eval $ac_try) 2>&5
37329 ac_status=$?
37330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37331 (exit $ac_status); }; }; then
37332 eval "$as_ac_var=yes"
37333 else
37334 echo "$as_me: failed program was:" >&5
37335 sed 's/^/| /' conftest.$ac_ext >&5
37337 eval "$as_ac_var=no"
37339 rm -f conftest.err conftest.$ac_objext \
37340 conftest$ac_exeext conftest.$ac_ext
37342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37344 if test `eval echo '${'$as_ac_var'}'` = yes; then
37345 cat >>confdefs.h <<_ACEOF
37346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37347 _ACEOF
37350 done
37360 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
37361 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
37362 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37363 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
37364 echo $ECHO_N "(cached) $ECHO_C" >&6
37365 else
37369 ac_ext=cc
37370 ac_cpp='$CXXCPP $CPPFLAGS'
37371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37375 cat >conftest.$ac_ext <<_ACEOF
37376 /* confdefs.h. */
37377 _ACEOF
37378 cat confdefs.h >>conftest.$ac_ext
37379 cat >>conftest.$ac_ext <<_ACEOF
37380 /* end confdefs.h. */
37381 #include <math.h>
37383 main ()
37385 hypotl(0, 0);
37387 return 0;
37389 _ACEOF
37390 rm -f conftest.$ac_objext
37391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37392 (eval $ac_compile) 2>conftest.er1
37393 ac_status=$?
37394 grep -v '^ *+' conftest.er1 >conftest.err
37395 rm -f conftest.er1
37396 cat conftest.err >&5
37397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37398 (exit $ac_status); } &&
37399 { ac_try='test -z "$ac_cxx_werror_flag"
37400 || test ! -s conftest.err'
37401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37402 (eval $ac_try) 2>&5
37403 ac_status=$?
37404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37405 (exit $ac_status); }; } &&
37406 { ac_try='test -s conftest.$ac_objext'
37407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37408 (eval $ac_try) 2>&5
37409 ac_status=$?
37410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37411 (exit $ac_status); }; }; then
37412 glibcxx_cv_func_hypotl_use=yes
37413 else
37414 echo "$as_me: failed program was:" >&5
37415 sed 's/^/| /' conftest.$ac_ext >&5
37417 glibcxx_cv_func_hypotl_use=no
37419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37420 ac_ext=c
37421 ac_cpp='$CPP $CPPFLAGS'
37422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37430 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
37431 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
37433 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37435 for ac_func in hypotl
37437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37438 echo "$as_me:$LINENO: checking for $ac_func" >&5
37439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37440 if eval "test \"\${$as_ac_var+set}\" = set"; then
37441 echo $ECHO_N "(cached) $ECHO_C" >&6
37442 else
37443 if test x$gcc_no_link = xyes; then
37444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37446 { (exit 1); exit 1; }; }
37448 cat >conftest.$ac_ext <<_ACEOF
37449 /* confdefs.h. */
37450 _ACEOF
37451 cat confdefs.h >>conftest.$ac_ext
37452 cat >>conftest.$ac_ext <<_ACEOF
37453 /* end confdefs.h. */
37454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37456 #define $ac_func innocuous_$ac_func
37458 /* System header to define __stub macros and hopefully few prototypes,
37459 which can conflict with char $ac_func (); below.
37460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37461 <limits.h> exists even on freestanding compilers. */
37463 #ifdef __STDC__
37464 # include <limits.h>
37465 #else
37466 # include <assert.h>
37467 #endif
37469 #undef $ac_func
37471 /* Override any gcc2 internal prototype to avoid an error. */
37472 #ifdef __cplusplus
37473 extern "C"
37475 #endif
37476 /* We use char because int might match the return type of a gcc2
37477 builtin and then its argument prototype would still apply. */
37478 char $ac_func ();
37479 /* The GNU C library defines this for functions which it implements
37480 to always fail with ENOSYS. Some functions are actually named
37481 something starting with __ and the normal name is an alias. */
37482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37483 choke me
37484 #else
37485 char (*f) () = $ac_func;
37486 #endif
37487 #ifdef __cplusplus
37489 #endif
37492 main ()
37494 return f != $ac_func;
37496 return 0;
37498 _ACEOF
37499 rm -f conftest.$ac_objext conftest$ac_exeext
37500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37501 (eval $ac_link) 2>conftest.er1
37502 ac_status=$?
37503 grep -v '^ *+' conftest.er1 >conftest.err
37504 rm -f conftest.er1
37505 cat conftest.err >&5
37506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37507 (exit $ac_status); } &&
37508 { ac_try='test -z "$ac_c_werror_flag"
37509 || test ! -s conftest.err'
37510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37511 (eval $ac_try) 2>&5
37512 ac_status=$?
37513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37514 (exit $ac_status); }; } &&
37515 { ac_try='test -s conftest$ac_exeext'
37516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37517 (eval $ac_try) 2>&5
37518 ac_status=$?
37519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37520 (exit $ac_status); }; }; then
37521 eval "$as_ac_var=yes"
37522 else
37523 echo "$as_me: failed program was:" >&5
37524 sed 's/^/| /' conftest.$ac_ext >&5
37526 eval "$as_ac_var=no"
37528 rm -f conftest.err conftest.$ac_objext \
37529 conftest$ac_exeext conftest.$ac_ext
37531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37533 if test `eval echo '${'$as_ac_var'}'` = yes; then
37534 cat >>confdefs.h <<_ACEOF
37535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37536 _ACEOF
37539 done
37541 else
37543 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
37544 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
37545 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37546 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
37547 echo $ECHO_N "(cached) $ECHO_C" >&6
37548 else
37552 ac_ext=cc
37553 ac_cpp='$CXXCPP $CPPFLAGS'
37554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37558 cat >conftest.$ac_ext <<_ACEOF
37559 /* confdefs.h. */
37560 _ACEOF
37561 cat confdefs.h >>conftest.$ac_ext
37562 cat >>conftest.$ac_ext <<_ACEOF
37563 /* end confdefs.h. */
37564 #include <math.h>
37566 main ()
37568 _hypotl(0, 0);
37570 return 0;
37572 _ACEOF
37573 rm -f conftest.$ac_objext
37574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37575 (eval $ac_compile) 2>conftest.er1
37576 ac_status=$?
37577 grep -v '^ *+' conftest.er1 >conftest.err
37578 rm -f conftest.er1
37579 cat conftest.err >&5
37580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37581 (exit $ac_status); } &&
37582 { ac_try='test -z "$ac_cxx_werror_flag"
37583 || test ! -s conftest.err'
37584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37585 (eval $ac_try) 2>&5
37586 ac_status=$?
37587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37588 (exit $ac_status); }; } &&
37589 { ac_try='test -s conftest.$ac_objext'
37590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37591 (eval $ac_try) 2>&5
37592 ac_status=$?
37593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37594 (exit $ac_status); }; }; then
37595 glibcxx_cv_func__hypotl_use=yes
37596 else
37597 echo "$as_me: failed program was:" >&5
37598 sed 's/^/| /' conftest.$ac_ext >&5
37600 glibcxx_cv_func__hypotl_use=no
37602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37603 ac_ext=c
37604 ac_cpp='$CPP $CPPFLAGS'
37605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37613 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
37614 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
37616 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37618 for ac_func in _hypotl
37620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37621 echo "$as_me:$LINENO: checking for $ac_func" >&5
37622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37623 if eval "test \"\${$as_ac_var+set}\" = set"; then
37624 echo $ECHO_N "(cached) $ECHO_C" >&6
37625 else
37626 if test x$gcc_no_link = xyes; then
37627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37629 { (exit 1); exit 1; }; }
37631 cat >conftest.$ac_ext <<_ACEOF
37632 /* confdefs.h. */
37633 _ACEOF
37634 cat confdefs.h >>conftest.$ac_ext
37635 cat >>conftest.$ac_ext <<_ACEOF
37636 /* end confdefs.h. */
37637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37639 #define $ac_func innocuous_$ac_func
37641 /* System header to define __stub macros and hopefully few prototypes,
37642 which can conflict with char $ac_func (); below.
37643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37644 <limits.h> exists even on freestanding compilers. */
37646 #ifdef __STDC__
37647 # include <limits.h>
37648 #else
37649 # include <assert.h>
37650 #endif
37652 #undef $ac_func
37654 /* Override any gcc2 internal prototype to avoid an error. */
37655 #ifdef __cplusplus
37656 extern "C"
37658 #endif
37659 /* We use char because int might match the return type of a gcc2
37660 builtin and then its argument prototype would still apply. */
37661 char $ac_func ();
37662 /* The GNU C library defines this for functions which it implements
37663 to always fail with ENOSYS. Some functions are actually named
37664 something starting with __ and the normal name is an alias. */
37665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37666 choke me
37667 #else
37668 char (*f) () = $ac_func;
37669 #endif
37670 #ifdef __cplusplus
37672 #endif
37675 main ()
37677 return f != $ac_func;
37679 return 0;
37681 _ACEOF
37682 rm -f conftest.$ac_objext conftest$ac_exeext
37683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37684 (eval $ac_link) 2>conftest.er1
37685 ac_status=$?
37686 grep -v '^ *+' conftest.er1 >conftest.err
37687 rm -f conftest.er1
37688 cat conftest.err >&5
37689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37690 (exit $ac_status); } &&
37691 { ac_try='test -z "$ac_c_werror_flag"
37692 || test ! -s conftest.err'
37693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37694 (eval $ac_try) 2>&5
37695 ac_status=$?
37696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37697 (exit $ac_status); }; } &&
37698 { ac_try='test -s conftest$ac_exeext'
37699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37700 (eval $ac_try) 2>&5
37701 ac_status=$?
37702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37703 (exit $ac_status); }; }; then
37704 eval "$as_ac_var=yes"
37705 else
37706 echo "$as_me: failed program was:" >&5
37707 sed 's/^/| /' conftest.$ac_ext >&5
37709 eval "$as_ac_var=no"
37711 rm -f conftest.err conftest.$ac_objext \
37712 conftest$ac_exeext conftest.$ac_ext
37714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37716 if test `eval echo '${'$as_ac_var'}'` = yes; then
37717 cat >>confdefs.h <<_ACEOF
37718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37719 _ACEOF
37722 done
37732 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
37733 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
37734 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37735 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
37736 echo $ECHO_N "(cached) $ECHO_C" >&6
37737 else
37741 ac_ext=cc
37742 ac_cpp='$CXXCPP $CPPFLAGS'
37743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37747 cat >conftest.$ac_ext <<_ACEOF
37748 /* confdefs.h. */
37749 _ACEOF
37750 cat confdefs.h >>conftest.$ac_ext
37751 cat >>conftest.$ac_ext <<_ACEOF
37752 /* end confdefs.h. */
37753 #include <math.h>
37755 main ()
37757 ldexpl(0, 0);
37759 return 0;
37761 _ACEOF
37762 rm -f conftest.$ac_objext
37763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37764 (eval $ac_compile) 2>conftest.er1
37765 ac_status=$?
37766 grep -v '^ *+' conftest.er1 >conftest.err
37767 rm -f conftest.er1
37768 cat conftest.err >&5
37769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37770 (exit $ac_status); } &&
37771 { ac_try='test -z "$ac_cxx_werror_flag"
37772 || test ! -s conftest.err'
37773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37774 (eval $ac_try) 2>&5
37775 ac_status=$?
37776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37777 (exit $ac_status); }; } &&
37778 { ac_try='test -s conftest.$ac_objext'
37779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37780 (eval $ac_try) 2>&5
37781 ac_status=$?
37782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37783 (exit $ac_status); }; }; then
37784 glibcxx_cv_func_ldexpl_use=yes
37785 else
37786 echo "$as_me: failed program was:" >&5
37787 sed 's/^/| /' conftest.$ac_ext >&5
37789 glibcxx_cv_func_ldexpl_use=no
37791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37792 ac_ext=c
37793 ac_cpp='$CPP $CPPFLAGS'
37794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37802 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
37803 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
37805 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37807 for ac_func in ldexpl
37809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37810 echo "$as_me:$LINENO: checking for $ac_func" >&5
37811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37812 if eval "test \"\${$as_ac_var+set}\" = set"; then
37813 echo $ECHO_N "(cached) $ECHO_C" >&6
37814 else
37815 if test x$gcc_no_link = xyes; then
37816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37818 { (exit 1); exit 1; }; }
37820 cat >conftest.$ac_ext <<_ACEOF
37821 /* confdefs.h. */
37822 _ACEOF
37823 cat confdefs.h >>conftest.$ac_ext
37824 cat >>conftest.$ac_ext <<_ACEOF
37825 /* end confdefs.h. */
37826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37828 #define $ac_func innocuous_$ac_func
37830 /* System header to define __stub macros and hopefully few prototypes,
37831 which can conflict with char $ac_func (); below.
37832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37833 <limits.h> exists even on freestanding compilers. */
37835 #ifdef __STDC__
37836 # include <limits.h>
37837 #else
37838 # include <assert.h>
37839 #endif
37841 #undef $ac_func
37843 /* Override any gcc2 internal prototype to avoid an error. */
37844 #ifdef __cplusplus
37845 extern "C"
37847 #endif
37848 /* We use char because int might match the return type of a gcc2
37849 builtin and then its argument prototype would still apply. */
37850 char $ac_func ();
37851 /* The GNU C library defines this for functions which it implements
37852 to always fail with ENOSYS. Some functions are actually named
37853 something starting with __ and the normal name is an alias. */
37854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37855 choke me
37856 #else
37857 char (*f) () = $ac_func;
37858 #endif
37859 #ifdef __cplusplus
37861 #endif
37864 main ()
37866 return f != $ac_func;
37868 return 0;
37870 _ACEOF
37871 rm -f conftest.$ac_objext conftest$ac_exeext
37872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37873 (eval $ac_link) 2>conftest.er1
37874 ac_status=$?
37875 grep -v '^ *+' conftest.er1 >conftest.err
37876 rm -f conftest.er1
37877 cat conftest.err >&5
37878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37879 (exit $ac_status); } &&
37880 { ac_try='test -z "$ac_c_werror_flag"
37881 || test ! -s conftest.err'
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); }; } &&
37887 { ac_try='test -s conftest$ac_exeext'
37888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37889 (eval $ac_try) 2>&5
37890 ac_status=$?
37891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37892 (exit $ac_status); }; }; then
37893 eval "$as_ac_var=yes"
37894 else
37895 echo "$as_me: failed program was:" >&5
37896 sed 's/^/| /' conftest.$ac_ext >&5
37898 eval "$as_ac_var=no"
37900 rm -f conftest.err conftest.$ac_objext \
37901 conftest$ac_exeext conftest.$ac_ext
37903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37905 if test `eval echo '${'$as_ac_var'}'` = yes; then
37906 cat >>confdefs.h <<_ACEOF
37907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37908 _ACEOF
37911 done
37913 else
37915 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
37916 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
37917 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37918 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
37919 echo $ECHO_N "(cached) $ECHO_C" >&6
37920 else
37924 ac_ext=cc
37925 ac_cpp='$CXXCPP $CPPFLAGS'
37926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37930 cat >conftest.$ac_ext <<_ACEOF
37931 /* confdefs.h. */
37932 _ACEOF
37933 cat confdefs.h >>conftest.$ac_ext
37934 cat >>conftest.$ac_ext <<_ACEOF
37935 /* end confdefs.h. */
37936 #include <math.h>
37938 main ()
37940 _ldexpl(0, 0);
37942 return 0;
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_cxx_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 glibcxx_cv_func__ldexpl_use=yes
37968 else
37969 echo "$as_me: failed program was:" >&5
37970 sed 's/^/| /' conftest.$ac_ext >&5
37972 glibcxx_cv_func__ldexpl_use=no
37974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37975 ac_ext=c
37976 ac_cpp='$CPP $CPPFLAGS'
37977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37985 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
37986 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
37988 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37990 for ac_func in _ldexpl
37992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37993 echo "$as_me:$LINENO: checking for $ac_func" >&5
37994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37995 if eval "test \"\${$as_ac_var+set}\" = set"; then
37996 echo $ECHO_N "(cached) $ECHO_C" >&6
37997 else
37998 if test x$gcc_no_link = xyes; then
37999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38001 { (exit 1); exit 1; }; }
38003 cat >conftest.$ac_ext <<_ACEOF
38004 /* confdefs.h. */
38005 _ACEOF
38006 cat confdefs.h >>conftest.$ac_ext
38007 cat >>conftest.$ac_ext <<_ACEOF
38008 /* end confdefs.h. */
38009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38011 #define $ac_func innocuous_$ac_func
38013 /* System header to define __stub macros and hopefully few prototypes,
38014 which can conflict with char $ac_func (); below.
38015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38016 <limits.h> exists even on freestanding compilers. */
38018 #ifdef __STDC__
38019 # include <limits.h>
38020 #else
38021 # include <assert.h>
38022 #endif
38024 #undef $ac_func
38026 /* Override any gcc2 internal prototype to avoid an error. */
38027 #ifdef __cplusplus
38028 extern "C"
38030 #endif
38031 /* We use char because int might match the return type of a gcc2
38032 builtin and then its argument prototype would still apply. */
38033 char $ac_func ();
38034 /* The GNU C library defines this for functions which it implements
38035 to always fail with ENOSYS. Some functions are actually named
38036 something starting with __ and the normal name is an alias. */
38037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38038 choke me
38039 #else
38040 char (*f) () = $ac_func;
38041 #endif
38042 #ifdef __cplusplus
38044 #endif
38047 main ()
38049 return f != $ac_func;
38051 return 0;
38053 _ACEOF
38054 rm -f conftest.$ac_objext conftest$ac_exeext
38055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38056 (eval $ac_link) 2>conftest.er1
38057 ac_status=$?
38058 grep -v '^ *+' conftest.er1 >conftest.err
38059 rm -f conftest.er1
38060 cat conftest.err >&5
38061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38062 (exit $ac_status); } &&
38063 { ac_try='test -z "$ac_c_werror_flag"
38064 || test ! -s conftest.err'
38065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38066 (eval $ac_try) 2>&5
38067 ac_status=$?
38068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38069 (exit $ac_status); }; } &&
38070 { ac_try='test -s conftest$ac_exeext'
38071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38072 (eval $ac_try) 2>&5
38073 ac_status=$?
38074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38075 (exit $ac_status); }; }; then
38076 eval "$as_ac_var=yes"
38077 else
38078 echo "$as_me: failed program was:" >&5
38079 sed 's/^/| /' conftest.$ac_ext >&5
38081 eval "$as_ac_var=no"
38083 rm -f conftest.err conftest.$ac_objext \
38084 conftest$ac_exeext conftest.$ac_ext
38086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38088 if test `eval echo '${'$as_ac_var'}'` = yes; then
38089 cat >>confdefs.h <<_ACEOF
38090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38091 _ACEOF
38094 done
38104 echo "$as_me:$LINENO: checking for logl declaration" >&5
38105 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
38106 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38107 if test "${glibcxx_cv_func_logl_use+set}" = set; then
38108 echo $ECHO_N "(cached) $ECHO_C" >&6
38109 else
38113 ac_ext=cc
38114 ac_cpp='$CXXCPP $CPPFLAGS'
38115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38119 cat >conftest.$ac_ext <<_ACEOF
38120 /* confdefs.h. */
38121 _ACEOF
38122 cat confdefs.h >>conftest.$ac_ext
38123 cat >>conftest.$ac_ext <<_ACEOF
38124 /* end confdefs.h. */
38125 #include <math.h>
38126 #ifdef HAVE_IEEEFP_H
38127 #include <ieeefp.h>
38128 #endif
38131 main ()
38133 logl(0);
38135 return 0;
38137 _ACEOF
38138 rm -f conftest.$ac_objext
38139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38140 (eval $ac_compile) 2>conftest.er1
38141 ac_status=$?
38142 grep -v '^ *+' conftest.er1 >conftest.err
38143 rm -f conftest.er1
38144 cat conftest.err >&5
38145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38146 (exit $ac_status); } &&
38147 { ac_try='test -z "$ac_cxx_werror_flag"
38148 || test ! -s conftest.err'
38149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38150 (eval $ac_try) 2>&5
38151 ac_status=$?
38152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38153 (exit $ac_status); }; } &&
38154 { ac_try='test -s conftest.$ac_objext'
38155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38156 (eval $ac_try) 2>&5
38157 ac_status=$?
38158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38159 (exit $ac_status); }; }; then
38160 glibcxx_cv_func_logl_use=yes
38161 else
38162 echo "$as_me: failed program was:" >&5
38163 sed 's/^/| /' conftest.$ac_ext >&5
38165 glibcxx_cv_func_logl_use=no
38167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38168 ac_ext=c
38169 ac_cpp='$CPP $CPPFLAGS'
38170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38178 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
38179 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
38181 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38183 for ac_func in logl
38185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38186 echo "$as_me:$LINENO: checking for $ac_func" >&5
38187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38188 if eval "test \"\${$as_ac_var+set}\" = set"; then
38189 echo $ECHO_N "(cached) $ECHO_C" >&6
38190 else
38191 if test x$gcc_no_link = xyes; then
38192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38194 { (exit 1); exit 1; }; }
38196 cat >conftest.$ac_ext <<_ACEOF
38197 /* confdefs.h. */
38198 _ACEOF
38199 cat confdefs.h >>conftest.$ac_ext
38200 cat >>conftest.$ac_ext <<_ACEOF
38201 /* end confdefs.h. */
38202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38204 #define $ac_func innocuous_$ac_func
38206 /* System header to define __stub macros and hopefully few prototypes,
38207 which can conflict with char $ac_func (); below.
38208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38209 <limits.h> exists even on freestanding compilers. */
38211 #ifdef __STDC__
38212 # include <limits.h>
38213 #else
38214 # include <assert.h>
38215 #endif
38217 #undef $ac_func
38219 /* Override any gcc2 internal prototype to avoid an error. */
38220 #ifdef __cplusplus
38221 extern "C"
38223 #endif
38224 /* We use char because int might match the return type of a gcc2
38225 builtin and then its argument prototype would still apply. */
38226 char $ac_func ();
38227 /* The GNU C library defines this for functions which it implements
38228 to always fail with ENOSYS. Some functions are actually named
38229 something starting with __ and the normal name is an alias. */
38230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38231 choke me
38232 #else
38233 char (*f) () = $ac_func;
38234 #endif
38235 #ifdef __cplusplus
38237 #endif
38240 main ()
38242 return f != $ac_func;
38244 return 0;
38246 _ACEOF
38247 rm -f conftest.$ac_objext conftest$ac_exeext
38248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38249 (eval $ac_link) 2>conftest.er1
38250 ac_status=$?
38251 grep -v '^ *+' conftest.er1 >conftest.err
38252 rm -f conftest.er1
38253 cat conftest.err >&5
38254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38255 (exit $ac_status); } &&
38256 { ac_try='test -z "$ac_c_werror_flag"
38257 || test ! -s conftest.err'
38258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38259 (eval $ac_try) 2>&5
38260 ac_status=$?
38261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38262 (exit $ac_status); }; } &&
38263 { ac_try='test -s conftest$ac_exeext'
38264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38265 (eval $ac_try) 2>&5
38266 ac_status=$?
38267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38268 (exit $ac_status); }; }; then
38269 eval "$as_ac_var=yes"
38270 else
38271 echo "$as_me: failed program was:" >&5
38272 sed 's/^/| /' conftest.$ac_ext >&5
38274 eval "$as_ac_var=no"
38276 rm -f conftest.err conftest.$ac_objext \
38277 conftest$ac_exeext conftest.$ac_ext
38279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38281 if test `eval echo '${'$as_ac_var'}'` = yes; then
38282 cat >>confdefs.h <<_ACEOF
38283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38284 _ACEOF
38287 done
38289 else
38291 echo "$as_me:$LINENO: checking for _logl declaration" >&5
38292 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
38293 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38294 if test "${glibcxx_cv_func__logl_use+set}" = set; then
38295 echo $ECHO_N "(cached) $ECHO_C" >&6
38296 else
38300 ac_ext=cc
38301 ac_cpp='$CXXCPP $CPPFLAGS'
38302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38306 cat >conftest.$ac_ext <<_ACEOF
38307 /* confdefs.h. */
38308 _ACEOF
38309 cat confdefs.h >>conftest.$ac_ext
38310 cat >>conftest.$ac_ext <<_ACEOF
38311 /* end confdefs.h. */
38312 #include <math.h>
38313 #ifdef HAVE_IEEEFP_H
38314 #include <ieeefp.h>
38315 #endif
38318 main ()
38320 _logl(0);
38322 return 0;
38324 _ACEOF
38325 rm -f conftest.$ac_objext
38326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38327 (eval $ac_compile) 2>conftest.er1
38328 ac_status=$?
38329 grep -v '^ *+' conftest.er1 >conftest.err
38330 rm -f conftest.er1
38331 cat conftest.err >&5
38332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38333 (exit $ac_status); } &&
38334 { ac_try='test -z "$ac_cxx_werror_flag"
38335 || test ! -s conftest.err'
38336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38337 (eval $ac_try) 2>&5
38338 ac_status=$?
38339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340 (exit $ac_status); }; } &&
38341 { ac_try='test -s conftest.$ac_objext'
38342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38343 (eval $ac_try) 2>&5
38344 ac_status=$?
38345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38346 (exit $ac_status); }; }; then
38347 glibcxx_cv_func__logl_use=yes
38348 else
38349 echo "$as_me: failed program was:" >&5
38350 sed 's/^/| /' conftest.$ac_ext >&5
38352 glibcxx_cv_func__logl_use=no
38354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38355 ac_ext=c
38356 ac_cpp='$CPP $CPPFLAGS'
38357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38365 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
38366 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
38368 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38370 for ac_func in _logl
38372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38373 echo "$as_me:$LINENO: checking for $ac_func" >&5
38374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38375 if eval "test \"\${$as_ac_var+set}\" = set"; then
38376 echo $ECHO_N "(cached) $ECHO_C" >&6
38377 else
38378 if test x$gcc_no_link = xyes; then
38379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38381 { (exit 1); exit 1; }; }
38383 cat >conftest.$ac_ext <<_ACEOF
38384 /* confdefs.h. */
38385 _ACEOF
38386 cat confdefs.h >>conftest.$ac_ext
38387 cat >>conftest.$ac_ext <<_ACEOF
38388 /* end confdefs.h. */
38389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38391 #define $ac_func innocuous_$ac_func
38393 /* System header to define __stub macros and hopefully few prototypes,
38394 which can conflict with char $ac_func (); below.
38395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38396 <limits.h> exists even on freestanding compilers. */
38398 #ifdef __STDC__
38399 # include <limits.h>
38400 #else
38401 # include <assert.h>
38402 #endif
38404 #undef $ac_func
38406 /* Override any gcc2 internal prototype to avoid an error. */
38407 #ifdef __cplusplus
38408 extern "C"
38410 #endif
38411 /* We use char because int might match the return type of a gcc2
38412 builtin and then its argument prototype would still apply. */
38413 char $ac_func ();
38414 /* The GNU C library defines this for functions which it implements
38415 to always fail with ENOSYS. Some functions are actually named
38416 something starting with __ and the normal name is an alias. */
38417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38418 choke me
38419 #else
38420 char (*f) () = $ac_func;
38421 #endif
38422 #ifdef __cplusplus
38424 #endif
38427 main ()
38429 return f != $ac_func;
38431 return 0;
38433 _ACEOF
38434 rm -f conftest.$ac_objext conftest$ac_exeext
38435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38436 (eval $ac_link) 2>conftest.er1
38437 ac_status=$?
38438 grep -v '^ *+' conftest.er1 >conftest.err
38439 rm -f conftest.er1
38440 cat conftest.err >&5
38441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38442 (exit $ac_status); } &&
38443 { ac_try='test -z "$ac_c_werror_flag"
38444 || test ! -s conftest.err'
38445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38446 (eval $ac_try) 2>&5
38447 ac_status=$?
38448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38449 (exit $ac_status); }; } &&
38450 { ac_try='test -s conftest$ac_exeext'
38451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38452 (eval $ac_try) 2>&5
38453 ac_status=$?
38454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38455 (exit $ac_status); }; }; then
38456 eval "$as_ac_var=yes"
38457 else
38458 echo "$as_me: failed program was:" >&5
38459 sed 's/^/| /' conftest.$ac_ext >&5
38461 eval "$as_ac_var=no"
38463 rm -f conftest.err conftest.$ac_objext \
38464 conftest$ac_exeext conftest.$ac_ext
38466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38468 if test `eval echo '${'$as_ac_var'}'` = yes; then
38469 cat >>confdefs.h <<_ACEOF
38470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38471 _ACEOF
38474 done
38484 echo "$as_me:$LINENO: checking for log10l declaration" >&5
38485 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
38486 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38487 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
38488 echo $ECHO_N "(cached) $ECHO_C" >&6
38489 else
38493 ac_ext=cc
38494 ac_cpp='$CXXCPP $CPPFLAGS'
38495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38499 cat >conftest.$ac_ext <<_ACEOF
38500 /* confdefs.h. */
38501 _ACEOF
38502 cat confdefs.h >>conftest.$ac_ext
38503 cat >>conftest.$ac_ext <<_ACEOF
38504 /* end confdefs.h. */
38505 #include <math.h>
38506 #ifdef HAVE_IEEEFP_H
38507 #include <ieeefp.h>
38508 #endif
38511 main ()
38513 log10l(0);
38515 return 0;
38517 _ACEOF
38518 rm -f conftest.$ac_objext
38519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38520 (eval $ac_compile) 2>conftest.er1
38521 ac_status=$?
38522 grep -v '^ *+' conftest.er1 >conftest.err
38523 rm -f conftest.er1
38524 cat conftest.err >&5
38525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38526 (exit $ac_status); } &&
38527 { ac_try='test -z "$ac_cxx_werror_flag"
38528 || test ! -s conftest.err'
38529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38530 (eval $ac_try) 2>&5
38531 ac_status=$?
38532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38533 (exit $ac_status); }; } &&
38534 { ac_try='test -s conftest.$ac_objext'
38535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38536 (eval $ac_try) 2>&5
38537 ac_status=$?
38538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38539 (exit $ac_status); }; }; then
38540 glibcxx_cv_func_log10l_use=yes
38541 else
38542 echo "$as_me: failed program was:" >&5
38543 sed 's/^/| /' conftest.$ac_ext >&5
38545 glibcxx_cv_func_log10l_use=no
38547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38548 ac_ext=c
38549 ac_cpp='$CPP $CPPFLAGS'
38550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38558 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
38559 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
38561 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38563 for ac_func in log10l
38565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38566 echo "$as_me:$LINENO: checking for $ac_func" >&5
38567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38568 if eval "test \"\${$as_ac_var+set}\" = set"; then
38569 echo $ECHO_N "(cached) $ECHO_C" >&6
38570 else
38571 if test x$gcc_no_link = xyes; then
38572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38574 { (exit 1); exit 1; }; }
38576 cat >conftest.$ac_ext <<_ACEOF
38577 /* confdefs.h. */
38578 _ACEOF
38579 cat confdefs.h >>conftest.$ac_ext
38580 cat >>conftest.$ac_ext <<_ACEOF
38581 /* end confdefs.h. */
38582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38584 #define $ac_func innocuous_$ac_func
38586 /* System header to define __stub macros and hopefully few prototypes,
38587 which can conflict with char $ac_func (); below.
38588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38589 <limits.h> exists even on freestanding compilers. */
38591 #ifdef __STDC__
38592 # include <limits.h>
38593 #else
38594 # include <assert.h>
38595 #endif
38597 #undef $ac_func
38599 /* Override any gcc2 internal prototype to avoid an error. */
38600 #ifdef __cplusplus
38601 extern "C"
38603 #endif
38604 /* We use char because int might match the return type of a gcc2
38605 builtin and then its argument prototype would still apply. */
38606 char $ac_func ();
38607 /* The GNU C library defines this for functions which it implements
38608 to always fail with ENOSYS. Some functions are actually named
38609 something starting with __ and the normal name is an alias. */
38610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38611 choke me
38612 #else
38613 char (*f) () = $ac_func;
38614 #endif
38615 #ifdef __cplusplus
38617 #endif
38620 main ()
38622 return f != $ac_func;
38624 return 0;
38626 _ACEOF
38627 rm -f conftest.$ac_objext conftest$ac_exeext
38628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38629 (eval $ac_link) 2>conftest.er1
38630 ac_status=$?
38631 grep -v '^ *+' conftest.er1 >conftest.err
38632 rm -f conftest.er1
38633 cat conftest.err >&5
38634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38635 (exit $ac_status); } &&
38636 { ac_try='test -z "$ac_c_werror_flag"
38637 || test ! -s conftest.err'
38638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38639 (eval $ac_try) 2>&5
38640 ac_status=$?
38641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642 (exit $ac_status); }; } &&
38643 { ac_try='test -s conftest$ac_exeext'
38644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38645 (eval $ac_try) 2>&5
38646 ac_status=$?
38647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38648 (exit $ac_status); }; }; then
38649 eval "$as_ac_var=yes"
38650 else
38651 echo "$as_me: failed program was:" >&5
38652 sed 's/^/| /' conftest.$ac_ext >&5
38654 eval "$as_ac_var=no"
38656 rm -f conftest.err conftest.$ac_objext \
38657 conftest$ac_exeext conftest.$ac_ext
38659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38661 if test `eval echo '${'$as_ac_var'}'` = yes; then
38662 cat >>confdefs.h <<_ACEOF
38663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38664 _ACEOF
38667 done
38669 else
38671 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
38672 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
38673 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38674 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
38675 echo $ECHO_N "(cached) $ECHO_C" >&6
38676 else
38680 ac_ext=cc
38681 ac_cpp='$CXXCPP $CPPFLAGS'
38682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 <math.h>
38693 #ifdef HAVE_IEEEFP_H
38694 #include <ieeefp.h>
38695 #endif
38698 main ()
38700 _log10l(0);
38702 return 0;
38704 _ACEOF
38705 rm -f conftest.$ac_objext
38706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38707 (eval $ac_compile) 2>conftest.er1
38708 ac_status=$?
38709 grep -v '^ *+' conftest.er1 >conftest.err
38710 rm -f conftest.er1
38711 cat conftest.err >&5
38712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38713 (exit $ac_status); } &&
38714 { ac_try='test -z "$ac_cxx_werror_flag"
38715 || test ! -s conftest.err'
38716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38717 (eval $ac_try) 2>&5
38718 ac_status=$?
38719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38720 (exit $ac_status); }; } &&
38721 { ac_try='test -s conftest.$ac_objext'
38722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38723 (eval $ac_try) 2>&5
38724 ac_status=$?
38725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38726 (exit $ac_status); }; }; then
38727 glibcxx_cv_func__log10l_use=yes
38728 else
38729 echo "$as_me: failed program was:" >&5
38730 sed 's/^/| /' conftest.$ac_ext >&5
38732 glibcxx_cv_func__log10l_use=no
38734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38735 ac_ext=c
38736 ac_cpp='$CPP $CPPFLAGS'
38737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38745 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
38746 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
38748 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38750 for ac_func in _log10l
38752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38753 echo "$as_me:$LINENO: checking for $ac_func" >&5
38754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38755 if eval "test \"\${$as_ac_var+set}\" = set"; then
38756 echo $ECHO_N "(cached) $ECHO_C" >&6
38757 else
38758 if test x$gcc_no_link = xyes; then
38759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38761 { (exit 1); exit 1; }; }
38763 cat >conftest.$ac_ext <<_ACEOF
38764 /* confdefs.h. */
38765 _ACEOF
38766 cat confdefs.h >>conftest.$ac_ext
38767 cat >>conftest.$ac_ext <<_ACEOF
38768 /* end confdefs.h. */
38769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38771 #define $ac_func innocuous_$ac_func
38773 /* System header to define __stub macros and hopefully few prototypes,
38774 which can conflict with char $ac_func (); below.
38775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38776 <limits.h> exists even on freestanding compilers. */
38778 #ifdef __STDC__
38779 # include <limits.h>
38780 #else
38781 # include <assert.h>
38782 #endif
38784 #undef $ac_func
38786 /* Override any gcc2 internal prototype to avoid an error. */
38787 #ifdef __cplusplus
38788 extern "C"
38790 #endif
38791 /* We use char because int might match the return type of a gcc2
38792 builtin and then its argument prototype would still apply. */
38793 char $ac_func ();
38794 /* The GNU C library defines this for functions which it implements
38795 to always fail with ENOSYS. Some functions are actually named
38796 something starting with __ and the normal name is an alias. */
38797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38798 choke me
38799 #else
38800 char (*f) () = $ac_func;
38801 #endif
38802 #ifdef __cplusplus
38804 #endif
38807 main ()
38809 return f != $ac_func;
38811 return 0;
38813 _ACEOF
38814 rm -f conftest.$ac_objext conftest$ac_exeext
38815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38816 (eval $ac_link) 2>conftest.er1
38817 ac_status=$?
38818 grep -v '^ *+' conftest.er1 >conftest.err
38819 rm -f conftest.er1
38820 cat conftest.err >&5
38821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38822 (exit $ac_status); } &&
38823 { ac_try='test -z "$ac_c_werror_flag"
38824 || test ! -s conftest.err'
38825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38826 (eval $ac_try) 2>&5
38827 ac_status=$?
38828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38829 (exit $ac_status); }; } &&
38830 { ac_try='test -s conftest$ac_exeext'
38831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38832 (eval $ac_try) 2>&5
38833 ac_status=$?
38834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38835 (exit $ac_status); }; }; then
38836 eval "$as_ac_var=yes"
38837 else
38838 echo "$as_me: failed program was:" >&5
38839 sed 's/^/| /' conftest.$ac_ext >&5
38841 eval "$as_ac_var=no"
38843 rm -f conftest.err conftest.$ac_objext \
38844 conftest$ac_exeext conftest.$ac_ext
38846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38848 if test `eval echo '${'$as_ac_var'}'` = yes; then
38849 cat >>confdefs.h <<_ACEOF
38850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38851 _ACEOF
38854 done
38864 echo "$as_me:$LINENO: checking for modfl declaration" >&5
38865 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
38866 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38867 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
38868 echo $ECHO_N "(cached) $ECHO_C" >&6
38869 else
38873 ac_ext=cc
38874 ac_cpp='$CXXCPP $CPPFLAGS'
38875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38879 cat >conftest.$ac_ext <<_ACEOF
38880 /* confdefs.h. */
38881 _ACEOF
38882 cat confdefs.h >>conftest.$ac_ext
38883 cat >>conftest.$ac_ext <<_ACEOF
38884 /* end confdefs.h. */
38885 #include <math.h>
38887 main ()
38889 modfl(0, 0);
38891 return 0;
38893 _ACEOF
38894 rm -f conftest.$ac_objext
38895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38896 (eval $ac_compile) 2>conftest.er1
38897 ac_status=$?
38898 grep -v '^ *+' conftest.er1 >conftest.err
38899 rm -f conftest.er1
38900 cat conftest.err >&5
38901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38902 (exit $ac_status); } &&
38903 { ac_try='test -z "$ac_cxx_werror_flag"
38904 || test ! -s conftest.err'
38905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38906 (eval $ac_try) 2>&5
38907 ac_status=$?
38908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38909 (exit $ac_status); }; } &&
38910 { ac_try='test -s conftest.$ac_objext'
38911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38912 (eval $ac_try) 2>&5
38913 ac_status=$?
38914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38915 (exit $ac_status); }; }; then
38916 glibcxx_cv_func_modfl_use=yes
38917 else
38918 echo "$as_me: failed program was:" >&5
38919 sed 's/^/| /' conftest.$ac_ext >&5
38921 glibcxx_cv_func_modfl_use=no
38923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38924 ac_ext=c
38925 ac_cpp='$CPP $CPPFLAGS'
38926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38934 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
38935 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
38937 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38939 for ac_func in modfl
38941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38942 echo "$as_me:$LINENO: checking for $ac_func" >&5
38943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38944 if eval "test \"\${$as_ac_var+set}\" = set"; then
38945 echo $ECHO_N "(cached) $ECHO_C" >&6
38946 else
38947 if test x$gcc_no_link = xyes; then
38948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38950 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38960 #define $ac_func innocuous_$ac_func
38962 /* System header to define __stub macros and hopefully few prototypes,
38963 which can conflict with char $ac_func (); below.
38964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38965 <limits.h> exists even on freestanding compilers. */
38967 #ifdef __STDC__
38968 # include <limits.h>
38969 #else
38970 # include <assert.h>
38971 #endif
38973 #undef $ac_func
38975 /* Override any gcc2 internal prototype to avoid an error. */
38976 #ifdef __cplusplus
38977 extern "C"
38979 #endif
38980 /* We use char because int might match the return type of a gcc2
38981 builtin and then its argument prototype would still apply. */
38982 char $ac_func ();
38983 /* The GNU C library defines this for functions which it implements
38984 to always fail with ENOSYS. Some functions are actually named
38985 something starting with __ and the normal name is an alias. */
38986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38987 choke me
38988 #else
38989 char (*f) () = $ac_func;
38990 #endif
38991 #ifdef __cplusplus
38993 #endif
38996 main ()
38998 return f != $ac_func;
39000 return 0;
39002 _ACEOF
39003 rm -f conftest.$ac_objext conftest$ac_exeext
39004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39005 (eval $ac_link) 2>conftest.er1
39006 ac_status=$?
39007 grep -v '^ *+' conftest.er1 >conftest.err
39008 rm -f conftest.er1
39009 cat conftest.err >&5
39010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39011 (exit $ac_status); } &&
39012 { ac_try='test -z "$ac_c_werror_flag"
39013 || test ! -s conftest.err'
39014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39015 (eval $ac_try) 2>&5
39016 ac_status=$?
39017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39018 (exit $ac_status); }; } &&
39019 { ac_try='test -s conftest$ac_exeext'
39020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39021 (eval $ac_try) 2>&5
39022 ac_status=$?
39023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39024 (exit $ac_status); }; }; then
39025 eval "$as_ac_var=yes"
39026 else
39027 echo "$as_me: failed program was:" >&5
39028 sed 's/^/| /' conftest.$ac_ext >&5
39030 eval "$as_ac_var=no"
39032 rm -f conftest.err conftest.$ac_objext \
39033 conftest$ac_exeext conftest.$ac_ext
39035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39037 if test `eval echo '${'$as_ac_var'}'` = yes; then
39038 cat >>confdefs.h <<_ACEOF
39039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39040 _ACEOF
39043 done
39045 else
39047 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
39048 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
39049 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39050 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
39051 echo $ECHO_N "(cached) $ECHO_C" >&6
39052 else
39056 ac_ext=cc
39057 ac_cpp='$CXXCPP $CPPFLAGS'
39058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39062 cat >conftest.$ac_ext <<_ACEOF
39063 /* confdefs.h. */
39064 _ACEOF
39065 cat confdefs.h >>conftest.$ac_ext
39066 cat >>conftest.$ac_ext <<_ACEOF
39067 /* end confdefs.h. */
39068 #include <math.h>
39070 main ()
39072 _modfl(0, 0);
39074 return 0;
39076 _ACEOF
39077 rm -f conftest.$ac_objext
39078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39079 (eval $ac_compile) 2>conftest.er1
39080 ac_status=$?
39081 grep -v '^ *+' conftest.er1 >conftest.err
39082 rm -f conftest.er1
39083 cat conftest.err >&5
39084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39085 (exit $ac_status); } &&
39086 { ac_try='test -z "$ac_cxx_werror_flag"
39087 || test ! -s conftest.err'
39088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39089 (eval $ac_try) 2>&5
39090 ac_status=$?
39091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39092 (exit $ac_status); }; } &&
39093 { ac_try='test -s conftest.$ac_objext'
39094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39095 (eval $ac_try) 2>&5
39096 ac_status=$?
39097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39098 (exit $ac_status); }; }; then
39099 glibcxx_cv_func__modfl_use=yes
39100 else
39101 echo "$as_me: failed program was:" >&5
39102 sed 's/^/| /' conftest.$ac_ext >&5
39104 glibcxx_cv_func__modfl_use=no
39106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39107 ac_ext=c
39108 ac_cpp='$CPP $CPPFLAGS'
39109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39117 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
39118 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
39120 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39122 for ac_func in _modfl
39124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39125 echo "$as_me:$LINENO: checking for $ac_func" >&5
39126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39127 if eval "test \"\${$as_ac_var+set}\" = set"; then
39128 echo $ECHO_N "(cached) $ECHO_C" >&6
39129 else
39130 if test x$gcc_no_link = xyes; then
39131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39133 { (exit 1); exit 1; }; }
39135 cat >conftest.$ac_ext <<_ACEOF
39136 /* confdefs.h. */
39137 _ACEOF
39138 cat confdefs.h >>conftest.$ac_ext
39139 cat >>conftest.$ac_ext <<_ACEOF
39140 /* end confdefs.h. */
39141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39143 #define $ac_func innocuous_$ac_func
39145 /* System header to define __stub macros and hopefully few prototypes,
39146 which can conflict with char $ac_func (); below.
39147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39148 <limits.h> exists even on freestanding compilers. */
39150 #ifdef __STDC__
39151 # include <limits.h>
39152 #else
39153 # include <assert.h>
39154 #endif
39156 #undef $ac_func
39158 /* Override any gcc2 internal prototype to avoid an error. */
39159 #ifdef __cplusplus
39160 extern "C"
39162 #endif
39163 /* We use char because int might match the return type of a gcc2
39164 builtin and then its argument prototype would still apply. */
39165 char $ac_func ();
39166 /* The GNU C library defines this for functions which it implements
39167 to always fail with ENOSYS. Some functions are actually named
39168 something starting with __ and the normal name is an alias. */
39169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39170 choke me
39171 #else
39172 char (*f) () = $ac_func;
39173 #endif
39174 #ifdef __cplusplus
39176 #endif
39179 main ()
39181 return f != $ac_func;
39183 return 0;
39185 _ACEOF
39186 rm -f conftest.$ac_objext conftest$ac_exeext
39187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39188 (eval $ac_link) 2>conftest.er1
39189 ac_status=$?
39190 grep -v '^ *+' conftest.er1 >conftest.err
39191 rm -f conftest.er1
39192 cat conftest.err >&5
39193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39194 (exit $ac_status); } &&
39195 { ac_try='test -z "$ac_c_werror_flag"
39196 || test ! -s conftest.err'
39197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39198 (eval $ac_try) 2>&5
39199 ac_status=$?
39200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39201 (exit $ac_status); }; } &&
39202 { ac_try='test -s conftest$ac_exeext'
39203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39204 (eval $ac_try) 2>&5
39205 ac_status=$?
39206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39207 (exit $ac_status); }; }; then
39208 eval "$as_ac_var=yes"
39209 else
39210 echo "$as_me: failed program was:" >&5
39211 sed 's/^/| /' conftest.$ac_ext >&5
39213 eval "$as_ac_var=no"
39215 rm -f conftest.err conftest.$ac_objext \
39216 conftest$ac_exeext conftest.$ac_ext
39218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39220 if test `eval echo '${'$as_ac_var'}'` = yes; then
39221 cat >>confdefs.h <<_ACEOF
39222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39223 _ACEOF
39226 done
39236 echo "$as_me:$LINENO: checking for powl declaration" >&5
39237 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
39238 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39239 if test "${glibcxx_cv_func_powl_use+set}" = set; then
39240 echo $ECHO_N "(cached) $ECHO_C" >&6
39241 else
39245 ac_ext=cc
39246 ac_cpp='$CXXCPP $CPPFLAGS'
39247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39251 cat >conftest.$ac_ext <<_ACEOF
39252 /* confdefs.h. */
39253 _ACEOF
39254 cat confdefs.h >>conftest.$ac_ext
39255 cat >>conftest.$ac_ext <<_ACEOF
39256 /* end confdefs.h. */
39257 #include <math.h>
39259 main ()
39261 powl(0, 0);
39263 return 0;
39265 _ACEOF
39266 rm -f conftest.$ac_objext
39267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39268 (eval $ac_compile) 2>conftest.er1
39269 ac_status=$?
39270 grep -v '^ *+' conftest.er1 >conftest.err
39271 rm -f conftest.er1
39272 cat conftest.err >&5
39273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39274 (exit $ac_status); } &&
39275 { ac_try='test -z "$ac_cxx_werror_flag"
39276 || test ! -s conftest.err'
39277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39278 (eval $ac_try) 2>&5
39279 ac_status=$?
39280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39281 (exit $ac_status); }; } &&
39282 { ac_try='test -s conftest.$ac_objext'
39283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39284 (eval $ac_try) 2>&5
39285 ac_status=$?
39286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39287 (exit $ac_status); }; }; then
39288 glibcxx_cv_func_powl_use=yes
39289 else
39290 echo "$as_me: failed program was:" >&5
39291 sed 's/^/| /' conftest.$ac_ext >&5
39293 glibcxx_cv_func_powl_use=no
39295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39296 ac_ext=c
39297 ac_cpp='$CPP $CPPFLAGS'
39298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39306 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
39307 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
39309 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39311 for ac_func in powl
39313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39314 echo "$as_me:$LINENO: checking for $ac_func" >&5
39315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39316 if eval "test \"\${$as_ac_var+set}\" = set"; then
39317 echo $ECHO_N "(cached) $ECHO_C" >&6
39318 else
39319 if test x$gcc_no_link = xyes; then
39320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39322 { (exit 1); exit 1; }; }
39324 cat >conftest.$ac_ext <<_ACEOF
39325 /* confdefs.h. */
39326 _ACEOF
39327 cat confdefs.h >>conftest.$ac_ext
39328 cat >>conftest.$ac_ext <<_ACEOF
39329 /* end confdefs.h. */
39330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39332 #define $ac_func innocuous_$ac_func
39334 /* System header to define __stub macros and hopefully few prototypes,
39335 which can conflict with char $ac_func (); below.
39336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39337 <limits.h> exists even on freestanding compilers. */
39339 #ifdef __STDC__
39340 # include <limits.h>
39341 #else
39342 # include <assert.h>
39343 #endif
39345 #undef $ac_func
39347 /* Override any gcc2 internal prototype to avoid an error. */
39348 #ifdef __cplusplus
39349 extern "C"
39351 #endif
39352 /* We use char because int might match the return type of a gcc2
39353 builtin and then its argument prototype would still apply. */
39354 char $ac_func ();
39355 /* The GNU C library defines this for functions which it implements
39356 to always fail with ENOSYS. Some functions are actually named
39357 something starting with __ and the normal name is an alias. */
39358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39359 choke me
39360 #else
39361 char (*f) () = $ac_func;
39362 #endif
39363 #ifdef __cplusplus
39365 #endif
39368 main ()
39370 return f != $ac_func;
39372 return 0;
39374 _ACEOF
39375 rm -f conftest.$ac_objext conftest$ac_exeext
39376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39377 (eval $ac_link) 2>conftest.er1
39378 ac_status=$?
39379 grep -v '^ *+' conftest.er1 >conftest.err
39380 rm -f conftest.er1
39381 cat conftest.err >&5
39382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39383 (exit $ac_status); } &&
39384 { ac_try='test -z "$ac_c_werror_flag"
39385 || test ! -s conftest.err'
39386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39387 (eval $ac_try) 2>&5
39388 ac_status=$?
39389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39390 (exit $ac_status); }; } &&
39391 { ac_try='test -s conftest$ac_exeext'
39392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39393 (eval $ac_try) 2>&5
39394 ac_status=$?
39395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39396 (exit $ac_status); }; }; then
39397 eval "$as_ac_var=yes"
39398 else
39399 echo "$as_me: failed program was:" >&5
39400 sed 's/^/| /' conftest.$ac_ext >&5
39402 eval "$as_ac_var=no"
39404 rm -f conftest.err conftest.$ac_objext \
39405 conftest$ac_exeext conftest.$ac_ext
39407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39409 if test `eval echo '${'$as_ac_var'}'` = yes; then
39410 cat >>confdefs.h <<_ACEOF
39411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39412 _ACEOF
39415 done
39417 else
39419 echo "$as_me:$LINENO: checking for _powl declaration" >&5
39420 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
39421 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39422 if test "${glibcxx_cv_func__powl_use+set}" = set; then
39423 echo $ECHO_N "(cached) $ECHO_C" >&6
39424 else
39428 ac_ext=cc
39429 ac_cpp='$CXXCPP $CPPFLAGS'
39430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39434 cat >conftest.$ac_ext <<_ACEOF
39435 /* confdefs.h. */
39436 _ACEOF
39437 cat confdefs.h >>conftest.$ac_ext
39438 cat >>conftest.$ac_ext <<_ACEOF
39439 /* end confdefs.h. */
39440 #include <math.h>
39442 main ()
39444 _powl(0, 0);
39446 return 0;
39448 _ACEOF
39449 rm -f conftest.$ac_objext
39450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39451 (eval $ac_compile) 2>conftest.er1
39452 ac_status=$?
39453 grep -v '^ *+' conftest.er1 >conftest.err
39454 rm -f conftest.er1
39455 cat conftest.err >&5
39456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39457 (exit $ac_status); } &&
39458 { ac_try='test -z "$ac_cxx_werror_flag"
39459 || test ! -s conftest.err'
39460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39461 (eval $ac_try) 2>&5
39462 ac_status=$?
39463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39464 (exit $ac_status); }; } &&
39465 { ac_try='test -s conftest.$ac_objext'
39466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39467 (eval $ac_try) 2>&5
39468 ac_status=$?
39469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39470 (exit $ac_status); }; }; then
39471 glibcxx_cv_func__powl_use=yes
39472 else
39473 echo "$as_me: failed program was:" >&5
39474 sed 's/^/| /' conftest.$ac_ext >&5
39476 glibcxx_cv_func__powl_use=no
39478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39479 ac_ext=c
39480 ac_cpp='$CPP $CPPFLAGS'
39481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39489 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
39490 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
39492 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39494 for ac_func in _powl
39496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39497 echo "$as_me:$LINENO: checking for $ac_func" >&5
39498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39499 if eval "test \"\${$as_ac_var+set}\" = set"; then
39500 echo $ECHO_N "(cached) $ECHO_C" >&6
39501 else
39502 if test x$gcc_no_link = xyes; then
39503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39505 { (exit 1); exit 1; }; }
39507 cat >conftest.$ac_ext <<_ACEOF
39508 /* confdefs.h. */
39509 _ACEOF
39510 cat confdefs.h >>conftest.$ac_ext
39511 cat >>conftest.$ac_ext <<_ACEOF
39512 /* end confdefs.h. */
39513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39515 #define $ac_func innocuous_$ac_func
39517 /* System header to define __stub macros and hopefully few prototypes,
39518 which can conflict with char $ac_func (); below.
39519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39520 <limits.h> exists even on freestanding compilers. */
39522 #ifdef __STDC__
39523 # include <limits.h>
39524 #else
39525 # include <assert.h>
39526 #endif
39528 #undef $ac_func
39530 /* Override any gcc2 internal prototype to avoid an error. */
39531 #ifdef __cplusplus
39532 extern "C"
39534 #endif
39535 /* We use char because int might match the return type of a gcc2
39536 builtin and then its argument prototype would still apply. */
39537 char $ac_func ();
39538 /* The GNU C library defines this for functions which it implements
39539 to always fail with ENOSYS. Some functions are actually named
39540 something starting with __ and the normal name is an alias. */
39541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39542 choke me
39543 #else
39544 char (*f) () = $ac_func;
39545 #endif
39546 #ifdef __cplusplus
39548 #endif
39551 main ()
39553 return f != $ac_func;
39555 return 0;
39557 _ACEOF
39558 rm -f conftest.$ac_objext conftest$ac_exeext
39559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39560 (eval $ac_link) 2>conftest.er1
39561 ac_status=$?
39562 grep -v '^ *+' conftest.er1 >conftest.err
39563 rm -f conftest.er1
39564 cat conftest.err >&5
39565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39566 (exit $ac_status); } &&
39567 { ac_try='test -z "$ac_c_werror_flag"
39568 || test ! -s conftest.err'
39569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39570 (eval $ac_try) 2>&5
39571 ac_status=$?
39572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39573 (exit $ac_status); }; } &&
39574 { ac_try='test -s conftest$ac_exeext'
39575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39576 (eval $ac_try) 2>&5
39577 ac_status=$?
39578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39579 (exit $ac_status); }; }; then
39580 eval "$as_ac_var=yes"
39581 else
39582 echo "$as_me: failed program was:" >&5
39583 sed 's/^/| /' conftest.$ac_ext >&5
39585 eval "$as_ac_var=no"
39587 rm -f conftest.err conftest.$ac_objext \
39588 conftest$ac_exeext conftest.$ac_ext
39590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39592 if test `eval echo '${'$as_ac_var'}'` = yes; then
39593 cat >>confdefs.h <<_ACEOF
39594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39595 _ACEOF
39598 done
39608 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
39609 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
39610 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39611 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
39612 echo $ECHO_N "(cached) $ECHO_C" >&6
39613 else
39617 ac_ext=cc
39618 ac_cpp='$CXXCPP $CPPFLAGS'
39619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39623 cat >conftest.$ac_ext <<_ACEOF
39624 /* confdefs.h. */
39625 _ACEOF
39626 cat confdefs.h >>conftest.$ac_ext
39627 cat >>conftest.$ac_ext <<_ACEOF
39628 /* end confdefs.h. */
39629 #include <math.h>
39630 #ifdef HAVE_IEEEFP_H
39631 #include <ieeefp.h>
39632 #endif
39635 main ()
39637 sqrtl(0);
39639 return 0;
39641 _ACEOF
39642 rm -f conftest.$ac_objext
39643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39644 (eval $ac_compile) 2>conftest.er1
39645 ac_status=$?
39646 grep -v '^ *+' conftest.er1 >conftest.err
39647 rm -f conftest.er1
39648 cat conftest.err >&5
39649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39650 (exit $ac_status); } &&
39651 { ac_try='test -z "$ac_cxx_werror_flag"
39652 || test ! -s conftest.err'
39653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39654 (eval $ac_try) 2>&5
39655 ac_status=$?
39656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39657 (exit $ac_status); }; } &&
39658 { ac_try='test -s conftest.$ac_objext'
39659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39660 (eval $ac_try) 2>&5
39661 ac_status=$?
39662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39663 (exit $ac_status); }; }; then
39664 glibcxx_cv_func_sqrtl_use=yes
39665 else
39666 echo "$as_me: failed program was:" >&5
39667 sed 's/^/| /' conftest.$ac_ext >&5
39669 glibcxx_cv_func_sqrtl_use=no
39671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39672 ac_ext=c
39673 ac_cpp='$CPP $CPPFLAGS'
39674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39682 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
39683 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
39685 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39687 for ac_func in sqrtl
39689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39690 echo "$as_me:$LINENO: checking for $ac_func" >&5
39691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39692 if eval "test \"\${$as_ac_var+set}\" = set"; then
39693 echo $ECHO_N "(cached) $ECHO_C" >&6
39694 else
39695 if test x$gcc_no_link = xyes; then
39696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39698 { (exit 1); exit 1; }; }
39700 cat >conftest.$ac_ext <<_ACEOF
39701 /* confdefs.h. */
39702 _ACEOF
39703 cat confdefs.h >>conftest.$ac_ext
39704 cat >>conftest.$ac_ext <<_ACEOF
39705 /* end confdefs.h. */
39706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39708 #define $ac_func innocuous_$ac_func
39710 /* System header to define __stub macros and hopefully few prototypes,
39711 which can conflict with char $ac_func (); below.
39712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39713 <limits.h> exists even on freestanding compilers. */
39715 #ifdef __STDC__
39716 # include <limits.h>
39717 #else
39718 # include <assert.h>
39719 #endif
39721 #undef $ac_func
39723 /* Override any gcc2 internal prototype to avoid an error. */
39724 #ifdef __cplusplus
39725 extern "C"
39727 #endif
39728 /* We use char because int might match the return type of a gcc2
39729 builtin and then its argument prototype would still apply. */
39730 char $ac_func ();
39731 /* The GNU C library defines this for functions which it implements
39732 to always fail with ENOSYS. Some functions are actually named
39733 something starting with __ and the normal name is an alias. */
39734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39735 choke me
39736 #else
39737 char (*f) () = $ac_func;
39738 #endif
39739 #ifdef __cplusplus
39741 #endif
39744 main ()
39746 return f != $ac_func;
39748 return 0;
39750 _ACEOF
39751 rm -f conftest.$ac_objext conftest$ac_exeext
39752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39753 (eval $ac_link) 2>conftest.er1
39754 ac_status=$?
39755 grep -v '^ *+' conftest.er1 >conftest.err
39756 rm -f conftest.er1
39757 cat conftest.err >&5
39758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39759 (exit $ac_status); } &&
39760 { ac_try='test -z "$ac_c_werror_flag"
39761 || test ! -s conftest.err'
39762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39763 (eval $ac_try) 2>&5
39764 ac_status=$?
39765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39766 (exit $ac_status); }; } &&
39767 { ac_try='test -s conftest$ac_exeext'
39768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39769 (eval $ac_try) 2>&5
39770 ac_status=$?
39771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39772 (exit $ac_status); }; }; then
39773 eval "$as_ac_var=yes"
39774 else
39775 echo "$as_me: failed program was:" >&5
39776 sed 's/^/| /' conftest.$ac_ext >&5
39778 eval "$as_ac_var=no"
39780 rm -f conftest.err conftest.$ac_objext \
39781 conftest$ac_exeext conftest.$ac_ext
39783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39785 if test `eval echo '${'$as_ac_var'}'` = yes; then
39786 cat >>confdefs.h <<_ACEOF
39787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39788 _ACEOF
39791 done
39793 else
39795 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
39796 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
39797 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39798 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
39799 echo $ECHO_N "(cached) $ECHO_C" >&6
39800 else
39804 ac_ext=cc
39805 ac_cpp='$CXXCPP $CPPFLAGS'
39806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39810 cat >conftest.$ac_ext <<_ACEOF
39811 /* confdefs.h. */
39812 _ACEOF
39813 cat confdefs.h >>conftest.$ac_ext
39814 cat >>conftest.$ac_ext <<_ACEOF
39815 /* end confdefs.h. */
39816 #include <math.h>
39817 #ifdef HAVE_IEEEFP_H
39818 #include <ieeefp.h>
39819 #endif
39822 main ()
39824 _sqrtl(0);
39826 return 0;
39828 _ACEOF
39829 rm -f conftest.$ac_objext
39830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39831 (eval $ac_compile) 2>conftest.er1
39832 ac_status=$?
39833 grep -v '^ *+' conftest.er1 >conftest.err
39834 rm -f conftest.er1
39835 cat conftest.err >&5
39836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39837 (exit $ac_status); } &&
39838 { ac_try='test -z "$ac_cxx_werror_flag"
39839 || test ! -s conftest.err'
39840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39841 (eval $ac_try) 2>&5
39842 ac_status=$?
39843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39844 (exit $ac_status); }; } &&
39845 { ac_try='test -s conftest.$ac_objext'
39846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39847 (eval $ac_try) 2>&5
39848 ac_status=$?
39849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39850 (exit $ac_status); }; }; then
39851 glibcxx_cv_func__sqrtl_use=yes
39852 else
39853 echo "$as_me: failed program was:" >&5
39854 sed 's/^/| /' conftest.$ac_ext >&5
39856 glibcxx_cv_func__sqrtl_use=no
39858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39859 ac_ext=c
39860 ac_cpp='$CPP $CPPFLAGS'
39861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39869 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
39870 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
39872 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39874 for ac_func in _sqrtl
39876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39877 echo "$as_me:$LINENO: checking for $ac_func" >&5
39878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39879 if eval "test \"\${$as_ac_var+set}\" = set"; then
39880 echo $ECHO_N "(cached) $ECHO_C" >&6
39881 else
39882 if test x$gcc_no_link = xyes; then
39883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39885 { (exit 1); exit 1; }; }
39887 cat >conftest.$ac_ext <<_ACEOF
39888 /* confdefs.h. */
39889 _ACEOF
39890 cat confdefs.h >>conftest.$ac_ext
39891 cat >>conftest.$ac_ext <<_ACEOF
39892 /* end confdefs.h. */
39893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39895 #define $ac_func innocuous_$ac_func
39897 /* System header to define __stub macros and hopefully few prototypes,
39898 which can conflict with char $ac_func (); below.
39899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39900 <limits.h> exists even on freestanding compilers. */
39902 #ifdef __STDC__
39903 # include <limits.h>
39904 #else
39905 # include <assert.h>
39906 #endif
39908 #undef $ac_func
39910 /* Override any gcc2 internal prototype to avoid an error. */
39911 #ifdef __cplusplus
39912 extern "C"
39914 #endif
39915 /* We use char because int might match the return type of a gcc2
39916 builtin and then its argument prototype would still apply. */
39917 char $ac_func ();
39918 /* The GNU C library defines this for functions which it implements
39919 to always fail with ENOSYS. Some functions are actually named
39920 something starting with __ and the normal name is an alias. */
39921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39922 choke me
39923 #else
39924 char (*f) () = $ac_func;
39925 #endif
39926 #ifdef __cplusplus
39928 #endif
39931 main ()
39933 return f != $ac_func;
39935 return 0;
39937 _ACEOF
39938 rm -f conftest.$ac_objext conftest$ac_exeext
39939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39940 (eval $ac_link) 2>conftest.er1
39941 ac_status=$?
39942 grep -v '^ *+' conftest.er1 >conftest.err
39943 rm -f conftest.er1
39944 cat conftest.err >&5
39945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39946 (exit $ac_status); } &&
39947 { ac_try='test -z "$ac_c_werror_flag"
39948 || test ! -s conftest.err'
39949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39950 (eval $ac_try) 2>&5
39951 ac_status=$?
39952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39953 (exit $ac_status); }; } &&
39954 { ac_try='test -s conftest$ac_exeext'
39955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39956 (eval $ac_try) 2>&5
39957 ac_status=$?
39958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39959 (exit $ac_status); }; }; then
39960 eval "$as_ac_var=yes"
39961 else
39962 echo "$as_me: failed program was:" >&5
39963 sed 's/^/| /' conftest.$ac_ext >&5
39965 eval "$as_ac_var=no"
39967 rm -f conftest.err conftest.$ac_objext \
39968 conftest$ac_exeext conftest.$ac_ext
39970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39972 if test `eval echo '${'$as_ac_var'}'` = yes; then
39973 cat >>confdefs.h <<_ACEOF
39974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39975 _ACEOF
39978 done
39988 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
39989 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
39990 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39991 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
39992 echo $ECHO_N "(cached) $ECHO_C" >&6
39993 else
39997 ac_ext=cc
39998 ac_cpp='$CXXCPP $CPPFLAGS'
39999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40003 cat >conftest.$ac_ext <<_ACEOF
40004 /* confdefs.h. */
40005 _ACEOF
40006 cat confdefs.h >>conftest.$ac_ext
40007 cat >>conftest.$ac_ext <<_ACEOF
40008 /* end confdefs.h. */
40009 #include <math.h>
40011 main ()
40013 sincosl(0, 0, 0);
40015 return 0;
40017 _ACEOF
40018 rm -f conftest.$ac_objext
40019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40020 (eval $ac_compile) 2>conftest.er1
40021 ac_status=$?
40022 grep -v '^ *+' conftest.er1 >conftest.err
40023 rm -f conftest.er1
40024 cat conftest.err >&5
40025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40026 (exit $ac_status); } &&
40027 { ac_try='test -z "$ac_cxx_werror_flag"
40028 || test ! -s conftest.err'
40029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40030 (eval $ac_try) 2>&5
40031 ac_status=$?
40032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40033 (exit $ac_status); }; } &&
40034 { ac_try='test -s conftest.$ac_objext'
40035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40036 (eval $ac_try) 2>&5
40037 ac_status=$?
40038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40039 (exit $ac_status); }; }; then
40040 glibcxx_cv_func_sincosl_use=yes
40041 else
40042 echo "$as_me: failed program was:" >&5
40043 sed 's/^/| /' conftest.$ac_ext >&5
40045 glibcxx_cv_func_sincosl_use=no
40047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40048 ac_ext=c
40049 ac_cpp='$CPP $CPPFLAGS'
40050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40058 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
40059 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
40061 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40063 for ac_func in sincosl
40065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40066 echo "$as_me:$LINENO: checking for $ac_func" >&5
40067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40068 if eval "test \"\${$as_ac_var+set}\" = set"; then
40069 echo $ECHO_N "(cached) $ECHO_C" >&6
40070 else
40071 if test x$gcc_no_link = xyes; then
40072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40074 { (exit 1); exit 1; }; }
40076 cat >conftest.$ac_ext <<_ACEOF
40077 /* confdefs.h. */
40078 _ACEOF
40079 cat confdefs.h >>conftest.$ac_ext
40080 cat >>conftest.$ac_ext <<_ACEOF
40081 /* end confdefs.h. */
40082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40084 #define $ac_func innocuous_$ac_func
40086 /* System header to define __stub macros and hopefully few prototypes,
40087 which can conflict with char $ac_func (); below.
40088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40089 <limits.h> exists even on freestanding compilers. */
40091 #ifdef __STDC__
40092 # include <limits.h>
40093 #else
40094 # include <assert.h>
40095 #endif
40097 #undef $ac_func
40099 /* Override any gcc2 internal prototype to avoid an error. */
40100 #ifdef __cplusplus
40101 extern "C"
40103 #endif
40104 /* We use char because int might match the return type of a gcc2
40105 builtin and then its argument prototype would still apply. */
40106 char $ac_func ();
40107 /* The GNU C library defines this for functions which it implements
40108 to always fail with ENOSYS. Some functions are actually named
40109 something starting with __ and the normal name is an alias. */
40110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40111 choke me
40112 #else
40113 char (*f) () = $ac_func;
40114 #endif
40115 #ifdef __cplusplus
40117 #endif
40120 main ()
40122 return f != $ac_func;
40124 return 0;
40126 _ACEOF
40127 rm -f conftest.$ac_objext conftest$ac_exeext
40128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40129 (eval $ac_link) 2>conftest.er1
40130 ac_status=$?
40131 grep -v '^ *+' conftest.er1 >conftest.err
40132 rm -f conftest.er1
40133 cat conftest.err >&5
40134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40135 (exit $ac_status); } &&
40136 { ac_try='test -z "$ac_c_werror_flag"
40137 || test ! -s conftest.err'
40138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40139 (eval $ac_try) 2>&5
40140 ac_status=$?
40141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40142 (exit $ac_status); }; } &&
40143 { ac_try='test -s conftest$ac_exeext'
40144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40145 (eval $ac_try) 2>&5
40146 ac_status=$?
40147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40148 (exit $ac_status); }; }; then
40149 eval "$as_ac_var=yes"
40150 else
40151 echo "$as_me: failed program was:" >&5
40152 sed 's/^/| /' conftest.$ac_ext >&5
40154 eval "$as_ac_var=no"
40156 rm -f conftest.err conftest.$ac_objext \
40157 conftest$ac_exeext conftest.$ac_ext
40159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40161 if test `eval echo '${'$as_ac_var'}'` = yes; then
40162 cat >>confdefs.h <<_ACEOF
40163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40164 _ACEOF
40167 done
40169 else
40171 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
40172 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
40173 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40174 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
40175 echo $ECHO_N "(cached) $ECHO_C" >&6
40176 else
40180 ac_ext=cc
40181 ac_cpp='$CXXCPP $CPPFLAGS'
40182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40186 cat >conftest.$ac_ext <<_ACEOF
40187 /* confdefs.h. */
40188 _ACEOF
40189 cat confdefs.h >>conftest.$ac_ext
40190 cat >>conftest.$ac_ext <<_ACEOF
40191 /* end confdefs.h. */
40192 #include <math.h>
40194 main ()
40196 _sincosl(0, 0, 0);
40198 return 0;
40200 _ACEOF
40201 rm -f conftest.$ac_objext
40202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40203 (eval $ac_compile) 2>conftest.er1
40204 ac_status=$?
40205 grep -v '^ *+' conftest.er1 >conftest.err
40206 rm -f conftest.er1
40207 cat conftest.err >&5
40208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40209 (exit $ac_status); } &&
40210 { ac_try='test -z "$ac_cxx_werror_flag"
40211 || test ! -s conftest.err'
40212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40213 (eval $ac_try) 2>&5
40214 ac_status=$?
40215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40216 (exit $ac_status); }; } &&
40217 { ac_try='test -s conftest.$ac_objext'
40218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40219 (eval $ac_try) 2>&5
40220 ac_status=$?
40221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40222 (exit $ac_status); }; }; then
40223 glibcxx_cv_func__sincosl_use=yes
40224 else
40225 echo "$as_me: failed program was:" >&5
40226 sed 's/^/| /' conftest.$ac_ext >&5
40228 glibcxx_cv_func__sincosl_use=no
40230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40231 ac_ext=c
40232 ac_cpp='$CPP $CPPFLAGS'
40233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40241 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
40242 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
40244 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40246 for ac_func in _sincosl
40248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40249 echo "$as_me:$LINENO: checking for $ac_func" >&5
40250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40251 if eval "test \"\${$as_ac_var+set}\" = set"; then
40252 echo $ECHO_N "(cached) $ECHO_C" >&6
40253 else
40254 if test x$gcc_no_link = xyes; then
40255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40257 { (exit 1); exit 1; }; }
40259 cat >conftest.$ac_ext <<_ACEOF
40260 /* confdefs.h. */
40261 _ACEOF
40262 cat confdefs.h >>conftest.$ac_ext
40263 cat >>conftest.$ac_ext <<_ACEOF
40264 /* end confdefs.h. */
40265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40267 #define $ac_func innocuous_$ac_func
40269 /* System header to define __stub macros and hopefully few prototypes,
40270 which can conflict with char $ac_func (); below.
40271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40272 <limits.h> exists even on freestanding compilers. */
40274 #ifdef __STDC__
40275 # include <limits.h>
40276 #else
40277 # include <assert.h>
40278 #endif
40280 #undef $ac_func
40282 /* Override any gcc2 internal prototype to avoid an error. */
40283 #ifdef __cplusplus
40284 extern "C"
40286 #endif
40287 /* We use char because int might match the return type of a gcc2
40288 builtin and then its argument prototype would still apply. */
40289 char $ac_func ();
40290 /* The GNU C library defines this for functions which it implements
40291 to always fail with ENOSYS. Some functions are actually named
40292 something starting with __ and the normal name is an alias. */
40293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40294 choke me
40295 #else
40296 char (*f) () = $ac_func;
40297 #endif
40298 #ifdef __cplusplus
40300 #endif
40303 main ()
40305 return f != $ac_func;
40307 return 0;
40309 _ACEOF
40310 rm -f conftest.$ac_objext conftest$ac_exeext
40311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40312 (eval $ac_link) 2>conftest.er1
40313 ac_status=$?
40314 grep -v '^ *+' conftest.er1 >conftest.err
40315 rm -f conftest.er1
40316 cat conftest.err >&5
40317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40318 (exit $ac_status); } &&
40319 { ac_try='test -z "$ac_c_werror_flag"
40320 || test ! -s conftest.err'
40321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40322 (eval $ac_try) 2>&5
40323 ac_status=$?
40324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40325 (exit $ac_status); }; } &&
40326 { ac_try='test -s conftest$ac_exeext'
40327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40328 (eval $ac_try) 2>&5
40329 ac_status=$?
40330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40331 (exit $ac_status); }; }; then
40332 eval "$as_ac_var=yes"
40333 else
40334 echo "$as_me: failed program was:" >&5
40335 sed 's/^/| /' conftest.$ac_ext >&5
40337 eval "$as_ac_var=no"
40339 rm -f conftest.err conftest.$ac_objext \
40340 conftest$ac_exeext conftest.$ac_ext
40342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40344 if test `eval echo '${'$as_ac_var'}'` = yes; then
40345 cat >>confdefs.h <<_ACEOF
40346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40347 _ACEOF
40350 done
40360 echo "$as_me:$LINENO: checking for finitel declaration" >&5
40361 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
40362 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40363 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
40364 echo $ECHO_N "(cached) $ECHO_C" >&6
40365 else
40369 ac_ext=cc
40370 ac_cpp='$CXXCPP $CPPFLAGS'
40371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40375 cat >conftest.$ac_ext <<_ACEOF
40376 /* confdefs.h. */
40377 _ACEOF
40378 cat confdefs.h >>conftest.$ac_ext
40379 cat >>conftest.$ac_ext <<_ACEOF
40380 /* end confdefs.h. */
40381 #include <math.h>
40382 #ifdef HAVE_IEEEFP_H
40383 #include <ieeefp.h>
40384 #endif
40387 main ()
40389 finitel(0);
40391 return 0;
40393 _ACEOF
40394 rm -f conftest.$ac_objext
40395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40396 (eval $ac_compile) 2>conftest.er1
40397 ac_status=$?
40398 grep -v '^ *+' conftest.er1 >conftest.err
40399 rm -f conftest.er1
40400 cat conftest.err >&5
40401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40402 (exit $ac_status); } &&
40403 { ac_try='test -z "$ac_cxx_werror_flag"
40404 || test ! -s conftest.err'
40405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40406 (eval $ac_try) 2>&5
40407 ac_status=$?
40408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40409 (exit $ac_status); }; } &&
40410 { ac_try='test -s conftest.$ac_objext'
40411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40412 (eval $ac_try) 2>&5
40413 ac_status=$?
40414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40415 (exit $ac_status); }; }; then
40416 glibcxx_cv_func_finitel_use=yes
40417 else
40418 echo "$as_me: failed program was:" >&5
40419 sed 's/^/| /' conftest.$ac_ext >&5
40421 glibcxx_cv_func_finitel_use=no
40423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40424 ac_ext=c
40425 ac_cpp='$CPP $CPPFLAGS'
40426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40434 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
40435 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
40437 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40439 for ac_func in finitel
40441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40442 echo "$as_me:$LINENO: checking for $ac_func" >&5
40443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40444 if eval "test \"\${$as_ac_var+set}\" = set"; then
40445 echo $ECHO_N "(cached) $ECHO_C" >&6
40446 else
40447 if test x$gcc_no_link = xyes; then
40448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40450 { (exit 1); exit 1; }; }
40452 cat >conftest.$ac_ext <<_ACEOF
40453 /* confdefs.h. */
40454 _ACEOF
40455 cat confdefs.h >>conftest.$ac_ext
40456 cat >>conftest.$ac_ext <<_ACEOF
40457 /* end confdefs.h. */
40458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40460 #define $ac_func innocuous_$ac_func
40462 /* System header to define __stub macros and hopefully few prototypes,
40463 which can conflict with char $ac_func (); below.
40464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40465 <limits.h> exists even on freestanding compilers. */
40467 #ifdef __STDC__
40468 # include <limits.h>
40469 #else
40470 # include <assert.h>
40471 #endif
40473 #undef $ac_func
40475 /* Override any gcc2 internal prototype to avoid an error. */
40476 #ifdef __cplusplus
40477 extern "C"
40479 #endif
40480 /* We use char because int might match the return type of a gcc2
40481 builtin and then its argument prototype would still apply. */
40482 char $ac_func ();
40483 /* The GNU C library defines this for functions which it implements
40484 to always fail with ENOSYS. Some functions are actually named
40485 something starting with __ and the normal name is an alias. */
40486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40487 choke me
40488 #else
40489 char (*f) () = $ac_func;
40490 #endif
40491 #ifdef __cplusplus
40493 #endif
40496 main ()
40498 return f != $ac_func;
40500 return 0;
40502 _ACEOF
40503 rm -f conftest.$ac_objext conftest$ac_exeext
40504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40505 (eval $ac_link) 2>conftest.er1
40506 ac_status=$?
40507 grep -v '^ *+' conftest.er1 >conftest.err
40508 rm -f conftest.er1
40509 cat conftest.err >&5
40510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40511 (exit $ac_status); } &&
40512 { ac_try='test -z "$ac_c_werror_flag"
40513 || test ! -s conftest.err'
40514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40515 (eval $ac_try) 2>&5
40516 ac_status=$?
40517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40518 (exit $ac_status); }; } &&
40519 { ac_try='test -s conftest$ac_exeext'
40520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40521 (eval $ac_try) 2>&5
40522 ac_status=$?
40523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40524 (exit $ac_status); }; }; then
40525 eval "$as_ac_var=yes"
40526 else
40527 echo "$as_me: failed program was:" >&5
40528 sed 's/^/| /' conftest.$ac_ext >&5
40530 eval "$as_ac_var=no"
40532 rm -f conftest.err conftest.$ac_objext \
40533 conftest$ac_exeext conftest.$ac_ext
40535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40537 if test `eval echo '${'$as_ac_var'}'` = yes; then
40538 cat >>confdefs.h <<_ACEOF
40539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40540 _ACEOF
40543 done
40545 else
40547 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
40548 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
40549 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40550 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
40551 echo $ECHO_N "(cached) $ECHO_C" >&6
40552 else
40556 ac_ext=cc
40557 ac_cpp='$CXXCPP $CPPFLAGS'
40558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40562 cat >conftest.$ac_ext <<_ACEOF
40563 /* confdefs.h. */
40564 _ACEOF
40565 cat confdefs.h >>conftest.$ac_ext
40566 cat >>conftest.$ac_ext <<_ACEOF
40567 /* end confdefs.h. */
40568 #include <math.h>
40569 #ifdef HAVE_IEEEFP_H
40570 #include <ieeefp.h>
40571 #endif
40574 main ()
40576 _finitel(0);
40578 return 0;
40580 _ACEOF
40581 rm -f conftest.$ac_objext
40582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40583 (eval $ac_compile) 2>conftest.er1
40584 ac_status=$?
40585 grep -v '^ *+' conftest.er1 >conftest.err
40586 rm -f conftest.er1
40587 cat conftest.err >&5
40588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40589 (exit $ac_status); } &&
40590 { ac_try='test -z "$ac_cxx_werror_flag"
40591 || test ! -s conftest.err'
40592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40593 (eval $ac_try) 2>&5
40594 ac_status=$?
40595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40596 (exit $ac_status); }; } &&
40597 { ac_try='test -s conftest.$ac_objext'
40598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40599 (eval $ac_try) 2>&5
40600 ac_status=$?
40601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40602 (exit $ac_status); }; }; then
40603 glibcxx_cv_func__finitel_use=yes
40604 else
40605 echo "$as_me: failed program was:" >&5
40606 sed 's/^/| /' conftest.$ac_ext >&5
40608 glibcxx_cv_func__finitel_use=no
40610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40611 ac_ext=c
40612 ac_cpp='$CPP $CPPFLAGS'
40613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40621 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
40622 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
40624 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40626 for ac_func in _finitel
40628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40629 echo "$as_me:$LINENO: checking for $ac_func" >&5
40630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40631 if eval "test \"\${$as_ac_var+set}\" = set"; then
40632 echo $ECHO_N "(cached) $ECHO_C" >&6
40633 else
40634 if test x$gcc_no_link = xyes; then
40635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40637 { (exit 1); exit 1; }; }
40639 cat >conftest.$ac_ext <<_ACEOF
40640 /* confdefs.h. */
40641 _ACEOF
40642 cat confdefs.h >>conftest.$ac_ext
40643 cat >>conftest.$ac_ext <<_ACEOF
40644 /* end confdefs.h. */
40645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40647 #define $ac_func innocuous_$ac_func
40649 /* System header to define __stub macros and hopefully few prototypes,
40650 which can conflict with char $ac_func (); below.
40651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40652 <limits.h> exists even on freestanding compilers. */
40654 #ifdef __STDC__
40655 # include <limits.h>
40656 #else
40657 # include <assert.h>
40658 #endif
40660 #undef $ac_func
40662 /* Override any gcc2 internal prototype to avoid an error. */
40663 #ifdef __cplusplus
40664 extern "C"
40666 #endif
40667 /* We use char because int might match the return type of a gcc2
40668 builtin and then its argument prototype would still apply. */
40669 char $ac_func ();
40670 /* The GNU C library defines this for functions which it implements
40671 to always fail with ENOSYS. Some functions are actually named
40672 something starting with __ and the normal name is an alias. */
40673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40674 choke me
40675 #else
40676 char (*f) () = $ac_func;
40677 #endif
40678 #ifdef __cplusplus
40680 #endif
40683 main ()
40685 return f != $ac_func;
40687 return 0;
40689 _ACEOF
40690 rm -f conftest.$ac_objext conftest$ac_exeext
40691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40692 (eval $ac_link) 2>conftest.er1
40693 ac_status=$?
40694 grep -v '^ *+' conftest.er1 >conftest.err
40695 rm -f conftest.er1
40696 cat conftest.err >&5
40697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40698 (exit $ac_status); } &&
40699 { ac_try='test -z "$ac_c_werror_flag"
40700 || test ! -s conftest.err'
40701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40702 (eval $ac_try) 2>&5
40703 ac_status=$?
40704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40705 (exit $ac_status); }; } &&
40706 { ac_try='test -s conftest$ac_exeext'
40707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40708 (eval $ac_try) 2>&5
40709 ac_status=$?
40710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40711 (exit $ac_status); }; }; then
40712 eval "$as_ac_var=yes"
40713 else
40714 echo "$as_me: failed program was:" >&5
40715 sed 's/^/| /' conftest.$ac_ext >&5
40717 eval "$as_ac_var=no"
40719 rm -f conftest.err conftest.$ac_objext \
40720 conftest$ac_exeext conftest.$ac_ext
40722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40724 if test `eval echo '${'$as_ac_var'}'` = yes; then
40725 cat >>confdefs.h <<_ACEOF
40726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40727 _ACEOF
40730 done
40739 LIBS="$ac_save_LIBS"
40740 CXXFLAGS="$ac_save_CXXFLAGS"
40744 echo "$as_me:$LINENO: checking for main in -lm" >&5
40745 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
40746 if test "${ac_cv_lib_m_main+set}" = set; then
40747 echo $ECHO_N "(cached) $ECHO_C" >&6
40748 else
40749 ac_check_lib_save_LIBS=$LIBS
40750 LIBS="-lm $LIBS"
40751 if test x$gcc_no_link = xyes; then
40752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40754 { (exit 1); exit 1; }; }
40756 cat >conftest.$ac_ext <<_ACEOF
40757 /* confdefs.h. */
40758 _ACEOF
40759 cat confdefs.h >>conftest.$ac_ext
40760 cat >>conftest.$ac_ext <<_ACEOF
40761 /* end confdefs.h. */
40765 main ()
40767 main ();
40769 return 0;
40771 _ACEOF
40772 rm -f conftest.$ac_objext conftest$ac_exeext
40773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40774 (eval $ac_link) 2>conftest.er1
40775 ac_status=$?
40776 grep -v '^ *+' conftest.er1 >conftest.err
40777 rm -f conftest.er1
40778 cat conftest.err >&5
40779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40780 (exit $ac_status); } &&
40781 { ac_try='test -z "$ac_c_werror_flag"
40782 || test ! -s conftest.err'
40783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40784 (eval $ac_try) 2>&5
40785 ac_status=$?
40786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40787 (exit $ac_status); }; } &&
40788 { ac_try='test -s conftest$ac_exeext'
40789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40790 (eval $ac_try) 2>&5
40791 ac_status=$?
40792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40793 (exit $ac_status); }; }; then
40794 ac_cv_lib_m_main=yes
40795 else
40796 echo "$as_me: failed program was:" >&5
40797 sed 's/^/| /' conftest.$ac_ext >&5
40799 ac_cv_lib_m_main=no
40801 rm -f conftest.err conftest.$ac_objext \
40802 conftest$ac_exeext conftest.$ac_ext
40803 LIBS=$ac_check_lib_save_LIBS
40805 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
40806 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
40807 if test $ac_cv_lib_m_main = yes; then
40808 cat >>confdefs.h <<_ACEOF
40809 #define HAVE_LIBM 1
40810 _ACEOF
40812 LIBS="-lm $LIBS"
40817 for ac_func in copysignf
40819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40820 echo "$as_me:$LINENO: checking for $ac_func" >&5
40821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40822 if eval "test \"\${$as_ac_var+set}\" = set"; then
40823 echo $ECHO_N "(cached) $ECHO_C" >&6
40824 else
40825 if test x$gcc_no_link = xyes; then
40826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40828 { (exit 1); exit 1; }; }
40830 cat >conftest.$ac_ext <<_ACEOF
40831 /* confdefs.h. */
40832 _ACEOF
40833 cat confdefs.h >>conftest.$ac_ext
40834 cat >>conftest.$ac_ext <<_ACEOF
40835 /* end confdefs.h. */
40836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40838 #define $ac_func innocuous_$ac_func
40840 /* System header to define __stub macros and hopefully few prototypes,
40841 which can conflict with char $ac_func (); below.
40842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40843 <limits.h> exists even on freestanding compilers. */
40845 #ifdef __STDC__
40846 # include <limits.h>
40847 #else
40848 # include <assert.h>
40849 #endif
40851 #undef $ac_func
40853 /* Override any gcc2 internal prototype to avoid an error. */
40854 #ifdef __cplusplus
40855 extern "C"
40857 #endif
40858 /* We use char because int might match the return type of a gcc2
40859 builtin and then its argument prototype would still apply. */
40860 char $ac_func ();
40861 /* The GNU C library defines this for functions which it implements
40862 to always fail with ENOSYS. Some functions are actually named
40863 something starting with __ and the normal name is an alias. */
40864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40865 choke me
40866 #else
40867 char (*f) () = $ac_func;
40868 #endif
40869 #ifdef __cplusplus
40871 #endif
40874 main ()
40876 return f != $ac_func;
40878 return 0;
40880 _ACEOF
40881 rm -f conftest.$ac_objext conftest$ac_exeext
40882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40883 (eval $ac_link) 2>conftest.er1
40884 ac_status=$?
40885 grep -v '^ *+' conftest.er1 >conftest.err
40886 rm -f conftest.er1
40887 cat conftest.err >&5
40888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40889 (exit $ac_status); } &&
40890 { ac_try='test -z "$ac_c_werror_flag"
40891 || test ! -s conftest.err'
40892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40893 (eval $ac_try) 2>&5
40894 ac_status=$?
40895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40896 (exit $ac_status); }; } &&
40897 { ac_try='test -s conftest$ac_exeext'
40898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40899 (eval $ac_try) 2>&5
40900 ac_status=$?
40901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40902 (exit $ac_status); }; }; then
40903 eval "$as_ac_var=yes"
40904 else
40905 echo "$as_me: failed program was:" >&5
40906 sed 's/^/| /' conftest.$ac_ext >&5
40908 eval "$as_ac_var=no"
40910 rm -f conftest.err conftest.$ac_objext \
40911 conftest$ac_exeext conftest.$ac_ext
40913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40915 if test `eval echo '${'$as_ac_var'}'` = yes; then
40916 cat >>confdefs.h <<_ACEOF
40917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40918 _ACEOF
40920 else
40921 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
40923 done
40927 for ac_func in __signbit
40929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40930 echo "$as_me:$LINENO: checking for $ac_func" >&5
40931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40932 if eval "test \"\${$as_ac_var+set}\" = set"; then
40933 echo $ECHO_N "(cached) $ECHO_C" >&6
40934 else
40935 if test x$gcc_no_link = xyes; then
40936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40938 { (exit 1); exit 1; }; }
40940 cat >conftest.$ac_ext <<_ACEOF
40941 /* confdefs.h. */
40942 _ACEOF
40943 cat confdefs.h >>conftest.$ac_ext
40944 cat >>conftest.$ac_ext <<_ACEOF
40945 /* end confdefs.h. */
40946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40948 #define $ac_func innocuous_$ac_func
40950 /* System header to define __stub macros and hopefully few prototypes,
40951 which can conflict with char $ac_func (); below.
40952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40953 <limits.h> exists even on freestanding compilers. */
40955 #ifdef __STDC__
40956 # include <limits.h>
40957 #else
40958 # include <assert.h>
40959 #endif
40961 #undef $ac_func
40963 /* Override any gcc2 internal prototype to avoid an error. */
40964 #ifdef __cplusplus
40965 extern "C"
40967 #endif
40968 /* We use char because int might match the return type of a gcc2
40969 builtin and then its argument prototype would still apply. */
40970 char $ac_func ();
40971 /* The GNU C library defines this for functions which it implements
40972 to always fail with ENOSYS. Some functions are actually named
40973 something starting with __ and the normal name is an alias. */
40974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40975 choke me
40976 #else
40977 char (*f) () = $ac_func;
40978 #endif
40979 #ifdef __cplusplus
40981 #endif
40984 main ()
40986 return f != $ac_func;
40988 return 0;
40990 _ACEOF
40991 rm -f conftest.$ac_objext conftest$ac_exeext
40992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40993 (eval $ac_link) 2>conftest.er1
40994 ac_status=$?
40995 grep -v '^ *+' conftest.er1 >conftest.err
40996 rm -f conftest.er1
40997 cat conftest.err >&5
40998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40999 (exit $ac_status); } &&
41000 { ac_try='test -z "$ac_c_werror_flag"
41001 || test ! -s conftest.err'
41002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41003 (eval $ac_try) 2>&5
41004 ac_status=$?
41005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41006 (exit $ac_status); }; } &&
41007 { ac_try='test -s conftest$ac_exeext'
41008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41009 (eval $ac_try) 2>&5
41010 ac_status=$?
41011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41012 (exit $ac_status); }; }; then
41013 eval "$as_ac_var=yes"
41014 else
41015 echo "$as_me: failed program was:" >&5
41016 sed 's/^/| /' conftest.$ac_ext >&5
41018 eval "$as_ac_var=no"
41020 rm -f conftest.err conftest.$ac_objext \
41021 conftest$ac_exeext conftest.$ac_ext
41023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41025 if test `eval echo '${'$as_ac_var'}'` = yes; then
41026 cat >>confdefs.h <<_ACEOF
41027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41028 _ACEOF
41030 else
41031 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
41033 done
41037 for ac_func in __signbitf
41039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41040 echo "$as_me:$LINENO: checking for $ac_func" >&5
41041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41042 if eval "test \"\${$as_ac_var+set}\" = set"; then
41043 echo $ECHO_N "(cached) $ECHO_C" >&6
41044 else
41045 if test x$gcc_no_link = xyes; then
41046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41048 { (exit 1); exit 1; }; }
41050 cat >conftest.$ac_ext <<_ACEOF
41051 /* confdefs.h. */
41052 _ACEOF
41053 cat confdefs.h >>conftest.$ac_ext
41054 cat >>conftest.$ac_ext <<_ACEOF
41055 /* end confdefs.h. */
41056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41058 #define $ac_func innocuous_$ac_func
41060 /* System header to define __stub macros and hopefully few prototypes,
41061 which can conflict with char $ac_func (); below.
41062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41063 <limits.h> exists even on freestanding compilers. */
41065 #ifdef __STDC__
41066 # include <limits.h>
41067 #else
41068 # include <assert.h>
41069 #endif
41071 #undef $ac_func
41073 /* Override any gcc2 internal prototype to avoid an error. */
41074 #ifdef __cplusplus
41075 extern "C"
41077 #endif
41078 /* We use char because int might match the return type of a gcc2
41079 builtin and then its argument prototype would still apply. */
41080 char $ac_func ();
41081 /* The GNU C library defines this for functions which it implements
41082 to always fail with ENOSYS. Some functions are actually named
41083 something starting with __ and the normal name is an alias. */
41084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41085 choke me
41086 #else
41087 char (*f) () = $ac_func;
41088 #endif
41089 #ifdef __cplusplus
41091 #endif
41094 main ()
41096 return f != $ac_func;
41098 return 0;
41100 _ACEOF
41101 rm -f conftest.$ac_objext conftest$ac_exeext
41102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41103 (eval $ac_link) 2>conftest.er1
41104 ac_status=$?
41105 grep -v '^ *+' conftest.er1 >conftest.err
41106 rm -f conftest.er1
41107 cat conftest.err >&5
41108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41109 (exit $ac_status); } &&
41110 { ac_try='test -z "$ac_c_werror_flag"
41111 || test ! -s conftest.err'
41112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41113 (eval $ac_try) 2>&5
41114 ac_status=$?
41115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41116 (exit $ac_status); }; } &&
41117 { ac_try='test -s conftest$ac_exeext'
41118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41119 (eval $ac_try) 2>&5
41120 ac_status=$?
41121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41122 (exit $ac_status); }; }; then
41123 eval "$as_ac_var=yes"
41124 else
41125 echo "$as_me: failed program was:" >&5
41126 sed 's/^/| /' conftest.$ac_ext >&5
41128 eval "$as_ac_var=no"
41130 rm -f conftest.err conftest.$ac_objext \
41131 conftest$ac_exeext conftest.$ac_ext
41133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41135 if test `eval echo '${'$as_ac_var'}'` = yes; then
41136 cat >>confdefs.h <<_ACEOF
41137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41138 _ACEOF
41140 else
41141 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
41143 done
41146 if test x$ac_cv_func_copysignl = x"yes"; then
41148 for ac_func in __signbitl
41150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41151 echo "$as_me:$LINENO: checking for $ac_func" >&5
41152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41153 if eval "test \"\${$as_ac_var+set}\" = set"; then
41154 echo $ECHO_N "(cached) $ECHO_C" >&6
41155 else
41156 if test x$gcc_no_link = xyes; then
41157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41159 { (exit 1); exit 1; }; }
41161 cat >conftest.$ac_ext <<_ACEOF
41162 /* confdefs.h. */
41163 _ACEOF
41164 cat confdefs.h >>conftest.$ac_ext
41165 cat >>conftest.$ac_ext <<_ACEOF
41166 /* end confdefs.h. */
41167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41169 #define $ac_func innocuous_$ac_func
41171 /* System header to define __stub macros and hopefully few prototypes,
41172 which can conflict with char $ac_func (); below.
41173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41174 <limits.h> exists even on freestanding compilers. */
41176 #ifdef __STDC__
41177 # include <limits.h>
41178 #else
41179 # include <assert.h>
41180 #endif
41182 #undef $ac_func
41184 /* Override any gcc2 internal prototype to avoid an error. */
41185 #ifdef __cplusplus
41186 extern "C"
41188 #endif
41189 /* We use char because int might match the return type of a gcc2
41190 builtin and then its argument prototype would still apply. */
41191 char $ac_func ();
41192 /* The GNU C library defines this for functions which it implements
41193 to always fail with ENOSYS. Some functions are actually named
41194 something starting with __ and the normal name is an alias. */
41195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41196 choke me
41197 #else
41198 char (*f) () = $ac_func;
41199 #endif
41200 #ifdef __cplusplus
41202 #endif
41205 main ()
41207 return f != $ac_func;
41209 return 0;
41211 _ACEOF
41212 rm -f conftest.$ac_objext conftest$ac_exeext
41213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41214 (eval $ac_link) 2>conftest.er1
41215 ac_status=$?
41216 grep -v '^ *+' conftest.er1 >conftest.err
41217 rm -f conftest.er1
41218 cat conftest.err >&5
41219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41220 (exit $ac_status); } &&
41221 { ac_try='test -z "$ac_c_werror_flag"
41222 || test ! -s conftest.err'
41223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41224 (eval $ac_try) 2>&5
41225 ac_status=$?
41226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41227 (exit $ac_status); }; } &&
41228 { ac_try='test -s conftest$ac_exeext'
41229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41230 (eval $ac_try) 2>&5
41231 ac_status=$?
41232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41233 (exit $ac_status); }; }; then
41234 eval "$as_ac_var=yes"
41235 else
41236 echo "$as_me: failed program was:" >&5
41237 sed 's/^/| /' conftest.$ac_ext >&5
41239 eval "$as_ac_var=no"
41241 rm -f conftest.err conftest.$ac_objext \
41242 conftest$ac_exeext conftest.$ac_ext
41244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41246 if test `eval echo '${'$as_ac_var'}'` = yes; then
41247 cat >>confdefs.h <<_ACEOF
41248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41249 _ACEOF
41251 else
41252 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
41254 done
41258 # Used in libmath/Makefile.am.
41259 if test -n "$LIBMATHOBJS"; then
41260 need_libmath=yes
41265 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41266 ac_save_CXXFLAGS="$CXXFLAGS"
41267 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41270 echo "$as_me:$LINENO: checking for strtold declaration" >&5
41271 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
41272 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41273 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
41274 echo $ECHO_N "(cached) $ECHO_C" >&6
41275 else
41279 ac_ext=cc
41280 ac_cpp='$CXXCPP $CPPFLAGS'
41281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41285 cat >conftest.$ac_ext <<_ACEOF
41286 /* confdefs.h. */
41287 _ACEOF
41288 cat confdefs.h >>conftest.$ac_ext
41289 cat >>conftest.$ac_ext <<_ACEOF
41290 /* end confdefs.h. */
41291 #include <stdlib.h>
41293 main ()
41295 strtold(0, 0);
41297 return 0;
41299 _ACEOF
41300 rm -f conftest.$ac_objext
41301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41302 (eval $ac_compile) 2>conftest.er1
41303 ac_status=$?
41304 grep -v '^ *+' conftest.er1 >conftest.err
41305 rm -f conftest.er1
41306 cat conftest.err >&5
41307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41308 (exit $ac_status); } &&
41309 { ac_try='test -z "$ac_cxx_werror_flag"
41310 || test ! -s conftest.err'
41311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41312 (eval $ac_try) 2>&5
41313 ac_status=$?
41314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41315 (exit $ac_status); }; } &&
41316 { ac_try='test -s conftest.$ac_objext'
41317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41318 (eval $ac_try) 2>&5
41319 ac_status=$?
41320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41321 (exit $ac_status); }; }; then
41322 glibcxx_cv_func_strtold_use=yes
41323 else
41324 echo "$as_me: failed program was:" >&5
41325 sed 's/^/| /' conftest.$ac_ext >&5
41327 glibcxx_cv_func_strtold_use=no
41329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41330 ac_ext=c
41331 ac_cpp='$CPP $CPPFLAGS'
41332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41340 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
41341 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
41342 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41344 for ac_func in strtold
41346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41347 echo "$as_me:$LINENO: checking for $ac_func" >&5
41348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41349 if eval "test \"\${$as_ac_var+set}\" = set"; then
41350 echo $ECHO_N "(cached) $ECHO_C" >&6
41351 else
41352 if test x$gcc_no_link = xyes; then
41353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41355 { (exit 1); exit 1; }; }
41357 cat >conftest.$ac_ext <<_ACEOF
41358 /* confdefs.h. */
41359 _ACEOF
41360 cat confdefs.h >>conftest.$ac_ext
41361 cat >>conftest.$ac_ext <<_ACEOF
41362 /* end confdefs.h. */
41363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41365 #define $ac_func innocuous_$ac_func
41367 /* System header to define __stub macros and hopefully few prototypes,
41368 which can conflict with char $ac_func (); below.
41369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41370 <limits.h> exists even on freestanding compilers. */
41372 #ifdef __STDC__
41373 # include <limits.h>
41374 #else
41375 # include <assert.h>
41376 #endif
41378 #undef $ac_func
41380 /* Override any gcc2 internal prototype to avoid an error. */
41381 #ifdef __cplusplus
41382 extern "C"
41384 #endif
41385 /* We use char because int might match the return type of a gcc2
41386 builtin and then its argument prototype would still apply. */
41387 char $ac_func ();
41388 /* The GNU C library defines this for functions which it implements
41389 to always fail with ENOSYS. Some functions are actually named
41390 something starting with __ and the normal name is an alias. */
41391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41392 choke me
41393 #else
41394 char (*f) () = $ac_func;
41395 #endif
41396 #ifdef __cplusplus
41398 #endif
41401 main ()
41403 return f != $ac_func;
41405 return 0;
41407 _ACEOF
41408 rm -f conftest.$ac_objext conftest$ac_exeext
41409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41410 (eval $ac_link) 2>conftest.er1
41411 ac_status=$?
41412 grep -v '^ *+' conftest.er1 >conftest.err
41413 rm -f conftest.er1
41414 cat conftest.err >&5
41415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41416 (exit $ac_status); } &&
41417 { ac_try='test -z "$ac_c_werror_flag"
41418 || test ! -s conftest.err'
41419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41420 (eval $ac_try) 2>&5
41421 ac_status=$?
41422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41423 (exit $ac_status); }; } &&
41424 { ac_try='test -s conftest$ac_exeext'
41425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41426 (eval $ac_try) 2>&5
41427 ac_status=$?
41428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41429 (exit $ac_status); }; }; then
41430 eval "$as_ac_var=yes"
41431 else
41432 echo "$as_me: failed program was:" >&5
41433 sed 's/^/| /' conftest.$ac_ext >&5
41435 eval "$as_ac_var=no"
41437 rm -f conftest.err conftest.$ac_objext \
41438 conftest$ac_exeext conftest.$ac_ext
41440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41442 if test `eval echo '${'$as_ac_var'}'` = yes; then
41443 cat >>confdefs.h <<_ACEOF
41444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41445 _ACEOF
41448 done
41456 echo "$as_me:$LINENO: checking for strtof declaration" >&5
41457 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
41458 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41459 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
41460 echo $ECHO_N "(cached) $ECHO_C" >&6
41461 else
41465 ac_ext=cc
41466 ac_cpp='$CXXCPP $CPPFLAGS'
41467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41471 cat >conftest.$ac_ext <<_ACEOF
41472 /* confdefs.h. */
41473 _ACEOF
41474 cat confdefs.h >>conftest.$ac_ext
41475 cat >>conftest.$ac_ext <<_ACEOF
41476 /* end confdefs.h. */
41477 #include <stdlib.h>
41479 main ()
41481 strtof(0, 0);
41483 return 0;
41485 _ACEOF
41486 rm -f conftest.$ac_objext
41487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41488 (eval $ac_compile) 2>conftest.er1
41489 ac_status=$?
41490 grep -v '^ *+' conftest.er1 >conftest.err
41491 rm -f conftest.er1
41492 cat conftest.err >&5
41493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41494 (exit $ac_status); } &&
41495 { ac_try='test -z "$ac_cxx_werror_flag"
41496 || test ! -s conftest.err'
41497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41498 (eval $ac_try) 2>&5
41499 ac_status=$?
41500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41501 (exit $ac_status); }; } &&
41502 { ac_try='test -s conftest.$ac_objext'
41503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41504 (eval $ac_try) 2>&5
41505 ac_status=$?
41506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41507 (exit $ac_status); }; }; then
41508 glibcxx_cv_func_strtof_use=yes
41509 else
41510 echo "$as_me: failed program was:" >&5
41511 sed 's/^/| /' conftest.$ac_ext >&5
41513 glibcxx_cv_func_strtof_use=no
41515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41516 ac_ext=c
41517 ac_cpp='$CPP $CPPFLAGS'
41518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41526 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
41527 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
41528 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41530 for ac_func in strtof
41532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41533 echo "$as_me:$LINENO: checking for $ac_func" >&5
41534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41535 if eval "test \"\${$as_ac_var+set}\" = set"; then
41536 echo $ECHO_N "(cached) $ECHO_C" >&6
41537 else
41538 if test x$gcc_no_link = xyes; then
41539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41541 { (exit 1); exit 1; }; }
41543 cat >conftest.$ac_ext <<_ACEOF
41544 /* confdefs.h. */
41545 _ACEOF
41546 cat confdefs.h >>conftest.$ac_ext
41547 cat >>conftest.$ac_ext <<_ACEOF
41548 /* end confdefs.h. */
41549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41551 #define $ac_func innocuous_$ac_func
41553 /* System header to define __stub macros and hopefully few prototypes,
41554 which can conflict with char $ac_func (); below.
41555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41556 <limits.h> exists even on freestanding compilers. */
41558 #ifdef __STDC__
41559 # include <limits.h>
41560 #else
41561 # include <assert.h>
41562 #endif
41564 #undef $ac_func
41566 /* Override any gcc2 internal prototype to avoid an error. */
41567 #ifdef __cplusplus
41568 extern "C"
41570 #endif
41571 /* We use char because int might match the return type of a gcc2
41572 builtin and then its argument prototype would still apply. */
41573 char $ac_func ();
41574 /* The GNU C library defines this for functions which it implements
41575 to always fail with ENOSYS. Some functions are actually named
41576 something starting with __ and the normal name is an alias. */
41577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41578 choke me
41579 #else
41580 char (*f) () = $ac_func;
41581 #endif
41582 #ifdef __cplusplus
41584 #endif
41587 main ()
41589 return f != $ac_func;
41591 return 0;
41593 _ACEOF
41594 rm -f conftest.$ac_objext conftest$ac_exeext
41595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41596 (eval $ac_link) 2>conftest.er1
41597 ac_status=$?
41598 grep -v '^ *+' conftest.er1 >conftest.err
41599 rm -f conftest.er1
41600 cat conftest.err >&5
41601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41602 (exit $ac_status); } &&
41603 { ac_try='test -z "$ac_c_werror_flag"
41604 || test ! -s conftest.err'
41605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41606 (eval $ac_try) 2>&5
41607 ac_status=$?
41608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41609 (exit $ac_status); }; } &&
41610 { ac_try='test -s conftest$ac_exeext'
41611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41612 (eval $ac_try) 2>&5
41613 ac_status=$?
41614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41615 (exit $ac_status); }; }; then
41616 eval "$as_ac_var=yes"
41617 else
41618 echo "$as_me: failed program was:" >&5
41619 sed 's/^/| /' conftest.$ac_ext >&5
41621 eval "$as_ac_var=no"
41623 rm -f conftest.err conftest.$ac_objext \
41624 conftest$ac_exeext conftest.$ac_ext
41626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41628 if test `eval echo '${'$as_ac_var'}'` = yes; then
41629 cat >>confdefs.h <<_ACEOF
41630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41631 _ACEOF
41634 done
41642 CXXFLAGS="$ac_save_CXXFLAGS"
41645 # For /dev/random and /dev/urandom for TR1.
41648 echo "$as_me:$LINENO: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
41649 echo $ECHO_N "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... $ECHO_C" >&6
41650 if test "${glibcxx_cv_random_tr1+set}" = set; then
41651 echo $ECHO_N "(cached) $ECHO_C" >&6
41652 else
41654 if test -r /dev/random && test -r /dev/urandom; then
41655 glibcxx_cv_random_tr1=yes;
41656 else
41657 glibcxx_cv_random_tr1=no;
41662 echo "$as_me:$LINENO: result: $glibcxx_cv_random_tr1" >&5
41663 echo "${ECHO_T}$glibcxx_cv_random_tr1" >&6
41665 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
41667 cat >>confdefs.h <<\_ACEOF
41668 #define _GLIBCXX_USE_RANDOM_TR1 1
41669 _ACEOF
41675 # For TLS support.
41677 # Check whether --enable-tls or --disable-tls was given.
41678 if test "${enable_tls+set}" = set; then
41679 enableval="$enable_tls"
41681 case "$enableval" in
41682 yes|no) ;;
41683 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
41684 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
41685 { (exit 1); exit 1; }; } ;;
41686 esac
41688 else
41689 enable_tls=yes
41692 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
41693 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
41694 if test "${gcc_cv_have_tls+set}" = set; then
41695 echo $ECHO_N "(cached) $ECHO_C" >&6
41696 else
41698 if test "$cross_compiling" = yes; then
41699 if test x$gcc_no_link = xyes; then
41700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41702 { (exit 1); exit 1; }; }
41704 cat >conftest.$ac_ext <<_ACEOF
41705 __thread int a; int b; int main() { return a = b; }
41706 _ACEOF
41707 rm -f conftest.$ac_objext conftest$ac_exeext
41708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41709 (eval $ac_link) 2>conftest.er1
41710 ac_status=$?
41711 grep -v '^ *+' conftest.er1 >conftest.err
41712 rm -f conftest.er1
41713 cat conftest.err >&5
41714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41715 (exit $ac_status); } &&
41716 { ac_try='test -z "$ac_c_werror_flag"
41717 || test ! -s conftest.err'
41718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41719 (eval $ac_try) 2>&5
41720 ac_status=$?
41721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41722 (exit $ac_status); }; } &&
41723 { ac_try='test -s conftest$ac_exeext'
41724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41725 (eval $ac_try) 2>&5
41726 ac_status=$?
41727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41728 (exit $ac_status); }; }; then
41729 gcc_cv_have_tls=yes
41730 else
41731 echo "$as_me: failed program was:" >&5
41732 sed 's/^/| /' conftest.$ac_ext >&5
41734 gcc_cv_have_tls=no
41736 rm -f conftest.err conftest.$ac_objext \
41737 conftest$ac_exeext conftest.$ac_ext
41740 else
41741 cat >conftest.$ac_ext <<_ACEOF
41742 __thread int a; int b; int main() { return a = b; }
41743 _ACEOF
41744 rm -f conftest$ac_exeext
41745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41746 (eval $ac_link) 2>&5
41747 ac_status=$?
41748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41749 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41751 (eval $ac_try) 2>&5
41752 ac_status=$?
41753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41754 (exit $ac_status); }; }; then
41755 chktls_save_LDFLAGS="$LDFLAGS"
41756 LDFLAGS="-static $LDFLAGS"
41757 if test x$gcc_no_link = xyes; then
41758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41760 { (exit 1); exit 1; }; }
41762 cat >conftest.$ac_ext <<_ACEOF
41763 int main() { return 0; }
41764 _ACEOF
41765 rm -f conftest.$ac_objext conftest$ac_exeext
41766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41767 (eval $ac_link) 2>conftest.er1
41768 ac_status=$?
41769 grep -v '^ *+' conftest.er1 >conftest.err
41770 rm -f conftest.er1
41771 cat conftest.err >&5
41772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41773 (exit $ac_status); } &&
41774 { ac_try='test -z "$ac_c_werror_flag"
41775 || test ! -s conftest.err'
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); }; } &&
41781 { ac_try='test -s conftest$ac_exeext'
41782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41783 (eval $ac_try) 2>&5
41784 ac_status=$?
41785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41786 (exit $ac_status); }; }; then
41787 if test "$cross_compiling" = yes; then
41788 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
41789 echo "$as_me: error: in \`$ac_pwd':" >&2;}
41790 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41791 See \`config.log' for more details." >&5
41792 echo "$as_me: error: cannot run test program while cross compiling
41793 See \`config.log' for more details." >&2;}
41794 { (exit 1); exit 1; }; }; }
41795 else
41796 cat >conftest.$ac_ext <<_ACEOF
41797 __thread int a; int b; int main() { return a = b; }
41798 _ACEOF
41799 rm -f conftest$ac_exeext
41800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41801 (eval $ac_link) 2>&5
41802 ac_status=$?
41803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41806 (eval $ac_try) 2>&5
41807 ac_status=$?
41808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41809 (exit $ac_status); }; }; then
41810 gcc_cv_have_tls=yes
41811 else
41812 echo "$as_me: program exited with status $ac_status" >&5
41813 echo "$as_me: failed program was:" >&5
41814 sed 's/^/| /' conftest.$ac_ext >&5
41816 ( exit $ac_status )
41817 gcc_cv_have_tls=no
41819 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41821 else
41822 echo "$as_me: failed program was:" >&5
41823 sed 's/^/| /' conftest.$ac_ext >&5
41825 gcc_cv_have_tls=yes
41827 rm -f conftest.err conftest.$ac_objext \
41828 conftest$ac_exeext conftest.$ac_ext
41829 LDFLAGS="$chktls_save_LDFLAGS"
41830 if test $gcc_cv_have_tls = yes; then
41831 chktls_save_CFLAGS="$CFLAGS"
41832 thread_CFLAGS=failed
41833 for flag in '' '-pthread' '-lpthread'; do
41834 CFLAGS="$flag $chktls_save_CFLAGS"
41835 if test x$gcc_no_link = xyes; then
41836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41838 { (exit 1); exit 1; }; }
41840 cat >conftest.$ac_ext <<_ACEOF
41841 /* confdefs.h. */
41842 _ACEOF
41843 cat confdefs.h >>conftest.$ac_ext
41844 cat >>conftest.$ac_ext <<_ACEOF
41845 /* end confdefs.h. */
41846 #include <pthread.h>
41847 void *g(void *d) { return NULL; }
41849 main ()
41851 pthread_t t; pthread_create(&t,NULL,g,NULL);
41853 return 0;
41855 _ACEOF
41856 rm -f conftest.$ac_objext conftest$ac_exeext
41857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41858 (eval $ac_link) 2>conftest.er1
41859 ac_status=$?
41860 grep -v '^ *+' conftest.er1 >conftest.err
41861 rm -f conftest.er1
41862 cat conftest.err >&5
41863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41864 (exit $ac_status); } &&
41865 { ac_try='test -z "$ac_c_werror_flag"
41866 || test ! -s conftest.err'
41867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41868 (eval $ac_try) 2>&5
41869 ac_status=$?
41870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41871 (exit $ac_status); }; } &&
41872 { ac_try='test -s conftest$ac_exeext'
41873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41874 (eval $ac_try) 2>&5
41875 ac_status=$?
41876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41877 (exit $ac_status); }; }; then
41878 thread_CFLAGS="$flag"
41879 else
41880 echo "$as_me: failed program was:" >&5
41881 sed 's/^/| /' conftest.$ac_ext >&5
41884 rm -f conftest.err conftest.$ac_objext \
41885 conftest$ac_exeext conftest.$ac_ext
41886 if test "X$thread_CFLAGS" != Xfailed; then
41887 break
41889 done
41890 CFLAGS="$chktls_save_CFLAGS"
41891 if test "X$thread_CFLAGS" != Xfailed; then
41892 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
41893 if test "$cross_compiling" = yes; then
41894 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
41895 echo "$as_me: error: in \`$ac_pwd':" >&2;}
41896 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41897 See \`config.log' for more details." >&5
41898 echo "$as_me: error: cannot run test program while cross compiling
41899 See \`config.log' for more details." >&2;}
41900 { (exit 1); exit 1; }; }; }
41901 else
41902 cat >conftest.$ac_ext <<_ACEOF
41903 /* confdefs.h. */
41904 _ACEOF
41905 cat confdefs.h >>conftest.$ac_ext
41906 cat >>conftest.$ac_ext <<_ACEOF
41907 /* end confdefs.h. */
41908 #include <pthread.h>
41909 __thread int a;
41910 static int *a_in_other_thread;
41911 static void *
41912 thread_func (void *arg)
41914 a_in_other_thread = &a;
41915 return (void *)0;
41918 main ()
41920 pthread_t thread;
41921 void *thread_retval;
41922 int *a_in_main_thread;
41923 if (pthread_create (&thread, (pthread_attr_t *)0,
41924 thread_func, (void *)0))
41925 return 0;
41926 a_in_main_thread = &a;
41927 if (pthread_join (thread, &thread_retval))
41928 return 0;
41929 return (a_in_other_thread == a_in_main_thread);
41931 return 0;
41933 _ACEOF
41934 rm -f conftest$ac_exeext
41935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41936 (eval $ac_link) 2>&5
41937 ac_status=$?
41938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41939 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41941 (eval $ac_try) 2>&5
41942 ac_status=$?
41943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41944 (exit $ac_status); }; }; then
41945 gcc_cv_have_tls=yes
41946 else
41947 echo "$as_me: program exited with status $ac_status" >&5
41948 echo "$as_me: failed program was:" >&5
41949 sed 's/^/| /' conftest.$ac_ext >&5
41951 ( exit $ac_status )
41952 gcc_cv_have_tls=no
41954 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41956 CFLAGS="$chktls_save_CFLAGS"
41959 else
41960 echo "$as_me: program exited with status $ac_status" >&5
41961 echo "$as_me: failed program was:" >&5
41962 sed 's/^/| /' conftest.$ac_ext >&5
41964 ( exit $ac_status )
41965 gcc_cv_have_tls=no
41967 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41970 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
41971 echo "${ECHO_T}$gcc_cv_have_tls" >&6
41972 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
41974 cat >>confdefs.h <<\_ACEOF
41975 #define HAVE_TLS 1
41976 _ACEOF
41980 # For iconv support.
41982 if test "X$prefix" = "XNONE"; then
41983 acl_final_prefix="$ac_default_prefix"
41984 else
41985 acl_final_prefix="$prefix"
41987 if test "X$exec_prefix" = "XNONE"; then
41988 acl_final_exec_prefix='${prefix}'
41989 else
41990 acl_final_exec_prefix="$exec_prefix"
41992 acl_save_prefix="$prefix"
41993 prefix="$acl_final_prefix"
41994 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
41995 prefix="$acl_save_prefix"
41998 # Check whether --with-gnu-ld or --without-gnu-ld was given.
41999 if test "${with_gnu_ld+set}" = set; then
42000 withval="$with_gnu_ld"
42001 test "$withval" = no || with_gnu_ld=yes
42002 else
42003 with_gnu_ld=no
42005 # Prepare PATH_SEPARATOR.
42006 # The user is always right.
42007 if test "${PATH_SEPARATOR+set}" != set; then
42008 echo "#! /bin/sh" >conf$$.sh
42009 echo "exit 0" >>conf$$.sh
42010 chmod +x conf$$.sh
42011 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42012 PATH_SEPARATOR=';'
42013 else
42014 PATH_SEPARATOR=:
42016 rm -f conf$$.sh
42018 ac_prog=ld
42019 if test "$GCC" = yes; then
42020 # Check if gcc -print-prog-name=ld gives a path.
42021 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
42022 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
42023 case $host in
42024 *-*-mingw*)
42025 # gcc leaves a trailing carriage return which upsets mingw
42026 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
42028 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
42029 esac
42030 case $ac_prog in
42031 # Accept absolute paths.
42032 [\\/]* | [A-Za-z]:[\\/]*)
42033 re_direlt='/[^/][^/]*/\.\./'
42034 # Canonicalize the path of ld
42035 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
42036 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
42037 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
42038 done
42039 test -z "$LD" && LD="$ac_prog"
42042 # If it fails, then pretend we aren't using GCC.
42043 ac_prog=ld
42046 # If it is relative, then search for the first ld in PATH.
42047 with_gnu_ld=unknown
42049 esac
42050 elif test "$with_gnu_ld" = yes; then
42051 echo "$as_me:$LINENO: checking for GNU ld" >&5
42052 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
42053 else
42054 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
42055 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
42057 if test "${acl_cv_path_LD+set}" = set; then
42058 echo $ECHO_N "(cached) $ECHO_C" >&6
42059 else
42060 if test -z "$LD"; then
42061 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
42062 for ac_dir in $PATH; do
42063 test -z "$ac_dir" && ac_dir=.
42064 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
42065 acl_cv_path_LD="$ac_dir/$ac_prog"
42066 # Check to see if the program is GNU ld. I'd rather use --version,
42067 # but apparently some GNU ld's only accept -v.
42068 # Break only if it was the GNU/non-GNU ld that we prefer.
42069 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
42070 test "$with_gnu_ld" != no && break
42071 else
42072 test "$with_gnu_ld" != yes && break
42075 done
42076 IFS="$ac_save_ifs"
42077 else
42078 acl_cv_path_LD="$LD" # Let the user override the test with a path.
42082 LD="$acl_cv_path_LD"
42083 if test -n "$LD"; then
42084 echo "$as_me:$LINENO: result: $LD" >&5
42085 echo "${ECHO_T}$LD" >&6
42086 else
42087 echo "$as_me:$LINENO: result: no" >&5
42088 echo "${ECHO_T}no" >&6
42090 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
42091 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
42092 { (exit 1); exit 1; }; }
42093 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
42094 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
42095 if test "${acl_cv_prog_gnu_ld+set}" = set; then
42096 echo $ECHO_N "(cached) $ECHO_C" >&6
42097 else
42098 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
42099 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
42100 acl_cv_prog_gnu_ld=yes
42101 else
42102 acl_cv_prog_gnu_ld=no
42105 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
42106 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
42107 with_gnu_ld=$acl_cv_prog_gnu_ld
42111 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
42112 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
42113 if test "${acl_cv_rpath+set}" = set; then
42114 echo $ECHO_N "(cached) $ECHO_C" >&6
42115 else
42117 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
42118 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
42119 . ./conftest.sh
42120 rm -f ./conftest.sh
42121 acl_cv_rpath=done
42124 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
42125 echo "${ECHO_T}$acl_cv_rpath" >&6
42126 wl="$acl_cv_wl"
42127 libext="$acl_cv_libext"
42128 shlibext="$acl_cv_shlibext"
42129 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
42130 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
42131 hardcode_direct="$acl_cv_hardcode_direct"
42132 hardcode_minus_L="$acl_cv_hardcode_minus_L"
42133 # Check whether --enable-rpath or --disable-rpath was given.
42134 if test "${enable_rpath+set}" = set; then
42135 enableval="$enable_rpath"
42137 else
42138 enable_rpath=yes
42147 use_additional=yes
42149 acl_save_prefix="$prefix"
42150 prefix="$acl_final_prefix"
42151 acl_save_exec_prefix="$exec_prefix"
42152 exec_prefix="$acl_final_exec_prefix"
42154 eval additional_includedir=\"$includedir\"
42155 eval additional_libdir=\"$libdir\"
42157 exec_prefix="$acl_save_exec_prefix"
42158 prefix="$acl_save_prefix"
42161 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
42162 if test "${with_libiconv_prefix+set}" = set; then
42163 withval="$with_libiconv_prefix"
42165 if test "X$withval" = "Xno"; then
42166 use_additional=no
42167 else
42168 if test "X$withval" = "X"; then
42170 acl_save_prefix="$prefix"
42171 prefix="$acl_final_prefix"
42172 acl_save_exec_prefix="$exec_prefix"
42173 exec_prefix="$acl_final_exec_prefix"
42175 eval additional_includedir=\"$includedir\"
42176 eval additional_libdir=\"$libdir\"
42178 exec_prefix="$acl_save_exec_prefix"
42179 prefix="$acl_save_prefix"
42181 else
42182 additional_includedir="$withval/include"
42183 additional_libdir="$withval/lib"
42188 LIBICONV=
42189 LTLIBICONV=
42190 INCICONV=
42191 rpathdirs=
42192 ltrpathdirs=
42193 names_already_handled=
42194 names_next_round='iconv '
42195 while test -n "$names_next_round"; do
42196 names_this_round="$names_next_round"
42197 names_next_round=
42198 for name in $names_this_round; do
42199 already_handled=
42200 for n in $names_already_handled; do
42201 if test "$n" = "$name"; then
42202 already_handled=yes
42203 break
42205 done
42206 if test -z "$already_handled"; then
42207 names_already_handled="$names_already_handled $name"
42208 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
42209 eval value=\"\$HAVE_LIB$uppername\"
42210 if test -n "$value"; then
42211 if test "$value" = yes; then
42212 eval value=\"\$LIB$uppername\"
42213 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
42214 eval value=\"\$LTLIB$uppername\"
42215 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
42216 else
42219 else
42220 found_dir=
42221 found_la=
42222 found_so=
42223 found_a=
42224 if test $use_additional = yes; then
42225 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
42226 found_dir="$additional_libdir"
42227 found_so="$additional_libdir/lib$name.$shlibext"
42228 if test -f "$additional_libdir/lib$name.la"; then
42229 found_la="$additional_libdir/lib$name.la"
42231 else
42232 if test -f "$additional_libdir/lib$name.$libext"; then
42233 found_dir="$additional_libdir"
42234 found_a="$additional_libdir/lib$name.$libext"
42235 if test -f "$additional_libdir/lib$name.la"; then
42236 found_la="$additional_libdir/lib$name.la"
42241 if test "X$found_dir" = "X"; then
42242 for x in $LDFLAGS $LTLIBICONV; do
42244 acl_save_prefix="$prefix"
42245 prefix="$acl_final_prefix"
42246 acl_save_exec_prefix="$exec_prefix"
42247 exec_prefix="$acl_final_exec_prefix"
42248 eval x=\"$x\"
42249 exec_prefix="$acl_save_exec_prefix"
42250 prefix="$acl_save_prefix"
42252 case "$x" in
42253 -L*)
42254 dir=`echo "X$x" | sed -e 's/^X-L//'`
42255 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
42256 found_dir="$dir"
42257 found_so="$dir/lib$name.$shlibext"
42258 if test -f "$dir/lib$name.la"; then
42259 found_la="$dir/lib$name.la"
42261 else
42262 if test -f "$dir/lib$name.$libext"; then
42263 found_dir="$dir"
42264 found_a="$dir/lib$name.$libext"
42265 if test -f "$dir/lib$name.la"; then
42266 found_la="$dir/lib$name.la"
42271 esac
42272 if test "X$found_dir" != "X"; then
42273 break
42275 done
42277 if test "X$found_dir" != "X"; then
42278 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
42279 if test "X$found_so" != "X"; then
42280 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
42281 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42282 else
42283 haveit=
42284 for x in $ltrpathdirs; do
42285 if test "X$x" = "X$found_dir"; then
42286 haveit=yes
42287 break
42289 done
42290 if test -z "$haveit"; then
42291 ltrpathdirs="$ltrpathdirs $found_dir"
42293 if test "$hardcode_direct" = yes; then
42294 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42295 else
42296 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
42297 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42298 haveit=
42299 for x in $rpathdirs; do
42300 if test "X$x" = "X$found_dir"; then
42301 haveit=yes
42302 break
42304 done
42305 if test -z "$haveit"; then
42306 rpathdirs="$rpathdirs $found_dir"
42308 else
42309 haveit=
42310 for x in $LDFLAGS $LIBICONV; do
42312 acl_save_prefix="$prefix"
42313 prefix="$acl_final_prefix"
42314 acl_save_exec_prefix="$exec_prefix"
42315 exec_prefix="$acl_final_exec_prefix"
42316 eval x=\"$x\"
42317 exec_prefix="$acl_save_exec_prefix"
42318 prefix="$acl_save_prefix"
42320 if test "X$x" = "X-L$found_dir"; then
42321 haveit=yes
42322 break
42324 done
42325 if test -z "$haveit"; then
42326 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
42328 if test "$hardcode_minus_L" != no; then
42329 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42330 else
42331 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42336 else
42337 if test "X$found_a" != "X"; then
42338 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42339 else
42340 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42343 additional_includedir=
42344 case "$found_dir" in
42345 */lib | */lib/)
42346 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42347 additional_includedir="$basedir/include"
42349 esac
42350 if test "X$additional_includedir" != "X"; then
42351 if test "X$additional_includedir" != "X/usr/include"; then
42352 haveit=
42353 if test "X$additional_includedir" = "X/usr/local/include"; then
42354 if test -n "$GCC"; then
42355 case $host_os in
42356 linux*) haveit=yes;;
42357 esac
42360 if test -z "$haveit"; then
42361 for x in $CPPFLAGS $INCICONV; do
42363 acl_save_prefix="$prefix"
42364 prefix="$acl_final_prefix"
42365 acl_save_exec_prefix="$exec_prefix"
42366 exec_prefix="$acl_final_exec_prefix"
42367 eval x=\"$x\"
42368 exec_prefix="$acl_save_exec_prefix"
42369 prefix="$acl_save_prefix"
42371 if test "X$x" = "X-I$additional_includedir"; then
42372 haveit=yes
42373 break
42375 done
42376 if test -z "$haveit"; then
42377 if test -d "$additional_includedir"; then
42378 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
42384 if test -n "$found_la"; then
42385 save_libdir="$libdir"
42386 case "$found_la" in
42387 */* | *\\*) . "$found_la" ;;
42388 *) . "./$found_la" ;;
42389 esac
42390 libdir="$save_libdir"
42391 for dep in $dependency_libs; do
42392 case "$dep" in
42393 -L*)
42394 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
42395 if test "X$additional_libdir" != "X/usr/lib"; then
42396 haveit=
42397 if test "X$additional_libdir" = "X/usr/local/lib"; then
42398 if test -n "$GCC"; then
42399 case $host_os in
42400 linux*) haveit=yes;;
42401 esac
42404 if test -z "$haveit"; then
42405 haveit=
42406 for x in $LDFLAGS $LIBICONV; do
42408 acl_save_prefix="$prefix"
42409 prefix="$acl_final_prefix"
42410 acl_save_exec_prefix="$exec_prefix"
42411 exec_prefix="$acl_final_exec_prefix"
42412 eval x=\"$x\"
42413 exec_prefix="$acl_save_exec_prefix"
42414 prefix="$acl_save_prefix"
42416 if test "X$x" = "X-L$additional_libdir"; then
42417 haveit=yes
42418 break
42420 done
42421 if test -z "$haveit"; then
42422 if test -d "$additional_libdir"; then
42423 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
42426 haveit=
42427 for x in $LDFLAGS $LTLIBICONV; do
42429 acl_save_prefix="$prefix"
42430 prefix="$acl_final_prefix"
42431 acl_save_exec_prefix="$exec_prefix"
42432 exec_prefix="$acl_final_exec_prefix"
42433 eval x=\"$x\"
42434 exec_prefix="$acl_save_exec_prefix"
42435 prefix="$acl_save_prefix"
42437 if test "X$x" = "X-L$additional_libdir"; then
42438 haveit=yes
42439 break
42441 done
42442 if test -z "$haveit"; then
42443 if test -d "$additional_libdir"; then
42444 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
42450 -R*)
42451 dir=`echo "X$dep" | sed -e 's/^X-R//'`
42452 if test "$enable_rpath" != no; then
42453 haveit=
42454 for x in $rpathdirs; do
42455 if test "X$x" = "X$dir"; then
42456 haveit=yes
42457 break
42459 done
42460 if test -z "$haveit"; then
42461 rpathdirs="$rpathdirs $dir"
42463 haveit=
42464 for x in $ltrpathdirs; do
42465 if test "X$x" = "X$dir"; then
42466 haveit=yes
42467 break
42469 done
42470 if test -z "$haveit"; then
42471 ltrpathdirs="$ltrpathdirs $dir"
42475 -l*)
42476 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
42478 *.la)
42479 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
42482 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
42483 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
42485 esac
42486 done
42488 else
42489 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42490 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
42494 done
42495 done
42496 if test "X$rpathdirs" != "X"; then
42497 if test -n "$hardcode_libdir_separator"; then
42498 alldirs=
42499 for found_dir in $rpathdirs; do
42500 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
42501 done
42502 acl_save_libdir="$libdir"
42503 libdir="$alldirs"
42504 eval flag=\"$hardcode_libdir_flag_spec\"
42505 libdir="$acl_save_libdir"
42506 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42507 else
42508 for found_dir in $rpathdirs; do
42509 acl_save_libdir="$libdir"
42510 libdir="$found_dir"
42511 eval flag=\"$hardcode_libdir_flag_spec\"
42512 libdir="$acl_save_libdir"
42513 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42514 done
42517 if test "X$ltrpathdirs" != "X"; then
42518 for found_dir in $ltrpathdirs; do
42519 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
42520 done
42529 am_save_CPPFLAGS="$CPPFLAGS"
42531 for element in $INCICONV; do
42532 haveit=
42533 for x in $CPPFLAGS; do
42535 acl_save_prefix="$prefix"
42536 prefix="$acl_final_prefix"
42537 acl_save_exec_prefix="$exec_prefix"
42538 exec_prefix="$acl_final_exec_prefix"
42539 eval x=\"$x\"
42540 exec_prefix="$acl_save_exec_prefix"
42541 prefix="$acl_save_prefix"
42543 if test "X$x" = "X$element"; then
42544 haveit=yes
42545 break
42547 done
42548 if test -z "$haveit"; then
42549 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
42551 done
42554 echo "$as_me:$LINENO: checking for iconv" >&5
42555 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
42556 if test "${am_cv_func_iconv+set}" = set; then
42557 echo $ECHO_N "(cached) $ECHO_C" >&6
42558 else
42560 am_cv_func_iconv="no, consider installing GNU libiconv"
42561 am_cv_lib_iconv=no
42562 if test x$gcc_no_link = xyes; then
42563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42565 { (exit 1); exit 1; }; }
42567 cat >conftest.$ac_ext <<_ACEOF
42568 /* confdefs.h. */
42569 _ACEOF
42570 cat confdefs.h >>conftest.$ac_ext
42571 cat >>conftest.$ac_ext <<_ACEOF
42572 /* end confdefs.h. */
42573 #include <stdlib.h>
42574 #include <iconv.h>
42576 main ()
42578 iconv_t cd = iconv_open("","");
42579 iconv(cd,NULL,NULL,NULL,NULL);
42580 iconv_close(cd);
42582 return 0;
42584 _ACEOF
42585 rm -f conftest.$ac_objext conftest$ac_exeext
42586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42587 (eval $ac_link) 2>conftest.er1
42588 ac_status=$?
42589 grep -v '^ *+' conftest.er1 >conftest.err
42590 rm -f conftest.er1
42591 cat conftest.err >&5
42592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42593 (exit $ac_status); } &&
42594 { ac_try='test -z "$ac_c_werror_flag"
42595 || test ! -s conftest.err'
42596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42597 (eval $ac_try) 2>&5
42598 ac_status=$?
42599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42600 (exit $ac_status); }; } &&
42601 { ac_try='test -s conftest$ac_exeext'
42602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42603 (eval $ac_try) 2>&5
42604 ac_status=$?
42605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42606 (exit $ac_status); }; }; then
42607 am_cv_func_iconv=yes
42608 else
42609 echo "$as_me: failed program was:" >&5
42610 sed 's/^/| /' conftest.$ac_ext >&5
42613 rm -f conftest.err conftest.$ac_objext \
42614 conftest$ac_exeext conftest.$ac_ext
42615 if test "$am_cv_func_iconv" != yes; then
42616 am_save_LIBS="$LIBS"
42617 LIBS="$LIBS $LIBICONV"
42618 if test x$gcc_no_link = xyes; then
42619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42621 { (exit 1); exit 1; }; }
42623 cat >conftest.$ac_ext <<_ACEOF
42624 /* confdefs.h. */
42625 _ACEOF
42626 cat confdefs.h >>conftest.$ac_ext
42627 cat >>conftest.$ac_ext <<_ACEOF
42628 /* end confdefs.h. */
42629 #include <stdlib.h>
42630 #include <iconv.h>
42632 main ()
42634 iconv_t cd = iconv_open("","");
42635 iconv(cd,NULL,NULL,NULL,NULL);
42636 iconv_close(cd);
42638 return 0;
42640 _ACEOF
42641 rm -f conftest.$ac_objext conftest$ac_exeext
42642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42643 (eval $ac_link) 2>conftest.er1
42644 ac_status=$?
42645 grep -v '^ *+' conftest.er1 >conftest.err
42646 rm -f conftest.er1
42647 cat conftest.err >&5
42648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42649 (exit $ac_status); } &&
42650 { ac_try='test -z "$ac_c_werror_flag"
42651 || test ! -s conftest.err'
42652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42653 (eval $ac_try) 2>&5
42654 ac_status=$?
42655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42656 (exit $ac_status); }; } &&
42657 { ac_try='test -s conftest$ac_exeext'
42658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42659 (eval $ac_try) 2>&5
42660 ac_status=$?
42661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42662 (exit $ac_status); }; }; then
42663 am_cv_lib_iconv=yes
42664 am_cv_func_iconv=yes
42665 else
42666 echo "$as_me: failed program was:" >&5
42667 sed 's/^/| /' conftest.$ac_ext >&5
42670 rm -f conftest.err conftest.$ac_objext \
42671 conftest$ac_exeext conftest.$ac_ext
42672 LIBS="$am_save_LIBS"
42676 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
42677 echo "${ECHO_T}$am_cv_func_iconv" >&6
42678 if test "$am_cv_func_iconv" = yes; then
42680 cat >>confdefs.h <<\_ACEOF
42681 #define HAVE_ICONV 1
42682 _ACEOF
42685 if test "$am_cv_lib_iconv" = yes; then
42686 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
42687 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
42688 echo "$as_me:$LINENO: result: $LIBICONV" >&5
42689 echo "${ECHO_T}$LIBICONV" >&6
42690 else
42691 CPPFLAGS="$am_save_CPPFLAGS"
42692 LIBICONV=
42693 LTLIBICONV=
42698 if test "$am_cv_func_iconv" = yes; then
42699 echo "$as_me:$LINENO: checking for iconv declaration" >&5
42700 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
42701 if test "${am_cv_proto_iconv+set}" = set; then
42702 echo $ECHO_N "(cached) $ECHO_C" >&6
42703 else
42705 cat >conftest.$ac_ext <<_ACEOF
42706 /* confdefs.h. */
42707 _ACEOF
42708 cat confdefs.h >>conftest.$ac_ext
42709 cat >>conftest.$ac_ext <<_ACEOF
42710 /* end confdefs.h. */
42712 #include <stdlib.h>
42713 #include <iconv.h>
42714 extern
42715 #ifdef __cplusplus
42717 #endif
42718 #if defined(__STDC__) || defined(__cplusplus)
42719 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42720 #else
42721 size_t iconv();
42722 #endif
42725 main ()
42729 return 0;
42731 _ACEOF
42732 rm -f conftest.$ac_objext
42733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42734 (eval $ac_compile) 2>conftest.er1
42735 ac_status=$?
42736 grep -v '^ *+' conftest.er1 >conftest.err
42737 rm -f conftest.er1
42738 cat conftest.err >&5
42739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42740 (exit $ac_status); } &&
42741 { ac_try='test -z "$ac_c_werror_flag"
42742 || test ! -s conftest.err'
42743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42744 (eval $ac_try) 2>&5
42745 ac_status=$?
42746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42747 (exit $ac_status); }; } &&
42748 { ac_try='test -s conftest.$ac_objext'
42749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42750 (eval $ac_try) 2>&5
42751 ac_status=$?
42752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42753 (exit $ac_status); }; }; then
42754 am_cv_proto_iconv_arg1=""
42755 else
42756 echo "$as_me: failed program was:" >&5
42757 sed 's/^/| /' conftest.$ac_ext >&5
42759 am_cv_proto_iconv_arg1="const"
42761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42762 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);"
42765 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42766 echo "$as_me:$LINENO: result: ${ac_t:-
42767 }$am_cv_proto_iconv" >&5
42768 echo "${ECHO_T}${ac_t:-
42769 }$am_cv_proto_iconv" >&6
42771 cat >>confdefs.h <<_ACEOF
42772 #define ICONV_CONST $am_cv_proto_iconv_arg1
42773 _ACEOF
42778 else
42780 # This lets us hard-code the functionality we know we'll have in the cross
42781 # target environment. "Let" is a sugar-coated word placed on an especially
42782 # dull and tedious hack, actually.
42784 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
42785 # that involve linking, can't be used:
42786 # "cannot open sim-crt0.o"
42787 # "cannot open crt0.o"
42788 # etc. All this is because there currently exists no unified, consistent
42789 # way for top level CC information to be passed down to target directories:
42790 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
42791 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
42792 # crosses can be removed.
42794 # If Canadian cross, then don't pick up tools from the build directory.
42795 # Used only in GLIBCXX_EXPORT_INCLUDES.
42796 if test -n "$with_cross_host" &&
42797 test x"$build_alias" != x"$with_cross_host" &&
42798 test x"$build" != x"$target";
42799 then
42800 CANADIAN=yes
42801 else
42802 CANADIAN=no
42805 # Construct crosses by hand, eliminating bits that need ld...
42806 # GLIBCXX_CHECK_MATH_SUPPORT
42808 # First, test for "known" system libraries. We may be using newlib even
42809 # on a hosted environment.
42810 if test "x${with_newlib}" = "xyes"; then
42811 os_include_dir="os/newlib"
42812 cat >>confdefs.h <<\_ACEOF
42813 #define HAVE_HYPOT 1
42814 _ACEOF
42817 # GLIBCXX_CHECK_STDLIB_SUPPORT
42818 cat >>confdefs.h <<\_ACEOF
42819 #define HAVE_STRTOF 1
42820 _ACEOF
42823 cat >>confdefs.h <<\_ACEOF
42824 #define HAVE_ACOSF 1
42825 _ACEOF
42827 cat >>confdefs.h <<\_ACEOF
42828 #define HAVE_ASINF 1
42829 _ACEOF
42831 cat >>confdefs.h <<\_ACEOF
42832 #define HAVE_ATAN2F 1
42833 _ACEOF
42835 cat >>confdefs.h <<\_ACEOF
42836 #define HAVE_ATANF 1
42837 _ACEOF
42839 cat >>confdefs.h <<\_ACEOF
42840 #define HAVE_CEILF 1
42841 _ACEOF
42843 cat >>confdefs.h <<\_ACEOF
42844 #define HAVE_COPYSIGN 1
42845 _ACEOF
42847 cat >>confdefs.h <<\_ACEOF
42848 #define HAVE_COPYSIGNF 1
42849 _ACEOF
42851 cat >>confdefs.h <<\_ACEOF
42852 #define HAVE_COSF 1
42853 _ACEOF
42855 cat >>confdefs.h <<\_ACEOF
42856 #define HAVE_COSHF 1
42857 _ACEOF
42859 cat >>confdefs.h <<\_ACEOF
42860 #define HAVE_EXPF 1
42861 _ACEOF
42863 cat >>confdefs.h <<\_ACEOF
42864 #define HAVE_FABSF 1
42865 _ACEOF
42867 cat >>confdefs.h <<\_ACEOF
42868 #define HAVE_FLOORF 1
42869 _ACEOF
42871 cat >>confdefs.h <<\_ACEOF
42872 #define HAVE_FMODF 1
42873 _ACEOF
42875 cat >>confdefs.h <<\_ACEOF
42876 #define HAVE_FREXPF 1
42877 _ACEOF
42879 cat >>confdefs.h <<\_ACEOF
42880 #define HAVE_LDEXPF 1
42881 _ACEOF
42883 cat >>confdefs.h <<\_ACEOF
42884 #define HAVE_LOG10F 1
42885 _ACEOF
42887 cat >>confdefs.h <<\_ACEOF
42888 #define HAVE_LOGF 1
42889 _ACEOF
42891 cat >>confdefs.h <<\_ACEOF
42892 #define HAVE_MODFF 1
42893 _ACEOF
42895 cat >>confdefs.h <<\_ACEOF
42896 #define HAVE_POWF 1
42897 _ACEOF
42899 cat >>confdefs.h <<\_ACEOF
42900 #define HAVE_SINF 1
42901 _ACEOF
42903 cat >>confdefs.h <<\_ACEOF
42904 #define HAVE_SINHF 1
42905 _ACEOF
42907 cat >>confdefs.h <<\_ACEOF
42908 #define HAVE_SQRTF 1
42909 _ACEOF
42911 cat >>confdefs.h <<\_ACEOF
42912 #define HAVE_TANF 1
42913 _ACEOF
42915 cat >>confdefs.h <<\_ACEOF
42916 #define HAVE_TANHF 1
42917 _ACEOF
42920 cat >>confdefs.h <<\_ACEOF
42921 #define HAVE_ICONV 1
42922 _ACEOF
42924 else
42926 # Base decisions on target environment.
42927 case "${host}" in
42928 arm*-*-symbianelf*)
42929 # This is a freestanding configuration; there is nothing to do here.
42932 mips*-sde-elf*)
42933 # These definitions are for the SDE C library rather than newlib.
42934 SECTION_FLAGS='-ffunction-sections -fdata-sections'
42937 # All these tests are for C++; save the language and the compiler flags.
42938 # The CXXFLAGS thing is suspicious, but based on similar bits previously
42939 # found in GLIBCXX_CONFIGURE.
42942 ac_ext=cc
42943 ac_cpp='$CXXCPP $CPPFLAGS'
42944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42948 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42949 ac_save_CXXFLAGS="$CXXFLAGS"
42951 # Check for maintainer-mode bits.
42952 if test x"$USE_MAINTAINER_MODE" = xno; then
42953 WERROR=''
42954 else
42955 WERROR='-Werror'
42958 # Check for -ffunction-sections -fdata-sections
42959 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
42960 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
42961 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
42962 cat >conftest.$ac_ext <<_ACEOF
42963 /* confdefs.h. */
42964 _ACEOF
42965 cat confdefs.h >>conftest.$ac_ext
42966 cat >>conftest.$ac_ext <<_ACEOF
42967 /* end confdefs.h. */
42968 int foo; void bar() { };
42970 main ()
42974 return 0;
42976 _ACEOF
42977 rm -f conftest.$ac_objext
42978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42979 (eval $ac_compile) 2>conftest.er1
42980 ac_status=$?
42981 grep -v '^ *+' conftest.er1 >conftest.err
42982 rm -f conftest.er1
42983 cat conftest.err >&5
42984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42985 (exit $ac_status); } &&
42986 { ac_try='test -z "$ac_cxx_werror_flag"
42987 || test ! -s conftest.err'
42988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42989 (eval $ac_try) 2>&5
42990 ac_status=$?
42991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42992 (exit $ac_status); }; } &&
42993 { ac_try='test -s conftest.$ac_objext'
42994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42995 (eval $ac_try) 2>&5
42996 ac_status=$?
42997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42998 (exit $ac_status); }; }; then
42999 ac_fdsections=yes
43000 else
43001 echo "$as_me: failed program was:" >&5
43002 sed 's/^/| /' conftest.$ac_ext >&5
43004 ac_fdsections=no
43006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43007 if test "$ac_test_CXXFLAGS" = set; then
43008 CXXFLAGS="$ac_save_CXXFLAGS"
43009 else
43010 # this is the suspicious part
43011 CXXFLAGS=''
43013 if test x"$ac_fdsections" = x"yes"; then
43014 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43016 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
43017 echo "${ECHO_T}$ac_fdsections" >&6
43019 ac_ext=c
43020 ac_cpp='$CPP $CPPFLAGS'
43021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43029 # If we're not using GNU ld, then there's no point in even trying these
43030 # tests. Check for that first. We should have already tested for gld
43031 # by now (in libtool), but require it now just to be safe...
43032 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43033 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43037 # The name set by libtool depends on the version of libtool. Shame on us
43038 # for depending on an impl detail, but c'est la vie. Older versions used
43039 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43040 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43041 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43042 # set (hence we're using an older libtool), then set it.
43043 if test x${with_gnu_ld+set} != xset; then
43044 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43045 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43046 with_gnu_ld=no
43047 else
43048 with_gnu_ld=$ac_cv_prog_gnu_ld
43052 # Start by getting the version number. I think the libtool test already
43053 # does some of this, but throws away the result.
43054 glibcxx_ld_is_gold=no
43055 if test x"$with_gnu_ld" = x"yes"; then
43056 echo "$as_me:$LINENO: checking for ld version" >&5
43057 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
43059 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43060 glibcxx_ld_is_gold=yes
43062 ldver=`$LD --version 2>/dev/null | head -1 | \
43063 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
43065 glibcxx_gnu_ld_version=`echo $ldver | \
43066 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43067 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
43068 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
43071 # Set --gc-sections.
43072 glibcxx_have_gc_sections=no
43073 if test "$glibcxx_ld_is_gold" = "yes"; then
43074 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43075 glibcxx_have_gc_sections=yes
43077 else
43078 glibcxx_gcsections_min_ld=21602
43079 if test x"$with_gnu_ld" = x"yes" &&
43080 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43081 glibcxx_have_gc_sections=yes
43084 if test "$glibcxx_have_gc_sections" = "yes"; then
43085 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
43086 # NB: This flag only works reliably after 2.16.1. Configure tests
43087 # for this are difficult, so hard wire a value that should work.
43089 ac_test_CFLAGS="${CFLAGS+set}"
43090 ac_save_CFLAGS="$CFLAGS"
43091 CFLAGS='-Wl,--gc-sections'
43093 # Check for -Wl,--gc-sections
43094 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
43095 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
43096 if test x$gcc_no_link = xyes; then
43097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43099 { (exit 1); exit 1; }; }
43101 cat >conftest.$ac_ext <<_ACEOF
43102 /* confdefs.h. */
43103 _ACEOF
43104 cat confdefs.h >>conftest.$ac_ext
43105 cat >>conftest.$ac_ext <<_ACEOF
43106 /* end confdefs.h. */
43107 int one(void) { return 1; }
43108 int two(void) { return 2; }
43111 main ()
43113 two();
43115 return 0;
43117 _ACEOF
43118 rm -f conftest.$ac_objext conftest$ac_exeext
43119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43120 (eval $ac_link) 2>conftest.er1
43121 ac_status=$?
43122 grep -v '^ *+' conftest.er1 >conftest.err
43123 rm -f conftest.er1
43124 cat conftest.err >&5
43125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43126 (exit $ac_status); } &&
43127 { ac_try='test -z "$ac_c_werror_flag"
43128 || test ! -s conftest.err'
43129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43130 (eval $ac_try) 2>&5
43131 ac_status=$?
43132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43133 (exit $ac_status); }; } &&
43134 { ac_try='test -s conftest$ac_exeext'
43135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43136 (eval $ac_try) 2>&5
43137 ac_status=$?
43138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43139 (exit $ac_status); }; }; then
43140 ac_gcsections=yes
43141 else
43142 echo "$as_me: failed program was:" >&5
43143 sed 's/^/| /' conftest.$ac_ext >&5
43145 ac_gcsections=no
43147 rm -f conftest.err conftest.$ac_objext \
43148 conftest$ac_exeext conftest.$ac_ext
43149 if test "$ac_gcsections" = "yes"; then
43150 rm -f conftest.c
43151 touch conftest.c
43152 if $CC -c conftest.c; then
43153 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43154 grep "Warning: gc-sections option ignored" > /dev/null; then
43155 ac_gcsections=no
43158 rm -f conftest.c conftest.o conftest
43160 if test "$ac_gcsections" = "yes"; then
43161 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43163 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43164 echo "${ECHO_T}$ac_gcsections" >&6
43166 if test "$ac_test_CFLAGS" = set; then
43167 CFLAGS="$ac_save_CFLAGS"
43168 else
43169 # this is the suspicious part
43170 CFLAGS=''
43174 # Set -z,relro.
43175 # Note this is only for shared objects.
43176 ac_ld_relro=no
43177 if test x"$with_gnu_ld" = x"yes"; then
43178 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43179 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43180 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43181 if test -n "$cxx_z_relo"; then
43182 OPT_LDFLAGS="-Wl,-z,relro"
43183 ac_ld_relro=yes
43185 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
43186 echo "${ECHO_T}$ac_ld_relro" >&6
43189 # Set linker optimization flags.
43190 if test x"$with_gnu_ld" = x"yes"; then
43191 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43198 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43199 ac_save_CXXFLAGS="$CXXFLAGS"
43200 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43202 echo "$as_me:$LINENO: checking for sin in -lm" >&5
43203 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
43204 if test "${ac_cv_lib_m_sin+set}" = set; then
43205 echo $ECHO_N "(cached) $ECHO_C" >&6
43206 else
43207 ac_check_lib_save_LIBS=$LIBS
43208 LIBS="-lm $LIBS"
43209 if test x$gcc_no_link = xyes; then
43210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43212 { (exit 1); exit 1; }; }
43214 cat >conftest.$ac_ext <<_ACEOF
43215 /* confdefs.h. */
43216 _ACEOF
43217 cat confdefs.h >>conftest.$ac_ext
43218 cat >>conftest.$ac_ext <<_ACEOF
43219 /* end confdefs.h. */
43221 /* Override any gcc2 internal prototype to avoid an error. */
43222 #ifdef __cplusplus
43223 extern "C"
43224 #endif
43225 /* We use char because int might match the return type of a gcc2
43226 builtin and then its argument prototype would still apply. */
43227 char sin ();
43229 main ()
43231 sin ();
43233 return 0;
43235 _ACEOF
43236 rm -f conftest.$ac_objext conftest$ac_exeext
43237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43238 (eval $ac_link) 2>conftest.er1
43239 ac_status=$?
43240 grep -v '^ *+' conftest.er1 >conftest.err
43241 rm -f conftest.er1
43242 cat conftest.err >&5
43243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43244 (exit $ac_status); } &&
43245 { ac_try='test -z "$ac_c_werror_flag"
43246 || test ! -s conftest.err'
43247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43248 (eval $ac_try) 2>&5
43249 ac_status=$?
43250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43251 (exit $ac_status); }; } &&
43252 { ac_try='test -s conftest$ac_exeext'
43253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43254 (eval $ac_try) 2>&5
43255 ac_status=$?
43256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43257 (exit $ac_status); }; }; then
43258 ac_cv_lib_m_sin=yes
43259 else
43260 echo "$as_me: failed program was:" >&5
43261 sed 's/^/| /' conftest.$ac_ext >&5
43263 ac_cv_lib_m_sin=no
43265 rm -f conftest.err conftest.$ac_objext \
43266 conftest$ac_exeext conftest.$ac_ext
43267 LIBS=$ac_check_lib_save_LIBS
43269 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
43270 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
43271 if test $ac_cv_lib_m_sin = yes; then
43272 libm="-lm"
43275 ac_save_LIBS="$LIBS"
43276 LIBS="$LIBS $libm"
43280 echo "$as_me:$LINENO: checking for isinf declaration" >&5
43281 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
43282 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43283 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
43284 echo $ECHO_N "(cached) $ECHO_C" >&6
43285 else
43289 ac_ext=cc
43290 ac_cpp='$CXXCPP $CPPFLAGS'
43291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43295 cat >conftest.$ac_ext <<_ACEOF
43296 /* confdefs.h. */
43297 _ACEOF
43298 cat confdefs.h >>conftest.$ac_ext
43299 cat >>conftest.$ac_ext <<_ACEOF
43300 /* end confdefs.h. */
43301 #include <math.h>
43302 #ifdef HAVE_IEEEFP_H
43303 #include <ieeefp.h>
43304 #endif
43307 main ()
43309 isinf(0);
43311 return 0;
43313 _ACEOF
43314 rm -f conftest.$ac_objext
43315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43316 (eval $ac_compile) 2>conftest.er1
43317 ac_status=$?
43318 grep -v '^ *+' conftest.er1 >conftest.err
43319 rm -f conftest.er1
43320 cat conftest.err >&5
43321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43322 (exit $ac_status); } &&
43323 { ac_try='test -z "$ac_cxx_werror_flag"
43324 || test ! -s conftest.err'
43325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43326 (eval $ac_try) 2>&5
43327 ac_status=$?
43328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43329 (exit $ac_status); }; } &&
43330 { ac_try='test -s conftest.$ac_objext'
43331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43332 (eval $ac_try) 2>&5
43333 ac_status=$?
43334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43335 (exit $ac_status); }; }; then
43336 glibcxx_cv_func_isinf_use=yes
43337 else
43338 echo "$as_me: failed program was:" >&5
43339 sed 's/^/| /' conftest.$ac_ext >&5
43341 glibcxx_cv_func_isinf_use=no
43343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43344 ac_ext=c
43345 ac_cpp='$CPP $CPPFLAGS'
43346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43354 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
43355 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
43357 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43359 for ac_func in isinf
43361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43362 echo "$as_me:$LINENO: checking for $ac_func" >&5
43363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43364 if eval "test \"\${$as_ac_var+set}\" = set"; then
43365 echo $ECHO_N "(cached) $ECHO_C" >&6
43366 else
43367 if test x$gcc_no_link = xyes; then
43368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43370 { (exit 1); exit 1; }; }
43372 cat >conftest.$ac_ext <<_ACEOF
43373 /* confdefs.h. */
43374 _ACEOF
43375 cat confdefs.h >>conftest.$ac_ext
43376 cat >>conftest.$ac_ext <<_ACEOF
43377 /* end confdefs.h. */
43378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43380 #define $ac_func innocuous_$ac_func
43382 /* System header to define __stub macros and hopefully few prototypes,
43383 which can conflict with char $ac_func (); below.
43384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43385 <limits.h> exists even on freestanding compilers. */
43387 #ifdef __STDC__
43388 # include <limits.h>
43389 #else
43390 # include <assert.h>
43391 #endif
43393 #undef $ac_func
43395 /* Override any gcc2 internal prototype to avoid an error. */
43396 #ifdef __cplusplus
43397 extern "C"
43399 #endif
43400 /* We use char because int might match the return type of a gcc2
43401 builtin and then its argument prototype would still apply. */
43402 char $ac_func ();
43403 /* The GNU C library defines this for functions which it implements
43404 to always fail with ENOSYS. Some functions are actually named
43405 something starting with __ and the normal name is an alias. */
43406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43407 choke me
43408 #else
43409 char (*f) () = $ac_func;
43410 #endif
43411 #ifdef __cplusplus
43413 #endif
43416 main ()
43418 return f != $ac_func;
43420 return 0;
43422 _ACEOF
43423 rm -f conftest.$ac_objext conftest$ac_exeext
43424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43425 (eval $ac_link) 2>conftest.er1
43426 ac_status=$?
43427 grep -v '^ *+' conftest.er1 >conftest.err
43428 rm -f conftest.er1
43429 cat conftest.err >&5
43430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43431 (exit $ac_status); } &&
43432 { ac_try='test -z "$ac_c_werror_flag"
43433 || test ! -s conftest.err'
43434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43435 (eval $ac_try) 2>&5
43436 ac_status=$?
43437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43438 (exit $ac_status); }; } &&
43439 { ac_try='test -s conftest$ac_exeext'
43440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43441 (eval $ac_try) 2>&5
43442 ac_status=$?
43443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43444 (exit $ac_status); }; }; then
43445 eval "$as_ac_var=yes"
43446 else
43447 echo "$as_me: failed program was:" >&5
43448 sed 's/^/| /' conftest.$ac_ext >&5
43450 eval "$as_ac_var=no"
43452 rm -f conftest.err conftest.$ac_objext \
43453 conftest$ac_exeext conftest.$ac_ext
43455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43457 if test `eval echo '${'$as_ac_var'}'` = yes; then
43458 cat >>confdefs.h <<_ACEOF
43459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43460 _ACEOF
43463 done
43465 else
43467 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
43468 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
43469 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43470 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
43471 echo $ECHO_N "(cached) $ECHO_C" >&6
43472 else
43476 ac_ext=cc
43477 ac_cpp='$CXXCPP $CPPFLAGS'
43478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43482 cat >conftest.$ac_ext <<_ACEOF
43483 /* confdefs.h. */
43484 _ACEOF
43485 cat confdefs.h >>conftest.$ac_ext
43486 cat >>conftest.$ac_ext <<_ACEOF
43487 /* end confdefs.h. */
43488 #include <math.h>
43489 #ifdef HAVE_IEEEFP_H
43490 #include <ieeefp.h>
43491 #endif
43494 main ()
43496 _isinf(0);
43498 return 0;
43500 _ACEOF
43501 rm -f conftest.$ac_objext
43502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43503 (eval $ac_compile) 2>conftest.er1
43504 ac_status=$?
43505 grep -v '^ *+' conftest.er1 >conftest.err
43506 rm -f conftest.er1
43507 cat conftest.err >&5
43508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43509 (exit $ac_status); } &&
43510 { ac_try='test -z "$ac_cxx_werror_flag"
43511 || test ! -s conftest.err'
43512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43513 (eval $ac_try) 2>&5
43514 ac_status=$?
43515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43516 (exit $ac_status); }; } &&
43517 { ac_try='test -s conftest.$ac_objext'
43518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43519 (eval $ac_try) 2>&5
43520 ac_status=$?
43521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43522 (exit $ac_status); }; }; then
43523 glibcxx_cv_func__isinf_use=yes
43524 else
43525 echo "$as_me: failed program was:" >&5
43526 sed 's/^/| /' conftest.$ac_ext >&5
43528 glibcxx_cv_func__isinf_use=no
43530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43531 ac_ext=c
43532 ac_cpp='$CPP $CPPFLAGS'
43533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43541 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
43542 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
43544 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43546 for ac_func in _isinf
43548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43549 echo "$as_me:$LINENO: checking for $ac_func" >&5
43550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43551 if eval "test \"\${$as_ac_var+set}\" = set"; then
43552 echo $ECHO_N "(cached) $ECHO_C" >&6
43553 else
43554 if test x$gcc_no_link = xyes; then
43555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43557 { (exit 1); exit 1; }; }
43559 cat >conftest.$ac_ext <<_ACEOF
43560 /* confdefs.h. */
43561 _ACEOF
43562 cat confdefs.h >>conftest.$ac_ext
43563 cat >>conftest.$ac_ext <<_ACEOF
43564 /* end confdefs.h. */
43565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43567 #define $ac_func innocuous_$ac_func
43569 /* System header to define __stub macros and hopefully few prototypes,
43570 which can conflict with char $ac_func (); below.
43571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43572 <limits.h> exists even on freestanding compilers. */
43574 #ifdef __STDC__
43575 # include <limits.h>
43576 #else
43577 # include <assert.h>
43578 #endif
43580 #undef $ac_func
43582 /* Override any gcc2 internal prototype to avoid an error. */
43583 #ifdef __cplusplus
43584 extern "C"
43586 #endif
43587 /* We use char because int might match the return type of a gcc2
43588 builtin and then its argument prototype would still apply. */
43589 char $ac_func ();
43590 /* The GNU C library defines this for functions which it implements
43591 to always fail with ENOSYS. Some functions are actually named
43592 something starting with __ and the normal name is an alias. */
43593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43594 choke me
43595 #else
43596 char (*f) () = $ac_func;
43597 #endif
43598 #ifdef __cplusplus
43600 #endif
43603 main ()
43605 return f != $ac_func;
43607 return 0;
43609 _ACEOF
43610 rm -f conftest.$ac_objext conftest$ac_exeext
43611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43612 (eval $ac_link) 2>conftest.er1
43613 ac_status=$?
43614 grep -v '^ *+' conftest.er1 >conftest.err
43615 rm -f conftest.er1
43616 cat conftest.err >&5
43617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43618 (exit $ac_status); } &&
43619 { ac_try='test -z "$ac_c_werror_flag"
43620 || test ! -s conftest.err'
43621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43622 (eval $ac_try) 2>&5
43623 ac_status=$?
43624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43625 (exit $ac_status); }; } &&
43626 { ac_try='test -s conftest$ac_exeext'
43627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43628 (eval $ac_try) 2>&5
43629 ac_status=$?
43630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43631 (exit $ac_status); }; }; then
43632 eval "$as_ac_var=yes"
43633 else
43634 echo "$as_me: failed program was:" >&5
43635 sed 's/^/| /' conftest.$ac_ext >&5
43637 eval "$as_ac_var=no"
43639 rm -f conftest.err conftest.$ac_objext \
43640 conftest$ac_exeext conftest.$ac_ext
43642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43644 if test `eval echo '${'$as_ac_var'}'` = yes; then
43645 cat >>confdefs.h <<_ACEOF
43646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43647 _ACEOF
43650 done
43660 echo "$as_me:$LINENO: checking for isnan declaration" >&5
43661 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
43662 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43663 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
43664 echo $ECHO_N "(cached) $ECHO_C" >&6
43665 else
43669 ac_ext=cc
43670 ac_cpp='$CXXCPP $CPPFLAGS'
43671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43675 cat >conftest.$ac_ext <<_ACEOF
43676 /* confdefs.h. */
43677 _ACEOF
43678 cat confdefs.h >>conftest.$ac_ext
43679 cat >>conftest.$ac_ext <<_ACEOF
43680 /* end confdefs.h. */
43681 #include <math.h>
43682 #ifdef HAVE_IEEEFP_H
43683 #include <ieeefp.h>
43684 #endif
43687 main ()
43689 isnan(0);
43691 return 0;
43693 _ACEOF
43694 rm -f conftest.$ac_objext
43695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43696 (eval $ac_compile) 2>conftest.er1
43697 ac_status=$?
43698 grep -v '^ *+' conftest.er1 >conftest.err
43699 rm -f conftest.er1
43700 cat conftest.err >&5
43701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43702 (exit $ac_status); } &&
43703 { ac_try='test -z "$ac_cxx_werror_flag"
43704 || test ! -s conftest.err'
43705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43706 (eval $ac_try) 2>&5
43707 ac_status=$?
43708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43709 (exit $ac_status); }; } &&
43710 { ac_try='test -s conftest.$ac_objext'
43711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43712 (eval $ac_try) 2>&5
43713 ac_status=$?
43714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43715 (exit $ac_status); }; }; then
43716 glibcxx_cv_func_isnan_use=yes
43717 else
43718 echo "$as_me: failed program was:" >&5
43719 sed 's/^/| /' conftest.$ac_ext >&5
43721 glibcxx_cv_func_isnan_use=no
43723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43724 ac_ext=c
43725 ac_cpp='$CPP $CPPFLAGS'
43726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43734 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
43735 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
43737 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43739 for ac_func in isnan
43741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43742 echo "$as_me:$LINENO: checking for $ac_func" >&5
43743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43744 if eval "test \"\${$as_ac_var+set}\" = set"; then
43745 echo $ECHO_N "(cached) $ECHO_C" >&6
43746 else
43747 if test x$gcc_no_link = xyes; then
43748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43750 { (exit 1); exit 1; }; }
43752 cat >conftest.$ac_ext <<_ACEOF
43753 /* confdefs.h. */
43754 _ACEOF
43755 cat confdefs.h >>conftest.$ac_ext
43756 cat >>conftest.$ac_ext <<_ACEOF
43757 /* end confdefs.h. */
43758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43760 #define $ac_func innocuous_$ac_func
43762 /* System header to define __stub macros and hopefully few prototypes,
43763 which can conflict with char $ac_func (); below.
43764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43765 <limits.h> exists even on freestanding compilers. */
43767 #ifdef __STDC__
43768 # include <limits.h>
43769 #else
43770 # include <assert.h>
43771 #endif
43773 #undef $ac_func
43775 /* Override any gcc2 internal prototype to avoid an error. */
43776 #ifdef __cplusplus
43777 extern "C"
43779 #endif
43780 /* We use char because int might match the return type of a gcc2
43781 builtin and then its argument prototype would still apply. */
43782 char $ac_func ();
43783 /* The GNU C library defines this for functions which it implements
43784 to always fail with ENOSYS. Some functions are actually named
43785 something starting with __ and the normal name is an alias. */
43786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43787 choke me
43788 #else
43789 char (*f) () = $ac_func;
43790 #endif
43791 #ifdef __cplusplus
43793 #endif
43796 main ()
43798 return f != $ac_func;
43800 return 0;
43802 _ACEOF
43803 rm -f conftest.$ac_objext conftest$ac_exeext
43804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43805 (eval $ac_link) 2>conftest.er1
43806 ac_status=$?
43807 grep -v '^ *+' conftest.er1 >conftest.err
43808 rm -f conftest.er1
43809 cat conftest.err >&5
43810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43811 (exit $ac_status); } &&
43812 { ac_try='test -z "$ac_c_werror_flag"
43813 || test ! -s conftest.err'
43814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43815 (eval $ac_try) 2>&5
43816 ac_status=$?
43817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43818 (exit $ac_status); }; } &&
43819 { ac_try='test -s conftest$ac_exeext'
43820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43821 (eval $ac_try) 2>&5
43822 ac_status=$?
43823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43824 (exit $ac_status); }; }; then
43825 eval "$as_ac_var=yes"
43826 else
43827 echo "$as_me: failed program was:" >&5
43828 sed 's/^/| /' conftest.$ac_ext >&5
43830 eval "$as_ac_var=no"
43832 rm -f conftest.err conftest.$ac_objext \
43833 conftest$ac_exeext conftest.$ac_ext
43835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43837 if test `eval echo '${'$as_ac_var'}'` = yes; then
43838 cat >>confdefs.h <<_ACEOF
43839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43840 _ACEOF
43843 done
43845 else
43847 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
43848 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
43849 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
43850 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
43851 echo $ECHO_N "(cached) $ECHO_C" >&6
43852 else
43856 ac_ext=cc
43857 ac_cpp='$CXXCPP $CPPFLAGS'
43858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43862 cat >conftest.$ac_ext <<_ACEOF
43863 /* confdefs.h. */
43864 _ACEOF
43865 cat confdefs.h >>conftest.$ac_ext
43866 cat >>conftest.$ac_ext <<_ACEOF
43867 /* end confdefs.h. */
43868 #include <math.h>
43869 #ifdef HAVE_IEEEFP_H
43870 #include <ieeefp.h>
43871 #endif
43874 main ()
43876 _isnan(0);
43878 return 0;
43880 _ACEOF
43881 rm -f conftest.$ac_objext
43882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43883 (eval $ac_compile) 2>conftest.er1
43884 ac_status=$?
43885 grep -v '^ *+' conftest.er1 >conftest.err
43886 rm -f conftest.er1
43887 cat conftest.err >&5
43888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43889 (exit $ac_status); } &&
43890 { ac_try='test -z "$ac_cxx_werror_flag"
43891 || test ! -s conftest.err'
43892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43893 (eval $ac_try) 2>&5
43894 ac_status=$?
43895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43896 (exit $ac_status); }; } &&
43897 { ac_try='test -s conftest.$ac_objext'
43898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43899 (eval $ac_try) 2>&5
43900 ac_status=$?
43901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43902 (exit $ac_status); }; }; then
43903 glibcxx_cv_func__isnan_use=yes
43904 else
43905 echo "$as_me: failed program was:" >&5
43906 sed 's/^/| /' conftest.$ac_ext >&5
43908 glibcxx_cv_func__isnan_use=no
43910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43911 ac_ext=c
43912 ac_cpp='$CPP $CPPFLAGS'
43913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43921 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
43922 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
43924 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
43926 for ac_func in _isnan
43928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43929 echo "$as_me:$LINENO: checking for $ac_func" >&5
43930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43931 if eval "test \"\${$as_ac_var+set}\" = set"; then
43932 echo $ECHO_N "(cached) $ECHO_C" >&6
43933 else
43934 if test x$gcc_no_link = xyes; then
43935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43937 { (exit 1); exit 1; }; }
43939 cat >conftest.$ac_ext <<_ACEOF
43940 /* confdefs.h. */
43941 _ACEOF
43942 cat confdefs.h >>conftest.$ac_ext
43943 cat >>conftest.$ac_ext <<_ACEOF
43944 /* end confdefs.h. */
43945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43947 #define $ac_func innocuous_$ac_func
43949 /* System header to define __stub macros and hopefully few prototypes,
43950 which can conflict with char $ac_func (); below.
43951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43952 <limits.h> exists even on freestanding compilers. */
43954 #ifdef __STDC__
43955 # include <limits.h>
43956 #else
43957 # include <assert.h>
43958 #endif
43960 #undef $ac_func
43962 /* Override any gcc2 internal prototype to avoid an error. */
43963 #ifdef __cplusplus
43964 extern "C"
43966 #endif
43967 /* We use char because int might match the return type of a gcc2
43968 builtin and then its argument prototype would still apply. */
43969 char $ac_func ();
43970 /* The GNU C library defines this for functions which it implements
43971 to always fail with ENOSYS. Some functions are actually named
43972 something starting with __ and the normal name is an alias. */
43973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43974 choke me
43975 #else
43976 char (*f) () = $ac_func;
43977 #endif
43978 #ifdef __cplusplus
43980 #endif
43983 main ()
43985 return f != $ac_func;
43987 return 0;
43989 _ACEOF
43990 rm -f conftest.$ac_objext conftest$ac_exeext
43991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43992 (eval $ac_link) 2>conftest.er1
43993 ac_status=$?
43994 grep -v '^ *+' conftest.er1 >conftest.err
43995 rm -f conftest.er1
43996 cat conftest.err >&5
43997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43998 (exit $ac_status); } &&
43999 { ac_try='test -z "$ac_c_werror_flag"
44000 || test ! -s conftest.err'
44001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44002 (eval $ac_try) 2>&5
44003 ac_status=$?
44004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44005 (exit $ac_status); }; } &&
44006 { ac_try='test -s conftest$ac_exeext'
44007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44008 (eval $ac_try) 2>&5
44009 ac_status=$?
44010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44011 (exit $ac_status); }; }; then
44012 eval "$as_ac_var=yes"
44013 else
44014 echo "$as_me: failed program was:" >&5
44015 sed 's/^/| /' conftest.$ac_ext >&5
44017 eval "$as_ac_var=no"
44019 rm -f conftest.err conftest.$ac_objext \
44020 conftest$ac_exeext conftest.$ac_ext
44022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44024 if test `eval echo '${'$as_ac_var'}'` = yes; then
44025 cat >>confdefs.h <<_ACEOF
44026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44027 _ACEOF
44030 done
44040 echo "$as_me:$LINENO: checking for finite declaration" >&5
44041 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
44042 if test x${glibcxx_cv_func_finite_use+set} != xset; then
44043 if test "${glibcxx_cv_func_finite_use+set}" = set; then
44044 echo $ECHO_N "(cached) $ECHO_C" >&6
44045 else
44049 ac_ext=cc
44050 ac_cpp='$CXXCPP $CPPFLAGS'
44051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44055 cat >conftest.$ac_ext <<_ACEOF
44056 /* confdefs.h. */
44057 _ACEOF
44058 cat confdefs.h >>conftest.$ac_ext
44059 cat >>conftest.$ac_ext <<_ACEOF
44060 /* end confdefs.h. */
44061 #include <math.h>
44062 #ifdef HAVE_IEEEFP_H
44063 #include <ieeefp.h>
44064 #endif
44067 main ()
44069 finite(0);
44071 return 0;
44073 _ACEOF
44074 rm -f conftest.$ac_objext
44075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44076 (eval $ac_compile) 2>conftest.er1
44077 ac_status=$?
44078 grep -v '^ *+' conftest.er1 >conftest.err
44079 rm -f conftest.er1
44080 cat conftest.err >&5
44081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44082 (exit $ac_status); } &&
44083 { ac_try='test -z "$ac_cxx_werror_flag"
44084 || test ! -s conftest.err'
44085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44086 (eval $ac_try) 2>&5
44087 ac_status=$?
44088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44089 (exit $ac_status); }; } &&
44090 { ac_try='test -s conftest.$ac_objext'
44091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44092 (eval $ac_try) 2>&5
44093 ac_status=$?
44094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44095 (exit $ac_status); }; }; then
44096 glibcxx_cv_func_finite_use=yes
44097 else
44098 echo "$as_me: failed program was:" >&5
44099 sed 's/^/| /' conftest.$ac_ext >&5
44101 glibcxx_cv_func_finite_use=no
44103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44104 ac_ext=c
44105 ac_cpp='$CPP $CPPFLAGS'
44106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44114 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
44115 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
44117 if test x$glibcxx_cv_func_finite_use = x"yes"; then
44119 for ac_func in finite
44121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44122 echo "$as_me:$LINENO: checking for $ac_func" >&5
44123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44124 if eval "test \"\${$as_ac_var+set}\" = set"; then
44125 echo $ECHO_N "(cached) $ECHO_C" >&6
44126 else
44127 if test x$gcc_no_link = xyes; then
44128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44130 { (exit 1); exit 1; }; }
44132 cat >conftest.$ac_ext <<_ACEOF
44133 /* confdefs.h. */
44134 _ACEOF
44135 cat confdefs.h >>conftest.$ac_ext
44136 cat >>conftest.$ac_ext <<_ACEOF
44137 /* end confdefs.h. */
44138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44140 #define $ac_func innocuous_$ac_func
44142 /* System header to define __stub macros and hopefully few prototypes,
44143 which can conflict with char $ac_func (); below.
44144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44145 <limits.h> exists even on freestanding compilers. */
44147 #ifdef __STDC__
44148 # include <limits.h>
44149 #else
44150 # include <assert.h>
44151 #endif
44153 #undef $ac_func
44155 /* Override any gcc2 internal prototype to avoid an error. */
44156 #ifdef __cplusplus
44157 extern "C"
44159 #endif
44160 /* We use char because int might match the return type of a gcc2
44161 builtin and then its argument prototype would still apply. */
44162 char $ac_func ();
44163 /* The GNU C library defines this for functions which it implements
44164 to always fail with ENOSYS. Some functions are actually named
44165 something starting with __ and the normal name is an alias. */
44166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44167 choke me
44168 #else
44169 char (*f) () = $ac_func;
44170 #endif
44171 #ifdef __cplusplus
44173 #endif
44176 main ()
44178 return f != $ac_func;
44180 return 0;
44182 _ACEOF
44183 rm -f conftest.$ac_objext conftest$ac_exeext
44184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44185 (eval $ac_link) 2>conftest.er1
44186 ac_status=$?
44187 grep -v '^ *+' conftest.er1 >conftest.err
44188 rm -f conftest.er1
44189 cat conftest.err >&5
44190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44191 (exit $ac_status); } &&
44192 { ac_try='test -z "$ac_c_werror_flag"
44193 || test ! -s conftest.err'
44194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44195 (eval $ac_try) 2>&5
44196 ac_status=$?
44197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44198 (exit $ac_status); }; } &&
44199 { ac_try='test -s conftest$ac_exeext'
44200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44201 (eval $ac_try) 2>&5
44202 ac_status=$?
44203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44204 (exit $ac_status); }; }; then
44205 eval "$as_ac_var=yes"
44206 else
44207 echo "$as_me: failed program was:" >&5
44208 sed 's/^/| /' conftest.$ac_ext >&5
44210 eval "$as_ac_var=no"
44212 rm -f conftest.err conftest.$ac_objext \
44213 conftest$ac_exeext conftest.$ac_ext
44215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44217 if test `eval echo '${'$as_ac_var'}'` = yes; then
44218 cat >>confdefs.h <<_ACEOF
44219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44220 _ACEOF
44223 done
44225 else
44227 echo "$as_me:$LINENO: checking for _finite declaration" >&5
44228 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
44229 if test x${glibcxx_cv_func__finite_use+set} != xset; then
44230 if test "${glibcxx_cv_func__finite_use+set}" = set; then
44231 echo $ECHO_N "(cached) $ECHO_C" >&6
44232 else
44236 ac_ext=cc
44237 ac_cpp='$CXXCPP $CPPFLAGS'
44238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44242 cat >conftest.$ac_ext <<_ACEOF
44243 /* confdefs.h. */
44244 _ACEOF
44245 cat confdefs.h >>conftest.$ac_ext
44246 cat >>conftest.$ac_ext <<_ACEOF
44247 /* end confdefs.h. */
44248 #include <math.h>
44249 #ifdef HAVE_IEEEFP_H
44250 #include <ieeefp.h>
44251 #endif
44254 main ()
44256 _finite(0);
44258 return 0;
44260 _ACEOF
44261 rm -f conftest.$ac_objext
44262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44263 (eval $ac_compile) 2>conftest.er1
44264 ac_status=$?
44265 grep -v '^ *+' conftest.er1 >conftest.err
44266 rm -f conftest.er1
44267 cat conftest.err >&5
44268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44269 (exit $ac_status); } &&
44270 { ac_try='test -z "$ac_cxx_werror_flag"
44271 || test ! -s conftest.err'
44272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44273 (eval $ac_try) 2>&5
44274 ac_status=$?
44275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44276 (exit $ac_status); }; } &&
44277 { ac_try='test -s conftest.$ac_objext'
44278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44279 (eval $ac_try) 2>&5
44280 ac_status=$?
44281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44282 (exit $ac_status); }; }; then
44283 glibcxx_cv_func__finite_use=yes
44284 else
44285 echo "$as_me: failed program was:" >&5
44286 sed 's/^/| /' conftest.$ac_ext >&5
44288 glibcxx_cv_func__finite_use=no
44290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44291 ac_ext=c
44292 ac_cpp='$CPP $CPPFLAGS'
44293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44301 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
44302 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
44304 if test x$glibcxx_cv_func__finite_use = x"yes"; then
44306 for ac_func in _finite
44308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44309 echo "$as_me:$LINENO: checking for $ac_func" >&5
44310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44311 if eval "test \"\${$as_ac_var+set}\" = set"; then
44312 echo $ECHO_N "(cached) $ECHO_C" >&6
44313 else
44314 if test x$gcc_no_link = xyes; then
44315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44317 { (exit 1); exit 1; }; }
44319 cat >conftest.$ac_ext <<_ACEOF
44320 /* confdefs.h. */
44321 _ACEOF
44322 cat confdefs.h >>conftest.$ac_ext
44323 cat >>conftest.$ac_ext <<_ACEOF
44324 /* end confdefs.h. */
44325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44327 #define $ac_func innocuous_$ac_func
44329 /* System header to define __stub macros and hopefully few prototypes,
44330 which can conflict with char $ac_func (); below.
44331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44332 <limits.h> exists even on freestanding compilers. */
44334 #ifdef __STDC__
44335 # include <limits.h>
44336 #else
44337 # include <assert.h>
44338 #endif
44340 #undef $ac_func
44342 /* Override any gcc2 internal prototype to avoid an error. */
44343 #ifdef __cplusplus
44344 extern "C"
44346 #endif
44347 /* We use char because int might match the return type of a gcc2
44348 builtin and then its argument prototype would still apply. */
44349 char $ac_func ();
44350 /* The GNU C library defines this for functions which it implements
44351 to always fail with ENOSYS. Some functions are actually named
44352 something starting with __ and the normal name is an alias. */
44353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44354 choke me
44355 #else
44356 char (*f) () = $ac_func;
44357 #endif
44358 #ifdef __cplusplus
44360 #endif
44363 main ()
44365 return f != $ac_func;
44367 return 0;
44369 _ACEOF
44370 rm -f conftest.$ac_objext conftest$ac_exeext
44371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44372 (eval $ac_link) 2>conftest.er1
44373 ac_status=$?
44374 grep -v '^ *+' conftest.er1 >conftest.err
44375 rm -f conftest.er1
44376 cat conftest.err >&5
44377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44378 (exit $ac_status); } &&
44379 { ac_try='test -z "$ac_c_werror_flag"
44380 || test ! -s conftest.err'
44381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44382 (eval $ac_try) 2>&5
44383 ac_status=$?
44384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44385 (exit $ac_status); }; } &&
44386 { ac_try='test -s conftest$ac_exeext'
44387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44388 (eval $ac_try) 2>&5
44389 ac_status=$?
44390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44391 (exit $ac_status); }; }; then
44392 eval "$as_ac_var=yes"
44393 else
44394 echo "$as_me: failed program was:" >&5
44395 sed 's/^/| /' conftest.$ac_ext >&5
44397 eval "$as_ac_var=no"
44399 rm -f conftest.err conftest.$ac_objext \
44400 conftest$ac_exeext conftest.$ac_ext
44402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44404 if test `eval echo '${'$as_ac_var'}'` = yes; then
44405 cat >>confdefs.h <<_ACEOF
44406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44407 _ACEOF
44410 done
44420 echo "$as_me:$LINENO: checking for copysign declaration" >&5
44421 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
44422 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
44423 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
44424 echo $ECHO_N "(cached) $ECHO_C" >&6
44425 else
44429 ac_ext=cc
44430 ac_cpp='$CXXCPP $CPPFLAGS'
44431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44435 cat >conftest.$ac_ext <<_ACEOF
44436 /* confdefs.h. */
44437 _ACEOF
44438 cat confdefs.h >>conftest.$ac_ext
44439 cat >>conftest.$ac_ext <<_ACEOF
44440 /* end confdefs.h. */
44441 #include <math.h>
44443 main ()
44445 copysign(0, 0);
44447 return 0;
44449 _ACEOF
44450 rm -f conftest.$ac_objext
44451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44452 (eval $ac_compile) 2>conftest.er1
44453 ac_status=$?
44454 grep -v '^ *+' conftest.er1 >conftest.err
44455 rm -f conftest.er1
44456 cat conftest.err >&5
44457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44458 (exit $ac_status); } &&
44459 { ac_try='test -z "$ac_cxx_werror_flag"
44460 || test ! -s conftest.err'
44461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44462 (eval $ac_try) 2>&5
44463 ac_status=$?
44464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44465 (exit $ac_status); }; } &&
44466 { ac_try='test -s conftest.$ac_objext'
44467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44468 (eval $ac_try) 2>&5
44469 ac_status=$?
44470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44471 (exit $ac_status); }; }; then
44472 glibcxx_cv_func_copysign_use=yes
44473 else
44474 echo "$as_me: failed program was:" >&5
44475 sed 's/^/| /' conftest.$ac_ext >&5
44477 glibcxx_cv_func_copysign_use=no
44479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44480 ac_ext=c
44481 ac_cpp='$CPP $CPPFLAGS'
44482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44490 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
44491 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
44493 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
44495 for ac_func in copysign
44497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44498 echo "$as_me:$LINENO: checking for $ac_func" >&5
44499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44500 if eval "test \"\${$as_ac_var+set}\" = set"; then
44501 echo $ECHO_N "(cached) $ECHO_C" >&6
44502 else
44503 if test x$gcc_no_link = xyes; then
44504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44506 { (exit 1); exit 1; }; }
44508 cat >conftest.$ac_ext <<_ACEOF
44509 /* confdefs.h. */
44510 _ACEOF
44511 cat confdefs.h >>conftest.$ac_ext
44512 cat >>conftest.$ac_ext <<_ACEOF
44513 /* end confdefs.h. */
44514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44516 #define $ac_func innocuous_$ac_func
44518 /* System header to define __stub macros and hopefully few prototypes,
44519 which can conflict with char $ac_func (); below.
44520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44521 <limits.h> exists even on freestanding compilers. */
44523 #ifdef __STDC__
44524 # include <limits.h>
44525 #else
44526 # include <assert.h>
44527 #endif
44529 #undef $ac_func
44531 /* Override any gcc2 internal prototype to avoid an error. */
44532 #ifdef __cplusplus
44533 extern "C"
44535 #endif
44536 /* We use char because int might match the return type of a gcc2
44537 builtin and then its argument prototype would still apply. */
44538 char $ac_func ();
44539 /* The GNU C library defines this for functions which it implements
44540 to always fail with ENOSYS. Some functions are actually named
44541 something starting with __ and the normal name is an alias. */
44542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44543 choke me
44544 #else
44545 char (*f) () = $ac_func;
44546 #endif
44547 #ifdef __cplusplus
44549 #endif
44552 main ()
44554 return f != $ac_func;
44556 return 0;
44558 _ACEOF
44559 rm -f conftest.$ac_objext conftest$ac_exeext
44560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44561 (eval $ac_link) 2>conftest.er1
44562 ac_status=$?
44563 grep -v '^ *+' conftest.er1 >conftest.err
44564 rm -f conftest.er1
44565 cat conftest.err >&5
44566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44567 (exit $ac_status); } &&
44568 { ac_try='test -z "$ac_c_werror_flag"
44569 || test ! -s conftest.err'
44570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44571 (eval $ac_try) 2>&5
44572 ac_status=$?
44573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44574 (exit $ac_status); }; } &&
44575 { ac_try='test -s conftest$ac_exeext'
44576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44577 (eval $ac_try) 2>&5
44578 ac_status=$?
44579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44580 (exit $ac_status); }; }; then
44581 eval "$as_ac_var=yes"
44582 else
44583 echo "$as_me: failed program was:" >&5
44584 sed 's/^/| /' conftest.$ac_ext >&5
44586 eval "$as_ac_var=no"
44588 rm -f conftest.err conftest.$ac_objext \
44589 conftest$ac_exeext conftest.$ac_ext
44591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44593 if test `eval echo '${'$as_ac_var'}'` = yes; then
44594 cat >>confdefs.h <<_ACEOF
44595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44596 _ACEOF
44599 done
44601 else
44603 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
44604 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
44605 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
44606 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
44607 echo $ECHO_N "(cached) $ECHO_C" >&6
44608 else
44612 ac_ext=cc
44613 ac_cpp='$CXXCPP $CPPFLAGS'
44614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44618 cat >conftest.$ac_ext <<_ACEOF
44619 /* confdefs.h. */
44620 _ACEOF
44621 cat confdefs.h >>conftest.$ac_ext
44622 cat >>conftest.$ac_ext <<_ACEOF
44623 /* end confdefs.h. */
44624 #include <math.h>
44626 main ()
44628 _copysign(0, 0);
44630 return 0;
44632 _ACEOF
44633 rm -f conftest.$ac_objext
44634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44635 (eval $ac_compile) 2>conftest.er1
44636 ac_status=$?
44637 grep -v '^ *+' conftest.er1 >conftest.err
44638 rm -f conftest.er1
44639 cat conftest.err >&5
44640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44641 (exit $ac_status); } &&
44642 { ac_try='test -z "$ac_cxx_werror_flag"
44643 || test ! -s conftest.err'
44644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44645 (eval $ac_try) 2>&5
44646 ac_status=$?
44647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44648 (exit $ac_status); }; } &&
44649 { ac_try='test -s conftest.$ac_objext'
44650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44651 (eval $ac_try) 2>&5
44652 ac_status=$?
44653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44654 (exit $ac_status); }; }; then
44655 glibcxx_cv_func__copysign_use=yes
44656 else
44657 echo "$as_me: failed program was:" >&5
44658 sed 's/^/| /' conftest.$ac_ext >&5
44660 glibcxx_cv_func__copysign_use=no
44662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44663 ac_ext=c
44664 ac_cpp='$CPP $CPPFLAGS'
44665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44673 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
44674 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
44676 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
44678 for ac_func in _copysign
44680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44681 echo "$as_me:$LINENO: checking for $ac_func" >&5
44682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44683 if eval "test \"\${$as_ac_var+set}\" = set"; then
44684 echo $ECHO_N "(cached) $ECHO_C" >&6
44685 else
44686 if test x$gcc_no_link = xyes; then
44687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44689 { (exit 1); exit 1; }; }
44691 cat >conftest.$ac_ext <<_ACEOF
44692 /* confdefs.h. */
44693 _ACEOF
44694 cat confdefs.h >>conftest.$ac_ext
44695 cat >>conftest.$ac_ext <<_ACEOF
44696 /* end confdefs.h. */
44697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44699 #define $ac_func innocuous_$ac_func
44701 /* System header to define __stub macros and hopefully few prototypes,
44702 which can conflict with char $ac_func (); below.
44703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44704 <limits.h> exists even on freestanding compilers. */
44706 #ifdef __STDC__
44707 # include <limits.h>
44708 #else
44709 # include <assert.h>
44710 #endif
44712 #undef $ac_func
44714 /* Override any gcc2 internal prototype to avoid an error. */
44715 #ifdef __cplusplus
44716 extern "C"
44718 #endif
44719 /* We use char because int might match the return type of a gcc2
44720 builtin and then its argument prototype would still apply. */
44721 char $ac_func ();
44722 /* The GNU C library defines this for functions which it implements
44723 to always fail with ENOSYS. Some functions are actually named
44724 something starting with __ and the normal name is an alias. */
44725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44726 choke me
44727 #else
44728 char (*f) () = $ac_func;
44729 #endif
44730 #ifdef __cplusplus
44732 #endif
44735 main ()
44737 return f != $ac_func;
44739 return 0;
44741 _ACEOF
44742 rm -f conftest.$ac_objext conftest$ac_exeext
44743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44744 (eval $ac_link) 2>conftest.er1
44745 ac_status=$?
44746 grep -v '^ *+' conftest.er1 >conftest.err
44747 rm -f conftest.er1
44748 cat conftest.err >&5
44749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44750 (exit $ac_status); } &&
44751 { ac_try='test -z "$ac_c_werror_flag"
44752 || test ! -s conftest.err'
44753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44754 (eval $ac_try) 2>&5
44755 ac_status=$?
44756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44757 (exit $ac_status); }; } &&
44758 { ac_try='test -s conftest$ac_exeext'
44759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44760 (eval $ac_try) 2>&5
44761 ac_status=$?
44762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44763 (exit $ac_status); }; }; then
44764 eval "$as_ac_var=yes"
44765 else
44766 echo "$as_me: failed program was:" >&5
44767 sed 's/^/| /' conftest.$ac_ext >&5
44769 eval "$as_ac_var=no"
44771 rm -f conftest.err conftest.$ac_objext \
44772 conftest$ac_exeext conftest.$ac_ext
44774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44776 if test `eval echo '${'$as_ac_var'}'` = yes; then
44777 cat >>confdefs.h <<_ACEOF
44778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44779 _ACEOF
44782 done
44792 echo "$as_me:$LINENO: checking for sincos declaration" >&5
44793 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
44794 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
44795 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
44796 echo $ECHO_N "(cached) $ECHO_C" >&6
44797 else
44801 ac_ext=cc
44802 ac_cpp='$CXXCPP $CPPFLAGS'
44803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44807 cat >conftest.$ac_ext <<_ACEOF
44808 /* confdefs.h. */
44809 _ACEOF
44810 cat confdefs.h >>conftest.$ac_ext
44811 cat >>conftest.$ac_ext <<_ACEOF
44812 /* end confdefs.h. */
44813 #include <math.h>
44815 main ()
44817 sincos(0, 0, 0);
44819 return 0;
44821 _ACEOF
44822 rm -f conftest.$ac_objext
44823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44824 (eval $ac_compile) 2>conftest.er1
44825 ac_status=$?
44826 grep -v '^ *+' conftest.er1 >conftest.err
44827 rm -f conftest.er1
44828 cat conftest.err >&5
44829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44830 (exit $ac_status); } &&
44831 { ac_try='test -z "$ac_cxx_werror_flag"
44832 || test ! -s conftest.err'
44833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44834 (eval $ac_try) 2>&5
44835 ac_status=$?
44836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44837 (exit $ac_status); }; } &&
44838 { ac_try='test -s conftest.$ac_objext'
44839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44840 (eval $ac_try) 2>&5
44841 ac_status=$?
44842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44843 (exit $ac_status); }; }; then
44844 glibcxx_cv_func_sincos_use=yes
44845 else
44846 echo "$as_me: failed program was:" >&5
44847 sed 's/^/| /' conftest.$ac_ext >&5
44849 glibcxx_cv_func_sincos_use=no
44851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44852 ac_ext=c
44853 ac_cpp='$CPP $CPPFLAGS'
44854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44862 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
44863 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
44865 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
44867 for ac_func in sincos
44869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44870 echo "$as_me:$LINENO: checking for $ac_func" >&5
44871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44872 if eval "test \"\${$as_ac_var+set}\" = set"; then
44873 echo $ECHO_N "(cached) $ECHO_C" >&6
44874 else
44875 if test x$gcc_no_link = xyes; then
44876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44878 { (exit 1); exit 1; }; }
44880 cat >conftest.$ac_ext <<_ACEOF
44881 /* confdefs.h. */
44882 _ACEOF
44883 cat confdefs.h >>conftest.$ac_ext
44884 cat >>conftest.$ac_ext <<_ACEOF
44885 /* end confdefs.h. */
44886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44888 #define $ac_func innocuous_$ac_func
44890 /* System header to define __stub macros and hopefully few prototypes,
44891 which can conflict with char $ac_func (); below.
44892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44893 <limits.h> exists even on freestanding compilers. */
44895 #ifdef __STDC__
44896 # include <limits.h>
44897 #else
44898 # include <assert.h>
44899 #endif
44901 #undef $ac_func
44903 /* Override any gcc2 internal prototype to avoid an error. */
44904 #ifdef __cplusplus
44905 extern "C"
44907 #endif
44908 /* We use char because int might match the return type of a gcc2
44909 builtin and then its argument prototype would still apply. */
44910 char $ac_func ();
44911 /* The GNU C library defines this for functions which it implements
44912 to always fail with ENOSYS. Some functions are actually named
44913 something starting with __ and the normal name is an alias. */
44914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44915 choke me
44916 #else
44917 char (*f) () = $ac_func;
44918 #endif
44919 #ifdef __cplusplus
44921 #endif
44924 main ()
44926 return f != $ac_func;
44928 return 0;
44930 _ACEOF
44931 rm -f conftest.$ac_objext conftest$ac_exeext
44932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44933 (eval $ac_link) 2>conftest.er1
44934 ac_status=$?
44935 grep -v '^ *+' conftest.er1 >conftest.err
44936 rm -f conftest.er1
44937 cat conftest.err >&5
44938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44939 (exit $ac_status); } &&
44940 { ac_try='test -z "$ac_c_werror_flag"
44941 || test ! -s conftest.err'
44942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44943 (eval $ac_try) 2>&5
44944 ac_status=$?
44945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44946 (exit $ac_status); }; } &&
44947 { ac_try='test -s conftest$ac_exeext'
44948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44949 (eval $ac_try) 2>&5
44950 ac_status=$?
44951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44952 (exit $ac_status); }; }; then
44953 eval "$as_ac_var=yes"
44954 else
44955 echo "$as_me: failed program was:" >&5
44956 sed 's/^/| /' conftest.$ac_ext >&5
44958 eval "$as_ac_var=no"
44960 rm -f conftest.err conftest.$ac_objext \
44961 conftest$ac_exeext conftest.$ac_ext
44963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44965 if test `eval echo '${'$as_ac_var'}'` = yes; then
44966 cat >>confdefs.h <<_ACEOF
44967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44968 _ACEOF
44971 done
44973 else
44975 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
44976 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
44977 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
44978 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
44979 echo $ECHO_N "(cached) $ECHO_C" >&6
44980 else
44984 ac_ext=cc
44985 ac_cpp='$CXXCPP $CPPFLAGS'
44986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44990 cat >conftest.$ac_ext <<_ACEOF
44991 /* confdefs.h. */
44992 _ACEOF
44993 cat confdefs.h >>conftest.$ac_ext
44994 cat >>conftest.$ac_ext <<_ACEOF
44995 /* end confdefs.h. */
44996 #include <math.h>
44998 main ()
45000 _sincos(0, 0, 0);
45002 return 0;
45004 _ACEOF
45005 rm -f conftest.$ac_objext
45006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45007 (eval $ac_compile) 2>conftest.er1
45008 ac_status=$?
45009 grep -v '^ *+' conftest.er1 >conftest.err
45010 rm -f conftest.er1
45011 cat conftest.err >&5
45012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45013 (exit $ac_status); } &&
45014 { ac_try='test -z "$ac_cxx_werror_flag"
45015 || test ! -s conftest.err'
45016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45017 (eval $ac_try) 2>&5
45018 ac_status=$?
45019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45020 (exit $ac_status); }; } &&
45021 { ac_try='test -s conftest.$ac_objext'
45022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45023 (eval $ac_try) 2>&5
45024 ac_status=$?
45025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45026 (exit $ac_status); }; }; then
45027 glibcxx_cv_func__sincos_use=yes
45028 else
45029 echo "$as_me: failed program was:" >&5
45030 sed 's/^/| /' conftest.$ac_ext >&5
45032 glibcxx_cv_func__sincos_use=no
45034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45035 ac_ext=c
45036 ac_cpp='$CPP $CPPFLAGS'
45037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45045 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
45046 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
45048 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45050 for ac_func in _sincos
45052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45053 echo "$as_me:$LINENO: checking for $ac_func" >&5
45054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45055 if eval "test \"\${$as_ac_var+set}\" = set"; then
45056 echo $ECHO_N "(cached) $ECHO_C" >&6
45057 else
45058 if test x$gcc_no_link = xyes; then
45059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45061 { (exit 1); exit 1; }; }
45063 cat >conftest.$ac_ext <<_ACEOF
45064 /* confdefs.h. */
45065 _ACEOF
45066 cat confdefs.h >>conftest.$ac_ext
45067 cat >>conftest.$ac_ext <<_ACEOF
45068 /* end confdefs.h. */
45069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45071 #define $ac_func innocuous_$ac_func
45073 /* System header to define __stub macros and hopefully few prototypes,
45074 which can conflict with char $ac_func (); below.
45075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45076 <limits.h> exists even on freestanding compilers. */
45078 #ifdef __STDC__
45079 # include <limits.h>
45080 #else
45081 # include <assert.h>
45082 #endif
45084 #undef $ac_func
45086 /* Override any gcc2 internal prototype to avoid an error. */
45087 #ifdef __cplusplus
45088 extern "C"
45090 #endif
45091 /* We use char because int might match the return type of a gcc2
45092 builtin and then its argument prototype would still apply. */
45093 char $ac_func ();
45094 /* The GNU C library defines this for functions which it implements
45095 to always fail with ENOSYS. Some functions are actually named
45096 something starting with __ and the normal name is an alias. */
45097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45098 choke me
45099 #else
45100 char (*f) () = $ac_func;
45101 #endif
45102 #ifdef __cplusplus
45104 #endif
45107 main ()
45109 return f != $ac_func;
45111 return 0;
45113 _ACEOF
45114 rm -f conftest.$ac_objext conftest$ac_exeext
45115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45116 (eval $ac_link) 2>conftest.er1
45117 ac_status=$?
45118 grep -v '^ *+' conftest.er1 >conftest.err
45119 rm -f conftest.er1
45120 cat conftest.err >&5
45121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45122 (exit $ac_status); } &&
45123 { ac_try='test -z "$ac_c_werror_flag"
45124 || test ! -s conftest.err'
45125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45126 (eval $ac_try) 2>&5
45127 ac_status=$?
45128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45129 (exit $ac_status); }; } &&
45130 { ac_try='test -s conftest$ac_exeext'
45131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45132 (eval $ac_try) 2>&5
45133 ac_status=$?
45134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45135 (exit $ac_status); }; }; then
45136 eval "$as_ac_var=yes"
45137 else
45138 echo "$as_me: failed program was:" >&5
45139 sed 's/^/| /' conftest.$ac_ext >&5
45141 eval "$as_ac_var=no"
45143 rm -f conftest.err conftest.$ac_objext \
45144 conftest$ac_exeext conftest.$ac_ext
45146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45148 if test `eval echo '${'$as_ac_var'}'` = yes; then
45149 cat >>confdefs.h <<_ACEOF
45150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45151 _ACEOF
45154 done
45164 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45165 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45166 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45167 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45168 echo $ECHO_N "(cached) $ECHO_C" >&6
45169 else
45173 ac_ext=cc
45174 ac_cpp='$CXXCPP $CPPFLAGS'
45175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45179 cat >conftest.$ac_ext <<_ACEOF
45180 /* confdefs.h. */
45181 _ACEOF
45182 cat confdefs.h >>conftest.$ac_ext
45183 cat >>conftest.$ac_ext <<_ACEOF
45184 /* end confdefs.h. */
45185 #include <math.h>
45186 #ifdef HAVE_IEEEFP_H
45187 #include <ieeefp.h>
45188 #endif
45191 main ()
45193 fpclass(0);
45195 return 0;
45197 _ACEOF
45198 rm -f conftest.$ac_objext
45199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45200 (eval $ac_compile) 2>conftest.er1
45201 ac_status=$?
45202 grep -v '^ *+' conftest.er1 >conftest.err
45203 rm -f conftest.er1
45204 cat conftest.err >&5
45205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45206 (exit $ac_status); } &&
45207 { ac_try='test -z "$ac_cxx_werror_flag"
45208 || test ! -s conftest.err'
45209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45210 (eval $ac_try) 2>&5
45211 ac_status=$?
45212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45213 (exit $ac_status); }; } &&
45214 { ac_try='test -s conftest.$ac_objext'
45215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45216 (eval $ac_try) 2>&5
45217 ac_status=$?
45218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45219 (exit $ac_status); }; }; then
45220 glibcxx_cv_func_fpclass_use=yes
45221 else
45222 echo "$as_me: failed program was:" >&5
45223 sed 's/^/| /' conftest.$ac_ext >&5
45225 glibcxx_cv_func_fpclass_use=no
45227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45228 ac_ext=c
45229 ac_cpp='$CPP $CPPFLAGS'
45230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45238 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
45239 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
45241 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45243 for ac_func in fpclass
45245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45246 echo "$as_me:$LINENO: checking for $ac_func" >&5
45247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45248 if eval "test \"\${$as_ac_var+set}\" = set"; then
45249 echo $ECHO_N "(cached) $ECHO_C" >&6
45250 else
45251 if test x$gcc_no_link = xyes; then
45252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45254 { (exit 1); exit 1; }; }
45256 cat >conftest.$ac_ext <<_ACEOF
45257 /* confdefs.h. */
45258 _ACEOF
45259 cat confdefs.h >>conftest.$ac_ext
45260 cat >>conftest.$ac_ext <<_ACEOF
45261 /* end confdefs.h. */
45262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45264 #define $ac_func innocuous_$ac_func
45266 /* System header to define __stub macros and hopefully few prototypes,
45267 which can conflict with char $ac_func (); below.
45268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45269 <limits.h> exists even on freestanding compilers. */
45271 #ifdef __STDC__
45272 # include <limits.h>
45273 #else
45274 # include <assert.h>
45275 #endif
45277 #undef $ac_func
45279 /* Override any gcc2 internal prototype to avoid an error. */
45280 #ifdef __cplusplus
45281 extern "C"
45283 #endif
45284 /* We use char because int might match the return type of a gcc2
45285 builtin and then its argument prototype would still apply. */
45286 char $ac_func ();
45287 /* The GNU C library defines this for functions which it implements
45288 to always fail with ENOSYS. Some functions are actually named
45289 something starting with __ and the normal name is an alias. */
45290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45291 choke me
45292 #else
45293 char (*f) () = $ac_func;
45294 #endif
45295 #ifdef __cplusplus
45297 #endif
45300 main ()
45302 return f != $ac_func;
45304 return 0;
45306 _ACEOF
45307 rm -f conftest.$ac_objext conftest$ac_exeext
45308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45309 (eval $ac_link) 2>conftest.er1
45310 ac_status=$?
45311 grep -v '^ *+' conftest.er1 >conftest.err
45312 rm -f conftest.er1
45313 cat conftest.err >&5
45314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45315 (exit $ac_status); } &&
45316 { ac_try='test -z "$ac_c_werror_flag"
45317 || test ! -s conftest.err'
45318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45319 (eval $ac_try) 2>&5
45320 ac_status=$?
45321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45322 (exit $ac_status); }; } &&
45323 { ac_try='test -s conftest$ac_exeext'
45324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45325 (eval $ac_try) 2>&5
45326 ac_status=$?
45327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45328 (exit $ac_status); }; }; then
45329 eval "$as_ac_var=yes"
45330 else
45331 echo "$as_me: failed program was:" >&5
45332 sed 's/^/| /' conftest.$ac_ext >&5
45334 eval "$as_ac_var=no"
45336 rm -f conftest.err conftest.$ac_objext \
45337 conftest$ac_exeext conftest.$ac_ext
45339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45341 if test `eval echo '${'$as_ac_var'}'` = yes; then
45342 cat >>confdefs.h <<_ACEOF
45343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45344 _ACEOF
45347 done
45349 else
45351 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
45352 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
45353 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45354 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
45355 echo $ECHO_N "(cached) $ECHO_C" >&6
45356 else
45360 ac_ext=cc
45361 ac_cpp='$CXXCPP $CPPFLAGS'
45362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45366 cat >conftest.$ac_ext <<_ACEOF
45367 /* confdefs.h. */
45368 _ACEOF
45369 cat confdefs.h >>conftest.$ac_ext
45370 cat >>conftest.$ac_ext <<_ACEOF
45371 /* end confdefs.h. */
45372 #include <math.h>
45373 #ifdef HAVE_IEEEFP_H
45374 #include <ieeefp.h>
45375 #endif
45378 main ()
45380 _fpclass(0);
45382 return 0;
45384 _ACEOF
45385 rm -f conftest.$ac_objext
45386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45387 (eval $ac_compile) 2>conftest.er1
45388 ac_status=$?
45389 grep -v '^ *+' conftest.er1 >conftest.err
45390 rm -f conftest.er1
45391 cat conftest.err >&5
45392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45393 (exit $ac_status); } &&
45394 { ac_try='test -z "$ac_cxx_werror_flag"
45395 || test ! -s conftest.err'
45396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45397 (eval $ac_try) 2>&5
45398 ac_status=$?
45399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45400 (exit $ac_status); }; } &&
45401 { ac_try='test -s conftest.$ac_objext'
45402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45403 (eval $ac_try) 2>&5
45404 ac_status=$?
45405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45406 (exit $ac_status); }; }; then
45407 glibcxx_cv_func__fpclass_use=yes
45408 else
45409 echo "$as_me: failed program was:" >&5
45410 sed 's/^/| /' conftest.$ac_ext >&5
45412 glibcxx_cv_func__fpclass_use=no
45414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45415 ac_ext=c
45416 ac_cpp='$CPP $CPPFLAGS'
45417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45425 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
45426 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
45428 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45430 for ac_func in _fpclass
45432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45433 echo "$as_me:$LINENO: checking for $ac_func" >&5
45434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45435 if eval "test \"\${$as_ac_var+set}\" = set"; then
45436 echo $ECHO_N "(cached) $ECHO_C" >&6
45437 else
45438 if test x$gcc_no_link = xyes; then
45439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45441 { (exit 1); exit 1; }; }
45443 cat >conftest.$ac_ext <<_ACEOF
45444 /* confdefs.h. */
45445 _ACEOF
45446 cat confdefs.h >>conftest.$ac_ext
45447 cat >>conftest.$ac_ext <<_ACEOF
45448 /* end confdefs.h. */
45449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45451 #define $ac_func innocuous_$ac_func
45453 /* System header to define __stub macros and hopefully few prototypes,
45454 which can conflict with char $ac_func (); below.
45455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45456 <limits.h> exists even on freestanding compilers. */
45458 #ifdef __STDC__
45459 # include <limits.h>
45460 #else
45461 # include <assert.h>
45462 #endif
45464 #undef $ac_func
45466 /* Override any gcc2 internal prototype to avoid an error. */
45467 #ifdef __cplusplus
45468 extern "C"
45470 #endif
45471 /* We use char because int might match the return type of a gcc2
45472 builtin and then its argument prototype would still apply. */
45473 char $ac_func ();
45474 /* The GNU C library defines this for functions which it implements
45475 to always fail with ENOSYS. Some functions are actually named
45476 something starting with __ and the normal name is an alias. */
45477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45478 choke me
45479 #else
45480 char (*f) () = $ac_func;
45481 #endif
45482 #ifdef __cplusplus
45484 #endif
45487 main ()
45489 return f != $ac_func;
45491 return 0;
45493 _ACEOF
45494 rm -f conftest.$ac_objext conftest$ac_exeext
45495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45496 (eval $ac_link) 2>conftest.er1
45497 ac_status=$?
45498 grep -v '^ *+' conftest.er1 >conftest.err
45499 rm -f conftest.er1
45500 cat conftest.err >&5
45501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45502 (exit $ac_status); } &&
45503 { ac_try='test -z "$ac_c_werror_flag"
45504 || test ! -s conftest.err'
45505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45506 (eval $ac_try) 2>&5
45507 ac_status=$?
45508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45509 (exit $ac_status); }; } &&
45510 { ac_try='test -s conftest$ac_exeext'
45511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45512 (eval $ac_try) 2>&5
45513 ac_status=$?
45514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45515 (exit $ac_status); }; }; then
45516 eval "$as_ac_var=yes"
45517 else
45518 echo "$as_me: failed program was:" >&5
45519 sed 's/^/| /' conftest.$ac_ext >&5
45521 eval "$as_ac_var=no"
45523 rm -f conftest.err conftest.$ac_objext \
45524 conftest$ac_exeext conftest.$ac_ext
45526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45528 if test `eval echo '${'$as_ac_var'}'` = yes; then
45529 cat >>confdefs.h <<_ACEOF
45530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45531 _ACEOF
45534 done
45544 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
45545 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
45546 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45547 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
45548 echo $ECHO_N "(cached) $ECHO_C" >&6
45549 else
45553 ac_ext=cc
45554 ac_cpp='$CXXCPP $CPPFLAGS'
45555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45559 cat >conftest.$ac_ext <<_ACEOF
45560 /* confdefs.h. */
45561 _ACEOF
45562 cat confdefs.h >>conftest.$ac_ext
45563 cat >>conftest.$ac_ext <<_ACEOF
45564 /* end confdefs.h. */
45565 #include <math.h>
45566 #ifdef HAVE_IEEEFP_H
45567 #include <ieeefp.h>
45568 #endif
45571 main ()
45573 qfpclass(0);
45575 return 0;
45577 _ACEOF
45578 rm -f conftest.$ac_objext
45579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45580 (eval $ac_compile) 2>conftest.er1
45581 ac_status=$?
45582 grep -v '^ *+' conftest.er1 >conftest.err
45583 rm -f conftest.er1
45584 cat conftest.err >&5
45585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45586 (exit $ac_status); } &&
45587 { ac_try='test -z "$ac_cxx_werror_flag"
45588 || test ! -s conftest.err'
45589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45590 (eval $ac_try) 2>&5
45591 ac_status=$?
45592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45593 (exit $ac_status); }; } &&
45594 { ac_try='test -s conftest.$ac_objext'
45595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45596 (eval $ac_try) 2>&5
45597 ac_status=$?
45598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45599 (exit $ac_status); }; }; then
45600 glibcxx_cv_func_qfpclass_use=yes
45601 else
45602 echo "$as_me: failed program was:" >&5
45603 sed 's/^/| /' conftest.$ac_ext >&5
45605 glibcxx_cv_func_qfpclass_use=no
45607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45608 ac_ext=c
45609 ac_cpp='$CPP $CPPFLAGS'
45610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
45619 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
45621 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45623 for ac_func in qfpclass
45625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45626 echo "$as_me:$LINENO: checking for $ac_func" >&5
45627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45628 if eval "test \"\${$as_ac_var+set}\" = set"; then
45629 echo $ECHO_N "(cached) $ECHO_C" >&6
45630 else
45631 if test x$gcc_no_link = xyes; then
45632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45634 { (exit 1); exit 1; }; }
45636 cat >conftest.$ac_ext <<_ACEOF
45637 /* confdefs.h. */
45638 _ACEOF
45639 cat confdefs.h >>conftest.$ac_ext
45640 cat >>conftest.$ac_ext <<_ACEOF
45641 /* end confdefs.h. */
45642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45644 #define $ac_func innocuous_$ac_func
45646 /* System header to define __stub macros and hopefully few prototypes,
45647 which can conflict with char $ac_func (); below.
45648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45649 <limits.h> exists even on freestanding compilers. */
45651 #ifdef __STDC__
45652 # include <limits.h>
45653 #else
45654 # include <assert.h>
45655 #endif
45657 #undef $ac_func
45659 /* Override any gcc2 internal prototype to avoid an error. */
45660 #ifdef __cplusplus
45661 extern "C"
45663 #endif
45664 /* We use char because int might match the return type of a gcc2
45665 builtin and then its argument prototype would still apply. */
45666 char $ac_func ();
45667 /* The GNU C library defines this for functions which it implements
45668 to always fail with ENOSYS. Some functions are actually named
45669 something starting with __ and the normal name is an alias. */
45670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45671 choke me
45672 #else
45673 char (*f) () = $ac_func;
45674 #endif
45675 #ifdef __cplusplus
45677 #endif
45680 main ()
45682 return f != $ac_func;
45684 return 0;
45686 _ACEOF
45687 rm -f conftest.$ac_objext conftest$ac_exeext
45688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45689 (eval $ac_link) 2>conftest.er1
45690 ac_status=$?
45691 grep -v '^ *+' conftest.er1 >conftest.err
45692 rm -f conftest.er1
45693 cat conftest.err >&5
45694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45695 (exit $ac_status); } &&
45696 { ac_try='test -z "$ac_c_werror_flag"
45697 || test ! -s conftest.err'
45698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45699 (eval $ac_try) 2>&5
45700 ac_status=$?
45701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45702 (exit $ac_status); }; } &&
45703 { ac_try='test -s conftest$ac_exeext'
45704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45705 (eval $ac_try) 2>&5
45706 ac_status=$?
45707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45708 (exit $ac_status); }; }; then
45709 eval "$as_ac_var=yes"
45710 else
45711 echo "$as_me: failed program was:" >&5
45712 sed 's/^/| /' conftest.$ac_ext >&5
45714 eval "$as_ac_var=no"
45716 rm -f conftest.err conftest.$ac_objext \
45717 conftest$ac_exeext conftest.$ac_ext
45719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45721 if test `eval echo '${'$as_ac_var'}'` = yes; then
45722 cat >>confdefs.h <<_ACEOF
45723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45724 _ACEOF
45727 done
45729 else
45731 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
45732 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
45733 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45734 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
45735 echo $ECHO_N "(cached) $ECHO_C" >&6
45736 else
45740 ac_ext=cc
45741 ac_cpp='$CXXCPP $CPPFLAGS'
45742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45746 cat >conftest.$ac_ext <<_ACEOF
45747 /* confdefs.h. */
45748 _ACEOF
45749 cat confdefs.h >>conftest.$ac_ext
45750 cat >>conftest.$ac_ext <<_ACEOF
45751 /* end confdefs.h. */
45752 #include <math.h>
45753 #ifdef HAVE_IEEEFP_H
45754 #include <ieeefp.h>
45755 #endif
45758 main ()
45760 _qfpclass(0);
45762 return 0;
45764 _ACEOF
45765 rm -f conftest.$ac_objext
45766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45767 (eval $ac_compile) 2>conftest.er1
45768 ac_status=$?
45769 grep -v '^ *+' conftest.er1 >conftest.err
45770 rm -f conftest.er1
45771 cat conftest.err >&5
45772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45773 (exit $ac_status); } &&
45774 { ac_try='test -z "$ac_cxx_werror_flag"
45775 || test ! -s conftest.err'
45776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45777 (eval $ac_try) 2>&5
45778 ac_status=$?
45779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45780 (exit $ac_status); }; } &&
45781 { ac_try='test -s conftest.$ac_objext'
45782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45783 (eval $ac_try) 2>&5
45784 ac_status=$?
45785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45786 (exit $ac_status); }; }; then
45787 glibcxx_cv_func__qfpclass_use=yes
45788 else
45789 echo "$as_me: failed program was:" >&5
45790 sed 's/^/| /' conftest.$ac_ext >&5
45792 glibcxx_cv_func__qfpclass_use=no
45794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45795 ac_ext=c
45796 ac_cpp='$CPP $CPPFLAGS'
45797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45805 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
45806 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
45808 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45810 for ac_func in _qfpclass
45812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45813 echo "$as_me:$LINENO: checking for $ac_func" >&5
45814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45815 if eval "test \"\${$as_ac_var+set}\" = set"; then
45816 echo $ECHO_N "(cached) $ECHO_C" >&6
45817 else
45818 if test x$gcc_no_link = xyes; then
45819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45821 { (exit 1); exit 1; }; }
45823 cat >conftest.$ac_ext <<_ACEOF
45824 /* confdefs.h. */
45825 _ACEOF
45826 cat confdefs.h >>conftest.$ac_ext
45827 cat >>conftest.$ac_ext <<_ACEOF
45828 /* end confdefs.h. */
45829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45831 #define $ac_func innocuous_$ac_func
45833 /* System header to define __stub macros and hopefully few prototypes,
45834 which can conflict with char $ac_func (); below.
45835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45836 <limits.h> exists even on freestanding compilers. */
45838 #ifdef __STDC__
45839 # include <limits.h>
45840 #else
45841 # include <assert.h>
45842 #endif
45844 #undef $ac_func
45846 /* Override any gcc2 internal prototype to avoid an error. */
45847 #ifdef __cplusplus
45848 extern "C"
45850 #endif
45851 /* We use char because int might match the return type of a gcc2
45852 builtin and then its argument prototype would still apply. */
45853 char $ac_func ();
45854 /* The GNU C library defines this for functions which it implements
45855 to always fail with ENOSYS. Some functions are actually named
45856 something starting with __ and the normal name is an alias. */
45857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45858 choke me
45859 #else
45860 char (*f) () = $ac_func;
45861 #endif
45862 #ifdef __cplusplus
45864 #endif
45867 main ()
45869 return f != $ac_func;
45871 return 0;
45873 _ACEOF
45874 rm -f conftest.$ac_objext conftest$ac_exeext
45875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45876 (eval $ac_link) 2>conftest.er1
45877 ac_status=$?
45878 grep -v '^ *+' conftest.er1 >conftest.err
45879 rm -f conftest.er1
45880 cat conftest.err >&5
45881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45882 (exit $ac_status); } &&
45883 { ac_try='test -z "$ac_c_werror_flag"
45884 || test ! -s conftest.err'
45885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45886 (eval $ac_try) 2>&5
45887 ac_status=$?
45888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45889 (exit $ac_status); }; } &&
45890 { ac_try='test -s conftest$ac_exeext'
45891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45892 (eval $ac_try) 2>&5
45893 ac_status=$?
45894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45895 (exit $ac_status); }; }; then
45896 eval "$as_ac_var=yes"
45897 else
45898 echo "$as_me: failed program was:" >&5
45899 sed 's/^/| /' conftest.$ac_ext >&5
45901 eval "$as_ac_var=no"
45903 rm -f conftest.err conftest.$ac_objext \
45904 conftest$ac_exeext conftest.$ac_ext
45906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45908 if test `eval echo '${'$as_ac_var'}'` = yes; then
45909 cat >>confdefs.h <<_ACEOF
45910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45911 _ACEOF
45914 done
45924 echo "$as_me:$LINENO: checking for hypot declaration" >&5
45925 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
45926 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45927 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
45928 echo $ECHO_N "(cached) $ECHO_C" >&6
45929 else
45933 ac_ext=cc
45934 ac_cpp='$CXXCPP $CPPFLAGS'
45935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45939 cat >conftest.$ac_ext <<_ACEOF
45940 /* confdefs.h. */
45941 _ACEOF
45942 cat confdefs.h >>conftest.$ac_ext
45943 cat >>conftest.$ac_ext <<_ACEOF
45944 /* end confdefs.h. */
45945 #include <math.h>
45947 main ()
45949 hypot(0, 0);
45951 return 0;
45953 _ACEOF
45954 rm -f conftest.$ac_objext
45955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45956 (eval $ac_compile) 2>conftest.er1
45957 ac_status=$?
45958 grep -v '^ *+' conftest.er1 >conftest.err
45959 rm -f conftest.er1
45960 cat conftest.err >&5
45961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45962 (exit $ac_status); } &&
45963 { ac_try='test -z "$ac_cxx_werror_flag"
45964 || test ! -s conftest.err'
45965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45966 (eval $ac_try) 2>&5
45967 ac_status=$?
45968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45969 (exit $ac_status); }; } &&
45970 { ac_try='test -s conftest.$ac_objext'
45971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45972 (eval $ac_try) 2>&5
45973 ac_status=$?
45974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45975 (exit $ac_status); }; }; then
45976 glibcxx_cv_func_hypot_use=yes
45977 else
45978 echo "$as_me: failed program was:" >&5
45979 sed 's/^/| /' conftest.$ac_ext >&5
45981 glibcxx_cv_func_hypot_use=no
45983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45984 ac_ext=c
45985 ac_cpp='$CPP $CPPFLAGS'
45986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45994 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
45995 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
45997 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45999 for ac_func in hypot
46001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46002 echo "$as_me:$LINENO: checking for $ac_func" >&5
46003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46004 if eval "test \"\${$as_ac_var+set}\" = set"; then
46005 echo $ECHO_N "(cached) $ECHO_C" >&6
46006 else
46007 if test x$gcc_no_link = xyes; then
46008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46010 { (exit 1); exit 1; }; }
46012 cat >conftest.$ac_ext <<_ACEOF
46013 /* confdefs.h. */
46014 _ACEOF
46015 cat confdefs.h >>conftest.$ac_ext
46016 cat >>conftest.$ac_ext <<_ACEOF
46017 /* end confdefs.h. */
46018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46020 #define $ac_func innocuous_$ac_func
46022 /* System header to define __stub macros and hopefully few prototypes,
46023 which can conflict with char $ac_func (); below.
46024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46025 <limits.h> exists even on freestanding compilers. */
46027 #ifdef __STDC__
46028 # include <limits.h>
46029 #else
46030 # include <assert.h>
46031 #endif
46033 #undef $ac_func
46035 /* Override any gcc2 internal prototype to avoid an error. */
46036 #ifdef __cplusplus
46037 extern "C"
46039 #endif
46040 /* We use char because int might match the return type of a gcc2
46041 builtin and then its argument prototype would still apply. */
46042 char $ac_func ();
46043 /* The GNU C library defines this for functions which it implements
46044 to always fail with ENOSYS. Some functions are actually named
46045 something starting with __ and the normal name is an alias. */
46046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46047 choke me
46048 #else
46049 char (*f) () = $ac_func;
46050 #endif
46051 #ifdef __cplusplus
46053 #endif
46056 main ()
46058 return f != $ac_func;
46060 return 0;
46062 _ACEOF
46063 rm -f conftest.$ac_objext conftest$ac_exeext
46064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46065 (eval $ac_link) 2>conftest.er1
46066 ac_status=$?
46067 grep -v '^ *+' conftest.er1 >conftest.err
46068 rm -f conftest.er1
46069 cat conftest.err >&5
46070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46071 (exit $ac_status); } &&
46072 { ac_try='test -z "$ac_c_werror_flag"
46073 || test ! -s conftest.err'
46074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46075 (eval $ac_try) 2>&5
46076 ac_status=$?
46077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46078 (exit $ac_status); }; } &&
46079 { ac_try='test -s conftest$ac_exeext'
46080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46081 (eval $ac_try) 2>&5
46082 ac_status=$?
46083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46084 (exit $ac_status); }; }; then
46085 eval "$as_ac_var=yes"
46086 else
46087 echo "$as_me: failed program was:" >&5
46088 sed 's/^/| /' conftest.$ac_ext >&5
46090 eval "$as_ac_var=no"
46092 rm -f conftest.err conftest.$ac_objext \
46093 conftest$ac_exeext conftest.$ac_ext
46095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46097 if test `eval echo '${'$as_ac_var'}'` = yes; then
46098 cat >>confdefs.h <<_ACEOF
46099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46100 _ACEOF
46103 done
46105 else
46107 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
46108 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
46109 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46110 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
46111 echo $ECHO_N "(cached) $ECHO_C" >&6
46112 else
46116 ac_ext=cc
46117 ac_cpp='$CXXCPP $CPPFLAGS'
46118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46122 cat >conftest.$ac_ext <<_ACEOF
46123 /* confdefs.h. */
46124 _ACEOF
46125 cat confdefs.h >>conftest.$ac_ext
46126 cat >>conftest.$ac_ext <<_ACEOF
46127 /* end confdefs.h. */
46128 #include <math.h>
46130 main ()
46132 _hypot(0, 0);
46134 return 0;
46136 _ACEOF
46137 rm -f conftest.$ac_objext
46138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46139 (eval $ac_compile) 2>conftest.er1
46140 ac_status=$?
46141 grep -v '^ *+' conftest.er1 >conftest.err
46142 rm -f conftest.er1
46143 cat conftest.err >&5
46144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46145 (exit $ac_status); } &&
46146 { ac_try='test -z "$ac_cxx_werror_flag"
46147 || test ! -s conftest.err'
46148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46149 (eval $ac_try) 2>&5
46150 ac_status=$?
46151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46152 (exit $ac_status); }; } &&
46153 { ac_try='test -s conftest.$ac_objext'
46154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46155 (eval $ac_try) 2>&5
46156 ac_status=$?
46157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46158 (exit $ac_status); }; }; then
46159 glibcxx_cv_func__hypot_use=yes
46160 else
46161 echo "$as_me: failed program was:" >&5
46162 sed 's/^/| /' conftest.$ac_ext >&5
46164 glibcxx_cv_func__hypot_use=no
46166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46167 ac_ext=c
46168 ac_cpp='$CPP $CPPFLAGS'
46169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46177 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46178 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46180 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46182 for ac_func in _hypot
46184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46185 echo "$as_me:$LINENO: checking for $ac_func" >&5
46186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46187 if eval "test \"\${$as_ac_var+set}\" = set"; then
46188 echo $ECHO_N "(cached) $ECHO_C" >&6
46189 else
46190 if test x$gcc_no_link = xyes; then
46191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46193 { (exit 1); exit 1; }; }
46195 cat >conftest.$ac_ext <<_ACEOF
46196 /* confdefs.h. */
46197 _ACEOF
46198 cat confdefs.h >>conftest.$ac_ext
46199 cat >>conftest.$ac_ext <<_ACEOF
46200 /* end confdefs.h. */
46201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46203 #define $ac_func innocuous_$ac_func
46205 /* System header to define __stub macros and hopefully few prototypes,
46206 which can conflict with char $ac_func (); below.
46207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46208 <limits.h> exists even on freestanding compilers. */
46210 #ifdef __STDC__
46211 # include <limits.h>
46212 #else
46213 # include <assert.h>
46214 #endif
46216 #undef $ac_func
46218 /* Override any gcc2 internal prototype to avoid an error. */
46219 #ifdef __cplusplus
46220 extern "C"
46222 #endif
46223 /* We use char because int might match the return type of a gcc2
46224 builtin and then its argument prototype would still apply. */
46225 char $ac_func ();
46226 /* The GNU C library defines this for functions which it implements
46227 to always fail with ENOSYS. Some functions are actually named
46228 something starting with __ and the normal name is an alias. */
46229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46230 choke me
46231 #else
46232 char (*f) () = $ac_func;
46233 #endif
46234 #ifdef __cplusplus
46236 #endif
46239 main ()
46241 return f != $ac_func;
46243 return 0;
46245 _ACEOF
46246 rm -f conftest.$ac_objext conftest$ac_exeext
46247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46248 (eval $ac_link) 2>conftest.er1
46249 ac_status=$?
46250 grep -v '^ *+' conftest.er1 >conftest.err
46251 rm -f conftest.er1
46252 cat conftest.err >&5
46253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46254 (exit $ac_status); } &&
46255 { ac_try='test -z "$ac_c_werror_flag"
46256 || test ! -s conftest.err'
46257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46258 (eval $ac_try) 2>&5
46259 ac_status=$?
46260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46261 (exit $ac_status); }; } &&
46262 { ac_try='test -s conftest$ac_exeext'
46263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46264 (eval $ac_try) 2>&5
46265 ac_status=$?
46266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46267 (exit $ac_status); }; }; then
46268 eval "$as_ac_var=yes"
46269 else
46270 echo "$as_me: failed program was:" >&5
46271 sed 's/^/| /' conftest.$ac_ext >&5
46273 eval "$as_ac_var=no"
46275 rm -f conftest.err conftest.$ac_objext \
46276 conftest$ac_exeext conftest.$ac_ext
46278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46280 if test `eval echo '${'$as_ac_var'}'` = yes; then
46281 cat >>confdefs.h <<_ACEOF
46282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46283 _ACEOF
46286 done
46296 echo "$as_me:$LINENO: checking for float trig functions" >&5
46297 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
46298 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
46299 echo $ECHO_N "(cached) $ECHO_C" >&6
46300 else
46304 ac_ext=cc
46305 ac_cpp='$CXXCPP $CPPFLAGS'
46306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46310 cat >conftest.$ac_ext <<_ACEOF
46311 /* confdefs.h. */
46312 _ACEOF
46313 cat confdefs.h >>conftest.$ac_ext
46314 cat >>conftest.$ac_ext <<_ACEOF
46315 /* end confdefs.h. */
46316 #include <math.h>
46318 main ()
46320 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46322 return 0;
46324 _ACEOF
46325 rm -f conftest.$ac_objext
46326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46327 (eval $ac_compile) 2>conftest.er1
46328 ac_status=$?
46329 grep -v '^ *+' conftest.er1 >conftest.err
46330 rm -f conftest.er1
46331 cat conftest.err >&5
46332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46333 (exit $ac_status); } &&
46334 { ac_try='test -z "$ac_cxx_werror_flag"
46335 || test ! -s conftest.err'
46336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46337 (eval $ac_try) 2>&5
46338 ac_status=$?
46339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46340 (exit $ac_status); }; } &&
46341 { ac_try='test -s conftest.$ac_objext'
46342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46343 (eval $ac_try) 2>&5
46344 ac_status=$?
46345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46346 (exit $ac_status); }; }; then
46347 glibcxx_cv_func_float_trig_use=yes
46348 else
46349 echo "$as_me: failed program was:" >&5
46350 sed 's/^/| /' conftest.$ac_ext >&5
46352 glibcxx_cv_func_float_trig_use=no
46354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46355 ac_ext=c
46356 ac_cpp='$CPP $CPPFLAGS'
46357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46363 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
46364 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
46365 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46375 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46378 echo "$as_me:$LINENO: checking for $ac_func" >&5
46379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46380 if eval "test \"\${$as_ac_var+set}\" = set"; then
46381 echo $ECHO_N "(cached) $ECHO_C" >&6
46382 else
46383 if test x$gcc_no_link = xyes; then
46384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46386 { (exit 1); exit 1; }; }
46388 cat >conftest.$ac_ext <<_ACEOF
46389 /* confdefs.h. */
46390 _ACEOF
46391 cat confdefs.h >>conftest.$ac_ext
46392 cat >>conftest.$ac_ext <<_ACEOF
46393 /* end confdefs.h. */
46394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46396 #define $ac_func innocuous_$ac_func
46398 /* System header to define __stub macros and hopefully few prototypes,
46399 which can conflict with char $ac_func (); below.
46400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46401 <limits.h> exists even on freestanding compilers. */
46403 #ifdef __STDC__
46404 # include <limits.h>
46405 #else
46406 # include <assert.h>
46407 #endif
46409 #undef $ac_func
46411 /* Override any gcc2 internal prototype to avoid an error. */
46412 #ifdef __cplusplus
46413 extern "C"
46415 #endif
46416 /* We use char because int might match the return type of a gcc2
46417 builtin and then its argument prototype would still apply. */
46418 char $ac_func ();
46419 /* The GNU C library defines this for functions which it implements
46420 to always fail with ENOSYS. Some functions are actually named
46421 something starting with __ and the normal name is an alias. */
46422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46423 choke me
46424 #else
46425 char (*f) () = $ac_func;
46426 #endif
46427 #ifdef __cplusplus
46429 #endif
46432 main ()
46434 return f != $ac_func;
46436 return 0;
46438 _ACEOF
46439 rm -f conftest.$ac_objext conftest$ac_exeext
46440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46441 (eval $ac_link) 2>conftest.er1
46442 ac_status=$?
46443 grep -v '^ *+' conftest.er1 >conftest.err
46444 rm -f conftest.er1
46445 cat conftest.err >&5
46446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46447 (exit $ac_status); } &&
46448 { ac_try='test -z "$ac_c_werror_flag"
46449 || test ! -s conftest.err'
46450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46451 (eval $ac_try) 2>&5
46452 ac_status=$?
46453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46454 (exit $ac_status); }; } &&
46455 { ac_try='test -s conftest$ac_exeext'
46456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46457 (eval $ac_try) 2>&5
46458 ac_status=$?
46459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46460 (exit $ac_status); }; }; then
46461 eval "$as_ac_var=yes"
46462 else
46463 echo "$as_me: failed program was:" >&5
46464 sed 's/^/| /' conftest.$ac_ext >&5
46466 eval "$as_ac_var=no"
46468 rm -f conftest.err conftest.$ac_objext \
46469 conftest$ac_exeext conftest.$ac_ext
46471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46473 if test `eval echo '${'$as_ac_var'}'` = yes; then
46474 cat >>confdefs.h <<_ACEOF
46475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46476 _ACEOF
46479 done
46481 else
46482 echo "$as_me:$LINENO: checking for _float trig functions" >&5
46483 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46484 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46485 echo $ECHO_N "(cached) $ECHO_C" >&6
46486 else
46490 ac_ext=cc
46491 ac_cpp='$CXXCPP $CPPFLAGS'
46492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46496 cat >conftest.$ac_ext <<_ACEOF
46497 /* confdefs.h. */
46498 _ACEOF
46499 cat confdefs.h >>conftest.$ac_ext
46500 cat >>conftest.$ac_ext <<_ACEOF
46501 /* end confdefs.h. */
46502 #include <math.h>
46504 main ()
46506 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46508 return 0;
46510 _ACEOF
46511 rm -f conftest.$ac_objext
46512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46513 (eval $ac_compile) 2>conftest.er1
46514 ac_status=$?
46515 grep -v '^ *+' conftest.er1 >conftest.err
46516 rm -f conftest.er1
46517 cat conftest.err >&5
46518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46519 (exit $ac_status); } &&
46520 { ac_try='test -z "$ac_cxx_werror_flag"
46521 || test ! -s conftest.err'
46522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46523 (eval $ac_try) 2>&5
46524 ac_status=$?
46525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46526 (exit $ac_status); }; } &&
46527 { ac_try='test -s conftest.$ac_objext'
46528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46529 (eval $ac_try) 2>&5
46530 ac_status=$?
46531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46532 (exit $ac_status); }; }; then
46533 glibcxx_cv_func__float_trig_use=yes
46534 else
46535 echo "$as_me: failed program was:" >&5
46536 sed 's/^/| /' conftest.$ac_ext >&5
46538 glibcxx_cv_func__float_trig_use=no
46540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46541 ac_ext=c
46542 ac_cpp='$CPP $CPPFLAGS'
46543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46549 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46550 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46551 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46561 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46564 echo "$as_me:$LINENO: checking for $ac_func" >&5
46565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46566 if eval "test \"\${$as_ac_var+set}\" = set"; then
46567 echo $ECHO_N "(cached) $ECHO_C" >&6
46568 else
46569 if test x$gcc_no_link = xyes; then
46570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46572 { (exit 1); exit 1; }; }
46574 cat >conftest.$ac_ext <<_ACEOF
46575 /* confdefs.h. */
46576 _ACEOF
46577 cat confdefs.h >>conftest.$ac_ext
46578 cat >>conftest.$ac_ext <<_ACEOF
46579 /* end confdefs.h. */
46580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46582 #define $ac_func innocuous_$ac_func
46584 /* System header to define __stub macros and hopefully few prototypes,
46585 which can conflict with char $ac_func (); below.
46586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46587 <limits.h> exists even on freestanding compilers. */
46589 #ifdef __STDC__
46590 # include <limits.h>
46591 #else
46592 # include <assert.h>
46593 #endif
46595 #undef $ac_func
46597 /* Override any gcc2 internal prototype to avoid an error. */
46598 #ifdef __cplusplus
46599 extern "C"
46601 #endif
46602 /* We use char because int might match the return type of a gcc2
46603 builtin and then its argument prototype would still apply. */
46604 char $ac_func ();
46605 /* The GNU C library defines this for functions which it implements
46606 to always fail with ENOSYS. Some functions are actually named
46607 something starting with __ and the normal name is an alias. */
46608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46609 choke me
46610 #else
46611 char (*f) () = $ac_func;
46612 #endif
46613 #ifdef __cplusplus
46615 #endif
46618 main ()
46620 return f != $ac_func;
46622 return 0;
46624 _ACEOF
46625 rm -f conftest.$ac_objext conftest$ac_exeext
46626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46627 (eval $ac_link) 2>conftest.er1
46628 ac_status=$?
46629 grep -v '^ *+' conftest.er1 >conftest.err
46630 rm -f conftest.er1
46631 cat conftest.err >&5
46632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46633 (exit $ac_status); } &&
46634 { ac_try='test -z "$ac_c_werror_flag"
46635 || test ! -s conftest.err'
46636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46637 (eval $ac_try) 2>&5
46638 ac_status=$?
46639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46640 (exit $ac_status); }; } &&
46641 { ac_try='test -s conftest$ac_exeext'
46642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46643 (eval $ac_try) 2>&5
46644 ac_status=$?
46645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46646 (exit $ac_status); }; }; then
46647 eval "$as_ac_var=yes"
46648 else
46649 echo "$as_me: failed program was:" >&5
46650 sed 's/^/| /' conftest.$ac_ext >&5
46652 eval "$as_ac_var=no"
46654 rm -f conftest.err conftest.$ac_objext \
46655 conftest$ac_exeext conftest.$ac_ext
46657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46659 if test `eval echo '${'$as_ac_var'}'` = yes; then
46660 cat >>confdefs.h <<_ACEOF
46661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46662 _ACEOF
46665 done
46683 echo "$as_me:$LINENO: checking for float round functions" >&5
46684 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
46685 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
46686 echo $ECHO_N "(cached) $ECHO_C" >&6
46687 else
46691 ac_ext=cc
46692 ac_cpp='$CXXCPP $CPPFLAGS'
46693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46697 cat >conftest.$ac_ext <<_ACEOF
46698 /* confdefs.h. */
46699 _ACEOF
46700 cat confdefs.h >>conftest.$ac_ext
46701 cat >>conftest.$ac_ext <<_ACEOF
46702 /* end confdefs.h. */
46703 #include <math.h>
46705 main ()
46707 ceilf (0); floorf (0);
46709 return 0;
46711 _ACEOF
46712 rm -f conftest.$ac_objext
46713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46714 (eval $ac_compile) 2>conftest.er1
46715 ac_status=$?
46716 grep -v '^ *+' conftest.er1 >conftest.err
46717 rm -f conftest.er1
46718 cat conftest.err >&5
46719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46720 (exit $ac_status); } &&
46721 { ac_try='test -z "$ac_cxx_werror_flag"
46722 || test ! -s conftest.err'
46723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46724 (eval $ac_try) 2>&5
46725 ac_status=$?
46726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46727 (exit $ac_status); }; } &&
46728 { ac_try='test -s conftest.$ac_objext'
46729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46730 (eval $ac_try) 2>&5
46731 ac_status=$?
46732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46733 (exit $ac_status); }; }; then
46734 glibcxx_cv_func_float_round_use=yes
46735 else
46736 echo "$as_me: failed program was:" >&5
46737 sed 's/^/| /' conftest.$ac_ext >&5
46739 glibcxx_cv_func_float_round_use=no
46741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46742 ac_ext=c
46743 ac_cpp='$CPP $CPPFLAGS'
46744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46750 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
46751 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
46752 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46755 for ac_func in ceilf floorf
46757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46758 echo "$as_me:$LINENO: checking for $ac_func" >&5
46759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46760 if eval "test \"\${$as_ac_var+set}\" = set"; then
46761 echo $ECHO_N "(cached) $ECHO_C" >&6
46762 else
46763 if test x$gcc_no_link = xyes; then
46764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46766 { (exit 1); exit 1; }; }
46768 cat >conftest.$ac_ext <<_ACEOF
46769 /* confdefs.h. */
46770 _ACEOF
46771 cat confdefs.h >>conftest.$ac_ext
46772 cat >>conftest.$ac_ext <<_ACEOF
46773 /* end confdefs.h. */
46774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46776 #define $ac_func innocuous_$ac_func
46778 /* System header to define __stub macros and hopefully few prototypes,
46779 which can conflict with char $ac_func (); below.
46780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46781 <limits.h> exists even on freestanding compilers. */
46783 #ifdef __STDC__
46784 # include <limits.h>
46785 #else
46786 # include <assert.h>
46787 #endif
46789 #undef $ac_func
46791 /* Override any gcc2 internal prototype to avoid an error. */
46792 #ifdef __cplusplus
46793 extern "C"
46795 #endif
46796 /* We use char because int might match the return type of a gcc2
46797 builtin and then its argument prototype would still apply. */
46798 char $ac_func ();
46799 /* The GNU C library defines this for functions which it implements
46800 to always fail with ENOSYS. Some functions are actually named
46801 something starting with __ and the normal name is an alias. */
46802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46803 choke me
46804 #else
46805 char (*f) () = $ac_func;
46806 #endif
46807 #ifdef __cplusplus
46809 #endif
46812 main ()
46814 return f != $ac_func;
46816 return 0;
46818 _ACEOF
46819 rm -f conftest.$ac_objext conftest$ac_exeext
46820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46821 (eval $ac_link) 2>conftest.er1
46822 ac_status=$?
46823 grep -v '^ *+' conftest.er1 >conftest.err
46824 rm -f conftest.er1
46825 cat conftest.err >&5
46826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46827 (exit $ac_status); } &&
46828 { ac_try='test -z "$ac_c_werror_flag"
46829 || test ! -s conftest.err'
46830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46831 (eval $ac_try) 2>&5
46832 ac_status=$?
46833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46834 (exit $ac_status); }; } &&
46835 { ac_try='test -s conftest$ac_exeext'
46836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46837 (eval $ac_try) 2>&5
46838 ac_status=$?
46839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46840 (exit $ac_status); }; }; then
46841 eval "$as_ac_var=yes"
46842 else
46843 echo "$as_me: failed program was:" >&5
46844 sed 's/^/| /' conftest.$ac_ext >&5
46846 eval "$as_ac_var=no"
46848 rm -f conftest.err conftest.$ac_objext \
46849 conftest$ac_exeext conftest.$ac_ext
46851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46853 if test `eval echo '${'$as_ac_var'}'` = yes; then
46854 cat >>confdefs.h <<_ACEOF
46855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46856 _ACEOF
46859 done
46861 else
46862 echo "$as_me:$LINENO: checking for _float round functions" >&5
46863 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
46864 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
46865 echo $ECHO_N "(cached) $ECHO_C" >&6
46866 else
46870 ac_ext=cc
46871 ac_cpp='$CXXCPP $CPPFLAGS'
46872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46876 cat >conftest.$ac_ext <<_ACEOF
46877 /* confdefs.h. */
46878 _ACEOF
46879 cat confdefs.h >>conftest.$ac_ext
46880 cat >>conftest.$ac_ext <<_ACEOF
46881 /* end confdefs.h. */
46882 #include <math.h>
46884 main ()
46886 _ceilf (0); _floorf (0);
46888 return 0;
46890 _ACEOF
46891 rm -f conftest.$ac_objext
46892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46893 (eval $ac_compile) 2>conftest.er1
46894 ac_status=$?
46895 grep -v '^ *+' conftest.er1 >conftest.err
46896 rm -f conftest.er1
46897 cat conftest.err >&5
46898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46899 (exit $ac_status); } &&
46900 { ac_try='test -z "$ac_cxx_werror_flag"
46901 || test ! -s conftest.err'
46902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46903 (eval $ac_try) 2>&5
46904 ac_status=$?
46905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46906 (exit $ac_status); }; } &&
46907 { ac_try='test -s conftest.$ac_objext'
46908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46909 (eval $ac_try) 2>&5
46910 ac_status=$?
46911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46912 (exit $ac_status); }; }; then
46913 glibcxx_cv_func__float_round_use=yes
46914 else
46915 echo "$as_me: failed program was:" >&5
46916 sed 's/^/| /' conftest.$ac_ext >&5
46918 glibcxx_cv_func__float_round_use=no
46920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46921 ac_ext=c
46922 ac_cpp='$CPP $CPPFLAGS'
46923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46929 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
46930 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
46931 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46934 for ac_func in _ceilf _floorf
46936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46937 echo "$as_me:$LINENO: checking for $ac_func" >&5
46938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46939 if eval "test \"\${$as_ac_var+set}\" = set"; then
46940 echo $ECHO_N "(cached) $ECHO_C" >&6
46941 else
46942 if test x$gcc_no_link = xyes; then
46943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46945 { (exit 1); exit 1; }; }
46947 cat >conftest.$ac_ext <<_ACEOF
46948 /* confdefs.h. */
46949 _ACEOF
46950 cat confdefs.h >>conftest.$ac_ext
46951 cat >>conftest.$ac_ext <<_ACEOF
46952 /* end confdefs.h. */
46953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46955 #define $ac_func innocuous_$ac_func
46957 /* System header to define __stub macros and hopefully few prototypes,
46958 which can conflict with char $ac_func (); below.
46959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46960 <limits.h> exists even on freestanding compilers. */
46962 #ifdef __STDC__
46963 # include <limits.h>
46964 #else
46965 # include <assert.h>
46966 #endif
46968 #undef $ac_func
46970 /* Override any gcc2 internal prototype to avoid an error. */
46971 #ifdef __cplusplus
46972 extern "C"
46974 #endif
46975 /* We use char because int might match the return type of a gcc2
46976 builtin and then its argument prototype would still apply. */
46977 char $ac_func ();
46978 /* The GNU C library defines this for functions which it implements
46979 to always fail with ENOSYS. Some functions are actually named
46980 something starting with __ and the normal name is an alias. */
46981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46982 choke me
46983 #else
46984 char (*f) () = $ac_func;
46985 #endif
46986 #ifdef __cplusplus
46988 #endif
46991 main ()
46993 return f != $ac_func;
46995 return 0;
46997 _ACEOF
46998 rm -f conftest.$ac_objext conftest$ac_exeext
46999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47000 (eval $ac_link) 2>conftest.er1
47001 ac_status=$?
47002 grep -v '^ *+' conftest.er1 >conftest.err
47003 rm -f conftest.er1
47004 cat conftest.err >&5
47005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47006 (exit $ac_status); } &&
47007 { ac_try='test -z "$ac_c_werror_flag"
47008 || test ! -s conftest.err'
47009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47010 (eval $ac_try) 2>&5
47011 ac_status=$?
47012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47013 (exit $ac_status); }; } &&
47014 { ac_try='test -s conftest$ac_exeext'
47015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47016 (eval $ac_try) 2>&5
47017 ac_status=$?
47018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47019 (exit $ac_status); }; }; then
47020 eval "$as_ac_var=yes"
47021 else
47022 echo "$as_me: failed program was:" >&5
47023 sed 's/^/| /' conftest.$ac_ext >&5
47025 eval "$as_ac_var=no"
47027 rm -f conftest.err conftest.$ac_objext \
47028 conftest$ac_exeext conftest.$ac_ext
47030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47032 if test `eval echo '${'$as_ac_var'}'` = yes; then
47033 cat >>confdefs.h <<_ACEOF
47034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47035 _ACEOF
47038 done
47050 echo "$as_me:$LINENO: checking for expf declaration" >&5
47051 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
47052 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47053 if test "${glibcxx_cv_func_expf_use+set}" = set; then
47054 echo $ECHO_N "(cached) $ECHO_C" >&6
47055 else
47059 ac_ext=cc
47060 ac_cpp='$CXXCPP $CPPFLAGS'
47061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47065 cat >conftest.$ac_ext <<_ACEOF
47066 /* confdefs.h. */
47067 _ACEOF
47068 cat confdefs.h >>conftest.$ac_ext
47069 cat >>conftest.$ac_ext <<_ACEOF
47070 /* end confdefs.h. */
47071 #include <math.h>
47072 #ifdef HAVE_IEEEFP_H
47073 #include <ieeefp.h>
47074 #endif
47077 main ()
47079 expf(0);
47081 return 0;
47083 _ACEOF
47084 rm -f conftest.$ac_objext
47085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47086 (eval $ac_compile) 2>conftest.er1
47087 ac_status=$?
47088 grep -v '^ *+' conftest.er1 >conftest.err
47089 rm -f conftest.er1
47090 cat conftest.err >&5
47091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47092 (exit $ac_status); } &&
47093 { ac_try='test -z "$ac_cxx_werror_flag"
47094 || test ! -s conftest.err'
47095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47096 (eval $ac_try) 2>&5
47097 ac_status=$?
47098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47099 (exit $ac_status); }; } &&
47100 { ac_try='test -s conftest.$ac_objext'
47101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47102 (eval $ac_try) 2>&5
47103 ac_status=$?
47104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47105 (exit $ac_status); }; }; then
47106 glibcxx_cv_func_expf_use=yes
47107 else
47108 echo "$as_me: failed program was:" >&5
47109 sed 's/^/| /' conftest.$ac_ext >&5
47111 glibcxx_cv_func_expf_use=no
47113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47114 ac_ext=c
47115 ac_cpp='$CPP $CPPFLAGS'
47116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47124 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
47125 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
47127 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47129 for ac_func in expf
47131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47132 echo "$as_me:$LINENO: checking for $ac_func" >&5
47133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47134 if eval "test \"\${$as_ac_var+set}\" = set"; then
47135 echo $ECHO_N "(cached) $ECHO_C" >&6
47136 else
47137 if test x$gcc_no_link = xyes; then
47138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47140 { (exit 1); exit 1; }; }
47142 cat >conftest.$ac_ext <<_ACEOF
47143 /* confdefs.h. */
47144 _ACEOF
47145 cat confdefs.h >>conftest.$ac_ext
47146 cat >>conftest.$ac_ext <<_ACEOF
47147 /* end confdefs.h. */
47148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47150 #define $ac_func innocuous_$ac_func
47152 /* System header to define __stub macros and hopefully few prototypes,
47153 which can conflict with char $ac_func (); below.
47154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47155 <limits.h> exists even on freestanding compilers. */
47157 #ifdef __STDC__
47158 # include <limits.h>
47159 #else
47160 # include <assert.h>
47161 #endif
47163 #undef $ac_func
47165 /* Override any gcc2 internal prototype to avoid an error. */
47166 #ifdef __cplusplus
47167 extern "C"
47169 #endif
47170 /* We use char because int might match the return type of a gcc2
47171 builtin and then its argument prototype would still apply. */
47172 char $ac_func ();
47173 /* The GNU C library defines this for functions which it implements
47174 to always fail with ENOSYS. Some functions are actually named
47175 something starting with __ and the normal name is an alias. */
47176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47177 choke me
47178 #else
47179 char (*f) () = $ac_func;
47180 #endif
47181 #ifdef __cplusplus
47183 #endif
47186 main ()
47188 return f != $ac_func;
47190 return 0;
47192 _ACEOF
47193 rm -f conftest.$ac_objext conftest$ac_exeext
47194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47195 (eval $ac_link) 2>conftest.er1
47196 ac_status=$?
47197 grep -v '^ *+' conftest.er1 >conftest.err
47198 rm -f conftest.er1
47199 cat conftest.err >&5
47200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47201 (exit $ac_status); } &&
47202 { ac_try='test -z "$ac_c_werror_flag"
47203 || test ! -s conftest.err'
47204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47205 (eval $ac_try) 2>&5
47206 ac_status=$?
47207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47208 (exit $ac_status); }; } &&
47209 { ac_try='test -s conftest$ac_exeext'
47210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47211 (eval $ac_try) 2>&5
47212 ac_status=$?
47213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47214 (exit $ac_status); }; }; then
47215 eval "$as_ac_var=yes"
47216 else
47217 echo "$as_me: failed program was:" >&5
47218 sed 's/^/| /' conftest.$ac_ext >&5
47220 eval "$as_ac_var=no"
47222 rm -f conftest.err conftest.$ac_objext \
47223 conftest$ac_exeext conftest.$ac_ext
47225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47227 if test `eval echo '${'$as_ac_var'}'` = yes; then
47228 cat >>confdefs.h <<_ACEOF
47229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47230 _ACEOF
47233 done
47235 else
47237 echo "$as_me:$LINENO: checking for _expf declaration" >&5
47238 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
47239 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47240 if test "${glibcxx_cv_func__expf_use+set}" = set; then
47241 echo $ECHO_N "(cached) $ECHO_C" >&6
47242 else
47246 ac_ext=cc
47247 ac_cpp='$CXXCPP $CPPFLAGS'
47248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47252 cat >conftest.$ac_ext <<_ACEOF
47253 /* confdefs.h. */
47254 _ACEOF
47255 cat confdefs.h >>conftest.$ac_ext
47256 cat >>conftest.$ac_ext <<_ACEOF
47257 /* end confdefs.h. */
47258 #include <math.h>
47259 #ifdef HAVE_IEEEFP_H
47260 #include <ieeefp.h>
47261 #endif
47264 main ()
47266 _expf(0);
47268 return 0;
47270 _ACEOF
47271 rm -f conftest.$ac_objext
47272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47273 (eval $ac_compile) 2>conftest.er1
47274 ac_status=$?
47275 grep -v '^ *+' conftest.er1 >conftest.err
47276 rm -f conftest.er1
47277 cat conftest.err >&5
47278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47279 (exit $ac_status); } &&
47280 { ac_try='test -z "$ac_cxx_werror_flag"
47281 || test ! -s conftest.err'
47282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47283 (eval $ac_try) 2>&5
47284 ac_status=$?
47285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47286 (exit $ac_status); }; } &&
47287 { ac_try='test -s conftest.$ac_objext'
47288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47289 (eval $ac_try) 2>&5
47290 ac_status=$?
47291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47292 (exit $ac_status); }; }; then
47293 glibcxx_cv_func__expf_use=yes
47294 else
47295 echo "$as_me: failed program was:" >&5
47296 sed 's/^/| /' conftest.$ac_ext >&5
47298 glibcxx_cv_func__expf_use=no
47300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47301 ac_ext=c
47302 ac_cpp='$CPP $CPPFLAGS'
47303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47311 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
47312 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
47314 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47316 for ac_func in _expf
47318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47319 echo "$as_me:$LINENO: checking for $ac_func" >&5
47320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47321 if eval "test \"\${$as_ac_var+set}\" = set"; then
47322 echo $ECHO_N "(cached) $ECHO_C" >&6
47323 else
47324 if test x$gcc_no_link = xyes; then
47325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47327 { (exit 1); exit 1; }; }
47329 cat >conftest.$ac_ext <<_ACEOF
47330 /* confdefs.h. */
47331 _ACEOF
47332 cat confdefs.h >>conftest.$ac_ext
47333 cat >>conftest.$ac_ext <<_ACEOF
47334 /* end confdefs.h. */
47335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47337 #define $ac_func innocuous_$ac_func
47339 /* System header to define __stub macros and hopefully few prototypes,
47340 which can conflict with char $ac_func (); below.
47341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47342 <limits.h> exists even on freestanding compilers. */
47344 #ifdef __STDC__
47345 # include <limits.h>
47346 #else
47347 # include <assert.h>
47348 #endif
47350 #undef $ac_func
47352 /* Override any gcc2 internal prototype to avoid an error. */
47353 #ifdef __cplusplus
47354 extern "C"
47356 #endif
47357 /* We use char because int might match the return type of a gcc2
47358 builtin and then its argument prototype would still apply. */
47359 char $ac_func ();
47360 /* The GNU C library defines this for functions which it implements
47361 to always fail with ENOSYS. Some functions are actually named
47362 something starting with __ and the normal name is an alias. */
47363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47364 choke me
47365 #else
47366 char (*f) () = $ac_func;
47367 #endif
47368 #ifdef __cplusplus
47370 #endif
47373 main ()
47375 return f != $ac_func;
47377 return 0;
47379 _ACEOF
47380 rm -f conftest.$ac_objext conftest$ac_exeext
47381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47382 (eval $ac_link) 2>conftest.er1
47383 ac_status=$?
47384 grep -v '^ *+' conftest.er1 >conftest.err
47385 rm -f conftest.er1
47386 cat conftest.err >&5
47387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47388 (exit $ac_status); } &&
47389 { ac_try='test -z "$ac_c_werror_flag"
47390 || test ! -s conftest.err'
47391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47392 (eval $ac_try) 2>&5
47393 ac_status=$?
47394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47395 (exit $ac_status); }; } &&
47396 { ac_try='test -s conftest$ac_exeext'
47397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47398 (eval $ac_try) 2>&5
47399 ac_status=$?
47400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47401 (exit $ac_status); }; }; then
47402 eval "$as_ac_var=yes"
47403 else
47404 echo "$as_me: failed program was:" >&5
47405 sed 's/^/| /' conftest.$ac_ext >&5
47407 eval "$as_ac_var=no"
47409 rm -f conftest.err conftest.$ac_objext \
47410 conftest$ac_exeext conftest.$ac_ext
47412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47414 if test `eval echo '${'$as_ac_var'}'` = yes; then
47415 cat >>confdefs.h <<_ACEOF
47416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47417 _ACEOF
47420 done
47430 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
47431 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
47432 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47433 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
47434 echo $ECHO_N "(cached) $ECHO_C" >&6
47435 else
47439 ac_ext=cc
47440 ac_cpp='$CXXCPP $CPPFLAGS'
47441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47445 cat >conftest.$ac_ext <<_ACEOF
47446 /* confdefs.h. */
47447 _ACEOF
47448 cat confdefs.h >>conftest.$ac_ext
47449 cat >>conftest.$ac_ext <<_ACEOF
47450 /* end confdefs.h. */
47451 #include <math.h>
47452 #ifdef HAVE_IEEEFP_H
47453 #include <ieeefp.h>
47454 #endif
47457 main ()
47459 isnanf(0);
47461 return 0;
47463 _ACEOF
47464 rm -f conftest.$ac_objext
47465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47466 (eval $ac_compile) 2>conftest.er1
47467 ac_status=$?
47468 grep -v '^ *+' conftest.er1 >conftest.err
47469 rm -f conftest.er1
47470 cat conftest.err >&5
47471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47472 (exit $ac_status); } &&
47473 { ac_try='test -z "$ac_cxx_werror_flag"
47474 || test ! -s conftest.err'
47475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47476 (eval $ac_try) 2>&5
47477 ac_status=$?
47478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47479 (exit $ac_status); }; } &&
47480 { ac_try='test -s conftest.$ac_objext'
47481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47482 (eval $ac_try) 2>&5
47483 ac_status=$?
47484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47485 (exit $ac_status); }; }; then
47486 glibcxx_cv_func_isnanf_use=yes
47487 else
47488 echo "$as_me: failed program was:" >&5
47489 sed 's/^/| /' conftest.$ac_ext >&5
47491 glibcxx_cv_func_isnanf_use=no
47493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47494 ac_ext=c
47495 ac_cpp='$CPP $CPPFLAGS'
47496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47504 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
47505 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
47507 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47509 for ac_func in isnanf
47511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47512 echo "$as_me:$LINENO: checking for $ac_func" >&5
47513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47514 if eval "test \"\${$as_ac_var+set}\" = set"; then
47515 echo $ECHO_N "(cached) $ECHO_C" >&6
47516 else
47517 if test x$gcc_no_link = xyes; then
47518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47520 { (exit 1); exit 1; }; }
47522 cat >conftest.$ac_ext <<_ACEOF
47523 /* confdefs.h. */
47524 _ACEOF
47525 cat confdefs.h >>conftest.$ac_ext
47526 cat >>conftest.$ac_ext <<_ACEOF
47527 /* end confdefs.h. */
47528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47530 #define $ac_func innocuous_$ac_func
47532 /* System header to define __stub macros and hopefully few prototypes,
47533 which can conflict with char $ac_func (); below.
47534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47535 <limits.h> exists even on freestanding compilers. */
47537 #ifdef __STDC__
47538 # include <limits.h>
47539 #else
47540 # include <assert.h>
47541 #endif
47543 #undef $ac_func
47545 /* Override any gcc2 internal prototype to avoid an error. */
47546 #ifdef __cplusplus
47547 extern "C"
47549 #endif
47550 /* We use char because int might match the return type of a gcc2
47551 builtin and then its argument prototype would still apply. */
47552 char $ac_func ();
47553 /* The GNU C library defines this for functions which it implements
47554 to always fail with ENOSYS. Some functions are actually named
47555 something starting with __ and the normal name is an alias. */
47556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47557 choke me
47558 #else
47559 char (*f) () = $ac_func;
47560 #endif
47561 #ifdef __cplusplus
47563 #endif
47566 main ()
47568 return f != $ac_func;
47570 return 0;
47572 _ACEOF
47573 rm -f conftest.$ac_objext conftest$ac_exeext
47574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47575 (eval $ac_link) 2>conftest.er1
47576 ac_status=$?
47577 grep -v '^ *+' conftest.er1 >conftest.err
47578 rm -f conftest.er1
47579 cat conftest.err >&5
47580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47581 (exit $ac_status); } &&
47582 { ac_try='test -z "$ac_c_werror_flag"
47583 || test ! -s conftest.err'
47584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47585 (eval $ac_try) 2>&5
47586 ac_status=$?
47587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47588 (exit $ac_status); }; } &&
47589 { ac_try='test -s conftest$ac_exeext'
47590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47591 (eval $ac_try) 2>&5
47592 ac_status=$?
47593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47594 (exit $ac_status); }; }; then
47595 eval "$as_ac_var=yes"
47596 else
47597 echo "$as_me: failed program was:" >&5
47598 sed 's/^/| /' conftest.$ac_ext >&5
47600 eval "$as_ac_var=no"
47602 rm -f conftest.err conftest.$ac_objext \
47603 conftest$ac_exeext conftest.$ac_ext
47605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47607 if test `eval echo '${'$as_ac_var'}'` = yes; then
47608 cat >>confdefs.h <<_ACEOF
47609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47610 _ACEOF
47613 done
47615 else
47617 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
47618 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
47619 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47620 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
47621 echo $ECHO_N "(cached) $ECHO_C" >&6
47622 else
47626 ac_ext=cc
47627 ac_cpp='$CXXCPP $CPPFLAGS'
47628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47632 cat >conftest.$ac_ext <<_ACEOF
47633 /* confdefs.h. */
47634 _ACEOF
47635 cat confdefs.h >>conftest.$ac_ext
47636 cat >>conftest.$ac_ext <<_ACEOF
47637 /* end confdefs.h. */
47638 #include <math.h>
47639 #ifdef HAVE_IEEEFP_H
47640 #include <ieeefp.h>
47641 #endif
47644 main ()
47646 _isnanf(0);
47648 return 0;
47650 _ACEOF
47651 rm -f conftest.$ac_objext
47652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47653 (eval $ac_compile) 2>conftest.er1
47654 ac_status=$?
47655 grep -v '^ *+' conftest.er1 >conftest.err
47656 rm -f conftest.er1
47657 cat conftest.err >&5
47658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47659 (exit $ac_status); } &&
47660 { ac_try='test -z "$ac_cxx_werror_flag"
47661 || test ! -s conftest.err'
47662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47663 (eval $ac_try) 2>&5
47664 ac_status=$?
47665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47666 (exit $ac_status); }; } &&
47667 { ac_try='test -s conftest.$ac_objext'
47668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47669 (eval $ac_try) 2>&5
47670 ac_status=$?
47671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47672 (exit $ac_status); }; }; then
47673 glibcxx_cv_func__isnanf_use=yes
47674 else
47675 echo "$as_me: failed program was:" >&5
47676 sed 's/^/| /' conftest.$ac_ext >&5
47678 glibcxx_cv_func__isnanf_use=no
47680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47681 ac_ext=c
47682 ac_cpp='$CPP $CPPFLAGS'
47683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47691 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
47692 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
47694 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47696 for ac_func in _isnanf
47698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47699 echo "$as_me:$LINENO: checking for $ac_func" >&5
47700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47701 if eval "test \"\${$as_ac_var+set}\" = set"; then
47702 echo $ECHO_N "(cached) $ECHO_C" >&6
47703 else
47704 if test x$gcc_no_link = xyes; then
47705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47707 { (exit 1); exit 1; }; }
47709 cat >conftest.$ac_ext <<_ACEOF
47710 /* confdefs.h. */
47711 _ACEOF
47712 cat confdefs.h >>conftest.$ac_ext
47713 cat >>conftest.$ac_ext <<_ACEOF
47714 /* end confdefs.h. */
47715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47717 #define $ac_func innocuous_$ac_func
47719 /* System header to define __stub macros and hopefully few prototypes,
47720 which can conflict with char $ac_func (); below.
47721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47722 <limits.h> exists even on freestanding compilers. */
47724 #ifdef __STDC__
47725 # include <limits.h>
47726 #else
47727 # include <assert.h>
47728 #endif
47730 #undef $ac_func
47732 /* Override any gcc2 internal prototype to avoid an error. */
47733 #ifdef __cplusplus
47734 extern "C"
47736 #endif
47737 /* We use char because int might match the return type of a gcc2
47738 builtin and then its argument prototype would still apply. */
47739 char $ac_func ();
47740 /* The GNU C library defines this for functions which it implements
47741 to always fail with ENOSYS. Some functions are actually named
47742 something starting with __ and the normal name is an alias. */
47743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47744 choke me
47745 #else
47746 char (*f) () = $ac_func;
47747 #endif
47748 #ifdef __cplusplus
47750 #endif
47753 main ()
47755 return f != $ac_func;
47757 return 0;
47759 _ACEOF
47760 rm -f conftest.$ac_objext conftest$ac_exeext
47761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47762 (eval $ac_link) 2>conftest.er1
47763 ac_status=$?
47764 grep -v '^ *+' conftest.er1 >conftest.err
47765 rm -f conftest.er1
47766 cat conftest.err >&5
47767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47768 (exit $ac_status); } &&
47769 { ac_try='test -z "$ac_c_werror_flag"
47770 || test ! -s conftest.err'
47771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47772 (eval $ac_try) 2>&5
47773 ac_status=$?
47774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47775 (exit $ac_status); }; } &&
47776 { ac_try='test -s conftest$ac_exeext'
47777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47778 (eval $ac_try) 2>&5
47779 ac_status=$?
47780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47781 (exit $ac_status); }; }; then
47782 eval "$as_ac_var=yes"
47783 else
47784 echo "$as_me: failed program was:" >&5
47785 sed 's/^/| /' conftest.$ac_ext >&5
47787 eval "$as_ac_var=no"
47789 rm -f conftest.err conftest.$ac_objext \
47790 conftest$ac_exeext conftest.$ac_ext
47792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47794 if test `eval echo '${'$as_ac_var'}'` = yes; then
47795 cat >>confdefs.h <<_ACEOF
47796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47797 _ACEOF
47800 done
47810 echo "$as_me:$LINENO: checking for isinff declaration" >&5
47811 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
47812 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47813 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
47814 echo $ECHO_N "(cached) $ECHO_C" >&6
47815 else
47819 ac_ext=cc
47820 ac_cpp='$CXXCPP $CPPFLAGS'
47821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47825 cat >conftest.$ac_ext <<_ACEOF
47826 /* confdefs.h. */
47827 _ACEOF
47828 cat confdefs.h >>conftest.$ac_ext
47829 cat >>conftest.$ac_ext <<_ACEOF
47830 /* end confdefs.h. */
47831 #include <math.h>
47832 #ifdef HAVE_IEEEFP_H
47833 #include <ieeefp.h>
47834 #endif
47837 main ()
47839 isinff(0);
47841 return 0;
47843 _ACEOF
47844 rm -f conftest.$ac_objext
47845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47846 (eval $ac_compile) 2>conftest.er1
47847 ac_status=$?
47848 grep -v '^ *+' conftest.er1 >conftest.err
47849 rm -f conftest.er1
47850 cat conftest.err >&5
47851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47852 (exit $ac_status); } &&
47853 { ac_try='test -z "$ac_cxx_werror_flag"
47854 || test ! -s conftest.err'
47855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47856 (eval $ac_try) 2>&5
47857 ac_status=$?
47858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47859 (exit $ac_status); }; } &&
47860 { ac_try='test -s conftest.$ac_objext'
47861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47862 (eval $ac_try) 2>&5
47863 ac_status=$?
47864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47865 (exit $ac_status); }; }; then
47866 glibcxx_cv_func_isinff_use=yes
47867 else
47868 echo "$as_me: failed program was:" >&5
47869 sed 's/^/| /' conftest.$ac_ext >&5
47871 glibcxx_cv_func_isinff_use=no
47873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47874 ac_ext=c
47875 ac_cpp='$CPP $CPPFLAGS'
47876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47884 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
47885 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
47887 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47889 for ac_func in isinff
47891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47892 echo "$as_me:$LINENO: checking for $ac_func" >&5
47893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47894 if eval "test \"\${$as_ac_var+set}\" = set"; then
47895 echo $ECHO_N "(cached) $ECHO_C" >&6
47896 else
47897 if test x$gcc_no_link = xyes; then
47898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47900 { (exit 1); exit 1; }; }
47902 cat >conftest.$ac_ext <<_ACEOF
47903 /* confdefs.h. */
47904 _ACEOF
47905 cat confdefs.h >>conftest.$ac_ext
47906 cat >>conftest.$ac_ext <<_ACEOF
47907 /* end confdefs.h. */
47908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47910 #define $ac_func innocuous_$ac_func
47912 /* System header to define __stub macros and hopefully few prototypes,
47913 which can conflict with char $ac_func (); below.
47914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47915 <limits.h> exists even on freestanding compilers. */
47917 #ifdef __STDC__
47918 # include <limits.h>
47919 #else
47920 # include <assert.h>
47921 #endif
47923 #undef $ac_func
47925 /* Override any gcc2 internal prototype to avoid an error. */
47926 #ifdef __cplusplus
47927 extern "C"
47929 #endif
47930 /* We use char because int might match the return type of a gcc2
47931 builtin and then its argument prototype would still apply. */
47932 char $ac_func ();
47933 /* The GNU C library defines this for functions which it implements
47934 to always fail with ENOSYS. Some functions are actually named
47935 something starting with __ and the normal name is an alias. */
47936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47937 choke me
47938 #else
47939 char (*f) () = $ac_func;
47940 #endif
47941 #ifdef __cplusplus
47943 #endif
47946 main ()
47948 return f != $ac_func;
47950 return 0;
47952 _ACEOF
47953 rm -f conftest.$ac_objext conftest$ac_exeext
47954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47955 (eval $ac_link) 2>conftest.er1
47956 ac_status=$?
47957 grep -v '^ *+' conftest.er1 >conftest.err
47958 rm -f conftest.er1
47959 cat conftest.err >&5
47960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47961 (exit $ac_status); } &&
47962 { ac_try='test -z "$ac_c_werror_flag"
47963 || test ! -s conftest.err'
47964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47965 (eval $ac_try) 2>&5
47966 ac_status=$?
47967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47968 (exit $ac_status); }; } &&
47969 { ac_try='test -s conftest$ac_exeext'
47970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47971 (eval $ac_try) 2>&5
47972 ac_status=$?
47973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47974 (exit $ac_status); }; }; then
47975 eval "$as_ac_var=yes"
47976 else
47977 echo "$as_me: failed program was:" >&5
47978 sed 's/^/| /' conftest.$ac_ext >&5
47980 eval "$as_ac_var=no"
47982 rm -f conftest.err conftest.$ac_objext \
47983 conftest$ac_exeext conftest.$ac_ext
47985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47987 if test `eval echo '${'$as_ac_var'}'` = yes; then
47988 cat >>confdefs.h <<_ACEOF
47989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47990 _ACEOF
47993 done
47995 else
47997 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
47998 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
47999 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48000 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
48001 echo $ECHO_N "(cached) $ECHO_C" >&6
48002 else
48006 ac_ext=cc
48007 ac_cpp='$CXXCPP $CPPFLAGS'
48008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48012 cat >conftest.$ac_ext <<_ACEOF
48013 /* confdefs.h. */
48014 _ACEOF
48015 cat confdefs.h >>conftest.$ac_ext
48016 cat >>conftest.$ac_ext <<_ACEOF
48017 /* end confdefs.h. */
48018 #include <math.h>
48019 #ifdef HAVE_IEEEFP_H
48020 #include <ieeefp.h>
48021 #endif
48024 main ()
48026 _isinff(0);
48028 return 0;
48030 _ACEOF
48031 rm -f conftest.$ac_objext
48032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48033 (eval $ac_compile) 2>conftest.er1
48034 ac_status=$?
48035 grep -v '^ *+' conftest.er1 >conftest.err
48036 rm -f conftest.er1
48037 cat conftest.err >&5
48038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48039 (exit $ac_status); } &&
48040 { ac_try='test -z "$ac_cxx_werror_flag"
48041 || test ! -s conftest.err'
48042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48043 (eval $ac_try) 2>&5
48044 ac_status=$?
48045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48046 (exit $ac_status); }; } &&
48047 { ac_try='test -s conftest.$ac_objext'
48048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48049 (eval $ac_try) 2>&5
48050 ac_status=$?
48051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48052 (exit $ac_status); }; }; then
48053 glibcxx_cv_func__isinff_use=yes
48054 else
48055 echo "$as_me: failed program was:" >&5
48056 sed 's/^/| /' conftest.$ac_ext >&5
48058 glibcxx_cv_func__isinff_use=no
48060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48061 ac_ext=c
48062 ac_cpp='$CPP $CPPFLAGS'
48063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48071 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
48072 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
48074 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48076 for ac_func in _isinff
48078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48079 echo "$as_me:$LINENO: checking for $ac_func" >&5
48080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48081 if eval "test \"\${$as_ac_var+set}\" = set"; then
48082 echo $ECHO_N "(cached) $ECHO_C" >&6
48083 else
48084 if test x$gcc_no_link = xyes; then
48085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48087 { (exit 1); exit 1; }; }
48089 cat >conftest.$ac_ext <<_ACEOF
48090 /* confdefs.h. */
48091 _ACEOF
48092 cat confdefs.h >>conftest.$ac_ext
48093 cat >>conftest.$ac_ext <<_ACEOF
48094 /* end confdefs.h. */
48095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48097 #define $ac_func innocuous_$ac_func
48099 /* System header to define __stub macros and hopefully few prototypes,
48100 which can conflict with char $ac_func (); below.
48101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48102 <limits.h> exists even on freestanding compilers. */
48104 #ifdef __STDC__
48105 # include <limits.h>
48106 #else
48107 # include <assert.h>
48108 #endif
48110 #undef $ac_func
48112 /* Override any gcc2 internal prototype to avoid an error. */
48113 #ifdef __cplusplus
48114 extern "C"
48116 #endif
48117 /* We use char because int might match the return type of a gcc2
48118 builtin and then its argument prototype would still apply. */
48119 char $ac_func ();
48120 /* The GNU C library defines this for functions which it implements
48121 to always fail with ENOSYS. Some functions are actually named
48122 something starting with __ and the normal name is an alias. */
48123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48124 choke me
48125 #else
48126 char (*f) () = $ac_func;
48127 #endif
48128 #ifdef __cplusplus
48130 #endif
48133 main ()
48135 return f != $ac_func;
48137 return 0;
48139 _ACEOF
48140 rm -f conftest.$ac_objext conftest$ac_exeext
48141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48142 (eval $ac_link) 2>conftest.er1
48143 ac_status=$?
48144 grep -v '^ *+' conftest.er1 >conftest.err
48145 rm -f conftest.er1
48146 cat conftest.err >&5
48147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48148 (exit $ac_status); } &&
48149 { ac_try='test -z "$ac_c_werror_flag"
48150 || test ! -s conftest.err'
48151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48152 (eval $ac_try) 2>&5
48153 ac_status=$?
48154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48155 (exit $ac_status); }; } &&
48156 { ac_try='test -s conftest$ac_exeext'
48157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48158 (eval $ac_try) 2>&5
48159 ac_status=$?
48160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48161 (exit $ac_status); }; }; then
48162 eval "$as_ac_var=yes"
48163 else
48164 echo "$as_me: failed program was:" >&5
48165 sed 's/^/| /' conftest.$ac_ext >&5
48167 eval "$as_ac_var=no"
48169 rm -f conftest.err conftest.$ac_objext \
48170 conftest$ac_exeext conftest.$ac_ext
48172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48174 if test `eval echo '${'$as_ac_var'}'` = yes; then
48175 cat >>confdefs.h <<_ACEOF
48176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48177 _ACEOF
48180 done
48190 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
48191 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
48192 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48193 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
48194 echo $ECHO_N "(cached) $ECHO_C" >&6
48195 else
48199 ac_ext=cc
48200 ac_cpp='$CXXCPP $CPPFLAGS'
48201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48205 cat >conftest.$ac_ext <<_ACEOF
48206 /* confdefs.h. */
48207 _ACEOF
48208 cat confdefs.h >>conftest.$ac_ext
48209 cat >>conftest.$ac_ext <<_ACEOF
48210 /* end confdefs.h. */
48211 #include <math.h>
48213 main ()
48215 atan2f(0, 0);
48217 return 0;
48219 _ACEOF
48220 rm -f conftest.$ac_objext
48221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48222 (eval $ac_compile) 2>conftest.er1
48223 ac_status=$?
48224 grep -v '^ *+' conftest.er1 >conftest.err
48225 rm -f conftest.er1
48226 cat conftest.err >&5
48227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48228 (exit $ac_status); } &&
48229 { ac_try='test -z "$ac_cxx_werror_flag"
48230 || test ! -s conftest.err'
48231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48232 (eval $ac_try) 2>&5
48233 ac_status=$?
48234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48235 (exit $ac_status); }; } &&
48236 { ac_try='test -s conftest.$ac_objext'
48237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48238 (eval $ac_try) 2>&5
48239 ac_status=$?
48240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48241 (exit $ac_status); }; }; then
48242 glibcxx_cv_func_atan2f_use=yes
48243 else
48244 echo "$as_me: failed program was:" >&5
48245 sed 's/^/| /' conftest.$ac_ext >&5
48247 glibcxx_cv_func_atan2f_use=no
48249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48250 ac_ext=c
48251 ac_cpp='$CPP $CPPFLAGS'
48252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48260 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
48261 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
48263 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48265 for ac_func in atan2f
48267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48268 echo "$as_me:$LINENO: checking for $ac_func" >&5
48269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48270 if eval "test \"\${$as_ac_var+set}\" = set"; then
48271 echo $ECHO_N "(cached) $ECHO_C" >&6
48272 else
48273 if test x$gcc_no_link = xyes; then
48274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48276 { (exit 1); exit 1; }; }
48278 cat >conftest.$ac_ext <<_ACEOF
48279 /* confdefs.h. */
48280 _ACEOF
48281 cat confdefs.h >>conftest.$ac_ext
48282 cat >>conftest.$ac_ext <<_ACEOF
48283 /* end confdefs.h. */
48284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48286 #define $ac_func innocuous_$ac_func
48288 /* System header to define __stub macros and hopefully few prototypes,
48289 which can conflict with char $ac_func (); below.
48290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48291 <limits.h> exists even on freestanding compilers. */
48293 #ifdef __STDC__
48294 # include <limits.h>
48295 #else
48296 # include <assert.h>
48297 #endif
48299 #undef $ac_func
48301 /* Override any gcc2 internal prototype to avoid an error. */
48302 #ifdef __cplusplus
48303 extern "C"
48305 #endif
48306 /* We use char because int might match the return type of a gcc2
48307 builtin and then its argument prototype would still apply. */
48308 char $ac_func ();
48309 /* The GNU C library defines this for functions which it implements
48310 to always fail with ENOSYS. Some functions are actually named
48311 something starting with __ and the normal name is an alias. */
48312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48313 choke me
48314 #else
48315 char (*f) () = $ac_func;
48316 #endif
48317 #ifdef __cplusplus
48319 #endif
48322 main ()
48324 return f != $ac_func;
48326 return 0;
48328 _ACEOF
48329 rm -f conftest.$ac_objext conftest$ac_exeext
48330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48331 (eval $ac_link) 2>conftest.er1
48332 ac_status=$?
48333 grep -v '^ *+' conftest.er1 >conftest.err
48334 rm -f conftest.er1
48335 cat conftest.err >&5
48336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48337 (exit $ac_status); } &&
48338 { ac_try='test -z "$ac_c_werror_flag"
48339 || test ! -s conftest.err'
48340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48341 (eval $ac_try) 2>&5
48342 ac_status=$?
48343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48344 (exit $ac_status); }; } &&
48345 { ac_try='test -s conftest$ac_exeext'
48346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48347 (eval $ac_try) 2>&5
48348 ac_status=$?
48349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48350 (exit $ac_status); }; }; then
48351 eval "$as_ac_var=yes"
48352 else
48353 echo "$as_me: failed program was:" >&5
48354 sed 's/^/| /' conftest.$ac_ext >&5
48356 eval "$as_ac_var=no"
48358 rm -f conftest.err conftest.$ac_objext \
48359 conftest$ac_exeext conftest.$ac_ext
48361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48363 if test `eval echo '${'$as_ac_var'}'` = yes; then
48364 cat >>confdefs.h <<_ACEOF
48365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48366 _ACEOF
48369 done
48371 else
48373 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
48374 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
48375 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48376 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
48377 echo $ECHO_N "(cached) $ECHO_C" >&6
48378 else
48382 ac_ext=cc
48383 ac_cpp='$CXXCPP $CPPFLAGS'
48384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48388 cat >conftest.$ac_ext <<_ACEOF
48389 /* confdefs.h. */
48390 _ACEOF
48391 cat confdefs.h >>conftest.$ac_ext
48392 cat >>conftest.$ac_ext <<_ACEOF
48393 /* end confdefs.h. */
48394 #include <math.h>
48396 main ()
48398 _atan2f(0, 0);
48400 return 0;
48402 _ACEOF
48403 rm -f conftest.$ac_objext
48404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48405 (eval $ac_compile) 2>conftest.er1
48406 ac_status=$?
48407 grep -v '^ *+' conftest.er1 >conftest.err
48408 rm -f conftest.er1
48409 cat conftest.err >&5
48410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48411 (exit $ac_status); } &&
48412 { ac_try='test -z "$ac_cxx_werror_flag"
48413 || test ! -s conftest.err'
48414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48415 (eval $ac_try) 2>&5
48416 ac_status=$?
48417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48418 (exit $ac_status); }; } &&
48419 { ac_try='test -s conftest.$ac_objext'
48420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48421 (eval $ac_try) 2>&5
48422 ac_status=$?
48423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48424 (exit $ac_status); }; }; then
48425 glibcxx_cv_func__atan2f_use=yes
48426 else
48427 echo "$as_me: failed program was:" >&5
48428 sed 's/^/| /' conftest.$ac_ext >&5
48430 glibcxx_cv_func__atan2f_use=no
48432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48433 ac_ext=c
48434 ac_cpp='$CPP $CPPFLAGS'
48435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48443 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
48444 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
48446 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48448 for ac_func in _atan2f
48450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48451 echo "$as_me:$LINENO: checking for $ac_func" >&5
48452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48453 if eval "test \"\${$as_ac_var+set}\" = set"; then
48454 echo $ECHO_N "(cached) $ECHO_C" >&6
48455 else
48456 if test x$gcc_no_link = xyes; then
48457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48459 { (exit 1); exit 1; }; }
48461 cat >conftest.$ac_ext <<_ACEOF
48462 /* confdefs.h. */
48463 _ACEOF
48464 cat confdefs.h >>conftest.$ac_ext
48465 cat >>conftest.$ac_ext <<_ACEOF
48466 /* end confdefs.h. */
48467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48469 #define $ac_func innocuous_$ac_func
48471 /* System header to define __stub macros and hopefully few prototypes,
48472 which can conflict with char $ac_func (); below.
48473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48474 <limits.h> exists even on freestanding compilers. */
48476 #ifdef __STDC__
48477 # include <limits.h>
48478 #else
48479 # include <assert.h>
48480 #endif
48482 #undef $ac_func
48484 /* Override any gcc2 internal prototype to avoid an error. */
48485 #ifdef __cplusplus
48486 extern "C"
48488 #endif
48489 /* We use char because int might match the return type of a gcc2
48490 builtin and then its argument prototype would still apply. */
48491 char $ac_func ();
48492 /* The GNU C library defines this for functions which it implements
48493 to always fail with ENOSYS. Some functions are actually named
48494 something starting with __ and the normal name is an alias. */
48495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48496 choke me
48497 #else
48498 char (*f) () = $ac_func;
48499 #endif
48500 #ifdef __cplusplus
48502 #endif
48505 main ()
48507 return f != $ac_func;
48509 return 0;
48511 _ACEOF
48512 rm -f conftest.$ac_objext conftest$ac_exeext
48513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48514 (eval $ac_link) 2>conftest.er1
48515 ac_status=$?
48516 grep -v '^ *+' conftest.er1 >conftest.err
48517 rm -f conftest.er1
48518 cat conftest.err >&5
48519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48520 (exit $ac_status); } &&
48521 { ac_try='test -z "$ac_c_werror_flag"
48522 || test ! -s conftest.err'
48523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48524 (eval $ac_try) 2>&5
48525 ac_status=$?
48526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48527 (exit $ac_status); }; } &&
48528 { ac_try='test -s conftest$ac_exeext'
48529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48530 (eval $ac_try) 2>&5
48531 ac_status=$?
48532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48533 (exit $ac_status); }; }; then
48534 eval "$as_ac_var=yes"
48535 else
48536 echo "$as_me: failed program was:" >&5
48537 sed 's/^/| /' conftest.$ac_ext >&5
48539 eval "$as_ac_var=no"
48541 rm -f conftest.err conftest.$ac_objext \
48542 conftest$ac_exeext conftest.$ac_ext
48544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48546 if test `eval echo '${'$as_ac_var'}'` = yes; then
48547 cat >>confdefs.h <<_ACEOF
48548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48549 _ACEOF
48552 done
48562 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
48563 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
48564 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48565 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
48566 echo $ECHO_N "(cached) $ECHO_C" >&6
48567 else
48571 ac_ext=cc
48572 ac_cpp='$CXXCPP $CPPFLAGS'
48573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48577 cat >conftest.$ac_ext <<_ACEOF
48578 /* confdefs.h. */
48579 _ACEOF
48580 cat confdefs.h >>conftest.$ac_ext
48581 cat >>conftest.$ac_ext <<_ACEOF
48582 /* end confdefs.h. */
48583 #include <math.h>
48584 #ifdef HAVE_IEEEFP_H
48585 #include <ieeefp.h>
48586 #endif
48589 main ()
48591 fabsf(0);
48593 return 0;
48595 _ACEOF
48596 rm -f conftest.$ac_objext
48597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48598 (eval $ac_compile) 2>conftest.er1
48599 ac_status=$?
48600 grep -v '^ *+' conftest.er1 >conftest.err
48601 rm -f conftest.er1
48602 cat conftest.err >&5
48603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48604 (exit $ac_status); } &&
48605 { ac_try='test -z "$ac_cxx_werror_flag"
48606 || test ! -s conftest.err'
48607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48608 (eval $ac_try) 2>&5
48609 ac_status=$?
48610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48611 (exit $ac_status); }; } &&
48612 { ac_try='test -s conftest.$ac_objext'
48613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48614 (eval $ac_try) 2>&5
48615 ac_status=$?
48616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48617 (exit $ac_status); }; }; then
48618 glibcxx_cv_func_fabsf_use=yes
48619 else
48620 echo "$as_me: failed program was:" >&5
48621 sed 's/^/| /' conftest.$ac_ext >&5
48623 glibcxx_cv_func_fabsf_use=no
48625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48626 ac_ext=c
48627 ac_cpp='$CPP $CPPFLAGS'
48628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48636 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
48637 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
48639 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48641 for ac_func in fabsf
48643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48644 echo "$as_me:$LINENO: checking for $ac_func" >&5
48645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48646 if eval "test \"\${$as_ac_var+set}\" = set"; then
48647 echo $ECHO_N "(cached) $ECHO_C" >&6
48648 else
48649 if test x$gcc_no_link = xyes; then
48650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48652 { (exit 1); exit 1; }; }
48654 cat >conftest.$ac_ext <<_ACEOF
48655 /* confdefs.h. */
48656 _ACEOF
48657 cat confdefs.h >>conftest.$ac_ext
48658 cat >>conftest.$ac_ext <<_ACEOF
48659 /* end confdefs.h. */
48660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48662 #define $ac_func innocuous_$ac_func
48664 /* System header to define __stub macros and hopefully few prototypes,
48665 which can conflict with char $ac_func (); below.
48666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48667 <limits.h> exists even on freestanding compilers. */
48669 #ifdef __STDC__
48670 # include <limits.h>
48671 #else
48672 # include <assert.h>
48673 #endif
48675 #undef $ac_func
48677 /* Override any gcc2 internal prototype to avoid an error. */
48678 #ifdef __cplusplus
48679 extern "C"
48681 #endif
48682 /* We use char because int might match the return type of a gcc2
48683 builtin and then its argument prototype would still apply. */
48684 char $ac_func ();
48685 /* The GNU C library defines this for functions which it implements
48686 to always fail with ENOSYS. Some functions are actually named
48687 something starting with __ and the normal name is an alias. */
48688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48689 choke me
48690 #else
48691 char (*f) () = $ac_func;
48692 #endif
48693 #ifdef __cplusplus
48695 #endif
48698 main ()
48700 return f != $ac_func;
48702 return 0;
48704 _ACEOF
48705 rm -f conftest.$ac_objext conftest$ac_exeext
48706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48707 (eval $ac_link) 2>conftest.er1
48708 ac_status=$?
48709 grep -v '^ *+' conftest.er1 >conftest.err
48710 rm -f conftest.er1
48711 cat conftest.err >&5
48712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48713 (exit $ac_status); } &&
48714 { ac_try='test -z "$ac_c_werror_flag"
48715 || test ! -s conftest.err'
48716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48717 (eval $ac_try) 2>&5
48718 ac_status=$?
48719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48720 (exit $ac_status); }; } &&
48721 { ac_try='test -s conftest$ac_exeext'
48722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48723 (eval $ac_try) 2>&5
48724 ac_status=$?
48725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48726 (exit $ac_status); }; }; then
48727 eval "$as_ac_var=yes"
48728 else
48729 echo "$as_me: failed program was:" >&5
48730 sed 's/^/| /' conftest.$ac_ext >&5
48732 eval "$as_ac_var=no"
48734 rm -f conftest.err conftest.$ac_objext \
48735 conftest$ac_exeext conftest.$ac_ext
48737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48739 if test `eval echo '${'$as_ac_var'}'` = yes; then
48740 cat >>confdefs.h <<_ACEOF
48741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48742 _ACEOF
48745 done
48747 else
48749 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
48750 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
48751 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48752 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
48753 echo $ECHO_N "(cached) $ECHO_C" >&6
48754 else
48758 ac_ext=cc
48759 ac_cpp='$CXXCPP $CPPFLAGS'
48760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48764 cat >conftest.$ac_ext <<_ACEOF
48765 /* confdefs.h. */
48766 _ACEOF
48767 cat confdefs.h >>conftest.$ac_ext
48768 cat >>conftest.$ac_ext <<_ACEOF
48769 /* end confdefs.h. */
48770 #include <math.h>
48771 #ifdef HAVE_IEEEFP_H
48772 #include <ieeefp.h>
48773 #endif
48776 main ()
48778 _fabsf(0);
48780 return 0;
48782 _ACEOF
48783 rm -f conftest.$ac_objext
48784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48785 (eval $ac_compile) 2>conftest.er1
48786 ac_status=$?
48787 grep -v '^ *+' conftest.er1 >conftest.err
48788 rm -f conftest.er1
48789 cat conftest.err >&5
48790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48791 (exit $ac_status); } &&
48792 { ac_try='test -z "$ac_cxx_werror_flag"
48793 || test ! -s conftest.err'
48794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48795 (eval $ac_try) 2>&5
48796 ac_status=$?
48797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48798 (exit $ac_status); }; } &&
48799 { ac_try='test -s conftest.$ac_objext'
48800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48801 (eval $ac_try) 2>&5
48802 ac_status=$?
48803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48804 (exit $ac_status); }; }; then
48805 glibcxx_cv_func__fabsf_use=yes
48806 else
48807 echo "$as_me: failed program was:" >&5
48808 sed 's/^/| /' conftest.$ac_ext >&5
48810 glibcxx_cv_func__fabsf_use=no
48812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48813 ac_ext=c
48814 ac_cpp='$CPP $CPPFLAGS'
48815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48823 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
48824 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
48826 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48828 for ac_func in _fabsf
48830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48831 echo "$as_me:$LINENO: checking for $ac_func" >&5
48832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48833 if eval "test \"\${$as_ac_var+set}\" = set"; then
48834 echo $ECHO_N "(cached) $ECHO_C" >&6
48835 else
48836 if test x$gcc_no_link = xyes; then
48837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48839 { (exit 1); exit 1; }; }
48841 cat >conftest.$ac_ext <<_ACEOF
48842 /* confdefs.h. */
48843 _ACEOF
48844 cat confdefs.h >>conftest.$ac_ext
48845 cat >>conftest.$ac_ext <<_ACEOF
48846 /* end confdefs.h. */
48847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48849 #define $ac_func innocuous_$ac_func
48851 /* System header to define __stub macros and hopefully few prototypes,
48852 which can conflict with char $ac_func (); below.
48853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48854 <limits.h> exists even on freestanding compilers. */
48856 #ifdef __STDC__
48857 # include <limits.h>
48858 #else
48859 # include <assert.h>
48860 #endif
48862 #undef $ac_func
48864 /* Override any gcc2 internal prototype to avoid an error. */
48865 #ifdef __cplusplus
48866 extern "C"
48868 #endif
48869 /* We use char because int might match the return type of a gcc2
48870 builtin and then its argument prototype would still apply. */
48871 char $ac_func ();
48872 /* The GNU C library defines this for functions which it implements
48873 to always fail with ENOSYS. Some functions are actually named
48874 something starting with __ and the normal name is an alias. */
48875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48876 choke me
48877 #else
48878 char (*f) () = $ac_func;
48879 #endif
48880 #ifdef __cplusplus
48882 #endif
48885 main ()
48887 return f != $ac_func;
48889 return 0;
48891 _ACEOF
48892 rm -f conftest.$ac_objext conftest$ac_exeext
48893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48894 (eval $ac_link) 2>conftest.er1
48895 ac_status=$?
48896 grep -v '^ *+' conftest.er1 >conftest.err
48897 rm -f conftest.er1
48898 cat conftest.err >&5
48899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48900 (exit $ac_status); } &&
48901 { ac_try='test -z "$ac_c_werror_flag"
48902 || test ! -s conftest.err'
48903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48904 (eval $ac_try) 2>&5
48905 ac_status=$?
48906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48907 (exit $ac_status); }; } &&
48908 { ac_try='test -s conftest$ac_exeext'
48909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48910 (eval $ac_try) 2>&5
48911 ac_status=$?
48912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48913 (exit $ac_status); }; }; then
48914 eval "$as_ac_var=yes"
48915 else
48916 echo "$as_me: failed program was:" >&5
48917 sed 's/^/| /' conftest.$ac_ext >&5
48919 eval "$as_ac_var=no"
48921 rm -f conftest.err conftest.$ac_objext \
48922 conftest$ac_exeext conftest.$ac_ext
48924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48926 if test `eval echo '${'$as_ac_var'}'` = yes; then
48927 cat >>confdefs.h <<_ACEOF
48928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48929 _ACEOF
48932 done
48942 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
48943 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
48944 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48945 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
48946 echo $ECHO_N "(cached) $ECHO_C" >&6
48947 else
48951 ac_ext=cc
48952 ac_cpp='$CXXCPP $CPPFLAGS'
48953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48957 cat >conftest.$ac_ext <<_ACEOF
48958 /* confdefs.h. */
48959 _ACEOF
48960 cat confdefs.h >>conftest.$ac_ext
48961 cat >>conftest.$ac_ext <<_ACEOF
48962 /* end confdefs.h. */
48963 #include <math.h>
48965 main ()
48967 fmodf(0, 0);
48969 return 0;
48971 _ACEOF
48972 rm -f conftest.$ac_objext
48973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48974 (eval $ac_compile) 2>conftest.er1
48975 ac_status=$?
48976 grep -v '^ *+' conftest.er1 >conftest.err
48977 rm -f conftest.er1
48978 cat conftest.err >&5
48979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48980 (exit $ac_status); } &&
48981 { ac_try='test -z "$ac_cxx_werror_flag"
48982 || test ! -s conftest.err'
48983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48984 (eval $ac_try) 2>&5
48985 ac_status=$?
48986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48987 (exit $ac_status); }; } &&
48988 { ac_try='test -s conftest.$ac_objext'
48989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48990 (eval $ac_try) 2>&5
48991 ac_status=$?
48992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48993 (exit $ac_status); }; }; then
48994 glibcxx_cv_func_fmodf_use=yes
48995 else
48996 echo "$as_me: failed program was:" >&5
48997 sed 's/^/| /' conftest.$ac_ext >&5
48999 glibcxx_cv_func_fmodf_use=no
49001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49002 ac_ext=c
49003 ac_cpp='$CPP $CPPFLAGS'
49004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49012 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
49013 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
49015 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49017 for ac_func in fmodf
49019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49020 echo "$as_me:$LINENO: checking for $ac_func" >&5
49021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49022 if eval "test \"\${$as_ac_var+set}\" = set"; then
49023 echo $ECHO_N "(cached) $ECHO_C" >&6
49024 else
49025 if test x$gcc_no_link = xyes; then
49026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49028 { (exit 1); exit 1; }; }
49030 cat >conftest.$ac_ext <<_ACEOF
49031 /* confdefs.h. */
49032 _ACEOF
49033 cat confdefs.h >>conftest.$ac_ext
49034 cat >>conftest.$ac_ext <<_ACEOF
49035 /* end confdefs.h. */
49036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49038 #define $ac_func innocuous_$ac_func
49040 /* System header to define __stub macros and hopefully few prototypes,
49041 which can conflict with char $ac_func (); below.
49042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49043 <limits.h> exists even on freestanding compilers. */
49045 #ifdef __STDC__
49046 # include <limits.h>
49047 #else
49048 # include <assert.h>
49049 #endif
49051 #undef $ac_func
49053 /* Override any gcc2 internal prototype to avoid an error. */
49054 #ifdef __cplusplus
49055 extern "C"
49057 #endif
49058 /* We use char because int might match the return type of a gcc2
49059 builtin and then its argument prototype would still apply. */
49060 char $ac_func ();
49061 /* The GNU C library defines this for functions which it implements
49062 to always fail with ENOSYS. Some functions are actually named
49063 something starting with __ and the normal name is an alias. */
49064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49065 choke me
49066 #else
49067 char (*f) () = $ac_func;
49068 #endif
49069 #ifdef __cplusplus
49071 #endif
49074 main ()
49076 return f != $ac_func;
49078 return 0;
49080 _ACEOF
49081 rm -f conftest.$ac_objext conftest$ac_exeext
49082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49083 (eval $ac_link) 2>conftest.er1
49084 ac_status=$?
49085 grep -v '^ *+' conftest.er1 >conftest.err
49086 rm -f conftest.er1
49087 cat conftest.err >&5
49088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49089 (exit $ac_status); } &&
49090 { ac_try='test -z "$ac_c_werror_flag"
49091 || test ! -s conftest.err'
49092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49093 (eval $ac_try) 2>&5
49094 ac_status=$?
49095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49096 (exit $ac_status); }; } &&
49097 { ac_try='test -s conftest$ac_exeext'
49098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49099 (eval $ac_try) 2>&5
49100 ac_status=$?
49101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49102 (exit $ac_status); }; }; then
49103 eval "$as_ac_var=yes"
49104 else
49105 echo "$as_me: failed program was:" >&5
49106 sed 's/^/| /' conftest.$ac_ext >&5
49108 eval "$as_ac_var=no"
49110 rm -f conftest.err conftest.$ac_objext \
49111 conftest$ac_exeext conftest.$ac_ext
49113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49115 if test `eval echo '${'$as_ac_var'}'` = yes; then
49116 cat >>confdefs.h <<_ACEOF
49117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49118 _ACEOF
49121 done
49123 else
49125 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
49126 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
49127 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49128 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
49129 echo $ECHO_N "(cached) $ECHO_C" >&6
49130 else
49134 ac_ext=cc
49135 ac_cpp='$CXXCPP $CPPFLAGS'
49136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49140 cat >conftest.$ac_ext <<_ACEOF
49141 /* confdefs.h. */
49142 _ACEOF
49143 cat confdefs.h >>conftest.$ac_ext
49144 cat >>conftest.$ac_ext <<_ACEOF
49145 /* end confdefs.h. */
49146 #include <math.h>
49148 main ()
49150 _fmodf(0, 0);
49152 return 0;
49154 _ACEOF
49155 rm -f conftest.$ac_objext
49156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49157 (eval $ac_compile) 2>conftest.er1
49158 ac_status=$?
49159 grep -v '^ *+' conftest.er1 >conftest.err
49160 rm -f conftest.er1
49161 cat conftest.err >&5
49162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49163 (exit $ac_status); } &&
49164 { ac_try='test -z "$ac_cxx_werror_flag"
49165 || test ! -s conftest.err'
49166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49167 (eval $ac_try) 2>&5
49168 ac_status=$?
49169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49170 (exit $ac_status); }; } &&
49171 { ac_try='test -s conftest.$ac_objext'
49172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49173 (eval $ac_try) 2>&5
49174 ac_status=$?
49175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49176 (exit $ac_status); }; }; then
49177 glibcxx_cv_func__fmodf_use=yes
49178 else
49179 echo "$as_me: failed program was:" >&5
49180 sed 's/^/| /' conftest.$ac_ext >&5
49182 glibcxx_cv_func__fmodf_use=no
49184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49185 ac_ext=c
49186 ac_cpp='$CPP $CPPFLAGS'
49187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49195 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
49196 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
49198 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49200 for ac_func in _fmodf
49202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49203 echo "$as_me:$LINENO: checking for $ac_func" >&5
49204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49205 if eval "test \"\${$as_ac_var+set}\" = set"; then
49206 echo $ECHO_N "(cached) $ECHO_C" >&6
49207 else
49208 if test x$gcc_no_link = xyes; then
49209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49211 { (exit 1); exit 1; }; }
49213 cat >conftest.$ac_ext <<_ACEOF
49214 /* confdefs.h. */
49215 _ACEOF
49216 cat confdefs.h >>conftest.$ac_ext
49217 cat >>conftest.$ac_ext <<_ACEOF
49218 /* end confdefs.h. */
49219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49221 #define $ac_func innocuous_$ac_func
49223 /* System header to define __stub macros and hopefully few prototypes,
49224 which can conflict with char $ac_func (); below.
49225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49226 <limits.h> exists even on freestanding compilers. */
49228 #ifdef __STDC__
49229 # include <limits.h>
49230 #else
49231 # include <assert.h>
49232 #endif
49234 #undef $ac_func
49236 /* Override any gcc2 internal prototype to avoid an error. */
49237 #ifdef __cplusplus
49238 extern "C"
49240 #endif
49241 /* We use char because int might match the return type of a gcc2
49242 builtin and then its argument prototype would still apply. */
49243 char $ac_func ();
49244 /* The GNU C library defines this for functions which it implements
49245 to always fail with ENOSYS. Some functions are actually named
49246 something starting with __ and the normal name is an alias. */
49247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49248 choke me
49249 #else
49250 char (*f) () = $ac_func;
49251 #endif
49252 #ifdef __cplusplus
49254 #endif
49257 main ()
49259 return f != $ac_func;
49261 return 0;
49263 _ACEOF
49264 rm -f conftest.$ac_objext conftest$ac_exeext
49265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49266 (eval $ac_link) 2>conftest.er1
49267 ac_status=$?
49268 grep -v '^ *+' conftest.er1 >conftest.err
49269 rm -f conftest.er1
49270 cat conftest.err >&5
49271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49272 (exit $ac_status); } &&
49273 { ac_try='test -z "$ac_c_werror_flag"
49274 || test ! -s conftest.err'
49275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49276 (eval $ac_try) 2>&5
49277 ac_status=$?
49278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49279 (exit $ac_status); }; } &&
49280 { ac_try='test -s conftest$ac_exeext'
49281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49282 (eval $ac_try) 2>&5
49283 ac_status=$?
49284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49285 (exit $ac_status); }; }; then
49286 eval "$as_ac_var=yes"
49287 else
49288 echo "$as_me: failed program was:" >&5
49289 sed 's/^/| /' conftest.$ac_ext >&5
49291 eval "$as_ac_var=no"
49293 rm -f conftest.err conftest.$ac_objext \
49294 conftest$ac_exeext conftest.$ac_ext
49296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49298 if test `eval echo '${'$as_ac_var'}'` = yes; then
49299 cat >>confdefs.h <<_ACEOF
49300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49301 _ACEOF
49304 done
49314 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
49315 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
49316 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49317 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
49318 echo $ECHO_N "(cached) $ECHO_C" >&6
49319 else
49323 ac_ext=cc
49324 ac_cpp='$CXXCPP $CPPFLAGS'
49325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49329 cat >conftest.$ac_ext <<_ACEOF
49330 /* confdefs.h. */
49331 _ACEOF
49332 cat confdefs.h >>conftest.$ac_ext
49333 cat >>conftest.$ac_ext <<_ACEOF
49334 /* end confdefs.h. */
49335 #include <math.h>
49337 main ()
49339 frexpf(0, 0);
49341 return 0;
49343 _ACEOF
49344 rm -f conftest.$ac_objext
49345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49346 (eval $ac_compile) 2>conftest.er1
49347 ac_status=$?
49348 grep -v '^ *+' conftest.er1 >conftest.err
49349 rm -f conftest.er1
49350 cat conftest.err >&5
49351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49352 (exit $ac_status); } &&
49353 { ac_try='test -z "$ac_cxx_werror_flag"
49354 || test ! -s conftest.err'
49355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49356 (eval $ac_try) 2>&5
49357 ac_status=$?
49358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49359 (exit $ac_status); }; } &&
49360 { ac_try='test -s conftest.$ac_objext'
49361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49362 (eval $ac_try) 2>&5
49363 ac_status=$?
49364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49365 (exit $ac_status); }; }; then
49366 glibcxx_cv_func_frexpf_use=yes
49367 else
49368 echo "$as_me: failed program was:" >&5
49369 sed 's/^/| /' conftest.$ac_ext >&5
49371 glibcxx_cv_func_frexpf_use=no
49373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49374 ac_ext=c
49375 ac_cpp='$CPP $CPPFLAGS'
49376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49384 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
49385 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
49387 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49389 for ac_func in frexpf
49391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49392 echo "$as_me:$LINENO: checking for $ac_func" >&5
49393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49394 if eval "test \"\${$as_ac_var+set}\" = set"; then
49395 echo $ECHO_N "(cached) $ECHO_C" >&6
49396 else
49397 if test x$gcc_no_link = xyes; then
49398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49400 { (exit 1); exit 1; }; }
49402 cat >conftest.$ac_ext <<_ACEOF
49403 /* confdefs.h. */
49404 _ACEOF
49405 cat confdefs.h >>conftest.$ac_ext
49406 cat >>conftest.$ac_ext <<_ACEOF
49407 /* end confdefs.h. */
49408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49410 #define $ac_func innocuous_$ac_func
49412 /* System header to define __stub macros and hopefully few prototypes,
49413 which can conflict with char $ac_func (); below.
49414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49415 <limits.h> exists even on freestanding compilers. */
49417 #ifdef __STDC__
49418 # include <limits.h>
49419 #else
49420 # include <assert.h>
49421 #endif
49423 #undef $ac_func
49425 /* Override any gcc2 internal prototype to avoid an error. */
49426 #ifdef __cplusplus
49427 extern "C"
49429 #endif
49430 /* We use char because int might match the return type of a gcc2
49431 builtin and then its argument prototype would still apply. */
49432 char $ac_func ();
49433 /* The GNU C library defines this for functions which it implements
49434 to always fail with ENOSYS. Some functions are actually named
49435 something starting with __ and the normal name is an alias. */
49436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49437 choke me
49438 #else
49439 char (*f) () = $ac_func;
49440 #endif
49441 #ifdef __cplusplus
49443 #endif
49446 main ()
49448 return f != $ac_func;
49450 return 0;
49452 _ACEOF
49453 rm -f conftest.$ac_objext conftest$ac_exeext
49454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49455 (eval $ac_link) 2>conftest.er1
49456 ac_status=$?
49457 grep -v '^ *+' conftest.er1 >conftest.err
49458 rm -f conftest.er1
49459 cat conftest.err >&5
49460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49461 (exit $ac_status); } &&
49462 { ac_try='test -z "$ac_c_werror_flag"
49463 || test ! -s conftest.err'
49464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49465 (eval $ac_try) 2>&5
49466 ac_status=$?
49467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49468 (exit $ac_status); }; } &&
49469 { ac_try='test -s conftest$ac_exeext'
49470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49471 (eval $ac_try) 2>&5
49472 ac_status=$?
49473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49474 (exit $ac_status); }; }; then
49475 eval "$as_ac_var=yes"
49476 else
49477 echo "$as_me: failed program was:" >&5
49478 sed 's/^/| /' conftest.$ac_ext >&5
49480 eval "$as_ac_var=no"
49482 rm -f conftest.err conftest.$ac_objext \
49483 conftest$ac_exeext conftest.$ac_ext
49485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49487 if test `eval echo '${'$as_ac_var'}'` = yes; then
49488 cat >>confdefs.h <<_ACEOF
49489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49490 _ACEOF
49493 done
49495 else
49497 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
49498 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
49499 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49500 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
49501 echo $ECHO_N "(cached) $ECHO_C" >&6
49502 else
49506 ac_ext=cc
49507 ac_cpp='$CXXCPP $CPPFLAGS'
49508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49512 cat >conftest.$ac_ext <<_ACEOF
49513 /* confdefs.h. */
49514 _ACEOF
49515 cat confdefs.h >>conftest.$ac_ext
49516 cat >>conftest.$ac_ext <<_ACEOF
49517 /* end confdefs.h. */
49518 #include <math.h>
49520 main ()
49522 _frexpf(0, 0);
49524 return 0;
49526 _ACEOF
49527 rm -f conftest.$ac_objext
49528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49529 (eval $ac_compile) 2>conftest.er1
49530 ac_status=$?
49531 grep -v '^ *+' conftest.er1 >conftest.err
49532 rm -f conftest.er1
49533 cat conftest.err >&5
49534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49535 (exit $ac_status); } &&
49536 { ac_try='test -z "$ac_cxx_werror_flag"
49537 || test ! -s conftest.err'
49538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49539 (eval $ac_try) 2>&5
49540 ac_status=$?
49541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49542 (exit $ac_status); }; } &&
49543 { ac_try='test -s conftest.$ac_objext'
49544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49545 (eval $ac_try) 2>&5
49546 ac_status=$?
49547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49548 (exit $ac_status); }; }; then
49549 glibcxx_cv_func__frexpf_use=yes
49550 else
49551 echo "$as_me: failed program was:" >&5
49552 sed 's/^/| /' conftest.$ac_ext >&5
49554 glibcxx_cv_func__frexpf_use=no
49556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49557 ac_ext=c
49558 ac_cpp='$CPP $CPPFLAGS'
49559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49567 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
49568 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
49570 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49572 for ac_func in _frexpf
49574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49575 echo "$as_me:$LINENO: checking for $ac_func" >&5
49576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49577 if eval "test \"\${$as_ac_var+set}\" = set"; then
49578 echo $ECHO_N "(cached) $ECHO_C" >&6
49579 else
49580 if test x$gcc_no_link = xyes; then
49581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49583 { (exit 1); exit 1; }; }
49585 cat >conftest.$ac_ext <<_ACEOF
49586 /* confdefs.h. */
49587 _ACEOF
49588 cat confdefs.h >>conftest.$ac_ext
49589 cat >>conftest.$ac_ext <<_ACEOF
49590 /* end confdefs.h. */
49591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49593 #define $ac_func innocuous_$ac_func
49595 /* System header to define __stub macros and hopefully few prototypes,
49596 which can conflict with char $ac_func (); below.
49597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49598 <limits.h> exists even on freestanding compilers. */
49600 #ifdef __STDC__
49601 # include <limits.h>
49602 #else
49603 # include <assert.h>
49604 #endif
49606 #undef $ac_func
49608 /* Override any gcc2 internal prototype to avoid an error. */
49609 #ifdef __cplusplus
49610 extern "C"
49612 #endif
49613 /* We use char because int might match the return type of a gcc2
49614 builtin and then its argument prototype would still apply. */
49615 char $ac_func ();
49616 /* The GNU C library defines this for functions which it implements
49617 to always fail with ENOSYS. Some functions are actually named
49618 something starting with __ and the normal name is an alias. */
49619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49620 choke me
49621 #else
49622 char (*f) () = $ac_func;
49623 #endif
49624 #ifdef __cplusplus
49626 #endif
49629 main ()
49631 return f != $ac_func;
49633 return 0;
49635 _ACEOF
49636 rm -f conftest.$ac_objext conftest$ac_exeext
49637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49638 (eval $ac_link) 2>conftest.er1
49639 ac_status=$?
49640 grep -v '^ *+' conftest.er1 >conftest.err
49641 rm -f conftest.er1
49642 cat conftest.err >&5
49643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49644 (exit $ac_status); } &&
49645 { ac_try='test -z "$ac_c_werror_flag"
49646 || test ! -s conftest.err'
49647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49648 (eval $ac_try) 2>&5
49649 ac_status=$?
49650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49651 (exit $ac_status); }; } &&
49652 { ac_try='test -s conftest$ac_exeext'
49653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49654 (eval $ac_try) 2>&5
49655 ac_status=$?
49656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49657 (exit $ac_status); }; }; then
49658 eval "$as_ac_var=yes"
49659 else
49660 echo "$as_me: failed program was:" >&5
49661 sed 's/^/| /' conftest.$ac_ext >&5
49663 eval "$as_ac_var=no"
49665 rm -f conftest.err conftest.$ac_objext \
49666 conftest$ac_exeext conftest.$ac_ext
49668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49670 if test `eval echo '${'$as_ac_var'}'` = yes; then
49671 cat >>confdefs.h <<_ACEOF
49672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49673 _ACEOF
49676 done
49686 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
49687 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
49688 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49689 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
49690 echo $ECHO_N "(cached) $ECHO_C" >&6
49691 else
49695 ac_ext=cc
49696 ac_cpp='$CXXCPP $CPPFLAGS'
49697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49701 cat >conftest.$ac_ext <<_ACEOF
49702 /* confdefs.h. */
49703 _ACEOF
49704 cat confdefs.h >>conftest.$ac_ext
49705 cat >>conftest.$ac_ext <<_ACEOF
49706 /* end confdefs.h. */
49707 #include <math.h>
49709 main ()
49711 hypotf(0, 0);
49713 return 0;
49715 _ACEOF
49716 rm -f conftest.$ac_objext
49717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49718 (eval $ac_compile) 2>conftest.er1
49719 ac_status=$?
49720 grep -v '^ *+' conftest.er1 >conftest.err
49721 rm -f conftest.er1
49722 cat conftest.err >&5
49723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49724 (exit $ac_status); } &&
49725 { ac_try='test -z "$ac_cxx_werror_flag"
49726 || test ! -s conftest.err'
49727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49728 (eval $ac_try) 2>&5
49729 ac_status=$?
49730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49731 (exit $ac_status); }; } &&
49732 { ac_try='test -s conftest.$ac_objext'
49733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49734 (eval $ac_try) 2>&5
49735 ac_status=$?
49736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49737 (exit $ac_status); }; }; then
49738 glibcxx_cv_func_hypotf_use=yes
49739 else
49740 echo "$as_me: failed program was:" >&5
49741 sed 's/^/| /' conftest.$ac_ext >&5
49743 glibcxx_cv_func_hypotf_use=no
49745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49746 ac_ext=c
49747 ac_cpp='$CPP $CPPFLAGS'
49748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49756 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
49757 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
49759 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49761 for ac_func in hypotf
49763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49764 echo "$as_me:$LINENO: checking for $ac_func" >&5
49765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49766 if eval "test \"\${$as_ac_var+set}\" = set"; then
49767 echo $ECHO_N "(cached) $ECHO_C" >&6
49768 else
49769 if test x$gcc_no_link = xyes; then
49770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49772 { (exit 1); exit 1; }; }
49774 cat >conftest.$ac_ext <<_ACEOF
49775 /* confdefs.h. */
49776 _ACEOF
49777 cat confdefs.h >>conftest.$ac_ext
49778 cat >>conftest.$ac_ext <<_ACEOF
49779 /* end confdefs.h. */
49780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49782 #define $ac_func innocuous_$ac_func
49784 /* System header to define __stub macros and hopefully few prototypes,
49785 which can conflict with char $ac_func (); below.
49786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49787 <limits.h> exists even on freestanding compilers. */
49789 #ifdef __STDC__
49790 # include <limits.h>
49791 #else
49792 # include <assert.h>
49793 #endif
49795 #undef $ac_func
49797 /* Override any gcc2 internal prototype to avoid an error. */
49798 #ifdef __cplusplus
49799 extern "C"
49801 #endif
49802 /* We use char because int might match the return type of a gcc2
49803 builtin and then its argument prototype would still apply. */
49804 char $ac_func ();
49805 /* The GNU C library defines this for functions which it implements
49806 to always fail with ENOSYS. Some functions are actually named
49807 something starting with __ and the normal name is an alias. */
49808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49809 choke me
49810 #else
49811 char (*f) () = $ac_func;
49812 #endif
49813 #ifdef __cplusplus
49815 #endif
49818 main ()
49820 return f != $ac_func;
49822 return 0;
49824 _ACEOF
49825 rm -f conftest.$ac_objext conftest$ac_exeext
49826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49827 (eval $ac_link) 2>conftest.er1
49828 ac_status=$?
49829 grep -v '^ *+' conftest.er1 >conftest.err
49830 rm -f conftest.er1
49831 cat conftest.err >&5
49832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49833 (exit $ac_status); } &&
49834 { ac_try='test -z "$ac_c_werror_flag"
49835 || test ! -s conftest.err'
49836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49837 (eval $ac_try) 2>&5
49838 ac_status=$?
49839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49840 (exit $ac_status); }; } &&
49841 { ac_try='test -s conftest$ac_exeext'
49842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49843 (eval $ac_try) 2>&5
49844 ac_status=$?
49845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49846 (exit $ac_status); }; }; then
49847 eval "$as_ac_var=yes"
49848 else
49849 echo "$as_me: failed program was:" >&5
49850 sed 's/^/| /' conftest.$ac_ext >&5
49852 eval "$as_ac_var=no"
49854 rm -f conftest.err conftest.$ac_objext \
49855 conftest$ac_exeext conftest.$ac_ext
49857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49859 if test `eval echo '${'$as_ac_var'}'` = yes; then
49860 cat >>confdefs.h <<_ACEOF
49861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49862 _ACEOF
49865 done
49867 else
49869 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
49870 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
49871 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49872 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
49873 echo $ECHO_N "(cached) $ECHO_C" >&6
49874 else
49878 ac_ext=cc
49879 ac_cpp='$CXXCPP $CPPFLAGS'
49880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49884 cat >conftest.$ac_ext <<_ACEOF
49885 /* confdefs.h. */
49886 _ACEOF
49887 cat confdefs.h >>conftest.$ac_ext
49888 cat >>conftest.$ac_ext <<_ACEOF
49889 /* end confdefs.h. */
49890 #include <math.h>
49892 main ()
49894 _hypotf(0, 0);
49896 return 0;
49898 _ACEOF
49899 rm -f conftest.$ac_objext
49900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49901 (eval $ac_compile) 2>conftest.er1
49902 ac_status=$?
49903 grep -v '^ *+' conftest.er1 >conftest.err
49904 rm -f conftest.er1
49905 cat conftest.err >&5
49906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49907 (exit $ac_status); } &&
49908 { ac_try='test -z "$ac_cxx_werror_flag"
49909 || test ! -s conftest.err'
49910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49911 (eval $ac_try) 2>&5
49912 ac_status=$?
49913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49914 (exit $ac_status); }; } &&
49915 { ac_try='test -s conftest.$ac_objext'
49916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49917 (eval $ac_try) 2>&5
49918 ac_status=$?
49919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49920 (exit $ac_status); }; }; then
49921 glibcxx_cv_func__hypotf_use=yes
49922 else
49923 echo "$as_me: failed program was:" >&5
49924 sed 's/^/| /' conftest.$ac_ext >&5
49926 glibcxx_cv_func__hypotf_use=no
49928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49929 ac_ext=c
49930 ac_cpp='$CPP $CPPFLAGS'
49931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49939 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
49940 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
49942 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49944 for ac_func in _hypotf
49946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49947 echo "$as_me:$LINENO: checking for $ac_func" >&5
49948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49949 if eval "test \"\${$as_ac_var+set}\" = set"; then
49950 echo $ECHO_N "(cached) $ECHO_C" >&6
49951 else
49952 if test x$gcc_no_link = xyes; then
49953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49955 { (exit 1); exit 1; }; }
49957 cat >conftest.$ac_ext <<_ACEOF
49958 /* confdefs.h. */
49959 _ACEOF
49960 cat confdefs.h >>conftest.$ac_ext
49961 cat >>conftest.$ac_ext <<_ACEOF
49962 /* end confdefs.h. */
49963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49965 #define $ac_func innocuous_$ac_func
49967 /* System header to define __stub macros and hopefully few prototypes,
49968 which can conflict with char $ac_func (); below.
49969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49970 <limits.h> exists even on freestanding compilers. */
49972 #ifdef __STDC__
49973 # include <limits.h>
49974 #else
49975 # include <assert.h>
49976 #endif
49978 #undef $ac_func
49980 /* Override any gcc2 internal prototype to avoid an error. */
49981 #ifdef __cplusplus
49982 extern "C"
49984 #endif
49985 /* We use char because int might match the return type of a gcc2
49986 builtin and then its argument prototype would still apply. */
49987 char $ac_func ();
49988 /* The GNU C library defines this for functions which it implements
49989 to always fail with ENOSYS. Some functions are actually named
49990 something starting with __ and the normal name is an alias. */
49991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49992 choke me
49993 #else
49994 char (*f) () = $ac_func;
49995 #endif
49996 #ifdef __cplusplus
49998 #endif
50001 main ()
50003 return f != $ac_func;
50005 return 0;
50007 _ACEOF
50008 rm -f conftest.$ac_objext conftest$ac_exeext
50009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50010 (eval $ac_link) 2>conftest.er1
50011 ac_status=$?
50012 grep -v '^ *+' conftest.er1 >conftest.err
50013 rm -f conftest.er1
50014 cat conftest.err >&5
50015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50016 (exit $ac_status); } &&
50017 { ac_try='test -z "$ac_c_werror_flag"
50018 || test ! -s conftest.err'
50019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50020 (eval $ac_try) 2>&5
50021 ac_status=$?
50022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50023 (exit $ac_status); }; } &&
50024 { ac_try='test -s conftest$ac_exeext'
50025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50026 (eval $ac_try) 2>&5
50027 ac_status=$?
50028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50029 (exit $ac_status); }; }; then
50030 eval "$as_ac_var=yes"
50031 else
50032 echo "$as_me: failed program was:" >&5
50033 sed 's/^/| /' conftest.$ac_ext >&5
50035 eval "$as_ac_var=no"
50037 rm -f conftest.err conftest.$ac_objext \
50038 conftest$ac_exeext conftest.$ac_ext
50040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50042 if test `eval echo '${'$as_ac_var'}'` = yes; then
50043 cat >>confdefs.h <<_ACEOF
50044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50045 _ACEOF
50048 done
50058 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
50059 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
50060 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50061 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
50062 echo $ECHO_N "(cached) $ECHO_C" >&6
50063 else
50067 ac_ext=cc
50068 ac_cpp='$CXXCPP $CPPFLAGS'
50069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50073 cat >conftest.$ac_ext <<_ACEOF
50074 /* confdefs.h. */
50075 _ACEOF
50076 cat confdefs.h >>conftest.$ac_ext
50077 cat >>conftest.$ac_ext <<_ACEOF
50078 /* end confdefs.h. */
50079 #include <math.h>
50081 main ()
50083 ldexpf(0, 0);
50085 return 0;
50087 _ACEOF
50088 rm -f conftest.$ac_objext
50089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50090 (eval $ac_compile) 2>conftest.er1
50091 ac_status=$?
50092 grep -v '^ *+' conftest.er1 >conftest.err
50093 rm -f conftest.er1
50094 cat conftest.err >&5
50095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50096 (exit $ac_status); } &&
50097 { ac_try='test -z "$ac_cxx_werror_flag"
50098 || test ! -s conftest.err'
50099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50100 (eval $ac_try) 2>&5
50101 ac_status=$?
50102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50103 (exit $ac_status); }; } &&
50104 { ac_try='test -s conftest.$ac_objext'
50105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50106 (eval $ac_try) 2>&5
50107 ac_status=$?
50108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50109 (exit $ac_status); }; }; then
50110 glibcxx_cv_func_ldexpf_use=yes
50111 else
50112 echo "$as_me: failed program was:" >&5
50113 sed 's/^/| /' conftest.$ac_ext >&5
50115 glibcxx_cv_func_ldexpf_use=no
50117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50118 ac_ext=c
50119 ac_cpp='$CPP $CPPFLAGS'
50120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50128 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
50129 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
50131 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50133 for ac_func in ldexpf
50135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50136 echo "$as_me:$LINENO: checking for $ac_func" >&5
50137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50138 if eval "test \"\${$as_ac_var+set}\" = set"; then
50139 echo $ECHO_N "(cached) $ECHO_C" >&6
50140 else
50141 if test x$gcc_no_link = xyes; then
50142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50144 { (exit 1); exit 1; }; }
50146 cat >conftest.$ac_ext <<_ACEOF
50147 /* confdefs.h. */
50148 _ACEOF
50149 cat confdefs.h >>conftest.$ac_ext
50150 cat >>conftest.$ac_ext <<_ACEOF
50151 /* end confdefs.h. */
50152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50154 #define $ac_func innocuous_$ac_func
50156 /* System header to define __stub macros and hopefully few prototypes,
50157 which can conflict with char $ac_func (); below.
50158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50159 <limits.h> exists even on freestanding compilers. */
50161 #ifdef __STDC__
50162 # include <limits.h>
50163 #else
50164 # include <assert.h>
50165 #endif
50167 #undef $ac_func
50169 /* Override any gcc2 internal prototype to avoid an error. */
50170 #ifdef __cplusplus
50171 extern "C"
50173 #endif
50174 /* We use char because int might match the return type of a gcc2
50175 builtin and then its argument prototype would still apply. */
50176 char $ac_func ();
50177 /* The GNU C library defines this for functions which it implements
50178 to always fail with ENOSYS. Some functions are actually named
50179 something starting with __ and the normal name is an alias. */
50180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50181 choke me
50182 #else
50183 char (*f) () = $ac_func;
50184 #endif
50185 #ifdef __cplusplus
50187 #endif
50190 main ()
50192 return f != $ac_func;
50194 return 0;
50196 _ACEOF
50197 rm -f conftest.$ac_objext conftest$ac_exeext
50198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50199 (eval $ac_link) 2>conftest.er1
50200 ac_status=$?
50201 grep -v '^ *+' conftest.er1 >conftest.err
50202 rm -f conftest.er1
50203 cat conftest.err >&5
50204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50205 (exit $ac_status); } &&
50206 { ac_try='test -z "$ac_c_werror_flag"
50207 || test ! -s conftest.err'
50208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50209 (eval $ac_try) 2>&5
50210 ac_status=$?
50211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50212 (exit $ac_status); }; } &&
50213 { ac_try='test -s conftest$ac_exeext'
50214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50215 (eval $ac_try) 2>&5
50216 ac_status=$?
50217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50218 (exit $ac_status); }; }; then
50219 eval "$as_ac_var=yes"
50220 else
50221 echo "$as_me: failed program was:" >&5
50222 sed 's/^/| /' conftest.$ac_ext >&5
50224 eval "$as_ac_var=no"
50226 rm -f conftest.err conftest.$ac_objext \
50227 conftest$ac_exeext conftest.$ac_ext
50229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50231 if test `eval echo '${'$as_ac_var'}'` = yes; then
50232 cat >>confdefs.h <<_ACEOF
50233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50234 _ACEOF
50237 done
50239 else
50241 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
50242 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
50243 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50244 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
50245 echo $ECHO_N "(cached) $ECHO_C" >&6
50246 else
50250 ac_ext=cc
50251 ac_cpp='$CXXCPP $CPPFLAGS'
50252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50256 cat >conftest.$ac_ext <<_ACEOF
50257 /* confdefs.h. */
50258 _ACEOF
50259 cat confdefs.h >>conftest.$ac_ext
50260 cat >>conftest.$ac_ext <<_ACEOF
50261 /* end confdefs.h. */
50262 #include <math.h>
50264 main ()
50266 _ldexpf(0, 0);
50268 return 0;
50270 _ACEOF
50271 rm -f conftest.$ac_objext
50272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50273 (eval $ac_compile) 2>conftest.er1
50274 ac_status=$?
50275 grep -v '^ *+' conftest.er1 >conftest.err
50276 rm -f conftest.er1
50277 cat conftest.err >&5
50278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50279 (exit $ac_status); } &&
50280 { ac_try='test -z "$ac_cxx_werror_flag"
50281 || test ! -s conftest.err'
50282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50283 (eval $ac_try) 2>&5
50284 ac_status=$?
50285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50286 (exit $ac_status); }; } &&
50287 { ac_try='test -s conftest.$ac_objext'
50288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50289 (eval $ac_try) 2>&5
50290 ac_status=$?
50291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50292 (exit $ac_status); }; }; then
50293 glibcxx_cv_func__ldexpf_use=yes
50294 else
50295 echo "$as_me: failed program was:" >&5
50296 sed 's/^/| /' conftest.$ac_ext >&5
50298 glibcxx_cv_func__ldexpf_use=no
50300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50301 ac_ext=c
50302 ac_cpp='$CPP $CPPFLAGS'
50303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50311 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
50312 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
50314 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50316 for ac_func in _ldexpf
50318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50319 echo "$as_me:$LINENO: checking for $ac_func" >&5
50320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50321 if eval "test \"\${$as_ac_var+set}\" = set"; then
50322 echo $ECHO_N "(cached) $ECHO_C" >&6
50323 else
50324 if test x$gcc_no_link = xyes; then
50325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50327 { (exit 1); exit 1; }; }
50329 cat >conftest.$ac_ext <<_ACEOF
50330 /* confdefs.h. */
50331 _ACEOF
50332 cat confdefs.h >>conftest.$ac_ext
50333 cat >>conftest.$ac_ext <<_ACEOF
50334 /* end confdefs.h. */
50335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50337 #define $ac_func innocuous_$ac_func
50339 /* System header to define __stub macros and hopefully few prototypes,
50340 which can conflict with char $ac_func (); below.
50341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50342 <limits.h> exists even on freestanding compilers. */
50344 #ifdef __STDC__
50345 # include <limits.h>
50346 #else
50347 # include <assert.h>
50348 #endif
50350 #undef $ac_func
50352 /* Override any gcc2 internal prototype to avoid an error. */
50353 #ifdef __cplusplus
50354 extern "C"
50356 #endif
50357 /* We use char because int might match the return type of a gcc2
50358 builtin and then its argument prototype would still apply. */
50359 char $ac_func ();
50360 /* The GNU C library defines this for functions which it implements
50361 to always fail with ENOSYS. Some functions are actually named
50362 something starting with __ and the normal name is an alias. */
50363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50364 choke me
50365 #else
50366 char (*f) () = $ac_func;
50367 #endif
50368 #ifdef __cplusplus
50370 #endif
50373 main ()
50375 return f != $ac_func;
50377 return 0;
50379 _ACEOF
50380 rm -f conftest.$ac_objext conftest$ac_exeext
50381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50382 (eval $ac_link) 2>conftest.er1
50383 ac_status=$?
50384 grep -v '^ *+' conftest.er1 >conftest.err
50385 rm -f conftest.er1
50386 cat conftest.err >&5
50387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50388 (exit $ac_status); } &&
50389 { ac_try='test -z "$ac_c_werror_flag"
50390 || test ! -s conftest.err'
50391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50392 (eval $ac_try) 2>&5
50393 ac_status=$?
50394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50395 (exit $ac_status); }; } &&
50396 { ac_try='test -s conftest$ac_exeext'
50397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50398 (eval $ac_try) 2>&5
50399 ac_status=$?
50400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50401 (exit $ac_status); }; }; then
50402 eval "$as_ac_var=yes"
50403 else
50404 echo "$as_me: failed program was:" >&5
50405 sed 's/^/| /' conftest.$ac_ext >&5
50407 eval "$as_ac_var=no"
50409 rm -f conftest.err conftest.$ac_objext \
50410 conftest$ac_exeext conftest.$ac_ext
50412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50414 if test `eval echo '${'$as_ac_var'}'` = yes; then
50415 cat >>confdefs.h <<_ACEOF
50416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50417 _ACEOF
50420 done
50430 echo "$as_me:$LINENO: checking for logf declaration" >&5
50431 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
50432 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50433 if test "${glibcxx_cv_func_logf_use+set}" = set; then
50434 echo $ECHO_N "(cached) $ECHO_C" >&6
50435 else
50439 ac_ext=cc
50440 ac_cpp='$CXXCPP $CPPFLAGS'
50441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50445 cat >conftest.$ac_ext <<_ACEOF
50446 /* confdefs.h. */
50447 _ACEOF
50448 cat confdefs.h >>conftest.$ac_ext
50449 cat >>conftest.$ac_ext <<_ACEOF
50450 /* end confdefs.h. */
50451 #include <math.h>
50452 #ifdef HAVE_IEEEFP_H
50453 #include <ieeefp.h>
50454 #endif
50457 main ()
50459 logf(0);
50461 return 0;
50463 _ACEOF
50464 rm -f conftest.$ac_objext
50465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50466 (eval $ac_compile) 2>conftest.er1
50467 ac_status=$?
50468 grep -v '^ *+' conftest.er1 >conftest.err
50469 rm -f conftest.er1
50470 cat conftest.err >&5
50471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50472 (exit $ac_status); } &&
50473 { ac_try='test -z "$ac_cxx_werror_flag"
50474 || test ! -s conftest.err'
50475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50476 (eval $ac_try) 2>&5
50477 ac_status=$?
50478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50479 (exit $ac_status); }; } &&
50480 { ac_try='test -s conftest.$ac_objext'
50481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50482 (eval $ac_try) 2>&5
50483 ac_status=$?
50484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50485 (exit $ac_status); }; }; then
50486 glibcxx_cv_func_logf_use=yes
50487 else
50488 echo "$as_me: failed program was:" >&5
50489 sed 's/^/| /' conftest.$ac_ext >&5
50491 glibcxx_cv_func_logf_use=no
50493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50494 ac_ext=c
50495 ac_cpp='$CPP $CPPFLAGS'
50496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50504 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
50505 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
50507 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50509 for ac_func in logf
50511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50512 echo "$as_me:$LINENO: checking for $ac_func" >&5
50513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50514 if eval "test \"\${$as_ac_var+set}\" = set"; then
50515 echo $ECHO_N "(cached) $ECHO_C" >&6
50516 else
50517 if test x$gcc_no_link = xyes; then
50518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50520 { (exit 1); exit 1; }; }
50522 cat >conftest.$ac_ext <<_ACEOF
50523 /* confdefs.h. */
50524 _ACEOF
50525 cat confdefs.h >>conftest.$ac_ext
50526 cat >>conftest.$ac_ext <<_ACEOF
50527 /* end confdefs.h. */
50528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50530 #define $ac_func innocuous_$ac_func
50532 /* System header to define __stub macros and hopefully few prototypes,
50533 which can conflict with char $ac_func (); below.
50534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50535 <limits.h> exists even on freestanding compilers. */
50537 #ifdef __STDC__
50538 # include <limits.h>
50539 #else
50540 # include <assert.h>
50541 #endif
50543 #undef $ac_func
50545 /* Override any gcc2 internal prototype to avoid an error. */
50546 #ifdef __cplusplus
50547 extern "C"
50549 #endif
50550 /* We use char because int might match the return type of a gcc2
50551 builtin and then its argument prototype would still apply. */
50552 char $ac_func ();
50553 /* The GNU C library defines this for functions which it implements
50554 to always fail with ENOSYS. Some functions are actually named
50555 something starting with __ and the normal name is an alias. */
50556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50557 choke me
50558 #else
50559 char (*f) () = $ac_func;
50560 #endif
50561 #ifdef __cplusplus
50563 #endif
50566 main ()
50568 return f != $ac_func;
50570 return 0;
50572 _ACEOF
50573 rm -f conftest.$ac_objext conftest$ac_exeext
50574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50575 (eval $ac_link) 2>conftest.er1
50576 ac_status=$?
50577 grep -v '^ *+' conftest.er1 >conftest.err
50578 rm -f conftest.er1
50579 cat conftest.err >&5
50580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50581 (exit $ac_status); } &&
50582 { ac_try='test -z "$ac_c_werror_flag"
50583 || test ! -s conftest.err'
50584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50585 (eval $ac_try) 2>&5
50586 ac_status=$?
50587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50588 (exit $ac_status); }; } &&
50589 { ac_try='test -s conftest$ac_exeext'
50590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50591 (eval $ac_try) 2>&5
50592 ac_status=$?
50593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50594 (exit $ac_status); }; }; then
50595 eval "$as_ac_var=yes"
50596 else
50597 echo "$as_me: failed program was:" >&5
50598 sed 's/^/| /' conftest.$ac_ext >&5
50600 eval "$as_ac_var=no"
50602 rm -f conftest.err conftest.$ac_objext \
50603 conftest$ac_exeext conftest.$ac_ext
50605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50607 if test `eval echo '${'$as_ac_var'}'` = yes; then
50608 cat >>confdefs.h <<_ACEOF
50609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50610 _ACEOF
50613 done
50615 else
50617 echo "$as_me:$LINENO: checking for _logf declaration" >&5
50618 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
50619 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50620 if test "${glibcxx_cv_func__logf_use+set}" = set; then
50621 echo $ECHO_N "(cached) $ECHO_C" >&6
50622 else
50626 ac_ext=cc
50627 ac_cpp='$CXXCPP $CPPFLAGS'
50628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50632 cat >conftest.$ac_ext <<_ACEOF
50633 /* confdefs.h. */
50634 _ACEOF
50635 cat confdefs.h >>conftest.$ac_ext
50636 cat >>conftest.$ac_ext <<_ACEOF
50637 /* end confdefs.h. */
50638 #include <math.h>
50639 #ifdef HAVE_IEEEFP_H
50640 #include <ieeefp.h>
50641 #endif
50644 main ()
50646 _logf(0);
50648 return 0;
50650 _ACEOF
50651 rm -f conftest.$ac_objext
50652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50653 (eval $ac_compile) 2>conftest.er1
50654 ac_status=$?
50655 grep -v '^ *+' conftest.er1 >conftest.err
50656 rm -f conftest.er1
50657 cat conftest.err >&5
50658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50659 (exit $ac_status); } &&
50660 { ac_try='test -z "$ac_cxx_werror_flag"
50661 || test ! -s conftest.err'
50662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50663 (eval $ac_try) 2>&5
50664 ac_status=$?
50665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50666 (exit $ac_status); }; } &&
50667 { ac_try='test -s conftest.$ac_objext'
50668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50669 (eval $ac_try) 2>&5
50670 ac_status=$?
50671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50672 (exit $ac_status); }; }; then
50673 glibcxx_cv_func__logf_use=yes
50674 else
50675 echo "$as_me: failed program was:" >&5
50676 sed 's/^/| /' conftest.$ac_ext >&5
50678 glibcxx_cv_func__logf_use=no
50680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50681 ac_ext=c
50682 ac_cpp='$CPP $CPPFLAGS'
50683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50691 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
50692 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
50694 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50696 for ac_func in _logf
50698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50699 echo "$as_me:$LINENO: checking for $ac_func" >&5
50700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50701 if eval "test \"\${$as_ac_var+set}\" = set"; then
50702 echo $ECHO_N "(cached) $ECHO_C" >&6
50703 else
50704 if test x$gcc_no_link = xyes; then
50705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50707 { (exit 1); exit 1; }; }
50709 cat >conftest.$ac_ext <<_ACEOF
50710 /* confdefs.h. */
50711 _ACEOF
50712 cat confdefs.h >>conftest.$ac_ext
50713 cat >>conftest.$ac_ext <<_ACEOF
50714 /* end confdefs.h. */
50715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50717 #define $ac_func innocuous_$ac_func
50719 /* System header to define __stub macros and hopefully few prototypes,
50720 which can conflict with char $ac_func (); below.
50721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50722 <limits.h> exists even on freestanding compilers. */
50724 #ifdef __STDC__
50725 # include <limits.h>
50726 #else
50727 # include <assert.h>
50728 #endif
50730 #undef $ac_func
50732 /* Override any gcc2 internal prototype to avoid an error. */
50733 #ifdef __cplusplus
50734 extern "C"
50736 #endif
50737 /* We use char because int might match the return type of a gcc2
50738 builtin and then its argument prototype would still apply. */
50739 char $ac_func ();
50740 /* The GNU C library defines this for functions which it implements
50741 to always fail with ENOSYS. Some functions are actually named
50742 something starting with __ and the normal name is an alias. */
50743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50744 choke me
50745 #else
50746 char (*f) () = $ac_func;
50747 #endif
50748 #ifdef __cplusplus
50750 #endif
50753 main ()
50755 return f != $ac_func;
50757 return 0;
50759 _ACEOF
50760 rm -f conftest.$ac_objext conftest$ac_exeext
50761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50762 (eval $ac_link) 2>conftest.er1
50763 ac_status=$?
50764 grep -v '^ *+' conftest.er1 >conftest.err
50765 rm -f conftest.er1
50766 cat conftest.err >&5
50767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50768 (exit $ac_status); } &&
50769 { ac_try='test -z "$ac_c_werror_flag"
50770 || test ! -s conftest.err'
50771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50772 (eval $ac_try) 2>&5
50773 ac_status=$?
50774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50775 (exit $ac_status); }; } &&
50776 { ac_try='test -s conftest$ac_exeext'
50777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50778 (eval $ac_try) 2>&5
50779 ac_status=$?
50780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50781 (exit $ac_status); }; }; then
50782 eval "$as_ac_var=yes"
50783 else
50784 echo "$as_me: failed program was:" >&5
50785 sed 's/^/| /' conftest.$ac_ext >&5
50787 eval "$as_ac_var=no"
50789 rm -f conftest.err conftest.$ac_objext \
50790 conftest$ac_exeext conftest.$ac_ext
50792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50794 if test `eval echo '${'$as_ac_var'}'` = yes; then
50795 cat >>confdefs.h <<_ACEOF
50796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50797 _ACEOF
50800 done
50810 echo "$as_me:$LINENO: checking for log10f declaration" >&5
50811 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
50812 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50813 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
50814 echo $ECHO_N "(cached) $ECHO_C" >&6
50815 else
50819 ac_ext=cc
50820 ac_cpp='$CXXCPP $CPPFLAGS'
50821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50825 cat >conftest.$ac_ext <<_ACEOF
50826 /* confdefs.h. */
50827 _ACEOF
50828 cat confdefs.h >>conftest.$ac_ext
50829 cat >>conftest.$ac_ext <<_ACEOF
50830 /* end confdefs.h. */
50831 #include <math.h>
50832 #ifdef HAVE_IEEEFP_H
50833 #include <ieeefp.h>
50834 #endif
50837 main ()
50839 log10f(0);
50841 return 0;
50843 _ACEOF
50844 rm -f conftest.$ac_objext
50845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50846 (eval $ac_compile) 2>conftest.er1
50847 ac_status=$?
50848 grep -v '^ *+' conftest.er1 >conftest.err
50849 rm -f conftest.er1
50850 cat conftest.err >&5
50851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50852 (exit $ac_status); } &&
50853 { ac_try='test -z "$ac_cxx_werror_flag"
50854 || test ! -s conftest.err'
50855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50856 (eval $ac_try) 2>&5
50857 ac_status=$?
50858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50859 (exit $ac_status); }; } &&
50860 { ac_try='test -s conftest.$ac_objext'
50861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50862 (eval $ac_try) 2>&5
50863 ac_status=$?
50864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50865 (exit $ac_status); }; }; then
50866 glibcxx_cv_func_log10f_use=yes
50867 else
50868 echo "$as_me: failed program was:" >&5
50869 sed 's/^/| /' conftest.$ac_ext >&5
50871 glibcxx_cv_func_log10f_use=no
50873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50874 ac_ext=c
50875 ac_cpp='$CPP $CPPFLAGS'
50876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50884 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
50885 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
50887 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50889 for ac_func in log10f
50891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50892 echo "$as_me:$LINENO: checking for $ac_func" >&5
50893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50894 if eval "test \"\${$as_ac_var+set}\" = set"; then
50895 echo $ECHO_N "(cached) $ECHO_C" >&6
50896 else
50897 if test x$gcc_no_link = xyes; then
50898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50900 { (exit 1); exit 1; }; }
50902 cat >conftest.$ac_ext <<_ACEOF
50903 /* confdefs.h. */
50904 _ACEOF
50905 cat confdefs.h >>conftest.$ac_ext
50906 cat >>conftest.$ac_ext <<_ACEOF
50907 /* end confdefs.h. */
50908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50910 #define $ac_func innocuous_$ac_func
50912 /* System header to define __stub macros and hopefully few prototypes,
50913 which can conflict with char $ac_func (); below.
50914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50915 <limits.h> exists even on freestanding compilers. */
50917 #ifdef __STDC__
50918 # include <limits.h>
50919 #else
50920 # include <assert.h>
50921 #endif
50923 #undef $ac_func
50925 /* Override any gcc2 internal prototype to avoid an error. */
50926 #ifdef __cplusplus
50927 extern "C"
50929 #endif
50930 /* We use char because int might match the return type of a gcc2
50931 builtin and then its argument prototype would still apply. */
50932 char $ac_func ();
50933 /* The GNU C library defines this for functions which it implements
50934 to always fail with ENOSYS. Some functions are actually named
50935 something starting with __ and the normal name is an alias. */
50936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50937 choke me
50938 #else
50939 char (*f) () = $ac_func;
50940 #endif
50941 #ifdef __cplusplus
50943 #endif
50946 main ()
50948 return f != $ac_func;
50950 return 0;
50952 _ACEOF
50953 rm -f conftest.$ac_objext conftest$ac_exeext
50954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50955 (eval $ac_link) 2>conftest.er1
50956 ac_status=$?
50957 grep -v '^ *+' conftest.er1 >conftest.err
50958 rm -f conftest.er1
50959 cat conftest.err >&5
50960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50961 (exit $ac_status); } &&
50962 { ac_try='test -z "$ac_c_werror_flag"
50963 || test ! -s conftest.err'
50964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50965 (eval $ac_try) 2>&5
50966 ac_status=$?
50967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50968 (exit $ac_status); }; } &&
50969 { ac_try='test -s conftest$ac_exeext'
50970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50971 (eval $ac_try) 2>&5
50972 ac_status=$?
50973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50974 (exit $ac_status); }; }; then
50975 eval "$as_ac_var=yes"
50976 else
50977 echo "$as_me: failed program was:" >&5
50978 sed 's/^/| /' conftest.$ac_ext >&5
50980 eval "$as_ac_var=no"
50982 rm -f conftest.err conftest.$ac_objext \
50983 conftest$ac_exeext conftest.$ac_ext
50985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50987 if test `eval echo '${'$as_ac_var'}'` = yes; then
50988 cat >>confdefs.h <<_ACEOF
50989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50990 _ACEOF
50993 done
50995 else
50997 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
50998 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
50999 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51000 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
51001 echo $ECHO_N "(cached) $ECHO_C" >&6
51002 else
51006 ac_ext=cc
51007 ac_cpp='$CXXCPP $CPPFLAGS'
51008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51012 cat >conftest.$ac_ext <<_ACEOF
51013 /* confdefs.h. */
51014 _ACEOF
51015 cat confdefs.h >>conftest.$ac_ext
51016 cat >>conftest.$ac_ext <<_ACEOF
51017 /* end confdefs.h. */
51018 #include <math.h>
51019 #ifdef HAVE_IEEEFP_H
51020 #include <ieeefp.h>
51021 #endif
51024 main ()
51026 _log10f(0);
51028 return 0;
51030 _ACEOF
51031 rm -f conftest.$ac_objext
51032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51033 (eval $ac_compile) 2>conftest.er1
51034 ac_status=$?
51035 grep -v '^ *+' conftest.er1 >conftest.err
51036 rm -f conftest.er1
51037 cat conftest.err >&5
51038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51039 (exit $ac_status); } &&
51040 { ac_try='test -z "$ac_cxx_werror_flag"
51041 || test ! -s conftest.err'
51042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51043 (eval $ac_try) 2>&5
51044 ac_status=$?
51045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51046 (exit $ac_status); }; } &&
51047 { ac_try='test -s conftest.$ac_objext'
51048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51049 (eval $ac_try) 2>&5
51050 ac_status=$?
51051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51052 (exit $ac_status); }; }; then
51053 glibcxx_cv_func__log10f_use=yes
51054 else
51055 echo "$as_me: failed program was:" >&5
51056 sed 's/^/| /' conftest.$ac_ext >&5
51058 glibcxx_cv_func__log10f_use=no
51060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51061 ac_ext=c
51062 ac_cpp='$CPP $CPPFLAGS'
51063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51071 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
51072 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
51074 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51076 for ac_func in _log10f
51078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51079 echo "$as_me:$LINENO: checking for $ac_func" >&5
51080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51081 if eval "test \"\${$as_ac_var+set}\" = set"; then
51082 echo $ECHO_N "(cached) $ECHO_C" >&6
51083 else
51084 if test x$gcc_no_link = xyes; then
51085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51087 { (exit 1); exit 1; }; }
51089 cat >conftest.$ac_ext <<_ACEOF
51090 /* confdefs.h. */
51091 _ACEOF
51092 cat confdefs.h >>conftest.$ac_ext
51093 cat >>conftest.$ac_ext <<_ACEOF
51094 /* end confdefs.h. */
51095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51097 #define $ac_func innocuous_$ac_func
51099 /* System header to define __stub macros and hopefully few prototypes,
51100 which can conflict with char $ac_func (); below.
51101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51102 <limits.h> exists even on freestanding compilers. */
51104 #ifdef __STDC__
51105 # include <limits.h>
51106 #else
51107 # include <assert.h>
51108 #endif
51110 #undef $ac_func
51112 /* Override any gcc2 internal prototype to avoid an error. */
51113 #ifdef __cplusplus
51114 extern "C"
51116 #endif
51117 /* We use char because int might match the return type of a gcc2
51118 builtin and then its argument prototype would still apply. */
51119 char $ac_func ();
51120 /* The GNU C library defines this for functions which it implements
51121 to always fail with ENOSYS. Some functions are actually named
51122 something starting with __ and the normal name is an alias. */
51123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51124 choke me
51125 #else
51126 char (*f) () = $ac_func;
51127 #endif
51128 #ifdef __cplusplus
51130 #endif
51133 main ()
51135 return f != $ac_func;
51137 return 0;
51139 _ACEOF
51140 rm -f conftest.$ac_objext conftest$ac_exeext
51141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51142 (eval $ac_link) 2>conftest.er1
51143 ac_status=$?
51144 grep -v '^ *+' conftest.er1 >conftest.err
51145 rm -f conftest.er1
51146 cat conftest.err >&5
51147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51148 (exit $ac_status); } &&
51149 { ac_try='test -z "$ac_c_werror_flag"
51150 || test ! -s conftest.err'
51151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51152 (eval $ac_try) 2>&5
51153 ac_status=$?
51154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51155 (exit $ac_status); }; } &&
51156 { ac_try='test -s conftest$ac_exeext'
51157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51158 (eval $ac_try) 2>&5
51159 ac_status=$?
51160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51161 (exit $ac_status); }; }; then
51162 eval "$as_ac_var=yes"
51163 else
51164 echo "$as_me: failed program was:" >&5
51165 sed 's/^/| /' conftest.$ac_ext >&5
51167 eval "$as_ac_var=no"
51169 rm -f conftest.err conftest.$ac_objext \
51170 conftest$ac_exeext conftest.$ac_ext
51172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51174 if test `eval echo '${'$as_ac_var'}'` = yes; then
51175 cat >>confdefs.h <<_ACEOF
51176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51177 _ACEOF
51180 done
51190 echo "$as_me:$LINENO: checking for modff declaration" >&5
51191 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
51192 if test x${glibcxx_cv_func_modff_use+set} != xset; then
51193 if test "${glibcxx_cv_func_modff_use+set}" = set; then
51194 echo $ECHO_N "(cached) $ECHO_C" >&6
51195 else
51199 ac_ext=cc
51200 ac_cpp='$CXXCPP $CPPFLAGS'
51201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51205 cat >conftest.$ac_ext <<_ACEOF
51206 /* confdefs.h. */
51207 _ACEOF
51208 cat confdefs.h >>conftest.$ac_ext
51209 cat >>conftest.$ac_ext <<_ACEOF
51210 /* end confdefs.h. */
51211 #include <math.h>
51213 main ()
51215 modff(0, 0);
51217 return 0;
51219 _ACEOF
51220 rm -f conftest.$ac_objext
51221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51222 (eval $ac_compile) 2>conftest.er1
51223 ac_status=$?
51224 grep -v '^ *+' conftest.er1 >conftest.err
51225 rm -f conftest.er1
51226 cat conftest.err >&5
51227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51228 (exit $ac_status); } &&
51229 { ac_try='test -z "$ac_cxx_werror_flag"
51230 || test ! -s conftest.err'
51231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51232 (eval $ac_try) 2>&5
51233 ac_status=$?
51234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51235 (exit $ac_status); }; } &&
51236 { ac_try='test -s conftest.$ac_objext'
51237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51238 (eval $ac_try) 2>&5
51239 ac_status=$?
51240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51241 (exit $ac_status); }; }; then
51242 glibcxx_cv_func_modff_use=yes
51243 else
51244 echo "$as_me: failed program was:" >&5
51245 sed 's/^/| /' conftest.$ac_ext >&5
51247 glibcxx_cv_func_modff_use=no
51249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51250 ac_ext=c
51251 ac_cpp='$CPP $CPPFLAGS'
51252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51260 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
51261 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
51263 if test x$glibcxx_cv_func_modff_use = x"yes"; then
51265 for ac_func in modff
51267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51268 echo "$as_me:$LINENO: checking for $ac_func" >&5
51269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51270 if eval "test \"\${$as_ac_var+set}\" = set"; then
51271 echo $ECHO_N "(cached) $ECHO_C" >&6
51272 else
51273 if test x$gcc_no_link = xyes; then
51274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51276 { (exit 1); exit 1; }; }
51278 cat >conftest.$ac_ext <<_ACEOF
51279 /* confdefs.h. */
51280 _ACEOF
51281 cat confdefs.h >>conftest.$ac_ext
51282 cat >>conftest.$ac_ext <<_ACEOF
51283 /* end confdefs.h. */
51284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51286 #define $ac_func innocuous_$ac_func
51288 /* System header to define __stub macros and hopefully few prototypes,
51289 which can conflict with char $ac_func (); below.
51290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51291 <limits.h> exists even on freestanding compilers. */
51293 #ifdef __STDC__
51294 # include <limits.h>
51295 #else
51296 # include <assert.h>
51297 #endif
51299 #undef $ac_func
51301 /* Override any gcc2 internal prototype to avoid an error. */
51302 #ifdef __cplusplus
51303 extern "C"
51305 #endif
51306 /* We use char because int might match the return type of a gcc2
51307 builtin and then its argument prototype would still apply. */
51308 char $ac_func ();
51309 /* The GNU C library defines this for functions which it implements
51310 to always fail with ENOSYS. Some functions are actually named
51311 something starting with __ and the normal name is an alias. */
51312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51313 choke me
51314 #else
51315 char (*f) () = $ac_func;
51316 #endif
51317 #ifdef __cplusplus
51319 #endif
51322 main ()
51324 return f != $ac_func;
51326 return 0;
51328 _ACEOF
51329 rm -f conftest.$ac_objext conftest$ac_exeext
51330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51331 (eval $ac_link) 2>conftest.er1
51332 ac_status=$?
51333 grep -v '^ *+' conftest.er1 >conftest.err
51334 rm -f conftest.er1
51335 cat conftest.err >&5
51336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51337 (exit $ac_status); } &&
51338 { ac_try='test -z "$ac_c_werror_flag"
51339 || test ! -s conftest.err'
51340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51341 (eval $ac_try) 2>&5
51342 ac_status=$?
51343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51344 (exit $ac_status); }; } &&
51345 { ac_try='test -s conftest$ac_exeext'
51346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51347 (eval $ac_try) 2>&5
51348 ac_status=$?
51349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51350 (exit $ac_status); }; }; then
51351 eval "$as_ac_var=yes"
51352 else
51353 echo "$as_me: failed program was:" >&5
51354 sed 's/^/| /' conftest.$ac_ext >&5
51356 eval "$as_ac_var=no"
51358 rm -f conftest.err conftest.$ac_objext \
51359 conftest$ac_exeext conftest.$ac_ext
51361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51363 if test `eval echo '${'$as_ac_var'}'` = yes; then
51364 cat >>confdefs.h <<_ACEOF
51365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51366 _ACEOF
51369 done
51371 else
51373 echo "$as_me:$LINENO: checking for _modff declaration" >&5
51374 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
51375 if test x${glibcxx_cv_func__modff_use+set} != xset; then
51376 if test "${glibcxx_cv_func__modff_use+set}" = set; then
51377 echo $ECHO_N "(cached) $ECHO_C" >&6
51378 else
51382 ac_ext=cc
51383 ac_cpp='$CXXCPP $CPPFLAGS'
51384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51388 cat >conftest.$ac_ext <<_ACEOF
51389 /* confdefs.h. */
51390 _ACEOF
51391 cat confdefs.h >>conftest.$ac_ext
51392 cat >>conftest.$ac_ext <<_ACEOF
51393 /* end confdefs.h. */
51394 #include <math.h>
51396 main ()
51398 _modff(0, 0);
51400 return 0;
51402 _ACEOF
51403 rm -f conftest.$ac_objext
51404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51405 (eval $ac_compile) 2>conftest.er1
51406 ac_status=$?
51407 grep -v '^ *+' conftest.er1 >conftest.err
51408 rm -f conftest.er1
51409 cat conftest.err >&5
51410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51411 (exit $ac_status); } &&
51412 { ac_try='test -z "$ac_cxx_werror_flag"
51413 || test ! -s conftest.err'
51414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51415 (eval $ac_try) 2>&5
51416 ac_status=$?
51417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51418 (exit $ac_status); }; } &&
51419 { ac_try='test -s conftest.$ac_objext'
51420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51421 (eval $ac_try) 2>&5
51422 ac_status=$?
51423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51424 (exit $ac_status); }; }; then
51425 glibcxx_cv_func__modff_use=yes
51426 else
51427 echo "$as_me: failed program was:" >&5
51428 sed 's/^/| /' conftest.$ac_ext >&5
51430 glibcxx_cv_func__modff_use=no
51432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51433 ac_ext=c
51434 ac_cpp='$CPP $CPPFLAGS'
51435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51443 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
51444 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
51446 if test x$glibcxx_cv_func__modff_use = x"yes"; then
51448 for ac_func in _modff
51450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51451 echo "$as_me:$LINENO: checking for $ac_func" >&5
51452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51453 if eval "test \"\${$as_ac_var+set}\" = set"; then
51454 echo $ECHO_N "(cached) $ECHO_C" >&6
51455 else
51456 if test x$gcc_no_link = xyes; then
51457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51459 { (exit 1); exit 1; }; }
51461 cat >conftest.$ac_ext <<_ACEOF
51462 /* confdefs.h. */
51463 _ACEOF
51464 cat confdefs.h >>conftest.$ac_ext
51465 cat >>conftest.$ac_ext <<_ACEOF
51466 /* end confdefs.h. */
51467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51469 #define $ac_func innocuous_$ac_func
51471 /* System header to define __stub macros and hopefully few prototypes,
51472 which can conflict with char $ac_func (); below.
51473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51474 <limits.h> exists even on freestanding compilers. */
51476 #ifdef __STDC__
51477 # include <limits.h>
51478 #else
51479 # include <assert.h>
51480 #endif
51482 #undef $ac_func
51484 /* Override any gcc2 internal prototype to avoid an error. */
51485 #ifdef __cplusplus
51486 extern "C"
51488 #endif
51489 /* We use char because int might match the return type of a gcc2
51490 builtin and then its argument prototype would still apply. */
51491 char $ac_func ();
51492 /* The GNU C library defines this for functions which it implements
51493 to always fail with ENOSYS. Some functions are actually named
51494 something starting with __ and the normal name is an alias. */
51495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51496 choke me
51497 #else
51498 char (*f) () = $ac_func;
51499 #endif
51500 #ifdef __cplusplus
51502 #endif
51505 main ()
51507 return f != $ac_func;
51509 return 0;
51511 _ACEOF
51512 rm -f conftest.$ac_objext conftest$ac_exeext
51513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51514 (eval $ac_link) 2>conftest.er1
51515 ac_status=$?
51516 grep -v '^ *+' conftest.er1 >conftest.err
51517 rm -f conftest.er1
51518 cat conftest.err >&5
51519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51520 (exit $ac_status); } &&
51521 { ac_try='test -z "$ac_c_werror_flag"
51522 || test ! -s conftest.err'
51523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51524 (eval $ac_try) 2>&5
51525 ac_status=$?
51526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51527 (exit $ac_status); }; } &&
51528 { ac_try='test -s conftest$ac_exeext'
51529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51530 (eval $ac_try) 2>&5
51531 ac_status=$?
51532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51533 (exit $ac_status); }; }; then
51534 eval "$as_ac_var=yes"
51535 else
51536 echo "$as_me: failed program was:" >&5
51537 sed 's/^/| /' conftest.$ac_ext >&5
51539 eval "$as_ac_var=no"
51541 rm -f conftest.err conftest.$ac_objext \
51542 conftest$ac_exeext conftest.$ac_ext
51544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51546 if test `eval echo '${'$as_ac_var'}'` = yes; then
51547 cat >>confdefs.h <<_ACEOF
51548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51549 _ACEOF
51552 done
51562 echo "$as_me:$LINENO: checking for modf declaration" >&5
51563 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
51564 if test x${glibcxx_cv_func_modf_use+set} != xset; then
51565 if test "${glibcxx_cv_func_modf_use+set}" = set; then
51566 echo $ECHO_N "(cached) $ECHO_C" >&6
51567 else
51571 ac_ext=cc
51572 ac_cpp='$CXXCPP $CPPFLAGS'
51573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51577 cat >conftest.$ac_ext <<_ACEOF
51578 /* confdefs.h. */
51579 _ACEOF
51580 cat confdefs.h >>conftest.$ac_ext
51581 cat >>conftest.$ac_ext <<_ACEOF
51582 /* end confdefs.h. */
51583 #include <math.h>
51585 main ()
51587 modf(0, 0);
51589 return 0;
51591 _ACEOF
51592 rm -f conftest.$ac_objext
51593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51594 (eval $ac_compile) 2>conftest.er1
51595 ac_status=$?
51596 grep -v '^ *+' conftest.er1 >conftest.err
51597 rm -f conftest.er1
51598 cat conftest.err >&5
51599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51600 (exit $ac_status); } &&
51601 { ac_try='test -z "$ac_cxx_werror_flag"
51602 || test ! -s conftest.err'
51603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51604 (eval $ac_try) 2>&5
51605 ac_status=$?
51606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51607 (exit $ac_status); }; } &&
51608 { ac_try='test -s conftest.$ac_objext'
51609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51610 (eval $ac_try) 2>&5
51611 ac_status=$?
51612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51613 (exit $ac_status); }; }; then
51614 glibcxx_cv_func_modf_use=yes
51615 else
51616 echo "$as_me: failed program was:" >&5
51617 sed 's/^/| /' conftest.$ac_ext >&5
51619 glibcxx_cv_func_modf_use=no
51621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51622 ac_ext=c
51623 ac_cpp='$CPP $CPPFLAGS'
51624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51632 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
51633 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
51635 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51637 for ac_func in modf
51639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51640 echo "$as_me:$LINENO: checking for $ac_func" >&5
51641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51642 if eval "test \"\${$as_ac_var+set}\" = set"; then
51643 echo $ECHO_N "(cached) $ECHO_C" >&6
51644 else
51645 if test x$gcc_no_link = xyes; then
51646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51648 { (exit 1); exit 1; }; }
51650 cat >conftest.$ac_ext <<_ACEOF
51651 /* confdefs.h. */
51652 _ACEOF
51653 cat confdefs.h >>conftest.$ac_ext
51654 cat >>conftest.$ac_ext <<_ACEOF
51655 /* end confdefs.h. */
51656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51658 #define $ac_func innocuous_$ac_func
51660 /* System header to define __stub macros and hopefully few prototypes,
51661 which can conflict with char $ac_func (); below.
51662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51663 <limits.h> exists even on freestanding compilers. */
51665 #ifdef __STDC__
51666 # include <limits.h>
51667 #else
51668 # include <assert.h>
51669 #endif
51671 #undef $ac_func
51673 /* Override any gcc2 internal prototype to avoid an error. */
51674 #ifdef __cplusplus
51675 extern "C"
51677 #endif
51678 /* We use char because int might match the return type of a gcc2
51679 builtin and then its argument prototype would still apply. */
51680 char $ac_func ();
51681 /* The GNU C library defines this for functions which it implements
51682 to always fail with ENOSYS. Some functions are actually named
51683 something starting with __ and the normal name is an alias. */
51684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51685 choke me
51686 #else
51687 char (*f) () = $ac_func;
51688 #endif
51689 #ifdef __cplusplus
51691 #endif
51694 main ()
51696 return f != $ac_func;
51698 return 0;
51700 _ACEOF
51701 rm -f conftest.$ac_objext conftest$ac_exeext
51702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51703 (eval $ac_link) 2>conftest.er1
51704 ac_status=$?
51705 grep -v '^ *+' conftest.er1 >conftest.err
51706 rm -f conftest.er1
51707 cat conftest.err >&5
51708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51709 (exit $ac_status); } &&
51710 { ac_try='test -z "$ac_c_werror_flag"
51711 || test ! -s conftest.err'
51712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51713 (eval $ac_try) 2>&5
51714 ac_status=$?
51715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51716 (exit $ac_status); }; } &&
51717 { ac_try='test -s conftest$ac_exeext'
51718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51719 (eval $ac_try) 2>&5
51720 ac_status=$?
51721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51722 (exit $ac_status); }; }; then
51723 eval "$as_ac_var=yes"
51724 else
51725 echo "$as_me: failed program was:" >&5
51726 sed 's/^/| /' conftest.$ac_ext >&5
51728 eval "$as_ac_var=no"
51730 rm -f conftest.err conftest.$ac_objext \
51731 conftest$ac_exeext conftest.$ac_ext
51733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51735 if test `eval echo '${'$as_ac_var'}'` = yes; then
51736 cat >>confdefs.h <<_ACEOF
51737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51738 _ACEOF
51741 done
51743 else
51745 echo "$as_me:$LINENO: checking for _modf declaration" >&5
51746 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
51747 if test x${glibcxx_cv_func__modf_use+set} != xset; then
51748 if test "${glibcxx_cv_func__modf_use+set}" = set; then
51749 echo $ECHO_N "(cached) $ECHO_C" >&6
51750 else
51754 ac_ext=cc
51755 ac_cpp='$CXXCPP $CPPFLAGS'
51756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51760 cat >conftest.$ac_ext <<_ACEOF
51761 /* confdefs.h. */
51762 _ACEOF
51763 cat confdefs.h >>conftest.$ac_ext
51764 cat >>conftest.$ac_ext <<_ACEOF
51765 /* end confdefs.h. */
51766 #include <math.h>
51768 main ()
51770 _modf(0, 0);
51772 return 0;
51774 _ACEOF
51775 rm -f conftest.$ac_objext
51776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51777 (eval $ac_compile) 2>conftest.er1
51778 ac_status=$?
51779 grep -v '^ *+' conftest.er1 >conftest.err
51780 rm -f conftest.er1
51781 cat conftest.err >&5
51782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51783 (exit $ac_status); } &&
51784 { ac_try='test -z "$ac_cxx_werror_flag"
51785 || test ! -s conftest.err'
51786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51787 (eval $ac_try) 2>&5
51788 ac_status=$?
51789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51790 (exit $ac_status); }; } &&
51791 { ac_try='test -s conftest.$ac_objext'
51792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51793 (eval $ac_try) 2>&5
51794 ac_status=$?
51795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51796 (exit $ac_status); }; }; then
51797 glibcxx_cv_func__modf_use=yes
51798 else
51799 echo "$as_me: failed program was:" >&5
51800 sed 's/^/| /' conftest.$ac_ext >&5
51802 glibcxx_cv_func__modf_use=no
51804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51805 ac_ext=c
51806 ac_cpp='$CPP $CPPFLAGS'
51807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51815 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
51816 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
51818 if test x$glibcxx_cv_func__modf_use = x"yes"; then
51820 for ac_func in _modf
51822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51823 echo "$as_me:$LINENO: checking for $ac_func" >&5
51824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51825 if eval "test \"\${$as_ac_var+set}\" = set"; then
51826 echo $ECHO_N "(cached) $ECHO_C" >&6
51827 else
51828 if test x$gcc_no_link = xyes; then
51829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51831 { (exit 1); exit 1; }; }
51833 cat >conftest.$ac_ext <<_ACEOF
51834 /* confdefs.h. */
51835 _ACEOF
51836 cat confdefs.h >>conftest.$ac_ext
51837 cat >>conftest.$ac_ext <<_ACEOF
51838 /* end confdefs.h. */
51839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51841 #define $ac_func innocuous_$ac_func
51843 /* System header to define __stub macros and hopefully few prototypes,
51844 which can conflict with char $ac_func (); below.
51845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51846 <limits.h> exists even on freestanding compilers. */
51848 #ifdef __STDC__
51849 # include <limits.h>
51850 #else
51851 # include <assert.h>
51852 #endif
51854 #undef $ac_func
51856 /* Override any gcc2 internal prototype to avoid an error. */
51857 #ifdef __cplusplus
51858 extern "C"
51860 #endif
51861 /* We use char because int might match the return type of a gcc2
51862 builtin and then its argument prototype would still apply. */
51863 char $ac_func ();
51864 /* The GNU C library defines this for functions which it implements
51865 to always fail with ENOSYS. Some functions are actually named
51866 something starting with __ and the normal name is an alias. */
51867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51868 choke me
51869 #else
51870 char (*f) () = $ac_func;
51871 #endif
51872 #ifdef __cplusplus
51874 #endif
51877 main ()
51879 return f != $ac_func;
51881 return 0;
51883 _ACEOF
51884 rm -f conftest.$ac_objext conftest$ac_exeext
51885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51886 (eval $ac_link) 2>conftest.er1
51887 ac_status=$?
51888 grep -v '^ *+' conftest.er1 >conftest.err
51889 rm -f conftest.er1
51890 cat conftest.err >&5
51891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51892 (exit $ac_status); } &&
51893 { ac_try='test -z "$ac_c_werror_flag"
51894 || test ! -s conftest.err'
51895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51896 (eval $ac_try) 2>&5
51897 ac_status=$?
51898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51899 (exit $ac_status); }; } &&
51900 { ac_try='test -s conftest$ac_exeext'
51901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51902 (eval $ac_try) 2>&5
51903 ac_status=$?
51904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51905 (exit $ac_status); }; }; then
51906 eval "$as_ac_var=yes"
51907 else
51908 echo "$as_me: failed program was:" >&5
51909 sed 's/^/| /' conftest.$ac_ext >&5
51911 eval "$as_ac_var=no"
51913 rm -f conftest.err conftest.$ac_objext \
51914 conftest$ac_exeext conftest.$ac_ext
51916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51918 if test `eval echo '${'$as_ac_var'}'` = yes; then
51919 cat >>confdefs.h <<_ACEOF
51920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51921 _ACEOF
51924 done
51934 echo "$as_me:$LINENO: checking for powf declaration" >&5
51935 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
51936 if test x${glibcxx_cv_func_powf_use+set} != xset; then
51937 if test "${glibcxx_cv_func_powf_use+set}" = set; then
51938 echo $ECHO_N "(cached) $ECHO_C" >&6
51939 else
51943 ac_ext=cc
51944 ac_cpp='$CXXCPP $CPPFLAGS'
51945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51949 cat >conftest.$ac_ext <<_ACEOF
51950 /* confdefs.h. */
51951 _ACEOF
51952 cat confdefs.h >>conftest.$ac_ext
51953 cat >>conftest.$ac_ext <<_ACEOF
51954 /* end confdefs.h. */
51955 #include <math.h>
51957 main ()
51959 powf(0, 0);
51961 return 0;
51963 _ACEOF
51964 rm -f conftest.$ac_objext
51965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51966 (eval $ac_compile) 2>conftest.er1
51967 ac_status=$?
51968 grep -v '^ *+' conftest.er1 >conftest.err
51969 rm -f conftest.er1
51970 cat conftest.err >&5
51971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51972 (exit $ac_status); } &&
51973 { ac_try='test -z "$ac_cxx_werror_flag"
51974 || test ! -s conftest.err'
51975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51976 (eval $ac_try) 2>&5
51977 ac_status=$?
51978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51979 (exit $ac_status); }; } &&
51980 { ac_try='test -s conftest.$ac_objext'
51981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51982 (eval $ac_try) 2>&5
51983 ac_status=$?
51984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51985 (exit $ac_status); }; }; then
51986 glibcxx_cv_func_powf_use=yes
51987 else
51988 echo "$as_me: failed program was:" >&5
51989 sed 's/^/| /' conftest.$ac_ext >&5
51991 glibcxx_cv_func_powf_use=no
51993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51994 ac_ext=c
51995 ac_cpp='$CPP $CPPFLAGS'
51996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52004 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
52005 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
52007 if test x$glibcxx_cv_func_powf_use = x"yes"; then
52009 for ac_func in powf
52011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52012 echo "$as_me:$LINENO: checking for $ac_func" >&5
52013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52014 if eval "test \"\${$as_ac_var+set}\" = set"; then
52015 echo $ECHO_N "(cached) $ECHO_C" >&6
52016 else
52017 if test x$gcc_no_link = xyes; then
52018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52020 { (exit 1); exit 1; }; }
52022 cat >conftest.$ac_ext <<_ACEOF
52023 /* confdefs.h. */
52024 _ACEOF
52025 cat confdefs.h >>conftest.$ac_ext
52026 cat >>conftest.$ac_ext <<_ACEOF
52027 /* end confdefs.h. */
52028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52030 #define $ac_func innocuous_$ac_func
52032 /* System header to define __stub macros and hopefully few prototypes,
52033 which can conflict with char $ac_func (); below.
52034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52035 <limits.h> exists even on freestanding compilers. */
52037 #ifdef __STDC__
52038 # include <limits.h>
52039 #else
52040 # include <assert.h>
52041 #endif
52043 #undef $ac_func
52045 /* Override any gcc2 internal prototype to avoid an error. */
52046 #ifdef __cplusplus
52047 extern "C"
52049 #endif
52050 /* We use char because int might match the return type of a gcc2
52051 builtin and then its argument prototype would still apply. */
52052 char $ac_func ();
52053 /* The GNU C library defines this for functions which it implements
52054 to always fail with ENOSYS. Some functions are actually named
52055 something starting with __ and the normal name is an alias. */
52056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52057 choke me
52058 #else
52059 char (*f) () = $ac_func;
52060 #endif
52061 #ifdef __cplusplus
52063 #endif
52066 main ()
52068 return f != $ac_func;
52070 return 0;
52072 _ACEOF
52073 rm -f conftest.$ac_objext conftest$ac_exeext
52074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52075 (eval $ac_link) 2>conftest.er1
52076 ac_status=$?
52077 grep -v '^ *+' conftest.er1 >conftest.err
52078 rm -f conftest.er1
52079 cat conftest.err >&5
52080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52081 (exit $ac_status); } &&
52082 { ac_try='test -z "$ac_c_werror_flag"
52083 || test ! -s conftest.err'
52084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52085 (eval $ac_try) 2>&5
52086 ac_status=$?
52087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52088 (exit $ac_status); }; } &&
52089 { ac_try='test -s conftest$ac_exeext'
52090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52091 (eval $ac_try) 2>&5
52092 ac_status=$?
52093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52094 (exit $ac_status); }; }; then
52095 eval "$as_ac_var=yes"
52096 else
52097 echo "$as_me: failed program was:" >&5
52098 sed 's/^/| /' conftest.$ac_ext >&5
52100 eval "$as_ac_var=no"
52102 rm -f conftest.err conftest.$ac_objext \
52103 conftest$ac_exeext conftest.$ac_ext
52105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52107 if test `eval echo '${'$as_ac_var'}'` = yes; then
52108 cat >>confdefs.h <<_ACEOF
52109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52110 _ACEOF
52113 done
52115 else
52117 echo "$as_me:$LINENO: checking for _powf declaration" >&5
52118 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
52119 if test x${glibcxx_cv_func__powf_use+set} != xset; then
52120 if test "${glibcxx_cv_func__powf_use+set}" = set; then
52121 echo $ECHO_N "(cached) $ECHO_C" >&6
52122 else
52126 ac_ext=cc
52127 ac_cpp='$CXXCPP $CPPFLAGS'
52128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52132 cat >conftest.$ac_ext <<_ACEOF
52133 /* confdefs.h. */
52134 _ACEOF
52135 cat confdefs.h >>conftest.$ac_ext
52136 cat >>conftest.$ac_ext <<_ACEOF
52137 /* end confdefs.h. */
52138 #include <math.h>
52140 main ()
52142 _powf(0, 0);
52144 return 0;
52146 _ACEOF
52147 rm -f conftest.$ac_objext
52148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52149 (eval $ac_compile) 2>conftest.er1
52150 ac_status=$?
52151 grep -v '^ *+' conftest.er1 >conftest.err
52152 rm -f conftest.er1
52153 cat conftest.err >&5
52154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52155 (exit $ac_status); } &&
52156 { ac_try='test -z "$ac_cxx_werror_flag"
52157 || test ! -s conftest.err'
52158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52159 (eval $ac_try) 2>&5
52160 ac_status=$?
52161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52162 (exit $ac_status); }; } &&
52163 { ac_try='test -s conftest.$ac_objext'
52164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52165 (eval $ac_try) 2>&5
52166 ac_status=$?
52167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52168 (exit $ac_status); }; }; then
52169 glibcxx_cv_func__powf_use=yes
52170 else
52171 echo "$as_me: failed program was:" >&5
52172 sed 's/^/| /' conftest.$ac_ext >&5
52174 glibcxx_cv_func__powf_use=no
52176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52177 ac_ext=c
52178 ac_cpp='$CPP $CPPFLAGS'
52179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52187 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
52188 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
52190 if test x$glibcxx_cv_func__powf_use = x"yes"; then
52192 for ac_func in _powf
52194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52195 echo "$as_me:$LINENO: checking for $ac_func" >&5
52196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52197 if eval "test \"\${$as_ac_var+set}\" = set"; then
52198 echo $ECHO_N "(cached) $ECHO_C" >&6
52199 else
52200 if test x$gcc_no_link = xyes; then
52201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52203 { (exit 1); exit 1; }; }
52205 cat >conftest.$ac_ext <<_ACEOF
52206 /* confdefs.h. */
52207 _ACEOF
52208 cat confdefs.h >>conftest.$ac_ext
52209 cat >>conftest.$ac_ext <<_ACEOF
52210 /* end confdefs.h. */
52211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52213 #define $ac_func innocuous_$ac_func
52215 /* System header to define __stub macros and hopefully few prototypes,
52216 which can conflict with char $ac_func (); below.
52217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52218 <limits.h> exists even on freestanding compilers. */
52220 #ifdef __STDC__
52221 # include <limits.h>
52222 #else
52223 # include <assert.h>
52224 #endif
52226 #undef $ac_func
52228 /* Override any gcc2 internal prototype to avoid an error. */
52229 #ifdef __cplusplus
52230 extern "C"
52232 #endif
52233 /* We use char because int might match the return type of a gcc2
52234 builtin and then its argument prototype would still apply. */
52235 char $ac_func ();
52236 /* The GNU C library defines this for functions which it implements
52237 to always fail with ENOSYS. Some functions are actually named
52238 something starting with __ and the normal name is an alias. */
52239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52240 choke me
52241 #else
52242 char (*f) () = $ac_func;
52243 #endif
52244 #ifdef __cplusplus
52246 #endif
52249 main ()
52251 return f != $ac_func;
52253 return 0;
52255 _ACEOF
52256 rm -f conftest.$ac_objext conftest$ac_exeext
52257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52258 (eval $ac_link) 2>conftest.er1
52259 ac_status=$?
52260 grep -v '^ *+' conftest.er1 >conftest.err
52261 rm -f conftest.er1
52262 cat conftest.err >&5
52263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52264 (exit $ac_status); } &&
52265 { ac_try='test -z "$ac_c_werror_flag"
52266 || test ! -s conftest.err'
52267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52268 (eval $ac_try) 2>&5
52269 ac_status=$?
52270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52271 (exit $ac_status); }; } &&
52272 { ac_try='test -s conftest$ac_exeext'
52273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52274 (eval $ac_try) 2>&5
52275 ac_status=$?
52276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52277 (exit $ac_status); }; }; then
52278 eval "$as_ac_var=yes"
52279 else
52280 echo "$as_me: failed program was:" >&5
52281 sed 's/^/| /' conftest.$ac_ext >&5
52283 eval "$as_ac_var=no"
52285 rm -f conftest.err conftest.$ac_objext \
52286 conftest$ac_exeext conftest.$ac_ext
52288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52290 if test `eval echo '${'$as_ac_var'}'` = yes; then
52291 cat >>confdefs.h <<_ACEOF
52292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52293 _ACEOF
52296 done
52306 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
52307 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
52308 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52309 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
52310 echo $ECHO_N "(cached) $ECHO_C" >&6
52311 else
52315 ac_ext=cc
52316 ac_cpp='$CXXCPP $CPPFLAGS'
52317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52321 cat >conftest.$ac_ext <<_ACEOF
52322 /* confdefs.h. */
52323 _ACEOF
52324 cat confdefs.h >>conftest.$ac_ext
52325 cat >>conftest.$ac_ext <<_ACEOF
52326 /* end confdefs.h. */
52327 #include <math.h>
52328 #ifdef HAVE_IEEEFP_H
52329 #include <ieeefp.h>
52330 #endif
52333 main ()
52335 sqrtf(0);
52337 return 0;
52339 _ACEOF
52340 rm -f conftest.$ac_objext
52341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52342 (eval $ac_compile) 2>conftest.er1
52343 ac_status=$?
52344 grep -v '^ *+' conftest.er1 >conftest.err
52345 rm -f conftest.er1
52346 cat conftest.err >&5
52347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52348 (exit $ac_status); } &&
52349 { ac_try='test -z "$ac_cxx_werror_flag"
52350 || test ! -s conftest.err'
52351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52352 (eval $ac_try) 2>&5
52353 ac_status=$?
52354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52355 (exit $ac_status); }; } &&
52356 { ac_try='test -s conftest.$ac_objext'
52357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52358 (eval $ac_try) 2>&5
52359 ac_status=$?
52360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52361 (exit $ac_status); }; }; then
52362 glibcxx_cv_func_sqrtf_use=yes
52363 else
52364 echo "$as_me: failed program was:" >&5
52365 sed 's/^/| /' conftest.$ac_ext >&5
52367 glibcxx_cv_func_sqrtf_use=no
52369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52370 ac_ext=c
52371 ac_cpp='$CPP $CPPFLAGS'
52372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52380 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
52381 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
52383 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52385 for ac_func in sqrtf
52387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52388 echo "$as_me:$LINENO: checking for $ac_func" >&5
52389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52390 if eval "test \"\${$as_ac_var+set}\" = set"; then
52391 echo $ECHO_N "(cached) $ECHO_C" >&6
52392 else
52393 if test x$gcc_no_link = xyes; then
52394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52396 { (exit 1); exit 1; }; }
52398 cat >conftest.$ac_ext <<_ACEOF
52399 /* confdefs.h. */
52400 _ACEOF
52401 cat confdefs.h >>conftest.$ac_ext
52402 cat >>conftest.$ac_ext <<_ACEOF
52403 /* end confdefs.h. */
52404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52406 #define $ac_func innocuous_$ac_func
52408 /* System header to define __stub macros and hopefully few prototypes,
52409 which can conflict with char $ac_func (); below.
52410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52411 <limits.h> exists even on freestanding compilers. */
52413 #ifdef __STDC__
52414 # include <limits.h>
52415 #else
52416 # include <assert.h>
52417 #endif
52419 #undef $ac_func
52421 /* Override any gcc2 internal prototype to avoid an error. */
52422 #ifdef __cplusplus
52423 extern "C"
52425 #endif
52426 /* We use char because int might match the return type of a gcc2
52427 builtin and then its argument prototype would still apply. */
52428 char $ac_func ();
52429 /* The GNU C library defines this for functions which it implements
52430 to always fail with ENOSYS. Some functions are actually named
52431 something starting with __ and the normal name is an alias. */
52432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52433 choke me
52434 #else
52435 char (*f) () = $ac_func;
52436 #endif
52437 #ifdef __cplusplus
52439 #endif
52442 main ()
52444 return f != $ac_func;
52446 return 0;
52448 _ACEOF
52449 rm -f conftest.$ac_objext conftest$ac_exeext
52450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52451 (eval $ac_link) 2>conftest.er1
52452 ac_status=$?
52453 grep -v '^ *+' conftest.er1 >conftest.err
52454 rm -f conftest.er1
52455 cat conftest.err >&5
52456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52457 (exit $ac_status); } &&
52458 { ac_try='test -z "$ac_c_werror_flag"
52459 || test ! -s conftest.err'
52460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52461 (eval $ac_try) 2>&5
52462 ac_status=$?
52463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52464 (exit $ac_status); }; } &&
52465 { ac_try='test -s conftest$ac_exeext'
52466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52467 (eval $ac_try) 2>&5
52468 ac_status=$?
52469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52470 (exit $ac_status); }; }; then
52471 eval "$as_ac_var=yes"
52472 else
52473 echo "$as_me: failed program was:" >&5
52474 sed 's/^/| /' conftest.$ac_ext >&5
52476 eval "$as_ac_var=no"
52478 rm -f conftest.err conftest.$ac_objext \
52479 conftest$ac_exeext conftest.$ac_ext
52481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52483 if test `eval echo '${'$as_ac_var'}'` = yes; then
52484 cat >>confdefs.h <<_ACEOF
52485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52486 _ACEOF
52489 done
52491 else
52493 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
52494 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
52495 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52496 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
52497 echo $ECHO_N "(cached) $ECHO_C" >&6
52498 else
52502 ac_ext=cc
52503 ac_cpp='$CXXCPP $CPPFLAGS'
52504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52508 cat >conftest.$ac_ext <<_ACEOF
52509 /* confdefs.h. */
52510 _ACEOF
52511 cat confdefs.h >>conftest.$ac_ext
52512 cat >>conftest.$ac_ext <<_ACEOF
52513 /* end confdefs.h. */
52514 #include <math.h>
52515 #ifdef HAVE_IEEEFP_H
52516 #include <ieeefp.h>
52517 #endif
52520 main ()
52522 _sqrtf(0);
52524 return 0;
52526 _ACEOF
52527 rm -f conftest.$ac_objext
52528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52529 (eval $ac_compile) 2>conftest.er1
52530 ac_status=$?
52531 grep -v '^ *+' conftest.er1 >conftest.err
52532 rm -f conftest.er1
52533 cat conftest.err >&5
52534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52535 (exit $ac_status); } &&
52536 { ac_try='test -z "$ac_cxx_werror_flag"
52537 || test ! -s conftest.err'
52538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52539 (eval $ac_try) 2>&5
52540 ac_status=$?
52541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52542 (exit $ac_status); }; } &&
52543 { ac_try='test -s conftest.$ac_objext'
52544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52545 (eval $ac_try) 2>&5
52546 ac_status=$?
52547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52548 (exit $ac_status); }; }; then
52549 glibcxx_cv_func__sqrtf_use=yes
52550 else
52551 echo "$as_me: failed program was:" >&5
52552 sed 's/^/| /' conftest.$ac_ext >&5
52554 glibcxx_cv_func__sqrtf_use=no
52556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52557 ac_ext=c
52558 ac_cpp='$CPP $CPPFLAGS'
52559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52567 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
52568 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
52570 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
52572 for ac_func in _sqrtf
52574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52575 echo "$as_me:$LINENO: checking for $ac_func" >&5
52576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52577 if eval "test \"\${$as_ac_var+set}\" = set"; then
52578 echo $ECHO_N "(cached) $ECHO_C" >&6
52579 else
52580 if test x$gcc_no_link = xyes; then
52581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52583 { (exit 1); exit 1; }; }
52585 cat >conftest.$ac_ext <<_ACEOF
52586 /* confdefs.h. */
52587 _ACEOF
52588 cat confdefs.h >>conftest.$ac_ext
52589 cat >>conftest.$ac_ext <<_ACEOF
52590 /* end confdefs.h. */
52591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52593 #define $ac_func innocuous_$ac_func
52595 /* System header to define __stub macros and hopefully few prototypes,
52596 which can conflict with char $ac_func (); below.
52597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52598 <limits.h> exists even on freestanding compilers. */
52600 #ifdef __STDC__
52601 # include <limits.h>
52602 #else
52603 # include <assert.h>
52604 #endif
52606 #undef $ac_func
52608 /* Override any gcc2 internal prototype to avoid an error. */
52609 #ifdef __cplusplus
52610 extern "C"
52612 #endif
52613 /* We use char because int might match the return type of a gcc2
52614 builtin and then its argument prototype would still apply. */
52615 char $ac_func ();
52616 /* The GNU C library defines this for functions which it implements
52617 to always fail with ENOSYS. Some functions are actually named
52618 something starting with __ and the normal name is an alias. */
52619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52620 choke me
52621 #else
52622 char (*f) () = $ac_func;
52623 #endif
52624 #ifdef __cplusplus
52626 #endif
52629 main ()
52631 return f != $ac_func;
52633 return 0;
52635 _ACEOF
52636 rm -f conftest.$ac_objext conftest$ac_exeext
52637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52638 (eval $ac_link) 2>conftest.er1
52639 ac_status=$?
52640 grep -v '^ *+' conftest.er1 >conftest.err
52641 rm -f conftest.er1
52642 cat conftest.err >&5
52643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52644 (exit $ac_status); } &&
52645 { ac_try='test -z "$ac_c_werror_flag"
52646 || test ! -s conftest.err'
52647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52648 (eval $ac_try) 2>&5
52649 ac_status=$?
52650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52651 (exit $ac_status); }; } &&
52652 { ac_try='test -s conftest$ac_exeext'
52653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52654 (eval $ac_try) 2>&5
52655 ac_status=$?
52656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52657 (exit $ac_status); }; }; then
52658 eval "$as_ac_var=yes"
52659 else
52660 echo "$as_me: failed program was:" >&5
52661 sed 's/^/| /' conftest.$ac_ext >&5
52663 eval "$as_ac_var=no"
52665 rm -f conftest.err conftest.$ac_objext \
52666 conftest$ac_exeext conftest.$ac_ext
52668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52670 if test `eval echo '${'$as_ac_var'}'` = yes; then
52671 cat >>confdefs.h <<_ACEOF
52672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52673 _ACEOF
52676 done
52686 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
52687 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
52688 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
52689 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
52690 echo $ECHO_N "(cached) $ECHO_C" >&6
52691 else
52695 ac_ext=cc
52696 ac_cpp='$CXXCPP $CPPFLAGS'
52697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52701 cat >conftest.$ac_ext <<_ACEOF
52702 /* confdefs.h. */
52703 _ACEOF
52704 cat confdefs.h >>conftest.$ac_ext
52705 cat >>conftest.$ac_ext <<_ACEOF
52706 /* end confdefs.h. */
52707 #include <math.h>
52709 main ()
52711 sincosf(0, 0, 0);
52713 return 0;
52715 _ACEOF
52716 rm -f conftest.$ac_objext
52717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52718 (eval $ac_compile) 2>conftest.er1
52719 ac_status=$?
52720 grep -v '^ *+' conftest.er1 >conftest.err
52721 rm -f conftest.er1
52722 cat conftest.err >&5
52723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52724 (exit $ac_status); } &&
52725 { ac_try='test -z "$ac_cxx_werror_flag"
52726 || test ! -s conftest.err'
52727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52728 (eval $ac_try) 2>&5
52729 ac_status=$?
52730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52731 (exit $ac_status); }; } &&
52732 { ac_try='test -s conftest.$ac_objext'
52733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52734 (eval $ac_try) 2>&5
52735 ac_status=$?
52736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52737 (exit $ac_status); }; }; then
52738 glibcxx_cv_func_sincosf_use=yes
52739 else
52740 echo "$as_me: failed program was:" >&5
52741 sed 's/^/| /' conftest.$ac_ext >&5
52743 glibcxx_cv_func_sincosf_use=no
52745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52746 ac_ext=c
52747 ac_cpp='$CPP $CPPFLAGS'
52748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52756 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
52757 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
52759 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
52761 for ac_func in sincosf
52763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52764 echo "$as_me:$LINENO: checking for $ac_func" >&5
52765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52766 if eval "test \"\${$as_ac_var+set}\" = set"; then
52767 echo $ECHO_N "(cached) $ECHO_C" >&6
52768 else
52769 if test x$gcc_no_link = xyes; then
52770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52772 { (exit 1); exit 1; }; }
52774 cat >conftest.$ac_ext <<_ACEOF
52775 /* confdefs.h. */
52776 _ACEOF
52777 cat confdefs.h >>conftest.$ac_ext
52778 cat >>conftest.$ac_ext <<_ACEOF
52779 /* end confdefs.h. */
52780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52782 #define $ac_func innocuous_$ac_func
52784 /* System header to define __stub macros and hopefully few prototypes,
52785 which can conflict with char $ac_func (); below.
52786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52787 <limits.h> exists even on freestanding compilers. */
52789 #ifdef __STDC__
52790 # include <limits.h>
52791 #else
52792 # include <assert.h>
52793 #endif
52795 #undef $ac_func
52797 /* Override any gcc2 internal prototype to avoid an error. */
52798 #ifdef __cplusplus
52799 extern "C"
52801 #endif
52802 /* We use char because int might match the return type of a gcc2
52803 builtin and then its argument prototype would still apply. */
52804 char $ac_func ();
52805 /* The GNU C library defines this for functions which it implements
52806 to always fail with ENOSYS. Some functions are actually named
52807 something starting with __ and the normal name is an alias. */
52808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52809 choke me
52810 #else
52811 char (*f) () = $ac_func;
52812 #endif
52813 #ifdef __cplusplus
52815 #endif
52818 main ()
52820 return f != $ac_func;
52822 return 0;
52824 _ACEOF
52825 rm -f conftest.$ac_objext conftest$ac_exeext
52826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52827 (eval $ac_link) 2>conftest.er1
52828 ac_status=$?
52829 grep -v '^ *+' conftest.er1 >conftest.err
52830 rm -f conftest.er1
52831 cat conftest.err >&5
52832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52833 (exit $ac_status); } &&
52834 { ac_try='test -z "$ac_c_werror_flag"
52835 || test ! -s conftest.err'
52836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52837 (eval $ac_try) 2>&5
52838 ac_status=$?
52839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52840 (exit $ac_status); }; } &&
52841 { ac_try='test -s conftest$ac_exeext'
52842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52843 (eval $ac_try) 2>&5
52844 ac_status=$?
52845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52846 (exit $ac_status); }; }; then
52847 eval "$as_ac_var=yes"
52848 else
52849 echo "$as_me: failed program was:" >&5
52850 sed 's/^/| /' conftest.$ac_ext >&5
52852 eval "$as_ac_var=no"
52854 rm -f conftest.err conftest.$ac_objext \
52855 conftest$ac_exeext conftest.$ac_ext
52857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52859 if test `eval echo '${'$as_ac_var'}'` = yes; then
52860 cat >>confdefs.h <<_ACEOF
52861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52862 _ACEOF
52865 done
52867 else
52869 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
52870 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
52871 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
52872 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
52873 echo $ECHO_N "(cached) $ECHO_C" >&6
52874 else
52878 ac_ext=cc
52879 ac_cpp='$CXXCPP $CPPFLAGS'
52880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52884 cat >conftest.$ac_ext <<_ACEOF
52885 /* confdefs.h. */
52886 _ACEOF
52887 cat confdefs.h >>conftest.$ac_ext
52888 cat >>conftest.$ac_ext <<_ACEOF
52889 /* end confdefs.h. */
52890 #include <math.h>
52892 main ()
52894 _sincosf(0, 0, 0);
52896 return 0;
52898 _ACEOF
52899 rm -f conftest.$ac_objext
52900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52901 (eval $ac_compile) 2>conftest.er1
52902 ac_status=$?
52903 grep -v '^ *+' conftest.er1 >conftest.err
52904 rm -f conftest.er1
52905 cat conftest.err >&5
52906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52907 (exit $ac_status); } &&
52908 { ac_try='test -z "$ac_cxx_werror_flag"
52909 || test ! -s conftest.err'
52910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52911 (eval $ac_try) 2>&5
52912 ac_status=$?
52913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52914 (exit $ac_status); }; } &&
52915 { ac_try='test -s conftest.$ac_objext'
52916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52917 (eval $ac_try) 2>&5
52918 ac_status=$?
52919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52920 (exit $ac_status); }; }; then
52921 glibcxx_cv_func__sincosf_use=yes
52922 else
52923 echo "$as_me: failed program was:" >&5
52924 sed 's/^/| /' conftest.$ac_ext >&5
52926 glibcxx_cv_func__sincosf_use=no
52928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52929 ac_ext=c
52930 ac_cpp='$CPP $CPPFLAGS'
52931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52939 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
52940 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
52942 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
52944 for ac_func in _sincosf
52946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52947 echo "$as_me:$LINENO: checking for $ac_func" >&5
52948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52949 if eval "test \"\${$as_ac_var+set}\" = set"; then
52950 echo $ECHO_N "(cached) $ECHO_C" >&6
52951 else
52952 if test x$gcc_no_link = xyes; then
52953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52955 { (exit 1); exit 1; }; }
52957 cat >conftest.$ac_ext <<_ACEOF
52958 /* confdefs.h. */
52959 _ACEOF
52960 cat confdefs.h >>conftest.$ac_ext
52961 cat >>conftest.$ac_ext <<_ACEOF
52962 /* end confdefs.h. */
52963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52965 #define $ac_func innocuous_$ac_func
52967 /* System header to define __stub macros and hopefully few prototypes,
52968 which can conflict with char $ac_func (); below.
52969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52970 <limits.h> exists even on freestanding compilers. */
52972 #ifdef __STDC__
52973 # include <limits.h>
52974 #else
52975 # include <assert.h>
52976 #endif
52978 #undef $ac_func
52980 /* Override any gcc2 internal prototype to avoid an error. */
52981 #ifdef __cplusplus
52982 extern "C"
52984 #endif
52985 /* We use char because int might match the return type of a gcc2
52986 builtin and then its argument prototype would still apply. */
52987 char $ac_func ();
52988 /* The GNU C library defines this for functions which it implements
52989 to always fail with ENOSYS. Some functions are actually named
52990 something starting with __ and the normal name is an alias. */
52991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52992 choke me
52993 #else
52994 char (*f) () = $ac_func;
52995 #endif
52996 #ifdef __cplusplus
52998 #endif
53001 main ()
53003 return f != $ac_func;
53005 return 0;
53007 _ACEOF
53008 rm -f conftest.$ac_objext conftest$ac_exeext
53009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53010 (eval $ac_link) 2>conftest.er1
53011 ac_status=$?
53012 grep -v '^ *+' conftest.er1 >conftest.err
53013 rm -f conftest.er1
53014 cat conftest.err >&5
53015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53016 (exit $ac_status); } &&
53017 { ac_try='test -z "$ac_c_werror_flag"
53018 || test ! -s conftest.err'
53019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53020 (eval $ac_try) 2>&5
53021 ac_status=$?
53022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53023 (exit $ac_status); }; } &&
53024 { ac_try='test -s conftest$ac_exeext'
53025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53026 (eval $ac_try) 2>&5
53027 ac_status=$?
53028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53029 (exit $ac_status); }; }; then
53030 eval "$as_ac_var=yes"
53031 else
53032 echo "$as_me: failed program was:" >&5
53033 sed 's/^/| /' conftest.$ac_ext >&5
53035 eval "$as_ac_var=no"
53037 rm -f conftest.err conftest.$ac_objext \
53038 conftest$ac_exeext conftest.$ac_ext
53040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53042 if test `eval echo '${'$as_ac_var'}'` = yes; then
53043 cat >>confdefs.h <<_ACEOF
53044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53045 _ACEOF
53048 done
53058 echo "$as_me:$LINENO: checking for finitef declaration" >&5
53059 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
53060 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53061 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
53062 echo $ECHO_N "(cached) $ECHO_C" >&6
53063 else
53067 ac_ext=cc
53068 ac_cpp='$CXXCPP $CPPFLAGS'
53069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53073 cat >conftest.$ac_ext <<_ACEOF
53074 /* confdefs.h. */
53075 _ACEOF
53076 cat confdefs.h >>conftest.$ac_ext
53077 cat >>conftest.$ac_ext <<_ACEOF
53078 /* end confdefs.h. */
53079 #include <math.h>
53080 #ifdef HAVE_IEEEFP_H
53081 #include <ieeefp.h>
53082 #endif
53085 main ()
53087 finitef(0);
53089 return 0;
53091 _ACEOF
53092 rm -f conftest.$ac_objext
53093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53094 (eval $ac_compile) 2>conftest.er1
53095 ac_status=$?
53096 grep -v '^ *+' conftest.er1 >conftest.err
53097 rm -f conftest.er1
53098 cat conftest.err >&5
53099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53100 (exit $ac_status); } &&
53101 { ac_try='test -z "$ac_cxx_werror_flag"
53102 || test ! -s conftest.err'
53103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53104 (eval $ac_try) 2>&5
53105 ac_status=$?
53106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53107 (exit $ac_status); }; } &&
53108 { ac_try='test -s conftest.$ac_objext'
53109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53110 (eval $ac_try) 2>&5
53111 ac_status=$?
53112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53113 (exit $ac_status); }; }; then
53114 glibcxx_cv_func_finitef_use=yes
53115 else
53116 echo "$as_me: failed program was:" >&5
53117 sed 's/^/| /' conftest.$ac_ext >&5
53119 glibcxx_cv_func_finitef_use=no
53121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53122 ac_ext=c
53123 ac_cpp='$CPP $CPPFLAGS'
53124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53132 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
53133 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
53135 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53137 for ac_func in finitef
53139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53140 echo "$as_me:$LINENO: checking for $ac_func" >&5
53141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53142 if eval "test \"\${$as_ac_var+set}\" = set"; then
53143 echo $ECHO_N "(cached) $ECHO_C" >&6
53144 else
53145 if test x$gcc_no_link = xyes; then
53146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53148 { (exit 1); exit 1; }; }
53150 cat >conftest.$ac_ext <<_ACEOF
53151 /* confdefs.h. */
53152 _ACEOF
53153 cat confdefs.h >>conftest.$ac_ext
53154 cat >>conftest.$ac_ext <<_ACEOF
53155 /* end confdefs.h. */
53156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53158 #define $ac_func innocuous_$ac_func
53160 /* System header to define __stub macros and hopefully few prototypes,
53161 which can conflict with char $ac_func (); below.
53162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53163 <limits.h> exists even on freestanding compilers. */
53165 #ifdef __STDC__
53166 # include <limits.h>
53167 #else
53168 # include <assert.h>
53169 #endif
53171 #undef $ac_func
53173 /* Override any gcc2 internal prototype to avoid an error. */
53174 #ifdef __cplusplus
53175 extern "C"
53177 #endif
53178 /* We use char because int might match the return type of a gcc2
53179 builtin and then its argument prototype would still apply. */
53180 char $ac_func ();
53181 /* The GNU C library defines this for functions which it implements
53182 to always fail with ENOSYS. Some functions are actually named
53183 something starting with __ and the normal name is an alias. */
53184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53185 choke me
53186 #else
53187 char (*f) () = $ac_func;
53188 #endif
53189 #ifdef __cplusplus
53191 #endif
53194 main ()
53196 return f != $ac_func;
53198 return 0;
53200 _ACEOF
53201 rm -f conftest.$ac_objext conftest$ac_exeext
53202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53203 (eval $ac_link) 2>conftest.er1
53204 ac_status=$?
53205 grep -v '^ *+' conftest.er1 >conftest.err
53206 rm -f conftest.er1
53207 cat conftest.err >&5
53208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53209 (exit $ac_status); } &&
53210 { ac_try='test -z "$ac_c_werror_flag"
53211 || test ! -s conftest.err'
53212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53213 (eval $ac_try) 2>&5
53214 ac_status=$?
53215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53216 (exit $ac_status); }; } &&
53217 { ac_try='test -s conftest$ac_exeext'
53218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53219 (eval $ac_try) 2>&5
53220 ac_status=$?
53221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53222 (exit $ac_status); }; }; then
53223 eval "$as_ac_var=yes"
53224 else
53225 echo "$as_me: failed program was:" >&5
53226 sed 's/^/| /' conftest.$ac_ext >&5
53228 eval "$as_ac_var=no"
53230 rm -f conftest.err conftest.$ac_objext \
53231 conftest$ac_exeext conftest.$ac_ext
53233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53235 if test `eval echo '${'$as_ac_var'}'` = yes; then
53236 cat >>confdefs.h <<_ACEOF
53237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53238 _ACEOF
53241 done
53243 else
53245 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
53246 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
53247 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53248 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
53249 echo $ECHO_N "(cached) $ECHO_C" >&6
53250 else
53254 ac_ext=cc
53255 ac_cpp='$CXXCPP $CPPFLAGS'
53256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53260 cat >conftest.$ac_ext <<_ACEOF
53261 /* confdefs.h. */
53262 _ACEOF
53263 cat confdefs.h >>conftest.$ac_ext
53264 cat >>conftest.$ac_ext <<_ACEOF
53265 /* end confdefs.h. */
53266 #include <math.h>
53267 #ifdef HAVE_IEEEFP_H
53268 #include <ieeefp.h>
53269 #endif
53272 main ()
53274 _finitef(0);
53276 return 0;
53278 _ACEOF
53279 rm -f conftest.$ac_objext
53280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53281 (eval $ac_compile) 2>conftest.er1
53282 ac_status=$?
53283 grep -v '^ *+' conftest.er1 >conftest.err
53284 rm -f conftest.er1
53285 cat conftest.err >&5
53286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53287 (exit $ac_status); } &&
53288 { ac_try='test -z "$ac_cxx_werror_flag"
53289 || test ! -s conftest.err'
53290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53291 (eval $ac_try) 2>&5
53292 ac_status=$?
53293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53294 (exit $ac_status); }; } &&
53295 { ac_try='test -s conftest.$ac_objext'
53296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53297 (eval $ac_try) 2>&5
53298 ac_status=$?
53299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53300 (exit $ac_status); }; }; then
53301 glibcxx_cv_func__finitef_use=yes
53302 else
53303 echo "$as_me: failed program was:" >&5
53304 sed 's/^/| /' conftest.$ac_ext >&5
53306 glibcxx_cv_func__finitef_use=no
53308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53309 ac_ext=c
53310 ac_cpp='$CPP $CPPFLAGS'
53311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53319 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
53320 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
53322 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53324 for ac_func in _finitef
53326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53327 echo "$as_me:$LINENO: checking for $ac_func" >&5
53328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53329 if eval "test \"\${$as_ac_var+set}\" = set"; then
53330 echo $ECHO_N "(cached) $ECHO_C" >&6
53331 else
53332 if test x$gcc_no_link = xyes; then
53333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53335 { (exit 1); exit 1; }; }
53337 cat >conftest.$ac_ext <<_ACEOF
53338 /* confdefs.h. */
53339 _ACEOF
53340 cat confdefs.h >>conftest.$ac_ext
53341 cat >>conftest.$ac_ext <<_ACEOF
53342 /* end confdefs.h. */
53343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53345 #define $ac_func innocuous_$ac_func
53347 /* System header to define __stub macros and hopefully few prototypes,
53348 which can conflict with char $ac_func (); below.
53349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53350 <limits.h> exists even on freestanding compilers. */
53352 #ifdef __STDC__
53353 # include <limits.h>
53354 #else
53355 # include <assert.h>
53356 #endif
53358 #undef $ac_func
53360 /* Override any gcc2 internal prototype to avoid an error. */
53361 #ifdef __cplusplus
53362 extern "C"
53364 #endif
53365 /* We use char because int might match the return type of a gcc2
53366 builtin and then its argument prototype would still apply. */
53367 char $ac_func ();
53368 /* The GNU C library defines this for functions which it implements
53369 to always fail with ENOSYS. Some functions are actually named
53370 something starting with __ and the normal name is an alias. */
53371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53372 choke me
53373 #else
53374 char (*f) () = $ac_func;
53375 #endif
53376 #ifdef __cplusplus
53378 #endif
53381 main ()
53383 return f != $ac_func;
53385 return 0;
53387 _ACEOF
53388 rm -f conftest.$ac_objext conftest$ac_exeext
53389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53390 (eval $ac_link) 2>conftest.er1
53391 ac_status=$?
53392 grep -v '^ *+' conftest.er1 >conftest.err
53393 rm -f conftest.er1
53394 cat conftest.err >&5
53395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53396 (exit $ac_status); } &&
53397 { ac_try='test -z "$ac_c_werror_flag"
53398 || test ! -s conftest.err'
53399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53400 (eval $ac_try) 2>&5
53401 ac_status=$?
53402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53403 (exit $ac_status); }; } &&
53404 { ac_try='test -s conftest$ac_exeext'
53405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53406 (eval $ac_try) 2>&5
53407 ac_status=$?
53408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53409 (exit $ac_status); }; }; then
53410 eval "$as_ac_var=yes"
53411 else
53412 echo "$as_me: failed program was:" >&5
53413 sed 's/^/| /' conftest.$ac_ext >&5
53415 eval "$as_ac_var=no"
53417 rm -f conftest.err conftest.$ac_objext \
53418 conftest$ac_exeext conftest.$ac_ext
53420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53422 if test `eval echo '${'$as_ac_var'}'` = yes; then
53423 cat >>confdefs.h <<_ACEOF
53424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53425 _ACEOF
53428 done
53438 echo "$as_me:$LINENO: checking for long double trig functions" >&5
53439 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
53440 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
53441 echo $ECHO_N "(cached) $ECHO_C" >&6
53442 else
53446 ac_ext=cc
53447 ac_cpp='$CXXCPP $CPPFLAGS'
53448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53452 cat >conftest.$ac_ext <<_ACEOF
53453 /* confdefs.h. */
53454 _ACEOF
53455 cat confdefs.h >>conftest.$ac_ext
53456 cat >>conftest.$ac_ext <<_ACEOF
53457 /* end confdefs.h. */
53458 #include <math.h>
53460 main ()
53462 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53464 return 0;
53466 _ACEOF
53467 rm -f conftest.$ac_objext
53468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53469 (eval $ac_compile) 2>conftest.er1
53470 ac_status=$?
53471 grep -v '^ *+' conftest.er1 >conftest.err
53472 rm -f conftest.er1
53473 cat conftest.err >&5
53474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53475 (exit $ac_status); } &&
53476 { ac_try='test -z "$ac_cxx_werror_flag"
53477 || test ! -s conftest.err'
53478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53479 (eval $ac_try) 2>&5
53480 ac_status=$?
53481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53482 (exit $ac_status); }; } &&
53483 { ac_try='test -s conftest.$ac_objext'
53484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53485 (eval $ac_try) 2>&5
53486 ac_status=$?
53487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53488 (exit $ac_status); }; }; then
53489 glibcxx_cv_func_long_double_trig_use=yes
53490 else
53491 echo "$as_me: failed program was:" >&5
53492 sed 's/^/| /' conftest.$ac_ext >&5
53494 glibcxx_cv_func_long_double_trig_use=no
53496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53497 ac_ext=c
53498 ac_cpp='$CPP $CPPFLAGS'
53499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53505 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
53506 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
53507 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53517 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53520 echo "$as_me:$LINENO: checking for $ac_func" >&5
53521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53522 if eval "test \"\${$as_ac_var+set}\" = set"; then
53523 echo $ECHO_N "(cached) $ECHO_C" >&6
53524 else
53525 if test x$gcc_no_link = xyes; then
53526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53528 { (exit 1); exit 1; }; }
53530 cat >conftest.$ac_ext <<_ACEOF
53531 /* confdefs.h. */
53532 _ACEOF
53533 cat confdefs.h >>conftest.$ac_ext
53534 cat >>conftest.$ac_ext <<_ACEOF
53535 /* end confdefs.h. */
53536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53538 #define $ac_func innocuous_$ac_func
53540 /* System header to define __stub macros and hopefully few prototypes,
53541 which can conflict with char $ac_func (); below.
53542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53543 <limits.h> exists even on freestanding compilers. */
53545 #ifdef __STDC__
53546 # include <limits.h>
53547 #else
53548 # include <assert.h>
53549 #endif
53551 #undef $ac_func
53553 /* Override any gcc2 internal prototype to avoid an error. */
53554 #ifdef __cplusplus
53555 extern "C"
53557 #endif
53558 /* We use char because int might match the return type of a gcc2
53559 builtin and then its argument prototype would still apply. */
53560 char $ac_func ();
53561 /* The GNU C library defines this for functions which it implements
53562 to always fail with ENOSYS. Some functions are actually named
53563 something starting with __ and the normal name is an alias. */
53564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53565 choke me
53566 #else
53567 char (*f) () = $ac_func;
53568 #endif
53569 #ifdef __cplusplus
53571 #endif
53574 main ()
53576 return f != $ac_func;
53578 return 0;
53580 _ACEOF
53581 rm -f conftest.$ac_objext conftest$ac_exeext
53582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53583 (eval $ac_link) 2>conftest.er1
53584 ac_status=$?
53585 grep -v '^ *+' conftest.er1 >conftest.err
53586 rm -f conftest.er1
53587 cat conftest.err >&5
53588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53589 (exit $ac_status); } &&
53590 { ac_try='test -z "$ac_c_werror_flag"
53591 || test ! -s conftest.err'
53592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53593 (eval $ac_try) 2>&5
53594 ac_status=$?
53595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53596 (exit $ac_status); }; } &&
53597 { ac_try='test -s conftest$ac_exeext'
53598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53599 (eval $ac_try) 2>&5
53600 ac_status=$?
53601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53602 (exit $ac_status); }; }; then
53603 eval "$as_ac_var=yes"
53604 else
53605 echo "$as_me: failed program was:" >&5
53606 sed 's/^/| /' conftest.$ac_ext >&5
53608 eval "$as_ac_var=no"
53610 rm -f conftest.err conftest.$ac_objext \
53611 conftest$ac_exeext conftest.$ac_ext
53613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53615 if test `eval echo '${'$as_ac_var'}'` = yes; then
53616 cat >>confdefs.h <<_ACEOF
53617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53618 _ACEOF
53621 done
53623 else
53624 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
53625 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
53626 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
53627 echo $ECHO_N "(cached) $ECHO_C" >&6
53628 else
53632 ac_ext=cc
53633 ac_cpp='$CXXCPP $CPPFLAGS'
53634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53638 cat >conftest.$ac_ext <<_ACEOF
53639 /* confdefs.h. */
53640 _ACEOF
53641 cat confdefs.h >>conftest.$ac_ext
53642 cat >>conftest.$ac_ext <<_ACEOF
53643 /* end confdefs.h. */
53644 #include <math.h>
53646 main ()
53648 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53650 return 0;
53652 _ACEOF
53653 rm -f conftest.$ac_objext
53654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53655 (eval $ac_compile) 2>conftest.er1
53656 ac_status=$?
53657 grep -v '^ *+' conftest.er1 >conftest.err
53658 rm -f conftest.er1
53659 cat conftest.err >&5
53660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53661 (exit $ac_status); } &&
53662 { ac_try='test -z "$ac_cxx_werror_flag"
53663 || test ! -s conftest.err'
53664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53665 (eval $ac_try) 2>&5
53666 ac_status=$?
53667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53668 (exit $ac_status); }; } &&
53669 { ac_try='test -s conftest.$ac_objext'
53670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53671 (eval $ac_try) 2>&5
53672 ac_status=$?
53673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53674 (exit $ac_status); }; }; then
53675 glibcxx_cv_func__long_double_trig_use=yes
53676 else
53677 echo "$as_me: failed program was:" >&5
53678 sed 's/^/| /' conftest.$ac_ext >&5
53680 glibcxx_cv_func__long_double_trig_use=no
53682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53683 ac_ext=c
53684 ac_cpp='$CPP $CPPFLAGS'
53685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53691 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
53692 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
53693 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53703 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53706 echo "$as_me:$LINENO: checking for $ac_func" >&5
53707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53708 if eval "test \"\${$as_ac_var+set}\" = set"; then
53709 echo $ECHO_N "(cached) $ECHO_C" >&6
53710 else
53711 if test x$gcc_no_link = xyes; then
53712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53714 { (exit 1); exit 1; }; }
53716 cat >conftest.$ac_ext <<_ACEOF
53717 /* confdefs.h. */
53718 _ACEOF
53719 cat confdefs.h >>conftest.$ac_ext
53720 cat >>conftest.$ac_ext <<_ACEOF
53721 /* end confdefs.h. */
53722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53724 #define $ac_func innocuous_$ac_func
53726 /* System header to define __stub macros and hopefully few prototypes,
53727 which can conflict with char $ac_func (); below.
53728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53729 <limits.h> exists even on freestanding compilers. */
53731 #ifdef __STDC__
53732 # include <limits.h>
53733 #else
53734 # include <assert.h>
53735 #endif
53737 #undef $ac_func
53739 /* Override any gcc2 internal prototype to avoid an error. */
53740 #ifdef __cplusplus
53741 extern "C"
53743 #endif
53744 /* We use char because int might match the return type of a gcc2
53745 builtin and then its argument prototype would still apply. */
53746 char $ac_func ();
53747 /* The GNU C library defines this for functions which it implements
53748 to always fail with ENOSYS. Some functions are actually named
53749 something starting with __ and the normal name is an alias. */
53750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53751 choke me
53752 #else
53753 char (*f) () = $ac_func;
53754 #endif
53755 #ifdef __cplusplus
53757 #endif
53760 main ()
53762 return f != $ac_func;
53764 return 0;
53766 _ACEOF
53767 rm -f conftest.$ac_objext conftest$ac_exeext
53768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53769 (eval $ac_link) 2>conftest.er1
53770 ac_status=$?
53771 grep -v '^ *+' conftest.er1 >conftest.err
53772 rm -f conftest.er1
53773 cat conftest.err >&5
53774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53775 (exit $ac_status); } &&
53776 { ac_try='test -z "$ac_c_werror_flag"
53777 || test ! -s conftest.err'
53778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53779 (eval $ac_try) 2>&5
53780 ac_status=$?
53781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53782 (exit $ac_status); }; } &&
53783 { ac_try='test -s conftest$ac_exeext'
53784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53785 (eval $ac_try) 2>&5
53786 ac_status=$?
53787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53788 (exit $ac_status); }; }; then
53789 eval "$as_ac_var=yes"
53790 else
53791 echo "$as_me: failed program was:" >&5
53792 sed 's/^/| /' conftest.$ac_ext >&5
53794 eval "$as_ac_var=no"
53796 rm -f conftest.err conftest.$ac_objext \
53797 conftest$ac_exeext conftest.$ac_ext
53799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53801 if test `eval echo '${'$as_ac_var'}'` = yes; then
53802 cat >>confdefs.h <<_ACEOF
53803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53804 _ACEOF
53807 done
53825 echo "$as_me:$LINENO: checking for long double round functions" >&5
53826 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
53827 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
53828 echo $ECHO_N "(cached) $ECHO_C" >&6
53829 else
53833 ac_ext=cc
53834 ac_cpp='$CXXCPP $CPPFLAGS'
53835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53839 cat >conftest.$ac_ext <<_ACEOF
53840 /* confdefs.h. */
53841 _ACEOF
53842 cat confdefs.h >>conftest.$ac_ext
53843 cat >>conftest.$ac_ext <<_ACEOF
53844 /* end confdefs.h. */
53845 #include <math.h>
53847 main ()
53849 ceill (0); floorl (0);
53851 return 0;
53853 _ACEOF
53854 rm -f conftest.$ac_objext
53855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53856 (eval $ac_compile) 2>conftest.er1
53857 ac_status=$?
53858 grep -v '^ *+' conftest.er1 >conftest.err
53859 rm -f conftest.er1
53860 cat conftest.err >&5
53861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53862 (exit $ac_status); } &&
53863 { ac_try='test -z "$ac_cxx_werror_flag"
53864 || test ! -s conftest.err'
53865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53866 (eval $ac_try) 2>&5
53867 ac_status=$?
53868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53869 (exit $ac_status); }; } &&
53870 { ac_try='test -s conftest.$ac_objext'
53871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53872 (eval $ac_try) 2>&5
53873 ac_status=$?
53874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53875 (exit $ac_status); }; }; then
53876 glibcxx_cv_func_long_double_round_use=yes
53877 else
53878 echo "$as_me: failed program was:" >&5
53879 sed 's/^/| /' conftest.$ac_ext >&5
53881 glibcxx_cv_func_long_double_round_use=no
53883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53884 ac_ext=c
53885 ac_cpp='$CPP $CPPFLAGS'
53886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53892 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
53893 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
53894 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
53897 for ac_func in ceill floorl
53899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53900 echo "$as_me:$LINENO: checking for $ac_func" >&5
53901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53902 if eval "test \"\${$as_ac_var+set}\" = set"; then
53903 echo $ECHO_N "(cached) $ECHO_C" >&6
53904 else
53905 if test x$gcc_no_link = xyes; then
53906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53908 { (exit 1); exit 1; }; }
53910 cat >conftest.$ac_ext <<_ACEOF
53911 /* confdefs.h. */
53912 _ACEOF
53913 cat confdefs.h >>conftest.$ac_ext
53914 cat >>conftest.$ac_ext <<_ACEOF
53915 /* end confdefs.h. */
53916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53918 #define $ac_func innocuous_$ac_func
53920 /* System header to define __stub macros and hopefully few prototypes,
53921 which can conflict with char $ac_func (); below.
53922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53923 <limits.h> exists even on freestanding compilers. */
53925 #ifdef __STDC__
53926 # include <limits.h>
53927 #else
53928 # include <assert.h>
53929 #endif
53931 #undef $ac_func
53933 /* Override any gcc2 internal prototype to avoid an error. */
53934 #ifdef __cplusplus
53935 extern "C"
53937 #endif
53938 /* We use char because int might match the return type of a gcc2
53939 builtin and then its argument prototype would still apply. */
53940 char $ac_func ();
53941 /* The GNU C library defines this for functions which it implements
53942 to always fail with ENOSYS. Some functions are actually named
53943 something starting with __ and the normal name is an alias. */
53944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53945 choke me
53946 #else
53947 char (*f) () = $ac_func;
53948 #endif
53949 #ifdef __cplusplus
53951 #endif
53954 main ()
53956 return f != $ac_func;
53958 return 0;
53960 _ACEOF
53961 rm -f conftest.$ac_objext conftest$ac_exeext
53962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53963 (eval $ac_link) 2>conftest.er1
53964 ac_status=$?
53965 grep -v '^ *+' conftest.er1 >conftest.err
53966 rm -f conftest.er1
53967 cat conftest.err >&5
53968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53969 (exit $ac_status); } &&
53970 { ac_try='test -z "$ac_c_werror_flag"
53971 || test ! -s conftest.err'
53972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53973 (eval $ac_try) 2>&5
53974 ac_status=$?
53975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53976 (exit $ac_status); }; } &&
53977 { ac_try='test -s conftest$ac_exeext'
53978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53979 (eval $ac_try) 2>&5
53980 ac_status=$?
53981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53982 (exit $ac_status); }; }; then
53983 eval "$as_ac_var=yes"
53984 else
53985 echo "$as_me: failed program was:" >&5
53986 sed 's/^/| /' conftest.$ac_ext >&5
53988 eval "$as_ac_var=no"
53990 rm -f conftest.err conftest.$ac_objext \
53991 conftest$ac_exeext conftest.$ac_ext
53993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53995 if test `eval echo '${'$as_ac_var'}'` = yes; then
53996 cat >>confdefs.h <<_ACEOF
53997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53998 _ACEOF
54001 done
54003 else
54004 echo "$as_me:$LINENO: checking for _long double round functions" >&5
54005 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
54006 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
54007 echo $ECHO_N "(cached) $ECHO_C" >&6
54008 else
54012 ac_ext=cc
54013 ac_cpp='$CXXCPP $CPPFLAGS'
54014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54018 cat >conftest.$ac_ext <<_ACEOF
54019 /* confdefs.h. */
54020 _ACEOF
54021 cat confdefs.h >>conftest.$ac_ext
54022 cat >>conftest.$ac_ext <<_ACEOF
54023 /* end confdefs.h. */
54024 #include <math.h>
54026 main ()
54028 _ceill (0); _floorl (0);
54030 return 0;
54032 _ACEOF
54033 rm -f conftest.$ac_objext
54034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54035 (eval $ac_compile) 2>conftest.er1
54036 ac_status=$?
54037 grep -v '^ *+' conftest.er1 >conftest.err
54038 rm -f conftest.er1
54039 cat conftest.err >&5
54040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54041 (exit $ac_status); } &&
54042 { ac_try='test -z "$ac_cxx_werror_flag"
54043 || test ! -s conftest.err'
54044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54045 (eval $ac_try) 2>&5
54046 ac_status=$?
54047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54048 (exit $ac_status); }; } &&
54049 { ac_try='test -s conftest.$ac_objext'
54050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54051 (eval $ac_try) 2>&5
54052 ac_status=$?
54053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54054 (exit $ac_status); }; }; then
54055 glibcxx_cv_func__long_double_round_use=yes
54056 else
54057 echo "$as_me: failed program was:" >&5
54058 sed 's/^/| /' conftest.$ac_ext >&5
54060 glibcxx_cv_func__long_double_round_use=no
54062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54063 ac_ext=c
54064 ac_cpp='$CPP $CPPFLAGS'
54065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54071 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
54072 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
54073 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54076 for ac_func in _ceill _floorl
54078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54079 echo "$as_me:$LINENO: checking for $ac_func" >&5
54080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54081 if eval "test \"\${$as_ac_var+set}\" = set"; then
54082 echo $ECHO_N "(cached) $ECHO_C" >&6
54083 else
54084 if test x$gcc_no_link = xyes; then
54085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54087 { (exit 1); exit 1; }; }
54089 cat >conftest.$ac_ext <<_ACEOF
54090 /* confdefs.h. */
54091 _ACEOF
54092 cat confdefs.h >>conftest.$ac_ext
54093 cat >>conftest.$ac_ext <<_ACEOF
54094 /* end confdefs.h. */
54095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54097 #define $ac_func innocuous_$ac_func
54099 /* System header to define __stub macros and hopefully few prototypes,
54100 which can conflict with char $ac_func (); below.
54101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54102 <limits.h> exists even on freestanding compilers. */
54104 #ifdef __STDC__
54105 # include <limits.h>
54106 #else
54107 # include <assert.h>
54108 #endif
54110 #undef $ac_func
54112 /* Override any gcc2 internal prototype to avoid an error. */
54113 #ifdef __cplusplus
54114 extern "C"
54116 #endif
54117 /* We use char because int might match the return type of a gcc2
54118 builtin and then its argument prototype would still apply. */
54119 char $ac_func ();
54120 /* The GNU C library defines this for functions which it implements
54121 to always fail with ENOSYS. Some functions are actually named
54122 something starting with __ and the normal name is an alias. */
54123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54124 choke me
54125 #else
54126 char (*f) () = $ac_func;
54127 #endif
54128 #ifdef __cplusplus
54130 #endif
54133 main ()
54135 return f != $ac_func;
54137 return 0;
54139 _ACEOF
54140 rm -f conftest.$ac_objext conftest$ac_exeext
54141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54142 (eval $ac_link) 2>conftest.er1
54143 ac_status=$?
54144 grep -v '^ *+' conftest.er1 >conftest.err
54145 rm -f conftest.er1
54146 cat conftest.err >&5
54147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54148 (exit $ac_status); } &&
54149 { ac_try='test -z "$ac_c_werror_flag"
54150 || test ! -s conftest.err'
54151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54152 (eval $ac_try) 2>&5
54153 ac_status=$?
54154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54155 (exit $ac_status); }; } &&
54156 { ac_try='test -s conftest$ac_exeext'
54157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54158 (eval $ac_try) 2>&5
54159 ac_status=$?
54160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54161 (exit $ac_status); }; }; then
54162 eval "$as_ac_var=yes"
54163 else
54164 echo "$as_me: failed program was:" >&5
54165 sed 's/^/| /' conftest.$ac_ext >&5
54167 eval "$as_ac_var=no"
54169 rm -f conftest.err conftest.$ac_objext \
54170 conftest$ac_exeext conftest.$ac_ext
54172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54174 if test `eval echo '${'$as_ac_var'}'` = yes; then
54175 cat >>confdefs.h <<_ACEOF
54176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54177 _ACEOF
54180 done
54192 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
54193 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
54194 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54195 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
54196 echo $ECHO_N "(cached) $ECHO_C" >&6
54197 else
54201 ac_ext=cc
54202 ac_cpp='$CXXCPP $CPPFLAGS'
54203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54207 cat >conftest.$ac_ext <<_ACEOF
54208 /* confdefs.h. */
54209 _ACEOF
54210 cat confdefs.h >>conftest.$ac_ext
54211 cat >>conftest.$ac_ext <<_ACEOF
54212 /* end confdefs.h. */
54213 #include <math.h>
54214 #ifdef HAVE_IEEEFP_H
54215 #include <ieeefp.h>
54216 #endif
54219 main ()
54221 isnanl(0);
54223 return 0;
54225 _ACEOF
54226 rm -f conftest.$ac_objext
54227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54228 (eval $ac_compile) 2>conftest.er1
54229 ac_status=$?
54230 grep -v '^ *+' conftest.er1 >conftest.err
54231 rm -f conftest.er1
54232 cat conftest.err >&5
54233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54234 (exit $ac_status); } &&
54235 { ac_try='test -z "$ac_cxx_werror_flag"
54236 || test ! -s conftest.err'
54237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54238 (eval $ac_try) 2>&5
54239 ac_status=$?
54240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54241 (exit $ac_status); }; } &&
54242 { ac_try='test -s conftest.$ac_objext'
54243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54244 (eval $ac_try) 2>&5
54245 ac_status=$?
54246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54247 (exit $ac_status); }; }; then
54248 glibcxx_cv_func_isnanl_use=yes
54249 else
54250 echo "$as_me: failed program was:" >&5
54251 sed 's/^/| /' conftest.$ac_ext >&5
54253 glibcxx_cv_func_isnanl_use=no
54255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54256 ac_ext=c
54257 ac_cpp='$CPP $CPPFLAGS'
54258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54266 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
54267 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
54269 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54271 for ac_func in isnanl
54273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54274 echo "$as_me:$LINENO: checking for $ac_func" >&5
54275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54276 if eval "test \"\${$as_ac_var+set}\" = set"; then
54277 echo $ECHO_N "(cached) $ECHO_C" >&6
54278 else
54279 if test x$gcc_no_link = xyes; then
54280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54282 { (exit 1); exit 1; }; }
54284 cat >conftest.$ac_ext <<_ACEOF
54285 /* confdefs.h. */
54286 _ACEOF
54287 cat confdefs.h >>conftest.$ac_ext
54288 cat >>conftest.$ac_ext <<_ACEOF
54289 /* end confdefs.h. */
54290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54292 #define $ac_func innocuous_$ac_func
54294 /* System header to define __stub macros and hopefully few prototypes,
54295 which can conflict with char $ac_func (); below.
54296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54297 <limits.h> exists even on freestanding compilers. */
54299 #ifdef __STDC__
54300 # include <limits.h>
54301 #else
54302 # include <assert.h>
54303 #endif
54305 #undef $ac_func
54307 /* Override any gcc2 internal prototype to avoid an error. */
54308 #ifdef __cplusplus
54309 extern "C"
54311 #endif
54312 /* We use char because int might match the return type of a gcc2
54313 builtin and then its argument prototype would still apply. */
54314 char $ac_func ();
54315 /* The GNU C library defines this for functions which it implements
54316 to always fail with ENOSYS. Some functions are actually named
54317 something starting with __ and the normal name is an alias. */
54318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54319 choke me
54320 #else
54321 char (*f) () = $ac_func;
54322 #endif
54323 #ifdef __cplusplus
54325 #endif
54328 main ()
54330 return f != $ac_func;
54332 return 0;
54334 _ACEOF
54335 rm -f conftest.$ac_objext conftest$ac_exeext
54336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54337 (eval $ac_link) 2>conftest.er1
54338 ac_status=$?
54339 grep -v '^ *+' conftest.er1 >conftest.err
54340 rm -f conftest.er1
54341 cat conftest.err >&5
54342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54343 (exit $ac_status); } &&
54344 { ac_try='test -z "$ac_c_werror_flag"
54345 || test ! -s conftest.err'
54346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54347 (eval $ac_try) 2>&5
54348 ac_status=$?
54349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54350 (exit $ac_status); }; } &&
54351 { ac_try='test -s conftest$ac_exeext'
54352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54353 (eval $ac_try) 2>&5
54354 ac_status=$?
54355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54356 (exit $ac_status); }; }; then
54357 eval "$as_ac_var=yes"
54358 else
54359 echo "$as_me: failed program was:" >&5
54360 sed 's/^/| /' conftest.$ac_ext >&5
54362 eval "$as_ac_var=no"
54364 rm -f conftest.err conftest.$ac_objext \
54365 conftest$ac_exeext conftest.$ac_ext
54367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54369 if test `eval echo '${'$as_ac_var'}'` = yes; then
54370 cat >>confdefs.h <<_ACEOF
54371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54372 _ACEOF
54375 done
54377 else
54379 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
54380 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
54381 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54382 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
54383 echo $ECHO_N "(cached) $ECHO_C" >&6
54384 else
54388 ac_ext=cc
54389 ac_cpp='$CXXCPP $CPPFLAGS'
54390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54394 cat >conftest.$ac_ext <<_ACEOF
54395 /* confdefs.h. */
54396 _ACEOF
54397 cat confdefs.h >>conftest.$ac_ext
54398 cat >>conftest.$ac_ext <<_ACEOF
54399 /* end confdefs.h. */
54400 #include <math.h>
54401 #ifdef HAVE_IEEEFP_H
54402 #include <ieeefp.h>
54403 #endif
54406 main ()
54408 _isnanl(0);
54410 return 0;
54412 _ACEOF
54413 rm -f conftest.$ac_objext
54414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54415 (eval $ac_compile) 2>conftest.er1
54416 ac_status=$?
54417 grep -v '^ *+' conftest.er1 >conftest.err
54418 rm -f conftest.er1
54419 cat conftest.err >&5
54420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54421 (exit $ac_status); } &&
54422 { ac_try='test -z "$ac_cxx_werror_flag"
54423 || test ! -s conftest.err'
54424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54425 (eval $ac_try) 2>&5
54426 ac_status=$?
54427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54428 (exit $ac_status); }; } &&
54429 { ac_try='test -s conftest.$ac_objext'
54430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54431 (eval $ac_try) 2>&5
54432 ac_status=$?
54433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54434 (exit $ac_status); }; }; then
54435 glibcxx_cv_func__isnanl_use=yes
54436 else
54437 echo "$as_me: failed program was:" >&5
54438 sed 's/^/| /' conftest.$ac_ext >&5
54440 glibcxx_cv_func__isnanl_use=no
54442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54443 ac_ext=c
54444 ac_cpp='$CPP $CPPFLAGS'
54445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54453 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
54454 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
54456 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54458 for ac_func in _isnanl
54460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54461 echo "$as_me:$LINENO: checking for $ac_func" >&5
54462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54463 if eval "test \"\${$as_ac_var+set}\" = set"; then
54464 echo $ECHO_N "(cached) $ECHO_C" >&6
54465 else
54466 if test x$gcc_no_link = xyes; then
54467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54469 { (exit 1); exit 1; }; }
54471 cat >conftest.$ac_ext <<_ACEOF
54472 /* confdefs.h. */
54473 _ACEOF
54474 cat confdefs.h >>conftest.$ac_ext
54475 cat >>conftest.$ac_ext <<_ACEOF
54476 /* end confdefs.h. */
54477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54479 #define $ac_func innocuous_$ac_func
54481 /* System header to define __stub macros and hopefully few prototypes,
54482 which can conflict with char $ac_func (); below.
54483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54484 <limits.h> exists even on freestanding compilers. */
54486 #ifdef __STDC__
54487 # include <limits.h>
54488 #else
54489 # include <assert.h>
54490 #endif
54492 #undef $ac_func
54494 /* Override any gcc2 internal prototype to avoid an error. */
54495 #ifdef __cplusplus
54496 extern "C"
54498 #endif
54499 /* We use char because int might match the return type of a gcc2
54500 builtin and then its argument prototype would still apply. */
54501 char $ac_func ();
54502 /* The GNU C library defines this for functions which it implements
54503 to always fail with ENOSYS. Some functions are actually named
54504 something starting with __ and the normal name is an alias. */
54505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54506 choke me
54507 #else
54508 char (*f) () = $ac_func;
54509 #endif
54510 #ifdef __cplusplus
54512 #endif
54515 main ()
54517 return f != $ac_func;
54519 return 0;
54521 _ACEOF
54522 rm -f conftest.$ac_objext conftest$ac_exeext
54523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54524 (eval $ac_link) 2>conftest.er1
54525 ac_status=$?
54526 grep -v '^ *+' conftest.er1 >conftest.err
54527 rm -f conftest.er1
54528 cat conftest.err >&5
54529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54530 (exit $ac_status); } &&
54531 { ac_try='test -z "$ac_c_werror_flag"
54532 || test ! -s conftest.err'
54533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54534 (eval $ac_try) 2>&5
54535 ac_status=$?
54536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54537 (exit $ac_status); }; } &&
54538 { ac_try='test -s conftest$ac_exeext'
54539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54540 (eval $ac_try) 2>&5
54541 ac_status=$?
54542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54543 (exit $ac_status); }; }; then
54544 eval "$as_ac_var=yes"
54545 else
54546 echo "$as_me: failed program was:" >&5
54547 sed 's/^/| /' conftest.$ac_ext >&5
54549 eval "$as_ac_var=no"
54551 rm -f conftest.err conftest.$ac_objext \
54552 conftest$ac_exeext conftest.$ac_ext
54554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54556 if test `eval echo '${'$as_ac_var'}'` = yes; then
54557 cat >>confdefs.h <<_ACEOF
54558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54559 _ACEOF
54562 done
54572 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
54573 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
54574 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54575 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
54576 echo $ECHO_N "(cached) $ECHO_C" >&6
54577 else
54581 ac_ext=cc
54582 ac_cpp='$CXXCPP $CPPFLAGS'
54583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54587 cat >conftest.$ac_ext <<_ACEOF
54588 /* confdefs.h. */
54589 _ACEOF
54590 cat confdefs.h >>conftest.$ac_ext
54591 cat >>conftest.$ac_ext <<_ACEOF
54592 /* end confdefs.h. */
54593 #include <math.h>
54594 #ifdef HAVE_IEEEFP_H
54595 #include <ieeefp.h>
54596 #endif
54599 main ()
54601 isinfl(0);
54603 return 0;
54605 _ACEOF
54606 rm -f conftest.$ac_objext
54607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54608 (eval $ac_compile) 2>conftest.er1
54609 ac_status=$?
54610 grep -v '^ *+' conftest.er1 >conftest.err
54611 rm -f conftest.er1
54612 cat conftest.err >&5
54613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54614 (exit $ac_status); } &&
54615 { ac_try='test -z "$ac_cxx_werror_flag"
54616 || test ! -s conftest.err'
54617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54618 (eval $ac_try) 2>&5
54619 ac_status=$?
54620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54621 (exit $ac_status); }; } &&
54622 { ac_try='test -s conftest.$ac_objext'
54623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54624 (eval $ac_try) 2>&5
54625 ac_status=$?
54626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54627 (exit $ac_status); }; }; then
54628 glibcxx_cv_func_isinfl_use=yes
54629 else
54630 echo "$as_me: failed program was:" >&5
54631 sed 's/^/| /' conftest.$ac_ext >&5
54633 glibcxx_cv_func_isinfl_use=no
54635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54636 ac_ext=c
54637 ac_cpp='$CPP $CPPFLAGS'
54638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54646 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
54647 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
54649 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54651 for ac_func in isinfl
54653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54654 echo "$as_me:$LINENO: checking for $ac_func" >&5
54655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54656 if eval "test \"\${$as_ac_var+set}\" = set"; then
54657 echo $ECHO_N "(cached) $ECHO_C" >&6
54658 else
54659 if test x$gcc_no_link = xyes; then
54660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54662 { (exit 1); exit 1; }; }
54664 cat >conftest.$ac_ext <<_ACEOF
54665 /* confdefs.h. */
54666 _ACEOF
54667 cat confdefs.h >>conftest.$ac_ext
54668 cat >>conftest.$ac_ext <<_ACEOF
54669 /* end confdefs.h. */
54670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54672 #define $ac_func innocuous_$ac_func
54674 /* System header to define __stub macros and hopefully few prototypes,
54675 which can conflict with char $ac_func (); below.
54676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54677 <limits.h> exists even on freestanding compilers. */
54679 #ifdef __STDC__
54680 # include <limits.h>
54681 #else
54682 # include <assert.h>
54683 #endif
54685 #undef $ac_func
54687 /* Override any gcc2 internal prototype to avoid an error. */
54688 #ifdef __cplusplus
54689 extern "C"
54691 #endif
54692 /* We use char because int might match the return type of a gcc2
54693 builtin and then its argument prototype would still apply. */
54694 char $ac_func ();
54695 /* The GNU C library defines this for functions which it implements
54696 to always fail with ENOSYS. Some functions are actually named
54697 something starting with __ and the normal name is an alias. */
54698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54699 choke me
54700 #else
54701 char (*f) () = $ac_func;
54702 #endif
54703 #ifdef __cplusplus
54705 #endif
54708 main ()
54710 return f != $ac_func;
54712 return 0;
54714 _ACEOF
54715 rm -f conftest.$ac_objext conftest$ac_exeext
54716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54717 (eval $ac_link) 2>conftest.er1
54718 ac_status=$?
54719 grep -v '^ *+' conftest.er1 >conftest.err
54720 rm -f conftest.er1
54721 cat conftest.err >&5
54722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54723 (exit $ac_status); } &&
54724 { ac_try='test -z "$ac_c_werror_flag"
54725 || test ! -s conftest.err'
54726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54727 (eval $ac_try) 2>&5
54728 ac_status=$?
54729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54730 (exit $ac_status); }; } &&
54731 { ac_try='test -s conftest$ac_exeext'
54732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54733 (eval $ac_try) 2>&5
54734 ac_status=$?
54735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54736 (exit $ac_status); }; }; then
54737 eval "$as_ac_var=yes"
54738 else
54739 echo "$as_me: failed program was:" >&5
54740 sed 's/^/| /' conftest.$ac_ext >&5
54742 eval "$as_ac_var=no"
54744 rm -f conftest.err conftest.$ac_objext \
54745 conftest$ac_exeext conftest.$ac_ext
54747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54749 if test `eval echo '${'$as_ac_var'}'` = yes; then
54750 cat >>confdefs.h <<_ACEOF
54751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54752 _ACEOF
54755 done
54757 else
54759 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
54760 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
54761 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54762 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
54763 echo $ECHO_N "(cached) $ECHO_C" >&6
54764 else
54768 ac_ext=cc
54769 ac_cpp='$CXXCPP $CPPFLAGS'
54770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54774 cat >conftest.$ac_ext <<_ACEOF
54775 /* confdefs.h. */
54776 _ACEOF
54777 cat confdefs.h >>conftest.$ac_ext
54778 cat >>conftest.$ac_ext <<_ACEOF
54779 /* end confdefs.h. */
54780 #include <math.h>
54781 #ifdef HAVE_IEEEFP_H
54782 #include <ieeefp.h>
54783 #endif
54786 main ()
54788 _isinfl(0);
54790 return 0;
54792 _ACEOF
54793 rm -f conftest.$ac_objext
54794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54795 (eval $ac_compile) 2>conftest.er1
54796 ac_status=$?
54797 grep -v '^ *+' conftest.er1 >conftest.err
54798 rm -f conftest.er1
54799 cat conftest.err >&5
54800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54801 (exit $ac_status); } &&
54802 { ac_try='test -z "$ac_cxx_werror_flag"
54803 || test ! -s conftest.err'
54804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54805 (eval $ac_try) 2>&5
54806 ac_status=$?
54807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54808 (exit $ac_status); }; } &&
54809 { ac_try='test -s conftest.$ac_objext'
54810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54811 (eval $ac_try) 2>&5
54812 ac_status=$?
54813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54814 (exit $ac_status); }; }; then
54815 glibcxx_cv_func__isinfl_use=yes
54816 else
54817 echo "$as_me: failed program was:" >&5
54818 sed 's/^/| /' conftest.$ac_ext >&5
54820 glibcxx_cv_func__isinfl_use=no
54822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54823 ac_ext=c
54824 ac_cpp='$CPP $CPPFLAGS'
54825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54833 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
54834 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
54836 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54838 for ac_func in _isinfl
54840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54841 echo "$as_me:$LINENO: checking for $ac_func" >&5
54842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54843 if eval "test \"\${$as_ac_var+set}\" = set"; then
54844 echo $ECHO_N "(cached) $ECHO_C" >&6
54845 else
54846 if test x$gcc_no_link = xyes; then
54847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54849 { (exit 1); exit 1; }; }
54851 cat >conftest.$ac_ext <<_ACEOF
54852 /* confdefs.h. */
54853 _ACEOF
54854 cat confdefs.h >>conftest.$ac_ext
54855 cat >>conftest.$ac_ext <<_ACEOF
54856 /* end confdefs.h. */
54857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54859 #define $ac_func innocuous_$ac_func
54861 /* System header to define __stub macros and hopefully few prototypes,
54862 which can conflict with char $ac_func (); below.
54863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54864 <limits.h> exists even on freestanding compilers. */
54866 #ifdef __STDC__
54867 # include <limits.h>
54868 #else
54869 # include <assert.h>
54870 #endif
54872 #undef $ac_func
54874 /* Override any gcc2 internal prototype to avoid an error. */
54875 #ifdef __cplusplus
54876 extern "C"
54878 #endif
54879 /* We use char because int might match the return type of a gcc2
54880 builtin and then its argument prototype would still apply. */
54881 char $ac_func ();
54882 /* The GNU C library defines this for functions which it implements
54883 to always fail with ENOSYS. Some functions are actually named
54884 something starting with __ and the normal name is an alias. */
54885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54886 choke me
54887 #else
54888 char (*f) () = $ac_func;
54889 #endif
54890 #ifdef __cplusplus
54892 #endif
54895 main ()
54897 return f != $ac_func;
54899 return 0;
54901 _ACEOF
54902 rm -f conftest.$ac_objext conftest$ac_exeext
54903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54904 (eval $ac_link) 2>conftest.er1
54905 ac_status=$?
54906 grep -v '^ *+' conftest.er1 >conftest.err
54907 rm -f conftest.er1
54908 cat conftest.err >&5
54909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54910 (exit $ac_status); } &&
54911 { ac_try='test -z "$ac_c_werror_flag"
54912 || test ! -s conftest.err'
54913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54914 (eval $ac_try) 2>&5
54915 ac_status=$?
54916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54917 (exit $ac_status); }; } &&
54918 { ac_try='test -s conftest$ac_exeext'
54919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54920 (eval $ac_try) 2>&5
54921 ac_status=$?
54922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54923 (exit $ac_status); }; }; then
54924 eval "$as_ac_var=yes"
54925 else
54926 echo "$as_me: failed program was:" >&5
54927 sed 's/^/| /' conftest.$ac_ext >&5
54929 eval "$as_ac_var=no"
54931 rm -f conftest.err conftest.$ac_objext \
54932 conftest$ac_exeext conftest.$ac_ext
54934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54936 if test `eval echo '${'$as_ac_var'}'` = yes; then
54937 cat >>confdefs.h <<_ACEOF
54938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54939 _ACEOF
54942 done
54952 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
54953 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
54954 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
54955 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
54956 echo $ECHO_N "(cached) $ECHO_C" >&6
54957 else
54961 ac_ext=cc
54962 ac_cpp='$CXXCPP $CPPFLAGS'
54963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54967 cat >conftest.$ac_ext <<_ACEOF
54968 /* confdefs.h. */
54969 _ACEOF
54970 cat confdefs.h >>conftest.$ac_ext
54971 cat >>conftest.$ac_ext <<_ACEOF
54972 /* end confdefs.h. */
54973 #include <math.h>
54975 main ()
54977 copysignl(0, 0);
54979 return 0;
54981 _ACEOF
54982 rm -f conftest.$ac_objext
54983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54984 (eval $ac_compile) 2>conftest.er1
54985 ac_status=$?
54986 grep -v '^ *+' conftest.er1 >conftest.err
54987 rm -f conftest.er1
54988 cat conftest.err >&5
54989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54990 (exit $ac_status); } &&
54991 { ac_try='test -z "$ac_cxx_werror_flag"
54992 || test ! -s conftest.err'
54993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54994 (eval $ac_try) 2>&5
54995 ac_status=$?
54996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54997 (exit $ac_status); }; } &&
54998 { ac_try='test -s conftest.$ac_objext'
54999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55000 (eval $ac_try) 2>&5
55001 ac_status=$?
55002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55003 (exit $ac_status); }; }; then
55004 glibcxx_cv_func_copysignl_use=yes
55005 else
55006 echo "$as_me: failed program was:" >&5
55007 sed 's/^/| /' conftest.$ac_ext >&5
55009 glibcxx_cv_func_copysignl_use=no
55011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55012 ac_ext=c
55013 ac_cpp='$CPP $CPPFLAGS'
55014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55022 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
55023 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
55025 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
55027 for ac_func in copysignl
55029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55030 echo "$as_me:$LINENO: checking for $ac_func" >&5
55031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55032 if eval "test \"\${$as_ac_var+set}\" = set"; then
55033 echo $ECHO_N "(cached) $ECHO_C" >&6
55034 else
55035 if test x$gcc_no_link = xyes; then
55036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55038 { (exit 1); exit 1; }; }
55040 cat >conftest.$ac_ext <<_ACEOF
55041 /* confdefs.h. */
55042 _ACEOF
55043 cat confdefs.h >>conftest.$ac_ext
55044 cat >>conftest.$ac_ext <<_ACEOF
55045 /* end confdefs.h. */
55046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55048 #define $ac_func innocuous_$ac_func
55050 /* System header to define __stub macros and hopefully few prototypes,
55051 which can conflict with char $ac_func (); below.
55052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55053 <limits.h> exists even on freestanding compilers. */
55055 #ifdef __STDC__
55056 # include <limits.h>
55057 #else
55058 # include <assert.h>
55059 #endif
55061 #undef $ac_func
55063 /* Override any gcc2 internal prototype to avoid an error. */
55064 #ifdef __cplusplus
55065 extern "C"
55067 #endif
55068 /* We use char because int might match the return type of a gcc2
55069 builtin and then its argument prototype would still apply. */
55070 char $ac_func ();
55071 /* The GNU C library defines this for functions which it implements
55072 to always fail with ENOSYS. Some functions are actually named
55073 something starting with __ and the normal name is an alias. */
55074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55075 choke me
55076 #else
55077 char (*f) () = $ac_func;
55078 #endif
55079 #ifdef __cplusplus
55081 #endif
55084 main ()
55086 return f != $ac_func;
55088 return 0;
55090 _ACEOF
55091 rm -f conftest.$ac_objext conftest$ac_exeext
55092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55093 (eval $ac_link) 2>conftest.er1
55094 ac_status=$?
55095 grep -v '^ *+' conftest.er1 >conftest.err
55096 rm -f conftest.er1
55097 cat conftest.err >&5
55098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55099 (exit $ac_status); } &&
55100 { ac_try='test -z "$ac_c_werror_flag"
55101 || test ! -s conftest.err'
55102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55103 (eval $ac_try) 2>&5
55104 ac_status=$?
55105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55106 (exit $ac_status); }; } &&
55107 { ac_try='test -s conftest$ac_exeext'
55108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55109 (eval $ac_try) 2>&5
55110 ac_status=$?
55111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55112 (exit $ac_status); }; }; then
55113 eval "$as_ac_var=yes"
55114 else
55115 echo "$as_me: failed program was:" >&5
55116 sed 's/^/| /' conftest.$ac_ext >&5
55118 eval "$as_ac_var=no"
55120 rm -f conftest.err conftest.$ac_objext \
55121 conftest$ac_exeext conftest.$ac_ext
55123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55125 if test `eval echo '${'$as_ac_var'}'` = yes; then
55126 cat >>confdefs.h <<_ACEOF
55127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55128 _ACEOF
55131 done
55133 else
55135 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
55136 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
55137 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
55138 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
55139 echo $ECHO_N "(cached) $ECHO_C" >&6
55140 else
55144 ac_ext=cc
55145 ac_cpp='$CXXCPP $CPPFLAGS'
55146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55150 cat >conftest.$ac_ext <<_ACEOF
55151 /* confdefs.h. */
55152 _ACEOF
55153 cat confdefs.h >>conftest.$ac_ext
55154 cat >>conftest.$ac_ext <<_ACEOF
55155 /* end confdefs.h. */
55156 #include <math.h>
55158 main ()
55160 _copysignl(0, 0);
55162 return 0;
55164 _ACEOF
55165 rm -f conftest.$ac_objext
55166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55167 (eval $ac_compile) 2>conftest.er1
55168 ac_status=$?
55169 grep -v '^ *+' conftest.er1 >conftest.err
55170 rm -f conftest.er1
55171 cat conftest.err >&5
55172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55173 (exit $ac_status); } &&
55174 { ac_try='test -z "$ac_cxx_werror_flag"
55175 || test ! -s conftest.err'
55176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55177 (eval $ac_try) 2>&5
55178 ac_status=$?
55179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55180 (exit $ac_status); }; } &&
55181 { ac_try='test -s conftest.$ac_objext'
55182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55183 (eval $ac_try) 2>&5
55184 ac_status=$?
55185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55186 (exit $ac_status); }; }; then
55187 glibcxx_cv_func__copysignl_use=yes
55188 else
55189 echo "$as_me: failed program was:" >&5
55190 sed 's/^/| /' conftest.$ac_ext >&5
55192 glibcxx_cv_func__copysignl_use=no
55194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55195 ac_ext=c
55196 ac_cpp='$CPP $CPPFLAGS'
55197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55205 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
55206 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
55208 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
55210 for ac_func in _copysignl
55212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55213 echo "$as_me:$LINENO: checking for $ac_func" >&5
55214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55215 if eval "test \"\${$as_ac_var+set}\" = set"; then
55216 echo $ECHO_N "(cached) $ECHO_C" >&6
55217 else
55218 if test x$gcc_no_link = xyes; then
55219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55221 { (exit 1); exit 1; }; }
55223 cat >conftest.$ac_ext <<_ACEOF
55224 /* confdefs.h. */
55225 _ACEOF
55226 cat confdefs.h >>conftest.$ac_ext
55227 cat >>conftest.$ac_ext <<_ACEOF
55228 /* end confdefs.h. */
55229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55231 #define $ac_func innocuous_$ac_func
55233 /* System header to define __stub macros and hopefully few prototypes,
55234 which can conflict with char $ac_func (); below.
55235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55236 <limits.h> exists even on freestanding compilers. */
55238 #ifdef __STDC__
55239 # include <limits.h>
55240 #else
55241 # include <assert.h>
55242 #endif
55244 #undef $ac_func
55246 /* Override any gcc2 internal prototype to avoid an error. */
55247 #ifdef __cplusplus
55248 extern "C"
55250 #endif
55251 /* We use char because int might match the return type of a gcc2
55252 builtin and then its argument prototype would still apply. */
55253 char $ac_func ();
55254 /* The GNU C library defines this for functions which it implements
55255 to always fail with ENOSYS. Some functions are actually named
55256 something starting with __ and the normal name is an alias. */
55257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55258 choke me
55259 #else
55260 char (*f) () = $ac_func;
55261 #endif
55262 #ifdef __cplusplus
55264 #endif
55267 main ()
55269 return f != $ac_func;
55271 return 0;
55273 _ACEOF
55274 rm -f conftest.$ac_objext conftest$ac_exeext
55275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55276 (eval $ac_link) 2>conftest.er1
55277 ac_status=$?
55278 grep -v '^ *+' conftest.er1 >conftest.err
55279 rm -f conftest.er1
55280 cat conftest.err >&5
55281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55282 (exit $ac_status); } &&
55283 { ac_try='test -z "$ac_c_werror_flag"
55284 || test ! -s conftest.err'
55285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55286 (eval $ac_try) 2>&5
55287 ac_status=$?
55288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55289 (exit $ac_status); }; } &&
55290 { ac_try='test -s conftest$ac_exeext'
55291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55292 (eval $ac_try) 2>&5
55293 ac_status=$?
55294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55295 (exit $ac_status); }; }; then
55296 eval "$as_ac_var=yes"
55297 else
55298 echo "$as_me: failed program was:" >&5
55299 sed 's/^/| /' conftest.$ac_ext >&5
55301 eval "$as_ac_var=no"
55303 rm -f conftest.err conftest.$ac_objext \
55304 conftest$ac_exeext conftest.$ac_ext
55306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55308 if test `eval echo '${'$as_ac_var'}'` = yes; then
55309 cat >>confdefs.h <<_ACEOF
55310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55311 _ACEOF
55314 done
55324 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
55325 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
55326 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55327 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
55328 echo $ECHO_N "(cached) $ECHO_C" >&6
55329 else
55333 ac_ext=cc
55334 ac_cpp='$CXXCPP $CPPFLAGS'
55335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55339 cat >conftest.$ac_ext <<_ACEOF
55340 /* confdefs.h. */
55341 _ACEOF
55342 cat confdefs.h >>conftest.$ac_ext
55343 cat >>conftest.$ac_ext <<_ACEOF
55344 /* end confdefs.h. */
55345 #include <math.h>
55347 main ()
55349 atan2l(0, 0);
55351 return 0;
55353 _ACEOF
55354 rm -f conftest.$ac_objext
55355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55356 (eval $ac_compile) 2>conftest.er1
55357 ac_status=$?
55358 grep -v '^ *+' conftest.er1 >conftest.err
55359 rm -f conftest.er1
55360 cat conftest.err >&5
55361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55362 (exit $ac_status); } &&
55363 { ac_try='test -z "$ac_cxx_werror_flag"
55364 || test ! -s conftest.err'
55365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55366 (eval $ac_try) 2>&5
55367 ac_status=$?
55368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55369 (exit $ac_status); }; } &&
55370 { ac_try='test -s conftest.$ac_objext'
55371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55372 (eval $ac_try) 2>&5
55373 ac_status=$?
55374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55375 (exit $ac_status); }; }; then
55376 glibcxx_cv_func_atan2l_use=yes
55377 else
55378 echo "$as_me: failed program was:" >&5
55379 sed 's/^/| /' conftest.$ac_ext >&5
55381 glibcxx_cv_func_atan2l_use=no
55383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55384 ac_ext=c
55385 ac_cpp='$CPP $CPPFLAGS'
55386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55394 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
55395 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
55397 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55399 for ac_func in atan2l
55401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55402 echo "$as_me:$LINENO: checking for $ac_func" >&5
55403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55404 if eval "test \"\${$as_ac_var+set}\" = set"; then
55405 echo $ECHO_N "(cached) $ECHO_C" >&6
55406 else
55407 if test x$gcc_no_link = xyes; then
55408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55410 { (exit 1); exit 1; }; }
55412 cat >conftest.$ac_ext <<_ACEOF
55413 /* confdefs.h. */
55414 _ACEOF
55415 cat confdefs.h >>conftest.$ac_ext
55416 cat >>conftest.$ac_ext <<_ACEOF
55417 /* end confdefs.h. */
55418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55420 #define $ac_func innocuous_$ac_func
55422 /* System header to define __stub macros and hopefully few prototypes,
55423 which can conflict with char $ac_func (); below.
55424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55425 <limits.h> exists even on freestanding compilers. */
55427 #ifdef __STDC__
55428 # include <limits.h>
55429 #else
55430 # include <assert.h>
55431 #endif
55433 #undef $ac_func
55435 /* Override any gcc2 internal prototype to avoid an error. */
55436 #ifdef __cplusplus
55437 extern "C"
55439 #endif
55440 /* We use char because int might match the return type of a gcc2
55441 builtin and then its argument prototype would still apply. */
55442 char $ac_func ();
55443 /* The GNU C library defines this for functions which it implements
55444 to always fail with ENOSYS. Some functions are actually named
55445 something starting with __ and the normal name is an alias. */
55446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55447 choke me
55448 #else
55449 char (*f) () = $ac_func;
55450 #endif
55451 #ifdef __cplusplus
55453 #endif
55456 main ()
55458 return f != $ac_func;
55460 return 0;
55462 _ACEOF
55463 rm -f conftest.$ac_objext conftest$ac_exeext
55464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55465 (eval $ac_link) 2>conftest.er1
55466 ac_status=$?
55467 grep -v '^ *+' conftest.er1 >conftest.err
55468 rm -f conftest.er1
55469 cat conftest.err >&5
55470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55471 (exit $ac_status); } &&
55472 { ac_try='test -z "$ac_c_werror_flag"
55473 || test ! -s conftest.err'
55474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55475 (eval $ac_try) 2>&5
55476 ac_status=$?
55477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55478 (exit $ac_status); }; } &&
55479 { ac_try='test -s conftest$ac_exeext'
55480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55481 (eval $ac_try) 2>&5
55482 ac_status=$?
55483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55484 (exit $ac_status); }; }; then
55485 eval "$as_ac_var=yes"
55486 else
55487 echo "$as_me: failed program was:" >&5
55488 sed 's/^/| /' conftest.$ac_ext >&5
55490 eval "$as_ac_var=no"
55492 rm -f conftest.err conftest.$ac_objext \
55493 conftest$ac_exeext conftest.$ac_ext
55495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55497 if test `eval echo '${'$as_ac_var'}'` = yes; then
55498 cat >>confdefs.h <<_ACEOF
55499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55500 _ACEOF
55503 done
55505 else
55507 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
55508 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
55509 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55510 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
55511 echo $ECHO_N "(cached) $ECHO_C" >&6
55512 else
55516 ac_ext=cc
55517 ac_cpp='$CXXCPP $CPPFLAGS'
55518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55522 cat >conftest.$ac_ext <<_ACEOF
55523 /* confdefs.h. */
55524 _ACEOF
55525 cat confdefs.h >>conftest.$ac_ext
55526 cat >>conftest.$ac_ext <<_ACEOF
55527 /* end confdefs.h. */
55528 #include <math.h>
55530 main ()
55532 _atan2l(0, 0);
55534 return 0;
55536 _ACEOF
55537 rm -f conftest.$ac_objext
55538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55539 (eval $ac_compile) 2>conftest.er1
55540 ac_status=$?
55541 grep -v '^ *+' conftest.er1 >conftest.err
55542 rm -f conftest.er1
55543 cat conftest.err >&5
55544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55545 (exit $ac_status); } &&
55546 { ac_try='test -z "$ac_cxx_werror_flag"
55547 || test ! -s conftest.err'
55548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55549 (eval $ac_try) 2>&5
55550 ac_status=$?
55551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55552 (exit $ac_status); }; } &&
55553 { ac_try='test -s conftest.$ac_objext'
55554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55555 (eval $ac_try) 2>&5
55556 ac_status=$?
55557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55558 (exit $ac_status); }; }; then
55559 glibcxx_cv_func__atan2l_use=yes
55560 else
55561 echo "$as_me: failed program was:" >&5
55562 sed 's/^/| /' conftest.$ac_ext >&5
55564 glibcxx_cv_func__atan2l_use=no
55566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55567 ac_ext=c
55568 ac_cpp='$CPP $CPPFLAGS'
55569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55577 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
55578 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
55580 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55582 for ac_func in _atan2l
55584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55585 echo "$as_me:$LINENO: checking for $ac_func" >&5
55586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55587 if eval "test \"\${$as_ac_var+set}\" = set"; then
55588 echo $ECHO_N "(cached) $ECHO_C" >&6
55589 else
55590 if test x$gcc_no_link = xyes; then
55591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55593 { (exit 1); exit 1; }; }
55595 cat >conftest.$ac_ext <<_ACEOF
55596 /* confdefs.h. */
55597 _ACEOF
55598 cat confdefs.h >>conftest.$ac_ext
55599 cat >>conftest.$ac_ext <<_ACEOF
55600 /* end confdefs.h. */
55601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55603 #define $ac_func innocuous_$ac_func
55605 /* System header to define __stub macros and hopefully few prototypes,
55606 which can conflict with char $ac_func (); below.
55607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55608 <limits.h> exists even on freestanding compilers. */
55610 #ifdef __STDC__
55611 # include <limits.h>
55612 #else
55613 # include <assert.h>
55614 #endif
55616 #undef $ac_func
55618 /* Override any gcc2 internal prototype to avoid an error. */
55619 #ifdef __cplusplus
55620 extern "C"
55622 #endif
55623 /* We use char because int might match the return type of a gcc2
55624 builtin and then its argument prototype would still apply. */
55625 char $ac_func ();
55626 /* The GNU C library defines this for functions which it implements
55627 to always fail with ENOSYS. Some functions are actually named
55628 something starting with __ and the normal name is an alias. */
55629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55630 choke me
55631 #else
55632 char (*f) () = $ac_func;
55633 #endif
55634 #ifdef __cplusplus
55636 #endif
55639 main ()
55641 return f != $ac_func;
55643 return 0;
55645 _ACEOF
55646 rm -f conftest.$ac_objext conftest$ac_exeext
55647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55648 (eval $ac_link) 2>conftest.er1
55649 ac_status=$?
55650 grep -v '^ *+' conftest.er1 >conftest.err
55651 rm -f conftest.er1
55652 cat conftest.err >&5
55653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55654 (exit $ac_status); } &&
55655 { ac_try='test -z "$ac_c_werror_flag"
55656 || test ! -s conftest.err'
55657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55658 (eval $ac_try) 2>&5
55659 ac_status=$?
55660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55661 (exit $ac_status); }; } &&
55662 { ac_try='test -s conftest$ac_exeext'
55663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55664 (eval $ac_try) 2>&5
55665 ac_status=$?
55666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55667 (exit $ac_status); }; }; then
55668 eval "$as_ac_var=yes"
55669 else
55670 echo "$as_me: failed program was:" >&5
55671 sed 's/^/| /' conftest.$ac_ext >&5
55673 eval "$as_ac_var=no"
55675 rm -f conftest.err conftest.$ac_objext \
55676 conftest$ac_exeext conftest.$ac_ext
55678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55680 if test `eval echo '${'$as_ac_var'}'` = yes; then
55681 cat >>confdefs.h <<_ACEOF
55682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55683 _ACEOF
55686 done
55696 echo "$as_me:$LINENO: checking for expl declaration" >&5
55697 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
55698 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55699 if test "${glibcxx_cv_func_expl_use+set}" = set; then
55700 echo $ECHO_N "(cached) $ECHO_C" >&6
55701 else
55705 ac_ext=cc
55706 ac_cpp='$CXXCPP $CPPFLAGS'
55707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55711 cat >conftest.$ac_ext <<_ACEOF
55712 /* confdefs.h. */
55713 _ACEOF
55714 cat confdefs.h >>conftest.$ac_ext
55715 cat >>conftest.$ac_ext <<_ACEOF
55716 /* end confdefs.h. */
55717 #include <math.h>
55718 #ifdef HAVE_IEEEFP_H
55719 #include <ieeefp.h>
55720 #endif
55723 main ()
55725 expl(0);
55727 return 0;
55729 _ACEOF
55730 rm -f conftest.$ac_objext
55731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55732 (eval $ac_compile) 2>conftest.er1
55733 ac_status=$?
55734 grep -v '^ *+' conftest.er1 >conftest.err
55735 rm -f conftest.er1
55736 cat conftest.err >&5
55737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55738 (exit $ac_status); } &&
55739 { ac_try='test -z "$ac_cxx_werror_flag"
55740 || test ! -s conftest.err'
55741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55742 (eval $ac_try) 2>&5
55743 ac_status=$?
55744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55745 (exit $ac_status); }; } &&
55746 { ac_try='test -s conftest.$ac_objext'
55747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55748 (eval $ac_try) 2>&5
55749 ac_status=$?
55750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55751 (exit $ac_status); }; }; then
55752 glibcxx_cv_func_expl_use=yes
55753 else
55754 echo "$as_me: failed program was:" >&5
55755 sed 's/^/| /' conftest.$ac_ext >&5
55757 glibcxx_cv_func_expl_use=no
55759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55760 ac_ext=c
55761 ac_cpp='$CPP $CPPFLAGS'
55762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55770 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
55771 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
55773 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55775 for ac_func in expl
55777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55778 echo "$as_me:$LINENO: checking for $ac_func" >&5
55779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55780 if eval "test \"\${$as_ac_var+set}\" = set"; then
55781 echo $ECHO_N "(cached) $ECHO_C" >&6
55782 else
55783 if test x$gcc_no_link = xyes; then
55784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55786 { (exit 1); exit 1; }; }
55788 cat >conftest.$ac_ext <<_ACEOF
55789 /* confdefs.h. */
55790 _ACEOF
55791 cat confdefs.h >>conftest.$ac_ext
55792 cat >>conftest.$ac_ext <<_ACEOF
55793 /* end confdefs.h. */
55794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55796 #define $ac_func innocuous_$ac_func
55798 /* System header to define __stub macros and hopefully few prototypes,
55799 which can conflict with char $ac_func (); below.
55800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55801 <limits.h> exists even on freestanding compilers. */
55803 #ifdef __STDC__
55804 # include <limits.h>
55805 #else
55806 # include <assert.h>
55807 #endif
55809 #undef $ac_func
55811 /* Override any gcc2 internal prototype to avoid an error. */
55812 #ifdef __cplusplus
55813 extern "C"
55815 #endif
55816 /* We use char because int might match the return type of a gcc2
55817 builtin and then its argument prototype would still apply. */
55818 char $ac_func ();
55819 /* The GNU C library defines this for functions which it implements
55820 to always fail with ENOSYS. Some functions are actually named
55821 something starting with __ and the normal name is an alias. */
55822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55823 choke me
55824 #else
55825 char (*f) () = $ac_func;
55826 #endif
55827 #ifdef __cplusplus
55829 #endif
55832 main ()
55834 return f != $ac_func;
55836 return 0;
55838 _ACEOF
55839 rm -f conftest.$ac_objext conftest$ac_exeext
55840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55841 (eval $ac_link) 2>conftest.er1
55842 ac_status=$?
55843 grep -v '^ *+' conftest.er1 >conftest.err
55844 rm -f conftest.er1
55845 cat conftest.err >&5
55846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55847 (exit $ac_status); } &&
55848 { ac_try='test -z "$ac_c_werror_flag"
55849 || test ! -s conftest.err'
55850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55851 (eval $ac_try) 2>&5
55852 ac_status=$?
55853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55854 (exit $ac_status); }; } &&
55855 { ac_try='test -s conftest$ac_exeext'
55856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55857 (eval $ac_try) 2>&5
55858 ac_status=$?
55859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55860 (exit $ac_status); }; }; then
55861 eval "$as_ac_var=yes"
55862 else
55863 echo "$as_me: failed program was:" >&5
55864 sed 's/^/| /' conftest.$ac_ext >&5
55866 eval "$as_ac_var=no"
55868 rm -f conftest.err conftest.$ac_objext \
55869 conftest$ac_exeext conftest.$ac_ext
55871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55873 if test `eval echo '${'$as_ac_var'}'` = yes; then
55874 cat >>confdefs.h <<_ACEOF
55875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55876 _ACEOF
55879 done
55881 else
55883 echo "$as_me:$LINENO: checking for _expl declaration" >&5
55884 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
55885 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55886 if test "${glibcxx_cv_func__expl_use+set}" = set; then
55887 echo $ECHO_N "(cached) $ECHO_C" >&6
55888 else
55892 ac_ext=cc
55893 ac_cpp='$CXXCPP $CPPFLAGS'
55894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55898 cat >conftest.$ac_ext <<_ACEOF
55899 /* confdefs.h. */
55900 _ACEOF
55901 cat confdefs.h >>conftest.$ac_ext
55902 cat >>conftest.$ac_ext <<_ACEOF
55903 /* end confdefs.h. */
55904 #include <math.h>
55905 #ifdef HAVE_IEEEFP_H
55906 #include <ieeefp.h>
55907 #endif
55910 main ()
55912 _expl(0);
55914 return 0;
55916 _ACEOF
55917 rm -f conftest.$ac_objext
55918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55919 (eval $ac_compile) 2>conftest.er1
55920 ac_status=$?
55921 grep -v '^ *+' conftest.er1 >conftest.err
55922 rm -f conftest.er1
55923 cat conftest.err >&5
55924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55925 (exit $ac_status); } &&
55926 { ac_try='test -z "$ac_cxx_werror_flag"
55927 || test ! -s conftest.err'
55928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55929 (eval $ac_try) 2>&5
55930 ac_status=$?
55931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55932 (exit $ac_status); }; } &&
55933 { ac_try='test -s conftest.$ac_objext'
55934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55935 (eval $ac_try) 2>&5
55936 ac_status=$?
55937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55938 (exit $ac_status); }; }; then
55939 glibcxx_cv_func__expl_use=yes
55940 else
55941 echo "$as_me: failed program was:" >&5
55942 sed 's/^/| /' conftest.$ac_ext >&5
55944 glibcxx_cv_func__expl_use=no
55946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55947 ac_ext=c
55948 ac_cpp='$CPP $CPPFLAGS'
55949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55957 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
55958 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
55960 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55962 for ac_func in _expl
55964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55965 echo "$as_me:$LINENO: checking for $ac_func" >&5
55966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55967 if eval "test \"\${$as_ac_var+set}\" = set"; then
55968 echo $ECHO_N "(cached) $ECHO_C" >&6
55969 else
55970 if test x$gcc_no_link = xyes; then
55971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55973 { (exit 1); exit 1; }; }
55975 cat >conftest.$ac_ext <<_ACEOF
55976 /* confdefs.h. */
55977 _ACEOF
55978 cat confdefs.h >>conftest.$ac_ext
55979 cat >>conftest.$ac_ext <<_ACEOF
55980 /* end confdefs.h. */
55981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55983 #define $ac_func innocuous_$ac_func
55985 /* System header to define __stub macros and hopefully few prototypes,
55986 which can conflict with char $ac_func (); below.
55987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55988 <limits.h> exists even on freestanding compilers. */
55990 #ifdef __STDC__
55991 # include <limits.h>
55992 #else
55993 # include <assert.h>
55994 #endif
55996 #undef $ac_func
55998 /* Override any gcc2 internal prototype to avoid an error. */
55999 #ifdef __cplusplus
56000 extern "C"
56002 #endif
56003 /* We use char because int might match the return type of a gcc2
56004 builtin and then its argument prototype would still apply. */
56005 char $ac_func ();
56006 /* The GNU C library defines this for functions which it implements
56007 to always fail with ENOSYS. Some functions are actually named
56008 something starting with __ and the normal name is an alias. */
56009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56010 choke me
56011 #else
56012 char (*f) () = $ac_func;
56013 #endif
56014 #ifdef __cplusplus
56016 #endif
56019 main ()
56021 return f != $ac_func;
56023 return 0;
56025 _ACEOF
56026 rm -f conftest.$ac_objext conftest$ac_exeext
56027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56028 (eval $ac_link) 2>conftest.er1
56029 ac_status=$?
56030 grep -v '^ *+' conftest.er1 >conftest.err
56031 rm -f conftest.er1
56032 cat conftest.err >&5
56033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56034 (exit $ac_status); } &&
56035 { ac_try='test -z "$ac_c_werror_flag"
56036 || test ! -s conftest.err'
56037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56038 (eval $ac_try) 2>&5
56039 ac_status=$?
56040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56041 (exit $ac_status); }; } &&
56042 { ac_try='test -s conftest$ac_exeext'
56043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56044 (eval $ac_try) 2>&5
56045 ac_status=$?
56046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56047 (exit $ac_status); }; }; then
56048 eval "$as_ac_var=yes"
56049 else
56050 echo "$as_me: failed program was:" >&5
56051 sed 's/^/| /' conftest.$ac_ext >&5
56053 eval "$as_ac_var=no"
56055 rm -f conftest.err conftest.$ac_objext \
56056 conftest$ac_exeext conftest.$ac_ext
56058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56060 if test `eval echo '${'$as_ac_var'}'` = yes; then
56061 cat >>confdefs.h <<_ACEOF
56062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56063 _ACEOF
56066 done
56076 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
56077 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
56078 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56079 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
56080 echo $ECHO_N "(cached) $ECHO_C" >&6
56081 else
56085 ac_ext=cc
56086 ac_cpp='$CXXCPP $CPPFLAGS'
56087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56091 cat >conftest.$ac_ext <<_ACEOF
56092 /* confdefs.h. */
56093 _ACEOF
56094 cat confdefs.h >>conftest.$ac_ext
56095 cat >>conftest.$ac_ext <<_ACEOF
56096 /* end confdefs.h. */
56097 #include <math.h>
56098 #ifdef HAVE_IEEEFP_H
56099 #include <ieeefp.h>
56100 #endif
56103 main ()
56105 fabsl(0);
56107 return 0;
56109 _ACEOF
56110 rm -f conftest.$ac_objext
56111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56112 (eval $ac_compile) 2>conftest.er1
56113 ac_status=$?
56114 grep -v '^ *+' conftest.er1 >conftest.err
56115 rm -f conftest.er1
56116 cat conftest.err >&5
56117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56118 (exit $ac_status); } &&
56119 { ac_try='test -z "$ac_cxx_werror_flag"
56120 || test ! -s conftest.err'
56121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56122 (eval $ac_try) 2>&5
56123 ac_status=$?
56124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56125 (exit $ac_status); }; } &&
56126 { ac_try='test -s conftest.$ac_objext'
56127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56128 (eval $ac_try) 2>&5
56129 ac_status=$?
56130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56131 (exit $ac_status); }; }; then
56132 glibcxx_cv_func_fabsl_use=yes
56133 else
56134 echo "$as_me: failed program was:" >&5
56135 sed 's/^/| /' conftest.$ac_ext >&5
56137 glibcxx_cv_func_fabsl_use=no
56139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56140 ac_ext=c
56141 ac_cpp='$CPP $CPPFLAGS'
56142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56150 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
56151 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
56153 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56155 for ac_func in fabsl
56157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56158 echo "$as_me:$LINENO: checking for $ac_func" >&5
56159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56160 if eval "test \"\${$as_ac_var+set}\" = set"; then
56161 echo $ECHO_N "(cached) $ECHO_C" >&6
56162 else
56163 if test x$gcc_no_link = xyes; then
56164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56166 { (exit 1); exit 1; }; }
56168 cat >conftest.$ac_ext <<_ACEOF
56169 /* confdefs.h. */
56170 _ACEOF
56171 cat confdefs.h >>conftest.$ac_ext
56172 cat >>conftest.$ac_ext <<_ACEOF
56173 /* end confdefs.h. */
56174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56176 #define $ac_func innocuous_$ac_func
56178 /* System header to define __stub macros and hopefully few prototypes,
56179 which can conflict with char $ac_func (); below.
56180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56181 <limits.h> exists even on freestanding compilers. */
56183 #ifdef __STDC__
56184 # include <limits.h>
56185 #else
56186 # include <assert.h>
56187 #endif
56189 #undef $ac_func
56191 /* Override any gcc2 internal prototype to avoid an error. */
56192 #ifdef __cplusplus
56193 extern "C"
56195 #endif
56196 /* We use char because int might match the return type of a gcc2
56197 builtin and then its argument prototype would still apply. */
56198 char $ac_func ();
56199 /* The GNU C library defines this for functions which it implements
56200 to always fail with ENOSYS. Some functions are actually named
56201 something starting with __ and the normal name is an alias. */
56202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56203 choke me
56204 #else
56205 char (*f) () = $ac_func;
56206 #endif
56207 #ifdef __cplusplus
56209 #endif
56212 main ()
56214 return f != $ac_func;
56216 return 0;
56218 _ACEOF
56219 rm -f conftest.$ac_objext conftest$ac_exeext
56220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56221 (eval $ac_link) 2>conftest.er1
56222 ac_status=$?
56223 grep -v '^ *+' conftest.er1 >conftest.err
56224 rm -f conftest.er1
56225 cat conftest.err >&5
56226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56227 (exit $ac_status); } &&
56228 { ac_try='test -z "$ac_c_werror_flag"
56229 || test ! -s conftest.err'
56230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56231 (eval $ac_try) 2>&5
56232 ac_status=$?
56233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56234 (exit $ac_status); }; } &&
56235 { ac_try='test -s conftest$ac_exeext'
56236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56237 (eval $ac_try) 2>&5
56238 ac_status=$?
56239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56240 (exit $ac_status); }; }; then
56241 eval "$as_ac_var=yes"
56242 else
56243 echo "$as_me: failed program was:" >&5
56244 sed 's/^/| /' conftest.$ac_ext >&5
56246 eval "$as_ac_var=no"
56248 rm -f conftest.err conftest.$ac_objext \
56249 conftest$ac_exeext conftest.$ac_ext
56251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56253 if test `eval echo '${'$as_ac_var'}'` = yes; then
56254 cat >>confdefs.h <<_ACEOF
56255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56256 _ACEOF
56259 done
56261 else
56263 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
56264 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
56265 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56266 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
56267 echo $ECHO_N "(cached) $ECHO_C" >&6
56268 else
56272 ac_ext=cc
56273 ac_cpp='$CXXCPP $CPPFLAGS'
56274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56278 cat >conftest.$ac_ext <<_ACEOF
56279 /* confdefs.h. */
56280 _ACEOF
56281 cat confdefs.h >>conftest.$ac_ext
56282 cat >>conftest.$ac_ext <<_ACEOF
56283 /* end confdefs.h. */
56284 #include <math.h>
56285 #ifdef HAVE_IEEEFP_H
56286 #include <ieeefp.h>
56287 #endif
56290 main ()
56292 _fabsl(0);
56294 return 0;
56296 _ACEOF
56297 rm -f conftest.$ac_objext
56298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56299 (eval $ac_compile) 2>conftest.er1
56300 ac_status=$?
56301 grep -v '^ *+' conftest.er1 >conftest.err
56302 rm -f conftest.er1
56303 cat conftest.err >&5
56304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56305 (exit $ac_status); } &&
56306 { ac_try='test -z "$ac_cxx_werror_flag"
56307 || test ! -s conftest.err'
56308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56309 (eval $ac_try) 2>&5
56310 ac_status=$?
56311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56312 (exit $ac_status); }; } &&
56313 { ac_try='test -s conftest.$ac_objext'
56314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56315 (eval $ac_try) 2>&5
56316 ac_status=$?
56317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56318 (exit $ac_status); }; }; then
56319 glibcxx_cv_func__fabsl_use=yes
56320 else
56321 echo "$as_me: failed program was:" >&5
56322 sed 's/^/| /' conftest.$ac_ext >&5
56324 glibcxx_cv_func__fabsl_use=no
56326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56327 ac_ext=c
56328 ac_cpp='$CPP $CPPFLAGS'
56329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56337 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
56338 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
56340 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56342 for ac_func in _fabsl
56344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56345 echo "$as_me:$LINENO: checking for $ac_func" >&5
56346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56347 if eval "test \"\${$as_ac_var+set}\" = set"; then
56348 echo $ECHO_N "(cached) $ECHO_C" >&6
56349 else
56350 if test x$gcc_no_link = xyes; then
56351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56353 { (exit 1); exit 1; }; }
56355 cat >conftest.$ac_ext <<_ACEOF
56356 /* confdefs.h. */
56357 _ACEOF
56358 cat confdefs.h >>conftest.$ac_ext
56359 cat >>conftest.$ac_ext <<_ACEOF
56360 /* end confdefs.h. */
56361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56363 #define $ac_func innocuous_$ac_func
56365 /* System header to define __stub macros and hopefully few prototypes,
56366 which can conflict with char $ac_func (); below.
56367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56368 <limits.h> exists even on freestanding compilers. */
56370 #ifdef __STDC__
56371 # include <limits.h>
56372 #else
56373 # include <assert.h>
56374 #endif
56376 #undef $ac_func
56378 /* Override any gcc2 internal prototype to avoid an error. */
56379 #ifdef __cplusplus
56380 extern "C"
56382 #endif
56383 /* We use char because int might match the return type of a gcc2
56384 builtin and then its argument prototype would still apply. */
56385 char $ac_func ();
56386 /* The GNU C library defines this for functions which it implements
56387 to always fail with ENOSYS. Some functions are actually named
56388 something starting with __ and the normal name is an alias. */
56389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56390 choke me
56391 #else
56392 char (*f) () = $ac_func;
56393 #endif
56394 #ifdef __cplusplus
56396 #endif
56399 main ()
56401 return f != $ac_func;
56403 return 0;
56405 _ACEOF
56406 rm -f conftest.$ac_objext conftest$ac_exeext
56407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56408 (eval $ac_link) 2>conftest.er1
56409 ac_status=$?
56410 grep -v '^ *+' conftest.er1 >conftest.err
56411 rm -f conftest.er1
56412 cat conftest.err >&5
56413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56414 (exit $ac_status); } &&
56415 { ac_try='test -z "$ac_c_werror_flag"
56416 || test ! -s conftest.err'
56417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56418 (eval $ac_try) 2>&5
56419 ac_status=$?
56420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56421 (exit $ac_status); }; } &&
56422 { ac_try='test -s conftest$ac_exeext'
56423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56424 (eval $ac_try) 2>&5
56425 ac_status=$?
56426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56427 (exit $ac_status); }; }; then
56428 eval "$as_ac_var=yes"
56429 else
56430 echo "$as_me: failed program was:" >&5
56431 sed 's/^/| /' conftest.$ac_ext >&5
56433 eval "$as_ac_var=no"
56435 rm -f conftest.err conftest.$ac_objext \
56436 conftest$ac_exeext conftest.$ac_ext
56438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56440 if test `eval echo '${'$as_ac_var'}'` = yes; then
56441 cat >>confdefs.h <<_ACEOF
56442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56443 _ACEOF
56446 done
56456 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
56457 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
56458 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56459 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
56460 echo $ECHO_N "(cached) $ECHO_C" >&6
56461 else
56465 ac_ext=cc
56466 ac_cpp='$CXXCPP $CPPFLAGS'
56467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56471 cat >conftest.$ac_ext <<_ACEOF
56472 /* confdefs.h. */
56473 _ACEOF
56474 cat confdefs.h >>conftest.$ac_ext
56475 cat >>conftest.$ac_ext <<_ACEOF
56476 /* end confdefs.h. */
56477 #include <math.h>
56479 main ()
56481 fmodl(0, 0);
56483 return 0;
56485 _ACEOF
56486 rm -f conftest.$ac_objext
56487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56488 (eval $ac_compile) 2>conftest.er1
56489 ac_status=$?
56490 grep -v '^ *+' conftest.er1 >conftest.err
56491 rm -f conftest.er1
56492 cat conftest.err >&5
56493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56494 (exit $ac_status); } &&
56495 { ac_try='test -z "$ac_cxx_werror_flag"
56496 || test ! -s conftest.err'
56497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56498 (eval $ac_try) 2>&5
56499 ac_status=$?
56500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56501 (exit $ac_status); }; } &&
56502 { ac_try='test -s conftest.$ac_objext'
56503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56504 (eval $ac_try) 2>&5
56505 ac_status=$?
56506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56507 (exit $ac_status); }; }; then
56508 glibcxx_cv_func_fmodl_use=yes
56509 else
56510 echo "$as_me: failed program was:" >&5
56511 sed 's/^/| /' conftest.$ac_ext >&5
56513 glibcxx_cv_func_fmodl_use=no
56515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56516 ac_ext=c
56517 ac_cpp='$CPP $CPPFLAGS'
56518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56526 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
56527 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
56529 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56531 for ac_func in fmodl
56533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56534 echo "$as_me:$LINENO: checking for $ac_func" >&5
56535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56536 if eval "test \"\${$as_ac_var+set}\" = set"; then
56537 echo $ECHO_N "(cached) $ECHO_C" >&6
56538 else
56539 if test x$gcc_no_link = xyes; then
56540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56542 { (exit 1); exit 1; }; }
56544 cat >conftest.$ac_ext <<_ACEOF
56545 /* confdefs.h. */
56546 _ACEOF
56547 cat confdefs.h >>conftest.$ac_ext
56548 cat >>conftest.$ac_ext <<_ACEOF
56549 /* end confdefs.h. */
56550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56552 #define $ac_func innocuous_$ac_func
56554 /* System header to define __stub macros and hopefully few prototypes,
56555 which can conflict with char $ac_func (); below.
56556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56557 <limits.h> exists even on freestanding compilers. */
56559 #ifdef __STDC__
56560 # include <limits.h>
56561 #else
56562 # include <assert.h>
56563 #endif
56565 #undef $ac_func
56567 /* Override any gcc2 internal prototype to avoid an error. */
56568 #ifdef __cplusplus
56569 extern "C"
56571 #endif
56572 /* We use char because int might match the return type of a gcc2
56573 builtin and then its argument prototype would still apply. */
56574 char $ac_func ();
56575 /* The GNU C library defines this for functions which it implements
56576 to always fail with ENOSYS. Some functions are actually named
56577 something starting with __ and the normal name is an alias. */
56578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56579 choke me
56580 #else
56581 char (*f) () = $ac_func;
56582 #endif
56583 #ifdef __cplusplus
56585 #endif
56588 main ()
56590 return f != $ac_func;
56592 return 0;
56594 _ACEOF
56595 rm -f conftest.$ac_objext conftest$ac_exeext
56596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56597 (eval $ac_link) 2>conftest.er1
56598 ac_status=$?
56599 grep -v '^ *+' conftest.er1 >conftest.err
56600 rm -f conftest.er1
56601 cat conftest.err >&5
56602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56603 (exit $ac_status); } &&
56604 { ac_try='test -z "$ac_c_werror_flag"
56605 || test ! -s conftest.err'
56606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56607 (eval $ac_try) 2>&5
56608 ac_status=$?
56609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56610 (exit $ac_status); }; } &&
56611 { ac_try='test -s conftest$ac_exeext'
56612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56613 (eval $ac_try) 2>&5
56614 ac_status=$?
56615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56616 (exit $ac_status); }; }; then
56617 eval "$as_ac_var=yes"
56618 else
56619 echo "$as_me: failed program was:" >&5
56620 sed 's/^/| /' conftest.$ac_ext >&5
56622 eval "$as_ac_var=no"
56624 rm -f conftest.err conftest.$ac_objext \
56625 conftest$ac_exeext conftest.$ac_ext
56627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56629 if test `eval echo '${'$as_ac_var'}'` = yes; then
56630 cat >>confdefs.h <<_ACEOF
56631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56632 _ACEOF
56635 done
56637 else
56639 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
56640 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
56641 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56642 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
56643 echo $ECHO_N "(cached) $ECHO_C" >&6
56644 else
56648 ac_ext=cc
56649 ac_cpp='$CXXCPP $CPPFLAGS'
56650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56654 cat >conftest.$ac_ext <<_ACEOF
56655 /* confdefs.h. */
56656 _ACEOF
56657 cat confdefs.h >>conftest.$ac_ext
56658 cat >>conftest.$ac_ext <<_ACEOF
56659 /* end confdefs.h. */
56660 #include <math.h>
56662 main ()
56664 _fmodl(0, 0);
56666 return 0;
56668 _ACEOF
56669 rm -f conftest.$ac_objext
56670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56671 (eval $ac_compile) 2>conftest.er1
56672 ac_status=$?
56673 grep -v '^ *+' conftest.er1 >conftest.err
56674 rm -f conftest.er1
56675 cat conftest.err >&5
56676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56677 (exit $ac_status); } &&
56678 { ac_try='test -z "$ac_cxx_werror_flag"
56679 || test ! -s conftest.err'
56680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56681 (eval $ac_try) 2>&5
56682 ac_status=$?
56683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56684 (exit $ac_status); }; } &&
56685 { ac_try='test -s conftest.$ac_objext'
56686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56687 (eval $ac_try) 2>&5
56688 ac_status=$?
56689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56690 (exit $ac_status); }; }; then
56691 glibcxx_cv_func__fmodl_use=yes
56692 else
56693 echo "$as_me: failed program was:" >&5
56694 sed 's/^/| /' conftest.$ac_ext >&5
56696 glibcxx_cv_func__fmodl_use=no
56698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56699 ac_ext=c
56700 ac_cpp='$CPP $CPPFLAGS'
56701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56709 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
56710 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
56712 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56714 for ac_func in _fmodl
56716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56717 echo "$as_me:$LINENO: checking for $ac_func" >&5
56718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56719 if eval "test \"\${$as_ac_var+set}\" = set"; then
56720 echo $ECHO_N "(cached) $ECHO_C" >&6
56721 else
56722 if test x$gcc_no_link = xyes; then
56723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56725 { (exit 1); exit 1; }; }
56727 cat >conftest.$ac_ext <<_ACEOF
56728 /* confdefs.h. */
56729 _ACEOF
56730 cat confdefs.h >>conftest.$ac_ext
56731 cat >>conftest.$ac_ext <<_ACEOF
56732 /* end confdefs.h. */
56733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56735 #define $ac_func innocuous_$ac_func
56737 /* System header to define __stub macros and hopefully few prototypes,
56738 which can conflict with char $ac_func (); below.
56739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56740 <limits.h> exists even on freestanding compilers. */
56742 #ifdef __STDC__
56743 # include <limits.h>
56744 #else
56745 # include <assert.h>
56746 #endif
56748 #undef $ac_func
56750 /* Override any gcc2 internal prototype to avoid an error. */
56751 #ifdef __cplusplus
56752 extern "C"
56754 #endif
56755 /* We use char because int might match the return type of a gcc2
56756 builtin and then its argument prototype would still apply. */
56757 char $ac_func ();
56758 /* The GNU C library defines this for functions which it implements
56759 to always fail with ENOSYS. Some functions are actually named
56760 something starting with __ and the normal name is an alias. */
56761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56762 choke me
56763 #else
56764 char (*f) () = $ac_func;
56765 #endif
56766 #ifdef __cplusplus
56768 #endif
56771 main ()
56773 return f != $ac_func;
56775 return 0;
56777 _ACEOF
56778 rm -f conftest.$ac_objext conftest$ac_exeext
56779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56780 (eval $ac_link) 2>conftest.er1
56781 ac_status=$?
56782 grep -v '^ *+' conftest.er1 >conftest.err
56783 rm -f conftest.er1
56784 cat conftest.err >&5
56785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56786 (exit $ac_status); } &&
56787 { ac_try='test -z "$ac_c_werror_flag"
56788 || test ! -s conftest.err'
56789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56790 (eval $ac_try) 2>&5
56791 ac_status=$?
56792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56793 (exit $ac_status); }; } &&
56794 { ac_try='test -s conftest$ac_exeext'
56795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56796 (eval $ac_try) 2>&5
56797 ac_status=$?
56798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56799 (exit $ac_status); }; }; then
56800 eval "$as_ac_var=yes"
56801 else
56802 echo "$as_me: failed program was:" >&5
56803 sed 's/^/| /' conftest.$ac_ext >&5
56805 eval "$as_ac_var=no"
56807 rm -f conftest.err conftest.$ac_objext \
56808 conftest$ac_exeext conftest.$ac_ext
56810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56812 if test `eval echo '${'$as_ac_var'}'` = yes; then
56813 cat >>confdefs.h <<_ACEOF
56814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56815 _ACEOF
56818 done
56828 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
56829 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
56830 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56831 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
56832 echo $ECHO_N "(cached) $ECHO_C" >&6
56833 else
56837 ac_ext=cc
56838 ac_cpp='$CXXCPP $CPPFLAGS'
56839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56843 cat >conftest.$ac_ext <<_ACEOF
56844 /* confdefs.h. */
56845 _ACEOF
56846 cat confdefs.h >>conftest.$ac_ext
56847 cat >>conftest.$ac_ext <<_ACEOF
56848 /* end confdefs.h. */
56849 #include <math.h>
56851 main ()
56853 frexpl(0, 0);
56855 return 0;
56857 _ACEOF
56858 rm -f conftest.$ac_objext
56859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56860 (eval $ac_compile) 2>conftest.er1
56861 ac_status=$?
56862 grep -v '^ *+' conftest.er1 >conftest.err
56863 rm -f conftest.er1
56864 cat conftest.err >&5
56865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56866 (exit $ac_status); } &&
56867 { ac_try='test -z "$ac_cxx_werror_flag"
56868 || test ! -s conftest.err'
56869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56870 (eval $ac_try) 2>&5
56871 ac_status=$?
56872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56873 (exit $ac_status); }; } &&
56874 { ac_try='test -s conftest.$ac_objext'
56875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56876 (eval $ac_try) 2>&5
56877 ac_status=$?
56878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56879 (exit $ac_status); }; }; then
56880 glibcxx_cv_func_frexpl_use=yes
56881 else
56882 echo "$as_me: failed program was:" >&5
56883 sed 's/^/| /' conftest.$ac_ext >&5
56885 glibcxx_cv_func_frexpl_use=no
56887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56888 ac_ext=c
56889 ac_cpp='$CPP $CPPFLAGS'
56890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56898 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
56899 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
56901 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56903 for ac_func in frexpl
56905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56906 echo "$as_me:$LINENO: checking for $ac_func" >&5
56907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56908 if eval "test \"\${$as_ac_var+set}\" = set"; then
56909 echo $ECHO_N "(cached) $ECHO_C" >&6
56910 else
56911 if test x$gcc_no_link = xyes; then
56912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56914 { (exit 1); exit 1; }; }
56916 cat >conftest.$ac_ext <<_ACEOF
56917 /* confdefs.h. */
56918 _ACEOF
56919 cat confdefs.h >>conftest.$ac_ext
56920 cat >>conftest.$ac_ext <<_ACEOF
56921 /* end confdefs.h. */
56922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56924 #define $ac_func innocuous_$ac_func
56926 /* System header to define __stub macros and hopefully few prototypes,
56927 which can conflict with char $ac_func (); below.
56928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56929 <limits.h> exists even on freestanding compilers. */
56931 #ifdef __STDC__
56932 # include <limits.h>
56933 #else
56934 # include <assert.h>
56935 #endif
56937 #undef $ac_func
56939 /* Override any gcc2 internal prototype to avoid an error. */
56940 #ifdef __cplusplus
56941 extern "C"
56943 #endif
56944 /* We use char because int might match the return type of a gcc2
56945 builtin and then its argument prototype would still apply. */
56946 char $ac_func ();
56947 /* The GNU C library defines this for functions which it implements
56948 to always fail with ENOSYS. Some functions are actually named
56949 something starting with __ and the normal name is an alias. */
56950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56951 choke me
56952 #else
56953 char (*f) () = $ac_func;
56954 #endif
56955 #ifdef __cplusplus
56957 #endif
56960 main ()
56962 return f != $ac_func;
56964 return 0;
56966 _ACEOF
56967 rm -f conftest.$ac_objext conftest$ac_exeext
56968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56969 (eval $ac_link) 2>conftest.er1
56970 ac_status=$?
56971 grep -v '^ *+' conftest.er1 >conftest.err
56972 rm -f conftest.er1
56973 cat conftest.err >&5
56974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56975 (exit $ac_status); } &&
56976 { ac_try='test -z "$ac_c_werror_flag"
56977 || test ! -s conftest.err'
56978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56979 (eval $ac_try) 2>&5
56980 ac_status=$?
56981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56982 (exit $ac_status); }; } &&
56983 { ac_try='test -s conftest$ac_exeext'
56984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56985 (eval $ac_try) 2>&5
56986 ac_status=$?
56987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56988 (exit $ac_status); }; }; then
56989 eval "$as_ac_var=yes"
56990 else
56991 echo "$as_me: failed program was:" >&5
56992 sed 's/^/| /' conftest.$ac_ext >&5
56994 eval "$as_ac_var=no"
56996 rm -f conftest.err conftest.$ac_objext \
56997 conftest$ac_exeext conftest.$ac_ext
56999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57001 if test `eval echo '${'$as_ac_var'}'` = yes; then
57002 cat >>confdefs.h <<_ACEOF
57003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57004 _ACEOF
57007 done
57009 else
57011 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
57012 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
57013 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57014 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
57015 echo $ECHO_N "(cached) $ECHO_C" >&6
57016 else
57020 ac_ext=cc
57021 ac_cpp='$CXXCPP $CPPFLAGS'
57022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57026 cat >conftest.$ac_ext <<_ACEOF
57027 /* confdefs.h. */
57028 _ACEOF
57029 cat confdefs.h >>conftest.$ac_ext
57030 cat >>conftest.$ac_ext <<_ACEOF
57031 /* end confdefs.h. */
57032 #include <math.h>
57034 main ()
57036 _frexpl(0, 0);
57038 return 0;
57040 _ACEOF
57041 rm -f conftest.$ac_objext
57042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57043 (eval $ac_compile) 2>conftest.er1
57044 ac_status=$?
57045 grep -v '^ *+' conftest.er1 >conftest.err
57046 rm -f conftest.er1
57047 cat conftest.err >&5
57048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57049 (exit $ac_status); } &&
57050 { ac_try='test -z "$ac_cxx_werror_flag"
57051 || test ! -s conftest.err'
57052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57053 (eval $ac_try) 2>&5
57054 ac_status=$?
57055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57056 (exit $ac_status); }; } &&
57057 { ac_try='test -s conftest.$ac_objext'
57058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57059 (eval $ac_try) 2>&5
57060 ac_status=$?
57061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57062 (exit $ac_status); }; }; then
57063 glibcxx_cv_func__frexpl_use=yes
57064 else
57065 echo "$as_me: failed program was:" >&5
57066 sed 's/^/| /' conftest.$ac_ext >&5
57068 glibcxx_cv_func__frexpl_use=no
57070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57071 ac_ext=c
57072 ac_cpp='$CPP $CPPFLAGS'
57073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57081 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
57082 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
57084 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57086 for ac_func in _frexpl
57088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57089 echo "$as_me:$LINENO: checking for $ac_func" >&5
57090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57091 if eval "test \"\${$as_ac_var+set}\" = set"; then
57092 echo $ECHO_N "(cached) $ECHO_C" >&6
57093 else
57094 if test x$gcc_no_link = xyes; then
57095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57097 { (exit 1); exit 1; }; }
57099 cat >conftest.$ac_ext <<_ACEOF
57100 /* confdefs.h. */
57101 _ACEOF
57102 cat confdefs.h >>conftest.$ac_ext
57103 cat >>conftest.$ac_ext <<_ACEOF
57104 /* end confdefs.h. */
57105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57107 #define $ac_func innocuous_$ac_func
57109 /* System header to define __stub macros and hopefully few prototypes,
57110 which can conflict with char $ac_func (); below.
57111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57112 <limits.h> exists even on freestanding compilers. */
57114 #ifdef __STDC__
57115 # include <limits.h>
57116 #else
57117 # include <assert.h>
57118 #endif
57120 #undef $ac_func
57122 /* Override any gcc2 internal prototype to avoid an error. */
57123 #ifdef __cplusplus
57124 extern "C"
57126 #endif
57127 /* We use char because int might match the return type of a gcc2
57128 builtin and then its argument prototype would still apply. */
57129 char $ac_func ();
57130 /* The GNU C library defines this for functions which it implements
57131 to always fail with ENOSYS. Some functions are actually named
57132 something starting with __ and the normal name is an alias. */
57133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57134 choke me
57135 #else
57136 char (*f) () = $ac_func;
57137 #endif
57138 #ifdef __cplusplus
57140 #endif
57143 main ()
57145 return f != $ac_func;
57147 return 0;
57149 _ACEOF
57150 rm -f conftest.$ac_objext conftest$ac_exeext
57151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57152 (eval $ac_link) 2>conftest.er1
57153 ac_status=$?
57154 grep -v '^ *+' conftest.er1 >conftest.err
57155 rm -f conftest.er1
57156 cat conftest.err >&5
57157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57158 (exit $ac_status); } &&
57159 { ac_try='test -z "$ac_c_werror_flag"
57160 || test ! -s conftest.err'
57161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57162 (eval $ac_try) 2>&5
57163 ac_status=$?
57164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57165 (exit $ac_status); }; } &&
57166 { ac_try='test -s conftest$ac_exeext'
57167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57168 (eval $ac_try) 2>&5
57169 ac_status=$?
57170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57171 (exit $ac_status); }; }; then
57172 eval "$as_ac_var=yes"
57173 else
57174 echo "$as_me: failed program was:" >&5
57175 sed 's/^/| /' conftest.$ac_ext >&5
57177 eval "$as_ac_var=no"
57179 rm -f conftest.err conftest.$ac_objext \
57180 conftest$ac_exeext conftest.$ac_ext
57182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57184 if test `eval echo '${'$as_ac_var'}'` = yes; then
57185 cat >>confdefs.h <<_ACEOF
57186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57187 _ACEOF
57190 done
57200 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57201 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57202 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57203 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57204 echo $ECHO_N "(cached) $ECHO_C" >&6
57205 else
57209 ac_ext=cc
57210 ac_cpp='$CXXCPP $CPPFLAGS'
57211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57215 cat >conftest.$ac_ext <<_ACEOF
57216 /* confdefs.h. */
57217 _ACEOF
57218 cat confdefs.h >>conftest.$ac_ext
57219 cat >>conftest.$ac_ext <<_ACEOF
57220 /* end confdefs.h. */
57221 #include <math.h>
57223 main ()
57225 hypotl(0, 0);
57227 return 0;
57229 _ACEOF
57230 rm -f conftest.$ac_objext
57231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57232 (eval $ac_compile) 2>conftest.er1
57233 ac_status=$?
57234 grep -v '^ *+' conftest.er1 >conftest.err
57235 rm -f conftest.er1
57236 cat conftest.err >&5
57237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57238 (exit $ac_status); } &&
57239 { ac_try='test -z "$ac_cxx_werror_flag"
57240 || test ! -s conftest.err'
57241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57242 (eval $ac_try) 2>&5
57243 ac_status=$?
57244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57245 (exit $ac_status); }; } &&
57246 { ac_try='test -s conftest.$ac_objext'
57247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57248 (eval $ac_try) 2>&5
57249 ac_status=$?
57250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57251 (exit $ac_status); }; }; then
57252 glibcxx_cv_func_hypotl_use=yes
57253 else
57254 echo "$as_me: failed program was:" >&5
57255 sed 's/^/| /' conftest.$ac_ext >&5
57257 glibcxx_cv_func_hypotl_use=no
57259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57260 ac_ext=c
57261 ac_cpp='$CPP $CPPFLAGS'
57262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57270 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57271 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57273 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57275 for ac_func in hypotl
57277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57278 echo "$as_me:$LINENO: checking for $ac_func" >&5
57279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57280 if eval "test \"\${$as_ac_var+set}\" = set"; then
57281 echo $ECHO_N "(cached) $ECHO_C" >&6
57282 else
57283 if test x$gcc_no_link = xyes; then
57284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57286 { (exit 1); exit 1; }; }
57288 cat >conftest.$ac_ext <<_ACEOF
57289 /* confdefs.h. */
57290 _ACEOF
57291 cat confdefs.h >>conftest.$ac_ext
57292 cat >>conftest.$ac_ext <<_ACEOF
57293 /* end confdefs.h. */
57294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57296 #define $ac_func innocuous_$ac_func
57298 /* System header to define __stub macros and hopefully few prototypes,
57299 which can conflict with char $ac_func (); below.
57300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57301 <limits.h> exists even on freestanding compilers. */
57303 #ifdef __STDC__
57304 # include <limits.h>
57305 #else
57306 # include <assert.h>
57307 #endif
57309 #undef $ac_func
57311 /* Override any gcc2 internal prototype to avoid an error. */
57312 #ifdef __cplusplus
57313 extern "C"
57315 #endif
57316 /* We use char because int might match the return type of a gcc2
57317 builtin and then its argument prototype would still apply. */
57318 char $ac_func ();
57319 /* The GNU C library defines this for functions which it implements
57320 to always fail with ENOSYS. Some functions are actually named
57321 something starting with __ and the normal name is an alias. */
57322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57323 choke me
57324 #else
57325 char (*f) () = $ac_func;
57326 #endif
57327 #ifdef __cplusplus
57329 #endif
57332 main ()
57334 return f != $ac_func;
57336 return 0;
57338 _ACEOF
57339 rm -f conftest.$ac_objext conftest$ac_exeext
57340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57341 (eval $ac_link) 2>conftest.er1
57342 ac_status=$?
57343 grep -v '^ *+' conftest.er1 >conftest.err
57344 rm -f conftest.er1
57345 cat conftest.err >&5
57346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57347 (exit $ac_status); } &&
57348 { ac_try='test -z "$ac_c_werror_flag"
57349 || test ! -s conftest.err'
57350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57351 (eval $ac_try) 2>&5
57352 ac_status=$?
57353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57354 (exit $ac_status); }; } &&
57355 { ac_try='test -s conftest$ac_exeext'
57356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57357 (eval $ac_try) 2>&5
57358 ac_status=$?
57359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57360 (exit $ac_status); }; }; then
57361 eval "$as_ac_var=yes"
57362 else
57363 echo "$as_me: failed program was:" >&5
57364 sed 's/^/| /' conftest.$ac_ext >&5
57366 eval "$as_ac_var=no"
57368 rm -f conftest.err conftest.$ac_objext \
57369 conftest$ac_exeext conftest.$ac_ext
57371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57373 if test `eval echo '${'$as_ac_var'}'` = yes; then
57374 cat >>confdefs.h <<_ACEOF
57375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57376 _ACEOF
57379 done
57381 else
57383 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
57384 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
57385 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57386 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
57387 echo $ECHO_N "(cached) $ECHO_C" >&6
57388 else
57392 ac_ext=cc
57393 ac_cpp='$CXXCPP $CPPFLAGS'
57394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57398 cat >conftest.$ac_ext <<_ACEOF
57399 /* confdefs.h. */
57400 _ACEOF
57401 cat confdefs.h >>conftest.$ac_ext
57402 cat >>conftest.$ac_ext <<_ACEOF
57403 /* end confdefs.h. */
57404 #include <math.h>
57406 main ()
57408 _hypotl(0, 0);
57410 return 0;
57412 _ACEOF
57413 rm -f conftest.$ac_objext
57414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57415 (eval $ac_compile) 2>conftest.er1
57416 ac_status=$?
57417 grep -v '^ *+' conftest.er1 >conftest.err
57418 rm -f conftest.er1
57419 cat conftest.err >&5
57420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57421 (exit $ac_status); } &&
57422 { ac_try='test -z "$ac_cxx_werror_flag"
57423 || test ! -s conftest.err'
57424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57425 (eval $ac_try) 2>&5
57426 ac_status=$?
57427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57428 (exit $ac_status); }; } &&
57429 { ac_try='test -s conftest.$ac_objext'
57430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57431 (eval $ac_try) 2>&5
57432 ac_status=$?
57433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57434 (exit $ac_status); }; }; then
57435 glibcxx_cv_func__hypotl_use=yes
57436 else
57437 echo "$as_me: failed program was:" >&5
57438 sed 's/^/| /' conftest.$ac_ext >&5
57440 glibcxx_cv_func__hypotl_use=no
57442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57443 ac_ext=c
57444 ac_cpp='$CPP $CPPFLAGS'
57445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57453 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
57454 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
57456 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57458 for ac_func in _hypotl
57460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57461 echo "$as_me:$LINENO: checking for $ac_func" >&5
57462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57463 if eval "test \"\${$as_ac_var+set}\" = set"; then
57464 echo $ECHO_N "(cached) $ECHO_C" >&6
57465 else
57466 if test x$gcc_no_link = xyes; then
57467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57469 { (exit 1); exit 1; }; }
57471 cat >conftest.$ac_ext <<_ACEOF
57472 /* confdefs.h. */
57473 _ACEOF
57474 cat confdefs.h >>conftest.$ac_ext
57475 cat >>conftest.$ac_ext <<_ACEOF
57476 /* end confdefs.h. */
57477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57479 #define $ac_func innocuous_$ac_func
57481 /* System header to define __stub macros and hopefully few prototypes,
57482 which can conflict with char $ac_func (); below.
57483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57484 <limits.h> exists even on freestanding compilers. */
57486 #ifdef __STDC__
57487 # include <limits.h>
57488 #else
57489 # include <assert.h>
57490 #endif
57492 #undef $ac_func
57494 /* Override any gcc2 internal prototype to avoid an error. */
57495 #ifdef __cplusplus
57496 extern "C"
57498 #endif
57499 /* We use char because int might match the return type of a gcc2
57500 builtin and then its argument prototype would still apply. */
57501 char $ac_func ();
57502 /* The GNU C library defines this for functions which it implements
57503 to always fail with ENOSYS. Some functions are actually named
57504 something starting with __ and the normal name is an alias. */
57505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57506 choke me
57507 #else
57508 char (*f) () = $ac_func;
57509 #endif
57510 #ifdef __cplusplus
57512 #endif
57515 main ()
57517 return f != $ac_func;
57519 return 0;
57521 _ACEOF
57522 rm -f conftest.$ac_objext conftest$ac_exeext
57523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57524 (eval $ac_link) 2>conftest.er1
57525 ac_status=$?
57526 grep -v '^ *+' conftest.er1 >conftest.err
57527 rm -f conftest.er1
57528 cat conftest.err >&5
57529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57530 (exit $ac_status); } &&
57531 { ac_try='test -z "$ac_c_werror_flag"
57532 || test ! -s conftest.err'
57533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57534 (eval $ac_try) 2>&5
57535 ac_status=$?
57536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57537 (exit $ac_status); }; } &&
57538 { ac_try='test -s conftest$ac_exeext'
57539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57540 (eval $ac_try) 2>&5
57541 ac_status=$?
57542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57543 (exit $ac_status); }; }; then
57544 eval "$as_ac_var=yes"
57545 else
57546 echo "$as_me: failed program was:" >&5
57547 sed 's/^/| /' conftest.$ac_ext >&5
57549 eval "$as_ac_var=no"
57551 rm -f conftest.err conftest.$ac_objext \
57552 conftest$ac_exeext conftest.$ac_ext
57554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57556 if test `eval echo '${'$as_ac_var'}'` = yes; then
57557 cat >>confdefs.h <<_ACEOF
57558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57559 _ACEOF
57562 done
57572 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
57573 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
57574 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57575 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
57576 echo $ECHO_N "(cached) $ECHO_C" >&6
57577 else
57581 ac_ext=cc
57582 ac_cpp='$CXXCPP $CPPFLAGS'
57583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57587 cat >conftest.$ac_ext <<_ACEOF
57588 /* confdefs.h. */
57589 _ACEOF
57590 cat confdefs.h >>conftest.$ac_ext
57591 cat >>conftest.$ac_ext <<_ACEOF
57592 /* end confdefs.h. */
57593 #include <math.h>
57595 main ()
57597 ldexpl(0, 0);
57599 return 0;
57601 _ACEOF
57602 rm -f conftest.$ac_objext
57603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57604 (eval $ac_compile) 2>conftest.er1
57605 ac_status=$?
57606 grep -v '^ *+' conftest.er1 >conftest.err
57607 rm -f conftest.er1
57608 cat conftest.err >&5
57609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57610 (exit $ac_status); } &&
57611 { ac_try='test -z "$ac_cxx_werror_flag"
57612 || test ! -s conftest.err'
57613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57614 (eval $ac_try) 2>&5
57615 ac_status=$?
57616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57617 (exit $ac_status); }; } &&
57618 { ac_try='test -s conftest.$ac_objext'
57619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57620 (eval $ac_try) 2>&5
57621 ac_status=$?
57622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57623 (exit $ac_status); }; }; then
57624 glibcxx_cv_func_ldexpl_use=yes
57625 else
57626 echo "$as_me: failed program was:" >&5
57627 sed 's/^/| /' conftest.$ac_ext >&5
57629 glibcxx_cv_func_ldexpl_use=no
57631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57632 ac_ext=c
57633 ac_cpp='$CPP $CPPFLAGS'
57634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57642 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
57643 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
57645 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57647 for ac_func in ldexpl
57649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57650 echo "$as_me:$LINENO: checking for $ac_func" >&5
57651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57652 if eval "test \"\${$as_ac_var+set}\" = set"; then
57653 echo $ECHO_N "(cached) $ECHO_C" >&6
57654 else
57655 if test x$gcc_no_link = xyes; then
57656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57658 { (exit 1); exit 1; }; }
57660 cat >conftest.$ac_ext <<_ACEOF
57661 /* confdefs.h. */
57662 _ACEOF
57663 cat confdefs.h >>conftest.$ac_ext
57664 cat >>conftest.$ac_ext <<_ACEOF
57665 /* end confdefs.h. */
57666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57668 #define $ac_func innocuous_$ac_func
57670 /* System header to define __stub macros and hopefully few prototypes,
57671 which can conflict with char $ac_func (); below.
57672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57673 <limits.h> exists even on freestanding compilers. */
57675 #ifdef __STDC__
57676 # include <limits.h>
57677 #else
57678 # include <assert.h>
57679 #endif
57681 #undef $ac_func
57683 /* Override any gcc2 internal prototype to avoid an error. */
57684 #ifdef __cplusplus
57685 extern "C"
57687 #endif
57688 /* We use char because int might match the return type of a gcc2
57689 builtin and then its argument prototype would still apply. */
57690 char $ac_func ();
57691 /* The GNU C library defines this for functions which it implements
57692 to always fail with ENOSYS. Some functions are actually named
57693 something starting with __ and the normal name is an alias. */
57694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57695 choke me
57696 #else
57697 char (*f) () = $ac_func;
57698 #endif
57699 #ifdef __cplusplus
57701 #endif
57704 main ()
57706 return f != $ac_func;
57708 return 0;
57710 _ACEOF
57711 rm -f conftest.$ac_objext conftest$ac_exeext
57712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57713 (eval $ac_link) 2>conftest.er1
57714 ac_status=$?
57715 grep -v '^ *+' conftest.er1 >conftest.err
57716 rm -f conftest.er1
57717 cat conftest.err >&5
57718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57719 (exit $ac_status); } &&
57720 { ac_try='test -z "$ac_c_werror_flag"
57721 || test ! -s conftest.err'
57722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57723 (eval $ac_try) 2>&5
57724 ac_status=$?
57725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57726 (exit $ac_status); }; } &&
57727 { ac_try='test -s conftest$ac_exeext'
57728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57729 (eval $ac_try) 2>&5
57730 ac_status=$?
57731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57732 (exit $ac_status); }; }; then
57733 eval "$as_ac_var=yes"
57734 else
57735 echo "$as_me: failed program was:" >&5
57736 sed 's/^/| /' conftest.$ac_ext >&5
57738 eval "$as_ac_var=no"
57740 rm -f conftest.err conftest.$ac_objext \
57741 conftest$ac_exeext conftest.$ac_ext
57743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57745 if test `eval echo '${'$as_ac_var'}'` = yes; then
57746 cat >>confdefs.h <<_ACEOF
57747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57748 _ACEOF
57751 done
57753 else
57755 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
57756 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
57757 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57758 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
57759 echo $ECHO_N "(cached) $ECHO_C" >&6
57760 else
57764 ac_ext=cc
57765 ac_cpp='$CXXCPP $CPPFLAGS'
57766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57770 cat >conftest.$ac_ext <<_ACEOF
57771 /* confdefs.h. */
57772 _ACEOF
57773 cat confdefs.h >>conftest.$ac_ext
57774 cat >>conftest.$ac_ext <<_ACEOF
57775 /* end confdefs.h. */
57776 #include <math.h>
57778 main ()
57780 _ldexpl(0, 0);
57782 return 0;
57784 _ACEOF
57785 rm -f conftest.$ac_objext
57786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57787 (eval $ac_compile) 2>conftest.er1
57788 ac_status=$?
57789 grep -v '^ *+' conftest.er1 >conftest.err
57790 rm -f conftest.er1
57791 cat conftest.err >&5
57792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57793 (exit $ac_status); } &&
57794 { ac_try='test -z "$ac_cxx_werror_flag"
57795 || test ! -s conftest.err'
57796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57797 (eval $ac_try) 2>&5
57798 ac_status=$?
57799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57800 (exit $ac_status); }; } &&
57801 { ac_try='test -s conftest.$ac_objext'
57802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57803 (eval $ac_try) 2>&5
57804 ac_status=$?
57805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57806 (exit $ac_status); }; }; then
57807 glibcxx_cv_func__ldexpl_use=yes
57808 else
57809 echo "$as_me: failed program was:" >&5
57810 sed 's/^/| /' conftest.$ac_ext >&5
57812 glibcxx_cv_func__ldexpl_use=no
57814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57815 ac_ext=c
57816 ac_cpp='$CPP $CPPFLAGS'
57817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57825 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
57826 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
57828 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57830 for ac_func in _ldexpl
57832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57833 echo "$as_me:$LINENO: checking for $ac_func" >&5
57834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57835 if eval "test \"\${$as_ac_var+set}\" = set"; then
57836 echo $ECHO_N "(cached) $ECHO_C" >&6
57837 else
57838 if test x$gcc_no_link = xyes; then
57839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57841 { (exit 1); exit 1; }; }
57843 cat >conftest.$ac_ext <<_ACEOF
57844 /* confdefs.h. */
57845 _ACEOF
57846 cat confdefs.h >>conftest.$ac_ext
57847 cat >>conftest.$ac_ext <<_ACEOF
57848 /* end confdefs.h. */
57849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57851 #define $ac_func innocuous_$ac_func
57853 /* System header to define __stub macros and hopefully few prototypes,
57854 which can conflict with char $ac_func (); below.
57855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57856 <limits.h> exists even on freestanding compilers. */
57858 #ifdef __STDC__
57859 # include <limits.h>
57860 #else
57861 # include <assert.h>
57862 #endif
57864 #undef $ac_func
57866 /* Override any gcc2 internal prototype to avoid an error. */
57867 #ifdef __cplusplus
57868 extern "C"
57870 #endif
57871 /* We use char because int might match the return type of a gcc2
57872 builtin and then its argument prototype would still apply. */
57873 char $ac_func ();
57874 /* The GNU C library defines this for functions which it implements
57875 to always fail with ENOSYS. Some functions are actually named
57876 something starting with __ and the normal name is an alias. */
57877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57878 choke me
57879 #else
57880 char (*f) () = $ac_func;
57881 #endif
57882 #ifdef __cplusplus
57884 #endif
57887 main ()
57889 return f != $ac_func;
57891 return 0;
57893 _ACEOF
57894 rm -f conftest.$ac_objext conftest$ac_exeext
57895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57896 (eval $ac_link) 2>conftest.er1
57897 ac_status=$?
57898 grep -v '^ *+' conftest.er1 >conftest.err
57899 rm -f conftest.er1
57900 cat conftest.err >&5
57901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57902 (exit $ac_status); } &&
57903 { ac_try='test -z "$ac_c_werror_flag"
57904 || test ! -s conftest.err'
57905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57906 (eval $ac_try) 2>&5
57907 ac_status=$?
57908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57909 (exit $ac_status); }; } &&
57910 { ac_try='test -s conftest$ac_exeext'
57911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57912 (eval $ac_try) 2>&5
57913 ac_status=$?
57914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57915 (exit $ac_status); }; }; then
57916 eval "$as_ac_var=yes"
57917 else
57918 echo "$as_me: failed program was:" >&5
57919 sed 's/^/| /' conftest.$ac_ext >&5
57921 eval "$as_ac_var=no"
57923 rm -f conftest.err conftest.$ac_objext \
57924 conftest$ac_exeext conftest.$ac_ext
57926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57928 if test `eval echo '${'$as_ac_var'}'` = yes; then
57929 cat >>confdefs.h <<_ACEOF
57930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57931 _ACEOF
57934 done
57944 echo "$as_me:$LINENO: checking for logl declaration" >&5
57945 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
57946 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57947 if test "${glibcxx_cv_func_logl_use+set}" = set; then
57948 echo $ECHO_N "(cached) $ECHO_C" >&6
57949 else
57953 ac_ext=cc
57954 ac_cpp='$CXXCPP $CPPFLAGS'
57955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57959 cat >conftest.$ac_ext <<_ACEOF
57960 /* confdefs.h. */
57961 _ACEOF
57962 cat confdefs.h >>conftest.$ac_ext
57963 cat >>conftest.$ac_ext <<_ACEOF
57964 /* end confdefs.h. */
57965 #include <math.h>
57966 #ifdef HAVE_IEEEFP_H
57967 #include <ieeefp.h>
57968 #endif
57971 main ()
57973 logl(0);
57975 return 0;
57977 _ACEOF
57978 rm -f conftest.$ac_objext
57979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57980 (eval $ac_compile) 2>conftest.er1
57981 ac_status=$?
57982 grep -v '^ *+' conftest.er1 >conftest.err
57983 rm -f conftest.er1
57984 cat conftest.err >&5
57985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57986 (exit $ac_status); } &&
57987 { ac_try='test -z "$ac_cxx_werror_flag"
57988 || test ! -s conftest.err'
57989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57990 (eval $ac_try) 2>&5
57991 ac_status=$?
57992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57993 (exit $ac_status); }; } &&
57994 { ac_try='test -s conftest.$ac_objext'
57995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57996 (eval $ac_try) 2>&5
57997 ac_status=$?
57998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57999 (exit $ac_status); }; }; then
58000 glibcxx_cv_func_logl_use=yes
58001 else
58002 echo "$as_me: failed program was:" >&5
58003 sed 's/^/| /' conftest.$ac_ext >&5
58005 glibcxx_cv_func_logl_use=no
58007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58008 ac_ext=c
58009 ac_cpp='$CPP $CPPFLAGS'
58010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58018 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
58019 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
58021 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58023 for ac_func in logl
58025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58026 echo "$as_me:$LINENO: checking for $ac_func" >&5
58027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58028 if eval "test \"\${$as_ac_var+set}\" = set"; then
58029 echo $ECHO_N "(cached) $ECHO_C" >&6
58030 else
58031 if test x$gcc_no_link = xyes; then
58032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58034 { (exit 1); exit 1; }; }
58036 cat >conftest.$ac_ext <<_ACEOF
58037 /* confdefs.h. */
58038 _ACEOF
58039 cat confdefs.h >>conftest.$ac_ext
58040 cat >>conftest.$ac_ext <<_ACEOF
58041 /* end confdefs.h. */
58042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58044 #define $ac_func innocuous_$ac_func
58046 /* System header to define __stub macros and hopefully few prototypes,
58047 which can conflict with char $ac_func (); below.
58048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58049 <limits.h> exists even on freestanding compilers. */
58051 #ifdef __STDC__
58052 # include <limits.h>
58053 #else
58054 # include <assert.h>
58055 #endif
58057 #undef $ac_func
58059 /* Override any gcc2 internal prototype to avoid an error. */
58060 #ifdef __cplusplus
58061 extern "C"
58063 #endif
58064 /* We use char because int might match the return type of a gcc2
58065 builtin and then its argument prototype would still apply. */
58066 char $ac_func ();
58067 /* The GNU C library defines this for functions which it implements
58068 to always fail with ENOSYS. Some functions are actually named
58069 something starting with __ and the normal name is an alias. */
58070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58071 choke me
58072 #else
58073 char (*f) () = $ac_func;
58074 #endif
58075 #ifdef __cplusplus
58077 #endif
58080 main ()
58082 return f != $ac_func;
58084 return 0;
58086 _ACEOF
58087 rm -f conftest.$ac_objext conftest$ac_exeext
58088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58089 (eval $ac_link) 2>conftest.er1
58090 ac_status=$?
58091 grep -v '^ *+' conftest.er1 >conftest.err
58092 rm -f conftest.er1
58093 cat conftest.err >&5
58094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58095 (exit $ac_status); } &&
58096 { ac_try='test -z "$ac_c_werror_flag"
58097 || test ! -s conftest.err'
58098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58099 (eval $ac_try) 2>&5
58100 ac_status=$?
58101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58102 (exit $ac_status); }; } &&
58103 { ac_try='test -s conftest$ac_exeext'
58104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58105 (eval $ac_try) 2>&5
58106 ac_status=$?
58107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58108 (exit $ac_status); }; }; then
58109 eval "$as_ac_var=yes"
58110 else
58111 echo "$as_me: failed program was:" >&5
58112 sed 's/^/| /' conftest.$ac_ext >&5
58114 eval "$as_ac_var=no"
58116 rm -f conftest.err conftest.$ac_objext \
58117 conftest$ac_exeext conftest.$ac_ext
58119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58121 if test `eval echo '${'$as_ac_var'}'` = yes; then
58122 cat >>confdefs.h <<_ACEOF
58123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58124 _ACEOF
58127 done
58129 else
58131 echo "$as_me:$LINENO: checking for _logl declaration" >&5
58132 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58133 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58134 if test "${glibcxx_cv_func__logl_use+set}" = set; then
58135 echo $ECHO_N "(cached) $ECHO_C" >&6
58136 else
58140 ac_ext=cc
58141 ac_cpp='$CXXCPP $CPPFLAGS'
58142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58146 cat >conftest.$ac_ext <<_ACEOF
58147 /* confdefs.h. */
58148 _ACEOF
58149 cat confdefs.h >>conftest.$ac_ext
58150 cat >>conftest.$ac_ext <<_ACEOF
58151 /* end confdefs.h. */
58152 #include <math.h>
58153 #ifdef HAVE_IEEEFP_H
58154 #include <ieeefp.h>
58155 #endif
58158 main ()
58160 _logl(0);
58162 return 0;
58164 _ACEOF
58165 rm -f conftest.$ac_objext
58166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58167 (eval $ac_compile) 2>conftest.er1
58168 ac_status=$?
58169 grep -v '^ *+' conftest.er1 >conftest.err
58170 rm -f conftest.er1
58171 cat conftest.err >&5
58172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58173 (exit $ac_status); } &&
58174 { ac_try='test -z "$ac_cxx_werror_flag"
58175 || test ! -s conftest.err'
58176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58177 (eval $ac_try) 2>&5
58178 ac_status=$?
58179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58180 (exit $ac_status); }; } &&
58181 { ac_try='test -s conftest.$ac_objext'
58182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58183 (eval $ac_try) 2>&5
58184 ac_status=$?
58185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58186 (exit $ac_status); }; }; then
58187 glibcxx_cv_func__logl_use=yes
58188 else
58189 echo "$as_me: failed program was:" >&5
58190 sed 's/^/| /' conftest.$ac_ext >&5
58192 glibcxx_cv_func__logl_use=no
58194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58195 ac_ext=c
58196 ac_cpp='$CPP $CPPFLAGS'
58197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58205 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58206 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58208 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58210 for ac_func in _logl
58212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58213 echo "$as_me:$LINENO: checking for $ac_func" >&5
58214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58215 if eval "test \"\${$as_ac_var+set}\" = set"; then
58216 echo $ECHO_N "(cached) $ECHO_C" >&6
58217 else
58218 if test x$gcc_no_link = xyes; then
58219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58221 { (exit 1); exit 1; }; }
58223 cat >conftest.$ac_ext <<_ACEOF
58224 /* confdefs.h. */
58225 _ACEOF
58226 cat confdefs.h >>conftest.$ac_ext
58227 cat >>conftest.$ac_ext <<_ACEOF
58228 /* end confdefs.h. */
58229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58231 #define $ac_func innocuous_$ac_func
58233 /* System header to define __stub macros and hopefully few prototypes,
58234 which can conflict with char $ac_func (); below.
58235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58236 <limits.h> exists even on freestanding compilers. */
58238 #ifdef __STDC__
58239 # include <limits.h>
58240 #else
58241 # include <assert.h>
58242 #endif
58244 #undef $ac_func
58246 /* Override any gcc2 internal prototype to avoid an error. */
58247 #ifdef __cplusplus
58248 extern "C"
58250 #endif
58251 /* We use char because int might match the return type of a gcc2
58252 builtin and then its argument prototype would still apply. */
58253 char $ac_func ();
58254 /* The GNU C library defines this for functions which it implements
58255 to always fail with ENOSYS. Some functions are actually named
58256 something starting with __ and the normal name is an alias. */
58257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58258 choke me
58259 #else
58260 char (*f) () = $ac_func;
58261 #endif
58262 #ifdef __cplusplus
58264 #endif
58267 main ()
58269 return f != $ac_func;
58271 return 0;
58273 _ACEOF
58274 rm -f conftest.$ac_objext conftest$ac_exeext
58275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58276 (eval $ac_link) 2>conftest.er1
58277 ac_status=$?
58278 grep -v '^ *+' conftest.er1 >conftest.err
58279 rm -f conftest.er1
58280 cat conftest.err >&5
58281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58282 (exit $ac_status); } &&
58283 { ac_try='test -z "$ac_c_werror_flag"
58284 || test ! -s conftest.err'
58285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58286 (eval $ac_try) 2>&5
58287 ac_status=$?
58288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58289 (exit $ac_status); }; } &&
58290 { ac_try='test -s conftest$ac_exeext'
58291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58292 (eval $ac_try) 2>&5
58293 ac_status=$?
58294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58295 (exit $ac_status); }; }; then
58296 eval "$as_ac_var=yes"
58297 else
58298 echo "$as_me: failed program was:" >&5
58299 sed 's/^/| /' conftest.$ac_ext >&5
58301 eval "$as_ac_var=no"
58303 rm -f conftest.err conftest.$ac_objext \
58304 conftest$ac_exeext conftest.$ac_ext
58306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58308 if test `eval echo '${'$as_ac_var'}'` = yes; then
58309 cat >>confdefs.h <<_ACEOF
58310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58311 _ACEOF
58314 done
58324 echo "$as_me:$LINENO: checking for log10l declaration" >&5
58325 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
58326 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58327 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
58328 echo $ECHO_N "(cached) $ECHO_C" >&6
58329 else
58333 ac_ext=cc
58334 ac_cpp='$CXXCPP $CPPFLAGS'
58335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58339 cat >conftest.$ac_ext <<_ACEOF
58340 /* confdefs.h. */
58341 _ACEOF
58342 cat confdefs.h >>conftest.$ac_ext
58343 cat >>conftest.$ac_ext <<_ACEOF
58344 /* end confdefs.h. */
58345 #include <math.h>
58346 #ifdef HAVE_IEEEFP_H
58347 #include <ieeefp.h>
58348 #endif
58351 main ()
58353 log10l(0);
58355 return 0;
58357 _ACEOF
58358 rm -f conftest.$ac_objext
58359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58360 (eval $ac_compile) 2>conftest.er1
58361 ac_status=$?
58362 grep -v '^ *+' conftest.er1 >conftest.err
58363 rm -f conftest.er1
58364 cat conftest.err >&5
58365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58366 (exit $ac_status); } &&
58367 { ac_try='test -z "$ac_cxx_werror_flag"
58368 || test ! -s conftest.err'
58369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58370 (eval $ac_try) 2>&5
58371 ac_status=$?
58372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58373 (exit $ac_status); }; } &&
58374 { ac_try='test -s conftest.$ac_objext'
58375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58376 (eval $ac_try) 2>&5
58377 ac_status=$?
58378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58379 (exit $ac_status); }; }; then
58380 glibcxx_cv_func_log10l_use=yes
58381 else
58382 echo "$as_me: failed program was:" >&5
58383 sed 's/^/| /' conftest.$ac_ext >&5
58385 glibcxx_cv_func_log10l_use=no
58387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58388 ac_ext=c
58389 ac_cpp='$CPP $CPPFLAGS'
58390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58398 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
58399 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
58401 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58403 for ac_func in log10l
58405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58406 echo "$as_me:$LINENO: checking for $ac_func" >&5
58407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58408 if eval "test \"\${$as_ac_var+set}\" = set"; then
58409 echo $ECHO_N "(cached) $ECHO_C" >&6
58410 else
58411 if test x$gcc_no_link = xyes; then
58412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58414 { (exit 1); exit 1; }; }
58416 cat >conftest.$ac_ext <<_ACEOF
58417 /* confdefs.h. */
58418 _ACEOF
58419 cat confdefs.h >>conftest.$ac_ext
58420 cat >>conftest.$ac_ext <<_ACEOF
58421 /* end confdefs.h. */
58422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58424 #define $ac_func innocuous_$ac_func
58426 /* System header to define __stub macros and hopefully few prototypes,
58427 which can conflict with char $ac_func (); below.
58428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58429 <limits.h> exists even on freestanding compilers. */
58431 #ifdef __STDC__
58432 # include <limits.h>
58433 #else
58434 # include <assert.h>
58435 #endif
58437 #undef $ac_func
58439 /* Override any gcc2 internal prototype to avoid an error. */
58440 #ifdef __cplusplus
58441 extern "C"
58443 #endif
58444 /* We use char because int might match the return type of a gcc2
58445 builtin and then its argument prototype would still apply. */
58446 char $ac_func ();
58447 /* The GNU C library defines this for functions which it implements
58448 to always fail with ENOSYS. Some functions are actually named
58449 something starting with __ and the normal name is an alias. */
58450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58451 choke me
58452 #else
58453 char (*f) () = $ac_func;
58454 #endif
58455 #ifdef __cplusplus
58457 #endif
58460 main ()
58462 return f != $ac_func;
58464 return 0;
58466 _ACEOF
58467 rm -f conftest.$ac_objext conftest$ac_exeext
58468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58469 (eval $ac_link) 2>conftest.er1
58470 ac_status=$?
58471 grep -v '^ *+' conftest.er1 >conftest.err
58472 rm -f conftest.er1
58473 cat conftest.err >&5
58474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58475 (exit $ac_status); } &&
58476 { ac_try='test -z "$ac_c_werror_flag"
58477 || test ! -s conftest.err'
58478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58479 (eval $ac_try) 2>&5
58480 ac_status=$?
58481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58482 (exit $ac_status); }; } &&
58483 { ac_try='test -s conftest$ac_exeext'
58484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58485 (eval $ac_try) 2>&5
58486 ac_status=$?
58487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58488 (exit $ac_status); }; }; then
58489 eval "$as_ac_var=yes"
58490 else
58491 echo "$as_me: failed program was:" >&5
58492 sed 's/^/| /' conftest.$ac_ext >&5
58494 eval "$as_ac_var=no"
58496 rm -f conftest.err conftest.$ac_objext \
58497 conftest$ac_exeext conftest.$ac_ext
58499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58501 if test `eval echo '${'$as_ac_var'}'` = yes; then
58502 cat >>confdefs.h <<_ACEOF
58503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58504 _ACEOF
58507 done
58509 else
58511 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
58512 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
58513 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58514 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
58515 echo $ECHO_N "(cached) $ECHO_C" >&6
58516 else
58520 ac_ext=cc
58521 ac_cpp='$CXXCPP $CPPFLAGS'
58522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58526 cat >conftest.$ac_ext <<_ACEOF
58527 /* confdefs.h. */
58528 _ACEOF
58529 cat confdefs.h >>conftest.$ac_ext
58530 cat >>conftest.$ac_ext <<_ACEOF
58531 /* end confdefs.h. */
58532 #include <math.h>
58533 #ifdef HAVE_IEEEFP_H
58534 #include <ieeefp.h>
58535 #endif
58538 main ()
58540 _log10l(0);
58542 return 0;
58544 _ACEOF
58545 rm -f conftest.$ac_objext
58546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58547 (eval $ac_compile) 2>conftest.er1
58548 ac_status=$?
58549 grep -v '^ *+' conftest.er1 >conftest.err
58550 rm -f conftest.er1
58551 cat conftest.err >&5
58552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58553 (exit $ac_status); } &&
58554 { ac_try='test -z "$ac_cxx_werror_flag"
58555 || test ! -s conftest.err'
58556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58557 (eval $ac_try) 2>&5
58558 ac_status=$?
58559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58560 (exit $ac_status); }; } &&
58561 { ac_try='test -s conftest.$ac_objext'
58562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58563 (eval $ac_try) 2>&5
58564 ac_status=$?
58565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58566 (exit $ac_status); }; }; then
58567 glibcxx_cv_func__log10l_use=yes
58568 else
58569 echo "$as_me: failed program was:" >&5
58570 sed 's/^/| /' conftest.$ac_ext >&5
58572 glibcxx_cv_func__log10l_use=no
58574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58575 ac_ext=c
58576 ac_cpp='$CPP $CPPFLAGS'
58577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58585 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
58586 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
58588 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58590 for ac_func in _log10l
58592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58593 echo "$as_me:$LINENO: checking for $ac_func" >&5
58594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58595 if eval "test \"\${$as_ac_var+set}\" = set"; then
58596 echo $ECHO_N "(cached) $ECHO_C" >&6
58597 else
58598 if test x$gcc_no_link = xyes; then
58599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58601 { (exit 1); exit 1; }; }
58603 cat >conftest.$ac_ext <<_ACEOF
58604 /* confdefs.h. */
58605 _ACEOF
58606 cat confdefs.h >>conftest.$ac_ext
58607 cat >>conftest.$ac_ext <<_ACEOF
58608 /* end confdefs.h. */
58609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58611 #define $ac_func innocuous_$ac_func
58613 /* System header to define __stub macros and hopefully few prototypes,
58614 which can conflict with char $ac_func (); below.
58615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58616 <limits.h> exists even on freestanding compilers. */
58618 #ifdef __STDC__
58619 # include <limits.h>
58620 #else
58621 # include <assert.h>
58622 #endif
58624 #undef $ac_func
58626 /* Override any gcc2 internal prototype to avoid an error. */
58627 #ifdef __cplusplus
58628 extern "C"
58630 #endif
58631 /* We use char because int might match the return type of a gcc2
58632 builtin and then its argument prototype would still apply. */
58633 char $ac_func ();
58634 /* The GNU C library defines this for functions which it implements
58635 to always fail with ENOSYS. Some functions are actually named
58636 something starting with __ and the normal name is an alias. */
58637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58638 choke me
58639 #else
58640 char (*f) () = $ac_func;
58641 #endif
58642 #ifdef __cplusplus
58644 #endif
58647 main ()
58649 return f != $ac_func;
58651 return 0;
58653 _ACEOF
58654 rm -f conftest.$ac_objext conftest$ac_exeext
58655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58656 (eval $ac_link) 2>conftest.er1
58657 ac_status=$?
58658 grep -v '^ *+' conftest.er1 >conftest.err
58659 rm -f conftest.er1
58660 cat conftest.err >&5
58661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58662 (exit $ac_status); } &&
58663 { ac_try='test -z "$ac_c_werror_flag"
58664 || test ! -s conftest.err'
58665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58666 (eval $ac_try) 2>&5
58667 ac_status=$?
58668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58669 (exit $ac_status); }; } &&
58670 { ac_try='test -s conftest$ac_exeext'
58671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58672 (eval $ac_try) 2>&5
58673 ac_status=$?
58674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58675 (exit $ac_status); }; }; then
58676 eval "$as_ac_var=yes"
58677 else
58678 echo "$as_me: failed program was:" >&5
58679 sed 's/^/| /' conftest.$ac_ext >&5
58681 eval "$as_ac_var=no"
58683 rm -f conftest.err conftest.$ac_objext \
58684 conftest$ac_exeext conftest.$ac_ext
58686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58688 if test `eval echo '${'$as_ac_var'}'` = yes; then
58689 cat >>confdefs.h <<_ACEOF
58690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58691 _ACEOF
58694 done
58704 echo "$as_me:$LINENO: checking for modfl declaration" >&5
58705 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
58706 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58707 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
58708 echo $ECHO_N "(cached) $ECHO_C" >&6
58709 else
58713 ac_ext=cc
58714 ac_cpp='$CXXCPP $CPPFLAGS'
58715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58719 cat >conftest.$ac_ext <<_ACEOF
58720 /* confdefs.h. */
58721 _ACEOF
58722 cat confdefs.h >>conftest.$ac_ext
58723 cat >>conftest.$ac_ext <<_ACEOF
58724 /* end confdefs.h. */
58725 #include <math.h>
58727 main ()
58729 modfl(0, 0);
58731 return 0;
58733 _ACEOF
58734 rm -f conftest.$ac_objext
58735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58736 (eval $ac_compile) 2>conftest.er1
58737 ac_status=$?
58738 grep -v '^ *+' conftest.er1 >conftest.err
58739 rm -f conftest.er1
58740 cat conftest.err >&5
58741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58742 (exit $ac_status); } &&
58743 { ac_try='test -z "$ac_cxx_werror_flag"
58744 || test ! -s conftest.err'
58745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58746 (eval $ac_try) 2>&5
58747 ac_status=$?
58748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58749 (exit $ac_status); }; } &&
58750 { ac_try='test -s conftest.$ac_objext'
58751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58752 (eval $ac_try) 2>&5
58753 ac_status=$?
58754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58755 (exit $ac_status); }; }; then
58756 glibcxx_cv_func_modfl_use=yes
58757 else
58758 echo "$as_me: failed program was:" >&5
58759 sed 's/^/| /' conftest.$ac_ext >&5
58761 glibcxx_cv_func_modfl_use=no
58763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58764 ac_ext=c
58765 ac_cpp='$CPP $CPPFLAGS'
58766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58774 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
58775 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
58777 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58779 for ac_func in modfl
58781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58782 echo "$as_me:$LINENO: checking for $ac_func" >&5
58783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58784 if eval "test \"\${$as_ac_var+set}\" = set"; then
58785 echo $ECHO_N "(cached) $ECHO_C" >&6
58786 else
58787 if test x$gcc_no_link = xyes; then
58788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58790 { (exit 1); exit 1; }; }
58792 cat >conftest.$ac_ext <<_ACEOF
58793 /* confdefs.h. */
58794 _ACEOF
58795 cat confdefs.h >>conftest.$ac_ext
58796 cat >>conftest.$ac_ext <<_ACEOF
58797 /* end confdefs.h. */
58798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58800 #define $ac_func innocuous_$ac_func
58802 /* System header to define __stub macros and hopefully few prototypes,
58803 which can conflict with char $ac_func (); below.
58804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58805 <limits.h> exists even on freestanding compilers. */
58807 #ifdef __STDC__
58808 # include <limits.h>
58809 #else
58810 # include <assert.h>
58811 #endif
58813 #undef $ac_func
58815 /* Override any gcc2 internal prototype to avoid an error. */
58816 #ifdef __cplusplus
58817 extern "C"
58819 #endif
58820 /* We use char because int might match the return type of a gcc2
58821 builtin and then its argument prototype would still apply. */
58822 char $ac_func ();
58823 /* The GNU C library defines this for functions which it implements
58824 to always fail with ENOSYS. Some functions are actually named
58825 something starting with __ and the normal name is an alias. */
58826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58827 choke me
58828 #else
58829 char (*f) () = $ac_func;
58830 #endif
58831 #ifdef __cplusplus
58833 #endif
58836 main ()
58838 return f != $ac_func;
58840 return 0;
58842 _ACEOF
58843 rm -f conftest.$ac_objext conftest$ac_exeext
58844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58845 (eval $ac_link) 2>conftest.er1
58846 ac_status=$?
58847 grep -v '^ *+' conftest.er1 >conftest.err
58848 rm -f conftest.er1
58849 cat conftest.err >&5
58850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58851 (exit $ac_status); } &&
58852 { ac_try='test -z "$ac_c_werror_flag"
58853 || test ! -s conftest.err'
58854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58855 (eval $ac_try) 2>&5
58856 ac_status=$?
58857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58858 (exit $ac_status); }; } &&
58859 { ac_try='test -s conftest$ac_exeext'
58860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58861 (eval $ac_try) 2>&5
58862 ac_status=$?
58863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58864 (exit $ac_status); }; }; then
58865 eval "$as_ac_var=yes"
58866 else
58867 echo "$as_me: failed program was:" >&5
58868 sed 's/^/| /' conftest.$ac_ext >&5
58870 eval "$as_ac_var=no"
58872 rm -f conftest.err conftest.$ac_objext \
58873 conftest$ac_exeext conftest.$ac_ext
58875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58877 if test `eval echo '${'$as_ac_var'}'` = yes; then
58878 cat >>confdefs.h <<_ACEOF
58879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58880 _ACEOF
58883 done
58885 else
58887 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
58888 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
58889 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58890 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
58891 echo $ECHO_N "(cached) $ECHO_C" >&6
58892 else
58896 ac_ext=cc
58897 ac_cpp='$CXXCPP $CPPFLAGS'
58898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58902 cat >conftest.$ac_ext <<_ACEOF
58903 /* confdefs.h. */
58904 _ACEOF
58905 cat confdefs.h >>conftest.$ac_ext
58906 cat >>conftest.$ac_ext <<_ACEOF
58907 /* end confdefs.h. */
58908 #include <math.h>
58910 main ()
58912 _modfl(0, 0);
58914 return 0;
58916 _ACEOF
58917 rm -f conftest.$ac_objext
58918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58919 (eval $ac_compile) 2>conftest.er1
58920 ac_status=$?
58921 grep -v '^ *+' conftest.er1 >conftest.err
58922 rm -f conftest.er1
58923 cat conftest.err >&5
58924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58925 (exit $ac_status); } &&
58926 { ac_try='test -z "$ac_cxx_werror_flag"
58927 || test ! -s conftest.err'
58928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58929 (eval $ac_try) 2>&5
58930 ac_status=$?
58931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58932 (exit $ac_status); }; } &&
58933 { ac_try='test -s conftest.$ac_objext'
58934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58935 (eval $ac_try) 2>&5
58936 ac_status=$?
58937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58938 (exit $ac_status); }; }; then
58939 glibcxx_cv_func__modfl_use=yes
58940 else
58941 echo "$as_me: failed program was:" >&5
58942 sed 's/^/| /' conftest.$ac_ext >&5
58944 glibcxx_cv_func__modfl_use=no
58946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58947 ac_ext=c
58948 ac_cpp='$CPP $CPPFLAGS'
58949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58957 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
58958 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
58960 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58962 for ac_func in _modfl
58964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58965 echo "$as_me:$LINENO: checking for $ac_func" >&5
58966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58967 if eval "test \"\${$as_ac_var+set}\" = set"; then
58968 echo $ECHO_N "(cached) $ECHO_C" >&6
58969 else
58970 if test x$gcc_no_link = xyes; then
58971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58973 { (exit 1); exit 1; }; }
58975 cat >conftest.$ac_ext <<_ACEOF
58976 /* confdefs.h. */
58977 _ACEOF
58978 cat confdefs.h >>conftest.$ac_ext
58979 cat >>conftest.$ac_ext <<_ACEOF
58980 /* end confdefs.h. */
58981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58983 #define $ac_func innocuous_$ac_func
58985 /* System header to define __stub macros and hopefully few prototypes,
58986 which can conflict with char $ac_func (); below.
58987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58988 <limits.h> exists even on freestanding compilers. */
58990 #ifdef __STDC__
58991 # include <limits.h>
58992 #else
58993 # include <assert.h>
58994 #endif
58996 #undef $ac_func
58998 /* Override any gcc2 internal prototype to avoid an error. */
58999 #ifdef __cplusplus
59000 extern "C"
59002 #endif
59003 /* We use char because int might match the return type of a gcc2
59004 builtin and then its argument prototype would still apply. */
59005 char $ac_func ();
59006 /* The GNU C library defines this for functions which it implements
59007 to always fail with ENOSYS. Some functions are actually named
59008 something starting with __ and the normal name is an alias. */
59009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59010 choke me
59011 #else
59012 char (*f) () = $ac_func;
59013 #endif
59014 #ifdef __cplusplus
59016 #endif
59019 main ()
59021 return f != $ac_func;
59023 return 0;
59025 _ACEOF
59026 rm -f conftest.$ac_objext conftest$ac_exeext
59027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59028 (eval $ac_link) 2>conftest.er1
59029 ac_status=$?
59030 grep -v '^ *+' conftest.er1 >conftest.err
59031 rm -f conftest.er1
59032 cat conftest.err >&5
59033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59034 (exit $ac_status); } &&
59035 { ac_try='test -z "$ac_c_werror_flag"
59036 || test ! -s conftest.err'
59037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59038 (eval $ac_try) 2>&5
59039 ac_status=$?
59040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59041 (exit $ac_status); }; } &&
59042 { ac_try='test -s conftest$ac_exeext'
59043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59044 (eval $ac_try) 2>&5
59045 ac_status=$?
59046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59047 (exit $ac_status); }; }; then
59048 eval "$as_ac_var=yes"
59049 else
59050 echo "$as_me: failed program was:" >&5
59051 sed 's/^/| /' conftest.$ac_ext >&5
59053 eval "$as_ac_var=no"
59055 rm -f conftest.err conftest.$ac_objext \
59056 conftest$ac_exeext conftest.$ac_ext
59058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59060 if test `eval echo '${'$as_ac_var'}'` = yes; then
59061 cat >>confdefs.h <<_ACEOF
59062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59063 _ACEOF
59066 done
59076 echo "$as_me:$LINENO: checking for powl declaration" >&5
59077 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
59078 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59079 if test "${glibcxx_cv_func_powl_use+set}" = set; then
59080 echo $ECHO_N "(cached) $ECHO_C" >&6
59081 else
59085 ac_ext=cc
59086 ac_cpp='$CXXCPP $CPPFLAGS'
59087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59091 cat >conftest.$ac_ext <<_ACEOF
59092 /* confdefs.h. */
59093 _ACEOF
59094 cat confdefs.h >>conftest.$ac_ext
59095 cat >>conftest.$ac_ext <<_ACEOF
59096 /* end confdefs.h. */
59097 #include <math.h>
59099 main ()
59101 powl(0, 0);
59103 return 0;
59105 _ACEOF
59106 rm -f conftest.$ac_objext
59107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59108 (eval $ac_compile) 2>conftest.er1
59109 ac_status=$?
59110 grep -v '^ *+' conftest.er1 >conftest.err
59111 rm -f conftest.er1
59112 cat conftest.err >&5
59113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59114 (exit $ac_status); } &&
59115 { ac_try='test -z "$ac_cxx_werror_flag"
59116 || test ! -s conftest.err'
59117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59118 (eval $ac_try) 2>&5
59119 ac_status=$?
59120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59121 (exit $ac_status); }; } &&
59122 { ac_try='test -s conftest.$ac_objext'
59123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59124 (eval $ac_try) 2>&5
59125 ac_status=$?
59126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59127 (exit $ac_status); }; }; then
59128 glibcxx_cv_func_powl_use=yes
59129 else
59130 echo "$as_me: failed program was:" >&5
59131 sed 's/^/| /' conftest.$ac_ext >&5
59133 glibcxx_cv_func_powl_use=no
59135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59136 ac_ext=c
59137 ac_cpp='$CPP $CPPFLAGS'
59138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59146 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59147 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59149 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59151 for ac_func in powl
59153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59154 echo "$as_me:$LINENO: checking for $ac_func" >&5
59155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59156 if eval "test \"\${$as_ac_var+set}\" = set"; then
59157 echo $ECHO_N "(cached) $ECHO_C" >&6
59158 else
59159 if test x$gcc_no_link = xyes; then
59160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59162 { (exit 1); exit 1; }; }
59164 cat >conftest.$ac_ext <<_ACEOF
59165 /* confdefs.h. */
59166 _ACEOF
59167 cat confdefs.h >>conftest.$ac_ext
59168 cat >>conftest.$ac_ext <<_ACEOF
59169 /* end confdefs.h. */
59170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59172 #define $ac_func innocuous_$ac_func
59174 /* System header to define __stub macros and hopefully few prototypes,
59175 which can conflict with char $ac_func (); below.
59176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59177 <limits.h> exists even on freestanding compilers. */
59179 #ifdef __STDC__
59180 # include <limits.h>
59181 #else
59182 # include <assert.h>
59183 #endif
59185 #undef $ac_func
59187 /* Override any gcc2 internal prototype to avoid an error. */
59188 #ifdef __cplusplus
59189 extern "C"
59191 #endif
59192 /* We use char because int might match the return type of a gcc2
59193 builtin and then its argument prototype would still apply. */
59194 char $ac_func ();
59195 /* The GNU C library defines this for functions which it implements
59196 to always fail with ENOSYS. Some functions are actually named
59197 something starting with __ and the normal name is an alias. */
59198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59199 choke me
59200 #else
59201 char (*f) () = $ac_func;
59202 #endif
59203 #ifdef __cplusplus
59205 #endif
59208 main ()
59210 return f != $ac_func;
59212 return 0;
59214 _ACEOF
59215 rm -f conftest.$ac_objext conftest$ac_exeext
59216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59217 (eval $ac_link) 2>conftest.er1
59218 ac_status=$?
59219 grep -v '^ *+' conftest.er1 >conftest.err
59220 rm -f conftest.er1
59221 cat conftest.err >&5
59222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59223 (exit $ac_status); } &&
59224 { ac_try='test -z "$ac_c_werror_flag"
59225 || test ! -s conftest.err'
59226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59227 (eval $ac_try) 2>&5
59228 ac_status=$?
59229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59230 (exit $ac_status); }; } &&
59231 { ac_try='test -s conftest$ac_exeext'
59232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59233 (eval $ac_try) 2>&5
59234 ac_status=$?
59235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59236 (exit $ac_status); }; }; then
59237 eval "$as_ac_var=yes"
59238 else
59239 echo "$as_me: failed program was:" >&5
59240 sed 's/^/| /' conftest.$ac_ext >&5
59242 eval "$as_ac_var=no"
59244 rm -f conftest.err conftest.$ac_objext \
59245 conftest$ac_exeext conftest.$ac_ext
59247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59249 if test `eval echo '${'$as_ac_var'}'` = yes; then
59250 cat >>confdefs.h <<_ACEOF
59251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59252 _ACEOF
59255 done
59257 else
59259 echo "$as_me:$LINENO: checking for _powl declaration" >&5
59260 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59261 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59262 if test "${glibcxx_cv_func__powl_use+set}" = set; then
59263 echo $ECHO_N "(cached) $ECHO_C" >&6
59264 else
59268 ac_ext=cc
59269 ac_cpp='$CXXCPP $CPPFLAGS'
59270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59274 cat >conftest.$ac_ext <<_ACEOF
59275 /* confdefs.h. */
59276 _ACEOF
59277 cat confdefs.h >>conftest.$ac_ext
59278 cat >>conftest.$ac_ext <<_ACEOF
59279 /* end confdefs.h. */
59280 #include <math.h>
59282 main ()
59284 _powl(0, 0);
59286 return 0;
59288 _ACEOF
59289 rm -f conftest.$ac_objext
59290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59291 (eval $ac_compile) 2>conftest.er1
59292 ac_status=$?
59293 grep -v '^ *+' conftest.er1 >conftest.err
59294 rm -f conftest.er1
59295 cat conftest.err >&5
59296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59297 (exit $ac_status); } &&
59298 { ac_try='test -z "$ac_cxx_werror_flag"
59299 || test ! -s conftest.err'
59300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59301 (eval $ac_try) 2>&5
59302 ac_status=$?
59303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59304 (exit $ac_status); }; } &&
59305 { ac_try='test -s conftest.$ac_objext'
59306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59307 (eval $ac_try) 2>&5
59308 ac_status=$?
59309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59310 (exit $ac_status); }; }; then
59311 glibcxx_cv_func__powl_use=yes
59312 else
59313 echo "$as_me: failed program was:" >&5
59314 sed 's/^/| /' conftest.$ac_ext >&5
59316 glibcxx_cv_func__powl_use=no
59318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59319 ac_ext=c
59320 ac_cpp='$CPP $CPPFLAGS'
59321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59329 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
59330 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
59332 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59334 for ac_func in _powl
59336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59337 echo "$as_me:$LINENO: checking for $ac_func" >&5
59338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59339 if eval "test \"\${$as_ac_var+set}\" = set"; then
59340 echo $ECHO_N "(cached) $ECHO_C" >&6
59341 else
59342 if test x$gcc_no_link = xyes; then
59343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59345 { (exit 1); exit 1; }; }
59347 cat >conftest.$ac_ext <<_ACEOF
59348 /* confdefs.h. */
59349 _ACEOF
59350 cat confdefs.h >>conftest.$ac_ext
59351 cat >>conftest.$ac_ext <<_ACEOF
59352 /* end confdefs.h. */
59353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59355 #define $ac_func innocuous_$ac_func
59357 /* System header to define __stub macros and hopefully few prototypes,
59358 which can conflict with char $ac_func (); below.
59359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59360 <limits.h> exists even on freestanding compilers. */
59362 #ifdef __STDC__
59363 # include <limits.h>
59364 #else
59365 # include <assert.h>
59366 #endif
59368 #undef $ac_func
59370 /* Override any gcc2 internal prototype to avoid an error. */
59371 #ifdef __cplusplus
59372 extern "C"
59374 #endif
59375 /* We use char because int might match the return type of a gcc2
59376 builtin and then its argument prototype would still apply. */
59377 char $ac_func ();
59378 /* The GNU C library defines this for functions which it implements
59379 to always fail with ENOSYS. Some functions are actually named
59380 something starting with __ and the normal name is an alias. */
59381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59382 choke me
59383 #else
59384 char (*f) () = $ac_func;
59385 #endif
59386 #ifdef __cplusplus
59388 #endif
59391 main ()
59393 return f != $ac_func;
59395 return 0;
59397 _ACEOF
59398 rm -f conftest.$ac_objext conftest$ac_exeext
59399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59400 (eval $ac_link) 2>conftest.er1
59401 ac_status=$?
59402 grep -v '^ *+' conftest.er1 >conftest.err
59403 rm -f conftest.er1
59404 cat conftest.err >&5
59405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59406 (exit $ac_status); } &&
59407 { ac_try='test -z "$ac_c_werror_flag"
59408 || test ! -s conftest.err'
59409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59410 (eval $ac_try) 2>&5
59411 ac_status=$?
59412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59413 (exit $ac_status); }; } &&
59414 { ac_try='test -s conftest$ac_exeext'
59415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59416 (eval $ac_try) 2>&5
59417 ac_status=$?
59418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59419 (exit $ac_status); }; }; then
59420 eval "$as_ac_var=yes"
59421 else
59422 echo "$as_me: failed program was:" >&5
59423 sed 's/^/| /' conftest.$ac_ext >&5
59425 eval "$as_ac_var=no"
59427 rm -f conftest.err conftest.$ac_objext \
59428 conftest$ac_exeext conftest.$ac_ext
59430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59432 if test `eval echo '${'$as_ac_var'}'` = yes; then
59433 cat >>confdefs.h <<_ACEOF
59434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59435 _ACEOF
59438 done
59448 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
59449 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
59450 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59451 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
59452 echo $ECHO_N "(cached) $ECHO_C" >&6
59453 else
59457 ac_ext=cc
59458 ac_cpp='$CXXCPP $CPPFLAGS'
59459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59463 cat >conftest.$ac_ext <<_ACEOF
59464 /* confdefs.h. */
59465 _ACEOF
59466 cat confdefs.h >>conftest.$ac_ext
59467 cat >>conftest.$ac_ext <<_ACEOF
59468 /* end confdefs.h. */
59469 #include <math.h>
59470 #ifdef HAVE_IEEEFP_H
59471 #include <ieeefp.h>
59472 #endif
59475 main ()
59477 sqrtl(0);
59479 return 0;
59481 _ACEOF
59482 rm -f conftest.$ac_objext
59483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59484 (eval $ac_compile) 2>conftest.er1
59485 ac_status=$?
59486 grep -v '^ *+' conftest.er1 >conftest.err
59487 rm -f conftest.er1
59488 cat conftest.err >&5
59489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59490 (exit $ac_status); } &&
59491 { ac_try='test -z "$ac_cxx_werror_flag"
59492 || test ! -s conftest.err'
59493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59494 (eval $ac_try) 2>&5
59495 ac_status=$?
59496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59497 (exit $ac_status); }; } &&
59498 { ac_try='test -s conftest.$ac_objext'
59499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59500 (eval $ac_try) 2>&5
59501 ac_status=$?
59502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59503 (exit $ac_status); }; }; then
59504 glibcxx_cv_func_sqrtl_use=yes
59505 else
59506 echo "$as_me: failed program was:" >&5
59507 sed 's/^/| /' conftest.$ac_ext >&5
59509 glibcxx_cv_func_sqrtl_use=no
59511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59512 ac_ext=c
59513 ac_cpp='$CPP $CPPFLAGS'
59514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59522 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
59523 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
59525 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59527 for ac_func in sqrtl
59529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59530 echo "$as_me:$LINENO: checking for $ac_func" >&5
59531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59532 if eval "test \"\${$as_ac_var+set}\" = set"; then
59533 echo $ECHO_N "(cached) $ECHO_C" >&6
59534 else
59535 if test x$gcc_no_link = xyes; then
59536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59538 { (exit 1); exit 1; }; }
59540 cat >conftest.$ac_ext <<_ACEOF
59541 /* confdefs.h. */
59542 _ACEOF
59543 cat confdefs.h >>conftest.$ac_ext
59544 cat >>conftest.$ac_ext <<_ACEOF
59545 /* end confdefs.h. */
59546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59548 #define $ac_func innocuous_$ac_func
59550 /* System header to define __stub macros and hopefully few prototypes,
59551 which can conflict with char $ac_func (); below.
59552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59553 <limits.h> exists even on freestanding compilers. */
59555 #ifdef __STDC__
59556 # include <limits.h>
59557 #else
59558 # include <assert.h>
59559 #endif
59561 #undef $ac_func
59563 /* Override any gcc2 internal prototype to avoid an error. */
59564 #ifdef __cplusplus
59565 extern "C"
59567 #endif
59568 /* We use char because int might match the return type of a gcc2
59569 builtin and then its argument prototype would still apply. */
59570 char $ac_func ();
59571 /* The GNU C library defines this for functions which it implements
59572 to always fail with ENOSYS. Some functions are actually named
59573 something starting with __ and the normal name is an alias. */
59574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59575 choke me
59576 #else
59577 char (*f) () = $ac_func;
59578 #endif
59579 #ifdef __cplusplus
59581 #endif
59584 main ()
59586 return f != $ac_func;
59588 return 0;
59590 _ACEOF
59591 rm -f conftest.$ac_objext conftest$ac_exeext
59592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59593 (eval $ac_link) 2>conftest.er1
59594 ac_status=$?
59595 grep -v '^ *+' conftest.er1 >conftest.err
59596 rm -f conftest.er1
59597 cat conftest.err >&5
59598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59599 (exit $ac_status); } &&
59600 { ac_try='test -z "$ac_c_werror_flag"
59601 || test ! -s conftest.err'
59602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59603 (eval $ac_try) 2>&5
59604 ac_status=$?
59605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59606 (exit $ac_status); }; } &&
59607 { ac_try='test -s conftest$ac_exeext'
59608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59609 (eval $ac_try) 2>&5
59610 ac_status=$?
59611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59612 (exit $ac_status); }; }; then
59613 eval "$as_ac_var=yes"
59614 else
59615 echo "$as_me: failed program was:" >&5
59616 sed 's/^/| /' conftest.$ac_ext >&5
59618 eval "$as_ac_var=no"
59620 rm -f conftest.err conftest.$ac_objext \
59621 conftest$ac_exeext conftest.$ac_ext
59623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59625 if test `eval echo '${'$as_ac_var'}'` = yes; then
59626 cat >>confdefs.h <<_ACEOF
59627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59628 _ACEOF
59631 done
59633 else
59635 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59636 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59637 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59638 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59639 echo $ECHO_N "(cached) $ECHO_C" >&6
59640 else
59644 ac_ext=cc
59645 ac_cpp='$CXXCPP $CPPFLAGS'
59646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59650 cat >conftest.$ac_ext <<_ACEOF
59651 /* confdefs.h. */
59652 _ACEOF
59653 cat confdefs.h >>conftest.$ac_ext
59654 cat >>conftest.$ac_ext <<_ACEOF
59655 /* end confdefs.h. */
59656 #include <math.h>
59657 #ifdef HAVE_IEEEFP_H
59658 #include <ieeefp.h>
59659 #endif
59662 main ()
59664 _sqrtl(0);
59666 return 0;
59668 _ACEOF
59669 rm -f conftest.$ac_objext
59670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59671 (eval $ac_compile) 2>conftest.er1
59672 ac_status=$?
59673 grep -v '^ *+' conftest.er1 >conftest.err
59674 rm -f conftest.er1
59675 cat conftest.err >&5
59676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59677 (exit $ac_status); } &&
59678 { ac_try='test -z "$ac_cxx_werror_flag"
59679 || test ! -s conftest.err'
59680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59681 (eval $ac_try) 2>&5
59682 ac_status=$?
59683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59684 (exit $ac_status); }; } &&
59685 { ac_try='test -s conftest.$ac_objext'
59686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59687 (eval $ac_try) 2>&5
59688 ac_status=$?
59689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59690 (exit $ac_status); }; }; then
59691 glibcxx_cv_func__sqrtl_use=yes
59692 else
59693 echo "$as_me: failed program was:" >&5
59694 sed 's/^/| /' conftest.$ac_ext >&5
59696 glibcxx_cv_func__sqrtl_use=no
59698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59699 ac_ext=c
59700 ac_cpp='$CPP $CPPFLAGS'
59701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59709 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
59710 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
59712 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59714 for ac_func in _sqrtl
59716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59717 echo "$as_me:$LINENO: checking for $ac_func" >&5
59718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59719 if eval "test \"\${$as_ac_var+set}\" = set"; then
59720 echo $ECHO_N "(cached) $ECHO_C" >&6
59721 else
59722 if test x$gcc_no_link = xyes; then
59723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59725 { (exit 1); exit 1; }; }
59727 cat >conftest.$ac_ext <<_ACEOF
59728 /* confdefs.h. */
59729 _ACEOF
59730 cat confdefs.h >>conftest.$ac_ext
59731 cat >>conftest.$ac_ext <<_ACEOF
59732 /* end confdefs.h. */
59733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59735 #define $ac_func innocuous_$ac_func
59737 /* System header to define __stub macros and hopefully few prototypes,
59738 which can conflict with char $ac_func (); below.
59739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59740 <limits.h> exists even on freestanding compilers. */
59742 #ifdef __STDC__
59743 # include <limits.h>
59744 #else
59745 # include <assert.h>
59746 #endif
59748 #undef $ac_func
59750 /* Override any gcc2 internal prototype to avoid an error. */
59751 #ifdef __cplusplus
59752 extern "C"
59754 #endif
59755 /* We use char because int might match the return type of a gcc2
59756 builtin and then its argument prototype would still apply. */
59757 char $ac_func ();
59758 /* The GNU C library defines this for functions which it implements
59759 to always fail with ENOSYS. Some functions are actually named
59760 something starting with __ and the normal name is an alias. */
59761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59762 choke me
59763 #else
59764 char (*f) () = $ac_func;
59765 #endif
59766 #ifdef __cplusplus
59768 #endif
59771 main ()
59773 return f != $ac_func;
59775 return 0;
59777 _ACEOF
59778 rm -f conftest.$ac_objext conftest$ac_exeext
59779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59780 (eval $ac_link) 2>conftest.er1
59781 ac_status=$?
59782 grep -v '^ *+' conftest.er1 >conftest.err
59783 rm -f conftest.er1
59784 cat conftest.err >&5
59785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59786 (exit $ac_status); } &&
59787 { ac_try='test -z "$ac_c_werror_flag"
59788 || test ! -s conftest.err'
59789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59790 (eval $ac_try) 2>&5
59791 ac_status=$?
59792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59793 (exit $ac_status); }; } &&
59794 { ac_try='test -s conftest$ac_exeext'
59795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59796 (eval $ac_try) 2>&5
59797 ac_status=$?
59798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59799 (exit $ac_status); }; }; then
59800 eval "$as_ac_var=yes"
59801 else
59802 echo "$as_me: failed program was:" >&5
59803 sed 's/^/| /' conftest.$ac_ext >&5
59805 eval "$as_ac_var=no"
59807 rm -f conftest.err conftest.$ac_objext \
59808 conftest$ac_exeext conftest.$ac_ext
59810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59812 if test `eval echo '${'$as_ac_var'}'` = yes; then
59813 cat >>confdefs.h <<_ACEOF
59814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59815 _ACEOF
59818 done
59828 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
59829 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
59830 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59831 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
59832 echo $ECHO_N "(cached) $ECHO_C" >&6
59833 else
59837 ac_ext=cc
59838 ac_cpp='$CXXCPP $CPPFLAGS'
59839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59843 cat >conftest.$ac_ext <<_ACEOF
59844 /* confdefs.h. */
59845 _ACEOF
59846 cat confdefs.h >>conftest.$ac_ext
59847 cat >>conftest.$ac_ext <<_ACEOF
59848 /* end confdefs.h. */
59849 #include <math.h>
59851 main ()
59853 sincosl(0, 0, 0);
59855 return 0;
59857 _ACEOF
59858 rm -f conftest.$ac_objext
59859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59860 (eval $ac_compile) 2>conftest.er1
59861 ac_status=$?
59862 grep -v '^ *+' conftest.er1 >conftest.err
59863 rm -f conftest.er1
59864 cat conftest.err >&5
59865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59866 (exit $ac_status); } &&
59867 { ac_try='test -z "$ac_cxx_werror_flag"
59868 || test ! -s conftest.err'
59869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59870 (eval $ac_try) 2>&5
59871 ac_status=$?
59872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59873 (exit $ac_status); }; } &&
59874 { ac_try='test -s conftest.$ac_objext'
59875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59876 (eval $ac_try) 2>&5
59877 ac_status=$?
59878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59879 (exit $ac_status); }; }; then
59880 glibcxx_cv_func_sincosl_use=yes
59881 else
59882 echo "$as_me: failed program was:" >&5
59883 sed 's/^/| /' conftest.$ac_ext >&5
59885 glibcxx_cv_func_sincosl_use=no
59887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59888 ac_ext=c
59889 ac_cpp='$CPP $CPPFLAGS'
59890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59898 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
59899 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
59901 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59903 for ac_func in sincosl
59905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59906 echo "$as_me:$LINENO: checking for $ac_func" >&5
59907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59908 if eval "test \"\${$as_ac_var+set}\" = set"; then
59909 echo $ECHO_N "(cached) $ECHO_C" >&6
59910 else
59911 if test x$gcc_no_link = xyes; then
59912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59914 { (exit 1); exit 1; }; }
59916 cat >conftest.$ac_ext <<_ACEOF
59917 /* confdefs.h. */
59918 _ACEOF
59919 cat confdefs.h >>conftest.$ac_ext
59920 cat >>conftest.$ac_ext <<_ACEOF
59921 /* end confdefs.h. */
59922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59924 #define $ac_func innocuous_$ac_func
59926 /* System header to define __stub macros and hopefully few prototypes,
59927 which can conflict with char $ac_func (); below.
59928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59929 <limits.h> exists even on freestanding compilers. */
59931 #ifdef __STDC__
59932 # include <limits.h>
59933 #else
59934 # include <assert.h>
59935 #endif
59937 #undef $ac_func
59939 /* Override any gcc2 internal prototype to avoid an error. */
59940 #ifdef __cplusplus
59941 extern "C"
59943 #endif
59944 /* We use char because int might match the return type of a gcc2
59945 builtin and then its argument prototype would still apply. */
59946 char $ac_func ();
59947 /* The GNU C library defines this for functions which it implements
59948 to always fail with ENOSYS. Some functions are actually named
59949 something starting with __ and the normal name is an alias. */
59950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59951 choke me
59952 #else
59953 char (*f) () = $ac_func;
59954 #endif
59955 #ifdef __cplusplus
59957 #endif
59960 main ()
59962 return f != $ac_func;
59964 return 0;
59966 _ACEOF
59967 rm -f conftest.$ac_objext conftest$ac_exeext
59968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59969 (eval $ac_link) 2>conftest.er1
59970 ac_status=$?
59971 grep -v '^ *+' conftest.er1 >conftest.err
59972 rm -f conftest.er1
59973 cat conftest.err >&5
59974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59975 (exit $ac_status); } &&
59976 { ac_try='test -z "$ac_c_werror_flag"
59977 || test ! -s conftest.err'
59978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59979 (eval $ac_try) 2>&5
59980 ac_status=$?
59981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59982 (exit $ac_status); }; } &&
59983 { ac_try='test -s conftest$ac_exeext'
59984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59985 (eval $ac_try) 2>&5
59986 ac_status=$?
59987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59988 (exit $ac_status); }; }; then
59989 eval "$as_ac_var=yes"
59990 else
59991 echo "$as_me: failed program was:" >&5
59992 sed 's/^/| /' conftest.$ac_ext >&5
59994 eval "$as_ac_var=no"
59996 rm -f conftest.err conftest.$ac_objext \
59997 conftest$ac_exeext conftest.$ac_ext
59999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60001 if test `eval echo '${'$as_ac_var'}'` = yes; then
60002 cat >>confdefs.h <<_ACEOF
60003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60004 _ACEOF
60007 done
60009 else
60011 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
60012 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
60013 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60014 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
60015 echo $ECHO_N "(cached) $ECHO_C" >&6
60016 else
60020 ac_ext=cc
60021 ac_cpp='$CXXCPP $CPPFLAGS'
60022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60026 cat >conftest.$ac_ext <<_ACEOF
60027 /* confdefs.h. */
60028 _ACEOF
60029 cat confdefs.h >>conftest.$ac_ext
60030 cat >>conftest.$ac_ext <<_ACEOF
60031 /* end confdefs.h. */
60032 #include <math.h>
60034 main ()
60036 _sincosl(0, 0, 0);
60038 return 0;
60040 _ACEOF
60041 rm -f conftest.$ac_objext
60042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60043 (eval $ac_compile) 2>conftest.er1
60044 ac_status=$?
60045 grep -v '^ *+' conftest.er1 >conftest.err
60046 rm -f conftest.er1
60047 cat conftest.err >&5
60048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60049 (exit $ac_status); } &&
60050 { ac_try='test -z "$ac_cxx_werror_flag"
60051 || test ! -s conftest.err'
60052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60053 (eval $ac_try) 2>&5
60054 ac_status=$?
60055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60056 (exit $ac_status); }; } &&
60057 { ac_try='test -s conftest.$ac_objext'
60058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60059 (eval $ac_try) 2>&5
60060 ac_status=$?
60061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60062 (exit $ac_status); }; }; then
60063 glibcxx_cv_func__sincosl_use=yes
60064 else
60065 echo "$as_me: failed program was:" >&5
60066 sed 's/^/| /' conftest.$ac_ext >&5
60068 glibcxx_cv_func__sincosl_use=no
60070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60071 ac_ext=c
60072 ac_cpp='$CPP $CPPFLAGS'
60073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60081 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
60082 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
60084 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60086 for ac_func in _sincosl
60088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60089 echo "$as_me:$LINENO: checking for $ac_func" >&5
60090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60091 if eval "test \"\${$as_ac_var+set}\" = set"; then
60092 echo $ECHO_N "(cached) $ECHO_C" >&6
60093 else
60094 if test x$gcc_no_link = xyes; then
60095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60097 { (exit 1); exit 1; }; }
60099 cat >conftest.$ac_ext <<_ACEOF
60100 /* confdefs.h. */
60101 _ACEOF
60102 cat confdefs.h >>conftest.$ac_ext
60103 cat >>conftest.$ac_ext <<_ACEOF
60104 /* end confdefs.h. */
60105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60107 #define $ac_func innocuous_$ac_func
60109 /* System header to define __stub macros and hopefully few prototypes,
60110 which can conflict with char $ac_func (); below.
60111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60112 <limits.h> exists even on freestanding compilers. */
60114 #ifdef __STDC__
60115 # include <limits.h>
60116 #else
60117 # include <assert.h>
60118 #endif
60120 #undef $ac_func
60122 /* Override any gcc2 internal prototype to avoid an error. */
60123 #ifdef __cplusplus
60124 extern "C"
60126 #endif
60127 /* We use char because int might match the return type of a gcc2
60128 builtin and then its argument prototype would still apply. */
60129 char $ac_func ();
60130 /* The GNU C library defines this for functions which it implements
60131 to always fail with ENOSYS. Some functions are actually named
60132 something starting with __ and the normal name is an alias. */
60133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60134 choke me
60135 #else
60136 char (*f) () = $ac_func;
60137 #endif
60138 #ifdef __cplusplus
60140 #endif
60143 main ()
60145 return f != $ac_func;
60147 return 0;
60149 _ACEOF
60150 rm -f conftest.$ac_objext conftest$ac_exeext
60151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60152 (eval $ac_link) 2>conftest.er1
60153 ac_status=$?
60154 grep -v '^ *+' conftest.er1 >conftest.err
60155 rm -f conftest.er1
60156 cat conftest.err >&5
60157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60158 (exit $ac_status); } &&
60159 { ac_try='test -z "$ac_c_werror_flag"
60160 || test ! -s conftest.err'
60161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60162 (eval $ac_try) 2>&5
60163 ac_status=$?
60164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60165 (exit $ac_status); }; } &&
60166 { ac_try='test -s conftest$ac_exeext'
60167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60168 (eval $ac_try) 2>&5
60169 ac_status=$?
60170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60171 (exit $ac_status); }; }; then
60172 eval "$as_ac_var=yes"
60173 else
60174 echo "$as_me: failed program was:" >&5
60175 sed 's/^/| /' conftest.$ac_ext >&5
60177 eval "$as_ac_var=no"
60179 rm -f conftest.err conftest.$ac_objext \
60180 conftest$ac_exeext conftest.$ac_ext
60182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60184 if test `eval echo '${'$as_ac_var'}'` = yes; then
60185 cat >>confdefs.h <<_ACEOF
60186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60187 _ACEOF
60190 done
60200 echo "$as_me:$LINENO: checking for finitel declaration" >&5
60201 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60202 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60203 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
60204 echo $ECHO_N "(cached) $ECHO_C" >&6
60205 else
60209 ac_ext=cc
60210 ac_cpp='$CXXCPP $CPPFLAGS'
60211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60215 cat >conftest.$ac_ext <<_ACEOF
60216 /* confdefs.h. */
60217 _ACEOF
60218 cat confdefs.h >>conftest.$ac_ext
60219 cat >>conftest.$ac_ext <<_ACEOF
60220 /* end confdefs.h. */
60221 #include <math.h>
60222 #ifdef HAVE_IEEEFP_H
60223 #include <ieeefp.h>
60224 #endif
60227 main ()
60229 finitel(0);
60231 return 0;
60233 _ACEOF
60234 rm -f conftest.$ac_objext
60235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60236 (eval $ac_compile) 2>conftest.er1
60237 ac_status=$?
60238 grep -v '^ *+' conftest.er1 >conftest.err
60239 rm -f conftest.er1
60240 cat conftest.err >&5
60241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60242 (exit $ac_status); } &&
60243 { ac_try='test -z "$ac_cxx_werror_flag"
60244 || test ! -s conftest.err'
60245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60246 (eval $ac_try) 2>&5
60247 ac_status=$?
60248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60249 (exit $ac_status); }; } &&
60250 { ac_try='test -s conftest.$ac_objext'
60251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60252 (eval $ac_try) 2>&5
60253 ac_status=$?
60254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60255 (exit $ac_status); }; }; then
60256 glibcxx_cv_func_finitel_use=yes
60257 else
60258 echo "$as_me: failed program was:" >&5
60259 sed 's/^/| /' conftest.$ac_ext >&5
60261 glibcxx_cv_func_finitel_use=no
60263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60264 ac_ext=c
60265 ac_cpp='$CPP $CPPFLAGS'
60266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60274 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
60275 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60277 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60279 for ac_func in finitel
60281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60282 echo "$as_me:$LINENO: checking for $ac_func" >&5
60283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60284 if eval "test \"\${$as_ac_var+set}\" = set"; then
60285 echo $ECHO_N "(cached) $ECHO_C" >&6
60286 else
60287 if test x$gcc_no_link = xyes; then
60288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60290 { (exit 1); exit 1; }; }
60292 cat >conftest.$ac_ext <<_ACEOF
60293 /* confdefs.h. */
60294 _ACEOF
60295 cat confdefs.h >>conftest.$ac_ext
60296 cat >>conftest.$ac_ext <<_ACEOF
60297 /* end confdefs.h. */
60298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60300 #define $ac_func innocuous_$ac_func
60302 /* System header to define __stub macros and hopefully few prototypes,
60303 which can conflict with char $ac_func (); below.
60304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60305 <limits.h> exists even on freestanding compilers. */
60307 #ifdef __STDC__
60308 # include <limits.h>
60309 #else
60310 # include <assert.h>
60311 #endif
60313 #undef $ac_func
60315 /* Override any gcc2 internal prototype to avoid an error. */
60316 #ifdef __cplusplus
60317 extern "C"
60319 #endif
60320 /* We use char because int might match the return type of a gcc2
60321 builtin and then its argument prototype would still apply. */
60322 char $ac_func ();
60323 /* The GNU C library defines this for functions which it implements
60324 to always fail with ENOSYS. Some functions are actually named
60325 something starting with __ and the normal name is an alias. */
60326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60327 choke me
60328 #else
60329 char (*f) () = $ac_func;
60330 #endif
60331 #ifdef __cplusplus
60333 #endif
60336 main ()
60338 return f != $ac_func;
60340 return 0;
60342 _ACEOF
60343 rm -f conftest.$ac_objext conftest$ac_exeext
60344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60345 (eval $ac_link) 2>conftest.er1
60346 ac_status=$?
60347 grep -v '^ *+' conftest.er1 >conftest.err
60348 rm -f conftest.er1
60349 cat conftest.err >&5
60350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60351 (exit $ac_status); } &&
60352 { ac_try='test -z "$ac_c_werror_flag"
60353 || test ! -s conftest.err'
60354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60355 (eval $ac_try) 2>&5
60356 ac_status=$?
60357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60358 (exit $ac_status); }; } &&
60359 { ac_try='test -s conftest$ac_exeext'
60360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60361 (eval $ac_try) 2>&5
60362 ac_status=$?
60363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60364 (exit $ac_status); }; }; then
60365 eval "$as_ac_var=yes"
60366 else
60367 echo "$as_me: failed program was:" >&5
60368 sed 's/^/| /' conftest.$ac_ext >&5
60370 eval "$as_ac_var=no"
60372 rm -f conftest.err conftest.$ac_objext \
60373 conftest$ac_exeext conftest.$ac_ext
60375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60377 if test `eval echo '${'$as_ac_var'}'` = yes; then
60378 cat >>confdefs.h <<_ACEOF
60379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60380 _ACEOF
60383 done
60385 else
60387 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
60388 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
60389 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60390 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
60391 echo $ECHO_N "(cached) $ECHO_C" >&6
60392 else
60396 ac_ext=cc
60397 ac_cpp='$CXXCPP $CPPFLAGS'
60398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60402 cat >conftest.$ac_ext <<_ACEOF
60403 /* confdefs.h. */
60404 _ACEOF
60405 cat confdefs.h >>conftest.$ac_ext
60406 cat >>conftest.$ac_ext <<_ACEOF
60407 /* end confdefs.h. */
60408 #include <math.h>
60409 #ifdef HAVE_IEEEFP_H
60410 #include <ieeefp.h>
60411 #endif
60414 main ()
60416 _finitel(0);
60418 return 0;
60420 _ACEOF
60421 rm -f conftest.$ac_objext
60422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60423 (eval $ac_compile) 2>conftest.er1
60424 ac_status=$?
60425 grep -v '^ *+' conftest.er1 >conftest.err
60426 rm -f conftest.er1
60427 cat conftest.err >&5
60428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60429 (exit $ac_status); } &&
60430 { ac_try='test -z "$ac_cxx_werror_flag"
60431 || test ! -s conftest.err'
60432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60433 (eval $ac_try) 2>&5
60434 ac_status=$?
60435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60436 (exit $ac_status); }; } &&
60437 { ac_try='test -s conftest.$ac_objext'
60438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60439 (eval $ac_try) 2>&5
60440 ac_status=$?
60441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60442 (exit $ac_status); }; }; then
60443 glibcxx_cv_func__finitel_use=yes
60444 else
60445 echo "$as_me: failed program was:" >&5
60446 sed 's/^/| /' conftest.$ac_ext >&5
60448 glibcxx_cv_func__finitel_use=no
60450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60451 ac_ext=c
60452 ac_cpp='$CPP $CPPFLAGS'
60453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60461 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
60462 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
60464 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60466 for ac_func in _finitel
60468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60469 echo "$as_me:$LINENO: checking for $ac_func" >&5
60470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60471 if eval "test \"\${$as_ac_var+set}\" = set"; then
60472 echo $ECHO_N "(cached) $ECHO_C" >&6
60473 else
60474 if test x$gcc_no_link = xyes; then
60475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60477 { (exit 1); exit 1; }; }
60479 cat >conftest.$ac_ext <<_ACEOF
60480 /* confdefs.h. */
60481 _ACEOF
60482 cat confdefs.h >>conftest.$ac_ext
60483 cat >>conftest.$ac_ext <<_ACEOF
60484 /* end confdefs.h. */
60485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60487 #define $ac_func innocuous_$ac_func
60489 /* System header to define __stub macros and hopefully few prototypes,
60490 which can conflict with char $ac_func (); below.
60491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60492 <limits.h> exists even on freestanding compilers. */
60494 #ifdef __STDC__
60495 # include <limits.h>
60496 #else
60497 # include <assert.h>
60498 #endif
60500 #undef $ac_func
60502 /* Override any gcc2 internal prototype to avoid an error. */
60503 #ifdef __cplusplus
60504 extern "C"
60506 #endif
60507 /* We use char because int might match the return type of a gcc2
60508 builtin and then its argument prototype would still apply. */
60509 char $ac_func ();
60510 /* The GNU C library defines this for functions which it implements
60511 to always fail with ENOSYS. Some functions are actually named
60512 something starting with __ and the normal name is an alias. */
60513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60514 choke me
60515 #else
60516 char (*f) () = $ac_func;
60517 #endif
60518 #ifdef __cplusplus
60520 #endif
60523 main ()
60525 return f != $ac_func;
60527 return 0;
60529 _ACEOF
60530 rm -f conftest.$ac_objext conftest$ac_exeext
60531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60532 (eval $ac_link) 2>conftest.er1
60533 ac_status=$?
60534 grep -v '^ *+' conftest.er1 >conftest.err
60535 rm -f conftest.er1
60536 cat conftest.err >&5
60537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60538 (exit $ac_status); } &&
60539 { ac_try='test -z "$ac_c_werror_flag"
60540 || test ! -s conftest.err'
60541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60542 (eval $ac_try) 2>&5
60543 ac_status=$?
60544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60545 (exit $ac_status); }; } &&
60546 { ac_try='test -s conftest$ac_exeext'
60547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60548 (eval $ac_try) 2>&5
60549 ac_status=$?
60550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60551 (exit $ac_status); }; }; then
60552 eval "$as_ac_var=yes"
60553 else
60554 echo "$as_me: failed program was:" >&5
60555 sed 's/^/| /' conftest.$ac_ext >&5
60557 eval "$as_ac_var=no"
60559 rm -f conftest.err conftest.$ac_objext \
60560 conftest$ac_exeext conftest.$ac_ext
60562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60564 if test `eval echo '${'$as_ac_var'}'` = yes; then
60565 cat >>confdefs.h <<_ACEOF
60566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60567 _ACEOF
60570 done
60579 LIBS="$ac_save_LIBS"
60580 CXXFLAGS="$ac_save_CXXFLAGS"
60584 echo "$as_me:$LINENO: checking for main in -lm" >&5
60585 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
60586 if test "${ac_cv_lib_m_main+set}" = set; then
60587 echo $ECHO_N "(cached) $ECHO_C" >&6
60588 else
60589 ac_check_lib_save_LIBS=$LIBS
60590 LIBS="-lm $LIBS"
60591 if test x$gcc_no_link = xyes; then
60592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60594 { (exit 1); exit 1; }; }
60596 cat >conftest.$ac_ext <<_ACEOF
60597 /* confdefs.h. */
60598 _ACEOF
60599 cat confdefs.h >>conftest.$ac_ext
60600 cat >>conftest.$ac_ext <<_ACEOF
60601 /* end confdefs.h. */
60605 main ()
60607 main ();
60609 return 0;
60611 _ACEOF
60612 rm -f conftest.$ac_objext conftest$ac_exeext
60613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60614 (eval $ac_link) 2>conftest.er1
60615 ac_status=$?
60616 grep -v '^ *+' conftest.er1 >conftest.err
60617 rm -f conftest.er1
60618 cat conftest.err >&5
60619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60620 (exit $ac_status); } &&
60621 { ac_try='test -z "$ac_c_werror_flag"
60622 || test ! -s conftest.err'
60623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60624 (eval $ac_try) 2>&5
60625 ac_status=$?
60626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60627 (exit $ac_status); }; } &&
60628 { ac_try='test -s conftest$ac_exeext'
60629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60630 (eval $ac_try) 2>&5
60631 ac_status=$?
60632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60633 (exit $ac_status); }; }; then
60634 ac_cv_lib_m_main=yes
60635 else
60636 echo "$as_me: failed program was:" >&5
60637 sed 's/^/| /' conftest.$ac_ext >&5
60639 ac_cv_lib_m_main=no
60641 rm -f conftest.err conftest.$ac_objext \
60642 conftest$ac_exeext conftest.$ac_ext
60643 LIBS=$ac_check_lib_save_LIBS
60645 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
60646 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
60647 if test $ac_cv_lib_m_main = yes; then
60648 cat >>confdefs.h <<_ACEOF
60649 #define HAVE_LIBM 1
60650 _ACEOF
60652 LIBS="-lm $LIBS"
60657 for ac_func in copysignf
60659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60660 echo "$as_me:$LINENO: checking for $ac_func" >&5
60661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60662 if eval "test \"\${$as_ac_var+set}\" = set"; then
60663 echo $ECHO_N "(cached) $ECHO_C" >&6
60664 else
60665 if test x$gcc_no_link = xyes; then
60666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60668 { (exit 1); exit 1; }; }
60670 cat >conftest.$ac_ext <<_ACEOF
60671 /* confdefs.h. */
60672 _ACEOF
60673 cat confdefs.h >>conftest.$ac_ext
60674 cat >>conftest.$ac_ext <<_ACEOF
60675 /* end confdefs.h. */
60676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60678 #define $ac_func innocuous_$ac_func
60680 /* System header to define __stub macros and hopefully few prototypes,
60681 which can conflict with char $ac_func (); below.
60682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60683 <limits.h> exists even on freestanding compilers. */
60685 #ifdef __STDC__
60686 # include <limits.h>
60687 #else
60688 # include <assert.h>
60689 #endif
60691 #undef $ac_func
60693 /* Override any gcc2 internal prototype to avoid an error. */
60694 #ifdef __cplusplus
60695 extern "C"
60697 #endif
60698 /* We use char because int might match the return type of a gcc2
60699 builtin and then its argument prototype would still apply. */
60700 char $ac_func ();
60701 /* The GNU C library defines this for functions which it implements
60702 to always fail with ENOSYS. Some functions are actually named
60703 something starting with __ and the normal name is an alias. */
60704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60705 choke me
60706 #else
60707 char (*f) () = $ac_func;
60708 #endif
60709 #ifdef __cplusplus
60711 #endif
60714 main ()
60716 return f != $ac_func;
60718 return 0;
60720 _ACEOF
60721 rm -f conftest.$ac_objext conftest$ac_exeext
60722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60723 (eval $ac_link) 2>conftest.er1
60724 ac_status=$?
60725 grep -v '^ *+' conftest.er1 >conftest.err
60726 rm -f conftest.er1
60727 cat conftest.err >&5
60728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60729 (exit $ac_status); } &&
60730 { ac_try='test -z "$ac_c_werror_flag"
60731 || test ! -s conftest.err'
60732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60733 (eval $ac_try) 2>&5
60734 ac_status=$?
60735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60736 (exit $ac_status); }; } &&
60737 { ac_try='test -s conftest$ac_exeext'
60738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60739 (eval $ac_try) 2>&5
60740 ac_status=$?
60741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60742 (exit $ac_status); }; }; then
60743 eval "$as_ac_var=yes"
60744 else
60745 echo "$as_me: failed program was:" >&5
60746 sed 's/^/| /' conftest.$ac_ext >&5
60748 eval "$as_ac_var=no"
60750 rm -f conftest.err conftest.$ac_objext \
60751 conftest$ac_exeext conftest.$ac_ext
60753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60755 if test `eval echo '${'$as_ac_var'}'` = yes; then
60756 cat >>confdefs.h <<_ACEOF
60757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60758 _ACEOF
60760 else
60761 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
60763 done
60767 for ac_func in __signbit
60769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60770 echo "$as_me:$LINENO: checking for $ac_func" >&5
60771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60772 if eval "test \"\${$as_ac_var+set}\" = set"; then
60773 echo $ECHO_N "(cached) $ECHO_C" >&6
60774 else
60775 if test x$gcc_no_link = xyes; then
60776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60778 { (exit 1); exit 1; }; }
60780 cat >conftest.$ac_ext <<_ACEOF
60781 /* confdefs.h. */
60782 _ACEOF
60783 cat confdefs.h >>conftest.$ac_ext
60784 cat >>conftest.$ac_ext <<_ACEOF
60785 /* end confdefs.h. */
60786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60788 #define $ac_func innocuous_$ac_func
60790 /* System header to define __stub macros and hopefully few prototypes,
60791 which can conflict with char $ac_func (); below.
60792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60793 <limits.h> exists even on freestanding compilers. */
60795 #ifdef __STDC__
60796 # include <limits.h>
60797 #else
60798 # include <assert.h>
60799 #endif
60801 #undef $ac_func
60803 /* Override any gcc2 internal prototype to avoid an error. */
60804 #ifdef __cplusplus
60805 extern "C"
60807 #endif
60808 /* We use char because int might match the return type of a gcc2
60809 builtin and then its argument prototype would still apply. */
60810 char $ac_func ();
60811 /* The GNU C library defines this for functions which it implements
60812 to always fail with ENOSYS. Some functions are actually named
60813 something starting with __ and the normal name is an alias. */
60814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60815 choke me
60816 #else
60817 char (*f) () = $ac_func;
60818 #endif
60819 #ifdef __cplusplus
60821 #endif
60824 main ()
60826 return f != $ac_func;
60828 return 0;
60830 _ACEOF
60831 rm -f conftest.$ac_objext conftest$ac_exeext
60832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60833 (eval $ac_link) 2>conftest.er1
60834 ac_status=$?
60835 grep -v '^ *+' conftest.er1 >conftest.err
60836 rm -f conftest.er1
60837 cat conftest.err >&5
60838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60839 (exit $ac_status); } &&
60840 { ac_try='test -z "$ac_c_werror_flag"
60841 || test ! -s conftest.err'
60842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60843 (eval $ac_try) 2>&5
60844 ac_status=$?
60845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60846 (exit $ac_status); }; } &&
60847 { ac_try='test -s conftest$ac_exeext'
60848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60849 (eval $ac_try) 2>&5
60850 ac_status=$?
60851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60852 (exit $ac_status); }; }; then
60853 eval "$as_ac_var=yes"
60854 else
60855 echo "$as_me: failed program was:" >&5
60856 sed 's/^/| /' conftest.$ac_ext >&5
60858 eval "$as_ac_var=no"
60860 rm -f conftest.err conftest.$ac_objext \
60861 conftest$ac_exeext conftest.$ac_ext
60863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60865 if test `eval echo '${'$as_ac_var'}'` = yes; then
60866 cat >>confdefs.h <<_ACEOF
60867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60868 _ACEOF
60870 else
60871 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
60873 done
60877 for ac_func in __signbitf
60879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60880 echo "$as_me:$LINENO: checking for $ac_func" >&5
60881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60882 if eval "test \"\${$as_ac_var+set}\" = set"; then
60883 echo $ECHO_N "(cached) $ECHO_C" >&6
60884 else
60885 if test x$gcc_no_link = xyes; then
60886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60888 { (exit 1); exit 1; }; }
60890 cat >conftest.$ac_ext <<_ACEOF
60891 /* confdefs.h. */
60892 _ACEOF
60893 cat confdefs.h >>conftest.$ac_ext
60894 cat >>conftest.$ac_ext <<_ACEOF
60895 /* end confdefs.h. */
60896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60898 #define $ac_func innocuous_$ac_func
60900 /* System header to define __stub macros and hopefully few prototypes,
60901 which can conflict with char $ac_func (); below.
60902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60903 <limits.h> exists even on freestanding compilers. */
60905 #ifdef __STDC__
60906 # include <limits.h>
60907 #else
60908 # include <assert.h>
60909 #endif
60911 #undef $ac_func
60913 /* Override any gcc2 internal prototype to avoid an error. */
60914 #ifdef __cplusplus
60915 extern "C"
60917 #endif
60918 /* We use char because int might match the return type of a gcc2
60919 builtin and then its argument prototype would still apply. */
60920 char $ac_func ();
60921 /* The GNU C library defines this for functions which it implements
60922 to always fail with ENOSYS. Some functions are actually named
60923 something starting with __ and the normal name is an alias. */
60924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60925 choke me
60926 #else
60927 char (*f) () = $ac_func;
60928 #endif
60929 #ifdef __cplusplus
60931 #endif
60934 main ()
60936 return f != $ac_func;
60938 return 0;
60940 _ACEOF
60941 rm -f conftest.$ac_objext conftest$ac_exeext
60942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60943 (eval $ac_link) 2>conftest.er1
60944 ac_status=$?
60945 grep -v '^ *+' conftest.er1 >conftest.err
60946 rm -f conftest.er1
60947 cat conftest.err >&5
60948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60949 (exit $ac_status); } &&
60950 { ac_try='test -z "$ac_c_werror_flag"
60951 || test ! -s conftest.err'
60952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60953 (eval $ac_try) 2>&5
60954 ac_status=$?
60955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60956 (exit $ac_status); }; } &&
60957 { ac_try='test -s conftest$ac_exeext'
60958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60959 (eval $ac_try) 2>&5
60960 ac_status=$?
60961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60962 (exit $ac_status); }; }; then
60963 eval "$as_ac_var=yes"
60964 else
60965 echo "$as_me: failed program was:" >&5
60966 sed 's/^/| /' conftest.$ac_ext >&5
60968 eval "$as_ac_var=no"
60970 rm -f conftest.err conftest.$ac_objext \
60971 conftest$ac_exeext conftest.$ac_ext
60973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60975 if test `eval echo '${'$as_ac_var'}'` = yes; then
60976 cat >>confdefs.h <<_ACEOF
60977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60978 _ACEOF
60980 else
60981 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
60983 done
60986 if test x$ac_cv_func_copysignl = x"yes"; then
60988 for ac_func in __signbitl
60990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60991 echo "$as_me:$LINENO: checking for $ac_func" >&5
60992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60993 if eval "test \"\${$as_ac_var+set}\" = set"; then
60994 echo $ECHO_N "(cached) $ECHO_C" >&6
60995 else
60996 if test x$gcc_no_link = xyes; then
60997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60999 { (exit 1); exit 1; }; }
61001 cat >conftest.$ac_ext <<_ACEOF
61002 /* confdefs.h. */
61003 _ACEOF
61004 cat confdefs.h >>conftest.$ac_ext
61005 cat >>conftest.$ac_ext <<_ACEOF
61006 /* end confdefs.h. */
61007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61009 #define $ac_func innocuous_$ac_func
61011 /* System header to define __stub macros and hopefully few prototypes,
61012 which can conflict with char $ac_func (); below.
61013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61014 <limits.h> exists even on freestanding compilers. */
61016 #ifdef __STDC__
61017 # include <limits.h>
61018 #else
61019 # include <assert.h>
61020 #endif
61022 #undef $ac_func
61024 /* Override any gcc2 internal prototype to avoid an error. */
61025 #ifdef __cplusplus
61026 extern "C"
61028 #endif
61029 /* We use char because int might match the return type of a gcc2
61030 builtin and then its argument prototype would still apply. */
61031 char $ac_func ();
61032 /* The GNU C library defines this for functions which it implements
61033 to always fail with ENOSYS. Some functions are actually named
61034 something starting with __ and the normal name is an alias. */
61035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61036 choke me
61037 #else
61038 char (*f) () = $ac_func;
61039 #endif
61040 #ifdef __cplusplus
61042 #endif
61045 main ()
61047 return f != $ac_func;
61049 return 0;
61051 _ACEOF
61052 rm -f conftest.$ac_objext conftest$ac_exeext
61053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61054 (eval $ac_link) 2>conftest.er1
61055 ac_status=$?
61056 grep -v '^ *+' conftest.er1 >conftest.err
61057 rm -f conftest.er1
61058 cat conftest.err >&5
61059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61060 (exit $ac_status); } &&
61061 { ac_try='test -z "$ac_c_werror_flag"
61062 || test ! -s conftest.err'
61063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61064 (eval $ac_try) 2>&5
61065 ac_status=$?
61066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61067 (exit $ac_status); }; } &&
61068 { ac_try='test -s conftest$ac_exeext'
61069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61070 (eval $ac_try) 2>&5
61071 ac_status=$?
61072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61073 (exit $ac_status); }; }; then
61074 eval "$as_ac_var=yes"
61075 else
61076 echo "$as_me: failed program was:" >&5
61077 sed 's/^/| /' conftest.$ac_ext >&5
61079 eval "$as_ac_var=no"
61081 rm -f conftest.err conftest.$ac_objext \
61082 conftest$ac_exeext conftest.$ac_ext
61084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61086 if test `eval echo '${'$as_ac_var'}'` = yes; then
61087 cat >>confdefs.h <<_ACEOF
61088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61089 _ACEOF
61091 else
61092 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
61094 done
61098 # Used in libmath/Makefile.am.
61099 if test -n "$LIBMATHOBJS"; then
61100 need_libmath=yes
61105 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61106 ac_save_CXXFLAGS="$CXXFLAGS"
61107 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61110 echo "$as_me:$LINENO: checking for strtold declaration" >&5
61111 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
61112 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
61113 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
61114 echo $ECHO_N "(cached) $ECHO_C" >&6
61115 else
61119 ac_ext=cc
61120 ac_cpp='$CXXCPP $CPPFLAGS'
61121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61125 cat >conftest.$ac_ext <<_ACEOF
61126 /* confdefs.h. */
61127 _ACEOF
61128 cat confdefs.h >>conftest.$ac_ext
61129 cat >>conftest.$ac_ext <<_ACEOF
61130 /* end confdefs.h. */
61131 #include <stdlib.h>
61133 main ()
61135 strtold(0, 0);
61137 return 0;
61139 _ACEOF
61140 rm -f conftest.$ac_objext
61141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61142 (eval $ac_compile) 2>conftest.er1
61143 ac_status=$?
61144 grep -v '^ *+' conftest.er1 >conftest.err
61145 rm -f conftest.er1
61146 cat conftest.err >&5
61147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61148 (exit $ac_status); } &&
61149 { ac_try='test -z "$ac_cxx_werror_flag"
61150 || test ! -s conftest.err'
61151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61152 (eval $ac_try) 2>&5
61153 ac_status=$?
61154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61155 (exit $ac_status); }; } &&
61156 { ac_try='test -s conftest.$ac_objext'
61157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61158 (eval $ac_try) 2>&5
61159 ac_status=$?
61160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61161 (exit $ac_status); }; }; then
61162 glibcxx_cv_func_strtold_use=yes
61163 else
61164 echo "$as_me: failed program was:" >&5
61165 sed 's/^/| /' conftest.$ac_ext >&5
61167 glibcxx_cv_func_strtold_use=no
61169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61170 ac_ext=c
61171 ac_cpp='$CPP $CPPFLAGS'
61172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61180 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
61181 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
61182 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
61184 for ac_func in strtold
61186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61187 echo "$as_me:$LINENO: checking for $ac_func" >&5
61188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61189 if eval "test \"\${$as_ac_var+set}\" = set"; then
61190 echo $ECHO_N "(cached) $ECHO_C" >&6
61191 else
61192 if test x$gcc_no_link = xyes; then
61193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61195 { (exit 1); exit 1; }; }
61197 cat >conftest.$ac_ext <<_ACEOF
61198 /* confdefs.h. */
61199 _ACEOF
61200 cat confdefs.h >>conftest.$ac_ext
61201 cat >>conftest.$ac_ext <<_ACEOF
61202 /* end confdefs.h. */
61203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61205 #define $ac_func innocuous_$ac_func
61207 /* System header to define __stub macros and hopefully few prototypes,
61208 which can conflict with char $ac_func (); below.
61209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61210 <limits.h> exists even on freestanding compilers. */
61212 #ifdef __STDC__
61213 # include <limits.h>
61214 #else
61215 # include <assert.h>
61216 #endif
61218 #undef $ac_func
61220 /* Override any gcc2 internal prototype to avoid an error. */
61221 #ifdef __cplusplus
61222 extern "C"
61224 #endif
61225 /* We use char because int might match the return type of a gcc2
61226 builtin and then its argument prototype would still apply. */
61227 char $ac_func ();
61228 /* The GNU C library defines this for functions which it implements
61229 to always fail with ENOSYS. Some functions are actually named
61230 something starting with __ and the normal name is an alias. */
61231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61232 choke me
61233 #else
61234 char (*f) () = $ac_func;
61235 #endif
61236 #ifdef __cplusplus
61238 #endif
61241 main ()
61243 return f != $ac_func;
61245 return 0;
61247 _ACEOF
61248 rm -f conftest.$ac_objext conftest$ac_exeext
61249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61250 (eval $ac_link) 2>conftest.er1
61251 ac_status=$?
61252 grep -v '^ *+' conftest.er1 >conftest.err
61253 rm -f conftest.er1
61254 cat conftest.err >&5
61255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61256 (exit $ac_status); } &&
61257 { ac_try='test -z "$ac_c_werror_flag"
61258 || test ! -s conftest.err'
61259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61260 (eval $ac_try) 2>&5
61261 ac_status=$?
61262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61263 (exit $ac_status); }; } &&
61264 { ac_try='test -s conftest$ac_exeext'
61265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61266 (eval $ac_try) 2>&5
61267 ac_status=$?
61268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61269 (exit $ac_status); }; }; then
61270 eval "$as_ac_var=yes"
61271 else
61272 echo "$as_me: failed program was:" >&5
61273 sed 's/^/| /' conftest.$ac_ext >&5
61275 eval "$as_ac_var=no"
61277 rm -f conftest.err conftest.$ac_objext \
61278 conftest$ac_exeext conftest.$ac_ext
61280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61282 if test `eval echo '${'$as_ac_var'}'` = yes; then
61283 cat >>confdefs.h <<_ACEOF
61284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61285 _ACEOF
61288 done
61296 echo "$as_me:$LINENO: checking for strtof declaration" >&5
61297 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
61298 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
61299 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
61300 echo $ECHO_N "(cached) $ECHO_C" >&6
61301 else
61305 ac_ext=cc
61306 ac_cpp='$CXXCPP $CPPFLAGS'
61307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61311 cat >conftest.$ac_ext <<_ACEOF
61312 /* confdefs.h. */
61313 _ACEOF
61314 cat confdefs.h >>conftest.$ac_ext
61315 cat >>conftest.$ac_ext <<_ACEOF
61316 /* end confdefs.h. */
61317 #include <stdlib.h>
61319 main ()
61321 strtof(0, 0);
61323 return 0;
61325 _ACEOF
61326 rm -f conftest.$ac_objext
61327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61328 (eval $ac_compile) 2>conftest.er1
61329 ac_status=$?
61330 grep -v '^ *+' conftest.er1 >conftest.err
61331 rm -f conftest.er1
61332 cat conftest.err >&5
61333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61334 (exit $ac_status); } &&
61335 { ac_try='test -z "$ac_cxx_werror_flag"
61336 || test ! -s conftest.err'
61337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61338 (eval $ac_try) 2>&5
61339 ac_status=$?
61340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61341 (exit $ac_status); }; } &&
61342 { ac_try='test -s conftest.$ac_objext'
61343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61344 (eval $ac_try) 2>&5
61345 ac_status=$?
61346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61347 (exit $ac_status); }; }; then
61348 glibcxx_cv_func_strtof_use=yes
61349 else
61350 echo "$as_me: failed program was:" >&5
61351 sed 's/^/| /' conftest.$ac_ext >&5
61353 glibcxx_cv_func_strtof_use=no
61355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61356 ac_ext=c
61357 ac_cpp='$CPP $CPPFLAGS'
61358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61366 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
61367 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
61368 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
61370 for ac_func in strtof
61372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61373 echo "$as_me:$LINENO: checking for $ac_func" >&5
61374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61375 if eval "test \"\${$as_ac_var+set}\" = set"; then
61376 echo $ECHO_N "(cached) $ECHO_C" >&6
61377 else
61378 if test x$gcc_no_link = xyes; then
61379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61381 { (exit 1); exit 1; }; }
61383 cat >conftest.$ac_ext <<_ACEOF
61384 /* confdefs.h. */
61385 _ACEOF
61386 cat confdefs.h >>conftest.$ac_ext
61387 cat >>conftest.$ac_ext <<_ACEOF
61388 /* end confdefs.h. */
61389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61391 #define $ac_func innocuous_$ac_func
61393 /* System header to define __stub macros and hopefully few prototypes,
61394 which can conflict with char $ac_func (); below.
61395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61396 <limits.h> exists even on freestanding compilers. */
61398 #ifdef __STDC__
61399 # include <limits.h>
61400 #else
61401 # include <assert.h>
61402 #endif
61404 #undef $ac_func
61406 /* Override any gcc2 internal prototype to avoid an error. */
61407 #ifdef __cplusplus
61408 extern "C"
61410 #endif
61411 /* We use char because int might match the return type of a gcc2
61412 builtin and then its argument prototype would still apply. */
61413 char $ac_func ();
61414 /* The GNU C library defines this for functions which it implements
61415 to always fail with ENOSYS. Some functions are actually named
61416 something starting with __ and the normal name is an alias. */
61417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61418 choke me
61419 #else
61420 char (*f) () = $ac_func;
61421 #endif
61422 #ifdef __cplusplus
61424 #endif
61427 main ()
61429 return f != $ac_func;
61431 return 0;
61433 _ACEOF
61434 rm -f conftest.$ac_objext conftest$ac_exeext
61435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61436 (eval $ac_link) 2>conftest.er1
61437 ac_status=$?
61438 grep -v '^ *+' conftest.er1 >conftest.err
61439 rm -f conftest.er1
61440 cat conftest.err >&5
61441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61442 (exit $ac_status); } &&
61443 { ac_try='test -z "$ac_c_werror_flag"
61444 || test ! -s conftest.err'
61445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61446 (eval $ac_try) 2>&5
61447 ac_status=$?
61448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61449 (exit $ac_status); }; } &&
61450 { ac_try='test -s conftest$ac_exeext'
61451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61452 (eval $ac_try) 2>&5
61453 ac_status=$?
61454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61455 (exit $ac_status); }; }; then
61456 eval "$as_ac_var=yes"
61457 else
61458 echo "$as_me: failed program was:" >&5
61459 sed 's/^/| /' conftest.$ac_ext >&5
61461 eval "$as_ac_var=no"
61463 rm -f conftest.err conftest.$ac_objext \
61464 conftest$ac_exeext conftest.$ac_ext
61466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61468 if test `eval echo '${'$as_ac_var'}'` = yes; then
61469 cat >>confdefs.h <<_ACEOF
61470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61471 _ACEOF
61474 done
61482 CXXFLAGS="$ac_save_CXXFLAGS"
61485 cat >>confdefs.h <<\_ACEOF
61486 #define HAVE_LIBM 1
61487 _ACEOF
61489 cat >>confdefs.h <<\_ACEOF
61490 #define HAVE_COPYSIGN 1
61491 _ACEOF
61493 cat >>confdefs.h <<\_ACEOF
61494 #define HAVE_FINITE 1
61495 _ACEOF
61497 cat >>confdefs.h <<\_ACEOF
61498 #define HAVE_HYPOT 1
61499 _ACEOF
61501 cat >>confdefs.h <<\_ACEOF
61502 #define HAVE_ISNAN 1
61503 _ACEOF
61505 cat >>confdefs.h <<\_ACEOF
61506 #define HAVE_ISINF 1
61507 _ACEOF
61510 cat >>confdefs.h <<\_ACEOF
61511 #define HAVE_LDEXPF 1
61512 _ACEOF
61514 cat >>confdefs.h <<\_ACEOF
61515 #define HAVE_MODF 1
61516 _ACEOF
61518 cat >>confdefs.h <<\_ACEOF
61519 #define HAVE_SQRTF 1
61520 _ACEOF
61524 *-darwin*)
61525 # Darwin versions vary, but the linker should work in a cross environment,
61526 # so we just check for all the features here.
61527 # Check for available headers.
61529 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
61531 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61532 ac_save_CXXFLAGS="$CXXFLAGS"
61533 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61535 echo "$as_me:$LINENO: checking for sin in -lm" >&5
61536 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
61537 if test "${ac_cv_lib_m_sin+set}" = set; then
61538 echo $ECHO_N "(cached) $ECHO_C" >&6
61539 else
61540 ac_check_lib_save_LIBS=$LIBS
61541 LIBS="-lm $LIBS"
61542 if test x$gcc_no_link = xyes; then
61543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61545 { (exit 1); exit 1; }; }
61547 cat >conftest.$ac_ext <<_ACEOF
61548 /* confdefs.h. */
61549 _ACEOF
61550 cat confdefs.h >>conftest.$ac_ext
61551 cat >>conftest.$ac_ext <<_ACEOF
61552 /* end confdefs.h. */
61554 /* Override any gcc2 internal prototype to avoid an error. */
61555 #ifdef __cplusplus
61556 extern "C"
61557 #endif
61558 /* We use char because int might match the return type of a gcc2
61559 builtin and then its argument prototype would still apply. */
61560 char sin ();
61562 main ()
61564 sin ();
61566 return 0;
61568 _ACEOF
61569 rm -f conftest.$ac_objext conftest$ac_exeext
61570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61571 (eval $ac_link) 2>conftest.er1
61572 ac_status=$?
61573 grep -v '^ *+' conftest.er1 >conftest.err
61574 rm -f conftest.er1
61575 cat conftest.err >&5
61576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61577 (exit $ac_status); } &&
61578 { ac_try='test -z "$ac_c_werror_flag"
61579 || test ! -s conftest.err'
61580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61581 (eval $ac_try) 2>&5
61582 ac_status=$?
61583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61584 (exit $ac_status); }; } &&
61585 { ac_try='test -s conftest$ac_exeext'
61586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61587 (eval $ac_try) 2>&5
61588 ac_status=$?
61589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61590 (exit $ac_status); }; }; then
61591 ac_cv_lib_m_sin=yes
61592 else
61593 echo "$as_me: failed program was:" >&5
61594 sed 's/^/| /' conftest.$ac_ext >&5
61596 ac_cv_lib_m_sin=no
61598 rm -f conftest.err conftest.$ac_objext \
61599 conftest$ac_exeext conftest.$ac_ext
61600 LIBS=$ac_check_lib_save_LIBS
61602 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
61603 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
61604 if test $ac_cv_lib_m_sin = yes; then
61605 libm="-lm"
61608 ac_save_LIBS="$LIBS"
61609 LIBS="$LIBS $libm"
61613 echo "$as_me:$LINENO: checking for isinf declaration" >&5
61614 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
61615 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61616 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
61617 echo $ECHO_N "(cached) $ECHO_C" >&6
61618 else
61622 ac_ext=cc
61623 ac_cpp='$CXXCPP $CPPFLAGS'
61624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61628 cat >conftest.$ac_ext <<_ACEOF
61629 /* confdefs.h. */
61630 _ACEOF
61631 cat confdefs.h >>conftest.$ac_ext
61632 cat >>conftest.$ac_ext <<_ACEOF
61633 /* end confdefs.h. */
61634 #include <math.h>
61635 #ifdef HAVE_IEEEFP_H
61636 #include <ieeefp.h>
61637 #endif
61640 main ()
61642 isinf(0);
61644 return 0;
61646 _ACEOF
61647 rm -f conftest.$ac_objext
61648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61649 (eval $ac_compile) 2>conftest.er1
61650 ac_status=$?
61651 grep -v '^ *+' conftest.er1 >conftest.err
61652 rm -f conftest.er1
61653 cat conftest.err >&5
61654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61655 (exit $ac_status); } &&
61656 { ac_try='test -z "$ac_cxx_werror_flag"
61657 || test ! -s conftest.err'
61658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61659 (eval $ac_try) 2>&5
61660 ac_status=$?
61661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61662 (exit $ac_status); }; } &&
61663 { ac_try='test -s conftest.$ac_objext'
61664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61665 (eval $ac_try) 2>&5
61666 ac_status=$?
61667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61668 (exit $ac_status); }; }; then
61669 glibcxx_cv_func_isinf_use=yes
61670 else
61671 echo "$as_me: failed program was:" >&5
61672 sed 's/^/| /' conftest.$ac_ext >&5
61674 glibcxx_cv_func_isinf_use=no
61676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61677 ac_ext=c
61678 ac_cpp='$CPP $CPPFLAGS'
61679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61687 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
61688 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
61690 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61692 for ac_func in isinf
61694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61695 echo "$as_me:$LINENO: checking for $ac_func" >&5
61696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61697 if eval "test \"\${$as_ac_var+set}\" = set"; then
61698 echo $ECHO_N "(cached) $ECHO_C" >&6
61699 else
61700 if test x$gcc_no_link = xyes; then
61701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61703 { (exit 1); exit 1; }; }
61705 cat >conftest.$ac_ext <<_ACEOF
61706 /* confdefs.h. */
61707 _ACEOF
61708 cat confdefs.h >>conftest.$ac_ext
61709 cat >>conftest.$ac_ext <<_ACEOF
61710 /* end confdefs.h. */
61711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61713 #define $ac_func innocuous_$ac_func
61715 /* System header to define __stub macros and hopefully few prototypes,
61716 which can conflict with char $ac_func (); below.
61717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61718 <limits.h> exists even on freestanding compilers. */
61720 #ifdef __STDC__
61721 # include <limits.h>
61722 #else
61723 # include <assert.h>
61724 #endif
61726 #undef $ac_func
61728 /* Override any gcc2 internal prototype to avoid an error. */
61729 #ifdef __cplusplus
61730 extern "C"
61732 #endif
61733 /* We use char because int might match the return type of a gcc2
61734 builtin and then its argument prototype would still apply. */
61735 char $ac_func ();
61736 /* The GNU C library defines this for functions which it implements
61737 to always fail with ENOSYS. Some functions are actually named
61738 something starting with __ and the normal name is an alias. */
61739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61740 choke me
61741 #else
61742 char (*f) () = $ac_func;
61743 #endif
61744 #ifdef __cplusplus
61746 #endif
61749 main ()
61751 return f != $ac_func;
61753 return 0;
61755 _ACEOF
61756 rm -f conftest.$ac_objext conftest$ac_exeext
61757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61758 (eval $ac_link) 2>conftest.er1
61759 ac_status=$?
61760 grep -v '^ *+' conftest.er1 >conftest.err
61761 rm -f conftest.er1
61762 cat conftest.err >&5
61763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61764 (exit $ac_status); } &&
61765 { ac_try='test -z "$ac_c_werror_flag"
61766 || test ! -s conftest.err'
61767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61768 (eval $ac_try) 2>&5
61769 ac_status=$?
61770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61771 (exit $ac_status); }; } &&
61772 { ac_try='test -s conftest$ac_exeext'
61773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61774 (eval $ac_try) 2>&5
61775 ac_status=$?
61776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61777 (exit $ac_status); }; }; then
61778 eval "$as_ac_var=yes"
61779 else
61780 echo "$as_me: failed program was:" >&5
61781 sed 's/^/| /' conftest.$ac_ext >&5
61783 eval "$as_ac_var=no"
61785 rm -f conftest.err conftest.$ac_objext \
61786 conftest$ac_exeext conftest.$ac_ext
61788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61790 if test `eval echo '${'$as_ac_var'}'` = yes; then
61791 cat >>confdefs.h <<_ACEOF
61792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61793 _ACEOF
61796 done
61798 else
61800 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
61801 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
61802 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61803 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
61804 echo $ECHO_N "(cached) $ECHO_C" >&6
61805 else
61809 ac_ext=cc
61810 ac_cpp='$CXXCPP $CPPFLAGS'
61811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61815 cat >conftest.$ac_ext <<_ACEOF
61816 /* confdefs.h. */
61817 _ACEOF
61818 cat confdefs.h >>conftest.$ac_ext
61819 cat >>conftest.$ac_ext <<_ACEOF
61820 /* end confdefs.h. */
61821 #include <math.h>
61822 #ifdef HAVE_IEEEFP_H
61823 #include <ieeefp.h>
61824 #endif
61827 main ()
61829 _isinf(0);
61831 return 0;
61833 _ACEOF
61834 rm -f conftest.$ac_objext
61835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61836 (eval $ac_compile) 2>conftest.er1
61837 ac_status=$?
61838 grep -v '^ *+' conftest.er1 >conftest.err
61839 rm -f conftest.er1
61840 cat conftest.err >&5
61841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61842 (exit $ac_status); } &&
61843 { ac_try='test -z "$ac_cxx_werror_flag"
61844 || test ! -s conftest.err'
61845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61846 (eval $ac_try) 2>&5
61847 ac_status=$?
61848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61849 (exit $ac_status); }; } &&
61850 { ac_try='test -s conftest.$ac_objext'
61851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61852 (eval $ac_try) 2>&5
61853 ac_status=$?
61854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61855 (exit $ac_status); }; }; then
61856 glibcxx_cv_func__isinf_use=yes
61857 else
61858 echo "$as_me: failed program was:" >&5
61859 sed 's/^/| /' conftest.$ac_ext >&5
61861 glibcxx_cv_func__isinf_use=no
61863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61864 ac_ext=c
61865 ac_cpp='$CPP $CPPFLAGS'
61866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61874 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
61875 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
61877 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61879 for ac_func in _isinf
61881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61882 echo "$as_me:$LINENO: checking for $ac_func" >&5
61883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61884 if eval "test \"\${$as_ac_var+set}\" = set"; then
61885 echo $ECHO_N "(cached) $ECHO_C" >&6
61886 else
61887 if test x$gcc_no_link = xyes; then
61888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61890 { (exit 1); exit 1; }; }
61892 cat >conftest.$ac_ext <<_ACEOF
61893 /* confdefs.h. */
61894 _ACEOF
61895 cat confdefs.h >>conftest.$ac_ext
61896 cat >>conftest.$ac_ext <<_ACEOF
61897 /* end confdefs.h. */
61898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61900 #define $ac_func innocuous_$ac_func
61902 /* System header to define __stub macros and hopefully few prototypes,
61903 which can conflict with char $ac_func (); below.
61904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61905 <limits.h> exists even on freestanding compilers. */
61907 #ifdef __STDC__
61908 # include <limits.h>
61909 #else
61910 # include <assert.h>
61911 #endif
61913 #undef $ac_func
61915 /* Override any gcc2 internal prototype to avoid an error. */
61916 #ifdef __cplusplus
61917 extern "C"
61919 #endif
61920 /* We use char because int might match the return type of a gcc2
61921 builtin and then its argument prototype would still apply. */
61922 char $ac_func ();
61923 /* The GNU C library defines this for functions which it implements
61924 to always fail with ENOSYS. Some functions are actually named
61925 something starting with __ and the normal name is an alias. */
61926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61927 choke me
61928 #else
61929 char (*f) () = $ac_func;
61930 #endif
61931 #ifdef __cplusplus
61933 #endif
61936 main ()
61938 return f != $ac_func;
61940 return 0;
61942 _ACEOF
61943 rm -f conftest.$ac_objext conftest$ac_exeext
61944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61945 (eval $ac_link) 2>conftest.er1
61946 ac_status=$?
61947 grep -v '^ *+' conftest.er1 >conftest.err
61948 rm -f conftest.er1
61949 cat conftest.err >&5
61950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61951 (exit $ac_status); } &&
61952 { ac_try='test -z "$ac_c_werror_flag"
61953 || test ! -s conftest.err'
61954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61955 (eval $ac_try) 2>&5
61956 ac_status=$?
61957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61958 (exit $ac_status); }; } &&
61959 { ac_try='test -s conftest$ac_exeext'
61960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61961 (eval $ac_try) 2>&5
61962 ac_status=$?
61963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61964 (exit $ac_status); }; }; then
61965 eval "$as_ac_var=yes"
61966 else
61967 echo "$as_me: failed program was:" >&5
61968 sed 's/^/| /' conftest.$ac_ext >&5
61970 eval "$as_ac_var=no"
61972 rm -f conftest.err conftest.$ac_objext \
61973 conftest$ac_exeext conftest.$ac_ext
61975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61977 if test `eval echo '${'$as_ac_var'}'` = yes; then
61978 cat >>confdefs.h <<_ACEOF
61979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61980 _ACEOF
61983 done
61993 echo "$as_me:$LINENO: checking for isnan declaration" >&5
61994 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
61995 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61996 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
61997 echo $ECHO_N "(cached) $ECHO_C" >&6
61998 else
62002 ac_ext=cc
62003 ac_cpp='$CXXCPP $CPPFLAGS'
62004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62008 cat >conftest.$ac_ext <<_ACEOF
62009 /* confdefs.h. */
62010 _ACEOF
62011 cat confdefs.h >>conftest.$ac_ext
62012 cat >>conftest.$ac_ext <<_ACEOF
62013 /* end confdefs.h. */
62014 #include <math.h>
62015 #ifdef HAVE_IEEEFP_H
62016 #include <ieeefp.h>
62017 #endif
62020 main ()
62022 isnan(0);
62024 return 0;
62026 _ACEOF
62027 rm -f conftest.$ac_objext
62028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62029 (eval $ac_compile) 2>conftest.er1
62030 ac_status=$?
62031 grep -v '^ *+' conftest.er1 >conftest.err
62032 rm -f conftest.er1
62033 cat conftest.err >&5
62034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62035 (exit $ac_status); } &&
62036 { ac_try='test -z "$ac_cxx_werror_flag"
62037 || test ! -s conftest.err'
62038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62039 (eval $ac_try) 2>&5
62040 ac_status=$?
62041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62042 (exit $ac_status); }; } &&
62043 { ac_try='test -s conftest.$ac_objext'
62044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62045 (eval $ac_try) 2>&5
62046 ac_status=$?
62047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62048 (exit $ac_status); }; }; then
62049 glibcxx_cv_func_isnan_use=yes
62050 else
62051 echo "$as_me: failed program was:" >&5
62052 sed 's/^/| /' conftest.$ac_ext >&5
62054 glibcxx_cv_func_isnan_use=no
62056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62057 ac_ext=c
62058 ac_cpp='$CPP $CPPFLAGS'
62059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62067 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
62068 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
62070 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
62072 for ac_func in isnan
62074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62075 echo "$as_me:$LINENO: checking for $ac_func" >&5
62076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62077 if eval "test \"\${$as_ac_var+set}\" = set"; then
62078 echo $ECHO_N "(cached) $ECHO_C" >&6
62079 else
62080 if test x$gcc_no_link = xyes; then
62081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62083 { (exit 1); exit 1; }; }
62085 cat >conftest.$ac_ext <<_ACEOF
62086 /* confdefs.h. */
62087 _ACEOF
62088 cat confdefs.h >>conftest.$ac_ext
62089 cat >>conftest.$ac_ext <<_ACEOF
62090 /* end confdefs.h. */
62091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62093 #define $ac_func innocuous_$ac_func
62095 /* System header to define __stub macros and hopefully few prototypes,
62096 which can conflict with char $ac_func (); below.
62097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62098 <limits.h> exists even on freestanding compilers. */
62100 #ifdef __STDC__
62101 # include <limits.h>
62102 #else
62103 # include <assert.h>
62104 #endif
62106 #undef $ac_func
62108 /* Override any gcc2 internal prototype to avoid an error. */
62109 #ifdef __cplusplus
62110 extern "C"
62112 #endif
62113 /* We use char because int might match the return type of a gcc2
62114 builtin and then its argument prototype would still apply. */
62115 char $ac_func ();
62116 /* The GNU C library defines this for functions which it implements
62117 to always fail with ENOSYS. Some functions are actually named
62118 something starting with __ and the normal name is an alias. */
62119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62120 choke me
62121 #else
62122 char (*f) () = $ac_func;
62123 #endif
62124 #ifdef __cplusplus
62126 #endif
62129 main ()
62131 return f != $ac_func;
62133 return 0;
62135 _ACEOF
62136 rm -f conftest.$ac_objext conftest$ac_exeext
62137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62138 (eval $ac_link) 2>conftest.er1
62139 ac_status=$?
62140 grep -v '^ *+' conftest.er1 >conftest.err
62141 rm -f conftest.er1
62142 cat conftest.err >&5
62143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62144 (exit $ac_status); } &&
62145 { ac_try='test -z "$ac_c_werror_flag"
62146 || test ! -s conftest.err'
62147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62148 (eval $ac_try) 2>&5
62149 ac_status=$?
62150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62151 (exit $ac_status); }; } &&
62152 { ac_try='test -s conftest$ac_exeext'
62153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62154 (eval $ac_try) 2>&5
62155 ac_status=$?
62156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62157 (exit $ac_status); }; }; then
62158 eval "$as_ac_var=yes"
62159 else
62160 echo "$as_me: failed program was:" >&5
62161 sed 's/^/| /' conftest.$ac_ext >&5
62163 eval "$as_ac_var=no"
62165 rm -f conftest.err conftest.$ac_objext \
62166 conftest$ac_exeext conftest.$ac_ext
62168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62170 if test `eval echo '${'$as_ac_var'}'` = yes; then
62171 cat >>confdefs.h <<_ACEOF
62172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62173 _ACEOF
62176 done
62178 else
62180 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
62181 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
62182 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
62183 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
62184 echo $ECHO_N "(cached) $ECHO_C" >&6
62185 else
62189 ac_ext=cc
62190 ac_cpp='$CXXCPP $CPPFLAGS'
62191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62195 cat >conftest.$ac_ext <<_ACEOF
62196 /* confdefs.h. */
62197 _ACEOF
62198 cat confdefs.h >>conftest.$ac_ext
62199 cat >>conftest.$ac_ext <<_ACEOF
62200 /* end confdefs.h. */
62201 #include <math.h>
62202 #ifdef HAVE_IEEEFP_H
62203 #include <ieeefp.h>
62204 #endif
62207 main ()
62209 _isnan(0);
62211 return 0;
62213 _ACEOF
62214 rm -f conftest.$ac_objext
62215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62216 (eval $ac_compile) 2>conftest.er1
62217 ac_status=$?
62218 grep -v '^ *+' conftest.er1 >conftest.err
62219 rm -f conftest.er1
62220 cat conftest.err >&5
62221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62222 (exit $ac_status); } &&
62223 { ac_try='test -z "$ac_cxx_werror_flag"
62224 || test ! -s conftest.err'
62225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62226 (eval $ac_try) 2>&5
62227 ac_status=$?
62228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62229 (exit $ac_status); }; } &&
62230 { ac_try='test -s conftest.$ac_objext'
62231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62232 (eval $ac_try) 2>&5
62233 ac_status=$?
62234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62235 (exit $ac_status); }; }; then
62236 glibcxx_cv_func__isnan_use=yes
62237 else
62238 echo "$as_me: failed program was:" >&5
62239 sed 's/^/| /' conftest.$ac_ext >&5
62241 glibcxx_cv_func__isnan_use=no
62243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62244 ac_ext=c
62245 ac_cpp='$CPP $CPPFLAGS'
62246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62254 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
62255 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
62257 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
62259 for ac_func in _isnan
62261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62262 echo "$as_me:$LINENO: checking for $ac_func" >&5
62263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62264 if eval "test \"\${$as_ac_var+set}\" = set"; then
62265 echo $ECHO_N "(cached) $ECHO_C" >&6
62266 else
62267 if test x$gcc_no_link = xyes; then
62268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62270 { (exit 1); exit 1; }; }
62272 cat >conftest.$ac_ext <<_ACEOF
62273 /* confdefs.h. */
62274 _ACEOF
62275 cat confdefs.h >>conftest.$ac_ext
62276 cat >>conftest.$ac_ext <<_ACEOF
62277 /* end confdefs.h. */
62278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62280 #define $ac_func innocuous_$ac_func
62282 /* System header to define __stub macros and hopefully few prototypes,
62283 which can conflict with char $ac_func (); below.
62284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62285 <limits.h> exists even on freestanding compilers. */
62287 #ifdef __STDC__
62288 # include <limits.h>
62289 #else
62290 # include <assert.h>
62291 #endif
62293 #undef $ac_func
62295 /* Override any gcc2 internal prototype to avoid an error. */
62296 #ifdef __cplusplus
62297 extern "C"
62299 #endif
62300 /* We use char because int might match the return type of a gcc2
62301 builtin and then its argument prototype would still apply. */
62302 char $ac_func ();
62303 /* The GNU C library defines this for functions which it implements
62304 to always fail with ENOSYS. Some functions are actually named
62305 something starting with __ and the normal name is an alias. */
62306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62307 choke me
62308 #else
62309 char (*f) () = $ac_func;
62310 #endif
62311 #ifdef __cplusplus
62313 #endif
62316 main ()
62318 return f != $ac_func;
62320 return 0;
62322 _ACEOF
62323 rm -f conftest.$ac_objext conftest$ac_exeext
62324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62325 (eval $ac_link) 2>conftest.er1
62326 ac_status=$?
62327 grep -v '^ *+' conftest.er1 >conftest.err
62328 rm -f conftest.er1
62329 cat conftest.err >&5
62330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62331 (exit $ac_status); } &&
62332 { ac_try='test -z "$ac_c_werror_flag"
62333 || test ! -s conftest.err'
62334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62335 (eval $ac_try) 2>&5
62336 ac_status=$?
62337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62338 (exit $ac_status); }; } &&
62339 { ac_try='test -s conftest$ac_exeext'
62340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62341 (eval $ac_try) 2>&5
62342 ac_status=$?
62343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62344 (exit $ac_status); }; }; then
62345 eval "$as_ac_var=yes"
62346 else
62347 echo "$as_me: failed program was:" >&5
62348 sed 's/^/| /' conftest.$ac_ext >&5
62350 eval "$as_ac_var=no"
62352 rm -f conftest.err conftest.$ac_objext \
62353 conftest$ac_exeext conftest.$ac_ext
62355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62357 if test `eval echo '${'$as_ac_var'}'` = yes; then
62358 cat >>confdefs.h <<_ACEOF
62359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62360 _ACEOF
62363 done
62373 echo "$as_me:$LINENO: checking for finite declaration" >&5
62374 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
62375 if test x${glibcxx_cv_func_finite_use+set} != xset; then
62376 if test "${glibcxx_cv_func_finite_use+set}" = set; then
62377 echo $ECHO_N "(cached) $ECHO_C" >&6
62378 else
62382 ac_ext=cc
62383 ac_cpp='$CXXCPP $CPPFLAGS'
62384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62388 cat >conftest.$ac_ext <<_ACEOF
62389 /* confdefs.h. */
62390 _ACEOF
62391 cat confdefs.h >>conftest.$ac_ext
62392 cat >>conftest.$ac_ext <<_ACEOF
62393 /* end confdefs.h. */
62394 #include <math.h>
62395 #ifdef HAVE_IEEEFP_H
62396 #include <ieeefp.h>
62397 #endif
62400 main ()
62402 finite(0);
62404 return 0;
62406 _ACEOF
62407 rm -f conftest.$ac_objext
62408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62409 (eval $ac_compile) 2>conftest.er1
62410 ac_status=$?
62411 grep -v '^ *+' conftest.er1 >conftest.err
62412 rm -f conftest.er1
62413 cat conftest.err >&5
62414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62415 (exit $ac_status); } &&
62416 { ac_try='test -z "$ac_cxx_werror_flag"
62417 || test ! -s conftest.err'
62418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62419 (eval $ac_try) 2>&5
62420 ac_status=$?
62421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62422 (exit $ac_status); }; } &&
62423 { ac_try='test -s conftest.$ac_objext'
62424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62425 (eval $ac_try) 2>&5
62426 ac_status=$?
62427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62428 (exit $ac_status); }; }; then
62429 glibcxx_cv_func_finite_use=yes
62430 else
62431 echo "$as_me: failed program was:" >&5
62432 sed 's/^/| /' conftest.$ac_ext >&5
62434 glibcxx_cv_func_finite_use=no
62436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62437 ac_ext=c
62438 ac_cpp='$CPP $CPPFLAGS'
62439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62447 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
62448 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
62450 if test x$glibcxx_cv_func_finite_use = x"yes"; then
62452 for ac_func in finite
62454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62455 echo "$as_me:$LINENO: checking for $ac_func" >&5
62456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62457 if eval "test \"\${$as_ac_var+set}\" = set"; then
62458 echo $ECHO_N "(cached) $ECHO_C" >&6
62459 else
62460 if test x$gcc_no_link = xyes; then
62461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62463 { (exit 1); exit 1; }; }
62465 cat >conftest.$ac_ext <<_ACEOF
62466 /* confdefs.h. */
62467 _ACEOF
62468 cat confdefs.h >>conftest.$ac_ext
62469 cat >>conftest.$ac_ext <<_ACEOF
62470 /* end confdefs.h. */
62471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62473 #define $ac_func innocuous_$ac_func
62475 /* System header to define __stub macros and hopefully few prototypes,
62476 which can conflict with char $ac_func (); below.
62477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62478 <limits.h> exists even on freestanding compilers. */
62480 #ifdef __STDC__
62481 # include <limits.h>
62482 #else
62483 # include <assert.h>
62484 #endif
62486 #undef $ac_func
62488 /* Override any gcc2 internal prototype to avoid an error. */
62489 #ifdef __cplusplus
62490 extern "C"
62492 #endif
62493 /* We use char because int might match the return type of a gcc2
62494 builtin and then its argument prototype would still apply. */
62495 char $ac_func ();
62496 /* The GNU C library defines this for functions which it implements
62497 to always fail with ENOSYS. Some functions are actually named
62498 something starting with __ and the normal name is an alias. */
62499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62500 choke me
62501 #else
62502 char (*f) () = $ac_func;
62503 #endif
62504 #ifdef __cplusplus
62506 #endif
62509 main ()
62511 return f != $ac_func;
62513 return 0;
62515 _ACEOF
62516 rm -f conftest.$ac_objext conftest$ac_exeext
62517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62518 (eval $ac_link) 2>conftest.er1
62519 ac_status=$?
62520 grep -v '^ *+' conftest.er1 >conftest.err
62521 rm -f conftest.er1
62522 cat conftest.err >&5
62523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62524 (exit $ac_status); } &&
62525 { ac_try='test -z "$ac_c_werror_flag"
62526 || test ! -s conftest.err'
62527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62528 (eval $ac_try) 2>&5
62529 ac_status=$?
62530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62531 (exit $ac_status); }; } &&
62532 { ac_try='test -s conftest$ac_exeext'
62533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62534 (eval $ac_try) 2>&5
62535 ac_status=$?
62536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62537 (exit $ac_status); }; }; then
62538 eval "$as_ac_var=yes"
62539 else
62540 echo "$as_me: failed program was:" >&5
62541 sed 's/^/| /' conftest.$ac_ext >&5
62543 eval "$as_ac_var=no"
62545 rm -f conftest.err conftest.$ac_objext \
62546 conftest$ac_exeext conftest.$ac_ext
62548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62550 if test `eval echo '${'$as_ac_var'}'` = yes; then
62551 cat >>confdefs.h <<_ACEOF
62552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62553 _ACEOF
62556 done
62558 else
62560 echo "$as_me:$LINENO: checking for _finite declaration" >&5
62561 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
62562 if test x${glibcxx_cv_func__finite_use+set} != xset; then
62563 if test "${glibcxx_cv_func__finite_use+set}" = set; then
62564 echo $ECHO_N "(cached) $ECHO_C" >&6
62565 else
62569 ac_ext=cc
62570 ac_cpp='$CXXCPP $CPPFLAGS'
62571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62575 cat >conftest.$ac_ext <<_ACEOF
62576 /* confdefs.h. */
62577 _ACEOF
62578 cat confdefs.h >>conftest.$ac_ext
62579 cat >>conftest.$ac_ext <<_ACEOF
62580 /* end confdefs.h. */
62581 #include <math.h>
62582 #ifdef HAVE_IEEEFP_H
62583 #include <ieeefp.h>
62584 #endif
62587 main ()
62589 _finite(0);
62591 return 0;
62593 _ACEOF
62594 rm -f conftest.$ac_objext
62595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62596 (eval $ac_compile) 2>conftest.er1
62597 ac_status=$?
62598 grep -v '^ *+' conftest.er1 >conftest.err
62599 rm -f conftest.er1
62600 cat conftest.err >&5
62601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62602 (exit $ac_status); } &&
62603 { ac_try='test -z "$ac_cxx_werror_flag"
62604 || test ! -s conftest.err'
62605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62606 (eval $ac_try) 2>&5
62607 ac_status=$?
62608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62609 (exit $ac_status); }; } &&
62610 { ac_try='test -s conftest.$ac_objext'
62611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62612 (eval $ac_try) 2>&5
62613 ac_status=$?
62614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62615 (exit $ac_status); }; }; then
62616 glibcxx_cv_func__finite_use=yes
62617 else
62618 echo "$as_me: failed program was:" >&5
62619 sed 's/^/| /' conftest.$ac_ext >&5
62621 glibcxx_cv_func__finite_use=no
62623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62624 ac_ext=c
62625 ac_cpp='$CPP $CPPFLAGS'
62626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62634 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
62635 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
62637 if test x$glibcxx_cv_func__finite_use = x"yes"; then
62639 for ac_func in _finite
62641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62642 echo "$as_me:$LINENO: checking for $ac_func" >&5
62643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62644 if eval "test \"\${$as_ac_var+set}\" = set"; then
62645 echo $ECHO_N "(cached) $ECHO_C" >&6
62646 else
62647 if test x$gcc_no_link = xyes; then
62648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62650 { (exit 1); exit 1; }; }
62652 cat >conftest.$ac_ext <<_ACEOF
62653 /* confdefs.h. */
62654 _ACEOF
62655 cat confdefs.h >>conftest.$ac_ext
62656 cat >>conftest.$ac_ext <<_ACEOF
62657 /* end confdefs.h. */
62658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62660 #define $ac_func innocuous_$ac_func
62662 /* System header to define __stub macros and hopefully few prototypes,
62663 which can conflict with char $ac_func (); below.
62664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62665 <limits.h> exists even on freestanding compilers. */
62667 #ifdef __STDC__
62668 # include <limits.h>
62669 #else
62670 # include <assert.h>
62671 #endif
62673 #undef $ac_func
62675 /* Override any gcc2 internal prototype to avoid an error. */
62676 #ifdef __cplusplus
62677 extern "C"
62679 #endif
62680 /* We use char because int might match the return type of a gcc2
62681 builtin and then its argument prototype would still apply. */
62682 char $ac_func ();
62683 /* The GNU C library defines this for functions which it implements
62684 to always fail with ENOSYS. Some functions are actually named
62685 something starting with __ and the normal name is an alias. */
62686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62687 choke me
62688 #else
62689 char (*f) () = $ac_func;
62690 #endif
62691 #ifdef __cplusplus
62693 #endif
62696 main ()
62698 return f != $ac_func;
62700 return 0;
62702 _ACEOF
62703 rm -f conftest.$ac_objext conftest$ac_exeext
62704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62705 (eval $ac_link) 2>conftest.er1
62706 ac_status=$?
62707 grep -v '^ *+' conftest.er1 >conftest.err
62708 rm -f conftest.er1
62709 cat conftest.err >&5
62710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62711 (exit $ac_status); } &&
62712 { ac_try='test -z "$ac_c_werror_flag"
62713 || test ! -s conftest.err'
62714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62715 (eval $ac_try) 2>&5
62716 ac_status=$?
62717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62718 (exit $ac_status); }; } &&
62719 { ac_try='test -s conftest$ac_exeext'
62720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62721 (eval $ac_try) 2>&5
62722 ac_status=$?
62723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62724 (exit $ac_status); }; }; then
62725 eval "$as_ac_var=yes"
62726 else
62727 echo "$as_me: failed program was:" >&5
62728 sed 's/^/| /' conftest.$ac_ext >&5
62730 eval "$as_ac_var=no"
62732 rm -f conftest.err conftest.$ac_objext \
62733 conftest$ac_exeext conftest.$ac_ext
62735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62737 if test `eval echo '${'$as_ac_var'}'` = yes; then
62738 cat >>confdefs.h <<_ACEOF
62739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62740 _ACEOF
62743 done
62753 echo "$as_me:$LINENO: checking for copysign declaration" >&5
62754 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
62755 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
62756 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
62757 echo $ECHO_N "(cached) $ECHO_C" >&6
62758 else
62762 ac_ext=cc
62763 ac_cpp='$CXXCPP $CPPFLAGS'
62764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62768 cat >conftest.$ac_ext <<_ACEOF
62769 /* confdefs.h. */
62770 _ACEOF
62771 cat confdefs.h >>conftest.$ac_ext
62772 cat >>conftest.$ac_ext <<_ACEOF
62773 /* end confdefs.h. */
62774 #include <math.h>
62776 main ()
62778 copysign(0, 0);
62780 return 0;
62782 _ACEOF
62783 rm -f conftest.$ac_objext
62784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62785 (eval $ac_compile) 2>conftest.er1
62786 ac_status=$?
62787 grep -v '^ *+' conftest.er1 >conftest.err
62788 rm -f conftest.er1
62789 cat conftest.err >&5
62790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62791 (exit $ac_status); } &&
62792 { ac_try='test -z "$ac_cxx_werror_flag"
62793 || test ! -s conftest.err'
62794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62795 (eval $ac_try) 2>&5
62796 ac_status=$?
62797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62798 (exit $ac_status); }; } &&
62799 { ac_try='test -s conftest.$ac_objext'
62800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62801 (eval $ac_try) 2>&5
62802 ac_status=$?
62803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62804 (exit $ac_status); }; }; then
62805 glibcxx_cv_func_copysign_use=yes
62806 else
62807 echo "$as_me: failed program was:" >&5
62808 sed 's/^/| /' conftest.$ac_ext >&5
62810 glibcxx_cv_func_copysign_use=no
62812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62813 ac_ext=c
62814 ac_cpp='$CPP $CPPFLAGS'
62815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62823 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
62824 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
62826 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
62828 for ac_func in copysign
62830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62831 echo "$as_me:$LINENO: checking for $ac_func" >&5
62832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62833 if eval "test \"\${$as_ac_var+set}\" = set"; then
62834 echo $ECHO_N "(cached) $ECHO_C" >&6
62835 else
62836 if test x$gcc_no_link = xyes; then
62837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62839 { (exit 1); exit 1; }; }
62841 cat >conftest.$ac_ext <<_ACEOF
62842 /* confdefs.h. */
62843 _ACEOF
62844 cat confdefs.h >>conftest.$ac_ext
62845 cat >>conftest.$ac_ext <<_ACEOF
62846 /* end confdefs.h. */
62847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62849 #define $ac_func innocuous_$ac_func
62851 /* System header to define __stub macros and hopefully few prototypes,
62852 which can conflict with char $ac_func (); below.
62853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62854 <limits.h> exists even on freestanding compilers. */
62856 #ifdef __STDC__
62857 # include <limits.h>
62858 #else
62859 # include <assert.h>
62860 #endif
62862 #undef $ac_func
62864 /* Override any gcc2 internal prototype to avoid an error. */
62865 #ifdef __cplusplus
62866 extern "C"
62868 #endif
62869 /* We use char because int might match the return type of a gcc2
62870 builtin and then its argument prototype would still apply. */
62871 char $ac_func ();
62872 /* The GNU C library defines this for functions which it implements
62873 to always fail with ENOSYS. Some functions are actually named
62874 something starting with __ and the normal name is an alias. */
62875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62876 choke me
62877 #else
62878 char (*f) () = $ac_func;
62879 #endif
62880 #ifdef __cplusplus
62882 #endif
62885 main ()
62887 return f != $ac_func;
62889 return 0;
62891 _ACEOF
62892 rm -f conftest.$ac_objext conftest$ac_exeext
62893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62894 (eval $ac_link) 2>conftest.er1
62895 ac_status=$?
62896 grep -v '^ *+' conftest.er1 >conftest.err
62897 rm -f conftest.er1
62898 cat conftest.err >&5
62899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62900 (exit $ac_status); } &&
62901 { ac_try='test -z "$ac_c_werror_flag"
62902 || test ! -s conftest.err'
62903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62904 (eval $ac_try) 2>&5
62905 ac_status=$?
62906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62907 (exit $ac_status); }; } &&
62908 { ac_try='test -s conftest$ac_exeext'
62909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62910 (eval $ac_try) 2>&5
62911 ac_status=$?
62912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62913 (exit $ac_status); }; }; then
62914 eval "$as_ac_var=yes"
62915 else
62916 echo "$as_me: failed program was:" >&5
62917 sed 's/^/| /' conftest.$ac_ext >&5
62919 eval "$as_ac_var=no"
62921 rm -f conftest.err conftest.$ac_objext \
62922 conftest$ac_exeext conftest.$ac_ext
62924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62926 if test `eval echo '${'$as_ac_var'}'` = yes; then
62927 cat >>confdefs.h <<_ACEOF
62928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62929 _ACEOF
62932 done
62934 else
62936 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
62937 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
62938 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
62939 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
62940 echo $ECHO_N "(cached) $ECHO_C" >&6
62941 else
62945 ac_ext=cc
62946 ac_cpp='$CXXCPP $CPPFLAGS'
62947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62951 cat >conftest.$ac_ext <<_ACEOF
62952 /* confdefs.h. */
62953 _ACEOF
62954 cat confdefs.h >>conftest.$ac_ext
62955 cat >>conftest.$ac_ext <<_ACEOF
62956 /* end confdefs.h. */
62957 #include <math.h>
62959 main ()
62961 _copysign(0, 0);
62963 return 0;
62965 _ACEOF
62966 rm -f conftest.$ac_objext
62967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62968 (eval $ac_compile) 2>conftest.er1
62969 ac_status=$?
62970 grep -v '^ *+' conftest.er1 >conftest.err
62971 rm -f conftest.er1
62972 cat conftest.err >&5
62973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62974 (exit $ac_status); } &&
62975 { ac_try='test -z "$ac_cxx_werror_flag"
62976 || test ! -s conftest.err'
62977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62978 (eval $ac_try) 2>&5
62979 ac_status=$?
62980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62981 (exit $ac_status); }; } &&
62982 { ac_try='test -s conftest.$ac_objext'
62983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62984 (eval $ac_try) 2>&5
62985 ac_status=$?
62986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62987 (exit $ac_status); }; }; then
62988 glibcxx_cv_func__copysign_use=yes
62989 else
62990 echo "$as_me: failed program was:" >&5
62991 sed 's/^/| /' conftest.$ac_ext >&5
62993 glibcxx_cv_func__copysign_use=no
62995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62996 ac_ext=c
62997 ac_cpp='$CPP $CPPFLAGS'
62998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63006 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
63007 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
63009 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
63011 for ac_func in _copysign
63013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63014 echo "$as_me:$LINENO: checking for $ac_func" >&5
63015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63016 if eval "test \"\${$as_ac_var+set}\" = set"; then
63017 echo $ECHO_N "(cached) $ECHO_C" >&6
63018 else
63019 if test x$gcc_no_link = xyes; then
63020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63022 { (exit 1); exit 1; }; }
63024 cat >conftest.$ac_ext <<_ACEOF
63025 /* confdefs.h. */
63026 _ACEOF
63027 cat confdefs.h >>conftest.$ac_ext
63028 cat >>conftest.$ac_ext <<_ACEOF
63029 /* end confdefs.h. */
63030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63032 #define $ac_func innocuous_$ac_func
63034 /* System header to define __stub macros and hopefully few prototypes,
63035 which can conflict with char $ac_func (); below.
63036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63037 <limits.h> exists even on freestanding compilers. */
63039 #ifdef __STDC__
63040 # include <limits.h>
63041 #else
63042 # include <assert.h>
63043 #endif
63045 #undef $ac_func
63047 /* Override any gcc2 internal prototype to avoid an error. */
63048 #ifdef __cplusplus
63049 extern "C"
63051 #endif
63052 /* We use char because int might match the return type of a gcc2
63053 builtin and then its argument prototype would still apply. */
63054 char $ac_func ();
63055 /* The GNU C library defines this for functions which it implements
63056 to always fail with ENOSYS. Some functions are actually named
63057 something starting with __ and the normal name is an alias. */
63058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63059 choke me
63060 #else
63061 char (*f) () = $ac_func;
63062 #endif
63063 #ifdef __cplusplus
63065 #endif
63068 main ()
63070 return f != $ac_func;
63072 return 0;
63074 _ACEOF
63075 rm -f conftest.$ac_objext conftest$ac_exeext
63076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63077 (eval $ac_link) 2>conftest.er1
63078 ac_status=$?
63079 grep -v '^ *+' conftest.er1 >conftest.err
63080 rm -f conftest.er1
63081 cat conftest.err >&5
63082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63083 (exit $ac_status); } &&
63084 { ac_try='test -z "$ac_c_werror_flag"
63085 || test ! -s conftest.err'
63086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63087 (eval $ac_try) 2>&5
63088 ac_status=$?
63089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63090 (exit $ac_status); }; } &&
63091 { ac_try='test -s conftest$ac_exeext'
63092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63093 (eval $ac_try) 2>&5
63094 ac_status=$?
63095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63096 (exit $ac_status); }; }; then
63097 eval "$as_ac_var=yes"
63098 else
63099 echo "$as_me: failed program was:" >&5
63100 sed 's/^/| /' conftest.$ac_ext >&5
63102 eval "$as_ac_var=no"
63104 rm -f conftest.err conftest.$ac_objext \
63105 conftest$ac_exeext conftest.$ac_ext
63107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63109 if test `eval echo '${'$as_ac_var'}'` = yes; then
63110 cat >>confdefs.h <<_ACEOF
63111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63112 _ACEOF
63115 done
63125 echo "$as_me:$LINENO: checking for sincos declaration" >&5
63126 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
63127 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
63128 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
63129 echo $ECHO_N "(cached) $ECHO_C" >&6
63130 else
63134 ac_ext=cc
63135 ac_cpp='$CXXCPP $CPPFLAGS'
63136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63140 cat >conftest.$ac_ext <<_ACEOF
63141 /* confdefs.h. */
63142 _ACEOF
63143 cat confdefs.h >>conftest.$ac_ext
63144 cat >>conftest.$ac_ext <<_ACEOF
63145 /* end confdefs.h. */
63146 #include <math.h>
63148 main ()
63150 sincos(0, 0, 0);
63152 return 0;
63154 _ACEOF
63155 rm -f conftest.$ac_objext
63156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63157 (eval $ac_compile) 2>conftest.er1
63158 ac_status=$?
63159 grep -v '^ *+' conftest.er1 >conftest.err
63160 rm -f conftest.er1
63161 cat conftest.err >&5
63162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63163 (exit $ac_status); } &&
63164 { ac_try='test -z "$ac_cxx_werror_flag"
63165 || test ! -s conftest.err'
63166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63167 (eval $ac_try) 2>&5
63168 ac_status=$?
63169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63170 (exit $ac_status); }; } &&
63171 { ac_try='test -s conftest.$ac_objext'
63172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63173 (eval $ac_try) 2>&5
63174 ac_status=$?
63175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63176 (exit $ac_status); }; }; then
63177 glibcxx_cv_func_sincos_use=yes
63178 else
63179 echo "$as_me: failed program was:" >&5
63180 sed 's/^/| /' conftest.$ac_ext >&5
63182 glibcxx_cv_func_sincos_use=no
63184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63185 ac_ext=c
63186 ac_cpp='$CPP $CPPFLAGS'
63187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63195 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
63196 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
63198 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
63200 for ac_func in sincos
63202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63203 echo "$as_me:$LINENO: checking for $ac_func" >&5
63204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63205 if eval "test \"\${$as_ac_var+set}\" = set"; then
63206 echo $ECHO_N "(cached) $ECHO_C" >&6
63207 else
63208 if test x$gcc_no_link = xyes; then
63209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63211 { (exit 1); exit 1; }; }
63213 cat >conftest.$ac_ext <<_ACEOF
63214 /* confdefs.h. */
63215 _ACEOF
63216 cat confdefs.h >>conftest.$ac_ext
63217 cat >>conftest.$ac_ext <<_ACEOF
63218 /* end confdefs.h. */
63219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63221 #define $ac_func innocuous_$ac_func
63223 /* System header to define __stub macros and hopefully few prototypes,
63224 which can conflict with char $ac_func (); below.
63225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63226 <limits.h> exists even on freestanding compilers. */
63228 #ifdef __STDC__
63229 # include <limits.h>
63230 #else
63231 # include <assert.h>
63232 #endif
63234 #undef $ac_func
63236 /* Override any gcc2 internal prototype to avoid an error. */
63237 #ifdef __cplusplus
63238 extern "C"
63240 #endif
63241 /* We use char because int might match the return type of a gcc2
63242 builtin and then its argument prototype would still apply. */
63243 char $ac_func ();
63244 /* The GNU C library defines this for functions which it implements
63245 to always fail with ENOSYS. Some functions are actually named
63246 something starting with __ and the normal name is an alias. */
63247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63248 choke me
63249 #else
63250 char (*f) () = $ac_func;
63251 #endif
63252 #ifdef __cplusplus
63254 #endif
63257 main ()
63259 return f != $ac_func;
63261 return 0;
63263 _ACEOF
63264 rm -f conftest.$ac_objext conftest$ac_exeext
63265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63266 (eval $ac_link) 2>conftest.er1
63267 ac_status=$?
63268 grep -v '^ *+' conftest.er1 >conftest.err
63269 rm -f conftest.er1
63270 cat conftest.err >&5
63271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63272 (exit $ac_status); } &&
63273 { ac_try='test -z "$ac_c_werror_flag"
63274 || test ! -s conftest.err'
63275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63276 (eval $ac_try) 2>&5
63277 ac_status=$?
63278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63279 (exit $ac_status); }; } &&
63280 { ac_try='test -s conftest$ac_exeext'
63281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63282 (eval $ac_try) 2>&5
63283 ac_status=$?
63284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63285 (exit $ac_status); }; }; then
63286 eval "$as_ac_var=yes"
63287 else
63288 echo "$as_me: failed program was:" >&5
63289 sed 's/^/| /' conftest.$ac_ext >&5
63291 eval "$as_ac_var=no"
63293 rm -f conftest.err conftest.$ac_objext \
63294 conftest$ac_exeext conftest.$ac_ext
63296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63298 if test `eval echo '${'$as_ac_var'}'` = yes; then
63299 cat >>confdefs.h <<_ACEOF
63300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63301 _ACEOF
63304 done
63306 else
63308 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
63309 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
63310 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
63311 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
63312 echo $ECHO_N "(cached) $ECHO_C" >&6
63313 else
63317 ac_ext=cc
63318 ac_cpp='$CXXCPP $CPPFLAGS'
63319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63323 cat >conftest.$ac_ext <<_ACEOF
63324 /* confdefs.h. */
63325 _ACEOF
63326 cat confdefs.h >>conftest.$ac_ext
63327 cat >>conftest.$ac_ext <<_ACEOF
63328 /* end confdefs.h. */
63329 #include <math.h>
63331 main ()
63333 _sincos(0, 0, 0);
63335 return 0;
63337 _ACEOF
63338 rm -f conftest.$ac_objext
63339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63340 (eval $ac_compile) 2>conftest.er1
63341 ac_status=$?
63342 grep -v '^ *+' conftest.er1 >conftest.err
63343 rm -f conftest.er1
63344 cat conftest.err >&5
63345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63346 (exit $ac_status); } &&
63347 { ac_try='test -z "$ac_cxx_werror_flag"
63348 || test ! -s conftest.err'
63349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63350 (eval $ac_try) 2>&5
63351 ac_status=$?
63352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63353 (exit $ac_status); }; } &&
63354 { ac_try='test -s conftest.$ac_objext'
63355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63356 (eval $ac_try) 2>&5
63357 ac_status=$?
63358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63359 (exit $ac_status); }; }; then
63360 glibcxx_cv_func__sincos_use=yes
63361 else
63362 echo "$as_me: failed program was:" >&5
63363 sed 's/^/| /' conftest.$ac_ext >&5
63365 glibcxx_cv_func__sincos_use=no
63367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63368 ac_ext=c
63369 ac_cpp='$CPP $CPPFLAGS'
63370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63378 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
63379 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
63381 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
63383 for ac_func in _sincos
63385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63386 echo "$as_me:$LINENO: checking for $ac_func" >&5
63387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63388 if eval "test \"\${$as_ac_var+set}\" = set"; then
63389 echo $ECHO_N "(cached) $ECHO_C" >&6
63390 else
63391 if test x$gcc_no_link = xyes; then
63392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63394 { (exit 1); exit 1; }; }
63396 cat >conftest.$ac_ext <<_ACEOF
63397 /* confdefs.h. */
63398 _ACEOF
63399 cat confdefs.h >>conftest.$ac_ext
63400 cat >>conftest.$ac_ext <<_ACEOF
63401 /* end confdefs.h. */
63402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63404 #define $ac_func innocuous_$ac_func
63406 /* System header to define __stub macros and hopefully few prototypes,
63407 which can conflict with char $ac_func (); below.
63408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63409 <limits.h> exists even on freestanding compilers. */
63411 #ifdef __STDC__
63412 # include <limits.h>
63413 #else
63414 # include <assert.h>
63415 #endif
63417 #undef $ac_func
63419 /* Override any gcc2 internal prototype to avoid an error. */
63420 #ifdef __cplusplus
63421 extern "C"
63423 #endif
63424 /* We use char because int might match the return type of a gcc2
63425 builtin and then its argument prototype would still apply. */
63426 char $ac_func ();
63427 /* The GNU C library defines this for functions which it implements
63428 to always fail with ENOSYS. Some functions are actually named
63429 something starting with __ and the normal name is an alias. */
63430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63431 choke me
63432 #else
63433 char (*f) () = $ac_func;
63434 #endif
63435 #ifdef __cplusplus
63437 #endif
63440 main ()
63442 return f != $ac_func;
63444 return 0;
63446 _ACEOF
63447 rm -f conftest.$ac_objext conftest$ac_exeext
63448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63449 (eval $ac_link) 2>conftest.er1
63450 ac_status=$?
63451 grep -v '^ *+' conftest.er1 >conftest.err
63452 rm -f conftest.er1
63453 cat conftest.err >&5
63454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63455 (exit $ac_status); } &&
63456 { ac_try='test -z "$ac_c_werror_flag"
63457 || test ! -s conftest.err'
63458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63459 (eval $ac_try) 2>&5
63460 ac_status=$?
63461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63462 (exit $ac_status); }; } &&
63463 { ac_try='test -s conftest$ac_exeext'
63464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63465 (eval $ac_try) 2>&5
63466 ac_status=$?
63467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63468 (exit $ac_status); }; }; then
63469 eval "$as_ac_var=yes"
63470 else
63471 echo "$as_me: failed program was:" >&5
63472 sed 's/^/| /' conftest.$ac_ext >&5
63474 eval "$as_ac_var=no"
63476 rm -f conftest.err conftest.$ac_objext \
63477 conftest$ac_exeext conftest.$ac_ext
63479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63481 if test `eval echo '${'$as_ac_var'}'` = yes; then
63482 cat >>confdefs.h <<_ACEOF
63483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63484 _ACEOF
63487 done
63497 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
63498 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
63499 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
63500 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
63501 echo $ECHO_N "(cached) $ECHO_C" >&6
63502 else
63506 ac_ext=cc
63507 ac_cpp='$CXXCPP $CPPFLAGS'
63508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63512 cat >conftest.$ac_ext <<_ACEOF
63513 /* confdefs.h. */
63514 _ACEOF
63515 cat confdefs.h >>conftest.$ac_ext
63516 cat >>conftest.$ac_ext <<_ACEOF
63517 /* end confdefs.h. */
63518 #include <math.h>
63519 #ifdef HAVE_IEEEFP_H
63520 #include <ieeefp.h>
63521 #endif
63524 main ()
63526 fpclass(0);
63528 return 0;
63530 _ACEOF
63531 rm -f conftest.$ac_objext
63532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63533 (eval $ac_compile) 2>conftest.er1
63534 ac_status=$?
63535 grep -v '^ *+' conftest.er1 >conftest.err
63536 rm -f conftest.er1
63537 cat conftest.err >&5
63538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63539 (exit $ac_status); } &&
63540 { ac_try='test -z "$ac_cxx_werror_flag"
63541 || test ! -s conftest.err'
63542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63543 (eval $ac_try) 2>&5
63544 ac_status=$?
63545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63546 (exit $ac_status); }; } &&
63547 { ac_try='test -s conftest.$ac_objext'
63548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63549 (eval $ac_try) 2>&5
63550 ac_status=$?
63551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63552 (exit $ac_status); }; }; then
63553 glibcxx_cv_func_fpclass_use=yes
63554 else
63555 echo "$as_me: failed program was:" >&5
63556 sed 's/^/| /' conftest.$ac_ext >&5
63558 glibcxx_cv_func_fpclass_use=no
63560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63561 ac_ext=c
63562 ac_cpp='$CPP $CPPFLAGS'
63563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63571 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
63572 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
63574 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
63576 for ac_func in fpclass
63578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63579 echo "$as_me:$LINENO: checking for $ac_func" >&5
63580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63581 if eval "test \"\${$as_ac_var+set}\" = set"; then
63582 echo $ECHO_N "(cached) $ECHO_C" >&6
63583 else
63584 if test x$gcc_no_link = xyes; then
63585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63587 { (exit 1); exit 1; }; }
63589 cat >conftest.$ac_ext <<_ACEOF
63590 /* confdefs.h. */
63591 _ACEOF
63592 cat confdefs.h >>conftest.$ac_ext
63593 cat >>conftest.$ac_ext <<_ACEOF
63594 /* end confdefs.h. */
63595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63597 #define $ac_func innocuous_$ac_func
63599 /* System header to define __stub macros and hopefully few prototypes,
63600 which can conflict with char $ac_func (); below.
63601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63602 <limits.h> exists even on freestanding compilers. */
63604 #ifdef __STDC__
63605 # include <limits.h>
63606 #else
63607 # include <assert.h>
63608 #endif
63610 #undef $ac_func
63612 /* Override any gcc2 internal prototype to avoid an error. */
63613 #ifdef __cplusplus
63614 extern "C"
63616 #endif
63617 /* We use char because int might match the return type of a gcc2
63618 builtin and then its argument prototype would still apply. */
63619 char $ac_func ();
63620 /* The GNU C library defines this for functions which it implements
63621 to always fail with ENOSYS. Some functions are actually named
63622 something starting with __ and the normal name is an alias. */
63623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63624 choke me
63625 #else
63626 char (*f) () = $ac_func;
63627 #endif
63628 #ifdef __cplusplus
63630 #endif
63633 main ()
63635 return f != $ac_func;
63637 return 0;
63639 _ACEOF
63640 rm -f conftest.$ac_objext conftest$ac_exeext
63641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63642 (eval $ac_link) 2>conftest.er1
63643 ac_status=$?
63644 grep -v '^ *+' conftest.er1 >conftest.err
63645 rm -f conftest.er1
63646 cat conftest.err >&5
63647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63648 (exit $ac_status); } &&
63649 { ac_try='test -z "$ac_c_werror_flag"
63650 || test ! -s conftest.err'
63651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63652 (eval $ac_try) 2>&5
63653 ac_status=$?
63654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63655 (exit $ac_status); }; } &&
63656 { ac_try='test -s conftest$ac_exeext'
63657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63658 (eval $ac_try) 2>&5
63659 ac_status=$?
63660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63661 (exit $ac_status); }; }; then
63662 eval "$as_ac_var=yes"
63663 else
63664 echo "$as_me: failed program was:" >&5
63665 sed 's/^/| /' conftest.$ac_ext >&5
63667 eval "$as_ac_var=no"
63669 rm -f conftest.err conftest.$ac_objext \
63670 conftest$ac_exeext conftest.$ac_ext
63672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63674 if test `eval echo '${'$as_ac_var'}'` = yes; then
63675 cat >>confdefs.h <<_ACEOF
63676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63677 _ACEOF
63680 done
63682 else
63684 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
63685 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
63686 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
63687 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
63688 echo $ECHO_N "(cached) $ECHO_C" >&6
63689 else
63693 ac_ext=cc
63694 ac_cpp='$CXXCPP $CPPFLAGS'
63695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63699 cat >conftest.$ac_ext <<_ACEOF
63700 /* confdefs.h. */
63701 _ACEOF
63702 cat confdefs.h >>conftest.$ac_ext
63703 cat >>conftest.$ac_ext <<_ACEOF
63704 /* end confdefs.h. */
63705 #include <math.h>
63706 #ifdef HAVE_IEEEFP_H
63707 #include <ieeefp.h>
63708 #endif
63711 main ()
63713 _fpclass(0);
63715 return 0;
63717 _ACEOF
63718 rm -f conftest.$ac_objext
63719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63720 (eval $ac_compile) 2>conftest.er1
63721 ac_status=$?
63722 grep -v '^ *+' conftest.er1 >conftest.err
63723 rm -f conftest.er1
63724 cat conftest.err >&5
63725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63726 (exit $ac_status); } &&
63727 { ac_try='test -z "$ac_cxx_werror_flag"
63728 || test ! -s conftest.err'
63729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63730 (eval $ac_try) 2>&5
63731 ac_status=$?
63732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63733 (exit $ac_status); }; } &&
63734 { ac_try='test -s conftest.$ac_objext'
63735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63736 (eval $ac_try) 2>&5
63737 ac_status=$?
63738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63739 (exit $ac_status); }; }; then
63740 glibcxx_cv_func__fpclass_use=yes
63741 else
63742 echo "$as_me: failed program was:" >&5
63743 sed 's/^/| /' conftest.$ac_ext >&5
63745 glibcxx_cv_func__fpclass_use=no
63747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63748 ac_ext=c
63749 ac_cpp='$CPP $CPPFLAGS'
63750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63758 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
63759 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
63761 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
63763 for ac_func in _fpclass
63765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63766 echo "$as_me:$LINENO: checking for $ac_func" >&5
63767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63768 if eval "test \"\${$as_ac_var+set}\" = set"; then
63769 echo $ECHO_N "(cached) $ECHO_C" >&6
63770 else
63771 if test x$gcc_no_link = xyes; then
63772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63774 { (exit 1); exit 1; }; }
63776 cat >conftest.$ac_ext <<_ACEOF
63777 /* confdefs.h. */
63778 _ACEOF
63779 cat confdefs.h >>conftest.$ac_ext
63780 cat >>conftest.$ac_ext <<_ACEOF
63781 /* end confdefs.h. */
63782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63784 #define $ac_func innocuous_$ac_func
63786 /* System header to define __stub macros and hopefully few prototypes,
63787 which can conflict with char $ac_func (); below.
63788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63789 <limits.h> exists even on freestanding compilers. */
63791 #ifdef __STDC__
63792 # include <limits.h>
63793 #else
63794 # include <assert.h>
63795 #endif
63797 #undef $ac_func
63799 /* Override any gcc2 internal prototype to avoid an error. */
63800 #ifdef __cplusplus
63801 extern "C"
63803 #endif
63804 /* We use char because int might match the return type of a gcc2
63805 builtin and then its argument prototype would still apply. */
63806 char $ac_func ();
63807 /* The GNU C library defines this for functions which it implements
63808 to always fail with ENOSYS. Some functions are actually named
63809 something starting with __ and the normal name is an alias. */
63810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63811 choke me
63812 #else
63813 char (*f) () = $ac_func;
63814 #endif
63815 #ifdef __cplusplus
63817 #endif
63820 main ()
63822 return f != $ac_func;
63824 return 0;
63826 _ACEOF
63827 rm -f conftest.$ac_objext conftest$ac_exeext
63828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63829 (eval $ac_link) 2>conftest.er1
63830 ac_status=$?
63831 grep -v '^ *+' conftest.er1 >conftest.err
63832 rm -f conftest.er1
63833 cat conftest.err >&5
63834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63835 (exit $ac_status); } &&
63836 { ac_try='test -z "$ac_c_werror_flag"
63837 || test ! -s conftest.err'
63838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63839 (eval $ac_try) 2>&5
63840 ac_status=$?
63841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63842 (exit $ac_status); }; } &&
63843 { ac_try='test -s conftest$ac_exeext'
63844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63845 (eval $ac_try) 2>&5
63846 ac_status=$?
63847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63848 (exit $ac_status); }; }; then
63849 eval "$as_ac_var=yes"
63850 else
63851 echo "$as_me: failed program was:" >&5
63852 sed 's/^/| /' conftest.$ac_ext >&5
63854 eval "$as_ac_var=no"
63856 rm -f conftest.err conftest.$ac_objext \
63857 conftest$ac_exeext conftest.$ac_ext
63859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63861 if test `eval echo '${'$as_ac_var'}'` = yes; then
63862 cat >>confdefs.h <<_ACEOF
63863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63864 _ACEOF
63867 done
63877 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
63878 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
63879 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
63880 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
63881 echo $ECHO_N "(cached) $ECHO_C" >&6
63882 else
63886 ac_ext=cc
63887 ac_cpp='$CXXCPP $CPPFLAGS'
63888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63892 cat >conftest.$ac_ext <<_ACEOF
63893 /* confdefs.h. */
63894 _ACEOF
63895 cat confdefs.h >>conftest.$ac_ext
63896 cat >>conftest.$ac_ext <<_ACEOF
63897 /* end confdefs.h. */
63898 #include <math.h>
63899 #ifdef HAVE_IEEEFP_H
63900 #include <ieeefp.h>
63901 #endif
63904 main ()
63906 qfpclass(0);
63908 return 0;
63910 _ACEOF
63911 rm -f conftest.$ac_objext
63912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63913 (eval $ac_compile) 2>conftest.er1
63914 ac_status=$?
63915 grep -v '^ *+' conftest.er1 >conftest.err
63916 rm -f conftest.er1
63917 cat conftest.err >&5
63918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63919 (exit $ac_status); } &&
63920 { ac_try='test -z "$ac_cxx_werror_flag"
63921 || test ! -s conftest.err'
63922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63923 (eval $ac_try) 2>&5
63924 ac_status=$?
63925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63926 (exit $ac_status); }; } &&
63927 { ac_try='test -s conftest.$ac_objext'
63928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63929 (eval $ac_try) 2>&5
63930 ac_status=$?
63931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63932 (exit $ac_status); }; }; then
63933 glibcxx_cv_func_qfpclass_use=yes
63934 else
63935 echo "$as_me: failed program was:" >&5
63936 sed 's/^/| /' conftest.$ac_ext >&5
63938 glibcxx_cv_func_qfpclass_use=no
63940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63941 ac_ext=c
63942 ac_cpp='$CPP $CPPFLAGS'
63943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63951 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
63952 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
63954 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
63956 for ac_func in qfpclass
63958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63959 echo "$as_me:$LINENO: checking for $ac_func" >&5
63960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63961 if eval "test \"\${$as_ac_var+set}\" = set"; then
63962 echo $ECHO_N "(cached) $ECHO_C" >&6
63963 else
63964 if test x$gcc_no_link = xyes; then
63965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63967 { (exit 1); exit 1; }; }
63969 cat >conftest.$ac_ext <<_ACEOF
63970 /* confdefs.h. */
63971 _ACEOF
63972 cat confdefs.h >>conftest.$ac_ext
63973 cat >>conftest.$ac_ext <<_ACEOF
63974 /* end confdefs.h. */
63975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63977 #define $ac_func innocuous_$ac_func
63979 /* System header to define __stub macros and hopefully few prototypes,
63980 which can conflict with char $ac_func (); below.
63981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63982 <limits.h> exists even on freestanding compilers. */
63984 #ifdef __STDC__
63985 # include <limits.h>
63986 #else
63987 # include <assert.h>
63988 #endif
63990 #undef $ac_func
63992 /* Override any gcc2 internal prototype to avoid an error. */
63993 #ifdef __cplusplus
63994 extern "C"
63996 #endif
63997 /* We use char because int might match the return type of a gcc2
63998 builtin and then its argument prototype would still apply. */
63999 char $ac_func ();
64000 /* The GNU C library defines this for functions which it implements
64001 to always fail with ENOSYS. Some functions are actually named
64002 something starting with __ and the normal name is an alias. */
64003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64004 choke me
64005 #else
64006 char (*f) () = $ac_func;
64007 #endif
64008 #ifdef __cplusplus
64010 #endif
64013 main ()
64015 return f != $ac_func;
64017 return 0;
64019 _ACEOF
64020 rm -f conftest.$ac_objext conftest$ac_exeext
64021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64022 (eval $ac_link) 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_exeext'
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 eval "$as_ac_var=yes"
64043 else
64044 echo "$as_me: failed program was:" >&5
64045 sed 's/^/| /' conftest.$ac_ext >&5
64047 eval "$as_ac_var=no"
64049 rm -f conftest.err conftest.$ac_objext \
64050 conftest$ac_exeext conftest.$ac_ext
64052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64054 if test `eval echo '${'$as_ac_var'}'` = yes; then
64055 cat >>confdefs.h <<_ACEOF
64056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64057 _ACEOF
64060 done
64062 else
64064 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
64065 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
64066 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64067 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
64068 echo $ECHO_N "(cached) $ECHO_C" >&6
64069 else
64073 ac_ext=cc
64074 ac_cpp='$CXXCPP $CPPFLAGS'
64075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64079 cat >conftest.$ac_ext <<_ACEOF
64080 /* confdefs.h. */
64081 _ACEOF
64082 cat confdefs.h >>conftest.$ac_ext
64083 cat >>conftest.$ac_ext <<_ACEOF
64084 /* end confdefs.h. */
64085 #include <math.h>
64086 #ifdef HAVE_IEEEFP_H
64087 #include <ieeefp.h>
64088 #endif
64091 main ()
64093 _qfpclass(0);
64095 return 0;
64097 _ACEOF
64098 rm -f conftest.$ac_objext
64099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64100 (eval $ac_compile) 2>conftest.er1
64101 ac_status=$?
64102 grep -v '^ *+' conftest.er1 >conftest.err
64103 rm -f conftest.er1
64104 cat conftest.err >&5
64105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64106 (exit $ac_status); } &&
64107 { ac_try='test -z "$ac_cxx_werror_flag"
64108 || test ! -s conftest.err'
64109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64110 (eval $ac_try) 2>&5
64111 ac_status=$?
64112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64113 (exit $ac_status); }; } &&
64114 { ac_try='test -s conftest.$ac_objext'
64115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64116 (eval $ac_try) 2>&5
64117 ac_status=$?
64118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64119 (exit $ac_status); }; }; then
64120 glibcxx_cv_func__qfpclass_use=yes
64121 else
64122 echo "$as_me: failed program was:" >&5
64123 sed 's/^/| /' conftest.$ac_ext >&5
64125 glibcxx_cv_func__qfpclass_use=no
64127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64128 ac_ext=c
64129 ac_cpp='$CPP $CPPFLAGS'
64130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64138 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
64139 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
64141 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64143 for ac_func in _qfpclass
64145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64146 echo "$as_me:$LINENO: checking for $ac_func" >&5
64147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64148 if eval "test \"\${$as_ac_var+set}\" = set"; then
64149 echo $ECHO_N "(cached) $ECHO_C" >&6
64150 else
64151 if test x$gcc_no_link = xyes; then
64152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64154 { (exit 1); exit 1; }; }
64156 cat >conftest.$ac_ext <<_ACEOF
64157 /* confdefs.h. */
64158 _ACEOF
64159 cat confdefs.h >>conftest.$ac_ext
64160 cat >>conftest.$ac_ext <<_ACEOF
64161 /* end confdefs.h. */
64162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64164 #define $ac_func innocuous_$ac_func
64166 /* System header to define __stub macros and hopefully few prototypes,
64167 which can conflict with char $ac_func (); below.
64168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64169 <limits.h> exists even on freestanding compilers. */
64171 #ifdef __STDC__
64172 # include <limits.h>
64173 #else
64174 # include <assert.h>
64175 #endif
64177 #undef $ac_func
64179 /* Override any gcc2 internal prototype to avoid an error. */
64180 #ifdef __cplusplus
64181 extern "C"
64183 #endif
64184 /* We use char because int might match the return type of a gcc2
64185 builtin and then its argument prototype would still apply. */
64186 char $ac_func ();
64187 /* The GNU C library defines this for functions which it implements
64188 to always fail with ENOSYS. Some functions are actually named
64189 something starting with __ and the normal name is an alias. */
64190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64191 choke me
64192 #else
64193 char (*f) () = $ac_func;
64194 #endif
64195 #ifdef __cplusplus
64197 #endif
64200 main ()
64202 return f != $ac_func;
64204 return 0;
64206 _ACEOF
64207 rm -f conftest.$ac_objext conftest$ac_exeext
64208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64209 (eval $ac_link) 2>conftest.er1
64210 ac_status=$?
64211 grep -v '^ *+' conftest.er1 >conftest.err
64212 rm -f conftest.er1
64213 cat conftest.err >&5
64214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64215 (exit $ac_status); } &&
64216 { ac_try='test -z "$ac_c_werror_flag"
64217 || test ! -s conftest.err'
64218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64219 (eval $ac_try) 2>&5
64220 ac_status=$?
64221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64222 (exit $ac_status); }; } &&
64223 { ac_try='test -s conftest$ac_exeext'
64224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64225 (eval $ac_try) 2>&5
64226 ac_status=$?
64227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64228 (exit $ac_status); }; }; then
64229 eval "$as_ac_var=yes"
64230 else
64231 echo "$as_me: failed program was:" >&5
64232 sed 's/^/| /' conftest.$ac_ext >&5
64234 eval "$as_ac_var=no"
64236 rm -f conftest.err conftest.$ac_objext \
64237 conftest$ac_exeext conftest.$ac_ext
64239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64241 if test `eval echo '${'$as_ac_var'}'` = yes; then
64242 cat >>confdefs.h <<_ACEOF
64243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64244 _ACEOF
64247 done
64257 echo "$as_me:$LINENO: checking for hypot declaration" >&5
64258 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
64259 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64260 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
64261 echo $ECHO_N "(cached) $ECHO_C" >&6
64262 else
64266 ac_ext=cc
64267 ac_cpp='$CXXCPP $CPPFLAGS'
64268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64272 cat >conftest.$ac_ext <<_ACEOF
64273 /* confdefs.h. */
64274 _ACEOF
64275 cat confdefs.h >>conftest.$ac_ext
64276 cat >>conftest.$ac_ext <<_ACEOF
64277 /* end confdefs.h. */
64278 #include <math.h>
64280 main ()
64282 hypot(0, 0);
64284 return 0;
64286 _ACEOF
64287 rm -f conftest.$ac_objext
64288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64289 (eval $ac_compile) 2>conftest.er1
64290 ac_status=$?
64291 grep -v '^ *+' conftest.er1 >conftest.err
64292 rm -f conftest.er1
64293 cat conftest.err >&5
64294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64295 (exit $ac_status); } &&
64296 { ac_try='test -z "$ac_cxx_werror_flag"
64297 || test ! -s conftest.err'
64298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64299 (eval $ac_try) 2>&5
64300 ac_status=$?
64301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64302 (exit $ac_status); }; } &&
64303 { ac_try='test -s conftest.$ac_objext'
64304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64305 (eval $ac_try) 2>&5
64306 ac_status=$?
64307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64308 (exit $ac_status); }; }; then
64309 glibcxx_cv_func_hypot_use=yes
64310 else
64311 echo "$as_me: failed program was:" >&5
64312 sed 's/^/| /' conftest.$ac_ext >&5
64314 glibcxx_cv_func_hypot_use=no
64316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64317 ac_ext=c
64318 ac_cpp='$CPP $CPPFLAGS'
64319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64327 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
64328 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
64330 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64332 for ac_func in hypot
64334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64335 echo "$as_me:$LINENO: checking for $ac_func" >&5
64336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64337 if eval "test \"\${$as_ac_var+set}\" = set"; then
64338 echo $ECHO_N "(cached) $ECHO_C" >&6
64339 else
64340 if test x$gcc_no_link = xyes; then
64341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64343 { (exit 1); exit 1; }; }
64345 cat >conftest.$ac_ext <<_ACEOF
64346 /* confdefs.h. */
64347 _ACEOF
64348 cat confdefs.h >>conftest.$ac_ext
64349 cat >>conftest.$ac_ext <<_ACEOF
64350 /* end confdefs.h. */
64351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64353 #define $ac_func innocuous_$ac_func
64355 /* System header to define __stub macros and hopefully few prototypes,
64356 which can conflict with char $ac_func (); below.
64357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64358 <limits.h> exists even on freestanding compilers. */
64360 #ifdef __STDC__
64361 # include <limits.h>
64362 #else
64363 # include <assert.h>
64364 #endif
64366 #undef $ac_func
64368 /* Override any gcc2 internal prototype to avoid an error. */
64369 #ifdef __cplusplus
64370 extern "C"
64372 #endif
64373 /* We use char because int might match the return type of a gcc2
64374 builtin and then its argument prototype would still apply. */
64375 char $ac_func ();
64376 /* The GNU C library defines this for functions which it implements
64377 to always fail with ENOSYS. Some functions are actually named
64378 something starting with __ and the normal name is an alias. */
64379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64380 choke me
64381 #else
64382 char (*f) () = $ac_func;
64383 #endif
64384 #ifdef __cplusplus
64386 #endif
64389 main ()
64391 return f != $ac_func;
64393 return 0;
64395 _ACEOF
64396 rm -f conftest.$ac_objext conftest$ac_exeext
64397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64398 (eval $ac_link) 2>conftest.er1
64399 ac_status=$?
64400 grep -v '^ *+' conftest.er1 >conftest.err
64401 rm -f conftest.er1
64402 cat conftest.err >&5
64403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64404 (exit $ac_status); } &&
64405 { ac_try='test -z "$ac_c_werror_flag"
64406 || test ! -s conftest.err'
64407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64408 (eval $ac_try) 2>&5
64409 ac_status=$?
64410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64411 (exit $ac_status); }; } &&
64412 { ac_try='test -s conftest$ac_exeext'
64413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64414 (eval $ac_try) 2>&5
64415 ac_status=$?
64416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64417 (exit $ac_status); }; }; then
64418 eval "$as_ac_var=yes"
64419 else
64420 echo "$as_me: failed program was:" >&5
64421 sed 's/^/| /' conftest.$ac_ext >&5
64423 eval "$as_ac_var=no"
64425 rm -f conftest.err conftest.$ac_objext \
64426 conftest$ac_exeext conftest.$ac_ext
64428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64430 if test `eval echo '${'$as_ac_var'}'` = yes; then
64431 cat >>confdefs.h <<_ACEOF
64432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64433 _ACEOF
64436 done
64438 else
64440 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
64441 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
64442 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64443 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
64444 echo $ECHO_N "(cached) $ECHO_C" >&6
64445 else
64449 ac_ext=cc
64450 ac_cpp='$CXXCPP $CPPFLAGS'
64451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64455 cat >conftest.$ac_ext <<_ACEOF
64456 /* confdefs.h. */
64457 _ACEOF
64458 cat confdefs.h >>conftest.$ac_ext
64459 cat >>conftest.$ac_ext <<_ACEOF
64460 /* end confdefs.h. */
64461 #include <math.h>
64463 main ()
64465 _hypot(0, 0);
64467 return 0;
64469 _ACEOF
64470 rm -f conftest.$ac_objext
64471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64472 (eval $ac_compile) 2>conftest.er1
64473 ac_status=$?
64474 grep -v '^ *+' conftest.er1 >conftest.err
64475 rm -f conftest.er1
64476 cat conftest.err >&5
64477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64478 (exit $ac_status); } &&
64479 { ac_try='test -z "$ac_cxx_werror_flag"
64480 || test ! -s conftest.err'
64481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64482 (eval $ac_try) 2>&5
64483 ac_status=$?
64484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64485 (exit $ac_status); }; } &&
64486 { ac_try='test -s conftest.$ac_objext'
64487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64488 (eval $ac_try) 2>&5
64489 ac_status=$?
64490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64491 (exit $ac_status); }; }; then
64492 glibcxx_cv_func__hypot_use=yes
64493 else
64494 echo "$as_me: failed program was:" >&5
64495 sed 's/^/| /' conftest.$ac_ext >&5
64497 glibcxx_cv_func__hypot_use=no
64499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64500 ac_ext=c
64501 ac_cpp='$CPP $CPPFLAGS'
64502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64510 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
64511 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
64513 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64515 for ac_func in _hypot
64517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64518 echo "$as_me:$LINENO: checking for $ac_func" >&5
64519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64520 if eval "test \"\${$as_ac_var+set}\" = set"; then
64521 echo $ECHO_N "(cached) $ECHO_C" >&6
64522 else
64523 if test x$gcc_no_link = xyes; then
64524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64526 { (exit 1); exit 1; }; }
64528 cat >conftest.$ac_ext <<_ACEOF
64529 /* confdefs.h. */
64530 _ACEOF
64531 cat confdefs.h >>conftest.$ac_ext
64532 cat >>conftest.$ac_ext <<_ACEOF
64533 /* end confdefs.h. */
64534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64536 #define $ac_func innocuous_$ac_func
64538 /* System header to define __stub macros and hopefully few prototypes,
64539 which can conflict with char $ac_func (); below.
64540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64541 <limits.h> exists even on freestanding compilers. */
64543 #ifdef __STDC__
64544 # include <limits.h>
64545 #else
64546 # include <assert.h>
64547 #endif
64549 #undef $ac_func
64551 /* Override any gcc2 internal prototype to avoid an error. */
64552 #ifdef __cplusplus
64553 extern "C"
64555 #endif
64556 /* We use char because int might match the return type of a gcc2
64557 builtin and then its argument prototype would still apply. */
64558 char $ac_func ();
64559 /* The GNU C library defines this for functions which it implements
64560 to always fail with ENOSYS. Some functions are actually named
64561 something starting with __ and the normal name is an alias. */
64562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64563 choke me
64564 #else
64565 char (*f) () = $ac_func;
64566 #endif
64567 #ifdef __cplusplus
64569 #endif
64572 main ()
64574 return f != $ac_func;
64576 return 0;
64578 _ACEOF
64579 rm -f conftest.$ac_objext conftest$ac_exeext
64580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64581 (eval $ac_link) 2>conftest.er1
64582 ac_status=$?
64583 grep -v '^ *+' conftest.er1 >conftest.err
64584 rm -f conftest.er1
64585 cat conftest.err >&5
64586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64587 (exit $ac_status); } &&
64588 { ac_try='test -z "$ac_c_werror_flag"
64589 || test ! -s conftest.err'
64590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64591 (eval $ac_try) 2>&5
64592 ac_status=$?
64593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64594 (exit $ac_status); }; } &&
64595 { ac_try='test -s conftest$ac_exeext'
64596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64597 (eval $ac_try) 2>&5
64598 ac_status=$?
64599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64600 (exit $ac_status); }; }; then
64601 eval "$as_ac_var=yes"
64602 else
64603 echo "$as_me: failed program was:" >&5
64604 sed 's/^/| /' conftest.$ac_ext >&5
64606 eval "$as_ac_var=no"
64608 rm -f conftest.err conftest.$ac_objext \
64609 conftest$ac_exeext conftest.$ac_ext
64611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64613 if test `eval echo '${'$as_ac_var'}'` = yes; then
64614 cat >>confdefs.h <<_ACEOF
64615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64616 _ACEOF
64619 done
64629 echo "$as_me:$LINENO: checking for float trig functions" >&5
64630 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
64631 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
64632 echo $ECHO_N "(cached) $ECHO_C" >&6
64633 else
64637 ac_ext=cc
64638 ac_cpp='$CXXCPP $CPPFLAGS'
64639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64643 cat >conftest.$ac_ext <<_ACEOF
64644 /* confdefs.h. */
64645 _ACEOF
64646 cat confdefs.h >>conftest.$ac_ext
64647 cat >>conftest.$ac_ext <<_ACEOF
64648 /* end confdefs.h. */
64649 #include <math.h>
64651 main ()
64653 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64655 return 0;
64657 _ACEOF
64658 rm -f conftest.$ac_objext
64659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64660 (eval $ac_compile) 2>conftest.er1
64661 ac_status=$?
64662 grep -v '^ *+' conftest.er1 >conftest.err
64663 rm -f conftest.er1
64664 cat conftest.err >&5
64665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64666 (exit $ac_status); } &&
64667 { ac_try='test -z "$ac_cxx_werror_flag"
64668 || test ! -s conftest.err'
64669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64670 (eval $ac_try) 2>&5
64671 ac_status=$?
64672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64673 (exit $ac_status); }; } &&
64674 { ac_try='test -s conftest.$ac_objext'
64675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64676 (eval $ac_try) 2>&5
64677 ac_status=$?
64678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64679 (exit $ac_status); }; }; then
64680 glibcxx_cv_func_float_trig_use=yes
64681 else
64682 echo "$as_me: failed program was:" >&5
64683 sed 's/^/| /' conftest.$ac_ext >&5
64685 glibcxx_cv_func_float_trig_use=no
64687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64688 ac_ext=c
64689 ac_cpp='$CPP $CPPFLAGS'
64690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64696 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
64697 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
64698 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64708 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64711 echo "$as_me:$LINENO: checking for $ac_func" >&5
64712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64713 if eval "test \"\${$as_ac_var+set}\" = set"; then
64714 echo $ECHO_N "(cached) $ECHO_C" >&6
64715 else
64716 if test x$gcc_no_link = xyes; then
64717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64719 { (exit 1); exit 1; }; }
64721 cat >conftest.$ac_ext <<_ACEOF
64722 /* confdefs.h. */
64723 _ACEOF
64724 cat confdefs.h >>conftest.$ac_ext
64725 cat >>conftest.$ac_ext <<_ACEOF
64726 /* end confdefs.h. */
64727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64729 #define $ac_func innocuous_$ac_func
64731 /* System header to define __stub macros and hopefully few prototypes,
64732 which can conflict with char $ac_func (); below.
64733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64734 <limits.h> exists even on freestanding compilers. */
64736 #ifdef __STDC__
64737 # include <limits.h>
64738 #else
64739 # include <assert.h>
64740 #endif
64742 #undef $ac_func
64744 /* Override any gcc2 internal prototype to avoid an error. */
64745 #ifdef __cplusplus
64746 extern "C"
64748 #endif
64749 /* We use char because int might match the return type of a gcc2
64750 builtin and then its argument prototype would still apply. */
64751 char $ac_func ();
64752 /* The GNU C library defines this for functions which it implements
64753 to always fail with ENOSYS. Some functions are actually named
64754 something starting with __ and the normal name is an alias. */
64755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64756 choke me
64757 #else
64758 char (*f) () = $ac_func;
64759 #endif
64760 #ifdef __cplusplus
64762 #endif
64765 main ()
64767 return f != $ac_func;
64769 return 0;
64771 _ACEOF
64772 rm -f conftest.$ac_objext conftest$ac_exeext
64773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64774 (eval $ac_link) 2>conftest.er1
64775 ac_status=$?
64776 grep -v '^ *+' conftest.er1 >conftest.err
64777 rm -f conftest.er1
64778 cat conftest.err >&5
64779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64780 (exit $ac_status); } &&
64781 { ac_try='test -z "$ac_c_werror_flag"
64782 || test ! -s conftest.err'
64783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64784 (eval $ac_try) 2>&5
64785 ac_status=$?
64786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64787 (exit $ac_status); }; } &&
64788 { ac_try='test -s conftest$ac_exeext'
64789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64790 (eval $ac_try) 2>&5
64791 ac_status=$?
64792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64793 (exit $ac_status); }; }; then
64794 eval "$as_ac_var=yes"
64795 else
64796 echo "$as_me: failed program was:" >&5
64797 sed 's/^/| /' conftest.$ac_ext >&5
64799 eval "$as_ac_var=no"
64801 rm -f conftest.err conftest.$ac_objext \
64802 conftest$ac_exeext conftest.$ac_ext
64804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64806 if test `eval echo '${'$as_ac_var'}'` = yes; then
64807 cat >>confdefs.h <<_ACEOF
64808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64809 _ACEOF
64812 done
64814 else
64815 echo "$as_me:$LINENO: checking for _float trig functions" >&5
64816 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
64817 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
64818 echo $ECHO_N "(cached) $ECHO_C" >&6
64819 else
64823 ac_ext=cc
64824 ac_cpp='$CXXCPP $CPPFLAGS'
64825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64829 cat >conftest.$ac_ext <<_ACEOF
64830 /* confdefs.h. */
64831 _ACEOF
64832 cat confdefs.h >>conftest.$ac_ext
64833 cat >>conftest.$ac_ext <<_ACEOF
64834 /* end confdefs.h. */
64835 #include <math.h>
64837 main ()
64839 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64841 return 0;
64843 _ACEOF
64844 rm -f conftest.$ac_objext
64845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64846 (eval $ac_compile) 2>conftest.er1
64847 ac_status=$?
64848 grep -v '^ *+' conftest.er1 >conftest.err
64849 rm -f conftest.er1
64850 cat conftest.err >&5
64851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64852 (exit $ac_status); } &&
64853 { ac_try='test -z "$ac_cxx_werror_flag"
64854 || test ! -s conftest.err'
64855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64856 (eval $ac_try) 2>&5
64857 ac_status=$?
64858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64859 (exit $ac_status); }; } &&
64860 { ac_try='test -s conftest.$ac_objext'
64861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64862 (eval $ac_try) 2>&5
64863 ac_status=$?
64864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64865 (exit $ac_status); }; }; then
64866 glibcxx_cv_func__float_trig_use=yes
64867 else
64868 echo "$as_me: failed program was:" >&5
64869 sed 's/^/| /' conftest.$ac_ext >&5
64871 glibcxx_cv_func__float_trig_use=no
64873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64874 ac_ext=c
64875 ac_cpp='$CPP $CPPFLAGS'
64876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64882 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
64883 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
64884 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
64894 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
64896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64897 echo "$as_me:$LINENO: checking for $ac_func" >&5
64898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64899 if eval "test \"\${$as_ac_var+set}\" = set"; then
64900 echo $ECHO_N "(cached) $ECHO_C" >&6
64901 else
64902 if test x$gcc_no_link = xyes; then
64903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64905 { (exit 1); exit 1; }; }
64907 cat >conftest.$ac_ext <<_ACEOF
64908 /* confdefs.h. */
64909 _ACEOF
64910 cat confdefs.h >>conftest.$ac_ext
64911 cat >>conftest.$ac_ext <<_ACEOF
64912 /* end confdefs.h. */
64913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64915 #define $ac_func innocuous_$ac_func
64917 /* System header to define __stub macros and hopefully few prototypes,
64918 which can conflict with char $ac_func (); below.
64919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64920 <limits.h> exists even on freestanding compilers. */
64922 #ifdef __STDC__
64923 # include <limits.h>
64924 #else
64925 # include <assert.h>
64926 #endif
64928 #undef $ac_func
64930 /* Override any gcc2 internal prototype to avoid an error. */
64931 #ifdef __cplusplus
64932 extern "C"
64934 #endif
64935 /* We use char because int might match the return type of a gcc2
64936 builtin and then its argument prototype would still apply. */
64937 char $ac_func ();
64938 /* The GNU C library defines this for functions which it implements
64939 to always fail with ENOSYS. Some functions are actually named
64940 something starting with __ and the normal name is an alias. */
64941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64942 choke me
64943 #else
64944 char (*f) () = $ac_func;
64945 #endif
64946 #ifdef __cplusplus
64948 #endif
64951 main ()
64953 return f != $ac_func;
64955 return 0;
64957 _ACEOF
64958 rm -f conftest.$ac_objext conftest$ac_exeext
64959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64960 (eval $ac_link) 2>conftest.er1
64961 ac_status=$?
64962 grep -v '^ *+' conftest.er1 >conftest.err
64963 rm -f conftest.er1
64964 cat conftest.err >&5
64965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64966 (exit $ac_status); } &&
64967 { ac_try='test -z "$ac_c_werror_flag"
64968 || test ! -s conftest.err'
64969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64970 (eval $ac_try) 2>&5
64971 ac_status=$?
64972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64973 (exit $ac_status); }; } &&
64974 { ac_try='test -s conftest$ac_exeext'
64975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64976 (eval $ac_try) 2>&5
64977 ac_status=$?
64978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64979 (exit $ac_status); }; }; then
64980 eval "$as_ac_var=yes"
64981 else
64982 echo "$as_me: failed program was:" >&5
64983 sed 's/^/| /' conftest.$ac_ext >&5
64985 eval "$as_ac_var=no"
64987 rm -f conftest.err conftest.$ac_objext \
64988 conftest$ac_exeext conftest.$ac_ext
64990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64992 if test `eval echo '${'$as_ac_var'}'` = yes; then
64993 cat >>confdefs.h <<_ACEOF
64994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64995 _ACEOF
64998 done
65016 echo "$as_me:$LINENO: checking for float round functions" >&5
65017 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
65018 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
65019 echo $ECHO_N "(cached) $ECHO_C" >&6
65020 else
65024 ac_ext=cc
65025 ac_cpp='$CXXCPP $CPPFLAGS'
65026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65030 cat >conftest.$ac_ext <<_ACEOF
65031 /* confdefs.h. */
65032 _ACEOF
65033 cat confdefs.h >>conftest.$ac_ext
65034 cat >>conftest.$ac_ext <<_ACEOF
65035 /* end confdefs.h. */
65036 #include <math.h>
65038 main ()
65040 ceilf (0); floorf (0);
65042 return 0;
65044 _ACEOF
65045 rm -f conftest.$ac_objext
65046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65047 (eval $ac_compile) 2>conftest.er1
65048 ac_status=$?
65049 grep -v '^ *+' conftest.er1 >conftest.err
65050 rm -f conftest.er1
65051 cat conftest.err >&5
65052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65053 (exit $ac_status); } &&
65054 { ac_try='test -z "$ac_cxx_werror_flag"
65055 || test ! -s conftest.err'
65056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65057 (eval $ac_try) 2>&5
65058 ac_status=$?
65059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65060 (exit $ac_status); }; } &&
65061 { ac_try='test -s conftest.$ac_objext'
65062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65063 (eval $ac_try) 2>&5
65064 ac_status=$?
65065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65066 (exit $ac_status); }; }; then
65067 glibcxx_cv_func_float_round_use=yes
65068 else
65069 echo "$as_me: failed program was:" >&5
65070 sed 's/^/| /' conftest.$ac_ext >&5
65072 glibcxx_cv_func_float_round_use=no
65074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65075 ac_ext=c
65076 ac_cpp='$CPP $CPPFLAGS'
65077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65083 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
65084 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
65085 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
65088 for ac_func in ceilf floorf
65090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65091 echo "$as_me:$LINENO: checking for $ac_func" >&5
65092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65093 if eval "test \"\${$as_ac_var+set}\" = set"; then
65094 echo $ECHO_N "(cached) $ECHO_C" >&6
65095 else
65096 if test x$gcc_no_link = xyes; then
65097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65099 { (exit 1); exit 1; }; }
65101 cat >conftest.$ac_ext <<_ACEOF
65102 /* confdefs.h. */
65103 _ACEOF
65104 cat confdefs.h >>conftest.$ac_ext
65105 cat >>conftest.$ac_ext <<_ACEOF
65106 /* end confdefs.h. */
65107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65109 #define $ac_func innocuous_$ac_func
65111 /* System header to define __stub macros and hopefully few prototypes,
65112 which can conflict with char $ac_func (); below.
65113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65114 <limits.h> exists even on freestanding compilers. */
65116 #ifdef __STDC__
65117 # include <limits.h>
65118 #else
65119 # include <assert.h>
65120 #endif
65122 #undef $ac_func
65124 /* Override any gcc2 internal prototype to avoid an error. */
65125 #ifdef __cplusplus
65126 extern "C"
65128 #endif
65129 /* We use char because int might match the return type of a gcc2
65130 builtin and then its argument prototype would still apply. */
65131 char $ac_func ();
65132 /* The GNU C library defines this for functions which it implements
65133 to always fail with ENOSYS. Some functions are actually named
65134 something starting with __ and the normal name is an alias. */
65135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65136 choke me
65137 #else
65138 char (*f) () = $ac_func;
65139 #endif
65140 #ifdef __cplusplus
65142 #endif
65145 main ()
65147 return f != $ac_func;
65149 return 0;
65151 _ACEOF
65152 rm -f conftest.$ac_objext conftest$ac_exeext
65153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65154 (eval $ac_link) 2>conftest.er1
65155 ac_status=$?
65156 grep -v '^ *+' conftest.er1 >conftest.err
65157 rm -f conftest.er1
65158 cat conftest.err >&5
65159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65160 (exit $ac_status); } &&
65161 { ac_try='test -z "$ac_c_werror_flag"
65162 || test ! -s conftest.err'
65163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65164 (eval $ac_try) 2>&5
65165 ac_status=$?
65166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65167 (exit $ac_status); }; } &&
65168 { ac_try='test -s conftest$ac_exeext'
65169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65170 (eval $ac_try) 2>&5
65171 ac_status=$?
65172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65173 (exit $ac_status); }; }; then
65174 eval "$as_ac_var=yes"
65175 else
65176 echo "$as_me: failed program was:" >&5
65177 sed 's/^/| /' conftest.$ac_ext >&5
65179 eval "$as_ac_var=no"
65181 rm -f conftest.err conftest.$ac_objext \
65182 conftest$ac_exeext conftest.$ac_ext
65184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65186 if test `eval echo '${'$as_ac_var'}'` = yes; then
65187 cat >>confdefs.h <<_ACEOF
65188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65189 _ACEOF
65192 done
65194 else
65195 echo "$as_me:$LINENO: checking for _float round functions" >&5
65196 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
65197 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
65198 echo $ECHO_N "(cached) $ECHO_C" >&6
65199 else
65203 ac_ext=cc
65204 ac_cpp='$CXXCPP $CPPFLAGS'
65205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65209 cat >conftest.$ac_ext <<_ACEOF
65210 /* confdefs.h. */
65211 _ACEOF
65212 cat confdefs.h >>conftest.$ac_ext
65213 cat >>conftest.$ac_ext <<_ACEOF
65214 /* end confdefs.h. */
65215 #include <math.h>
65217 main ()
65219 _ceilf (0); _floorf (0);
65221 return 0;
65223 _ACEOF
65224 rm -f conftest.$ac_objext
65225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65226 (eval $ac_compile) 2>conftest.er1
65227 ac_status=$?
65228 grep -v '^ *+' conftest.er1 >conftest.err
65229 rm -f conftest.er1
65230 cat conftest.err >&5
65231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65232 (exit $ac_status); } &&
65233 { ac_try='test -z "$ac_cxx_werror_flag"
65234 || test ! -s conftest.err'
65235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65236 (eval $ac_try) 2>&5
65237 ac_status=$?
65238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65239 (exit $ac_status); }; } &&
65240 { ac_try='test -s conftest.$ac_objext'
65241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65242 (eval $ac_try) 2>&5
65243 ac_status=$?
65244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65245 (exit $ac_status); }; }; then
65246 glibcxx_cv_func__float_round_use=yes
65247 else
65248 echo "$as_me: failed program was:" >&5
65249 sed 's/^/| /' conftest.$ac_ext >&5
65251 glibcxx_cv_func__float_round_use=no
65253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65254 ac_ext=c
65255 ac_cpp='$CPP $CPPFLAGS'
65256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65262 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
65263 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
65264 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
65267 for ac_func in _ceilf _floorf
65269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65270 echo "$as_me:$LINENO: checking for $ac_func" >&5
65271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65272 if eval "test \"\${$as_ac_var+set}\" = set"; then
65273 echo $ECHO_N "(cached) $ECHO_C" >&6
65274 else
65275 if test x$gcc_no_link = xyes; then
65276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65278 { (exit 1); exit 1; }; }
65280 cat >conftest.$ac_ext <<_ACEOF
65281 /* confdefs.h. */
65282 _ACEOF
65283 cat confdefs.h >>conftest.$ac_ext
65284 cat >>conftest.$ac_ext <<_ACEOF
65285 /* end confdefs.h. */
65286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65288 #define $ac_func innocuous_$ac_func
65290 /* System header to define __stub macros and hopefully few prototypes,
65291 which can conflict with char $ac_func (); below.
65292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65293 <limits.h> exists even on freestanding compilers. */
65295 #ifdef __STDC__
65296 # include <limits.h>
65297 #else
65298 # include <assert.h>
65299 #endif
65301 #undef $ac_func
65303 /* Override any gcc2 internal prototype to avoid an error. */
65304 #ifdef __cplusplus
65305 extern "C"
65307 #endif
65308 /* We use char because int might match the return type of a gcc2
65309 builtin and then its argument prototype would still apply. */
65310 char $ac_func ();
65311 /* The GNU C library defines this for functions which it implements
65312 to always fail with ENOSYS. Some functions are actually named
65313 something starting with __ and the normal name is an alias. */
65314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65315 choke me
65316 #else
65317 char (*f) () = $ac_func;
65318 #endif
65319 #ifdef __cplusplus
65321 #endif
65324 main ()
65326 return f != $ac_func;
65328 return 0;
65330 _ACEOF
65331 rm -f conftest.$ac_objext conftest$ac_exeext
65332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65333 (eval $ac_link) 2>conftest.er1
65334 ac_status=$?
65335 grep -v '^ *+' conftest.er1 >conftest.err
65336 rm -f conftest.er1
65337 cat conftest.err >&5
65338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65339 (exit $ac_status); } &&
65340 { ac_try='test -z "$ac_c_werror_flag"
65341 || test ! -s conftest.err'
65342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65343 (eval $ac_try) 2>&5
65344 ac_status=$?
65345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65346 (exit $ac_status); }; } &&
65347 { ac_try='test -s conftest$ac_exeext'
65348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65349 (eval $ac_try) 2>&5
65350 ac_status=$?
65351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65352 (exit $ac_status); }; }; then
65353 eval "$as_ac_var=yes"
65354 else
65355 echo "$as_me: failed program was:" >&5
65356 sed 's/^/| /' conftest.$ac_ext >&5
65358 eval "$as_ac_var=no"
65360 rm -f conftest.err conftest.$ac_objext \
65361 conftest$ac_exeext conftest.$ac_ext
65363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65365 if test `eval echo '${'$as_ac_var'}'` = yes; then
65366 cat >>confdefs.h <<_ACEOF
65367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65368 _ACEOF
65371 done
65383 echo "$as_me:$LINENO: checking for expf declaration" >&5
65384 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
65385 if test x${glibcxx_cv_func_expf_use+set} != xset; then
65386 if test "${glibcxx_cv_func_expf_use+set}" = set; then
65387 echo $ECHO_N "(cached) $ECHO_C" >&6
65388 else
65392 ac_ext=cc
65393 ac_cpp='$CXXCPP $CPPFLAGS'
65394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65398 cat >conftest.$ac_ext <<_ACEOF
65399 /* confdefs.h. */
65400 _ACEOF
65401 cat confdefs.h >>conftest.$ac_ext
65402 cat >>conftest.$ac_ext <<_ACEOF
65403 /* end confdefs.h. */
65404 #include <math.h>
65405 #ifdef HAVE_IEEEFP_H
65406 #include <ieeefp.h>
65407 #endif
65410 main ()
65412 expf(0);
65414 return 0;
65416 _ACEOF
65417 rm -f conftest.$ac_objext
65418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65419 (eval $ac_compile) 2>conftest.er1
65420 ac_status=$?
65421 grep -v '^ *+' conftest.er1 >conftest.err
65422 rm -f conftest.er1
65423 cat conftest.err >&5
65424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65425 (exit $ac_status); } &&
65426 { ac_try='test -z "$ac_cxx_werror_flag"
65427 || test ! -s conftest.err'
65428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65429 (eval $ac_try) 2>&5
65430 ac_status=$?
65431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65432 (exit $ac_status); }; } &&
65433 { ac_try='test -s conftest.$ac_objext'
65434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65435 (eval $ac_try) 2>&5
65436 ac_status=$?
65437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65438 (exit $ac_status); }; }; then
65439 glibcxx_cv_func_expf_use=yes
65440 else
65441 echo "$as_me: failed program was:" >&5
65442 sed 's/^/| /' conftest.$ac_ext >&5
65444 glibcxx_cv_func_expf_use=no
65446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65447 ac_ext=c
65448 ac_cpp='$CPP $CPPFLAGS'
65449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65457 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
65458 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
65460 if test x$glibcxx_cv_func_expf_use = x"yes"; then
65462 for ac_func in expf
65464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65465 echo "$as_me:$LINENO: checking for $ac_func" >&5
65466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65467 if eval "test \"\${$as_ac_var+set}\" = set"; then
65468 echo $ECHO_N "(cached) $ECHO_C" >&6
65469 else
65470 if test x$gcc_no_link = xyes; then
65471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65473 { (exit 1); exit 1; }; }
65475 cat >conftest.$ac_ext <<_ACEOF
65476 /* confdefs.h. */
65477 _ACEOF
65478 cat confdefs.h >>conftest.$ac_ext
65479 cat >>conftest.$ac_ext <<_ACEOF
65480 /* end confdefs.h. */
65481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65483 #define $ac_func innocuous_$ac_func
65485 /* System header to define __stub macros and hopefully few prototypes,
65486 which can conflict with char $ac_func (); below.
65487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65488 <limits.h> exists even on freestanding compilers. */
65490 #ifdef __STDC__
65491 # include <limits.h>
65492 #else
65493 # include <assert.h>
65494 #endif
65496 #undef $ac_func
65498 /* Override any gcc2 internal prototype to avoid an error. */
65499 #ifdef __cplusplus
65500 extern "C"
65502 #endif
65503 /* We use char because int might match the return type of a gcc2
65504 builtin and then its argument prototype would still apply. */
65505 char $ac_func ();
65506 /* The GNU C library defines this for functions which it implements
65507 to always fail with ENOSYS. Some functions are actually named
65508 something starting with __ and the normal name is an alias. */
65509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65510 choke me
65511 #else
65512 char (*f) () = $ac_func;
65513 #endif
65514 #ifdef __cplusplus
65516 #endif
65519 main ()
65521 return f != $ac_func;
65523 return 0;
65525 _ACEOF
65526 rm -f conftest.$ac_objext conftest$ac_exeext
65527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65528 (eval $ac_link) 2>conftest.er1
65529 ac_status=$?
65530 grep -v '^ *+' conftest.er1 >conftest.err
65531 rm -f conftest.er1
65532 cat conftest.err >&5
65533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65534 (exit $ac_status); } &&
65535 { ac_try='test -z "$ac_c_werror_flag"
65536 || test ! -s conftest.err'
65537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65538 (eval $ac_try) 2>&5
65539 ac_status=$?
65540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65541 (exit $ac_status); }; } &&
65542 { ac_try='test -s conftest$ac_exeext'
65543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65544 (eval $ac_try) 2>&5
65545 ac_status=$?
65546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65547 (exit $ac_status); }; }; then
65548 eval "$as_ac_var=yes"
65549 else
65550 echo "$as_me: failed program was:" >&5
65551 sed 's/^/| /' conftest.$ac_ext >&5
65553 eval "$as_ac_var=no"
65555 rm -f conftest.err conftest.$ac_objext \
65556 conftest$ac_exeext conftest.$ac_ext
65558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65560 if test `eval echo '${'$as_ac_var'}'` = yes; then
65561 cat >>confdefs.h <<_ACEOF
65562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65563 _ACEOF
65566 done
65568 else
65570 echo "$as_me:$LINENO: checking for _expf declaration" >&5
65571 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
65572 if test x${glibcxx_cv_func__expf_use+set} != xset; then
65573 if test "${glibcxx_cv_func__expf_use+set}" = set; then
65574 echo $ECHO_N "(cached) $ECHO_C" >&6
65575 else
65579 ac_ext=cc
65580 ac_cpp='$CXXCPP $CPPFLAGS'
65581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65585 cat >conftest.$ac_ext <<_ACEOF
65586 /* confdefs.h. */
65587 _ACEOF
65588 cat confdefs.h >>conftest.$ac_ext
65589 cat >>conftest.$ac_ext <<_ACEOF
65590 /* end confdefs.h. */
65591 #include <math.h>
65592 #ifdef HAVE_IEEEFP_H
65593 #include <ieeefp.h>
65594 #endif
65597 main ()
65599 _expf(0);
65601 return 0;
65603 _ACEOF
65604 rm -f conftest.$ac_objext
65605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65606 (eval $ac_compile) 2>conftest.er1
65607 ac_status=$?
65608 grep -v '^ *+' conftest.er1 >conftest.err
65609 rm -f conftest.er1
65610 cat conftest.err >&5
65611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65612 (exit $ac_status); } &&
65613 { ac_try='test -z "$ac_cxx_werror_flag"
65614 || test ! -s conftest.err'
65615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65616 (eval $ac_try) 2>&5
65617 ac_status=$?
65618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65619 (exit $ac_status); }; } &&
65620 { ac_try='test -s conftest.$ac_objext'
65621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65622 (eval $ac_try) 2>&5
65623 ac_status=$?
65624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65625 (exit $ac_status); }; }; then
65626 glibcxx_cv_func__expf_use=yes
65627 else
65628 echo "$as_me: failed program was:" >&5
65629 sed 's/^/| /' conftest.$ac_ext >&5
65631 glibcxx_cv_func__expf_use=no
65633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65634 ac_ext=c
65635 ac_cpp='$CPP $CPPFLAGS'
65636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65644 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
65645 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
65647 if test x$glibcxx_cv_func__expf_use = x"yes"; then
65649 for ac_func in _expf
65651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65652 echo "$as_me:$LINENO: checking for $ac_func" >&5
65653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65654 if eval "test \"\${$as_ac_var+set}\" = set"; then
65655 echo $ECHO_N "(cached) $ECHO_C" >&6
65656 else
65657 if test x$gcc_no_link = xyes; then
65658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65660 { (exit 1); exit 1; }; }
65662 cat >conftest.$ac_ext <<_ACEOF
65663 /* confdefs.h. */
65664 _ACEOF
65665 cat confdefs.h >>conftest.$ac_ext
65666 cat >>conftest.$ac_ext <<_ACEOF
65667 /* end confdefs.h. */
65668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65670 #define $ac_func innocuous_$ac_func
65672 /* System header to define __stub macros and hopefully few prototypes,
65673 which can conflict with char $ac_func (); below.
65674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65675 <limits.h> exists even on freestanding compilers. */
65677 #ifdef __STDC__
65678 # include <limits.h>
65679 #else
65680 # include <assert.h>
65681 #endif
65683 #undef $ac_func
65685 /* Override any gcc2 internal prototype to avoid an error. */
65686 #ifdef __cplusplus
65687 extern "C"
65689 #endif
65690 /* We use char because int might match the return type of a gcc2
65691 builtin and then its argument prototype would still apply. */
65692 char $ac_func ();
65693 /* The GNU C library defines this for functions which it implements
65694 to always fail with ENOSYS. Some functions are actually named
65695 something starting with __ and the normal name is an alias. */
65696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65697 choke me
65698 #else
65699 char (*f) () = $ac_func;
65700 #endif
65701 #ifdef __cplusplus
65703 #endif
65706 main ()
65708 return f != $ac_func;
65710 return 0;
65712 _ACEOF
65713 rm -f conftest.$ac_objext conftest$ac_exeext
65714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65715 (eval $ac_link) 2>conftest.er1
65716 ac_status=$?
65717 grep -v '^ *+' conftest.er1 >conftest.err
65718 rm -f conftest.er1
65719 cat conftest.err >&5
65720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65721 (exit $ac_status); } &&
65722 { ac_try='test -z "$ac_c_werror_flag"
65723 || test ! -s conftest.err'
65724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65725 (eval $ac_try) 2>&5
65726 ac_status=$?
65727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65728 (exit $ac_status); }; } &&
65729 { ac_try='test -s conftest$ac_exeext'
65730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65731 (eval $ac_try) 2>&5
65732 ac_status=$?
65733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65734 (exit $ac_status); }; }; then
65735 eval "$as_ac_var=yes"
65736 else
65737 echo "$as_me: failed program was:" >&5
65738 sed 's/^/| /' conftest.$ac_ext >&5
65740 eval "$as_ac_var=no"
65742 rm -f conftest.err conftest.$ac_objext \
65743 conftest$ac_exeext conftest.$ac_ext
65745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65747 if test `eval echo '${'$as_ac_var'}'` = yes; then
65748 cat >>confdefs.h <<_ACEOF
65749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65750 _ACEOF
65753 done
65763 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
65764 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
65765 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65766 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
65767 echo $ECHO_N "(cached) $ECHO_C" >&6
65768 else
65772 ac_ext=cc
65773 ac_cpp='$CXXCPP $CPPFLAGS'
65774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65778 cat >conftest.$ac_ext <<_ACEOF
65779 /* confdefs.h. */
65780 _ACEOF
65781 cat confdefs.h >>conftest.$ac_ext
65782 cat >>conftest.$ac_ext <<_ACEOF
65783 /* end confdefs.h. */
65784 #include <math.h>
65785 #ifdef HAVE_IEEEFP_H
65786 #include <ieeefp.h>
65787 #endif
65790 main ()
65792 isnanf(0);
65794 return 0;
65796 _ACEOF
65797 rm -f conftest.$ac_objext
65798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65799 (eval $ac_compile) 2>conftest.er1
65800 ac_status=$?
65801 grep -v '^ *+' conftest.er1 >conftest.err
65802 rm -f conftest.er1
65803 cat conftest.err >&5
65804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65805 (exit $ac_status); } &&
65806 { ac_try='test -z "$ac_cxx_werror_flag"
65807 || test ! -s conftest.err'
65808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65809 (eval $ac_try) 2>&5
65810 ac_status=$?
65811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65812 (exit $ac_status); }; } &&
65813 { ac_try='test -s conftest.$ac_objext'
65814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65815 (eval $ac_try) 2>&5
65816 ac_status=$?
65817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65818 (exit $ac_status); }; }; then
65819 glibcxx_cv_func_isnanf_use=yes
65820 else
65821 echo "$as_me: failed program was:" >&5
65822 sed 's/^/| /' conftest.$ac_ext >&5
65824 glibcxx_cv_func_isnanf_use=no
65826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65827 ac_ext=c
65828 ac_cpp='$CPP $CPPFLAGS'
65829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65837 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
65838 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
65840 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65842 for ac_func in isnanf
65844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65845 echo "$as_me:$LINENO: checking for $ac_func" >&5
65846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65847 if eval "test \"\${$as_ac_var+set}\" = set"; then
65848 echo $ECHO_N "(cached) $ECHO_C" >&6
65849 else
65850 if test x$gcc_no_link = xyes; then
65851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65853 { (exit 1); exit 1; }; }
65855 cat >conftest.$ac_ext <<_ACEOF
65856 /* confdefs.h. */
65857 _ACEOF
65858 cat confdefs.h >>conftest.$ac_ext
65859 cat >>conftest.$ac_ext <<_ACEOF
65860 /* end confdefs.h. */
65861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65863 #define $ac_func innocuous_$ac_func
65865 /* System header to define __stub macros and hopefully few prototypes,
65866 which can conflict with char $ac_func (); below.
65867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65868 <limits.h> exists even on freestanding compilers. */
65870 #ifdef __STDC__
65871 # include <limits.h>
65872 #else
65873 # include <assert.h>
65874 #endif
65876 #undef $ac_func
65878 /* Override any gcc2 internal prototype to avoid an error. */
65879 #ifdef __cplusplus
65880 extern "C"
65882 #endif
65883 /* We use char because int might match the return type of a gcc2
65884 builtin and then its argument prototype would still apply. */
65885 char $ac_func ();
65886 /* The GNU C library defines this for functions which it implements
65887 to always fail with ENOSYS. Some functions are actually named
65888 something starting with __ and the normal name is an alias. */
65889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65890 choke me
65891 #else
65892 char (*f) () = $ac_func;
65893 #endif
65894 #ifdef __cplusplus
65896 #endif
65899 main ()
65901 return f != $ac_func;
65903 return 0;
65905 _ACEOF
65906 rm -f conftest.$ac_objext conftest$ac_exeext
65907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65908 (eval $ac_link) 2>conftest.er1
65909 ac_status=$?
65910 grep -v '^ *+' conftest.er1 >conftest.err
65911 rm -f conftest.er1
65912 cat conftest.err >&5
65913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65914 (exit $ac_status); } &&
65915 { ac_try='test -z "$ac_c_werror_flag"
65916 || test ! -s conftest.err'
65917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65918 (eval $ac_try) 2>&5
65919 ac_status=$?
65920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65921 (exit $ac_status); }; } &&
65922 { ac_try='test -s conftest$ac_exeext'
65923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65924 (eval $ac_try) 2>&5
65925 ac_status=$?
65926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65927 (exit $ac_status); }; }; then
65928 eval "$as_ac_var=yes"
65929 else
65930 echo "$as_me: failed program was:" >&5
65931 sed 's/^/| /' conftest.$ac_ext >&5
65933 eval "$as_ac_var=no"
65935 rm -f conftest.err conftest.$ac_objext \
65936 conftest$ac_exeext conftest.$ac_ext
65938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65940 if test `eval echo '${'$as_ac_var'}'` = yes; then
65941 cat >>confdefs.h <<_ACEOF
65942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65943 _ACEOF
65946 done
65948 else
65950 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
65951 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
65952 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65953 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
65954 echo $ECHO_N "(cached) $ECHO_C" >&6
65955 else
65959 ac_ext=cc
65960 ac_cpp='$CXXCPP $CPPFLAGS'
65961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65965 cat >conftest.$ac_ext <<_ACEOF
65966 /* confdefs.h. */
65967 _ACEOF
65968 cat confdefs.h >>conftest.$ac_ext
65969 cat >>conftest.$ac_ext <<_ACEOF
65970 /* end confdefs.h. */
65971 #include <math.h>
65972 #ifdef HAVE_IEEEFP_H
65973 #include <ieeefp.h>
65974 #endif
65977 main ()
65979 _isnanf(0);
65981 return 0;
65983 _ACEOF
65984 rm -f conftest.$ac_objext
65985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65986 (eval $ac_compile) 2>conftest.er1
65987 ac_status=$?
65988 grep -v '^ *+' conftest.er1 >conftest.err
65989 rm -f conftest.er1
65990 cat conftest.err >&5
65991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65992 (exit $ac_status); } &&
65993 { ac_try='test -z "$ac_cxx_werror_flag"
65994 || test ! -s conftest.err'
65995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65996 (eval $ac_try) 2>&5
65997 ac_status=$?
65998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65999 (exit $ac_status); }; } &&
66000 { ac_try='test -s conftest.$ac_objext'
66001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66002 (eval $ac_try) 2>&5
66003 ac_status=$?
66004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66005 (exit $ac_status); }; }; then
66006 glibcxx_cv_func__isnanf_use=yes
66007 else
66008 echo "$as_me: failed program was:" >&5
66009 sed 's/^/| /' conftest.$ac_ext >&5
66011 glibcxx_cv_func__isnanf_use=no
66013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66014 ac_ext=c
66015 ac_cpp='$CPP $CPPFLAGS'
66016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66024 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
66025 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
66027 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66029 for ac_func in _isnanf
66031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66032 echo "$as_me:$LINENO: checking for $ac_func" >&5
66033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66034 if eval "test \"\${$as_ac_var+set}\" = set"; then
66035 echo $ECHO_N "(cached) $ECHO_C" >&6
66036 else
66037 if test x$gcc_no_link = xyes; then
66038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66040 { (exit 1); exit 1; }; }
66042 cat >conftest.$ac_ext <<_ACEOF
66043 /* confdefs.h. */
66044 _ACEOF
66045 cat confdefs.h >>conftest.$ac_ext
66046 cat >>conftest.$ac_ext <<_ACEOF
66047 /* end confdefs.h. */
66048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66050 #define $ac_func innocuous_$ac_func
66052 /* System header to define __stub macros and hopefully few prototypes,
66053 which can conflict with char $ac_func (); below.
66054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66055 <limits.h> exists even on freestanding compilers. */
66057 #ifdef __STDC__
66058 # include <limits.h>
66059 #else
66060 # include <assert.h>
66061 #endif
66063 #undef $ac_func
66065 /* Override any gcc2 internal prototype to avoid an error. */
66066 #ifdef __cplusplus
66067 extern "C"
66069 #endif
66070 /* We use char because int might match the return type of a gcc2
66071 builtin and then its argument prototype would still apply. */
66072 char $ac_func ();
66073 /* The GNU C library defines this for functions which it implements
66074 to always fail with ENOSYS. Some functions are actually named
66075 something starting with __ and the normal name is an alias. */
66076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66077 choke me
66078 #else
66079 char (*f) () = $ac_func;
66080 #endif
66081 #ifdef __cplusplus
66083 #endif
66086 main ()
66088 return f != $ac_func;
66090 return 0;
66092 _ACEOF
66093 rm -f conftest.$ac_objext conftest$ac_exeext
66094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66095 (eval $ac_link) 2>conftest.er1
66096 ac_status=$?
66097 grep -v '^ *+' conftest.er1 >conftest.err
66098 rm -f conftest.er1
66099 cat conftest.err >&5
66100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66101 (exit $ac_status); } &&
66102 { ac_try='test -z "$ac_c_werror_flag"
66103 || test ! -s conftest.err'
66104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66105 (eval $ac_try) 2>&5
66106 ac_status=$?
66107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66108 (exit $ac_status); }; } &&
66109 { ac_try='test -s conftest$ac_exeext'
66110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66111 (eval $ac_try) 2>&5
66112 ac_status=$?
66113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66114 (exit $ac_status); }; }; then
66115 eval "$as_ac_var=yes"
66116 else
66117 echo "$as_me: failed program was:" >&5
66118 sed 's/^/| /' conftest.$ac_ext >&5
66120 eval "$as_ac_var=no"
66122 rm -f conftest.err conftest.$ac_objext \
66123 conftest$ac_exeext conftest.$ac_ext
66125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66127 if test `eval echo '${'$as_ac_var'}'` = yes; then
66128 cat >>confdefs.h <<_ACEOF
66129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66130 _ACEOF
66133 done
66143 echo "$as_me:$LINENO: checking for isinff declaration" >&5
66144 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
66145 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66146 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
66147 echo $ECHO_N "(cached) $ECHO_C" >&6
66148 else
66152 ac_ext=cc
66153 ac_cpp='$CXXCPP $CPPFLAGS'
66154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66158 cat >conftest.$ac_ext <<_ACEOF
66159 /* confdefs.h. */
66160 _ACEOF
66161 cat confdefs.h >>conftest.$ac_ext
66162 cat >>conftest.$ac_ext <<_ACEOF
66163 /* end confdefs.h. */
66164 #include <math.h>
66165 #ifdef HAVE_IEEEFP_H
66166 #include <ieeefp.h>
66167 #endif
66170 main ()
66172 isinff(0);
66174 return 0;
66176 _ACEOF
66177 rm -f conftest.$ac_objext
66178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66179 (eval $ac_compile) 2>conftest.er1
66180 ac_status=$?
66181 grep -v '^ *+' conftest.er1 >conftest.err
66182 rm -f conftest.er1
66183 cat conftest.err >&5
66184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66185 (exit $ac_status); } &&
66186 { ac_try='test -z "$ac_cxx_werror_flag"
66187 || test ! -s conftest.err'
66188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66189 (eval $ac_try) 2>&5
66190 ac_status=$?
66191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66192 (exit $ac_status); }; } &&
66193 { ac_try='test -s conftest.$ac_objext'
66194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66195 (eval $ac_try) 2>&5
66196 ac_status=$?
66197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66198 (exit $ac_status); }; }; then
66199 glibcxx_cv_func_isinff_use=yes
66200 else
66201 echo "$as_me: failed program was:" >&5
66202 sed 's/^/| /' conftest.$ac_ext >&5
66204 glibcxx_cv_func_isinff_use=no
66206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66207 ac_ext=c
66208 ac_cpp='$CPP $CPPFLAGS'
66209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66217 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
66218 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
66220 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66222 for ac_func in isinff
66224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66225 echo "$as_me:$LINENO: checking for $ac_func" >&5
66226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66227 if eval "test \"\${$as_ac_var+set}\" = set"; then
66228 echo $ECHO_N "(cached) $ECHO_C" >&6
66229 else
66230 if test x$gcc_no_link = xyes; then
66231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66233 { (exit 1); exit 1; }; }
66235 cat >conftest.$ac_ext <<_ACEOF
66236 /* confdefs.h. */
66237 _ACEOF
66238 cat confdefs.h >>conftest.$ac_ext
66239 cat >>conftest.$ac_ext <<_ACEOF
66240 /* end confdefs.h. */
66241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66243 #define $ac_func innocuous_$ac_func
66245 /* System header to define __stub macros and hopefully few prototypes,
66246 which can conflict with char $ac_func (); below.
66247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66248 <limits.h> exists even on freestanding compilers. */
66250 #ifdef __STDC__
66251 # include <limits.h>
66252 #else
66253 # include <assert.h>
66254 #endif
66256 #undef $ac_func
66258 /* Override any gcc2 internal prototype to avoid an error. */
66259 #ifdef __cplusplus
66260 extern "C"
66262 #endif
66263 /* We use char because int might match the return type of a gcc2
66264 builtin and then its argument prototype would still apply. */
66265 char $ac_func ();
66266 /* The GNU C library defines this for functions which it implements
66267 to always fail with ENOSYS. Some functions are actually named
66268 something starting with __ and the normal name is an alias. */
66269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66270 choke me
66271 #else
66272 char (*f) () = $ac_func;
66273 #endif
66274 #ifdef __cplusplus
66276 #endif
66279 main ()
66281 return f != $ac_func;
66283 return 0;
66285 _ACEOF
66286 rm -f conftest.$ac_objext conftest$ac_exeext
66287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66288 (eval $ac_link) 2>conftest.er1
66289 ac_status=$?
66290 grep -v '^ *+' conftest.er1 >conftest.err
66291 rm -f conftest.er1
66292 cat conftest.err >&5
66293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66294 (exit $ac_status); } &&
66295 { ac_try='test -z "$ac_c_werror_flag"
66296 || test ! -s conftest.err'
66297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66298 (eval $ac_try) 2>&5
66299 ac_status=$?
66300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66301 (exit $ac_status); }; } &&
66302 { ac_try='test -s conftest$ac_exeext'
66303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66304 (eval $ac_try) 2>&5
66305 ac_status=$?
66306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66307 (exit $ac_status); }; }; then
66308 eval "$as_ac_var=yes"
66309 else
66310 echo "$as_me: failed program was:" >&5
66311 sed 's/^/| /' conftest.$ac_ext >&5
66313 eval "$as_ac_var=no"
66315 rm -f conftest.err conftest.$ac_objext \
66316 conftest$ac_exeext conftest.$ac_ext
66318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66320 if test `eval echo '${'$as_ac_var'}'` = yes; then
66321 cat >>confdefs.h <<_ACEOF
66322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66323 _ACEOF
66326 done
66328 else
66330 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
66331 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
66332 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66333 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
66334 echo $ECHO_N "(cached) $ECHO_C" >&6
66335 else
66339 ac_ext=cc
66340 ac_cpp='$CXXCPP $CPPFLAGS'
66341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66345 cat >conftest.$ac_ext <<_ACEOF
66346 /* confdefs.h. */
66347 _ACEOF
66348 cat confdefs.h >>conftest.$ac_ext
66349 cat >>conftest.$ac_ext <<_ACEOF
66350 /* end confdefs.h. */
66351 #include <math.h>
66352 #ifdef HAVE_IEEEFP_H
66353 #include <ieeefp.h>
66354 #endif
66357 main ()
66359 _isinff(0);
66361 return 0;
66363 _ACEOF
66364 rm -f conftest.$ac_objext
66365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66366 (eval $ac_compile) 2>conftest.er1
66367 ac_status=$?
66368 grep -v '^ *+' conftest.er1 >conftest.err
66369 rm -f conftest.er1
66370 cat conftest.err >&5
66371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66372 (exit $ac_status); } &&
66373 { ac_try='test -z "$ac_cxx_werror_flag"
66374 || test ! -s conftest.err'
66375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66376 (eval $ac_try) 2>&5
66377 ac_status=$?
66378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66379 (exit $ac_status); }; } &&
66380 { ac_try='test -s conftest.$ac_objext'
66381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66382 (eval $ac_try) 2>&5
66383 ac_status=$?
66384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66385 (exit $ac_status); }; }; then
66386 glibcxx_cv_func__isinff_use=yes
66387 else
66388 echo "$as_me: failed program was:" >&5
66389 sed 's/^/| /' conftest.$ac_ext >&5
66391 glibcxx_cv_func__isinff_use=no
66393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66394 ac_ext=c
66395 ac_cpp='$CPP $CPPFLAGS'
66396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66404 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
66405 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
66407 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66409 for ac_func in _isinff
66411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66412 echo "$as_me:$LINENO: checking for $ac_func" >&5
66413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66414 if eval "test \"\${$as_ac_var+set}\" = set"; then
66415 echo $ECHO_N "(cached) $ECHO_C" >&6
66416 else
66417 if test x$gcc_no_link = xyes; then
66418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66420 { (exit 1); exit 1; }; }
66422 cat >conftest.$ac_ext <<_ACEOF
66423 /* confdefs.h. */
66424 _ACEOF
66425 cat confdefs.h >>conftest.$ac_ext
66426 cat >>conftest.$ac_ext <<_ACEOF
66427 /* end confdefs.h. */
66428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66430 #define $ac_func innocuous_$ac_func
66432 /* System header to define __stub macros and hopefully few prototypes,
66433 which can conflict with char $ac_func (); below.
66434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66435 <limits.h> exists even on freestanding compilers. */
66437 #ifdef __STDC__
66438 # include <limits.h>
66439 #else
66440 # include <assert.h>
66441 #endif
66443 #undef $ac_func
66445 /* Override any gcc2 internal prototype to avoid an error. */
66446 #ifdef __cplusplus
66447 extern "C"
66449 #endif
66450 /* We use char because int might match the return type of a gcc2
66451 builtin and then its argument prototype would still apply. */
66452 char $ac_func ();
66453 /* The GNU C library defines this for functions which it implements
66454 to always fail with ENOSYS. Some functions are actually named
66455 something starting with __ and the normal name is an alias. */
66456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66457 choke me
66458 #else
66459 char (*f) () = $ac_func;
66460 #endif
66461 #ifdef __cplusplus
66463 #endif
66466 main ()
66468 return f != $ac_func;
66470 return 0;
66472 _ACEOF
66473 rm -f conftest.$ac_objext conftest$ac_exeext
66474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66475 (eval $ac_link) 2>conftest.er1
66476 ac_status=$?
66477 grep -v '^ *+' conftest.er1 >conftest.err
66478 rm -f conftest.er1
66479 cat conftest.err >&5
66480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66481 (exit $ac_status); } &&
66482 { ac_try='test -z "$ac_c_werror_flag"
66483 || test ! -s conftest.err'
66484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66485 (eval $ac_try) 2>&5
66486 ac_status=$?
66487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66488 (exit $ac_status); }; } &&
66489 { ac_try='test -s conftest$ac_exeext'
66490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66491 (eval $ac_try) 2>&5
66492 ac_status=$?
66493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66494 (exit $ac_status); }; }; then
66495 eval "$as_ac_var=yes"
66496 else
66497 echo "$as_me: failed program was:" >&5
66498 sed 's/^/| /' conftest.$ac_ext >&5
66500 eval "$as_ac_var=no"
66502 rm -f conftest.err conftest.$ac_objext \
66503 conftest$ac_exeext conftest.$ac_ext
66505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66507 if test `eval echo '${'$as_ac_var'}'` = yes; then
66508 cat >>confdefs.h <<_ACEOF
66509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66510 _ACEOF
66513 done
66523 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
66524 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
66525 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66526 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
66527 echo $ECHO_N "(cached) $ECHO_C" >&6
66528 else
66532 ac_ext=cc
66533 ac_cpp='$CXXCPP $CPPFLAGS'
66534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66538 cat >conftest.$ac_ext <<_ACEOF
66539 /* confdefs.h. */
66540 _ACEOF
66541 cat confdefs.h >>conftest.$ac_ext
66542 cat >>conftest.$ac_ext <<_ACEOF
66543 /* end confdefs.h. */
66544 #include <math.h>
66546 main ()
66548 atan2f(0, 0);
66550 return 0;
66552 _ACEOF
66553 rm -f conftest.$ac_objext
66554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66555 (eval $ac_compile) 2>conftest.er1
66556 ac_status=$?
66557 grep -v '^ *+' conftest.er1 >conftest.err
66558 rm -f conftest.er1
66559 cat conftest.err >&5
66560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66561 (exit $ac_status); } &&
66562 { ac_try='test -z "$ac_cxx_werror_flag"
66563 || test ! -s conftest.err'
66564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66565 (eval $ac_try) 2>&5
66566 ac_status=$?
66567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66568 (exit $ac_status); }; } &&
66569 { ac_try='test -s conftest.$ac_objext'
66570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66571 (eval $ac_try) 2>&5
66572 ac_status=$?
66573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66574 (exit $ac_status); }; }; then
66575 glibcxx_cv_func_atan2f_use=yes
66576 else
66577 echo "$as_me: failed program was:" >&5
66578 sed 's/^/| /' conftest.$ac_ext >&5
66580 glibcxx_cv_func_atan2f_use=no
66582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66583 ac_ext=c
66584 ac_cpp='$CPP $CPPFLAGS'
66585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66593 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
66594 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
66596 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66598 for ac_func in atan2f
66600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66601 echo "$as_me:$LINENO: checking for $ac_func" >&5
66602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66603 if eval "test \"\${$as_ac_var+set}\" = set"; then
66604 echo $ECHO_N "(cached) $ECHO_C" >&6
66605 else
66606 if test x$gcc_no_link = xyes; then
66607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66609 { (exit 1); exit 1; }; }
66611 cat >conftest.$ac_ext <<_ACEOF
66612 /* confdefs.h. */
66613 _ACEOF
66614 cat confdefs.h >>conftest.$ac_ext
66615 cat >>conftest.$ac_ext <<_ACEOF
66616 /* end confdefs.h. */
66617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66619 #define $ac_func innocuous_$ac_func
66621 /* System header to define __stub macros and hopefully few prototypes,
66622 which can conflict with char $ac_func (); below.
66623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66624 <limits.h> exists even on freestanding compilers. */
66626 #ifdef __STDC__
66627 # include <limits.h>
66628 #else
66629 # include <assert.h>
66630 #endif
66632 #undef $ac_func
66634 /* Override any gcc2 internal prototype to avoid an error. */
66635 #ifdef __cplusplus
66636 extern "C"
66638 #endif
66639 /* We use char because int might match the return type of a gcc2
66640 builtin and then its argument prototype would still apply. */
66641 char $ac_func ();
66642 /* The GNU C library defines this for functions which it implements
66643 to always fail with ENOSYS. Some functions are actually named
66644 something starting with __ and the normal name is an alias. */
66645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66646 choke me
66647 #else
66648 char (*f) () = $ac_func;
66649 #endif
66650 #ifdef __cplusplus
66652 #endif
66655 main ()
66657 return f != $ac_func;
66659 return 0;
66661 _ACEOF
66662 rm -f conftest.$ac_objext conftest$ac_exeext
66663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66664 (eval $ac_link) 2>conftest.er1
66665 ac_status=$?
66666 grep -v '^ *+' conftest.er1 >conftest.err
66667 rm -f conftest.er1
66668 cat conftest.err >&5
66669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66670 (exit $ac_status); } &&
66671 { ac_try='test -z "$ac_c_werror_flag"
66672 || test ! -s conftest.err'
66673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66674 (eval $ac_try) 2>&5
66675 ac_status=$?
66676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66677 (exit $ac_status); }; } &&
66678 { ac_try='test -s conftest$ac_exeext'
66679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66680 (eval $ac_try) 2>&5
66681 ac_status=$?
66682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66683 (exit $ac_status); }; }; then
66684 eval "$as_ac_var=yes"
66685 else
66686 echo "$as_me: failed program was:" >&5
66687 sed 's/^/| /' conftest.$ac_ext >&5
66689 eval "$as_ac_var=no"
66691 rm -f conftest.err conftest.$ac_objext \
66692 conftest$ac_exeext conftest.$ac_ext
66694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66696 if test `eval echo '${'$as_ac_var'}'` = yes; then
66697 cat >>confdefs.h <<_ACEOF
66698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66699 _ACEOF
66702 done
66704 else
66706 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
66707 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
66708 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66709 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
66710 echo $ECHO_N "(cached) $ECHO_C" >&6
66711 else
66715 ac_ext=cc
66716 ac_cpp='$CXXCPP $CPPFLAGS'
66717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66721 cat >conftest.$ac_ext <<_ACEOF
66722 /* confdefs.h. */
66723 _ACEOF
66724 cat confdefs.h >>conftest.$ac_ext
66725 cat >>conftest.$ac_ext <<_ACEOF
66726 /* end confdefs.h. */
66727 #include <math.h>
66729 main ()
66731 _atan2f(0, 0);
66733 return 0;
66735 _ACEOF
66736 rm -f conftest.$ac_objext
66737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66738 (eval $ac_compile) 2>conftest.er1
66739 ac_status=$?
66740 grep -v '^ *+' conftest.er1 >conftest.err
66741 rm -f conftest.er1
66742 cat conftest.err >&5
66743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66744 (exit $ac_status); } &&
66745 { ac_try='test -z "$ac_cxx_werror_flag"
66746 || test ! -s conftest.err'
66747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66748 (eval $ac_try) 2>&5
66749 ac_status=$?
66750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66751 (exit $ac_status); }; } &&
66752 { ac_try='test -s conftest.$ac_objext'
66753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66754 (eval $ac_try) 2>&5
66755 ac_status=$?
66756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66757 (exit $ac_status); }; }; then
66758 glibcxx_cv_func__atan2f_use=yes
66759 else
66760 echo "$as_me: failed program was:" >&5
66761 sed 's/^/| /' conftest.$ac_ext >&5
66763 glibcxx_cv_func__atan2f_use=no
66765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66766 ac_ext=c
66767 ac_cpp='$CPP $CPPFLAGS'
66768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66776 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
66777 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
66779 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66781 for ac_func in _atan2f
66783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66784 echo "$as_me:$LINENO: checking for $ac_func" >&5
66785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66786 if eval "test \"\${$as_ac_var+set}\" = set"; then
66787 echo $ECHO_N "(cached) $ECHO_C" >&6
66788 else
66789 if test x$gcc_no_link = xyes; then
66790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66792 { (exit 1); exit 1; }; }
66794 cat >conftest.$ac_ext <<_ACEOF
66795 /* confdefs.h. */
66796 _ACEOF
66797 cat confdefs.h >>conftest.$ac_ext
66798 cat >>conftest.$ac_ext <<_ACEOF
66799 /* end confdefs.h. */
66800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66802 #define $ac_func innocuous_$ac_func
66804 /* System header to define __stub macros and hopefully few prototypes,
66805 which can conflict with char $ac_func (); below.
66806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66807 <limits.h> exists even on freestanding compilers. */
66809 #ifdef __STDC__
66810 # include <limits.h>
66811 #else
66812 # include <assert.h>
66813 #endif
66815 #undef $ac_func
66817 /* Override any gcc2 internal prototype to avoid an error. */
66818 #ifdef __cplusplus
66819 extern "C"
66821 #endif
66822 /* We use char because int might match the return type of a gcc2
66823 builtin and then its argument prototype would still apply. */
66824 char $ac_func ();
66825 /* The GNU C library defines this for functions which it implements
66826 to always fail with ENOSYS. Some functions are actually named
66827 something starting with __ and the normal name is an alias. */
66828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66829 choke me
66830 #else
66831 char (*f) () = $ac_func;
66832 #endif
66833 #ifdef __cplusplus
66835 #endif
66838 main ()
66840 return f != $ac_func;
66842 return 0;
66844 _ACEOF
66845 rm -f conftest.$ac_objext conftest$ac_exeext
66846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66847 (eval $ac_link) 2>conftest.er1
66848 ac_status=$?
66849 grep -v '^ *+' conftest.er1 >conftest.err
66850 rm -f conftest.er1
66851 cat conftest.err >&5
66852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66853 (exit $ac_status); } &&
66854 { ac_try='test -z "$ac_c_werror_flag"
66855 || test ! -s conftest.err'
66856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66857 (eval $ac_try) 2>&5
66858 ac_status=$?
66859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66860 (exit $ac_status); }; } &&
66861 { ac_try='test -s conftest$ac_exeext'
66862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66863 (eval $ac_try) 2>&5
66864 ac_status=$?
66865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66866 (exit $ac_status); }; }; then
66867 eval "$as_ac_var=yes"
66868 else
66869 echo "$as_me: failed program was:" >&5
66870 sed 's/^/| /' conftest.$ac_ext >&5
66872 eval "$as_ac_var=no"
66874 rm -f conftest.err conftest.$ac_objext \
66875 conftest$ac_exeext conftest.$ac_ext
66877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66879 if test `eval echo '${'$as_ac_var'}'` = yes; then
66880 cat >>confdefs.h <<_ACEOF
66881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66882 _ACEOF
66885 done
66895 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
66896 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
66897 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66898 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
66899 echo $ECHO_N "(cached) $ECHO_C" >&6
66900 else
66904 ac_ext=cc
66905 ac_cpp='$CXXCPP $CPPFLAGS'
66906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66910 cat >conftest.$ac_ext <<_ACEOF
66911 /* confdefs.h. */
66912 _ACEOF
66913 cat confdefs.h >>conftest.$ac_ext
66914 cat >>conftest.$ac_ext <<_ACEOF
66915 /* end confdefs.h. */
66916 #include <math.h>
66917 #ifdef HAVE_IEEEFP_H
66918 #include <ieeefp.h>
66919 #endif
66922 main ()
66924 fabsf(0);
66926 return 0;
66928 _ACEOF
66929 rm -f conftest.$ac_objext
66930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66931 (eval $ac_compile) 2>conftest.er1
66932 ac_status=$?
66933 grep -v '^ *+' conftest.er1 >conftest.err
66934 rm -f conftest.er1
66935 cat conftest.err >&5
66936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66937 (exit $ac_status); } &&
66938 { ac_try='test -z "$ac_cxx_werror_flag"
66939 || test ! -s conftest.err'
66940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66941 (eval $ac_try) 2>&5
66942 ac_status=$?
66943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66944 (exit $ac_status); }; } &&
66945 { ac_try='test -s conftest.$ac_objext'
66946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66947 (eval $ac_try) 2>&5
66948 ac_status=$?
66949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66950 (exit $ac_status); }; }; then
66951 glibcxx_cv_func_fabsf_use=yes
66952 else
66953 echo "$as_me: failed program was:" >&5
66954 sed 's/^/| /' conftest.$ac_ext >&5
66956 glibcxx_cv_func_fabsf_use=no
66958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66959 ac_ext=c
66960 ac_cpp='$CPP $CPPFLAGS'
66961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66969 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
66970 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
66972 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66974 for ac_func in fabsf
66976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66977 echo "$as_me:$LINENO: checking for $ac_func" >&5
66978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66979 if eval "test \"\${$as_ac_var+set}\" = set"; then
66980 echo $ECHO_N "(cached) $ECHO_C" >&6
66981 else
66982 if test x$gcc_no_link = xyes; then
66983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66985 { (exit 1); exit 1; }; }
66987 cat >conftest.$ac_ext <<_ACEOF
66988 /* confdefs.h. */
66989 _ACEOF
66990 cat confdefs.h >>conftest.$ac_ext
66991 cat >>conftest.$ac_ext <<_ACEOF
66992 /* end confdefs.h. */
66993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66995 #define $ac_func innocuous_$ac_func
66997 /* System header to define __stub macros and hopefully few prototypes,
66998 which can conflict with char $ac_func (); below.
66999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67000 <limits.h> exists even on freestanding compilers. */
67002 #ifdef __STDC__
67003 # include <limits.h>
67004 #else
67005 # include <assert.h>
67006 #endif
67008 #undef $ac_func
67010 /* Override any gcc2 internal prototype to avoid an error. */
67011 #ifdef __cplusplus
67012 extern "C"
67014 #endif
67015 /* We use char because int might match the return type of a gcc2
67016 builtin and then its argument prototype would still apply. */
67017 char $ac_func ();
67018 /* The GNU C library defines this for functions which it implements
67019 to always fail with ENOSYS. Some functions are actually named
67020 something starting with __ and the normal name is an alias. */
67021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67022 choke me
67023 #else
67024 char (*f) () = $ac_func;
67025 #endif
67026 #ifdef __cplusplus
67028 #endif
67031 main ()
67033 return f != $ac_func;
67035 return 0;
67037 _ACEOF
67038 rm -f conftest.$ac_objext conftest$ac_exeext
67039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67040 (eval $ac_link) 2>conftest.er1
67041 ac_status=$?
67042 grep -v '^ *+' conftest.er1 >conftest.err
67043 rm -f conftest.er1
67044 cat conftest.err >&5
67045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67046 (exit $ac_status); } &&
67047 { ac_try='test -z "$ac_c_werror_flag"
67048 || test ! -s conftest.err'
67049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67050 (eval $ac_try) 2>&5
67051 ac_status=$?
67052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67053 (exit $ac_status); }; } &&
67054 { ac_try='test -s conftest$ac_exeext'
67055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67056 (eval $ac_try) 2>&5
67057 ac_status=$?
67058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67059 (exit $ac_status); }; }; then
67060 eval "$as_ac_var=yes"
67061 else
67062 echo "$as_me: failed program was:" >&5
67063 sed 's/^/| /' conftest.$ac_ext >&5
67065 eval "$as_ac_var=no"
67067 rm -f conftest.err conftest.$ac_objext \
67068 conftest$ac_exeext conftest.$ac_ext
67070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67072 if test `eval echo '${'$as_ac_var'}'` = yes; then
67073 cat >>confdefs.h <<_ACEOF
67074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67075 _ACEOF
67078 done
67080 else
67082 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
67083 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
67084 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67085 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
67086 echo $ECHO_N "(cached) $ECHO_C" >&6
67087 else
67091 ac_ext=cc
67092 ac_cpp='$CXXCPP $CPPFLAGS'
67093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67097 cat >conftest.$ac_ext <<_ACEOF
67098 /* confdefs.h. */
67099 _ACEOF
67100 cat confdefs.h >>conftest.$ac_ext
67101 cat >>conftest.$ac_ext <<_ACEOF
67102 /* end confdefs.h. */
67103 #include <math.h>
67104 #ifdef HAVE_IEEEFP_H
67105 #include <ieeefp.h>
67106 #endif
67109 main ()
67111 _fabsf(0);
67113 return 0;
67115 _ACEOF
67116 rm -f conftest.$ac_objext
67117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67118 (eval $ac_compile) 2>conftest.er1
67119 ac_status=$?
67120 grep -v '^ *+' conftest.er1 >conftest.err
67121 rm -f conftest.er1
67122 cat conftest.err >&5
67123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67124 (exit $ac_status); } &&
67125 { ac_try='test -z "$ac_cxx_werror_flag"
67126 || test ! -s conftest.err'
67127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67128 (eval $ac_try) 2>&5
67129 ac_status=$?
67130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67131 (exit $ac_status); }; } &&
67132 { ac_try='test -s conftest.$ac_objext'
67133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67134 (eval $ac_try) 2>&5
67135 ac_status=$?
67136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67137 (exit $ac_status); }; }; then
67138 glibcxx_cv_func__fabsf_use=yes
67139 else
67140 echo "$as_me: failed program was:" >&5
67141 sed 's/^/| /' conftest.$ac_ext >&5
67143 glibcxx_cv_func__fabsf_use=no
67145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67146 ac_ext=c
67147 ac_cpp='$CPP $CPPFLAGS'
67148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67156 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
67157 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
67159 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67161 for ac_func in _fabsf
67163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67164 echo "$as_me:$LINENO: checking for $ac_func" >&5
67165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67166 if eval "test \"\${$as_ac_var+set}\" = set"; then
67167 echo $ECHO_N "(cached) $ECHO_C" >&6
67168 else
67169 if test x$gcc_no_link = xyes; then
67170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67172 { (exit 1); exit 1; }; }
67174 cat >conftest.$ac_ext <<_ACEOF
67175 /* confdefs.h. */
67176 _ACEOF
67177 cat confdefs.h >>conftest.$ac_ext
67178 cat >>conftest.$ac_ext <<_ACEOF
67179 /* end confdefs.h. */
67180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67182 #define $ac_func innocuous_$ac_func
67184 /* System header to define __stub macros and hopefully few prototypes,
67185 which can conflict with char $ac_func (); below.
67186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67187 <limits.h> exists even on freestanding compilers. */
67189 #ifdef __STDC__
67190 # include <limits.h>
67191 #else
67192 # include <assert.h>
67193 #endif
67195 #undef $ac_func
67197 /* Override any gcc2 internal prototype to avoid an error. */
67198 #ifdef __cplusplus
67199 extern "C"
67201 #endif
67202 /* We use char because int might match the return type of a gcc2
67203 builtin and then its argument prototype would still apply. */
67204 char $ac_func ();
67205 /* The GNU C library defines this for functions which it implements
67206 to always fail with ENOSYS. Some functions are actually named
67207 something starting with __ and the normal name is an alias. */
67208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67209 choke me
67210 #else
67211 char (*f) () = $ac_func;
67212 #endif
67213 #ifdef __cplusplus
67215 #endif
67218 main ()
67220 return f != $ac_func;
67222 return 0;
67224 _ACEOF
67225 rm -f conftest.$ac_objext conftest$ac_exeext
67226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67227 (eval $ac_link) 2>conftest.er1
67228 ac_status=$?
67229 grep -v '^ *+' conftest.er1 >conftest.err
67230 rm -f conftest.er1
67231 cat conftest.err >&5
67232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67233 (exit $ac_status); } &&
67234 { ac_try='test -z "$ac_c_werror_flag"
67235 || test ! -s conftest.err'
67236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67237 (eval $ac_try) 2>&5
67238 ac_status=$?
67239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67240 (exit $ac_status); }; } &&
67241 { ac_try='test -s conftest$ac_exeext'
67242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67243 (eval $ac_try) 2>&5
67244 ac_status=$?
67245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67246 (exit $ac_status); }; }; then
67247 eval "$as_ac_var=yes"
67248 else
67249 echo "$as_me: failed program was:" >&5
67250 sed 's/^/| /' conftest.$ac_ext >&5
67252 eval "$as_ac_var=no"
67254 rm -f conftest.err conftest.$ac_objext \
67255 conftest$ac_exeext conftest.$ac_ext
67257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67259 if test `eval echo '${'$as_ac_var'}'` = yes; then
67260 cat >>confdefs.h <<_ACEOF
67261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67262 _ACEOF
67265 done
67275 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
67276 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
67277 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67278 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
67279 echo $ECHO_N "(cached) $ECHO_C" >&6
67280 else
67284 ac_ext=cc
67285 ac_cpp='$CXXCPP $CPPFLAGS'
67286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67290 cat >conftest.$ac_ext <<_ACEOF
67291 /* confdefs.h. */
67292 _ACEOF
67293 cat confdefs.h >>conftest.$ac_ext
67294 cat >>conftest.$ac_ext <<_ACEOF
67295 /* end confdefs.h. */
67296 #include <math.h>
67298 main ()
67300 fmodf(0, 0);
67302 return 0;
67304 _ACEOF
67305 rm -f conftest.$ac_objext
67306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67307 (eval $ac_compile) 2>conftest.er1
67308 ac_status=$?
67309 grep -v '^ *+' conftest.er1 >conftest.err
67310 rm -f conftest.er1
67311 cat conftest.err >&5
67312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67313 (exit $ac_status); } &&
67314 { ac_try='test -z "$ac_cxx_werror_flag"
67315 || test ! -s conftest.err'
67316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67317 (eval $ac_try) 2>&5
67318 ac_status=$?
67319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67320 (exit $ac_status); }; } &&
67321 { ac_try='test -s conftest.$ac_objext'
67322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67323 (eval $ac_try) 2>&5
67324 ac_status=$?
67325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67326 (exit $ac_status); }; }; then
67327 glibcxx_cv_func_fmodf_use=yes
67328 else
67329 echo "$as_me: failed program was:" >&5
67330 sed 's/^/| /' conftest.$ac_ext >&5
67332 glibcxx_cv_func_fmodf_use=no
67334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67335 ac_ext=c
67336 ac_cpp='$CPP $CPPFLAGS'
67337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67345 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
67346 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
67348 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67350 for ac_func in fmodf
67352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67353 echo "$as_me:$LINENO: checking for $ac_func" >&5
67354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67355 if eval "test \"\${$as_ac_var+set}\" = set"; then
67356 echo $ECHO_N "(cached) $ECHO_C" >&6
67357 else
67358 if test x$gcc_no_link = xyes; then
67359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67361 { (exit 1); exit 1; }; }
67363 cat >conftest.$ac_ext <<_ACEOF
67364 /* confdefs.h. */
67365 _ACEOF
67366 cat confdefs.h >>conftest.$ac_ext
67367 cat >>conftest.$ac_ext <<_ACEOF
67368 /* end confdefs.h. */
67369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67371 #define $ac_func innocuous_$ac_func
67373 /* System header to define __stub macros and hopefully few prototypes,
67374 which can conflict with char $ac_func (); below.
67375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67376 <limits.h> exists even on freestanding compilers. */
67378 #ifdef __STDC__
67379 # include <limits.h>
67380 #else
67381 # include <assert.h>
67382 #endif
67384 #undef $ac_func
67386 /* Override any gcc2 internal prototype to avoid an error. */
67387 #ifdef __cplusplus
67388 extern "C"
67390 #endif
67391 /* We use char because int might match the return type of a gcc2
67392 builtin and then its argument prototype would still apply. */
67393 char $ac_func ();
67394 /* The GNU C library defines this for functions which it implements
67395 to always fail with ENOSYS. Some functions are actually named
67396 something starting with __ and the normal name is an alias. */
67397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67398 choke me
67399 #else
67400 char (*f) () = $ac_func;
67401 #endif
67402 #ifdef __cplusplus
67404 #endif
67407 main ()
67409 return f != $ac_func;
67411 return 0;
67413 _ACEOF
67414 rm -f conftest.$ac_objext conftest$ac_exeext
67415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67416 (eval $ac_link) 2>conftest.er1
67417 ac_status=$?
67418 grep -v '^ *+' conftest.er1 >conftest.err
67419 rm -f conftest.er1
67420 cat conftest.err >&5
67421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67422 (exit $ac_status); } &&
67423 { ac_try='test -z "$ac_c_werror_flag"
67424 || test ! -s conftest.err'
67425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67426 (eval $ac_try) 2>&5
67427 ac_status=$?
67428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67429 (exit $ac_status); }; } &&
67430 { ac_try='test -s conftest$ac_exeext'
67431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67432 (eval $ac_try) 2>&5
67433 ac_status=$?
67434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67435 (exit $ac_status); }; }; then
67436 eval "$as_ac_var=yes"
67437 else
67438 echo "$as_me: failed program was:" >&5
67439 sed 's/^/| /' conftest.$ac_ext >&5
67441 eval "$as_ac_var=no"
67443 rm -f conftest.err conftest.$ac_objext \
67444 conftest$ac_exeext conftest.$ac_ext
67446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67448 if test `eval echo '${'$as_ac_var'}'` = yes; then
67449 cat >>confdefs.h <<_ACEOF
67450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67451 _ACEOF
67454 done
67456 else
67458 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
67459 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
67460 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67461 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
67462 echo $ECHO_N "(cached) $ECHO_C" >&6
67463 else
67467 ac_ext=cc
67468 ac_cpp='$CXXCPP $CPPFLAGS'
67469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67473 cat >conftest.$ac_ext <<_ACEOF
67474 /* confdefs.h. */
67475 _ACEOF
67476 cat confdefs.h >>conftest.$ac_ext
67477 cat >>conftest.$ac_ext <<_ACEOF
67478 /* end confdefs.h. */
67479 #include <math.h>
67481 main ()
67483 _fmodf(0, 0);
67485 return 0;
67487 _ACEOF
67488 rm -f conftest.$ac_objext
67489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67490 (eval $ac_compile) 2>conftest.er1
67491 ac_status=$?
67492 grep -v '^ *+' conftest.er1 >conftest.err
67493 rm -f conftest.er1
67494 cat conftest.err >&5
67495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67496 (exit $ac_status); } &&
67497 { ac_try='test -z "$ac_cxx_werror_flag"
67498 || test ! -s conftest.err'
67499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67500 (eval $ac_try) 2>&5
67501 ac_status=$?
67502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67503 (exit $ac_status); }; } &&
67504 { ac_try='test -s conftest.$ac_objext'
67505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67506 (eval $ac_try) 2>&5
67507 ac_status=$?
67508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67509 (exit $ac_status); }; }; then
67510 glibcxx_cv_func__fmodf_use=yes
67511 else
67512 echo "$as_me: failed program was:" >&5
67513 sed 's/^/| /' conftest.$ac_ext >&5
67515 glibcxx_cv_func__fmodf_use=no
67517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67518 ac_ext=c
67519 ac_cpp='$CPP $CPPFLAGS'
67520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67528 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
67529 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
67531 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67533 for ac_func in _fmodf
67535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67536 echo "$as_me:$LINENO: checking for $ac_func" >&5
67537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67538 if eval "test \"\${$as_ac_var+set}\" = set"; then
67539 echo $ECHO_N "(cached) $ECHO_C" >&6
67540 else
67541 if test x$gcc_no_link = xyes; then
67542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67544 { (exit 1); exit 1; }; }
67546 cat >conftest.$ac_ext <<_ACEOF
67547 /* confdefs.h. */
67548 _ACEOF
67549 cat confdefs.h >>conftest.$ac_ext
67550 cat >>conftest.$ac_ext <<_ACEOF
67551 /* end confdefs.h. */
67552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67554 #define $ac_func innocuous_$ac_func
67556 /* System header to define __stub macros and hopefully few prototypes,
67557 which can conflict with char $ac_func (); below.
67558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67559 <limits.h> exists even on freestanding compilers. */
67561 #ifdef __STDC__
67562 # include <limits.h>
67563 #else
67564 # include <assert.h>
67565 #endif
67567 #undef $ac_func
67569 /* Override any gcc2 internal prototype to avoid an error. */
67570 #ifdef __cplusplus
67571 extern "C"
67573 #endif
67574 /* We use char because int might match the return type of a gcc2
67575 builtin and then its argument prototype would still apply. */
67576 char $ac_func ();
67577 /* The GNU C library defines this for functions which it implements
67578 to always fail with ENOSYS. Some functions are actually named
67579 something starting with __ and the normal name is an alias. */
67580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67581 choke me
67582 #else
67583 char (*f) () = $ac_func;
67584 #endif
67585 #ifdef __cplusplus
67587 #endif
67590 main ()
67592 return f != $ac_func;
67594 return 0;
67596 _ACEOF
67597 rm -f conftest.$ac_objext conftest$ac_exeext
67598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67599 (eval $ac_link) 2>conftest.er1
67600 ac_status=$?
67601 grep -v '^ *+' conftest.er1 >conftest.err
67602 rm -f conftest.er1
67603 cat conftest.err >&5
67604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67605 (exit $ac_status); } &&
67606 { ac_try='test -z "$ac_c_werror_flag"
67607 || test ! -s conftest.err'
67608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67609 (eval $ac_try) 2>&5
67610 ac_status=$?
67611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67612 (exit $ac_status); }; } &&
67613 { ac_try='test -s conftest$ac_exeext'
67614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67615 (eval $ac_try) 2>&5
67616 ac_status=$?
67617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67618 (exit $ac_status); }; }; then
67619 eval "$as_ac_var=yes"
67620 else
67621 echo "$as_me: failed program was:" >&5
67622 sed 's/^/| /' conftest.$ac_ext >&5
67624 eval "$as_ac_var=no"
67626 rm -f conftest.err conftest.$ac_objext \
67627 conftest$ac_exeext conftest.$ac_ext
67629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67631 if test `eval echo '${'$as_ac_var'}'` = yes; then
67632 cat >>confdefs.h <<_ACEOF
67633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67634 _ACEOF
67637 done
67647 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
67648 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
67649 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67650 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
67651 echo $ECHO_N "(cached) $ECHO_C" >&6
67652 else
67656 ac_ext=cc
67657 ac_cpp='$CXXCPP $CPPFLAGS'
67658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67662 cat >conftest.$ac_ext <<_ACEOF
67663 /* confdefs.h. */
67664 _ACEOF
67665 cat confdefs.h >>conftest.$ac_ext
67666 cat >>conftest.$ac_ext <<_ACEOF
67667 /* end confdefs.h. */
67668 #include <math.h>
67670 main ()
67672 frexpf(0, 0);
67674 return 0;
67676 _ACEOF
67677 rm -f conftest.$ac_objext
67678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67679 (eval $ac_compile) 2>conftest.er1
67680 ac_status=$?
67681 grep -v '^ *+' conftest.er1 >conftest.err
67682 rm -f conftest.er1
67683 cat conftest.err >&5
67684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67685 (exit $ac_status); } &&
67686 { ac_try='test -z "$ac_cxx_werror_flag"
67687 || test ! -s conftest.err'
67688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67689 (eval $ac_try) 2>&5
67690 ac_status=$?
67691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67692 (exit $ac_status); }; } &&
67693 { ac_try='test -s conftest.$ac_objext'
67694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67695 (eval $ac_try) 2>&5
67696 ac_status=$?
67697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67698 (exit $ac_status); }; }; then
67699 glibcxx_cv_func_frexpf_use=yes
67700 else
67701 echo "$as_me: failed program was:" >&5
67702 sed 's/^/| /' conftest.$ac_ext >&5
67704 glibcxx_cv_func_frexpf_use=no
67706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67707 ac_ext=c
67708 ac_cpp='$CPP $CPPFLAGS'
67709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67717 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
67718 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
67720 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67722 for ac_func in frexpf
67724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67725 echo "$as_me:$LINENO: checking for $ac_func" >&5
67726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67727 if eval "test \"\${$as_ac_var+set}\" = set"; then
67728 echo $ECHO_N "(cached) $ECHO_C" >&6
67729 else
67730 if test x$gcc_no_link = xyes; then
67731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67733 { (exit 1); exit 1; }; }
67735 cat >conftest.$ac_ext <<_ACEOF
67736 /* confdefs.h. */
67737 _ACEOF
67738 cat confdefs.h >>conftest.$ac_ext
67739 cat >>conftest.$ac_ext <<_ACEOF
67740 /* end confdefs.h. */
67741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67743 #define $ac_func innocuous_$ac_func
67745 /* System header to define __stub macros and hopefully few prototypes,
67746 which can conflict with char $ac_func (); below.
67747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67748 <limits.h> exists even on freestanding compilers. */
67750 #ifdef __STDC__
67751 # include <limits.h>
67752 #else
67753 # include <assert.h>
67754 #endif
67756 #undef $ac_func
67758 /* Override any gcc2 internal prototype to avoid an error. */
67759 #ifdef __cplusplus
67760 extern "C"
67762 #endif
67763 /* We use char because int might match the return type of a gcc2
67764 builtin and then its argument prototype would still apply. */
67765 char $ac_func ();
67766 /* The GNU C library defines this for functions which it implements
67767 to always fail with ENOSYS. Some functions are actually named
67768 something starting with __ and the normal name is an alias. */
67769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67770 choke me
67771 #else
67772 char (*f) () = $ac_func;
67773 #endif
67774 #ifdef __cplusplus
67776 #endif
67779 main ()
67781 return f != $ac_func;
67783 return 0;
67785 _ACEOF
67786 rm -f conftest.$ac_objext conftest$ac_exeext
67787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67788 (eval $ac_link) 2>conftest.er1
67789 ac_status=$?
67790 grep -v '^ *+' conftest.er1 >conftest.err
67791 rm -f conftest.er1
67792 cat conftest.err >&5
67793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67794 (exit $ac_status); } &&
67795 { ac_try='test -z "$ac_c_werror_flag"
67796 || test ! -s conftest.err'
67797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67798 (eval $ac_try) 2>&5
67799 ac_status=$?
67800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67801 (exit $ac_status); }; } &&
67802 { ac_try='test -s conftest$ac_exeext'
67803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67804 (eval $ac_try) 2>&5
67805 ac_status=$?
67806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67807 (exit $ac_status); }; }; then
67808 eval "$as_ac_var=yes"
67809 else
67810 echo "$as_me: failed program was:" >&5
67811 sed 's/^/| /' conftest.$ac_ext >&5
67813 eval "$as_ac_var=no"
67815 rm -f conftest.err conftest.$ac_objext \
67816 conftest$ac_exeext conftest.$ac_ext
67818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67820 if test `eval echo '${'$as_ac_var'}'` = yes; then
67821 cat >>confdefs.h <<_ACEOF
67822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67823 _ACEOF
67826 done
67828 else
67830 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
67831 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
67832 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67833 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
67834 echo $ECHO_N "(cached) $ECHO_C" >&6
67835 else
67839 ac_ext=cc
67840 ac_cpp='$CXXCPP $CPPFLAGS'
67841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67845 cat >conftest.$ac_ext <<_ACEOF
67846 /* confdefs.h. */
67847 _ACEOF
67848 cat confdefs.h >>conftest.$ac_ext
67849 cat >>conftest.$ac_ext <<_ACEOF
67850 /* end confdefs.h. */
67851 #include <math.h>
67853 main ()
67855 _frexpf(0, 0);
67857 return 0;
67859 _ACEOF
67860 rm -f conftest.$ac_objext
67861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67862 (eval $ac_compile) 2>conftest.er1
67863 ac_status=$?
67864 grep -v '^ *+' conftest.er1 >conftest.err
67865 rm -f conftest.er1
67866 cat conftest.err >&5
67867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67868 (exit $ac_status); } &&
67869 { ac_try='test -z "$ac_cxx_werror_flag"
67870 || test ! -s conftest.err'
67871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67872 (eval $ac_try) 2>&5
67873 ac_status=$?
67874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67875 (exit $ac_status); }; } &&
67876 { ac_try='test -s conftest.$ac_objext'
67877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67878 (eval $ac_try) 2>&5
67879 ac_status=$?
67880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67881 (exit $ac_status); }; }; then
67882 glibcxx_cv_func__frexpf_use=yes
67883 else
67884 echo "$as_me: failed program was:" >&5
67885 sed 's/^/| /' conftest.$ac_ext >&5
67887 glibcxx_cv_func__frexpf_use=no
67889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67890 ac_ext=c
67891 ac_cpp='$CPP $CPPFLAGS'
67892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67900 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
67901 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
67903 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67905 for ac_func in _frexpf
67907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67908 echo "$as_me:$LINENO: checking for $ac_func" >&5
67909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67910 if eval "test \"\${$as_ac_var+set}\" = set"; then
67911 echo $ECHO_N "(cached) $ECHO_C" >&6
67912 else
67913 if test x$gcc_no_link = xyes; then
67914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67916 { (exit 1); exit 1; }; }
67918 cat >conftest.$ac_ext <<_ACEOF
67919 /* confdefs.h. */
67920 _ACEOF
67921 cat confdefs.h >>conftest.$ac_ext
67922 cat >>conftest.$ac_ext <<_ACEOF
67923 /* end confdefs.h. */
67924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67926 #define $ac_func innocuous_$ac_func
67928 /* System header to define __stub macros and hopefully few prototypes,
67929 which can conflict with char $ac_func (); below.
67930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67931 <limits.h> exists even on freestanding compilers. */
67933 #ifdef __STDC__
67934 # include <limits.h>
67935 #else
67936 # include <assert.h>
67937 #endif
67939 #undef $ac_func
67941 /* Override any gcc2 internal prototype to avoid an error. */
67942 #ifdef __cplusplus
67943 extern "C"
67945 #endif
67946 /* We use char because int might match the return type of a gcc2
67947 builtin and then its argument prototype would still apply. */
67948 char $ac_func ();
67949 /* The GNU C library defines this for functions which it implements
67950 to always fail with ENOSYS. Some functions are actually named
67951 something starting with __ and the normal name is an alias. */
67952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67953 choke me
67954 #else
67955 char (*f) () = $ac_func;
67956 #endif
67957 #ifdef __cplusplus
67959 #endif
67962 main ()
67964 return f != $ac_func;
67966 return 0;
67968 _ACEOF
67969 rm -f conftest.$ac_objext conftest$ac_exeext
67970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67971 (eval $ac_link) 2>conftest.er1
67972 ac_status=$?
67973 grep -v '^ *+' conftest.er1 >conftest.err
67974 rm -f conftest.er1
67975 cat conftest.err >&5
67976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67977 (exit $ac_status); } &&
67978 { ac_try='test -z "$ac_c_werror_flag"
67979 || test ! -s conftest.err'
67980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67981 (eval $ac_try) 2>&5
67982 ac_status=$?
67983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67984 (exit $ac_status); }; } &&
67985 { ac_try='test -s conftest$ac_exeext'
67986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67987 (eval $ac_try) 2>&5
67988 ac_status=$?
67989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67990 (exit $ac_status); }; }; then
67991 eval "$as_ac_var=yes"
67992 else
67993 echo "$as_me: failed program was:" >&5
67994 sed 's/^/| /' conftest.$ac_ext >&5
67996 eval "$as_ac_var=no"
67998 rm -f conftest.err conftest.$ac_objext \
67999 conftest$ac_exeext conftest.$ac_ext
68001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68003 if test `eval echo '${'$as_ac_var'}'` = yes; then
68004 cat >>confdefs.h <<_ACEOF
68005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68006 _ACEOF
68009 done
68019 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
68020 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
68021 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68022 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
68023 echo $ECHO_N "(cached) $ECHO_C" >&6
68024 else
68028 ac_ext=cc
68029 ac_cpp='$CXXCPP $CPPFLAGS'
68030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68034 cat >conftest.$ac_ext <<_ACEOF
68035 /* confdefs.h. */
68036 _ACEOF
68037 cat confdefs.h >>conftest.$ac_ext
68038 cat >>conftest.$ac_ext <<_ACEOF
68039 /* end confdefs.h. */
68040 #include <math.h>
68042 main ()
68044 hypotf(0, 0);
68046 return 0;
68048 _ACEOF
68049 rm -f conftest.$ac_objext
68050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68051 (eval $ac_compile) 2>conftest.er1
68052 ac_status=$?
68053 grep -v '^ *+' conftest.er1 >conftest.err
68054 rm -f conftest.er1
68055 cat conftest.err >&5
68056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68057 (exit $ac_status); } &&
68058 { ac_try='test -z "$ac_cxx_werror_flag"
68059 || test ! -s conftest.err'
68060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68061 (eval $ac_try) 2>&5
68062 ac_status=$?
68063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68064 (exit $ac_status); }; } &&
68065 { ac_try='test -s conftest.$ac_objext'
68066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68067 (eval $ac_try) 2>&5
68068 ac_status=$?
68069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68070 (exit $ac_status); }; }; then
68071 glibcxx_cv_func_hypotf_use=yes
68072 else
68073 echo "$as_me: failed program was:" >&5
68074 sed 's/^/| /' conftest.$ac_ext >&5
68076 glibcxx_cv_func_hypotf_use=no
68078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68079 ac_ext=c
68080 ac_cpp='$CPP $CPPFLAGS'
68081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68089 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
68090 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
68092 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68094 for ac_func in hypotf
68096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68097 echo "$as_me:$LINENO: checking for $ac_func" >&5
68098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68099 if eval "test \"\${$as_ac_var+set}\" = set"; then
68100 echo $ECHO_N "(cached) $ECHO_C" >&6
68101 else
68102 if test x$gcc_no_link = xyes; then
68103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68105 { (exit 1); exit 1; }; }
68107 cat >conftest.$ac_ext <<_ACEOF
68108 /* confdefs.h. */
68109 _ACEOF
68110 cat confdefs.h >>conftest.$ac_ext
68111 cat >>conftest.$ac_ext <<_ACEOF
68112 /* end confdefs.h. */
68113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68115 #define $ac_func innocuous_$ac_func
68117 /* System header to define __stub macros and hopefully few prototypes,
68118 which can conflict with char $ac_func (); below.
68119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68120 <limits.h> exists even on freestanding compilers. */
68122 #ifdef __STDC__
68123 # include <limits.h>
68124 #else
68125 # include <assert.h>
68126 #endif
68128 #undef $ac_func
68130 /* Override any gcc2 internal prototype to avoid an error. */
68131 #ifdef __cplusplus
68132 extern "C"
68134 #endif
68135 /* We use char because int might match the return type of a gcc2
68136 builtin and then its argument prototype would still apply. */
68137 char $ac_func ();
68138 /* The GNU C library defines this for functions which it implements
68139 to always fail with ENOSYS. Some functions are actually named
68140 something starting with __ and the normal name is an alias. */
68141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68142 choke me
68143 #else
68144 char (*f) () = $ac_func;
68145 #endif
68146 #ifdef __cplusplus
68148 #endif
68151 main ()
68153 return f != $ac_func;
68155 return 0;
68157 _ACEOF
68158 rm -f conftest.$ac_objext conftest$ac_exeext
68159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68160 (eval $ac_link) 2>conftest.er1
68161 ac_status=$?
68162 grep -v '^ *+' conftest.er1 >conftest.err
68163 rm -f conftest.er1
68164 cat conftest.err >&5
68165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68166 (exit $ac_status); } &&
68167 { ac_try='test -z "$ac_c_werror_flag"
68168 || test ! -s conftest.err'
68169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68170 (eval $ac_try) 2>&5
68171 ac_status=$?
68172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68173 (exit $ac_status); }; } &&
68174 { ac_try='test -s conftest$ac_exeext'
68175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68176 (eval $ac_try) 2>&5
68177 ac_status=$?
68178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68179 (exit $ac_status); }; }; then
68180 eval "$as_ac_var=yes"
68181 else
68182 echo "$as_me: failed program was:" >&5
68183 sed 's/^/| /' conftest.$ac_ext >&5
68185 eval "$as_ac_var=no"
68187 rm -f conftest.err conftest.$ac_objext \
68188 conftest$ac_exeext conftest.$ac_ext
68190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68192 if test `eval echo '${'$as_ac_var'}'` = yes; then
68193 cat >>confdefs.h <<_ACEOF
68194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68195 _ACEOF
68198 done
68200 else
68202 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
68203 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
68204 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68205 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
68206 echo $ECHO_N "(cached) $ECHO_C" >&6
68207 else
68211 ac_ext=cc
68212 ac_cpp='$CXXCPP $CPPFLAGS'
68213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68217 cat >conftest.$ac_ext <<_ACEOF
68218 /* confdefs.h. */
68219 _ACEOF
68220 cat confdefs.h >>conftest.$ac_ext
68221 cat >>conftest.$ac_ext <<_ACEOF
68222 /* end confdefs.h. */
68223 #include <math.h>
68225 main ()
68227 _hypotf(0, 0);
68229 return 0;
68231 _ACEOF
68232 rm -f conftest.$ac_objext
68233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68234 (eval $ac_compile) 2>conftest.er1
68235 ac_status=$?
68236 grep -v '^ *+' conftest.er1 >conftest.err
68237 rm -f conftest.er1
68238 cat conftest.err >&5
68239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68240 (exit $ac_status); } &&
68241 { ac_try='test -z "$ac_cxx_werror_flag"
68242 || test ! -s conftest.err'
68243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68244 (eval $ac_try) 2>&5
68245 ac_status=$?
68246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68247 (exit $ac_status); }; } &&
68248 { ac_try='test -s conftest.$ac_objext'
68249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68250 (eval $ac_try) 2>&5
68251 ac_status=$?
68252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68253 (exit $ac_status); }; }; then
68254 glibcxx_cv_func__hypotf_use=yes
68255 else
68256 echo "$as_me: failed program was:" >&5
68257 sed 's/^/| /' conftest.$ac_ext >&5
68259 glibcxx_cv_func__hypotf_use=no
68261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68262 ac_ext=c
68263 ac_cpp='$CPP $CPPFLAGS'
68264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68272 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
68273 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
68275 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68277 for ac_func in _hypotf
68279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68280 echo "$as_me:$LINENO: checking for $ac_func" >&5
68281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68282 if eval "test \"\${$as_ac_var+set}\" = set"; then
68283 echo $ECHO_N "(cached) $ECHO_C" >&6
68284 else
68285 if test x$gcc_no_link = xyes; then
68286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68288 { (exit 1); exit 1; }; }
68290 cat >conftest.$ac_ext <<_ACEOF
68291 /* confdefs.h. */
68292 _ACEOF
68293 cat confdefs.h >>conftest.$ac_ext
68294 cat >>conftest.$ac_ext <<_ACEOF
68295 /* end confdefs.h. */
68296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68298 #define $ac_func innocuous_$ac_func
68300 /* System header to define __stub macros and hopefully few prototypes,
68301 which can conflict with char $ac_func (); below.
68302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68303 <limits.h> exists even on freestanding compilers. */
68305 #ifdef __STDC__
68306 # include <limits.h>
68307 #else
68308 # include <assert.h>
68309 #endif
68311 #undef $ac_func
68313 /* Override any gcc2 internal prototype to avoid an error. */
68314 #ifdef __cplusplus
68315 extern "C"
68317 #endif
68318 /* We use char because int might match the return type of a gcc2
68319 builtin and then its argument prototype would still apply. */
68320 char $ac_func ();
68321 /* The GNU C library defines this for functions which it implements
68322 to always fail with ENOSYS. Some functions are actually named
68323 something starting with __ and the normal name is an alias. */
68324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68325 choke me
68326 #else
68327 char (*f) () = $ac_func;
68328 #endif
68329 #ifdef __cplusplus
68331 #endif
68334 main ()
68336 return f != $ac_func;
68338 return 0;
68340 _ACEOF
68341 rm -f conftest.$ac_objext conftest$ac_exeext
68342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68343 (eval $ac_link) 2>conftest.er1
68344 ac_status=$?
68345 grep -v '^ *+' conftest.er1 >conftest.err
68346 rm -f conftest.er1
68347 cat conftest.err >&5
68348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68349 (exit $ac_status); } &&
68350 { ac_try='test -z "$ac_c_werror_flag"
68351 || test ! -s conftest.err'
68352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68353 (eval $ac_try) 2>&5
68354 ac_status=$?
68355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68356 (exit $ac_status); }; } &&
68357 { ac_try='test -s conftest$ac_exeext'
68358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68359 (eval $ac_try) 2>&5
68360 ac_status=$?
68361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68362 (exit $ac_status); }; }; then
68363 eval "$as_ac_var=yes"
68364 else
68365 echo "$as_me: failed program was:" >&5
68366 sed 's/^/| /' conftest.$ac_ext >&5
68368 eval "$as_ac_var=no"
68370 rm -f conftest.err conftest.$ac_objext \
68371 conftest$ac_exeext conftest.$ac_ext
68373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68375 if test `eval echo '${'$as_ac_var'}'` = yes; then
68376 cat >>confdefs.h <<_ACEOF
68377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68378 _ACEOF
68381 done
68391 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
68392 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
68393 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68394 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
68395 echo $ECHO_N "(cached) $ECHO_C" >&6
68396 else
68400 ac_ext=cc
68401 ac_cpp='$CXXCPP $CPPFLAGS'
68402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68406 cat >conftest.$ac_ext <<_ACEOF
68407 /* confdefs.h. */
68408 _ACEOF
68409 cat confdefs.h >>conftest.$ac_ext
68410 cat >>conftest.$ac_ext <<_ACEOF
68411 /* end confdefs.h. */
68412 #include <math.h>
68414 main ()
68416 ldexpf(0, 0);
68418 return 0;
68420 _ACEOF
68421 rm -f conftest.$ac_objext
68422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68423 (eval $ac_compile) 2>conftest.er1
68424 ac_status=$?
68425 grep -v '^ *+' conftest.er1 >conftest.err
68426 rm -f conftest.er1
68427 cat conftest.err >&5
68428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68429 (exit $ac_status); } &&
68430 { ac_try='test -z "$ac_cxx_werror_flag"
68431 || test ! -s conftest.err'
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); }; } &&
68437 { ac_try='test -s conftest.$ac_objext'
68438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68439 (eval $ac_try) 2>&5
68440 ac_status=$?
68441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68442 (exit $ac_status); }; }; then
68443 glibcxx_cv_func_ldexpf_use=yes
68444 else
68445 echo "$as_me: failed program was:" >&5
68446 sed 's/^/| /' conftest.$ac_ext >&5
68448 glibcxx_cv_func_ldexpf_use=no
68450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68451 ac_ext=c
68452 ac_cpp='$CPP $CPPFLAGS'
68453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68461 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
68462 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
68464 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68466 for ac_func in ldexpf
68468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68469 echo "$as_me:$LINENO: checking for $ac_func" >&5
68470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68471 if eval "test \"\${$as_ac_var+set}\" = set"; then
68472 echo $ECHO_N "(cached) $ECHO_C" >&6
68473 else
68474 if test x$gcc_no_link = xyes; then
68475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68477 { (exit 1); exit 1; }; }
68479 cat >conftest.$ac_ext <<_ACEOF
68480 /* confdefs.h. */
68481 _ACEOF
68482 cat confdefs.h >>conftest.$ac_ext
68483 cat >>conftest.$ac_ext <<_ACEOF
68484 /* end confdefs.h. */
68485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68487 #define $ac_func innocuous_$ac_func
68489 /* System header to define __stub macros and hopefully few prototypes,
68490 which can conflict with char $ac_func (); below.
68491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68492 <limits.h> exists even on freestanding compilers. */
68494 #ifdef __STDC__
68495 # include <limits.h>
68496 #else
68497 # include <assert.h>
68498 #endif
68500 #undef $ac_func
68502 /* Override any gcc2 internal prototype to avoid an error. */
68503 #ifdef __cplusplus
68504 extern "C"
68506 #endif
68507 /* We use char because int might match the return type of a gcc2
68508 builtin and then its argument prototype would still apply. */
68509 char $ac_func ();
68510 /* The GNU C library defines this for functions which it implements
68511 to always fail with ENOSYS. Some functions are actually named
68512 something starting with __ and the normal name is an alias. */
68513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68514 choke me
68515 #else
68516 char (*f) () = $ac_func;
68517 #endif
68518 #ifdef __cplusplus
68520 #endif
68523 main ()
68525 return f != $ac_func;
68527 return 0;
68529 _ACEOF
68530 rm -f conftest.$ac_objext conftest$ac_exeext
68531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68532 (eval $ac_link) 2>conftest.er1
68533 ac_status=$?
68534 grep -v '^ *+' conftest.er1 >conftest.err
68535 rm -f conftest.er1
68536 cat conftest.err >&5
68537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68538 (exit $ac_status); } &&
68539 { ac_try='test -z "$ac_c_werror_flag"
68540 || test ! -s conftest.err'
68541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68542 (eval $ac_try) 2>&5
68543 ac_status=$?
68544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68545 (exit $ac_status); }; } &&
68546 { ac_try='test -s conftest$ac_exeext'
68547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68548 (eval $ac_try) 2>&5
68549 ac_status=$?
68550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68551 (exit $ac_status); }; }; then
68552 eval "$as_ac_var=yes"
68553 else
68554 echo "$as_me: failed program was:" >&5
68555 sed 's/^/| /' conftest.$ac_ext >&5
68557 eval "$as_ac_var=no"
68559 rm -f conftest.err conftest.$ac_objext \
68560 conftest$ac_exeext conftest.$ac_ext
68562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68564 if test `eval echo '${'$as_ac_var'}'` = yes; then
68565 cat >>confdefs.h <<_ACEOF
68566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68567 _ACEOF
68570 done
68572 else
68574 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
68575 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
68576 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68577 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
68578 echo $ECHO_N "(cached) $ECHO_C" >&6
68579 else
68583 ac_ext=cc
68584 ac_cpp='$CXXCPP $CPPFLAGS'
68585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68589 cat >conftest.$ac_ext <<_ACEOF
68590 /* confdefs.h. */
68591 _ACEOF
68592 cat confdefs.h >>conftest.$ac_ext
68593 cat >>conftest.$ac_ext <<_ACEOF
68594 /* end confdefs.h. */
68595 #include <math.h>
68597 main ()
68599 _ldexpf(0, 0);
68601 return 0;
68603 _ACEOF
68604 rm -f conftest.$ac_objext
68605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68606 (eval $ac_compile) 2>conftest.er1
68607 ac_status=$?
68608 grep -v '^ *+' conftest.er1 >conftest.err
68609 rm -f conftest.er1
68610 cat conftest.err >&5
68611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68612 (exit $ac_status); } &&
68613 { ac_try='test -z "$ac_cxx_werror_flag"
68614 || test ! -s conftest.err'
68615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68616 (eval $ac_try) 2>&5
68617 ac_status=$?
68618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68619 (exit $ac_status); }; } &&
68620 { ac_try='test -s conftest.$ac_objext'
68621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68622 (eval $ac_try) 2>&5
68623 ac_status=$?
68624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68625 (exit $ac_status); }; }; then
68626 glibcxx_cv_func__ldexpf_use=yes
68627 else
68628 echo "$as_me: failed program was:" >&5
68629 sed 's/^/| /' conftest.$ac_ext >&5
68631 glibcxx_cv_func__ldexpf_use=no
68633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68634 ac_ext=c
68635 ac_cpp='$CPP $CPPFLAGS'
68636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68644 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
68645 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
68647 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68649 for ac_func in _ldexpf
68651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68652 echo "$as_me:$LINENO: checking for $ac_func" >&5
68653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68654 if eval "test \"\${$as_ac_var+set}\" = set"; then
68655 echo $ECHO_N "(cached) $ECHO_C" >&6
68656 else
68657 if test x$gcc_no_link = xyes; then
68658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68660 { (exit 1); exit 1; }; }
68662 cat >conftest.$ac_ext <<_ACEOF
68663 /* confdefs.h. */
68664 _ACEOF
68665 cat confdefs.h >>conftest.$ac_ext
68666 cat >>conftest.$ac_ext <<_ACEOF
68667 /* end confdefs.h. */
68668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68670 #define $ac_func innocuous_$ac_func
68672 /* System header to define __stub macros and hopefully few prototypes,
68673 which can conflict with char $ac_func (); below.
68674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68675 <limits.h> exists even on freestanding compilers. */
68677 #ifdef __STDC__
68678 # include <limits.h>
68679 #else
68680 # include <assert.h>
68681 #endif
68683 #undef $ac_func
68685 /* Override any gcc2 internal prototype to avoid an error. */
68686 #ifdef __cplusplus
68687 extern "C"
68689 #endif
68690 /* We use char because int might match the return type of a gcc2
68691 builtin and then its argument prototype would still apply. */
68692 char $ac_func ();
68693 /* The GNU C library defines this for functions which it implements
68694 to always fail with ENOSYS. Some functions are actually named
68695 something starting with __ and the normal name is an alias. */
68696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68697 choke me
68698 #else
68699 char (*f) () = $ac_func;
68700 #endif
68701 #ifdef __cplusplus
68703 #endif
68706 main ()
68708 return f != $ac_func;
68710 return 0;
68712 _ACEOF
68713 rm -f conftest.$ac_objext conftest$ac_exeext
68714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68715 (eval $ac_link) 2>conftest.er1
68716 ac_status=$?
68717 grep -v '^ *+' conftest.er1 >conftest.err
68718 rm -f conftest.er1
68719 cat conftest.err >&5
68720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68721 (exit $ac_status); } &&
68722 { ac_try='test -z "$ac_c_werror_flag"
68723 || test ! -s conftest.err'
68724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68725 (eval $ac_try) 2>&5
68726 ac_status=$?
68727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68728 (exit $ac_status); }; } &&
68729 { ac_try='test -s conftest$ac_exeext'
68730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68731 (eval $ac_try) 2>&5
68732 ac_status=$?
68733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68734 (exit $ac_status); }; }; then
68735 eval "$as_ac_var=yes"
68736 else
68737 echo "$as_me: failed program was:" >&5
68738 sed 's/^/| /' conftest.$ac_ext >&5
68740 eval "$as_ac_var=no"
68742 rm -f conftest.err conftest.$ac_objext \
68743 conftest$ac_exeext conftest.$ac_ext
68745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68747 if test `eval echo '${'$as_ac_var'}'` = yes; then
68748 cat >>confdefs.h <<_ACEOF
68749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68750 _ACEOF
68753 done
68763 echo "$as_me:$LINENO: checking for logf declaration" >&5
68764 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
68765 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68766 if test "${glibcxx_cv_func_logf_use+set}" = set; then
68767 echo $ECHO_N "(cached) $ECHO_C" >&6
68768 else
68772 ac_ext=cc
68773 ac_cpp='$CXXCPP $CPPFLAGS'
68774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68778 cat >conftest.$ac_ext <<_ACEOF
68779 /* confdefs.h. */
68780 _ACEOF
68781 cat confdefs.h >>conftest.$ac_ext
68782 cat >>conftest.$ac_ext <<_ACEOF
68783 /* end confdefs.h. */
68784 #include <math.h>
68785 #ifdef HAVE_IEEEFP_H
68786 #include <ieeefp.h>
68787 #endif
68790 main ()
68792 logf(0);
68794 return 0;
68796 _ACEOF
68797 rm -f conftest.$ac_objext
68798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68799 (eval $ac_compile) 2>conftest.er1
68800 ac_status=$?
68801 grep -v '^ *+' conftest.er1 >conftest.err
68802 rm -f conftest.er1
68803 cat conftest.err >&5
68804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68805 (exit $ac_status); } &&
68806 { ac_try='test -z "$ac_cxx_werror_flag"
68807 || test ! -s conftest.err'
68808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68809 (eval $ac_try) 2>&5
68810 ac_status=$?
68811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68812 (exit $ac_status); }; } &&
68813 { ac_try='test -s conftest.$ac_objext'
68814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68815 (eval $ac_try) 2>&5
68816 ac_status=$?
68817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68818 (exit $ac_status); }; }; then
68819 glibcxx_cv_func_logf_use=yes
68820 else
68821 echo "$as_me: failed program was:" >&5
68822 sed 's/^/| /' conftest.$ac_ext >&5
68824 glibcxx_cv_func_logf_use=no
68826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68827 ac_ext=c
68828 ac_cpp='$CPP $CPPFLAGS'
68829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68837 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
68838 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
68840 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68842 for ac_func in logf
68844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68845 echo "$as_me:$LINENO: checking for $ac_func" >&5
68846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68847 if eval "test \"\${$as_ac_var+set}\" = set"; then
68848 echo $ECHO_N "(cached) $ECHO_C" >&6
68849 else
68850 if test x$gcc_no_link = xyes; then
68851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68853 { (exit 1); exit 1; }; }
68855 cat >conftest.$ac_ext <<_ACEOF
68856 /* confdefs.h. */
68857 _ACEOF
68858 cat confdefs.h >>conftest.$ac_ext
68859 cat >>conftest.$ac_ext <<_ACEOF
68860 /* end confdefs.h. */
68861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68863 #define $ac_func innocuous_$ac_func
68865 /* System header to define __stub macros and hopefully few prototypes,
68866 which can conflict with char $ac_func (); below.
68867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68868 <limits.h> exists even on freestanding compilers. */
68870 #ifdef __STDC__
68871 # include <limits.h>
68872 #else
68873 # include <assert.h>
68874 #endif
68876 #undef $ac_func
68878 /* Override any gcc2 internal prototype to avoid an error. */
68879 #ifdef __cplusplus
68880 extern "C"
68882 #endif
68883 /* We use char because int might match the return type of a gcc2
68884 builtin and then its argument prototype would still apply. */
68885 char $ac_func ();
68886 /* The GNU C library defines this for functions which it implements
68887 to always fail with ENOSYS. Some functions are actually named
68888 something starting with __ and the normal name is an alias. */
68889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68890 choke me
68891 #else
68892 char (*f) () = $ac_func;
68893 #endif
68894 #ifdef __cplusplus
68896 #endif
68899 main ()
68901 return f != $ac_func;
68903 return 0;
68905 _ACEOF
68906 rm -f conftest.$ac_objext conftest$ac_exeext
68907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68908 (eval $ac_link) 2>conftest.er1
68909 ac_status=$?
68910 grep -v '^ *+' conftest.er1 >conftest.err
68911 rm -f conftest.er1
68912 cat conftest.err >&5
68913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68914 (exit $ac_status); } &&
68915 { ac_try='test -z "$ac_c_werror_flag"
68916 || test ! -s conftest.err'
68917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68918 (eval $ac_try) 2>&5
68919 ac_status=$?
68920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68921 (exit $ac_status); }; } &&
68922 { ac_try='test -s conftest$ac_exeext'
68923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68924 (eval $ac_try) 2>&5
68925 ac_status=$?
68926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68927 (exit $ac_status); }; }; then
68928 eval "$as_ac_var=yes"
68929 else
68930 echo "$as_me: failed program was:" >&5
68931 sed 's/^/| /' conftest.$ac_ext >&5
68933 eval "$as_ac_var=no"
68935 rm -f conftest.err conftest.$ac_objext \
68936 conftest$ac_exeext conftest.$ac_ext
68938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68940 if test `eval echo '${'$as_ac_var'}'` = yes; then
68941 cat >>confdefs.h <<_ACEOF
68942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68943 _ACEOF
68946 done
68948 else
68950 echo "$as_me:$LINENO: checking for _logf declaration" >&5
68951 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
68952 if test x${glibcxx_cv_func__logf_use+set} != xset; then
68953 if test "${glibcxx_cv_func__logf_use+set}" = set; then
68954 echo $ECHO_N "(cached) $ECHO_C" >&6
68955 else
68959 ac_ext=cc
68960 ac_cpp='$CXXCPP $CPPFLAGS'
68961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68965 cat >conftest.$ac_ext <<_ACEOF
68966 /* confdefs.h. */
68967 _ACEOF
68968 cat confdefs.h >>conftest.$ac_ext
68969 cat >>conftest.$ac_ext <<_ACEOF
68970 /* end confdefs.h. */
68971 #include <math.h>
68972 #ifdef HAVE_IEEEFP_H
68973 #include <ieeefp.h>
68974 #endif
68977 main ()
68979 _logf(0);
68981 return 0;
68983 _ACEOF
68984 rm -f conftest.$ac_objext
68985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68986 (eval $ac_compile) 2>conftest.er1
68987 ac_status=$?
68988 grep -v '^ *+' conftest.er1 >conftest.err
68989 rm -f conftest.er1
68990 cat conftest.err >&5
68991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68992 (exit $ac_status); } &&
68993 { ac_try='test -z "$ac_cxx_werror_flag"
68994 || test ! -s conftest.err'
68995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68996 (eval $ac_try) 2>&5
68997 ac_status=$?
68998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68999 (exit $ac_status); }; } &&
69000 { ac_try='test -s conftest.$ac_objext'
69001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69002 (eval $ac_try) 2>&5
69003 ac_status=$?
69004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69005 (exit $ac_status); }; }; then
69006 glibcxx_cv_func__logf_use=yes
69007 else
69008 echo "$as_me: failed program was:" >&5
69009 sed 's/^/| /' conftest.$ac_ext >&5
69011 glibcxx_cv_func__logf_use=no
69013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69014 ac_ext=c
69015 ac_cpp='$CPP $CPPFLAGS'
69016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69024 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
69025 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
69027 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69029 for ac_func in _logf
69031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69032 echo "$as_me:$LINENO: checking for $ac_func" >&5
69033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69034 if eval "test \"\${$as_ac_var+set}\" = set"; then
69035 echo $ECHO_N "(cached) $ECHO_C" >&6
69036 else
69037 if test x$gcc_no_link = xyes; then
69038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69040 { (exit 1); exit 1; }; }
69042 cat >conftest.$ac_ext <<_ACEOF
69043 /* confdefs.h. */
69044 _ACEOF
69045 cat confdefs.h >>conftest.$ac_ext
69046 cat >>conftest.$ac_ext <<_ACEOF
69047 /* end confdefs.h. */
69048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69050 #define $ac_func innocuous_$ac_func
69052 /* System header to define __stub macros and hopefully few prototypes,
69053 which can conflict with char $ac_func (); below.
69054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69055 <limits.h> exists even on freestanding compilers. */
69057 #ifdef __STDC__
69058 # include <limits.h>
69059 #else
69060 # include <assert.h>
69061 #endif
69063 #undef $ac_func
69065 /* Override any gcc2 internal prototype to avoid an error. */
69066 #ifdef __cplusplus
69067 extern "C"
69069 #endif
69070 /* We use char because int might match the return type of a gcc2
69071 builtin and then its argument prototype would still apply. */
69072 char $ac_func ();
69073 /* The GNU C library defines this for functions which it implements
69074 to always fail with ENOSYS. Some functions are actually named
69075 something starting with __ and the normal name is an alias. */
69076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69077 choke me
69078 #else
69079 char (*f) () = $ac_func;
69080 #endif
69081 #ifdef __cplusplus
69083 #endif
69086 main ()
69088 return f != $ac_func;
69090 return 0;
69092 _ACEOF
69093 rm -f conftest.$ac_objext conftest$ac_exeext
69094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69095 (eval $ac_link) 2>conftest.er1
69096 ac_status=$?
69097 grep -v '^ *+' conftest.er1 >conftest.err
69098 rm -f conftest.er1
69099 cat conftest.err >&5
69100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69101 (exit $ac_status); } &&
69102 { ac_try='test -z "$ac_c_werror_flag"
69103 || test ! -s conftest.err'
69104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69105 (eval $ac_try) 2>&5
69106 ac_status=$?
69107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69108 (exit $ac_status); }; } &&
69109 { ac_try='test -s conftest$ac_exeext'
69110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69111 (eval $ac_try) 2>&5
69112 ac_status=$?
69113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69114 (exit $ac_status); }; }; then
69115 eval "$as_ac_var=yes"
69116 else
69117 echo "$as_me: failed program was:" >&5
69118 sed 's/^/| /' conftest.$ac_ext >&5
69120 eval "$as_ac_var=no"
69122 rm -f conftest.err conftest.$ac_objext \
69123 conftest$ac_exeext conftest.$ac_ext
69125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69127 if test `eval echo '${'$as_ac_var'}'` = yes; then
69128 cat >>confdefs.h <<_ACEOF
69129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69130 _ACEOF
69133 done
69143 echo "$as_me:$LINENO: checking for log10f declaration" >&5
69144 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
69145 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69146 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
69147 echo $ECHO_N "(cached) $ECHO_C" >&6
69148 else
69152 ac_ext=cc
69153 ac_cpp='$CXXCPP $CPPFLAGS'
69154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69158 cat >conftest.$ac_ext <<_ACEOF
69159 /* confdefs.h. */
69160 _ACEOF
69161 cat confdefs.h >>conftest.$ac_ext
69162 cat >>conftest.$ac_ext <<_ACEOF
69163 /* end confdefs.h. */
69164 #include <math.h>
69165 #ifdef HAVE_IEEEFP_H
69166 #include <ieeefp.h>
69167 #endif
69170 main ()
69172 log10f(0);
69174 return 0;
69176 _ACEOF
69177 rm -f conftest.$ac_objext
69178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69179 (eval $ac_compile) 2>conftest.er1
69180 ac_status=$?
69181 grep -v '^ *+' conftest.er1 >conftest.err
69182 rm -f conftest.er1
69183 cat conftest.err >&5
69184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69185 (exit $ac_status); } &&
69186 { ac_try='test -z "$ac_cxx_werror_flag"
69187 || test ! -s conftest.err'
69188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69189 (eval $ac_try) 2>&5
69190 ac_status=$?
69191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69192 (exit $ac_status); }; } &&
69193 { ac_try='test -s conftest.$ac_objext'
69194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69195 (eval $ac_try) 2>&5
69196 ac_status=$?
69197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69198 (exit $ac_status); }; }; then
69199 glibcxx_cv_func_log10f_use=yes
69200 else
69201 echo "$as_me: failed program was:" >&5
69202 sed 's/^/| /' conftest.$ac_ext >&5
69204 glibcxx_cv_func_log10f_use=no
69206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69207 ac_ext=c
69208 ac_cpp='$CPP $CPPFLAGS'
69209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69217 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
69218 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
69220 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69222 for ac_func in log10f
69224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69225 echo "$as_me:$LINENO: checking for $ac_func" >&5
69226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69227 if eval "test \"\${$as_ac_var+set}\" = set"; then
69228 echo $ECHO_N "(cached) $ECHO_C" >&6
69229 else
69230 if test x$gcc_no_link = xyes; then
69231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69233 { (exit 1); exit 1; }; }
69235 cat >conftest.$ac_ext <<_ACEOF
69236 /* confdefs.h. */
69237 _ACEOF
69238 cat confdefs.h >>conftest.$ac_ext
69239 cat >>conftest.$ac_ext <<_ACEOF
69240 /* end confdefs.h. */
69241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69243 #define $ac_func innocuous_$ac_func
69245 /* System header to define __stub macros and hopefully few prototypes,
69246 which can conflict with char $ac_func (); below.
69247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69248 <limits.h> exists even on freestanding compilers. */
69250 #ifdef __STDC__
69251 # include <limits.h>
69252 #else
69253 # include <assert.h>
69254 #endif
69256 #undef $ac_func
69258 /* Override any gcc2 internal prototype to avoid an error. */
69259 #ifdef __cplusplus
69260 extern "C"
69262 #endif
69263 /* We use char because int might match the return type of a gcc2
69264 builtin and then its argument prototype would still apply. */
69265 char $ac_func ();
69266 /* The GNU C library defines this for functions which it implements
69267 to always fail with ENOSYS. Some functions are actually named
69268 something starting with __ and the normal name is an alias. */
69269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69270 choke me
69271 #else
69272 char (*f) () = $ac_func;
69273 #endif
69274 #ifdef __cplusplus
69276 #endif
69279 main ()
69281 return f != $ac_func;
69283 return 0;
69285 _ACEOF
69286 rm -f conftest.$ac_objext conftest$ac_exeext
69287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69288 (eval $ac_link) 2>conftest.er1
69289 ac_status=$?
69290 grep -v '^ *+' conftest.er1 >conftest.err
69291 rm -f conftest.er1
69292 cat conftest.err >&5
69293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69294 (exit $ac_status); } &&
69295 { ac_try='test -z "$ac_c_werror_flag"
69296 || test ! -s conftest.err'
69297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69298 (eval $ac_try) 2>&5
69299 ac_status=$?
69300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69301 (exit $ac_status); }; } &&
69302 { ac_try='test -s conftest$ac_exeext'
69303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69304 (eval $ac_try) 2>&5
69305 ac_status=$?
69306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69307 (exit $ac_status); }; }; then
69308 eval "$as_ac_var=yes"
69309 else
69310 echo "$as_me: failed program was:" >&5
69311 sed 's/^/| /' conftest.$ac_ext >&5
69313 eval "$as_ac_var=no"
69315 rm -f conftest.err conftest.$ac_objext \
69316 conftest$ac_exeext conftest.$ac_ext
69318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69320 if test `eval echo '${'$as_ac_var'}'` = yes; then
69321 cat >>confdefs.h <<_ACEOF
69322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69323 _ACEOF
69326 done
69328 else
69330 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
69331 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
69332 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69333 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
69334 echo $ECHO_N "(cached) $ECHO_C" >&6
69335 else
69339 ac_ext=cc
69340 ac_cpp='$CXXCPP $CPPFLAGS'
69341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69345 cat >conftest.$ac_ext <<_ACEOF
69346 /* confdefs.h. */
69347 _ACEOF
69348 cat confdefs.h >>conftest.$ac_ext
69349 cat >>conftest.$ac_ext <<_ACEOF
69350 /* end confdefs.h. */
69351 #include <math.h>
69352 #ifdef HAVE_IEEEFP_H
69353 #include <ieeefp.h>
69354 #endif
69357 main ()
69359 _log10f(0);
69361 return 0;
69363 _ACEOF
69364 rm -f conftest.$ac_objext
69365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69366 (eval $ac_compile) 2>conftest.er1
69367 ac_status=$?
69368 grep -v '^ *+' conftest.er1 >conftest.err
69369 rm -f conftest.er1
69370 cat conftest.err >&5
69371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69372 (exit $ac_status); } &&
69373 { ac_try='test -z "$ac_cxx_werror_flag"
69374 || test ! -s conftest.err'
69375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69376 (eval $ac_try) 2>&5
69377 ac_status=$?
69378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69379 (exit $ac_status); }; } &&
69380 { ac_try='test -s conftest.$ac_objext'
69381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69382 (eval $ac_try) 2>&5
69383 ac_status=$?
69384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69385 (exit $ac_status); }; }; then
69386 glibcxx_cv_func__log10f_use=yes
69387 else
69388 echo "$as_me: failed program was:" >&5
69389 sed 's/^/| /' conftest.$ac_ext >&5
69391 glibcxx_cv_func__log10f_use=no
69393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69394 ac_ext=c
69395 ac_cpp='$CPP $CPPFLAGS'
69396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69404 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
69405 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
69407 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69409 for ac_func in _log10f
69411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69412 echo "$as_me:$LINENO: checking for $ac_func" >&5
69413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69414 if eval "test \"\${$as_ac_var+set}\" = set"; then
69415 echo $ECHO_N "(cached) $ECHO_C" >&6
69416 else
69417 if test x$gcc_no_link = xyes; then
69418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69420 { (exit 1); exit 1; }; }
69422 cat >conftest.$ac_ext <<_ACEOF
69423 /* confdefs.h. */
69424 _ACEOF
69425 cat confdefs.h >>conftest.$ac_ext
69426 cat >>conftest.$ac_ext <<_ACEOF
69427 /* end confdefs.h. */
69428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69430 #define $ac_func innocuous_$ac_func
69432 /* System header to define __stub macros and hopefully few prototypes,
69433 which can conflict with char $ac_func (); below.
69434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69435 <limits.h> exists even on freestanding compilers. */
69437 #ifdef __STDC__
69438 # include <limits.h>
69439 #else
69440 # include <assert.h>
69441 #endif
69443 #undef $ac_func
69445 /* Override any gcc2 internal prototype to avoid an error. */
69446 #ifdef __cplusplus
69447 extern "C"
69449 #endif
69450 /* We use char because int might match the return type of a gcc2
69451 builtin and then its argument prototype would still apply. */
69452 char $ac_func ();
69453 /* The GNU C library defines this for functions which it implements
69454 to always fail with ENOSYS. Some functions are actually named
69455 something starting with __ and the normal name is an alias. */
69456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69457 choke me
69458 #else
69459 char (*f) () = $ac_func;
69460 #endif
69461 #ifdef __cplusplus
69463 #endif
69466 main ()
69468 return f != $ac_func;
69470 return 0;
69472 _ACEOF
69473 rm -f conftest.$ac_objext conftest$ac_exeext
69474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69475 (eval $ac_link) 2>conftest.er1
69476 ac_status=$?
69477 grep -v '^ *+' conftest.er1 >conftest.err
69478 rm -f conftest.er1
69479 cat conftest.err >&5
69480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69481 (exit $ac_status); } &&
69482 { ac_try='test -z "$ac_c_werror_flag"
69483 || test ! -s conftest.err'
69484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69485 (eval $ac_try) 2>&5
69486 ac_status=$?
69487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69488 (exit $ac_status); }; } &&
69489 { ac_try='test -s conftest$ac_exeext'
69490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69491 (eval $ac_try) 2>&5
69492 ac_status=$?
69493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69494 (exit $ac_status); }; }; then
69495 eval "$as_ac_var=yes"
69496 else
69497 echo "$as_me: failed program was:" >&5
69498 sed 's/^/| /' conftest.$ac_ext >&5
69500 eval "$as_ac_var=no"
69502 rm -f conftest.err conftest.$ac_objext \
69503 conftest$ac_exeext conftest.$ac_ext
69505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69507 if test `eval echo '${'$as_ac_var'}'` = yes; then
69508 cat >>confdefs.h <<_ACEOF
69509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69510 _ACEOF
69513 done
69523 echo "$as_me:$LINENO: checking for modff declaration" >&5
69524 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
69525 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69526 if test "${glibcxx_cv_func_modff_use+set}" = set; then
69527 echo $ECHO_N "(cached) $ECHO_C" >&6
69528 else
69532 ac_ext=cc
69533 ac_cpp='$CXXCPP $CPPFLAGS'
69534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69538 cat >conftest.$ac_ext <<_ACEOF
69539 /* confdefs.h. */
69540 _ACEOF
69541 cat confdefs.h >>conftest.$ac_ext
69542 cat >>conftest.$ac_ext <<_ACEOF
69543 /* end confdefs.h. */
69544 #include <math.h>
69546 main ()
69548 modff(0, 0);
69550 return 0;
69552 _ACEOF
69553 rm -f conftest.$ac_objext
69554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69555 (eval $ac_compile) 2>conftest.er1
69556 ac_status=$?
69557 grep -v '^ *+' conftest.er1 >conftest.err
69558 rm -f conftest.er1
69559 cat conftest.err >&5
69560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69561 (exit $ac_status); } &&
69562 { ac_try='test -z "$ac_cxx_werror_flag"
69563 || test ! -s conftest.err'
69564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69565 (eval $ac_try) 2>&5
69566 ac_status=$?
69567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69568 (exit $ac_status); }; } &&
69569 { ac_try='test -s conftest.$ac_objext'
69570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69571 (eval $ac_try) 2>&5
69572 ac_status=$?
69573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69574 (exit $ac_status); }; }; then
69575 glibcxx_cv_func_modff_use=yes
69576 else
69577 echo "$as_me: failed program was:" >&5
69578 sed 's/^/| /' conftest.$ac_ext >&5
69580 glibcxx_cv_func_modff_use=no
69582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69583 ac_ext=c
69584 ac_cpp='$CPP $CPPFLAGS'
69585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69593 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
69594 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
69596 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69598 for ac_func in modff
69600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69601 echo "$as_me:$LINENO: checking for $ac_func" >&5
69602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69603 if eval "test \"\${$as_ac_var+set}\" = set"; then
69604 echo $ECHO_N "(cached) $ECHO_C" >&6
69605 else
69606 if test x$gcc_no_link = xyes; then
69607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69609 { (exit 1); exit 1; }; }
69611 cat >conftest.$ac_ext <<_ACEOF
69612 /* confdefs.h. */
69613 _ACEOF
69614 cat confdefs.h >>conftest.$ac_ext
69615 cat >>conftest.$ac_ext <<_ACEOF
69616 /* end confdefs.h. */
69617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69619 #define $ac_func innocuous_$ac_func
69621 /* System header to define __stub macros and hopefully few prototypes,
69622 which can conflict with char $ac_func (); below.
69623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69624 <limits.h> exists even on freestanding compilers. */
69626 #ifdef __STDC__
69627 # include <limits.h>
69628 #else
69629 # include <assert.h>
69630 #endif
69632 #undef $ac_func
69634 /* Override any gcc2 internal prototype to avoid an error. */
69635 #ifdef __cplusplus
69636 extern "C"
69638 #endif
69639 /* We use char because int might match the return type of a gcc2
69640 builtin and then its argument prototype would still apply. */
69641 char $ac_func ();
69642 /* The GNU C library defines this for functions which it implements
69643 to always fail with ENOSYS. Some functions are actually named
69644 something starting with __ and the normal name is an alias. */
69645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69646 choke me
69647 #else
69648 char (*f) () = $ac_func;
69649 #endif
69650 #ifdef __cplusplus
69652 #endif
69655 main ()
69657 return f != $ac_func;
69659 return 0;
69661 _ACEOF
69662 rm -f conftest.$ac_objext conftest$ac_exeext
69663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69664 (eval $ac_link) 2>conftest.er1
69665 ac_status=$?
69666 grep -v '^ *+' conftest.er1 >conftest.err
69667 rm -f conftest.er1
69668 cat conftest.err >&5
69669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69670 (exit $ac_status); } &&
69671 { ac_try='test -z "$ac_c_werror_flag"
69672 || test ! -s conftest.err'
69673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69674 (eval $ac_try) 2>&5
69675 ac_status=$?
69676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69677 (exit $ac_status); }; } &&
69678 { ac_try='test -s conftest$ac_exeext'
69679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69680 (eval $ac_try) 2>&5
69681 ac_status=$?
69682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69683 (exit $ac_status); }; }; then
69684 eval "$as_ac_var=yes"
69685 else
69686 echo "$as_me: failed program was:" >&5
69687 sed 's/^/| /' conftest.$ac_ext >&5
69689 eval "$as_ac_var=no"
69691 rm -f conftest.err conftest.$ac_objext \
69692 conftest$ac_exeext conftest.$ac_ext
69694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69696 if test `eval echo '${'$as_ac_var'}'` = yes; then
69697 cat >>confdefs.h <<_ACEOF
69698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69699 _ACEOF
69702 done
69704 else
69706 echo "$as_me:$LINENO: checking for _modff declaration" >&5
69707 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
69708 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69709 if test "${glibcxx_cv_func__modff_use+set}" = set; then
69710 echo $ECHO_N "(cached) $ECHO_C" >&6
69711 else
69715 ac_ext=cc
69716 ac_cpp='$CXXCPP $CPPFLAGS'
69717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69721 cat >conftest.$ac_ext <<_ACEOF
69722 /* confdefs.h. */
69723 _ACEOF
69724 cat confdefs.h >>conftest.$ac_ext
69725 cat >>conftest.$ac_ext <<_ACEOF
69726 /* end confdefs.h. */
69727 #include <math.h>
69729 main ()
69731 _modff(0, 0);
69733 return 0;
69735 _ACEOF
69736 rm -f conftest.$ac_objext
69737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69738 (eval $ac_compile) 2>conftest.er1
69739 ac_status=$?
69740 grep -v '^ *+' conftest.er1 >conftest.err
69741 rm -f conftest.er1
69742 cat conftest.err >&5
69743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69744 (exit $ac_status); } &&
69745 { ac_try='test -z "$ac_cxx_werror_flag"
69746 || test ! -s conftest.err'
69747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69748 (eval $ac_try) 2>&5
69749 ac_status=$?
69750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69751 (exit $ac_status); }; } &&
69752 { ac_try='test -s conftest.$ac_objext'
69753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69754 (eval $ac_try) 2>&5
69755 ac_status=$?
69756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69757 (exit $ac_status); }; }; then
69758 glibcxx_cv_func__modff_use=yes
69759 else
69760 echo "$as_me: failed program was:" >&5
69761 sed 's/^/| /' conftest.$ac_ext >&5
69763 glibcxx_cv_func__modff_use=no
69765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69766 ac_ext=c
69767 ac_cpp='$CPP $CPPFLAGS'
69768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69776 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
69777 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
69779 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69781 for ac_func in _modff
69783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69784 echo "$as_me:$LINENO: checking for $ac_func" >&5
69785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69786 if eval "test \"\${$as_ac_var+set}\" = set"; then
69787 echo $ECHO_N "(cached) $ECHO_C" >&6
69788 else
69789 if test x$gcc_no_link = xyes; then
69790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69792 { (exit 1); exit 1; }; }
69794 cat >conftest.$ac_ext <<_ACEOF
69795 /* confdefs.h. */
69796 _ACEOF
69797 cat confdefs.h >>conftest.$ac_ext
69798 cat >>conftest.$ac_ext <<_ACEOF
69799 /* end confdefs.h. */
69800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69802 #define $ac_func innocuous_$ac_func
69804 /* System header to define __stub macros and hopefully few prototypes,
69805 which can conflict with char $ac_func (); below.
69806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69807 <limits.h> exists even on freestanding compilers. */
69809 #ifdef __STDC__
69810 # include <limits.h>
69811 #else
69812 # include <assert.h>
69813 #endif
69815 #undef $ac_func
69817 /* Override any gcc2 internal prototype to avoid an error. */
69818 #ifdef __cplusplus
69819 extern "C"
69821 #endif
69822 /* We use char because int might match the return type of a gcc2
69823 builtin and then its argument prototype would still apply. */
69824 char $ac_func ();
69825 /* The GNU C library defines this for functions which it implements
69826 to always fail with ENOSYS. Some functions are actually named
69827 something starting with __ and the normal name is an alias. */
69828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69829 choke me
69830 #else
69831 char (*f) () = $ac_func;
69832 #endif
69833 #ifdef __cplusplus
69835 #endif
69838 main ()
69840 return f != $ac_func;
69842 return 0;
69844 _ACEOF
69845 rm -f conftest.$ac_objext conftest$ac_exeext
69846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69847 (eval $ac_link) 2>conftest.er1
69848 ac_status=$?
69849 grep -v '^ *+' conftest.er1 >conftest.err
69850 rm -f conftest.er1
69851 cat conftest.err >&5
69852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69853 (exit $ac_status); } &&
69854 { ac_try='test -z "$ac_c_werror_flag"
69855 || test ! -s conftest.err'
69856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69857 (eval $ac_try) 2>&5
69858 ac_status=$?
69859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69860 (exit $ac_status); }; } &&
69861 { ac_try='test -s conftest$ac_exeext'
69862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69863 (eval $ac_try) 2>&5
69864 ac_status=$?
69865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69866 (exit $ac_status); }; }; then
69867 eval "$as_ac_var=yes"
69868 else
69869 echo "$as_me: failed program was:" >&5
69870 sed 's/^/| /' conftest.$ac_ext >&5
69872 eval "$as_ac_var=no"
69874 rm -f conftest.err conftest.$ac_objext \
69875 conftest$ac_exeext conftest.$ac_ext
69877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69879 if test `eval echo '${'$as_ac_var'}'` = yes; then
69880 cat >>confdefs.h <<_ACEOF
69881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69882 _ACEOF
69885 done
69895 echo "$as_me:$LINENO: checking for modf declaration" >&5
69896 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
69897 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69898 if test "${glibcxx_cv_func_modf_use+set}" = set; then
69899 echo $ECHO_N "(cached) $ECHO_C" >&6
69900 else
69904 ac_ext=cc
69905 ac_cpp='$CXXCPP $CPPFLAGS'
69906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69910 cat >conftest.$ac_ext <<_ACEOF
69911 /* confdefs.h. */
69912 _ACEOF
69913 cat confdefs.h >>conftest.$ac_ext
69914 cat >>conftest.$ac_ext <<_ACEOF
69915 /* end confdefs.h. */
69916 #include <math.h>
69918 main ()
69920 modf(0, 0);
69922 return 0;
69924 _ACEOF
69925 rm -f conftest.$ac_objext
69926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69927 (eval $ac_compile) 2>conftest.er1
69928 ac_status=$?
69929 grep -v '^ *+' conftest.er1 >conftest.err
69930 rm -f conftest.er1
69931 cat conftest.err >&5
69932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69933 (exit $ac_status); } &&
69934 { ac_try='test -z "$ac_cxx_werror_flag"
69935 || test ! -s conftest.err'
69936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69937 (eval $ac_try) 2>&5
69938 ac_status=$?
69939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69940 (exit $ac_status); }; } &&
69941 { ac_try='test -s conftest.$ac_objext'
69942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69943 (eval $ac_try) 2>&5
69944 ac_status=$?
69945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69946 (exit $ac_status); }; }; then
69947 glibcxx_cv_func_modf_use=yes
69948 else
69949 echo "$as_me: failed program was:" >&5
69950 sed 's/^/| /' conftest.$ac_ext >&5
69952 glibcxx_cv_func_modf_use=no
69954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69955 ac_ext=c
69956 ac_cpp='$CPP $CPPFLAGS'
69957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69965 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
69966 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
69968 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69970 for ac_func in modf
69972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69973 echo "$as_me:$LINENO: checking for $ac_func" >&5
69974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69975 if eval "test \"\${$as_ac_var+set}\" = set"; then
69976 echo $ECHO_N "(cached) $ECHO_C" >&6
69977 else
69978 if test x$gcc_no_link = xyes; then
69979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69981 { (exit 1); exit 1; }; }
69983 cat >conftest.$ac_ext <<_ACEOF
69984 /* confdefs.h. */
69985 _ACEOF
69986 cat confdefs.h >>conftest.$ac_ext
69987 cat >>conftest.$ac_ext <<_ACEOF
69988 /* end confdefs.h. */
69989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69991 #define $ac_func innocuous_$ac_func
69993 /* System header to define __stub macros and hopefully few prototypes,
69994 which can conflict with char $ac_func (); below.
69995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69996 <limits.h> exists even on freestanding compilers. */
69998 #ifdef __STDC__
69999 # include <limits.h>
70000 #else
70001 # include <assert.h>
70002 #endif
70004 #undef $ac_func
70006 /* Override any gcc2 internal prototype to avoid an error. */
70007 #ifdef __cplusplus
70008 extern "C"
70010 #endif
70011 /* We use char because int might match the return type of a gcc2
70012 builtin and then its argument prototype would still apply. */
70013 char $ac_func ();
70014 /* The GNU C library defines this for functions which it implements
70015 to always fail with ENOSYS. Some functions are actually named
70016 something starting with __ and the normal name is an alias. */
70017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70018 choke me
70019 #else
70020 char (*f) () = $ac_func;
70021 #endif
70022 #ifdef __cplusplus
70024 #endif
70027 main ()
70029 return f != $ac_func;
70031 return 0;
70033 _ACEOF
70034 rm -f conftest.$ac_objext conftest$ac_exeext
70035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70036 (eval $ac_link) 2>conftest.er1
70037 ac_status=$?
70038 grep -v '^ *+' conftest.er1 >conftest.err
70039 rm -f conftest.er1
70040 cat conftest.err >&5
70041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70042 (exit $ac_status); } &&
70043 { ac_try='test -z "$ac_c_werror_flag"
70044 || test ! -s conftest.err'
70045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70046 (eval $ac_try) 2>&5
70047 ac_status=$?
70048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70049 (exit $ac_status); }; } &&
70050 { ac_try='test -s conftest$ac_exeext'
70051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70052 (eval $ac_try) 2>&5
70053 ac_status=$?
70054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70055 (exit $ac_status); }; }; then
70056 eval "$as_ac_var=yes"
70057 else
70058 echo "$as_me: failed program was:" >&5
70059 sed 's/^/| /' conftest.$ac_ext >&5
70061 eval "$as_ac_var=no"
70063 rm -f conftest.err conftest.$ac_objext \
70064 conftest$ac_exeext conftest.$ac_ext
70066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70068 if test `eval echo '${'$as_ac_var'}'` = yes; then
70069 cat >>confdefs.h <<_ACEOF
70070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70071 _ACEOF
70074 done
70076 else
70078 echo "$as_me:$LINENO: checking for _modf declaration" >&5
70079 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
70080 if test x${glibcxx_cv_func__modf_use+set} != xset; then
70081 if test "${glibcxx_cv_func__modf_use+set}" = set; then
70082 echo $ECHO_N "(cached) $ECHO_C" >&6
70083 else
70087 ac_ext=cc
70088 ac_cpp='$CXXCPP $CPPFLAGS'
70089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70093 cat >conftest.$ac_ext <<_ACEOF
70094 /* confdefs.h. */
70095 _ACEOF
70096 cat confdefs.h >>conftest.$ac_ext
70097 cat >>conftest.$ac_ext <<_ACEOF
70098 /* end confdefs.h. */
70099 #include <math.h>
70101 main ()
70103 _modf(0, 0);
70105 return 0;
70107 _ACEOF
70108 rm -f conftest.$ac_objext
70109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70110 (eval $ac_compile) 2>conftest.er1
70111 ac_status=$?
70112 grep -v '^ *+' conftest.er1 >conftest.err
70113 rm -f conftest.er1
70114 cat conftest.err >&5
70115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70116 (exit $ac_status); } &&
70117 { ac_try='test -z "$ac_cxx_werror_flag"
70118 || test ! -s conftest.err'
70119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70120 (eval $ac_try) 2>&5
70121 ac_status=$?
70122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70123 (exit $ac_status); }; } &&
70124 { ac_try='test -s conftest.$ac_objext'
70125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70126 (eval $ac_try) 2>&5
70127 ac_status=$?
70128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70129 (exit $ac_status); }; }; then
70130 glibcxx_cv_func__modf_use=yes
70131 else
70132 echo "$as_me: failed program was:" >&5
70133 sed 's/^/| /' conftest.$ac_ext >&5
70135 glibcxx_cv_func__modf_use=no
70137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70138 ac_ext=c
70139 ac_cpp='$CPP $CPPFLAGS'
70140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70148 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
70149 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
70151 if test x$glibcxx_cv_func__modf_use = x"yes"; then
70153 for ac_func in _modf
70155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70156 echo "$as_me:$LINENO: checking for $ac_func" >&5
70157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70158 if eval "test \"\${$as_ac_var+set}\" = set"; then
70159 echo $ECHO_N "(cached) $ECHO_C" >&6
70160 else
70161 if test x$gcc_no_link = xyes; then
70162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70164 { (exit 1); exit 1; }; }
70166 cat >conftest.$ac_ext <<_ACEOF
70167 /* confdefs.h. */
70168 _ACEOF
70169 cat confdefs.h >>conftest.$ac_ext
70170 cat >>conftest.$ac_ext <<_ACEOF
70171 /* end confdefs.h. */
70172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70174 #define $ac_func innocuous_$ac_func
70176 /* System header to define __stub macros and hopefully few prototypes,
70177 which can conflict with char $ac_func (); below.
70178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70179 <limits.h> exists even on freestanding compilers. */
70181 #ifdef __STDC__
70182 # include <limits.h>
70183 #else
70184 # include <assert.h>
70185 #endif
70187 #undef $ac_func
70189 /* Override any gcc2 internal prototype to avoid an error. */
70190 #ifdef __cplusplus
70191 extern "C"
70193 #endif
70194 /* We use char because int might match the return type of a gcc2
70195 builtin and then its argument prototype would still apply. */
70196 char $ac_func ();
70197 /* The GNU C library defines this for functions which it implements
70198 to always fail with ENOSYS. Some functions are actually named
70199 something starting with __ and the normal name is an alias. */
70200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70201 choke me
70202 #else
70203 char (*f) () = $ac_func;
70204 #endif
70205 #ifdef __cplusplus
70207 #endif
70210 main ()
70212 return f != $ac_func;
70214 return 0;
70216 _ACEOF
70217 rm -f conftest.$ac_objext conftest$ac_exeext
70218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70219 (eval $ac_link) 2>conftest.er1
70220 ac_status=$?
70221 grep -v '^ *+' conftest.er1 >conftest.err
70222 rm -f conftest.er1
70223 cat conftest.err >&5
70224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70225 (exit $ac_status); } &&
70226 { ac_try='test -z "$ac_c_werror_flag"
70227 || test ! -s conftest.err'
70228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70229 (eval $ac_try) 2>&5
70230 ac_status=$?
70231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70232 (exit $ac_status); }; } &&
70233 { ac_try='test -s conftest$ac_exeext'
70234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70235 (eval $ac_try) 2>&5
70236 ac_status=$?
70237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70238 (exit $ac_status); }; }; then
70239 eval "$as_ac_var=yes"
70240 else
70241 echo "$as_me: failed program was:" >&5
70242 sed 's/^/| /' conftest.$ac_ext >&5
70244 eval "$as_ac_var=no"
70246 rm -f conftest.err conftest.$ac_objext \
70247 conftest$ac_exeext conftest.$ac_ext
70249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70251 if test `eval echo '${'$as_ac_var'}'` = yes; then
70252 cat >>confdefs.h <<_ACEOF
70253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70254 _ACEOF
70257 done
70267 echo "$as_me:$LINENO: checking for powf declaration" >&5
70268 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
70269 if test x${glibcxx_cv_func_powf_use+set} != xset; then
70270 if test "${glibcxx_cv_func_powf_use+set}" = set; then
70271 echo $ECHO_N "(cached) $ECHO_C" >&6
70272 else
70276 ac_ext=cc
70277 ac_cpp='$CXXCPP $CPPFLAGS'
70278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70282 cat >conftest.$ac_ext <<_ACEOF
70283 /* confdefs.h. */
70284 _ACEOF
70285 cat confdefs.h >>conftest.$ac_ext
70286 cat >>conftest.$ac_ext <<_ACEOF
70287 /* end confdefs.h. */
70288 #include <math.h>
70290 main ()
70292 powf(0, 0);
70294 return 0;
70296 _ACEOF
70297 rm -f conftest.$ac_objext
70298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70299 (eval $ac_compile) 2>conftest.er1
70300 ac_status=$?
70301 grep -v '^ *+' conftest.er1 >conftest.err
70302 rm -f conftest.er1
70303 cat conftest.err >&5
70304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70305 (exit $ac_status); } &&
70306 { ac_try='test -z "$ac_cxx_werror_flag"
70307 || test ! -s conftest.err'
70308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70309 (eval $ac_try) 2>&5
70310 ac_status=$?
70311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70312 (exit $ac_status); }; } &&
70313 { ac_try='test -s conftest.$ac_objext'
70314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70315 (eval $ac_try) 2>&5
70316 ac_status=$?
70317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70318 (exit $ac_status); }; }; then
70319 glibcxx_cv_func_powf_use=yes
70320 else
70321 echo "$as_me: failed program was:" >&5
70322 sed 's/^/| /' conftest.$ac_ext >&5
70324 glibcxx_cv_func_powf_use=no
70326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70327 ac_ext=c
70328 ac_cpp='$CPP $CPPFLAGS'
70329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70337 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
70338 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
70340 if test x$glibcxx_cv_func_powf_use = x"yes"; then
70342 for ac_func in powf
70344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70345 echo "$as_me:$LINENO: checking for $ac_func" >&5
70346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70347 if eval "test \"\${$as_ac_var+set}\" = set"; then
70348 echo $ECHO_N "(cached) $ECHO_C" >&6
70349 else
70350 if test x$gcc_no_link = xyes; then
70351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70353 { (exit 1); exit 1; }; }
70355 cat >conftest.$ac_ext <<_ACEOF
70356 /* confdefs.h. */
70357 _ACEOF
70358 cat confdefs.h >>conftest.$ac_ext
70359 cat >>conftest.$ac_ext <<_ACEOF
70360 /* end confdefs.h. */
70361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70363 #define $ac_func innocuous_$ac_func
70365 /* System header to define __stub macros and hopefully few prototypes,
70366 which can conflict with char $ac_func (); below.
70367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70368 <limits.h> exists even on freestanding compilers. */
70370 #ifdef __STDC__
70371 # include <limits.h>
70372 #else
70373 # include <assert.h>
70374 #endif
70376 #undef $ac_func
70378 /* Override any gcc2 internal prototype to avoid an error. */
70379 #ifdef __cplusplus
70380 extern "C"
70382 #endif
70383 /* We use char because int might match the return type of a gcc2
70384 builtin and then its argument prototype would still apply. */
70385 char $ac_func ();
70386 /* The GNU C library defines this for functions which it implements
70387 to always fail with ENOSYS. Some functions are actually named
70388 something starting with __ and the normal name is an alias. */
70389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70390 choke me
70391 #else
70392 char (*f) () = $ac_func;
70393 #endif
70394 #ifdef __cplusplus
70396 #endif
70399 main ()
70401 return f != $ac_func;
70403 return 0;
70405 _ACEOF
70406 rm -f conftest.$ac_objext conftest$ac_exeext
70407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70408 (eval $ac_link) 2>conftest.er1
70409 ac_status=$?
70410 grep -v '^ *+' conftest.er1 >conftest.err
70411 rm -f conftest.er1
70412 cat conftest.err >&5
70413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70414 (exit $ac_status); } &&
70415 { ac_try='test -z "$ac_c_werror_flag"
70416 || test ! -s conftest.err'
70417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70418 (eval $ac_try) 2>&5
70419 ac_status=$?
70420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70421 (exit $ac_status); }; } &&
70422 { ac_try='test -s conftest$ac_exeext'
70423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70424 (eval $ac_try) 2>&5
70425 ac_status=$?
70426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70427 (exit $ac_status); }; }; then
70428 eval "$as_ac_var=yes"
70429 else
70430 echo "$as_me: failed program was:" >&5
70431 sed 's/^/| /' conftest.$ac_ext >&5
70433 eval "$as_ac_var=no"
70435 rm -f conftest.err conftest.$ac_objext \
70436 conftest$ac_exeext conftest.$ac_ext
70438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70440 if test `eval echo '${'$as_ac_var'}'` = yes; then
70441 cat >>confdefs.h <<_ACEOF
70442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70443 _ACEOF
70446 done
70448 else
70450 echo "$as_me:$LINENO: checking for _powf declaration" >&5
70451 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
70452 if test x${glibcxx_cv_func__powf_use+set} != xset; then
70453 if test "${glibcxx_cv_func__powf_use+set}" = set; then
70454 echo $ECHO_N "(cached) $ECHO_C" >&6
70455 else
70459 ac_ext=cc
70460 ac_cpp='$CXXCPP $CPPFLAGS'
70461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70465 cat >conftest.$ac_ext <<_ACEOF
70466 /* confdefs.h. */
70467 _ACEOF
70468 cat confdefs.h >>conftest.$ac_ext
70469 cat >>conftest.$ac_ext <<_ACEOF
70470 /* end confdefs.h. */
70471 #include <math.h>
70473 main ()
70475 _powf(0, 0);
70477 return 0;
70479 _ACEOF
70480 rm -f conftest.$ac_objext
70481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70482 (eval $ac_compile) 2>conftest.er1
70483 ac_status=$?
70484 grep -v '^ *+' conftest.er1 >conftest.err
70485 rm -f conftest.er1
70486 cat conftest.err >&5
70487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70488 (exit $ac_status); } &&
70489 { ac_try='test -z "$ac_cxx_werror_flag"
70490 || test ! -s conftest.err'
70491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70492 (eval $ac_try) 2>&5
70493 ac_status=$?
70494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70495 (exit $ac_status); }; } &&
70496 { ac_try='test -s conftest.$ac_objext'
70497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70498 (eval $ac_try) 2>&5
70499 ac_status=$?
70500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70501 (exit $ac_status); }; }; then
70502 glibcxx_cv_func__powf_use=yes
70503 else
70504 echo "$as_me: failed program was:" >&5
70505 sed 's/^/| /' conftest.$ac_ext >&5
70507 glibcxx_cv_func__powf_use=no
70509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70510 ac_ext=c
70511 ac_cpp='$CPP $CPPFLAGS'
70512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70520 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
70521 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
70523 if test x$glibcxx_cv_func__powf_use = x"yes"; then
70525 for ac_func in _powf
70527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70528 echo "$as_me:$LINENO: checking for $ac_func" >&5
70529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70530 if eval "test \"\${$as_ac_var+set}\" = set"; then
70531 echo $ECHO_N "(cached) $ECHO_C" >&6
70532 else
70533 if test x$gcc_no_link = xyes; then
70534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70536 { (exit 1); exit 1; }; }
70538 cat >conftest.$ac_ext <<_ACEOF
70539 /* confdefs.h. */
70540 _ACEOF
70541 cat confdefs.h >>conftest.$ac_ext
70542 cat >>conftest.$ac_ext <<_ACEOF
70543 /* end confdefs.h. */
70544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70546 #define $ac_func innocuous_$ac_func
70548 /* System header to define __stub macros and hopefully few prototypes,
70549 which can conflict with char $ac_func (); below.
70550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70551 <limits.h> exists even on freestanding compilers. */
70553 #ifdef __STDC__
70554 # include <limits.h>
70555 #else
70556 # include <assert.h>
70557 #endif
70559 #undef $ac_func
70561 /* Override any gcc2 internal prototype to avoid an error. */
70562 #ifdef __cplusplus
70563 extern "C"
70565 #endif
70566 /* We use char because int might match the return type of a gcc2
70567 builtin and then its argument prototype would still apply. */
70568 char $ac_func ();
70569 /* The GNU C library defines this for functions which it implements
70570 to always fail with ENOSYS. Some functions are actually named
70571 something starting with __ and the normal name is an alias. */
70572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70573 choke me
70574 #else
70575 char (*f) () = $ac_func;
70576 #endif
70577 #ifdef __cplusplus
70579 #endif
70582 main ()
70584 return f != $ac_func;
70586 return 0;
70588 _ACEOF
70589 rm -f conftest.$ac_objext conftest$ac_exeext
70590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70591 (eval $ac_link) 2>conftest.er1
70592 ac_status=$?
70593 grep -v '^ *+' conftest.er1 >conftest.err
70594 rm -f conftest.er1
70595 cat conftest.err >&5
70596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70597 (exit $ac_status); } &&
70598 { ac_try='test -z "$ac_c_werror_flag"
70599 || test ! -s conftest.err'
70600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70601 (eval $ac_try) 2>&5
70602 ac_status=$?
70603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70604 (exit $ac_status); }; } &&
70605 { ac_try='test -s conftest$ac_exeext'
70606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70607 (eval $ac_try) 2>&5
70608 ac_status=$?
70609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70610 (exit $ac_status); }; }; then
70611 eval "$as_ac_var=yes"
70612 else
70613 echo "$as_me: failed program was:" >&5
70614 sed 's/^/| /' conftest.$ac_ext >&5
70616 eval "$as_ac_var=no"
70618 rm -f conftest.err conftest.$ac_objext \
70619 conftest$ac_exeext conftest.$ac_ext
70621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70623 if test `eval echo '${'$as_ac_var'}'` = yes; then
70624 cat >>confdefs.h <<_ACEOF
70625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70626 _ACEOF
70629 done
70639 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
70640 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
70641 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
70642 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
70643 echo $ECHO_N "(cached) $ECHO_C" >&6
70644 else
70648 ac_ext=cc
70649 ac_cpp='$CXXCPP $CPPFLAGS'
70650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70654 cat >conftest.$ac_ext <<_ACEOF
70655 /* confdefs.h. */
70656 _ACEOF
70657 cat confdefs.h >>conftest.$ac_ext
70658 cat >>conftest.$ac_ext <<_ACEOF
70659 /* end confdefs.h. */
70660 #include <math.h>
70661 #ifdef HAVE_IEEEFP_H
70662 #include <ieeefp.h>
70663 #endif
70666 main ()
70668 sqrtf(0);
70670 return 0;
70672 _ACEOF
70673 rm -f conftest.$ac_objext
70674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70675 (eval $ac_compile) 2>conftest.er1
70676 ac_status=$?
70677 grep -v '^ *+' conftest.er1 >conftest.err
70678 rm -f conftest.er1
70679 cat conftest.err >&5
70680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70681 (exit $ac_status); } &&
70682 { ac_try='test -z "$ac_cxx_werror_flag"
70683 || test ! -s conftest.err'
70684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70685 (eval $ac_try) 2>&5
70686 ac_status=$?
70687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70688 (exit $ac_status); }; } &&
70689 { ac_try='test -s conftest.$ac_objext'
70690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70691 (eval $ac_try) 2>&5
70692 ac_status=$?
70693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70694 (exit $ac_status); }; }; then
70695 glibcxx_cv_func_sqrtf_use=yes
70696 else
70697 echo "$as_me: failed program was:" >&5
70698 sed 's/^/| /' conftest.$ac_ext >&5
70700 glibcxx_cv_func_sqrtf_use=no
70702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70703 ac_ext=c
70704 ac_cpp='$CPP $CPPFLAGS'
70705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70713 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
70714 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
70716 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
70718 for ac_func in sqrtf
70720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70721 echo "$as_me:$LINENO: checking for $ac_func" >&5
70722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70723 if eval "test \"\${$as_ac_var+set}\" = set"; then
70724 echo $ECHO_N "(cached) $ECHO_C" >&6
70725 else
70726 if test x$gcc_no_link = xyes; then
70727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70729 { (exit 1); exit 1; }; }
70731 cat >conftest.$ac_ext <<_ACEOF
70732 /* confdefs.h. */
70733 _ACEOF
70734 cat confdefs.h >>conftest.$ac_ext
70735 cat >>conftest.$ac_ext <<_ACEOF
70736 /* end confdefs.h. */
70737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70739 #define $ac_func innocuous_$ac_func
70741 /* System header to define __stub macros and hopefully few prototypes,
70742 which can conflict with char $ac_func (); below.
70743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70744 <limits.h> exists even on freestanding compilers. */
70746 #ifdef __STDC__
70747 # include <limits.h>
70748 #else
70749 # include <assert.h>
70750 #endif
70752 #undef $ac_func
70754 /* Override any gcc2 internal prototype to avoid an error. */
70755 #ifdef __cplusplus
70756 extern "C"
70758 #endif
70759 /* We use char because int might match the return type of a gcc2
70760 builtin and then its argument prototype would still apply. */
70761 char $ac_func ();
70762 /* The GNU C library defines this for functions which it implements
70763 to always fail with ENOSYS. Some functions are actually named
70764 something starting with __ and the normal name is an alias. */
70765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70766 choke me
70767 #else
70768 char (*f) () = $ac_func;
70769 #endif
70770 #ifdef __cplusplus
70772 #endif
70775 main ()
70777 return f != $ac_func;
70779 return 0;
70781 _ACEOF
70782 rm -f conftest.$ac_objext conftest$ac_exeext
70783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70784 (eval $ac_link) 2>conftest.er1
70785 ac_status=$?
70786 grep -v '^ *+' conftest.er1 >conftest.err
70787 rm -f conftest.er1
70788 cat conftest.err >&5
70789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70790 (exit $ac_status); } &&
70791 { ac_try='test -z "$ac_c_werror_flag"
70792 || test ! -s conftest.err'
70793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70794 (eval $ac_try) 2>&5
70795 ac_status=$?
70796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70797 (exit $ac_status); }; } &&
70798 { ac_try='test -s conftest$ac_exeext'
70799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70800 (eval $ac_try) 2>&5
70801 ac_status=$?
70802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70803 (exit $ac_status); }; }; then
70804 eval "$as_ac_var=yes"
70805 else
70806 echo "$as_me: failed program was:" >&5
70807 sed 's/^/| /' conftest.$ac_ext >&5
70809 eval "$as_ac_var=no"
70811 rm -f conftest.err conftest.$ac_objext \
70812 conftest$ac_exeext conftest.$ac_ext
70814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70816 if test `eval echo '${'$as_ac_var'}'` = yes; then
70817 cat >>confdefs.h <<_ACEOF
70818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70819 _ACEOF
70822 done
70824 else
70826 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
70827 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
70828 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
70829 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
70830 echo $ECHO_N "(cached) $ECHO_C" >&6
70831 else
70835 ac_ext=cc
70836 ac_cpp='$CXXCPP $CPPFLAGS'
70837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70841 cat >conftest.$ac_ext <<_ACEOF
70842 /* confdefs.h. */
70843 _ACEOF
70844 cat confdefs.h >>conftest.$ac_ext
70845 cat >>conftest.$ac_ext <<_ACEOF
70846 /* end confdefs.h. */
70847 #include <math.h>
70848 #ifdef HAVE_IEEEFP_H
70849 #include <ieeefp.h>
70850 #endif
70853 main ()
70855 _sqrtf(0);
70857 return 0;
70859 _ACEOF
70860 rm -f conftest.$ac_objext
70861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70862 (eval $ac_compile) 2>conftest.er1
70863 ac_status=$?
70864 grep -v '^ *+' conftest.er1 >conftest.err
70865 rm -f conftest.er1
70866 cat conftest.err >&5
70867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70868 (exit $ac_status); } &&
70869 { ac_try='test -z "$ac_cxx_werror_flag"
70870 || test ! -s conftest.err'
70871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70872 (eval $ac_try) 2>&5
70873 ac_status=$?
70874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70875 (exit $ac_status); }; } &&
70876 { ac_try='test -s conftest.$ac_objext'
70877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70878 (eval $ac_try) 2>&5
70879 ac_status=$?
70880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70881 (exit $ac_status); }; }; then
70882 glibcxx_cv_func__sqrtf_use=yes
70883 else
70884 echo "$as_me: failed program was:" >&5
70885 sed 's/^/| /' conftest.$ac_ext >&5
70887 glibcxx_cv_func__sqrtf_use=no
70889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70890 ac_ext=c
70891 ac_cpp='$CPP $CPPFLAGS'
70892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70900 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
70901 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
70903 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
70905 for ac_func in _sqrtf
70907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70908 echo "$as_me:$LINENO: checking for $ac_func" >&5
70909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70910 if eval "test \"\${$as_ac_var+set}\" = set"; then
70911 echo $ECHO_N "(cached) $ECHO_C" >&6
70912 else
70913 if test x$gcc_no_link = xyes; then
70914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70916 { (exit 1); exit 1; }; }
70918 cat >conftest.$ac_ext <<_ACEOF
70919 /* confdefs.h. */
70920 _ACEOF
70921 cat confdefs.h >>conftest.$ac_ext
70922 cat >>conftest.$ac_ext <<_ACEOF
70923 /* end confdefs.h. */
70924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70926 #define $ac_func innocuous_$ac_func
70928 /* System header to define __stub macros and hopefully few prototypes,
70929 which can conflict with char $ac_func (); below.
70930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70931 <limits.h> exists even on freestanding compilers. */
70933 #ifdef __STDC__
70934 # include <limits.h>
70935 #else
70936 # include <assert.h>
70937 #endif
70939 #undef $ac_func
70941 /* Override any gcc2 internal prototype to avoid an error. */
70942 #ifdef __cplusplus
70943 extern "C"
70945 #endif
70946 /* We use char because int might match the return type of a gcc2
70947 builtin and then its argument prototype would still apply. */
70948 char $ac_func ();
70949 /* The GNU C library defines this for functions which it implements
70950 to always fail with ENOSYS. Some functions are actually named
70951 something starting with __ and the normal name is an alias. */
70952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70953 choke me
70954 #else
70955 char (*f) () = $ac_func;
70956 #endif
70957 #ifdef __cplusplus
70959 #endif
70962 main ()
70964 return f != $ac_func;
70966 return 0;
70968 _ACEOF
70969 rm -f conftest.$ac_objext conftest$ac_exeext
70970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70971 (eval $ac_link) 2>conftest.er1
70972 ac_status=$?
70973 grep -v '^ *+' conftest.er1 >conftest.err
70974 rm -f conftest.er1
70975 cat conftest.err >&5
70976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70977 (exit $ac_status); } &&
70978 { ac_try='test -z "$ac_c_werror_flag"
70979 || test ! -s conftest.err'
70980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70981 (eval $ac_try) 2>&5
70982 ac_status=$?
70983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70984 (exit $ac_status); }; } &&
70985 { ac_try='test -s conftest$ac_exeext'
70986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70987 (eval $ac_try) 2>&5
70988 ac_status=$?
70989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70990 (exit $ac_status); }; }; then
70991 eval "$as_ac_var=yes"
70992 else
70993 echo "$as_me: failed program was:" >&5
70994 sed 's/^/| /' conftest.$ac_ext >&5
70996 eval "$as_ac_var=no"
70998 rm -f conftest.err conftest.$ac_objext \
70999 conftest$ac_exeext conftest.$ac_ext
71001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71003 if test `eval echo '${'$as_ac_var'}'` = yes; then
71004 cat >>confdefs.h <<_ACEOF
71005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71006 _ACEOF
71009 done
71019 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
71020 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
71021 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
71022 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
71023 echo $ECHO_N "(cached) $ECHO_C" >&6
71024 else
71028 ac_ext=cc
71029 ac_cpp='$CXXCPP $CPPFLAGS'
71030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71034 cat >conftest.$ac_ext <<_ACEOF
71035 /* confdefs.h. */
71036 _ACEOF
71037 cat confdefs.h >>conftest.$ac_ext
71038 cat >>conftest.$ac_ext <<_ACEOF
71039 /* end confdefs.h. */
71040 #include <math.h>
71042 main ()
71044 sincosf(0, 0, 0);
71046 return 0;
71048 _ACEOF
71049 rm -f conftest.$ac_objext
71050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71051 (eval $ac_compile) 2>conftest.er1
71052 ac_status=$?
71053 grep -v '^ *+' conftest.er1 >conftest.err
71054 rm -f conftest.er1
71055 cat conftest.err >&5
71056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71057 (exit $ac_status); } &&
71058 { ac_try='test -z "$ac_cxx_werror_flag"
71059 || test ! -s conftest.err'
71060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71061 (eval $ac_try) 2>&5
71062 ac_status=$?
71063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71064 (exit $ac_status); }; } &&
71065 { ac_try='test -s conftest.$ac_objext'
71066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71067 (eval $ac_try) 2>&5
71068 ac_status=$?
71069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71070 (exit $ac_status); }; }; then
71071 glibcxx_cv_func_sincosf_use=yes
71072 else
71073 echo "$as_me: failed program was:" >&5
71074 sed 's/^/| /' conftest.$ac_ext >&5
71076 glibcxx_cv_func_sincosf_use=no
71078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71079 ac_ext=c
71080 ac_cpp='$CPP $CPPFLAGS'
71081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71089 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
71090 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
71092 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
71094 for ac_func in sincosf
71096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71097 echo "$as_me:$LINENO: checking for $ac_func" >&5
71098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71099 if eval "test \"\${$as_ac_var+set}\" = set"; then
71100 echo $ECHO_N "(cached) $ECHO_C" >&6
71101 else
71102 if test x$gcc_no_link = xyes; then
71103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71105 { (exit 1); exit 1; }; }
71107 cat >conftest.$ac_ext <<_ACEOF
71108 /* confdefs.h. */
71109 _ACEOF
71110 cat confdefs.h >>conftest.$ac_ext
71111 cat >>conftest.$ac_ext <<_ACEOF
71112 /* end confdefs.h. */
71113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71115 #define $ac_func innocuous_$ac_func
71117 /* System header to define __stub macros and hopefully few prototypes,
71118 which can conflict with char $ac_func (); below.
71119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71120 <limits.h> exists even on freestanding compilers. */
71122 #ifdef __STDC__
71123 # include <limits.h>
71124 #else
71125 # include <assert.h>
71126 #endif
71128 #undef $ac_func
71130 /* Override any gcc2 internal prototype to avoid an error. */
71131 #ifdef __cplusplus
71132 extern "C"
71134 #endif
71135 /* We use char because int might match the return type of a gcc2
71136 builtin and then its argument prototype would still apply. */
71137 char $ac_func ();
71138 /* The GNU C library defines this for functions which it implements
71139 to always fail with ENOSYS. Some functions are actually named
71140 something starting with __ and the normal name is an alias. */
71141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71142 choke me
71143 #else
71144 char (*f) () = $ac_func;
71145 #endif
71146 #ifdef __cplusplus
71148 #endif
71151 main ()
71153 return f != $ac_func;
71155 return 0;
71157 _ACEOF
71158 rm -f conftest.$ac_objext conftest$ac_exeext
71159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71160 (eval $ac_link) 2>conftest.er1
71161 ac_status=$?
71162 grep -v '^ *+' conftest.er1 >conftest.err
71163 rm -f conftest.er1
71164 cat conftest.err >&5
71165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71166 (exit $ac_status); } &&
71167 { ac_try='test -z "$ac_c_werror_flag"
71168 || test ! -s conftest.err'
71169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71170 (eval $ac_try) 2>&5
71171 ac_status=$?
71172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71173 (exit $ac_status); }; } &&
71174 { ac_try='test -s conftest$ac_exeext'
71175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71176 (eval $ac_try) 2>&5
71177 ac_status=$?
71178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71179 (exit $ac_status); }; }; then
71180 eval "$as_ac_var=yes"
71181 else
71182 echo "$as_me: failed program was:" >&5
71183 sed 's/^/| /' conftest.$ac_ext >&5
71185 eval "$as_ac_var=no"
71187 rm -f conftest.err conftest.$ac_objext \
71188 conftest$ac_exeext conftest.$ac_ext
71190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71192 if test `eval echo '${'$as_ac_var'}'` = yes; then
71193 cat >>confdefs.h <<_ACEOF
71194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71195 _ACEOF
71198 done
71200 else
71202 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
71203 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
71204 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
71205 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
71206 echo $ECHO_N "(cached) $ECHO_C" >&6
71207 else
71211 ac_ext=cc
71212 ac_cpp='$CXXCPP $CPPFLAGS'
71213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71217 cat >conftest.$ac_ext <<_ACEOF
71218 /* confdefs.h. */
71219 _ACEOF
71220 cat confdefs.h >>conftest.$ac_ext
71221 cat >>conftest.$ac_ext <<_ACEOF
71222 /* end confdefs.h. */
71223 #include <math.h>
71225 main ()
71227 _sincosf(0, 0, 0);
71229 return 0;
71231 _ACEOF
71232 rm -f conftest.$ac_objext
71233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71234 (eval $ac_compile) 2>conftest.er1
71235 ac_status=$?
71236 grep -v '^ *+' conftest.er1 >conftest.err
71237 rm -f conftest.er1
71238 cat conftest.err >&5
71239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71240 (exit $ac_status); } &&
71241 { ac_try='test -z "$ac_cxx_werror_flag"
71242 || test ! -s conftest.err'
71243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71244 (eval $ac_try) 2>&5
71245 ac_status=$?
71246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71247 (exit $ac_status); }; } &&
71248 { ac_try='test -s conftest.$ac_objext'
71249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71250 (eval $ac_try) 2>&5
71251 ac_status=$?
71252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71253 (exit $ac_status); }; }; then
71254 glibcxx_cv_func__sincosf_use=yes
71255 else
71256 echo "$as_me: failed program was:" >&5
71257 sed 's/^/| /' conftest.$ac_ext >&5
71259 glibcxx_cv_func__sincosf_use=no
71261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71262 ac_ext=c
71263 ac_cpp='$CPP $CPPFLAGS'
71264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71272 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
71273 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
71275 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
71277 for ac_func in _sincosf
71279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71280 echo "$as_me:$LINENO: checking for $ac_func" >&5
71281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71282 if eval "test \"\${$as_ac_var+set}\" = set"; then
71283 echo $ECHO_N "(cached) $ECHO_C" >&6
71284 else
71285 if test x$gcc_no_link = xyes; then
71286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71288 { (exit 1); exit 1; }; }
71290 cat >conftest.$ac_ext <<_ACEOF
71291 /* confdefs.h. */
71292 _ACEOF
71293 cat confdefs.h >>conftest.$ac_ext
71294 cat >>conftest.$ac_ext <<_ACEOF
71295 /* end confdefs.h. */
71296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71298 #define $ac_func innocuous_$ac_func
71300 /* System header to define __stub macros and hopefully few prototypes,
71301 which can conflict with char $ac_func (); below.
71302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71303 <limits.h> exists even on freestanding compilers. */
71305 #ifdef __STDC__
71306 # include <limits.h>
71307 #else
71308 # include <assert.h>
71309 #endif
71311 #undef $ac_func
71313 /* Override any gcc2 internal prototype to avoid an error. */
71314 #ifdef __cplusplus
71315 extern "C"
71317 #endif
71318 /* We use char because int might match the return type of a gcc2
71319 builtin and then its argument prototype would still apply. */
71320 char $ac_func ();
71321 /* The GNU C library defines this for functions which it implements
71322 to always fail with ENOSYS. Some functions are actually named
71323 something starting with __ and the normal name is an alias. */
71324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71325 choke me
71326 #else
71327 char (*f) () = $ac_func;
71328 #endif
71329 #ifdef __cplusplus
71331 #endif
71334 main ()
71336 return f != $ac_func;
71338 return 0;
71340 _ACEOF
71341 rm -f conftest.$ac_objext conftest$ac_exeext
71342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71343 (eval $ac_link) 2>conftest.er1
71344 ac_status=$?
71345 grep -v '^ *+' conftest.er1 >conftest.err
71346 rm -f conftest.er1
71347 cat conftest.err >&5
71348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71349 (exit $ac_status); } &&
71350 { ac_try='test -z "$ac_c_werror_flag"
71351 || test ! -s conftest.err'
71352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71353 (eval $ac_try) 2>&5
71354 ac_status=$?
71355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71356 (exit $ac_status); }; } &&
71357 { ac_try='test -s conftest$ac_exeext'
71358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71359 (eval $ac_try) 2>&5
71360 ac_status=$?
71361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71362 (exit $ac_status); }; }; then
71363 eval "$as_ac_var=yes"
71364 else
71365 echo "$as_me: failed program was:" >&5
71366 sed 's/^/| /' conftest.$ac_ext >&5
71368 eval "$as_ac_var=no"
71370 rm -f conftest.err conftest.$ac_objext \
71371 conftest$ac_exeext conftest.$ac_ext
71373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71375 if test `eval echo '${'$as_ac_var'}'` = yes; then
71376 cat >>confdefs.h <<_ACEOF
71377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71378 _ACEOF
71381 done
71391 echo "$as_me:$LINENO: checking for finitef declaration" >&5
71392 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
71393 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
71394 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
71395 echo $ECHO_N "(cached) $ECHO_C" >&6
71396 else
71400 ac_ext=cc
71401 ac_cpp='$CXXCPP $CPPFLAGS'
71402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71406 cat >conftest.$ac_ext <<_ACEOF
71407 /* confdefs.h. */
71408 _ACEOF
71409 cat confdefs.h >>conftest.$ac_ext
71410 cat >>conftest.$ac_ext <<_ACEOF
71411 /* end confdefs.h. */
71412 #include <math.h>
71413 #ifdef HAVE_IEEEFP_H
71414 #include <ieeefp.h>
71415 #endif
71418 main ()
71420 finitef(0);
71422 return 0;
71424 _ACEOF
71425 rm -f conftest.$ac_objext
71426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71427 (eval $ac_compile) 2>conftest.er1
71428 ac_status=$?
71429 grep -v '^ *+' conftest.er1 >conftest.err
71430 rm -f conftest.er1
71431 cat conftest.err >&5
71432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71433 (exit $ac_status); } &&
71434 { ac_try='test -z "$ac_cxx_werror_flag"
71435 || test ! -s conftest.err'
71436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71437 (eval $ac_try) 2>&5
71438 ac_status=$?
71439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71440 (exit $ac_status); }; } &&
71441 { ac_try='test -s conftest.$ac_objext'
71442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71443 (eval $ac_try) 2>&5
71444 ac_status=$?
71445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71446 (exit $ac_status); }; }; then
71447 glibcxx_cv_func_finitef_use=yes
71448 else
71449 echo "$as_me: failed program was:" >&5
71450 sed 's/^/| /' conftest.$ac_ext >&5
71452 glibcxx_cv_func_finitef_use=no
71454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71455 ac_ext=c
71456 ac_cpp='$CPP $CPPFLAGS'
71457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71465 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
71466 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
71468 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
71470 for ac_func in finitef
71472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71473 echo "$as_me:$LINENO: checking for $ac_func" >&5
71474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71475 if eval "test \"\${$as_ac_var+set}\" = set"; then
71476 echo $ECHO_N "(cached) $ECHO_C" >&6
71477 else
71478 if test x$gcc_no_link = xyes; then
71479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71481 { (exit 1); exit 1; }; }
71483 cat >conftest.$ac_ext <<_ACEOF
71484 /* confdefs.h. */
71485 _ACEOF
71486 cat confdefs.h >>conftest.$ac_ext
71487 cat >>conftest.$ac_ext <<_ACEOF
71488 /* end confdefs.h. */
71489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71491 #define $ac_func innocuous_$ac_func
71493 /* System header to define __stub macros and hopefully few prototypes,
71494 which can conflict with char $ac_func (); below.
71495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71496 <limits.h> exists even on freestanding compilers. */
71498 #ifdef __STDC__
71499 # include <limits.h>
71500 #else
71501 # include <assert.h>
71502 #endif
71504 #undef $ac_func
71506 /* Override any gcc2 internal prototype to avoid an error. */
71507 #ifdef __cplusplus
71508 extern "C"
71510 #endif
71511 /* We use char because int might match the return type of a gcc2
71512 builtin and then its argument prototype would still apply. */
71513 char $ac_func ();
71514 /* The GNU C library defines this for functions which it implements
71515 to always fail with ENOSYS. Some functions are actually named
71516 something starting with __ and the normal name is an alias. */
71517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71518 choke me
71519 #else
71520 char (*f) () = $ac_func;
71521 #endif
71522 #ifdef __cplusplus
71524 #endif
71527 main ()
71529 return f != $ac_func;
71531 return 0;
71533 _ACEOF
71534 rm -f conftest.$ac_objext conftest$ac_exeext
71535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71536 (eval $ac_link) 2>conftest.er1
71537 ac_status=$?
71538 grep -v '^ *+' conftest.er1 >conftest.err
71539 rm -f conftest.er1
71540 cat conftest.err >&5
71541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71542 (exit $ac_status); } &&
71543 { ac_try='test -z "$ac_c_werror_flag"
71544 || test ! -s conftest.err'
71545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71546 (eval $ac_try) 2>&5
71547 ac_status=$?
71548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71549 (exit $ac_status); }; } &&
71550 { ac_try='test -s conftest$ac_exeext'
71551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71552 (eval $ac_try) 2>&5
71553 ac_status=$?
71554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71555 (exit $ac_status); }; }; then
71556 eval "$as_ac_var=yes"
71557 else
71558 echo "$as_me: failed program was:" >&5
71559 sed 's/^/| /' conftest.$ac_ext >&5
71561 eval "$as_ac_var=no"
71563 rm -f conftest.err conftest.$ac_objext \
71564 conftest$ac_exeext conftest.$ac_ext
71566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71568 if test `eval echo '${'$as_ac_var'}'` = yes; then
71569 cat >>confdefs.h <<_ACEOF
71570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71571 _ACEOF
71574 done
71576 else
71578 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
71579 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
71580 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
71581 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
71582 echo $ECHO_N "(cached) $ECHO_C" >&6
71583 else
71587 ac_ext=cc
71588 ac_cpp='$CXXCPP $CPPFLAGS'
71589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71593 cat >conftest.$ac_ext <<_ACEOF
71594 /* confdefs.h. */
71595 _ACEOF
71596 cat confdefs.h >>conftest.$ac_ext
71597 cat >>conftest.$ac_ext <<_ACEOF
71598 /* end confdefs.h. */
71599 #include <math.h>
71600 #ifdef HAVE_IEEEFP_H
71601 #include <ieeefp.h>
71602 #endif
71605 main ()
71607 _finitef(0);
71609 return 0;
71611 _ACEOF
71612 rm -f conftest.$ac_objext
71613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71614 (eval $ac_compile) 2>conftest.er1
71615 ac_status=$?
71616 grep -v '^ *+' conftest.er1 >conftest.err
71617 rm -f conftest.er1
71618 cat conftest.err >&5
71619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71620 (exit $ac_status); } &&
71621 { ac_try='test -z "$ac_cxx_werror_flag"
71622 || test ! -s conftest.err'
71623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71624 (eval $ac_try) 2>&5
71625 ac_status=$?
71626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71627 (exit $ac_status); }; } &&
71628 { ac_try='test -s conftest.$ac_objext'
71629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71630 (eval $ac_try) 2>&5
71631 ac_status=$?
71632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71633 (exit $ac_status); }; }; then
71634 glibcxx_cv_func__finitef_use=yes
71635 else
71636 echo "$as_me: failed program was:" >&5
71637 sed 's/^/| /' conftest.$ac_ext >&5
71639 glibcxx_cv_func__finitef_use=no
71641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71642 ac_ext=c
71643 ac_cpp='$CPP $CPPFLAGS'
71644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71652 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
71653 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
71655 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
71657 for ac_func in _finitef
71659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71660 echo "$as_me:$LINENO: checking for $ac_func" >&5
71661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71662 if eval "test \"\${$as_ac_var+set}\" = set"; then
71663 echo $ECHO_N "(cached) $ECHO_C" >&6
71664 else
71665 if test x$gcc_no_link = xyes; then
71666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71668 { (exit 1); exit 1; }; }
71670 cat >conftest.$ac_ext <<_ACEOF
71671 /* confdefs.h. */
71672 _ACEOF
71673 cat confdefs.h >>conftest.$ac_ext
71674 cat >>conftest.$ac_ext <<_ACEOF
71675 /* end confdefs.h. */
71676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71678 #define $ac_func innocuous_$ac_func
71680 /* System header to define __stub macros and hopefully few prototypes,
71681 which can conflict with char $ac_func (); below.
71682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71683 <limits.h> exists even on freestanding compilers. */
71685 #ifdef __STDC__
71686 # include <limits.h>
71687 #else
71688 # include <assert.h>
71689 #endif
71691 #undef $ac_func
71693 /* Override any gcc2 internal prototype to avoid an error. */
71694 #ifdef __cplusplus
71695 extern "C"
71697 #endif
71698 /* We use char because int might match the return type of a gcc2
71699 builtin and then its argument prototype would still apply. */
71700 char $ac_func ();
71701 /* The GNU C library defines this for functions which it implements
71702 to always fail with ENOSYS. Some functions are actually named
71703 something starting with __ and the normal name is an alias. */
71704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71705 choke me
71706 #else
71707 char (*f) () = $ac_func;
71708 #endif
71709 #ifdef __cplusplus
71711 #endif
71714 main ()
71716 return f != $ac_func;
71718 return 0;
71720 _ACEOF
71721 rm -f conftest.$ac_objext conftest$ac_exeext
71722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71723 (eval $ac_link) 2>conftest.er1
71724 ac_status=$?
71725 grep -v '^ *+' conftest.er1 >conftest.err
71726 rm -f conftest.er1
71727 cat conftest.err >&5
71728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71729 (exit $ac_status); } &&
71730 { ac_try='test -z "$ac_c_werror_flag"
71731 || test ! -s conftest.err'
71732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71733 (eval $ac_try) 2>&5
71734 ac_status=$?
71735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71736 (exit $ac_status); }; } &&
71737 { ac_try='test -s conftest$ac_exeext'
71738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71739 (eval $ac_try) 2>&5
71740 ac_status=$?
71741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71742 (exit $ac_status); }; }; then
71743 eval "$as_ac_var=yes"
71744 else
71745 echo "$as_me: failed program was:" >&5
71746 sed 's/^/| /' conftest.$ac_ext >&5
71748 eval "$as_ac_var=no"
71750 rm -f conftest.err conftest.$ac_objext \
71751 conftest$ac_exeext conftest.$ac_ext
71753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71755 if test `eval echo '${'$as_ac_var'}'` = yes; then
71756 cat >>confdefs.h <<_ACEOF
71757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71758 _ACEOF
71761 done
71771 echo "$as_me:$LINENO: checking for long double trig functions" >&5
71772 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
71773 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
71774 echo $ECHO_N "(cached) $ECHO_C" >&6
71775 else
71779 ac_ext=cc
71780 ac_cpp='$CXXCPP $CPPFLAGS'
71781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71785 cat >conftest.$ac_ext <<_ACEOF
71786 /* confdefs.h. */
71787 _ACEOF
71788 cat confdefs.h >>conftest.$ac_ext
71789 cat >>conftest.$ac_ext <<_ACEOF
71790 /* end confdefs.h. */
71791 #include <math.h>
71793 main ()
71795 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
71797 return 0;
71799 _ACEOF
71800 rm -f conftest.$ac_objext
71801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71802 (eval $ac_compile) 2>conftest.er1
71803 ac_status=$?
71804 grep -v '^ *+' conftest.er1 >conftest.err
71805 rm -f conftest.er1
71806 cat conftest.err >&5
71807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71808 (exit $ac_status); } &&
71809 { ac_try='test -z "$ac_cxx_werror_flag"
71810 || test ! -s conftest.err'
71811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71812 (eval $ac_try) 2>&5
71813 ac_status=$?
71814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71815 (exit $ac_status); }; } &&
71816 { ac_try='test -s conftest.$ac_objext'
71817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71818 (eval $ac_try) 2>&5
71819 ac_status=$?
71820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71821 (exit $ac_status); }; }; then
71822 glibcxx_cv_func_long_double_trig_use=yes
71823 else
71824 echo "$as_me: failed program was:" >&5
71825 sed 's/^/| /' conftest.$ac_ext >&5
71827 glibcxx_cv_func_long_double_trig_use=no
71829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71830 ac_ext=c
71831 ac_cpp='$CPP $CPPFLAGS'
71832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71838 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
71839 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
71840 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
71850 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
71852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71853 echo "$as_me:$LINENO: checking for $ac_func" >&5
71854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71855 if eval "test \"\${$as_ac_var+set}\" = set"; then
71856 echo $ECHO_N "(cached) $ECHO_C" >&6
71857 else
71858 if test x$gcc_no_link = xyes; then
71859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71861 { (exit 1); exit 1; }; }
71863 cat >conftest.$ac_ext <<_ACEOF
71864 /* confdefs.h. */
71865 _ACEOF
71866 cat confdefs.h >>conftest.$ac_ext
71867 cat >>conftest.$ac_ext <<_ACEOF
71868 /* end confdefs.h. */
71869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71871 #define $ac_func innocuous_$ac_func
71873 /* System header to define __stub macros and hopefully few prototypes,
71874 which can conflict with char $ac_func (); below.
71875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71876 <limits.h> exists even on freestanding compilers. */
71878 #ifdef __STDC__
71879 # include <limits.h>
71880 #else
71881 # include <assert.h>
71882 #endif
71884 #undef $ac_func
71886 /* Override any gcc2 internal prototype to avoid an error. */
71887 #ifdef __cplusplus
71888 extern "C"
71890 #endif
71891 /* We use char because int might match the return type of a gcc2
71892 builtin and then its argument prototype would still apply. */
71893 char $ac_func ();
71894 /* The GNU C library defines this for functions which it implements
71895 to always fail with ENOSYS. Some functions are actually named
71896 something starting with __ and the normal name is an alias. */
71897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71898 choke me
71899 #else
71900 char (*f) () = $ac_func;
71901 #endif
71902 #ifdef __cplusplus
71904 #endif
71907 main ()
71909 return f != $ac_func;
71911 return 0;
71913 _ACEOF
71914 rm -f conftest.$ac_objext conftest$ac_exeext
71915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71916 (eval $ac_link) 2>conftest.er1
71917 ac_status=$?
71918 grep -v '^ *+' conftest.er1 >conftest.err
71919 rm -f conftest.er1
71920 cat conftest.err >&5
71921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71922 (exit $ac_status); } &&
71923 { ac_try='test -z "$ac_c_werror_flag"
71924 || test ! -s conftest.err'
71925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71926 (eval $ac_try) 2>&5
71927 ac_status=$?
71928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71929 (exit $ac_status); }; } &&
71930 { ac_try='test -s conftest$ac_exeext'
71931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71932 (eval $ac_try) 2>&5
71933 ac_status=$?
71934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71935 (exit $ac_status); }; }; then
71936 eval "$as_ac_var=yes"
71937 else
71938 echo "$as_me: failed program was:" >&5
71939 sed 's/^/| /' conftest.$ac_ext >&5
71941 eval "$as_ac_var=no"
71943 rm -f conftest.err conftest.$ac_objext \
71944 conftest$ac_exeext conftest.$ac_ext
71946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71948 if test `eval echo '${'$as_ac_var'}'` = yes; then
71949 cat >>confdefs.h <<_ACEOF
71950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71951 _ACEOF
71954 done
71956 else
71957 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
71958 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
71959 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
71960 echo $ECHO_N "(cached) $ECHO_C" >&6
71961 else
71965 ac_ext=cc
71966 ac_cpp='$CXXCPP $CPPFLAGS'
71967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71971 cat >conftest.$ac_ext <<_ACEOF
71972 /* confdefs.h. */
71973 _ACEOF
71974 cat confdefs.h >>conftest.$ac_ext
71975 cat >>conftest.$ac_ext <<_ACEOF
71976 /* end confdefs.h. */
71977 #include <math.h>
71979 main ()
71981 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
71983 return 0;
71985 _ACEOF
71986 rm -f conftest.$ac_objext
71987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71988 (eval $ac_compile) 2>conftest.er1
71989 ac_status=$?
71990 grep -v '^ *+' conftest.er1 >conftest.err
71991 rm -f conftest.er1
71992 cat conftest.err >&5
71993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71994 (exit $ac_status); } &&
71995 { ac_try='test -z "$ac_cxx_werror_flag"
71996 || test ! -s conftest.err'
71997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71998 (eval $ac_try) 2>&5
71999 ac_status=$?
72000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72001 (exit $ac_status); }; } &&
72002 { ac_try='test -s conftest.$ac_objext'
72003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72004 (eval $ac_try) 2>&5
72005 ac_status=$?
72006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72007 (exit $ac_status); }; }; then
72008 glibcxx_cv_func__long_double_trig_use=yes
72009 else
72010 echo "$as_me: failed program was:" >&5
72011 sed 's/^/| /' conftest.$ac_ext >&5
72013 glibcxx_cv_func__long_double_trig_use=no
72015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72016 ac_ext=c
72017 ac_cpp='$CPP $CPPFLAGS'
72018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72024 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
72025 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
72026 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
72036 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
72038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72039 echo "$as_me:$LINENO: checking for $ac_func" >&5
72040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72041 if eval "test \"\${$as_ac_var+set}\" = set"; then
72042 echo $ECHO_N "(cached) $ECHO_C" >&6
72043 else
72044 if test x$gcc_no_link = xyes; then
72045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72047 { (exit 1); exit 1; }; }
72049 cat >conftest.$ac_ext <<_ACEOF
72050 /* confdefs.h. */
72051 _ACEOF
72052 cat confdefs.h >>conftest.$ac_ext
72053 cat >>conftest.$ac_ext <<_ACEOF
72054 /* end confdefs.h. */
72055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72057 #define $ac_func innocuous_$ac_func
72059 /* System header to define __stub macros and hopefully few prototypes,
72060 which can conflict with char $ac_func (); below.
72061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72062 <limits.h> exists even on freestanding compilers. */
72064 #ifdef __STDC__
72065 # include <limits.h>
72066 #else
72067 # include <assert.h>
72068 #endif
72070 #undef $ac_func
72072 /* Override any gcc2 internal prototype to avoid an error. */
72073 #ifdef __cplusplus
72074 extern "C"
72076 #endif
72077 /* We use char because int might match the return type of a gcc2
72078 builtin and then its argument prototype would still apply. */
72079 char $ac_func ();
72080 /* The GNU C library defines this for functions which it implements
72081 to always fail with ENOSYS. Some functions are actually named
72082 something starting with __ and the normal name is an alias. */
72083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72084 choke me
72085 #else
72086 char (*f) () = $ac_func;
72087 #endif
72088 #ifdef __cplusplus
72090 #endif
72093 main ()
72095 return f != $ac_func;
72097 return 0;
72099 _ACEOF
72100 rm -f conftest.$ac_objext conftest$ac_exeext
72101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72102 (eval $ac_link) 2>conftest.er1
72103 ac_status=$?
72104 grep -v '^ *+' conftest.er1 >conftest.err
72105 rm -f conftest.er1
72106 cat conftest.err >&5
72107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72108 (exit $ac_status); } &&
72109 { ac_try='test -z "$ac_c_werror_flag"
72110 || test ! -s conftest.err'
72111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72112 (eval $ac_try) 2>&5
72113 ac_status=$?
72114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72115 (exit $ac_status); }; } &&
72116 { ac_try='test -s conftest$ac_exeext'
72117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72118 (eval $ac_try) 2>&5
72119 ac_status=$?
72120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72121 (exit $ac_status); }; }; then
72122 eval "$as_ac_var=yes"
72123 else
72124 echo "$as_me: failed program was:" >&5
72125 sed 's/^/| /' conftest.$ac_ext >&5
72127 eval "$as_ac_var=no"
72129 rm -f conftest.err conftest.$ac_objext \
72130 conftest$ac_exeext conftest.$ac_ext
72132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72134 if test `eval echo '${'$as_ac_var'}'` = yes; then
72135 cat >>confdefs.h <<_ACEOF
72136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72137 _ACEOF
72140 done
72158 echo "$as_me:$LINENO: checking for long double round functions" >&5
72159 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
72160 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
72161 echo $ECHO_N "(cached) $ECHO_C" >&6
72162 else
72166 ac_ext=cc
72167 ac_cpp='$CXXCPP $CPPFLAGS'
72168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72172 cat >conftest.$ac_ext <<_ACEOF
72173 /* confdefs.h. */
72174 _ACEOF
72175 cat confdefs.h >>conftest.$ac_ext
72176 cat >>conftest.$ac_ext <<_ACEOF
72177 /* end confdefs.h. */
72178 #include <math.h>
72180 main ()
72182 ceill (0); floorl (0);
72184 return 0;
72186 _ACEOF
72187 rm -f conftest.$ac_objext
72188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72189 (eval $ac_compile) 2>conftest.er1
72190 ac_status=$?
72191 grep -v '^ *+' conftest.er1 >conftest.err
72192 rm -f conftest.er1
72193 cat conftest.err >&5
72194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72195 (exit $ac_status); } &&
72196 { ac_try='test -z "$ac_cxx_werror_flag"
72197 || test ! -s conftest.err'
72198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72199 (eval $ac_try) 2>&5
72200 ac_status=$?
72201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72202 (exit $ac_status); }; } &&
72203 { ac_try='test -s conftest.$ac_objext'
72204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72205 (eval $ac_try) 2>&5
72206 ac_status=$?
72207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72208 (exit $ac_status); }; }; then
72209 glibcxx_cv_func_long_double_round_use=yes
72210 else
72211 echo "$as_me: failed program was:" >&5
72212 sed 's/^/| /' conftest.$ac_ext >&5
72214 glibcxx_cv_func_long_double_round_use=no
72216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72217 ac_ext=c
72218 ac_cpp='$CPP $CPPFLAGS'
72219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72225 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
72226 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
72227 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
72230 for ac_func in ceill floorl
72232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72233 echo "$as_me:$LINENO: checking for $ac_func" >&5
72234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72235 if eval "test \"\${$as_ac_var+set}\" = set"; then
72236 echo $ECHO_N "(cached) $ECHO_C" >&6
72237 else
72238 if test x$gcc_no_link = xyes; then
72239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72241 { (exit 1); exit 1; }; }
72243 cat >conftest.$ac_ext <<_ACEOF
72244 /* confdefs.h. */
72245 _ACEOF
72246 cat confdefs.h >>conftest.$ac_ext
72247 cat >>conftest.$ac_ext <<_ACEOF
72248 /* end confdefs.h. */
72249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72251 #define $ac_func innocuous_$ac_func
72253 /* System header to define __stub macros and hopefully few prototypes,
72254 which can conflict with char $ac_func (); below.
72255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72256 <limits.h> exists even on freestanding compilers. */
72258 #ifdef __STDC__
72259 # include <limits.h>
72260 #else
72261 # include <assert.h>
72262 #endif
72264 #undef $ac_func
72266 /* Override any gcc2 internal prototype to avoid an error. */
72267 #ifdef __cplusplus
72268 extern "C"
72270 #endif
72271 /* We use char because int might match the return type of a gcc2
72272 builtin and then its argument prototype would still apply. */
72273 char $ac_func ();
72274 /* The GNU C library defines this for functions which it implements
72275 to always fail with ENOSYS. Some functions are actually named
72276 something starting with __ and the normal name is an alias. */
72277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72278 choke me
72279 #else
72280 char (*f) () = $ac_func;
72281 #endif
72282 #ifdef __cplusplus
72284 #endif
72287 main ()
72289 return f != $ac_func;
72291 return 0;
72293 _ACEOF
72294 rm -f conftest.$ac_objext conftest$ac_exeext
72295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72296 (eval $ac_link) 2>conftest.er1
72297 ac_status=$?
72298 grep -v '^ *+' conftest.er1 >conftest.err
72299 rm -f conftest.er1
72300 cat conftest.err >&5
72301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72302 (exit $ac_status); } &&
72303 { ac_try='test -z "$ac_c_werror_flag"
72304 || test ! -s conftest.err'
72305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72306 (eval $ac_try) 2>&5
72307 ac_status=$?
72308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72309 (exit $ac_status); }; } &&
72310 { ac_try='test -s conftest$ac_exeext'
72311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72312 (eval $ac_try) 2>&5
72313 ac_status=$?
72314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72315 (exit $ac_status); }; }; then
72316 eval "$as_ac_var=yes"
72317 else
72318 echo "$as_me: failed program was:" >&5
72319 sed 's/^/| /' conftest.$ac_ext >&5
72321 eval "$as_ac_var=no"
72323 rm -f conftest.err conftest.$ac_objext \
72324 conftest$ac_exeext conftest.$ac_ext
72326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72328 if test `eval echo '${'$as_ac_var'}'` = yes; then
72329 cat >>confdefs.h <<_ACEOF
72330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72331 _ACEOF
72334 done
72336 else
72337 echo "$as_me:$LINENO: checking for _long double round functions" >&5
72338 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
72339 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
72340 echo $ECHO_N "(cached) $ECHO_C" >&6
72341 else
72345 ac_ext=cc
72346 ac_cpp='$CXXCPP $CPPFLAGS'
72347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72351 cat >conftest.$ac_ext <<_ACEOF
72352 /* confdefs.h. */
72353 _ACEOF
72354 cat confdefs.h >>conftest.$ac_ext
72355 cat >>conftest.$ac_ext <<_ACEOF
72356 /* end confdefs.h. */
72357 #include <math.h>
72359 main ()
72361 _ceill (0); _floorl (0);
72363 return 0;
72365 _ACEOF
72366 rm -f conftest.$ac_objext
72367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72368 (eval $ac_compile) 2>conftest.er1
72369 ac_status=$?
72370 grep -v '^ *+' conftest.er1 >conftest.err
72371 rm -f conftest.er1
72372 cat conftest.err >&5
72373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72374 (exit $ac_status); } &&
72375 { ac_try='test -z "$ac_cxx_werror_flag"
72376 || test ! -s conftest.err'
72377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72378 (eval $ac_try) 2>&5
72379 ac_status=$?
72380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72381 (exit $ac_status); }; } &&
72382 { ac_try='test -s conftest.$ac_objext'
72383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72384 (eval $ac_try) 2>&5
72385 ac_status=$?
72386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72387 (exit $ac_status); }; }; then
72388 glibcxx_cv_func__long_double_round_use=yes
72389 else
72390 echo "$as_me: failed program was:" >&5
72391 sed 's/^/| /' conftest.$ac_ext >&5
72393 glibcxx_cv_func__long_double_round_use=no
72395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72396 ac_ext=c
72397 ac_cpp='$CPP $CPPFLAGS'
72398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72404 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
72405 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
72406 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
72409 for ac_func in _ceill _floorl
72411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72412 echo "$as_me:$LINENO: checking for $ac_func" >&5
72413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72414 if eval "test \"\${$as_ac_var+set}\" = set"; then
72415 echo $ECHO_N "(cached) $ECHO_C" >&6
72416 else
72417 if test x$gcc_no_link = xyes; then
72418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72420 { (exit 1); exit 1; }; }
72422 cat >conftest.$ac_ext <<_ACEOF
72423 /* confdefs.h. */
72424 _ACEOF
72425 cat confdefs.h >>conftest.$ac_ext
72426 cat >>conftest.$ac_ext <<_ACEOF
72427 /* end confdefs.h. */
72428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72430 #define $ac_func innocuous_$ac_func
72432 /* System header to define __stub macros and hopefully few prototypes,
72433 which can conflict with char $ac_func (); below.
72434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72435 <limits.h> exists even on freestanding compilers. */
72437 #ifdef __STDC__
72438 # include <limits.h>
72439 #else
72440 # include <assert.h>
72441 #endif
72443 #undef $ac_func
72445 /* Override any gcc2 internal prototype to avoid an error. */
72446 #ifdef __cplusplus
72447 extern "C"
72449 #endif
72450 /* We use char because int might match the return type of a gcc2
72451 builtin and then its argument prototype would still apply. */
72452 char $ac_func ();
72453 /* The GNU C library defines this for functions which it implements
72454 to always fail with ENOSYS. Some functions are actually named
72455 something starting with __ and the normal name is an alias. */
72456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72457 choke me
72458 #else
72459 char (*f) () = $ac_func;
72460 #endif
72461 #ifdef __cplusplus
72463 #endif
72466 main ()
72468 return f != $ac_func;
72470 return 0;
72472 _ACEOF
72473 rm -f conftest.$ac_objext conftest$ac_exeext
72474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72475 (eval $ac_link) 2>conftest.er1
72476 ac_status=$?
72477 grep -v '^ *+' conftest.er1 >conftest.err
72478 rm -f conftest.er1
72479 cat conftest.err >&5
72480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72481 (exit $ac_status); } &&
72482 { ac_try='test -z "$ac_c_werror_flag"
72483 || test ! -s conftest.err'
72484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72485 (eval $ac_try) 2>&5
72486 ac_status=$?
72487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72488 (exit $ac_status); }; } &&
72489 { ac_try='test -s conftest$ac_exeext'
72490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72491 (eval $ac_try) 2>&5
72492 ac_status=$?
72493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72494 (exit $ac_status); }; }; then
72495 eval "$as_ac_var=yes"
72496 else
72497 echo "$as_me: failed program was:" >&5
72498 sed 's/^/| /' conftest.$ac_ext >&5
72500 eval "$as_ac_var=no"
72502 rm -f conftest.err conftest.$ac_objext \
72503 conftest$ac_exeext conftest.$ac_ext
72505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72507 if test `eval echo '${'$as_ac_var'}'` = yes; then
72508 cat >>confdefs.h <<_ACEOF
72509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72510 _ACEOF
72513 done
72525 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
72526 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
72527 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
72528 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
72529 echo $ECHO_N "(cached) $ECHO_C" >&6
72530 else
72534 ac_ext=cc
72535 ac_cpp='$CXXCPP $CPPFLAGS'
72536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72540 cat >conftest.$ac_ext <<_ACEOF
72541 /* confdefs.h. */
72542 _ACEOF
72543 cat confdefs.h >>conftest.$ac_ext
72544 cat >>conftest.$ac_ext <<_ACEOF
72545 /* end confdefs.h. */
72546 #include <math.h>
72547 #ifdef HAVE_IEEEFP_H
72548 #include <ieeefp.h>
72549 #endif
72552 main ()
72554 isnanl(0);
72556 return 0;
72558 _ACEOF
72559 rm -f conftest.$ac_objext
72560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72561 (eval $ac_compile) 2>conftest.er1
72562 ac_status=$?
72563 grep -v '^ *+' conftest.er1 >conftest.err
72564 rm -f conftest.er1
72565 cat conftest.err >&5
72566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72567 (exit $ac_status); } &&
72568 { ac_try='test -z "$ac_cxx_werror_flag"
72569 || test ! -s conftest.err'
72570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72571 (eval $ac_try) 2>&5
72572 ac_status=$?
72573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72574 (exit $ac_status); }; } &&
72575 { ac_try='test -s conftest.$ac_objext'
72576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72577 (eval $ac_try) 2>&5
72578 ac_status=$?
72579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72580 (exit $ac_status); }; }; then
72581 glibcxx_cv_func_isnanl_use=yes
72582 else
72583 echo "$as_me: failed program was:" >&5
72584 sed 's/^/| /' conftest.$ac_ext >&5
72586 glibcxx_cv_func_isnanl_use=no
72588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72589 ac_ext=c
72590 ac_cpp='$CPP $CPPFLAGS'
72591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72599 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
72600 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
72602 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
72604 for ac_func in isnanl
72606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72607 echo "$as_me:$LINENO: checking for $ac_func" >&5
72608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72609 if eval "test \"\${$as_ac_var+set}\" = set"; then
72610 echo $ECHO_N "(cached) $ECHO_C" >&6
72611 else
72612 if test x$gcc_no_link = xyes; then
72613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72615 { (exit 1); exit 1; }; }
72617 cat >conftest.$ac_ext <<_ACEOF
72618 /* confdefs.h. */
72619 _ACEOF
72620 cat confdefs.h >>conftest.$ac_ext
72621 cat >>conftest.$ac_ext <<_ACEOF
72622 /* end confdefs.h. */
72623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72625 #define $ac_func innocuous_$ac_func
72627 /* System header to define __stub macros and hopefully few prototypes,
72628 which can conflict with char $ac_func (); below.
72629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72630 <limits.h> exists even on freestanding compilers. */
72632 #ifdef __STDC__
72633 # include <limits.h>
72634 #else
72635 # include <assert.h>
72636 #endif
72638 #undef $ac_func
72640 /* Override any gcc2 internal prototype to avoid an error. */
72641 #ifdef __cplusplus
72642 extern "C"
72644 #endif
72645 /* We use char because int might match the return type of a gcc2
72646 builtin and then its argument prototype would still apply. */
72647 char $ac_func ();
72648 /* The GNU C library defines this for functions which it implements
72649 to always fail with ENOSYS. Some functions are actually named
72650 something starting with __ and the normal name is an alias. */
72651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72652 choke me
72653 #else
72654 char (*f) () = $ac_func;
72655 #endif
72656 #ifdef __cplusplus
72658 #endif
72661 main ()
72663 return f != $ac_func;
72665 return 0;
72667 _ACEOF
72668 rm -f conftest.$ac_objext conftest$ac_exeext
72669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72670 (eval $ac_link) 2>conftest.er1
72671 ac_status=$?
72672 grep -v '^ *+' conftest.er1 >conftest.err
72673 rm -f conftest.er1
72674 cat conftest.err >&5
72675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72676 (exit $ac_status); } &&
72677 { ac_try='test -z "$ac_c_werror_flag"
72678 || test ! -s conftest.err'
72679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72680 (eval $ac_try) 2>&5
72681 ac_status=$?
72682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72683 (exit $ac_status); }; } &&
72684 { ac_try='test -s conftest$ac_exeext'
72685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72686 (eval $ac_try) 2>&5
72687 ac_status=$?
72688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72689 (exit $ac_status); }; }; then
72690 eval "$as_ac_var=yes"
72691 else
72692 echo "$as_me: failed program was:" >&5
72693 sed 's/^/| /' conftest.$ac_ext >&5
72695 eval "$as_ac_var=no"
72697 rm -f conftest.err conftest.$ac_objext \
72698 conftest$ac_exeext conftest.$ac_ext
72700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72702 if test `eval echo '${'$as_ac_var'}'` = yes; then
72703 cat >>confdefs.h <<_ACEOF
72704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72705 _ACEOF
72708 done
72710 else
72712 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
72713 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
72714 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
72715 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
72716 echo $ECHO_N "(cached) $ECHO_C" >&6
72717 else
72721 ac_ext=cc
72722 ac_cpp='$CXXCPP $CPPFLAGS'
72723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72727 cat >conftest.$ac_ext <<_ACEOF
72728 /* confdefs.h. */
72729 _ACEOF
72730 cat confdefs.h >>conftest.$ac_ext
72731 cat >>conftest.$ac_ext <<_ACEOF
72732 /* end confdefs.h. */
72733 #include <math.h>
72734 #ifdef HAVE_IEEEFP_H
72735 #include <ieeefp.h>
72736 #endif
72739 main ()
72741 _isnanl(0);
72743 return 0;
72745 _ACEOF
72746 rm -f conftest.$ac_objext
72747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72748 (eval $ac_compile) 2>conftest.er1
72749 ac_status=$?
72750 grep -v '^ *+' conftest.er1 >conftest.err
72751 rm -f conftest.er1
72752 cat conftest.err >&5
72753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72754 (exit $ac_status); } &&
72755 { ac_try='test -z "$ac_cxx_werror_flag"
72756 || test ! -s conftest.err'
72757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72758 (eval $ac_try) 2>&5
72759 ac_status=$?
72760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72761 (exit $ac_status); }; } &&
72762 { ac_try='test -s conftest.$ac_objext'
72763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72764 (eval $ac_try) 2>&5
72765 ac_status=$?
72766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72767 (exit $ac_status); }; }; then
72768 glibcxx_cv_func__isnanl_use=yes
72769 else
72770 echo "$as_me: failed program was:" >&5
72771 sed 's/^/| /' conftest.$ac_ext >&5
72773 glibcxx_cv_func__isnanl_use=no
72775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72776 ac_ext=c
72777 ac_cpp='$CPP $CPPFLAGS'
72778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72786 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
72787 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
72789 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
72791 for ac_func in _isnanl
72793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72794 echo "$as_me:$LINENO: checking for $ac_func" >&5
72795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72796 if eval "test \"\${$as_ac_var+set}\" = set"; then
72797 echo $ECHO_N "(cached) $ECHO_C" >&6
72798 else
72799 if test x$gcc_no_link = xyes; then
72800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72802 { (exit 1); exit 1; }; }
72804 cat >conftest.$ac_ext <<_ACEOF
72805 /* confdefs.h. */
72806 _ACEOF
72807 cat confdefs.h >>conftest.$ac_ext
72808 cat >>conftest.$ac_ext <<_ACEOF
72809 /* end confdefs.h. */
72810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72812 #define $ac_func innocuous_$ac_func
72814 /* System header to define __stub macros and hopefully few prototypes,
72815 which can conflict with char $ac_func (); below.
72816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72817 <limits.h> exists even on freestanding compilers. */
72819 #ifdef __STDC__
72820 # include <limits.h>
72821 #else
72822 # include <assert.h>
72823 #endif
72825 #undef $ac_func
72827 /* Override any gcc2 internal prototype to avoid an error. */
72828 #ifdef __cplusplus
72829 extern "C"
72831 #endif
72832 /* We use char because int might match the return type of a gcc2
72833 builtin and then its argument prototype would still apply. */
72834 char $ac_func ();
72835 /* The GNU C library defines this for functions which it implements
72836 to always fail with ENOSYS. Some functions are actually named
72837 something starting with __ and the normal name is an alias. */
72838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72839 choke me
72840 #else
72841 char (*f) () = $ac_func;
72842 #endif
72843 #ifdef __cplusplus
72845 #endif
72848 main ()
72850 return f != $ac_func;
72852 return 0;
72854 _ACEOF
72855 rm -f conftest.$ac_objext conftest$ac_exeext
72856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72857 (eval $ac_link) 2>conftest.er1
72858 ac_status=$?
72859 grep -v '^ *+' conftest.er1 >conftest.err
72860 rm -f conftest.er1
72861 cat conftest.err >&5
72862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72863 (exit $ac_status); } &&
72864 { ac_try='test -z "$ac_c_werror_flag"
72865 || test ! -s conftest.err'
72866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72867 (eval $ac_try) 2>&5
72868 ac_status=$?
72869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72870 (exit $ac_status); }; } &&
72871 { ac_try='test -s conftest$ac_exeext'
72872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72873 (eval $ac_try) 2>&5
72874 ac_status=$?
72875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72876 (exit $ac_status); }; }; then
72877 eval "$as_ac_var=yes"
72878 else
72879 echo "$as_me: failed program was:" >&5
72880 sed 's/^/| /' conftest.$ac_ext >&5
72882 eval "$as_ac_var=no"
72884 rm -f conftest.err conftest.$ac_objext \
72885 conftest$ac_exeext conftest.$ac_ext
72887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72889 if test `eval echo '${'$as_ac_var'}'` = yes; then
72890 cat >>confdefs.h <<_ACEOF
72891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72892 _ACEOF
72895 done
72905 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
72906 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
72907 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
72908 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
72909 echo $ECHO_N "(cached) $ECHO_C" >&6
72910 else
72914 ac_ext=cc
72915 ac_cpp='$CXXCPP $CPPFLAGS'
72916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72920 cat >conftest.$ac_ext <<_ACEOF
72921 /* confdefs.h. */
72922 _ACEOF
72923 cat confdefs.h >>conftest.$ac_ext
72924 cat >>conftest.$ac_ext <<_ACEOF
72925 /* end confdefs.h. */
72926 #include <math.h>
72927 #ifdef HAVE_IEEEFP_H
72928 #include <ieeefp.h>
72929 #endif
72932 main ()
72934 isinfl(0);
72936 return 0;
72938 _ACEOF
72939 rm -f conftest.$ac_objext
72940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72941 (eval $ac_compile) 2>conftest.er1
72942 ac_status=$?
72943 grep -v '^ *+' conftest.er1 >conftest.err
72944 rm -f conftest.er1
72945 cat conftest.err >&5
72946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72947 (exit $ac_status); } &&
72948 { ac_try='test -z "$ac_cxx_werror_flag"
72949 || test ! -s conftest.err'
72950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72951 (eval $ac_try) 2>&5
72952 ac_status=$?
72953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72954 (exit $ac_status); }; } &&
72955 { ac_try='test -s conftest.$ac_objext'
72956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72957 (eval $ac_try) 2>&5
72958 ac_status=$?
72959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72960 (exit $ac_status); }; }; then
72961 glibcxx_cv_func_isinfl_use=yes
72962 else
72963 echo "$as_me: failed program was:" >&5
72964 sed 's/^/| /' conftest.$ac_ext >&5
72966 glibcxx_cv_func_isinfl_use=no
72968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72969 ac_ext=c
72970 ac_cpp='$CPP $CPPFLAGS'
72971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72979 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
72980 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
72982 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
72984 for ac_func in isinfl
72986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72987 echo "$as_me:$LINENO: checking for $ac_func" >&5
72988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72989 if eval "test \"\${$as_ac_var+set}\" = set"; then
72990 echo $ECHO_N "(cached) $ECHO_C" >&6
72991 else
72992 if test x$gcc_no_link = xyes; then
72993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72995 { (exit 1); exit 1; }; }
72997 cat >conftest.$ac_ext <<_ACEOF
72998 /* confdefs.h. */
72999 _ACEOF
73000 cat confdefs.h >>conftest.$ac_ext
73001 cat >>conftest.$ac_ext <<_ACEOF
73002 /* end confdefs.h. */
73003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73005 #define $ac_func innocuous_$ac_func
73007 /* System header to define __stub macros and hopefully few prototypes,
73008 which can conflict with char $ac_func (); below.
73009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73010 <limits.h> exists even on freestanding compilers. */
73012 #ifdef __STDC__
73013 # include <limits.h>
73014 #else
73015 # include <assert.h>
73016 #endif
73018 #undef $ac_func
73020 /* Override any gcc2 internal prototype to avoid an error. */
73021 #ifdef __cplusplus
73022 extern "C"
73024 #endif
73025 /* We use char because int might match the return type of a gcc2
73026 builtin and then its argument prototype would still apply. */
73027 char $ac_func ();
73028 /* The GNU C library defines this for functions which it implements
73029 to always fail with ENOSYS. Some functions are actually named
73030 something starting with __ and the normal name is an alias. */
73031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73032 choke me
73033 #else
73034 char (*f) () = $ac_func;
73035 #endif
73036 #ifdef __cplusplus
73038 #endif
73041 main ()
73043 return f != $ac_func;
73045 return 0;
73047 _ACEOF
73048 rm -f conftest.$ac_objext conftest$ac_exeext
73049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73050 (eval $ac_link) 2>conftest.er1
73051 ac_status=$?
73052 grep -v '^ *+' conftest.er1 >conftest.err
73053 rm -f conftest.er1
73054 cat conftest.err >&5
73055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73056 (exit $ac_status); } &&
73057 { ac_try='test -z "$ac_c_werror_flag"
73058 || test ! -s conftest.err'
73059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73060 (eval $ac_try) 2>&5
73061 ac_status=$?
73062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73063 (exit $ac_status); }; } &&
73064 { ac_try='test -s conftest$ac_exeext'
73065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73066 (eval $ac_try) 2>&5
73067 ac_status=$?
73068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73069 (exit $ac_status); }; }; then
73070 eval "$as_ac_var=yes"
73071 else
73072 echo "$as_me: failed program was:" >&5
73073 sed 's/^/| /' conftest.$ac_ext >&5
73075 eval "$as_ac_var=no"
73077 rm -f conftest.err conftest.$ac_objext \
73078 conftest$ac_exeext conftest.$ac_ext
73080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73082 if test `eval echo '${'$as_ac_var'}'` = yes; then
73083 cat >>confdefs.h <<_ACEOF
73084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73085 _ACEOF
73088 done
73090 else
73092 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
73093 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
73094 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
73095 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
73096 echo $ECHO_N "(cached) $ECHO_C" >&6
73097 else
73101 ac_ext=cc
73102 ac_cpp='$CXXCPP $CPPFLAGS'
73103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73107 cat >conftest.$ac_ext <<_ACEOF
73108 /* confdefs.h. */
73109 _ACEOF
73110 cat confdefs.h >>conftest.$ac_ext
73111 cat >>conftest.$ac_ext <<_ACEOF
73112 /* end confdefs.h. */
73113 #include <math.h>
73114 #ifdef HAVE_IEEEFP_H
73115 #include <ieeefp.h>
73116 #endif
73119 main ()
73121 _isinfl(0);
73123 return 0;
73125 _ACEOF
73126 rm -f conftest.$ac_objext
73127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73128 (eval $ac_compile) 2>conftest.er1
73129 ac_status=$?
73130 grep -v '^ *+' conftest.er1 >conftest.err
73131 rm -f conftest.er1
73132 cat conftest.err >&5
73133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73134 (exit $ac_status); } &&
73135 { ac_try='test -z "$ac_cxx_werror_flag"
73136 || test ! -s conftest.err'
73137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73138 (eval $ac_try) 2>&5
73139 ac_status=$?
73140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73141 (exit $ac_status); }; } &&
73142 { ac_try='test -s conftest.$ac_objext'
73143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73144 (eval $ac_try) 2>&5
73145 ac_status=$?
73146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73147 (exit $ac_status); }; }; then
73148 glibcxx_cv_func__isinfl_use=yes
73149 else
73150 echo "$as_me: failed program was:" >&5
73151 sed 's/^/| /' conftest.$ac_ext >&5
73153 glibcxx_cv_func__isinfl_use=no
73155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73156 ac_ext=c
73157 ac_cpp='$CPP $CPPFLAGS'
73158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73166 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
73167 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
73169 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
73171 for ac_func in _isinfl
73173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73174 echo "$as_me:$LINENO: checking for $ac_func" >&5
73175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73176 if eval "test \"\${$as_ac_var+set}\" = set"; then
73177 echo $ECHO_N "(cached) $ECHO_C" >&6
73178 else
73179 if test x$gcc_no_link = xyes; then
73180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73182 { (exit 1); exit 1; }; }
73184 cat >conftest.$ac_ext <<_ACEOF
73185 /* confdefs.h. */
73186 _ACEOF
73187 cat confdefs.h >>conftest.$ac_ext
73188 cat >>conftest.$ac_ext <<_ACEOF
73189 /* end confdefs.h. */
73190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73192 #define $ac_func innocuous_$ac_func
73194 /* System header to define __stub macros and hopefully few prototypes,
73195 which can conflict with char $ac_func (); below.
73196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73197 <limits.h> exists even on freestanding compilers. */
73199 #ifdef __STDC__
73200 # include <limits.h>
73201 #else
73202 # include <assert.h>
73203 #endif
73205 #undef $ac_func
73207 /* Override any gcc2 internal prototype to avoid an error. */
73208 #ifdef __cplusplus
73209 extern "C"
73211 #endif
73212 /* We use char because int might match the return type of a gcc2
73213 builtin and then its argument prototype would still apply. */
73214 char $ac_func ();
73215 /* The GNU C library defines this for functions which it implements
73216 to always fail with ENOSYS. Some functions are actually named
73217 something starting with __ and the normal name is an alias. */
73218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73219 choke me
73220 #else
73221 char (*f) () = $ac_func;
73222 #endif
73223 #ifdef __cplusplus
73225 #endif
73228 main ()
73230 return f != $ac_func;
73232 return 0;
73234 _ACEOF
73235 rm -f conftest.$ac_objext conftest$ac_exeext
73236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73237 (eval $ac_link) 2>conftest.er1
73238 ac_status=$?
73239 grep -v '^ *+' conftest.er1 >conftest.err
73240 rm -f conftest.er1
73241 cat conftest.err >&5
73242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73243 (exit $ac_status); } &&
73244 { ac_try='test -z "$ac_c_werror_flag"
73245 || test ! -s conftest.err'
73246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73247 (eval $ac_try) 2>&5
73248 ac_status=$?
73249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73250 (exit $ac_status); }; } &&
73251 { ac_try='test -s conftest$ac_exeext'
73252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73253 (eval $ac_try) 2>&5
73254 ac_status=$?
73255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73256 (exit $ac_status); }; }; then
73257 eval "$as_ac_var=yes"
73258 else
73259 echo "$as_me: failed program was:" >&5
73260 sed 's/^/| /' conftest.$ac_ext >&5
73262 eval "$as_ac_var=no"
73264 rm -f conftest.err conftest.$ac_objext \
73265 conftest$ac_exeext conftest.$ac_ext
73267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73269 if test `eval echo '${'$as_ac_var'}'` = yes; then
73270 cat >>confdefs.h <<_ACEOF
73271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73272 _ACEOF
73275 done
73285 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
73286 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
73287 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
73288 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
73289 echo $ECHO_N "(cached) $ECHO_C" >&6
73290 else
73294 ac_ext=cc
73295 ac_cpp='$CXXCPP $CPPFLAGS'
73296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73300 cat >conftest.$ac_ext <<_ACEOF
73301 /* confdefs.h. */
73302 _ACEOF
73303 cat confdefs.h >>conftest.$ac_ext
73304 cat >>conftest.$ac_ext <<_ACEOF
73305 /* end confdefs.h. */
73306 #include <math.h>
73308 main ()
73310 copysignl(0, 0);
73312 return 0;
73314 _ACEOF
73315 rm -f conftest.$ac_objext
73316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73317 (eval $ac_compile) 2>conftest.er1
73318 ac_status=$?
73319 grep -v '^ *+' conftest.er1 >conftest.err
73320 rm -f conftest.er1
73321 cat conftest.err >&5
73322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73323 (exit $ac_status); } &&
73324 { ac_try='test -z "$ac_cxx_werror_flag"
73325 || test ! -s conftest.err'
73326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73327 (eval $ac_try) 2>&5
73328 ac_status=$?
73329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73330 (exit $ac_status); }; } &&
73331 { ac_try='test -s conftest.$ac_objext'
73332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73333 (eval $ac_try) 2>&5
73334 ac_status=$?
73335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73336 (exit $ac_status); }; }; then
73337 glibcxx_cv_func_copysignl_use=yes
73338 else
73339 echo "$as_me: failed program was:" >&5
73340 sed 's/^/| /' conftest.$ac_ext >&5
73342 glibcxx_cv_func_copysignl_use=no
73344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73345 ac_ext=c
73346 ac_cpp='$CPP $CPPFLAGS'
73347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73355 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
73356 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
73358 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
73360 for ac_func in copysignl
73362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73363 echo "$as_me:$LINENO: checking for $ac_func" >&5
73364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73365 if eval "test \"\${$as_ac_var+set}\" = set"; then
73366 echo $ECHO_N "(cached) $ECHO_C" >&6
73367 else
73368 if test x$gcc_no_link = xyes; then
73369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73371 { (exit 1); exit 1; }; }
73373 cat >conftest.$ac_ext <<_ACEOF
73374 /* confdefs.h. */
73375 _ACEOF
73376 cat confdefs.h >>conftest.$ac_ext
73377 cat >>conftest.$ac_ext <<_ACEOF
73378 /* end confdefs.h. */
73379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73381 #define $ac_func innocuous_$ac_func
73383 /* System header to define __stub macros and hopefully few prototypes,
73384 which can conflict with char $ac_func (); below.
73385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73386 <limits.h> exists even on freestanding compilers. */
73388 #ifdef __STDC__
73389 # include <limits.h>
73390 #else
73391 # include <assert.h>
73392 #endif
73394 #undef $ac_func
73396 /* Override any gcc2 internal prototype to avoid an error. */
73397 #ifdef __cplusplus
73398 extern "C"
73400 #endif
73401 /* We use char because int might match the return type of a gcc2
73402 builtin and then its argument prototype would still apply. */
73403 char $ac_func ();
73404 /* The GNU C library defines this for functions which it implements
73405 to always fail with ENOSYS. Some functions are actually named
73406 something starting with __ and the normal name is an alias. */
73407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73408 choke me
73409 #else
73410 char (*f) () = $ac_func;
73411 #endif
73412 #ifdef __cplusplus
73414 #endif
73417 main ()
73419 return f != $ac_func;
73421 return 0;
73423 _ACEOF
73424 rm -f conftest.$ac_objext conftest$ac_exeext
73425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73426 (eval $ac_link) 2>conftest.er1
73427 ac_status=$?
73428 grep -v '^ *+' conftest.er1 >conftest.err
73429 rm -f conftest.er1
73430 cat conftest.err >&5
73431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73432 (exit $ac_status); } &&
73433 { ac_try='test -z "$ac_c_werror_flag"
73434 || test ! -s conftest.err'
73435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73436 (eval $ac_try) 2>&5
73437 ac_status=$?
73438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73439 (exit $ac_status); }; } &&
73440 { ac_try='test -s conftest$ac_exeext'
73441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73442 (eval $ac_try) 2>&5
73443 ac_status=$?
73444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73445 (exit $ac_status); }; }; then
73446 eval "$as_ac_var=yes"
73447 else
73448 echo "$as_me: failed program was:" >&5
73449 sed 's/^/| /' conftest.$ac_ext >&5
73451 eval "$as_ac_var=no"
73453 rm -f conftest.err conftest.$ac_objext \
73454 conftest$ac_exeext conftest.$ac_ext
73456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73458 if test `eval echo '${'$as_ac_var'}'` = yes; then
73459 cat >>confdefs.h <<_ACEOF
73460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73461 _ACEOF
73464 done
73466 else
73468 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
73469 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
73470 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
73471 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
73472 echo $ECHO_N "(cached) $ECHO_C" >&6
73473 else
73477 ac_ext=cc
73478 ac_cpp='$CXXCPP $CPPFLAGS'
73479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73483 cat >conftest.$ac_ext <<_ACEOF
73484 /* confdefs.h. */
73485 _ACEOF
73486 cat confdefs.h >>conftest.$ac_ext
73487 cat >>conftest.$ac_ext <<_ACEOF
73488 /* end confdefs.h. */
73489 #include <math.h>
73491 main ()
73493 _copysignl(0, 0);
73495 return 0;
73497 _ACEOF
73498 rm -f conftest.$ac_objext
73499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73500 (eval $ac_compile) 2>conftest.er1
73501 ac_status=$?
73502 grep -v '^ *+' conftest.er1 >conftest.err
73503 rm -f conftest.er1
73504 cat conftest.err >&5
73505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73506 (exit $ac_status); } &&
73507 { ac_try='test -z "$ac_cxx_werror_flag"
73508 || test ! -s conftest.err'
73509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73510 (eval $ac_try) 2>&5
73511 ac_status=$?
73512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73513 (exit $ac_status); }; } &&
73514 { ac_try='test -s conftest.$ac_objext'
73515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73516 (eval $ac_try) 2>&5
73517 ac_status=$?
73518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73519 (exit $ac_status); }; }; then
73520 glibcxx_cv_func__copysignl_use=yes
73521 else
73522 echo "$as_me: failed program was:" >&5
73523 sed 's/^/| /' conftest.$ac_ext >&5
73525 glibcxx_cv_func__copysignl_use=no
73527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73528 ac_ext=c
73529 ac_cpp='$CPP $CPPFLAGS'
73530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73538 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
73539 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
73541 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
73543 for ac_func in _copysignl
73545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73546 echo "$as_me:$LINENO: checking for $ac_func" >&5
73547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73548 if eval "test \"\${$as_ac_var+set}\" = set"; then
73549 echo $ECHO_N "(cached) $ECHO_C" >&6
73550 else
73551 if test x$gcc_no_link = xyes; then
73552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73554 { (exit 1); exit 1; }; }
73556 cat >conftest.$ac_ext <<_ACEOF
73557 /* confdefs.h. */
73558 _ACEOF
73559 cat confdefs.h >>conftest.$ac_ext
73560 cat >>conftest.$ac_ext <<_ACEOF
73561 /* end confdefs.h. */
73562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73564 #define $ac_func innocuous_$ac_func
73566 /* System header to define __stub macros and hopefully few prototypes,
73567 which can conflict with char $ac_func (); below.
73568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73569 <limits.h> exists even on freestanding compilers. */
73571 #ifdef __STDC__
73572 # include <limits.h>
73573 #else
73574 # include <assert.h>
73575 #endif
73577 #undef $ac_func
73579 /* Override any gcc2 internal prototype to avoid an error. */
73580 #ifdef __cplusplus
73581 extern "C"
73583 #endif
73584 /* We use char because int might match the return type of a gcc2
73585 builtin and then its argument prototype would still apply. */
73586 char $ac_func ();
73587 /* The GNU C library defines this for functions which it implements
73588 to always fail with ENOSYS. Some functions are actually named
73589 something starting with __ and the normal name is an alias. */
73590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73591 choke me
73592 #else
73593 char (*f) () = $ac_func;
73594 #endif
73595 #ifdef __cplusplus
73597 #endif
73600 main ()
73602 return f != $ac_func;
73604 return 0;
73606 _ACEOF
73607 rm -f conftest.$ac_objext conftest$ac_exeext
73608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73609 (eval $ac_link) 2>conftest.er1
73610 ac_status=$?
73611 grep -v '^ *+' conftest.er1 >conftest.err
73612 rm -f conftest.er1
73613 cat conftest.err >&5
73614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73615 (exit $ac_status); } &&
73616 { ac_try='test -z "$ac_c_werror_flag"
73617 || test ! -s conftest.err'
73618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73619 (eval $ac_try) 2>&5
73620 ac_status=$?
73621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73622 (exit $ac_status); }; } &&
73623 { ac_try='test -s conftest$ac_exeext'
73624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73625 (eval $ac_try) 2>&5
73626 ac_status=$?
73627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73628 (exit $ac_status); }; }; then
73629 eval "$as_ac_var=yes"
73630 else
73631 echo "$as_me: failed program was:" >&5
73632 sed 's/^/| /' conftest.$ac_ext >&5
73634 eval "$as_ac_var=no"
73636 rm -f conftest.err conftest.$ac_objext \
73637 conftest$ac_exeext conftest.$ac_ext
73639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73641 if test `eval echo '${'$as_ac_var'}'` = yes; then
73642 cat >>confdefs.h <<_ACEOF
73643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73644 _ACEOF
73647 done
73657 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
73658 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
73659 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
73660 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
73661 echo $ECHO_N "(cached) $ECHO_C" >&6
73662 else
73666 ac_ext=cc
73667 ac_cpp='$CXXCPP $CPPFLAGS'
73668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73672 cat >conftest.$ac_ext <<_ACEOF
73673 /* confdefs.h. */
73674 _ACEOF
73675 cat confdefs.h >>conftest.$ac_ext
73676 cat >>conftest.$ac_ext <<_ACEOF
73677 /* end confdefs.h. */
73678 #include <math.h>
73680 main ()
73682 atan2l(0, 0);
73684 return 0;
73686 _ACEOF
73687 rm -f conftest.$ac_objext
73688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73689 (eval $ac_compile) 2>conftest.er1
73690 ac_status=$?
73691 grep -v '^ *+' conftest.er1 >conftest.err
73692 rm -f conftest.er1
73693 cat conftest.err >&5
73694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73695 (exit $ac_status); } &&
73696 { ac_try='test -z "$ac_cxx_werror_flag"
73697 || test ! -s conftest.err'
73698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73699 (eval $ac_try) 2>&5
73700 ac_status=$?
73701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73702 (exit $ac_status); }; } &&
73703 { ac_try='test -s conftest.$ac_objext'
73704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73705 (eval $ac_try) 2>&5
73706 ac_status=$?
73707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73708 (exit $ac_status); }; }; then
73709 glibcxx_cv_func_atan2l_use=yes
73710 else
73711 echo "$as_me: failed program was:" >&5
73712 sed 's/^/| /' conftest.$ac_ext >&5
73714 glibcxx_cv_func_atan2l_use=no
73716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73717 ac_ext=c
73718 ac_cpp='$CPP $CPPFLAGS'
73719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73727 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
73728 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
73730 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
73732 for ac_func in atan2l
73734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73735 echo "$as_me:$LINENO: checking for $ac_func" >&5
73736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73737 if eval "test \"\${$as_ac_var+set}\" = set"; then
73738 echo $ECHO_N "(cached) $ECHO_C" >&6
73739 else
73740 if test x$gcc_no_link = xyes; then
73741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73743 { (exit 1); exit 1; }; }
73745 cat >conftest.$ac_ext <<_ACEOF
73746 /* confdefs.h. */
73747 _ACEOF
73748 cat confdefs.h >>conftest.$ac_ext
73749 cat >>conftest.$ac_ext <<_ACEOF
73750 /* end confdefs.h. */
73751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73753 #define $ac_func innocuous_$ac_func
73755 /* System header to define __stub macros and hopefully few prototypes,
73756 which can conflict with char $ac_func (); below.
73757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73758 <limits.h> exists even on freestanding compilers. */
73760 #ifdef __STDC__
73761 # include <limits.h>
73762 #else
73763 # include <assert.h>
73764 #endif
73766 #undef $ac_func
73768 /* Override any gcc2 internal prototype to avoid an error. */
73769 #ifdef __cplusplus
73770 extern "C"
73772 #endif
73773 /* We use char because int might match the return type of a gcc2
73774 builtin and then its argument prototype would still apply. */
73775 char $ac_func ();
73776 /* The GNU C library defines this for functions which it implements
73777 to always fail with ENOSYS. Some functions are actually named
73778 something starting with __ and the normal name is an alias. */
73779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73780 choke me
73781 #else
73782 char (*f) () = $ac_func;
73783 #endif
73784 #ifdef __cplusplus
73786 #endif
73789 main ()
73791 return f != $ac_func;
73793 return 0;
73795 _ACEOF
73796 rm -f conftest.$ac_objext conftest$ac_exeext
73797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73798 (eval $ac_link) 2>conftest.er1
73799 ac_status=$?
73800 grep -v '^ *+' conftest.er1 >conftest.err
73801 rm -f conftest.er1
73802 cat conftest.err >&5
73803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73804 (exit $ac_status); } &&
73805 { ac_try='test -z "$ac_c_werror_flag"
73806 || test ! -s conftest.err'
73807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73808 (eval $ac_try) 2>&5
73809 ac_status=$?
73810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73811 (exit $ac_status); }; } &&
73812 { ac_try='test -s conftest$ac_exeext'
73813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73814 (eval $ac_try) 2>&5
73815 ac_status=$?
73816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73817 (exit $ac_status); }; }; then
73818 eval "$as_ac_var=yes"
73819 else
73820 echo "$as_me: failed program was:" >&5
73821 sed 's/^/| /' conftest.$ac_ext >&5
73823 eval "$as_ac_var=no"
73825 rm -f conftest.err conftest.$ac_objext \
73826 conftest$ac_exeext conftest.$ac_ext
73828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73830 if test `eval echo '${'$as_ac_var'}'` = yes; then
73831 cat >>confdefs.h <<_ACEOF
73832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73833 _ACEOF
73836 done
73838 else
73840 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
73841 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
73842 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
73843 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
73844 echo $ECHO_N "(cached) $ECHO_C" >&6
73845 else
73849 ac_ext=cc
73850 ac_cpp='$CXXCPP $CPPFLAGS'
73851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73855 cat >conftest.$ac_ext <<_ACEOF
73856 /* confdefs.h. */
73857 _ACEOF
73858 cat confdefs.h >>conftest.$ac_ext
73859 cat >>conftest.$ac_ext <<_ACEOF
73860 /* end confdefs.h. */
73861 #include <math.h>
73863 main ()
73865 _atan2l(0, 0);
73867 return 0;
73869 _ACEOF
73870 rm -f conftest.$ac_objext
73871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73872 (eval $ac_compile) 2>conftest.er1
73873 ac_status=$?
73874 grep -v '^ *+' conftest.er1 >conftest.err
73875 rm -f conftest.er1
73876 cat conftest.err >&5
73877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73878 (exit $ac_status); } &&
73879 { ac_try='test -z "$ac_cxx_werror_flag"
73880 || test ! -s conftest.err'
73881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73882 (eval $ac_try) 2>&5
73883 ac_status=$?
73884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73885 (exit $ac_status); }; } &&
73886 { ac_try='test -s conftest.$ac_objext'
73887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73888 (eval $ac_try) 2>&5
73889 ac_status=$?
73890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73891 (exit $ac_status); }; }; then
73892 glibcxx_cv_func__atan2l_use=yes
73893 else
73894 echo "$as_me: failed program was:" >&5
73895 sed 's/^/| /' conftest.$ac_ext >&5
73897 glibcxx_cv_func__atan2l_use=no
73899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73900 ac_ext=c
73901 ac_cpp='$CPP $CPPFLAGS'
73902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73910 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
73911 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
73913 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
73915 for ac_func in _atan2l
73917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73918 echo "$as_me:$LINENO: checking for $ac_func" >&5
73919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73920 if eval "test \"\${$as_ac_var+set}\" = set"; then
73921 echo $ECHO_N "(cached) $ECHO_C" >&6
73922 else
73923 if test x$gcc_no_link = xyes; then
73924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73926 { (exit 1); exit 1; }; }
73928 cat >conftest.$ac_ext <<_ACEOF
73929 /* confdefs.h. */
73930 _ACEOF
73931 cat confdefs.h >>conftest.$ac_ext
73932 cat >>conftest.$ac_ext <<_ACEOF
73933 /* end confdefs.h. */
73934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73936 #define $ac_func innocuous_$ac_func
73938 /* System header to define __stub macros and hopefully few prototypes,
73939 which can conflict with char $ac_func (); below.
73940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73941 <limits.h> exists even on freestanding compilers. */
73943 #ifdef __STDC__
73944 # include <limits.h>
73945 #else
73946 # include <assert.h>
73947 #endif
73949 #undef $ac_func
73951 /* Override any gcc2 internal prototype to avoid an error. */
73952 #ifdef __cplusplus
73953 extern "C"
73955 #endif
73956 /* We use char because int might match the return type of a gcc2
73957 builtin and then its argument prototype would still apply. */
73958 char $ac_func ();
73959 /* The GNU C library defines this for functions which it implements
73960 to always fail with ENOSYS. Some functions are actually named
73961 something starting with __ and the normal name is an alias. */
73962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73963 choke me
73964 #else
73965 char (*f) () = $ac_func;
73966 #endif
73967 #ifdef __cplusplus
73969 #endif
73972 main ()
73974 return f != $ac_func;
73976 return 0;
73978 _ACEOF
73979 rm -f conftest.$ac_objext conftest$ac_exeext
73980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73981 (eval $ac_link) 2>conftest.er1
73982 ac_status=$?
73983 grep -v '^ *+' conftest.er1 >conftest.err
73984 rm -f conftest.er1
73985 cat conftest.err >&5
73986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73987 (exit $ac_status); } &&
73988 { ac_try='test -z "$ac_c_werror_flag"
73989 || test ! -s conftest.err'
73990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73991 (eval $ac_try) 2>&5
73992 ac_status=$?
73993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73994 (exit $ac_status); }; } &&
73995 { ac_try='test -s conftest$ac_exeext'
73996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73997 (eval $ac_try) 2>&5
73998 ac_status=$?
73999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74000 (exit $ac_status); }; }; then
74001 eval "$as_ac_var=yes"
74002 else
74003 echo "$as_me: failed program was:" >&5
74004 sed 's/^/| /' conftest.$ac_ext >&5
74006 eval "$as_ac_var=no"
74008 rm -f conftest.err conftest.$ac_objext \
74009 conftest$ac_exeext conftest.$ac_ext
74011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74013 if test `eval echo '${'$as_ac_var'}'` = yes; then
74014 cat >>confdefs.h <<_ACEOF
74015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74016 _ACEOF
74019 done
74029 echo "$as_me:$LINENO: checking for expl declaration" >&5
74030 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
74031 if test x${glibcxx_cv_func_expl_use+set} != xset; then
74032 if test "${glibcxx_cv_func_expl_use+set}" = set; then
74033 echo $ECHO_N "(cached) $ECHO_C" >&6
74034 else
74038 ac_ext=cc
74039 ac_cpp='$CXXCPP $CPPFLAGS'
74040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74044 cat >conftest.$ac_ext <<_ACEOF
74045 /* confdefs.h. */
74046 _ACEOF
74047 cat confdefs.h >>conftest.$ac_ext
74048 cat >>conftest.$ac_ext <<_ACEOF
74049 /* end confdefs.h. */
74050 #include <math.h>
74051 #ifdef HAVE_IEEEFP_H
74052 #include <ieeefp.h>
74053 #endif
74056 main ()
74058 expl(0);
74060 return 0;
74062 _ACEOF
74063 rm -f conftest.$ac_objext
74064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74065 (eval $ac_compile) 2>conftest.er1
74066 ac_status=$?
74067 grep -v '^ *+' conftest.er1 >conftest.err
74068 rm -f conftest.er1
74069 cat conftest.err >&5
74070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74071 (exit $ac_status); } &&
74072 { ac_try='test -z "$ac_cxx_werror_flag"
74073 || test ! -s conftest.err'
74074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74075 (eval $ac_try) 2>&5
74076 ac_status=$?
74077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74078 (exit $ac_status); }; } &&
74079 { ac_try='test -s conftest.$ac_objext'
74080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74081 (eval $ac_try) 2>&5
74082 ac_status=$?
74083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74084 (exit $ac_status); }; }; then
74085 glibcxx_cv_func_expl_use=yes
74086 else
74087 echo "$as_me: failed program was:" >&5
74088 sed 's/^/| /' conftest.$ac_ext >&5
74090 glibcxx_cv_func_expl_use=no
74092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74093 ac_ext=c
74094 ac_cpp='$CPP $CPPFLAGS'
74095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74103 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
74104 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
74106 if test x$glibcxx_cv_func_expl_use = x"yes"; then
74108 for ac_func in expl
74110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74111 echo "$as_me:$LINENO: checking for $ac_func" >&5
74112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74113 if eval "test \"\${$as_ac_var+set}\" = set"; then
74114 echo $ECHO_N "(cached) $ECHO_C" >&6
74115 else
74116 if test x$gcc_no_link = xyes; then
74117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74119 { (exit 1); exit 1; }; }
74121 cat >conftest.$ac_ext <<_ACEOF
74122 /* confdefs.h. */
74123 _ACEOF
74124 cat confdefs.h >>conftest.$ac_ext
74125 cat >>conftest.$ac_ext <<_ACEOF
74126 /* end confdefs.h. */
74127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74129 #define $ac_func innocuous_$ac_func
74131 /* System header to define __stub macros and hopefully few prototypes,
74132 which can conflict with char $ac_func (); below.
74133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74134 <limits.h> exists even on freestanding compilers. */
74136 #ifdef __STDC__
74137 # include <limits.h>
74138 #else
74139 # include <assert.h>
74140 #endif
74142 #undef $ac_func
74144 /* Override any gcc2 internal prototype to avoid an error. */
74145 #ifdef __cplusplus
74146 extern "C"
74148 #endif
74149 /* We use char because int might match the return type of a gcc2
74150 builtin and then its argument prototype would still apply. */
74151 char $ac_func ();
74152 /* The GNU C library defines this for functions which it implements
74153 to always fail with ENOSYS. Some functions are actually named
74154 something starting with __ and the normal name is an alias. */
74155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74156 choke me
74157 #else
74158 char (*f) () = $ac_func;
74159 #endif
74160 #ifdef __cplusplus
74162 #endif
74165 main ()
74167 return f != $ac_func;
74169 return 0;
74171 _ACEOF
74172 rm -f conftest.$ac_objext conftest$ac_exeext
74173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74174 (eval $ac_link) 2>conftest.er1
74175 ac_status=$?
74176 grep -v '^ *+' conftest.er1 >conftest.err
74177 rm -f conftest.er1
74178 cat conftest.err >&5
74179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74180 (exit $ac_status); } &&
74181 { ac_try='test -z "$ac_c_werror_flag"
74182 || test ! -s conftest.err'
74183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74184 (eval $ac_try) 2>&5
74185 ac_status=$?
74186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74187 (exit $ac_status); }; } &&
74188 { ac_try='test -s conftest$ac_exeext'
74189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74190 (eval $ac_try) 2>&5
74191 ac_status=$?
74192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74193 (exit $ac_status); }; }; then
74194 eval "$as_ac_var=yes"
74195 else
74196 echo "$as_me: failed program was:" >&5
74197 sed 's/^/| /' conftest.$ac_ext >&5
74199 eval "$as_ac_var=no"
74201 rm -f conftest.err conftest.$ac_objext \
74202 conftest$ac_exeext conftest.$ac_ext
74204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74206 if test `eval echo '${'$as_ac_var'}'` = yes; then
74207 cat >>confdefs.h <<_ACEOF
74208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74209 _ACEOF
74212 done
74214 else
74216 echo "$as_me:$LINENO: checking for _expl declaration" >&5
74217 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
74218 if test x${glibcxx_cv_func__expl_use+set} != xset; then
74219 if test "${glibcxx_cv_func__expl_use+set}" = set; then
74220 echo $ECHO_N "(cached) $ECHO_C" >&6
74221 else
74225 ac_ext=cc
74226 ac_cpp='$CXXCPP $CPPFLAGS'
74227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74231 cat >conftest.$ac_ext <<_ACEOF
74232 /* confdefs.h. */
74233 _ACEOF
74234 cat confdefs.h >>conftest.$ac_ext
74235 cat >>conftest.$ac_ext <<_ACEOF
74236 /* end confdefs.h. */
74237 #include <math.h>
74238 #ifdef HAVE_IEEEFP_H
74239 #include <ieeefp.h>
74240 #endif
74243 main ()
74245 _expl(0);
74247 return 0;
74249 _ACEOF
74250 rm -f conftest.$ac_objext
74251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74252 (eval $ac_compile) 2>conftest.er1
74253 ac_status=$?
74254 grep -v '^ *+' conftest.er1 >conftest.err
74255 rm -f conftest.er1
74256 cat conftest.err >&5
74257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74258 (exit $ac_status); } &&
74259 { ac_try='test -z "$ac_cxx_werror_flag"
74260 || test ! -s conftest.err'
74261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74262 (eval $ac_try) 2>&5
74263 ac_status=$?
74264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74265 (exit $ac_status); }; } &&
74266 { ac_try='test -s conftest.$ac_objext'
74267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74268 (eval $ac_try) 2>&5
74269 ac_status=$?
74270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74271 (exit $ac_status); }; }; then
74272 glibcxx_cv_func__expl_use=yes
74273 else
74274 echo "$as_me: failed program was:" >&5
74275 sed 's/^/| /' conftest.$ac_ext >&5
74277 glibcxx_cv_func__expl_use=no
74279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74280 ac_ext=c
74281 ac_cpp='$CPP $CPPFLAGS'
74282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74290 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
74291 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
74293 if test x$glibcxx_cv_func__expl_use = x"yes"; then
74295 for ac_func in _expl
74297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74298 echo "$as_me:$LINENO: checking for $ac_func" >&5
74299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74300 if eval "test \"\${$as_ac_var+set}\" = set"; then
74301 echo $ECHO_N "(cached) $ECHO_C" >&6
74302 else
74303 if test x$gcc_no_link = xyes; then
74304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74306 { (exit 1); exit 1; }; }
74308 cat >conftest.$ac_ext <<_ACEOF
74309 /* confdefs.h. */
74310 _ACEOF
74311 cat confdefs.h >>conftest.$ac_ext
74312 cat >>conftest.$ac_ext <<_ACEOF
74313 /* end confdefs.h. */
74314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74316 #define $ac_func innocuous_$ac_func
74318 /* System header to define __stub macros and hopefully few prototypes,
74319 which can conflict with char $ac_func (); below.
74320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74321 <limits.h> exists even on freestanding compilers. */
74323 #ifdef __STDC__
74324 # include <limits.h>
74325 #else
74326 # include <assert.h>
74327 #endif
74329 #undef $ac_func
74331 /* Override any gcc2 internal prototype to avoid an error. */
74332 #ifdef __cplusplus
74333 extern "C"
74335 #endif
74336 /* We use char because int might match the return type of a gcc2
74337 builtin and then its argument prototype would still apply. */
74338 char $ac_func ();
74339 /* The GNU C library defines this for functions which it implements
74340 to always fail with ENOSYS. Some functions are actually named
74341 something starting with __ and the normal name is an alias. */
74342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74343 choke me
74344 #else
74345 char (*f) () = $ac_func;
74346 #endif
74347 #ifdef __cplusplus
74349 #endif
74352 main ()
74354 return f != $ac_func;
74356 return 0;
74358 _ACEOF
74359 rm -f conftest.$ac_objext conftest$ac_exeext
74360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74361 (eval $ac_link) 2>conftest.er1
74362 ac_status=$?
74363 grep -v '^ *+' conftest.er1 >conftest.err
74364 rm -f conftest.er1
74365 cat conftest.err >&5
74366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74367 (exit $ac_status); } &&
74368 { ac_try='test -z "$ac_c_werror_flag"
74369 || test ! -s conftest.err'
74370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74371 (eval $ac_try) 2>&5
74372 ac_status=$?
74373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74374 (exit $ac_status); }; } &&
74375 { ac_try='test -s conftest$ac_exeext'
74376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74377 (eval $ac_try) 2>&5
74378 ac_status=$?
74379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74380 (exit $ac_status); }; }; then
74381 eval "$as_ac_var=yes"
74382 else
74383 echo "$as_me: failed program was:" >&5
74384 sed 's/^/| /' conftest.$ac_ext >&5
74386 eval "$as_ac_var=no"
74388 rm -f conftest.err conftest.$ac_objext \
74389 conftest$ac_exeext conftest.$ac_ext
74391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74393 if test `eval echo '${'$as_ac_var'}'` = yes; then
74394 cat >>confdefs.h <<_ACEOF
74395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74396 _ACEOF
74399 done
74409 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
74410 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
74411 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
74412 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
74413 echo $ECHO_N "(cached) $ECHO_C" >&6
74414 else
74418 ac_ext=cc
74419 ac_cpp='$CXXCPP $CPPFLAGS'
74420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74424 cat >conftest.$ac_ext <<_ACEOF
74425 /* confdefs.h. */
74426 _ACEOF
74427 cat confdefs.h >>conftest.$ac_ext
74428 cat >>conftest.$ac_ext <<_ACEOF
74429 /* end confdefs.h. */
74430 #include <math.h>
74431 #ifdef HAVE_IEEEFP_H
74432 #include <ieeefp.h>
74433 #endif
74436 main ()
74438 fabsl(0);
74440 return 0;
74442 _ACEOF
74443 rm -f conftest.$ac_objext
74444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74445 (eval $ac_compile) 2>conftest.er1
74446 ac_status=$?
74447 grep -v '^ *+' conftest.er1 >conftest.err
74448 rm -f conftest.er1
74449 cat conftest.err >&5
74450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74451 (exit $ac_status); } &&
74452 { ac_try='test -z "$ac_cxx_werror_flag"
74453 || test ! -s conftest.err'
74454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74455 (eval $ac_try) 2>&5
74456 ac_status=$?
74457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74458 (exit $ac_status); }; } &&
74459 { ac_try='test -s conftest.$ac_objext'
74460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74461 (eval $ac_try) 2>&5
74462 ac_status=$?
74463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74464 (exit $ac_status); }; }; then
74465 glibcxx_cv_func_fabsl_use=yes
74466 else
74467 echo "$as_me: failed program was:" >&5
74468 sed 's/^/| /' conftest.$ac_ext >&5
74470 glibcxx_cv_func_fabsl_use=no
74472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74473 ac_ext=c
74474 ac_cpp='$CPP $CPPFLAGS'
74475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74483 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
74484 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
74486 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
74488 for ac_func in fabsl
74490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74491 echo "$as_me:$LINENO: checking for $ac_func" >&5
74492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74493 if eval "test \"\${$as_ac_var+set}\" = set"; then
74494 echo $ECHO_N "(cached) $ECHO_C" >&6
74495 else
74496 if test x$gcc_no_link = xyes; then
74497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74499 { (exit 1); exit 1; }; }
74501 cat >conftest.$ac_ext <<_ACEOF
74502 /* confdefs.h. */
74503 _ACEOF
74504 cat confdefs.h >>conftest.$ac_ext
74505 cat >>conftest.$ac_ext <<_ACEOF
74506 /* end confdefs.h. */
74507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74509 #define $ac_func innocuous_$ac_func
74511 /* System header to define __stub macros and hopefully few prototypes,
74512 which can conflict with char $ac_func (); below.
74513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74514 <limits.h> exists even on freestanding compilers. */
74516 #ifdef __STDC__
74517 # include <limits.h>
74518 #else
74519 # include <assert.h>
74520 #endif
74522 #undef $ac_func
74524 /* Override any gcc2 internal prototype to avoid an error. */
74525 #ifdef __cplusplus
74526 extern "C"
74528 #endif
74529 /* We use char because int might match the return type of a gcc2
74530 builtin and then its argument prototype would still apply. */
74531 char $ac_func ();
74532 /* The GNU C library defines this for functions which it implements
74533 to always fail with ENOSYS. Some functions are actually named
74534 something starting with __ and the normal name is an alias. */
74535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74536 choke me
74537 #else
74538 char (*f) () = $ac_func;
74539 #endif
74540 #ifdef __cplusplus
74542 #endif
74545 main ()
74547 return f != $ac_func;
74549 return 0;
74551 _ACEOF
74552 rm -f conftest.$ac_objext conftest$ac_exeext
74553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74554 (eval $ac_link) 2>conftest.er1
74555 ac_status=$?
74556 grep -v '^ *+' conftest.er1 >conftest.err
74557 rm -f conftest.er1
74558 cat conftest.err >&5
74559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74560 (exit $ac_status); } &&
74561 { ac_try='test -z "$ac_c_werror_flag"
74562 || test ! -s conftest.err'
74563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74564 (eval $ac_try) 2>&5
74565 ac_status=$?
74566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74567 (exit $ac_status); }; } &&
74568 { ac_try='test -s conftest$ac_exeext'
74569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74570 (eval $ac_try) 2>&5
74571 ac_status=$?
74572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74573 (exit $ac_status); }; }; then
74574 eval "$as_ac_var=yes"
74575 else
74576 echo "$as_me: failed program was:" >&5
74577 sed 's/^/| /' conftest.$ac_ext >&5
74579 eval "$as_ac_var=no"
74581 rm -f conftest.err conftest.$ac_objext \
74582 conftest$ac_exeext conftest.$ac_ext
74584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74586 if test `eval echo '${'$as_ac_var'}'` = yes; then
74587 cat >>confdefs.h <<_ACEOF
74588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74589 _ACEOF
74592 done
74594 else
74596 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
74597 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
74598 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
74599 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
74600 echo $ECHO_N "(cached) $ECHO_C" >&6
74601 else
74605 ac_ext=cc
74606 ac_cpp='$CXXCPP $CPPFLAGS'
74607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74611 cat >conftest.$ac_ext <<_ACEOF
74612 /* confdefs.h. */
74613 _ACEOF
74614 cat confdefs.h >>conftest.$ac_ext
74615 cat >>conftest.$ac_ext <<_ACEOF
74616 /* end confdefs.h. */
74617 #include <math.h>
74618 #ifdef HAVE_IEEEFP_H
74619 #include <ieeefp.h>
74620 #endif
74623 main ()
74625 _fabsl(0);
74627 return 0;
74629 _ACEOF
74630 rm -f conftest.$ac_objext
74631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74632 (eval $ac_compile) 2>conftest.er1
74633 ac_status=$?
74634 grep -v '^ *+' conftest.er1 >conftest.err
74635 rm -f conftest.er1
74636 cat conftest.err >&5
74637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74638 (exit $ac_status); } &&
74639 { ac_try='test -z "$ac_cxx_werror_flag"
74640 || test ! -s conftest.err'
74641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74642 (eval $ac_try) 2>&5
74643 ac_status=$?
74644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74645 (exit $ac_status); }; } &&
74646 { ac_try='test -s conftest.$ac_objext'
74647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74648 (eval $ac_try) 2>&5
74649 ac_status=$?
74650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74651 (exit $ac_status); }; }; then
74652 glibcxx_cv_func__fabsl_use=yes
74653 else
74654 echo "$as_me: failed program was:" >&5
74655 sed 's/^/| /' conftest.$ac_ext >&5
74657 glibcxx_cv_func__fabsl_use=no
74659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74660 ac_ext=c
74661 ac_cpp='$CPP $CPPFLAGS'
74662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74670 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
74671 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
74673 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
74675 for ac_func in _fabsl
74677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74678 echo "$as_me:$LINENO: checking for $ac_func" >&5
74679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74680 if eval "test \"\${$as_ac_var+set}\" = set"; then
74681 echo $ECHO_N "(cached) $ECHO_C" >&6
74682 else
74683 if test x$gcc_no_link = xyes; then
74684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74686 { (exit 1); exit 1; }; }
74688 cat >conftest.$ac_ext <<_ACEOF
74689 /* confdefs.h. */
74690 _ACEOF
74691 cat confdefs.h >>conftest.$ac_ext
74692 cat >>conftest.$ac_ext <<_ACEOF
74693 /* end confdefs.h. */
74694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74696 #define $ac_func innocuous_$ac_func
74698 /* System header to define __stub macros and hopefully few prototypes,
74699 which can conflict with char $ac_func (); below.
74700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74701 <limits.h> exists even on freestanding compilers. */
74703 #ifdef __STDC__
74704 # include <limits.h>
74705 #else
74706 # include <assert.h>
74707 #endif
74709 #undef $ac_func
74711 /* Override any gcc2 internal prototype to avoid an error. */
74712 #ifdef __cplusplus
74713 extern "C"
74715 #endif
74716 /* We use char because int might match the return type of a gcc2
74717 builtin and then its argument prototype would still apply. */
74718 char $ac_func ();
74719 /* The GNU C library defines this for functions which it implements
74720 to always fail with ENOSYS. Some functions are actually named
74721 something starting with __ and the normal name is an alias. */
74722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74723 choke me
74724 #else
74725 char (*f) () = $ac_func;
74726 #endif
74727 #ifdef __cplusplus
74729 #endif
74732 main ()
74734 return f != $ac_func;
74736 return 0;
74738 _ACEOF
74739 rm -f conftest.$ac_objext conftest$ac_exeext
74740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74741 (eval $ac_link) 2>conftest.er1
74742 ac_status=$?
74743 grep -v '^ *+' conftest.er1 >conftest.err
74744 rm -f conftest.er1
74745 cat conftest.err >&5
74746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74747 (exit $ac_status); } &&
74748 { ac_try='test -z "$ac_c_werror_flag"
74749 || test ! -s conftest.err'
74750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74751 (eval $ac_try) 2>&5
74752 ac_status=$?
74753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74754 (exit $ac_status); }; } &&
74755 { ac_try='test -s conftest$ac_exeext'
74756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74757 (eval $ac_try) 2>&5
74758 ac_status=$?
74759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74760 (exit $ac_status); }; }; then
74761 eval "$as_ac_var=yes"
74762 else
74763 echo "$as_me: failed program was:" >&5
74764 sed 's/^/| /' conftest.$ac_ext >&5
74766 eval "$as_ac_var=no"
74768 rm -f conftest.err conftest.$ac_objext \
74769 conftest$ac_exeext conftest.$ac_ext
74771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74773 if test `eval echo '${'$as_ac_var'}'` = yes; then
74774 cat >>confdefs.h <<_ACEOF
74775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74776 _ACEOF
74779 done
74789 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
74790 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
74791 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
74792 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
74793 echo $ECHO_N "(cached) $ECHO_C" >&6
74794 else
74798 ac_ext=cc
74799 ac_cpp='$CXXCPP $CPPFLAGS'
74800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74804 cat >conftest.$ac_ext <<_ACEOF
74805 /* confdefs.h. */
74806 _ACEOF
74807 cat confdefs.h >>conftest.$ac_ext
74808 cat >>conftest.$ac_ext <<_ACEOF
74809 /* end confdefs.h. */
74810 #include <math.h>
74812 main ()
74814 fmodl(0, 0);
74816 return 0;
74818 _ACEOF
74819 rm -f conftest.$ac_objext
74820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74821 (eval $ac_compile) 2>conftest.er1
74822 ac_status=$?
74823 grep -v '^ *+' conftest.er1 >conftest.err
74824 rm -f conftest.er1
74825 cat conftest.err >&5
74826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74827 (exit $ac_status); } &&
74828 { ac_try='test -z "$ac_cxx_werror_flag"
74829 || test ! -s conftest.err'
74830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74831 (eval $ac_try) 2>&5
74832 ac_status=$?
74833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74834 (exit $ac_status); }; } &&
74835 { ac_try='test -s conftest.$ac_objext'
74836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74837 (eval $ac_try) 2>&5
74838 ac_status=$?
74839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74840 (exit $ac_status); }; }; then
74841 glibcxx_cv_func_fmodl_use=yes
74842 else
74843 echo "$as_me: failed program was:" >&5
74844 sed 's/^/| /' conftest.$ac_ext >&5
74846 glibcxx_cv_func_fmodl_use=no
74848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74849 ac_ext=c
74850 ac_cpp='$CPP $CPPFLAGS'
74851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74859 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
74860 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
74862 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
74864 for ac_func in fmodl
74866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74867 echo "$as_me:$LINENO: checking for $ac_func" >&5
74868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74869 if eval "test \"\${$as_ac_var+set}\" = set"; then
74870 echo $ECHO_N "(cached) $ECHO_C" >&6
74871 else
74872 if test x$gcc_no_link = xyes; then
74873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74875 { (exit 1); exit 1; }; }
74877 cat >conftest.$ac_ext <<_ACEOF
74878 /* confdefs.h. */
74879 _ACEOF
74880 cat confdefs.h >>conftest.$ac_ext
74881 cat >>conftest.$ac_ext <<_ACEOF
74882 /* end confdefs.h. */
74883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74885 #define $ac_func innocuous_$ac_func
74887 /* System header to define __stub macros and hopefully few prototypes,
74888 which can conflict with char $ac_func (); below.
74889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74890 <limits.h> exists even on freestanding compilers. */
74892 #ifdef __STDC__
74893 # include <limits.h>
74894 #else
74895 # include <assert.h>
74896 #endif
74898 #undef $ac_func
74900 /* Override any gcc2 internal prototype to avoid an error. */
74901 #ifdef __cplusplus
74902 extern "C"
74904 #endif
74905 /* We use char because int might match the return type of a gcc2
74906 builtin and then its argument prototype would still apply. */
74907 char $ac_func ();
74908 /* The GNU C library defines this for functions which it implements
74909 to always fail with ENOSYS. Some functions are actually named
74910 something starting with __ and the normal name is an alias. */
74911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74912 choke me
74913 #else
74914 char (*f) () = $ac_func;
74915 #endif
74916 #ifdef __cplusplus
74918 #endif
74921 main ()
74923 return f != $ac_func;
74925 return 0;
74927 _ACEOF
74928 rm -f conftest.$ac_objext conftest$ac_exeext
74929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74930 (eval $ac_link) 2>conftest.er1
74931 ac_status=$?
74932 grep -v '^ *+' conftest.er1 >conftest.err
74933 rm -f conftest.er1
74934 cat conftest.err >&5
74935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74936 (exit $ac_status); } &&
74937 { ac_try='test -z "$ac_c_werror_flag"
74938 || test ! -s conftest.err'
74939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74940 (eval $ac_try) 2>&5
74941 ac_status=$?
74942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74943 (exit $ac_status); }; } &&
74944 { ac_try='test -s conftest$ac_exeext'
74945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74946 (eval $ac_try) 2>&5
74947 ac_status=$?
74948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74949 (exit $ac_status); }; }; then
74950 eval "$as_ac_var=yes"
74951 else
74952 echo "$as_me: failed program was:" >&5
74953 sed 's/^/| /' conftest.$ac_ext >&5
74955 eval "$as_ac_var=no"
74957 rm -f conftest.err conftest.$ac_objext \
74958 conftest$ac_exeext conftest.$ac_ext
74960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74962 if test `eval echo '${'$as_ac_var'}'` = yes; then
74963 cat >>confdefs.h <<_ACEOF
74964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74965 _ACEOF
74968 done
74970 else
74972 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
74973 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
74974 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
74975 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
74976 echo $ECHO_N "(cached) $ECHO_C" >&6
74977 else
74981 ac_ext=cc
74982 ac_cpp='$CXXCPP $CPPFLAGS'
74983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74987 cat >conftest.$ac_ext <<_ACEOF
74988 /* confdefs.h. */
74989 _ACEOF
74990 cat confdefs.h >>conftest.$ac_ext
74991 cat >>conftest.$ac_ext <<_ACEOF
74992 /* end confdefs.h. */
74993 #include <math.h>
74995 main ()
74997 _fmodl(0, 0);
74999 return 0;
75001 _ACEOF
75002 rm -f conftest.$ac_objext
75003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75004 (eval $ac_compile) 2>conftest.er1
75005 ac_status=$?
75006 grep -v '^ *+' conftest.er1 >conftest.err
75007 rm -f conftest.er1
75008 cat conftest.err >&5
75009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75010 (exit $ac_status); } &&
75011 { ac_try='test -z "$ac_cxx_werror_flag"
75012 || test ! -s conftest.err'
75013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75014 (eval $ac_try) 2>&5
75015 ac_status=$?
75016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75017 (exit $ac_status); }; } &&
75018 { ac_try='test -s conftest.$ac_objext'
75019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75020 (eval $ac_try) 2>&5
75021 ac_status=$?
75022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75023 (exit $ac_status); }; }; then
75024 glibcxx_cv_func__fmodl_use=yes
75025 else
75026 echo "$as_me: failed program was:" >&5
75027 sed 's/^/| /' conftest.$ac_ext >&5
75029 glibcxx_cv_func__fmodl_use=no
75031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75032 ac_ext=c
75033 ac_cpp='$CPP $CPPFLAGS'
75034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75042 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
75043 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
75045 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75047 for ac_func in _fmodl
75049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75050 echo "$as_me:$LINENO: checking for $ac_func" >&5
75051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75052 if eval "test \"\${$as_ac_var+set}\" = set"; then
75053 echo $ECHO_N "(cached) $ECHO_C" >&6
75054 else
75055 if test x$gcc_no_link = xyes; then
75056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75058 { (exit 1); exit 1; }; }
75060 cat >conftest.$ac_ext <<_ACEOF
75061 /* confdefs.h. */
75062 _ACEOF
75063 cat confdefs.h >>conftest.$ac_ext
75064 cat >>conftest.$ac_ext <<_ACEOF
75065 /* end confdefs.h. */
75066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75068 #define $ac_func innocuous_$ac_func
75070 /* System header to define __stub macros and hopefully few prototypes,
75071 which can conflict with char $ac_func (); below.
75072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75073 <limits.h> exists even on freestanding compilers. */
75075 #ifdef __STDC__
75076 # include <limits.h>
75077 #else
75078 # include <assert.h>
75079 #endif
75081 #undef $ac_func
75083 /* Override any gcc2 internal prototype to avoid an error. */
75084 #ifdef __cplusplus
75085 extern "C"
75087 #endif
75088 /* We use char because int might match the return type of a gcc2
75089 builtin and then its argument prototype would still apply. */
75090 char $ac_func ();
75091 /* The GNU C library defines this for functions which it implements
75092 to always fail with ENOSYS. Some functions are actually named
75093 something starting with __ and the normal name is an alias. */
75094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75095 choke me
75096 #else
75097 char (*f) () = $ac_func;
75098 #endif
75099 #ifdef __cplusplus
75101 #endif
75104 main ()
75106 return f != $ac_func;
75108 return 0;
75110 _ACEOF
75111 rm -f conftest.$ac_objext conftest$ac_exeext
75112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75113 (eval $ac_link) 2>conftest.er1
75114 ac_status=$?
75115 grep -v '^ *+' conftest.er1 >conftest.err
75116 rm -f conftest.er1
75117 cat conftest.err >&5
75118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75119 (exit $ac_status); } &&
75120 { ac_try='test -z "$ac_c_werror_flag"
75121 || test ! -s conftest.err'
75122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75123 (eval $ac_try) 2>&5
75124 ac_status=$?
75125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75126 (exit $ac_status); }; } &&
75127 { ac_try='test -s conftest$ac_exeext'
75128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75129 (eval $ac_try) 2>&5
75130 ac_status=$?
75131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75132 (exit $ac_status); }; }; then
75133 eval "$as_ac_var=yes"
75134 else
75135 echo "$as_me: failed program was:" >&5
75136 sed 's/^/| /' conftest.$ac_ext >&5
75138 eval "$as_ac_var=no"
75140 rm -f conftest.err conftest.$ac_objext \
75141 conftest$ac_exeext conftest.$ac_ext
75143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75145 if test `eval echo '${'$as_ac_var'}'` = yes; then
75146 cat >>confdefs.h <<_ACEOF
75147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75148 _ACEOF
75151 done
75161 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
75162 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
75163 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75164 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
75165 echo $ECHO_N "(cached) $ECHO_C" >&6
75166 else
75170 ac_ext=cc
75171 ac_cpp='$CXXCPP $CPPFLAGS'
75172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75176 cat >conftest.$ac_ext <<_ACEOF
75177 /* confdefs.h. */
75178 _ACEOF
75179 cat confdefs.h >>conftest.$ac_ext
75180 cat >>conftest.$ac_ext <<_ACEOF
75181 /* end confdefs.h. */
75182 #include <math.h>
75184 main ()
75186 frexpl(0, 0);
75188 return 0;
75190 _ACEOF
75191 rm -f conftest.$ac_objext
75192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75193 (eval $ac_compile) 2>conftest.er1
75194 ac_status=$?
75195 grep -v '^ *+' conftest.er1 >conftest.err
75196 rm -f conftest.er1
75197 cat conftest.err >&5
75198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75199 (exit $ac_status); } &&
75200 { ac_try='test -z "$ac_cxx_werror_flag"
75201 || test ! -s conftest.err'
75202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75203 (eval $ac_try) 2>&5
75204 ac_status=$?
75205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75206 (exit $ac_status); }; } &&
75207 { ac_try='test -s conftest.$ac_objext'
75208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75209 (eval $ac_try) 2>&5
75210 ac_status=$?
75211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75212 (exit $ac_status); }; }; then
75213 glibcxx_cv_func_frexpl_use=yes
75214 else
75215 echo "$as_me: failed program was:" >&5
75216 sed 's/^/| /' conftest.$ac_ext >&5
75218 glibcxx_cv_func_frexpl_use=no
75220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75221 ac_ext=c
75222 ac_cpp='$CPP $CPPFLAGS'
75223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75231 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
75232 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
75234 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75236 for ac_func in frexpl
75238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75239 echo "$as_me:$LINENO: checking for $ac_func" >&5
75240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75241 if eval "test \"\${$as_ac_var+set}\" = set"; then
75242 echo $ECHO_N "(cached) $ECHO_C" >&6
75243 else
75244 if test x$gcc_no_link = xyes; then
75245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75247 { (exit 1); exit 1; }; }
75249 cat >conftest.$ac_ext <<_ACEOF
75250 /* confdefs.h. */
75251 _ACEOF
75252 cat confdefs.h >>conftest.$ac_ext
75253 cat >>conftest.$ac_ext <<_ACEOF
75254 /* end confdefs.h. */
75255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75257 #define $ac_func innocuous_$ac_func
75259 /* System header to define __stub macros and hopefully few prototypes,
75260 which can conflict with char $ac_func (); below.
75261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75262 <limits.h> exists even on freestanding compilers. */
75264 #ifdef __STDC__
75265 # include <limits.h>
75266 #else
75267 # include <assert.h>
75268 #endif
75270 #undef $ac_func
75272 /* Override any gcc2 internal prototype to avoid an error. */
75273 #ifdef __cplusplus
75274 extern "C"
75276 #endif
75277 /* We use char because int might match the return type of a gcc2
75278 builtin and then its argument prototype would still apply. */
75279 char $ac_func ();
75280 /* The GNU C library defines this for functions which it implements
75281 to always fail with ENOSYS. Some functions are actually named
75282 something starting with __ and the normal name is an alias. */
75283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75284 choke me
75285 #else
75286 char (*f) () = $ac_func;
75287 #endif
75288 #ifdef __cplusplus
75290 #endif
75293 main ()
75295 return f != $ac_func;
75297 return 0;
75299 _ACEOF
75300 rm -f conftest.$ac_objext conftest$ac_exeext
75301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75302 (eval $ac_link) 2>conftest.er1
75303 ac_status=$?
75304 grep -v '^ *+' conftest.er1 >conftest.err
75305 rm -f conftest.er1
75306 cat conftest.err >&5
75307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75308 (exit $ac_status); } &&
75309 { ac_try='test -z "$ac_c_werror_flag"
75310 || test ! -s conftest.err'
75311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75312 (eval $ac_try) 2>&5
75313 ac_status=$?
75314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75315 (exit $ac_status); }; } &&
75316 { ac_try='test -s conftest$ac_exeext'
75317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75318 (eval $ac_try) 2>&5
75319 ac_status=$?
75320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75321 (exit $ac_status); }; }; then
75322 eval "$as_ac_var=yes"
75323 else
75324 echo "$as_me: failed program was:" >&5
75325 sed 's/^/| /' conftest.$ac_ext >&5
75327 eval "$as_ac_var=no"
75329 rm -f conftest.err conftest.$ac_objext \
75330 conftest$ac_exeext conftest.$ac_ext
75332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75334 if test `eval echo '${'$as_ac_var'}'` = yes; then
75335 cat >>confdefs.h <<_ACEOF
75336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75337 _ACEOF
75340 done
75342 else
75344 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
75345 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
75346 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75347 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
75348 echo $ECHO_N "(cached) $ECHO_C" >&6
75349 else
75353 ac_ext=cc
75354 ac_cpp='$CXXCPP $CPPFLAGS'
75355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75359 cat >conftest.$ac_ext <<_ACEOF
75360 /* confdefs.h. */
75361 _ACEOF
75362 cat confdefs.h >>conftest.$ac_ext
75363 cat >>conftest.$ac_ext <<_ACEOF
75364 /* end confdefs.h. */
75365 #include <math.h>
75367 main ()
75369 _frexpl(0, 0);
75371 return 0;
75373 _ACEOF
75374 rm -f conftest.$ac_objext
75375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75376 (eval $ac_compile) 2>conftest.er1
75377 ac_status=$?
75378 grep -v '^ *+' conftest.er1 >conftest.err
75379 rm -f conftest.er1
75380 cat conftest.err >&5
75381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75382 (exit $ac_status); } &&
75383 { ac_try='test -z "$ac_cxx_werror_flag"
75384 || test ! -s conftest.err'
75385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75386 (eval $ac_try) 2>&5
75387 ac_status=$?
75388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75389 (exit $ac_status); }; } &&
75390 { ac_try='test -s conftest.$ac_objext'
75391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75392 (eval $ac_try) 2>&5
75393 ac_status=$?
75394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75395 (exit $ac_status); }; }; then
75396 glibcxx_cv_func__frexpl_use=yes
75397 else
75398 echo "$as_me: failed program was:" >&5
75399 sed 's/^/| /' conftest.$ac_ext >&5
75401 glibcxx_cv_func__frexpl_use=no
75403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75404 ac_ext=c
75405 ac_cpp='$CPP $CPPFLAGS'
75406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75414 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
75415 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
75417 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75419 for ac_func in _frexpl
75421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75422 echo "$as_me:$LINENO: checking for $ac_func" >&5
75423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75424 if eval "test \"\${$as_ac_var+set}\" = set"; then
75425 echo $ECHO_N "(cached) $ECHO_C" >&6
75426 else
75427 if test x$gcc_no_link = xyes; then
75428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75430 { (exit 1); exit 1; }; }
75432 cat >conftest.$ac_ext <<_ACEOF
75433 /* confdefs.h. */
75434 _ACEOF
75435 cat confdefs.h >>conftest.$ac_ext
75436 cat >>conftest.$ac_ext <<_ACEOF
75437 /* end confdefs.h. */
75438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75440 #define $ac_func innocuous_$ac_func
75442 /* System header to define __stub macros and hopefully few prototypes,
75443 which can conflict with char $ac_func (); below.
75444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75445 <limits.h> exists even on freestanding compilers. */
75447 #ifdef __STDC__
75448 # include <limits.h>
75449 #else
75450 # include <assert.h>
75451 #endif
75453 #undef $ac_func
75455 /* Override any gcc2 internal prototype to avoid an error. */
75456 #ifdef __cplusplus
75457 extern "C"
75459 #endif
75460 /* We use char because int might match the return type of a gcc2
75461 builtin and then its argument prototype would still apply. */
75462 char $ac_func ();
75463 /* The GNU C library defines this for functions which it implements
75464 to always fail with ENOSYS. Some functions are actually named
75465 something starting with __ and the normal name is an alias. */
75466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75467 choke me
75468 #else
75469 char (*f) () = $ac_func;
75470 #endif
75471 #ifdef __cplusplus
75473 #endif
75476 main ()
75478 return f != $ac_func;
75480 return 0;
75482 _ACEOF
75483 rm -f conftest.$ac_objext conftest$ac_exeext
75484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75485 (eval $ac_link) 2>conftest.er1
75486 ac_status=$?
75487 grep -v '^ *+' conftest.er1 >conftest.err
75488 rm -f conftest.er1
75489 cat conftest.err >&5
75490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75491 (exit $ac_status); } &&
75492 { ac_try='test -z "$ac_c_werror_flag"
75493 || test ! -s conftest.err'
75494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75495 (eval $ac_try) 2>&5
75496 ac_status=$?
75497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75498 (exit $ac_status); }; } &&
75499 { ac_try='test -s conftest$ac_exeext'
75500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75501 (eval $ac_try) 2>&5
75502 ac_status=$?
75503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75504 (exit $ac_status); }; }; then
75505 eval "$as_ac_var=yes"
75506 else
75507 echo "$as_me: failed program was:" >&5
75508 sed 's/^/| /' conftest.$ac_ext >&5
75510 eval "$as_ac_var=no"
75512 rm -f conftest.err conftest.$ac_objext \
75513 conftest$ac_exeext conftest.$ac_ext
75515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75517 if test `eval echo '${'$as_ac_var'}'` = yes; then
75518 cat >>confdefs.h <<_ACEOF
75519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75520 _ACEOF
75523 done
75533 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
75534 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
75535 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75536 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
75537 echo $ECHO_N "(cached) $ECHO_C" >&6
75538 else
75542 ac_ext=cc
75543 ac_cpp='$CXXCPP $CPPFLAGS'
75544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75548 cat >conftest.$ac_ext <<_ACEOF
75549 /* confdefs.h. */
75550 _ACEOF
75551 cat confdefs.h >>conftest.$ac_ext
75552 cat >>conftest.$ac_ext <<_ACEOF
75553 /* end confdefs.h. */
75554 #include <math.h>
75556 main ()
75558 hypotl(0, 0);
75560 return 0;
75562 _ACEOF
75563 rm -f conftest.$ac_objext
75564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75565 (eval $ac_compile) 2>conftest.er1
75566 ac_status=$?
75567 grep -v '^ *+' conftest.er1 >conftest.err
75568 rm -f conftest.er1
75569 cat conftest.err >&5
75570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75571 (exit $ac_status); } &&
75572 { ac_try='test -z "$ac_cxx_werror_flag"
75573 || test ! -s conftest.err'
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); }; } &&
75579 { ac_try='test -s conftest.$ac_objext'
75580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75581 (eval $ac_try) 2>&5
75582 ac_status=$?
75583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75584 (exit $ac_status); }; }; then
75585 glibcxx_cv_func_hypotl_use=yes
75586 else
75587 echo "$as_me: failed program was:" >&5
75588 sed 's/^/| /' conftest.$ac_ext >&5
75590 glibcxx_cv_func_hypotl_use=no
75592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75593 ac_ext=c
75594 ac_cpp='$CPP $CPPFLAGS'
75595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75603 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
75604 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
75606 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75608 for ac_func in hypotl
75610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75611 echo "$as_me:$LINENO: checking for $ac_func" >&5
75612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75613 if eval "test \"\${$as_ac_var+set}\" = set"; then
75614 echo $ECHO_N "(cached) $ECHO_C" >&6
75615 else
75616 if test x$gcc_no_link = xyes; then
75617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75619 { (exit 1); exit 1; }; }
75621 cat >conftest.$ac_ext <<_ACEOF
75622 /* confdefs.h. */
75623 _ACEOF
75624 cat confdefs.h >>conftest.$ac_ext
75625 cat >>conftest.$ac_ext <<_ACEOF
75626 /* end confdefs.h. */
75627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75629 #define $ac_func innocuous_$ac_func
75631 /* System header to define __stub macros and hopefully few prototypes,
75632 which can conflict with char $ac_func (); below.
75633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75634 <limits.h> exists even on freestanding compilers. */
75636 #ifdef __STDC__
75637 # include <limits.h>
75638 #else
75639 # include <assert.h>
75640 #endif
75642 #undef $ac_func
75644 /* Override any gcc2 internal prototype to avoid an error. */
75645 #ifdef __cplusplus
75646 extern "C"
75648 #endif
75649 /* We use char because int might match the return type of a gcc2
75650 builtin and then its argument prototype would still apply. */
75651 char $ac_func ();
75652 /* The GNU C library defines this for functions which it implements
75653 to always fail with ENOSYS. Some functions are actually named
75654 something starting with __ and the normal name is an alias. */
75655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75656 choke me
75657 #else
75658 char (*f) () = $ac_func;
75659 #endif
75660 #ifdef __cplusplus
75662 #endif
75665 main ()
75667 return f != $ac_func;
75669 return 0;
75671 _ACEOF
75672 rm -f conftest.$ac_objext conftest$ac_exeext
75673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75674 (eval $ac_link) 2>conftest.er1
75675 ac_status=$?
75676 grep -v '^ *+' conftest.er1 >conftest.err
75677 rm -f conftest.er1
75678 cat conftest.err >&5
75679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75680 (exit $ac_status); } &&
75681 { ac_try='test -z "$ac_c_werror_flag"
75682 || test ! -s conftest.err'
75683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75684 (eval $ac_try) 2>&5
75685 ac_status=$?
75686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75687 (exit $ac_status); }; } &&
75688 { ac_try='test -s conftest$ac_exeext'
75689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75690 (eval $ac_try) 2>&5
75691 ac_status=$?
75692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75693 (exit $ac_status); }; }; then
75694 eval "$as_ac_var=yes"
75695 else
75696 echo "$as_me: failed program was:" >&5
75697 sed 's/^/| /' conftest.$ac_ext >&5
75699 eval "$as_ac_var=no"
75701 rm -f conftest.err conftest.$ac_objext \
75702 conftest$ac_exeext conftest.$ac_ext
75704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75706 if test `eval echo '${'$as_ac_var'}'` = yes; then
75707 cat >>confdefs.h <<_ACEOF
75708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75709 _ACEOF
75712 done
75714 else
75716 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
75717 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
75718 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75719 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
75720 echo $ECHO_N "(cached) $ECHO_C" >&6
75721 else
75725 ac_ext=cc
75726 ac_cpp='$CXXCPP $CPPFLAGS'
75727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75731 cat >conftest.$ac_ext <<_ACEOF
75732 /* confdefs.h. */
75733 _ACEOF
75734 cat confdefs.h >>conftest.$ac_ext
75735 cat >>conftest.$ac_ext <<_ACEOF
75736 /* end confdefs.h. */
75737 #include <math.h>
75739 main ()
75741 _hypotl(0, 0);
75743 return 0;
75745 _ACEOF
75746 rm -f conftest.$ac_objext
75747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75748 (eval $ac_compile) 2>conftest.er1
75749 ac_status=$?
75750 grep -v '^ *+' conftest.er1 >conftest.err
75751 rm -f conftest.er1
75752 cat conftest.err >&5
75753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75754 (exit $ac_status); } &&
75755 { ac_try='test -z "$ac_cxx_werror_flag"
75756 || test ! -s conftest.err'
75757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75758 (eval $ac_try) 2>&5
75759 ac_status=$?
75760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75761 (exit $ac_status); }; } &&
75762 { ac_try='test -s conftest.$ac_objext'
75763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75764 (eval $ac_try) 2>&5
75765 ac_status=$?
75766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75767 (exit $ac_status); }; }; then
75768 glibcxx_cv_func__hypotl_use=yes
75769 else
75770 echo "$as_me: failed program was:" >&5
75771 sed 's/^/| /' conftest.$ac_ext >&5
75773 glibcxx_cv_func__hypotl_use=no
75775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75776 ac_ext=c
75777 ac_cpp='$CPP $CPPFLAGS'
75778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75786 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
75787 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
75789 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75791 for ac_func in _hypotl
75793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75794 echo "$as_me:$LINENO: checking for $ac_func" >&5
75795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75796 if eval "test \"\${$as_ac_var+set}\" = set"; then
75797 echo $ECHO_N "(cached) $ECHO_C" >&6
75798 else
75799 if test x$gcc_no_link = xyes; then
75800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75802 { (exit 1); exit 1; }; }
75804 cat >conftest.$ac_ext <<_ACEOF
75805 /* confdefs.h. */
75806 _ACEOF
75807 cat confdefs.h >>conftest.$ac_ext
75808 cat >>conftest.$ac_ext <<_ACEOF
75809 /* end confdefs.h. */
75810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75812 #define $ac_func innocuous_$ac_func
75814 /* System header to define __stub macros and hopefully few prototypes,
75815 which can conflict with char $ac_func (); below.
75816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75817 <limits.h> exists even on freestanding compilers. */
75819 #ifdef __STDC__
75820 # include <limits.h>
75821 #else
75822 # include <assert.h>
75823 #endif
75825 #undef $ac_func
75827 /* Override any gcc2 internal prototype to avoid an error. */
75828 #ifdef __cplusplus
75829 extern "C"
75831 #endif
75832 /* We use char because int might match the return type of a gcc2
75833 builtin and then its argument prototype would still apply. */
75834 char $ac_func ();
75835 /* The GNU C library defines this for functions which it implements
75836 to always fail with ENOSYS. Some functions are actually named
75837 something starting with __ and the normal name is an alias. */
75838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75839 choke me
75840 #else
75841 char (*f) () = $ac_func;
75842 #endif
75843 #ifdef __cplusplus
75845 #endif
75848 main ()
75850 return f != $ac_func;
75852 return 0;
75854 _ACEOF
75855 rm -f conftest.$ac_objext conftest$ac_exeext
75856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75857 (eval $ac_link) 2>conftest.er1
75858 ac_status=$?
75859 grep -v '^ *+' conftest.er1 >conftest.err
75860 rm -f conftest.er1
75861 cat conftest.err >&5
75862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75863 (exit $ac_status); } &&
75864 { ac_try='test -z "$ac_c_werror_flag"
75865 || test ! -s conftest.err'
75866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75867 (eval $ac_try) 2>&5
75868 ac_status=$?
75869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75870 (exit $ac_status); }; } &&
75871 { ac_try='test -s conftest$ac_exeext'
75872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75873 (eval $ac_try) 2>&5
75874 ac_status=$?
75875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75876 (exit $ac_status); }; }; then
75877 eval "$as_ac_var=yes"
75878 else
75879 echo "$as_me: failed program was:" >&5
75880 sed 's/^/| /' conftest.$ac_ext >&5
75882 eval "$as_ac_var=no"
75884 rm -f conftest.err conftest.$ac_objext \
75885 conftest$ac_exeext conftest.$ac_ext
75887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75889 if test `eval echo '${'$as_ac_var'}'` = yes; then
75890 cat >>confdefs.h <<_ACEOF
75891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75892 _ACEOF
75895 done
75905 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
75906 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
75907 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75908 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
75909 echo $ECHO_N "(cached) $ECHO_C" >&6
75910 else
75914 ac_ext=cc
75915 ac_cpp='$CXXCPP $CPPFLAGS'
75916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75920 cat >conftest.$ac_ext <<_ACEOF
75921 /* confdefs.h. */
75922 _ACEOF
75923 cat confdefs.h >>conftest.$ac_ext
75924 cat >>conftest.$ac_ext <<_ACEOF
75925 /* end confdefs.h. */
75926 #include <math.h>
75928 main ()
75930 ldexpl(0, 0);
75932 return 0;
75934 _ACEOF
75935 rm -f conftest.$ac_objext
75936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75937 (eval $ac_compile) 2>conftest.er1
75938 ac_status=$?
75939 grep -v '^ *+' conftest.er1 >conftest.err
75940 rm -f conftest.er1
75941 cat conftest.err >&5
75942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75943 (exit $ac_status); } &&
75944 { ac_try='test -z "$ac_cxx_werror_flag"
75945 || test ! -s conftest.err'
75946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75947 (eval $ac_try) 2>&5
75948 ac_status=$?
75949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75950 (exit $ac_status); }; } &&
75951 { ac_try='test -s conftest.$ac_objext'
75952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75953 (eval $ac_try) 2>&5
75954 ac_status=$?
75955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75956 (exit $ac_status); }; }; then
75957 glibcxx_cv_func_ldexpl_use=yes
75958 else
75959 echo "$as_me: failed program was:" >&5
75960 sed 's/^/| /' conftest.$ac_ext >&5
75962 glibcxx_cv_func_ldexpl_use=no
75964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75965 ac_ext=c
75966 ac_cpp='$CPP $CPPFLAGS'
75967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75975 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
75976 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
75978 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75980 for ac_func in ldexpl
75982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75983 echo "$as_me:$LINENO: checking for $ac_func" >&5
75984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75985 if eval "test \"\${$as_ac_var+set}\" = set"; then
75986 echo $ECHO_N "(cached) $ECHO_C" >&6
75987 else
75988 if test x$gcc_no_link = xyes; then
75989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75991 { (exit 1); exit 1; }; }
75993 cat >conftest.$ac_ext <<_ACEOF
75994 /* confdefs.h. */
75995 _ACEOF
75996 cat confdefs.h >>conftest.$ac_ext
75997 cat >>conftest.$ac_ext <<_ACEOF
75998 /* end confdefs.h. */
75999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76001 #define $ac_func innocuous_$ac_func
76003 /* System header to define __stub macros and hopefully few prototypes,
76004 which can conflict with char $ac_func (); below.
76005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76006 <limits.h> exists even on freestanding compilers. */
76008 #ifdef __STDC__
76009 # include <limits.h>
76010 #else
76011 # include <assert.h>
76012 #endif
76014 #undef $ac_func
76016 /* Override any gcc2 internal prototype to avoid an error. */
76017 #ifdef __cplusplus
76018 extern "C"
76020 #endif
76021 /* We use char because int might match the return type of a gcc2
76022 builtin and then its argument prototype would still apply. */
76023 char $ac_func ();
76024 /* The GNU C library defines this for functions which it implements
76025 to always fail with ENOSYS. Some functions are actually named
76026 something starting with __ and the normal name is an alias. */
76027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76028 choke me
76029 #else
76030 char (*f) () = $ac_func;
76031 #endif
76032 #ifdef __cplusplus
76034 #endif
76037 main ()
76039 return f != $ac_func;
76041 return 0;
76043 _ACEOF
76044 rm -f conftest.$ac_objext conftest$ac_exeext
76045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76046 (eval $ac_link) 2>conftest.er1
76047 ac_status=$?
76048 grep -v '^ *+' conftest.er1 >conftest.err
76049 rm -f conftest.er1
76050 cat conftest.err >&5
76051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76052 (exit $ac_status); } &&
76053 { ac_try='test -z "$ac_c_werror_flag"
76054 || test ! -s conftest.err'
76055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76056 (eval $ac_try) 2>&5
76057 ac_status=$?
76058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76059 (exit $ac_status); }; } &&
76060 { ac_try='test -s conftest$ac_exeext'
76061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76062 (eval $ac_try) 2>&5
76063 ac_status=$?
76064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76065 (exit $ac_status); }; }; then
76066 eval "$as_ac_var=yes"
76067 else
76068 echo "$as_me: failed program was:" >&5
76069 sed 's/^/| /' conftest.$ac_ext >&5
76071 eval "$as_ac_var=no"
76073 rm -f conftest.err conftest.$ac_objext \
76074 conftest$ac_exeext conftest.$ac_ext
76076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76078 if test `eval echo '${'$as_ac_var'}'` = yes; then
76079 cat >>confdefs.h <<_ACEOF
76080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76081 _ACEOF
76084 done
76086 else
76088 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
76089 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
76090 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
76091 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
76092 echo $ECHO_N "(cached) $ECHO_C" >&6
76093 else
76097 ac_ext=cc
76098 ac_cpp='$CXXCPP $CPPFLAGS'
76099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76103 cat >conftest.$ac_ext <<_ACEOF
76104 /* confdefs.h. */
76105 _ACEOF
76106 cat confdefs.h >>conftest.$ac_ext
76107 cat >>conftest.$ac_ext <<_ACEOF
76108 /* end confdefs.h. */
76109 #include <math.h>
76111 main ()
76113 _ldexpl(0, 0);
76115 return 0;
76117 _ACEOF
76118 rm -f conftest.$ac_objext
76119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76120 (eval $ac_compile) 2>conftest.er1
76121 ac_status=$?
76122 grep -v '^ *+' conftest.er1 >conftest.err
76123 rm -f conftest.er1
76124 cat conftest.err >&5
76125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76126 (exit $ac_status); } &&
76127 { ac_try='test -z "$ac_cxx_werror_flag"
76128 || test ! -s conftest.err'
76129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76130 (eval $ac_try) 2>&5
76131 ac_status=$?
76132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76133 (exit $ac_status); }; } &&
76134 { ac_try='test -s conftest.$ac_objext'
76135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76136 (eval $ac_try) 2>&5
76137 ac_status=$?
76138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76139 (exit $ac_status); }; }; then
76140 glibcxx_cv_func__ldexpl_use=yes
76141 else
76142 echo "$as_me: failed program was:" >&5
76143 sed 's/^/| /' conftest.$ac_ext >&5
76145 glibcxx_cv_func__ldexpl_use=no
76147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76148 ac_ext=c
76149 ac_cpp='$CPP $CPPFLAGS'
76150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76158 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
76159 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
76161 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
76163 for ac_func in _ldexpl
76165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76166 echo "$as_me:$LINENO: checking for $ac_func" >&5
76167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76168 if eval "test \"\${$as_ac_var+set}\" = set"; then
76169 echo $ECHO_N "(cached) $ECHO_C" >&6
76170 else
76171 if test x$gcc_no_link = xyes; then
76172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76174 { (exit 1); exit 1; }; }
76176 cat >conftest.$ac_ext <<_ACEOF
76177 /* confdefs.h. */
76178 _ACEOF
76179 cat confdefs.h >>conftest.$ac_ext
76180 cat >>conftest.$ac_ext <<_ACEOF
76181 /* end confdefs.h. */
76182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76184 #define $ac_func innocuous_$ac_func
76186 /* System header to define __stub macros and hopefully few prototypes,
76187 which can conflict with char $ac_func (); below.
76188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76189 <limits.h> exists even on freestanding compilers. */
76191 #ifdef __STDC__
76192 # include <limits.h>
76193 #else
76194 # include <assert.h>
76195 #endif
76197 #undef $ac_func
76199 /* Override any gcc2 internal prototype to avoid an error. */
76200 #ifdef __cplusplus
76201 extern "C"
76203 #endif
76204 /* We use char because int might match the return type of a gcc2
76205 builtin and then its argument prototype would still apply. */
76206 char $ac_func ();
76207 /* The GNU C library defines this for functions which it implements
76208 to always fail with ENOSYS. Some functions are actually named
76209 something starting with __ and the normal name is an alias. */
76210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76211 choke me
76212 #else
76213 char (*f) () = $ac_func;
76214 #endif
76215 #ifdef __cplusplus
76217 #endif
76220 main ()
76222 return f != $ac_func;
76224 return 0;
76226 _ACEOF
76227 rm -f conftest.$ac_objext conftest$ac_exeext
76228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76229 (eval $ac_link) 2>conftest.er1
76230 ac_status=$?
76231 grep -v '^ *+' conftest.er1 >conftest.err
76232 rm -f conftest.er1
76233 cat conftest.err >&5
76234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76235 (exit $ac_status); } &&
76236 { ac_try='test -z "$ac_c_werror_flag"
76237 || test ! -s conftest.err'
76238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76239 (eval $ac_try) 2>&5
76240 ac_status=$?
76241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76242 (exit $ac_status); }; } &&
76243 { ac_try='test -s conftest$ac_exeext'
76244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76245 (eval $ac_try) 2>&5
76246 ac_status=$?
76247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76248 (exit $ac_status); }; }; then
76249 eval "$as_ac_var=yes"
76250 else
76251 echo "$as_me: failed program was:" >&5
76252 sed 's/^/| /' conftest.$ac_ext >&5
76254 eval "$as_ac_var=no"
76256 rm -f conftest.err conftest.$ac_objext \
76257 conftest$ac_exeext conftest.$ac_ext
76259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76261 if test `eval echo '${'$as_ac_var'}'` = yes; then
76262 cat >>confdefs.h <<_ACEOF
76263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76264 _ACEOF
76267 done
76277 echo "$as_me:$LINENO: checking for logl declaration" >&5
76278 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
76279 if test x${glibcxx_cv_func_logl_use+set} != xset; then
76280 if test "${glibcxx_cv_func_logl_use+set}" = set; then
76281 echo $ECHO_N "(cached) $ECHO_C" >&6
76282 else
76286 ac_ext=cc
76287 ac_cpp='$CXXCPP $CPPFLAGS'
76288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76292 cat >conftest.$ac_ext <<_ACEOF
76293 /* confdefs.h. */
76294 _ACEOF
76295 cat confdefs.h >>conftest.$ac_ext
76296 cat >>conftest.$ac_ext <<_ACEOF
76297 /* end confdefs.h. */
76298 #include <math.h>
76299 #ifdef HAVE_IEEEFP_H
76300 #include <ieeefp.h>
76301 #endif
76304 main ()
76306 logl(0);
76308 return 0;
76310 _ACEOF
76311 rm -f conftest.$ac_objext
76312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76313 (eval $ac_compile) 2>conftest.er1
76314 ac_status=$?
76315 grep -v '^ *+' conftest.er1 >conftest.err
76316 rm -f conftest.er1
76317 cat conftest.err >&5
76318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76319 (exit $ac_status); } &&
76320 { ac_try='test -z "$ac_cxx_werror_flag"
76321 || test ! -s conftest.err'
76322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76323 (eval $ac_try) 2>&5
76324 ac_status=$?
76325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76326 (exit $ac_status); }; } &&
76327 { ac_try='test -s conftest.$ac_objext'
76328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76329 (eval $ac_try) 2>&5
76330 ac_status=$?
76331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76332 (exit $ac_status); }; }; then
76333 glibcxx_cv_func_logl_use=yes
76334 else
76335 echo "$as_me: failed program was:" >&5
76336 sed 's/^/| /' conftest.$ac_ext >&5
76338 glibcxx_cv_func_logl_use=no
76340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76341 ac_ext=c
76342 ac_cpp='$CPP $CPPFLAGS'
76343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76351 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
76352 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
76354 if test x$glibcxx_cv_func_logl_use = x"yes"; then
76356 for ac_func in logl
76358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76359 echo "$as_me:$LINENO: checking for $ac_func" >&5
76360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76361 if eval "test \"\${$as_ac_var+set}\" = set"; then
76362 echo $ECHO_N "(cached) $ECHO_C" >&6
76363 else
76364 if test x$gcc_no_link = xyes; then
76365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76367 { (exit 1); exit 1; }; }
76369 cat >conftest.$ac_ext <<_ACEOF
76370 /* confdefs.h. */
76371 _ACEOF
76372 cat confdefs.h >>conftest.$ac_ext
76373 cat >>conftest.$ac_ext <<_ACEOF
76374 /* end confdefs.h. */
76375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76377 #define $ac_func innocuous_$ac_func
76379 /* System header to define __stub macros and hopefully few prototypes,
76380 which can conflict with char $ac_func (); below.
76381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76382 <limits.h> exists even on freestanding compilers. */
76384 #ifdef __STDC__
76385 # include <limits.h>
76386 #else
76387 # include <assert.h>
76388 #endif
76390 #undef $ac_func
76392 /* Override any gcc2 internal prototype to avoid an error. */
76393 #ifdef __cplusplus
76394 extern "C"
76396 #endif
76397 /* We use char because int might match the return type of a gcc2
76398 builtin and then its argument prototype would still apply. */
76399 char $ac_func ();
76400 /* The GNU C library defines this for functions which it implements
76401 to always fail with ENOSYS. Some functions are actually named
76402 something starting with __ and the normal name is an alias. */
76403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76404 choke me
76405 #else
76406 char (*f) () = $ac_func;
76407 #endif
76408 #ifdef __cplusplus
76410 #endif
76413 main ()
76415 return f != $ac_func;
76417 return 0;
76419 _ACEOF
76420 rm -f conftest.$ac_objext conftest$ac_exeext
76421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76422 (eval $ac_link) 2>conftest.er1
76423 ac_status=$?
76424 grep -v '^ *+' conftest.er1 >conftest.err
76425 rm -f conftest.er1
76426 cat conftest.err >&5
76427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76428 (exit $ac_status); } &&
76429 { ac_try='test -z "$ac_c_werror_flag"
76430 || test ! -s conftest.err'
76431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76432 (eval $ac_try) 2>&5
76433 ac_status=$?
76434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76435 (exit $ac_status); }; } &&
76436 { ac_try='test -s conftest$ac_exeext'
76437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76438 (eval $ac_try) 2>&5
76439 ac_status=$?
76440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76441 (exit $ac_status); }; }; then
76442 eval "$as_ac_var=yes"
76443 else
76444 echo "$as_me: failed program was:" >&5
76445 sed 's/^/| /' conftest.$ac_ext >&5
76447 eval "$as_ac_var=no"
76449 rm -f conftest.err conftest.$ac_objext \
76450 conftest$ac_exeext conftest.$ac_ext
76452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76454 if test `eval echo '${'$as_ac_var'}'` = yes; then
76455 cat >>confdefs.h <<_ACEOF
76456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76457 _ACEOF
76460 done
76462 else
76464 echo "$as_me:$LINENO: checking for _logl declaration" >&5
76465 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
76466 if test x${glibcxx_cv_func__logl_use+set} != xset; then
76467 if test "${glibcxx_cv_func__logl_use+set}" = set; then
76468 echo $ECHO_N "(cached) $ECHO_C" >&6
76469 else
76473 ac_ext=cc
76474 ac_cpp='$CXXCPP $CPPFLAGS'
76475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76479 cat >conftest.$ac_ext <<_ACEOF
76480 /* confdefs.h. */
76481 _ACEOF
76482 cat confdefs.h >>conftest.$ac_ext
76483 cat >>conftest.$ac_ext <<_ACEOF
76484 /* end confdefs.h. */
76485 #include <math.h>
76486 #ifdef HAVE_IEEEFP_H
76487 #include <ieeefp.h>
76488 #endif
76491 main ()
76493 _logl(0);
76495 return 0;
76497 _ACEOF
76498 rm -f conftest.$ac_objext
76499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76500 (eval $ac_compile) 2>conftest.er1
76501 ac_status=$?
76502 grep -v '^ *+' conftest.er1 >conftest.err
76503 rm -f conftest.er1
76504 cat conftest.err >&5
76505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76506 (exit $ac_status); } &&
76507 { ac_try='test -z "$ac_cxx_werror_flag"
76508 || test ! -s conftest.err'
76509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76510 (eval $ac_try) 2>&5
76511 ac_status=$?
76512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76513 (exit $ac_status); }; } &&
76514 { ac_try='test -s conftest.$ac_objext'
76515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76516 (eval $ac_try) 2>&5
76517 ac_status=$?
76518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76519 (exit $ac_status); }; }; then
76520 glibcxx_cv_func__logl_use=yes
76521 else
76522 echo "$as_me: failed program was:" >&5
76523 sed 's/^/| /' conftest.$ac_ext >&5
76525 glibcxx_cv_func__logl_use=no
76527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76528 ac_ext=c
76529 ac_cpp='$CPP $CPPFLAGS'
76530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76538 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
76539 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
76541 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76543 for ac_func in _logl
76545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76546 echo "$as_me:$LINENO: checking for $ac_func" >&5
76547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76548 if eval "test \"\${$as_ac_var+set}\" = set"; then
76549 echo $ECHO_N "(cached) $ECHO_C" >&6
76550 else
76551 if test x$gcc_no_link = xyes; then
76552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76554 { (exit 1); exit 1; }; }
76556 cat >conftest.$ac_ext <<_ACEOF
76557 /* confdefs.h. */
76558 _ACEOF
76559 cat confdefs.h >>conftest.$ac_ext
76560 cat >>conftest.$ac_ext <<_ACEOF
76561 /* end confdefs.h. */
76562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76564 #define $ac_func innocuous_$ac_func
76566 /* System header to define __stub macros and hopefully few prototypes,
76567 which can conflict with char $ac_func (); below.
76568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76569 <limits.h> exists even on freestanding compilers. */
76571 #ifdef __STDC__
76572 # include <limits.h>
76573 #else
76574 # include <assert.h>
76575 #endif
76577 #undef $ac_func
76579 /* Override any gcc2 internal prototype to avoid an error. */
76580 #ifdef __cplusplus
76581 extern "C"
76583 #endif
76584 /* We use char because int might match the return type of a gcc2
76585 builtin and then its argument prototype would still apply. */
76586 char $ac_func ();
76587 /* The GNU C library defines this for functions which it implements
76588 to always fail with ENOSYS. Some functions are actually named
76589 something starting with __ and the normal name is an alias. */
76590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76591 choke me
76592 #else
76593 char (*f) () = $ac_func;
76594 #endif
76595 #ifdef __cplusplus
76597 #endif
76600 main ()
76602 return f != $ac_func;
76604 return 0;
76606 _ACEOF
76607 rm -f conftest.$ac_objext conftest$ac_exeext
76608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76609 (eval $ac_link) 2>conftest.er1
76610 ac_status=$?
76611 grep -v '^ *+' conftest.er1 >conftest.err
76612 rm -f conftest.er1
76613 cat conftest.err >&5
76614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76615 (exit $ac_status); } &&
76616 { ac_try='test -z "$ac_c_werror_flag"
76617 || test ! -s conftest.err'
76618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76619 (eval $ac_try) 2>&5
76620 ac_status=$?
76621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76622 (exit $ac_status); }; } &&
76623 { ac_try='test -s conftest$ac_exeext'
76624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76625 (eval $ac_try) 2>&5
76626 ac_status=$?
76627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76628 (exit $ac_status); }; }; then
76629 eval "$as_ac_var=yes"
76630 else
76631 echo "$as_me: failed program was:" >&5
76632 sed 's/^/| /' conftest.$ac_ext >&5
76634 eval "$as_ac_var=no"
76636 rm -f conftest.err conftest.$ac_objext \
76637 conftest$ac_exeext conftest.$ac_ext
76639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76641 if test `eval echo '${'$as_ac_var'}'` = yes; then
76642 cat >>confdefs.h <<_ACEOF
76643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76644 _ACEOF
76647 done
76657 echo "$as_me:$LINENO: checking for log10l declaration" >&5
76658 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
76659 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76660 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
76661 echo $ECHO_N "(cached) $ECHO_C" >&6
76662 else
76666 ac_ext=cc
76667 ac_cpp='$CXXCPP $CPPFLAGS'
76668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76672 cat >conftest.$ac_ext <<_ACEOF
76673 /* confdefs.h. */
76674 _ACEOF
76675 cat confdefs.h >>conftest.$ac_ext
76676 cat >>conftest.$ac_ext <<_ACEOF
76677 /* end confdefs.h. */
76678 #include <math.h>
76679 #ifdef HAVE_IEEEFP_H
76680 #include <ieeefp.h>
76681 #endif
76684 main ()
76686 log10l(0);
76688 return 0;
76690 _ACEOF
76691 rm -f conftest.$ac_objext
76692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76693 (eval $ac_compile) 2>conftest.er1
76694 ac_status=$?
76695 grep -v '^ *+' conftest.er1 >conftest.err
76696 rm -f conftest.er1
76697 cat conftest.err >&5
76698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76699 (exit $ac_status); } &&
76700 { ac_try='test -z "$ac_cxx_werror_flag"
76701 || test ! -s conftest.err'
76702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76703 (eval $ac_try) 2>&5
76704 ac_status=$?
76705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76706 (exit $ac_status); }; } &&
76707 { ac_try='test -s conftest.$ac_objext'
76708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76709 (eval $ac_try) 2>&5
76710 ac_status=$?
76711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76712 (exit $ac_status); }; }; then
76713 glibcxx_cv_func_log10l_use=yes
76714 else
76715 echo "$as_me: failed program was:" >&5
76716 sed 's/^/| /' conftest.$ac_ext >&5
76718 glibcxx_cv_func_log10l_use=no
76720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76721 ac_ext=c
76722 ac_cpp='$CPP $CPPFLAGS'
76723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76731 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
76732 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
76734 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76736 for ac_func in log10l
76738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76739 echo "$as_me:$LINENO: checking for $ac_func" >&5
76740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76741 if eval "test \"\${$as_ac_var+set}\" = set"; then
76742 echo $ECHO_N "(cached) $ECHO_C" >&6
76743 else
76744 if test x$gcc_no_link = xyes; then
76745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76747 { (exit 1); exit 1; }; }
76749 cat >conftest.$ac_ext <<_ACEOF
76750 /* confdefs.h. */
76751 _ACEOF
76752 cat confdefs.h >>conftest.$ac_ext
76753 cat >>conftest.$ac_ext <<_ACEOF
76754 /* end confdefs.h. */
76755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76757 #define $ac_func innocuous_$ac_func
76759 /* System header to define __stub macros and hopefully few prototypes,
76760 which can conflict with char $ac_func (); below.
76761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76762 <limits.h> exists even on freestanding compilers. */
76764 #ifdef __STDC__
76765 # include <limits.h>
76766 #else
76767 # include <assert.h>
76768 #endif
76770 #undef $ac_func
76772 /* Override any gcc2 internal prototype to avoid an error. */
76773 #ifdef __cplusplus
76774 extern "C"
76776 #endif
76777 /* We use char because int might match the return type of a gcc2
76778 builtin and then its argument prototype would still apply. */
76779 char $ac_func ();
76780 /* The GNU C library defines this for functions which it implements
76781 to always fail with ENOSYS. Some functions are actually named
76782 something starting with __ and the normal name is an alias. */
76783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76784 choke me
76785 #else
76786 char (*f) () = $ac_func;
76787 #endif
76788 #ifdef __cplusplus
76790 #endif
76793 main ()
76795 return f != $ac_func;
76797 return 0;
76799 _ACEOF
76800 rm -f conftest.$ac_objext conftest$ac_exeext
76801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76802 (eval $ac_link) 2>conftest.er1
76803 ac_status=$?
76804 grep -v '^ *+' conftest.er1 >conftest.err
76805 rm -f conftest.er1
76806 cat conftest.err >&5
76807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76808 (exit $ac_status); } &&
76809 { ac_try='test -z "$ac_c_werror_flag"
76810 || test ! -s conftest.err'
76811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76812 (eval $ac_try) 2>&5
76813 ac_status=$?
76814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76815 (exit $ac_status); }; } &&
76816 { ac_try='test -s conftest$ac_exeext'
76817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76818 (eval $ac_try) 2>&5
76819 ac_status=$?
76820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76821 (exit $ac_status); }; }; then
76822 eval "$as_ac_var=yes"
76823 else
76824 echo "$as_me: failed program was:" >&5
76825 sed 's/^/| /' conftest.$ac_ext >&5
76827 eval "$as_ac_var=no"
76829 rm -f conftest.err conftest.$ac_objext \
76830 conftest$ac_exeext conftest.$ac_ext
76832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76834 if test `eval echo '${'$as_ac_var'}'` = yes; then
76835 cat >>confdefs.h <<_ACEOF
76836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76837 _ACEOF
76840 done
76842 else
76844 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
76845 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
76846 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76847 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
76848 echo $ECHO_N "(cached) $ECHO_C" >&6
76849 else
76853 ac_ext=cc
76854 ac_cpp='$CXXCPP $CPPFLAGS'
76855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76859 cat >conftest.$ac_ext <<_ACEOF
76860 /* confdefs.h. */
76861 _ACEOF
76862 cat confdefs.h >>conftest.$ac_ext
76863 cat >>conftest.$ac_ext <<_ACEOF
76864 /* end confdefs.h. */
76865 #include <math.h>
76866 #ifdef HAVE_IEEEFP_H
76867 #include <ieeefp.h>
76868 #endif
76871 main ()
76873 _log10l(0);
76875 return 0;
76877 _ACEOF
76878 rm -f conftest.$ac_objext
76879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76880 (eval $ac_compile) 2>conftest.er1
76881 ac_status=$?
76882 grep -v '^ *+' conftest.er1 >conftest.err
76883 rm -f conftest.er1
76884 cat conftest.err >&5
76885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76886 (exit $ac_status); } &&
76887 { ac_try='test -z "$ac_cxx_werror_flag"
76888 || test ! -s conftest.err'
76889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76890 (eval $ac_try) 2>&5
76891 ac_status=$?
76892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76893 (exit $ac_status); }; } &&
76894 { ac_try='test -s conftest.$ac_objext'
76895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76896 (eval $ac_try) 2>&5
76897 ac_status=$?
76898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76899 (exit $ac_status); }; }; then
76900 glibcxx_cv_func__log10l_use=yes
76901 else
76902 echo "$as_me: failed program was:" >&5
76903 sed 's/^/| /' conftest.$ac_ext >&5
76905 glibcxx_cv_func__log10l_use=no
76907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76908 ac_ext=c
76909 ac_cpp='$CPP $CPPFLAGS'
76910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76918 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
76919 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
76921 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76923 for ac_func in _log10l
76925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76926 echo "$as_me:$LINENO: checking for $ac_func" >&5
76927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76928 if eval "test \"\${$as_ac_var+set}\" = set"; then
76929 echo $ECHO_N "(cached) $ECHO_C" >&6
76930 else
76931 if test x$gcc_no_link = xyes; then
76932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76934 { (exit 1); exit 1; }; }
76936 cat >conftest.$ac_ext <<_ACEOF
76937 /* confdefs.h. */
76938 _ACEOF
76939 cat confdefs.h >>conftest.$ac_ext
76940 cat >>conftest.$ac_ext <<_ACEOF
76941 /* end confdefs.h. */
76942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76944 #define $ac_func innocuous_$ac_func
76946 /* System header to define __stub macros and hopefully few prototypes,
76947 which can conflict with char $ac_func (); below.
76948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76949 <limits.h> exists even on freestanding compilers. */
76951 #ifdef __STDC__
76952 # include <limits.h>
76953 #else
76954 # include <assert.h>
76955 #endif
76957 #undef $ac_func
76959 /* Override any gcc2 internal prototype to avoid an error. */
76960 #ifdef __cplusplus
76961 extern "C"
76963 #endif
76964 /* We use char because int might match the return type of a gcc2
76965 builtin and then its argument prototype would still apply. */
76966 char $ac_func ();
76967 /* The GNU C library defines this for functions which it implements
76968 to always fail with ENOSYS. Some functions are actually named
76969 something starting with __ and the normal name is an alias. */
76970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76971 choke me
76972 #else
76973 char (*f) () = $ac_func;
76974 #endif
76975 #ifdef __cplusplus
76977 #endif
76980 main ()
76982 return f != $ac_func;
76984 return 0;
76986 _ACEOF
76987 rm -f conftest.$ac_objext conftest$ac_exeext
76988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76989 (eval $ac_link) 2>conftest.er1
76990 ac_status=$?
76991 grep -v '^ *+' conftest.er1 >conftest.err
76992 rm -f conftest.er1
76993 cat conftest.err >&5
76994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76995 (exit $ac_status); } &&
76996 { ac_try='test -z "$ac_c_werror_flag"
76997 || test ! -s conftest.err'
76998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76999 (eval $ac_try) 2>&5
77000 ac_status=$?
77001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77002 (exit $ac_status); }; } &&
77003 { ac_try='test -s conftest$ac_exeext'
77004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77005 (eval $ac_try) 2>&5
77006 ac_status=$?
77007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77008 (exit $ac_status); }; }; then
77009 eval "$as_ac_var=yes"
77010 else
77011 echo "$as_me: failed program was:" >&5
77012 sed 's/^/| /' conftest.$ac_ext >&5
77014 eval "$as_ac_var=no"
77016 rm -f conftest.err conftest.$ac_objext \
77017 conftest$ac_exeext conftest.$ac_ext
77019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77021 if test `eval echo '${'$as_ac_var'}'` = yes; then
77022 cat >>confdefs.h <<_ACEOF
77023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77024 _ACEOF
77027 done
77037 echo "$as_me:$LINENO: checking for modfl declaration" >&5
77038 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
77039 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77040 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
77041 echo $ECHO_N "(cached) $ECHO_C" >&6
77042 else
77046 ac_ext=cc
77047 ac_cpp='$CXXCPP $CPPFLAGS'
77048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77052 cat >conftest.$ac_ext <<_ACEOF
77053 /* confdefs.h. */
77054 _ACEOF
77055 cat confdefs.h >>conftest.$ac_ext
77056 cat >>conftest.$ac_ext <<_ACEOF
77057 /* end confdefs.h. */
77058 #include <math.h>
77060 main ()
77062 modfl(0, 0);
77064 return 0;
77066 _ACEOF
77067 rm -f conftest.$ac_objext
77068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77069 (eval $ac_compile) 2>conftest.er1
77070 ac_status=$?
77071 grep -v '^ *+' conftest.er1 >conftest.err
77072 rm -f conftest.er1
77073 cat conftest.err >&5
77074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77075 (exit $ac_status); } &&
77076 { ac_try='test -z "$ac_cxx_werror_flag"
77077 || test ! -s conftest.err'
77078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77079 (eval $ac_try) 2>&5
77080 ac_status=$?
77081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77082 (exit $ac_status); }; } &&
77083 { ac_try='test -s conftest.$ac_objext'
77084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77085 (eval $ac_try) 2>&5
77086 ac_status=$?
77087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77088 (exit $ac_status); }; }; then
77089 glibcxx_cv_func_modfl_use=yes
77090 else
77091 echo "$as_me: failed program was:" >&5
77092 sed 's/^/| /' conftest.$ac_ext >&5
77094 glibcxx_cv_func_modfl_use=no
77096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77097 ac_ext=c
77098 ac_cpp='$CPP $CPPFLAGS'
77099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77107 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
77108 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
77110 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77112 for ac_func in modfl
77114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77115 echo "$as_me:$LINENO: checking for $ac_func" >&5
77116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77117 if eval "test \"\${$as_ac_var+set}\" = set"; then
77118 echo $ECHO_N "(cached) $ECHO_C" >&6
77119 else
77120 if test x$gcc_no_link = xyes; then
77121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77123 { (exit 1); exit 1; }; }
77125 cat >conftest.$ac_ext <<_ACEOF
77126 /* confdefs.h. */
77127 _ACEOF
77128 cat confdefs.h >>conftest.$ac_ext
77129 cat >>conftest.$ac_ext <<_ACEOF
77130 /* end confdefs.h. */
77131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77133 #define $ac_func innocuous_$ac_func
77135 /* System header to define __stub macros and hopefully few prototypes,
77136 which can conflict with char $ac_func (); below.
77137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77138 <limits.h> exists even on freestanding compilers. */
77140 #ifdef __STDC__
77141 # include <limits.h>
77142 #else
77143 # include <assert.h>
77144 #endif
77146 #undef $ac_func
77148 /* Override any gcc2 internal prototype to avoid an error. */
77149 #ifdef __cplusplus
77150 extern "C"
77152 #endif
77153 /* We use char because int might match the return type of a gcc2
77154 builtin and then its argument prototype would still apply. */
77155 char $ac_func ();
77156 /* The GNU C library defines this for functions which it implements
77157 to always fail with ENOSYS. Some functions are actually named
77158 something starting with __ and the normal name is an alias. */
77159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77160 choke me
77161 #else
77162 char (*f) () = $ac_func;
77163 #endif
77164 #ifdef __cplusplus
77166 #endif
77169 main ()
77171 return f != $ac_func;
77173 return 0;
77175 _ACEOF
77176 rm -f conftest.$ac_objext conftest$ac_exeext
77177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77178 (eval $ac_link) 2>conftest.er1
77179 ac_status=$?
77180 grep -v '^ *+' conftest.er1 >conftest.err
77181 rm -f conftest.er1
77182 cat conftest.err >&5
77183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77184 (exit $ac_status); } &&
77185 { ac_try='test -z "$ac_c_werror_flag"
77186 || test ! -s conftest.err'
77187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77188 (eval $ac_try) 2>&5
77189 ac_status=$?
77190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77191 (exit $ac_status); }; } &&
77192 { ac_try='test -s conftest$ac_exeext'
77193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77194 (eval $ac_try) 2>&5
77195 ac_status=$?
77196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77197 (exit $ac_status); }; }; then
77198 eval "$as_ac_var=yes"
77199 else
77200 echo "$as_me: failed program was:" >&5
77201 sed 's/^/| /' conftest.$ac_ext >&5
77203 eval "$as_ac_var=no"
77205 rm -f conftest.err conftest.$ac_objext \
77206 conftest$ac_exeext conftest.$ac_ext
77208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77210 if test `eval echo '${'$as_ac_var'}'` = yes; then
77211 cat >>confdefs.h <<_ACEOF
77212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77213 _ACEOF
77216 done
77218 else
77220 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
77221 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
77222 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77223 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
77224 echo $ECHO_N "(cached) $ECHO_C" >&6
77225 else
77229 ac_ext=cc
77230 ac_cpp='$CXXCPP $CPPFLAGS'
77231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77235 cat >conftest.$ac_ext <<_ACEOF
77236 /* confdefs.h. */
77237 _ACEOF
77238 cat confdefs.h >>conftest.$ac_ext
77239 cat >>conftest.$ac_ext <<_ACEOF
77240 /* end confdefs.h. */
77241 #include <math.h>
77243 main ()
77245 _modfl(0, 0);
77247 return 0;
77249 _ACEOF
77250 rm -f conftest.$ac_objext
77251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77252 (eval $ac_compile) 2>conftest.er1
77253 ac_status=$?
77254 grep -v '^ *+' conftest.er1 >conftest.err
77255 rm -f conftest.er1
77256 cat conftest.err >&5
77257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77258 (exit $ac_status); } &&
77259 { ac_try='test -z "$ac_cxx_werror_flag"
77260 || test ! -s conftest.err'
77261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77262 (eval $ac_try) 2>&5
77263 ac_status=$?
77264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77265 (exit $ac_status); }; } &&
77266 { ac_try='test -s conftest.$ac_objext'
77267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77268 (eval $ac_try) 2>&5
77269 ac_status=$?
77270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77271 (exit $ac_status); }; }; then
77272 glibcxx_cv_func__modfl_use=yes
77273 else
77274 echo "$as_me: failed program was:" >&5
77275 sed 's/^/| /' conftest.$ac_ext >&5
77277 glibcxx_cv_func__modfl_use=no
77279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77280 ac_ext=c
77281 ac_cpp='$CPP $CPPFLAGS'
77282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77290 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
77291 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
77293 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77295 for ac_func in _modfl
77297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77298 echo "$as_me:$LINENO: checking for $ac_func" >&5
77299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77300 if eval "test \"\${$as_ac_var+set}\" = set"; then
77301 echo $ECHO_N "(cached) $ECHO_C" >&6
77302 else
77303 if test x$gcc_no_link = xyes; then
77304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77306 { (exit 1); exit 1; }; }
77308 cat >conftest.$ac_ext <<_ACEOF
77309 /* confdefs.h. */
77310 _ACEOF
77311 cat confdefs.h >>conftest.$ac_ext
77312 cat >>conftest.$ac_ext <<_ACEOF
77313 /* end confdefs.h. */
77314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77316 #define $ac_func innocuous_$ac_func
77318 /* System header to define __stub macros and hopefully few prototypes,
77319 which can conflict with char $ac_func (); below.
77320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77321 <limits.h> exists even on freestanding compilers. */
77323 #ifdef __STDC__
77324 # include <limits.h>
77325 #else
77326 # include <assert.h>
77327 #endif
77329 #undef $ac_func
77331 /* Override any gcc2 internal prototype to avoid an error. */
77332 #ifdef __cplusplus
77333 extern "C"
77335 #endif
77336 /* We use char because int might match the return type of a gcc2
77337 builtin and then its argument prototype would still apply. */
77338 char $ac_func ();
77339 /* The GNU C library defines this for functions which it implements
77340 to always fail with ENOSYS. Some functions are actually named
77341 something starting with __ and the normal name is an alias. */
77342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77343 choke me
77344 #else
77345 char (*f) () = $ac_func;
77346 #endif
77347 #ifdef __cplusplus
77349 #endif
77352 main ()
77354 return f != $ac_func;
77356 return 0;
77358 _ACEOF
77359 rm -f conftest.$ac_objext conftest$ac_exeext
77360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77361 (eval $ac_link) 2>conftest.er1
77362 ac_status=$?
77363 grep -v '^ *+' conftest.er1 >conftest.err
77364 rm -f conftest.er1
77365 cat conftest.err >&5
77366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77367 (exit $ac_status); } &&
77368 { ac_try='test -z "$ac_c_werror_flag"
77369 || test ! -s conftest.err'
77370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77371 (eval $ac_try) 2>&5
77372 ac_status=$?
77373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77374 (exit $ac_status); }; } &&
77375 { ac_try='test -s conftest$ac_exeext'
77376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77377 (eval $ac_try) 2>&5
77378 ac_status=$?
77379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77380 (exit $ac_status); }; }; then
77381 eval "$as_ac_var=yes"
77382 else
77383 echo "$as_me: failed program was:" >&5
77384 sed 's/^/| /' conftest.$ac_ext >&5
77386 eval "$as_ac_var=no"
77388 rm -f conftest.err conftest.$ac_objext \
77389 conftest$ac_exeext conftest.$ac_ext
77391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77393 if test `eval echo '${'$as_ac_var'}'` = yes; then
77394 cat >>confdefs.h <<_ACEOF
77395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77396 _ACEOF
77399 done
77409 echo "$as_me:$LINENO: checking for powl declaration" >&5
77410 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
77411 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77412 if test "${glibcxx_cv_func_powl_use+set}" = set; then
77413 echo $ECHO_N "(cached) $ECHO_C" >&6
77414 else
77418 ac_ext=cc
77419 ac_cpp='$CXXCPP $CPPFLAGS'
77420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77424 cat >conftest.$ac_ext <<_ACEOF
77425 /* confdefs.h. */
77426 _ACEOF
77427 cat confdefs.h >>conftest.$ac_ext
77428 cat >>conftest.$ac_ext <<_ACEOF
77429 /* end confdefs.h. */
77430 #include <math.h>
77432 main ()
77434 powl(0, 0);
77436 return 0;
77438 _ACEOF
77439 rm -f conftest.$ac_objext
77440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77441 (eval $ac_compile) 2>conftest.er1
77442 ac_status=$?
77443 grep -v '^ *+' conftest.er1 >conftest.err
77444 rm -f conftest.er1
77445 cat conftest.err >&5
77446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77447 (exit $ac_status); } &&
77448 { ac_try='test -z "$ac_cxx_werror_flag"
77449 || test ! -s conftest.err'
77450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77451 (eval $ac_try) 2>&5
77452 ac_status=$?
77453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77454 (exit $ac_status); }; } &&
77455 { ac_try='test -s conftest.$ac_objext'
77456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77457 (eval $ac_try) 2>&5
77458 ac_status=$?
77459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77460 (exit $ac_status); }; }; then
77461 glibcxx_cv_func_powl_use=yes
77462 else
77463 echo "$as_me: failed program was:" >&5
77464 sed 's/^/| /' conftest.$ac_ext >&5
77466 glibcxx_cv_func_powl_use=no
77468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77469 ac_ext=c
77470 ac_cpp='$CPP $CPPFLAGS'
77471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77479 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
77480 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
77482 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77484 for ac_func in powl
77486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77487 echo "$as_me:$LINENO: checking for $ac_func" >&5
77488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77489 if eval "test \"\${$as_ac_var+set}\" = set"; then
77490 echo $ECHO_N "(cached) $ECHO_C" >&6
77491 else
77492 if test x$gcc_no_link = xyes; then
77493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77495 { (exit 1); exit 1; }; }
77497 cat >conftest.$ac_ext <<_ACEOF
77498 /* confdefs.h. */
77499 _ACEOF
77500 cat confdefs.h >>conftest.$ac_ext
77501 cat >>conftest.$ac_ext <<_ACEOF
77502 /* end confdefs.h. */
77503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77505 #define $ac_func innocuous_$ac_func
77507 /* System header to define __stub macros and hopefully few prototypes,
77508 which can conflict with char $ac_func (); below.
77509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77510 <limits.h> exists even on freestanding compilers. */
77512 #ifdef __STDC__
77513 # include <limits.h>
77514 #else
77515 # include <assert.h>
77516 #endif
77518 #undef $ac_func
77520 /* Override any gcc2 internal prototype to avoid an error. */
77521 #ifdef __cplusplus
77522 extern "C"
77524 #endif
77525 /* We use char because int might match the return type of a gcc2
77526 builtin and then its argument prototype would still apply. */
77527 char $ac_func ();
77528 /* The GNU C library defines this for functions which it implements
77529 to always fail with ENOSYS. Some functions are actually named
77530 something starting with __ and the normal name is an alias. */
77531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77532 choke me
77533 #else
77534 char (*f) () = $ac_func;
77535 #endif
77536 #ifdef __cplusplus
77538 #endif
77541 main ()
77543 return f != $ac_func;
77545 return 0;
77547 _ACEOF
77548 rm -f conftest.$ac_objext conftest$ac_exeext
77549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77550 (eval $ac_link) 2>conftest.er1
77551 ac_status=$?
77552 grep -v '^ *+' conftest.er1 >conftest.err
77553 rm -f conftest.er1
77554 cat conftest.err >&5
77555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77556 (exit $ac_status); } &&
77557 { ac_try='test -z "$ac_c_werror_flag"
77558 || test ! -s conftest.err'
77559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77560 (eval $ac_try) 2>&5
77561 ac_status=$?
77562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77563 (exit $ac_status); }; } &&
77564 { ac_try='test -s conftest$ac_exeext'
77565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77566 (eval $ac_try) 2>&5
77567 ac_status=$?
77568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77569 (exit $ac_status); }; }; then
77570 eval "$as_ac_var=yes"
77571 else
77572 echo "$as_me: failed program was:" >&5
77573 sed 's/^/| /' conftest.$ac_ext >&5
77575 eval "$as_ac_var=no"
77577 rm -f conftest.err conftest.$ac_objext \
77578 conftest$ac_exeext conftest.$ac_ext
77580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77582 if test `eval echo '${'$as_ac_var'}'` = yes; then
77583 cat >>confdefs.h <<_ACEOF
77584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77585 _ACEOF
77588 done
77590 else
77592 echo "$as_me:$LINENO: checking for _powl declaration" >&5
77593 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
77594 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77595 if test "${glibcxx_cv_func__powl_use+set}" = set; then
77596 echo $ECHO_N "(cached) $ECHO_C" >&6
77597 else
77601 ac_ext=cc
77602 ac_cpp='$CXXCPP $CPPFLAGS'
77603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77607 cat >conftest.$ac_ext <<_ACEOF
77608 /* confdefs.h. */
77609 _ACEOF
77610 cat confdefs.h >>conftest.$ac_ext
77611 cat >>conftest.$ac_ext <<_ACEOF
77612 /* end confdefs.h. */
77613 #include <math.h>
77615 main ()
77617 _powl(0, 0);
77619 return 0;
77621 _ACEOF
77622 rm -f conftest.$ac_objext
77623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77624 (eval $ac_compile) 2>conftest.er1
77625 ac_status=$?
77626 grep -v '^ *+' conftest.er1 >conftest.err
77627 rm -f conftest.er1
77628 cat conftest.err >&5
77629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77630 (exit $ac_status); } &&
77631 { ac_try='test -z "$ac_cxx_werror_flag"
77632 || test ! -s conftest.err'
77633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77634 (eval $ac_try) 2>&5
77635 ac_status=$?
77636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77637 (exit $ac_status); }; } &&
77638 { ac_try='test -s conftest.$ac_objext'
77639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77640 (eval $ac_try) 2>&5
77641 ac_status=$?
77642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77643 (exit $ac_status); }; }; then
77644 glibcxx_cv_func__powl_use=yes
77645 else
77646 echo "$as_me: failed program was:" >&5
77647 sed 's/^/| /' conftest.$ac_ext >&5
77649 glibcxx_cv_func__powl_use=no
77651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77652 ac_ext=c
77653 ac_cpp='$CPP $CPPFLAGS'
77654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77662 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
77663 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
77665 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77667 for ac_func in _powl
77669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77670 echo "$as_me:$LINENO: checking for $ac_func" >&5
77671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77672 if eval "test \"\${$as_ac_var+set}\" = set"; then
77673 echo $ECHO_N "(cached) $ECHO_C" >&6
77674 else
77675 if test x$gcc_no_link = xyes; then
77676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77678 { (exit 1); exit 1; }; }
77680 cat >conftest.$ac_ext <<_ACEOF
77681 /* confdefs.h. */
77682 _ACEOF
77683 cat confdefs.h >>conftest.$ac_ext
77684 cat >>conftest.$ac_ext <<_ACEOF
77685 /* end confdefs.h. */
77686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77688 #define $ac_func innocuous_$ac_func
77690 /* System header to define __stub macros and hopefully few prototypes,
77691 which can conflict with char $ac_func (); below.
77692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77693 <limits.h> exists even on freestanding compilers. */
77695 #ifdef __STDC__
77696 # include <limits.h>
77697 #else
77698 # include <assert.h>
77699 #endif
77701 #undef $ac_func
77703 /* Override any gcc2 internal prototype to avoid an error. */
77704 #ifdef __cplusplus
77705 extern "C"
77707 #endif
77708 /* We use char because int might match the return type of a gcc2
77709 builtin and then its argument prototype would still apply. */
77710 char $ac_func ();
77711 /* The GNU C library defines this for functions which it implements
77712 to always fail with ENOSYS. Some functions are actually named
77713 something starting with __ and the normal name is an alias. */
77714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77715 choke me
77716 #else
77717 char (*f) () = $ac_func;
77718 #endif
77719 #ifdef __cplusplus
77721 #endif
77724 main ()
77726 return f != $ac_func;
77728 return 0;
77730 _ACEOF
77731 rm -f conftest.$ac_objext conftest$ac_exeext
77732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77733 (eval $ac_link) 2>conftest.er1
77734 ac_status=$?
77735 grep -v '^ *+' conftest.er1 >conftest.err
77736 rm -f conftest.er1
77737 cat conftest.err >&5
77738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77739 (exit $ac_status); } &&
77740 { ac_try='test -z "$ac_c_werror_flag"
77741 || test ! -s conftest.err'
77742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77743 (eval $ac_try) 2>&5
77744 ac_status=$?
77745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77746 (exit $ac_status); }; } &&
77747 { ac_try='test -s conftest$ac_exeext'
77748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77749 (eval $ac_try) 2>&5
77750 ac_status=$?
77751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77752 (exit $ac_status); }; }; then
77753 eval "$as_ac_var=yes"
77754 else
77755 echo "$as_me: failed program was:" >&5
77756 sed 's/^/| /' conftest.$ac_ext >&5
77758 eval "$as_ac_var=no"
77760 rm -f conftest.err conftest.$ac_objext \
77761 conftest$ac_exeext conftest.$ac_ext
77763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77765 if test `eval echo '${'$as_ac_var'}'` = yes; then
77766 cat >>confdefs.h <<_ACEOF
77767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77768 _ACEOF
77771 done
77781 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
77782 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
77783 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77784 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
77785 echo $ECHO_N "(cached) $ECHO_C" >&6
77786 else
77790 ac_ext=cc
77791 ac_cpp='$CXXCPP $CPPFLAGS'
77792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77796 cat >conftest.$ac_ext <<_ACEOF
77797 /* confdefs.h. */
77798 _ACEOF
77799 cat confdefs.h >>conftest.$ac_ext
77800 cat >>conftest.$ac_ext <<_ACEOF
77801 /* end confdefs.h. */
77802 #include <math.h>
77803 #ifdef HAVE_IEEEFP_H
77804 #include <ieeefp.h>
77805 #endif
77808 main ()
77810 sqrtl(0);
77812 return 0;
77814 _ACEOF
77815 rm -f conftest.$ac_objext
77816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77817 (eval $ac_compile) 2>conftest.er1
77818 ac_status=$?
77819 grep -v '^ *+' conftest.er1 >conftest.err
77820 rm -f conftest.er1
77821 cat conftest.err >&5
77822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77823 (exit $ac_status); } &&
77824 { ac_try='test -z "$ac_cxx_werror_flag"
77825 || test ! -s conftest.err'
77826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77827 (eval $ac_try) 2>&5
77828 ac_status=$?
77829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77830 (exit $ac_status); }; } &&
77831 { ac_try='test -s conftest.$ac_objext'
77832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77833 (eval $ac_try) 2>&5
77834 ac_status=$?
77835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77836 (exit $ac_status); }; }; then
77837 glibcxx_cv_func_sqrtl_use=yes
77838 else
77839 echo "$as_me: failed program was:" >&5
77840 sed 's/^/| /' conftest.$ac_ext >&5
77842 glibcxx_cv_func_sqrtl_use=no
77844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77845 ac_ext=c
77846 ac_cpp='$CPP $CPPFLAGS'
77847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77855 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
77856 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
77858 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77860 for ac_func in sqrtl
77862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77863 echo "$as_me:$LINENO: checking for $ac_func" >&5
77864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77865 if eval "test \"\${$as_ac_var+set}\" = set"; then
77866 echo $ECHO_N "(cached) $ECHO_C" >&6
77867 else
77868 if test x$gcc_no_link = xyes; then
77869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77871 { (exit 1); exit 1; }; }
77873 cat >conftest.$ac_ext <<_ACEOF
77874 /* confdefs.h. */
77875 _ACEOF
77876 cat confdefs.h >>conftest.$ac_ext
77877 cat >>conftest.$ac_ext <<_ACEOF
77878 /* end confdefs.h. */
77879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77881 #define $ac_func innocuous_$ac_func
77883 /* System header to define __stub macros and hopefully few prototypes,
77884 which can conflict with char $ac_func (); below.
77885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77886 <limits.h> exists even on freestanding compilers. */
77888 #ifdef __STDC__
77889 # include <limits.h>
77890 #else
77891 # include <assert.h>
77892 #endif
77894 #undef $ac_func
77896 /* Override any gcc2 internal prototype to avoid an error. */
77897 #ifdef __cplusplus
77898 extern "C"
77900 #endif
77901 /* We use char because int might match the return type of a gcc2
77902 builtin and then its argument prototype would still apply. */
77903 char $ac_func ();
77904 /* The GNU C library defines this for functions which it implements
77905 to always fail with ENOSYS. Some functions are actually named
77906 something starting with __ and the normal name is an alias. */
77907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77908 choke me
77909 #else
77910 char (*f) () = $ac_func;
77911 #endif
77912 #ifdef __cplusplus
77914 #endif
77917 main ()
77919 return f != $ac_func;
77921 return 0;
77923 _ACEOF
77924 rm -f conftest.$ac_objext conftest$ac_exeext
77925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77926 (eval $ac_link) 2>conftest.er1
77927 ac_status=$?
77928 grep -v '^ *+' conftest.er1 >conftest.err
77929 rm -f conftest.er1
77930 cat conftest.err >&5
77931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77932 (exit $ac_status); } &&
77933 { ac_try='test -z "$ac_c_werror_flag"
77934 || test ! -s conftest.err'
77935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77936 (eval $ac_try) 2>&5
77937 ac_status=$?
77938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77939 (exit $ac_status); }; } &&
77940 { ac_try='test -s conftest$ac_exeext'
77941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77942 (eval $ac_try) 2>&5
77943 ac_status=$?
77944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77945 (exit $ac_status); }; }; then
77946 eval "$as_ac_var=yes"
77947 else
77948 echo "$as_me: failed program was:" >&5
77949 sed 's/^/| /' conftest.$ac_ext >&5
77951 eval "$as_ac_var=no"
77953 rm -f conftest.err conftest.$ac_objext \
77954 conftest$ac_exeext conftest.$ac_ext
77956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77958 if test `eval echo '${'$as_ac_var'}'` = yes; then
77959 cat >>confdefs.h <<_ACEOF
77960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77961 _ACEOF
77964 done
77966 else
77968 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
77969 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
77970 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77971 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
77972 echo $ECHO_N "(cached) $ECHO_C" >&6
77973 else
77977 ac_ext=cc
77978 ac_cpp='$CXXCPP $CPPFLAGS'
77979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77983 cat >conftest.$ac_ext <<_ACEOF
77984 /* confdefs.h. */
77985 _ACEOF
77986 cat confdefs.h >>conftest.$ac_ext
77987 cat >>conftest.$ac_ext <<_ACEOF
77988 /* end confdefs.h. */
77989 #include <math.h>
77990 #ifdef HAVE_IEEEFP_H
77991 #include <ieeefp.h>
77992 #endif
77995 main ()
77997 _sqrtl(0);
77999 return 0;
78001 _ACEOF
78002 rm -f conftest.$ac_objext
78003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78004 (eval $ac_compile) 2>conftest.er1
78005 ac_status=$?
78006 grep -v '^ *+' conftest.er1 >conftest.err
78007 rm -f conftest.er1
78008 cat conftest.err >&5
78009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78010 (exit $ac_status); } &&
78011 { ac_try='test -z "$ac_cxx_werror_flag"
78012 || test ! -s conftest.err'
78013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78014 (eval $ac_try) 2>&5
78015 ac_status=$?
78016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78017 (exit $ac_status); }; } &&
78018 { ac_try='test -s conftest.$ac_objext'
78019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78020 (eval $ac_try) 2>&5
78021 ac_status=$?
78022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78023 (exit $ac_status); }; }; then
78024 glibcxx_cv_func__sqrtl_use=yes
78025 else
78026 echo "$as_me: failed program was:" >&5
78027 sed 's/^/| /' conftest.$ac_ext >&5
78029 glibcxx_cv_func__sqrtl_use=no
78031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78032 ac_ext=c
78033 ac_cpp='$CPP $CPPFLAGS'
78034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78042 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
78043 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
78045 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
78047 for ac_func in _sqrtl
78049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78050 echo "$as_me:$LINENO: checking for $ac_func" >&5
78051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78052 if eval "test \"\${$as_ac_var+set}\" = set"; then
78053 echo $ECHO_N "(cached) $ECHO_C" >&6
78054 else
78055 if test x$gcc_no_link = xyes; then
78056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78058 { (exit 1); exit 1; }; }
78060 cat >conftest.$ac_ext <<_ACEOF
78061 /* confdefs.h. */
78062 _ACEOF
78063 cat confdefs.h >>conftest.$ac_ext
78064 cat >>conftest.$ac_ext <<_ACEOF
78065 /* end confdefs.h. */
78066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78068 #define $ac_func innocuous_$ac_func
78070 /* System header to define __stub macros and hopefully few prototypes,
78071 which can conflict with char $ac_func (); below.
78072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78073 <limits.h> exists even on freestanding compilers. */
78075 #ifdef __STDC__
78076 # include <limits.h>
78077 #else
78078 # include <assert.h>
78079 #endif
78081 #undef $ac_func
78083 /* Override any gcc2 internal prototype to avoid an error. */
78084 #ifdef __cplusplus
78085 extern "C"
78087 #endif
78088 /* We use char because int might match the return type of a gcc2
78089 builtin and then its argument prototype would still apply. */
78090 char $ac_func ();
78091 /* The GNU C library defines this for functions which it implements
78092 to always fail with ENOSYS. Some functions are actually named
78093 something starting with __ and the normal name is an alias. */
78094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78095 choke me
78096 #else
78097 char (*f) () = $ac_func;
78098 #endif
78099 #ifdef __cplusplus
78101 #endif
78104 main ()
78106 return f != $ac_func;
78108 return 0;
78110 _ACEOF
78111 rm -f conftest.$ac_objext conftest$ac_exeext
78112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78113 (eval $ac_link) 2>conftest.er1
78114 ac_status=$?
78115 grep -v '^ *+' conftest.er1 >conftest.err
78116 rm -f conftest.er1
78117 cat conftest.err >&5
78118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78119 (exit $ac_status); } &&
78120 { ac_try='test -z "$ac_c_werror_flag"
78121 || test ! -s conftest.err'
78122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78123 (eval $ac_try) 2>&5
78124 ac_status=$?
78125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78126 (exit $ac_status); }; } &&
78127 { ac_try='test -s conftest$ac_exeext'
78128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78129 (eval $ac_try) 2>&5
78130 ac_status=$?
78131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78132 (exit $ac_status); }; }; then
78133 eval "$as_ac_var=yes"
78134 else
78135 echo "$as_me: failed program was:" >&5
78136 sed 's/^/| /' conftest.$ac_ext >&5
78138 eval "$as_ac_var=no"
78140 rm -f conftest.err conftest.$ac_objext \
78141 conftest$ac_exeext conftest.$ac_ext
78143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78145 if test `eval echo '${'$as_ac_var'}'` = yes; then
78146 cat >>confdefs.h <<_ACEOF
78147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78148 _ACEOF
78151 done
78161 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
78162 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
78163 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
78164 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
78165 echo $ECHO_N "(cached) $ECHO_C" >&6
78166 else
78170 ac_ext=cc
78171 ac_cpp='$CXXCPP $CPPFLAGS'
78172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78176 cat >conftest.$ac_ext <<_ACEOF
78177 /* confdefs.h. */
78178 _ACEOF
78179 cat confdefs.h >>conftest.$ac_ext
78180 cat >>conftest.$ac_ext <<_ACEOF
78181 /* end confdefs.h. */
78182 #include <math.h>
78184 main ()
78186 sincosl(0, 0, 0);
78188 return 0;
78190 _ACEOF
78191 rm -f conftest.$ac_objext
78192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78193 (eval $ac_compile) 2>conftest.er1
78194 ac_status=$?
78195 grep -v '^ *+' conftest.er1 >conftest.err
78196 rm -f conftest.er1
78197 cat conftest.err >&5
78198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78199 (exit $ac_status); } &&
78200 { ac_try='test -z "$ac_cxx_werror_flag"
78201 || test ! -s conftest.err'
78202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78203 (eval $ac_try) 2>&5
78204 ac_status=$?
78205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78206 (exit $ac_status); }; } &&
78207 { ac_try='test -s conftest.$ac_objext'
78208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78209 (eval $ac_try) 2>&5
78210 ac_status=$?
78211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78212 (exit $ac_status); }; }; then
78213 glibcxx_cv_func_sincosl_use=yes
78214 else
78215 echo "$as_me: failed program was:" >&5
78216 sed 's/^/| /' conftest.$ac_ext >&5
78218 glibcxx_cv_func_sincosl_use=no
78220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78221 ac_ext=c
78222 ac_cpp='$CPP $CPPFLAGS'
78223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78231 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
78232 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
78234 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
78236 for ac_func in sincosl
78238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78239 echo "$as_me:$LINENO: checking for $ac_func" >&5
78240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78241 if eval "test \"\${$as_ac_var+set}\" = set"; then
78242 echo $ECHO_N "(cached) $ECHO_C" >&6
78243 else
78244 if test x$gcc_no_link = xyes; then
78245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78247 { (exit 1); exit 1; }; }
78249 cat >conftest.$ac_ext <<_ACEOF
78250 /* confdefs.h. */
78251 _ACEOF
78252 cat confdefs.h >>conftest.$ac_ext
78253 cat >>conftest.$ac_ext <<_ACEOF
78254 /* end confdefs.h. */
78255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78257 #define $ac_func innocuous_$ac_func
78259 /* System header to define __stub macros and hopefully few prototypes,
78260 which can conflict with char $ac_func (); below.
78261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78262 <limits.h> exists even on freestanding compilers. */
78264 #ifdef __STDC__
78265 # include <limits.h>
78266 #else
78267 # include <assert.h>
78268 #endif
78270 #undef $ac_func
78272 /* Override any gcc2 internal prototype to avoid an error. */
78273 #ifdef __cplusplus
78274 extern "C"
78276 #endif
78277 /* We use char because int might match the return type of a gcc2
78278 builtin and then its argument prototype would still apply. */
78279 char $ac_func ();
78280 /* The GNU C library defines this for functions which it implements
78281 to always fail with ENOSYS. Some functions are actually named
78282 something starting with __ and the normal name is an alias. */
78283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78284 choke me
78285 #else
78286 char (*f) () = $ac_func;
78287 #endif
78288 #ifdef __cplusplus
78290 #endif
78293 main ()
78295 return f != $ac_func;
78297 return 0;
78299 _ACEOF
78300 rm -f conftest.$ac_objext conftest$ac_exeext
78301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78302 (eval $ac_link) 2>conftest.er1
78303 ac_status=$?
78304 grep -v '^ *+' conftest.er1 >conftest.err
78305 rm -f conftest.er1
78306 cat conftest.err >&5
78307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78308 (exit $ac_status); } &&
78309 { ac_try='test -z "$ac_c_werror_flag"
78310 || test ! -s conftest.err'
78311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78312 (eval $ac_try) 2>&5
78313 ac_status=$?
78314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78315 (exit $ac_status); }; } &&
78316 { ac_try='test -s conftest$ac_exeext'
78317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78318 (eval $ac_try) 2>&5
78319 ac_status=$?
78320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78321 (exit $ac_status); }; }; then
78322 eval "$as_ac_var=yes"
78323 else
78324 echo "$as_me: failed program was:" >&5
78325 sed 's/^/| /' conftest.$ac_ext >&5
78327 eval "$as_ac_var=no"
78329 rm -f conftest.err conftest.$ac_objext \
78330 conftest$ac_exeext conftest.$ac_ext
78332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78334 if test `eval echo '${'$as_ac_var'}'` = yes; then
78335 cat >>confdefs.h <<_ACEOF
78336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78337 _ACEOF
78340 done
78342 else
78344 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
78345 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
78346 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
78347 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
78348 echo $ECHO_N "(cached) $ECHO_C" >&6
78349 else
78353 ac_ext=cc
78354 ac_cpp='$CXXCPP $CPPFLAGS'
78355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78359 cat >conftest.$ac_ext <<_ACEOF
78360 /* confdefs.h. */
78361 _ACEOF
78362 cat confdefs.h >>conftest.$ac_ext
78363 cat >>conftest.$ac_ext <<_ACEOF
78364 /* end confdefs.h. */
78365 #include <math.h>
78367 main ()
78369 _sincosl(0, 0, 0);
78371 return 0;
78373 _ACEOF
78374 rm -f conftest.$ac_objext
78375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78376 (eval $ac_compile) 2>conftest.er1
78377 ac_status=$?
78378 grep -v '^ *+' conftest.er1 >conftest.err
78379 rm -f conftest.er1
78380 cat conftest.err >&5
78381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78382 (exit $ac_status); } &&
78383 { ac_try='test -z "$ac_cxx_werror_flag"
78384 || test ! -s conftest.err'
78385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78386 (eval $ac_try) 2>&5
78387 ac_status=$?
78388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78389 (exit $ac_status); }; } &&
78390 { ac_try='test -s conftest.$ac_objext'
78391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78392 (eval $ac_try) 2>&5
78393 ac_status=$?
78394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78395 (exit $ac_status); }; }; then
78396 glibcxx_cv_func__sincosl_use=yes
78397 else
78398 echo "$as_me: failed program was:" >&5
78399 sed 's/^/| /' conftest.$ac_ext >&5
78401 glibcxx_cv_func__sincosl_use=no
78403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78404 ac_ext=c
78405 ac_cpp='$CPP $CPPFLAGS'
78406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78414 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
78415 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
78417 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
78419 for ac_func in _sincosl
78421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78422 echo "$as_me:$LINENO: checking for $ac_func" >&5
78423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78424 if eval "test \"\${$as_ac_var+set}\" = set"; then
78425 echo $ECHO_N "(cached) $ECHO_C" >&6
78426 else
78427 if test x$gcc_no_link = xyes; then
78428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78430 { (exit 1); exit 1; }; }
78432 cat >conftest.$ac_ext <<_ACEOF
78433 /* confdefs.h. */
78434 _ACEOF
78435 cat confdefs.h >>conftest.$ac_ext
78436 cat >>conftest.$ac_ext <<_ACEOF
78437 /* end confdefs.h. */
78438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78440 #define $ac_func innocuous_$ac_func
78442 /* System header to define __stub macros and hopefully few prototypes,
78443 which can conflict with char $ac_func (); below.
78444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78445 <limits.h> exists even on freestanding compilers. */
78447 #ifdef __STDC__
78448 # include <limits.h>
78449 #else
78450 # include <assert.h>
78451 #endif
78453 #undef $ac_func
78455 /* Override any gcc2 internal prototype to avoid an error. */
78456 #ifdef __cplusplus
78457 extern "C"
78459 #endif
78460 /* We use char because int might match the return type of a gcc2
78461 builtin and then its argument prototype would still apply. */
78462 char $ac_func ();
78463 /* The GNU C library defines this for functions which it implements
78464 to always fail with ENOSYS. Some functions are actually named
78465 something starting with __ and the normal name is an alias. */
78466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78467 choke me
78468 #else
78469 char (*f) () = $ac_func;
78470 #endif
78471 #ifdef __cplusplus
78473 #endif
78476 main ()
78478 return f != $ac_func;
78480 return 0;
78482 _ACEOF
78483 rm -f conftest.$ac_objext conftest$ac_exeext
78484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78485 (eval $ac_link) 2>conftest.er1
78486 ac_status=$?
78487 grep -v '^ *+' conftest.er1 >conftest.err
78488 rm -f conftest.er1
78489 cat conftest.err >&5
78490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78491 (exit $ac_status); } &&
78492 { ac_try='test -z "$ac_c_werror_flag"
78493 || test ! -s conftest.err'
78494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78495 (eval $ac_try) 2>&5
78496 ac_status=$?
78497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78498 (exit $ac_status); }; } &&
78499 { ac_try='test -s conftest$ac_exeext'
78500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78501 (eval $ac_try) 2>&5
78502 ac_status=$?
78503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78504 (exit $ac_status); }; }; then
78505 eval "$as_ac_var=yes"
78506 else
78507 echo "$as_me: failed program was:" >&5
78508 sed 's/^/| /' conftest.$ac_ext >&5
78510 eval "$as_ac_var=no"
78512 rm -f conftest.err conftest.$ac_objext \
78513 conftest$ac_exeext conftest.$ac_ext
78515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78517 if test `eval echo '${'$as_ac_var'}'` = yes; then
78518 cat >>confdefs.h <<_ACEOF
78519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78520 _ACEOF
78523 done
78533 echo "$as_me:$LINENO: checking for finitel declaration" >&5
78534 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
78535 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
78536 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
78537 echo $ECHO_N "(cached) $ECHO_C" >&6
78538 else
78542 ac_ext=cc
78543 ac_cpp='$CXXCPP $CPPFLAGS'
78544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78548 cat >conftest.$ac_ext <<_ACEOF
78549 /* confdefs.h. */
78550 _ACEOF
78551 cat confdefs.h >>conftest.$ac_ext
78552 cat >>conftest.$ac_ext <<_ACEOF
78553 /* end confdefs.h. */
78554 #include <math.h>
78555 #ifdef HAVE_IEEEFP_H
78556 #include <ieeefp.h>
78557 #endif
78560 main ()
78562 finitel(0);
78564 return 0;
78566 _ACEOF
78567 rm -f conftest.$ac_objext
78568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78569 (eval $ac_compile) 2>conftest.er1
78570 ac_status=$?
78571 grep -v '^ *+' conftest.er1 >conftest.err
78572 rm -f conftest.er1
78573 cat conftest.err >&5
78574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78575 (exit $ac_status); } &&
78576 { ac_try='test -z "$ac_cxx_werror_flag"
78577 || test ! -s conftest.err'
78578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78579 (eval $ac_try) 2>&5
78580 ac_status=$?
78581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78582 (exit $ac_status); }; } &&
78583 { ac_try='test -s conftest.$ac_objext'
78584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78585 (eval $ac_try) 2>&5
78586 ac_status=$?
78587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78588 (exit $ac_status); }; }; then
78589 glibcxx_cv_func_finitel_use=yes
78590 else
78591 echo "$as_me: failed program was:" >&5
78592 sed 's/^/| /' conftest.$ac_ext >&5
78594 glibcxx_cv_func_finitel_use=no
78596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78597 ac_ext=c
78598 ac_cpp='$CPP $CPPFLAGS'
78599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78607 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
78608 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
78610 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
78612 for ac_func in finitel
78614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78615 echo "$as_me:$LINENO: checking for $ac_func" >&5
78616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78617 if eval "test \"\${$as_ac_var+set}\" = set"; then
78618 echo $ECHO_N "(cached) $ECHO_C" >&6
78619 else
78620 if test x$gcc_no_link = xyes; then
78621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78623 { (exit 1); exit 1; }; }
78625 cat >conftest.$ac_ext <<_ACEOF
78626 /* confdefs.h. */
78627 _ACEOF
78628 cat confdefs.h >>conftest.$ac_ext
78629 cat >>conftest.$ac_ext <<_ACEOF
78630 /* end confdefs.h. */
78631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78633 #define $ac_func innocuous_$ac_func
78635 /* System header to define __stub macros and hopefully few prototypes,
78636 which can conflict with char $ac_func (); below.
78637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78638 <limits.h> exists even on freestanding compilers. */
78640 #ifdef __STDC__
78641 # include <limits.h>
78642 #else
78643 # include <assert.h>
78644 #endif
78646 #undef $ac_func
78648 /* Override any gcc2 internal prototype to avoid an error. */
78649 #ifdef __cplusplus
78650 extern "C"
78652 #endif
78653 /* We use char because int might match the return type of a gcc2
78654 builtin and then its argument prototype would still apply. */
78655 char $ac_func ();
78656 /* The GNU C library defines this for functions which it implements
78657 to always fail with ENOSYS. Some functions are actually named
78658 something starting with __ and the normal name is an alias. */
78659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78660 choke me
78661 #else
78662 char (*f) () = $ac_func;
78663 #endif
78664 #ifdef __cplusplus
78666 #endif
78669 main ()
78671 return f != $ac_func;
78673 return 0;
78675 _ACEOF
78676 rm -f conftest.$ac_objext conftest$ac_exeext
78677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78678 (eval $ac_link) 2>conftest.er1
78679 ac_status=$?
78680 grep -v '^ *+' conftest.er1 >conftest.err
78681 rm -f conftest.er1
78682 cat conftest.err >&5
78683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78684 (exit $ac_status); } &&
78685 { ac_try='test -z "$ac_c_werror_flag"
78686 || test ! -s conftest.err'
78687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78688 (eval $ac_try) 2>&5
78689 ac_status=$?
78690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78691 (exit $ac_status); }; } &&
78692 { ac_try='test -s conftest$ac_exeext'
78693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78694 (eval $ac_try) 2>&5
78695 ac_status=$?
78696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78697 (exit $ac_status); }; }; then
78698 eval "$as_ac_var=yes"
78699 else
78700 echo "$as_me: failed program was:" >&5
78701 sed 's/^/| /' conftest.$ac_ext >&5
78703 eval "$as_ac_var=no"
78705 rm -f conftest.err conftest.$ac_objext \
78706 conftest$ac_exeext conftest.$ac_ext
78708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78710 if test `eval echo '${'$as_ac_var'}'` = yes; then
78711 cat >>confdefs.h <<_ACEOF
78712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78713 _ACEOF
78716 done
78718 else
78720 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
78721 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
78722 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
78723 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
78724 echo $ECHO_N "(cached) $ECHO_C" >&6
78725 else
78729 ac_ext=cc
78730 ac_cpp='$CXXCPP $CPPFLAGS'
78731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78735 cat >conftest.$ac_ext <<_ACEOF
78736 /* confdefs.h. */
78737 _ACEOF
78738 cat confdefs.h >>conftest.$ac_ext
78739 cat >>conftest.$ac_ext <<_ACEOF
78740 /* end confdefs.h. */
78741 #include <math.h>
78742 #ifdef HAVE_IEEEFP_H
78743 #include <ieeefp.h>
78744 #endif
78747 main ()
78749 _finitel(0);
78751 return 0;
78753 _ACEOF
78754 rm -f conftest.$ac_objext
78755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78756 (eval $ac_compile) 2>conftest.er1
78757 ac_status=$?
78758 grep -v '^ *+' conftest.er1 >conftest.err
78759 rm -f conftest.er1
78760 cat conftest.err >&5
78761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78762 (exit $ac_status); } &&
78763 { ac_try='test -z "$ac_cxx_werror_flag"
78764 || test ! -s conftest.err'
78765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78766 (eval $ac_try) 2>&5
78767 ac_status=$?
78768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78769 (exit $ac_status); }; } &&
78770 { ac_try='test -s conftest.$ac_objext'
78771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78772 (eval $ac_try) 2>&5
78773 ac_status=$?
78774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78775 (exit $ac_status); }; }; then
78776 glibcxx_cv_func__finitel_use=yes
78777 else
78778 echo "$as_me: failed program was:" >&5
78779 sed 's/^/| /' conftest.$ac_ext >&5
78781 glibcxx_cv_func__finitel_use=no
78783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78784 ac_ext=c
78785 ac_cpp='$CPP $CPPFLAGS'
78786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78794 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
78795 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
78797 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
78799 for ac_func in _finitel
78801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78802 echo "$as_me:$LINENO: checking for $ac_func" >&5
78803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78804 if eval "test \"\${$as_ac_var+set}\" = set"; then
78805 echo $ECHO_N "(cached) $ECHO_C" >&6
78806 else
78807 if test x$gcc_no_link = xyes; then
78808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78810 { (exit 1); exit 1; }; }
78812 cat >conftest.$ac_ext <<_ACEOF
78813 /* confdefs.h. */
78814 _ACEOF
78815 cat confdefs.h >>conftest.$ac_ext
78816 cat >>conftest.$ac_ext <<_ACEOF
78817 /* end confdefs.h. */
78818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78820 #define $ac_func innocuous_$ac_func
78822 /* System header to define __stub macros and hopefully few prototypes,
78823 which can conflict with char $ac_func (); below.
78824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78825 <limits.h> exists even on freestanding compilers. */
78827 #ifdef __STDC__
78828 # include <limits.h>
78829 #else
78830 # include <assert.h>
78831 #endif
78833 #undef $ac_func
78835 /* Override any gcc2 internal prototype to avoid an error. */
78836 #ifdef __cplusplus
78837 extern "C"
78839 #endif
78840 /* We use char because int might match the return type of a gcc2
78841 builtin and then its argument prototype would still apply. */
78842 char $ac_func ();
78843 /* The GNU C library defines this for functions which it implements
78844 to always fail with ENOSYS. Some functions are actually named
78845 something starting with __ and the normal name is an alias. */
78846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78847 choke me
78848 #else
78849 char (*f) () = $ac_func;
78850 #endif
78851 #ifdef __cplusplus
78853 #endif
78856 main ()
78858 return f != $ac_func;
78860 return 0;
78862 _ACEOF
78863 rm -f conftest.$ac_objext conftest$ac_exeext
78864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78865 (eval $ac_link) 2>conftest.er1
78866 ac_status=$?
78867 grep -v '^ *+' conftest.er1 >conftest.err
78868 rm -f conftest.er1
78869 cat conftest.err >&5
78870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78871 (exit $ac_status); } &&
78872 { ac_try='test -z "$ac_c_werror_flag"
78873 || test ! -s conftest.err'
78874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78875 (eval $ac_try) 2>&5
78876 ac_status=$?
78877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78878 (exit $ac_status); }; } &&
78879 { ac_try='test -s conftest$ac_exeext'
78880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78881 (eval $ac_try) 2>&5
78882 ac_status=$?
78883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78884 (exit $ac_status); }; }; then
78885 eval "$as_ac_var=yes"
78886 else
78887 echo "$as_me: failed program was:" >&5
78888 sed 's/^/| /' conftest.$ac_ext >&5
78890 eval "$as_ac_var=no"
78892 rm -f conftest.err conftest.$ac_objext \
78893 conftest$ac_exeext conftest.$ac_ext
78895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78897 if test `eval echo '${'$as_ac_var'}'` = yes; then
78898 cat >>confdefs.h <<_ACEOF
78899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78900 _ACEOF
78903 done
78912 LIBS="$ac_save_LIBS"
78913 CXXFLAGS="$ac_save_CXXFLAGS"
78917 echo "$as_me:$LINENO: checking for main in -lm" >&5
78918 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
78919 if test "${ac_cv_lib_m_main+set}" = set; then
78920 echo $ECHO_N "(cached) $ECHO_C" >&6
78921 else
78922 ac_check_lib_save_LIBS=$LIBS
78923 LIBS="-lm $LIBS"
78924 if test x$gcc_no_link = xyes; then
78925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78927 { (exit 1); exit 1; }; }
78929 cat >conftest.$ac_ext <<_ACEOF
78930 /* confdefs.h. */
78931 _ACEOF
78932 cat confdefs.h >>conftest.$ac_ext
78933 cat >>conftest.$ac_ext <<_ACEOF
78934 /* end confdefs.h. */
78938 main ()
78940 main ();
78942 return 0;
78944 _ACEOF
78945 rm -f conftest.$ac_objext conftest$ac_exeext
78946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78947 (eval $ac_link) 2>conftest.er1
78948 ac_status=$?
78949 grep -v '^ *+' conftest.er1 >conftest.err
78950 rm -f conftest.er1
78951 cat conftest.err >&5
78952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78953 (exit $ac_status); } &&
78954 { ac_try='test -z "$ac_c_werror_flag"
78955 || test ! -s conftest.err'
78956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78957 (eval $ac_try) 2>&5
78958 ac_status=$?
78959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78960 (exit $ac_status); }; } &&
78961 { ac_try='test -s conftest$ac_exeext'
78962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78963 (eval $ac_try) 2>&5
78964 ac_status=$?
78965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78966 (exit $ac_status); }; }; then
78967 ac_cv_lib_m_main=yes
78968 else
78969 echo "$as_me: failed program was:" >&5
78970 sed 's/^/| /' conftest.$ac_ext >&5
78972 ac_cv_lib_m_main=no
78974 rm -f conftest.err conftest.$ac_objext \
78975 conftest$ac_exeext conftest.$ac_ext
78976 LIBS=$ac_check_lib_save_LIBS
78978 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
78979 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
78980 if test $ac_cv_lib_m_main = yes; then
78981 cat >>confdefs.h <<_ACEOF
78982 #define HAVE_LIBM 1
78983 _ACEOF
78985 LIBS="-lm $LIBS"
78990 for ac_func in copysignf
78992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78993 echo "$as_me:$LINENO: checking for $ac_func" >&5
78994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78995 if eval "test \"\${$as_ac_var+set}\" = set"; then
78996 echo $ECHO_N "(cached) $ECHO_C" >&6
78997 else
78998 if test x$gcc_no_link = xyes; then
78999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79001 { (exit 1); exit 1; }; }
79003 cat >conftest.$ac_ext <<_ACEOF
79004 /* confdefs.h. */
79005 _ACEOF
79006 cat confdefs.h >>conftest.$ac_ext
79007 cat >>conftest.$ac_ext <<_ACEOF
79008 /* end confdefs.h. */
79009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79011 #define $ac_func innocuous_$ac_func
79013 /* System header to define __stub macros and hopefully few prototypes,
79014 which can conflict with char $ac_func (); below.
79015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79016 <limits.h> exists even on freestanding compilers. */
79018 #ifdef __STDC__
79019 # include <limits.h>
79020 #else
79021 # include <assert.h>
79022 #endif
79024 #undef $ac_func
79026 /* Override any gcc2 internal prototype to avoid an error. */
79027 #ifdef __cplusplus
79028 extern "C"
79030 #endif
79031 /* We use char because int might match the return type of a gcc2
79032 builtin and then its argument prototype would still apply. */
79033 char $ac_func ();
79034 /* The GNU C library defines this for functions which it implements
79035 to always fail with ENOSYS. Some functions are actually named
79036 something starting with __ and the normal name is an alias. */
79037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79038 choke me
79039 #else
79040 char (*f) () = $ac_func;
79041 #endif
79042 #ifdef __cplusplus
79044 #endif
79047 main ()
79049 return f != $ac_func;
79051 return 0;
79053 _ACEOF
79054 rm -f conftest.$ac_objext conftest$ac_exeext
79055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79056 (eval $ac_link) 2>conftest.er1
79057 ac_status=$?
79058 grep -v '^ *+' conftest.er1 >conftest.err
79059 rm -f conftest.er1
79060 cat conftest.err >&5
79061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79062 (exit $ac_status); } &&
79063 { ac_try='test -z "$ac_c_werror_flag"
79064 || test ! -s conftest.err'
79065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79066 (eval $ac_try) 2>&5
79067 ac_status=$?
79068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79069 (exit $ac_status); }; } &&
79070 { ac_try='test -s conftest$ac_exeext'
79071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79072 (eval $ac_try) 2>&5
79073 ac_status=$?
79074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79075 (exit $ac_status); }; }; then
79076 eval "$as_ac_var=yes"
79077 else
79078 echo "$as_me: failed program was:" >&5
79079 sed 's/^/| /' conftest.$ac_ext >&5
79081 eval "$as_ac_var=no"
79083 rm -f conftest.err conftest.$ac_objext \
79084 conftest$ac_exeext conftest.$ac_ext
79086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79088 if test `eval echo '${'$as_ac_var'}'` = yes; then
79089 cat >>confdefs.h <<_ACEOF
79090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79091 _ACEOF
79093 else
79094 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79096 done
79100 for ac_func in __signbit
79102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79103 echo "$as_me:$LINENO: checking for $ac_func" >&5
79104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79105 if eval "test \"\${$as_ac_var+set}\" = set"; then
79106 echo $ECHO_N "(cached) $ECHO_C" >&6
79107 else
79108 if test x$gcc_no_link = xyes; then
79109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79111 { (exit 1); exit 1; }; }
79113 cat >conftest.$ac_ext <<_ACEOF
79114 /* confdefs.h. */
79115 _ACEOF
79116 cat confdefs.h >>conftest.$ac_ext
79117 cat >>conftest.$ac_ext <<_ACEOF
79118 /* end confdefs.h. */
79119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79121 #define $ac_func innocuous_$ac_func
79123 /* System header to define __stub macros and hopefully few prototypes,
79124 which can conflict with char $ac_func (); below.
79125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79126 <limits.h> exists even on freestanding compilers. */
79128 #ifdef __STDC__
79129 # include <limits.h>
79130 #else
79131 # include <assert.h>
79132 #endif
79134 #undef $ac_func
79136 /* Override any gcc2 internal prototype to avoid an error. */
79137 #ifdef __cplusplus
79138 extern "C"
79140 #endif
79141 /* We use char because int might match the return type of a gcc2
79142 builtin and then its argument prototype would still apply. */
79143 char $ac_func ();
79144 /* The GNU C library defines this for functions which it implements
79145 to always fail with ENOSYS. Some functions are actually named
79146 something starting with __ and the normal name is an alias. */
79147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79148 choke me
79149 #else
79150 char (*f) () = $ac_func;
79151 #endif
79152 #ifdef __cplusplus
79154 #endif
79157 main ()
79159 return f != $ac_func;
79161 return 0;
79163 _ACEOF
79164 rm -f conftest.$ac_objext conftest$ac_exeext
79165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79166 (eval $ac_link) 2>conftest.er1
79167 ac_status=$?
79168 grep -v '^ *+' conftest.er1 >conftest.err
79169 rm -f conftest.er1
79170 cat conftest.err >&5
79171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79172 (exit $ac_status); } &&
79173 { ac_try='test -z "$ac_c_werror_flag"
79174 || test ! -s conftest.err'
79175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79176 (eval $ac_try) 2>&5
79177 ac_status=$?
79178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79179 (exit $ac_status); }; } &&
79180 { ac_try='test -s conftest$ac_exeext'
79181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79182 (eval $ac_try) 2>&5
79183 ac_status=$?
79184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79185 (exit $ac_status); }; }; then
79186 eval "$as_ac_var=yes"
79187 else
79188 echo "$as_me: failed program was:" >&5
79189 sed 's/^/| /' conftest.$ac_ext >&5
79191 eval "$as_ac_var=no"
79193 rm -f conftest.err conftest.$ac_objext \
79194 conftest$ac_exeext conftest.$ac_ext
79196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79198 if test `eval echo '${'$as_ac_var'}'` = yes; then
79199 cat >>confdefs.h <<_ACEOF
79200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79201 _ACEOF
79203 else
79204 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79206 done
79210 for ac_func in __signbitf
79212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79213 echo "$as_me:$LINENO: checking for $ac_func" >&5
79214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79215 if eval "test \"\${$as_ac_var+set}\" = set"; then
79216 echo $ECHO_N "(cached) $ECHO_C" >&6
79217 else
79218 if test x$gcc_no_link = xyes; then
79219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79221 { (exit 1); exit 1; }; }
79223 cat >conftest.$ac_ext <<_ACEOF
79224 /* confdefs.h. */
79225 _ACEOF
79226 cat confdefs.h >>conftest.$ac_ext
79227 cat >>conftest.$ac_ext <<_ACEOF
79228 /* end confdefs.h. */
79229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79231 #define $ac_func innocuous_$ac_func
79233 /* System header to define __stub macros and hopefully few prototypes,
79234 which can conflict with char $ac_func (); below.
79235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79236 <limits.h> exists even on freestanding compilers. */
79238 #ifdef __STDC__
79239 # include <limits.h>
79240 #else
79241 # include <assert.h>
79242 #endif
79244 #undef $ac_func
79246 /* Override any gcc2 internal prototype to avoid an error. */
79247 #ifdef __cplusplus
79248 extern "C"
79250 #endif
79251 /* We use char because int might match the return type of a gcc2
79252 builtin and then its argument prototype would still apply. */
79253 char $ac_func ();
79254 /* The GNU C library defines this for functions which it implements
79255 to always fail with ENOSYS. Some functions are actually named
79256 something starting with __ and the normal name is an alias. */
79257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79258 choke me
79259 #else
79260 char (*f) () = $ac_func;
79261 #endif
79262 #ifdef __cplusplus
79264 #endif
79267 main ()
79269 return f != $ac_func;
79271 return 0;
79273 _ACEOF
79274 rm -f conftest.$ac_objext conftest$ac_exeext
79275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79276 (eval $ac_link) 2>conftest.er1
79277 ac_status=$?
79278 grep -v '^ *+' conftest.er1 >conftest.err
79279 rm -f conftest.er1
79280 cat conftest.err >&5
79281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79282 (exit $ac_status); } &&
79283 { ac_try='test -z "$ac_c_werror_flag"
79284 || test ! -s conftest.err'
79285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79286 (eval $ac_try) 2>&5
79287 ac_status=$?
79288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79289 (exit $ac_status); }; } &&
79290 { ac_try='test -s conftest$ac_exeext'
79291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79292 (eval $ac_try) 2>&5
79293 ac_status=$?
79294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79295 (exit $ac_status); }; }; then
79296 eval "$as_ac_var=yes"
79297 else
79298 echo "$as_me: failed program was:" >&5
79299 sed 's/^/| /' conftest.$ac_ext >&5
79301 eval "$as_ac_var=no"
79303 rm -f conftest.err conftest.$ac_objext \
79304 conftest$ac_exeext conftest.$ac_ext
79306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79308 if test `eval echo '${'$as_ac_var'}'` = yes; then
79309 cat >>confdefs.h <<_ACEOF
79310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79311 _ACEOF
79313 else
79314 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79316 done
79319 if test x$ac_cv_func_copysignl = x"yes"; then
79321 for ac_func in __signbitl
79323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79324 echo "$as_me:$LINENO: checking for $ac_func" >&5
79325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79326 if eval "test \"\${$as_ac_var+set}\" = set"; then
79327 echo $ECHO_N "(cached) $ECHO_C" >&6
79328 else
79329 if test x$gcc_no_link = xyes; then
79330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79332 { (exit 1); exit 1; }; }
79334 cat >conftest.$ac_ext <<_ACEOF
79335 /* confdefs.h. */
79336 _ACEOF
79337 cat confdefs.h >>conftest.$ac_ext
79338 cat >>conftest.$ac_ext <<_ACEOF
79339 /* end confdefs.h. */
79340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79342 #define $ac_func innocuous_$ac_func
79344 /* System header to define __stub macros and hopefully few prototypes,
79345 which can conflict with char $ac_func (); below.
79346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79347 <limits.h> exists even on freestanding compilers. */
79349 #ifdef __STDC__
79350 # include <limits.h>
79351 #else
79352 # include <assert.h>
79353 #endif
79355 #undef $ac_func
79357 /* Override any gcc2 internal prototype to avoid an error. */
79358 #ifdef __cplusplus
79359 extern "C"
79361 #endif
79362 /* We use char because int might match the return type of a gcc2
79363 builtin and then its argument prototype would still apply. */
79364 char $ac_func ();
79365 /* The GNU C library defines this for functions which it implements
79366 to always fail with ENOSYS. Some functions are actually named
79367 something starting with __ and the normal name is an alias. */
79368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79369 choke me
79370 #else
79371 char (*f) () = $ac_func;
79372 #endif
79373 #ifdef __cplusplus
79375 #endif
79378 main ()
79380 return f != $ac_func;
79382 return 0;
79384 _ACEOF
79385 rm -f conftest.$ac_objext conftest$ac_exeext
79386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79387 (eval $ac_link) 2>conftest.er1
79388 ac_status=$?
79389 grep -v '^ *+' conftest.er1 >conftest.err
79390 rm -f conftest.er1
79391 cat conftest.err >&5
79392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79393 (exit $ac_status); } &&
79394 { ac_try='test -z "$ac_c_werror_flag"
79395 || test ! -s conftest.err'
79396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79397 (eval $ac_try) 2>&5
79398 ac_status=$?
79399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79400 (exit $ac_status); }; } &&
79401 { ac_try='test -s conftest$ac_exeext'
79402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79403 (eval $ac_try) 2>&5
79404 ac_status=$?
79405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79406 (exit $ac_status); }; }; then
79407 eval "$as_ac_var=yes"
79408 else
79409 echo "$as_me: failed program was:" >&5
79410 sed 's/^/| /' conftest.$ac_ext >&5
79412 eval "$as_ac_var=no"
79414 rm -f conftest.err conftest.$ac_objext \
79415 conftest$ac_exeext conftest.$ac_ext
79417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79419 if test `eval echo '${'$as_ac_var'}'` = yes; then
79420 cat >>confdefs.h <<_ACEOF
79421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79422 _ACEOF
79424 else
79425 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79427 done
79431 # Used in libmath/Makefile.am.
79432 if test -n "$LIBMATHOBJS"; then
79433 need_libmath=yes
79438 ac_test_CXXFLAGS="${CXXFLAGS+set}"
79439 ac_save_CXXFLAGS="$CXXFLAGS"
79440 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
79443 echo "$as_me:$LINENO: checking for strtold declaration" >&5
79444 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
79445 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
79446 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
79447 echo $ECHO_N "(cached) $ECHO_C" >&6
79448 else
79452 ac_ext=cc
79453 ac_cpp='$CXXCPP $CPPFLAGS'
79454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79458 cat >conftest.$ac_ext <<_ACEOF
79459 /* confdefs.h. */
79460 _ACEOF
79461 cat confdefs.h >>conftest.$ac_ext
79462 cat >>conftest.$ac_ext <<_ACEOF
79463 /* end confdefs.h. */
79464 #include <stdlib.h>
79466 main ()
79468 strtold(0, 0);
79470 return 0;
79472 _ACEOF
79473 rm -f conftest.$ac_objext
79474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79475 (eval $ac_compile) 2>conftest.er1
79476 ac_status=$?
79477 grep -v '^ *+' conftest.er1 >conftest.err
79478 rm -f conftest.er1
79479 cat conftest.err >&5
79480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79481 (exit $ac_status); } &&
79482 { ac_try='test -z "$ac_cxx_werror_flag"
79483 || test ! -s conftest.err'
79484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79485 (eval $ac_try) 2>&5
79486 ac_status=$?
79487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79488 (exit $ac_status); }; } &&
79489 { ac_try='test -s conftest.$ac_objext'
79490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79491 (eval $ac_try) 2>&5
79492 ac_status=$?
79493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79494 (exit $ac_status); }; }; then
79495 glibcxx_cv_func_strtold_use=yes
79496 else
79497 echo "$as_me: failed program was:" >&5
79498 sed 's/^/| /' conftest.$ac_ext >&5
79500 glibcxx_cv_func_strtold_use=no
79502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79503 ac_ext=c
79504 ac_cpp='$CPP $CPPFLAGS'
79505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79513 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
79514 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
79515 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
79517 for ac_func in strtold
79519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79520 echo "$as_me:$LINENO: checking for $ac_func" >&5
79521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79522 if eval "test \"\${$as_ac_var+set}\" = set"; then
79523 echo $ECHO_N "(cached) $ECHO_C" >&6
79524 else
79525 if test x$gcc_no_link = xyes; then
79526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79528 { (exit 1); exit 1; }; }
79530 cat >conftest.$ac_ext <<_ACEOF
79531 /* confdefs.h. */
79532 _ACEOF
79533 cat confdefs.h >>conftest.$ac_ext
79534 cat >>conftest.$ac_ext <<_ACEOF
79535 /* end confdefs.h. */
79536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79538 #define $ac_func innocuous_$ac_func
79540 /* System header to define __stub macros and hopefully few prototypes,
79541 which can conflict with char $ac_func (); below.
79542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79543 <limits.h> exists even on freestanding compilers. */
79545 #ifdef __STDC__
79546 # include <limits.h>
79547 #else
79548 # include <assert.h>
79549 #endif
79551 #undef $ac_func
79553 /* Override any gcc2 internal prototype to avoid an error. */
79554 #ifdef __cplusplus
79555 extern "C"
79557 #endif
79558 /* We use char because int might match the return type of a gcc2
79559 builtin and then its argument prototype would still apply. */
79560 char $ac_func ();
79561 /* The GNU C library defines this for functions which it implements
79562 to always fail with ENOSYS. Some functions are actually named
79563 something starting with __ and the normal name is an alias. */
79564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79565 choke me
79566 #else
79567 char (*f) () = $ac_func;
79568 #endif
79569 #ifdef __cplusplus
79571 #endif
79574 main ()
79576 return f != $ac_func;
79578 return 0;
79580 _ACEOF
79581 rm -f conftest.$ac_objext conftest$ac_exeext
79582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79583 (eval $ac_link) 2>conftest.er1
79584 ac_status=$?
79585 grep -v '^ *+' conftest.er1 >conftest.err
79586 rm -f conftest.er1
79587 cat conftest.err >&5
79588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79589 (exit $ac_status); } &&
79590 { ac_try='test -z "$ac_c_werror_flag"
79591 || test ! -s conftest.err'
79592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79593 (eval $ac_try) 2>&5
79594 ac_status=$?
79595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79596 (exit $ac_status); }; } &&
79597 { ac_try='test -s conftest$ac_exeext'
79598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79599 (eval $ac_try) 2>&5
79600 ac_status=$?
79601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79602 (exit $ac_status); }; }; then
79603 eval "$as_ac_var=yes"
79604 else
79605 echo "$as_me: failed program was:" >&5
79606 sed 's/^/| /' conftest.$ac_ext >&5
79608 eval "$as_ac_var=no"
79610 rm -f conftest.err conftest.$ac_objext \
79611 conftest$ac_exeext conftest.$ac_ext
79613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79615 if test `eval echo '${'$as_ac_var'}'` = yes; then
79616 cat >>confdefs.h <<_ACEOF
79617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79618 _ACEOF
79621 done
79629 echo "$as_me:$LINENO: checking for strtof declaration" >&5
79630 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
79631 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
79632 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
79633 echo $ECHO_N "(cached) $ECHO_C" >&6
79634 else
79638 ac_ext=cc
79639 ac_cpp='$CXXCPP $CPPFLAGS'
79640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79644 cat >conftest.$ac_ext <<_ACEOF
79645 /* confdefs.h. */
79646 _ACEOF
79647 cat confdefs.h >>conftest.$ac_ext
79648 cat >>conftest.$ac_ext <<_ACEOF
79649 /* end confdefs.h. */
79650 #include <stdlib.h>
79652 main ()
79654 strtof(0, 0);
79656 return 0;
79658 _ACEOF
79659 rm -f conftest.$ac_objext
79660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79661 (eval $ac_compile) 2>conftest.er1
79662 ac_status=$?
79663 grep -v '^ *+' conftest.er1 >conftest.err
79664 rm -f conftest.er1
79665 cat conftest.err >&5
79666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79667 (exit $ac_status); } &&
79668 { ac_try='test -z "$ac_cxx_werror_flag"
79669 || test ! -s conftest.err'
79670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79671 (eval $ac_try) 2>&5
79672 ac_status=$?
79673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79674 (exit $ac_status); }; } &&
79675 { ac_try='test -s conftest.$ac_objext'
79676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79677 (eval $ac_try) 2>&5
79678 ac_status=$?
79679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79680 (exit $ac_status); }; }; then
79681 glibcxx_cv_func_strtof_use=yes
79682 else
79683 echo "$as_me: failed program was:" >&5
79684 sed 's/^/| /' conftest.$ac_ext >&5
79686 glibcxx_cv_func_strtof_use=no
79688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79689 ac_ext=c
79690 ac_cpp='$CPP $CPPFLAGS'
79691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79699 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
79700 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
79701 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
79703 for ac_func in strtof
79705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79706 echo "$as_me:$LINENO: checking for $ac_func" >&5
79707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79708 if eval "test \"\${$as_ac_var+set}\" = set"; then
79709 echo $ECHO_N "(cached) $ECHO_C" >&6
79710 else
79711 if test x$gcc_no_link = xyes; then
79712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79714 { (exit 1); exit 1; }; }
79716 cat >conftest.$ac_ext <<_ACEOF
79717 /* confdefs.h. */
79718 _ACEOF
79719 cat confdefs.h >>conftest.$ac_ext
79720 cat >>conftest.$ac_ext <<_ACEOF
79721 /* end confdefs.h. */
79722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79724 #define $ac_func innocuous_$ac_func
79726 /* System header to define __stub macros and hopefully few prototypes,
79727 which can conflict with char $ac_func (); below.
79728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79729 <limits.h> exists even on freestanding compilers. */
79731 #ifdef __STDC__
79732 # include <limits.h>
79733 #else
79734 # include <assert.h>
79735 #endif
79737 #undef $ac_func
79739 /* Override any gcc2 internal prototype to avoid an error. */
79740 #ifdef __cplusplus
79741 extern "C"
79743 #endif
79744 /* We use char because int might match the return type of a gcc2
79745 builtin and then its argument prototype would still apply. */
79746 char $ac_func ();
79747 /* The GNU C library defines this for functions which it implements
79748 to always fail with ENOSYS. Some functions are actually named
79749 something starting with __ and the normal name is an alias. */
79750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79751 choke me
79752 #else
79753 char (*f) () = $ac_func;
79754 #endif
79755 #ifdef __cplusplus
79757 #endif
79760 main ()
79762 return f != $ac_func;
79764 return 0;
79766 _ACEOF
79767 rm -f conftest.$ac_objext conftest$ac_exeext
79768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79769 (eval $ac_link) 2>conftest.er1
79770 ac_status=$?
79771 grep -v '^ *+' conftest.er1 >conftest.err
79772 rm -f conftest.er1
79773 cat conftest.err >&5
79774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79775 (exit $ac_status); } &&
79776 { ac_try='test -z "$ac_c_werror_flag"
79777 || test ! -s conftest.err'
79778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79779 (eval $ac_try) 2>&5
79780 ac_status=$?
79781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79782 (exit $ac_status); }; } &&
79783 { ac_try='test -s conftest$ac_exeext'
79784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79785 (eval $ac_try) 2>&5
79786 ac_status=$?
79787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79788 (exit $ac_status); }; }; then
79789 eval "$as_ac_var=yes"
79790 else
79791 echo "$as_me: failed program was:" >&5
79792 sed 's/^/| /' conftest.$ac_ext >&5
79794 eval "$as_ac_var=no"
79796 rm -f conftest.err conftest.$ac_objext \
79797 conftest$ac_exeext conftest.$ac_ext
79799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79801 if test `eval echo '${'$as_ac_var'}'` = yes; then
79802 cat >>confdefs.h <<_ACEOF
79803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79804 _ACEOF
79807 done
79815 CXXFLAGS="$ac_save_CXXFLAGS"
79819 *djgpp)
79820 # GLIBCXX_CHECK_MATH_SUPPORT
79821 cat >>confdefs.h <<\_ACEOF
79822 #define HAVE_LIBM 1
79823 _ACEOF
79825 cat >>confdefs.h <<\_ACEOF
79826 #define HAVE_ISINF 1
79827 _ACEOF
79829 cat >>confdefs.h <<\_ACEOF
79830 #define HAVE_ISNAN 1
79831 _ACEOF
79833 cat >>confdefs.h <<\_ACEOF
79834 #define HAVE_FINITE 1
79835 _ACEOF
79837 cat >>confdefs.h <<\_ACEOF
79838 #define HAVE_COPYSIGN 1
79839 _ACEOF
79841 cat >>confdefs.h <<\_ACEOF
79842 #define HAVE_SINCOS 1
79843 _ACEOF
79845 cat >>confdefs.h <<\_ACEOF
79846 #define HAVE_HYPOT 1
79847 _ACEOF
79849 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
79850 # GLIBCXX_CHECK_STDLIB_SUPPORT
79851 cat >>confdefs.h <<\_ACEOF
79852 #define HAVE_COPYSIGN 1
79853 _ACEOF
79855 cat >>confdefs.h <<\_ACEOF
79856 #define HAVE_COPYSIGNF 1
79857 _ACEOF
79861 *-freebsd*)
79862 SECTION_FLAGS='-ffunction-sections -fdata-sections'
79865 # If we're not using GNU ld, then there's no point in even trying these
79866 # tests. Check for that first. We should have already tested for gld
79867 # by now (in libtool), but require it now just to be safe...
79868 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79869 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79873 # The name set by libtool depends on the version of libtool. Shame on us
79874 # for depending on an impl detail, but c'est la vie. Older versions used
79875 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79876 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79877 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79878 # set (hence we're using an older libtool), then set it.
79879 if test x${with_gnu_ld+set} != xset; then
79880 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79881 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79882 with_gnu_ld=no
79883 else
79884 with_gnu_ld=$ac_cv_prog_gnu_ld
79888 # Start by getting the version number. I think the libtool test already
79889 # does some of this, but throws away the result.
79890 glibcxx_ld_is_gold=no
79891 if test x"$with_gnu_ld" = x"yes"; then
79892 echo "$as_me:$LINENO: checking for ld version" >&5
79893 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
79895 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
79896 glibcxx_ld_is_gold=yes
79898 ldver=`$LD --version 2>/dev/null | head -1 | \
79899 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
79901 glibcxx_gnu_ld_version=`echo $ldver | \
79902 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79903 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
79904 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
79907 # Set --gc-sections.
79908 glibcxx_have_gc_sections=no
79909 if test "$glibcxx_ld_is_gold" = "yes"; then
79910 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
79911 glibcxx_have_gc_sections=yes
79913 else
79914 glibcxx_gcsections_min_ld=21602
79915 if test x"$with_gnu_ld" = x"yes" &&
79916 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
79917 glibcxx_have_gc_sections=yes
79920 if test "$glibcxx_have_gc_sections" = "yes"; then
79921 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
79922 # NB: This flag only works reliably after 2.16.1. Configure tests
79923 # for this are difficult, so hard wire a value that should work.
79925 ac_test_CFLAGS="${CFLAGS+set}"
79926 ac_save_CFLAGS="$CFLAGS"
79927 CFLAGS='-Wl,--gc-sections'
79929 # Check for -Wl,--gc-sections
79930 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79931 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79932 if test x$gcc_no_link = xyes; then
79933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79935 { (exit 1); exit 1; }; }
79937 cat >conftest.$ac_ext <<_ACEOF
79938 /* confdefs.h. */
79939 _ACEOF
79940 cat confdefs.h >>conftest.$ac_ext
79941 cat >>conftest.$ac_ext <<_ACEOF
79942 /* end confdefs.h. */
79943 int one(void) { return 1; }
79944 int two(void) { return 2; }
79947 main ()
79949 two();
79951 return 0;
79953 _ACEOF
79954 rm -f conftest.$ac_objext conftest$ac_exeext
79955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79956 (eval $ac_link) 2>conftest.er1
79957 ac_status=$?
79958 grep -v '^ *+' conftest.er1 >conftest.err
79959 rm -f conftest.er1
79960 cat conftest.err >&5
79961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79962 (exit $ac_status); } &&
79963 { ac_try='test -z "$ac_c_werror_flag"
79964 || test ! -s conftest.err'
79965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79966 (eval $ac_try) 2>&5
79967 ac_status=$?
79968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79969 (exit $ac_status); }; } &&
79970 { ac_try='test -s conftest$ac_exeext'
79971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79972 (eval $ac_try) 2>&5
79973 ac_status=$?
79974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79975 (exit $ac_status); }; }; then
79976 ac_gcsections=yes
79977 else
79978 echo "$as_me: failed program was:" >&5
79979 sed 's/^/| /' conftest.$ac_ext >&5
79981 ac_gcsections=no
79983 rm -f conftest.err conftest.$ac_objext \
79984 conftest$ac_exeext conftest.$ac_ext
79985 if test "$ac_gcsections" = "yes"; then
79986 rm -f conftest.c
79987 touch conftest.c
79988 if $CC -c conftest.c; then
79989 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
79990 grep "Warning: gc-sections option ignored" > /dev/null; then
79991 ac_gcsections=no
79994 rm -f conftest.c conftest.o conftest
79996 if test "$ac_gcsections" = "yes"; then
79997 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79999 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
80000 echo "${ECHO_T}$ac_gcsections" >&6
80002 if test "$ac_test_CFLAGS" = set; then
80003 CFLAGS="$ac_save_CFLAGS"
80004 else
80005 # this is the suspicious part
80006 CFLAGS=''
80010 # Set -z,relro.
80011 # Note this is only for shared objects.
80012 ac_ld_relro=no
80013 if test x"$with_gnu_ld" = x"yes"; then
80014 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
80015 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
80016 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
80017 if test -n "$cxx_z_relo"; then
80018 OPT_LDFLAGS="-Wl,-z,relro"
80019 ac_ld_relro=yes
80021 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
80022 echo "${ECHO_T}$ac_ld_relro" >&6
80025 # Set linker optimization flags.
80026 if test x"$with_gnu_ld" = x"yes"; then
80027 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80035 echo "$as_me:$LINENO: checking for main in -lm" >&5
80036 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80037 if test "${ac_cv_lib_m_main+set}" = set; then
80038 echo $ECHO_N "(cached) $ECHO_C" >&6
80039 else
80040 ac_check_lib_save_LIBS=$LIBS
80041 LIBS="-lm $LIBS"
80042 if test x$gcc_no_link = xyes; then
80043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80045 { (exit 1); exit 1; }; }
80047 cat >conftest.$ac_ext <<_ACEOF
80048 /* confdefs.h. */
80049 _ACEOF
80050 cat confdefs.h >>conftest.$ac_ext
80051 cat >>conftest.$ac_ext <<_ACEOF
80052 /* end confdefs.h. */
80056 main ()
80058 main ();
80060 return 0;
80062 _ACEOF
80063 rm -f conftest.$ac_objext conftest$ac_exeext
80064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80065 (eval $ac_link) 2>conftest.er1
80066 ac_status=$?
80067 grep -v '^ *+' conftest.er1 >conftest.err
80068 rm -f conftest.er1
80069 cat conftest.err >&5
80070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80071 (exit $ac_status); } &&
80072 { ac_try='test -z "$ac_c_werror_flag"
80073 || test ! -s conftest.err'
80074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80075 (eval $ac_try) 2>&5
80076 ac_status=$?
80077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80078 (exit $ac_status); }; } &&
80079 { ac_try='test -s conftest$ac_exeext'
80080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80081 (eval $ac_try) 2>&5
80082 ac_status=$?
80083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80084 (exit $ac_status); }; }; then
80085 ac_cv_lib_m_main=yes
80086 else
80087 echo "$as_me: failed program was:" >&5
80088 sed 's/^/| /' conftest.$ac_ext >&5
80090 ac_cv_lib_m_main=no
80092 rm -f conftest.err conftest.$ac_objext \
80093 conftest$ac_exeext conftest.$ac_ext
80094 LIBS=$ac_check_lib_save_LIBS
80096 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80097 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80098 if test $ac_cv_lib_m_main = yes; then
80099 cat >>confdefs.h <<_ACEOF
80100 #define HAVE_LIBM 1
80101 _ACEOF
80103 LIBS="-lm $LIBS"
80108 for ac_func in copysignf
80110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80111 echo "$as_me:$LINENO: checking for $ac_func" >&5
80112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80113 if eval "test \"\${$as_ac_var+set}\" = set"; then
80114 echo $ECHO_N "(cached) $ECHO_C" >&6
80115 else
80116 if test x$gcc_no_link = xyes; then
80117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80119 { (exit 1); exit 1; }; }
80121 cat >conftest.$ac_ext <<_ACEOF
80122 /* confdefs.h. */
80123 _ACEOF
80124 cat confdefs.h >>conftest.$ac_ext
80125 cat >>conftest.$ac_ext <<_ACEOF
80126 /* end confdefs.h. */
80127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80129 #define $ac_func innocuous_$ac_func
80131 /* System header to define __stub macros and hopefully few prototypes,
80132 which can conflict with char $ac_func (); below.
80133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80134 <limits.h> exists even on freestanding compilers. */
80136 #ifdef __STDC__
80137 # include <limits.h>
80138 #else
80139 # include <assert.h>
80140 #endif
80142 #undef $ac_func
80144 /* Override any gcc2 internal prototype to avoid an error. */
80145 #ifdef __cplusplus
80146 extern "C"
80148 #endif
80149 /* We use char because int might match the return type of a gcc2
80150 builtin and then its argument prototype would still apply. */
80151 char $ac_func ();
80152 /* The GNU C library defines this for functions which it implements
80153 to always fail with ENOSYS. Some functions are actually named
80154 something starting with __ and the normal name is an alias. */
80155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80156 choke me
80157 #else
80158 char (*f) () = $ac_func;
80159 #endif
80160 #ifdef __cplusplus
80162 #endif
80165 main ()
80167 return f != $ac_func;
80169 return 0;
80171 _ACEOF
80172 rm -f conftest.$ac_objext conftest$ac_exeext
80173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80174 (eval $ac_link) 2>conftest.er1
80175 ac_status=$?
80176 grep -v '^ *+' conftest.er1 >conftest.err
80177 rm -f conftest.er1
80178 cat conftest.err >&5
80179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80180 (exit $ac_status); } &&
80181 { ac_try='test -z "$ac_c_werror_flag"
80182 || test ! -s conftest.err'
80183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80184 (eval $ac_try) 2>&5
80185 ac_status=$?
80186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80187 (exit $ac_status); }; } &&
80188 { ac_try='test -s conftest$ac_exeext'
80189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80190 (eval $ac_try) 2>&5
80191 ac_status=$?
80192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80193 (exit $ac_status); }; }; then
80194 eval "$as_ac_var=yes"
80195 else
80196 echo "$as_me: failed program was:" >&5
80197 sed 's/^/| /' conftest.$ac_ext >&5
80199 eval "$as_ac_var=no"
80201 rm -f conftest.err conftest.$ac_objext \
80202 conftest$ac_exeext conftest.$ac_ext
80204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80206 if test `eval echo '${'$as_ac_var'}'` = yes; then
80207 cat >>confdefs.h <<_ACEOF
80208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80209 _ACEOF
80211 else
80212 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80214 done
80218 for ac_func in __signbit
80220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80221 echo "$as_me:$LINENO: checking for $ac_func" >&5
80222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80223 if eval "test \"\${$as_ac_var+set}\" = set"; then
80224 echo $ECHO_N "(cached) $ECHO_C" >&6
80225 else
80226 if test x$gcc_no_link = xyes; then
80227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80229 { (exit 1); exit 1; }; }
80231 cat >conftest.$ac_ext <<_ACEOF
80232 /* confdefs.h. */
80233 _ACEOF
80234 cat confdefs.h >>conftest.$ac_ext
80235 cat >>conftest.$ac_ext <<_ACEOF
80236 /* end confdefs.h. */
80237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80239 #define $ac_func innocuous_$ac_func
80241 /* System header to define __stub macros and hopefully few prototypes,
80242 which can conflict with char $ac_func (); below.
80243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80244 <limits.h> exists even on freestanding compilers. */
80246 #ifdef __STDC__
80247 # include <limits.h>
80248 #else
80249 # include <assert.h>
80250 #endif
80252 #undef $ac_func
80254 /* Override any gcc2 internal prototype to avoid an error. */
80255 #ifdef __cplusplus
80256 extern "C"
80258 #endif
80259 /* We use char because int might match the return type of a gcc2
80260 builtin and then its argument prototype would still apply. */
80261 char $ac_func ();
80262 /* The GNU C library defines this for functions which it implements
80263 to always fail with ENOSYS. Some functions are actually named
80264 something starting with __ and the normal name is an alias. */
80265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80266 choke me
80267 #else
80268 char (*f) () = $ac_func;
80269 #endif
80270 #ifdef __cplusplus
80272 #endif
80275 main ()
80277 return f != $ac_func;
80279 return 0;
80281 _ACEOF
80282 rm -f conftest.$ac_objext conftest$ac_exeext
80283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80284 (eval $ac_link) 2>conftest.er1
80285 ac_status=$?
80286 grep -v '^ *+' conftest.er1 >conftest.err
80287 rm -f conftest.er1
80288 cat conftest.err >&5
80289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80290 (exit $ac_status); } &&
80291 { ac_try='test -z "$ac_c_werror_flag"
80292 || test ! -s conftest.err'
80293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80294 (eval $ac_try) 2>&5
80295 ac_status=$?
80296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80297 (exit $ac_status); }; } &&
80298 { ac_try='test -s conftest$ac_exeext'
80299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80300 (eval $ac_try) 2>&5
80301 ac_status=$?
80302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80303 (exit $ac_status); }; }; then
80304 eval "$as_ac_var=yes"
80305 else
80306 echo "$as_me: failed program was:" >&5
80307 sed 's/^/| /' conftest.$ac_ext >&5
80309 eval "$as_ac_var=no"
80311 rm -f conftest.err conftest.$ac_objext \
80312 conftest$ac_exeext conftest.$ac_ext
80314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80316 if test `eval echo '${'$as_ac_var'}'` = yes; then
80317 cat >>confdefs.h <<_ACEOF
80318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80319 _ACEOF
80321 else
80322 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80324 done
80328 for ac_func in __signbitf
80330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80331 echo "$as_me:$LINENO: checking for $ac_func" >&5
80332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80333 if eval "test \"\${$as_ac_var+set}\" = set"; then
80334 echo $ECHO_N "(cached) $ECHO_C" >&6
80335 else
80336 if test x$gcc_no_link = xyes; then
80337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80339 { (exit 1); exit 1; }; }
80341 cat >conftest.$ac_ext <<_ACEOF
80342 /* confdefs.h. */
80343 _ACEOF
80344 cat confdefs.h >>conftest.$ac_ext
80345 cat >>conftest.$ac_ext <<_ACEOF
80346 /* end confdefs.h. */
80347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80349 #define $ac_func innocuous_$ac_func
80351 /* System header to define __stub macros and hopefully few prototypes,
80352 which can conflict with char $ac_func (); below.
80353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80354 <limits.h> exists even on freestanding compilers. */
80356 #ifdef __STDC__
80357 # include <limits.h>
80358 #else
80359 # include <assert.h>
80360 #endif
80362 #undef $ac_func
80364 /* Override any gcc2 internal prototype to avoid an error. */
80365 #ifdef __cplusplus
80366 extern "C"
80368 #endif
80369 /* We use char because int might match the return type of a gcc2
80370 builtin and then its argument prototype would still apply. */
80371 char $ac_func ();
80372 /* The GNU C library defines this for functions which it implements
80373 to always fail with ENOSYS. Some functions are actually named
80374 something starting with __ and the normal name is an alias. */
80375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80376 choke me
80377 #else
80378 char (*f) () = $ac_func;
80379 #endif
80380 #ifdef __cplusplus
80382 #endif
80385 main ()
80387 return f != $ac_func;
80389 return 0;
80391 _ACEOF
80392 rm -f conftest.$ac_objext conftest$ac_exeext
80393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80394 (eval $ac_link) 2>conftest.er1
80395 ac_status=$?
80396 grep -v '^ *+' conftest.er1 >conftest.err
80397 rm -f conftest.er1
80398 cat conftest.err >&5
80399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80400 (exit $ac_status); } &&
80401 { ac_try='test -z "$ac_c_werror_flag"
80402 || test ! -s conftest.err'
80403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80404 (eval $ac_try) 2>&5
80405 ac_status=$?
80406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80407 (exit $ac_status); }; } &&
80408 { ac_try='test -s conftest$ac_exeext'
80409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80410 (eval $ac_try) 2>&5
80411 ac_status=$?
80412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80413 (exit $ac_status); }; }; then
80414 eval "$as_ac_var=yes"
80415 else
80416 echo "$as_me: failed program was:" >&5
80417 sed 's/^/| /' conftest.$ac_ext >&5
80419 eval "$as_ac_var=no"
80421 rm -f conftest.err conftest.$ac_objext \
80422 conftest$ac_exeext conftest.$ac_ext
80424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80426 if test `eval echo '${'$as_ac_var'}'` = yes; then
80427 cat >>confdefs.h <<_ACEOF
80428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80429 _ACEOF
80431 else
80432 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80434 done
80437 if test x$ac_cv_func_copysignl = x"yes"; then
80439 for ac_func in __signbitl
80441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80442 echo "$as_me:$LINENO: checking for $ac_func" >&5
80443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80444 if eval "test \"\${$as_ac_var+set}\" = set"; then
80445 echo $ECHO_N "(cached) $ECHO_C" >&6
80446 else
80447 if test x$gcc_no_link = xyes; then
80448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80450 { (exit 1); exit 1; }; }
80452 cat >conftest.$ac_ext <<_ACEOF
80453 /* confdefs.h. */
80454 _ACEOF
80455 cat confdefs.h >>conftest.$ac_ext
80456 cat >>conftest.$ac_ext <<_ACEOF
80457 /* end confdefs.h. */
80458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80460 #define $ac_func innocuous_$ac_func
80462 /* System header to define __stub macros and hopefully few prototypes,
80463 which can conflict with char $ac_func (); below.
80464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80465 <limits.h> exists even on freestanding compilers. */
80467 #ifdef __STDC__
80468 # include <limits.h>
80469 #else
80470 # include <assert.h>
80471 #endif
80473 #undef $ac_func
80475 /* Override any gcc2 internal prototype to avoid an error. */
80476 #ifdef __cplusplus
80477 extern "C"
80479 #endif
80480 /* We use char because int might match the return type of a gcc2
80481 builtin and then its argument prototype would still apply. */
80482 char $ac_func ();
80483 /* The GNU C library defines this for functions which it implements
80484 to always fail with ENOSYS. Some functions are actually named
80485 something starting with __ and the normal name is an alias. */
80486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80487 choke me
80488 #else
80489 char (*f) () = $ac_func;
80490 #endif
80491 #ifdef __cplusplus
80493 #endif
80496 main ()
80498 return f != $ac_func;
80500 return 0;
80502 _ACEOF
80503 rm -f conftest.$ac_objext conftest$ac_exeext
80504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80505 (eval $ac_link) 2>conftest.er1
80506 ac_status=$?
80507 grep -v '^ *+' conftest.er1 >conftest.err
80508 rm -f conftest.er1
80509 cat conftest.err >&5
80510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80511 (exit $ac_status); } &&
80512 { ac_try='test -z "$ac_c_werror_flag"
80513 || test ! -s conftest.err'
80514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80515 (eval $ac_try) 2>&5
80516 ac_status=$?
80517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80518 (exit $ac_status); }; } &&
80519 { ac_try='test -s conftest$ac_exeext'
80520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80521 (eval $ac_try) 2>&5
80522 ac_status=$?
80523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80524 (exit $ac_status); }; }; then
80525 eval "$as_ac_var=yes"
80526 else
80527 echo "$as_me: failed program was:" >&5
80528 sed 's/^/| /' conftest.$ac_ext >&5
80530 eval "$as_ac_var=no"
80532 rm -f conftest.err conftest.$ac_objext \
80533 conftest$ac_exeext conftest.$ac_ext
80535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80537 if test `eval echo '${'$as_ac_var'}'` = yes; then
80538 cat >>confdefs.h <<_ACEOF
80539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80540 _ACEOF
80542 else
80543 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80545 done
80549 # Used in libmath/Makefile.am.
80550 if test -n "$LIBMATHOBJS"; then
80551 need_libmath=yes
80555 cat >>confdefs.h <<\_ACEOF
80556 #define HAVE_SETENV 1
80557 _ACEOF
80559 cat >>confdefs.h <<\_ACEOF
80560 #define HAVE_COPYSIGN 1
80561 _ACEOF
80563 cat >>confdefs.h <<\_ACEOF
80564 #define HAVE_COPYSIGNF 1
80565 _ACEOF
80567 cat >>confdefs.h <<\_ACEOF
80568 #define HAVE_FINITEF 1
80569 _ACEOF
80571 cat >>confdefs.h <<\_ACEOF
80572 #define HAVE_FINITE 1
80573 _ACEOF
80575 cat >>confdefs.h <<\_ACEOF
80576 #define HAVE_FREXPF 1
80577 _ACEOF
80579 cat >>confdefs.h <<\_ACEOF
80580 #define HAVE_HYPOT 1
80581 _ACEOF
80583 cat >>confdefs.h <<\_ACEOF
80584 #define HAVE_HYPOTF 1
80585 _ACEOF
80587 cat >>confdefs.h <<\_ACEOF
80588 #define HAVE_ISINF 1
80589 _ACEOF
80591 cat >>confdefs.h <<\_ACEOF
80592 #define HAVE_ISNAN 1
80593 _ACEOF
80595 cat >>confdefs.h <<\_ACEOF
80596 #define HAVE_ISNANF 1
80597 _ACEOF
80600 cat >>confdefs.h <<\_ACEOF
80601 #define HAVE_ACOSF 1
80602 _ACEOF
80604 cat >>confdefs.h <<\_ACEOF
80605 #define HAVE_ASINF 1
80606 _ACEOF
80608 cat >>confdefs.h <<\_ACEOF
80609 #define HAVE_ATAN2F 1
80610 _ACEOF
80612 cat >>confdefs.h <<\_ACEOF
80613 #define HAVE_ATANF 1
80614 _ACEOF
80616 cat >>confdefs.h <<\_ACEOF
80617 #define HAVE_CEILF 1
80618 _ACEOF
80620 cat >>confdefs.h <<\_ACEOF
80621 #define HAVE_COPYSIGN 1
80622 _ACEOF
80624 cat >>confdefs.h <<\_ACEOF
80625 #define HAVE_COPYSIGNF 1
80626 _ACEOF
80628 cat >>confdefs.h <<\_ACEOF
80629 #define HAVE_COSF 1
80630 _ACEOF
80632 cat >>confdefs.h <<\_ACEOF
80633 #define HAVE_COSHF 1
80634 _ACEOF
80636 cat >>confdefs.h <<\_ACEOF
80637 #define HAVE_EXPF 1
80638 _ACEOF
80640 cat >>confdefs.h <<\_ACEOF
80641 #define HAVE_FABSF 1
80642 _ACEOF
80644 cat >>confdefs.h <<\_ACEOF
80645 #define HAVE_FLOORF 1
80646 _ACEOF
80648 cat >>confdefs.h <<\_ACEOF
80649 #define HAVE_FMODF 1
80650 _ACEOF
80652 cat >>confdefs.h <<\_ACEOF
80653 #define HAVE_FREXPF 1
80654 _ACEOF
80656 cat >>confdefs.h <<\_ACEOF
80657 #define HAVE_LDEXPF 1
80658 _ACEOF
80660 cat >>confdefs.h <<\_ACEOF
80661 #define HAVE_LOG10F 1
80662 _ACEOF
80664 cat >>confdefs.h <<\_ACEOF
80665 #define HAVE_LOGF 1
80666 _ACEOF
80668 cat >>confdefs.h <<\_ACEOF
80669 #define HAVE_MODFF 1
80670 _ACEOF
80672 cat >>confdefs.h <<\_ACEOF
80673 #define HAVE_POWF 1
80674 _ACEOF
80676 cat >>confdefs.h <<\_ACEOF
80677 #define HAVE_SINF 1
80678 _ACEOF
80680 cat >>confdefs.h <<\_ACEOF
80681 #define HAVE_SINHF 1
80682 _ACEOF
80684 cat >>confdefs.h <<\_ACEOF
80685 #define HAVE_SQRTF 1
80686 _ACEOF
80688 cat >>confdefs.h <<\_ACEOF
80689 #define HAVE_TANF 1
80690 _ACEOF
80692 cat >>confdefs.h <<\_ACEOF
80693 #define HAVE_TANHF 1
80694 _ACEOF
80696 if test x"long_double_math_on_this_cpu" = x"yes"; then
80697 cat >>confdefs.h <<\_ACEOF
80698 #define HAVE_FINITEL 1
80699 _ACEOF
80701 cat >>confdefs.h <<\_ACEOF
80702 #define HAVE_ISINFL 1
80703 _ACEOF
80705 cat >>confdefs.h <<\_ACEOF
80706 #define HAVE_ISNANL 1
80707 _ACEOF
80711 *-hpux*)
80712 SECTION_FLAGS='-ffunction-sections -fdata-sections'
80715 # If we're not using GNU ld, then there's no point in even trying these
80716 # tests. Check for that first. We should have already tested for gld
80717 # by now (in libtool), but require it now just to be safe...
80718 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80719 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80723 # The name set by libtool depends on the version of libtool. Shame on us
80724 # for depending on an impl detail, but c'est la vie. Older versions used
80725 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80726 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80727 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
80728 # set (hence we're using an older libtool), then set it.
80729 if test x${with_gnu_ld+set} != xset; then
80730 if test x${ac_cv_prog_gnu_ld+set} != xset; then
80731 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
80732 with_gnu_ld=no
80733 else
80734 with_gnu_ld=$ac_cv_prog_gnu_ld
80738 # Start by getting the version number. I think the libtool test already
80739 # does some of this, but throws away the result.
80740 glibcxx_ld_is_gold=no
80741 if test x"$with_gnu_ld" = x"yes"; then
80742 echo "$as_me:$LINENO: checking for ld version" >&5
80743 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
80745 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
80746 glibcxx_ld_is_gold=yes
80748 ldver=`$LD --version 2>/dev/null | head -1 | \
80749 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
80751 glibcxx_gnu_ld_version=`echo $ldver | \
80752 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80753 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
80754 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
80757 # Set --gc-sections.
80758 glibcxx_have_gc_sections=no
80759 if test "$glibcxx_ld_is_gold" = "yes"; then
80760 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
80761 glibcxx_have_gc_sections=yes
80763 else
80764 glibcxx_gcsections_min_ld=21602
80765 if test x"$with_gnu_ld" = x"yes" &&
80766 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
80767 glibcxx_have_gc_sections=yes
80770 if test "$glibcxx_have_gc_sections" = "yes"; then
80771 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
80772 # NB: This flag only works reliably after 2.16.1. Configure tests
80773 # for this are difficult, so hard wire a value that should work.
80775 ac_test_CFLAGS="${CFLAGS+set}"
80776 ac_save_CFLAGS="$CFLAGS"
80777 CFLAGS='-Wl,--gc-sections'
80779 # Check for -Wl,--gc-sections
80780 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80781 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80782 if test x$gcc_no_link = xyes; then
80783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80785 { (exit 1); exit 1; }; }
80787 cat >conftest.$ac_ext <<_ACEOF
80788 /* confdefs.h. */
80789 _ACEOF
80790 cat confdefs.h >>conftest.$ac_ext
80791 cat >>conftest.$ac_ext <<_ACEOF
80792 /* end confdefs.h. */
80793 int one(void) { return 1; }
80794 int two(void) { return 2; }
80797 main ()
80799 two();
80801 return 0;
80803 _ACEOF
80804 rm -f conftest.$ac_objext conftest$ac_exeext
80805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80806 (eval $ac_link) 2>conftest.er1
80807 ac_status=$?
80808 grep -v '^ *+' conftest.er1 >conftest.err
80809 rm -f conftest.er1
80810 cat conftest.err >&5
80811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80812 (exit $ac_status); } &&
80813 { ac_try='test -z "$ac_c_werror_flag"
80814 || test ! -s conftest.err'
80815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80816 (eval $ac_try) 2>&5
80817 ac_status=$?
80818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80819 (exit $ac_status); }; } &&
80820 { ac_try='test -s conftest$ac_exeext'
80821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80822 (eval $ac_try) 2>&5
80823 ac_status=$?
80824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80825 (exit $ac_status); }; }; then
80826 ac_gcsections=yes
80827 else
80828 echo "$as_me: failed program was:" >&5
80829 sed 's/^/| /' conftest.$ac_ext >&5
80831 ac_gcsections=no
80833 rm -f conftest.err conftest.$ac_objext \
80834 conftest$ac_exeext conftest.$ac_ext
80835 if test "$ac_gcsections" = "yes"; then
80836 rm -f conftest.c
80837 touch conftest.c
80838 if $CC -c conftest.c; then
80839 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
80840 grep "Warning: gc-sections option ignored" > /dev/null; then
80841 ac_gcsections=no
80844 rm -f conftest.c conftest.o conftest
80846 if test "$ac_gcsections" = "yes"; then
80847 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80849 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
80850 echo "${ECHO_T}$ac_gcsections" >&6
80852 if test "$ac_test_CFLAGS" = set; then
80853 CFLAGS="$ac_save_CFLAGS"
80854 else
80855 # this is the suspicious part
80856 CFLAGS=''
80860 # Set -z,relro.
80861 # Note this is only for shared objects.
80862 ac_ld_relro=no
80863 if test x"$with_gnu_ld" = x"yes"; then
80864 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
80865 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
80866 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
80867 if test -n "$cxx_z_relo"; then
80868 OPT_LDFLAGS="-Wl,-z,relro"
80869 ac_ld_relro=yes
80871 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
80872 echo "${ECHO_T}$ac_ld_relro" >&6
80875 # Set linker optimization flags.
80876 if test x"$with_gnu_ld" = x"yes"; then
80877 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80885 echo "$as_me:$LINENO: checking for main in -lm" >&5
80886 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80887 if test "${ac_cv_lib_m_main+set}" = set; then
80888 echo $ECHO_N "(cached) $ECHO_C" >&6
80889 else
80890 ac_check_lib_save_LIBS=$LIBS
80891 LIBS="-lm $LIBS"
80892 if test x$gcc_no_link = xyes; then
80893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80895 { (exit 1); exit 1; }; }
80897 cat >conftest.$ac_ext <<_ACEOF
80898 /* confdefs.h. */
80899 _ACEOF
80900 cat confdefs.h >>conftest.$ac_ext
80901 cat >>conftest.$ac_ext <<_ACEOF
80902 /* end confdefs.h. */
80906 main ()
80908 main ();
80910 return 0;
80912 _ACEOF
80913 rm -f conftest.$ac_objext conftest$ac_exeext
80914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80915 (eval $ac_link) 2>conftest.er1
80916 ac_status=$?
80917 grep -v '^ *+' conftest.er1 >conftest.err
80918 rm -f conftest.er1
80919 cat conftest.err >&5
80920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80921 (exit $ac_status); } &&
80922 { ac_try='test -z "$ac_c_werror_flag"
80923 || test ! -s conftest.err'
80924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80925 (eval $ac_try) 2>&5
80926 ac_status=$?
80927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80928 (exit $ac_status); }; } &&
80929 { ac_try='test -s conftest$ac_exeext'
80930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80931 (eval $ac_try) 2>&5
80932 ac_status=$?
80933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80934 (exit $ac_status); }; }; then
80935 ac_cv_lib_m_main=yes
80936 else
80937 echo "$as_me: failed program was:" >&5
80938 sed 's/^/| /' conftest.$ac_ext >&5
80940 ac_cv_lib_m_main=no
80942 rm -f conftest.err conftest.$ac_objext \
80943 conftest$ac_exeext conftest.$ac_ext
80944 LIBS=$ac_check_lib_save_LIBS
80946 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80947 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80948 if test $ac_cv_lib_m_main = yes; then
80949 cat >>confdefs.h <<_ACEOF
80950 #define HAVE_LIBM 1
80951 _ACEOF
80953 LIBS="-lm $LIBS"
80958 for ac_func in copysignf
80960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80961 echo "$as_me:$LINENO: checking for $ac_func" >&5
80962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80963 if eval "test \"\${$as_ac_var+set}\" = set"; then
80964 echo $ECHO_N "(cached) $ECHO_C" >&6
80965 else
80966 if test x$gcc_no_link = xyes; then
80967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80969 { (exit 1); exit 1; }; }
80971 cat >conftest.$ac_ext <<_ACEOF
80972 /* confdefs.h. */
80973 _ACEOF
80974 cat confdefs.h >>conftest.$ac_ext
80975 cat >>conftest.$ac_ext <<_ACEOF
80976 /* end confdefs.h. */
80977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80979 #define $ac_func innocuous_$ac_func
80981 /* System header to define __stub macros and hopefully few prototypes,
80982 which can conflict with char $ac_func (); below.
80983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80984 <limits.h> exists even on freestanding compilers. */
80986 #ifdef __STDC__
80987 # include <limits.h>
80988 #else
80989 # include <assert.h>
80990 #endif
80992 #undef $ac_func
80994 /* Override any gcc2 internal prototype to avoid an error. */
80995 #ifdef __cplusplus
80996 extern "C"
80998 #endif
80999 /* We use char because int might match the return type of a gcc2
81000 builtin and then its argument prototype would still apply. */
81001 char $ac_func ();
81002 /* The GNU C library defines this for functions which it implements
81003 to always fail with ENOSYS. Some functions are actually named
81004 something starting with __ and the normal name is an alias. */
81005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81006 choke me
81007 #else
81008 char (*f) () = $ac_func;
81009 #endif
81010 #ifdef __cplusplus
81012 #endif
81015 main ()
81017 return f != $ac_func;
81019 return 0;
81021 _ACEOF
81022 rm -f conftest.$ac_objext conftest$ac_exeext
81023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81024 (eval $ac_link) 2>conftest.er1
81025 ac_status=$?
81026 grep -v '^ *+' conftest.er1 >conftest.err
81027 rm -f conftest.er1
81028 cat conftest.err >&5
81029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81030 (exit $ac_status); } &&
81031 { ac_try='test -z "$ac_c_werror_flag"
81032 || test ! -s conftest.err'
81033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81034 (eval $ac_try) 2>&5
81035 ac_status=$?
81036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81037 (exit $ac_status); }; } &&
81038 { ac_try='test -s conftest$ac_exeext'
81039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81040 (eval $ac_try) 2>&5
81041 ac_status=$?
81042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81043 (exit $ac_status); }; }; then
81044 eval "$as_ac_var=yes"
81045 else
81046 echo "$as_me: failed program was:" >&5
81047 sed 's/^/| /' conftest.$ac_ext >&5
81049 eval "$as_ac_var=no"
81051 rm -f conftest.err conftest.$ac_objext \
81052 conftest$ac_exeext conftest.$ac_ext
81054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81056 if test `eval echo '${'$as_ac_var'}'` = yes; then
81057 cat >>confdefs.h <<_ACEOF
81058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81059 _ACEOF
81061 else
81062 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
81064 done
81068 for ac_func in __signbit
81070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81071 echo "$as_me:$LINENO: checking for $ac_func" >&5
81072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81073 if eval "test \"\${$as_ac_var+set}\" = set"; then
81074 echo $ECHO_N "(cached) $ECHO_C" >&6
81075 else
81076 if test x$gcc_no_link = xyes; then
81077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81079 { (exit 1); exit 1; }; }
81081 cat >conftest.$ac_ext <<_ACEOF
81082 /* confdefs.h. */
81083 _ACEOF
81084 cat confdefs.h >>conftest.$ac_ext
81085 cat >>conftest.$ac_ext <<_ACEOF
81086 /* end confdefs.h. */
81087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81089 #define $ac_func innocuous_$ac_func
81091 /* System header to define __stub macros and hopefully few prototypes,
81092 which can conflict with char $ac_func (); below.
81093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81094 <limits.h> exists even on freestanding compilers. */
81096 #ifdef __STDC__
81097 # include <limits.h>
81098 #else
81099 # include <assert.h>
81100 #endif
81102 #undef $ac_func
81104 /* Override any gcc2 internal prototype to avoid an error. */
81105 #ifdef __cplusplus
81106 extern "C"
81108 #endif
81109 /* We use char because int might match the return type of a gcc2
81110 builtin and then its argument prototype would still apply. */
81111 char $ac_func ();
81112 /* The GNU C library defines this for functions which it implements
81113 to always fail with ENOSYS. Some functions are actually named
81114 something starting with __ and the normal name is an alias. */
81115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81116 choke me
81117 #else
81118 char (*f) () = $ac_func;
81119 #endif
81120 #ifdef __cplusplus
81122 #endif
81125 main ()
81127 return f != $ac_func;
81129 return 0;
81131 _ACEOF
81132 rm -f conftest.$ac_objext conftest$ac_exeext
81133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81134 (eval $ac_link) 2>conftest.er1
81135 ac_status=$?
81136 grep -v '^ *+' conftest.er1 >conftest.err
81137 rm -f conftest.er1
81138 cat conftest.err >&5
81139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81140 (exit $ac_status); } &&
81141 { ac_try='test -z "$ac_c_werror_flag"
81142 || test ! -s conftest.err'
81143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81144 (eval $ac_try) 2>&5
81145 ac_status=$?
81146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81147 (exit $ac_status); }; } &&
81148 { ac_try='test -s conftest$ac_exeext'
81149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81150 (eval $ac_try) 2>&5
81151 ac_status=$?
81152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81153 (exit $ac_status); }; }; then
81154 eval "$as_ac_var=yes"
81155 else
81156 echo "$as_me: failed program was:" >&5
81157 sed 's/^/| /' conftest.$ac_ext >&5
81159 eval "$as_ac_var=no"
81161 rm -f conftest.err conftest.$ac_objext \
81162 conftest$ac_exeext conftest.$ac_ext
81164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81166 if test `eval echo '${'$as_ac_var'}'` = yes; then
81167 cat >>confdefs.h <<_ACEOF
81168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81169 _ACEOF
81171 else
81172 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
81174 done
81178 for ac_func in __signbitf
81180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81181 echo "$as_me:$LINENO: checking for $ac_func" >&5
81182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81183 if eval "test \"\${$as_ac_var+set}\" = set"; then
81184 echo $ECHO_N "(cached) $ECHO_C" >&6
81185 else
81186 if test x$gcc_no_link = xyes; then
81187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81189 { (exit 1); exit 1; }; }
81191 cat >conftest.$ac_ext <<_ACEOF
81192 /* confdefs.h. */
81193 _ACEOF
81194 cat confdefs.h >>conftest.$ac_ext
81195 cat >>conftest.$ac_ext <<_ACEOF
81196 /* end confdefs.h. */
81197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81199 #define $ac_func innocuous_$ac_func
81201 /* System header to define __stub macros and hopefully few prototypes,
81202 which can conflict with char $ac_func (); below.
81203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81204 <limits.h> exists even on freestanding compilers. */
81206 #ifdef __STDC__
81207 # include <limits.h>
81208 #else
81209 # include <assert.h>
81210 #endif
81212 #undef $ac_func
81214 /* Override any gcc2 internal prototype to avoid an error. */
81215 #ifdef __cplusplus
81216 extern "C"
81218 #endif
81219 /* We use char because int might match the return type of a gcc2
81220 builtin and then its argument prototype would still apply. */
81221 char $ac_func ();
81222 /* The GNU C library defines this for functions which it implements
81223 to always fail with ENOSYS. Some functions are actually named
81224 something starting with __ and the normal name is an alias. */
81225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81226 choke me
81227 #else
81228 char (*f) () = $ac_func;
81229 #endif
81230 #ifdef __cplusplus
81232 #endif
81235 main ()
81237 return f != $ac_func;
81239 return 0;
81241 _ACEOF
81242 rm -f conftest.$ac_objext conftest$ac_exeext
81243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81244 (eval $ac_link) 2>conftest.er1
81245 ac_status=$?
81246 grep -v '^ *+' conftest.er1 >conftest.err
81247 rm -f conftest.er1
81248 cat conftest.err >&5
81249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81250 (exit $ac_status); } &&
81251 { ac_try='test -z "$ac_c_werror_flag"
81252 || test ! -s conftest.err'
81253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81254 (eval $ac_try) 2>&5
81255 ac_status=$?
81256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81257 (exit $ac_status); }; } &&
81258 { ac_try='test -s conftest$ac_exeext'
81259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81260 (eval $ac_try) 2>&5
81261 ac_status=$?
81262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81263 (exit $ac_status); }; }; then
81264 eval "$as_ac_var=yes"
81265 else
81266 echo "$as_me: failed program was:" >&5
81267 sed 's/^/| /' conftest.$ac_ext >&5
81269 eval "$as_ac_var=no"
81271 rm -f conftest.err conftest.$ac_objext \
81272 conftest$ac_exeext conftest.$ac_ext
81274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81276 if test `eval echo '${'$as_ac_var'}'` = yes; then
81277 cat >>confdefs.h <<_ACEOF
81278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81279 _ACEOF
81281 else
81282 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
81284 done
81287 if test x$ac_cv_func_copysignl = x"yes"; then
81289 for ac_func in __signbitl
81291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81292 echo "$as_me:$LINENO: checking for $ac_func" >&5
81293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81294 if eval "test \"\${$as_ac_var+set}\" = set"; then
81295 echo $ECHO_N "(cached) $ECHO_C" >&6
81296 else
81297 if test x$gcc_no_link = xyes; then
81298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81300 { (exit 1); exit 1; }; }
81302 cat >conftest.$ac_ext <<_ACEOF
81303 /* confdefs.h. */
81304 _ACEOF
81305 cat confdefs.h >>conftest.$ac_ext
81306 cat >>conftest.$ac_ext <<_ACEOF
81307 /* end confdefs.h. */
81308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81310 #define $ac_func innocuous_$ac_func
81312 /* System header to define __stub macros and hopefully few prototypes,
81313 which can conflict with char $ac_func (); below.
81314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81315 <limits.h> exists even on freestanding compilers. */
81317 #ifdef __STDC__
81318 # include <limits.h>
81319 #else
81320 # include <assert.h>
81321 #endif
81323 #undef $ac_func
81325 /* Override any gcc2 internal prototype to avoid an error. */
81326 #ifdef __cplusplus
81327 extern "C"
81329 #endif
81330 /* We use char because int might match the return type of a gcc2
81331 builtin and then its argument prototype would still apply. */
81332 char $ac_func ();
81333 /* The GNU C library defines this for functions which it implements
81334 to always fail with ENOSYS. Some functions are actually named
81335 something starting with __ and the normal name is an alias. */
81336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81337 choke me
81338 #else
81339 char (*f) () = $ac_func;
81340 #endif
81341 #ifdef __cplusplus
81343 #endif
81346 main ()
81348 return f != $ac_func;
81350 return 0;
81352 _ACEOF
81353 rm -f conftest.$ac_objext conftest$ac_exeext
81354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81355 (eval $ac_link) 2>conftest.er1
81356 ac_status=$?
81357 grep -v '^ *+' conftest.er1 >conftest.err
81358 rm -f conftest.er1
81359 cat conftest.err >&5
81360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81361 (exit $ac_status); } &&
81362 { ac_try='test -z "$ac_c_werror_flag"
81363 || test ! -s conftest.err'
81364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81365 (eval $ac_try) 2>&5
81366 ac_status=$?
81367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81368 (exit $ac_status); }; } &&
81369 { ac_try='test -s conftest$ac_exeext'
81370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81371 (eval $ac_try) 2>&5
81372 ac_status=$?
81373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81374 (exit $ac_status); }; }; then
81375 eval "$as_ac_var=yes"
81376 else
81377 echo "$as_me: failed program was:" >&5
81378 sed 's/^/| /' conftest.$ac_ext >&5
81380 eval "$as_ac_var=no"
81382 rm -f conftest.err conftest.$ac_objext \
81383 conftest$ac_exeext conftest.$ac_ext
81385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81387 if test `eval echo '${'$as_ac_var'}'` = yes; then
81388 cat >>confdefs.h <<_ACEOF
81389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81390 _ACEOF
81392 else
81393 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81395 done
81399 # Used in libmath/Makefile.am.
81400 if test -n "$LIBMATHOBJS"; then
81401 need_libmath=yes
81405 cat >>confdefs.h <<\_ACEOF
81406 #define HAVE_COPYSIGN 1
81407 _ACEOF
81409 cat >>confdefs.h <<\_ACEOF
81410 #define HAVE_COPYSIGNF 1
81411 _ACEOF
81413 cat >>confdefs.h <<\_ACEOF
81414 #define HAVE_FREXPF 1
81415 _ACEOF
81417 cat >>confdefs.h <<\_ACEOF
81418 #define HAVE_HYPOT 1
81419 _ACEOF
81421 case "$target" in
81422 *-hpux10*)
81423 cat >>confdefs.h <<\_ACEOF
81424 #define HAVE_FINITE 1
81425 _ACEOF
81427 cat >>confdefs.h <<\_ACEOF
81428 #define HAVE_FINITEF 1
81429 _ACEOF
81431 cat >>confdefs.h <<\_ACEOF
81432 #define HAVE_ISINF 1
81433 _ACEOF
81435 cat >>confdefs.h <<\_ACEOF
81436 #define HAVE_ISINFF 1
81437 _ACEOF
81439 cat >>confdefs.h <<\_ACEOF
81440 #define HAVE_ISNAN 1
81441 _ACEOF
81443 cat >>confdefs.h <<\_ACEOF
81444 #define HAVE_ISNANF 1
81445 _ACEOF
81448 esac
81450 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
81451 SECTION_FLAGS='-ffunction-sections -fdata-sections'
81454 # All these tests are for C++; save the language and the compiler flags.
81455 # The CXXFLAGS thing is suspicious, but based on similar bits previously
81456 # found in GLIBCXX_CONFIGURE.
81459 ac_ext=cc
81460 ac_cpp='$CXXCPP $CPPFLAGS'
81461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81465 ac_test_CXXFLAGS="${CXXFLAGS+set}"
81466 ac_save_CXXFLAGS="$CXXFLAGS"
81468 # Check for maintainer-mode bits.
81469 if test x"$USE_MAINTAINER_MODE" = xno; then
81470 WERROR=''
81471 else
81472 WERROR='-Werror'
81475 # Check for -ffunction-sections -fdata-sections
81476 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
81477 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
81478 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
81479 cat >conftest.$ac_ext <<_ACEOF
81480 /* confdefs.h. */
81481 _ACEOF
81482 cat confdefs.h >>conftest.$ac_ext
81483 cat >>conftest.$ac_ext <<_ACEOF
81484 /* end confdefs.h. */
81485 int foo; void bar() { };
81487 main ()
81491 return 0;
81493 _ACEOF
81494 rm -f conftest.$ac_objext
81495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81496 (eval $ac_compile) 2>conftest.er1
81497 ac_status=$?
81498 grep -v '^ *+' conftest.er1 >conftest.err
81499 rm -f conftest.er1
81500 cat conftest.err >&5
81501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81502 (exit $ac_status); } &&
81503 { ac_try='test -z "$ac_cxx_werror_flag"
81504 || test ! -s conftest.err'
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); }; } &&
81510 { ac_try='test -s conftest.$ac_objext'
81511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81512 (eval $ac_try) 2>&5
81513 ac_status=$?
81514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81515 (exit $ac_status); }; }; then
81516 ac_fdsections=yes
81517 else
81518 echo "$as_me: failed program was:" >&5
81519 sed 's/^/| /' conftest.$ac_ext >&5
81521 ac_fdsections=no
81523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81524 if test "$ac_test_CXXFLAGS" = set; then
81525 CXXFLAGS="$ac_save_CXXFLAGS"
81526 else
81527 # this is the suspicious part
81528 CXXFLAGS=''
81530 if test x"$ac_fdsections" = x"yes"; then
81531 SECTION_FLAGS='-ffunction-sections -fdata-sections'
81533 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
81534 echo "${ECHO_T}$ac_fdsections" >&6
81536 ac_ext=c
81537 ac_cpp='$CPP $CPPFLAGS'
81538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81546 # If we're not using GNU ld, then there's no point in even trying these
81547 # tests. Check for that first. We should have already tested for gld
81548 # by now (in libtool), but require it now just to be safe...
81549 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81550 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81554 # The name set by libtool depends on the version of libtool. Shame on us
81555 # for depending on an impl detail, but c'est la vie. Older versions used
81556 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81557 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81558 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
81559 # set (hence we're using an older libtool), then set it.
81560 if test x${with_gnu_ld+set} != xset; then
81561 if test x${ac_cv_prog_gnu_ld+set} != xset; then
81562 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
81563 with_gnu_ld=no
81564 else
81565 with_gnu_ld=$ac_cv_prog_gnu_ld
81569 # Start by getting the version number. I think the libtool test already
81570 # does some of this, but throws away the result.
81571 glibcxx_ld_is_gold=no
81572 if test x"$with_gnu_ld" = x"yes"; then
81573 echo "$as_me:$LINENO: checking for ld version" >&5
81574 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
81576 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
81577 glibcxx_ld_is_gold=yes
81579 ldver=`$LD --version 2>/dev/null | head -1 | \
81580 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
81582 glibcxx_gnu_ld_version=`echo $ldver | \
81583 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81584 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
81585 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
81588 # Set --gc-sections.
81589 glibcxx_have_gc_sections=no
81590 if test "$glibcxx_ld_is_gold" = "yes"; then
81591 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
81592 glibcxx_have_gc_sections=yes
81594 else
81595 glibcxx_gcsections_min_ld=21602
81596 if test x"$with_gnu_ld" = x"yes" &&
81597 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
81598 glibcxx_have_gc_sections=yes
81601 if test "$glibcxx_have_gc_sections" = "yes"; then
81602 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
81603 # NB: This flag only works reliably after 2.16.1. Configure tests
81604 # for this are difficult, so hard wire a value that should work.
81606 ac_test_CFLAGS="${CFLAGS+set}"
81607 ac_save_CFLAGS="$CFLAGS"
81608 CFLAGS='-Wl,--gc-sections'
81610 # Check for -Wl,--gc-sections
81611 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81612 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81613 if test x$gcc_no_link = xyes; then
81614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81616 { (exit 1); exit 1; }; }
81618 cat >conftest.$ac_ext <<_ACEOF
81619 /* confdefs.h. */
81620 _ACEOF
81621 cat confdefs.h >>conftest.$ac_ext
81622 cat >>conftest.$ac_ext <<_ACEOF
81623 /* end confdefs.h. */
81624 int one(void) { return 1; }
81625 int two(void) { return 2; }
81628 main ()
81630 two();
81632 return 0;
81634 _ACEOF
81635 rm -f conftest.$ac_objext conftest$ac_exeext
81636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81637 (eval $ac_link) 2>conftest.er1
81638 ac_status=$?
81639 grep -v '^ *+' conftest.er1 >conftest.err
81640 rm -f conftest.er1
81641 cat conftest.err >&5
81642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81643 (exit $ac_status); } &&
81644 { ac_try='test -z "$ac_c_werror_flag"
81645 || test ! -s conftest.err'
81646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81647 (eval $ac_try) 2>&5
81648 ac_status=$?
81649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81650 (exit $ac_status); }; } &&
81651 { ac_try='test -s conftest$ac_exeext'
81652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81653 (eval $ac_try) 2>&5
81654 ac_status=$?
81655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81656 (exit $ac_status); }; }; then
81657 ac_gcsections=yes
81658 else
81659 echo "$as_me: failed program was:" >&5
81660 sed 's/^/| /' conftest.$ac_ext >&5
81662 ac_gcsections=no
81664 rm -f conftest.err conftest.$ac_objext \
81665 conftest$ac_exeext conftest.$ac_ext
81666 if test "$ac_gcsections" = "yes"; then
81667 rm -f conftest.c
81668 touch conftest.c
81669 if $CC -c conftest.c; then
81670 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
81671 grep "Warning: gc-sections option ignored" > /dev/null; then
81672 ac_gcsections=no
81675 rm -f conftest.c conftest.o conftest
81677 if test "$ac_gcsections" = "yes"; then
81678 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81680 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
81681 echo "${ECHO_T}$ac_gcsections" >&6
81683 if test "$ac_test_CFLAGS" = set; then
81684 CFLAGS="$ac_save_CFLAGS"
81685 else
81686 # this is the suspicious part
81687 CFLAGS=''
81691 # Set -z,relro.
81692 # Note this is only for shared objects.
81693 ac_ld_relro=no
81694 if test x"$with_gnu_ld" = x"yes"; then
81695 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
81696 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
81697 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
81698 if test -n "$cxx_z_relo"; then
81699 OPT_LDFLAGS="-Wl,-z,relro"
81700 ac_ld_relro=yes
81702 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
81703 echo "${ECHO_T}$ac_ld_relro" >&6
81706 # Set linker optimization flags.
81707 if test x"$with_gnu_ld" = x"yes"; then
81708 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81715 ac_test_CXXFLAGS="${CXXFLAGS+set}"
81716 ac_save_CXXFLAGS="$CXXFLAGS"
81717 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
81719 echo "$as_me:$LINENO: checking for sin in -lm" >&5
81720 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
81721 if test "${ac_cv_lib_m_sin+set}" = set; then
81722 echo $ECHO_N "(cached) $ECHO_C" >&6
81723 else
81724 ac_check_lib_save_LIBS=$LIBS
81725 LIBS="-lm $LIBS"
81726 if test x$gcc_no_link = xyes; then
81727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81729 { (exit 1); exit 1; }; }
81731 cat >conftest.$ac_ext <<_ACEOF
81732 /* confdefs.h. */
81733 _ACEOF
81734 cat confdefs.h >>conftest.$ac_ext
81735 cat >>conftest.$ac_ext <<_ACEOF
81736 /* end confdefs.h. */
81738 /* Override any gcc2 internal prototype to avoid an error. */
81739 #ifdef __cplusplus
81740 extern "C"
81741 #endif
81742 /* We use char because int might match the return type of a gcc2
81743 builtin and then its argument prototype would still apply. */
81744 char sin ();
81746 main ()
81748 sin ();
81750 return 0;
81752 _ACEOF
81753 rm -f conftest.$ac_objext conftest$ac_exeext
81754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81755 (eval $ac_link) 2>conftest.er1
81756 ac_status=$?
81757 grep -v '^ *+' conftest.er1 >conftest.err
81758 rm -f conftest.er1
81759 cat conftest.err >&5
81760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81761 (exit $ac_status); } &&
81762 { ac_try='test -z "$ac_c_werror_flag"
81763 || test ! -s conftest.err'
81764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81765 (eval $ac_try) 2>&5
81766 ac_status=$?
81767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81768 (exit $ac_status); }; } &&
81769 { ac_try='test -s conftest$ac_exeext'
81770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81771 (eval $ac_try) 2>&5
81772 ac_status=$?
81773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81774 (exit $ac_status); }; }; then
81775 ac_cv_lib_m_sin=yes
81776 else
81777 echo "$as_me: failed program was:" >&5
81778 sed 's/^/| /' conftest.$ac_ext >&5
81780 ac_cv_lib_m_sin=no
81782 rm -f conftest.err conftest.$ac_objext \
81783 conftest$ac_exeext conftest.$ac_ext
81784 LIBS=$ac_check_lib_save_LIBS
81786 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
81787 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
81788 if test $ac_cv_lib_m_sin = yes; then
81789 libm="-lm"
81792 ac_save_LIBS="$LIBS"
81793 LIBS="$LIBS $libm"
81797 echo "$as_me:$LINENO: checking for isinf declaration" >&5
81798 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
81799 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
81800 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
81801 echo $ECHO_N "(cached) $ECHO_C" >&6
81802 else
81806 ac_ext=cc
81807 ac_cpp='$CXXCPP $CPPFLAGS'
81808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81812 cat >conftest.$ac_ext <<_ACEOF
81813 /* confdefs.h. */
81814 _ACEOF
81815 cat confdefs.h >>conftest.$ac_ext
81816 cat >>conftest.$ac_ext <<_ACEOF
81817 /* end confdefs.h. */
81818 #include <math.h>
81819 #ifdef HAVE_IEEEFP_H
81820 #include <ieeefp.h>
81821 #endif
81824 main ()
81826 isinf(0);
81828 return 0;
81830 _ACEOF
81831 rm -f conftest.$ac_objext
81832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81833 (eval $ac_compile) 2>conftest.er1
81834 ac_status=$?
81835 grep -v '^ *+' conftest.er1 >conftest.err
81836 rm -f conftest.er1
81837 cat conftest.err >&5
81838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81839 (exit $ac_status); } &&
81840 { ac_try='test -z "$ac_cxx_werror_flag"
81841 || test ! -s conftest.err'
81842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81843 (eval $ac_try) 2>&5
81844 ac_status=$?
81845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81846 (exit $ac_status); }; } &&
81847 { ac_try='test -s conftest.$ac_objext'
81848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81849 (eval $ac_try) 2>&5
81850 ac_status=$?
81851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81852 (exit $ac_status); }; }; then
81853 glibcxx_cv_func_isinf_use=yes
81854 else
81855 echo "$as_me: failed program was:" >&5
81856 sed 's/^/| /' conftest.$ac_ext >&5
81858 glibcxx_cv_func_isinf_use=no
81860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81861 ac_ext=c
81862 ac_cpp='$CPP $CPPFLAGS'
81863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81871 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
81872 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
81874 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
81876 for ac_func in isinf
81878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81879 echo "$as_me:$LINENO: checking for $ac_func" >&5
81880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81881 if eval "test \"\${$as_ac_var+set}\" = set"; then
81882 echo $ECHO_N "(cached) $ECHO_C" >&6
81883 else
81884 if test x$gcc_no_link = xyes; then
81885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81887 { (exit 1); exit 1; }; }
81889 cat >conftest.$ac_ext <<_ACEOF
81890 /* confdefs.h. */
81891 _ACEOF
81892 cat confdefs.h >>conftest.$ac_ext
81893 cat >>conftest.$ac_ext <<_ACEOF
81894 /* end confdefs.h. */
81895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81897 #define $ac_func innocuous_$ac_func
81899 /* System header to define __stub macros and hopefully few prototypes,
81900 which can conflict with char $ac_func (); below.
81901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81902 <limits.h> exists even on freestanding compilers. */
81904 #ifdef __STDC__
81905 # include <limits.h>
81906 #else
81907 # include <assert.h>
81908 #endif
81910 #undef $ac_func
81912 /* Override any gcc2 internal prototype to avoid an error. */
81913 #ifdef __cplusplus
81914 extern "C"
81916 #endif
81917 /* We use char because int might match the return type of a gcc2
81918 builtin and then its argument prototype would still apply. */
81919 char $ac_func ();
81920 /* The GNU C library defines this for functions which it implements
81921 to always fail with ENOSYS. Some functions are actually named
81922 something starting with __ and the normal name is an alias. */
81923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81924 choke me
81925 #else
81926 char (*f) () = $ac_func;
81927 #endif
81928 #ifdef __cplusplus
81930 #endif
81933 main ()
81935 return f != $ac_func;
81937 return 0;
81939 _ACEOF
81940 rm -f conftest.$ac_objext conftest$ac_exeext
81941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81942 (eval $ac_link) 2>conftest.er1
81943 ac_status=$?
81944 grep -v '^ *+' conftest.er1 >conftest.err
81945 rm -f conftest.er1
81946 cat conftest.err >&5
81947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81948 (exit $ac_status); } &&
81949 { ac_try='test -z "$ac_c_werror_flag"
81950 || test ! -s conftest.err'
81951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81952 (eval $ac_try) 2>&5
81953 ac_status=$?
81954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81955 (exit $ac_status); }; } &&
81956 { ac_try='test -s conftest$ac_exeext'
81957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81958 (eval $ac_try) 2>&5
81959 ac_status=$?
81960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81961 (exit $ac_status); }; }; then
81962 eval "$as_ac_var=yes"
81963 else
81964 echo "$as_me: failed program was:" >&5
81965 sed 's/^/| /' conftest.$ac_ext >&5
81967 eval "$as_ac_var=no"
81969 rm -f conftest.err conftest.$ac_objext \
81970 conftest$ac_exeext conftest.$ac_ext
81972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81974 if test `eval echo '${'$as_ac_var'}'` = yes; then
81975 cat >>confdefs.h <<_ACEOF
81976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81977 _ACEOF
81980 done
81982 else
81984 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
81985 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
81986 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
81987 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
81988 echo $ECHO_N "(cached) $ECHO_C" >&6
81989 else
81993 ac_ext=cc
81994 ac_cpp='$CXXCPP $CPPFLAGS'
81995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81999 cat >conftest.$ac_ext <<_ACEOF
82000 /* confdefs.h. */
82001 _ACEOF
82002 cat confdefs.h >>conftest.$ac_ext
82003 cat >>conftest.$ac_ext <<_ACEOF
82004 /* end confdefs.h. */
82005 #include <math.h>
82006 #ifdef HAVE_IEEEFP_H
82007 #include <ieeefp.h>
82008 #endif
82011 main ()
82013 _isinf(0);
82015 return 0;
82017 _ACEOF
82018 rm -f conftest.$ac_objext
82019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82020 (eval $ac_compile) 2>conftest.er1
82021 ac_status=$?
82022 grep -v '^ *+' conftest.er1 >conftest.err
82023 rm -f conftest.er1
82024 cat conftest.err >&5
82025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82026 (exit $ac_status); } &&
82027 { ac_try='test -z "$ac_cxx_werror_flag"
82028 || test ! -s conftest.err'
82029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82030 (eval $ac_try) 2>&5
82031 ac_status=$?
82032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82033 (exit $ac_status); }; } &&
82034 { ac_try='test -s conftest.$ac_objext'
82035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82036 (eval $ac_try) 2>&5
82037 ac_status=$?
82038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82039 (exit $ac_status); }; }; then
82040 glibcxx_cv_func__isinf_use=yes
82041 else
82042 echo "$as_me: failed program was:" >&5
82043 sed 's/^/| /' conftest.$ac_ext >&5
82045 glibcxx_cv_func__isinf_use=no
82047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82048 ac_ext=c
82049 ac_cpp='$CPP $CPPFLAGS'
82050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82058 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
82059 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
82061 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
82063 for ac_func in _isinf
82065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82066 echo "$as_me:$LINENO: checking for $ac_func" >&5
82067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82068 if eval "test \"\${$as_ac_var+set}\" = set"; then
82069 echo $ECHO_N "(cached) $ECHO_C" >&6
82070 else
82071 if test x$gcc_no_link = xyes; then
82072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82074 { (exit 1); exit 1; }; }
82076 cat >conftest.$ac_ext <<_ACEOF
82077 /* confdefs.h. */
82078 _ACEOF
82079 cat confdefs.h >>conftest.$ac_ext
82080 cat >>conftest.$ac_ext <<_ACEOF
82081 /* end confdefs.h. */
82082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82084 #define $ac_func innocuous_$ac_func
82086 /* System header to define __stub macros and hopefully few prototypes,
82087 which can conflict with char $ac_func (); below.
82088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82089 <limits.h> exists even on freestanding compilers. */
82091 #ifdef __STDC__
82092 # include <limits.h>
82093 #else
82094 # include <assert.h>
82095 #endif
82097 #undef $ac_func
82099 /* Override any gcc2 internal prototype to avoid an error. */
82100 #ifdef __cplusplus
82101 extern "C"
82103 #endif
82104 /* We use char because int might match the return type of a gcc2
82105 builtin and then its argument prototype would still apply. */
82106 char $ac_func ();
82107 /* The GNU C library defines this for functions which it implements
82108 to always fail with ENOSYS. Some functions are actually named
82109 something starting with __ and the normal name is an alias. */
82110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82111 choke me
82112 #else
82113 char (*f) () = $ac_func;
82114 #endif
82115 #ifdef __cplusplus
82117 #endif
82120 main ()
82122 return f != $ac_func;
82124 return 0;
82126 _ACEOF
82127 rm -f conftest.$ac_objext conftest$ac_exeext
82128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82129 (eval $ac_link) 2>conftest.er1
82130 ac_status=$?
82131 grep -v '^ *+' conftest.er1 >conftest.err
82132 rm -f conftest.er1
82133 cat conftest.err >&5
82134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82135 (exit $ac_status); } &&
82136 { ac_try='test -z "$ac_c_werror_flag"
82137 || test ! -s conftest.err'
82138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82139 (eval $ac_try) 2>&5
82140 ac_status=$?
82141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82142 (exit $ac_status); }; } &&
82143 { ac_try='test -s conftest$ac_exeext'
82144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82145 (eval $ac_try) 2>&5
82146 ac_status=$?
82147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82148 (exit $ac_status); }; }; then
82149 eval "$as_ac_var=yes"
82150 else
82151 echo "$as_me: failed program was:" >&5
82152 sed 's/^/| /' conftest.$ac_ext >&5
82154 eval "$as_ac_var=no"
82156 rm -f conftest.err conftest.$ac_objext \
82157 conftest$ac_exeext conftest.$ac_ext
82159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82161 if test `eval echo '${'$as_ac_var'}'` = yes; then
82162 cat >>confdefs.h <<_ACEOF
82163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82164 _ACEOF
82167 done
82177 echo "$as_me:$LINENO: checking for isnan declaration" >&5
82178 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
82179 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
82180 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
82181 echo $ECHO_N "(cached) $ECHO_C" >&6
82182 else
82186 ac_ext=cc
82187 ac_cpp='$CXXCPP $CPPFLAGS'
82188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82192 cat >conftest.$ac_ext <<_ACEOF
82193 /* confdefs.h. */
82194 _ACEOF
82195 cat confdefs.h >>conftest.$ac_ext
82196 cat >>conftest.$ac_ext <<_ACEOF
82197 /* end confdefs.h. */
82198 #include <math.h>
82199 #ifdef HAVE_IEEEFP_H
82200 #include <ieeefp.h>
82201 #endif
82204 main ()
82206 isnan(0);
82208 return 0;
82210 _ACEOF
82211 rm -f conftest.$ac_objext
82212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82213 (eval $ac_compile) 2>conftest.er1
82214 ac_status=$?
82215 grep -v '^ *+' conftest.er1 >conftest.err
82216 rm -f conftest.er1
82217 cat conftest.err >&5
82218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82219 (exit $ac_status); } &&
82220 { ac_try='test -z "$ac_cxx_werror_flag"
82221 || test ! -s conftest.err'
82222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82223 (eval $ac_try) 2>&5
82224 ac_status=$?
82225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82226 (exit $ac_status); }; } &&
82227 { ac_try='test -s conftest.$ac_objext'
82228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82229 (eval $ac_try) 2>&5
82230 ac_status=$?
82231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82232 (exit $ac_status); }; }; then
82233 glibcxx_cv_func_isnan_use=yes
82234 else
82235 echo "$as_me: failed program was:" >&5
82236 sed 's/^/| /' conftest.$ac_ext >&5
82238 glibcxx_cv_func_isnan_use=no
82240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82241 ac_ext=c
82242 ac_cpp='$CPP $CPPFLAGS'
82243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82251 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
82252 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
82254 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
82256 for ac_func in isnan
82258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82259 echo "$as_me:$LINENO: checking for $ac_func" >&5
82260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82261 if eval "test \"\${$as_ac_var+set}\" = set"; then
82262 echo $ECHO_N "(cached) $ECHO_C" >&6
82263 else
82264 if test x$gcc_no_link = xyes; then
82265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82267 { (exit 1); exit 1; }; }
82269 cat >conftest.$ac_ext <<_ACEOF
82270 /* confdefs.h. */
82271 _ACEOF
82272 cat confdefs.h >>conftest.$ac_ext
82273 cat >>conftest.$ac_ext <<_ACEOF
82274 /* end confdefs.h. */
82275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82277 #define $ac_func innocuous_$ac_func
82279 /* System header to define __stub macros and hopefully few prototypes,
82280 which can conflict with char $ac_func (); below.
82281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82282 <limits.h> exists even on freestanding compilers. */
82284 #ifdef __STDC__
82285 # include <limits.h>
82286 #else
82287 # include <assert.h>
82288 #endif
82290 #undef $ac_func
82292 /* Override any gcc2 internal prototype to avoid an error. */
82293 #ifdef __cplusplus
82294 extern "C"
82296 #endif
82297 /* We use char because int might match the return type of a gcc2
82298 builtin and then its argument prototype would still apply. */
82299 char $ac_func ();
82300 /* The GNU C library defines this for functions which it implements
82301 to always fail with ENOSYS. Some functions are actually named
82302 something starting with __ and the normal name is an alias. */
82303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82304 choke me
82305 #else
82306 char (*f) () = $ac_func;
82307 #endif
82308 #ifdef __cplusplus
82310 #endif
82313 main ()
82315 return f != $ac_func;
82317 return 0;
82319 _ACEOF
82320 rm -f conftest.$ac_objext conftest$ac_exeext
82321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82322 (eval $ac_link) 2>conftest.er1
82323 ac_status=$?
82324 grep -v '^ *+' conftest.er1 >conftest.err
82325 rm -f conftest.er1
82326 cat conftest.err >&5
82327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82328 (exit $ac_status); } &&
82329 { ac_try='test -z "$ac_c_werror_flag"
82330 || test ! -s conftest.err'
82331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82332 (eval $ac_try) 2>&5
82333 ac_status=$?
82334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82335 (exit $ac_status); }; } &&
82336 { ac_try='test -s conftest$ac_exeext'
82337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82338 (eval $ac_try) 2>&5
82339 ac_status=$?
82340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82341 (exit $ac_status); }; }; then
82342 eval "$as_ac_var=yes"
82343 else
82344 echo "$as_me: failed program was:" >&5
82345 sed 's/^/| /' conftest.$ac_ext >&5
82347 eval "$as_ac_var=no"
82349 rm -f conftest.err conftest.$ac_objext \
82350 conftest$ac_exeext conftest.$ac_ext
82352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82354 if test `eval echo '${'$as_ac_var'}'` = yes; then
82355 cat >>confdefs.h <<_ACEOF
82356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82357 _ACEOF
82360 done
82362 else
82364 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
82365 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
82366 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
82367 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
82368 echo $ECHO_N "(cached) $ECHO_C" >&6
82369 else
82373 ac_ext=cc
82374 ac_cpp='$CXXCPP $CPPFLAGS'
82375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82379 cat >conftest.$ac_ext <<_ACEOF
82380 /* confdefs.h. */
82381 _ACEOF
82382 cat confdefs.h >>conftest.$ac_ext
82383 cat >>conftest.$ac_ext <<_ACEOF
82384 /* end confdefs.h. */
82385 #include <math.h>
82386 #ifdef HAVE_IEEEFP_H
82387 #include <ieeefp.h>
82388 #endif
82391 main ()
82393 _isnan(0);
82395 return 0;
82397 _ACEOF
82398 rm -f conftest.$ac_objext
82399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82400 (eval $ac_compile) 2>conftest.er1
82401 ac_status=$?
82402 grep -v '^ *+' conftest.er1 >conftest.err
82403 rm -f conftest.er1
82404 cat conftest.err >&5
82405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82406 (exit $ac_status); } &&
82407 { ac_try='test -z "$ac_cxx_werror_flag"
82408 || test ! -s conftest.err'
82409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82410 (eval $ac_try) 2>&5
82411 ac_status=$?
82412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82413 (exit $ac_status); }; } &&
82414 { ac_try='test -s conftest.$ac_objext'
82415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82416 (eval $ac_try) 2>&5
82417 ac_status=$?
82418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82419 (exit $ac_status); }; }; then
82420 glibcxx_cv_func__isnan_use=yes
82421 else
82422 echo "$as_me: failed program was:" >&5
82423 sed 's/^/| /' conftest.$ac_ext >&5
82425 glibcxx_cv_func__isnan_use=no
82427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82428 ac_ext=c
82429 ac_cpp='$CPP $CPPFLAGS'
82430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82438 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
82439 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
82441 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
82443 for ac_func in _isnan
82445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82446 echo "$as_me:$LINENO: checking for $ac_func" >&5
82447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82448 if eval "test \"\${$as_ac_var+set}\" = set"; then
82449 echo $ECHO_N "(cached) $ECHO_C" >&6
82450 else
82451 if test x$gcc_no_link = xyes; then
82452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82454 { (exit 1); exit 1; }; }
82456 cat >conftest.$ac_ext <<_ACEOF
82457 /* confdefs.h. */
82458 _ACEOF
82459 cat confdefs.h >>conftest.$ac_ext
82460 cat >>conftest.$ac_ext <<_ACEOF
82461 /* end confdefs.h. */
82462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82464 #define $ac_func innocuous_$ac_func
82466 /* System header to define __stub macros and hopefully few prototypes,
82467 which can conflict with char $ac_func (); below.
82468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82469 <limits.h> exists even on freestanding compilers. */
82471 #ifdef __STDC__
82472 # include <limits.h>
82473 #else
82474 # include <assert.h>
82475 #endif
82477 #undef $ac_func
82479 /* Override any gcc2 internal prototype to avoid an error. */
82480 #ifdef __cplusplus
82481 extern "C"
82483 #endif
82484 /* We use char because int might match the return type of a gcc2
82485 builtin and then its argument prototype would still apply. */
82486 char $ac_func ();
82487 /* The GNU C library defines this for functions which it implements
82488 to always fail with ENOSYS. Some functions are actually named
82489 something starting with __ and the normal name is an alias. */
82490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82491 choke me
82492 #else
82493 char (*f) () = $ac_func;
82494 #endif
82495 #ifdef __cplusplus
82497 #endif
82500 main ()
82502 return f != $ac_func;
82504 return 0;
82506 _ACEOF
82507 rm -f conftest.$ac_objext conftest$ac_exeext
82508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82509 (eval $ac_link) 2>conftest.er1
82510 ac_status=$?
82511 grep -v '^ *+' conftest.er1 >conftest.err
82512 rm -f conftest.er1
82513 cat conftest.err >&5
82514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82515 (exit $ac_status); } &&
82516 { ac_try='test -z "$ac_c_werror_flag"
82517 || test ! -s conftest.err'
82518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82519 (eval $ac_try) 2>&5
82520 ac_status=$?
82521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82522 (exit $ac_status); }; } &&
82523 { ac_try='test -s conftest$ac_exeext'
82524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82525 (eval $ac_try) 2>&5
82526 ac_status=$?
82527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82528 (exit $ac_status); }; }; then
82529 eval "$as_ac_var=yes"
82530 else
82531 echo "$as_me: failed program was:" >&5
82532 sed 's/^/| /' conftest.$ac_ext >&5
82534 eval "$as_ac_var=no"
82536 rm -f conftest.err conftest.$ac_objext \
82537 conftest$ac_exeext conftest.$ac_ext
82539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82541 if test `eval echo '${'$as_ac_var'}'` = yes; then
82542 cat >>confdefs.h <<_ACEOF
82543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82544 _ACEOF
82547 done
82557 echo "$as_me:$LINENO: checking for finite declaration" >&5
82558 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
82559 if test x${glibcxx_cv_func_finite_use+set} != xset; then
82560 if test "${glibcxx_cv_func_finite_use+set}" = set; then
82561 echo $ECHO_N "(cached) $ECHO_C" >&6
82562 else
82566 ac_ext=cc
82567 ac_cpp='$CXXCPP $CPPFLAGS'
82568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82572 cat >conftest.$ac_ext <<_ACEOF
82573 /* confdefs.h. */
82574 _ACEOF
82575 cat confdefs.h >>conftest.$ac_ext
82576 cat >>conftest.$ac_ext <<_ACEOF
82577 /* end confdefs.h. */
82578 #include <math.h>
82579 #ifdef HAVE_IEEEFP_H
82580 #include <ieeefp.h>
82581 #endif
82584 main ()
82586 finite(0);
82588 return 0;
82590 _ACEOF
82591 rm -f conftest.$ac_objext
82592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82593 (eval $ac_compile) 2>conftest.er1
82594 ac_status=$?
82595 grep -v '^ *+' conftest.er1 >conftest.err
82596 rm -f conftest.er1
82597 cat conftest.err >&5
82598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82599 (exit $ac_status); } &&
82600 { ac_try='test -z "$ac_cxx_werror_flag"
82601 || test ! -s conftest.err'
82602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82603 (eval $ac_try) 2>&5
82604 ac_status=$?
82605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82606 (exit $ac_status); }; } &&
82607 { ac_try='test -s conftest.$ac_objext'
82608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82609 (eval $ac_try) 2>&5
82610 ac_status=$?
82611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82612 (exit $ac_status); }; }; then
82613 glibcxx_cv_func_finite_use=yes
82614 else
82615 echo "$as_me: failed program was:" >&5
82616 sed 's/^/| /' conftest.$ac_ext >&5
82618 glibcxx_cv_func_finite_use=no
82620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82621 ac_ext=c
82622 ac_cpp='$CPP $CPPFLAGS'
82623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82631 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
82632 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
82634 if test x$glibcxx_cv_func_finite_use = x"yes"; then
82636 for ac_func in finite
82638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82639 echo "$as_me:$LINENO: checking for $ac_func" >&5
82640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82641 if eval "test \"\${$as_ac_var+set}\" = set"; then
82642 echo $ECHO_N "(cached) $ECHO_C" >&6
82643 else
82644 if test x$gcc_no_link = xyes; then
82645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82647 { (exit 1); exit 1; }; }
82649 cat >conftest.$ac_ext <<_ACEOF
82650 /* confdefs.h. */
82651 _ACEOF
82652 cat confdefs.h >>conftest.$ac_ext
82653 cat >>conftest.$ac_ext <<_ACEOF
82654 /* end confdefs.h. */
82655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82657 #define $ac_func innocuous_$ac_func
82659 /* System header to define __stub macros and hopefully few prototypes,
82660 which can conflict with char $ac_func (); below.
82661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82662 <limits.h> exists even on freestanding compilers. */
82664 #ifdef __STDC__
82665 # include <limits.h>
82666 #else
82667 # include <assert.h>
82668 #endif
82670 #undef $ac_func
82672 /* Override any gcc2 internal prototype to avoid an error. */
82673 #ifdef __cplusplus
82674 extern "C"
82676 #endif
82677 /* We use char because int might match the return type of a gcc2
82678 builtin and then its argument prototype would still apply. */
82679 char $ac_func ();
82680 /* The GNU C library defines this for functions which it implements
82681 to always fail with ENOSYS. Some functions are actually named
82682 something starting with __ and the normal name is an alias. */
82683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82684 choke me
82685 #else
82686 char (*f) () = $ac_func;
82687 #endif
82688 #ifdef __cplusplus
82690 #endif
82693 main ()
82695 return f != $ac_func;
82697 return 0;
82699 _ACEOF
82700 rm -f conftest.$ac_objext conftest$ac_exeext
82701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82702 (eval $ac_link) 2>conftest.er1
82703 ac_status=$?
82704 grep -v '^ *+' conftest.er1 >conftest.err
82705 rm -f conftest.er1
82706 cat conftest.err >&5
82707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82708 (exit $ac_status); } &&
82709 { ac_try='test -z "$ac_c_werror_flag"
82710 || test ! -s conftest.err'
82711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82712 (eval $ac_try) 2>&5
82713 ac_status=$?
82714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82715 (exit $ac_status); }; } &&
82716 { ac_try='test -s conftest$ac_exeext'
82717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82718 (eval $ac_try) 2>&5
82719 ac_status=$?
82720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82721 (exit $ac_status); }; }; then
82722 eval "$as_ac_var=yes"
82723 else
82724 echo "$as_me: failed program was:" >&5
82725 sed 's/^/| /' conftest.$ac_ext >&5
82727 eval "$as_ac_var=no"
82729 rm -f conftest.err conftest.$ac_objext \
82730 conftest$ac_exeext conftest.$ac_ext
82732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82734 if test `eval echo '${'$as_ac_var'}'` = yes; then
82735 cat >>confdefs.h <<_ACEOF
82736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82737 _ACEOF
82740 done
82742 else
82744 echo "$as_me:$LINENO: checking for _finite declaration" >&5
82745 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
82746 if test x${glibcxx_cv_func__finite_use+set} != xset; then
82747 if test "${glibcxx_cv_func__finite_use+set}" = set; then
82748 echo $ECHO_N "(cached) $ECHO_C" >&6
82749 else
82753 ac_ext=cc
82754 ac_cpp='$CXXCPP $CPPFLAGS'
82755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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>
82766 #ifdef HAVE_IEEEFP_H
82767 #include <ieeefp.h>
82768 #endif
82771 main ()
82773 _finite(0);
82775 return 0;
82777 _ACEOF
82778 rm -f conftest.$ac_objext
82779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82780 (eval $ac_compile) 2>conftest.er1
82781 ac_status=$?
82782 grep -v '^ *+' conftest.er1 >conftest.err
82783 rm -f conftest.er1
82784 cat conftest.err >&5
82785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82786 (exit $ac_status); } &&
82787 { ac_try='test -z "$ac_cxx_werror_flag"
82788 || test ! -s conftest.err'
82789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82790 (eval $ac_try) 2>&5
82791 ac_status=$?
82792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82793 (exit $ac_status); }; } &&
82794 { ac_try='test -s conftest.$ac_objext'
82795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82796 (eval $ac_try) 2>&5
82797 ac_status=$?
82798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82799 (exit $ac_status); }; }; then
82800 glibcxx_cv_func__finite_use=yes
82801 else
82802 echo "$as_me: failed program was:" >&5
82803 sed 's/^/| /' conftest.$ac_ext >&5
82805 glibcxx_cv_func__finite_use=no
82807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82808 ac_ext=c
82809 ac_cpp='$CPP $CPPFLAGS'
82810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82818 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
82819 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
82821 if test x$glibcxx_cv_func__finite_use = x"yes"; then
82823 for ac_func in _finite
82825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82826 echo "$as_me:$LINENO: checking for $ac_func" >&5
82827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82828 if eval "test \"\${$as_ac_var+set}\" = set"; then
82829 echo $ECHO_N "(cached) $ECHO_C" >&6
82830 else
82831 if test x$gcc_no_link = xyes; then
82832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82834 { (exit 1); exit 1; }; }
82836 cat >conftest.$ac_ext <<_ACEOF
82837 /* confdefs.h. */
82838 _ACEOF
82839 cat confdefs.h >>conftest.$ac_ext
82840 cat >>conftest.$ac_ext <<_ACEOF
82841 /* end confdefs.h. */
82842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82844 #define $ac_func innocuous_$ac_func
82846 /* System header to define __stub macros and hopefully few prototypes,
82847 which can conflict with char $ac_func (); below.
82848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82849 <limits.h> exists even on freestanding compilers. */
82851 #ifdef __STDC__
82852 # include <limits.h>
82853 #else
82854 # include <assert.h>
82855 #endif
82857 #undef $ac_func
82859 /* Override any gcc2 internal prototype to avoid an error. */
82860 #ifdef __cplusplus
82861 extern "C"
82863 #endif
82864 /* We use char because int might match the return type of a gcc2
82865 builtin and then its argument prototype would still apply. */
82866 char $ac_func ();
82867 /* The GNU C library defines this for functions which it implements
82868 to always fail with ENOSYS. Some functions are actually named
82869 something starting with __ and the normal name is an alias. */
82870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82871 choke me
82872 #else
82873 char (*f) () = $ac_func;
82874 #endif
82875 #ifdef __cplusplus
82877 #endif
82880 main ()
82882 return f != $ac_func;
82884 return 0;
82886 _ACEOF
82887 rm -f conftest.$ac_objext conftest$ac_exeext
82888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82889 (eval $ac_link) 2>conftest.er1
82890 ac_status=$?
82891 grep -v '^ *+' conftest.er1 >conftest.err
82892 rm -f conftest.er1
82893 cat conftest.err >&5
82894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82895 (exit $ac_status); } &&
82896 { ac_try='test -z "$ac_c_werror_flag"
82897 || test ! -s conftest.err'
82898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82899 (eval $ac_try) 2>&5
82900 ac_status=$?
82901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82902 (exit $ac_status); }; } &&
82903 { ac_try='test -s conftest$ac_exeext'
82904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82905 (eval $ac_try) 2>&5
82906 ac_status=$?
82907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82908 (exit $ac_status); }; }; then
82909 eval "$as_ac_var=yes"
82910 else
82911 echo "$as_me: failed program was:" >&5
82912 sed 's/^/| /' conftest.$ac_ext >&5
82914 eval "$as_ac_var=no"
82916 rm -f conftest.err conftest.$ac_objext \
82917 conftest$ac_exeext conftest.$ac_ext
82919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82921 if test `eval echo '${'$as_ac_var'}'` = yes; then
82922 cat >>confdefs.h <<_ACEOF
82923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82924 _ACEOF
82927 done
82937 echo "$as_me:$LINENO: checking for copysign declaration" >&5
82938 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
82939 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
82940 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
82941 echo $ECHO_N "(cached) $ECHO_C" >&6
82942 else
82946 ac_ext=cc
82947 ac_cpp='$CXXCPP $CPPFLAGS'
82948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82952 cat >conftest.$ac_ext <<_ACEOF
82953 /* confdefs.h. */
82954 _ACEOF
82955 cat confdefs.h >>conftest.$ac_ext
82956 cat >>conftest.$ac_ext <<_ACEOF
82957 /* end confdefs.h. */
82958 #include <math.h>
82960 main ()
82962 copysign(0, 0);
82964 return 0;
82966 _ACEOF
82967 rm -f conftest.$ac_objext
82968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82969 (eval $ac_compile) 2>conftest.er1
82970 ac_status=$?
82971 grep -v '^ *+' conftest.er1 >conftest.err
82972 rm -f conftest.er1
82973 cat conftest.err >&5
82974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82975 (exit $ac_status); } &&
82976 { ac_try='test -z "$ac_cxx_werror_flag"
82977 || test ! -s conftest.err'
82978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82979 (eval $ac_try) 2>&5
82980 ac_status=$?
82981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82982 (exit $ac_status); }; } &&
82983 { ac_try='test -s conftest.$ac_objext'
82984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82985 (eval $ac_try) 2>&5
82986 ac_status=$?
82987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82988 (exit $ac_status); }; }; then
82989 glibcxx_cv_func_copysign_use=yes
82990 else
82991 echo "$as_me: failed program was:" >&5
82992 sed 's/^/| /' conftest.$ac_ext >&5
82994 glibcxx_cv_func_copysign_use=no
82996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82997 ac_ext=c
82998 ac_cpp='$CPP $CPPFLAGS'
82999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83007 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
83008 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
83010 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
83012 for ac_func in copysign
83014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83015 echo "$as_me:$LINENO: checking for $ac_func" >&5
83016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83017 if eval "test \"\${$as_ac_var+set}\" = set"; then
83018 echo $ECHO_N "(cached) $ECHO_C" >&6
83019 else
83020 if test x$gcc_no_link = xyes; then
83021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83023 { (exit 1); exit 1; }; }
83025 cat >conftest.$ac_ext <<_ACEOF
83026 /* confdefs.h. */
83027 _ACEOF
83028 cat confdefs.h >>conftest.$ac_ext
83029 cat >>conftest.$ac_ext <<_ACEOF
83030 /* end confdefs.h. */
83031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83033 #define $ac_func innocuous_$ac_func
83035 /* System header to define __stub macros and hopefully few prototypes,
83036 which can conflict with char $ac_func (); below.
83037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83038 <limits.h> exists even on freestanding compilers. */
83040 #ifdef __STDC__
83041 # include <limits.h>
83042 #else
83043 # include <assert.h>
83044 #endif
83046 #undef $ac_func
83048 /* Override any gcc2 internal prototype to avoid an error. */
83049 #ifdef __cplusplus
83050 extern "C"
83052 #endif
83053 /* We use char because int might match the return type of a gcc2
83054 builtin and then its argument prototype would still apply. */
83055 char $ac_func ();
83056 /* The GNU C library defines this for functions which it implements
83057 to always fail with ENOSYS. Some functions are actually named
83058 something starting with __ and the normal name is an alias. */
83059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83060 choke me
83061 #else
83062 char (*f) () = $ac_func;
83063 #endif
83064 #ifdef __cplusplus
83066 #endif
83069 main ()
83071 return f != $ac_func;
83073 return 0;
83075 _ACEOF
83076 rm -f conftest.$ac_objext conftest$ac_exeext
83077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83078 (eval $ac_link) 2>conftest.er1
83079 ac_status=$?
83080 grep -v '^ *+' conftest.er1 >conftest.err
83081 rm -f conftest.er1
83082 cat conftest.err >&5
83083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83084 (exit $ac_status); } &&
83085 { ac_try='test -z "$ac_c_werror_flag"
83086 || test ! -s conftest.err'
83087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83088 (eval $ac_try) 2>&5
83089 ac_status=$?
83090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83091 (exit $ac_status); }; } &&
83092 { ac_try='test -s conftest$ac_exeext'
83093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83094 (eval $ac_try) 2>&5
83095 ac_status=$?
83096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83097 (exit $ac_status); }; }; then
83098 eval "$as_ac_var=yes"
83099 else
83100 echo "$as_me: failed program was:" >&5
83101 sed 's/^/| /' conftest.$ac_ext >&5
83103 eval "$as_ac_var=no"
83105 rm -f conftest.err conftest.$ac_objext \
83106 conftest$ac_exeext conftest.$ac_ext
83108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83110 if test `eval echo '${'$as_ac_var'}'` = yes; then
83111 cat >>confdefs.h <<_ACEOF
83112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83113 _ACEOF
83116 done
83118 else
83120 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
83121 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
83122 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
83123 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
83124 echo $ECHO_N "(cached) $ECHO_C" >&6
83125 else
83129 ac_ext=cc
83130 ac_cpp='$CXXCPP $CPPFLAGS'
83131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83135 cat >conftest.$ac_ext <<_ACEOF
83136 /* confdefs.h. */
83137 _ACEOF
83138 cat confdefs.h >>conftest.$ac_ext
83139 cat >>conftest.$ac_ext <<_ACEOF
83140 /* end confdefs.h. */
83141 #include <math.h>
83143 main ()
83145 _copysign(0, 0);
83147 return 0;
83149 _ACEOF
83150 rm -f conftest.$ac_objext
83151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83152 (eval $ac_compile) 2>conftest.er1
83153 ac_status=$?
83154 grep -v '^ *+' conftest.er1 >conftest.err
83155 rm -f conftest.er1
83156 cat conftest.err >&5
83157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83158 (exit $ac_status); } &&
83159 { ac_try='test -z "$ac_cxx_werror_flag"
83160 || test ! -s conftest.err'
83161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83162 (eval $ac_try) 2>&5
83163 ac_status=$?
83164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83165 (exit $ac_status); }; } &&
83166 { ac_try='test -s conftest.$ac_objext'
83167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83168 (eval $ac_try) 2>&5
83169 ac_status=$?
83170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83171 (exit $ac_status); }; }; then
83172 glibcxx_cv_func__copysign_use=yes
83173 else
83174 echo "$as_me: failed program was:" >&5
83175 sed 's/^/| /' conftest.$ac_ext >&5
83177 glibcxx_cv_func__copysign_use=no
83179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83180 ac_ext=c
83181 ac_cpp='$CPP $CPPFLAGS'
83182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83190 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
83191 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
83193 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
83195 for ac_func in _copysign
83197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83198 echo "$as_me:$LINENO: checking for $ac_func" >&5
83199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83200 if eval "test \"\${$as_ac_var+set}\" = set"; then
83201 echo $ECHO_N "(cached) $ECHO_C" >&6
83202 else
83203 if test x$gcc_no_link = xyes; then
83204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83206 { (exit 1); exit 1; }; }
83208 cat >conftest.$ac_ext <<_ACEOF
83209 /* confdefs.h. */
83210 _ACEOF
83211 cat confdefs.h >>conftest.$ac_ext
83212 cat >>conftest.$ac_ext <<_ACEOF
83213 /* end confdefs.h. */
83214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83216 #define $ac_func innocuous_$ac_func
83218 /* System header to define __stub macros and hopefully few prototypes,
83219 which can conflict with char $ac_func (); below.
83220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83221 <limits.h> exists even on freestanding compilers. */
83223 #ifdef __STDC__
83224 # include <limits.h>
83225 #else
83226 # include <assert.h>
83227 #endif
83229 #undef $ac_func
83231 /* Override any gcc2 internal prototype to avoid an error. */
83232 #ifdef __cplusplus
83233 extern "C"
83235 #endif
83236 /* We use char because int might match the return type of a gcc2
83237 builtin and then its argument prototype would still apply. */
83238 char $ac_func ();
83239 /* The GNU C library defines this for functions which it implements
83240 to always fail with ENOSYS. Some functions are actually named
83241 something starting with __ and the normal name is an alias. */
83242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83243 choke me
83244 #else
83245 char (*f) () = $ac_func;
83246 #endif
83247 #ifdef __cplusplus
83249 #endif
83252 main ()
83254 return f != $ac_func;
83256 return 0;
83258 _ACEOF
83259 rm -f conftest.$ac_objext conftest$ac_exeext
83260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83261 (eval $ac_link) 2>conftest.er1
83262 ac_status=$?
83263 grep -v '^ *+' conftest.er1 >conftest.err
83264 rm -f conftest.er1
83265 cat conftest.err >&5
83266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83267 (exit $ac_status); } &&
83268 { ac_try='test -z "$ac_c_werror_flag"
83269 || test ! -s conftest.err'
83270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83271 (eval $ac_try) 2>&5
83272 ac_status=$?
83273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83274 (exit $ac_status); }; } &&
83275 { ac_try='test -s conftest$ac_exeext'
83276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83277 (eval $ac_try) 2>&5
83278 ac_status=$?
83279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83280 (exit $ac_status); }; }; then
83281 eval "$as_ac_var=yes"
83282 else
83283 echo "$as_me: failed program was:" >&5
83284 sed 's/^/| /' conftest.$ac_ext >&5
83286 eval "$as_ac_var=no"
83288 rm -f conftest.err conftest.$ac_objext \
83289 conftest$ac_exeext conftest.$ac_ext
83291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83293 if test `eval echo '${'$as_ac_var'}'` = yes; then
83294 cat >>confdefs.h <<_ACEOF
83295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83296 _ACEOF
83299 done
83309 echo "$as_me:$LINENO: checking for sincos declaration" >&5
83310 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
83311 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
83312 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
83313 echo $ECHO_N "(cached) $ECHO_C" >&6
83314 else
83318 ac_ext=cc
83319 ac_cpp='$CXXCPP $CPPFLAGS'
83320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83324 cat >conftest.$ac_ext <<_ACEOF
83325 /* confdefs.h. */
83326 _ACEOF
83327 cat confdefs.h >>conftest.$ac_ext
83328 cat >>conftest.$ac_ext <<_ACEOF
83329 /* end confdefs.h. */
83330 #include <math.h>
83332 main ()
83334 sincos(0, 0, 0);
83336 return 0;
83338 _ACEOF
83339 rm -f conftest.$ac_objext
83340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83341 (eval $ac_compile) 2>conftest.er1
83342 ac_status=$?
83343 grep -v '^ *+' conftest.er1 >conftest.err
83344 rm -f conftest.er1
83345 cat conftest.err >&5
83346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83347 (exit $ac_status); } &&
83348 { ac_try='test -z "$ac_cxx_werror_flag"
83349 || test ! -s conftest.err'
83350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83351 (eval $ac_try) 2>&5
83352 ac_status=$?
83353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83354 (exit $ac_status); }; } &&
83355 { ac_try='test -s conftest.$ac_objext'
83356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83357 (eval $ac_try) 2>&5
83358 ac_status=$?
83359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83360 (exit $ac_status); }; }; then
83361 glibcxx_cv_func_sincos_use=yes
83362 else
83363 echo "$as_me: failed program was:" >&5
83364 sed 's/^/| /' conftest.$ac_ext >&5
83366 glibcxx_cv_func_sincos_use=no
83368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83369 ac_ext=c
83370 ac_cpp='$CPP $CPPFLAGS'
83371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83379 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
83380 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
83382 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
83384 for ac_func in sincos
83386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83387 echo "$as_me:$LINENO: checking for $ac_func" >&5
83388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83389 if eval "test \"\${$as_ac_var+set}\" = set"; then
83390 echo $ECHO_N "(cached) $ECHO_C" >&6
83391 else
83392 if test x$gcc_no_link = xyes; then
83393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83395 { (exit 1); exit 1; }; }
83397 cat >conftest.$ac_ext <<_ACEOF
83398 /* confdefs.h. */
83399 _ACEOF
83400 cat confdefs.h >>conftest.$ac_ext
83401 cat >>conftest.$ac_ext <<_ACEOF
83402 /* end confdefs.h. */
83403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83405 #define $ac_func innocuous_$ac_func
83407 /* System header to define __stub macros and hopefully few prototypes,
83408 which can conflict with char $ac_func (); below.
83409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83410 <limits.h> exists even on freestanding compilers. */
83412 #ifdef __STDC__
83413 # include <limits.h>
83414 #else
83415 # include <assert.h>
83416 #endif
83418 #undef $ac_func
83420 /* Override any gcc2 internal prototype to avoid an error. */
83421 #ifdef __cplusplus
83422 extern "C"
83424 #endif
83425 /* We use char because int might match the return type of a gcc2
83426 builtin and then its argument prototype would still apply. */
83427 char $ac_func ();
83428 /* The GNU C library defines this for functions which it implements
83429 to always fail with ENOSYS. Some functions are actually named
83430 something starting with __ and the normal name is an alias. */
83431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83432 choke me
83433 #else
83434 char (*f) () = $ac_func;
83435 #endif
83436 #ifdef __cplusplus
83438 #endif
83441 main ()
83443 return f != $ac_func;
83445 return 0;
83447 _ACEOF
83448 rm -f conftest.$ac_objext conftest$ac_exeext
83449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83450 (eval $ac_link) 2>conftest.er1
83451 ac_status=$?
83452 grep -v '^ *+' conftest.er1 >conftest.err
83453 rm -f conftest.er1
83454 cat conftest.err >&5
83455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83456 (exit $ac_status); } &&
83457 { ac_try='test -z "$ac_c_werror_flag"
83458 || test ! -s conftest.err'
83459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83460 (eval $ac_try) 2>&5
83461 ac_status=$?
83462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83463 (exit $ac_status); }; } &&
83464 { ac_try='test -s conftest$ac_exeext'
83465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83466 (eval $ac_try) 2>&5
83467 ac_status=$?
83468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83469 (exit $ac_status); }; }; then
83470 eval "$as_ac_var=yes"
83471 else
83472 echo "$as_me: failed program was:" >&5
83473 sed 's/^/| /' conftest.$ac_ext >&5
83475 eval "$as_ac_var=no"
83477 rm -f conftest.err conftest.$ac_objext \
83478 conftest$ac_exeext conftest.$ac_ext
83480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83482 if test `eval echo '${'$as_ac_var'}'` = yes; then
83483 cat >>confdefs.h <<_ACEOF
83484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83485 _ACEOF
83488 done
83490 else
83492 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
83493 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
83494 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
83495 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
83496 echo $ECHO_N "(cached) $ECHO_C" >&6
83497 else
83501 ac_ext=cc
83502 ac_cpp='$CXXCPP $CPPFLAGS'
83503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83507 cat >conftest.$ac_ext <<_ACEOF
83508 /* confdefs.h. */
83509 _ACEOF
83510 cat confdefs.h >>conftest.$ac_ext
83511 cat >>conftest.$ac_ext <<_ACEOF
83512 /* end confdefs.h. */
83513 #include <math.h>
83515 main ()
83517 _sincos(0, 0, 0);
83519 return 0;
83521 _ACEOF
83522 rm -f conftest.$ac_objext
83523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83524 (eval $ac_compile) 2>conftest.er1
83525 ac_status=$?
83526 grep -v '^ *+' conftest.er1 >conftest.err
83527 rm -f conftest.er1
83528 cat conftest.err >&5
83529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83530 (exit $ac_status); } &&
83531 { ac_try='test -z "$ac_cxx_werror_flag"
83532 || test ! -s conftest.err'
83533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83534 (eval $ac_try) 2>&5
83535 ac_status=$?
83536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83537 (exit $ac_status); }; } &&
83538 { ac_try='test -s conftest.$ac_objext'
83539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83540 (eval $ac_try) 2>&5
83541 ac_status=$?
83542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83543 (exit $ac_status); }; }; then
83544 glibcxx_cv_func__sincos_use=yes
83545 else
83546 echo "$as_me: failed program was:" >&5
83547 sed 's/^/| /' conftest.$ac_ext >&5
83549 glibcxx_cv_func__sincos_use=no
83551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83552 ac_ext=c
83553 ac_cpp='$CPP $CPPFLAGS'
83554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83562 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
83563 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
83565 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
83567 for ac_func in _sincos
83569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83570 echo "$as_me:$LINENO: checking for $ac_func" >&5
83571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83572 if eval "test \"\${$as_ac_var+set}\" = set"; then
83573 echo $ECHO_N "(cached) $ECHO_C" >&6
83574 else
83575 if test x$gcc_no_link = xyes; then
83576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83578 { (exit 1); exit 1; }; }
83580 cat >conftest.$ac_ext <<_ACEOF
83581 /* confdefs.h. */
83582 _ACEOF
83583 cat confdefs.h >>conftest.$ac_ext
83584 cat >>conftest.$ac_ext <<_ACEOF
83585 /* end confdefs.h. */
83586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83588 #define $ac_func innocuous_$ac_func
83590 /* System header to define __stub macros and hopefully few prototypes,
83591 which can conflict with char $ac_func (); below.
83592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83593 <limits.h> exists even on freestanding compilers. */
83595 #ifdef __STDC__
83596 # include <limits.h>
83597 #else
83598 # include <assert.h>
83599 #endif
83601 #undef $ac_func
83603 /* Override any gcc2 internal prototype to avoid an error. */
83604 #ifdef __cplusplus
83605 extern "C"
83607 #endif
83608 /* We use char because int might match the return type of a gcc2
83609 builtin and then its argument prototype would still apply. */
83610 char $ac_func ();
83611 /* The GNU C library defines this for functions which it implements
83612 to always fail with ENOSYS. Some functions are actually named
83613 something starting with __ and the normal name is an alias. */
83614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83615 choke me
83616 #else
83617 char (*f) () = $ac_func;
83618 #endif
83619 #ifdef __cplusplus
83621 #endif
83624 main ()
83626 return f != $ac_func;
83628 return 0;
83630 _ACEOF
83631 rm -f conftest.$ac_objext conftest$ac_exeext
83632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83633 (eval $ac_link) 2>conftest.er1
83634 ac_status=$?
83635 grep -v '^ *+' conftest.er1 >conftest.err
83636 rm -f conftest.er1
83637 cat conftest.err >&5
83638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83639 (exit $ac_status); } &&
83640 { ac_try='test -z "$ac_c_werror_flag"
83641 || test ! -s conftest.err'
83642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83643 (eval $ac_try) 2>&5
83644 ac_status=$?
83645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83646 (exit $ac_status); }; } &&
83647 { ac_try='test -s conftest$ac_exeext'
83648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83649 (eval $ac_try) 2>&5
83650 ac_status=$?
83651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83652 (exit $ac_status); }; }; then
83653 eval "$as_ac_var=yes"
83654 else
83655 echo "$as_me: failed program was:" >&5
83656 sed 's/^/| /' conftest.$ac_ext >&5
83658 eval "$as_ac_var=no"
83660 rm -f conftest.err conftest.$ac_objext \
83661 conftest$ac_exeext conftest.$ac_ext
83663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83665 if test `eval echo '${'$as_ac_var'}'` = yes; then
83666 cat >>confdefs.h <<_ACEOF
83667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83668 _ACEOF
83671 done
83681 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
83682 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
83683 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
83684 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
83685 echo $ECHO_N "(cached) $ECHO_C" >&6
83686 else
83690 ac_ext=cc
83691 ac_cpp='$CXXCPP $CPPFLAGS'
83692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83696 cat >conftest.$ac_ext <<_ACEOF
83697 /* confdefs.h. */
83698 _ACEOF
83699 cat confdefs.h >>conftest.$ac_ext
83700 cat >>conftest.$ac_ext <<_ACEOF
83701 /* end confdefs.h. */
83702 #include <math.h>
83703 #ifdef HAVE_IEEEFP_H
83704 #include <ieeefp.h>
83705 #endif
83708 main ()
83710 fpclass(0);
83712 return 0;
83714 _ACEOF
83715 rm -f conftest.$ac_objext
83716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83717 (eval $ac_compile) 2>conftest.er1
83718 ac_status=$?
83719 grep -v '^ *+' conftest.er1 >conftest.err
83720 rm -f conftest.er1
83721 cat conftest.err >&5
83722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83723 (exit $ac_status); } &&
83724 { ac_try='test -z "$ac_cxx_werror_flag"
83725 || test ! -s conftest.err'
83726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83727 (eval $ac_try) 2>&5
83728 ac_status=$?
83729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83730 (exit $ac_status); }; } &&
83731 { ac_try='test -s conftest.$ac_objext'
83732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83733 (eval $ac_try) 2>&5
83734 ac_status=$?
83735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83736 (exit $ac_status); }; }; then
83737 glibcxx_cv_func_fpclass_use=yes
83738 else
83739 echo "$as_me: failed program was:" >&5
83740 sed 's/^/| /' conftest.$ac_ext >&5
83742 glibcxx_cv_func_fpclass_use=no
83744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83745 ac_ext=c
83746 ac_cpp='$CPP $CPPFLAGS'
83747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83755 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
83756 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
83758 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
83760 for ac_func in fpclass
83762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83763 echo "$as_me:$LINENO: checking for $ac_func" >&5
83764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83765 if eval "test \"\${$as_ac_var+set}\" = set"; then
83766 echo $ECHO_N "(cached) $ECHO_C" >&6
83767 else
83768 if test x$gcc_no_link = xyes; then
83769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83771 { (exit 1); exit 1; }; }
83773 cat >conftest.$ac_ext <<_ACEOF
83774 /* confdefs.h. */
83775 _ACEOF
83776 cat confdefs.h >>conftest.$ac_ext
83777 cat >>conftest.$ac_ext <<_ACEOF
83778 /* end confdefs.h. */
83779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83781 #define $ac_func innocuous_$ac_func
83783 /* System header to define __stub macros and hopefully few prototypes,
83784 which can conflict with char $ac_func (); below.
83785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83786 <limits.h> exists even on freestanding compilers. */
83788 #ifdef __STDC__
83789 # include <limits.h>
83790 #else
83791 # include <assert.h>
83792 #endif
83794 #undef $ac_func
83796 /* Override any gcc2 internal prototype to avoid an error. */
83797 #ifdef __cplusplus
83798 extern "C"
83800 #endif
83801 /* We use char because int might match the return type of a gcc2
83802 builtin and then its argument prototype would still apply. */
83803 char $ac_func ();
83804 /* The GNU C library defines this for functions which it implements
83805 to always fail with ENOSYS. Some functions are actually named
83806 something starting with __ and the normal name is an alias. */
83807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83808 choke me
83809 #else
83810 char (*f) () = $ac_func;
83811 #endif
83812 #ifdef __cplusplus
83814 #endif
83817 main ()
83819 return f != $ac_func;
83821 return 0;
83823 _ACEOF
83824 rm -f conftest.$ac_objext conftest$ac_exeext
83825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83826 (eval $ac_link) 2>conftest.er1
83827 ac_status=$?
83828 grep -v '^ *+' conftest.er1 >conftest.err
83829 rm -f conftest.er1
83830 cat conftest.err >&5
83831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83832 (exit $ac_status); } &&
83833 { ac_try='test -z "$ac_c_werror_flag"
83834 || test ! -s conftest.err'
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); }; } &&
83840 { ac_try='test -s conftest$ac_exeext'
83841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83842 (eval $ac_try) 2>&5
83843 ac_status=$?
83844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83845 (exit $ac_status); }; }; then
83846 eval "$as_ac_var=yes"
83847 else
83848 echo "$as_me: failed program was:" >&5
83849 sed 's/^/| /' conftest.$ac_ext >&5
83851 eval "$as_ac_var=no"
83853 rm -f conftest.err conftest.$ac_objext \
83854 conftest$ac_exeext conftest.$ac_ext
83856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83858 if test `eval echo '${'$as_ac_var'}'` = yes; then
83859 cat >>confdefs.h <<_ACEOF
83860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83861 _ACEOF
83864 done
83866 else
83868 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
83869 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
83870 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
83871 if test "${glibcxx_cv_func__fpclass_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>
83890 #ifdef HAVE_IEEEFP_H
83891 #include <ieeefp.h>
83892 #endif
83895 main ()
83897 _fpclass(0);
83899 return 0;
83901 _ACEOF
83902 rm -f conftest.$ac_objext
83903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83904 (eval $ac_compile) 2>conftest.er1
83905 ac_status=$?
83906 grep -v '^ *+' conftest.er1 >conftest.err
83907 rm -f conftest.er1
83908 cat conftest.err >&5
83909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83910 (exit $ac_status); } &&
83911 { ac_try='test -z "$ac_cxx_werror_flag"
83912 || test ! -s conftest.err'
83913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83914 (eval $ac_try) 2>&5
83915 ac_status=$?
83916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83917 (exit $ac_status); }; } &&
83918 { ac_try='test -s conftest.$ac_objext'
83919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83920 (eval $ac_try) 2>&5
83921 ac_status=$?
83922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83923 (exit $ac_status); }; }; then
83924 glibcxx_cv_func__fpclass_use=yes
83925 else
83926 echo "$as_me: failed program was:" >&5
83927 sed 's/^/| /' conftest.$ac_ext >&5
83929 glibcxx_cv_func__fpclass_use=no
83931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83932 ac_ext=c
83933 ac_cpp='$CPP $CPPFLAGS'
83934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83942 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
83943 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
83945 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
83947 for ac_func in _fpclass
83949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83950 echo "$as_me:$LINENO: checking for $ac_func" >&5
83951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83952 if eval "test \"\${$as_ac_var+set}\" = set"; then
83953 echo $ECHO_N "(cached) $ECHO_C" >&6
83954 else
83955 if test x$gcc_no_link = xyes; then
83956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83958 { (exit 1); exit 1; }; }
83960 cat >conftest.$ac_ext <<_ACEOF
83961 /* confdefs.h. */
83962 _ACEOF
83963 cat confdefs.h >>conftest.$ac_ext
83964 cat >>conftest.$ac_ext <<_ACEOF
83965 /* end confdefs.h. */
83966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83968 #define $ac_func innocuous_$ac_func
83970 /* System header to define __stub macros and hopefully few prototypes,
83971 which can conflict with char $ac_func (); below.
83972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83973 <limits.h> exists even on freestanding compilers. */
83975 #ifdef __STDC__
83976 # include <limits.h>
83977 #else
83978 # include <assert.h>
83979 #endif
83981 #undef $ac_func
83983 /* Override any gcc2 internal prototype to avoid an error. */
83984 #ifdef __cplusplus
83985 extern "C"
83987 #endif
83988 /* We use char because int might match the return type of a gcc2
83989 builtin and then its argument prototype would still apply. */
83990 char $ac_func ();
83991 /* The GNU C library defines this for functions which it implements
83992 to always fail with ENOSYS. Some functions are actually named
83993 something starting with __ and the normal name is an alias. */
83994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83995 choke me
83996 #else
83997 char (*f) () = $ac_func;
83998 #endif
83999 #ifdef __cplusplus
84001 #endif
84004 main ()
84006 return f != $ac_func;
84008 return 0;
84010 _ACEOF
84011 rm -f conftest.$ac_objext conftest$ac_exeext
84012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84013 (eval $ac_link) 2>conftest.er1
84014 ac_status=$?
84015 grep -v '^ *+' conftest.er1 >conftest.err
84016 rm -f conftest.er1
84017 cat conftest.err >&5
84018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84019 (exit $ac_status); } &&
84020 { ac_try='test -z "$ac_c_werror_flag"
84021 || test ! -s conftest.err'
84022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84023 (eval $ac_try) 2>&5
84024 ac_status=$?
84025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84026 (exit $ac_status); }; } &&
84027 { ac_try='test -s conftest$ac_exeext'
84028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84029 (eval $ac_try) 2>&5
84030 ac_status=$?
84031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84032 (exit $ac_status); }; }; then
84033 eval "$as_ac_var=yes"
84034 else
84035 echo "$as_me: failed program was:" >&5
84036 sed 's/^/| /' conftest.$ac_ext >&5
84038 eval "$as_ac_var=no"
84040 rm -f conftest.err conftest.$ac_objext \
84041 conftest$ac_exeext conftest.$ac_ext
84043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84045 if test `eval echo '${'$as_ac_var'}'` = yes; then
84046 cat >>confdefs.h <<_ACEOF
84047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84048 _ACEOF
84051 done
84061 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
84062 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
84063 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
84064 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
84065 echo $ECHO_N "(cached) $ECHO_C" >&6
84066 else
84070 ac_ext=cc
84071 ac_cpp='$CXXCPP $CPPFLAGS'
84072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84076 cat >conftest.$ac_ext <<_ACEOF
84077 /* confdefs.h. */
84078 _ACEOF
84079 cat confdefs.h >>conftest.$ac_ext
84080 cat >>conftest.$ac_ext <<_ACEOF
84081 /* end confdefs.h. */
84082 #include <math.h>
84083 #ifdef HAVE_IEEEFP_H
84084 #include <ieeefp.h>
84085 #endif
84088 main ()
84090 qfpclass(0);
84092 return 0;
84094 _ACEOF
84095 rm -f conftest.$ac_objext
84096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84097 (eval $ac_compile) 2>conftest.er1
84098 ac_status=$?
84099 grep -v '^ *+' conftest.er1 >conftest.err
84100 rm -f conftest.er1
84101 cat conftest.err >&5
84102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84103 (exit $ac_status); } &&
84104 { ac_try='test -z "$ac_cxx_werror_flag"
84105 || test ! -s conftest.err'
84106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84107 (eval $ac_try) 2>&5
84108 ac_status=$?
84109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84110 (exit $ac_status); }; } &&
84111 { ac_try='test -s conftest.$ac_objext'
84112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84113 (eval $ac_try) 2>&5
84114 ac_status=$?
84115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84116 (exit $ac_status); }; }; then
84117 glibcxx_cv_func_qfpclass_use=yes
84118 else
84119 echo "$as_me: failed program was:" >&5
84120 sed 's/^/| /' conftest.$ac_ext >&5
84122 glibcxx_cv_func_qfpclass_use=no
84124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84125 ac_ext=c
84126 ac_cpp='$CPP $CPPFLAGS'
84127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84135 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
84136 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
84138 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
84140 for ac_func in qfpclass
84142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84143 echo "$as_me:$LINENO: checking for $ac_func" >&5
84144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84145 if eval "test \"\${$as_ac_var+set}\" = set"; then
84146 echo $ECHO_N "(cached) $ECHO_C" >&6
84147 else
84148 if test x$gcc_no_link = xyes; then
84149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84151 { (exit 1); exit 1; }; }
84153 cat >conftest.$ac_ext <<_ACEOF
84154 /* confdefs.h. */
84155 _ACEOF
84156 cat confdefs.h >>conftest.$ac_ext
84157 cat >>conftest.$ac_ext <<_ACEOF
84158 /* end confdefs.h. */
84159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84161 #define $ac_func innocuous_$ac_func
84163 /* System header to define __stub macros and hopefully few prototypes,
84164 which can conflict with char $ac_func (); below.
84165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84166 <limits.h> exists even on freestanding compilers. */
84168 #ifdef __STDC__
84169 # include <limits.h>
84170 #else
84171 # include <assert.h>
84172 #endif
84174 #undef $ac_func
84176 /* Override any gcc2 internal prototype to avoid an error. */
84177 #ifdef __cplusplus
84178 extern "C"
84180 #endif
84181 /* We use char because int might match the return type of a gcc2
84182 builtin and then its argument prototype would still apply. */
84183 char $ac_func ();
84184 /* The GNU C library defines this for functions which it implements
84185 to always fail with ENOSYS. Some functions are actually named
84186 something starting with __ and the normal name is an alias. */
84187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84188 choke me
84189 #else
84190 char (*f) () = $ac_func;
84191 #endif
84192 #ifdef __cplusplus
84194 #endif
84197 main ()
84199 return f != $ac_func;
84201 return 0;
84203 _ACEOF
84204 rm -f conftest.$ac_objext conftest$ac_exeext
84205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84206 (eval $ac_link) 2>conftest.er1
84207 ac_status=$?
84208 grep -v '^ *+' conftest.er1 >conftest.err
84209 rm -f conftest.er1
84210 cat conftest.err >&5
84211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84212 (exit $ac_status); } &&
84213 { ac_try='test -z "$ac_c_werror_flag"
84214 || test ! -s conftest.err'
84215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84216 (eval $ac_try) 2>&5
84217 ac_status=$?
84218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84219 (exit $ac_status); }; } &&
84220 { ac_try='test -s conftest$ac_exeext'
84221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84222 (eval $ac_try) 2>&5
84223 ac_status=$?
84224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84225 (exit $ac_status); }; }; then
84226 eval "$as_ac_var=yes"
84227 else
84228 echo "$as_me: failed program was:" >&5
84229 sed 's/^/| /' conftest.$ac_ext >&5
84231 eval "$as_ac_var=no"
84233 rm -f conftest.err conftest.$ac_objext \
84234 conftest$ac_exeext conftest.$ac_ext
84236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84238 if test `eval echo '${'$as_ac_var'}'` = yes; then
84239 cat >>confdefs.h <<_ACEOF
84240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84241 _ACEOF
84244 done
84246 else
84248 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
84249 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
84250 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
84251 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
84252 echo $ECHO_N "(cached) $ECHO_C" >&6
84253 else
84257 ac_ext=cc
84258 ac_cpp='$CXXCPP $CPPFLAGS'
84259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84263 cat >conftest.$ac_ext <<_ACEOF
84264 /* confdefs.h. */
84265 _ACEOF
84266 cat confdefs.h >>conftest.$ac_ext
84267 cat >>conftest.$ac_ext <<_ACEOF
84268 /* end confdefs.h. */
84269 #include <math.h>
84270 #ifdef HAVE_IEEEFP_H
84271 #include <ieeefp.h>
84272 #endif
84275 main ()
84277 _qfpclass(0);
84279 return 0;
84281 _ACEOF
84282 rm -f conftest.$ac_objext
84283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84284 (eval $ac_compile) 2>conftest.er1
84285 ac_status=$?
84286 grep -v '^ *+' conftest.er1 >conftest.err
84287 rm -f conftest.er1
84288 cat conftest.err >&5
84289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84290 (exit $ac_status); } &&
84291 { ac_try='test -z "$ac_cxx_werror_flag"
84292 || test ! -s conftest.err'
84293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84294 (eval $ac_try) 2>&5
84295 ac_status=$?
84296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84297 (exit $ac_status); }; } &&
84298 { ac_try='test -s conftest.$ac_objext'
84299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84300 (eval $ac_try) 2>&5
84301 ac_status=$?
84302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84303 (exit $ac_status); }; }; then
84304 glibcxx_cv_func__qfpclass_use=yes
84305 else
84306 echo "$as_me: failed program was:" >&5
84307 sed 's/^/| /' conftest.$ac_ext >&5
84309 glibcxx_cv_func__qfpclass_use=no
84311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84312 ac_ext=c
84313 ac_cpp='$CPP $CPPFLAGS'
84314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84322 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
84323 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
84325 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
84327 for ac_func in _qfpclass
84329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84330 echo "$as_me:$LINENO: checking for $ac_func" >&5
84331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84332 if eval "test \"\${$as_ac_var+set}\" = set"; then
84333 echo $ECHO_N "(cached) $ECHO_C" >&6
84334 else
84335 if test x$gcc_no_link = xyes; then
84336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84338 { (exit 1); exit 1; }; }
84340 cat >conftest.$ac_ext <<_ACEOF
84341 /* confdefs.h. */
84342 _ACEOF
84343 cat confdefs.h >>conftest.$ac_ext
84344 cat >>conftest.$ac_ext <<_ACEOF
84345 /* end confdefs.h. */
84346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84348 #define $ac_func innocuous_$ac_func
84350 /* System header to define __stub macros and hopefully few prototypes,
84351 which can conflict with char $ac_func (); below.
84352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84353 <limits.h> exists even on freestanding compilers. */
84355 #ifdef __STDC__
84356 # include <limits.h>
84357 #else
84358 # include <assert.h>
84359 #endif
84361 #undef $ac_func
84363 /* Override any gcc2 internal prototype to avoid an error. */
84364 #ifdef __cplusplus
84365 extern "C"
84367 #endif
84368 /* We use char because int might match the return type of a gcc2
84369 builtin and then its argument prototype would still apply. */
84370 char $ac_func ();
84371 /* The GNU C library defines this for functions which it implements
84372 to always fail with ENOSYS. Some functions are actually named
84373 something starting with __ and the normal name is an alias. */
84374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84375 choke me
84376 #else
84377 char (*f) () = $ac_func;
84378 #endif
84379 #ifdef __cplusplus
84381 #endif
84384 main ()
84386 return f != $ac_func;
84388 return 0;
84390 _ACEOF
84391 rm -f conftest.$ac_objext conftest$ac_exeext
84392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84393 (eval $ac_link) 2>conftest.er1
84394 ac_status=$?
84395 grep -v '^ *+' conftest.er1 >conftest.err
84396 rm -f conftest.er1
84397 cat conftest.err >&5
84398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84399 (exit $ac_status); } &&
84400 { ac_try='test -z "$ac_c_werror_flag"
84401 || test ! -s conftest.err'
84402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84403 (eval $ac_try) 2>&5
84404 ac_status=$?
84405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84406 (exit $ac_status); }; } &&
84407 { ac_try='test -s conftest$ac_exeext'
84408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84409 (eval $ac_try) 2>&5
84410 ac_status=$?
84411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84412 (exit $ac_status); }; }; then
84413 eval "$as_ac_var=yes"
84414 else
84415 echo "$as_me: failed program was:" >&5
84416 sed 's/^/| /' conftest.$ac_ext >&5
84418 eval "$as_ac_var=no"
84420 rm -f conftest.err conftest.$ac_objext \
84421 conftest$ac_exeext conftest.$ac_ext
84423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84425 if test `eval echo '${'$as_ac_var'}'` = yes; then
84426 cat >>confdefs.h <<_ACEOF
84427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84428 _ACEOF
84431 done
84441 echo "$as_me:$LINENO: checking for hypot declaration" >&5
84442 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
84443 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
84444 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
84445 echo $ECHO_N "(cached) $ECHO_C" >&6
84446 else
84450 ac_ext=cc
84451 ac_cpp='$CXXCPP $CPPFLAGS'
84452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84456 cat >conftest.$ac_ext <<_ACEOF
84457 /* confdefs.h. */
84458 _ACEOF
84459 cat confdefs.h >>conftest.$ac_ext
84460 cat >>conftest.$ac_ext <<_ACEOF
84461 /* end confdefs.h. */
84462 #include <math.h>
84464 main ()
84466 hypot(0, 0);
84468 return 0;
84470 _ACEOF
84471 rm -f conftest.$ac_objext
84472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84473 (eval $ac_compile) 2>conftest.er1
84474 ac_status=$?
84475 grep -v '^ *+' conftest.er1 >conftest.err
84476 rm -f conftest.er1
84477 cat conftest.err >&5
84478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84479 (exit $ac_status); } &&
84480 { ac_try='test -z "$ac_cxx_werror_flag"
84481 || test ! -s conftest.err'
84482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84483 (eval $ac_try) 2>&5
84484 ac_status=$?
84485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84486 (exit $ac_status); }; } &&
84487 { ac_try='test -s conftest.$ac_objext'
84488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84489 (eval $ac_try) 2>&5
84490 ac_status=$?
84491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84492 (exit $ac_status); }; }; then
84493 glibcxx_cv_func_hypot_use=yes
84494 else
84495 echo "$as_me: failed program was:" >&5
84496 sed 's/^/| /' conftest.$ac_ext >&5
84498 glibcxx_cv_func_hypot_use=no
84500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84501 ac_ext=c
84502 ac_cpp='$CPP $CPPFLAGS'
84503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84511 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
84512 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
84514 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
84516 for ac_func in hypot
84518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84519 echo "$as_me:$LINENO: checking for $ac_func" >&5
84520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84521 if eval "test \"\${$as_ac_var+set}\" = set"; then
84522 echo $ECHO_N "(cached) $ECHO_C" >&6
84523 else
84524 if test x$gcc_no_link = xyes; then
84525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84527 { (exit 1); exit 1; }; }
84529 cat >conftest.$ac_ext <<_ACEOF
84530 /* confdefs.h. */
84531 _ACEOF
84532 cat confdefs.h >>conftest.$ac_ext
84533 cat >>conftest.$ac_ext <<_ACEOF
84534 /* end confdefs.h. */
84535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84537 #define $ac_func innocuous_$ac_func
84539 /* System header to define __stub macros and hopefully few prototypes,
84540 which can conflict with char $ac_func (); below.
84541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84542 <limits.h> exists even on freestanding compilers. */
84544 #ifdef __STDC__
84545 # include <limits.h>
84546 #else
84547 # include <assert.h>
84548 #endif
84550 #undef $ac_func
84552 /* Override any gcc2 internal prototype to avoid an error. */
84553 #ifdef __cplusplus
84554 extern "C"
84556 #endif
84557 /* We use char because int might match the return type of a gcc2
84558 builtin and then its argument prototype would still apply. */
84559 char $ac_func ();
84560 /* The GNU C library defines this for functions which it implements
84561 to always fail with ENOSYS. Some functions are actually named
84562 something starting with __ and the normal name is an alias. */
84563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84564 choke me
84565 #else
84566 char (*f) () = $ac_func;
84567 #endif
84568 #ifdef __cplusplus
84570 #endif
84573 main ()
84575 return f != $ac_func;
84577 return 0;
84579 _ACEOF
84580 rm -f conftest.$ac_objext conftest$ac_exeext
84581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84582 (eval $ac_link) 2>conftest.er1
84583 ac_status=$?
84584 grep -v '^ *+' conftest.er1 >conftest.err
84585 rm -f conftest.er1
84586 cat conftest.err >&5
84587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84588 (exit $ac_status); } &&
84589 { ac_try='test -z "$ac_c_werror_flag"
84590 || test ! -s conftest.err'
84591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84592 (eval $ac_try) 2>&5
84593 ac_status=$?
84594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84595 (exit $ac_status); }; } &&
84596 { ac_try='test -s conftest$ac_exeext'
84597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84598 (eval $ac_try) 2>&5
84599 ac_status=$?
84600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84601 (exit $ac_status); }; }; then
84602 eval "$as_ac_var=yes"
84603 else
84604 echo "$as_me: failed program was:" >&5
84605 sed 's/^/| /' conftest.$ac_ext >&5
84607 eval "$as_ac_var=no"
84609 rm -f conftest.err conftest.$ac_objext \
84610 conftest$ac_exeext conftest.$ac_ext
84612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84614 if test `eval echo '${'$as_ac_var'}'` = yes; then
84615 cat >>confdefs.h <<_ACEOF
84616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84617 _ACEOF
84620 done
84622 else
84624 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
84625 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
84626 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
84627 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
84628 echo $ECHO_N "(cached) $ECHO_C" >&6
84629 else
84633 ac_ext=cc
84634 ac_cpp='$CXXCPP $CPPFLAGS'
84635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84639 cat >conftest.$ac_ext <<_ACEOF
84640 /* confdefs.h. */
84641 _ACEOF
84642 cat confdefs.h >>conftest.$ac_ext
84643 cat >>conftest.$ac_ext <<_ACEOF
84644 /* end confdefs.h. */
84645 #include <math.h>
84647 main ()
84649 _hypot(0, 0);
84651 return 0;
84653 _ACEOF
84654 rm -f conftest.$ac_objext
84655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84656 (eval $ac_compile) 2>conftest.er1
84657 ac_status=$?
84658 grep -v '^ *+' conftest.er1 >conftest.err
84659 rm -f conftest.er1
84660 cat conftest.err >&5
84661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84662 (exit $ac_status); } &&
84663 { ac_try='test -z "$ac_cxx_werror_flag"
84664 || test ! -s conftest.err'
84665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84666 (eval $ac_try) 2>&5
84667 ac_status=$?
84668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84669 (exit $ac_status); }; } &&
84670 { ac_try='test -s conftest.$ac_objext'
84671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84672 (eval $ac_try) 2>&5
84673 ac_status=$?
84674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84675 (exit $ac_status); }; }; then
84676 glibcxx_cv_func__hypot_use=yes
84677 else
84678 echo "$as_me: failed program was:" >&5
84679 sed 's/^/| /' conftest.$ac_ext >&5
84681 glibcxx_cv_func__hypot_use=no
84683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84684 ac_ext=c
84685 ac_cpp='$CPP $CPPFLAGS'
84686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84694 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
84695 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
84697 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
84699 for ac_func in _hypot
84701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84702 echo "$as_me:$LINENO: checking for $ac_func" >&5
84703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84704 if eval "test \"\${$as_ac_var+set}\" = set"; then
84705 echo $ECHO_N "(cached) $ECHO_C" >&6
84706 else
84707 if test x$gcc_no_link = xyes; then
84708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84710 { (exit 1); exit 1; }; }
84712 cat >conftest.$ac_ext <<_ACEOF
84713 /* confdefs.h. */
84714 _ACEOF
84715 cat confdefs.h >>conftest.$ac_ext
84716 cat >>conftest.$ac_ext <<_ACEOF
84717 /* end confdefs.h. */
84718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84720 #define $ac_func innocuous_$ac_func
84722 /* System header to define __stub macros and hopefully few prototypes,
84723 which can conflict with char $ac_func (); below.
84724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84725 <limits.h> exists even on freestanding compilers. */
84727 #ifdef __STDC__
84728 # include <limits.h>
84729 #else
84730 # include <assert.h>
84731 #endif
84733 #undef $ac_func
84735 /* Override any gcc2 internal prototype to avoid an error. */
84736 #ifdef __cplusplus
84737 extern "C"
84739 #endif
84740 /* We use char because int might match the return type of a gcc2
84741 builtin and then its argument prototype would still apply. */
84742 char $ac_func ();
84743 /* The GNU C library defines this for functions which it implements
84744 to always fail with ENOSYS. Some functions are actually named
84745 something starting with __ and the normal name is an alias. */
84746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84747 choke me
84748 #else
84749 char (*f) () = $ac_func;
84750 #endif
84751 #ifdef __cplusplus
84753 #endif
84756 main ()
84758 return f != $ac_func;
84760 return 0;
84762 _ACEOF
84763 rm -f conftest.$ac_objext conftest$ac_exeext
84764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84765 (eval $ac_link) 2>conftest.er1
84766 ac_status=$?
84767 grep -v '^ *+' conftest.er1 >conftest.err
84768 rm -f conftest.er1
84769 cat conftest.err >&5
84770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84771 (exit $ac_status); } &&
84772 { ac_try='test -z "$ac_c_werror_flag"
84773 || test ! -s conftest.err'
84774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84775 (eval $ac_try) 2>&5
84776 ac_status=$?
84777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84778 (exit $ac_status); }; } &&
84779 { ac_try='test -s conftest$ac_exeext'
84780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84781 (eval $ac_try) 2>&5
84782 ac_status=$?
84783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84784 (exit $ac_status); }; }; then
84785 eval "$as_ac_var=yes"
84786 else
84787 echo "$as_me: failed program was:" >&5
84788 sed 's/^/| /' conftest.$ac_ext >&5
84790 eval "$as_ac_var=no"
84792 rm -f conftest.err conftest.$ac_objext \
84793 conftest$ac_exeext conftest.$ac_ext
84795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84797 if test `eval echo '${'$as_ac_var'}'` = yes; then
84798 cat >>confdefs.h <<_ACEOF
84799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84800 _ACEOF
84803 done
84813 echo "$as_me:$LINENO: checking for float trig functions" >&5
84814 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
84815 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
84816 echo $ECHO_N "(cached) $ECHO_C" >&6
84817 else
84821 ac_ext=cc
84822 ac_cpp='$CXXCPP $CPPFLAGS'
84823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84827 cat >conftest.$ac_ext <<_ACEOF
84828 /* confdefs.h. */
84829 _ACEOF
84830 cat confdefs.h >>conftest.$ac_ext
84831 cat >>conftest.$ac_ext <<_ACEOF
84832 /* end confdefs.h. */
84833 #include <math.h>
84835 main ()
84837 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
84839 return 0;
84841 _ACEOF
84842 rm -f conftest.$ac_objext
84843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84844 (eval $ac_compile) 2>conftest.er1
84845 ac_status=$?
84846 grep -v '^ *+' conftest.er1 >conftest.err
84847 rm -f conftest.er1
84848 cat conftest.err >&5
84849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84850 (exit $ac_status); } &&
84851 { ac_try='test -z "$ac_cxx_werror_flag"
84852 || test ! -s conftest.err'
84853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84854 (eval $ac_try) 2>&5
84855 ac_status=$?
84856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84857 (exit $ac_status); }; } &&
84858 { ac_try='test -s conftest.$ac_objext'
84859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84860 (eval $ac_try) 2>&5
84861 ac_status=$?
84862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84863 (exit $ac_status); }; }; then
84864 glibcxx_cv_func_float_trig_use=yes
84865 else
84866 echo "$as_me: failed program was:" >&5
84867 sed 's/^/| /' conftest.$ac_ext >&5
84869 glibcxx_cv_func_float_trig_use=no
84871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84872 ac_ext=c
84873 ac_cpp='$CPP $CPPFLAGS'
84874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84880 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
84881 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
84882 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
84892 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
84894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84895 echo "$as_me:$LINENO: checking for $ac_func" >&5
84896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84897 if eval "test \"\${$as_ac_var+set}\" = set"; then
84898 echo $ECHO_N "(cached) $ECHO_C" >&6
84899 else
84900 if test x$gcc_no_link = xyes; then
84901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84903 { (exit 1); exit 1; }; }
84905 cat >conftest.$ac_ext <<_ACEOF
84906 /* confdefs.h. */
84907 _ACEOF
84908 cat confdefs.h >>conftest.$ac_ext
84909 cat >>conftest.$ac_ext <<_ACEOF
84910 /* end confdefs.h. */
84911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84913 #define $ac_func innocuous_$ac_func
84915 /* System header to define __stub macros and hopefully few prototypes,
84916 which can conflict with char $ac_func (); below.
84917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84918 <limits.h> exists even on freestanding compilers. */
84920 #ifdef __STDC__
84921 # include <limits.h>
84922 #else
84923 # include <assert.h>
84924 #endif
84926 #undef $ac_func
84928 /* Override any gcc2 internal prototype to avoid an error. */
84929 #ifdef __cplusplus
84930 extern "C"
84932 #endif
84933 /* We use char because int might match the return type of a gcc2
84934 builtin and then its argument prototype would still apply. */
84935 char $ac_func ();
84936 /* The GNU C library defines this for functions which it implements
84937 to always fail with ENOSYS. Some functions are actually named
84938 something starting with __ and the normal name is an alias. */
84939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84940 choke me
84941 #else
84942 char (*f) () = $ac_func;
84943 #endif
84944 #ifdef __cplusplus
84946 #endif
84949 main ()
84951 return f != $ac_func;
84953 return 0;
84955 _ACEOF
84956 rm -f conftest.$ac_objext conftest$ac_exeext
84957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84958 (eval $ac_link) 2>conftest.er1
84959 ac_status=$?
84960 grep -v '^ *+' conftest.er1 >conftest.err
84961 rm -f conftest.er1
84962 cat conftest.err >&5
84963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84964 (exit $ac_status); } &&
84965 { ac_try='test -z "$ac_c_werror_flag"
84966 || test ! -s conftest.err'
84967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84968 (eval $ac_try) 2>&5
84969 ac_status=$?
84970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84971 (exit $ac_status); }; } &&
84972 { ac_try='test -s conftest$ac_exeext'
84973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84974 (eval $ac_try) 2>&5
84975 ac_status=$?
84976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84977 (exit $ac_status); }; }; then
84978 eval "$as_ac_var=yes"
84979 else
84980 echo "$as_me: failed program was:" >&5
84981 sed 's/^/| /' conftest.$ac_ext >&5
84983 eval "$as_ac_var=no"
84985 rm -f conftest.err conftest.$ac_objext \
84986 conftest$ac_exeext conftest.$ac_ext
84988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84990 if test `eval echo '${'$as_ac_var'}'` = yes; then
84991 cat >>confdefs.h <<_ACEOF
84992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84993 _ACEOF
84996 done
84998 else
84999 echo "$as_me:$LINENO: checking for _float trig functions" >&5
85000 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
85001 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
85002 echo $ECHO_N "(cached) $ECHO_C" >&6
85003 else
85007 ac_ext=cc
85008 ac_cpp='$CXXCPP $CPPFLAGS'
85009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85013 cat >conftest.$ac_ext <<_ACEOF
85014 /* confdefs.h. */
85015 _ACEOF
85016 cat confdefs.h >>conftest.$ac_ext
85017 cat >>conftest.$ac_ext <<_ACEOF
85018 /* end confdefs.h. */
85019 #include <math.h>
85021 main ()
85023 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
85025 return 0;
85027 _ACEOF
85028 rm -f conftest.$ac_objext
85029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85030 (eval $ac_compile) 2>conftest.er1
85031 ac_status=$?
85032 grep -v '^ *+' conftest.er1 >conftest.err
85033 rm -f conftest.er1
85034 cat conftest.err >&5
85035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85036 (exit $ac_status); } &&
85037 { ac_try='test -z "$ac_cxx_werror_flag"
85038 || test ! -s conftest.err'
85039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85040 (eval $ac_try) 2>&5
85041 ac_status=$?
85042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85043 (exit $ac_status); }; } &&
85044 { ac_try='test -s conftest.$ac_objext'
85045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85046 (eval $ac_try) 2>&5
85047 ac_status=$?
85048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85049 (exit $ac_status); }; }; then
85050 glibcxx_cv_func__float_trig_use=yes
85051 else
85052 echo "$as_me: failed program was:" >&5
85053 sed 's/^/| /' conftest.$ac_ext >&5
85055 glibcxx_cv_func__float_trig_use=no
85057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85058 ac_ext=c
85059 ac_cpp='$CPP $CPPFLAGS'
85060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85066 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
85067 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
85068 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
85078 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
85080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85081 echo "$as_me:$LINENO: checking for $ac_func" >&5
85082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85083 if eval "test \"\${$as_ac_var+set}\" = set"; then
85084 echo $ECHO_N "(cached) $ECHO_C" >&6
85085 else
85086 if test x$gcc_no_link = xyes; then
85087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85089 { (exit 1); exit 1; }; }
85091 cat >conftest.$ac_ext <<_ACEOF
85092 /* confdefs.h. */
85093 _ACEOF
85094 cat confdefs.h >>conftest.$ac_ext
85095 cat >>conftest.$ac_ext <<_ACEOF
85096 /* end confdefs.h. */
85097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85099 #define $ac_func innocuous_$ac_func
85101 /* System header to define __stub macros and hopefully few prototypes,
85102 which can conflict with char $ac_func (); below.
85103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85104 <limits.h> exists even on freestanding compilers. */
85106 #ifdef __STDC__
85107 # include <limits.h>
85108 #else
85109 # include <assert.h>
85110 #endif
85112 #undef $ac_func
85114 /* Override any gcc2 internal prototype to avoid an error. */
85115 #ifdef __cplusplus
85116 extern "C"
85118 #endif
85119 /* We use char because int might match the return type of a gcc2
85120 builtin and then its argument prototype would still apply. */
85121 char $ac_func ();
85122 /* The GNU C library defines this for functions which it implements
85123 to always fail with ENOSYS. Some functions are actually named
85124 something starting with __ and the normal name is an alias. */
85125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85126 choke me
85127 #else
85128 char (*f) () = $ac_func;
85129 #endif
85130 #ifdef __cplusplus
85132 #endif
85135 main ()
85137 return f != $ac_func;
85139 return 0;
85141 _ACEOF
85142 rm -f conftest.$ac_objext conftest$ac_exeext
85143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85144 (eval $ac_link) 2>conftest.er1
85145 ac_status=$?
85146 grep -v '^ *+' conftest.er1 >conftest.err
85147 rm -f conftest.er1
85148 cat conftest.err >&5
85149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85150 (exit $ac_status); } &&
85151 { ac_try='test -z "$ac_c_werror_flag"
85152 || test ! -s conftest.err'
85153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85154 (eval $ac_try) 2>&5
85155 ac_status=$?
85156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85157 (exit $ac_status); }; } &&
85158 { ac_try='test -s conftest$ac_exeext'
85159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85160 (eval $ac_try) 2>&5
85161 ac_status=$?
85162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85163 (exit $ac_status); }; }; then
85164 eval "$as_ac_var=yes"
85165 else
85166 echo "$as_me: failed program was:" >&5
85167 sed 's/^/| /' conftest.$ac_ext >&5
85169 eval "$as_ac_var=no"
85171 rm -f conftest.err conftest.$ac_objext \
85172 conftest$ac_exeext conftest.$ac_ext
85174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85176 if test `eval echo '${'$as_ac_var'}'` = yes; then
85177 cat >>confdefs.h <<_ACEOF
85178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85179 _ACEOF
85182 done
85200 echo "$as_me:$LINENO: checking for float round functions" >&5
85201 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
85202 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
85203 echo $ECHO_N "(cached) $ECHO_C" >&6
85204 else
85208 ac_ext=cc
85209 ac_cpp='$CXXCPP $CPPFLAGS'
85210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85214 cat >conftest.$ac_ext <<_ACEOF
85215 /* confdefs.h. */
85216 _ACEOF
85217 cat confdefs.h >>conftest.$ac_ext
85218 cat >>conftest.$ac_ext <<_ACEOF
85219 /* end confdefs.h. */
85220 #include <math.h>
85222 main ()
85224 ceilf (0); floorf (0);
85226 return 0;
85228 _ACEOF
85229 rm -f conftest.$ac_objext
85230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85231 (eval $ac_compile) 2>conftest.er1
85232 ac_status=$?
85233 grep -v '^ *+' conftest.er1 >conftest.err
85234 rm -f conftest.er1
85235 cat conftest.err >&5
85236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85237 (exit $ac_status); } &&
85238 { ac_try='test -z "$ac_cxx_werror_flag"
85239 || test ! -s conftest.err'
85240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85241 (eval $ac_try) 2>&5
85242 ac_status=$?
85243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85244 (exit $ac_status); }; } &&
85245 { ac_try='test -s conftest.$ac_objext'
85246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85247 (eval $ac_try) 2>&5
85248 ac_status=$?
85249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85250 (exit $ac_status); }; }; then
85251 glibcxx_cv_func_float_round_use=yes
85252 else
85253 echo "$as_me: failed program was:" >&5
85254 sed 's/^/| /' conftest.$ac_ext >&5
85256 glibcxx_cv_func_float_round_use=no
85258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85259 ac_ext=c
85260 ac_cpp='$CPP $CPPFLAGS'
85261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85267 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
85268 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
85269 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
85272 for ac_func in ceilf floorf
85274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85275 echo "$as_me:$LINENO: checking for $ac_func" >&5
85276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85277 if eval "test \"\${$as_ac_var+set}\" = set"; then
85278 echo $ECHO_N "(cached) $ECHO_C" >&6
85279 else
85280 if test x$gcc_no_link = xyes; then
85281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85283 { (exit 1); exit 1; }; }
85285 cat >conftest.$ac_ext <<_ACEOF
85286 /* confdefs.h. */
85287 _ACEOF
85288 cat confdefs.h >>conftest.$ac_ext
85289 cat >>conftest.$ac_ext <<_ACEOF
85290 /* end confdefs.h. */
85291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85293 #define $ac_func innocuous_$ac_func
85295 /* System header to define __stub macros and hopefully few prototypes,
85296 which can conflict with char $ac_func (); below.
85297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85298 <limits.h> exists even on freestanding compilers. */
85300 #ifdef __STDC__
85301 # include <limits.h>
85302 #else
85303 # include <assert.h>
85304 #endif
85306 #undef $ac_func
85308 /* Override any gcc2 internal prototype to avoid an error. */
85309 #ifdef __cplusplus
85310 extern "C"
85312 #endif
85313 /* We use char because int might match the return type of a gcc2
85314 builtin and then its argument prototype would still apply. */
85315 char $ac_func ();
85316 /* The GNU C library defines this for functions which it implements
85317 to always fail with ENOSYS. Some functions are actually named
85318 something starting with __ and the normal name is an alias. */
85319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85320 choke me
85321 #else
85322 char (*f) () = $ac_func;
85323 #endif
85324 #ifdef __cplusplus
85326 #endif
85329 main ()
85331 return f != $ac_func;
85333 return 0;
85335 _ACEOF
85336 rm -f conftest.$ac_objext conftest$ac_exeext
85337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85338 (eval $ac_link) 2>conftest.er1
85339 ac_status=$?
85340 grep -v '^ *+' conftest.er1 >conftest.err
85341 rm -f conftest.er1
85342 cat conftest.err >&5
85343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85344 (exit $ac_status); } &&
85345 { ac_try='test -z "$ac_c_werror_flag"
85346 || test ! -s conftest.err'
85347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85348 (eval $ac_try) 2>&5
85349 ac_status=$?
85350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85351 (exit $ac_status); }; } &&
85352 { ac_try='test -s conftest$ac_exeext'
85353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85354 (eval $ac_try) 2>&5
85355 ac_status=$?
85356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85357 (exit $ac_status); }; }; then
85358 eval "$as_ac_var=yes"
85359 else
85360 echo "$as_me: failed program was:" >&5
85361 sed 's/^/| /' conftest.$ac_ext >&5
85363 eval "$as_ac_var=no"
85365 rm -f conftest.err conftest.$ac_objext \
85366 conftest$ac_exeext conftest.$ac_ext
85368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85370 if test `eval echo '${'$as_ac_var'}'` = yes; then
85371 cat >>confdefs.h <<_ACEOF
85372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85373 _ACEOF
85376 done
85378 else
85379 echo "$as_me:$LINENO: checking for _float round functions" >&5
85380 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
85381 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
85382 echo $ECHO_N "(cached) $ECHO_C" >&6
85383 else
85387 ac_ext=cc
85388 ac_cpp='$CXXCPP $CPPFLAGS'
85389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85393 cat >conftest.$ac_ext <<_ACEOF
85394 /* confdefs.h. */
85395 _ACEOF
85396 cat confdefs.h >>conftest.$ac_ext
85397 cat >>conftest.$ac_ext <<_ACEOF
85398 /* end confdefs.h. */
85399 #include <math.h>
85401 main ()
85403 _ceilf (0); _floorf (0);
85405 return 0;
85407 _ACEOF
85408 rm -f conftest.$ac_objext
85409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85410 (eval $ac_compile) 2>conftest.er1
85411 ac_status=$?
85412 grep -v '^ *+' conftest.er1 >conftest.err
85413 rm -f conftest.er1
85414 cat conftest.err >&5
85415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85416 (exit $ac_status); } &&
85417 { ac_try='test -z "$ac_cxx_werror_flag"
85418 || test ! -s conftest.err'
85419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85420 (eval $ac_try) 2>&5
85421 ac_status=$?
85422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85423 (exit $ac_status); }; } &&
85424 { ac_try='test -s conftest.$ac_objext'
85425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85426 (eval $ac_try) 2>&5
85427 ac_status=$?
85428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85429 (exit $ac_status); }; }; then
85430 glibcxx_cv_func__float_round_use=yes
85431 else
85432 echo "$as_me: failed program was:" >&5
85433 sed 's/^/| /' conftest.$ac_ext >&5
85435 glibcxx_cv_func__float_round_use=no
85437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85438 ac_ext=c
85439 ac_cpp='$CPP $CPPFLAGS'
85440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85446 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
85447 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
85448 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
85451 for ac_func in _ceilf _floorf
85453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85454 echo "$as_me:$LINENO: checking for $ac_func" >&5
85455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85456 if eval "test \"\${$as_ac_var+set}\" = set"; then
85457 echo $ECHO_N "(cached) $ECHO_C" >&6
85458 else
85459 if test x$gcc_no_link = xyes; then
85460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85462 { (exit 1); exit 1; }; }
85464 cat >conftest.$ac_ext <<_ACEOF
85465 /* confdefs.h. */
85466 _ACEOF
85467 cat confdefs.h >>conftest.$ac_ext
85468 cat >>conftest.$ac_ext <<_ACEOF
85469 /* end confdefs.h. */
85470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85472 #define $ac_func innocuous_$ac_func
85474 /* System header to define __stub macros and hopefully few prototypes,
85475 which can conflict with char $ac_func (); below.
85476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85477 <limits.h> exists even on freestanding compilers. */
85479 #ifdef __STDC__
85480 # include <limits.h>
85481 #else
85482 # include <assert.h>
85483 #endif
85485 #undef $ac_func
85487 /* Override any gcc2 internal prototype to avoid an error. */
85488 #ifdef __cplusplus
85489 extern "C"
85491 #endif
85492 /* We use char because int might match the return type of a gcc2
85493 builtin and then its argument prototype would still apply. */
85494 char $ac_func ();
85495 /* The GNU C library defines this for functions which it implements
85496 to always fail with ENOSYS. Some functions are actually named
85497 something starting with __ and the normal name is an alias. */
85498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85499 choke me
85500 #else
85501 char (*f) () = $ac_func;
85502 #endif
85503 #ifdef __cplusplus
85505 #endif
85508 main ()
85510 return f != $ac_func;
85512 return 0;
85514 _ACEOF
85515 rm -f conftest.$ac_objext conftest$ac_exeext
85516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85517 (eval $ac_link) 2>conftest.er1
85518 ac_status=$?
85519 grep -v '^ *+' conftest.er1 >conftest.err
85520 rm -f conftest.er1
85521 cat conftest.err >&5
85522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85523 (exit $ac_status); } &&
85524 { ac_try='test -z "$ac_c_werror_flag"
85525 || test ! -s conftest.err'
85526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85527 (eval $ac_try) 2>&5
85528 ac_status=$?
85529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85530 (exit $ac_status); }; } &&
85531 { ac_try='test -s conftest$ac_exeext'
85532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85533 (eval $ac_try) 2>&5
85534 ac_status=$?
85535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85536 (exit $ac_status); }; }; then
85537 eval "$as_ac_var=yes"
85538 else
85539 echo "$as_me: failed program was:" >&5
85540 sed 's/^/| /' conftest.$ac_ext >&5
85542 eval "$as_ac_var=no"
85544 rm -f conftest.err conftest.$ac_objext \
85545 conftest$ac_exeext conftest.$ac_ext
85547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85549 if test `eval echo '${'$as_ac_var'}'` = yes; then
85550 cat >>confdefs.h <<_ACEOF
85551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85552 _ACEOF
85555 done
85567 echo "$as_me:$LINENO: checking for expf declaration" >&5
85568 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
85569 if test x${glibcxx_cv_func_expf_use+set} != xset; then
85570 if test "${glibcxx_cv_func_expf_use+set}" = set; then
85571 echo $ECHO_N "(cached) $ECHO_C" >&6
85572 else
85576 ac_ext=cc
85577 ac_cpp='$CXXCPP $CPPFLAGS'
85578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85582 cat >conftest.$ac_ext <<_ACEOF
85583 /* confdefs.h. */
85584 _ACEOF
85585 cat confdefs.h >>conftest.$ac_ext
85586 cat >>conftest.$ac_ext <<_ACEOF
85587 /* end confdefs.h. */
85588 #include <math.h>
85589 #ifdef HAVE_IEEEFP_H
85590 #include <ieeefp.h>
85591 #endif
85594 main ()
85596 expf(0);
85598 return 0;
85600 _ACEOF
85601 rm -f conftest.$ac_objext
85602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85603 (eval $ac_compile) 2>conftest.er1
85604 ac_status=$?
85605 grep -v '^ *+' conftest.er1 >conftest.err
85606 rm -f conftest.er1
85607 cat conftest.err >&5
85608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85609 (exit $ac_status); } &&
85610 { ac_try='test -z "$ac_cxx_werror_flag"
85611 || test ! -s conftest.err'
85612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85613 (eval $ac_try) 2>&5
85614 ac_status=$?
85615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85616 (exit $ac_status); }; } &&
85617 { ac_try='test -s conftest.$ac_objext'
85618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85619 (eval $ac_try) 2>&5
85620 ac_status=$?
85621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85622 (exit $ac_status); }; }; then
85623 glibcxx_cv_func_expf_use=yes
85624 else
85625 echo "$as_me: failed program was:" >&5
85626 sed 's/^/| /' conftest.$ac_ext >&5
85628 glibcxx_cv_func_expf_use=no
85630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85631 ac_ext=c
85632 ac_cpp='$CPP $CPPFLAGS'
85633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85641 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
85642 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
85644 if test x$glibcxx_cv_func_expf_use = x"yes"; then
85646 for ac_func in expf
85648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85649 echo "$as_me:$LINENO: checking for $ac_func" >&5
85650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85651 if eval "test \"\${$as_ac_var+set}\" = set"; then
85652 echo $ECHO_N "(cached) $ECHO_C" >&6
85653 else
85654 if test x$gcc_no_link = xyes; then
85655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85657 { (exit 1); exit 1; }; }
85659 cat >conftest.$ac_ext <<_ACEOF
85660 /* confdefs.h. */
85661 _ACEOF
85662 cat confdefs.h >>conftest.$ac_ext
85663 cat >>conftest.$ac_ext <<_ACEOF
85664 /* end confdefs.h. */
85665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85667 #define $ac_func innocuous_$ac_func
85669 /* System header to define __stub macros and hopefully few prototypes,
85670 which can conflict with char $ac_func (); below.
85671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85672 <limits.h> exists even on freestanding compilers. */
85674 #ifdef __STDC__
85675 # include <limits.h>
85676 #else
85677 # include <assert.h>
85678 #endif
85680 #undef $ac_func
85682 /* Override any gcc2 internal prototype to avoid an error. */
85683 #ifdef __cplusplus
85684 extern "C"
85686 #endif
85687 /* We use char because int might match the return type of a gcc2
85688 builtin and then its argument prototype would still apply. */
85689 char $ac_func ();
85690 /* The GNU C library defines this for functions which it implements
85691 to always fail with ENOSYS. Some functions are actually named
85692 something starting with __ and the normal name is an alias. */
85693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85694 choke me
85695 #else
85696 char (*f) () = $ac_func;
85697 #endif
85698 #ifdef __cplusplus
85700 #endif
85703 main ()
85705 return f != $ac_func;
85707 return 0;
85709 _ACEOF
85710 rm -f conftest.$ac_objext conftest$ac_exeext
85711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85712 (eval $ac_link) 2>conftest.er1
85713 ac_status=$?
85714 grep -v '^ *+' conftest.er1 >conftest.err
85715 rm -f conftest.er1
85716 cat conftest.err >&5
85717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85718 (exit $ac_status); } &&
85719 { ac_try='test -z "$ac_c_werror_flag"
85720 || test ! -s conftest.err'
85721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85722 (eval $ac_try) 2>&5
85723 ac_status=$?
85724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85725 (exit $ac_status); }; } &&
85726 { ac_try='test -s conftest$ac_exeext'
85727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85728 (eval $ac_try) 2>&5
85729 ac_status=$?
85730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85731 (exit $ac_status); }; }; then
85732 eval "$as_ac_var=yes"
85733 else
85734 echo "$as_me: failed program was:" >&5
85735 sed 's/^/| /' conftest.$ac_ext >&5
85737 eval "$as_ac_var=no"
85739 rm -f conftest.err conftest.$ac_objext \
85740 conftest$ac_exeext conftest.$ac_ext
85742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85744 if test `eval echo '${'$as_ac_var'}'` = yes; then
85745 cat >>confdefs.h <<_ACEOF
85746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85747 _ACEOF
85750 done
85752 else
85754 echo "$as_me:$LINENO: checking for _expf declaration" >&5
85755 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
85756 if test x${glibcxx_cv_func__expf_use+set} != xset; then
85757 if test "${glibcxx_cv_func__expf_use+set}" = set; then
85758 echo $ECHO_N "(cached) $ECHO_C" >&6
85759 else
85763 ac_ext=cc
85764 ac_cpp='$CXXCPP $CPPFLAGS'
85765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85769 cat >conftest.$ac_ext <<_ACEOF
85770 /* confdefs.h. */
85771 _ACEOF
85772 cat confdefs.h >>conftest.$ac_ext
85773 cat >>conftest.$ac_ext <<_ACEOF
85774 /* end confdefs.h. */
85775 #include <math.h>
85776 #ifdef HAVE_IEEEFP_H
85777 #include <ieeefp.h>
85778 #endif
85781 main ()
85783 _expf(0);
85785 return 0;
85787 _ACEOF
85788 rm -f conftest.$ac_objext
85789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85790 (eval $ac_compile) 2>conftest.er1
85791 ac_status=$?
85792 grep -v '^ *+' conftest.er1 >conftest.err
85793 rm -f conftest.er1
85794 cat conftest.err >&5
85795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85796 (exit $ac_status); } &&
85797 { ac_try='test -z "$ac_cxx_werror_flag"
85798 || test ! -s conftest.err'
85799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85800 (eval $ac_try) 2>&5
85801 ac_status=$?
85802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85803 (exit $ac_status); }; } &&
85804 { ac_try='test -s conftest.$ac_objext'
85805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85806 (eval $ac_try) 2>&5
85807 ac_status=$?
85808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85809 (exit $ac_status); }; }; then
85810 glibcxx_cv_func__expf_use=yes
85811 else
85812 echo "$as_me: failed program was:" >&5
85813 sed 's/^/| /' conftest.$ac_ext >&5
85815 glibcxx_cv_func__expf_use=no
85817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85818 ac_ext=c
85819 ac_cpp='$CPP $CPPFLAGS'
85820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85828 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
85829 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
85831 if test x$glibcxx_cv_func__expf_use = x"yes"; then
85833 for ac_func in _expf
85835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85836 echo "$as_me:$LINENO: checking for $ac_func" >&5
85837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85838 if eval "test \"\${$as_ac_var+set}\" = set"; then
85839 echo $ECHO_N "(cached) $ECHO_C" >&6
85840 else
85841 if test x$gcc_no_link = xyes; then
85842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85844 { (exit 1); exit 1; }; }
85846 cat >conftest.$ac_ext <<_ACEOF
85847 /* confdefs.h. */
85848 _ACEOF
85849 cat confdefs.h >>conftest.$ac_ext
85850 cat >>conftest.$ac_ext <<_ACEOF
85851 /* end confdefs.h. */
85852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85854 #define $ac_func innocuous_$ac_func
85856 /* System header to define __stub macros and hopefully few prototypes,
85857 which can conflict with char $ac_func (); below.
85858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85859 <limits.h> exists even on freestanding compilers. */
85861 #ifdef __STDC__
85862 # include <limits.h>
85863 #else
85864 # include <assert.h>
85865 #endif
85867 #undef $ac_func
85869 /* Override any gcc2 internal prototype to avoid an error. */
85870 #ifdef __cplusplus
85871 extern "C"
85873 #endif
85874 /* We use char because int might match the return type of a gcc2
85875 builtin and then its argument prototype would still apply. */
85876 char $ac_func ();
85877 /* The GNU C library defines this for functions which it implements
85878 to always fail with ENOSYS. Some functions are actually named
85879 something starting with __ and the normal name is an alias. */
85880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85881 choke me
85882 #else
85883 char (*f) () = $ac_func;
85884 #endif
85885 #ifdef __cplusplus
85887 #endif
85890 main ()
85892 return f != $ac_func;
85894 return 0;
85896 _ACEOF
85897 rm -f conftest.$ac_objext conftest$ac_exeext
85898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85899 (eval $ac_link) 2>conftest.er1
85900 ac_status=$?
85901 grep -v '^ *+' conftest.er1 >conftest.err
85902 rm -f conftest.er1
85903 cat conftest.err >&5
85904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85905 (exit $ac_status); } &&
85906 { ac_try='test -z "$ac_c_werror_flag"
85907 || test ! -s conftest.err'
85908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85909 (eval $ac_try) 2>&5
85910 ac_status=$?
85911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85912 (exit $ac_status); }; } &&
85913 { ac_try='test -s conftest$ac_exeext'
85914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85915 (eval $ac_try) 2>&5
85916 ac_status=$?
85917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85918 (exit $ac_status); }; }; then
85919 eval "$as_ac_var=yes"
85920 else
85921 echo "$as_me: failed program was:" >&5
85922 sed 's/^/| /' conftest.$ac_ext >&5
85924 eval "$as_ac_var=no"
85926 rm -f conftest.err conftest.$ac_objext \
85927 conftest$ac_exeext conftest.$ac_ext
85929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85931 if test `eval echo '${'$as_ac_var'}'` = yes; then
85932 cat >>confdefs.h <<_ACEOF
85933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85934 _ACEOF
85937 done
85947 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
85948 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
85949 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
85950 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
85951 echo $ECHO_N "(cached) $ECHO_C" >&6
85952 else
85956 ac_ext=cc
85957 ac_cpp='$CXXCPP $CPPFLAGS'
85958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85962 cat >conftest.$ac_ext <<_ACEOF
85963 /* confdefs.h. */
85964 _ACEOF
85965 cat confdefs.h >>conftest.$ac_ext
85966 cat >>conftest.$ac_ext <<_ACEOF
85967 /* end confdefs.h. */
85968 #include <math.h>
85969 #ifdef HAVE_IEEEFP_H
85970 #include <ieeefp.h>
85971 #endif
85974 main ()
85976 isnanf(0);
85978 return 0;
85980 _ACEOF
85981 rm -f conftest.$ac_objext
85982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85983 (eval $ac_compile) 2>conftest.er1
85984 ac_status=$?
85985 grep -v '^ *+' conftest.er1 >conftest.err
85986 rm -f conftest.er1
85987 cat conftest.err >&5
85988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85989 (exit $ac_status); } &&
85990 { ac_try='test -z "$ac_cxx_werror_flag"
85991 || test ! -s conftest.err'
85992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85993 (eval $ac_try) 2>&5
85994 ac_status=$?
85995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85996 (exit $ac_status); }; } &&
85997 { ac_try='test -s conftest.$ac_objext'
85998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85999 (eval $ac_try) 2>&5
86000 ac_status=$?
86001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86002 (exit $ac_status); }; }; then
86003 glibcxx_cv_func_isnanf_use=yes
86004 else
86005 echo "$as_me: failed program was:" >&5
86006 sed 's/^/| /' conftest.$ac_ext >&5
86008 glibcxx_cv_func_isnanf_use=no
86010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86011 ac_ext=c
86012 ac_cpp='$CPP $CPPFLAGS'
86013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86021 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
86022 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
86024 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
86026 for ac_func in isnanf
86028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86029 echo "$as_me:$LINENO: checking for $ac_func" >&5
86030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86031 if eval "test \"\${$as_ac_var+set}\" = set"; then
86032 echo $ECHO_N "(cached) $ECHO_C" >&6
86033 else
86034 if test x$gcc_no_link = xyes; then
86035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86037 { (exit 1); exit 1; }; }
86039 cat >conftest.$ac_ext <<_ACEOF
86040 /* confdefs.h. */
86041 _ACEOF
86042 cat confdefs.h >>conftest.$ac_ext
86043 cat >>conftest.$ac_ext <<_ACEOF
86044 /* end confdefs.h. */
86045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86047 #define $ac_func innocuous_$ac_func
86049 /* System header to define __stub macros and hopefully few prototypes,
86050 which can conflict with char $ac_func (); below.
86051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86052 <limits.h> exists even on freestanding compilers. */
86054 #ifdef __STDC__
86055 # include <limits.h>
86056 #else
86057 # include <assert.h>
86058 #endif
86060 #undef $ac_func
86062 /* Override any gcc2 internal prototype to avoid an error. */
86063 #ifdef __cplusplus
86064 extern "C"
86066 #endif
86067 /* We use char because int might match the return type of a gcc2
86068 builtin and then its argument prototype would still apply. */
86069 char $ac_func ();
86070 /* The GNU C library defines this for functions which it implements
86071 to always fail with ENOSYS. Some functions are actually named
86072 something starting with __ and the normal name is an alias. */
86073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86074 choke me
86075 #else
86076 char (*f) () = $ac_func;
86077 #endif
86078 #ifdef __cplusplus
86080 #endif
86083 main ()
86085 return f != $ac_func;
86087 return 0;
86089 _ACEOF
86090 rm -f conftest.$ac_objext conftest$ac_exeext
86091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86092 (eval $ac_link) 2>conftest.er1
86093 ac_status=$?
86094 grep -v '^ *+' conftest.er1 >conftest.err
86095 rm -f conftest.er1
86096 cat conftest.err >&5
86097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86098 (exit $ac_status); } &&
86099 { ac_try='test -z "$ac_c_werror_flag"
86100 || test ! -s conftest.err'
86101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86102 (eval $ac_try) 2>&5
86103 ac_status=$?
86104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86105 (exit $ac_status); }; } &&
86106 { ac_try='test -s conftest$ac_exeext'
86107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86108 (eval $ac_try) 2>&5
86109 ac_status=$?
86110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86111 (exit $ac_status); }; }; then
86112 eval "$as_ac_var=yes"
86113 else
86114 echo "$as_me: failed program was:" >&5
86115 sed 's/^/| /' conftest.$ac_ext >&5
86117 eval "$as_ac_var=no"
86119 rm -f conftest.err conftest.$ac_objext \
86120 conftest$ac_exeext conftest.$ac_ext
86122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86124 if test `eval echo '${'$as_ac_var'}'` = yes; then
86125 cat >>confdefs.h <<_ACEOF
86126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86127 _ACEOF
86130 done
86132 else
86134 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
86135 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
86136 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
86137 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
86138 echo $ECHO_N "(cached) $ECHO_C" >&6
86139 else
86143 ac_ext=cc
86144 ac_cpp='$CXXCPP $CPPFLAGS'
86145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86149 cat >conftest.$ac_ext <<_ACEOF
86150 /* confdefs.h. */
86151 _ACEOF
86152 cat confdefs.h >>conftest.$ac_ext
86153 cat >>conftest.$ac_ext <<_ACEOF
86154 /* end confdefs.h. */
86155 #include <math.h>
86156 #ifdef HAVE_IEEEFP_H
86157 #include <ieeefp.h>
86158 #endif
86161 main ()
86163 _isnanf(0);
86165 return 0;
86167 _ACEOF
86168 rm -f conftest.$ac_objext
86169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86170 (eval $ac_compile) 2>conftest.er1
86171 ac_status=$?
86172 grep -v '^ *+' conftest.er1 >conftest.err
86173 rm -f conftest.er1
86174 cat conftest.err >&5
86175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86176 (exit $ac_status); } &&
86177 { ac_try='test -z "$ac_cxx_werror_flag"
86178 || test ! -s conftest.err'
86179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86180 (eval $ac_try) 2>&5
86181 ac_status=$?
86182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86183 (exit $ac_status); }; } &&
86184 { ac_try='test -s conftest.$ac_objext'
86185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86186 (eval $ac_try) 2>&5
86187 ac_status=$?
86188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86189 (exit $ac_status); }; }; then
86190 glibcxx_cv_func__isnanf_use=yes
86191 else
86192 echo "$as_me: failed program was:" >&5
86193 sed 's/^/| /' conftest.$ac_ext >&5
86195 glibcxx_cv_func__isnanf_use=no
86197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86198 ac_ext=c
86199 ac_cpp='$CPP $CPPFLAGS'
86200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86208 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
86209 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
86211 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
86213 for ac_func in _isnanf
86215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86216 echo "$as_me:$LINENO: checking for $ac_func" >&5
86217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86218 if eval "test \"\${$as_ac_var+set}\" = set"; then
86219 echo $ECHO_N "(cached) $ECHO_C" >&6
86220 else
86221 if test x$gcc_no_link = xyes; then
86222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86224 { (exit 1); exit 1; }; }
86226 cat >conftest.$ac_ext <<_ACEOF
86227 /* confdefs.h. */
86228 _ACEOF
86229 cat confdefs.h >>conftest.$ac_ext
86230 cat >>conftest.$ac_ext <<_ACEOF
86231 /* end confdefs.h. */
86232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86234 #define $ac_func innocuous_$ac_func
86236 /* System header to define __stub macros and hopefully few prototypes,
86237 which can conflict with char $ac_func (); below.
86238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86239 <limits.h> exists even on freestanding compilers. */
86241 #ifdef __STDC__
86242 # include <limits.h>
86243 #else
86244 # include <assert.h>
86245 #endif
86247 #undef $ac_func
86249 /* Override any gcc2 internal prototype to avoid an error. */
86250 #ifdef __cplusplus
86251 extern "C"
86253 #endif
86254 /* We use char because int might match the return type of a gcc2
86255 builtin and then its argument prototype would still apply. */
86256 char $ac_func ();
86257 /* The GNU C library defines this for functions which it implements
86258 to always fail with ENOSYS. Some functions are actually named
86259 something starting with __ and the normal name is an alias. */
86260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86261 choke me
86262 #else
86263 char (*f) () = $ac_func;
86264 #endif
86265 #ifdef __cplusplus
86267 #endif
86270 main ()
86272 return f != $ac_func;
86274 return 0;
86276 _ACEOF
86277 rm -f conftest.$ac_objext conftest$ac_exeext
86278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86279 (eval $ac_link) 2>conftest.er1
86280 ac_status=$?
86281 grep -v '^ *+' conftest.er1 >conftest.err
86282 rm -f conftest.er1
86283 cat conftest.err >&5
86284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86285 (exit $ac_status); } &&
86286 { ac_try='test -z "$ac_c_werror_flag"
86287 || test ! -s conftest.err'
86288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86289 (eval $ac_try) 2>&5
86290 ac_status=$?
86291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86292 (exit $ac_status); }; } &&
86293 { ac_try='test -s conftest$ac_exeext'
86294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86295 (eval $ac_try) 2>&5
86296 ac_status=$?
86297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86298 (exit $ac_status); }; }; then
86299 eval "$as_ac_var=yes"
86300 else
86301 echo "$as_me: failed program was:" >&5
86302 sed 's/^/| /' conftest.$ac_ext >&5
86304 eval "$as_ac_var=no"
86306 rm -f conftest.err conftest.$ac_objext \
86307 conftest$ac_exeext conftest.$ac_ext
86309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86311 if test `eval echo '${'$as_ac_var'}'` = yes; then
86312 cat >>confdefs.h <<_ACEOF
86313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86314 _ACEOF
86317 done
86327 echo "$as_me:$LINENO: checking for isinff declaration" >&5
86328 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
86329 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
86330 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
86331 echo $ECHO_N "(cached) $ECHO_C" >&6
86332 else
86336 ac_ext=cc
86337 ac_cpp='$CXXCPP $CPPFLAGS'
86338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86342 cat >conftest.$ac_ext <<_ACEOF
86343 /* confdefs.h. */
86344 _ACEOF
86345 cat confdefs.h >>conftest.$ac_ext
86346 cat >>conftest.$ac_ext <<_ACEOF
86347 /* end confdefs.h. */
86348 #include <math.h>
86349 #ifdef HAVE_IEEEFP_H
86350 #include <ieeefp.h>
86351 #endif
86354 main ()
86356 isinff(0);
86358 return 0;
86360 _ACEOF
86361 rm -f conftest.$ac_objext
86362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86363 (eval $ac_compile) 2>conftest.er1
86364 ac_status=$?
86365 grep -v '^ *+' conftest.er1 >conftest.err
86366 rm -f conftest.er1
86367 cat conftest.err >&5
86368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86369 (exit $ac_status); } &&
86370 { ac_try='test -z "$ac_cxx_werror_flag"
86371 || test ! -s conftest.err'
86372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86373 (eval $ac_try) 2>&5
86374 ac_status=$?
86375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86376 (exit $ac_status); }; } &&
86377 { ac_try='test -s conftest.$ac_objext'
86378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86379 (eval $ac_try) 2>&5
86380 ac_status=$?
86381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86382 (exit $ac_status); }; }; then
86383 glibcxx_cv_func_isinff_use=yes
86384 else
86385 echo "$as_me: failed program was:" >&5
86386 sed 's/^/| /' conftest.$ac_ext >&5
86388 glibcxx_cv_func_isinff_use=no
86390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86391 ac_ext=c
86392 ac_cpp='$CPP $CPPFLAGS'
86393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86401 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
86402 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
86404 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
86406 for ac_func in isinff
86408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86409 echo "$as_me:$LINENO: checking for $ac_func" >&5
86410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86411 if eval "test \"\${$as_ac_var+set}\" = set"; then
86412 echo $ECHO_N "(cached) $ECHO_C" >&6
86413 else
86414 if test x$gcc_no_link = xyes; then
86415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86417 { (exit 1); exit 1; }; }
86419 cat >conftest.$ac_ext <<_ACEOF
86420 /* confdefs.h. */
86421 _ACEOF
86422 cat confdefs.h >>conftest.$ac_ext
86423 cat >>conftest.$ac_ext <<_ACEOF
86424 /* end confdefs.h. */
86425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86427 #define $ac_func innocuous_$ac_func
86429 /* System header to define __stub macros and hopefully few prototypes,
86430 which can conflict with char $ac_func (); below.
86431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86432 <limits.h> exists even on freestanding compilers. */
86434 #ifdef __STDC__
86435 # include <limits.h>
86436 #else
86437 # include <assert.h>
86438 #endif
86440 #undef $ac_func
86442 /* Override any gcc2 internal prototype to avoid an error. */
86443 #ifdef __cplusplus
86444 extern "C"
86446 #endif
86447 /* We use char because int might match the return type of a gcc2
86448 builtin and then its argument prototype would still apply. */
86449 char $ac_func ();
86450 /* The GNU C library defines this for functions which it implements
86451 to always fail with ENOSYS. Some functions are actually named
86452 something starting with __ and the normal name is an alias. */
86453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86454 choke me
86455 #else
86456 char (*f) () = $ac_func;
86457 #endif
86458 #ifdef __cplusplus
86460 #endif
86463 main ()
86465 return f != $ac_func;
86467 return 0;
86469 _ACEOF
86470 rm -f conftest.$ac_objext conftest$ac_exeext
86471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86472 (eval $ac_link) 2>conftest.er1
86473 ac_status=$?
86474 grep -v '^ *+' conftest.er1 >conftest.err
86475 rm -f conftest.er1
86476 cat conftest.err >&5
86477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86478 (exit $ac_status); } &&
86479 { ac_try='test -z "$ac_c_werror_flag"
86480 || test ! -s conftest.err'
86481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86482 (eval $ac_try) 2>&5
86483 ac_status=$?
86484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86485 (exit $ac_status); }; } &&
86486 { ac_try='test -s conftest$ac_exeext'
86487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86488 (eval $ac_try) 2>&5
86489 ac_status=$?
86490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86491 (exit $ac_status); }; }; then
86492 eval "$as_ac_var=yes"
86493 else
86494 echo "$as_me: failed program was:" >&5
86495 sed 's/^/| /' conftest.$ac_ext >&5
86497 eval "$as_ac_var=no"
86499 rm -f conftest.err conftest.$ac_objext \
86500 conftest$ac_exeext conftest.$ac_ext
86502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86504 if test `eval echo '${'$as_ac_var'}'` = yes; then
86505 cat >>confdefs.h <<_ACEOF
86506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86507 _ACEOF
86510 done
86512 else
86514 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
86515 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
86516 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
86517 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
86518 echo $ECHO_N "(cached) $ECHO_C" >&6
86519 else
86523 ac_ext=cc
86524 ac_cpp='$CXXCPP $CPPFLAGS'
86525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86529 cat >conftest.$ac_ext <<_ACEOF
86530 /* confdefs.h. */
86531 _ACEOF
86532 cat confdefs.h >>conftest.$ac_ext
86533 cat >>conftest.$ac_ext <<_ACEOF
86534 /* end confdefs.h. */
86535 #include <math.h>
86536 #ifdef HAVE_IEEEFP_H
86537 #include <ieeefp.h>
86538 #endif
86541 main ()
86543 _isinff(0);
86545 return 0;
86547 _ACEOF
86548 rm -f conftest.$ac_objext
86549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86550 (eval $ac_compile) 2>conftest.er1
86551 ac_status=$?
86552 grep -v '^ *+' conftest.er1 >conftest.err
86553 rm -f conftest.er1
86554 cat conftest.err >&5
86555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86556 (exit $ac_status); } &&
86557 { ac_try='test -z "$ac_cxx_werror_flag"
86558 || test ! -s conftest.err'
86559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86560 (eval $ac_try) 2>&5
86561 ac_status=$?
86562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86563 (exit $ac_status); }; } &&
86564 { ac_try='test -s conftest.$ac_objext'
86565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86566 (eval $ac_try) 2>&5
86567 ac_status=$?
86568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86569 (exit $ac_status); }; }; then
86570 glibcxx_cv_func__isinff_use=yes
86571 else
86572 echo "$as_me: failed program was:" >&5
86573 sed 's/^/| /' conftest.$ac_ext >&5
86575 glibcxx_cv_func__isinff_use=no
86577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86578 ac_ext=c
86579 ac_cpp='$CPP $CPPFLAGS'
86580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
86589 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
86591 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
86593 for ac_func in _isinff
86595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86596 echo "$as_me:$LINENO: checking for $ac_func" >&5
86597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86598 if eval "test \"\${$as_ac_var+set}\" = set"; then
86599 echo $ECHO_N "(cached) $ECHO_C" >&6
86600 else
86601 if test x$gcc_no_link = xyes; then
86602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86604 { (exit 1); exit 1; }; }
86606 cat >conftest.$ac_ext <<_ACEOF
86607 /* confdefs.h. */
86608 _ACEOF
86609 cat confdefs.h >>conftest.$ac_ext
86610 cat >>conftest.$ac_ext <<_ACEOF
86611 /* end confdefs.h. */
86612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86614 #define $ac_func innocuous_$ac_func
86616 /* System header to define __stub macros and hopefully few prototypes,
86617 which can conflict with char $ac_func (); below.
86618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86619 <limits.h> exists even on freestanding compilers. */
86621 #ifdef __STDC__
86622 # include <limits.h>
86623 #else
86624 # include <assert.h>
86625 #endif
86627 #undef $ac_func
86629 /* Override any gcc2 internal prototype to avoid an error. */
86630 #ifdef __cplusplus
86631 extern "C"
86633 #endif
86634 /* We use char because int might match the return type of a gcc2
86635 builtin and then its argument prototype would still apply. */
86636 char $ac_func ();
86637 /* The GNU C library defines this for functions which it implements
86638 to always fail with ENOSYS. Some functions are actually named
86639 something starting with __ and the normal name is an alias. */
86640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86641 choke me
86642 #else
86643 char (*f) () = $ac_func;
86644 #endif
86645 #ifdef __cplusplus
86647 #endif
86650 main ()
86652 return f != $ac_func;
86654 return 0;
86656 _ACEOF
86657 rm -f conftest.$ac_objext conftest$ac_exeext
86658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86659 (eval $ac_link) 2>conftest.er1
86660 ac_status=$?
86661 grep -v '^ *+' conftest.er1 >conftest.err
86662 rm -f conftest.er1
86663 cat conftest.err >&5
86664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86665 (exit $ac_status); } &&
86666 { ac_try='test -z "$ac_c_werror_flag"
86667 || test ! -s conftest.err'
86668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86669 (eval $ac_try) 2>&5
86670 ac_status=$?
86671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86672 (exit $ac_status); }; } &&
86673 { ac_try='test -s conftest$ac_exeext'
86674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86675 (eval $ac_try) 2>&5
86676 ac_status=$?
86677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86678 (exit $ac_status); }; }; then
86679 eval "$as_ac_var=yes"
86680 else
86681 echo "$as_me: failed program was:" >&5
86682 sed 's/^/| /' conftest.$ac_ext >&5
86684 eval "$as_ac_var=no"
86686 rm -f conftest.err conftest.$ac_objext \
86687 conftest$ac_exeext conftest.$ac_ext
86689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86691 if test `eval echo '${'$as_ac_var'}'` = yes; then
86692 cat >>confdefs.h <<_ACEOF
86693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86694 _ACEOF
86697 done
86707 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
86708 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
86709 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
86710 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
86711 echo $ECHO_N "(cached) $ECHO_C" >&6
86712 else
86716 ac_ext=cc
86717 ac_cpp='$CXXCPP $CPPFLAGS'
86718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86722 cat >conftest.$ac_ext <<_ACEOF
86723 /* confdefs.h. */
86724 _ACEOF
86725 cat confdefs.h >>conftest.$ac_ext
86726 cat >>conftest.$ac_ext <<_ACEOF
86727 /* end confdefs.h. */
86728 #include <math.h>
86730 main ()
86732 atan2f(0, 0);
86734 return 0;
86736 _ACEOF
86737 rm -f conftest.$ac_objext
86738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86739 (eval $ac_compile) 2>conftest.er1
86740 ac_status=$?
86741 grep -v '^ *+' conftest.er1 >conftest.err
86742 rm -f conftest.er1
86743 cat conftest.err >&5
86744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86745 (exit $ac_status); } &&
86746 { ac_try='test -z "$ac_cxx_werror_flag"
86747 || test ! -s conftest.err'
86748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86749 (eval $ac_try) 2>&5
86750 ac_status=$?
86751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86752 (exit $ac_status); }; } &&
86753 { ac_try='test -s conftest.$ac_objext'
86754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86755 (eval $ac_try) 2>&5
86756 ac_status=$?
86757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86758 (exit $ac_status); }; }; then
86759 glibcxx_cv_func_atan2f_use=yes
86760 else
86761 echo "$as_me: failed program was:" >&5
86762 sed 's/^/| /' conftest.$ac_ext >&5
86764 glibcxx_cv_func_atan2f_use=no
86766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86767 ac_ext=c
86768 ac_cpp='$CPP $CPPFLAGS'
86769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86777 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
86778 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
86780 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
86782 for ac_func in atan2f
86784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86785 echo "$as_me:$LINENO: checking for $ac_func" >&5
86786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86787 if eval "test \"\${$as_ac_var+set}\" = set"; then
86788 echo $ECHO_N "(cached) $ECHO_C" >&6
86789 else
86790 if test x$gcc_no_link = xyes; then
86791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86793 { (exit 1); exit 1; }; }
86795 cat >conftest.$ac_ext <<_ACEOF
86796 /* confdefs.h. */
86797 _ACEOF
86798 cat confdefs.h >>conftest.$ac_ext
86799 cat >>conftest.$ac_ext <<_ACEOF
86800 /* end confdefs.h. */
86801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86803 #define $ac_func innocuous_$ac_func
86805 /* System header to define __stub macros and hopefully few prototypes,
86806 which can conflict with char $ac_func (); below.
86807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86808 <limits.h> exists even on freestanding compilers. */
86810 #ifdef __STDC__
86811 # include <limits.h>
86812 #else
86813 # include <assert.h>
86814 #endif
86816 #undef $ac_func
86818 /* Override any gcc2 internal prototype to avoid an error. */
86819 #ifdef __cplusplus
86820 extern "C"
86822 #endif
86823 /* We use char because int might match the return type of a gcc2
86824 builtin and then its argument prototype would still apply. */
86825 char $ac_func ();
86826 /* The GNU C library defines this for functions which it implements
86827 to always fail with ENOSYS. Some functions are actually named
86828 something starting with __ and the normal name is an alias. */
86829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86830 choke me
86831 #else
86832 char (*f) () = $ac_func;
86833 #endif
86834 #ifdef __cplusplus
86836 #endif
86839 main ()
86841 return f != $ac_func;
86843 return 0;
86845 _ACEOF
86846 rm -f conftest.$ac_objext conftest$ac_exeext
86847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86848 (eval $ac_link) 2>conftest.er1
86849 ac_status=$?
86850 grep -v '^ *+' conftest.er1 >conftest.err
86851 rm -f conftest.er1
86852 cat conftest.err >&5
86853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86854 (exit $ac_status); } &&
86855 { ac_try='test -z "$ac_c_werror_flag"
86856 || test ! -s conftest.err'
86857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86858 (eval $ac_try) 2>&5
86859 ac_status=$?
86860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86861 (exit $ac_status); }; } &&
86862 { ac_try='test -s conftest$ac_exeext'
86863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86864 (eval $ac_try) 2>&5
86865 ac_status=$?
86866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86867 (exit $ac_status); }; }; then
86868 eval "$as_ac_var=yes"
86869 else
86870 echo "$as_me: failed program was:" >&5
86871 sed 's/^/| /' conftest.$ac_ext >&5
86873 eval "$as_ac_var=no"
86875 rm -f conftest.err conftest.$ac_objext \
86876 conftest$ac_exeext conftest.$ac_ext
86878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86880 if test `eval echo '${'$as_ac_var'}'` = yes; then
86881 cat >>confdefs.h <<_ACEOF
86882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86883 _ACEOF
86886 done
86888 else
86890 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
86891 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
86892 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
86893 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
86894 echo $ECHO_N "(cached) $ECHO_C" >&6
86895 else
86899 ac_ext=cc
86900 ac_cpp='$CXXCPP $CPPFLAGS'
86901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86905 cat >conftest.$ac_ext <<_ACEOF
86906 /* confdefs.h. */
86907 _ACEOF
86908 cat confdefs.h >>conftest.$ac_ext
86909 cat >>conftest.$ac_ext <<_ACEOF
86910 /* end confdefs.h. */
86911 #include <math.h>
86913 main ()
86915 _atan2f(0, 0);
86917 return 0;
86919 _ACEOF
86920 rm -f conftest.$ac_objext
86921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86922 (eval $ac_compile) 2>conftest.er1
86923 ac_status=$?
86924 grep -v '^ *+' conftest.er1 >conftest.err
86925 rm -f conftest.er1
86926 cat conftest.err >&5
86927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86928 (exit $ac_status); } &&
86929 { ac_try='test -z "$ac_cxx_werror_flag"
86930 || test ! -s conftest.err'
86931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86932 (eval $ac_try) 2>&5
86933 ac_status=$?
86934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86935 (exit $ac_status); }; } &&
86936 { ac_try='test -s conftest.$ac_objext'
86937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86938 (eval $ac_try) 2>&5
86939 ac_status=$?
86940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86941 (exit $ac_status); }; }; then
86942 glibcxx_cv_func__atan2f_use=yes
86943 else
86944 echo "$as_me: failed program was:" >&5
86945 sed 's/^/| /' conftest.$ac_ext >&5
86947 glibcxx_cv_func__atan2f_use=no
86949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86950 ac_ext=c
86951 ac_cpp='$CPP $CPPFLAGS'
86952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86960 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
86961 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
86963 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
86965 for ac_func in _atan2f
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
87069 done
87079 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
87080 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
87081 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
87082 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
87083 echo $ECHO_N "(cached) $ECHO_C" >&6
87084 else
87088 ac_ext=cc
87089 ac_cpp='$CXXCPP $CPPFLAGS'
87090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87094 cat >conftest.$ac_ext <<_ACEOF
87095 /* confdefs.h. */
87096 _ACEOF
87097 cat confdefs.h >>conftest.$ac_ext
87098 cat >>conftest.$ac_ext <<_ACEOF
87099 /* end confdefs.h. */
87100 #include <math.h>
87101 #ifdef HAVE_IEEEFP_H
87102 #include <ieeefp.h>
87103 #endif
87106 main ()
87108 fabsf(0);
87110 return 0;
87112 _ACEOF
87113 rm -f conftest.$ac_objext
87114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87115 (eval $ac_compile) 2>conftest.er1
87116 ac_status=$?
87117 grep -v '^ *+' conftest.er1 >conftest.err
87118 rm -f conftest.er1
87119 cat conftest.err >&5
87120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87121 (exit $ac_status); } &&
87122 { ac_try='test -z "$ac_cxx_werror_flag"
87123 || test ! -s conftest.err'
87124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87125 (eval $ac_try) 2>&5
87126 ac_status=$?
87127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87128 (exit $ac_status); }; } &&
87129 { ac_try='test -s conftest.$ac_objext'
87130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87131 (eval $ac_try) 2>&5
87132 ac_status=$?
87133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87134 (exit $ac_status); }; }; then
87135 glibcxx_cv_func_fabsf_use=yes
87136 else
87137 echo "$as_me: failed program was:" >&5
87138 sed 's/^/| /' conftest.$ac_ext >&5
87140 glibcxx_cv_func_fabsf_use=no
87142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87143 ac_ext=c
87144 ac_cpp='$CPP $CPPFLAGS'
87145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87153 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
87154 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
87156 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
87158 for ac_func in fabsf
87160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87161 echo "$as_me:$LINENO: checking for $ac_func" >&5
87162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87163 if eval "test \"\${$as_ac_var+set}\" = set"; then
87164 echo $ECHO_N "(cached) $ECHO_C" >&6
87165 else
87166 if test x$gcc_no_link = xyes; then
87167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87169 { (exit 1); exit 1; }; }
87171 cat >conftest.$ac_ext <<_ACEOF
87172 /* confdefs.h. */
87173 _ACEOF
87174 cat confdefs.h >>conftest.$ac_ext
87175 cat >>conftest.$ac_ext <<_ACEOF
87176 /* end confdefs.h. */
87177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87179 #define $ac_func innocuous_$ac_func
87181 /* System header to define __stub macros and hopefully few prototypes,
87182 which can conflict with char $ac_func (); below.
87183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87184 <limits.h> exists even on freestanding compilers. */
87186 #ifdef __STDC__
87187 # include <limits.h>
87188 #else
87189 # include <assert.h>
87190 #endif
87192 #undef $ac_func
87194 /* Override any gcc2 internal prototype to avoid an error. */
87195 #ifdef __cplusplus
87196 extern "C"
87198 #endif
87199 /* We use char because int might match the return type of a gcc2
87200 builtin and then its argument prototype would still apply. */
87201 char $ac_func ();
87202 /* The GNU C library defines this for functions which it implements
87203 to always fail with ENOSYS. Some functions are actually named
87204 something starting with __ and the normal name is an alias. */
87205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87206 choke me
87207 #else
87208 char (*f) () = $ac_func;
87209 #endif
87210 #ifdef __cplusplus
87212 #endif
87215 main ()
87217 return f != $ac_func;
87219 return 0;
87221 _ACEOF
87222 rm -f conftest.$ac_objext conftest$ac_exeext
87223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87224 (eval $ac_link) 2>conftest.er1
87225 ac_status=$?
87226 grep -v '^ *+' conftest.er1 >conftest.err
87227 rm -f conftest.er1
87228 cat conftest.err >&5
87229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87230 (exit $ac_status); } &&
87231 { ac_try='test -z "$ac_c_werror_flag"
87232 || test ! -s conftest.err'
87233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87234 (eval $ac_try) 2>&5
87235 ac_status=$?
87236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87237 (exit $ac_status); }; } &&
87238 { ac_try='test -s conftest$ac_exeext'
87239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87240 (eval $ac_try) 2>&5
87241 ac_status=$?
87242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87243 (exit $ac_status); }; }; then
87244 eval "$as_ac_var=yes"
87245 else
87246 echo "$as_me: failed program was:" >&5
87247 sed 's/^/| /' conftest.$ac_ext >&5
87249 eval "$as_ac_var=no"
87251 rm -f conftest.err conftest.$ac_objext \
87252 conftest$ac_exeext conftest.$ac_ext
87254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87256 if test `eval echo '${'$as_ac_var'}'` = yes; then
87257 cat >>confdefs.h <<_ACEOF
87258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87259 _ACEOF
87262 done
87264 else
87266 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
87267 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
87268 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
87269 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
87270 echo $ECHO_N "(cached) $ECHO_C" >&6
87271 else
87275 ac_ext=cc
87276 ac_cpp='$CXXCPP $CPPFLAGS'
87277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87281 cat >conftest.$ac_ext <<_ACEOF
87282 /* confdefs.h. */
87283 _ACEOF
87284 cat confdefs.h >>conftest.$ac_ext
87285 cat >>conftest.$ac_ext <<_ACEOF
87286 /* end confdefs.h. */
87287 #include <math.h>
87288 #ifdef HAVE_IEEEFP_H
87289 #include <ieeefp.h>
87290 #endif
87293 main ()
87295 _fabsf(0);
87297 return 0;
87299 _ACEOF
87300 rm -f conftest.$ac_objext
87301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87302 (eval $ac_compile) 2>conftest.er1
87303 ac_status=$?
87304 grep -v '^ *+' conftest.er1 >conftest.err
87305 rm -f conftest.er1
87306 cat conftest.err >&5
87307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87308 (exit $ac_status); } &&
87309 { ac_try='test -z "$ac_cxx_werror_flag"
87310 || test ! -s conftest.err'
87311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87312 (eval $ac_try) 2>&5
87313 ac_status=$?
87314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87315 (exit $ac_status); }; } &&
87316 { ac_try='test -s conftest.$ac_objext'
87317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87318 (eval $ac_try) 2>&5
87319 ac_status=$?
87320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87321 (exit $ac_status); }; }; then
87322 glibcxx_cv_func__fabsf_use=yes
87323 else
87324 echo "$as_me: failed program was:" >&5
87325 sed 's/^/| /' conftest.$ac_ext >&5
87327 glibcxx_cv_func__fabsf_use=no
87329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87330 ac_ext=c
87331 ac_cpp='$CPP $CPPFLAGS'
87332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87340 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
87341 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
87343 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
87345 for ac_func in _fabsf
87347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87348 echo "$as_me:$LINENO: checking for $ac_func" >&5
87349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87350 if eval "test \"\${$as_ac_var+set}\" = set"; then
87351 echo $ECHO_N "(cached) $ECHO_C" >&6
87352 else
87353 if test x$gcc_no_link = xyes; then
87354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87356 { (exit 1); exit 1; }; }
87358 cat >conftest.$ac_ext <<_ACEOF
87359 /* confdefs.h. */
87360 _ACEOF
87361 cat confdefs.h >>conftest.$ac_ext
87362 cat >>conftest.$ac_ext <<_ACEOF
87363 /* end confdefs.h. */
87364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87366 #define $ac_func innocuous_$ac_func
87368 /* System header to define __stub macros and hopefully few prototypes,
87369 which can conflict with char $ac_func (); below.
87370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87371 <limits.h> exists even on freestanding compilers. */
87373 #ifdef __STDC__
87374 # include <limits.h>
87375 #else
87376 # include <assert.h>
87377 #endif
87379 #undef $ac_func
87381 /* Override any gcc2 internal prototype to avoid an error. */
87382 #ifdef __cplusplus
87383 extern "C"
87385 #endif
87386 /* We use char because int might match the return type of a gcc2
87387 builtin and then its argument prototype would still apply. */
87388 char $ac_func ();
87389 /* The GNU C library defines this for functions which it implements
87390 to always fail with ENOSYS. Some functions are actually named
87391 something starting with __ and the normal name is an alias. */
87392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87393 choke me
87394 #else
87395 char (*f) () = $ac_func;
87396 #endif
87397 #ifdef __cplusplus
87399 #endif
87402 main ()
87404 return f != $ac_func;
87406 return 0;
87408 _ACEOF
87409 rm -f conftest.$ac_objext conftest$ac_exeext
87410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87411 (eval $ac_link) 2>conftest.er1
87412 ac_status=$?
87413 grep -v '^ *+' conftest.er1 >conftest.err
87414 rm -f conftest.er1
87415 cat conftest.err >&5
87416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87417 (exit $ac_status); } &&
87418 { ac_try='test -z "$ac_c_werror_flag"
87419 || test ! -s conftest.err'
87420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87421 (eval $ac_try) 2>&5
87422 ac_status=$?
87423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87424 (exit $ac_status); }; } &&
87425 { ac_try='test -s conftest$ac_exeext'
87426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87427 (eval $ac_try) 2>&5
87428 ac_status=$?
87429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87430 (exit $ac_status); }; }; then
87431 eval "$as_ac_var=yes"
87432 else
87433 echo "$as_me: failed program was:" >&5
87434 sed 's/^/| /' conftest.$ac_ext >&5
87436 eval "$as_ac_var=no"
87438 rm -f conftest.err conftest.$ac_objext \
87439 conftest$ac_exeext conftest.$ac_ext
87441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87443 if test `eval echo '${'$as_ac_var'}'` = yes; then
87444 cat >>confdefs.h <<_ACEOF
87445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87446 _ACEOF
87449 done
87459 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
87460 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
87461 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
87462 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
87463 echo $ECHO_N "(cached) $ECHO_C" >&6
87464 else
87468 ac_ext=cc
87469 ac_cpp='$CXXCPP $CPPFLAGS'
87470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87474 cat >conftest.$ac_ext <<_ACEOF
87475 /* confdefs.h. */
87476 _ACEOF
87477 cat confdefs.h >>conftest.$ac_ext
87478 cat >>conftest.$ac_ext <<_ACEOF
87479 /* end confdefs.h. */
87480 #include <math.h>
87482 main ()
87484 fmodf(0, 0);
87486 return 0;
87488 _ACEOF
87489 rm -f conftest.$ac_objext
87490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87491 (eval $ac_compile) 2>conftest.er1
87492 ac_status=$?
87493 grep -v '^ *+' conftest.er1 >conftest.err
87494 rm -f conftest.er1
87495 cat conftest.err >&5
87496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87497 (exit $ac_status); } &&
87498 { ac_try='test -z "$ac_cxx_werror_flag"
87499 || test ! -s conftest.err'
87500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87501 (eval $ac_try) 2>&5
87502 ac_status=$?
87503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87504 (exit $ac_status); }; } &&
87505 { ac_try='test -s conftest.$ac_objext'
87506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87507 (eval $ac_try) 2>&5
87508 ac_status=$?
87509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87510 (exit $ac_status); }; }; then
87511 glibcxx_cv_func_fmodf_use=yes
87512 else
87513 echo "$as_me: failed program was:" >&5
87514 sed 's/^/| /' conftest.$ac_ext >&5
87516 glibcxx_cv_func_fmodf_use=no
87518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87519 ac_ext=c
87520 ac_cpp='$CPP $CPPFLAGS'
87521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87529 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
87530 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
87532 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
87534 for ac_func in fmodf
87536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87537 echo "$as_me:$LINENO: checking for $ac_func" >&5
87538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87539 if eval "test \"\${$as_ac_var+set}\" = set"; then
87540 echo $ECHO_N "(cached) $ECHO_C" >&6
87541 else
87542 if test x$gcc_no_link = xyes; then
87543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87545 { (exit 1); exit 1; }; }
87547 cat >conftest.$ac_ext <<_ACEOF
87548 /* confdefs.h. */
87549 _ACEOF
87550 cat confdefs.h >>conftest.$ac_ext
87551 cat >>conftest.$ac_ext <<_ACEOF
87552 /* end confdefs.h. */
87553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87555 #define $ac_func innocuous_$ac_func
87557 /* System header to define __stub macros and hopefully few prototypes,
87558 which can conflict with char $ac_func (); below.
87559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87560 <limits.h> exists even on freestanding compilers. */
87562 #ifdef __STDC__
87563 # include <limits.h>
87564 #else
87565 # include <assert.h>
87566 #endif
87568 #undef $ac_func
87570 /* Override any gcc2 internal prototype to avoid an error. */
87571 #ifdef __cplusplus
87572 extern "C"
87574 #endif
87575 /* We use char because int might match the return type of a gcc2
87576 builtin and then its argument prototype would still apply. */
87577 char $ac_func ();
87578 /* The GNU C library defines this for functions which it implements
87579 to always fail with ENOSYS. Some functions are actually named
87580 something starting with __ and the normal name is an alias. */
87581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87582 choke me
87583 #else
87584 char (*f) () = $ac_func;
87585 #endif
87586 #ifdef __cplusplus
87588 #endif
87591 main ()
87593 return f != $ac_func;
87595 return 0;
87597 _ACEOF
87598 rm -f conftest.$ac_objext conftest$ac_exeext
87599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87600 (eval $ac_link) 2>conftest.er1
87601 ac_status=$?
87602 grep -v '^ *+' conftest.er1 >conftest.err
87603 rm -f conftest.er1
87604 cat conftest.err >&5
87605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87606 (exit $ac_status); } &&
87607 { ac_try='test -z "$ac_c_werror_flag"
87608 || test ! -s conftest.err'
87609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87610 (eval $ac_try) 2>&5
87611 ac_status=$?
87612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87613 (exit $ac_status); }; } &&
87614 { ac_try='test -s conftest$ac_exeext'
87615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87616 (eval $ac_try) 2>&5
87617 ac_status=$?
87618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87619 (exit $ac_status); }; }; then
87620 eval "$as_ac_var=yes"
87621 else
87622 echo "$as_me: failed program was:" >&5
87623 sed 's/^/| /' conftest.$ac_ext >&5
87625 eval "$as_ac_var=no"
87627 rm -f conftest.err conftest.$ac_objext \
87628 conftest$ac_exeext conftest.$ac_ext
87630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87632 if test `eval echo '${'$as_ac_var'}'` = yes; then
87633 cat >>confdefs.h <<_ACEOF
87634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87635 _ACEOF
87638 done
87640 else
87642 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
87643 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
87644 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
87645 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
87646 echo $ECHO_N "(cached) $ECHO_C" >&6
87647 else
87651 ac_ext=cc
87652 ac_cpp='$CXXCPP $CPPFLAGS'
87653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87657 cat >conftest.$ac_ext <<_ACEOF
87658 /* confdefs.h. */
87659 _ACEOF
87660 cat confdefs.h >>conftest.$ac_ext
87661 cat >>conftest.$ac_ext <<_ACEOF
87662 /* end confdefs.h. */
87663 #include <math.h>
87665 main ()
87667 _fmodf(0, 0);
87669 return 0;
87671 _ACEOF
87672 rm -f conftest.$ac_objext
87673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87674 (eval $ac_compile) 2>conftest.er1
87675 ac_status=$?
87676 grep -v '^ *+' conftest.er1 >conftest.err
87677 rm -f conftest.er1
87678 cat conftest.err >&5
87679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87680 (exit $ac_status); } &&
87681 { ac_try='test -z "$ac_cxx_werror_flag"
87682 || test ! -s conftest.err'
87683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87684 (eval $ac_try) 2>&5
87685 ac_status=$?
87686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87687 (exit $ac_status); }; } &&
87688 { ac_try='test -s conftest.$ac_objext'
87689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87690 (eval $ac_try) 2>&5
87691 ac_status=$?
87692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87693 (exit $ac_status); }; }; then
87694 glibcxx_cv_func__fmodf_use=yes
87695 else
87696 echo "$as_me: failed program was:" >&5
87697 sed 's/^/| /' conftest.$ac_ext >&5
87699 glibcxx_cv_func__fmodf_use=no
87701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87702 ac_ext=c
87703 ac_cpp='$CPP $CPPFLAGS'
87704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87712 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
87713 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
87715 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
87717 for ac_func in _fmodf
87719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87720 echo "$as_me:$LINENO: checking for $ac_func" >&5
87721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87722 if eval "test \"\${$as_ac_var+set}\" = set"; then
87723 echo $ECHO_N "(cached) $ECHO_C" >&6
87724 else
87725 if test x$gcc_no_link = xyes; then
87726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87728 { (exit 1); exit 1; }; }
87730 cat >conftest.$ac_ext <<_ACEOF
87731 /* confdefs.h. */
87732 _ACEOF
87733 cat confdefs.h >>conftest.$ac_ext
87734 cat >>conftest.$ac_ext <<_ACEOF
87735 /* end confdefs.h. */
87736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87738 #define $ac_func innocuous_$ac_func
87740 /* System header to define __stub macros and hopefully few prototypes,
87741 which can conflict with char $ac_func (); below.
87742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87743 <limits.h> exists even on freestanding compilers. */
87745 #ifdef __STDC__
87746 # include <limits.h>
87747 #else
87748 # include <assert.h>
87749 #endif
87751 #undef $ac_func
87753 /* Override any gcc2 internal prototype to avoid an error. */
87754 #ifdef __cplusplus
87755 extern "C"
87757 #endif
87758 /* We use char because int might match the return type of a gcc2
87759 builtin and then its argument prototype would still apply. */
87760 char $ac_func ();
87761 /* The GNU C library defines this for functions which it implements
87762 to always fail with ENOSYS. Some functions are actually named
87763 something starting with __ and the normal name is an alias. */
87764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87765 choke me
87766 #else
87767 char (*f) () = $ac_func;
87768 #endif
87769 #ifdef __cplusplus
87771 #endif
87774 main ()
87776 return f != $ac_func;
87778 return 0;
87780 _ACEOF
87781 rm -f conftest.$ac_objext conftest$ac_exeext
87782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87783 (eval $ac_link) 2>conftest.er1
87784 ac_status=$?
87785 grep -v '^ *+' conftest.er1 >conftest.err
87786 rm -f conftest.er1
87787 cat conftest.err >&5
87788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87789 (exit $ac_status); } &&
87790 { ac_try='test -z "$ac_c_werror_flag"
87791 || test ! -s conftest.err'
87792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87793 (eval $ac_try) 2>&5
87794 ac_status=$?
87795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87796 (exit $ac_status); }; } &&
87797 { ac_try='test -s conftest$ac_exeext'
87798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87799 (eval $ac_try) 2>&5
87800 ac_status=$?
87801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87802 (exit $ac_status); }; }; then
87803 eval "$as_ac_var=yes"
87804 else
87805 echo "$as_me: failed program was:" >&5
87806 sed 's/^/| /' conftest.$ac_ext >&5
87808 eval "$as_ac_var=no"
87810 rm -f conftest.err conftest.$ac_objext \
87811 conftest$ac_exeext conftest.$ac_ext
87813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87815 if test `eval echo '${'$as_ac_var'}'` = yes; then
87816 cat >>confdefs.h <<_ACEOF
87817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87818 _ACEOF
87821 done
87831 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
87832 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
87833 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
87834 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
87835 echo $ECHO_N "(cached) $ECHO_C" >&6
87836 else
87840 ac_ext=cc
87841 ac_cpp='$CXXCPP $CPPFLAGS'
87842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87846 cat >conftest.$ac_ext <<_ACEOF
87847 /* confdefs.h. */
87848 _ACEOF
87849 cat confdefs.h >>conftest.$ac_ext
87850 cat >>conftest.$ac_ext <<_ACEOF
87851 /* end confdefs.h. */
87852 #include <math.h>
87854 main ()
87856 frexpf(0, 0);
87858 return 0;
87860 _ACEOF
87861 rm -f conftest.$ac_objext
87862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87863 (eval $ac_compile) 2>conftest.er1
87864 ac_status=$?
87865 grep -v '^ *+' conftest.er1 >conftest.err
87866 rm -f conftest.er1
87867 cat conftest.err >&5
87868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87869 (exit $ac_status); } &&
87870 { ac_try='test -z "$ac_cxx_werror_flag"
87871 || test ! -s conftest.err'
87872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87873 (eval $ac_try) 2>&5
87874 ac_status=$?
87875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87876 (exit $ac_status); }; } &&
87877 { ac_try='test -s conftest.$ac_objext'
87878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87879 (eval $ac_try) 2>&5
87880 ac_status=$?
87881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87882 (exit $ac_status); }; }; then
87883 glibcxx_cv_func_frexpf_use=yes
87884 else
87885 echo "$as_me: failed program was:" >&5
87886 sed 's/^/| /' conftest.$ac_ext >&5
87888 glibcxx_cv_func_frexpf_use=no
87890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87891 ac_ext=c
87892 ac_cpp='$CPP $CPPFLAGS'
87893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87901 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
87902 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
87904 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
87906 for ac_func in frexpf
87908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87909 echo "$as_me:$LINENO: checking for $ac_func" >&5
87910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87911 if eval "test \"\${$as_ac_var+set}\" = set"; then
87912 echo $ECHO_N "(cached) $ECHO_C" >&6
87913 else
87914 if test x$gcc_no_link = xyes; then
87915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87917 { (exit 1); exit 1; }; }
87919 cat >conftest.$ac_ext <<_ACEOF
87920 /* confdefs.h. */
87921 _ACEOF
87922 cat confdefs.h >>conftest.$ac_ext
87923 cat >>conftest.$ac_ext <<_ACEOF
87924 /* end confdefs.h. */
87925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87927 #define $ac_func innocuous_$ac_func
87929 /* System header to define __stub macros and hopefully few prototypes,
87930 which can conflict with char $ac_func (); below.
87931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87932 <limits.h> exists even on freestanding compilers. */
87934 #ifdef __STDC__
87935 # include <limits.h>
87936 #else
87937 # include <assert.h>
87938 #endif
87940 #undef $ac_func
87942 /* Override any gcc2 internal prototype to avoid an error. */
87943 #ifdef __cplusplus
87944 extern "C"
87946 #endif
87947 /* We use char because int might match the return type of a gcc2
87948 builtin and then its argument prototype would still apply. */
87949 char $ac_func ();
87950 /* The GNU C library defines this for functions which it implements
87951 to always fail with ENOSYS. Some functions are actually named
87952 something starting with __ and the normal name is an alias. */
87953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87954 choke me
87955 #else
87956 char (*f) () = $ac_func;
87957 #endif
87958 #ifdef __cplusplus
87960 #endif
87963 main ()
87965 return f != $ac_func;
87967 return 0;
87969 _ACEOF
87970 rm -f conftest.$ac_objext conftest$ac_exeext
87971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87972 (eval $ac_link) 2>conftest.er1
87973 ac_status=$?
87974 grep -v '^ *+' conftest.er1 >conftest.err
87975 rm -f conftest.er1
87976 cat conftest.err >&5
87977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87978 (exit $ac_status); } &&
87979 { ac_try='test -z "$ac_c_werror_flag"
87980 || test ! -s conftest.err'
87981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87982 (eval $ac_try) 2>&5
87983 ac_status=$?
87984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87985 (exit $ac_status); }; } &&
87986 { ac_try='test -s conftest$ac_exeext'
87987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87988 (eval $ac_try) 2>&5
87989 ac_status=$?
87990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87991 (exit $ac_status); }; }; then
87992 eval "$as_ac_var=yes"
87993 else
87994 echo "$as_me: failed program was:" >&5
87995 sed 's/^/| /' conftest.$ac_ext >&5
87997 eval "$as_ac_var=no"
87999 rm -f conftest.err conftest.$ac_objext \
88000 conftest$ac_exeext conftest.$ac_ext
88002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88004 if test `eval echo '${'$as_ac_var'}'` = yes; then
88005 cat >>confdefs.h <<_ACEOF
88006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88007 _ACEOF
88010 done
88012 else
88014 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
88015 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
88016 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
88017 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
88018 echo $ECHO_N "(cached) $ECHO_C" >&6
88019 else
88023 ac_ext=cc
88024 ac_cpp='$CXXCPP $CPPFLAGS'
88025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88029 cat >conftest.$ac_ext <<_ACEOF
88030 /* confdefs.h. */
88031 _ACEOF
88032 cat confdefs.h >>conftest.$ac_ext
88033 cat >>conftest.$ac_ext <<_ACEOF
88034 /* end confdefs.h. */
88035 #include <math.h>
88037 main ()
88039 _frexpf(0, 0);
88041 return 0;
88043 _ACEOF
88044 rm -f conftest.$ac_objext
88045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88046 (eval $ac_compile) 2>conftest.er1
88047 ac_status=$?
88048 grep -v '^ *+' conftest.er1 >conftest.err
88049 rm -f conftest.er1
88050 cat conftest.err >&5
88051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88052 (exit $ac_status); } &&
88053 { ac_try='test -z "$ac_cxx_werror_flag"
88054 || test ! -s conftest.err'
88055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88056 (eval $ac_try) 2>&5
88057 ac_status=$?
88058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88059 (exit $ac_status); }; } &&
88060 { ac_try='test -s conftest.$ac_objext'
88061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88062 (eval $ac_try) 2>&5
88063 ac_status=$?
88064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88065 (exit $ac_status); }; }; then
88066 glibcxx_cv_func__frexpf_use=yes
88067 else
88068 echo "$as_me: failed program was:" >&5
88069 sed 's/^/| /' conftest.$ac_ext >&5
88071 glibcxx_cv_func__frexpf_use=no
88073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88074 ac_ext=c
88075 ac_cpp='$CPP $CPPFLAGS'
88076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88084 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
88085 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
88087 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
88089 for ac_func in _frexpf
88091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88092 echo "$as_me:$LINENO: checking for $ac_func" >&5
88093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88094 if eval "test \"\${$as_ac_var+set}\" = set"; then
88095 echo $ECHO_N "(cached) $ECHO_C" >&6
88096 else
88097 if test x$gcc_no_link = xyes; then
88098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88100 { (exit 1); exit 1; }; }
88102 cat >conftest.$ac_ext <<_ACEOF
88103 /* confdefs.h. */
88104 _ACEOF
88105 cat confdefs.h >>conftest.$ac_ext
88106 cat >>conftest.$ac_ext <<_ACEOF
88107 /* end confdefs.h. */
88108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88110 #define $ac_func innocuous_$ac_func
88112 /* System header to define __stub macros and hopefully few prototypes,
88113 which can conflict with char $ac_func (); below.
88114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88115 <limits.h> exists even on freestanding compilers. */
88117 #ifdef __STDC__
88118 # include <limits.h>
88119 #else
88120 # include <assert.h>
88121 #endif
88123 #undef $ac_func
88125 /* Override any gcc2 internal prototype to avoid an error. */
88126 #ifdef __cplusplus
88127 extern "C"
88129 #endif
88130 /* We use char because int might match the return type of a gcc2
88131 builtin and then its argument prototype would still apply. */
88132 char $ac_func ();
88133 /* The GNU C library defines this for functions which it implements
88134 to always fail with ENOSYS. Some functions are actually named
88135 something starting with __ and the normal name is an alias. */
88136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88137 choke me
88138 #else
88139 char (*f) () = $ac_func;
88140 #endif
88141 #ifdef __cplusplus
88143 #endif
88146 main ()
88148 return f != $ac_func;
88150 return 0;
88152 _ACEOF
88153 rm -f conftest.$ac_objext conftest$ac_exeext
88154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88155 (eval $ac_link) 2>conftest.er1
88156 ac_status=$?
88157 grep -v '^ *+' conftest.er1 >conftest.err
88158 rm -f conftest.er1
88159 cat conftest.err >&5
88160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88161 (exit $ac_status); } &&
88162 { ac_try='test -z "$ac_c_werror_flag"
88163 || test ! -s conftest.err'
88164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88165 (eval $ac_try) 2>&5
88166 ac_status=$?
88167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88168 (exit $ac_status); }; } &&
88169 { ac_try='test -s conftest$ac_exeext'
88170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88171 (eval $ac_try) 2>&5
88172 ac_status=$?
88173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88174 (exit $ac_status); }; }; then
88175 eval "$as_ac_var=yes"
88176 else
88177 echo "$as_me: failed program was:" >&5
88178 sed 's/^/| /' conftest.$ac_ext >&5
88180 eval "$as_ac_var=no"
88182 rm -f conftest.err conftest.$ac_objext \
88183 conftest$ac_exeext conftest.$ac_ext
88185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88187 if test `eval echo '${'$as_ac_var'}'` = yes; then
88188 cat >>confdefs.h <<_ACEOF
88189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88190 _ACEOF
88193 done
88203 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
88204 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
88205 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
88206 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
88207 echo $ECHO_N "(cached) $ECHO_C" >&6
88208 else
88212 ac_ext=cc
88213 ac_cpp='$CXXCPP $CPPFLAGS'
88214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88218 cat >conftest.$ac_ext <<_ACEOF
88219 /* confdefs.h. */
88220 _ACEOF
88221 cat confdefs.h >>conftest.$ac_ext
88222 cat >>conftest.$ac_ext <<_ACEOF
88223 /* end confdefs.h. */
88224 #include <math.h>
88226 main ()
88228 hypotf(0, 0);
88230 return 0;
88232 _ACEOF
88233 rm -f conftest.$ac_objext
88234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88235 (eval $ac_compile) 2>conftest.er1
88236 ac_status=$?
88237 grep -v '^ *+' conftest.er1 >conftest.err
88238 rm -f conftest.er1
88239 cat conftest.err >&5
88240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88241 (exit $ac_status); } &&
88242 { ac_try='test -z "$ac_cxx_werror_flag"
88243 || test ! -s conftest.err'
88244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88245 (eval $ac_try) 2>&5
88246 ac_status=$?
88247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88248 (exit $ac_status); }; } &&
88249 { ac_try='test -s conftest.$ac_objext'
88250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88251 (eval $ac_try) 2>&5
88252 ac_status=$?
88253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88254 (exit $ac_status); }; }; then
88255 glibcxx_cv_func_hypotf_use=yes
88256 else
88257 echo "$as_me: failed program was:" >&5
88258 sed 's/^/| /' conftest.$ac_ext >&5
88260 glibcxx_cv_func_hypotf_use=no
88262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88263 ac_ext=c
88264 ac_cpp='$CPP $CPPFLAGS'
88265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88273 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
88274 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
88276 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
88278 for ac_func in hypotf
88280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88281 echo "$as_me:$LINENO: checking for $ac_func" >&5
88282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88283 if eval "test \"\${$as_ac_var+set}\" = set"; then
88284 echo $ECHO_N "(cached) $ECHO_C" >&6
88285 else
88286 if test x$gcc_no_link = xyes; then
88287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88289 { (exit 1); exit 1; }; }
88291 cat >conftest.$ac_ext <<_ACEOF
88292 /* confdefs.h. */
88293 _ACEOF
88294 cat confdefs.h >>conftest.$ac_ext
88295 cat >>conftest.$ac_ext <<_ACEOF
88296 /* end confdefs.h. */
88297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88299 #define $ac_func innocuous_$ac_func
88301 /* System header to define __stub macros and hopefully few prototypes,
88302 which can conflict with char $ac_func (); below.
88303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88304 <limits.h> exists even on freestanding compilers. */
88306 #ifdef __STDC__
88307 # include <limits.h>
88308 #else
88309 # include <assert.h>
88310 #endif
88312 #undef $ac_func
88314 /* Override any gcc2 internal prototype to avoid an error. */
88315 #ifdef __cplusplus
88316 extern "C"
88318 #endif
88319 /* We use char because int might match the return type of a gcc2
88320 builtin and then its argument prototype would still apply. */
88321 char $ac_func ();
88322 /* The GNU C library defines this for functions which it implements
88323 to always fail with ENOSYS. Some functions are actually named
88324 something starting with __ and the normal name is an alias. */
88325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88326 choke me
88327 #else
88328 char (*f) () = $ac_func;
88329 #endif
88330 #ifdef __cplusplus
88332 #endif
88335 main ()
88337 return f != $ac_func;
88339 return 0;
88341 _ACEOF
88342 rm -f conftest.$ac_objext conftest$ac_exeext
88343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88344 (eval $ac_link) 2>conftest.er1
88345 ac_status=$?
88346 grep -v '^ *+' conftest.er1 >conftest.err
88347 rm -f conftest.er1
88348 cat conftest.err >&5
88349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88350 (exit $ac_status); } &&
88351 { ac_try='test -z "$ac_c_werror_flag"
88352 || test ! -s conftest.err'
88353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88354 (eval $ac_try) 2>&5
88355 ac_status=$?
88356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88357 (exit $ac_status); }; } &&
88358 { ac_try='test -s conftest$ac_exeext'
88359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88360 (eval $ac_try) 2>&5
88361 ac_status=$?
88362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88363 (exit $ac_status); }; }; then
88364 eval "$as_ac_var=yes"
88365 else
88366 echo "$as_me: failed program was:" >&5
88367 sed 's/^/| /' conftest.$ac_ext >&5
88369 eval "$as_ac_var=no"
88371 rm -f conftest.err conftest.$ac_objext \
88372 conftest$ac_exeext conftest.$ac_ext
88374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88376 if test `eval echo '${'$as_ac_var'}'` = yes; then
88377 cat >>confdefs.h <<_ACEOF
88378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88379 _ACEOF
88382 done
88384 else
88386 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
88387 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
88388 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
88389 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
88390 echo $ECHO_N "(cached) $ECHO_C" >&6
88391 else
88395 ac_ext=cc
88396 ac_cpp='$CXXCPP $CPPFLAGS'
88397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88401 cat >conftest.$ac_ext <<_ACEOF
88402 /* confdefs.h. */
88403 _ACEOF
88404 cat confdefs.h >>conftest.$ac_ext
88405 cat >>conftest.$ac_ext <<_ACEOF
88406 /* end confdefs.h. */
88407 #include <math.h>
88409 main ()
88411 _hypotf(0, 0);
88413 return 0;
88415 _ACEOF
88416 rm -f conftest.$ac_objext
88417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88418 (eval $ac_compile) 2>conftest.er1
88419 ac_status=$?
88420 grep -v '^ *+' conftest.er1 >conftest.err
88421 rm -f conftest.er1
88422 cat conftest.err >&5
88423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88424 (exit $ac_status); } &&
88425 { ac_try='test -z "$ac_cxx_werror_flag"
88426 || test ! -s conftest.err'
88427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88428 (eval $ac_try) 2>&5
88429 ac_status=$?
88430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88431 (exit $ac_status); }; } &&
88432 { ac_try='test -s conftest.$ac_objext'
88433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88434 (eval $ac_try) 2>&5
88435 ac_status=$?
88436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88437 (exit $ac_status); }; }; then
88438 glibcxx_cv_func__hypotf_use=yes
88439 else
88440 echo "$as_me: failed program was:" >&5
88441 sed 's/^/| /' conftest.$ac_ext >&5
88443 glibcxx_cv_func__hypotf_use=no
88445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88446 ac_ext=c
88447 ac_cpp='$CPP $CPPFLAGS'
88448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88456 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
88457 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
88459 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
88461 for ac_func in _hypotf
88463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88464 echo "$as_me:$LINENO: checking for $ac_func" >&5
88465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88466 if eval "test \"\${$as_ac_var+set}\" = set"; then
88467 echo $ECHO_N "(cached) $ECHO_C" >&6
88468 else
88469 if test x$gcc_no_link = xyes; then
88470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88472 { (exit 1); exit 1; }; }
88474 cat >conftest.$ac_ext <<_ACEOF
88475 /* confdefs.h. */
88476 _ACEOF
88477 cat confdefs.h >>conftest.$ac_ext
88478 cat >>conftest.$ac_ext <<_ACEOF
88479 /* end confdefs.h. */
88480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88482 #define $ac_func innocuous_$ac_func
88484 /* System header to define __stub macros and hopefully few prototypes,
88485 which can conflict with char $ac_func (); below.
88486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88487 <limits.h> exists even on freestanding compilers. */
88489 #ifdef __STDC__
88490 # include <limits.h>
88491 #else
88492 # include <assert.h>
88493 #endif
88495 #undef $ac_func
88497 /* Override any gcc2 internal prototype to avoid an error. */
88498 #ifdef __cplusplus
88499 extern "C"
88501 #endif
88502 /* We use char because int might match the return type of a gcc2
88503 builtin and then its argument prototype would still apply. */
88504 char $ac_func ();
88505 /* The GNU C library defines this for functions which it implements
88506 to always fail with ENOSYS. Some functions are actually named
88507 something starting with __ and the normal name is an alias. */
88508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88509 choke me
88510 #else
88511 char (*f) () = $ac_func;
88512 #endif
88513 #ifdef __cplusplus
88515 #endif
88518 main ()
88520 return f != $ac_func;
88522 return 0;
88524 _ACEOF
88525 rm -f conftest.$ac_objext conftest$ac_exeext
88526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88527 (eval $ac_link) 2>conftest.er1
88528 ac_status=$?
88529 grep -v '^ *+' conftest.er1 >conftest.err
88530 rm -f conftest.er1
88531 cat conftest.err >&5
88532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88533 (exit $ac_status); } &&
88534 { ac_try='test -z "$ac_c_werror_flag"
88535 || test ! -s conftest.err'
88536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88537 (eval $ac_try) 2>&5
88538 ac_status=$?
88539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88540 (exit $ac_status); }; } &&
88541 { ac_try='test -s conftest$ac_exeext'
88542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88543 (eval $ac_try) 2>&5
88544 ac_status=$?
88545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88546 (exit $ac_status); }; }; then
88547 eval "$as_ac_var=yes"
88548 else
88549 echo "$as_me: failed program was:" >&5
88550 sed 's/^/| /' conftest.$ac_ext >&5
88552 eval "$as_ac_var=no"
88554 rm -f conftest.err conftest.$ac_objext \
88555 conftest$ac_exeext conftest.$ac_ext
88557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88559 if test `eval echo '${'$as_ac_var'}'` = yes; then
88560 cat >>confdefs.h <<_ACEOF
88561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88562 _ACEOF
88565 done
88575 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
88576 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
88577 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
88578 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
88579 echo $ECHO_N "(cached) $ECHO_C" >&6
88580 else
88584 ac_ext=cc
88585 ac_cpp='$CXXCPP $CPPFLAGS'
88586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88590 cat >conftest.$ac_ext <<_ACEOF
88591 /* confdefs.h. */
88592 _ACEOF
88593 cat confdefs.h >>conftest.$ac_ext
88594 cat >>conftest.$ac_ext <<_ACEOF
88595 /* end confdefs.h. */
88596 #include <math.h>
88598 main ()
88600 ldexpf(0, 0);
88602 return 0;
88604 _ACEOF
88605 rm -f conftest.$ac_objext
88606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88607 (eval $ac_compile) 2>conftest.er1
88608 ac_status=$?
88609 grep -v '^ *+' conftest.er1 >conftest.err
88610 rm -f conftest.er1
88611 cat conftest.err >&5
88612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88613 (exit $ac_status); } &&
88614 { ac_try='test -z "$ac_cxx_werror_flag"
88615 || test ! -s conftest.err'
88616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88617 (eval $ac_try) 2>&5
88618 ac_status=$?
88619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88620 (exit $ac_status); }; } &&
88621 { ac_try='test -s conftest.$ac_objext'
88622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88623 (eval $ac_try) 2>&5
88624 ac_status=$?
88625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88626 (exit $ac_status); }; }; then
88627 glibcxx_cv_func_ldexpf_use=yes
88628 else
88629 echo "$as_me: failed program was:" >&5
88630 sed 's/^/| /' conftest.$ac_ext >&5
88632 glibcxx_cv_func_ldexpf_use=no
88634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88635 ac_ext=c
88636 ac_cpp='$CPP $CPPFLAGS'
88637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88645 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
88646 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
88648 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
88650 for ac_func in ldexpf
88652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88653 echo "$as_me:$LINENO: checking for $ac_func" >&5
88654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88655 if eval "test \"\${$as_ac_var+set}\" = set"; then
88656 echo $ECHO_N "(cached) $ECHO_C" >&6
88657 else
88658 if test x$gcc_no_link = xyes; then
88659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88661 { (exit 1); exit 1; }; }
88663 cat >conftest.$ac_ext <<_ACEOF
88664 /* confdefs.h. */
88665 _ACEOF
88666 cat confdefs.h >>conftest.$ac_ext
88667 cat >>conftest.$ac_ext <<_ACEOF
88668 /* end confdefs.h. */
88669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88671 #define $ac_func innocuous_$ac_func
88673 /* System header to define __stub macros and hopefully few prototypes,
88674 which can conflict with char $ac_func (); below.
88675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88676 <limits.h> exists even on freestanding compilers. */
88678 #ifdef __STDC__
88679 # include <limits.h>
88680 #else
88681 # include <assert.h>
88682 #endif
88684 #undef $ac_func
88686 /* Override any gcc2 internal prototype to avoid an error. */
88687 #ifdef __cplusplus
88688 extern "C"
88690 #endif
88691 /* We use char because int might match the return type of a gcc2
88692 builtin and then its argument prototype would still apply. */
88693 char $ac_func ();
88694 /* The GNU C library defines this for functions which it implements
88695 to always fail with ENOSYS. Some functions are actually named
88696 something starting with __ and the normal name is an alias. */
88697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88698 choke me
88699 #else
88700 char (*f) () = $ac_func;
88701 #endif
88702 #ifdef __cplusplus
88704 #endif
88707 main ()
88709 return f != $ac_func;
88711 return 0;
88713 _ACEOF
88714 rm -f conftest.$ac_objext conftest$ac_exeext
88715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88716 (eval $ac_link) 2>conftest.er1
88717 ac_status=$?
88718 grep -v '^ *+' conftest.er1 >conftest.err
88719 rm -f conftest.er1
88720 cat conftest.err >&5
88721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88722 (exit $ac_status); } &&
88723 { ac_try='test -z "$ac_c_werror_flag"
88724 || test ! -s conftest.err'
88725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88726 (eval $ac_try) 2>&5
88727 ac_status=$?
88728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88729 (exit $ac_status); }; } &&
88730 { ac_try='test -s conftest$ac_exeext'
88731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88732 (eval $ac_try) 2>&5
88733 ac_status=$?
88734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88735 (exit $ac_status); }; }; then
88736 eval "$as_ac_var=yes"
88737 else
88738 echo "$as_me: failed program was:" >&5
88739 sed 's/^/| /' conftest.$ac_ext >&5
88741 eval "$as_ac_var=no"
88743 rm -f conftest.err conftest.$ac_objext \
88744 conftest$ac_exeext conftest.$ac_ext
88746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88748 if test `eval echo '${'$as_ac_var'}'` = yes; then
88749 cat >>confdefs.h <<_ACEOF
88750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88751 _ACEOF
88754 done
88756 else
88758 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
88759 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
88760 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
88761 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
88762 echo $ECHO_N "(cached) $ECHO_C" >&6
88763 else
88767 ac_ext=cc
88768 ac_cpp='$CXXCPP $CPPFLAGS'
88769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88773 cat >conftest.$ac_ext <<_ACEOF
88774 /* confdefs.h. */
88775 _ACEOF
88776 cat confdefs.h >>conftest.$ac_ext
88777 cat >>conftest.$ac_ext <<_ACEOF
88778 /* end confdefs.h. */
88779 #include <math.h>
88781 main ()
88783 _ldexpf(0, 0);
88785 return 0;
88787 _ACEOF
88788 rm -f conftest.$ac_objext
88789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88790 (eval $ac_compile) 2>conftest.er1
88791 ac_status=$?
88792 grep -v '^ *+' conftest.er1 >conftest.err
88793 rm -f conftest.er1
88794 cat conftest.err >&5
88795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88796 (exit $ac_status); } &&
88797 { ac_try='test -z "$ac_cxx_werror_flag"
88798 || test ! -s conftest.err'
88799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88800 (eval $ac_try) 2>&5
88801 ac_status=$?
88802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88803 (exit $ac_status); }; } &&
88804 { ac_try='test -s conftest.$ac_objext'
88805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88806 (eval $ac_try) 2>&5
88807 ac_status=$?
88808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88809 (exit $ac_status); }; }; then
88810 glibcxx_cv_func__ldexpf_use=yes
88811 else
88812 echo "$as_me: failed program was:" >&5
88813 sed 's/^/| /' conftest.$ac_ext >&5
88815 glibcxx_cv_func__ldexpf_use=no
88817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88818 ac_ext=c
88819 ac_cpp='$CPP $CPPFLAGS'
88820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88828 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
88829 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
88831 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
88833 for ac_func in _ldexpf
88835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88836 echo "$as_me:$LINENO: checking for $ac_func" >&5
88837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88838 if eval "test \"\${$as_ac_var+set}\" = set"; then
88839 echo $ECHO_N "(cached) $ECHO_C" >&6
88840 else
88841 if test x$gcc_no_link = xyes; then
88842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88844 { (exit 1); exit 1; }; }
88846 cat >conftest.$ac_ext <<_ACEOF
88847 /* confdefs.h. */
88848 _ACEOF
88849 cat confdefs.h >>conftest.$ac_ext
88850 cat >>conftest.$ac_ext <<_ACEOF
88851 /* end confdefs.h. */
88852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88854 #define $ac_func innocuous_$ac_func
88856 /* System header to define __stub macros and hopefully few prototypes,
88857 which can conflict with char $ac_func (); below.
88858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88859 <limits.h> exists even on freestanding compilers. */
88861 #ifdef __STDC__
88862 # include <limits.h>
88863 #else
88864 # include <assert.h>
88865 #endif
88867 #undef $ac_func
88869 /* Override any gcc2 internal prototype to avoid an error. */
88870 #ifdef __cplusplus
88871 extern "C"
88873 #endif
88874 /* We use char because int might match the return type of a gcc2
88875 builtin and then its argument prototype would still apply. */
88876 char $ac_func ();
88877 /* The GNU C library defines this for functions which it implements
88878 to always fail with ENOSYS. Some functions are actually named
88879 something starting with __ and the normal name is an alias. */
88880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88881 choke me
88882 #else
88883 char (*f) () = $ac_func;
88884 #endif
88885 #ifdef __cplusplus
88887 #endif
88890 main ()
88892 return f != $ac_func;
88894 return 0;
88896 _ACEOF
88897 rm -f conftest.$ac_objext conftest$ac_exeext
88898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88899 (eval $ac_link) 2>conftest.er1
88900 ac_status=$?
88901 grep -v '^ *+' conftest.er1 >conftest.err
88902 rm -f conftest.er1
88903 cat conftest.err >&5
88904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88905 (exit $ac_status); } &&
88906 { ac_try='test -z "$ac_c_werror_flag"
88907 || test ! -s conftest.err'
88908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88909 (eval $ac_try) 2>&5
88910 ac_status=$?
88911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88912 (exit $ac_status); }; } &&
88913 { ac_try='test -s conftest$ac_exeext'
88914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88915 (eval $ac_try) 2>&5
88916 ac_status=$?
88917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88918 (exit $ac_status); }; }; then
88919 eval "$as_ac_var=yes"
88920 else
88921 echo "$as_me: failed program was:" >&5
88922 sed 's/^/| /' conftest.$ac_ext >&5
88924 eval "$as_ac_var=no"
88926 rm -f conftest.err conftest.$ac_objext \
88927 conftest$ac_exeext conftest.$ac_ext
88929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88931 if test `eval echo '${'$as_ac_var'}'` = yes; then
88932 cat >>confdefs.h <<_ACEOF
88933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88934 _ACEOF
88937 done
88947 echo "$as_me:$LINENO: checking for logf declaration" >&5
88948 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
88949 if test x${glibcxx_cv_func_logf_use+set} != xset; then
88950 if test "${glibcxx_cv_func_logf_use+set}" = set; then
88951 echo $ECHO_N "(cached) $ECHO_C" >&6
88952 else
88956 ac_ext=cc
88957 ac_cpp='$CXXCPP $CPPFLAGS'
88958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
88969 #ifdef HAVE_IEEEFP_H
88970 #include <ieeefp.h>
88971 #endif
88974 main ()
88976 logf(0);
88978 return 0;
88980 _ACEOF
88981 rm -f conftest.$ac_objext
88982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88983 (eval $ac_compile) 2>conftest.er1
88984 ac_status=$?
88985 grep -v '^ *+' conftest.er1 >conftest.err
88986 rm -f conftest.er1
88987 cat conftest.err >&5
88988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88989 (exit $ac_status); } &&
88990 { ac_try='test -z "$ac_cxx_werror_flag"
88991 || test ! -s conftest.err'
88992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88993 (eval $ac_try) 2>&5
88994 ac_status=$?
88995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88996 (exit $ac_status); }; } &&
88997 { ac_try='test -s conftest.$ac_objext'
88998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88999 (eval $ac_try) 2>&5
89000 ac_status=$?
89001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89002 (exit $ac_status); }; }; then
89003 glibcxx_cv_func_logf_use=yes
89004 else
89005 echo "$as_me: failed program was:" >&5
89006 sed 's/^/| /' conftest.$ac_ext >&5
89008 glibcxx_cv_func_logf_use=no
89010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89011 ac_ext=c
89012 ac_cpp='$CPP $CPPFLAGS'
89013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89021 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
89022 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
89024 if test x$glibcxx_cv_func_logf_use = x"yes"; then
89026 for ac_func in logf
89028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89029 echo "$as_me:$LINENO: checking for $ac_func" >&5
89030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89031 if eval "test \"\${$as_ac_var+set}\" = set"; then
89032 echo $ECHO_N "(cached) $ECHO_C" >&6
89033 else
89034 if test x$gcc_no_link = xyes; then
89035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89037 { (exit 1); exit 1; }; }
89039 cat >conftest.$ac_ext <<_ACEOF
89040 /* confdefs.h. */
89041 _ACEOF
89042 cat confdefs.h >>conftest.$ac_ext
89043 cat >>conftest.$ac_ext <<_ACEOF
89044 /* end confdefs.h. */
89045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89047 #define $ac_func innocuous_$ac_func
89049 /* System header to define __stub macros and hopefully few prototypes,
89050 which can conflict with char $ac_func (); below.
89051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89052 <limits.h> exists even on freestanding compilers. */
89054 #ifdef __STDC__
89055 # include <limits.h>
89056 #else
89057 # include <assert.h>
89058 #endif
89060 #undef $ac_func
89062 /* Override any gcc2 internal prototype to avoid an error. */
89063 #ifdef __cplusplus
89064 extern "C"
89066 #endif
89067 /* We use char because int might match the return type of a gcc2
89068 builtin and then its argument prototype would still apply. */
89069 char $ac_func ();
89070 /* The GNU C library defines this for functions which it implements
89071 to always fail with ENOSYS. Some functions are actually named
89072 something starting with __ and the normal name is an alias. */
89073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89074 choke me
89075 #else
89076 char (*f) () = $ac_func;
89077 #endif
89078 #ifdef __cplusplus
89080 #endif
89083 main ()
89085 return f != $ac_func;
89087 return 0;
89089 _ACEOF
89090 rm -f conftest.$ac_objext conftest$ac_exeext
89091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89092 (eval $ac_link) 2>conftest.er1
89093 ac_status=$?
89094 grep -v '^ *+' conftest.er1 >conftest.err
89095 rm -f conftest.er1
89096 cat conftest.err >&5
89097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89098 (exit $ac_status); } &&
89099 { ac_try='test -z "$ac_c_werror_flag"
89100 || test ! -s conftest.err'
89101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89102 (eval $ac_try) 2>&5
89103 ac_status=$?
89104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89105 (exit $ac_status); }; } &&
89106 { ac_try='test -s conftest$ac_exeext'
89107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89108 (eval $ac_try) 2>&5
89109 ac_status=$?
89110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89111 (exit $ac_status); }; }; then
89112 eval "$as_ac_var=yes"
89113 else
89114 echo "$as_me: failed program was:" >&5
89115 sed 's/^/| /' conftest.$ac_ext >&5
89117 eval "$as_ac_var=no"
89119 rm -f conftest.err conftest.$ac_objext \
89120 conftest$ac_exeext conftest.$ac_ext
89122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89124 if test `eval echo '${'$as_ac_var'}'` = yes; then
89125 cat >>confdefs.h <<_ACEOF
89126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89127 _ACEOF
89130 done
89132 else
89134 echo "$as_me:$LINENO: checking for _logf declaration" >&5
89135 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
89136 if test x${glibcxx_cv_func__logf_use+set} != xset; then
89137 if test "${glibcxx_cv_func__logf_use+set}" = set; then
89138 echo $ECHO_N "(cached) $ECHO_C" >&6
89139 else
89143 ac_ext=cc
89144 ac_cpp='$CXXCPP $CPPFLAGS'
89145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89149 cat >conftest.$ac_ext <<_ACEOF
89150 /* confdefs.h. */
89151 _ACEOF
89152 cat confdefs.h >>conftest.$ac_ext
89153 cat >>conftest.$ac_ext <<_ACEOF
89154 /* end confdefs.h. */
89155 #include <math.h>
89156 #ifdef HAVE_IEEEFP_H
89157 #include <ieeefp.h>
89158 #endif
89161 main ()
89163 _logf(0);
89165 return 0;
89167 _ACEOF
89168 rm -f conftest.$ac_objext
89169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89170 (eval $ac_compile) 2>conftest.er1
89171 ac_status=$?
89172 grep -v '^ *+' conftest.er1 >conftest.err
89173 rm -f conftest.er1
89174 cat conftest.err >&5
89175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89176 (exit $ac_status); } &&
89177 { ac_try='test -z "$ac_cxx_werror_flag"
89178 || test ! -s conftest.err'
89179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89180 (eval $ac_try) 2>&5
89181 ac_status=$?
89182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89183 (exit $ac_status); }; } &&
89184 { ac_try='test -s conftest.$ac_objext'
89185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89186 (eval $ac_try) 2>&5
89187 ac_status=$?
89188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89189 (exit $ac_status); }; }; then
89190 glibcxx_cv_func__logf_use=yes
89191 else
89192 echo "$as_me: failed program was:" >&5
89193 sed 's/^/| /' conftest.$ac_ext >&5
89195 glibcxx_cv_func__logf_use=no
89197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89198 ac_ext=c
89199 ac_cpp='$CPP $CPPFLAGS'
89200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89208 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
89209 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
89211 if test x$glibcxx_cv_func__logf_use = x"yes"; then
89213 for ac_func in _logf
89215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89216 echo "$as_me:$LINENO: checking for $ac_func" >&5
89217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89218 if eval "test \"\${$as_ac_var+set}\" = set"; then
89219 echo $ECHO_N "(cached) $ECHO_C" >&6
89220 else
89221 if test x$gcc_no_link = xyes; then
89222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89224 { (exit 1); exit 1; }; }
89226 cat >conftest.$ac_ext <<_ACEOF
89227 /* confdefs.h. */
89228 _ACEOF
89229 cat confdefs.h >>conftest.$ac_ext
89230 cat >>conftest.$ac_ext <<_ACEOF
89231 /* end confdefs.h. */
89232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89234 #define $ac_func innocuous_$ac_func
89236 /* System header to define __stub macros and hopefully few prototypes,
89237 which can conflict with char $ac_func (); below.
89238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89239 <limits.h> exists even on freestanding compilers. */
89241 #ifdef __STDC__
89242 # include <limits.h>
89243 #else
89244 # include <assert.h>
89245 #endif
89247 #undef $ac_func
89249 /* Override any gcc2 internal prototype to avoid an error. */
89250 #ifdef __cplusplus
89251 extern "C"
89253 #endif
89254 /* We use char because int might match the return type of a gcc2
89255 builtin and then its argument prototype would still apply. */
89256 char $ac_func ();
89257 /* The GNU C library defines this for functions which it implements
89258 to always fail with ENOSYS. Some functions are actually named
89259 something starting with __ and the normal name is an alias. */
89260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89261 choke me
89262 #else
89263 char (*f) () = $ac_func;
89264 #endif
89265 #ifdef __cplusplus
89267 #endif
89270 main ()
89272 return f != $ac_func;
89274 return 0;
89276 _ACEOF
89277 rm -f conftest.$ac_objext conftest$ac_exeext
89278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89279 (eval $ac_link) 2>conftest.er1
89280 ac_status=$?
89281 grep -v '^ *+' conftest.er1 >conftest.err
89282 rm -f conftest.er1
89283 cat conftest.err >&5
89284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89285 (exit $ac_status); } &&
89286 { ac_try='test -z "$ac_c_werror_flag"
89287 || test ! -s conftest.err'
89288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89289 (eval $ac_try) 2>&5
89290 ac_status=$?
89291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89292 (exit $ac_status); }; } &&
89293 { ac_try='test -s conftest$ac_exeext'
89294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89295 (eval $ac_try) 2>&5
89296 ac_status=$?
89297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89298 (exit $ac_status); }; }; then
89299 eval "$as_ac_var=yes"
89300 else
89301 echo "$as_me: failed program was:" >&5
89302 sed 's/^/| /' conftest.$ac_ext >&5
89304 eval "$as_ac_var=no"
89306 rm -f conftest.err conftest.$ac_objext \
89307 conftest$ac_exeext conftest.$ac_ext
89309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89311 if test `eval echo '${'$as_ac_var'}'` = yes; then
89312 cat >>confdefs.h <<_ACEOF
89313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89314 _ACEOF
89317 done
89327 echo "$as_me:$LINENO: checking for log10f declaration" >&5
89328 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
89329 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
89330 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
89331 echo $ECHO_N "(cached) $ECHO_C" >&6
89332 else
89336 ac_ext=cc
89337 ac_cpp='$CXXCPP $CPPFLAGS'
89338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89342 cat >conftest.$ac_ext <<_ACEOF
89343 /* confdefs.h. */
89344 _ACEOF
89345 cat confdefs.h >>conftest.$ac_ext
89346 cat >>conftest.$ac_ext <<_ACEOF
89347 /* end confdefs.h. */
89348 #include <math.h>
89349 #ifdef HAVE_IEEEFP_H
89350 #include <ieeefp.h>
89351 #endif
89354 main ()
89356 log10f(0);
89358 return 0;
89360 _ACEOF
89361 rm -f conftest.$ac_objext
89362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89363 (eval $ac_compile) 2>conftest.er1
89364 ac_status=$?
89365 grep -v '^ *+' conftest.er1 >conftest.err
89366 rm -f conftest.er1
89367 cat conftest.err >&5
89368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89369 (exit $ac_status); } &&
89370 { ac_try='test -z "$ac_cxx_werror_flag"
89371 || test ! -s conftest.err'
89372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89373 (eval $ac_try) 2>&5
89374 ac_status=$?
89375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89376 (exit $ac_status); }; } &&
89377 { ac_try='test -s conftest.$ac_objext'
89378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89379 (eval $ac_try) 2>&5
89380 ac_status=$?
89381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89382 (exit $ac_status); }; }; then
89383 glibcxx_cv_func_log10f_use=yes
89384 else
89385 echo "$as_me: failed program was:" >&5
89386 sed 's/^/| /' conftest.$ac_ext >&5
89388 glibcxx_cv_func_log10f_use=no
89390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89391 ac_ext=c
89392 ac_cpp='$CPP $CPPFLAGS'
89393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89401 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
89402 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
89404 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
89406 for ac_func in log10f
89408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89409 echo "$as_me:$LINENO: checking for $ac_func" >&5
89410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89411 if eval "test \"\${$as_ac_var+set}\" = set"; then
89412 echo $ECHO_N "(cached) $ECHO_C" >&6
89413 else
89414 if test x$gcc_no_link = xyes; then
89415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89417 { (exit 1); exit 1; }; }
89419 cat >conftest.$ac_ext <<_ACEOF
89420 /* confdefs.h. */
89421 _ACEOF
89422 cat confdefs.h >>conftest.$ac_ext
89423 cat >>conftest.$ac_ext <<_ACEOF
89424 /* end confdefs.h. */
89425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89427 #define $ac_func innocuous_$ac_func
89429 /* System header to define __stub macros and hopefully few prototypes,
89430 which can conflict with char $ac_func (); below.
89431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89432 <limits.h> exists even on freestanding compilers. */
89434 #ifdef __STDC__
89435 # include <limits.h>
89436 #else
89437 # include <assert.h>
89438 #endif
89440 #undef $ac_func
89442 /* Override any gcc2 internal prototype to avoid an error. */
89443 #ifdef __cplusplus
89444 extern "C"
89446 #endif
89447 /* We use char because int might match the return type of a gcc2
89448 builtin and then its argument prototype would still apply. */
89449 char $ac_func ();
89450 /* The GNU C library defines this for functions which it implements
89451 to always fail with ENOSYS. Some functions are actually named
89452 something starting with __ and the normal name is an alias. */
89453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89454 choke me
89455 #else
89456 char (*f) () = $ac_func;
89457 #endif
89458 #ifdef __cplusplus
89460 #endif
89463 main ()
89465 return f != $ac_func;
89467 return 0;
89469 _ACEOF
89470 rm -f conftest.$ac_objext conftest$ac_exeext
89471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89472 (eval $ac_link) 2>conftest.er1
89473 ac_status=$?
89474 grep -v '^ *+' conftest.er1 >conftest.err
89475 rm -f conftest.er1
89476 cat conftest.err >&5
89477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89478 (exit $ac_status); } &&
89479 { ac_try='test -z "$ac_c_werror_flag"
89480 || test ! -s conftest.err'
89481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89482 (eval $ac_try) 2>&5
89483 ac_status=$?
89484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89485 (exit $ac_status); }; } &&
89486 { ac_try='test -s conftest$ac_exeext'
89487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89488 (eval $ac_try) 2>&5
89489 ac_status=$?
89490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89491 (exit $ac_status); }; }; then
89492 eval "$as_ac_var=yes"
89493 else
89494 echo "$as_me: failed program was:" >&5
89495 sed 's/^/| /' conftest.$ac_ext >&5
89497 eval "$as_ac_var=no"
89499 rm -f conftest.err conftest.$ac_objext \
89500 conftest$ac_exeext conftest.$ac_ext
89502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89504 if test `eval echo '${'$as_ac_var'}'` = yes; then
89505 cat >>confdefs.h <<_ACEOF
89506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89507 _ACEOF
89510 done
89512 else
89514 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
89515 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
89516 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
89517 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
89518 echo $ECHO_N "(cached) $ECHO_C" >&6
89519 else
89523 ac_ext=cc
89524 ac_cpp='$CXXCPP $CPPFLAGS'
89525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89529 cat >conftest.$ac_ext <<_ACEOF
89530 /* confdefs.h. */
89531 _ACEOF
89532 cat confdefs.h >>conftest.$ac_ext
89533 cat >>conftest.$ac_ext <<_ACEOF
89534 /* end confdefs.h. */
89535 #include <math.h>
89536 #ifdef HAVE_IEEEFP_H
89537 #include <ieeefp.h>
89538 #endif
89541 main ()
89543 _log10f(0);
89545 return 0;
89547 _ACEOF
89548 rm -f conftest.$ac_objext
89549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89550 (eval $ac_compile) 2>conftest.er1
89551 ac_status=$?
89552 grep -v '^ *+' conftest.er1 >conftest.err
89553 rm -f conftest.er1
89554 cat conftest.err >&5
89555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89556 (exit $ac_status); } &&
89557 { ac_try='test -z "$ac_cxx_werror_flag"
89558 || test ! -s conftest.err'
89559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89560 (eval $ac_try) 2>&5
89561 ac_status=$?
89562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89563 (exit $ac_status); }; } &&
89564 { ac_try='test -s conftest.$ac_objext'
89565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89566 (eval $ac_try) 2>&5
89567 ac_status=$?
89568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89569 (exit $ac_status); }; }; then
89570 glibcxx_cv_func__log10f_use=yes
89571 else
89572 echo "$as_me: failed program was:" >&5
89573 sed 's/^/| /' conftest.$ac_ext >&5
89575 glibcxx_cv_func__log10f_use=no
89577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89578 ac_ext=c
89579 ac_cpp='$CPP $CPPFLAGS'
89580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
89589 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
89591 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
89593 for ac_func in _log10f
89595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89596 echo "$as_me:$LINENO: checking for $ac_func" >&5
89597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89598 if eval "test \"\${$as_ac_var+set}\" = set"; then
89599 echo $ECHO_N "(cached) $ECHO_C" >&6
89600 else
89601 if test x$gcc_no_link = xyes; then
89602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89604 { (exit 1); exit 1; }; }
89606 cat >conftest.$ac_ext <<_ACEOF
89607 /* confdefs.h. */
89608 _ACEOF
89609 cat confdefs.h >>conftest.$ac_ext
89610 cat >>conftest.$ac_ext <<_ACEOF
89611 /* end confdefs.h. */
89612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89614 #define $ac_func innocuous_$ac_func
89616 /* System header to define __stub macros and hopefully few prototypes,
89617 which can conflict with char $ac_func (); below.
89618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89619 <limits.h> exists even on freestanding compilers. */
89621 #ifdef __STDC__
89622 # include <limits.h>
89623 #else
89624 # include <assert.h>
89625 #endif
89627 #undef $ac_func
89629 /* Override any gcc2 internal prototype to avoid an error. */
89630 #ifdef __cplusplus
89631 extern "C"
89633 #endif
89634 /* We use char because int might match the return type of a gcc2
89635 builtin and then its argument prototype would still apply. */
89636 char $ac_func ();
89637 /* The GNU C library defines this for functions which it implements
89638 to always fail with ENOSYS. Some functions are actually named
89639 something starting with __ and the normal name is an alias. */
89640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89641 choke me
89642 #else
89643 char (*f) () = $ac_func;
89644 #endif
89645 #ifdef __cplusplus
89647 #endif
89650 main ()
89652 return f != $ac_func;
89654 return 0;
89656 _ACEOF
89657 rm -f conftest.$ac_objext conftest$ac_exeext
89658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89659 (eval $ac_link) 2>conftest.er1
89660 ac_status=$?
89661 grep -v '^ *+' conftest.er1 >conftest.err
89662 rm -f conftest.er1
89663 cat conftest.err >&5
89664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89665 (exit $ac_status); } &&
89666 { ac_try='test -z "$ac_c_werror_flag"
89667 || test ! -s conftest.err'
89668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89669 (eval $ac_try) 2>&5
89670 ac_status=$?
89671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89672 (exit $ac_status); }; } &&
89673 { ac_try='test -s conftest$ac_exeext'
89674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89675 (eval $ac_try) 2>&5
89676 ac_status=$?
89677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89678 (exit $ac_status); }; }; then
89679 eval "$as_ac_var=yes"
89680 else
89681 echo "$as_me: failed program was:" >&5
89682 sed 's/^/| /' conftest.$ac_ext >&5
89684 eval "$as_ac_var=no"
89686 rm -f conftest.err conftest.$ac_objext \
89687 conftest$ac_exeext conftest.$ac_ext
89689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89691 if test `eval echo '${'$as_ac_var'}'` = yes; then
89692 cat >>confdefs.h <<_ACEOF
89693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89694 _ACEOF
89697 done
89707 echo "$as_me:$LINENO: checking for modff declaration" >&5
89708 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
89709 if test x${glibcxx_cv_func_modff_use+set} != xset; then
89710 if test "${glibcxx_cv_func_modff_use+set}" = set; then
89711 echo $ECHO_N "(cached) $ECHO_C" >&6
89712 else
89716 ac_ext=cc
89717 ac_cpp='$CXXCPP $CPPFLAGS'
89718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89722 cat >conftest.$ac_ext <<_ACEOF
89723 /* confdefs.h. */
89724 _ACEOF
89725 cat confdefs.h >>conftest.$ac_ext
89726 cat >>conftest.$ac_ext <<_ACEOF
89727 /* end confdefs.h. */
89728 #include <math.h>
89730 main ()
89732 modff(0, 0);
89734 return 0;
89736 _ACEOF
89737 rm -f conftest.$ac_objext
89738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89739 (eval $ac_compile) 2>conftest.er1
89740 ac_status=$?
89741 grep -v '^ *+' conftest.er1 >conftest.err
89742 rm -f conftest.er1
89743 cat conftest.err >&5
89744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89745 (exit $ac_status); } &&
89746 { ac_try='test -z "$ac_cxx_werror_flag"
89747 || test ! -s conftest.err'
89748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89749 (eval $ac_try) 2>&5
89750 ac_status=$?
89751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89752 (exit $ac_status); }; } &&
89753 { ac_try='test -s conftest.$ac_objext'
89754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89755 (eval $ac_try) 2>&5
89756 ac_status=$?
89757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89758 (exit $ac_status); }; }; then
89759 glibcxx_cv_func_modff_use=yes
89760 else
89761 echo "$as_me: failed program was:" >&5
89762 sed 's/^/| /' conftest.$ac_ext >&5
89764 glibcxx_cv_func_modff_use=no
89766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89767 ac_ext=c
89768 ac_cpp='$CPP $CPPFLAGS'
89769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89777 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
89778 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
89780 if test x$glibcxx_cv_func_modff_use = x"yes"; then
89782 for ac_func in modff
89784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89785 echo "$as_me:$LINENO: checking for $ac_func" >&5
89786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89787 if eval "test \"\${$as_ac_var+set}\" = set"; then
89788 echo $ECHO_N "(cached) $ECHO_C" >&6
89789 else
89790 if test x$gcc_no_link = xyes; then
89791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89793 { (exit 1); exit 1; }; }
89795 cat >conftest.$ac_ext <<_ACEOF
89796 /* confdefs.h. */
89797 _ACEOF
89798 cat confdefs.h >>conftest.$ac_ext
89799 cat >>conftest.$ac_ext <<_ACEOF
89800 /* end confdefs.h. */
89801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89803 #define $ac_func innocuous_$ac_func
89805 /* System header to define __stub macros and hopefully few prototypes,
89806 which can conflict with char $ac_func (); below.
89807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89808 <limits.h> exists even on freestanding compilers. */
89810 #ifdef __STDC__
89811 # include <limits.h>
89812 #else
89813 # include <assert.h>
89814 #endif
89816 #undef $ac_func
89818 /* Override any gcc2 internal prototype to avoid an error. */
89819 #ifdef __cplusplus
89820 extern "C"
89822 #endif
89823 /* We use char because int might match the return type of a gcc2
89824 builtin and then its argument prototype would still apply. */
89825 char $ac_func ();
89826 /* The GNU C library defines this for functions which it implements
89827 to always fail with ENOSYS. Some functions are actually named
89828 something starting with __ and the normal name is an alias. */
89829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89830 choke me
89831 #else
89832 char (*f) () = $ac_func;
89833 #endif
89834 #ifdef __cplusplus
89836 #endif
89839 main ()
89841 return f != $ac_func;
89843 return 0;
89845 _ACEOF
89846 rm -f conftest.$ac_objext conftest$ac_exeext
89847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89848 (eval $ac_link) 2>conftest.er1
89849 ac_status=$?
89850 grep -v '^ *+' conftest.er1 >conftest.err
89851 rm -f conftest.er1
89852 cat conftest.err >&5
89853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89854 (exit $ac_status); } &&
89855 { ac_try='test -z "$ac_c_werror_flag"
89856 || test ! -s conftest.err'
89857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89858 (eval $ac_try) 2>&5
89859 ac_status=$?
89860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89861 (exit $ac_status); }; } &&
89862 { ac_try='test -s conftest$ac_exeext'
89863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89864 (eval $ac_try) 2>&5
89865 ac_status=$?
89866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89867 (exit $ac_status); }; }; then
89868 eval "$as_ac_var=yes"
89869 else
89870 echo "$as_me: failed program was:" >&5
89871 sed 's/^/| /' conftest.$ac_ext >&5
89873 eval "$as_ac_var=no"
89875 rm -f conftest.err conftest.$ac_objext \
89876 conftest$ac_exeext conftest.$ac_ext
89878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89880 if test `eval echo '${'$as_ac_var'}'` = yes; then
89881 cat >>confdefs.h <<_ACEOF
89882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89883 _ACEOF
89886 done
89888 else
89890 echo "$as_me:$LINENO: checking for _modff declaration" >&5
89891 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
89892 if test x${glibcxx_cv_func__modff_use+set} != xset; then
89893 if test "${glibcxx_cv_func__modff_use+set}" = set; then
89894 echo $ECHO_N "(cached) $ECHO_C" >&6
89895 else
89899 ac_ext=cc
89900 ac_cpp='$CXXCPP $CPPFLAGS'
89901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89905 cat >conftest.$ac_ext <<_ACEOF
89906 /* confdefs.h. */
89907 _ACEOF
89908 cat confdefs.h >>conftest.$ac_ext
89909 cat >>conftest.$ac_ext <<_ACEOF
89910 /* end confdefs.h. */
89911 #include <math.h>
89913 main ()
89915 _modff(0, 0);
89917 return 0;
89919 _ACEOF
89920 rm -f conftest.$ac_objext
89921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89922 (eval $ac_compile) 2>conftest.er1
89923 ac_status=$?
89924 grep -v '^ *+' conftest.er1 >conftest.err
89925 rm -f conftest.er1
89926 cat conftest.err >&5
89927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89928 (exit $ac_status); } &&
89929 { ac_try='test -z "$ac_cxx_werror_flag"
89930 || test ! -s conftest.err'
89931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89932 (eval $ac_try) 2>&5
89933 ac_status=$?
89934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89935 (exit $ac_status); }; } &&
89936 { ac_try='test -s conftest.$ac_objext'
89937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89938 (eval $ac_try) 2>&5
89939 ac_status=$?
89940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89941 (exit $ac_status); }; }; then
89942 glibcxx_cv_func__modff_use=yes
89943 else
89944 echo "$as_me: failed program was:" >&5
89945 sed 's/^/| /' conftest.$ac_ext >&5
89947 glibcxx_cv_func__modff_use=no
89949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89950 ac_ext=c
89951 ac_cpp='$CPP $CPPFLAGS'
89952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89960 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
89961 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
89963 if test x$glibcxx_cv_func__modff_use = x"yes"; then
89965 for ac_func in _modff
89967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89968 echo "$as_me:$LINENO: checking for $ac_func" >&5
89969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89970 if eval "test \"\${$as_ac_var+set}\" = set"; then
89971 echo $ECHO_N "(cached) $ECHO_C" >&6
89972 else
89973 if test x$gcc_no_link = xyes; then
89974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89976 { (exit 1); exit 1; }; }
89978 cat >conftest.$ac_ext <<_ACEOF
89979 /* confdefs.h. */
89980 _ACEOF
89981 cat confdefs.h >>conftest.$ac_ext
89982 cat >>conftest.$ac_ext <<_ACEOF
89983 /* end confdefs.h. */
89984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89986 #define $ac_func innocuous_$ac_func
89988 /* System header to define __stub macros and hopefully few prototypes,
89989 which can conflict with char $ac_func (); below.
89990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89991 <limits.h> exists even on freestanding compilers. */
89993 #ifdef __STDC__
89994 # include <limits.h>
89995 #else
89996 # include <assert.h>
89997 #endif
89999 #undef $ac_func
90001 /* Override any gcc2 internal prototype to avoid an error. */
90002 #ifdef __cplusplus
90003 extern "C"
90005 #endif
90006 /* We use char because int might match the return type of a gcc2
90007 builtin and then its argument prototype would still apply. */
90008 char $ac_func ();
90009 /* The GNU C library defines this for functions which it implements
90010 to always fail with ENOSYS. Some functions are actually named
90011 something starting with __ and the normal name is an alias. */
90012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90013 choke me
90014 #else
90015 char (*f) () = $ac_func;
90016 #endif
90017 #ifdef __cplusplus
90019 #endif
90022 main ()
90024 return f != $ac_func;
90026 return 0;
90028 _ACEOF
90029 rm -f conftest.$ac_objext conftest$ac_exeext
90030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90031 (eval $ac_link) 2>conftest.er1
90032 ac_status=$?
90033 grep -v '^ *+' conftest.er1 >conftest.err
90034 rm -f conftest.er1
90035 cat conftest.err >&5
90036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90037 (exit $ac_status); } &&
90038 { ac_try='test -z "$ac_c_werror_flag"
90039 || test ! -s conftest.err'
90040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90041 (eval $ac_try) 2>&5
90042 ac_status=$?
90043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90044 (exit $ac_status); }; } &&
90045 { ac_try='test -s conftest$ac_exeext'
90046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90047 (eval $ac_try) 2>&5
90048 ac_status=$?
90049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90050 (exit $ac_status); }; }; then
90051 eval "$as_ac_var=yes"
90052 else
90053 echo "$as_me: failed program was:" >&5
90054 sed 's/^/| /' conftest.$ac_ext >&5
90056 eval "$as_ac_var=no"
90058 rm -f conftest.err conftest.$ac_objext \
90059 conftest$ac_exeext conftest.$ac_ext
90061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90063 if test `eval echo '${'$as_ac_var'}'` = yes; then
90064 cat >>confdefs.h <<_ACEOF
90065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90066 _ACEOF
90069 done
90079 echo "$as_me:$LINENO: checking for modf declaration" >&5
90080 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
90081 if test x${glibcxx_cv_func_modf_use+set} != xset; then
90082 if test "${glibcxx_cv_func_modf_use+set}" = set; then
90083 echo $ECHO_N "(cached) $ECHO_C" >&6
90084 else
90088 ac_ext=cc
90089 ac_cpp='$CXXCPP $CPPFLAGS'
90090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90094 cat >conftest.$ac_ext <<_ACEOF
90095 /* confdefs.h. */
90096 _ACEOF
90097 cat confdefs.h >>conftest.$ac_ext
90098 cat >>conftest.$ac_ext <<_ACEOF
90099 /* end confdefs.h. */
90100 #include <math.h>
90102 main ()
90104 modf(0, 0);
90106 return 0;
90108 _ACEOF
90109 rm -f conftest.$ac_objext
90110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90111 (eval $ac_compile) 2>conftest.er1
90112 ac_status=$?
90113 grep -v '^ *+' conftest.er1 >conftest.err
90114 rm -f conftest.er1
90115 cat conftest.err >&5
90116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90117 (exit $ac_status); } &&
90118 { ac_try='test -z "$ac_cxx_werror_flag"
90119 || test ! -s conftest.err'
90120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90121 (eval $ac_try) 2>&5
90122 ac_status=$?
90123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90124 (exit $ac_status); }; } &&
90125 { ac_try='test -s conftest.$ac_objext'
90126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90127 (eval $ac_try) 2>&5
90128 ac_status=$?
90129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90130 (exit $ac_status); }; }; then
90131 glibcxx_cv_func_modf_use=yes
90132 else
90133 echo "$as_me: failed program was:" >&5
90134 sed 's/^/| /' conftest.$ac_ext >&5
90136 glibcxx_cv_func_modf_use=no
90138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90139 ac_ext=c
90140 ac_cpp='$CPP $CPPFLAGS'
90141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90149 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
90150 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
90152 if test x$glibcxx_cv_func_modf_use = x"yes"; then
90154 for ac_func in modf
90156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90157 echo "$as_me:$LINENO: checking for $ac_func" >&5
90158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90159 if eval "test \"\${$as_ac_var+set}\" = set"; then
90160 echo $ECHO_N "(cached) $ECHO_C" >&6
90161 else
90162 if test x$gcc_no_link = xyes; then
90163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90165 { (exit 1); exit 1; }; }
90167 cat >conftest.$ac_ext <<_ACEOF
90168 /* confdefs.h. */
90169 _ACEOF
90170 cat confdefs.h >>conftest.$ac_ext
90171 cat >>conftest.$ac_ext <<_ACEOF
90172 /* end confdefs.h. */
90173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90175 #define $ac_func innocuous_$ac_func
90177 /* System header to define __stub macros and hopefully few prototypes,
90178 which can conflict with char $ac_func (); below.
90179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90180 <limits.h> exists even on freestanding compilers. */
90182 #ifdef __STDC__
90183 # include <limits.h>
90184 #else
90185 # include <assert.h>
90186 #endif
90188 #undef $ac_func
90190 /* Override any gcc2 internal prototype to avoid an error. */
90191 #ifdef __cplusplus
90192 extern "C"
90194 #endif
90195 /* We use char because int might match the return type of a gcc2
90196 builtin and then its argument prototype would still apply. */
90197 char $ac_func ();
90198 /* The GNU C library defines this for functions which it implements
90199 to always fail with ENOSYS. Some functions are actually named
90200 something starting with __ and the normal name is an alias. */
90201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90202 choke me
90203 #else
90204 char (*f) () = $ac_func;
90205 #endif
90206 #ifdef __cplusplus
90208 #endif
90211 main ()
90213 return f != $ac_func;
90215 return 0;
90217 _ACEOF
90218 rm -f conftest.$ac_objext conftest$ac_exeext
90219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90220 (eval $ac_link) 2>conftest.er1
90221 ac_status=$?
90222 grep -v '^ *+' conftest.er1 >conftest.err
90223 rm -f conftest.er1
90224 cat conftest.err >&5
90225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90226 (exit $ac_status); } &&
90227 { ac_try='test -z "$ac_c_werror_flag"
90228 || test ! -s conftest.err'
90229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90230 (eval $ac_try) 2>&5
90231 ac_status=$?
90232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90233 (exit $ac_status); }; } &&
90234 { ac_try='test -s conftest$ac_exeext'
90235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90236 (eval $ac_try) 2>&5
90237 ac_status=$?
90238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90239 (exit $ac_status); }; }; then
90240 eval "$as_ac_var=yes"
90241 else
90242 echo "$as_me: failed program was:" >&5
90243 sed 's/^/| /' conftest.$ac_ext >&5
90245 eval "$as_ac_var=no"
90247 rm -f conftest.err conftest.$ac_objext \
90248 conftest$ac_exeext conftest.$ac_ext
90250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90252 if test `eval echo '${'$as_ac_var'}'` = yes; then
90253 cat >>confdefs.h <<_ACEOF
90254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90255 _ACEOF
90258 done
90260 else
90262 echo "$as_me:$LINENO: checking for _modf declaration" >&5
90263 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
90264 if test x${glibcxx_cv_func__modf_use+set} != xset; then
90265 if test "${glibcxx_cv_func__modf_use+set}" = set; then
90266 echo $ECHO_N "(cached) $ECHO_C" >&6
90267 else
90271 ac_ext=cc
90272 ac_cpp='$CXXCPP $CPPFLAGS'
90273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90277 cat >conftest.$ac_ext <<_ACEOF
90278 /* confdefs.h. */
90279 _ACEOF
90280 cat confdefs.h >>conftest.$ac_ext
90281 cat >>conftest.$ac_ext <<_ACEOF
90282 /* end confdefs.h. */
90283 #include <math.h>
90285 main ()
90287 _modf(0, 0);
90289 return 0;
90291 _ACEOF
90292 rm -f conftest.$ac_objext
90293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90294 (eval $ac_compile) 2>conftest.er1
90295 ac_status=$?
90296 grep -v '^ *+' conftest.er1 >conftest.err
90297 rm -f conftest.er1
90298 cat conftest.err >&5
90299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90300 (exit $ac_status); } &&
90301 { ac_try='test -z "$ac_cxx_werror_flag"
90302 || test ! -s conftest.err'
90303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90304 (eval $ac_try) 2>&5
90305 ac_status=$?
90306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90307 (exit $ac_status); }; } &&
90308 { ac_try='test -s conftest.$ac_objext'
90309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90310 (eval $ac_try) 2>&5
90311 ac_status=$?
90312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90313 (exit $ac_status); }; }; then
90314 glibcxx_cv_func__modf_use=yes
90315 else
90316 echo "$as_me: failed program was:" >&5
90317 sed 's/^/| /' conftest.$ac_ext >&5
90319 glibcxx_cv_func__modf_use=no
90321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90322 ac_ext=c
90323 ac_cpp='$CPP $CPPFLAGS'
90324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90332 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
90333 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
90335 if test x$glibcxx_cv_func__modf_use = x"yes"; then
90337 for ac_func in _modf
90339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90340 echo "$as_me:$LINENO: checking for $ac_func" >&5
90341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90342 if eval "test \"\${$as_ac_var+set}\" = set"; then
90343 echo $ECHO_N "(cached) $ECHO_C" >&6
90344 else
90345 if test x$gcc_no_link = xyes; then
90346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90348 { (exit 1); exit 1; }; }
90350 cat >conftest.$ac_ext <<_ACEOF
90351 /* confdefs.h. */
90352 _ACEOF
90353 cat confdefs.h >>conftest.$ac_ext
90354 cat >>conftest.$ac_ext <<_ACEOF
90355 /* end confdefs.h. */
90356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90358 #define $ac_func innocuous_$ac_func
90360 /* System header to define __stub macros and hopefully few prototypes,
90361 which can conflict with char $ac_func (); below.
90362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90363 <limits.h> exists even on freestanding compilers. */
90365 #ifdef __STDC__
90366 # include <limits.h>
90367 #else
90368 # include <assert.h>
90369 #endif
90371 #undef $ac_func
90373 /* Override any gcc2 internal prototype to avoid an error. */
90374 #ifdef __cplusplus
90375 extern "C"
90377 #endif
90378 /* We use char because int might match the return type of a gcc2
90379 builtin and then its argument prototype would still apply. */
90380 char $ac_func ();
90381 /* The GNU C library defines this for functions which it implements
90382 to always fail with ENOSYS. Some functions are actually named
90383 something starting with __ and the normal name is an alias. */
90384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90385 choke me
90386 #else
90387 char (*f) () = $ac_func;
90388 #endif
90389 #ifdef __cplusplus
90391 #endif
90394 main ()
90396 return f != $ac_func;
90398 return 0;
90400 _ACEOF
90401 rm -f conftest.$ac_objext conftest$ac_exeext
90402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90403 (eval $ac_link) 2>conftest.er1
90404 ac_status=$?
90405 grep -v '^ *+' conftest.er1 >conftest.err
90406 rm -f conftest.er1
90407 cat conftest.err >&5
90408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90409 (exit $ac_status); } &&
90410 { ac_try='test -z "$ac_c_werror_flag"
90411 || test ! -s conftest.err'
90412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90413 (eval $ac_try) 2>&5
90414 ac_status=$?
90415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90416 (exit $ac_status); }; } &&
90417 { ac_try='test -s conftest$ac_exeext'
90418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90419 (eval $ac_try) 2>&5
90420 ac_status=$?
90421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90422 (exit $ac_status); }; }; then
90423 eval "$as_ac_var=yes"
90424 else
90425 echo "$as_me: failed program was:" >&5
90426 sed 's/^/| /' conftest.$ac_ext >&5
90428 eval "$as_ac_var=no"
90430 rm -f conftest.err conftest.$ac_objext \
90431 conftest$ac_exeext conftest.$ac_ext
90433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90435 if test `eval echo '${'$as_ac_var'}'` = yes; then
90436 cat >>confdefs.h <<_ACEOF
90437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90438 _ACEOF
90441 done
90451 echo "$as_me:$LINENO: checking for powf declaration" >&5
90452 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
90453 if test x${glibcxx_cv_func_powf_use+set} != xset; then
90454 if test "${glibcxx_cv_func_powf_use+set}" = set; then
90455 echo $ECHO_N "(cached) $ECHO_C" >&6
90456 else
90460 ac_ext=cc
90461 ac_cpp='$CXXCPP $CPPFLAGS'
90462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90466 cat >conftest.$ac_ext <<_ACEOF
90467 /* confdefs.h. */
90468 _ACEOF
90469 cat confdefs.h >>conftest.$ac_ext
90470 cat >>conftest.$ac_ext <<_ACEOF
90471 /* end confdefs.h. */
90472 #include <math.h>
90474 main ()
90476 powf(0, 0);
90478 return 0;
90480 _ACEOF
90481 rm -f conftest.$ac_objext
90482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90483 (eval $ac_compile) 2>conftest.er1
90484 ac_status=$?
90485 grep -v '^ *+' conftest.er1 >conftest.err
90486 rm -f conftest.er1
90487 cat conftest.err >&5
90488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90489 (exit $ac_status); } &&
90490 { ac_try='test -z "$ac_cxx_werror_flag"
90491 || test ! -s conftest.err'
90492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90493 (eval $ac_try) 2>&5
90494 ac_status=$?
90495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90496 (exit $ac_status); }; } &&
90497 { ac_try='test -s conftest.$ac_objext'
90498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90499 (eval $ac_try) 2>&5
90500 ac_status=$?
90501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90502 (exit $ac_status); }; }; then
90503 glibcxx_cv_func_powf_use=yes
90504 else
90505 echo "$as_me: failed program was:" >&5
90506 sed 's/^/| /' conftest.$ac_ext >&5
90508 glibcxx_cv_func_powf_use=no
90510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90511 ac_ext=c
90512 ac_cpp='$CPP $CPPFLAGS'
90513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90521 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
90522 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
90524 if test x$glibcxx_cv_func_powf_use = x"yes"; then
90526 for ac_func in powf
90528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90529 echo "$as_me:$LINENO: checking for $ac_func" >&5
90530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90531 if eval "test \"\${$as_ac_var+set}\" = set"; then
90532 echo $ECHO_N "(cached) $ECHO_C" >&6
90533 else
90534 if test x$gcc_no_link = xyes; then
90535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90537 { (exit 1); exit 1; }; }
90539 cat >conftest.$ac_ext <<_ACEOF
90540 /* confdefs.h. */
90541 _ACEOF
90542 cat confdefs.h >>conftest.$ac_ext
90543 cat >>conftest.$ac_ext <<_ACEOF
90544 /* end confdefs.h. */
90545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90547 #define $ac_func innocuous_$ac_func
90549 /* System header to define __stub macros and hopefully few prototypes,
90550 which can conflict with char $ac_func (); below.
90551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90552 <limits.h> exists even on freestanding compilers. */
90554 #ifdef __STDC__
90555 # include <limits.h>
90556 #else
90557 # include <assert.h>
90558 #endif
90560 #undef $ac_func
90562 /* Override any gcc2 internal prototype to avoid an error. */
90563 #ifdef __cplusplus
90564 extern "C"
90566 #endif
90567 /* We use char because int might match the return type of a gcc2
90568 builtin and then its argument prototype would still apply. */
90569 char $ac_func ();
90570 /* The GNU C library defines this for functions which it implements
90571 to always fail with ENOSYS. Some functions are actually named
90572 something starting with __ and the normal name is an alias. */
90573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90574 choke me
90575 #else
90576 char (*f) () = $ac_func;
90577 #endif
90578 #ifdef __cplusplus
90580 #endif
90583 main ()
90585 return f != $ac_func;
90587 return 0;
90589 _ACEOF
90590 rm -f conftest.$ac_objext conftest$ac_exeext
90591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90592 (eval $ac_link) 2>conftest.er1
90593 ac_status=$?
90594 grep -v '^ *+' conftest.er1 >conftest.err
90595 rm -f conftest.er1
90596 cat conftest.err >&5
90597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90598 (exit $ac_status); } &&
90599 { ac_try='test -z "$ac_c_werror_flag"
90600 || test ! -s conftest.err'
90601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90602 (eval $ac_try) 2>&5
90603 ac_status=$?
90604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90605 (exit $ac_status); }; } &&
90606 { ac_try='test -s conftest$ac_exeext'
90607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90608 (eval $ac_try) 2>&5
90609 ac_status=$?
90610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90611 (exit $ac_status); }; }; then
90612 eval "$as_ac_var=yes"
90613 else
90614 echo "$as_me: failed program was:" >&5
90615 sed 's/^/| /' conftest.$ac_ext >&5
90617 eval "$as_ac_var=no"
90619 rm -f conftest.err conftest.$ac_objext \
90620 conftest$ac_exeext conftest.$ac_ext
90622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90624 if test `eval echo '${'$as_ac_var'}'` = yes; then
90625 cat >>confdefs.h <<_ACEOF
90626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90627 _ACEOF
90630 done
90632 else
90634 echo "$as_me:$LINENO: checking for _powf declaration" >&5
90635 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
90636 if test x${glibcxx_cv_func__powf_use+set} != xset; then
90637 if test "${glibcxx_cv_func__powf_use+set}" = set; then
90638 echo $ECHO_N "(cached) $ECHO_C" >&6
90639 else
90643 ac_ext=cc
90644 ac_cpp='$CXXCPP $CPPFLAGS'
90645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90649 cat >conftest.$ac_ext <<_ACEOF
90650 /* confdefs.h. */
90651 _ACEOF
90652 cat confdefs.h >>conftest.$ac_ext
90653 cat >>conftest.$ac_ext <<_ACEOF
90654 /* end confdefs.h. */
90655 #include <math.h>
90657 main ()
90659 _powf(0, 0);
90661 return 0;
90663 _ACEOF
90664 rm -f conftest.$ac_objext
90665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90666 (eval $ac_compile) 2>conftest.er1
90667 ac_status=$?
90668 grep -v '^ *+' conftest.er1 >conftest.err
90669 rm -f conftest.er1
90670 cat conftest.err >&5
90671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90672 (exit $ac_status); } &&
90673 { ac_try='test -z "$ac_cxx_werror_flag"
90674 || test ! -s conftest.err'
90675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90676 (eval $ac_try) 2>&5
90677 ac_status=$?
90678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90679 (exit $ac_status); }; } &&
90680 { ac_try='test -s conftest.$ac_objext'
90681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90682 (eval $ac_try) 2>&5
90683 ac_status=$?
90684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90685 (exit $ac_status); }; }; then
90686 glibcxx_cv_func__powf_use=yes
90687 else
90688 echo "$as_me: failed program was:" >&5
90689 sed 's/^/| /' conftest.$ac_ext >&5
90691 glibcxx_cv_func__powf_use=no
90693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90694 ac_ext=c
90695 ac_cpp='$CPP $CPPFLAGS'
90696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90704 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
90705 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
90707 if test x$glibcxx_cv_func__powf_use = x"yes"; then
90709 for ac_func in _powf
90711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90712 echo "$as_me:$LINENO: checking for $ac_func" >&5
90713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90714 if eval "test \"\${$as_ac_var+set}\" = set"; then
90715 echo $ECHO_N "(cached) $ECHO_C" >&6
90716 else
90717 if test x$gcc_no_link = xyes; then
90718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90720 { (exit 1); exit 1; }; }
90722 cat >conftest.$ac_ext <<_ACEOF
90723 /* confdefs.h. */
90724 _ACEOF
90725 cat confdefs.h >>conftest.$ac_ext
90726 cat >>conftest.$ac_ext <<_ACEOF
90727 /* end confdefs.h. */
90728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90730 #define $ac_func innocuous_$ac_func
90732 /* System header to define __stub macros and hopefully few prototypes,
90733 which can conflict with char $ac_func (); below.
90734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90735 <limits.h> exists even on freestanding compilers. */
90737 #ifdef __STDC__
90738 # include <limits.h>
90739 #else
90740 # include <assert.h>
90741 #endif
90743 #undef $ac_func
90745 /* Override any gcc2 internal prototype to avoid an error. */
90746 #ifdef __cplusplus
90747 extern "C"
90749 #endif
90750 /* We use char because int might match the return type of a gcc2
90751 builtin and then its argument prototype would still apply. */
90752 char $ac_func ();
90753 /* The GNU C library defines this for functions which it implements
90754 to always fail with ENOSYS. Some functions are actually named
90755 something starting with __ and the normal name is an alias. */
90756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90757 choke me
90758 #else
90759 char (*f) () = $ac_func;
90760 #endif
90761 #ifdef __cplusplus
90763 #endif
90766 main ()
90768 return f != $ac_func;
90770 return 0;
90772 _ACEOF
90773 rm -f conftest.$ac_objext conftest$ac_exeext
90774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90775 (eval $ac_link) 2>conftest.er1
90776 ac_status=$?
90777 grep -v '^ *+' conftest.er1 >conftest.err
90778 rm -f conftest.er1
90779 cat conftest.err >&5
90780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90781 (exit $ac_status); } &&
90782 { ac_try='test -z "$ac_c_werror_flag"
90783 || test ! -s conftest.err'
90784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90785 (eval $ac_try) 2>&5
90786 ac_status=$?
90787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90788 (exit $ac_status); }; } &&
90789 { ac_try='test -s conftest$ac_exeext'
90790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90791 (eval $ac_try) 2>&5
90792 ac_status=$?
90793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90794 (exit $ac_status); }; }; then
90795 eval "$as_ac_var=yes"
90796 else
90797 echo "$as_me: failed program was:" >&5
90798 sed 's/^/| /' conftest.$ac_ext >&5
90800 eval "$as_ac_var=no"
90802 rm -f conftest.err conftest.$ac_objext \
90803 conftest$ac_exeext conftest.$ac_ext
90805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90807 if test `eval echo '${'$as_ac_var'}'` = yes; then
90808 cat >>confdefs.h <<_ACEOF
90809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90810 _ACEOF
90813 done
90823 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
90824 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
90825 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
90826 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
90827 echo $ECHO_N "(cached) $ECHO_C" >&6
90828 else
90832 ac_ext=cc
90833 ac_cpp='$CXXCPP $CPPFLAGS'
90834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90838 cat >conftest.$ac_ext <<_ACEOF
90839 /* confdefs.h. */
90840 _ACEOF
90841 cat confdefs.h >>conftest.$ac_ext
90842 cat >>conftest.$ac_ext <<_ACEOF
90843 /* end confdefs.h. */
90844 #include <math.h>
90845 #ifdef HAVE_IEEEFP_H
90846 #include <ieeefp.h>
90847 #endif
90850 main ()
90852 sqrtf(0);
90854 return 0;
90856 _ACEOF
90857 rm -f conftest.$ac_objext
90858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90859 (eval $ac_compile) 2>conftest.er1
90860 ac_status=$?
90861 grep -v '^ *+' conftest.er1 >conftest.err
90862 rm -f conftest.er1
90863 cat conftest.err >&5
90864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90865 (exit $ac_status); } &&
90866 { ac_try='test -z "$ac_cxx_werror_flag"
90867 || test ! -s conftest.err'
90868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90869 (eval $ac_try) 2>&5
90870 ac_status=$?
90871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90872 (exit $ac_status); }; } &&
90873 { ac_try='test -s conftest.$ac_objext'
90874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90875 (eval $ac_try) 2>&5
90876 ac_status=$?
90877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90878 (exit $ac_status); }; }; then
90879 glibcxx_cv_func_sqrtf_use=yes
90880 else
90881 echo "$as_me: failed program was:" >&5
90882 sed 's/^/| /' conftest.$ac_ext >&5
90884 glibcxx_cv_func_sqrtf_use=no
90886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90887 ac_ext=c
90888 ac_cpp='$CPP $CPPFLAGS'
90889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90897 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
90898 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
90900 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
90902 for ac_func in sqrtf
90904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90905 echo "$as_me:$LINENO: checking for $ac_func" >&5
90906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90907 if eval "test \"\${$as_ac_var+set}\" = set"; then
90908 echo $ECHO_N "(cached) $ECHO_C" >&6
90909 else
90910 if test x$gcc_no_link = xyes; then
90911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90913 { (exit 1); exit 1; }; }
90915 cat >conftest.$ac_ext <<_ACEOF
90916 /* confdefs.h. */
90917 _ACEOF
90918 cat confdefs.h >>conftest.$ac_ext
90919 cat >>conftest.$ac_ext <<_ACEOF
90920 /* end confdefs.h. */
90921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90923 #define $ac_func innocuous_$ac_func
90925 /* System header to define __stub macros and hopefully few prototypes,
90926 which can conflict with char $ac_func (); below.
90927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90928 <limits.h> exists even on freestanding compilers. */
90930 #ifdef __STDC__
90931 # include <limits.h>
90932 #else
90933 # include <assert.h>
90934 #endif
90936 #undef $ac_func
90938 /* Override any gcc2 internal prototype to avoid an error. */
90939 #ifdef __cplusplus
90940 extern "C"
90942 #endif
90943 /* We use char because int might match the return type of a gcc2
90944 builtin and then its argument prototype would still apply. */
90945 char $ac_func ();
90946 /* The GNU C library defines this for functions which it implements
90947 to always fail with ENOSYS. Some functions are actually named
90948 something starting with __ and the normal name is an alias. */
90949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90950 choke me
90951 #else
90952 char (*f) () = $ac_func;
90953 #endif
90954 #ifdef __cplusplus
90956 #endif
90959 main ()
90961 return f != $ac_func;
90963 return 0;
90965 _ACEOF
90966 rm -f conftest.$ac_objext conftest$ac_exeext
90967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90968 (eval $ac_link) 2>conftest.er1
90969 ac_status=$?
90970 grep -v '^ *+' conftest.er1 >conftest.err
90971 rm -f conftest.er1
90972 cat conftest.err >&5
90973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90974 (exit $ac_status); } &&
90975 { ac_try='test -z "$ac_c_werror_flag"
90976 || test ! -s conftest.err'
90977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90978 (eval $ac_try) 2>&5
90979 ac_status=$?
90980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90981 (exit $ac_status); }; } &&
90982 { ac_try='test -s conftest$ac_exeext'
90983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90984 (eval $ac_try) 2>&5
90985 ac_status=$?
90986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90987 (exit $ac_status); }; }; then
90988 eval "$as_ac_var=yes"
90989 else
90990 echo "$as_me: failed program was:" >&5
90991 sed 's/^/| /' conftest.$ac_ext >&5
90993 eval "$as_ac_var=no"
90995 rm -f conftest.err conftest.$ac_objext \
90996 conftest$ac_exeext conftest.$ac_ext
90998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91000 if test `eval echo '${'$as_ac_var'}'` = yes; then
91001 cat >>confdefs.h <<_ACEOF
91002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91003 _ACEOF
91006 done
91008 else
91010 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
91011 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
91012 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
91013 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
91014 echo $ECHO_N "(cached) $ECHO_C" >&6
91015 else
91019 ac_ext=cc
91020 ac_cpp='$CXXCPP $CPPFLAGS'
91021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91025 cat >conftest.$ac_ext <<_ACEOF
91026 /* confdefs.h. */
91027 _ACEOF
91028 cat confdefs.h >>conftest.$ac_ext
91029 cat >>conftest.$ac_ext <<_ACEOF
91030 /* end confdefs.h. */
91031 #include <math.h>
91032 #ifdef HAVE_IEEEFP_H
91033 #include <ieeefp.h>
91034 #endif
91037 main ()
91039 _sqrtf(0);
91041 return 0;
91043 _ACEOF
91044 rm -f conftest.$ac_objext
91045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91046 (eval $ac_compile) 2>conftest.er1
91047 ac_status=$?
91048 grep -v '^ *+' conftest.er1 >conftest.err
91049 rm -f conftest.er1
91050 cat conftest.err >&5
91051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91052 (exit $ac_status); } &&
91053 { ac_try='test -z "$ac_cxx_werror_flag"
91054 || test ! -s conftest.err'
91055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91056 (eval $ac_try) 2>&5
91057 ac_status=$?
91058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91059 (exit $ac_status); }; } &&
91060 { ac_try='test -s conftest.$ac_objext'
91061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91062 (eval $ac_try) 2>&5
91063 ac_status=$?
91064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91065 (exit $ac_status); }; }; then
91066 glibcxx_cv_func__sqrtf_use=yes
91067 else
91068 echo "$as_me: failed program was:" >&5
91069 sed 's/^/| /' conftest.$ac_ext >&5
91071 glibcxx_cv_func__sqrtf_use=no
91073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91074 ac_ext=c
91075 ac_cpp='$CPP $CPPFLAGS'
91076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91084 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
91085 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
91087 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
91089 for ac_func in _sqrtf
91091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91092 echo "$as_me:$LINENO: checking for $ac_func" >&5
91093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91094 if eval "test \"\${$as_ac_var+set}\" = set"; then
91095 echo $ECHO_N "(cached) $ECHO_C" >&6
91096 else
91097 if test x$gcc_no_link = xyes; then
91098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91100 { (exit 1); exit 1; }; }
91102 cat >conftest.$ac_ext <<_ACEOF
91103 /* confdefs.h. */
91104 _ACEOF
91105 cat confdefs.h >>conftest.$ac_ext
91106 cat >>conftest.$ac_ext <<_ACEOF
91107 /* end confdefs.h. */
91108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91110 #define $ac_func innocuous_$ac_func
91112 /* System header to define __stub macros and hopefully few prototypes,
91113 which can conflict with char $ac_func (); below.
91114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91115 <limits.h> exists even on freestanding compilers. */
91117 #ifdef __STDC__
91118 # include <limits.h>
91119 #else
91120 # include <assert.h>
91121 #endif
91123 #undef $ac_func
91125 /* Override any gcc2 internal prototype to avoid an error. */
91126 #ifdef __cplusplus
91127 extern "C"
91129 #endif
91130 /* We use char because int might match the return type of a gcc2
91131 builtin and then its argument prototype would still apply. */
91132 char $ac_func ();
91133 /* The GNU C library defines this for functions which it implements
91134 to always fail with ENOSYS. Some functions are actually named
91135 something starting with __ and the normal name is an alias. */
91136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91137 choke me
91138 #else
91139 char (*f) () = $ac_func;
91140 #endif
91141 #ifdef __cplusplus
91143 #endif
91146 main ()
91148 return f != $ac_func;
91150 return 0;
91152 _ACEOF
91153 rm -f conftest.$ac_objext conftest$ac_exeext
91154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91155 (eval $ac_link) 2>conftest.er1
91156 ac_status=$?
91157 grep -v '^ *+' conftest.er1 >conftest.err
91158 rm -f conftest.er1
91159 cat conftest.err >&5
91160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91161 (exit $ac_status); } &&
91162 { ac_try='test -z "$ac_c_werror_flag"
91163 || test ! -s conftest.err'
91164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91165 (eval $ac_try) 2>&5
91166 ac_status=$?
91167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91168 (exit $ac_status); }; } &&
91169 { ac_try='test -s conftest$ac_exeext'
91170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91171 (eval $ac_try) 2>&5
91172 ac_status=$?
91173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91174 (exit $ac_status); }; }; then
91175 eval "$as_ac_var=yes"
91176 else
91177 echo "$as_me: failed program was:" >&5
91178 sed 's/^/| /' conftest.$ac_ext >&5
91180 eval "$as_ac_var=no"
91182 rm -f conftest.err conftest.$ac_objext \
91183 conftest$ac_exeext conftest.$ac_ext
91185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91187 if test `eval echo '${'$as_ac_var'}'` = yes; then
91188 cat >>confdefs.h <<_ACEOF
91189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91190 _ACEOF
91193 done
91203 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
91204 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
91205 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
91206 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
91207 echo $ECHO_N "(cached) $ECHO_C" >&6
91208 else
91212 ac_ext=cc
91213 ac_cpp='$CXXCPP $CPPFLAGS'
91214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91218 cat >conftest.$ac_ext <<_ACEOF
91219 /* confdefs.h. */
91220 _ACEOF
91221 cat confdefs.h >>conftest.$ac_ext
91222 cat >>conftest.$ac_ext <<_ACEOF
91223 /* end confdefs.h. */
91224 #include <math.h>
91226 main ()
91228 sincosf(0, 0, 0);
91230 return 0;
91232 _ACEOF
91233 rm -f conftest.$ac_objext
91234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91235 (eval $ac_compile) 2>conftest.er1
91236 ac_status=$?
91237 grep -v '^ *+' conftest.er1 >conftest.err
91238 rm -f conftest.er1
91239 cat conftest.err >&5
91240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91241 (exit $ac_status); } &&
91242 { ac_try='test -z "$ac_cxx_werror_flag"
91243 || test ! -s conftest.err'
91244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91245 (eval $ac_try) 2>&5
91246 ac_status=$?
91247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91248 (exit $ac_status); }; } &&
91249 { ac_try='test -s conftest.$ac_objext'
91250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91251 (eval $ac_try) 2>&5
91252 ac_status=$?
91253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91254 (exit $ac_status); }; }; then
91255 glibcxx_cv_func_sincosf_use=yes
91256 else
91257 echo "$as_me: failed program was:" >&5
91258 sed 's/^/| /' conftest.$ac_ext >&5
91260 glibcxx_cv_func_sincosf_use=no
91262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91263 ac_ext=c
91264 ac_cpp='$CPP $CPPFLAGS'
91265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91273 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
91274 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
91276 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
91278 for ac_func in sincosf
91280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91281 echo "$as_me:$LINENO: checking for $ac_func" >&5
91282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91283 if eval "test \"\${$as_ac_var+set}\" = set"; then
91284 echo $ECHO_N "(cached) $ECHO_C" >&6
91285 else
91286 if test x$gcc_no_link = xyes; then
91287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91289 { (exit 1); exit 1; }; }
91291 cat >conftest.$ac_ext <<_ACEOF
91292 /* confdefs.h. */
91293 _ACEOF
91294 cat confdefs.h >>conftest.$ac_ext
91295 cat >>conftest.$ac_ext <<_ACEOF
91296 /* end confdefs.h. */
91297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91299 #define $ac_func innocuous_$ac_func
91301 /* System header to define __stub macros and hopefully few prototypes,
91302 which can conflict with char $ac_func (); below.
91303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91304 <limits.h> exists even on freestanding compilers. */
91306 #ifdef __STDC__
91307 # include <limits.h>
91308 #else
91309 # include <assert.h>
91310 #endif
91312 #undef $ac_func
91314 /* Override any gcc2 internal prototype to avoid an error. */
91315 #ifdef __cplusplus
91316 extern "C"
91318 #endif
91319 /* We use char because int might match the return type of a gcc2
91320 builtin and then its argument prototype would still apply. */
91321 char $ac_func ();
91322 /* The GNU C library defines this for functions which it implements
91323 to always fail with ENOSYS. Some functions are actually named
91324 something starting with __ and the normal name is an alias. */
91325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91326 choke me
91327 #else
91328 char (*f) () = $ac_func;
91329 #endif
91330 #ifdef __cplusplus
91332 #endif
91335 main ()
91337 return f != $ac_func;
91339 return 0;
91341 _ACEOF
91342 rm -f conftest.$ac_objext conftest$ac_exeext
91343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91344 (eval $ac_link) 2>conftest.er1
91345 ac_status=$?
91346 grep -v '^ *+' conftest.er1 >conftest.err
91347 rm -f conftest.er1
91348 cat conftest.err >&5
91349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91350 (exit $ac_status); } &&
91351 { ac_try='test -z "$ac_c_werror_flag"
91352 || test ! -s conftest.err'
91353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91354 (eval $ac_try) 2>&5
91355 ac_status=$?
91356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91357 (exit $ac_status); }; } &&
91358 { ac_try='test -s conftest$ac_exeext'
91359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91360 (eval $ac_try) 2>&5
91361 ac_status=$?
91362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91363 (exit $ac_status); }; }; then
91364 eval "$as_ac_var=yes"
91365 else
91366 echo "$as_me: failed program was:" >&5
91367 sed 's/^/| /' conftest.$ac_ext >&5
91369 eval "$as_ac_var=no"
91371 rm -f conftest.err conftest.$ac_objext \
91372 conftest$ac_exeext conftest.$ac_ext
91374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91376 if test `eval echo '${'$as_ac_var'}'` = yes; then
91377 cat >>confdefs.h <<_ACEOF
91378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91379 _ACEOF
91382 done
91384 else
91386 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
91387 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
91388 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
91389 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
91390 echo $ECHO_N "(cached) $ECHO_C" >&6
91391 else
91395 ac_ext=cc
91396 ac_cpp='$CXXCPP $CPPFLAGS'
91397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91401 cat >conftest.$ac_ext <<_ACEOF
91402 /* confdefs.h. */
91403 _ACEOF
91404 cat confdefs.h >>conftest.$ac_ext
91405 cat >>conftest.$ac_ext <<_ACEOF
91406 /* end confdefs.h. */
91407 #include <math.h>
91409 main ()
91411 _sincosf(0, 0, 0);
91413 return 0;
91415 _ACEOF
91416 rm -f conftest.$ac_objext
91417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91418 (eval $ac_compile) 2>conftest.er1
91419 ac_status=$?
91420 grep -v '^ *+' conftest.er1 >conftest.err
91421 rm -f conftest.er1
91422 cat conftest.err >&5
91423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91424 (exit $ac_status); } &&
91425 { ac_try='test -z "$ac_cxx_werror_flag"
91426 || test ! -s conftest.err'
91427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91428 (eval $ac_try) 2>&5
91429 ac_status=$?
91430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91431 (exit $ac_status); }; } &&
91432 { ac_try='test -s conftest.$ac_objext'
91433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91434 (eval $ac_try) 2>&5
91435 ac_status=$?
91436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91437 (exit $ac_status); }; }; then
91438 glibcxx_cv_func__sincosf_use=yes
91439 else
91440 echo "$as_me: failed program was:" >&5
91441 sed 's/^/| /' conftest.$ac_ext >&5
91443 glibcxx_cv_func__sincosf_use=no
91445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91446 ac_ext=c
91447 ac_cpp='$CPP $CPPFLAGS'
91448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91456 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
91457 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
91459 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
91461 for ac_func in _sincosf
91463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91464 echo "$as_me:$LINENO: checking for $ac_func" >&5
91465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91466 if eval "test \"\${$as_ac_var+set}\" = set"; then
91467 echo $ECHO_N "(cached) $ECHO_C" >&6
91468 else
91469 if test x$gcc_no_link = xyes; then
91470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91472 { (exit 1); exit 1; }; }
91474 cat >conftest.$ac_ext <<_ACEOF
91475 /* confdefs.h. */
91476 _ACEOF
91477 cat confdefs.h >>conftest.$ac_ext
91478 cat >>conftest.$ac_ext <<_ACEOF
91479 /* end confdefs.h. */
91480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91482 #define $ac_func innocuous_$ac_func
91484 /* System header to define __stub macros and hopefully few prototypes,
91485 which can conflict with char $ac_func (); below.
91486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91487 <limits.h> exists even on freestanding compilers. */
91489 #ifdef __STDC__
91490 # include <limits.h>
91491 #else
91492 # include <assert.h>
91493 #endif
91495 #undef $ac_func
91497 /* Override any gcc2 internal prototype to avoid an error. */
91498 #ifdef __cplusplus
91499 extern "C"
91501 #endif
91502 /* We use char because int might match the return type of a gcc2
91503 builtin and then its argument prototype would still apply. */
91504 char $ac_func ();
91505 /* The GNU C library defines this for functions which it implements
91506 to always fail with ENOSYS. Some functions are actually named
91507 something starting with __ and the normal name is an alias. */
91508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91509 choke me
91510 #else
91511 char (*f) () = $ac_func;
91512 #endif
91513 #ifdef __cplusplus
91515 #endif
91518 main ()
91520 return f != $ac_func;
91522 return 0;
91524 _ACEOF
91525 rm -f conftest.$ac_objext conftest$ac_exeext
91526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91527 (eval $ac_link) 2>conftest.er1
91528 ac_status=$?
91529 grep -v '^ *+' conftest.er1 >conftest.err
91530 rm -f conftest.er1
91531 cat conftest.err >&5
91532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91533 (exit $ac_status); } &&
91534 { ac_try='test -z "$ac_c_werror_flag"
91535 || test ! -s conftest.err'
91536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91537 (eval $ac_try) 2>&5
91538 ac_status=$?
91539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91540 (exit $ac_status); }; } &&
91541 { ac_try='test -s conftest$ac_exeext'
91542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91543 (eval $ac_try) 2>&5
91544 ac_status=$?
91545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91546 (exit $ac_status); }; }; then
91547 eval "$as_ac_var=yes"
91548 else
91549 echo "$as_me: failed program was:" >&5
91550 sed 's/^/| /' conftest.$ac_ext >&5
91552 eval "$as_ac_var=no"
91554 rm -f conftest.err conftest.$ac_objext \
91555 conftest$ac_exeext conftest.$ac_ext
91557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91559 if test `eval echo '${'$as_ac_var'}'` = yes; then
91560 cat >>confdefs.h <<_ACEOF
91561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91562 _ACEOF
91565 done
91575 echo "$as_me:$LINENO: checking for finitef declaration" >&5
91576 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
91577 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
91578 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
91579 echo $ECHO_N "(cached) $ECHO_C" >&6
91580 else
91584 ac_ext=cc
91585 ac_cpp='$CXXCPP $CPPFLAGS'
91586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91590 cat >conftest.$ac_ext <<_ACEOF
91591 /* confdefs.h. */
91592 _ACEOF
91593 cat confdefs.h >>conftest.$ac_ext
91594 cat >>conftest.$ac_ext <<_ACEOF
91595 /* end confdefs.h. */
91596 #include <math.h>
91597 #ifdef HAVE_IEEEFP_H
91598 #include <ieeefp.h>
91599 #endif
91602 main ()
91604 finitef(0);
91606 return 0;
91608 _ACEOF
91609 rm -f conftest.$ac_objext
91610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91611 (eval $ac_compile) 2>conftest.er1
91612 ac_status=$?
91613 grep -v '^ *+' conftest.er1 >conftest.err
91614 rm -f conftest.er1
91615 cat conftest.err >&5
91616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91617 (exit $ac_status); } &&
91618 { ac_try='test -z "$ac_cxx_werror_flag"
91619 || test ! -s conftest.err'
91620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91621 (eval $ac_try) 2>&5
91622 ac_status=$?
91623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91624 (exit $ac_status); }; } &&
91625 { ac_try='test -s conftest.$ac_objext'
91626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91627 (eval $ac_try) 2>&5
91628 ac_status=$?
91629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91630 (exit $ac_status); }; }; then
91631 glibcxx_cv_func_finitef_use=yes
91632 else
91633 echo "$as_me: failed program was:" >&5
91634 sed 's/^/| /' conftest.$ac_ext >&5
91636 glibcxx_cv_func_finitef_use=no
91638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91639 ac_ext=c
91640 ac_cpp='$CPP $CPPFLAGS'
91641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91649 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
91650 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
91652 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
91654 for ac_func in finitef
91656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91657 echo "$as_me:$LINENO: checking for $ac_func" >&5
91658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91659 if eval "test \"\${$as_ac_var+set}\" = set"; then
91660 echo $ECHO_N "(cached) $ECHO_C" >&6
91661 else
91662 if test x$gcc_no_link = xyes; then
91663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91665 { (exit 1); exit 1; }; }
91667 cat >conftest.$ac_ext <<_ACEOF
91668 /* confdefs.h. */
91669 _ACEOF
91670 cat confdefs.h >>conftest.$ac_ext
91671 cat >>conftest.$ac_ext <<_ACEOF
91672 /* end confdefs.h. */
91673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91675 #define $ac_func innocuous_$ac_func
91677 /* System header to define __stub macros and hopefully few prototypes,
91678 which can conflict with char $ac_func (); below.
91679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91680 <limits.h> exists even on freestanding compilers. */
91682 #ifdef __STDC__
91683 # include <limits.h>
91684 #else
91685 # include <assert.h>
91686 #endif
91688 #undef $ac_func
91690 /* Override any gcc2 internal prototype to avoid an error. */
91691 #ifdef __cplusplus
91692 extern "C"
91694 #endif
91695 /* We use char because int might match the return type of a gcc2
91696 builtin and then its argument prototype would still apply. */
91697 char $ac_func ();
91698 /* The GNU C library defines this for functions which it implements
91699 to always fail with ENOSYS. Some functions are actually named
91700 something starting with __ and the normal name is an alias. */
91701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91702 choke me
91703 #else
91704 char (*f) () = $ac_func;
91705 #endif
91706 #ifdef __cplusplus
91708 #endif
91711 main ()
91713 return f != $ac_func;
91715 return 0;
91717 _ACEOF
91718 rm -f conftest.$ac_objext conftest$ac_exeext
91719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91720 (eval $ac_link) 2>conftest.er1
91721 ac_status=$?
91722 grep -v '^ *+' conftest.er1 >conftest.err
91723 rm -f conftest.er1
91724 cat conftest.err >&5
91725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91726 (exit $ac_status); } &&
91727 { ac_try='test -z "$ac_c_werror_flag"
91728 || test ! -s conftest.err'
91729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91730 (eval $ac_try) 2>&5
91731 ac_status=$?
91732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91733 (exit $ac_status); }; } &&
91734 { ac_try='test -s conftest$ac_exeext'
91735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91736 (eval $ac_try) 2>&5
91737 ac_status=$?
91738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91739 (exit $ac_status); }; }; then
91740 eval "$as_ac_var=yes"
91741 else
91742 echo "$as_me: failed program was:" >&5
91743 sed 's/^/| /' conftest.$ac_ext >&5
91745 eval "$as_ac_var=no"
91747 rm -f conftest.err conftest.$ac_objext \
91748 conftest$ac_exeext conftest.$ac_ext
91750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91752 if test `eval echo '${'$as_ac_var'}'` = yes; then
91753 cat >>confdefs.h <<_ACEOF
91754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91755 _ACEOF
91758 done
91760 else
91762 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
91763 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
91764 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
91765 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
91766 echo $ECHO_N "(cached) $ECHO_C" >&6
91767 else
91771 ac_ext=cc
91772 ac_cpp='$CXXCPP $CPPFLAGS'
91773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91777 cat >conftest.$ac_ext <<_ACEOF
91778 /* confdefs.h. */
91779 _ACEOF
91780 cat confdefs.h >>conftest.$ac_ext
91781 cat >>conftest.$ac_ext <<_ACEOF
91782 /* end confdefs.h. */
91783 #include <math.h>
91784 #ifdef HAVE_IEEEFP_H
91785 #include <ieeefp.h>
91786 #endif
91789 main ()
91791 _finitef(0);
91793 return 0;
91795 _ACEOF
91796 rm -f conftest.$ac_objext
91797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91798 (eval $ac_compile) 2>conftest.er1
91799 ac_status=$?
91800 grep -v '^ *+' conftest.er1 >conftest.err
91801 rm -f conftest.er1
91802 cat conftest.err >&5
91803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91804 (exit $ac_status); } &&
91805 { ac_try='test -z "$ac_cxx_werror_flag"
91806 || test ! -s conftest.err'
91807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91808 (eval $ac_try) 2>&5
91809 ac_status=$?
91810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91811 (exit $ac_status); }; } &&
91812 { ac_try='test -s conftest.$ac_objext'
91813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91814 (eval $ac_try) 2>&5
91815 ac_status=$?
91816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91817 (exit $ac_status); }; }; then
91818 glibcxx_cv_func__finitef_use=yes
91819 else
91820 echo "$as_me: failed program was:" >&5
91821 sed 's/^/| /' conftest.$ac_ext >&5
91823 glibcxx_cv_func__finitef_use=no
91825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91826 ac_ext=c
91827 ac_cpp='$CPP $CPPFLAGS'
91828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91836 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
91837 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
91839 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
91841 for ac_func in _finitef
91843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91844 echo "$as_me:$LINENO: checking for $ac_func" >&5
91845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91846 if eval "test \"\${$as_ac_var+set}\" = set"; then
91847 echo $ECHO_N "(cached) $ECHO_C" >&6
91848 else
91849 if test x$gcc_no_link = xyes; then
91850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91852 { (exit 1); exit 1; }; }
91854 cat >conftest.$ac_ext <<_ACEOF
91855 /* confdefs.h. */
91856 _ACEOF
91857 cat confdefs.h >>conftest.$ac_ext
91858 cat >>conftest.$ac_ext <<_ACEOF
91859 /* end confdefs.h. */
91860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91862 #define $ac_func innocuous_$ac_func
91864 /* System header to define __stub macros and hopefully few prototypes,
91865 which can conflict with char $ac_func (); below.
91866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91867 <limits.h> exists even on freestanding compilers. */
91869 #ifdef __STDC__
91870 # include <limits.h>
91871 #else
91872 # include <assert.h>
91873 #endif
91875 #undef $ac_func
91877 /* Override any gcc2 internal prototype to avoid an error. */
91878 #ifdef __cplusplus
91879 extern "C"
91881 #endif
91882 /* We use char because int might match the return type of a gcc2
91883 builtin and then its argument prototype would still apply. */
91884 char $ac_func ();
91885 /* The GNU C library defines this for functions which it implements
91886 to always fail with ENOSYS. Some functions are actually named
91887 something starting with __ and the normal name is an alias. */
91888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91889 choke me
91890 #else
91891 char (*f) () = $ac_func;
91892 #endif
91893 #ifdef __cplusplus
91895 #endif
91898 main ()
91900 return f != $ac_func;
91902 return 0;
91904 _ACEOF
91905 rm -f conftest.$ac_objext conftest$ac_exeext
91906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91907 (eval $ac_link) 2>conftest.er1
91908 ac_status=$?
91909 grep -v '^ *+' conftest.er1 >conftest.err
91910 rm -f conftest.er1
91911 cat conftest.err >&5
91912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91913 (exit $ac_status); } &&
91914 { ac_try='test -z "$ac_c_werror_flag"
91915 || test ! -s conftest.err'
91916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91917 (eval $ac_try) 2>&5
91918 ac_status=$?
91919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91920 (exit $ac_status); }; } &&
91921 { ac_try='test -s conftest$ac_exeext'
91922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91923 (eval $ac_try) 2>&5
91924 ac_status=$?
91925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91926 (exit $ac_status); }; }; then
91927 eval "$as_ac_var=yes"
91928 else
91929 echo "$as_me: failed program was:" >&5
91930 sed 's/^/| /' conftest.$ac_ext >&5
91932 eval "$as_ac_var=no"
91934 rm -f conftest.err conftest.$ac_objext \
91935 conftest$ac_exeext conftest.$ac_ext
91937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91939 if test `eval echo '${'$as_ac_var'}'` = yes; then
91940 cat >>confdefs.h <<_ACEOF
91941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91942 _ACEOF
91945 done
91955 echo "$as_me:$LINENO: checking for long double trig functions" >&5
91956 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
91957 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
91958 echo $ECHO_N "(cached) $ECHO_C" >&6
91959 else
91963 ac_ext=cc
91964 ac_cpp='$CXXCPP $CPPFLAGS'
91965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91969 cat >conftest.$ac_ext <<_ACEOF
91970 /* confdefs.h. */
91971 _ACEOF
91972 cat confdefs.h >>conftest.$ac_ext
91973 cat >>conftest.$ac_ext <<_ACEOF
91974 /* end confdefs.h. */
91975 #include <math.h>
91977 main ()
91979 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
91981 return 0;
91983 _ACEOF
91984 rm -f conftest.$ac_objext
91985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91986 (eval $ac_compile) 2>conftest.er1
91987 ac_status=$?
91988 grep -v '^ *+' conftest.er1 >conftest.err
91989 rm -f conftest.er1
91990 cat conftest.err >&5
91991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91992 (exit $ac_status); } &&
91993 { ac_try='test -z "$ac_cxx_werror_flag"
91994 || test ! -s conftest.err'
91995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91996 (eval $ac_try) 2>&5
91997 ac_status=$?
91998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91999 (exit $ac_status); }; } &&
92000 { ac_try='test -s conftest.$ac_objext'
92001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92002 (eval $ac_try) 2>&5
92003 ac_status=$?
92004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92005 (exit $ac_status); }; }; then
92006 glibcxx_cv_func_long_double_trig_use=yes
92007 else
92008 echo "$as_me: failed program was:" >&5
92009 sed 's/^/| /' conftest.$ac_ext >&5
92011 glibcxx_cv_func_long_double_trig_use=no
92013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92014 ac_ext=c
92015 ac_cpp='$CPP $CPPFLAGS'
92016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92022 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
92023 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
92024 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
92034 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
92036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92037 echo "$as_me:$LINENO: checking for $ac_func" >&5
92038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92039 if eval "test \"\${$as_ac_var+set}\" = set"; then
92040 echo $ECHO_N "(cached) $ECHO_C" >&6
92041 else
92042 if test x$gcc_no_link = xyes; then
92043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92045 { (exit 1); exit 1; }; }
92047 cat >conftest.$ac_ext <<_ACEOF
92048 /* confdefs.h. */
92049 _ACEOF
92050 cat confdefs.h >>conftest.$ac_ext
92051 cat >>conftest.$ac_ext <<_ACEOF
92052 /* end confdefs.h. */
92053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92055 #define $ac_func innocuous_$ac_func
92057 /* System header to define __stub macros and hopefully few prototypes,
92058 which can conflict with char $ac_func (); below.
92059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92060 <limits.h> exists even on freestanding compilers. */
92062 #ifdef __STDC__
92063 # include <limits.h>
92064 #else
92065 # include <assert.h>
92066 #endif
92068 #undef $ac_func
92070 /* Override any gcc2 internal prototype to avoid an error. */
92071 #ifdef __cplusplus
92072 extern "C"
92074 #endif
92075 /* We use char because int might match the return type of a gcc2
92076 builtin and then its argument prototype would still apply. */
92077 char $ac_func ();
92078 /* The GNU C library defines this for functions which it implements
92079 to always fail with ENOSYS. Some functions are actually named
92080 something starting with __ and the normal name is an alias. */
92081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92082 choke me
92083 #else
92084 char (*f) () = $ac_func;
92085 #endif
92086 #ifdef __cplusplus
92088 #endif
92091 main ()
92093 return f != $ac_func;
92095 return 0;
92097 _ACEOF
92098 rm -f conftest.$ac_objext conftest$ac_exeext
92099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92100 (eval $ac_link) 2>conftest.er1
92101 ac_status=$?
92102 grep -v '^ *+' conftest.er1 >conftest.err
92103 rm -f conftest.er1
92104 cat conftest.err >&5
92105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92106 (exit $ac_status); } &&
92107 { ac_try='test -z "$ac_c_werror_flag"
92108 || test ! -s conftest.err'
92109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92110 (eval $ac_try) 2>&5
92111 ac_status=$?
92112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92113 (exit $ac_status); }; } &&
92114 { ac_try='test -s conftest$ac_exeext'
92115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92116 (eval $ac_try) 2>&5
92117 ac_status=$?
92118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92119 (exit $ac_status); }; }; then
92120 eval "$as_ac_var=yes"
92121 else
92122 echo "$as_me: failed program was:" >&5
92123 sed 's/^/| /' conftest.$ac_ext >&5
92125 eval "$as_ac_var=no"
92127 rm -f conftest.err conftest.$ac_objext \
92128 conftest$ac_exeext conftest.$ac_ext
92130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92132 if test `eval echo '${'$as_ac_var'}'` = yes; then
92133 cat >>confdefs.h <<_ACEOF
92134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92135 _ACEOF
92138 done
92140 else
92141 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
92142 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
92143 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
92144 echo $ECHO_N "(cached) $ECHO_C" >&6
92145 else
92149 ac_ext=cc
92150 ac_cpp='$CXXCPP $CPPFLAGS'
92151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92155 cat >conftest.$ac_ext <<_ACEOF
92156 /* confdefs.h. */
92157 _ACEOF
92158 cat confdefs.h >>conftest.$ac_ext
92159 cat >>conftest.$ac_ext <<_ACEOF
92160 /* end confdefs.h. */
92161 #include <math.h>
92163 main ()
92165 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
92167 return 0;
92169 _ACEOF
92170 rm -f conftest.$ac_objext
92171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92172 (eval $ac_compile) 2>conftest.er1
92173 ac_status=$?
92174 grep -v '^ *+' conftest.er1 >conftest.err
92175 rm -f conftest.er1
92176 cat conftest.err >&5
92177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92178 (exit $ac_status); } &&
92179 { ac_try='test -z "$ac_cxx_werror_flag"
92180 || test ! -s conftest.err'
92181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92182 (eval $ac_try) 2>&5
92183 ac_status=$?
92184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92185 (exit $ac_status); }; } &&
92186 { ac_try='test -s conftest.$ac_objext'
92187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92188 (eval $ac_try) 2>&5
92189 ac_status=$?
92190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92191 (exit $ac_status); }; }; then
92192 glibcxx_cv_func__long_double_trig_use=yes
92193 else
92194 echo "$as_me: failed program was:" >&5
92195 sed 's/^/| /' conftest.$ac_ext >&5
92197 glibcxx_cv_func__long_double_trig_use=no
92199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92200 ac_ext=c
92201 ac_cpp='$CPP $CPPFLAGS'
92202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92208 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
92209 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
92210 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
92220 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
92222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92223 echo "$as_me:$LINENO: checking for $ac_func" >&5
92224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92225 if eval "test \"\${$as_ac_var+set}\" = set"; then
92226 echo $ECHO_N "(cached) $ECHO_C" >&6
92227 else
92228 if test x$gcc_no_link = xyes; then
92229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92231 { (exit 1); exit 1; }; }
92233 cat >conftest.$ac_ext <<_ACEOF
92234 /* confdefs.h. */
92235 _ACEOF
92236 cat confdefs.h >>conftest.$ac_ext
92237 cat >>conftest.$ac_ext <<_ACEOF
92238 /* end confdefs.h. */
92239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92241 #define $ac_func innocuous_$ac_func
92243 /* System header to define __stub macros and hopefully few prototypes,
92244 which can conflict with char $ac_func (); below.
92245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92246 <limits.h> exists even on freestanding compilers. */
92248 #ifdef __STDC__
92249 # include <limits.h>
92250 #else
92251 # include <assert.h>
92252 #endif
92254 #undef $ac_func
92256 /* Override any gcc2 internal prototype to avoid an error. */
92257 #ifdef __cplusplus
92258 extern "C"
92260 #endif
92261 /* We use char because int might match the return type of a gcc2
92262 builtin and then its argument prototype would still apply. */
92263 char $ac_func ();
92264 /* The GNU C library defines this for functions which it implements
92265 to always fail with ENOSYS. Some functions are actually named
92266 something starting with __ and the normal name is an alias. */
92267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92268 choke me
92269 #else
92270 char (*f) () = $ac_func;
92271 #endif
92272 #ifdef __cplusplus
92274 #endif
92277 main ()
92279 return f != $ac_func;
92281 return 0;
92283 _ACEOF
92284 rm -f conftest.$ac_objext conftest$ac_exeext
92285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92286 (eval $ac_link) 2>conftest.er1
92287 ac_status=$?
92288 grep -v '^ *+' conftest.er1 >conftest.err
92289 rm -f conftest.er1
92290 cat conftest.err >&5
92291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92292 (exit $ac_status); } &&
92293 { ac_try='test -z "$ac_c_werror_flag"
92294 || test ! -s conftest.err'
92295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92296 (eval $ac_try) 2>&5
92297 ac_status=$?
92298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92299 (exit $ac_status); }; } &&
92300 { ac_try='test -s conftest$ac_exeext'
92301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92302 (eval $ac_try) 2>&5
92303 ac_status=$?
92304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92305 (exit $ac_status); }; }; then
92306 eval "$as_ac_var=yes"
92307 else
92308 echo "$as_me: failed program was:" >&5
92309 sed 's/^/| /' conftest.$ac_ext >&5
92311 eval "$as_ac_var=no"
92313 rm -f conftest.err conftest.$ac_objext \
92314 conftest$ac_exeext conftest.$ac_ext
92316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92318 if test `eval echo '${'$as_ac_var'}'` = yes; then
92319 cat >>confdefs.h <<_ACEOF
92320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92321 _ACEOF
92324 done
92342 echo "$as_me:$LINENO: checking for long double round functions" >&5
92343 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
92344 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
92345 echo $ECHO_N "(cached) $ECHO_C" >&6
92346 else
92350 ac_ext=cc
92351 ac_cpp='$CXXCPP $CPPFLAGS'
92352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92356 cat >conftest.$ac_ext <<_ACEOF
92357 /* confdefs.h. */
92358 _ACEOF
92359 cat confdefs.h >>conftest.$ac_ext
92360 cat >>conftest.$ac_ext <<_ACEOF
92361 /* end confdefs.h. */
92362 #include <math.h>
92364 main ()
92366 ceill (0); floorl (0);
92368 return 0;
92370 _ACEOF
92371 rm -f conftest.$ac_objext
92372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92373 (eval $ac_compile) 2>conftest.er1
92374 ac_status=$?
92375 grep -v '^ *+' conftest.er1 >conftest.err
92376 rm -f conftest.er1
92377 cat conftest.err >&5
92378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92379 (exit $ac_status); } &&
92380 { ac_try='test -z "$ac_cxx_werror_flag"
92381 || test ! -s conftest.err'
92382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92383 (eval $ac_try) 2>&5
92384 ac_status=$?
92385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92386 (exit $ac_status); }; } &&
92387 { ac_try='test -s conftest.$ac_objext'
92388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92389 (eval $ac_try) 2>&5
92390 ac_status=$?
92391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92392 (exit $ac_status); }; }; then
92393 glibcxx_cv_func_long_double_round_use=yes
92394 else
92395 echo "$as_me: failed program was:" >&5
92396 sed 's/^/| /' conftest.$ac_ext >&5
92398 glibcxx_cv_func_long_double_round_use=no
92400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92401 ac_ext=c
92402 ac_cpp='$CPP $CPPFLAGS'
92403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92409 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
92410 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
92411 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
92414 for ac_func in ceill floorl
92416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92417 echo "$as_me:$LINENO: checking for $ac_func" >&5
92418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92419 if eval "test \"\${$as_ac_var+set}\" = set"; then
92420 echo $ECHO_N "(cached) $ECHO_C" >&6
92421 else
92422 if test x$gcc_no_link = xyes; then
92423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92425 { (exit 1); exit 1; }; }
92427 cat >conftest.$ac_ext <<_ACEOF
92428 /* confdefs.h. */
92429 _ACEOF
92430 cat confdefs.h >>conftest.$ac_ext
92431 cat >>conftest.$ac_ext <<_ACEOF
92432 /* end confdefs.h. */
92433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92435 #define $ac_func innocuous_$ac_func
92437 /* System header to define __stub macros and hopefully few prototypes,
92438 which can conflict with char $ac_func (); below.
92439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92440 <limits.h> exists even on freestanding compilers. */
92442 #ifdef __STDC__
92443 # include <limits.h>
92444 #else
92445 # include <assert.h>
92446 #endif
92448 #undef $ac_func
92450 /* Override any gcc2 internal prototype to avoid an error. */
92451 #ifdef __cplusplus
92452 extern "C"
92454 #endif
92455 /* We use char because int might match the return type of a gcc2
92456 builtin and then its argument prototype would still apply. */
92457 char $ac_func ();
92458 /* The GNU C library defines this for functions which it implements
92459 to always fail with ENOSYS. Some functions are actually named
92460 something starting with __ and the normal name is an alias. */
92461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92462 choke me
92463 #else
92464 char (*f) () = $ac_func;
92465 #endif
92466 #ifdef __cplusplus
92468 #endif
92471 main ()
92473 return f != $ac_func;
92475 return 0;
92477 _ACEOF
92478 rm -f conftest.$ac_objext conftest$ac_exeext
92479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92480 (eval $ac_link) 2>conftest.er1
92481 ac_status=$?
92482 grep -v '^ *+' conftest.er1 >conftest.err
92483 rm -f conftest.er1
92484 cat conftest.err >&5
92485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92486 (exit $ac_status); } &&
92487 { ac_try='test -z "$ac_c_werror_flag"
92488 || test ! -s conftest.err'
92489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92490 (eval $ac_try) 2>&5
92491 ac_status=$?
92492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92493 (exit $ac_status); }; } &&
92494 { ac_try='test -s conftest$ac_exeext'
92495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92496 (eval $ac_try) 2>&5
92497 ac_status=$?
92498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92499 (exit $ac_status); }; }; then
92500 eval "$as_ac_var=yes"
92501 else
92502 echo "$as_me: failed program was:" >&5
92503 sed 's/^/| /' conftest.$ac_ext >&5
92505 eval "$as_ac_var=no"
92507 rm -f conftest.err conftest.$ac_objext \
92508 conftest$ac_exeext conftest.$ac_ext
92510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92512 if test `eval echo '${'$as_ac_var'}'` = yes; then
92513 cat >>confdefs.h <<_ACEOF
92514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92515 _ACEOF
92518 done
92520 else
92521 echo "$as_me:$LINENO: checking for _long double round functions" >&5
92522 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
92523 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
92524 echo $ECHO_N "(cached) $ECHO_C" >&6
92525 else
92529 ac_ext=cc
92530 ac_cpp='$CXXCPP $CPPFLAGS'
92531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92535 cat >conftest.$ac_ext <<_ACEOF
92536 /* confdefs.h. */
92537 _ACEOF
92538 cat confdefs.h >>conftest.$ac_ext
92539 cat >>conftest.$ac_ext <<_ACEOF
92540 /* end confdefs.h. */
92541 #include <math.h>
92543 main ()
92545 _ceill (0); _floorl (0);
92547 return 0;
92549 _ACEOF
92550 rm -f conftest.$ac_objext
92551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92552 (eval $ac_compile) 2>conftest.er1
92553 ac_status=$?
92554 grep -v '^ *+' conftest.er1 >conftest.err
92555 rm -f conftest.er1
92556 cat conftest.err >&5
92557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92558 (exit $ac_status); } &&
92559 { ac_try='test -z "$ac_cxx_werror_flag"
92560 || test ! -s conftest.err'
92561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92562 (eval $ac_try) 2>&5
92563 ac_status=$?
92564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92565 (exit $ac_status); }; } &&
92566 { ac_try='test -s conftest.$ac_objext'
92567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92568 (eval $ac_try) 2>&5
92569 ac_status=$?
92570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92571 (exit $ac_status); }; }; then
92572 glibcxx_cv_func__long_double_round_use=yes
92573 else
92574 echo "$as_me: failed program was:" >&5
92575 sed 's/^/| /' conftest.$ac_ext >&5
92577 glibcxx_cv_func__long_double_round_use=no
92579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92580 ac_ext=c
92581 ac_cpp='$CPP $CPPFLAGS'
92582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
92589 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
92590 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
92593 for ac_func in _ceill _floorl
92595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92596 echo "$as_me:$LINENO: checking for $ac_func" >&5
92597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92598 if eval "test \"\${$as_ac_var+set}\" = set"; then
92599 echo $ECHO_N "(cached) $ECHO_C" >&6
92600 else
92601 if test x$gcc_no_link = xyes; then
92602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92604 { (exit 1); exit 1; }; }
92606 cat >conftest.$ac_ext <<_ACEOF
92607 /* confdefs.h. */
92608 _ACEOF
92609 cat confdefs.h >>conftest.$ac_ext
92610 cat >>conftest.$ac_ext <<_ACEOF
92611 /* end confdefs.h. */
92612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92614 #define $ac_func innocuous_$ac_func
92616 /* System header to define __stub macros and hopefully few prototypes,
92617 which can conflict with char $ac_func (); below.
92618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92619 <limits.h> exists even on freestanding compilers. */
92621 #ifdef __STDC__
92622 # include <limits.h>
92623 #else
92624 # include <assert.h>
92625 #endif
92627 #undef $ac_func
92629 /* Override any gcc2 internal prototype to avoid an error. */
92630 #ifdef __cplusplus
92631 extern "C"
92633 #endif
92634 /* We use char because int might match the return type of a gcc2
92635 builtin and then its argument prototype would still apply. */
92636 char $ac_func ();
92637 /* The GNU C library defines this for functions which it implements
92638 to always fail with ENOSYS. Some functions are actually named
92639 something starting with __ and the normal name is an alias. */
92640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92641 choke me
92642 #else
92643 char (*f) () = $ac_func;
92644 #endif
92645 #ifdef __cplusplus
92647 #endif
92650 main ()
92652 return f != $ac_func;
92654 return 0;
92656 _ACEOF
92657 rm -f conftest.$ac_objext conftest$ac_exeext
92658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92659 (eval $ac_link) 2>conftest.er1
92660 ac_status=$?
92661 grep -v '^ *+' conftest.er1 >conftest.err
92662 rm -f conftest.er1
92663 cat conftest.err >&5
92664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92665 (exit $ac_status); } &&
92666 { ac_try='test -z "$ac_c_werror_flag"
92667 || test ! -s conftest.err'
92668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92669 (eval $ac_try) 2>&5
92670 ac_status=$?
92671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92672 (exit $ac_status); }; } &&
92673 { ac_try='test -s conftest$ac_exeext'
92674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92675 (eval $ac_try) 2>&5
92676 ac_status=$?
92677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92678 (exit $ac_status); }; }; then
92679 eval "$as_ac_var=yes"
92680 else
92681 echo "$as_me: failed program was:" >&5
92682 sed 's/^/| /' conftest.$ac_ext >&5
92684 eval "$as_ac_var=no"
92686 rm -f conftest.err conftest.$ac_objext \
92687 conftest$ac_exeext conftest.$ac_ext
92689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92691 if test `eval echo '${'$as_ac_var'}'` = yes; then
92692 cat >>confdefs.h <<_ACEOF
92693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92694 _ACEOF
92697 done
92709 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
92710 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
92711 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
92712 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
92713 echo $ECHO_N "(cached) $ECHO_C" >&6
92714 else
92718 ac_ext=cc
92719 ac_cpp='$CXXCPP $CPPFLAGS'
92720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92724 cat >conftest.$ac_ext <<_ACEOF
92725 /* confdefs.h. */
92726 _ACEOF
92727 cat confdefs.h >>conftest.$ac_ext
92728 cat >>conftest.$ac_ext <<_ACEOF
92729 /* end confdefs.h. */
92730 #include <math.h>
92731 #ifdef HAVE_IEEEFP_H
92732 #include <ieeefp.h>
92733 #endif
92736 main ()
92738 isnanl(0);
92740 return 0;
92742 _ACEOF
92743 rm -f conftest.$ac_objext
92744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92745 (eval $ac_compile) 2>conftest.er1
92746 ac_status=$?
92747 grep -v '^ *+' conftest.er1 >conftest.err
92748 rm -f conftest.er1
92749 cat conftest.err >&5
92750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92751 (exit $ac_status); } &&
92752 { ac_try='test -z "$ac_cxx_werror_flag"
92753 || test ! -s conftest.err'
92754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92755 (eval $ac_try) 2>&5
92756 ac_status=$?
92757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92758 (exit $ac_status); }; } &&
92759 { ac_try='test -s conftest.$ac_objext'
92760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92761 (eval $ac_try) 2>&5
92762 ac_status=$?
92763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92764 (exit $ac_status); }; }; then
92765 glibcxx_cv_func_isnanl_use=yes
92766 else
92767 echo "$as_me: failed program was:" >&5
92768 sed 's/^/| /' conftest.$ac_ext >&5
92770 glibcxx_cv_func_isnanl_use=no
92772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92773 ac_ext=c
92774 ac_cpp='$CPP $CPPFLAGS'
92775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92783 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
92784 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
92786 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
92788 for ac_func in isnanl
92790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92791 echo "$as_me:$LINENO: checking for $ac_func" >&5
92792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92793 if eval "test \"\${$as_ac_var+set}\" = set"; then
92794 echo $ECHO_N "(cached) $ECHO_C" >&6
92795 else
92796 if test x$gcc_no_link = xyes; then
92797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92799 { (exit 1); exit 1; }; }
92801 cat >conftest.$ac_ext <<_ACEOF
92802 /* confdefs.h. */
92803 _ACEOF
92804 cat confdefs.h >>conftest.$ac_ext
92805 cat >>conftest.$ac_ext <<_ACEOF
92806 /* end confdefs.h. */
92807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92809 #define $ac_func innocuous_$ac_func
92811 /* System header to define __stub macros and hopefully few prototypes,
92812 which can conflict with char $ac_func (); below.
92813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92814 <limits.h> exists even on freestanding compilers. */
92816 #ifdef __STDC__
92817 # include <limits.h>
92818 #else
92819 # include <assert.h>
92820 #endif
92822 #undef $ac_func
92824 /* Override any gcc2 internal prototype to avoid an error. */
92825 #ifdef __cplusplus
92826 extern "C"
92828 #endif
92829 /* We use char because int might match the return type of a gcc2
92830 builtin and then its argument prototype would still apply. */
92831 char $ac_func ();
92832 /* The GNU C library defines this for functions which it implements
92833 to always fail with ENOSYS. Some functions are actually named
92834 something starting with __ and the normal name is an alias. */
92835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92836 choke me
92837 #else
92838 char (*f) () = $ac_func;
92839 #endif
92840 #ifdef __cplusplus
92842 #endif
92845 main ()
92847 return f != $ac_func;
92849 return 0;
92851 _ACEOF
92852 rm -f conftest.$ac_objext conftest$ac_exeext
92853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92854 (eval $ac_link) 2>conftest.er1
92855 ac_status=$?
92856 grep -v '^ *+' conftest.er1 >conftest.err
92857 rm -f conftest.er1
92858 cat conftest.err >&5
92859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92860 (exit $ac_status); } &&
92861 { ac_try='test -z "$ac_c_werror_flag"
92862 || test ! -s conftest.err'
92863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92864 (eval $ac_try) 2>&5
92865 ac_status=$?
92866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92867 (exit $ac_status); }; } &&
92868 { ac_try='test -s conftest$ac_exeext'
92869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92870 (eval $ac_try) 2>&5
92871 ac_status=$?
92872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92873 (exit $ac_status); }; }; then
92874 eval "$as_ac_var=yes"
92875 else
92876 echo "$as_me: failed program was:" >&5
92877 sed 's/^/| /' conftest.$ac_ext >&5
92879 eval "$as_ac_var=no"
92881 rm -f conftest.err conftest.$ac_objext \
92882 conftest$ac_exeext conftest.$ac_ext
92884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92886 if test `eval echo '${'$as_ac_var'}'` = yes; then
92887 cat >>confdefs.h <<_ACEOF
92888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92889 _ACEOF
92892 done
92894 else
92896 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
92897 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
92898 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
92899 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
92900 echo $ECHO_N "(cached) $ECHO_C" >&6
92901 else
92905 ac_ext=cc
92906 ac_cpp='$CXXCPP $CPPFLAGS'
92907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92911 cat >conftest.$ac_ext <<_ACEOF
92912 /* confdefs.h. */
92913 _ACEOF
92914 cat confdefs.h >>conftest.$ac_ext
92915 cat >>conftest.$ac_ext <<_ACEOF
92916 /* end confdefs.h. */
92917 #include <math.h>
92918 #ifdef HAVE_IEEEFP_H
92919 #include <ieeefp.h>
92920 #endif
92923 main ()
92925 _isnanl(0);
92927 return 0;
92929 _ACEOF
92930 rm -f conftest.$ac_objext
92931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92932 (eval $ac_compile) 2>conftest.er1
92933 ac_status=$?
92934 grep -v '^ *+' conftest.er1 >conftest.err
92935 rm -f conftest.er1
92936 cat conftest.err >&5
92937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92938 (exit $ac_status); } &&
92939 { ac_try='test -z "$ac_cxx_werror_flag"
92940 || test ! -s conftest.err'
92941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92942 (eval $ac_try) 2>&5
92943 ac_status=$?
92944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92945 (exit $ac_status); }; } &&
92946 { ac_try='test -s conftest.$ac_objext'
92947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92948 (eval $ac_try) 2>&5
92949 ac_status=$?
92950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92951 (exit $ac_status); }; }; then
92952 glibcxx_cv_func__isnanl_use=yes
92953 else
92954 echo "$as_me: failed program was:" >&5
92955 sed 's/^/| /' conftest.$ac_ext >&5
92957 glibcxx_cv_func__isnanl_use=no
92959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92960 ac_ext=c
92961 ac_cpp='$CPP $CPPFLAGS'
92962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92970 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
92971 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
92973 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
92975 for ac_func in _isnanl
92977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92978 echo "$as_me:$LINENO: checking for $ac_func" >&5
92979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92980 if eval "test \"\${$as_ac_var+set}\" = set"; then
92981 echo $ECHO_N "(cached) $ECHO_C" >&6
92982 else
92983 if test x$gcc_no_link = xyes; then
92984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92986 { (exit 1); exit 1; }; }
92988 cat >conftest.$ac_ext <<_ACEOF
92989 /* confdefs.h. */
92990 _ACEOF
92991 cat confdefs.h >>conftest.$ac_ext
92992 cat >>conftest.$ac_ext <<_ACEOF
92993 /* end confdefs.h. */
92994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92996 #define $ac_func innocuous_$ac_func
92998 /* System header to define __stub macros and hopefully few prototypes,
92999 which can conflict with char $ac_func (); below.
93000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93001 <limits.h> exists even on freestanding compilers. */
93003 #ifdef __STDC__
93004 # include <limits.h>
93005 #else
93006 # include <assert.h>
93007 #endif
93009 #undef $ac_func
93011 /* Override any gcc2 internal prototype to avoid an error. */
93012 #ifdef __cplusplus
93013 extern "C"
93015 #endif
93016 /* We use char because int might match the return type of a gcc2
93017 builtin and then its argument prototype would still apply. */
93018 char $ac_func ();
93019 /* The GNU C library defines this for functions which it implements
93020 to always fail with ENOSYS. Some functions are actually named
93021 something starting with __ and the normal name is an alias. */
93022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93023 choke me
93024 #else
93025 char (*f) () = $ac_func;
93026 #endif
93027 #ifdef __cplusplus
93029 #endif
93032 main ()
93034 return f != $ac_func;
93036 return 0;
93038 _ACEOF
93039 rm -f conftest.$ac_objext conftest$ac_exeext
93040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93041 (eval $ac_link) 2>conftest.er1
93042 ac_status=$?
93043 grep -v '^ *+' conftest.er1 >conftest.err
93044 rm -f conftest.er1
93045 cat conftest.err >&5
93046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93047 (exit $ac_status); } &&
93048 { ac_try='test -z "$ac_c_werror_flag"
93049 || test ! -s conftest.err'
93050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93051 (eval $ac_try) 2>&5
93052 ac_status=$?
93053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93054 (exit $ac_status); }; } &&
93055 { ac_try='test -s conftest$ac_exeext'
93056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93057 (eval $ac_try) 2>&5
93058 ac_status=$?
93059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93060 (exit $ac_status); }; }; then
93061 eval "$as_ac_var=yes"
93062 else
93063 echo "$as_me: failed program was:" >&5
93064 sed 's/^/| /' conftest.$ac_ext >&5
93066 eval "$as_ac_var=no"
93068 rm -f conftest.err conftest.$ac_objext \
93069 conftest$ac_exeext conftest.$ac_ext
93071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93073 if test `eval echo '${'$as_ac_var'}'` = yes; then
93074 cat >>confdefs.h <<_ACEOF
93075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93076 _ACEOF
93079 done
93089 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
93090 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
93091 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
93092 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
93093 echo $ECHO_N "(cached) $ECHO_C" >&6
93094 else
93098 ac_ext=cc
93099 ac_cpp='$CXXCPP $CPPFLAGS'
93100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93104 cat >conftest.$ac_ext <<_ACEOF
93105 /* confdefs.h. */
93106 _ACEOF
93107 cat confdefs.h >>conftest.$ac_ext
93108 cat >>conftest.$ac_ext <<_ACEOF
93109 /* end confdefs.h. */
93110 #include <math.h>
93111 #ifdef HAVE_IEEEFP_H
93112 #include <ieeefp.h>
93113 #endif
93116 main ()
93118 isinfl(0);
93120 return 0;
93122 _ACEOF
93123 rm -f conftest.$ac_objext
93124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93125 (eval $ac_compile) 2>conftest.er1
93126 ac_status=$?
93127 grep -v '^ *+' conftest.er1 >conftest.err
93128 rm -f conftest.er1
93129 cat conftest.err >&5
93130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93131 (exit $ac_status); } &&
93132 { ac_try='test -z "$ac_cxx_werror_flag"
93133 || test ! -s conftest.err'
93134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93135 (eval $ac_try) 2>&5
93136 ac_status=$?
93137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93138 (exit $ac_status); }; } &&
93139 { ac_try='test -s conftest.$ac_objext'
93140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93141 (eval $ac_try) 2>&5
93142 ac_status=$?
93143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93144 (exit $ac_status); }; }; then
93145 glibcxx_cv_func_isinfl_use=yes
93146 else
93147 echo "$as_me: failed program was:" >&5
93148 sed 's/^/| /' conftest.$ac_ext >&5
93150 glibcxx_cv_func_isinfl_use=no
93152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93153 ac_ext=c
93154 ac_cpp='$CPP $CPPFLAGS'
93155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93163 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
93164 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
93166 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
93168 for ac_func in isinfl
93170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93171 echo "$as_me:$LINENO: checking for $ac_func" >&5
93172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93173 if eval "test \"\${$as_ac_var+set}\" = set"; then
93174 echo $ECHO_N "(cached) $ECHO_C" >&6
93175 else
93176 if test x$gcc_no_link = xyes; then
93177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93179 { (exit 1); exit 1; }; }
93181 cat >conftest.$ac_ext <<_ACEOF
93182 /* confdefs.h. */
93183 _ACEOF
93184 cat confdefs.h >>conftest.$ac_ext
93185 cat >>conftest.$ac_ext <<_ACEOF
93186 /* end confdefs.h. */
93187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93189 #define $ac_func innocuous_$ac_func
93191 /* System header to define __stub macros and hopefully few prototypes,
93192 which can conflict with char $ac_func (); below.
93193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93194 <limits.h> exists even on freestanding compilers. */
93196 #ifdef __STDC__
93197 # include <limits.h>
93198 #else
93199 # include <assert.h>
93200 #endif
93202 #undef $ac_func
93204 /* Override any gcc2 internal prototype to avoid an error. */
93205 #ifdef __cplusplus
93206 extern "C"
93208 #endif
93209 /* We use char because int might match the return type of a gcc2
93210 builtin and then its argument prototype would still apply. */
93211 char $ac_func ();
93212 /* The GNU C library defines this for functions which it implements
93213 to always fail with ENOSYS. Some functions are actually named
93214 something starting with __ and the normal name is an alias. */
93215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93216 choke me
93217 #else
93218 char (*f) () = $ac_func;
93219 #endif
93220 #ifdef __cplusplus
93222 #endif
93225 main ()
93227 return f != $ac_func;
93229 return 0;
93231 _ACEOF
93232 rm -f conftest.$ac_objext conftest$ac_exeext
93233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93234 (eval $ac_link) 2>conftest.er1
93235 ac_status=$?
93236 grep -v '^ *+' conftest.er1 >conftest.err
93237 rm -f conftest.er1
93238 cat conftest.err >&5
93239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93240 (exit $ac_status); } &&
93241 { ac_try='test -z "$ac_c_werror_flag"
93242 || test ! -s conftest.err'
93243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93244 (eval $ac_try) 2>&5
93245 ac_status=$?
93246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93247 (exit $ac_status); }; } &&
93248 { ac_try='test -s conftest$ac_exeext'
93249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93250 (eval $ac_try) 2>&5
93251 ac_status=$?
93252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93253 (exit $ac_status); }; }; then
93254 eval "$as_ac_var=yes"
93255 else
93256 echo "$as_me: failed program was:" >&5
93257 sed 's/^/| /' conftest.$ac_ext >&5
93259 eval "$as_ac_var=no"
93261 rm -f conftest.err conftest.$ac_objext \
93262 conftest$ac_exeext conftest.$ac_ext
93264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93266 if test `eval echo '${'$as_ac_var'}'` = yes; then
93267 cat >>confdefs.h <<_ACEOF
93268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93269 _ACEOF
93272 done
93274 else
93276 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
93277 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
93278 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
93279 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
93280 echo $ECHO_N "(cached) $ECHO_C" >&6
93281 else
93285 ac_ext=cc
93286 ac_cpp='$CXXCPP $CPPFLAGS'
93287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93291 cat >conftest.$ac_ext <<_ACEOF
93292 /* confdefs.h. */
93293 _ACEOF
93294 cat confdefs.h >>conftest.$ac_ext
93295 cat >>conftest.$ac_ext <<_ACEOF
93296 /* end confdefs.h. */
93297 #include <math.h>
93298 #ifdef HAVE_IEEEFP_H
93299 #include <ieeefp.h>
93300 #endif
93303 main ()
93305 _isinfl(0);
93307 return 0;
93309 _ACEOF
93310 rm -f conftest.$ac_objext
93311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93312 (eval $ac_compile) 2>conftest.er1
93313 ac_status=$?
93314 grep -v '^ *+' conftest.er1 >conftest.err
93315 rm -f conftest.er1
93316 cat conftest.err >&5
93317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93318 (exit $ac_status); } &&
93319 { ac_try='test -z "$ac_cxx_werror_flag"
93320 || test ! -s conftest.err'
93321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93322 (eval $ac_try) 2>&5
93323 ac_status=$?
93324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93325 (exit $ac_status); }; } &&
93326 { ac_try='test -s conftest.$ac_objext'
93327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93328 (eval $ac_try) 2>&5
93329 ac_status=$?
93330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93331 (exit $ac_status); }; }; then
93332 glibcxx_cv_func__isinfl_use=yes
93333 else
93334 echo "$as_me: failed program was:" >&5
93335 sed 's/^/| /' conftest.$ac_ext >&5
93337 glibcxx_cv_func__isinfl_use=no
93339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93340 ac_ext=c
93341 ac_cpp='$CPP $CPPFLAGS'
93342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93350 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
93351 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
93353 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
93355 for ac_func in _isinfl
93357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93358 echo "$as_me:$LINENO: checking for $ac_func" >&5
93359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93360 if eval "test \"\${$as_ac_var+set}\" = set"; then
93361 echo $ECHO_N "(cached) $ECHO_C" >&6
93362 else
93363 if test x$gcc_no_link = xyes; then
93364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93366 { (exit 1); exit 1; }; }
93368 cat >conftest.$ac_ext <<_ACEOF
93369 /* confdefs.h. */
93370 _ACEOF
93371 cat confdefs.h >>conftest.$ac_ext
93372 cat >>conftest.$ac_ext <<_ACEOF
93373 /* end confdefs.h. */
93374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93376 #define $ac_func innocuous_$ac_func
93378 /* System header to define __stub macros and hopefully few prototypes,
93379 which can conflict with char $ac_func (); below.
93380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93381 <limits.h> exists even on freestanding compilers. */
93383 #ifdef __STDC__
93384 # include <limits.h>
93385 #else
93386 # include <assert.h>
93387 #endif
93389 #undef $ac_func
93391 /* Override any gcc2 internal prototype to avoid an error. */
93392 #ifdef __cplusplus
93393 extern "C"
93395 #endif
93396 /* We use char because int might match the return type of a gcc2
93397 builtin and then its argument prototype would still apply. */
93398 char $ac_func ();
93399 /* The GNU C library defines this for functions which it implements
93400 to always fail with ENOSYS. Some functions are actually named
93401 something starting with __ and the normal name is an alias. */
93402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93403 choke me
93404 #else
93405 char (*f) () = $ac_func;
93406 #endif
93407 #ifdef __cplusplus
93409 #endif
93412 main ()
93414 return f != $ac_func;
93416 return 0;
93418 _ACEOF
93419 rm -f conftest.$ac_objext conftest$ac_exeext
93420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93421 (eval $ac_link) 2>conftest.er1
93422 ac_status=$?
93423 grep -v '^ *+' conftest.er1 >conftest.err
93424 rm -f conftest.er1
93425 cat conftest.err >&5
93426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93427 (exit $ac_status); } &&
93428 { ac_try='test -z "$ac_c_werror_flag"
93429 || test ! -s conftest.err'
93430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93431 (eval $ac_try) 2>&5
93432 ac_status=$?
93433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93434 (exit $ac_status); }; } &&
93435 { ac_try='test -s conftest$ac_exeext'
93436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93437 (eval $ac_try) 2>&5
93438 ac_status=$?
93439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93440 (exit $ac_status); }; }; then
93441 eval "$as_ac_var=yes"
93442 else
93443 echo "$as_me: failed program was:" >&5
93444 sed 's/^/| /' conftest.$ac_ext >&5
93446 eval "$as_ac_var=no"
93448 rm -f conftest.err conftest.$ac_objext \
93449 conftest$ac_exeext conftest.$ac_ext
93451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93453 if test `eval echo '${'$as_ac_var'}'` = yes; then
93454 cat >>confdefs.h <<_ACEOF
93455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93456 _ACEOF
93459 done
93469 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
93470 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
93471 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
93472 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
93473 echo $ECHO_N "(cached) $ECHO_C" >&6
93474 else
93478 ac_ext=cc
93479 ac_cpp='$CXXCPP $CPPFLAGS'
93480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93484 cat >conftest.$ac_ext <<_ACEOF
93485 /* confdefs.h. */
93486 _ACEOF
93487 cat confdefs.h >>conftest.$ac_ext
93488 cat >>conftest.$ac_ext <<_ACEOF
93489 /* end confdefs.h. */
93490 #include <math.h>
93492 main ()
93494 copysignl(0, 0);
93496 return 0;
93498 _ACEOF
93499 rm -f conftest.$ac_objext
93500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93501 (eval $ac_compile) 2>conftest.er1
93502 ac_status=$?
93503 grep -v '^ *+' conftest.er1 >conftest.err
93504 rm -f conftest.er1
93505 cat conftest.err >&5
93506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93507 (exit $ac_status); } &&
93508 { ac_try='test -z "$ac_cxx_werror_flag"
93509 || test ! -s conftest.err'
93510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93511 (eval $ac_try) 2>&5
93512 ac_status=$?
93513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93514 (exit $ac_status); }; } &&
93515 { ac_try='test -s conftest.$ac_objext'
93516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93517 (eval $ac_try) 2>&5
93518 ac_status=$?
93519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93520 (exit $ac_status); }; }; then
93521 glibcxx_cv_func_copysignl_use=yes
93522 else
93523 echo "$as_me: failed program was:" >&5
93524 sed 's/^/| /' conftest.$ac_ext >&5
93526 glibcxx_cv_func_copysignl_use=no
93528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93529 ac_ext=c
93530 ac_cpp='$CPP $CPPFLAGS'
93531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93539 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
93540 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
93542 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
93544 for ac_func in copysignl
93546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93547 echo "$as_me:$LINENO: checking for $ac_func" >&5
93548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93549 if eval "test \"\${$as_ac_var+set}\" = set"; then
93550 echo $ECHO_N "(cached) $ECHO_C" >&6
93551 else
93552 if test x$gcc_no_link = xyes; then
93553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93555 { (exit 1); exit 1; }; }
93557 cat >conftest.$ac_ext <<_ACEOF
93558 /* confdefs.h. */
93559 _ACEOF
93560 cat confdefs.h >>conftest.$ac_ext
93561 cat >>conftest.$ac_ext <<_ACEOF
93562 /* end confdefs.h. */
93563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93565 #define $ac_func innocuous_$ac_func
93567 /* System header to define __stub macros and hopefully few prototypes,
93568 which can conflict with char $ac_func (); below.
93569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93570 <limits.h> exists even on freestanding compilers. */
93572 #ifdef __STDC__
93573 # include <limits.h>
93574 #else
93575 # include <assert.h>
93576 #endif
93578 #undef $ac_func
93580 /* Override any gcc2 internal prototype to avoid an error. */
93581 #ifdef __cplusplus
93582 extern "C"
93584 #endif
93585 /* We use char because int might match the return type of a gcc2
93586 builtin and then its argument prototype would still apply. */
93587 char $ac_func ();
93588 /* The GNU C library defines this for functions which it implements
93589 to always fail with ENOSYS. Some functions are actually named
93590 something starting with __ and the normal name is an alias. */
93591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93592 choke me
93593 #else
93594 char (*f) () = $ac_func;
93595 #endif
93596 #ifdef __cplusplus
93598 #endif
93601 main ()
93603 return f != $ac_func;
93605 return 0;
93607 _ACEOF
93608 rm -f conftest.$ac_objext conftest$ac_exeext
93609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93610 (eval $ac_link) 2>conftest.er1
93611 ac_status=$?
93612 grep -v '^ *+' conftest.er1 >conftest.err
93613 rm -f conftest.er1
93614 cat conftest.err >&5
93615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93616 (exit $ac_status); } &&
93617 { ac_try='test -z "$ac_c_werror_flag"
93618 || test ! -s conftest.err'
93619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93620 (eval $ac_try) 2>&5
93621 ac_status=$?
93622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93623 (exit $ac_status); }; } &&
93624 { ac_try='test -s conftest$ac_exeext'
93625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93626 (eval $ac_try) 2>&5
93627 ac_status=$?
93628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93629 (exit $ac_status); }; }; then
93630 eval "$as_ac_var=yes"
93631 else
93632 echo "$as_me: failed program was:" >&5
93633 sed 's/^/| /' conftest.$ac_ext >&5
93635 eval "$as_ac_var=no"
93637 rm -f conftest.err conftest.$ac_objext \
93638 conftest$ac_exeext conftest.$ac_ext
93640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93642 if test `eval echo '${'$as_ac_var'}'` = yes; then
93643 cat >>confdefs.h <<_ACEOF
93644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93645 _ACEOF
93648 done
93650 else
93652 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
93653 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
93654 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
93655 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
93656 echo $ECHO_N "(cached) $ECHO_C" >&6
93657 else
93661 ac_ext=cc
93662 ac_cpp='$CXXCPP $CPPFLAGS'
93663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93667 cat >conftest.$ac_ext <<_ACEOF
93668 /* confdefs.h. */
93669 _ACEOF
93670 cat confdefs.h >>conftest.$ac_ext
93671 cat >>conftest.$ac_ext <<_ACEOF
93672 /* end confdefs.h. */
93673 #include <math.h>
93675 main ()
93677 _copysignl(0, 0);
93679 return 0;
93681 _ACEOF
93682 rm -f conftest.$ac_objext
93683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93684 (eval $ac_compile) 2>conftest.er1
93685 ac_status=$?
93686 grep -v '^ *+' conftest.er1 >conftest.err
93687 rm -f conftest.er1
93688 cat conftest.err >&5
93689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93690 (exit $ac_status); } &&
93691 { ac_try='test -z "$ac_cxx_werror_flag"
93692 || test ! -s conftest.err'
93693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93694 (eval $ac_try) 2>&5
93695 ac_status=$?
93696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93697 (exit $ac_status); }; } &&
93698 { ac_try='test -s conftest.$ac_objext'
93699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93700 (eval $ac_try) 2>&5
93701 ac_status=$?
93702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93703 (exit $ac_status); }; }; then
93704 glibcxx_cv_func__copysignl_use=yes
93705 else
93706 echo "$as_me: failed program was:" >&5
93707 sed 's/^/| /' conftest.$ac_ext >&5
93709 glibcxx_cv_func__copysignl_use=no
93711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93712 ac_ext=c
93713 ac_cpp='$CPP $CPPFLAGS'
93714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93722 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
93723 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
93725 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
93727 for ac_func in _copysignl
93729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93730 echo "$as_me:$LINENO: checking for $ac_func" >&5
93731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93732 if eval "test \"\${$as_ac_var+set}\" = set"; then
93733 echo $ECHO_N "(cached) $ECHO_C" >&6
93734 else
93735 if test x$gcc_no_link = xyes; then
93736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93738 { (exit 1); exit 1; }; }
93740 cat >conftest.$ac_ext <<_ACEOF
93741 /* confdefs.h. */
93742 _ACEOF
93743 cat confdefs.h >>conftest.$ac_ext
93744 cat >>conftest.$ac_ext <<_ACEOF
93745 /* end confdefs.h. */
93746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93748 #define $ac_func innocuous_$ac_func
93750 /* System header to define __stub macros and hopefully few prototypes,
93751 which can conflict with char $ac_func (); below.
93752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93753 <limits.h> exists even on freestanding compilers. */
93755 #ifdef __STDC__
93756 # include <limits.h>
93757 #else
93758 # include <assert.h>
93759 #endif
93761 #undef $ac_func
93763 /* Override any gcc2 internal prototype to avoid an error. */
93764 #ifdef __cplusplus
93765 extern "C"
93767 #endif
93768 /* We use char because int might match the return type of a gcc2
93769 builtin and then its argument prototype would still apply. */
93770 char $ac_func ();
93771 /* The GNU C library defines this for functions which it implements
93772 to always fail with ENOSYS. Some functions are actually named
93773 something starting with __ and the normal name is an alias. */
93774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93775 choke me
93776 #else
93777 char (*f) () = $ac_func;
93778 #endif
93779 #ifdef __cplusplus
93781 #endif
93784 main ()
93786 return f != $ac_func;
93788 return 0;
93790 _ACEOF
93791 rm -f conftest.$ac_objext conftest$ac_exeext
93792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93793 (eval $ac_link) 2>conftest.er1
93794 ac_status=$?
93795 grep -v '^ *+' conftest.er1 >conftest.err
93796 rm -f conftest.er1
93797 cat conftest.err >&5
93798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93799 (exit $ac_status); } &&
93800 { ac_try='test -z "$ac_c_werror_flag"
93801 || test ! -s conftest.err'
93802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93803 (eval $ac_try) 2>&5
93804 ac_status=$?
93805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93806 (exit $ac_status); }; } &&
93807 { ac_try='test -s conftest$ac_exeext'
93808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93809 (eval $ac_try) 2>&5
93810 ac_status=$?
93811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93812 (exit $ac_status); }; }; then
93813 eval "$as_ac_var=yes"
93814 else
93815 echo "$as_me: failed program was:" >&5
93816 sed 's/^/| /' conftest.$ac_ext >&5
93818 eval "$as_ac_var=no"
93820 rm -f conftest.err conftest.$ac_objext \
93821 conftest$ac_exeext conftest.$ac_ext
93823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93825 if test `eval echo '${'$as_ac_var'}'` = yes; then
93826 cat >>confdefs.h <<_ACEOF
93827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93828 _ACEOF
93831 done
93841 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
93842 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
93843 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
93844 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
93845 echo $ECHO_N "(cached) $ECHO_C" >&6
93846 else
93850 ac_ext=cc
93851 ac_cpp='$CXXCPP $CPPFLAGS'
93852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93856 cat >conftest.$ac_ext <<_ACEOF
93857 /* confdefs.h. */
93858 _ACEOF
93859 cat confdefs.h >>conftest.$ac_ext
93860 cat >>conftest.$ac_ext <<_ACEOF
93861 /* end confdefs.h. */
93862 #include <math.h>
93864 main ()
93866 atan2l(0, 0);
93868 return 0;
93870 _ACEOF
93871 rm -f conftest.$ac_objext
93872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93873 (eval $ac_compile) 2>conftest.er1
93874 ac_status=$?
93875 grep -v '^ *+' conftest.er1 >conftest.err
93876 rm -f conftest.er1
93877 cat conftest.err >&5
93878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93879 (exit $ac_status); } &&
93880 { ac_try='test -z "$ac_cxx_werror_flag"
93881 || test ! -s conftest.err'
93882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93883 (eval $ac_try) 2>&5
93884 ac_status=$?
93885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93886 (exit $ac_status); }; } &&
93887 { ac_try='test -s conftest.$ac_objext'
93888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93889 (eval $ac_try) 2>&5
93890 ac_status=$?
93891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93892 (exit $ac_status); }; }; then
93893 glibcxx_cv_func_atan2l_use=yes
93894 else
93895 echo "$as_me: failed program was:" >&5
93896 sed 's/^/| /' conftest.$ac_ext >&5
93898 glibcxx_cv_func_atan2l_use=no
93900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93901 ac_ext=c
93902 ac_cpp='$CPP $CPPFLAGS'
93903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93911 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
93912 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
93914 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
93916 for ac_func in atan2l
93918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93919 echo "$as_me:$LINENO: checking for $ac_func" >&5
93920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93921 if eval "test \"\${$as_ac_var+set}\" = set"; then
93922 echo $ECHO_N "(cached) $ECHO_C" >&6
93923 else
93924 if test x$gcc_no_link = xyes; then
93925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93927 { (exit 1); exit 1; }; }
93929 cat >conftest.$ac_ext <<_ACEOF
93930 /* confdefs.h. */
93931 _ACEOF
93932 cat confdefs.h >>conftest.$ac_ext
93933 cat >>conftest.$ac_ext <<_ACEOF
93934 /* end confdefs.h. */
93935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93937 #define $ac_func innocuous_$ac_func
93939 /* System header to define __stub macros and hopefully few prototypes,
93940 which can conflict with char $ac_func (); below.
93941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93942 <limits.h> exists even on freestanding compilers. */
93944 #ifdef __STDC__
93945 # include <limits.h>
93946 #else
93947 # include <assert.h>
93948 #endif
93950 #undef $ac_func
93952 /* Override any gcc2 internal prototype to avoid an error. */
93953 #ifdef __cplusplus
93954 extern "C"
93956 #endif
93957 /* We use char because int might match the return type of a gcc2
93958 builtin and then its argument prototype would still apply. */
93959 char $ac_func ();
93960 /* The GNU C library defines this for functions which it implements
93961 to always fail with ENOSYS. Some functions are actually named
93962 something starting with __ and the normal name is an alias. */
93963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93964 choke me
93965 #else
93966 char (*f) () = $ac_func;
93967 #endif
93968 #ifdef __cplusplus
93970 #endif
93973 main ()
93975 return f != $ac_func;
93977 return 0;
93979 _ACEOF
93980 rm -f conftest.$ac_objext conftest$ac_exeext
93981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93982 (eval $ac_link) 2>conftest.er1
93983 ac_status=$?
93984 grep -v '^ *+' conftest.er1 >conftest.err
93985 rm -f conftest.er1
93986 cat conftest.err >&5
93987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93988 (exit $ac_status); } &&
93989 { ac_try='test -z "$ac_c_werror_flag"
93990 || test ! -s conftest.err'
93991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93992 (eval $ac_try) 2>&5
93993 ac_status=$?
93994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93995 (exit $ac_status); }; } &&
93996 { ac_try='test -s conftest$ac_exeext'
93997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93998 (eval $ac_try) 2>&5
93999 ac_status=$?
94000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94001 (exit $ac_status); }; }; then
94002 eval "$as_ac_var=yes"
94003 else
94004 echo "$as_me: failed program was:" >&5
94005 sed 's/^/| /' conftest.$ac_ext >&5
94007 eval "$as_ac_var=no"
94009 rm -f conftest.err conftest.$ac_objext \
94010 conftest$ac_exeext conftest.$ac_ext
94012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94014 if test `eval echo '${'$as_ac_var'}'` = yes; then
94015 cat >>confdefs.h <<_ACEOF
94016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94017 _ACEOF
94020 done
94022 else
94024 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
94025 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
94026 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
94027 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
94028 echo $ECHO_N "(cached) $ECHO_C" >&6
94029 else
94033 ac_ext=cc
94034 ac_cpp='$CXXCPP $CPPFLAGS'
94035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94039 cat >conftest.$ac_ext <<_ACEOF
94040 /* confdefs.h. */
94041 _ACEOF
94042 cat confdefs.h >>conftest.$ac_ext
94043 cat >>conftest.$ac_ext <<_ACEOF
94044 /* end confdefs.h. */
94045 #include <math.h>
94047 main ()
94049 _atan2l(0, 0);
94051 return 0;
94053 _ACEOF
94054 rm -f conftest.$ac_objext
94055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94056 (eval $ac_compile) 2>conftest.er1
94057 ac_status=$?
94058 grep -v '^ *+' conftest.er1 >conftest.err
94059 rm -f conftest.er1
94060 cat conftest.err >&5
94061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94062 (exit $ac_status); } &&
94063 { ac_try='test -z "$ac_cxx_werror_flag"
94064 || test ! -s conftest.err'
94065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94066 (eval $ac_try) 2>&5
94067 ac_status=$?
94068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94069 (exit $ac_status); }; } &&
94070 { ac_try='test -s conftest.$ac_objext'
94071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94072 (eval $ac_try) 2>&5
94073 ac_status=$?
94074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94075 (exit $ac_status); }; }; then
94076 glibcxx_cv_func__atan2l_use=yes
94077 else
94078 echo "$as_me: failed program was:" >&5
94079 sed 's/^/| /' conftest.$ac_ext >&5
94081 glibcxx_cv_func__atan2l_use=no
94083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94084 ac_ext=c
94085 ac_cpp='$CPP $CPPFLAGS'
94086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94094 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
94095 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
94097 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
94099 for ac_func in _atan2l
94101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94102 echo "$as_me:$LINENO: checking for $ac_func" >&5
94103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94104 if eval "test \"\${$as_ac_var+set}\" = set"; then
94105 echo $ECHO_N "(cached) $ECHO_C" >&6
94106 else
94107 if test x$gcc_no_link = xyes; then
94108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94110 { (exit 1); exit 1; }; }
94112 cat >conftest.$ac_ext <<_ACEOF
94113 /* confdefs.h. */
94114 _ACEOF
94115 cat confdefs.h >>conftest.$ac_ext
94116 cat >>conftest.$ac_ext <<_ACEOF
94117 /* end confdefs.h. */
94118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94120 #define $ac_func innocuous_$ac_func
94122 /* System header to define __stub macros and hopefully few prototypes,
94123 which can conflict with char $ac_func (); below.
94124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94125 <limits.h> exists even on freestanding compilers. */
94127 #ifdef __STDC__
94128 # include <limits.h>
94129 #else
94130 # include <assert.h>
94131 #endif
94133 #undef $ac_func
94135 /* Override any gcc2 internal prototype to avoid an error. */
94136 #ifdef __cplusplus
94137 extern "C"
94139 #endif
94140 /* We use char because int might match the return type of a gcc2
94141 builtin and then its argument prototype would still apply. */
94142 char $ac_func ();
94143 /* The GNU C library defines this for functions which it implements
94144 to always fail with ENOSYS. Some functions are actually named
94145 something starting with __ and the normal name is an alias. */
94146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94147 choke me
94148 #else
94149 char (*f) () = $ac_func;
94150 #endif
94151 #ifdef __cplusplus
94153 #endif
94156 main ()
94158 return f != $ac_func;
94160 return 0;
94162 _ACEOF
94163 rm -f conftest.$ac_objext conftest$ac_exeext
94164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94165 (eval $ac_link) 2>conftest.er1
94166 ac_status=$?
94167 grep -v '^ *+' conftest.er1 >conftest.err
94168 rm -f conftest.er1
94169 cat conftest.err >&5
94170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94171 (exit $ac_status); } &&
94172 { ac_try='test -z "$ac_c_werror_flag"
94173 || test ! -s conftest.err'
94174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94175 (eval $ac_try) 2>&5
94176 ac_status=$?
94177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94178 (exit $ac_status); }; } &&
94179 { ac_try='test -s conftest$ac_exeext'
94180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94181 (eval $ac_try) 2>&5
94182 ac_status=$?
94183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94184 (exit $ac_status); }; }; then
94185 eval "$as_ac_var=yes"
94186 else
94187 echo "$as_me: failed program was:" >&5
94188 sed 's/^/| /' conftest.$ac_ext >&5
94190 eval "$as_ac_var=no"
94192 rm -f conftest.err conftest.$ac_objext \
94193 conftest$ac_exeext conftest.$ac_ext
94195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94197 if test `eval echo '${'$as_ac_var'}'` = yes; then
94198 cat >>confdefs.h <<_ACEOF
94199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94200 _ACEOF
94203 done
94213 echo "$as_me:$LINENO: checking for expl declaration" >&5
94214 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
94215 if test x${glibcxx_cv_func_expl_use+set} != xset; then
94216 if test "${glibcxx_cv_func_expl_use+set}" = set; then
94217 echo $ECHO_N "(cached) $ECHO_C" >&6
94218 else
94222 ac_ext=cc
94223 ac_cpp='$CXXCPP $CPPFLAGS'
94224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94228 cat >conftest.$ac_ext <<_ACEOF
94229 /* confdefs.h. */
94230 _ACEOF
94231 cat confdefs.h >>conftest.$ac_ext
94232 cat >>conftest.$ac_ext <<_ACEOF
94233 /* end confdefs.h. */
94234 #include <math.h>
94235 #ifdef HAVE_IEEEFP_H
94236 #include <ieeefp.h>
94237 #endif
94240 main ()
94242 expl(0);
94244 return 0;
94246 _ACEOF
94247 rm -f conftest.$ac_objext
94248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94249 (eval $ac_compile) 2>conftest.er1
94250 ac_status=$?
94251 grep -v '^ *+' conftest.er1 >conftest.err
94252 rm -f conftest.er1
94253 cat conftest.err >&5
94254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94255 (exit $ac_status); } &&
94256 { ac_try='test -z "$ac_cxx_werror_flag"
94257 || test ! -s conftest.err'
94258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94259 (eval $ac_try) 2>&5
94260 ac_status=$?
94261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94262 (exit $ac_status); }; } &&
94263 { ac_try='test -s conftest.$ac_objext'
94264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94265 (eval $ac_try) 2>&5
94266 ac_status=$?
94267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94268 (exit $ac_status); }; }; then
94269 glibcxx_cv_func_expl_use=yes
94270 else
94271 echo "$as_me: failed program was:" >&5
94272 sed 's/^/| /' conftest.$ac_ext >&5
94274 glibcxx_cv_func_expl_use=no
94276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94277 ac_ext=c
94278 ac_cpp='$CPP $CPPFLAGS'
94279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94287 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
94288 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
94290 if test x$glibcxx_cv_func_expl_use = x"yes"; then
94292 for ac_func in expl
94294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94295 echo "$as_me:$LINENO: checking for $ac_func" >&5
94296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94297 if eval "test \"\${$as_ac_var+set}\" = set"; then
94298 echo $ECHO_N "(cached) $ECHO_C" >&6
94299 else
94300 if test x$gcc_no_link = xyes; then
94301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94303 { (exit 1); exit 1; }; }
94305 cat >conftest.$ac_ext <<_ACEOF
94306 /* confdefs.h. */
94307 _ACEOF
94308 cat confdefs.h >>conftest.$ac_ext
94309 cat >>conftest.$ac_ext <<_ACEOF
94310 /* end confdefs.h. */
94311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94313 #define $ac_func innocuous_$ac_func
94315 /* System header to define __stub macros and hopefully few prototypes,
94316 which can conflict with char $ac_func (); below.
94317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94318 <limits.h> exists even on freestanding compilers. */
94320 #ifdef __STDC__
94321 # include <limits.h>
94322 #else
94323 # include <assert.h>
94324 #endif
94326 #undef $ac_func
94328 /* Override any gcc2 internal prototype to avoid an error. */
94329 #ifdef __cplusplus
94330 extern "C"
94332 #endif
94333 /* We use char because int might match the return type of a gcc2
94334 builtin and then its argument prototype would still apply. */
94335 char $ac_func ();
94336 /* The GNU C library defines this for functions which it implements
94337 to always fail with ENOSYS. Some functions are actually named
94338 something starting with __ and the normal name is an alias. */
94339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94340 choke me
94341 #else
94342 char (*f) () = $ac_func;
94343 #endif
94344 #ifdef __cplusplus
94346 #endif
94349 main ()
94351 return f != $ac_func;
94353 return 0;
94355 _ACEOF
94356 rm -f conftest.$ac_objext conftest$ac_exeext
94357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94358 (eval $ac_link) 2>conftest.er1
94359 ac_status=$?
94360 grep -v '^ *+' conftest.er1 >conftest.err
94361 rm -f conftest.er1
94362 cat conftest.err >&5
94363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94364 (exit $ac_status); } &&
94365 { ac_try='test -z "$ac_c_werror_flag"
94366 || test ! -s conftest.err'
94367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94368 (eval $ac_try) 2>&5
94369 ac_status=$?
94370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94371 (exit $ac_status); }; } &&
94372 { ac_try='test -s conftest$ac_exeext'
94373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94374 (eval $ac_try) 2>&5
94375 ac_status=$?
94376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94377 (exit $ac_status); }; }; then
94378 eval "$as_ac_var=yes"
94379 else
94380 echo "$as_me: failed program was:" >&5
94381 sed 's/^/| /' conftest.$ac_ext >&5
94383 eval "$as_ac_var=no"
94385 rm -f conftest.err conftest.$ac_objext \
94386 conftest$ac_exeext conftest.$ac_ext
94388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94390 if test `eval echo '${'$as_ac_var'}'` = yes; then
94391 cat >>confdefs.h <<_ACEOF
94392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94393 _ACEOF
94396 done
94398 else
94400 echo "$as_me:$LINENO: checking for _expl declaration" >&5
94401 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
94402 if test x${glibcxx_cv_func__expl_use+set} != xset; then
94403 if test "${glibcxx_cv_func__expl_use+set}" = set; then
94404 echo $ECHO_N "(cached) $ECHO_C" >&6
94405 else
94409 ac_ext=cc
94410 ac_cpp='$CXXCPP $CPPFLAGS'
94411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94415 cat >conftest.$ac_ext <<_ACEOF
94416 /* confdefs.h. */
94417 _ACEOF
94418 cat confdefs.h >>conftest.$ac_ext
94419 cat >>conftest.$ac_ext <<_ACEOF
94420 /* end confdefs.h. */
94421 #include <math.h>
94422 #ifdef HAVE_IEEEFP_H
94423 #include <ieeefp.h>
94424 #endif
94427 main ()
94429 _expl(0);
94431 return 0;
94433 _ACEOF
94434 rm -f conftest.$ac_objext
94435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94436 (eval $ac_compile) 2>conftest.er1
94437 ac_status=$?
94438 grep -v '^ *+' conftest.er1 >conftest.err
94439 rm -f conftest.er1
94440 cat conftest.err >&5
94441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94442 (exit $ac_status); } &&
94443 { ac_try='test -z "$ac_cxx_werror_flag"
94444 || test ! -s conftest.err'
94445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94446 (eval $ac_try) 2>&5
94447 ac_status=$?
94448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94449 (exit $ac_status); }; } &&
94450 { ac_try='test -s conftest.$ac_objext'
94451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94452 (eval $ac_try) 2>&5
94453 ac_status=$?
94454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94455 (exit $ac_status); }; }; then
94456 glibcxx_cv_func__expl_use=yes
94457 else
94458 echo "$as_me: failed program was:" >&5
94459 sed 's/^/| /' conftest.$ac_ext >&5
94461 glibcxx_cv_func__expl_use=no
94463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94464 ac_ext=c
94465 ac_cpp='$CPP $CPPFLAGS'
94466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94474 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
94475 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
94477 if test x$glibcxx_cv_func__expl_use = x"yes"; then
94479 for ac_func in _expl
94481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94482 echo "$as_me:$LINENO: checking for $ac_func" >&5
94483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94484 if eval "test \"\${$as_ac_var+set}\" = set"; then
94485 echo $ECHO_N "(cached) $ECHO_C" >&6
94486 else
94487 if test x$gcc_no_link = xyes; then
94488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94490 { (exit 1); exit 1; }; }
94492 cat >conftest.$ac_ext <<_ACEOF
94493 /* confdefs.h. */
94494 _ACEOF
94495 cat confdefs.h >>conftest.$ac_ext
94496 cat >>conftest.$ac_ext <<_ACEOF
94497 /* end confdefs.h. */
94498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94500 #define $ac_func innocuous_$ac_func
94502 /* System header to define __stub macros and hopefully few prototypes,
94503 which can conflict with char $ac_func (); below.
94504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94505 <limits.h> exists even on freestanding compilers. */
94507 #ifdef __STDC__
94508 # include <limits.h>
94509 #else
94510 # include <assert.h>
94511 #endif
94513 #undef $ac_func
94515 /* Override any gcc2 internal prototype to avoid an error. */
94516 #ifdef __cplusplus
94517 extern "C"
94519 #endif
94520 /* We use char because int might match the return type of a gcc2
94521 builtin and then its argument prototype would still apply. */
94522 char $ac_func ();
94523 /* The GNU C library defines this for functions which it implements
94524 to always fail with ENOSYS. Some functions are actually named
94525 something starting with __ and the normal name is an alias. */
94526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94527 choke me
94528 #else
94529 char (*f) () = $ac_func;
94530 #endif
94531 #ifdef __cplusplus
94533 #endif
94536 main ()
94538 return f != $ac_func;
94540 return 0;
94542 _ACEOF
94543 rm -f conftest.$ac_objext conftest$ac_exeext
94544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94545 (eval $ac_link) 2>conftest.er1
94546 ac_status=$?
94547 grep -v '^ *+' conftest.er1 >conftest.err
94548 rm -f conftest.er1
94549 cat conftest.err >&5
94550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94551 (exit $ac_status); } &&
94552 { ac_try='test -z "$ac_c_werror_flag"
94553 || test ! -s conftest.err'
94554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94555 (eval $ac_try) 2>&5
94556 ac_status=$?
94557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94558 (exit $ac_status); }; } &&
94559 { ac_try='test -s conftest$ac_exeext'
94560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94561 (eval $ac_try) 2>&5
94562 ac_status=$?
94563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94564 (exit $ac_status); }; }; then
94565 eval "$as_ac_var=yes"
94566 else
94567 echo "$as_me: failed program was:" >&5
94568 sed 's/^/| /' conftest.$ac_ext >&5
94570 eval "$as_ac_var=no"
94572 rm -f conftest.err conftest.$ac_objext \
94573 conftest$ac_exeext conftest.$ac_ext
94575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94577 if test `eval echo '${'$as_ac_var'}'` = yes; then
94578 cat >>confdefs.h <<_ACEOF
94579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94580 _ACEOF
94583 done
94593 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
94594 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
94595 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
94596 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
94597 echo $ECHO_N "(cached) $ECHO_C" >&6
94598 else
94602 ac_ext=cc
94603 ac_cpp='$CXXCPP $CPPFLAGS'
94604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94608 cat >conftest.$ac_ext <<_ACEOF
94609 /* confdefs.h. */
94610 _ACEOF
94611 cat confdefs.h >>conftest.$ac_ext
94612 cat >>conftest.$ac_ext <<_ACEOF
94613 /* end confdefs.h. */
94614 #include <math.h>
94615 #ifdef HAVE_IEEEFP_H
94616 #include <ieeefp.h>
94617 #endif
94620 main ()
94622 fabsl(0);
94624 return 0;
94626 _ACEOF
94627 rm -f conftest.$ac_objext
94628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94629 (eval $ac_compile) 2>conftest.er1
94630 ac_status=$?
94631 grep -v '^ *+' conftest.er1 >conftest.err
94632 rm -f conftest.er1
94633 cat conftest.err >&5
94634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94635 (exit $ac_status); } &&
94636 { ac_try='test -z "$ac_cxx_werror_flag"
94637 || test ! -s conftest.err'
94638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94639 (eval $ac_try) 2>&5
94640 ac_status=$?
94641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94642 (exit $ac_status); }; } &&
94643 { ac_try='test -s conftest.$ac_objext'
94644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94645 (eval $ac_try) 2>&5
94646 ac_status=$?
94647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94648 (exit $ac_status); }; }; then
94649 glibcxx_cv_func_fabsl_use=yes
94650 else
94651 echo "$as_me: failed program was:" >&5
94652 sed 's/^/| /' conftest.$ac_ext >&5
94654 glibcxx_cv_func_fabsl_use=no
94656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94657 ac_ext=c
94658 ac_cpp='$CPP $CPPFLAGS'
94659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94667 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
94668 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
94670 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
94672 for ac_func in fabsl
94674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94675 echo "$as_me:$LINENO: checking for $ac_func" >&5
94676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94677 if eval "test \"\${$as_ac_var+set}\" = set"; then
94678 echo $ECHO_N "(cached) $ECHO_C" >&6
94679 else
94680 if test x$gcc_no_link = xyes; then
94681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94683 { (exit 1); exit 1; }; }
94685 cat >conftest.$ac_ext <<_ACEOF
94686 /* confdefs.h. */
94687 _ACEOF
94688 cat confdefs.h >>conftest.$ac_ext
94689 cat >>conftest.$ac_ext <<_ACEOF
94690 /* end confdefs.h. */
94691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94693 #define $ac_func innocuous_$ac_func
94695 /* System header to define __stub macros and hopefully few prototypes,
94696 which can conflict with char $ac_func (); below.
94697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94698 <limits.h> exists even on freestanding compilers. */
94700 #ifdef __STDC__
94701 # include <limits.h>
94702 #else
94703 # include <assert.h>
94704 #endif
94706 #undef $ac_func
94708 /* Override any gcc2 internal prototype to avoid an error. */
94709 #ifdef __cplusplus
94710 extern "C"
94712 #endif
94713 /* We use char because int might match the return type of a gcc2
94714 builtin and then its argument prototype would still apply. */
94715 char $ac_func ();
94716 /* The GNU C library defines this for functions which it implements
94717 to always fail with ENOSYS. Some functions are actually named
94718 something starting with __ and the normal name is an alias. */
94719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94720 choke me
94721 #else
94722 char (*f) () = $ac_func;
94723 #endif
94724 #ifdef __cplusplus
94726 #endif
94729 main ()
94731 return f != $ac_func;
94733 return 0;
94735 _ACEOF
94736 rm -f conftest.$ac_objext conftest$ac_exeext
94737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94738 (eval $ac_link) 2>conftest.er1
94739 ac_status=$?
94740 grep -v '^ *+' conftest.er1 >conftest.err
94741 rm -f conftest.er1
94742 cat conftest.err >&5
94743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94744 (exit $ac_status); } &&
94745 { ac_try='test -z "$ac_c_werror_flag"
94746 || test ! -s conftest.err'
94747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94748 (eval $ac_try) 2>&5
94749 ac_status=$?
94750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94751 (exit $ac_status); }; } &&
94752 { ac_try='test -s conftest$ac_exeext'
94753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94754 (eval $ac_try) 2>&5
94755 ac_status=$?
94756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94757 (exit $ac_status); }; }; then
94758 eval "$as_ac_var=yes"
94759 else
94760 echo "$as_me: failed program was:" >&5
94761 sed 's/^/| /' conftest.$ac_ext >&5
94763 eval "$as_ac_var=no"
94765 rm -f conftest.err conftest.$ac_objext \
94766 conftest$ac_exeext conftest.$ac_ext
94768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94770 if test `eval echo '${'$as_ac_var'}'` = yes; then
94771 cat >>confdefs.h <<_ACEOF
94772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94773 _ACEOF
94776 done
94778 else
94780 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
94781 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
94782 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
94783 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
94784 echo $ECHO_N "(cached) $ECHO_C" >&6
94785 else
94789 ac_ext=cc
94790 ac_cpp='$CXXCPP $CPPFLAGS'
94791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94795 cat >conftest.$ac_ext <<_ACEOF
94796 /* confdefs.h. */
94797 _ACEOF
94798 cat confdefs.h >>conftest.$ac_ext
94799 cat >>conftest.$ac_ext <<_ACEOF
94800 /* end confdefs.h. */
94801 #include <math.h>
94802 #ifdef HAVE_IEEEFP_H
94803 #include <ieeefp.h>
94804 #endif
94807 main ()
94809 _fabsl(0);
94811 return 0;
94813 _ACEOF
94814 rm -f conftest.$ac_objext
94815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94816 (eval $ac_compile) 2>conftest.er1
94817 ac_status=$?
94818 grep -v '^ *+' conftest.er1 >conftest.err
94819 rm -f conftest.er1
94820 cat conftest.err >&5
94821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94822 (exit $ac_status); } &&
94823 { ac_try='test -z "$ac_cxx_werror_flag"
94824 || test ! -s conftest.err'
94825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94826 (eval $ac_try) 2>&5
94827 ac_status=$?
94828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94829 (exit $ac_status); }; } &&
94830 { ac_try='test -s conftest.$ac_objext'
94831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94832 (eval $ac_try) 2>&5
94833 ac_status=$?
94834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94835 (exit $ac_status); }; }; then
94836 glibcxx_cv_func__fabsl_use=yes
94837 else
94838 echo "$as_me: failed program was:" >&5
94839 sed 's/^/| /' conftest.$ac_ext >&5
94841 glibcxx_cv_func__fabsl_use=no
94843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94844 ac_ext=c
94845 ac_cpp='$CPP $CPPFLAGS'
94846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
94855 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
94857 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
94859 for ac_func in _fabsl
94861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94862 echo "$as_me:$LINENO: checking for $ac_func" >&5
94863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94864 if eval "test \"\${$as_ac_var+set}\" = set"; then
94865 echo $ECHO_N "(cached) $ECHO_C" >&6
94866 else
94867 if test x$gcc_no_link = xyes; then
94868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94870 { (exit 1); exit 1; }; }
94872 cat >conftest.$ac_ext <<_ACEOF
94873 /* confdefs.h. */
94874 _ACEOF
94875 cat confdefs.h >>conftest.$ac_ext
94876 cat >>conftest.$ac_ext <<_ACEOF
94877 /* end confdefs.h. */
94878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94880 #define $ac_func innocuous_$ac_func
94882 /* System header to define __stub macros and hopefully few prototypes,
94883 which can conflict with char $ac_func (); below.
94884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94885 <limits.h> exists even on freestanding compilers. */
94887 #ifdef __STDC__
94888 # include <limits.h>
94889 #else
94890 # include <assert.h>
94891 #endif
94893 #undef $ac_func
94895 /* Override any gcc2 internal prototype to avoid an error. */
94896 #ifdef __cplusplus
94897 extern "C"
94899 #endif
94900 /* We use char because int might match the return type of a gcc2
94901 builtin and then its argument prototype would still apply. */
94902 char $ac_func ();
94903 /* The GNU C library defines this for functions which it implements
94904 to always fail with ENOSYS. Some functions are actually named
94905 something starting with __ and the normal name is an alias. */
94906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94907 choke me
94908 #else
94909 char (*f) () = $ac_func;
94910 #endif
94911 #ifdef __cplusplus
94913 #endif
94916 main ()
94918 return f != $ac_func;
94920 return 0;
94922 _ACEOF
94923 rm -f conftest.$ac_objext conftest$ac_exeext
94924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94925 (eval $ac_link) 2>conftest.er1
94926 ac_status=$?
94927 grep -v '^ *+' conftest.er1 >conftest.err
94928 rm -f conftest.er1
94929 cat conftest.err >&5
94930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94931 (exit $ac_status); } &&
94932 { ac_try='test -z "$ac_c_werror_flag"
94933 || test ! -s conftest.err'
94934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94935 (eval $ac_try) 2>&5
94936 ac_status=$?
94937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94938 (exit $ac_status); }; } &&
94939 { ac_try='test -s conftest$ac_exeext'
94940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94941 (eval $ac_try) 2>&5
94942 ac_status=$?
94943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94944 (exit $ac_status); }; }; then
94945 eval "$as_ac_var=yes"
94946 else
94947 echo "$as_me: failed program was:" >&5
94948 sed 's/^/| /' conftest.$ac_ext >&5
94950 eval "$as_ac_var=no"
94952 rm -f conftest.err conftest.$ac_objext \
94953 conftest$ac_exeext conftest.$ac_ext
94955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94957 if test `eval echo '${'$as_ac_var'}'` = yes; then
94958 cat >>confdefs.h <<_ACEOF
94959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94960 _ACEOF
94963 done
94973 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
94974 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
94975 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
94976 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
94977 echo $ECHO_N "(cached) $ECHO_C" >&6
94978 else
94982 ac_ext=cc
94983 ac_cpp='$CXXCPP $CPPFLAGS'
94984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94988 cat >conftest.$ac_ext <<_ACEOF
94989 /* confdefs.h. */
94990 _ACEOF
94991 cat confdefs.h >>conftest.$ac_ext
94992 cat >>conftest.$ac_ext <<_ACEOF
94993 /* end confdefs.h. */
94994 #include <math.h>
94996 main ()
94998 fmodl(0, 0);
95000 return 0;
95002 _ACEOF
95003 rm -f conftest.$ac_objext
95004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95005 (eval $ac_compile) 2>conftest.er1
95006 ac_status=$?
95007 grep -v '^ *+' conftest.er1 >conftest.err
95008 rm -f conftest.er1
95009 cat conftest.err >&5
95010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95011 (exit $ac_status); } &&
95012 { ac_try='test -z "$ac_cxx_werror_flag"
95013 || test ! -s conftest.err'
95014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95015 (eval $ac_try) 2>&5
95016 ac_status=$?
95017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95018 (exit $ac_status); }; } &&
95019 { ac_try='test -s conftest.$ac_objext'
95020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95021 (eval $ac_try) 2>&5
95022 ac_status=$?
95023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95024 (exit $ac_status); }; }; then
95025 glibcxx_cv_func_fmodl_use=yes
95026 else
95027 echo "$as_me: failed program was:" >&5
95028 sed 's/^/| /' conftest.$ac_ext >&5
95030 glibcxx_cv_func_fmodl_use=no
95032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95033 ac_ext=c
95034 ac_cpp='$CPP $CPPFLAGS'
95035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95043 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
95044 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
95046 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
95048 for ac_func in fmodl
95050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95051 echo "$as_me:$LINENO: checking for $ac_func" >&5
95052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95053 if eval "test \"\${$as_ac_var+set}\" = set"; then
95054 echo $ECHO_N "(cached) $ECHO_C" >&6
95055 else
95056 if test x$gcc_no_link = xyes; then
95057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95059 { (exit 1); exit 1; }; }
95061 cat >conftest.$ac_ext <<_ACEOF
95062 /* confdefs.h. */
95063 _ACEOF
95064 cat confdefs.h >>conftest.$ac_ext
95065 cat >>conftest.$ac_ext <<_ACEOF
95066 /* end confdefs.h. */
95067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95069 #define $ac_func innocuous_$ac_func
95071 /* System header to define __stub macros and hopefully few prototypes,
95072 which can conflict with char $ac_func (); below.
95073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95074 <limits.h> exists even on freestanding compilers. */
95076 #ifdef __STDC__
95077 # include <limits.h>
95078 #else
95079 # include <assert.h>
95080 #endif
95082 #undef $ac_func
95084 /* Override any gcc2 internal prototype to avoid an error. */
95085 #ifdef __cplusplus
95086 extern "C"
95088 #endif
95089 /* We use char because int might match the return type of a gcc2
95090 builtin and then its argument prototype would still apply. */
95091 char $ac_func ();
95092 /* The GNU C library defines this for functions which it implements
95093 to always fail with ENOSYS. Some functions are actually named
95094 something starting with __ and the normal name is an alias. */
95095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95096 choke me
95097 #else
95098 char (*f) () = $ac_func;
95099 #endif
95100 #ifdef __cplusplus
95102 #endif
95105 main ()
95107 return f != $ac_func;
95109 return 0;
95111 _ACEOF
95112 rm -f conftest.$ac_objext conftest$ac_exeext
95113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95114 (eval $ac_link) 2>conftest.er1
95115 ac_status=$?
95116 grep -v '^ *+' conftest.er1 >conftest.err
95117 rm -f conftest.er1
95118 cat conftest.err >&5
95119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95120 (exit $ac_status); } &&
95121 { ac_try='test -z "$ac_c_werror_flag"
95122 || test ! -s conftest.err'
95123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95124 (eval $ac_try) 2>&5
95125 ac_status=$?
95126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95127 (exit $ac_status); }; } &&
95128 { ac_try='test -s conftest$ac_exeext'
95129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95130 (eval $ac_try) 2>&5
95131 ac_status=$?
95132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95133 (exit $ac_status); }; }; then
95134 eval "$as_ac_var=yes"
95135 else
95136 echo "$as_me: failed program was:" >&5
95137 sed 's/^/| /' conftest.$ac_ext >&5
95139 eval "$as_ac_var=no"
95141 rm -f conftest.err conftest.$ac_objext \
95142 conftest$ac_exeext conftest.$ac_ext
95144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95146 if test `eval echo '${'$as_ac_var'}'` = yes; then
95147 cat >>confdefs.h <<_ACEOF
95148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95149 _ACEOF
95152 done
95154 else
95156 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
95157 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
95158 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
95159 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
95160 echo $ECHO_N "(cached) $ECHO_C" >&6
95161 else
95165 ac_ext=cc
95166 ac_cpp='$CXXCPP $CPPFLAGS'
95167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95171 cat >conftest.$ac_ext <<_ACEOF
95172 /* confdefs.h. */
95173 _ACEOF
95174 cat confdefs.h >>conftest.$ac_ext
95175 cat >>conftest.$ac_ext <<_ACEOF
95176 /* end confdefs.h. */
95177 #include <math.h>
95179 main ()
95181 _fmodl(0, 0);
95183 return 0;
95185 _ACEOF
95186 rm -f conftest.$ac_objext
95187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95188 (eval $ac_compile) 2>conftest.er1
95189 ac_status=$?
95190 grep -v '^ *+' conftest.er1 >conftest.err
95191 rm -f conftest.er1
95192 cat conftest.err >&5
95193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95194 (exit $ac_status); } &&
95195 { ac_try='test -z "$ac_cxx_werror_flag"
95196 || test ! -s conftest.err'
95197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95198 (eval $ac_try) 2>&5
95199 ac_status=$?
95200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95201 (exit $ac_status); }; } &&
95202 { ac_try='test -s conftest.$ac_objext'
95203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95204 (eval $ac_try) 2>&5
95205 ac_status=$?
95206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95207 (exit $ac_status); }; }; then
95208 glibcxx_cv_func__fmodl_use=yes
95209 else
95210 echo "$as_me: failed program was:" >&5
95211 sed 's/^/| /' conftest.$ac_ext >&5
95213 glibcxx_cv_func__fmodl_use=no
95215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95216 ac_ext=c
95217 ac_cpp='$CPP $CPPFLAGS'
95218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95226 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
95227 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
95229 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
95231 for ac_func in _fmodl
95233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95234 echo "$as_me:$LINENO: checking for $ac_func" >&5
95235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95236 if eval "test \"\${$as_ac_var+set}\" = set"; then
95237 echo $ECHO_N "(cached) $ECHO_C" >&6
95238 else
95239 if test x$gcc_no_link = xyes; then
95240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95242 { (exit 1); exit 1; }; }
95244 cat >conftest.$ac_ext <<_ACEOF
95245 /* confdefs.h. */
95246 _ACEOF
95247 cat confdefs.h >>conftest.$ac_ext
95248 cat >>conftest.$ac_ext <<_ACEOF
95249 /* end confdefs.h. */
95250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95252 #define $ac_func innocuous_$ac_func
95254 /* System header to define __stub macros and hopefully few prototypes,
95255 which can conflict with char $ac_func (); below.
95256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95257 <limits.h> exists even on freestanding compilers. */
95259 #ifdef __STDC__
95260 # include <limits.h>
95261 #else
95262 # include <assert.h>
95263 #endif
95265 #undef $ac_func
95267 /* Override any gcc2 internal prototype to avoid an error. */
95268 #ifdef __cplusplus
95269 extern "C"
95271 #endif
95272 /* We use char because int might match the return type of a gcc2
95273 builtin and then its argument prototype would still apply. */
95274 char $ac_func ();
95275 /* The GNU C library defines this for functions which it implements
95276 to always fail with ENOSYS. Some functions are actually named
95277 something starting with __ and the normal name is an alias. */
95278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95279 choke me
95280 #else
95281 char (*f) () = $ac_func;
95282 #endif
95283 #ifdef __cplusplus
95285 #endif
95288 main ()
95290 return f != $ac_func;
95292 return 0;
95294 _ACEOF
95295 rm -f conftest.$ac_objext conftest$ac_exeext
95296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95297 (eval $ac_link) 2>conftest.er1
95298 ac_status=$?
95299 grep -v '^ *+' conftest.er1 >conftest.err
95300 rm -f conftest.er1
95301 cat conftest.err >&5
95302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95303 (exit $ac_status); } &&
95304 { ac_try='test -z "$ac_c_werror_flag"
95305 || test ! -s conftest.err'
95306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95307 (eval $ac_try) 2>&5
95308 ac_status=$?
95309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95310 (exit $ac_status); }; } &&
95311 { ac_try='test -s conftest$ac_exeext'
95312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95313 (eval $ac_try) 2>&5
95314 ac_status=$?
95315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95316 (exit $ac_status); }; }; then
95317 eval "$as_ac_var=yes"
95318 else
95319 echo "$as_me: failed program was:" >&5
95320 sed 's/^/| /' conftest.$ac_ext >&5
95322 eval "$as_ac_var=no"
95324 rm -f conftest.err conftest.$ac_objext \
95325 conftest$ac_exeext conftest.$ac_ext
95327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95329 if test `eval echo '${'$as_ac_var'}'` = yes; then
95330 cat >>confdefs.h <<_ACEOF
95331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95332 _ACEOF
95335 done
95345 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
95346 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
95347 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
95348 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
95349 echo $ECHO_N "(cached) $ECHO_C" >&6
95350 else
95354 ac_ext=cc
95355 ac_cpp='$CXXCPP $CPPFLAGS'
95356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95360 cat >conftest.$ac_ext <<_ACEOF
95361 /* confdefs.h. */
95362 _ACEOF
95363 cat confdefs.h >>conftest.$ac_ext
95364 cat >>conftest.$ac_ext <<_ACEOF
95365 /* end confdefs.h. */
95366 #include <math.h>
95368 main ()
95370 frexpl(0, 0);
95372 return 0;
95374 _ACEOF
95375 rm -f conftest.$ac_objext
95376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95377 (eval $ac_compile) 2>conftest.er1
95378 ac_status=$?
95379 grep -v '^ *+' conftest.er1 >conftest.err
95380 rm -f conftest.er1
95381 cat conftest.err >&5
95382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95383 (exit $ac_status); } &&
95384 { ac_try='test -z "$ac_cxx_werror_flag"
95385 || test ! -s conftest.err'
95386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95387 (eval $ac_try) 2>&5
95388 ac_status=$?
95389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95390 (exit $ac_status); }; } &&
95391 { ac_try='test -s conftest.$ac_objext'
95392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95393 (eval $ac_try) 2>&5
95394 ac_status=$?
95395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95396 (exit $ac_status); }; }; then
95397 glibcxx_cv_func_frexpl_use=yes
95398 else
95399 echo "$as_me: failed program was:" >&5
95400 sed 's/^/| /' conftest.$ac_ext >&5
95402 glibcxx_cv_func_frexpl_use=no
95404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95405 ac_ext=c
95406 ac_cpp='$CPP $CPPFLAGS'
95407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95415 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
95416 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
95418 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
95420 for ac_func in frexpl
95422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95423 echo "$as_me:$LINENO: checking for $ac_func" >&5
95424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95425 if eval "test \"\${$as_ac_var+set}\" = set"; then
95426 echo $ECHO_N "(cached) $ECHO_C" >&6
95427 else
95428 if test x$gcc_no_link = xyes; then
95429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95431 { (exit 1); exit 1; }; }
95433 cat >conftest.$ac_ext <<_ACEOF
95434 /* confdefs.h. */
95435 _ACEOF
95436 cat confdefs.h >>conftest.$ac_ext
95437 cat >>conftest.$ac_ext <<_ACEOF
95438 /* end confdefs.h. */
95439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95441 #define $ac_func innocuous_$ac_func
95443 /* System header to define __stub macros and hopefully few prototypes,
95444 which can conflict with char $ac_func (); below.
95445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95446 <limits.h> exists even on freestanding compilers. */
95448 #ifdef __STDC__
95449 # include <limits.h>
95450 #else
95451 # include <assert.h>
95452 #endif
95454 #undef $ac_func
95456 /* Override any gcc2 internal prototype to avoid an error. */
95457 #ifdef __cplusplus
95458 extern "C"
95460 #endif
95461 /* We use char because int might match the return type of a gcc2
95462 builtin and then its argument prototype would still apply. */
95463 char $ac_func ();
95464 /* The GNU C library defines this for functions which it implements
95465 to always fail with ENOSYS. Some functions are actually named
95466 something starting with __ and the normal name is an alias. */
95467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95468 choke me
95469 #else
95470 char (*f) () = $ac_func;
95471 #endif
95472 #ifdef __cplusplus
95474 #endif
95477 main ()
95479 return f != $ac_func;
95481 return 0;
95483 _ACEOF
95484 rm -f conftest.$ac_objext conftest$ac_exeext
95485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95486 (eval $ac_link) 2>conftest.er1
95487 ac_status=$?
95488 grep -v '^ *+' conftest.er1 >conftest.err
95489 rm -f conftest.er1
95490 cat conftest.err >&5
95491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95492 (exit $ac_status); } &&
95493 { ac_try='test -z "$ac_c_werror_flag"
95494 || test ! -s conftest.err'
95495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95496 (eval $ac_try) 2>&5
95497 ac_status=$?
95498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95499 (exit $ac_status); }; } &&
95500 { ac_try='test -s conftest$ac_exeext'
95501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95502 (eval $ac_try) 2>&5
95503 ac_status=$?
95504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95505 (exit $ac_status); }; }; then
95506 eval "$as_ac_var=yes"
95507 else
95508 echo "$as_me: failed program was:" >&5
95509 sed 's/^/| /' conftest.$ac_ext >&5
95511 eval "$as_ac_var=no"
95513 rm -f conftest.err conftest.$ac_objext \
95514 conftest$ac_exeext conftest.$ac_ext
95516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95518 if test `eval echo '${'$as_ac_var'}'` = yes; then
95519 cat >>confdefs.h <<_ACEOF
95520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95521 _ACEOF
95524 done
95526 else
95528 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
95529 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
95530 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
95531 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
95532 echo $ECHO_N "(cached) $ECHO_C" >&6
95533 else
95537 ac_ext=cc
95538 ac_cpp='$CXXCPP $CPPFLAGS'
95539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95543 cat >conftest.$ac_ext <<_ACEOF
95544 /* confdefs.h. */
95545 _ACEOF
95546 cat confdefs.h >>conftest.$ac_ext
95547 cat >>conftest.$ac_ext <<_ACEOF
95548 /* end confdefs.h. */
95549 #include <math.h>
95551 main ()
95553 _frexpl(0, 0);
95555 return 0;
95557 _ACEOF
95558 rm -f conftest.$ac_objext
95559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95560 (eval $ac_compile) 2>conftest.er1
95561 ac_status=$?
95562 grep -v '^ *+' conftest.er1 >conftest.err
95563 rm -f conftest.er1
95564 cat conftest.err >&5
95565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95566 (exit $ac_status); } &&
95567 { ac_try='test -z "$ac_cxx_werror_flag"
95568 || test ! -s conftest.err'
95569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95570 (eval $ac_try) 2>&5
95571 ac_status=$?
95572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95573 (exit $ac_status); }; } &&
95574 { ac_try='test -s conftest.$ac_objext'
95575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95576 (eval $ac_try) 2>&5
95577 ac_status=$?
95578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95579 (exit $ac_status); }; }; then
95580 glibcxx_cv_func__frexpl_use=yes
95581 else
95582 echo "$as_me: failed program was:" >&5
95583 sed 's/^/| /' conftest.$ac_ext >&5
95585 glibcxx_cv_func__frexpl_use=no
95587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95588 ac_ext=c
95589 ac_cpp='$CPP $CPPFLAGS'
95590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95598 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
95599 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
95601 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
95603 for ac_func in _frexpl
95605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95606 echo "$as_me:$LINENO: checking for $ac_func" >&5
95607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95608 if eval "test \"\${$as_ac_var+set}\" = set"; then
95609 echo $ECHO_N "(cached) $ECHO_C" >&6
95610 else
95611 if test x$gcc_no_link = xyes; then
95612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95614 { (exit 1); exit 1; }; }
95616 cat >conftest.$ac_ext <<_ACEOF
95617 /* confdefs.h. */
95618 _ACEOF
95619 cat confdefs.h >>conftest.$ac_ext
95620 cat >>conftest.$ac_ext <<_ACEOF
95621 /* end confdefs.h. */
95622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95624 #define $ac_func innocuous_$ac_func
95626 /* System header to define __stub macros and hopefully few prototypes,
95627 which can conflict with char $ac_func (); below.
95628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95629 <limits.h> exists even on freestanding compilers. */
95631 #ifdef __STDC__
95632 # include <limits.h>
95633 #else
95634 # include <assert.h>
95635 #endif
95637 #undef $ac_func
95639 /* Override any gcc2 internal prototype to avoid an error. */
95640 #ifdef __cplusplus
95641 extern "C"
95643 #endif
95644 /* We use char because int might match the return type of a gcc2
95645 builtin and then its argument prototype would still apply. */
95646 char $ac_func ();
95647 /* The GNU C library defines this for functions which it implements
95648 to always fail with ENOSYS. Some functions are actually named
95649 something starting with __ and the normal name is an alias. */
95650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95651 choke me
95652 #else
95653 char (*f) () = $ac_func;
95654 #endif
95655 #ifdef __cplusplus
95657 #endif
95660 main ()
95662 return f != $ac_func;
95664 return 0;
95666 _ACEOF
95667 rm -f conftest.$ac_objext conftest$ac_exeext
95668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95669 (eval $ac_link) 2>conftest.er1
95670 ac_status=$?
95671 grep -v '^ *+' conftest.er1 >conftest.err
95672 rm -f conftest.er1
95673 cat conftest.err >&5
95674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95675 (exit $ac_status); } &&
95676 { ac_try='test -z "$ac_c_werror_flag"
95677 || test ! -s conftest.err'
95678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95679 (eval $ac_try) 2>&5
95680 ac_status=$?
95681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95682 (exit $ac_status); }; } &&
95683 { ac_try='test -s conftest$ac_exeext'
95684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95685 (eval $ac_try) 2>&5
95686 ac_status=$?
95687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95688 (exit $ac_status); }; }; then
95689 eval "$as_ac_var=yes"
95690 else
95691 echo "$as_me: failed program was:" >&5
95692 sed 's/^/| /' conftest.$ac_ext >&5
95694 eval "$as_ac_var=no"
95696 rm -f conftest.err conftest.$ac_objext \
95697 conftest$ac_exeext conftest.$ac_ext
95699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95701 if test `eval echo '${'$as_ac_var'}'` = yes; then
95702 cat >>confdefs.h <<_ACEOF
95703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95704 _ACEOF
95707 done
95717 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
95718 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
95719 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
95720 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
95721 echo $ECHO_N "(cached) $ECHO_C" >&6
95722 else
95726 ac_ext=cc
95727 ac_cpp='$CXXCPP $CPPFLAGS'
95728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95732 cat >conftest.$ac_ext <<_ACEOF
95733 /* confdefs.h. */
95734 _ACEOF
95735 cat confdefs.h >>conftest.$ac_ext
95736 cat >>conftest.$ac_ext <<_ACEOF
95737 /* end confdefs.h. */
95738 #include <math.h>
95740 main ()
95742 hypotl(0, 0);
95744 return 0;
95746 _ACEOF
95747 rm -f conftest.$ac_objext
95748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95749 (eval $ac_compile) 2>conftest.er1
95750 ac_status=$?
95751 grep -v '^ *+' conftest.er1 >conftest.err
95752 rm -f conftest.er1
95753 cat conftest.err >&5
95754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95755 (exit $ac_status); } &&
95756 { ac_try='test -z "$ac_cxx_werror_flag"
95757 || test ! -s conftest.err'
95758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95759 (eval $ac_try) 2>&5
95760 ac_status=$?
95761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95762 (exit $ac_status); }; } &&
95763 { ac_try='test -s conftest.$ac_objext'
95764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95765 (eval $ac_try) 2>&5
95766 ac_status=$?
95767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95768 (exit $ac_status); }; }; then
95769 glibcxx_cv_func_hypotl_use=yes
95770 else
95771 echo "$as_me: failed program was:" >&5
95772 sed 's/^/| /' conftest.$ac_ext >&5
95774 glibcxx_cv_func_hypotl_use=no
95776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95777 ac_ext=c
95778 ac_cpp='$CPP $CPPFLAGS'
95779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95787 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
95788 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
95790 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
95792 for ac_func in hypotl
95794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95795 echo "$as_me:$LINENO: checking for $ac_func" >&5
95796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95797 if eval "test \"\${$as_ac_var+set}\" = set"; then
95798 echo $ECHO_N "(cached) $ECHO_C" >&6
95799 else
95800 if test x$gcc_no_link = xyes; then
95801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95803 { (exit 1); exit 1; }; }
95805 cat >conftest.$ac_ext <<_ACEOF
95806 /* confdefs.h. */
95807 _ACEOF
95808 cat confdefs.h >>conftest.$ac_ext
95809 cat >>conftest.$ac_ext <<_ACEOF
95810 /* end confdefs.h. */
95811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95813 #define $ac_func innocuous_$ac_func
95815 /* System header to define __stub macros and hopefully few prototypes,
95816 which can conflict with char $ac_func (); below.
95817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95818 <limits.h> exists even on freestanding compilers. */
95820 #ifdef __STDC__
95821 # include <limits.h>
95822 #else
95823 # include <assert.h>
95824 #endif
95826 #undef $ac_func
95828 /* Override any gcc2 internal prototype to avoid an error. */
95829 #ifdef __cplusplus
95830 extern "C"
95832 #endif
95833 /* We use char because int might match the return type of a gcc2
95834 builtin and then its argument prototype would still apply. */
95835 char $ac_func ();
95836 /* The GNU C library defines this for functions which it implements
95837 to always fail with ENOSYS. Some functions are actually named
95838 something starting with __ and the normal name is an alias. */
95839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95840 choke me
95841 #else
95842 char (*f) () = $ac_func;
95843 #endif
95844 #ifdef __cplusplus
95846 #endif
95849 main ()
95851 return f != $ac_func;
95853 return 0;
95855 _ACEOF
95856 rm -f conftest.$ac_objext conftest$ac_exeext
95857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95858 (eval $ac_link) 2>conftest.er1
95859 ac_status=$?
95860 grep -v '^ *+' conftest.er1 >conftest.err
95861 rm -f conftest.er1
95862 cat conftest.err >&5
95863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95864 (exit $ac_status); } &&
95865 { ac_try='test -z "$ac_c_werror_flag"
95866 || test ! -s conftest.err'
95867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95868 (eval $ac_try) 2>&5
95869 ac_status=$?
95870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95871 (exit $ac_status); }; } &&
95872 { ac_try='test -s conftest$ac_exeext'
95873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95874 (eval $ac_try) 2>&5
95875 ac_status=$?
95876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95877 (exit $ac_status); }; }; then
95878 eval "$as_ac_var=yes"
95879 else
95880 echo "$as_me: failed program was:" >&5
95881 sed 's/^/| /' conftest.$ac_ext >&5
95883 eval "$as_ac_var=no"
95885 rm -f conftest.err conftest.$ac_objext \
95886 conftest$ac_exeext conftest.$ac_ext
95888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95890 if test `eval echo '${'$as_ac_var'}'` = yes; then
95891 cat >>confdefs.h <<_ACEOF
95892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95893 _ACEOF
95896 done
95898 else
95900 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
95901 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
95902 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
95903 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
95904 echo $ECHO_N "(cached) $ECHO_C" >&6
95905 else
95909 ac_ext=cc
95910 ac_cpp='$CXXCPP $CPPFLAGS'
95911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95915 cat >conftest.$ac_ext <<_ACEOF
95916 /* confdefs.h. */
95917 _ACEOF
95918 cat confdefs.h >>conftest.$ac_ext
95919 cat >>conftest.$ac_ext <<_ACEOF
95920 /* end confdefs.h. */
95921 #include <math.h>
95923 main ()
95925 _hypotl(0, 0);
95927 return 0;
95929 _ACEOF
95930 rm -f conftest.$ac_objext
95931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95932 (eval $ac_compile) 2>conftest.er1
95933 ac_status=$?
95934 grep -v '^ *+' conftest.er1 >conftest.err
95935 rm -f conftest.er1
95936 cat conftest.err >&5
95937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95938 (exit $ac_status); } &&
95939 { ac_try='test -z "$ac_cxx_werror_flag"
95940 || test ! -s conftest.err'
95941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95942 (eval $ac_try) 2>&5
95943 ac_status=$?
95944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95945 (exit $ac_status); }; } &&
95946 { ac_try='test -s conftest.$ac_objext'
95947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95948 (eval $ac_try) 2>&5
95949 ac_status=$?
95950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95951 (exit $ac_status); }; }; then
95952 glibcxx_cv_func__hypotl_use=yes
95953 else
95954 echo "$as_me: failed program was:" >&5
95955 sed 's/^/| /' conftest.$ac_ext >&5
95957 glibcxx_cv_func__hypotl_use=no
95959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95960 ac_ext=c
95961 ac_cpp='$CPP $CPPFLAGS'
95962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95970 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
95971 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
95973 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
95975 for ac_func in _hypotl
95977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95978 echo "$as_me:$LINENO: checking for $ac_func" >&5
95979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95980 if eval "test \"\${$as_ac_var+set}\" = set"; then
95981 echo $ECHO_N "(cached) $ECHO_C" >&6
95982 else
95983 if test x$gcc_no_link = xyes; then
95984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95986 { (exit 1); exit 1; }; }
95988 cat >conftest.$ac_ext <<_ACEOF
95989 /* confdefs.h. */
95990 _ACEOF
95991 cat confdefs.h >>conftest.$ac_ext
95992 cat >>conftest.$ac_ext <<_ACEOF
95993 /* end confdefs.h. */
95994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95996 #define $ac_func innocuous_$ac_func
95998 /* System header to define __stub macros and hopefully few prototypes,
95999 which can conflict with char $ac_func (); below.
96000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96001 <limits.h> exists even on freestanding compilers. */
96003 #ifdef __STDC__
96004 # include <limits.h>
96005 #else
96006 # include <assert.h>
96007 #endif
96009 #undef $ac_func
96011 /* Override any gcc2 internal prototype to avoid an error. */
96012 #ifdef __cplusplus
96013 extern "C"
96015 #endif
96016 /* We use char because int might match the return type of a gcc2
96017 builtin and then its argument prototype would still apply. */
96018 char $ac_func ();
96019 /* The GNU C library defines this for functions which it implements
96020 to always fail with ENOSYS. Some functions are actually named
96021 something starting with __ and the normal name is an alias. */
96022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96023 choke me
96024 #else
96025 char (*f) () = $ac_func;
96026 #endif
96027 #ifdef __cplusplus
96029 #endif
96032 main ()
96034 return f != $ac_func;
96036 return 0;
96038 _ACEOF
96039 rm -f conftest.$ac_objext conftest$ac_exeext
96040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96041 (eval $ac_link) 2>conftest.er1
96042 ac_status=$?
96043 grep -v '^ *+' conftest.er1 >conftest.err
96044 rm -f conftest.er1
96045 cat conftest.err >&5
96046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96047 (exit $ac_status); } &&
96048 { ac_try='test -z "$ac_c_werror_flag"
96049 || test ! -s conftest.err'
96050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96051 (eval $ac_try) 2>&5
96052 ac_status=$?
96053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96054 (exit $ac_status); }; } &&
96055 { ac_try='test -s conftest$ac_exeext'
96056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96057 (eval $ac_try) 2>&5
96058 ac_status=$?
96059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96060 (exit $ac_status); }; }; then
96061 eval "$as_ac_var=yes"
96062 else
96063 echo "$as_me: failed program was:" >&5
96064 sed 's/^/| /' conftest.$ac_ext >&5
96066 eval "$as_ac_var=no"
96068 rm -f conftest.err conftest.$ac_objext \
96069 conftest$ac_exeext conftest.$ac_ext
96071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96073 if test `eval echo '${'$as_ac_var'}'` = yes; then
96074 cat >>confdefs.h <<_ACEOF
96075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96076 _ACEOF
96079 done
96089 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
96090 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
96091 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
96092 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
96093 echo $ECHO_N "(cached) $ECHO_C" >&6
96094 else
96098 ac_ext=cc
96099 ac_cpp='$CXXCPP $CPPFLAGS'
96100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96104 cat >conftest.$ac_ext <<_ACEOF
96105 /* confdefs.h. */
96106 _ACEOF
96107 cat confdefs.h >>conftest.$ac_ext
96108 cat >>conftest.$ac_ext <<_ACEOF
96109 /* end confdefs.h. */
96110 #include <math.h>
96112 main ()
96114 ldexpl(0, 0);
96116 return 0;
96118 _ACEOF
96119 rm -f conftest.$ac_objext
96120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96121 (eval $ac_compile) 2>conftest.er1
96122 ac_status=$?
96123 grep -v '^ *+' conftest.er1 >conftest.err
96124 rm -f conftest.er1
96125 cat conftest.err >&5
96126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96127 (exit $ac_status); } &&
96128 { ac_try='test -z "$ac_cxx_werror_flag"
96129 || test ! -s conftest.err'
96130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96131 (eval $ac_try) 2>&5
96132 ac_status=$?
96133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96134 (exit $ac_status); }; } &&
96135 { ac_try='test -s conftest.$ac_objext'
96136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96137 (eval $ac_try) 2>&5
96138 ac_status=$?
96139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96140 (exit $ac_status); }; }; then
96141 glibcxx_cv_func_ldexpl_use=yes
96142 else
96143 echo "$as_me: failed program was:" >&5
96144 sed 's/^/| /' conftest.$ac_ext >&5
96146 glibcxx_cv_func_ldexpl_use=no
96148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96149 ac_ext=c
96150 ac_cpp='$CPP $CPPFLAGS'
96151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96159 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
96160 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
96162 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
96164 for ac_func in ldexpl
96166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96167 echo "$as_me:$LINENO: checking for $ac_func" >&5
96168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96169 if eval "test \"\${$as_ac_var+set}\" = set"; then
96170 echo $ECHO_N "(cached) $ECHO_C" >&6
96171 else
96172 if test x$gcc_no_link = xyes; then
96173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96175 { (exit 1); exit 1; }; }
96177 cat >conftest.$ac_ext <<_ACEOF
96178 /* confdefs.h. */
96179 _ACEOF
96180 cat confdefs.h >>conftest.$ac_ext
96181 cat >>conftest.$ac_ext <<_ACEOF
96182 /* end confdefs.h. */
96183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96185 #define $ac_func innocuous_$ac_func
96187 /* System header to define __stub macros and hopefully few prototypes,
96188 which can conflict with char $ac_func (); below.
96189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96190 <limits.h> exists even on freestanding compilers. */
96192 #ifdef __STDC__
96193 # include <limits.h>
96194 #else
96195 # include <assert.h>
96196 #endif
96198 #undef $ac_func
96200 /* Override any gcc2 internal prototype to avoid an error. */
96201 #ifdef __cplusplus
96202 extern "C"
96204 #endif
96205 /* We use char because int might match the return type of a gcc2
96206 builtin and then its argument prototype would still apply. */
96207 char $ac_func ();
96208 /* The GNU C library defines this for functions which it implements
96209 to always fail with ENOSYS. Some functions are actually named
96210 something starting with __ and the normal name is an alias. */
96211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96212 choke me
96213 #else
96214 char (*f) () = $ac_func;
96215 #endif
96216 #ifdef __cplusplus
96218 #endif
96221 main ()
96223 return f != $ac_func;
96225 return 0;
96227 _ACEOF
96228 rm -f conftest.$ac_objext conftest$ac_exeext
96229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96230 (eval $ac_link) 2>conftest.er1
96231 ac_status=$?
96232 grep -v '^ *+' conftest.er1 >conftest.err
96233 rm -f conftest.er1
96234 cat conftest.err >&5
96235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96236 (exit $ac_status); } &&
96237 { ac_try='test -z "$ac_c_werror_flag"
96238 || test ! -s conftest.err'
96239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96240 (eval $ac_try) 2>&5
96241 ac_status=$?
96242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96243 (exit $ac_status); }; } &&
96244 { ac_try='test -s conftest$ac_exeext'
96245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96246 (eval $ac_try) 2>&5
96247 ac_status=$?
96248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96249 (exit $ac_status); }; }; then
96250 eval "$as_ac_var=yes"
96251 else
96252 echo "$as_me: failed program was:" >&5
96253 sed 's/^/| /' conftest.$ac_ext >&5
96255 eval "$as_ac_var=no"
96257 rm -f conftest.err conftest.$ac_objext \
96258 conftest$ac_exeext conftest.$ac_ext
96260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96262 if test `eval echo '${'$as_ac_var'}'` = yes; then
96263 cat >>confdefs.h <<_ACEOF
96264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96265 _ACEOF
96268 done
96270 else
96272 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
96273 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
96274 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
96275 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
96276 echo $ECHO_N "(cached) $ECHO_C" >&6
96277 else
96281 ac_ext=cc
96282 ac_cpp='$CXXCPP $CPPFLAGS'
96283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96287 cat >conftest.$ac_ext <<_ACEOF
96288 /* confdefs.h. */
96289 _ACEOF
96290 cat confdefs.h >>conftest.$ac_ext
96291 cat >>conftest.$ac_ext <<_ACEOF
96292 /* end confdefs.h. */
96293 #include <math.h>
96295 main ()
96297 _ldexpl(0, 0);
96299 return 0;
96301 _ACEOF
96302 rm -f conftest.$ac_objext
96303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96304 (eval $ac_compile) 2>conftest.er1
96305 ac_status=$?
96306 grep -v '^ *+' conftest.er1 >conftest.err
96307 rm -f conftest.er1
96308 cat conftest.err >&5
96309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96310 (exit $ac_status); } &&
96311 { ac_try='test -z "$ac_cxx_werror_flag"
96312 || test ! -s conftest.err'
96313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96314 (eval $ac_try) 2>&5
96315 ac_status=$?
96316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96317 (exit $ac_status); }; } &&
96318 { ac_try='test -s conftest.$ac_objext'
96319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96320 (eval $ac_try) 2>&5
96321 ac_status=$?
96322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96323 (exit $ac_status); }; }; then
96324 glibcxx_cv_func__ldexpl_use=yes
96325 else
96326 echo "$as_me: failed program was:" >&5
96327 sed 's/^/| /' conftest.$ac_ext >&5
96329 glibcxx_cv_func__ldexpl_use=no
96331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96332 ac_ext=c
96333 ac_cpp='$CPP $CPPFLAGS'
96334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96342 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
96343 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
96345 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
96347 for ac_func in _ldexpl
96349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96350 echo "$as_me:$LINENO: checking for $ac_func" >&5
96351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96352 if eval "test \"\${$as_ac_var+set}\" = set"; then
96353 echo $ECHO_N "(cached) $ECHO_C" >&6
96354 else
96355 if test x$gcc_no_link = xyes; then
96356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96358 { (exit 1); exit 1; }; }
96360 cat >conftest.$ac_ext <<_ACEOF
96361 /* confdefs.h. */
96362 _ACEOF
96363 cat confdefs.h >>conftest.$ac_ext
96364 cat >>conftest.$ac_ext <<_ACEOF
96365 /* end confdefs.h. */
96366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96368 #define $ac_func innocuous_$ac_func
96370 /* System header to define __stub macros and hopefully few prototypes,
96371 which can conflict with char $ac_func (); below.
96372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96373 <limits.h> exists even on freestanding compilers. */
96375 #ifdef __STDC__
96376 # include <limits.h>
96377 #else
96378 # include <assert.h>
96379 #endif
96381 #undef $ac_func
96383 /* Override any gcc2 internal prototype to avoid an error. */
96384 #ifdef __cplusplus
96385 extern "C"
96387 #endif
96388 /* We use char because int might match the return type of a gcc2
96389 builtin and then its argument prototype would still apply. */
96390 char $ac_func ();
96391 /* The GNU C library defines this for functions which it implements
96392 to always fail with ENOSYS. Some functions are actually named
96393 something starting with __ and the normal name is an alias. */
96394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96395 choke me
96396 #else
96397 char (*f) () = $ac_func;
96398 #endif
96399 #ifdef __cplusplus
96401 #endif
96404 main ()
96406 return f != $ac_func;
96408 return 0;
96410 _ACEOF
96411 rm -f conftest.$ac_objext conftest$ac_exeext
96412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96413 (eval $ac_link) 2>conftest.er1
96414 ac_status=$?
96415 grep -v '^ *+' conftest.er1 >conftest.err
96416 rm -f conftest.er1
96417 cat conftest.err >&5
96418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96419 (exit $ac_status); } &&
96420 { ac_try='test -z "$ac_c_werror_flag"
96421 || test ! -s conftest.err'
96422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96423 (eval $ac_try) 2>&5
96424 ac_status=$?
96425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96426 (exit $ac_status); }; } &&
96427 { ac_try='test -s conftest$ac_exeext'
96428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96429 (eval $ac_try) 2>&5
96430 ac_status=$?
96431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96432 (exit $ac_status); }; }; then
96433 eval "$as_ac_var=yes"
96434 else
96435 echo "$as_me: failed program was:" >&5
96436 sed 's/^/| /' conftest.$ac_ext >&5
96438 eval "$as_ac_var=no"
96440 rm -f conftest.err conftest.$ac_objext \
96441 conftest$ac_exeext conftest.$ac_ext
96443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96445 if test `eval echo '${'$as_ac_var'}'` = yes; then
96446 cat >>confdefs.h <<_ACEOF
96447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96448 _ACEOF
96451 done
96461 echo "$as_me:$LINENO: checking for logl declaration" >&5
96462 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
96463 if test x${glibcxx_cv_func_logl_use+set} != xset; then
96464 if test "${glibcxx_cv_func_logl_use+set}" = set; then
96465 echo $ECHO_N "(cached) $ECHO_C" >&6
96466 else
96470 ac_ext=cc
96471 ac_cpp='$CXXCPP $CPPFLAGS'
96472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96476 cat >conftest.$ac_ext <<_ACEOF
96477 /* confdefs.h. */
96478 _ACEOF
96479 cat confdefs.h >>conftest.$ac_ext
96480 cat >>conftest.$ac_ext <<_ACEOF
96481 /* end confdefs.h. */
96482 #include <math.h>
96483 #ifdef HAVE_IEEEFP_H
96484 #include <ieeefp.h>
96485 #endif
96488 main ()
96490 logl(0);
96492 return 0;
96494 _ACEOF
96495 rm -f conftest.$ac_objext
96496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96497 (eval $ac_compile) 2>conftest.er1
96498 ac_status=$?
96499 grep -v '^ *+' conftest.er1 >conftest.err
96500 rm -f conftest.er1
96501 cat conftest.err >&5
96502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96503 (exit $ac_status); } &&
96504 { ac_try='test -z "$ac_cxx_werror_flag"
96505 || test ! -s conftest.err'
96506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96507 (eval $ac_try) 2>&5
96508 ac_status=$?
96509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96510 (exit $ac_status); }; } &&
96511 { ac_try='test -s conftest.$ac_objext'
96512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96513 (eval $ac_try) 2>&5
96514 ac_status=$?
96515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96516 (exit $ac_status); }; }; then
96517 glibcxx_cv_func_logl_use=yes
96518 else
96519 echo "$as_me: failed program was:" >&5
96520 sed 's/^/| /' conftest.$ac_ext >&5
96522 glibcxx_cv_func_logl_use=no
96524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96525 ac_ext=c
96526 ac_cpp='$CPP $CPPFLAGS'
96527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96535 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
96536 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
96538 if test x$glibcxx_cv_func_logl_use = x"yes"; then
96540 for ac_func in logl
96542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96543 echo "$as_me:$LINENO: checking for $ac_func" >&5
96544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96545 if eval "test \"\${$as_ac_var+set}\" = set"; then
96546 echo $ECHO_N "(cached) $ECHO_C" >&6
96547 else
96548 if test x$gcc_no_link = xyes; then
96549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96551 { (exit 1); exit 1; }; }
96553 cat >conftest.$ac_ext <<_ACEOF
96554 /* confdefs.h. */
96555 _ACEOF
96556 cat confdefs.h >>conftest.$ac_ext
96557 cat >>conftest.$ac_ext <<_ACEOF
96558 /* end confdefs.h. */
96559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96561 #define $ac_func innocuous_$ac_func
96563 /* System header to define __stub macros and hopefully few prototypes,
96564 which can conflict with char $ac_func (); below.
96565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96566 <limits.h> exists even on freestanding compilers. */
96568 #ifdef __STDC__
96569 # include <limits.h>
96570 #else
96571 # include <assert.h>
96572 #endif
96574 #undef $ac_func
96576 /* Override any gcc2 internal prototype to avoid an error. */
96577 #ifdef __cplusplus
96578 extern "C"
96580 #endif
96581 /* We use char because int might match the return type of a gcc2
96582 builtin and then its argument prototype would still apply. */
96583 char $ac_func ();
96584 /* The GNU C library defines this for functions which it implements
96585 to always fail with ENOSYS. Some functions are actually named
96586 something starting with __ and the normal name is an alias. */
96587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96588 choke me
96589 #else
96590 char (*f) () = $ac_func;
96591 #endif
96592 #ifdef __cplusplus
96594 #endif
96597 main ()
96599 return f != $ac_func;
96601 return 0;
96603 _ACEOF
96604 rm -f conftest.$ac_objext conftest$ac_exeext
96605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96606 (eval $ac_link) 2>conftest.er1
96607 ac_status=$?
96608 grep -v '^ *+' conftest.er1 >conftest.err
96609 rm -f conftest.er1
96610 cat conftest.err >&5
96611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96612 (exit $ac_status); } &&
96613 { ac_try='test -z "$ac_c_werror_flag"
96614 || test ! -s conftest.err'
96615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96616 (eval $ac_try) 2>&5
96617 ac_status=$?
96618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96619 (exit $ac_status); }; } &&
96620 { ac_try='test -s conftest$ac_exeext'
96621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96622 (eval $ac_try) 2>&5
96623 ac_status=$?
96624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96625 (exit $ac_status); }; }; then
96626 eval "$as_ac_var=yes"
96627 else
96628 echo "$as_me: failed program was:" >&5
96629 sed 's/^/| /' conftest.$ac_ext >&5
96631 eval "$as_ac_var=no"
96633 rm -f conftest.err conftest.$ac_objext \
96634 conftest$ac_exeext conftest.$ac_ext
96636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96638 if test `eval echo '${'$as_ac_var'}'` = yes; then
96639 cat >>confdefs.h <<_ACEOF
96640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96641 _ACEOF
96644 done
96646 else
96648 echo "$as_me:$LINENO: checking for _logl declaration" >&5
96649 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
96650 if test x${glibcxx_cv_func__logl_use+set} != xset; then
96651 if test "${glibcxx_cv_func__logl_use+set}" = set; then
96652 echo $ECHO_N "(cached) $ECHO_C" >&6
96653 else
96657 ac_ext=cc
96658 ac_cpp='$CXXCPP $CPPFLAGS'
96659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96663 cat >conftest.$ac_ext <<_ACEOF
96664 /* confdefs.h. */
96665 _ACEOF
96666 cat confdefs.h >>conftest.$ac_ext
96667 cat >>conftest.$ac_ext <<_ACEOF
96668 /* end confdefs.h. */
96669 #include <math.h>
96670 #ifdef HAVE_IEEEFP_H
96671 #include <ieeefp.h>
96672 #endif
96675 main ()
96677 _logl(0);
96679 return 0;
96681 _ACEOF
96682 rm -f conftest.$ac_objext
96683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96684 (eval $ac_compile) 2>conftest.er1
96685 ac_status=$?
96686 grep -v '^ *+' conftest.er1 >conftest.err
96687 rm -f conftest.er1
96688 cat conftest.err >&5
96689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96690 (exit $ac_status); } &&
96691 { ac_try='test -z "$ac_cxx_werror_flag"
96692 || test ! -s conftest.err'
96693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96694 (eval $ac_try) 2>&5
96695 ac_status=$?
96696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96697 (exit $ac_status); }; } &&
96698 { ac_try='test -s conftest.$ac_objext'
96699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96700 (eval $ac_try) 2>&5
96701 ac_status=$?
96702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96703 (exit $ac_status); }; }; then
96704 glibcxx_cv_func__logl_use=yes
96705 else
96706 echo "$as_me: failed program was:" >&5
96707 sed 's/^/| /' conftest.$ac_ext >&5
96709 glibcxx_cv_func__logl_use=no
96711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96712 ac_ext=c
96713 ac_cpp='$CPP $CPPFLAGS'
96714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96722 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
96723 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
96725 if test x$glibcxx_cv_func__logl_use = x"yes"; then
96727 for ac_func in _logl
96729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96730 echo "$as_me:$LINENO: checking for $ac_func" >&5
96731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96732 if eval "test \"\${$as_ac_var+set}\" = set"; then
96733 echo $ECHO_N "(cached) $ECHO_C" >&6
96734 else
96735 if test x$gcc_no_link = xyes; then
96736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96738 { (exit 1); exit 1; }; }
96740 cat >conftest.$ac_ext <<_ACEOF
96741 /* confdefs.h. */
96742 _ACEOF
96743 cat confdefs.h >>conftest.$ac_ext
96744 cat >>conftest.$ac_ext <<_ACEOF
96745 /* end confdefs.h. */
96746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96748 #define $ac_func innocuous_$ac_func
96750 /* System header to define __stub macros and hopefully few prototypes,
96751 which can conflict with char $ac_func (); below.
96752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96753 <limits.h> exists even on freestanding compilers. */
96755 #ifdef __STDC__
96756 # include <limits.h>
96757 #else
96758 # include <assert.h>
96759 #endif
96761 #undef $ac_func
96763 /* Override any gcc2 internal prototype to avoid an error. */
96764 #ifdef __cplusplus
96765 extern "C"
96767 #endif
96768 /* We use char because int might match the return type of a gcc2
96769 builtin and then its argument prototype would still apply. */
96770 char $ac_func ();
96771 /* The GNU C library defines this for functions which it implements
96772 to always fail with ENOSYS. Some functions are actually named
96773 something starting with __ and the normal name is an alias. */
96774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96775 choke me
96776 #else
96777 char (*f) () = $ac_func;
96778 #endif
96779 #ifdef __cplusplus
96781 #endif
96784 main ()
96786 return f != $ac_func;
96788 return 0;
96790 _ACEOF
96791 rm -f conftest.$ac_objext conftest$ac_exeext
96792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96793 (eval $ac_link) 2>conftest.er1
96794 ac_status=$?
96795 grep -v '^ *+' conftest.er1 >conftest.err
96796 rm -f conftest.er1
96797 cat conftest.err >&5
96798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96799 (exit $ac_status); } &&
96800 { ac_try='test -z "$ac_c_werror_flag"
96801 || test ! -s conftest.err'
96802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96803 (eval $ac_try) 2>&5
96804 ac_status=$?
96805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96806 (exit $ac_status); }; } &&
96807 { ac_try='test -s conftest$ac_exeext'
96808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96809 (eval $ac_try) 2>&5
96810 ac_status=$?
96811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96812 (exit $ac_status); }; }; then
96813 eval "$as_ac_var=yes"
96814 else
96815 echo "$as_me: failed program was:" >&5
96816 sed 's/^/| /' conftest.$ac_ext >&5
96818 eval "$as_ac_var=no"
96820 rm -f conftest.err conftest.$ac_objext \
96821 conftest$ac_exeext conftest.$ac_ext
96823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96825 if test `eval echo '${'$as_ac_var'}'` = yes; then
96826 cat >>confdefs.h <<_ACEOF
96827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96828 _ACEOF
96831 done
96841 echo "$as_me:$LINENO: checking for log10l declaration" >&5
96842 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
96843 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
96844 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
96845 echo $ECHO_N "(cached) $ECHO_C" >&6
96846 else
96850 ac_ext=cc
96851 ac_cpp='$CXXCPP $CPPFLAGS'
96852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96856 cat >conftest.$ac_ext <<_ACEOF
96857 /* confdefs.h. */
96858 _ACEOF
96859 cat confdefs.h >>conftest.$ac_ext
96860 cat >>conftest.$ac_ext <<_ACEOF
96861 /* end confdefs.h. */
96862 #include <math.h>
96863 #ifdef HAVE_IEEEFP_H
96864 #include <ieeefp.h>
96865 #endif
96868 main ()
96870 log10l(0);
96872 return 0;
96874 _ACEOF
96875 rm -f conftest.$ac_objext
96876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96877 (eval $ac_compile) 2>conftest.er1
96878 ac_status=$?
96879 grep -v '^ *+' conftest.er1 >conftest.err
96880 rm -f conftest.er1
96881 cat conftest.err >&5
96882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96883 (exit $ac_status); } &&
96884 { ac_try='test -z "$ac_cxx_werror_flag"
96885 || test ! -s conftest.err'
96886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96887 (eval $ac_try) 2>&5
96888 ac_status=$?
96889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96890 (exit $ac_status); }; } &&
96891 { ac_try='test -s conftest.$ac_objext'
96892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96893 (eval $ac_try) 2>&5
96894 ac_status=$?
96895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96896 (exit $ac_status); }; }; then
96897 glibcxx_cv_func_log10l_use=yes
96898 else
96899 echo "$as_me: failed program was:" >&5
96900 sed 's/^/| /' conftest.$ac_ext >&5
96902 glibcxx_cv_func_log10l_use=no
96904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96905 ac_ext=c
96906 ac_cpp='$CPP $CPPFLAGS'
96907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96915 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
96916 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
96918 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
96920 for ac_func in log10l
96922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96923 echo "$as_me:$LINENO: checking for $ac_func" >&5
96924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96925 if eval "test \"\${$as_ac_var+set}\" = set"; then
96926 echo $ECHO_N "(cached) $ECHO_C" >&6
96927 else
96928 if test x$gcc_no_link = xyes; then
96929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96931 { (exit 1); exit 1; }; }
96933 cat >conftest.$ac_ext <<_ACEOF
96934 /* confdefs.h. */
96935 _ACEOF
96936 cat confdefs.h >>conftest.$ac_ext
96937 cat >>conftest.$ac_ext <<_ACEOF
96938 /* end confdefs.h. */
96939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96941 #define $ac_func innocuous_$ac_func
96943 /* System header to define __stub macros and hopefully few prototypes,
96944 which can conflict with char $ac_func (); below.
96945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96946 <limits.h> exists even on freestanding compilers. */
96948 #ifdef __STDC__
96949 # include <limits.h>
96950 #else
96951 # include <assert.h>
96952 #endif
96954 #undef $ac_func
96956 /* Override any gcc2 internal prototype to avoid an error. */
96957 #ifdef __cplusplus
96958 extern "C"
96960 #endif
96961 /* We use char because int might match the return type of a gcc2
96962 builtin and then its argument prototype would still apply. */
96963 char $ac_func ();
96964 /* The GNU C library defines this for functions which it implements
96965 to always fail with ENOSYS. Some functions are actually named
96966 something starting with __ and the normal name is an alias. */
96967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96968 choke me
96969 #else
96970 char (*f) () = $ac_func;
96971 #endif
96972 #ifdef __cplusplus
96974 #endif
96977 main ()
96979 return f != $ac_func;
96981 return 0;
96983 _ACEOF
96984 rm -f conftest.$ac_objext conftest$ac_exeext
96985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96986 (eval $ac_link) 2>conftest.er1
96987 ac_status=$?
96988 grep -v '^ *+' conftest.er1 >conftest.err
96989 rm -f conftest.er1
96990 cat conftest.err >&5
96991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96992 (exit $ac_status); } &&
96993 { ac_try='test -z "$ac_c_werror_flag"
96994 || test ! -s conftest.err'
96995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96996 (eval $ac_try) 2>&5
96997 ac_status=$?
96998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96999 (exit $ac_status); }; } &&
97000 { ac_try='test -s conftest$ac_exeext'
97001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97002 (eval $ac_try) 2>&5
97003 ac_status=$?
97004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97005 (exit $ac_status); }; }; then
97006 eval "$as_ac_var=yes"
97007 else
97008 echo "$as_me: failed program was:" >&5
97009 sed 's/^/| /' conftest.$ac_ext >&5
97011 eval "$as_ac_var=no"
97013 rm -f conftest.err conftest.$ac_objext \
97014 conftest$ac_exeext conftest.$ac_ext
97016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97018 if test `eval echo '${'$as_ac_var'}'` = yes; then
97019 cat >>confdefs.h <<_ACEOF
97020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97021 _ACEOF
97024 done
97026 else
97028 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
97029 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
97030 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
97031 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
97032 echo $ECHO_N "(cached) $ECHO_C" >&6
97033 else
97037 ac_ext=cc
97038 ac_cpp='$CXXCPP $CPPFLAGS'
97039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97043 cat >conftest.$ac_ext <<_ACEOF
97044 /* confdefs.h. */
97045 _ACEOF
97046 cat confdefs.h >>conftest.$ac_ext
97047 cat >>conftest.$ac_ext <<_ACEOF
97048 /* end confdefs.h. */
97049 #include <math.h>
97050 #ifdef HAVE_IEEEFP_H
97051 #include <ieeefp.h>
97052 #endif
97055 main ()
97057 _log10l(0);
97059 return 0;
97061 _ACEOF
97062 rm -f conftest.$ac_objext
97063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97064 (eval $ac_compile) 2>conftest.er1
97065 ac_status=$?
97066 grep -v '^ *+' conftest.er1 >conftest.err
97067 rm -f conftest.er1
97068 cat conftest.err >&5
97069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97070 (exit $ac_status); } &&
97071 { ac_try='test -z "$ac_cxx_werror_flag"
97072 || test ! -s conftest.err'
97073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97074 (eval $ac_try) 2>&5
97075 ac_status=$?
97076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97077 (exit $ac_status); }; } &&
97078 { ac_try='test -s conftest.$ac_objext'
97079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97080 (eval $ac_try) 2>&5
97081 ac_status=$?
97082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97083 (exit $ac_status); }; }; then
97084 glibcxx_cv_func__log10l_use=yes
97085 else
97086 echo "$as_me: failed program was:" >&5
97087 sed 's/^/| /' conftest.$ac_ext >&5
97089 glibcxx_cv_func__log10l_use=no
97091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97092 ac_ext=c
97093 ac_cpp='$CPP $CPPFLAGS'
97094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97102 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
97103 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
97105 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
97107 for ac_func in _log10l
97109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97110 echo "$as_me:$LINENO: checking for $ac_func" >&5
97111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97112 if eval "test \"\${$as_ac_var+set}\" = set"; then
97113 echo $ECHO_N "(cached) $ECHO_C" >&6
97114 else
97115 if test x$gcc_no_link = xyes; then
97116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97118 { (exit 1); exit 1; }; }
97120 cat >conftest.$ac_ext <<_ACEOF
97121 /* confdefs.h. */
97122 _ACEOF
97123 cat confdefs.h >>conftest.$ac_ext
97124 cat >>conftest.$ac_ext <<_ACEOF
97125 /* end confdefs.h. */
97126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97128 #define $ac_func innocuous_$ac_func
97130 /* System header to define __stub macros and hopefully few prototypes,
97131 which can conflict with char $ac_func (); below.
97132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97133 <limits.h> exists even on freestanding compilers. */
97135 #ifdef __STDC__
97136 # include <limits.h>
97137 #else
97138 # include <assert.h>
97139 #endif
97141 #undef $ac_func
97143 /* Override any gcc2 internal prototype to avoid an error. */
97144 #ifdef __cplusplus
97145 extern "C"
97147 #endif
97148 /* We use char because int might match the return type of a gcc2
97149 builtin and then its argument prototype would still apply. */
97150 char $ac_func ();
97151 /* The GNU C library defines this for functions which it implements
97152 to always fail with ENOSYS. Some functions are actually named
97153 something starting with __ and the normal name is an alias. */
97154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97155 choke me
97156 #else
97157 char (*f) () = $ac_func;
97158 #endif
97159 #ifdef __cplusplus
97161 #endif
97164 main ()
97166 return f != $ac_func;
97168 return 0;
97170 _ACEOF
97171 rm -f conftest.$ac_objext conftest$ac_exeext
97172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97173 (eval $ac_link) 2>conftest.er1
97174 ac_status=$?
97175 grep -v '^ *+' conftest.er1 >conftest.err
97176 rm -f conftest.er1
97177 cat conftest.err >&5
97178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97179 (exit $ac_status); } &&
97180 { ac_try='test -z "$ac_c_werror_flag"
97181 || test ! -s conftest.err'
97182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97183 (eval $ac_try) 2>&5
97184 ac_status=$?
97185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97186 (exit $ac_status); }; } &&
97187 { ac_try='test -s conftest$ac_exeext'
97188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97189 (eval $ac_try) 2>&5
97190 ac_status=$?
97191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97192 (exit $ac_status); }; }; then
97193 eval "$as_ac_var=yes"
97194 else
97195 echo "$as_me: failed program was:" >&5
97196 sed 's/^/| /' conftest.$ac_ext >&5
97198 eval "$as_ac_var=no"
97200 rm -f conftest.err conftest.$ac_objext \
97201 conftest$ac_exeext conftest.$ac_ext
97203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97205 if test `eval echo '${'$as_ac_var'}'` = yes; then
97206 cat >>confdefs.h <<_ACEOF
97207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97208 _ACEOF
97211 done
97221 echo "$as_me:$LINENO: checking for modfl declaration" >&5
97222 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
97223 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
97224 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
97225 echo $ECHO_N "(cached) $ECHO_C" >&6
97226 else
97230 ac_ext=cc
97231 ac_cpp='$CXXCPP $CPPFLAGS'
97232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97236 cat >conftest.$ac_ext <<_ACEOF
97237 /* confdefs.h. */
97238 _ACEOF
97239 cat confdefs.h >>conftest.$ac_ext
97240 cat >>conftest.$ac_ext <<_ACEOF
97241 /* end confdefs.h. */
97242 #include <math.h>
97244 main ()
97246 modfl(0, 0);
97248 return 0;
97250 _ACEOF
97251 rm -f conftest.$ac_objext
97252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97253 (eval $ac_compile) 2>conftest.er1
97254 ac_status=$?
97255 grep -v '^ *+' conftest.er1 >conftest.err
97256 rm -f conftest.er1
97257 cat conftest.err >&5
97258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97259 (exit $ac_status); } &&
97260 { ac_try='test -z "$ac_cxx_werror_flag"
97261 || test ! -s conftest.err'
97262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97263 (eval $ac_try) 2>&5
97264 ac_status=$?
97265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97266 (exit $ac_status); }; } &&
97267 { ac_try='test -s conftest.$ac_objext'
97268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97269 (eval $ac_try) 2>&5
97270 ac_status=$?
97271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97272 (exit $ac_status); }; }; then
97273 glibcxx_cv_func_modfl_use=yes
97274 else
97275 echo "$as_me: failed program was:" >&5
97276 sed 's/^/| /' conftest.$ac_ext >&5
97278 glibcxx_cv_func_modfl_use=no
97280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97281 ac_ext=c
97282 ac_cpp='$CPP $CPPFLAGS'
97283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97291 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
97292 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
97294 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
97296 for ac_func in modfl
97298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97299 echo "$as_me:$LINENO: checking for $ac_func" >&5
97300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97301 if eval "test \"\${$as_ac_var+set}\" = set"; then
97302 echo $ECHO_N "(cached) $ECHO_C" >&6
97303 else
97304 if test x$gcc_no_link = xyes; then
97305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97307 { (exit 1); exit 1; }; }
97309 cat >conftest.$ac_ext <<_ACEOF
97310 /* confdefs.h. */
97311 _ACEOF
97312 cat confdefs.h >>conftest.$ac_ext
97313 cat >>conftest.$ac_ext <<_ACEOF
97314 /* end confdefs.h. */
97315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97317 #define $ac_func innocuous_$ac_func
97319 /* System header to define __stub macros and hopefully few prototypes,
97320 which can conflict with char $ac_func (); below.
97321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97322 <limits.h> exists even on freestanding compilers. */
97324 #ifdef __STDC__
97325 # include <limits.h>
97326 #else
97327 # include <assert.h>
97328 #endif
97330 #undef $ac_func
97332 /* Override any gcc2 internal prototype to avoid an error. */
97333 #ifdef __cplusplus
97334 extern "C"
97336 #endif
97337 /* We use char because int might match the return type of a gcc2
97338 builtin and then its argument prototype would still apply. */
97339 char $ac_func ();
97340 /* The GNU C library defines this for functions which it implements
97341 to always fail with ENOSYS. Some functions are actually named
97342 something starting with __ and the normal name is an alias. */
97343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97344 choke me
97345 #else
97346 char (*f) () = $ac_func;
97347 #endif
97348 #ifdef __cplusplus
97350 #endif
97353 main ()
97355 return f != $ac_func;
97357 return 0;
97359 _ACEOF
97360 rm -f conftest.$ac_objext conftest$ac_exeext
97361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97362 (eval $ac_link) 2>conftest.er1
97363 ac_status=$?
97364 grep -v '^ *+' conftest.er1 >conftest.err
97365 rm -f conftest.er1
97366 cat conftest.err >&5
97367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97368 (exit $ac_status); } &&
97369 { ac_try='test -z "$ac_c_werror_flag"
97370 || test ! -s conftest.err'
97371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97372 (eval $ac_try) 2>&5
97373 ac_status=$?
97374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97375 (exit $ac_status); }; } &&
97376 { ac_try='test -s conftest$ac_exeext'
97377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97378 (eval $ac_try) 2>&5
97379 ac_status=$?
97380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97381 (exit $ac_status); }; }; then
97382 eval "$as_ac_var=yes"
97383 else
97384 echo "$as_me: failed program was:" >&5
97385 sed 's/^/| /' conftest.$ac_ext >&5
97387 eval "$as_ac_var=no"
97389 rm -f conftest.err conftest.$ac_objext \
97390 conftest$ac_exeext conftest.$ac_ext
97392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97394 if test `eval echo '${'$as_ac_var'}'` = yes; then
97395 cat >>confdefs.h <<_ACEOF
97396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97397 _ACEOF
97400 done
97402 else
97404 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
97405 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
97406 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
97407 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
97408 echo $ECHO_N "(cached) $ECHO_C" >&6
97409 else
97413 ac_ext=cc
97414 ac_cpp='$CXXCPP $CPPFLAGS'
97415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97419 cat >conftest.$ac_ext <<_ACEOF
97420 /* confdefs.h. */
97421 _ACEOF
97422 cat confdefs.h >>conftest.$ac_ext
97423 cat >>conftest.$ac_ext <<_ACEOF
97424 /* end confdefs.h. */
97425 #include <math.h>
97427 main ()
97429 _modfl(0, 0);
97431 return 0;
97433 _ACEOF
97434 rm -f conftest.$ac_objext
97435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97436 (eval $ac_compile) 2>conftest.er1
97437 ac_status=$?
97438 grep -v '^ *+' conftest.er1 >conftest.err
97439 rm -f conftest.er1
97440 cat conftest.err >&5
97441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97442 (exit $ac_status); } &&
97443 { ac_try='test -z "$ac_cxx_werror_flag"
97444 || test ! -s conftest.err'
97445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97446 (eval $ac_try) 2>&5
97447 ac_status=$?
97448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97449 (exit $ac_status); }; } &&
97450 { ac_try='test -s conftest.$ac_objext'
97451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97452 (eval $ac_try) 2>&5
97453 ac_status=$?
97454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97455 (exit $ac_status); }; }; then
97456 glibcxx_cv_func__modfl_use=yes
97457 else
97458 echo "$as_me: failed program was:" >&5
97459 sed 's/^/| /' conftest.$ac_ext >&5
97461 glibcxx_cv_func__modfl_use=no
97463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97464 ac_ext=c
97465 ac_cpp='$CPP $CPPFLAGS'
97466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97474 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
97475 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
97477 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
97479 for ac_func in _modfl
97481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97482 echo "$as_me:$LINENO: checking for $ac_func" >&5
97483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97484 if eval "test \"\${$as_ac_var+set}\" = set"; then
97485 echo $ECHO_N "(cached) $ECHO_C" >&6
97486 else
97487 if test x$gcc_no_link = xyes; then
97488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97490 { (exit 1); exit 1; }; }
97492 cat >conftest.$ac_ext <<_ACEOF
97493 /* confdefs.h. */
97494 _ACEOF
97495 cat confdefs.h >>conftest.$ac_ext
97496 cat >>conftest.$ac_ext <<_ACEOF
97497 /* end confdefs.h. */
97498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97500 #define $ac_func innocuous_$ac_func
97502 /* System header to define __stub macros and hopefully few prototypes,
97503 which can conflict with char $ac_func (); below.
97504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97505 <limits.h> exists even on freestanding compilers. */
97507 #ifdef __STDC__
97508 # include <limits.h>
97509 #else
97510 # include <assert.h>
97511 #endif
97513 #undef $ac_func
97515 /* Override any gcc2 internal prototype to avoid an error. */
97516 #ifdef __cplusplus
97517 extern "C"
97519 #endif
97520 /* We use char because int might match the return type of a gcc2
97521 builtin and then its argument prototype would still apply. */
97522 char $ac_func ();
97523 /* The GNU C library defines this for functions which it implements
97524 to always fail with ENOSYS. Some functions are actually named
97525 something starting with __ and the normal name is an alias. */
97526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97527 choke me
97528 #else
97529 char (*f) () = $ac_func;
97530 #endif
97531 #ifdef __cplusplus
97533 #endif
97536 main ()
97538 return f != $ac_func;
97540 return 0;
97542 _ACEOF
97543 rm -f conftest.$ac_objext conftest$ac_exeext
97544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97545 (eval $ac_link) 2>conftest.er1
97546 ac_status=$?
97547 grep -v '^ *+' conftest.er1 >conftest.err
97548 rm -f conftest.er1
97549 cat conftest.err >&5
97550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97551 (exit $ac_status); } &&
97552 { ac_try='test -z "$ac_c_werror_flag"
97553 || test ! -s conftest.err'
97554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97555 (eval $ac_try) 2>&5
97556 ac_status=$?
97557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97558 (exit $ac_status); }; } &&
97559 { ac_try='test -s conftest$ac_exeext'
97560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97561 (eval $ac_try) 2>&5
97562 ac_status=$?
97563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97564 (exit $ac_status); }; }; then
97565 eval "$as_ac_var=yes"
97566 else
97567 echo "$as_me: failed program was:" >&5
97568 sed 's/^/| /' conftest.$ac_ext >&5
97570 eval "$as_ac_var=no"
97572 rm -f conftest.err conftest.$ac_objext \
97573 conftest$ac_exeext conftest.$ac_ext
97575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97577 if test `eval echo '${'$as_ac_var'}'` = yes; then
97578 cat >>confdefs.h <<_ACEOF
97579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97580 _ACEOF
97583 done
97593 echo "$as_me:$LINENO: checking for powl declaration" >&5
97594 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
97595 if test x${glibcxx_cv_func_powl_use+set} != xset; then
97596 if test "${glibcxx_cv_func_powl_use+set}" = set; then
97597 echo $ECHO_N "(cached) $ECHO_C" >&6
97598 else
97602 ac_ext=cc
97603 ac_cpp='$CXXCPP $CPPFLAGS'
97604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97608 cat >conftest.$ac_ext <<_ACEOF
97609 /* confdefs.h. */
97610 _ACEOF
97611 cat confdefs.h >>conftest.$ac_ext
97612 cat >>conftest.$ac_ext <<_ACEOF
97613 /* end confdefs.h. */
97614 #include <math.h>
97616 main ()
97618 powl(0, 0);
97620 return 0;
97622 _ACEOF
97623 rm -f conftest.$ac_objext
97624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97625 (eval $ac_compile) 2>conftest.er1
97626 ac_status=$?
97627 grep -v '^ *+' conftest.er1 >conftest.err
97628 rm -f conftest.er1
97629 cat conftest.err >&5
97630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97631 (exit $ac_status); } &&
97632 { ac_try='test -z "$ac_cxx_werror_flag"
97633 || test ! -s conftest.err'
97634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97635 (eval $ac_try) 2>&5
97636 ac_status=$?
97637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97638 (exit $ac_status); }; } &&
97639 { ac_try='test -s conftest.$ac_objext'
97640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97641 (eval $ac_try) 2>&5
97642 ac_status=$?
97643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97644 (exit $ac_status); }; }; then
97645 glibcxx_cv_func_powl_use=yes
97646 else
97647 echo "$as_me: failed program was:" >&5
97648 sed 's/^/| /' conftest.$ac_ext >&5
97650 glibcxx_cv_func_powl_use=no
97652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97653 ac_ext=c
97654 ac_cpp='$CPP $CPPFLAGS'
97655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97663 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
97664 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
97666 if test x$glibcxx_cv_func_powl_use = x"yes"; then
97668 for ac_func in powl
97670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97671 echo "$as_me:$LINENO: checking for $ac_func" >&5
97672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97673 if eval "test \"\${$as_ac_var+set}\" = set"; then
97674 echo $ECHO_N "(cached) $ECHO_C" >&6
97675 else
97676 if test x$gcc_no_link = xyes; then
97677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97679 { (exit 1); exit 1; }; }
97681 cat >conftest.$ac_ext <<_ACEOF
97682 /* confdefs.h. */
97683 _ACEOF
97684 cat confdefs.h >>conftest.$ac_ext
97685 cat >>conftest.$ac_ext <<_ACEOF
97686 /* end confdefs.h. */
97687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97689 #define $ac_func innocuous_$ac_func
97691 /* System header to define __stub macros and hopefully few prototypes,
97692 which can conflict with char $ac_func (); below.
97693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97694 <limits.h> exists even on freestanding compilers. */
97696 #ifdef __STDC__
97697 # include <limits.h>
97698 #else
97699 # include <assert.h>
97700 #endif
97702 #undef $ac_func
97704 /* Override any gcc2 internal prototype to avoid an error. */
97705 #ifdef __cplusplus
97706 extern "C"
97708 #endif
97709 /* We use char because int might match the return type of a gcc2
97710 builtin and then its argument prototype would still apply. */
97711 char $ac_func ();
97712 /* The GNU C library defines this for functions which it implements
97713 to always fail with ENOSYS. Some functions are actually named
97714 something starting with __ and the normal name is an alias. */
97715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97716 choke me
97717 #else
97718 char (*f) () = $ac_func;
97719 #endif
97720 #ifdef __cplusplus
97722 #endif
97725 main ()
97727 return f != $ac_func;
97729 return 0;
97731 _ACEOF
97732 rm -f conftest.$ac_objext conftest$ac_exeext
97733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97734 (eval $ac_link) 2>conftest.er1
97735 ac_status=$?
97736 grep -v '^ *+' conftest.er1 >conftest.err
97737 rm -f conftest.er1
97738 cat conftest.err >&5
97739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97740 (exit $ac_status); } &&
97741 { ac_try='test -z "$ac_c_werror_flag"
97742 || test ! -s conftest.err'
97743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97744 (eval $ac_try) 2>&5
97745 ac_status=$?
97746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97747 (exit $ac_status); }; } &&
97748 { ac_try='test -s conftest$ac_exeext'
97749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97750 (eval $ac_try) 2>&5
97751 ac_status=$?
97752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97753 (exit $ac_status); }; }; then
97754 eval "$as_ac_var=yes"
97755 else
97756 echo "$as_me: failed program was:" >&5
97757 sed 's/^/| /' conftest.$ac_ext >&5
97759 eval "$as_ac_var=no"
97761 rm -f conftest.err conftest.$ac_objext \
97762 conftest$ac_exeext conftest.$ac_ext
97764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97766 if test `eval echo '${'$as_ac_var'}'` = yes; then
97767 cat >>confdefs.h <<_ACEOF
97768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97769 _ACEOF
97772 done
97774 else
97776 echo "$as_me:$LINENO: checking for _powl declaration" >&5
97777 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
97778 if test x${glibcxx_cv_func__powl_use+set} != xset; then
97779 if test "${glibcxx_cv_func__powl_use+set}" = set; then
97780 echo $ECHO_N "(cached) $ECHO_C" >&6
97781 else
97785 ac_ext=cc
97786 ac_cpp='$CXXCPP $CPPFLAGS'
97787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97791 cat >conftest.$ac_ext <<_ACEOF
97792 /* confdefs.h. */
97793 _ACEOF
97794 cat confdefs.h >>conftest.$ac_ext
97795 cat >>conftest.$ac_ext <<_ACEOF
97796 /* end confdefs.h. */
97797 #include <math.h>
97799 main ()
97801 _powl(0, 0);
97803 return 0;
97805 _ACEOF
97806 rm -f conftest.$ac_objext
97807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97808 (eval $ac_compile) 2>conftest.er1
97809 ac_status=$?
97810 grep -v '^ *+' conftest.er1 >conftest.err
97811 rm -f conftest.er1
97812 cat conftest.err >&5
97813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97814 (exit $ac_status); } &&
97815 { ac_try='test -z "$ac_cxx_werror_flag"
97816 || test ! -s conftest.err'
97817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97818 (eval $ac_try) 2>&5
97819 ac_status=$?
97820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97821 (exit $ac_status); }; } &&
97822 { ac_try='test -s conftest.$ac_objext'
97823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97824 (eval $ac_try) 2>&5
97825 ac_status=$?
97826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97827 (exit $ac_status); }; }; then
97828 glibcxx_cv_func__powl_use=yes
97829 else
97830 echo "$as_me: failed program was:" >&5
97831 sed 's/^/| /' conftest.$ac_ext >&5
97833 glibcxx_cv_func__powl_use=no
97835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97836 ac_ext=c
97837 ac_cpp='$CPP $CPPFLAGS'
97838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97846 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
97847 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
97849 if test x$glibcxx_cv_func__powl_use = x"yes"; then
97851 for ac_func in _powl
97853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97854 echo "$as_me:$LINENO: checking for $ac_func" >&5
97855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97856 if eval "test \"\${$as_ac_var+set}\" = set"; then
97857 echo $ECHO_N "(cached) $ECHO_C" >&6
97858 else
97859 if test x$gcc_no_link = xyes; then
97860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97862 { (exit 1); exit 1; }; }
97864 cat >conftest.$ac_ext <<_ACEOF
97865 /* confdefs.h. */
97866 _ACEOF
97867 cat confdefs.h >>conftest.$ac_ext
97868 cat >>conftest.$ac_ext <<_ACEOF
97869 /* end confdefs.h. */
97870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97872 #define $ac_func innocuous_$ac_func
97874 /* System header to define __stub macros and hopefully few prototypes,
97875 which can conflict with char $ac_func (); below.
97876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97877 <limits.h> exists even on freestanding compilers. */
97879 #ifdef __STDC__
97880 # include <limits.h>
97881 #else
97882 # include <assert.h>
97883 #endif
97885 #undef $ac_func
97887 /* Override any gcc2 internal prototype to avoid an error. */
97888 #ifdef __cplusplus
97889 extern "C"
97891 #endif
97892 /* We use char because int might match the return type of a gcc2
97893 builtin and then its argument prototype would still apply. */
97894 char $ac_func ();
97895 /* The GNU C library defines this for functions which it implements
97896 to always fail with ENOSYS. Some functions are actually named
97897 something starting with __ and the normal name is an alias. */
97898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97899 choke me
97900 #else
97901 char (*f) () = $ac_func;
97902 #endif
97903 #ifdef __cplusplus
97905 #endif
97908 main ()
97910 return f != $ac_func;
97912 return 0;
97914 _ACEOF
97915 rm -f conftest.$ac_objext conftest$ac_exeext
97916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97917 (eval $ac_link) 2>conftest.er1
97918 ac_status=$?
97919 grep -v '^ *+' conftest.er1 >conftest.err
97920 rm -f conftest.er1
97921 cat conftest.err >&5
97922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97923 (exit $ac_status); } &&
97924 { ac_try='test -z "$ac_c_werror_flag"
97925 || test ! -s conftest.err'
97926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97927 (eval $ac_try) 2>&5
97928 ac_status=$?
97929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97930 (exit $ac_status); }; } &&
97931 { ac_try='test -s conftest$ac_exeext'
97932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97933 (eval $ac_try) 2>&5
97934 ac_status=$?
97935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97936 (exit $ac_status); }; }; then
97937 eval "$as_ac_var=yes"
97938 else
97939 echo "$as_me: failed program was:" >&5
97940 sed 's/^/| /' conftest.$ac_ext >&5
97942 eval "$as_ac_var=no"
97944 rm -f conftest.err conftest.$ac_objext \
97945 conftest$ac_exeext conftest.$ac_ext
97947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97949 if test `eval echo '${'$as_ac_var'}'` = yes; then
97950 cat >>confdefs.h <<_ACEOF
97951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97952 _ACEOF
97955 done
97965 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
97966 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
97967 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
97968 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
97969 echo $ECHO_N "(cached) $ECHO_C" >&6
97970 else
97974 ac_ext=cc
97975 ac_cpp='$CXXCPP $CPPFLAGS'
97976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97980 cat >conftest.$ac_ext <<_ACEOF
97981 /* confdefs.h. */
97982 _ACEOF
97983 cat confdefs.h >>conftest.$ac_ext
97984 cat >>conftest.$ac_ext <<_ACEOF
97985 /* end confdefs.h. */
97986 #include <math.h>
97987 #ifdef HAVE_IEEEFP_H
97988 #include <ieeefp.h>
97989 #endif
97992 main ()
97994 sqrtl(0);
97996 return 0;
97998 _ACEOF
97999 rm -f conftest.$ac_objext
98000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98001 (eval $ac_compile) 2>conftest.er1
98002 ac_status=$?
98003 grep -v '^ *+' conftest.er1 >conftest.err
98004 rm -f conftest.er1
98005 cat conftest.err >&5
98006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98007 (exit $ac_status); } &&
98008 { ac_try='test -z "$ac_cxx_werror_flag"
98009 || test ! -s conftest.err'
98010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98011 (eval $ac_try) 2>&5
98012 ac_status=$?
98013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98014 (exit $ac_status); }; } &&
98015 { ac_try='test -s conftest.$ac_objext'
98016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98017 (eval $ac_try) 2>&5
98018 ac_status=$?
98019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98020 (exit $ac_status); }; }; then
98021 glibcxx_cv_func_sqrtl_use=yes
98022 else
98023 echo "$as_me: failed program was:" >&5
98024 sed 's/^/| /' conftest.$ac_ext >&5
98026 glibcxx_cv_func_sqrtl_use=no
98028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98029 ac_ext=c
98030 ac_cpp='$CPP $CPPFLAGS'
98031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98039 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
98040 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
98042 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
98044 for ac_func in sqrtl
98046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98047 echo "$as_me:$LINENO: checking for $ac_func" >&5
98048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98049 if eval "test \"\${$as_ac_var+set}\" = set"; then
98050 echo $ECHO_N "(cached) $ECHO_C" >&6
98051 else
98052 if test x$gcc_no_link = xyes; then
98053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98055 { (exit 1); exit 1; }; }
98057 cat >conftest.$ac_ext <<_ACEOF
98058 /* confdefs.h. */
98059 _ACEOF
98060 cat confdefs.h >>conftest.$ac_ext
98061 cat >>conftest.$ac_ext <<_ACEOF
98062 /* end confdefs.h. */
98063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98065 #define $ac_func innocuous_$ac_func
98067 /* System header to define __stub macros and hopefully few prototypes,
98068 which can conflict with char $ac_func (); below.
98069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98070 <limits.h> exists even on freestanding compilers. */
98072 #ifdef __STDC__
98073 # include <limits.h>
98074 #else
98075 # include <assert.h>
98076 #endif
98078 #undef $ac_func
98080 /* Override any gcc2 internal prototype to avoid an error. */
98081 #ifdef __cplusplus
98082 extern "C"
98084 #endif
98085 /* We use char because int might match the return type of a gcc2
98086 builtin and then its argument prototype would still apply. */
98087 char $ac_func ();
98088 /* The GNU C library defines this for functions which it implements
98089 to always fail with ENOSYS. Some functions are actually named
98090 something starting with __ and the normal name is an alias. */
98091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98092 choke me
98093 #else
98094 char (*f) () = $ac_func;
98095 #endif
98096 #ifdef __cplusplus
98098 #endif
98101 main ()
98103 return f != $ac_func;
98105 return 0;
98107 _ACEOF
98108 rm -f conftest.$ac_objext conftest$ac_exeext
98109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98110 (eval $ac_link) 2>conftest.er1
98111 ac_status=$?
98112 grep -v '^ *+' conftest.er1 >conftest.err
98113 rm -f conftest.er1
98114 cat conftest.err >&5
98115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98116 (exit $ac_status); } &&
98117 { ac_try='test -z "$ac_c_werror_flag"
98118 || test ! -s conftest.err'
98119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98120 (eval $ac_try) 2>&5
98121 ac_status=$?
98122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98123 (exit $ac_status); }; } &&
98124 { ac_try='test -s conftest$ac_exeext'
98125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98126 (eval $ac_try) 2>&5
98127 ac_status=$?
98128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98129 (exit $ac_status); }; }; then
98130 eval "$as_ac_var=yes"
98131 else
98132 echo "$as_me: failed program was:" >&5
98133 sed 's/^/| /' conftest.$ac_ext >&5
98135 eval "$as_ac_var=no"
98137 rm -f conftest.err conftest.$ac_objext \
98138 conftest$ac_exeext conftest.$ac_ext
98140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98142 if test `eval echo '${'$as_ac_var'}'` = yes; then
98143 cat >>confdefs.h <<_ACEOF
98144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98145 _ACEOF
98148 done
98150 else
98152 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
98153 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
98154 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
98155 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
98156 echo $ECHO_N "(cached) $ECHO_C" >&6
98157 else
98161 ac_ext=cc
98162 ac_cpp='$CXXCPP $CPPFLAGS'
98163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98167 cat >conftest.$ac_ext <<_ACEOF
98168 /* confdefs.h. */
98169 _ACEOF
98170 cat confdefs.h >>conftest.$ac_ext
98171 cat >>conftest.$ac_ext <<_ACEOF
98172 /* end confdefs.h. */
98173 #include <math.h>
98174 #ifdef HAVE_IEEEFP_H
98175 #include <ieeefp.h>
98176 #endif
98179 main ()
98181 _sqrtl(0);
98183 return 0;
98185 _ACEOF
98186 rm -f conftest.$ac_objext
98187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98188 (eval $ac_compile) 2>conftest.er1
98189 ac_status=$?
98190 grep -v '^ *+' conftest.er1 >conftest.err
98191 rm -f conftest.er1
98192 cat conftest.err >&5
98193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98194 (exit $ac_status); } &&
98195 { ac_try='test -z "$ac_cxx_werror_flag"
98196 || test ! -s conftest.err'
98197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98198 (eval $ac_try) 2>&5
98199 ac_status=$?
98200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98201 (exit $ac_status); }; } &&
98202 { ac_try='test -s conftest.$ac_objext'
98203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98204 (eval $ac_try) 2>&5
98205 ac_status=$?
98206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98207 (exit $ac_status); }; }; then
98208 glibcxx_cv_func__sqrtl_use=yes
98209 else
98210 echo "$as_me: failed program was:" >&5
98211 sed 's/^/| /' conftest.$ac_ext >&5
98213 glibcxx_cv_func__sqrtl_use=no
98215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98216 ac_ext=c
98217 ac_cpp='$CPP $CPPFLAGS'
98218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98226 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
98227 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
98229 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
98231 for ac_func in _sqrtl
98233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98234 echo "$as_me:$LINENO: checking for $ac_func" >&5
98235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98236 if eval "test \"\${$as_ac_var+set}\" = set"; then
98237 echo $ECHO_N "(cached) $ECHO_C" >&6
98238 else
98239 if test x$gcc_no_link = xyes; then
98240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98242 { (exit 1); exit 1; }; }
98244 cat >conftest.$ac_ext <<_ACEOF
98245 /* confdefs.h. */
98246 _ACEOF
98247 cat confdefs.h >>conftest.$ac_ext
98248 cat >>conftest.$ac_ext <<_ACEOF
98249 /* end confdefs.h. */
98250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98252 #define $ac_func innocuous_$ac_func
98254 /* System header to define __stub macros and hopefully few prototypes,
98255 which can conflict with char $ac_func (); below.
98256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98257 <limits.h> exists even on freestanding compilers. */
98259 #ifdef __STDC__
98260 # include <limits.h>
98261 #else
98262 # include <assert.h>
98263 #endif
98265 #undef $ac_func
98267 /* Override any gcc2 internal prototype to avoid an error. */
98268 #ifdef __cplusplus
98269 extern "C"
98271 #endif
98272 /* We use char because int might match the return type of a gcc2
98273 builtin and then its argument prototype would still apply. */
98274 char $ac_func ();
98275 /* The GNU C library defines this for functions which it implements
98276 to always fail with ENOSYS. Some functions are actually named
98277 something starting with __ and the normal name is an alias. */
98278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98279 choke me
98280 #else
98281 char (*f) () = $ac_func;
98282 #endif
98283 #ifdef __cplusplus
98285 #endif
98288 main ()
98290 return f != $ac_func;
98292 return 0;
98294 _ACEOF
98295 rm -f conftest.$ac_objext conftest$ac_exeext
98296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98297 (eval $ac_link) 2>conftest.er1
98298 ac_status=$?
98299 grep -v '^ *+' conftest.er1 >conftest.err
98300 rm -f conftest.er1
98301 cat conftest.err >&5
98302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98303 (exit $ac_status); } &&
98304 { ac_try='test -z "$ac_c_werror_flag"
98305 || test ! -s conftest.err'
98306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98307 (eval $ac_try) 2>&5
98308 ac_status=$?
98309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98310 (exit $ac_status); }; } &&
98311 { ac_try='test -s conftest$ac_exeext'
98312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98313 (eval $ac_try) 2>&5
98314 ac_status=$?
98315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98316 (exit $ac_status); }; }; then
98317 eval "$as_ac_var=yes"
98318 else
98319 echo "$as_me: failed program was:" >&5
98320 sed 's/^/| /' conftest.$ac_ext >&5
98322 eval "$as_ac_var=no"
98324 rm -f conftest.err conftest.$ac_objext \
98325 conftest$ac_exeext conftest.$ac_ext
98327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98329 if test `eval echo '${'$as_ac_var'}'` = yes; then
98330 cat >>confdefs.h <<_ACEOF
98331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98332 _ACEOF
98335 done
98345 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
98346 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
98347 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
98348 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
98349 echo $ECHO_N "(cached) $ECHO_C" >&6
98350 else
98354 ac_ext=cc
98355 ac_cpp='$CXXCPP $CPPFLAGS'
98356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98360 cat >conftest.$ac_ext <<_ACEOF
98361 /* confdefs.h. */
98362 _ACEOF
98363 cat confdefs.h >>conftest.$ac_ext
98364 cat >>conftest.$ac_ext <<_ACEOF
98365 /* end confdefs.h. */
98366 #include <math.h>
98368 main ()
98370 sincosl(0, 0, 0);
98372 return 0;
98374 _ACEOF
98375 rm -f conftest.$ac_objext
98376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98377 (eval $ac_compile) 2>conftest.er1
98378 ac_status=$?
98379 grep -v '^ *+' conftest.er1 >conftest.err
98380 rm -f conftest.er1
98381 cat conftest.err >&5
98382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98383 (exit $ac_status); } &&
98384 { ac_try='test -z "$ac_cxx_werror_flag"
98385 || test ! -s conftest.err'
98386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98387 (eval $ac_try) 2>&5
98388 ac_status=$?
98389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98390 (exit $ac_status); }; } &&
98391 { ac_try='test -s conftest.$ac_objext'
98392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98393 (eval $ac_try) 2>&5
98394 ac_status=$?
98395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98396 (exit $ac_status); }; }; then
98397 glibcxx_cv_func_sincosl_use=yes
98398 else
98399 echo "$as_me: failed program was:" >&5
98400 sed 's/^/| /' conftest.$ac_ext >&5
98402 glibcxx_cv_func_sincosl_use=no
98404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98405 ac_ext=c
98406 ac_cpp='$CPP $CPPFLAGS'
98407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98415 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
98416 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
98418 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
98420 for ac_func in sincosl
98422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98423 echo "$as_me:$LINENO: checking for $ac_func" >&5
98424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98425 if eval "test \"\${$as_ac_var+set}\" = set"; then
98426 echo $ECHO_N "(cached) $ECHO_C" >&6
98427 else
98428 if test x$gcc_no_link = xyes; then
98429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98431 { (exit 1); exit 1; }; }
98433 cat >conftest.$ac_ext <<_ACEOF
98434 /* confdefs.h. */
98435 _ACEOF
98436 cat confdefs.h >>conftest.$ac_ext
98437 cat >>conftest.$ac_ext <<_ACEOF
98438 /* end confdefs.h. */
98439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98441 #define $ac_func innocuous_$ac_func
98443 /* System header to define __stub macros and hopefully few prototypes,
98444 which can conflict with char $ac_func (); below.
98445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98446 <limits.h> exists even on freestanding compilers. */
98448 #ifdef __STDC__
98449 # include <limits.h>
98450 #else
98451 # include <assert.h>
98452 #endif
98454 #undef $ac_func
98456 /* Override any gcc2 internal prototype to avoid an error. */
98457 #ifdef __cplusplus
98458 extern "C"
98460 #endif
98461 /* We use char because int might match the return type of a gcc2
98462 builtin and then its argument prototype would still apply. */
98463 char $ac_func ();
98464 /* The GNU C library defines this for functions which it implements
98465 to always fail with ENOSYS. Some functions are actually named
98466 something starting with __ and the normal name is an alias. */
98467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98468 choke me
98469 #else
98470 char (*f) () = $ac_func;
98471 #endif
98472 #ifdef __cplusplus
98474 #endif
98477 main ()
98479 return f != $ac_func;
98481 return 0;
98483 _ACEOF
98484 rm -f conftest.$ac_objext conftest$ac_exeext
98485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98486 (eval $ac_link) 2>conftest.er1
98487 ac_status=$?
98488 grep -v '^ *+' conftest.er1 >conftest.err
98489 rm -f conftest.er1
98490 cat conftest.err >&5
98491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98492 (exit $ac_status); } &&
98493 { ac_try='test -z "$ac_c_werror_flag"
98494 || test ! -s conftest.err'
98495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98496 (eval $ac_try) 2>&5
98497 ac_status=$?
98498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98499 (exit $ac_status); }; } &&
98500 { ac_try='test -s conftest$ac_exeext'
98501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98502 (eval $ac_try) 2>&5
98503 ac_status=$?
98504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98505 (exit $ac_status); }; }; then
98506 eval "$as_ac_var=yes"
98507 else
98508 echo "$as_me: failed program was:" >&5
98509 sed 's/^/| /' conftest.$ac_ext >&5
98511 eval "$as_ac_var=no"
98513 rm -f conftest.err conftest.$ac_objext \
98514 conftest$ac_exeext conftest.$ac_ext
98516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98518 if test `eval echo '${'$as_ac_var'}'` = yes; then
98519 cat >>confdefs.h <<_ACEOF
98520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98521 _ACEOF
98524 done
98526 else
98528 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
98529 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
98530 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
98531 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
98532 echo $ECHO_N "(cached) $ECHO_C" >&6
98533 else
98537 ac_ext=cc
98538 ac_cpp='$CXXCPP $CPPFLAGS'
98539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98543 cat >conftest.$ac_ext <<_ACEOF
98544 /* confdefs.h. */
98545 _ACEOF
98546 cat confdefs.h >>conftest.$ac_ext
98547 cat >>conftest.$ac_ext <<_ACEOF
98548 /* end confdefs.h. */
98549 #include <math.h>
98551 main ()
98553 _sincosl(0, 0, 0);
98555 return 0;
98557 _ACEOF
98558 rm -f conftest.$ac_objext
98559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98560 (eval $ac_compile) 2>conftest.er1
98561 ac_status=$?
98562 grep -v '^ *+' conftest.er1 >conftest.err
98563 rm -f conftest.er1
98564 cat conftest.err >&5
98565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98566 (exit $ac_status); } &&
98567 { ac_try='test -z "$ac_cxx_werror_flag"
98568 || test ! -s conftest.err'
98569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98570 (eval $ac_try) 2>&5
98571 ac_status=$?
98572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98573 (exit $ac_status); }; } &&
98574 { ac_try='test -s conftest.$ac_objext'
98575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98576 (eval $ac_try) 2>&5
98577 ac_status=$?
98578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98579 (exit $ac_status); }; }; then
98580 glibcxx_cv_func__sincosl_use=yes
98581 else
98582 echo "$as_me: failed program was:" >&5
98583 sed 's/^/| /' conftest.$ac_ext >&5
98585 glibcxx_cv_func__sincosl_use=no
98587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98588 ac_ext=c
98589 ac_cpp='$CPP $CPPFLAGS'
98590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98598 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
98599 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
98601 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
98603 for ac_func in _sincosl
98605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98606 echo "$as_me:$LINENO: checking for $ac_func" >&5
98607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98608 if eval "test \"\${$as_ac_var+set}\" = set"; then
98609 echo $ECHO_N "(cached) $ECHO_C" >&6
98610 else
98611 if test x$gcc_no_link = xyes; then
98612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98614 { (exit 1); exit 1; }; }
98616 cat >conftest.$ac_ext <<_ACEOF
98617 /* confdefs.h. */
98618 _ACEOF
98619 cat confdefs.h >>conftest.$ac_ext
98620 cat >>conftest.$ac_ext <<_ACEOF
98621 /* end confdefs.h. */
98622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98624 #define $ac_func innocuous_$ac_func
98626 /* System header to define __stub macros and hopefully few prototypes,
98627 which can conflict with char $ac_func (); below.
98628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98629 <limits.h> exists even on freestanding compilers. */
98631 #ifdef __STDC__
98632 # include <limits.h>
98633 #else
98634 # include <assert.h>
98635 #endif
98637 #undef $ac_func
98639 /* Override any gcc2 internal prototype to avoid an error. */
98640 #ifdef __cplusplus
98641 extern "C"
98643 #endif
98644 /* We use char because int might match the return type of a gcc2
98645 builtin and then its argument prototype would still apply. */
98646 char $ac_func ();
98647 /* The GNU C library defines this for functions which it implements
98648 to always fail with ENOSYS. Some functions are actually named
98649 something starting with __ and the normal name is an alias. */
98650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98651 choke me
98652 #else
98653 char (*f) () = $ac_func;
98654 #endif
98655 #ifdef __cplusplus
98657 #endif
98660 main ()
98662 return f != $ac_func;
98664 return 0;
98666 _ACEOF
98667 rm -f conftest.$ac_objext conftest$ac_exeext
98668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98669 (eval $ac_link) 2>conftest.er1
98670 ac_status=$?
98671 grep -v '^ *+' conftest.er1 >conftest.err
98672 rm -f conftest.er1
98673 cat conftest.err >&5
98674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98675 (exit $ac_status); } &&
98676 { ac_try='test -z "$ac_c_werror_flag"
98677 || test ! -s conftest.err'
98678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98679 (eval $ac_try) 2>&5
98680 ac_status=$?
98681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98682 (exit $ac_status); }; } &&
98683 { ac_try='test -s conftest$ac_exeext'
98684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98685 (eval $ac_try) 2>&5
98686 ac_status=$?
98687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98688 (exit $ac_status); }; }; then
98689 eval "$as_ac_var=yes"
98690 else
98691 echo "$as_me: failed program was:" >&5
98692 sed 's/^/| /' conftest.$ac_ext >&5
98694 eval "$as_ac_var=no"
98696 rm -f conftest.err conftest.$ac_objext \
98697 conftest$ac_exeext conftest.$ac_ext
98699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98701 if test `eval echo '${'$as_ac_var'}'` = yes; then
98702 cat >>confdefs.h <<_ACEOF
98703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98704 _ACEOF
98707 done
98717 echo "$as_me:$LINENO: checking for finitel declaration" >&5
98718 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
98719 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
98720 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
98721 echo $ECHO_N "(cached) $ECHO_C" >&6
98722 else
98726 ac_ext=cc
98727 ac_cpp='$CXXCPP $CPPFLAGS'
98728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98732 cat >conftest.$ac_ext <<_ACEOF
98733 /* confdefs.h. */
98734 _ACEOF
98735 cat confdefs.h >>conftest.$ac_ext
98736 cat >>conftest.$ac_ext <<_ACEOF
98737 /* end confdefs.h. */
98738 #include <math.h>
98739 #ifdef HAVE_IEEEFP_H
98740 #include <ieeefp.h>
98741 #endif
98744 main ()
98746 finitel(0);
98748 return 0;
98750 _ACEOF
98751 rm -f conftest.$ac_objext
98752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98753 (eval $ac_compile) 2>conftest.er1
98754 ac_status=$?
98755 grep -v '^ *+' conftest.er1 >conftest.err
98756 rm -f conftest.er1
98757 cat conftest.err >&5
98758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98759 (exit $ac_status); } &&
98760 { ac_try='test -z "$ac_cxx_werror_flag"
98761 || test ! -s conftest.err'
98762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98763 (eval $ac_try) 2>&5
98764 ac_status=$?
98765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98766 (exit $ac_status); }; } &&
98767 { ac_try='test -s conftest.$ac_objext'
98768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98769 (eval $ac_try) 2>&5
98770 ac_status=$?
98771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98772 (exit $ac_status); }; }; then
98773 glibcxx_cv_func_finitel_use=yes
98774 else
98775 echo "$as_me: failed program was:" >&5
98776 sed 's/^/| /' conftest.$ac_ext >&5
98778 glibcxx_cv_func_finitel_use=no
98780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98781 ac_ext=c
98782 ac_cpp='$CPP $CPPFLAGS'
98783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98791 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
98792 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
98794 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
98796 for ac_func in finitel
98798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98799 echo "$as_me:$LINENO: checking for $ac_func" >&5
98800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98801 if eval "test \"\${$as_ac_var+set}\" = set"; then
98802 echo $ECHO_N "(cached) $ECHO_C" >&6
98803 else
98804 if test x$gcc_no_link = xyes; then
98805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98807 { (exit 1); exit 1; }; }
98809 cat >conftest.$ac_ext <<_ACEOF
98810 /* confdefs.h. */
98811 _ACEOF
98812 cat confdefs.h >>conftest.$ac_ext
98813 cat >>conftest.$ac_ext <<_ACEOF
98814 /* end confdefs.h. */
98815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98817 #define $ac_func innocuous_$ac_func
98819 /* System header to define __stub macros and hopefully few prototypes,
98820 which can conflict with char $ac_func (); below.
98821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98822 <limits.h> exists even on freestanding compilers. */
98824 #ifdef __STDC__
98825 # include <limits.h>
98826 #else
98827 # include <assert.h>
98828 #endif
98830 #undef $ac_func
98832 /* Override any gcc2 internal prototype to avoid an error. */
98833 #ifdef __cplusplus
98834 extern "C"
98836 #endif
98837 /* We use char because int might match the return type of a gcc2
98838 builtin and then its argument prototype would still apply. */
98839 char $ac_func ();
98840 /* The GNU C library defines this for functions which it implements
98841 to always fail with ENOSYS. Some functions are actually named
98842 something starting with __ and the normal name is an alias. */
98843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98844 choke me
98845 #else
98846 char (*f) () = $ac_func;
98847 #endif
98848 #ifdef __cplusplus
98850 #endif
98853 main ()
98855 return f != $ac_func;
98857 return 0;
98859 _ACEOF
98860 rm -f conftest.$ac_objext conftest$ac_exeext
98861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98862 (eval $ac_link) 2>conftest.er1
98863 ac_status=$?
98864 grep -v '^ *+' conftest.er1 >conftest.err
98865 rm -f conftest.er1
98866 cat conftest.err >&5
98867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98868 (exit $ac_status); } &&
98869 { ac_try='test -z "$ac_c_werror_flag"
98870 || test ! -s conftest.err'
98871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98872 (eval $ac_try) 2>&5
98873 ac_status=$?
98874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98875 (exit $ac_status); }; } &&
98876 { ac_try='test -s conftest$ac_exeext'
98877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98878 (eval $ac_try) 2>&5
98879 ac_status=$?
98880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98881 (exit $ac_status); }; }; then
98882 eval "$as_ac_var=yes"
98883 else
98884 echo "$as_me: failed program was:" >&5
98885 sed 's/^/| /' conftest.$ac_ext >&5
98887 eval "$as_ac_var=no"
98889 rm -f conftest.err conftest.$ac_objext \
98890 conftest$ac_exeext conftest.$ac_ext
98892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98894 if test `eval echo '${'$as_ac_var'}'` = yes; then
98895 cat >>confdefs.h <<_ACEOF
98896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98897 _ACEOF
98900 done
98902 else
98904 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
98905 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
98906 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
98907 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
98908 echo $ECHO_N "(cached) $ECHO_C" >&6
98909 else
98913 ac_ext=cc
98914 ac_cpp='$CXXCPP $CPPFLAGS'
98915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98919 cat >conftest.$ac_ext <<_ACEOF
98920 /* confdefs.h. */
98921 _ACEOF
98922 cat confdefs.h >>conftest.$ac_ext
98923 cat >>conftest.$ac_ext <<_ACEOF
98924 /* end confdefs.h. */
98925 #include <math.h>
98926 #ifdef HAVE_IEEEFP_H
98927 #include <ieeefp.h>
98928 #endif
98931 main ()
98933 _finitel(0);
98935 return 0;
98937 _ACEOF
98938 rm -f conftest.$ac_objext
98939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98940 (eval $ac_compile) 2>conftest.er1
98941 ac_status=$?
98942 grep -v '^ *+' conftest.er1 >conftest.err
98943 rm -f conftest.er1
98944 cat conftest.err >&5
98945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98946 (exit $ac_status); } &&
98947 { ac_try='test -z "$ac_cxx_werror_flag"
98948 || test ! -s conftest.err'
98949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98950 (eval $ac_try) 2>&5
98951 ac_status=$?
98952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98953 (exit $ac_status); }; } &&
98954 { ac_try='test -s conftest.$ac_objext'
98955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98956 (eval $ac_try) 2>&5
98957 ac_status=$?
98958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98959 (exit $ac_status); }; }; then
98960 glibcxx_cv_func__finitel_use=yes
98961 else
98962 echo "$as_me: failed program was:" >&5
98963 sed 's/^/| /' conftest.$ac_ext >&5
98965 glibcxx_cv_func__finitel_use=no
98967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98968 ac_ext=c
98969 ac_cpp='$CPP $CPPFLAGS'
98970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98978 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
98979 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
98981 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
98983 for ac_func in _finitel
98985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98986 echo "$as_me:$LINENO: checking for $ac_func" >&5
98987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98988 if eval "test \"\${$as_ac_var+set}\" = set"; then
98989 echo $ECHO_N "(cached) $ECHO_C" >&6
98990 else
98991 if test x$gcc_no_link = xyes; then
98992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98994 { (exit 1); exit 1; }; }
98996 cat >conftest.$ac_ext <<_ACEOF
98997 /* confdefs.h. */
98998 _ACEOF
98999 cat confdefs.h >>conftest.$ac_ext
99000 cat >>conftest.$ac_ext <<_ACEOF
99001 /* end confdefs.h. */
99002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99004 #define $ac_func innocuous_$ac_func
99006 /* System header to define __stub macros and hopefully few prototypes,
99007 which can conflict with char $ac_func (); below.
99008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99009 <limits.h> exists even on freestanding compilers. */
99011 #ifdef __STDC__
99012 # include <limits.h>
99013 #else
99014 # include <assert.h>
99015 #endif
99017 #undef $ac_func
99019 /* Override any gcc2 internal prototype to avoid an error. */
99020 #ifdef __cplusplus
99021 extern "C"
99023 #endif
99024 /* We use char because int might match the return type of a gcc2
99025 builtin and then its argument prototype would still apply. */
99026 char $ac_func ();
99027 /* The GNU C library defines this for functions which it implements
99028 to always fail with ENOSYS. Some functions are actually named
99029 something starting with __ and the normal name is an alias. */
99030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99031 choke me
99032 #else
99033 char (*f) () = $ac_func;
99034 #endif
99035 #ifdef __cplusplus
99037 #endif
99040 main ()
99042 return f != $ac_func;
99044 return 0;
99046 _ACEOF
99047 rm -f conftest.$ac_objext conftest$ac_exeext
99048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99049 (eval $ac_link) 2>conftest.er1
99050 ac_status=$?
99051 grep -v '^ *+' conftest.er1 >conftest.err
99052 rm -f conftest.er1
99053 cat conftest.err >&5
99054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99055 (exit $ac_status); } &&
99056 { ac_try='test -z "$ac_c_werror_flag"
99057 || test ! -s conftest.err'
99058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99059 (eval $ac_try) 2>&5
99060 ac_status=$?
99061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99062 (exit $ac_status); }; } &&
99063 { ac_try='test -s conftest$ac_exeext'
99064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99065 (eval $ac_try) 2>&5
99066 ac_status=$?
99067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99068 (exit $ac_status); }; }; then
99069 eval "$as_ac_var=yes"
99070 else
99071 echo "$as_me: failed program was:" >&5
99072 sed 's/^/| /' conftest.$ac_ext >&5
99074 eval "$as_ac_var=no"
99076 rm -f conftest.err conftest.$ac_objext \
99077 conftest$ac_exeext conftest.$ac_ext
99079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99081 if test `eval echo '${'$as_ac_var'}'` = yes; then
99082 cat >>confdefs.h <<_ACEOF
99083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99084 _ACEOF
99087 done
99096 LIBS="$ac_save_LIBS"
99097 CXXFLAGS="$ac_save_CXXFLAGS"
99101 echo "$as_me:$LINENO: checking for main in -lm" >&5
99102 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
99103 if test "${ac_cv_lib_m_main+set}" = set; then
99104 echo $ECHO_N "(cached) $ECHO_C" >&6
99105 else
99106 ac_check_lib_save_LIBS=$LIBS
99107 LIBS="-lm $LIBS"
99108 if test x$gcc_no_link = xyes; then
99109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99111 { (exit 1); exit 1; }; }
99113 cat >conftest.$ac_ext <<_ACEOF
99114 /* confdefs.h. */
99115 _ACEOF
99116 cat confdefs.h >>conftest.$ac_ext
99117 cat >>conftest.$ac_ext <<_ACEOF
99118 /* end confdefs.h. */
99122 main ()
99124 main ();
99126 return 0;
99128 _ACEOF
99129 rm -f conftest.$ac_objext conftest$ac_exeext
99130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99131 (eval $ac_link) 2>conftest.er1
99132 ac_status=$?
99133 grep -v '^ *+' conftest.er1 >conftest.err
99134 rm -f conftest.er1
99135 cat conftest.err >&5
99136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99137 (exit $ac_status); } &&
99138 { ac_try='test -z "$ac_c_werror_flag"
99139 || test ! -s conftest.err'
99140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99141 (eval $ac_try) 2>&5
99142 ac_status=$?
99143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99144 (exit $ac_status); }; } &&
99145 { ac_try='test -s conftest$ac_exeext'
99146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99147 (eval $ac_try) 2>&5
99148 ac_status=$?
99149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99150 (exit $ac_status); }; }; then
99151 ac_cv_lib_m_main=yes
99152 else
99153 echo "$as_me: failed program was:" >&5
99154 sed 's/^/| /' conftest.$ac_ext >&5
99156 ac_cv_lib_m_main=no
99158 rm -f conftest.err conftest.$ac_objext \
99159 conftest$ac_exeext conftest.$ac_ext
99160 LIBS=$ac_check_lib_save_LIBS
99162 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
99163 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
99164 if test $ac_cv_lib_m_main = yes; then
99165 cat >>confdefs.h <<_ACEOF
99166 #define HAVE_LIBM 1
99167 _ACEOF
99169 LIBS="-lm $LIBS"
99174 for ac_func in copysignf
99176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99177 echo "$as_me:$LINENO: checking for $ac_func" >&5
99178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99179 if eval "test \"\${$as_ac_var+set}\" = set"; then
99180 echo $ECHO_N "(cached) $ECHO_C" >&6
99181 else
99182 if test x$gcc_no_link = xyes; then
99183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99185 { (exit 1); exit 1; }; }
99187 cat >conftest.$ac_ext <<_ACEOF
99188 /* confdefs.h. */
99189 _ACEOF
99190 cat confdefs.h >>conftest.$ac_ext
99191 cat >>conftest.$ac_ext <<_ACEOF
99192 /* end confdefs.h. */
99193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99195 #define $ac_func innocuous_$ac_func
99197 /* System header to define __stub macros and hopefully few prototypes,
99198 which can conflict with char $ac_func (); below.
99199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99200 <limits.h> exists even on freestanding compilers. */
99202 #ifdef __STDC__
99203 # include <limits.h>
99204 #else
99205 # include <assert.h>
99206 #endif
99208 #undef $ac_func
99210 /* Override any gcc2 internal prototype to avoid an error. */
99211 #ifdef __cplusplus
99212 extern "C"
99214 #endif
99215 /* We use char because int might match the return type of a gcc2
99216 builtin and then its argument prototype would still apply. */
99217 char $ac_func ();
99218 /* The GNU C library defines this for functions which it implements
99219 to always fail with ENOSYS. Some functions are actually named
99220 something starting with __ and the normal name is an alias. */
99221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99222 choke me
99223 #else
99224 char (*f) () = $ac_func;
99225 #endif
99226 #ifdef __cplusplus
99228 #endif
99231 main ()
99233 return f != $ac_func;
99235 return 0;
99237 _ACEOF
99238 rm -f conftest.$ac_objext conftest$ac_exeext
99239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99240 (eval $ac_link) 2>conftest.er1
99241 ac_status=$?
99242 grep -v '^ *+' conftest.er1 >conftest.err
99243 rm -f conftest.er1
99244 cat conftest.err >&5
99245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99246 (exit $ac_status); } &&
99247 { ac_try='test -z "$ac_c_werror_flag"
99248 || test ! -s conftest.err'
99249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99250 (eval $ac_try) 2>&5
99251 ac_status=$?
99252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99253 (exit $ac_status); }; } &&
99254 { ac_try='test -s conftest$ac_exeext'
99255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99256 (eval $ac_try) 2>&5
99257 ac_status=$?
99258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99259 (exit $ac_status); }; }; then
99260 eval "$as_ac_var=yes"
99261 else
99262 echo "$as_me: failed program was:" >&5
99263 sed 's/^/| /' conftest.$ac_ext >&5
99265 eval "$as_ac_var=no"
99267 rm -f conftest.err conftest.$ac_objext \
99268 conftest$ac_exeext conftest.$ac_ext
99270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99272 if test `eval echo '${'$as_ac_var'}'` = yes; then
99273 cat >>confdefs.h <<_ACEOF
99274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99275 _ACEOF
99277 else
99278 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
99280 done
99284 for ac_func in __signbit
99286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99287 echo "$as_me:$LINENO: checking for $ac_func" >&5
99288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99289 if eval "test \"\${$as_ac_var+set}\" = set"; then
99290 echo $ECHO_N "(cached) $ECHO_C" >&6
99291 else
99292 if test x$gcc_no_link = xyes; then
99293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99295 { (exit 1); exit 1; }; }
99297 cat >conftest.$ac_ext <<_ACEOF
99298 /* confdefs.h. */
99299 _ACEOF
99300 cat confdefs.h >>conftest.$ac_ext
99301 cat >>conftest.$ac_ext <<_ACEOF
99302 /* end confdefs.h. */
99303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99305 #define $ac_func innocuous_$ac_func
99307 /* System header to define __stub macros and hopefully few prototypes,
99308 which can conflict with char $ac_func (); below.
99309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99310 <limits.h> exists even on freestanding compilers. */
99312 #ifdef __STDC__
99313 # include <limits.h>
99314 #else
99315 # include <assert.h>
99316 #endif
99318 #undef $ac_func
99320 /* Override any gcc2 internal prototype to avoid an error. */
99321 #ifdef __cplusplus
99322 extern "C"
99324 #endif
99325 /* We use char because int might match the return type of a gcc2
99326 builtin and then its argument prototype would still apply. */
99327 char $ac_func ();
99328 /* The GNU C library defines this for functions which it implements
99329 to always fail with ENOSYS. Some functions are actually named
99330 something starting with __ and the normal name is an alias. */
99331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99332 choke me
99333 #else
99334 char (*f) () = $ac_func;
99335 #endif
99336 #ifdef __cplusplus
99338 #endif
99341 main ()
99343 return f != $ac_func;
99345 return 0;
99347 _ACEOF
99348 rm -f conftest.$ac_objext conftest$ac_exeext
99349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99350 (eval $ac_link) 2>conftest.er1
99351 ac_status=$?
99352 grep -v '^ *+' conftest.er1 >conftest.err
99353 rm -f conftest.er1
99354 cat conftest.err >&5
99355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99356 (exit $ac_status); } &&
99357 { ac_try='test -z "$ac_c_werror_flag"
99358 || test ! -s conftest.err'
99359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99360 (eval $ac_try) 2>&5
99361 ac_status=$?
99362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99363 (exit $ac_status); }; } &&
99364 { ac_try='test -s conftest$ac_exeext'
99365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99366 (eval $ac_try) 2>&5
99367 ac_status=$?
99368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99369 (exit $ac_status); }; }; then
99370 eval "$as_ac_var=yes"
99371 else
99372 echo "$as_me: failed program was:" >&5
99373 sed 's/^/| /' conftest.$ac_ext >&5
99375 eval "$as_ac_var=no"
99377 rm -f conftest.err conftest.$ac_objext \
99378 conftest$ac_exeext conftest.$ac_ext
99380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99382 if test `eval echo '${'$as_ac_var'}'` = yes; then
99383 cat >>confdefs.h <<_ACEOF
99384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99385 _ACEOF
99387 else
99388 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
99390 done
99394 for ac_func in __signbitf
99396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99397 echo "$as_me:$LINENO: checking for $ac_func" >&5
99398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99399 if eval "test \"\${$as_ac_var+set}\" = set"; then
99400 echo $ECHO_N "(cached) $ECHO_C" >&6
99401 else
99402 if test x$gcc_no_link = xyes; then
99403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99405 { (exit 1); exit 1; }; }
99407 cat >conftest.$ac_ext <<_ACEOF
99408 /* confdefs.h. */
99409 _ACEOF
99410 cat confdefs.h >>conftest.$ac_ext
99411 cat >>conftest.$ac_ext <<_ACEOF
99412 /* end confdefs.h. */
99413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99415 #define $ac_func innocuous_$ac_func
99417 /* System header to define __stub macros and hopefully few prototypes,
99418 which can conflict with char $ac_func (); below.
99419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99420 <limits.h> exists even on freestanding compilers. */
99422 #ifdef __STDC__
99423 # include <limits.h>
99424 #else
99425 # include <assert.h>
99426 #endif
99428 #undef $ac_func
99430 /* Override any gcc2 internal prototype to avoid an error. */
99431 #ifdef __cplusplus
99432 extern "C"
99434 #endif
99435 /* We use char because int might match the return type of a gcc2
99436 builtin and then its argument prototype would still apply. */
99437 char $ac_func ();
99438 /* The GNU C library defines this for functions which it implements
99439 to always fail with ENOSYS. Some functions are actually named
99440 something starting with __ and the normal name is an alias. */
99441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99442 choke me
99443 #else
99444 char (*f) () = $ac_func;
99445 #endif
99446 #ifdef __cplusplus
99448 #endif
99451 main ()
99453 return f != $ac_func;
99455 return 0;
99457 _ACEOF
99458 rm -f conftest.$ac_objext conftest$ac_exeext
99459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99460 (eval $ac_link) 2>conftest.er1
99461 ac_status=$?
99462 grep -v '^ *+' conftest.er1 >conftest.err
99463 rm -f conftest.er1
99464 cat conftest.err >&5
99465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99466 (exit $ac_status); } &&
99467 { ac_try='test -z "$ac_c_werror_flag"
99468 || test ! -s conftest.err'
99469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99470 (eval $ac_try) 2>&5
99471 ac_status=$?
99472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99473 (exit $ac_status); }; } &&
99474 { ac_try='test -s conftest$ac_exeext'
99475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99476 (eval $ac_try) 2>&5
99477 ac_status=$?
99478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99479 (exit $ac_status); }; }; then
99480 eval "$as_ac_var=yes"
99481 else
99482 echo "$as_me: failed program was:" >&5
99483 sed 's/^/| /' conftest.$ac_ext >&5
99485 eval "$as_ac_var=no"
99487 rm -f conftest.err conftest.$ac_objext \
99488 conftest$ac_exeext conftest.$ac_ext
99490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99492 if test `eval echo '${'$as_ac_var'}'` = yes; then
99493 cat >>confdefs.h <<_ACEOF
99494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99495 _ACEOF
99497 else
99498 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
99500 done
99503 if test x$ac_cv_func_copysignl = x"yes"; then
99505 for ac_func in __signbitl
99507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99508 echo "$as_me:$LINENO: checking for $ac_func" >&5
99509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99510 if eval "test \"\${$as_ac_var+set}\" = set"; then
99511 echo $ECHO_N "(cached) $ECHO_C" >&6
99512 else
99513 if test x$gcc_no_link = xyes; then
99514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99516 { (exit 1); exit 1; }; }
99518 cat >conftest.$ac_ext <<_ACEOF
99519 /* confdefs.h. */
99520 _ACEOF
99521 cat confdefs.h >>conftest.$ac_ext
99522 cat >>conftest.$ac_ext <<_ACEOF
99523 /* end confdefs.h. */
99524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99526 #define $ac_func innocuous_$ac_func
99528 /* System header to define __stub macros and hopefully few prototypes,
99529 which can conflict with char $ac_func (); below.
99530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99531 <limits.h> exists even on freestanding compilers. */
99533 #ifdef __STDC__
99534 # include <limits.h>
99535 #else
99536 # include <assert.h>
99537 #endif
99539 #undef $ac_func
99541 /* Override any gcc2 internal prototype to avoid an error. */
99542 #ifdef __cplusplus
99543 extern "C"
99545 #endif
99546 /* We use char because int might match the return type of a gcc2
99547 builtin and then its argument prototype would still apply. */
99548 char $ac_func ();
99549 /* The GNU C library defines this for functions which it implements
99550 to always fail with ENOSYS. Some functions are actually named
99551 something starting with __ and the normal name is an alias. */
99552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99553 choke me
99554 #else
99555 char (*f) () = $ac_func;
99556 #endif
99557 #ifdef __cplusplus
99559 #endif
99562 main ()
99564 return f != $ac_func;
99566 return 0;
99568 _ACEOF
99569 rm -f conftest.$ac_objext conftest$ac_exeext
99570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99571 (eval $ac_link) 2>conftest.er1
99572 ac_status=$?
99573 grep -v '^ *+' conftest.er1 >conftest.err
99574 rm -f conftest.er1
99575 cat conftest.err >&5
99576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99577 (exit $ac_status); } &&
99578 { ac_try='test -z "$ac_c_werror_flag"
99579 || test ! -s conftest.err'
99580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99581 (eval $ac_try) 2>&5
99582 ac_status=$?
99583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99584 (exit $ac_status); }; } &&
99585 { ac_try='test -s conftest$ac_exeext'
99586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99587 (eval $ac_try) 2>&5
99588 ac_status=$?
99589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99590 (exit $ac_status); }; }; then
99591 eval "$as_ac_var=yes"
99592 else
99593 echo "$as_me: failed program was:" >&5
99594 sed 's/^/| /' conftest.$ac_ext >&5
99596 eval "$as_ac_var=no"
99598 rm -f conftest.err conftest.$ac_objext \
99599 conftest$ac_exeext conftest.$ac_ext
99601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99603 if test `eval echo '${'$as_ac_var'}'` = yes; then
99604 cat >>confdefs.h <<_ACEOF
99605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99606 _ACEOF
99608 else
99609 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
99611 done
99615 # Used in libmath/Makefile.am.
99616 if test -n "$LIBMATHOBJS"; then
99617 need_libmath=yes
99622 ac_test_CXXFLAGS="${CXXFLAGS+set}"
99623 ac_save_CXXFLAGS="$CXXFLAGS"
99624 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
99627 echo "$as_me:$LINENO: checking for strtold declaration" >&5
99628 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
99629 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
99630 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
99631 echo $ECHO_N "(cached) $ECHO_C" >&6
99632 else
99636 ac_ext=cc
99637 ac_cpp='$CXXCPP $CPPFLAGS'
99638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99642 cat >conftest.$ac_ext <<_ACEOF
99643 /* confdefs.h. */
99644 _ACEOF
99645 cat confdefs.h >>conftest.$ac_ext
99646 cat >>conftest.$ac_ext <<_ACEOF
99647 /* end confdefs.h. */
99648 #include <stdlib.h>
99650 main ()
99652 strtold(0, 0);
99654 return 0;
99656 _ACEOF
99657 rm -f conftest.$ac_objext
99658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99659 (eval $ac_compile) 2>conftest.er1
99660 ac_status=$?
99661 grep -v '^ *+' conftest.er1 >conftest.err
99662 rm -f conftest.er1
99663 cat conftest.err >&5
99664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99665 (exit $ac_status); } &&
99666 { ac_try='test -z "$ac_cxx_werror_flag"
99667 || test ! -s conftest.err'
99668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99669 (eval $ac_try) 2>&5
99670 ac_status=$?
99671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99672 (exit $ac_status); }; } &&
99673 { ac_try='test -s conftest.$ac_objext'
99674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99675 (eval $ac_try) 2>&5
99676 ac_status=$?
99677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99678 (exit $ac_status); }; }; then
99679 glibcxx_cv_func_strtold_use=yes
99680 else
99681 echo "$as_me: failed program was:" >&5
99682 sed 's/^/| /' conftest.$ac_ext >&5
99684 glibcxx_cv_func_strtold_use=no
99686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99687 ac_ext=c
99688 ac_cpp='$CPP $CPPFLAGS'
99689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99697 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
99698 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
99699 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
99701 for ac_func in strtold
99703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99704 echo "$as_me:$LINENO: checking for $ac_func" >&5
99705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99706 if eval "test \"\${$as_ac_var+set}\" = set"; then
99707 echo $ECHO_N "(cached) $ECHO_C" >&6
99708 else
99709 if test x$gcc_no_link = xyes; then
99710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99712 { (exit 1); exit 1; }; }
99714 cat >conftest.$ac_ext <<_ACEOF
99715 /* confdefs.h. */
99716 _ACEOF
99717 cat confdefs.h >>conftest.$ac_ext
99718 cat >>conftest.$ac_ext <<_ACEOF
99719 /* end confdefs.h. */
99720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99722 #define $ac_func innocuous_$ac_func
99724 /* System header to define __stub macros and hopefully few prototypes,
99725 which can conflict with char $ac_func (); below.
99726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99727 <limits.h> exists even on freestanding compilers. */
99729 #ifdef __STDC__
99730 # include <limits.h>
99731 #else
99732 # include <assert.h>
99733 #endif
99735 #undef $ac_func
99737 /* Override any gcc2 internal prototype to avoid an error. */
99738 #ifdef __cplusplus
99739 extern "C"
99741 #endif
99742 /* We use char because int might match the return type of a gcc2
99743 builtin and then its argument prototype would still apply. */
99744 char $ac_func ();
99745 /* The GNU C library defines this for functions which it implements
99746 to always fail with ENOSYS. Some functions are actually named
99747 something starting with __ and the normal name is an alias. */
99748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99749 choke me
99750 #else
99751 char (*f) () = $ac_func;
99752 #endif
99753 #ifdef __cplusplus
99755 #endif
99758 main ()
99760 return f != $ac_func;
99762 return 0;
99764 _ACEOF
99765 rm -f conftest.$ac_objext conftest$ac_exeext
99766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99767 (eval $ac_link) 2>conftest.er1
99768 ac_status=$?
99769 grep -v '^ *+' conftest.er1 >conftest.err
99770 rm -f conftest.er1
99771 cat conftest.err >&5
99772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99773 (exit $ac_status); } &&
99774 { ac_try='test -z "$ac_c_werror_flag"
99775 || test ! -s conftest.err'
99776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99777 (eval $ac_try) 2>&5
99778 ac_status=$?
99779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99780 (exit $ac_status); }; } &&
99781 { ac_try='test -s conftest$ac_exeext'
99782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99783 (eval $ac_try) 2>&5
99784 ac_status=$?
99785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99786 (exit $ac_status); }; }; then
99787 eval "$as_ac_var=yes"
99788 else
99789 echo "$as_me: failed program was:" >&5
99790 sed 's/^/| /' conftest.$ac_ext >&5
99792 eval "$as_ac_var=no"
99794 rm -f conftest.err conftest.$ac_objext \
99795 conftest$ac_exeext conftest.$ac_ext
99797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99799 if test `eval echo '${'$as_ac_var'}'` = yes; then
99800 cat >>confdefs.h <<_ACEOF
99801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99802 _ACEOF
99805 done
99813 echo "$as_me:$LINENO: checking for strtof declaration" >&5
99814 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
99815 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
99816 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
99817 echo $ECHO_N "(cached) $ECHO_C" >&6
99818 else
99822 ac_ext=cc
99823 ac_cpp='$CXXCPP $CPPFLAGS'
99824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99828 cat >conftest.$ac_ext <<_ACEOF
99829 /* confdefs.h. */
99830 _ACEOF
99831 cat confdefs.h >>conftest.$ac_ext
99832 cat >>conftest.$ac_ext <<_ACEOF
99833 /* end confdefs.h. */
99834 #include <stdlib.h>
99836 main ()
99838 strtof(0, 0);
99840 return 0;
99842 _ACEOF
99843 rm -f conftest.$ac_objext
99844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99845 (eval $ac_compile) 2>conftest.er1
99846 ac_status=$?
99847 grep -v '^ *+' conftest.er1 >conftest.err
99848 rm -f conftest.er1
99849 cat conftest.err >&5
99850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99851 (exit $ac_status); } &&
99852 { ac_try='test -z "$ac_cxx_werror_flag"
99853 || test ! -s conftest.err'
99854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99855 (eval $ac_try) 2>&5
99856 ac_status=$?
99857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99858 (exit $ac_status); }; } &&
99859 { ac_try='test -s conftest.$ac_objext'
99860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99861 (eval $ac_try) 2>&5
99862 ac_status=$?
99863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99864 (exit $ac_status); }; }; then
99865 glibcxx_cv_func_strtof_use=yes
99866 else
99867 echo "$as_me: failed program was:" >&5
99868 sed 's/^/| /' conftest.$ac_ext >&5
99870 glibcxx_cv_func_strtof_use=no
99872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99873 ac_ext=c
99874 ac_cpp='$CPP $CPPFLAGS'
99875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99883 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
99884 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
99885 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
99887 for ac_func in strtof
99889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99890 echo "$as_me:$LINENO: checking for $ac_func" >&5
99891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99892 if eval "test \"\${$as_ac_var+set}\" = set"; then
99893 echo $ECHO_N "(cached) $ECHO_C" >&6
99894 else
99895 if test x$gcc_no_link = xyes; then
99896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99898 { (exit 1); exit 1; }; }
99900 cat >conftest.$ac_ext <<_ACEOF
99901 /* confdefs.h. */
99902 _ACEOF
99903 cat confdefs.h >>conftest.$ac_ext
99904 cat >>conftest.$ac_ext <<_ACEOF
99905 /* end confdefs.h. */
99906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99908 #define $ac_func innocuous_$ac_func
99910 /* System header to define __stub macros and hopefully few prototypes,
99911 which can conflict with char $ac_func (); below.
99912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99913 <limits.h> exists even on freestanding compilers. */
99915 #ifdef __STDC__
99916 # include <limits.h>
99917 #else
99918 # include <assert.h>
99919 #endif
99921 #undef $ac_func
99923 /* Override any gcc2 internal prototype to avoid an error. */
99924 #ifdef __cplusplus
99925 extern "C"
99927 #endif
99928 /* We use char because int might match the return type of a gcc2
99929 builtin and then its argument prototype would still apply. */
99930 char $ac_func ();
99931 /* The GNU C library defines this for functions which it implements
99932 to always fail with ENOSYS. Some functions are actually named
99933 something starting with __ and the normal name is an alias. */
99934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99935 choke me
99936 #else
99937 char (*f) () = $ac_func;
99938 #endif
99939 #ifdef __cplusplus
99941 #endif
99944 main ()
99946 return f != $ac_func;
99948 return 0;
99950 _ACEOF
99951 rm -f conftest.$ac_objext conftest$ac_exeext
99952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99953 (eval $ac_link) 2>conftest.er1
99954 ac_status=$?
99955 grep -v '^ *+' conftest.er1 >conftest.err
99956 rm -f conftest.er1
99957 cat conftest.err >&5
99958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99959 (exit $ac_status); } &&
99960 { ac_try='test -z "$ac_c_werror_flag"
99961 || test ! -s conftest.err'
99962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99963 (eval $ac_try) 2>&5
99964 ac_status=$?
99965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99966 (exit $ac_status); }; } &&
99967 { ac_try='test -s conftest$ac_exeext'
99968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99969 (eval $ac_try) 2>&5
99970 ac_status=$?
99971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99972 (exit $ac_status); }; }; then
99973 eval "$as_ac_var=yes"
99974 else
99975 echo "$as_me: failed program was:" >&5
99976 sed 's/^/| /' conftest.$ac_ext >&5
99978 eval "$as_ac_var=no"
99980 rm -f conftest.err conftest.$ac_objext \
99981 conftest$ac_exeext conftest.$ac_ext
99983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99985 if test `eval echo '${'$as_ac_var'}'` = yes; then
99986 cat >>confdefs.h <<_ACEOF
99987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99988 _ACEOF
99991 done
99999 CXXFLAGS="$ac_save_CXXFLAGS"
100002 cat >>confdefs.h <<\_ACEOF
100003 #define _GLIBCXX_USE_RANDOM_TR1 1
100004 _ACEOF
100007 # For iconv support.
100013 am_save_CPPFLAGS="$CPPFLAGS"
100015 for element in $INCICONV; do
100016 haveit=
100017 for x in $CPPFLAGS; do
100019 acl_save_prefix="$prefix"
100020 prefix="$acl_final_prefix"
100021 acl_save_exec_prefix="$exec_prefix"
100022 exec_prefix="$acl_final_exec_prefix"
100023 eval x=\"$x\"
100024 exec_prefix="$acl_save_exec_prefix"
100025 prefix="$acl_save_prefix"
100027 if test "X$x" = "X$element"; then
100028 haveit=yes
100029 break
100032 if test -z "$haveit"; then
100033 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
100038 echo "$as_me:$LINENO: checking for iconv" >&5
100039 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
100040 if test "${am_cv_func_iconv+set}" = set; then
100041 echo $ECHO_N "(cached) $ECHO_C" >&6
100044 am_cv_func_iconv="no, consider installing GNU libiconv"
100045 am_cv_lib_iconv=no
100046 if test x$gcc_no_link = xyes; then
100047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100049 { (exit 1); exit 1; }; }
100051 cat >conftest.$ac_ext <<_ACEOF
100052 /* confdefs.h. */
100053 _ACEOF
100054 cat confdefs.h >>conftest.$ac_ext
100055 cat >>conftest.$ac_ext <<_ACEOF
100056 /* end confdefs.h. */
100057 #include <stdlib.h>
100058 #include <iconv.h>
100060 main ()
100062 iconv_t cd = iconv_open("","");
100063 iconv(cd,NULL,NULL,NULL,NULL);
100064 iconv_close(cd);
100066 return 0;
100068 _ACEOF
100069 rm -f conftest.$ac_objext conftest$ac_exeext
100070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100071 (eval $ac_link) 2>conftest.er1
100072 ac_status=$?
100073 grep -v '^ *+' conftest.er1 >conftest.err
100074 rm -f conftest.er1
100075 cat conftest.err >&5
100076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100077 (exit $ac_status); } &&
100078 { ac_try='test -z "$ac_c_werror_flag"
100079 || test ! -s conftest.err'
100080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100081 (eval $ac_try) 2>&5
100082 ac_status=$?
100083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100084 (exit $ac_status); }; } &&
100085 { ac_try='test -s conftest$ac_exeext'
100086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100087 (eval $ac_try) 2>&5
100088 ac_status=$?
100089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100090 (exit $ac_status); }; }; then
100091 am_cv_func_iconv=yes
100093 echo "$as_me: failed program was:" >&5
100094 sed 's/^/| /' conftest.$ac_ext >&5
100097 rm -f conftest.err conftest.$ac_objext \
100098 conftest$ac_exeext conftest.$ac_ext
100099 if test "$am_cv_func_iconv" != yes; then
100100 am_save_LIBS="$LIBS"
100101 LIBS="$LIBS $LIBICONV"
100102 if test x$gcc_no_link = xyes; then
100103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100105 { (exit 1); exit 1; }; }
100107 cat >conftest.$ac_ext <<_ACEOF
100108 /* confdefs.h. */
100109 _ACEOF
100110 cat confdefs.h >>conftest.$ac_ext
100111 cat >>conftest.$ac_ext <<_ACEOF
100112 /* end confdefs.h. */
100113 #include <stdlib.h>
100114 #include <iconv.h>
100116 main ()
100118 iconv_t cd = iconv_open("","");
100119 iconv(cd,NULL,NULL,NULL,NULL);
100120 iconv_close(cd);
100122 return 0;
100124 _ACEOF
100125 rm -f conftest.$ac_objext conftest$ac_exeext
100126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100127 (eval $ac_link) 2>conftest.er1
100128 ac_status=$?
100129 grep -v '^ *+' conftest.er1 >conftest.err
100130 rm -f conftest.er1
100131 cat conftest.err >&5
100132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100133 (exit $ac_status); } &&
100134 { ac_try='test -z "$ac_c_werror_flag"
100135 || test ! -s conftest.err'
100136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100137 (eval $ac_try) 2>&5
100138 ac_status=$?
100139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100140 (exit $ac_status); }; } &&
100141 { ac_try='test -s conftest$ac_exeext'
100142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100143 (eval $ac_try) 2>&5
100144 ac_status=$?
100145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100146 (exit $ac_status); }; }; then
100147 am_cv_lib_iconv=yes
100148 am_cv_func_iconv=yes
100150 echo "$as_me: failed program was:" >&5
100151 sed 's/^/| /' conftest.$ac_ext >&5
100154 rm -f conftest.err conftest.$ac_objext \
100155 conftest$ac_exeext conftest.$ac_ext
100156 LIBS="$am_save_LIBS"
100160 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
100161 echo "${ECHO_T}$am_cv_func_iconv" >&6
100162 if test "$am_cv_func_iconv" = yes; then
100164 cat >>confdefs.h <<\_ACEOF
100165 #define HAVE_ICONV 1
100166 _ACEOF
100169 if test "$am_cv_lib_iconv" = yes; then
100170 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
100171 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
100172 echo "$as_me:$LINENO: result: $LIBICONV" >&5
100173 echo "${ECHO_T}$LIBICONV" >&6
100175 CPPFLAGS="$am_save_CPPFLAGS"
100176 LIBICONV=
100177 LTLIBICONV=
100182 if test "$am_cv_func_iconv" = yes; then
100183 echo "$as_me:$LINENO: checking for iconv declaration" >&5
100184 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
100185 if test "${am_cv_proto_iconv+set}" = set; then
100186 echo $ECHO_N "(cached) $ECHO_C" >&6
100189 cat >conftest.$ac_ext <<_ACEOF
100190 /* confdefs.h. */
100191 _ACEOF
100192 cat confdefs.h >>conftest.$ac_ext
100193 cat >>conftest.$ac_ext <<_ACEOF
100194 /* end confdefs.h. */
100196 #include <stdlib.h>
100197 #include <iconv.h>
100198 extern
100199 #ifdef __cplusplus
100201 #endif
100202 #if defined(__STDC__) || defined(__cplusplus)
100203 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
100204 #else
100205 size_t iconv();
100206 #endif
100209 main ()
100213 return 0;
100215 _ACEOF
100216 rm -f conftest.$ac_objext
100217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100218 (eval $ac_compile) 2>conftest.er1
100219 ac_status=$?
100220 grep -v '^ *+' conftest.er1 >conftest.err
100221 rm -f conftest.er1
100222 cat conftest.err >&5
100223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100224 (exit $ac_status); } &&
100225 { ac_try='test -z "$ac_c_werror_flag"
100226 || test ! -s conftest.err'
100227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100228 (eval $ac_try) 2>&5
100229 ac_status=$?
100230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100231 (exit $ac_status); }; } &&
100232 { ac_try='test -s conftest.$ac_objext'
100233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100234 (eval $ac_try) 2>&5
100235 ac_status=$?
100236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100237 (exit $ac_status); }; }; then
100238 am_cv_proto_iconv_arg1=""
100240 echo "$as_me: failed program was:" >&5
100241 sed 's/^/| /' conftest.$ac_ext >&5
100243 am_cv_proto_iconv_arg1="const"
100245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100246 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);"
100249 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
100250 echo "$as_me:$LINENO: result: ${ac_t:-
100251 }$am_cv_proto_iconv" >&5
100252 echo "${ECHO_T}${ac_t:-
100253 }$am_cv_proto_iconv" >&6
100255 cat >>confdefs.h <<_ACEOF
100256 #define ICONV_CONST $am_cv_proto_iconv_arg1
100257 _ACEOF
100262 *-mingw32*)
100263 cat >>confdefs.h <<\_ACEOF
100264 #define HAVE_STRTOF 1
100265 _ACEOF
100267 cat >>confdefs.h <<\_ACEOF
100268 #define HAVE_STRTOLD 1
100269 _ACEOF
100272 # If we're not using GNU ld, then there's no point in even trying these
100273 # tests. Check for that first. We should have already tested for gld
100274 # by now (in libtool), but require it now just to be safe...
100275 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
100276 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
100280 # The name set by libtool depends on the version of libtool. Shame on us
100281 # for depending on an impl detail, but c'est la vie. Older versions used
100282 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
100283 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
100284 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
100285 # set (hence we're using an older libtool), then set it.
100286 if test x${with_gnu_ld+set} != xset; then
100287 if test x${ac_cv_prog_gnu_ld+set} != xset; then
100288 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
100289 with_gnu_ld=no
100291 with_gnu_ld=$ac_cv_prog_gnu_ld
100295 # Start by getting the version number. I think the libtool test already
100296 # does some of this, but throws away the result.
100297 glibcxx_ld_is_gold=no
100298 if test x"$with_gnu_ld" = x"yes"; then
100299 echo "$as_me:$LINENO: checking for ld version" >&5
100300 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
100302 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
100303 glibcxx_ld_is_gold=yes
100305 ldver=`$LD --version 2>/dev/null | head -1 | \
100306 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
100308 glibcxx_gnu_ld_version=`echo $ldver | \
100309 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
100310 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
100311 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
100314 # Set --gc-sections.
100315 glibcxx_have_gc_sections=no
100316 if test "$glibcxx_ld_is_gold" = "yes"; then
100317 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
100318 glibcxx_have_gc_sections=yes
100321 glibcxx_gcsections_min_ld=21602
100322 if test x"$with_gnu_ld" = x"yes" &&
100323 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
100324 glibcxx_have_gc_sections=yes
100327 if test "$glibcxx_have_gc_sections" = "yes"; then
100328 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
100329 # NB: This flag only works reliably after 2.16.1. Configure tests
100330 # for this are difficult, so hard wire a value that should work.
100332 ac_test_CFLAGS="${CFLAGS+set}"
100333 ac_save_CFLAGS="$CFLAGS"
100334 CFLAGS='-Wl,--gc-sections'
100336 # Check for -Wl,--gc-sections
100337 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
100338 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
100339 if test x$gcc_no_link = xyes; then
100340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100342 { (exit 1); exit 1; }; }
100344 cat >conftest.$ac_ext <<_ACEOF
100345 /* confdefs.h. */
100346 _ACEOF
100347 cat confdefs.h >>conftest.$ac_ext
100348 cat >>conftest.$ac_ext <<_ACEOF
100349 /* end confdefs.h. */
100350 int one(void) { return 1; }
100351 int two(void) { return 2; }
100354 main ()
100356 two();
100358 return 0;
100360 _ACEOF
100361 rm -f conftest.$ac_objext conftest$ac_exeext
100362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100363 (eval $ac_link) 2>conftest.er1
100364 ac_status=$?
100365 grep -v '^ *+' conftest.er1 >conftest.err
100366 rm -f conftest.er1
100367 cat conftest.err >&5
100368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100369 (exit $ac_status); } &&
100370 { ac_try='test -z "$ac_c_werror_flag"
100371 || test ! -s conftest.err'
100372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100373 (eval $ac_try) 2>&5
100374 ac_status=$?
100375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100376 (exit $ac_status); }; } &&
100377 { ac_try='test -s conftest$ac_exeext'
100378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100379 (eval $ac_try) 2>&5
100380 ac_status=$?
100381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100382 (exit $ac_status); }; }; then
100383 ac_gcsections=yes
100385 echo "$as_me: failed program was:" >&5
100386 sed 's/^/| /' conftest.$ac_ext >&5
100388 ac_gcsections=no
100390 rm -f conftest.err conftest.$ac_objext \
100391 conftest$ac_exeext conftest.$ac_ext
100392 if test "$ac_gcsections" = "yes"; then
100393 rm -f conftest.c
100394 touch conftest.c
100395 if $CC -c conftest.c; then
100396 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
100397 grep "Warning: gc-sections option ignored" > /dev/null; then
100398 ac_gcsections=no
100401 rm -f conftest.c conftest.o conftest
100403 if test "$ac_gcsections" = "yes"; then
100404 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
100406 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
100407 echo "${ECHO_T}$ac_gcsections" >&6
100409 if test "$ac_test_CFLAGS" = set; then
100410 CFLAGS="$ac_save_CFLAGS"
100412 # this is the suspicious part
100413 CFLAGS=''
100417 # Set -z,relro.
100418 # Note this is only for shared objects.
100419 ac_ld_relro=no
100420 if test x"$with_gnu_ld" = x"yes"; then
100421 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
100422 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
100423 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
100424 if test -n "$cxx_z_relo"; then
100425 OPT_LDFLAGS="-Wl,-z,relro"
100426 ac_ld_relro=yes
100428 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
100429 echo "${ECHO_T}$ac_ld_relro" >&6
100432 # Set linker optimization flags.
100433 if test x"$with_gnu_ld" = x"yes"; then
100434 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
100442 echo "$as_me:$LINENO: checking for main in -lm" >&5
100443 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
100444 if test "${ac_cv_lib_m_main+set}" = set; then
100445 echo $ECHO_N "(cached) $ECHO_C" >&6
100447 ac_check_lib_save_LIBS=$LIBS
100448 LIBS="-lm $LIBS"
100449 if test x$gcc_no_link = xyes; then
100450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100452 { (exit 1); exit 1; }; }
100454 cat >conftest.$ac_ext <<_ACEOF
100455 /* confdefs.h. */
100456 _ACEOF
100457 cat confdefs.h >>conftest.$ac_ext
100458 cat >>conftest.$ac_ext <<_ACEOF
100459 /* end confdefs.h. */
100463 main ()
100465 main ();
100467 return 0;
100469 _ACEOF
100470 rm -f conftest.$ac_objext conftest$ac_exeext
100471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100472 (eval $ac_link) 2>conftest.er1
100473 ac_status=$?
100474 grep -v '^ *+' conftest.er1 >conftest.err
100475 rm -f conftest.er1
100476 cat conftest.err >&5
100477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100478 (exit $ac_status); } &&
100479 { ac_try='test -z "$ac_c_werror_flag"
100480 || test ! -s conftest.err'
100481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100482 (eval $ac_try) 2>&5
100483 ac_status=$?
100484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100485 (exit $ac_status); }; } &&
100486 { ac_try='test -s conftest$ac_exeext'
100487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100488 (eval $ac_try) 2>&5
100489 ac_status=$?
100490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100491 (exit $ac_status); }; }; then
100492 ac_cv_lib_m_main=yes
100494 echo "$as_me: failed program was:" >&5
100495 sed 's/^/| /' conftest.$ac_ext >&5
100497 ac_cv_lib_m_main=no
100499 rm -f conftest.err conftest.$ac_objext \
100500 conftest$ac_exeext conftest.$ac_ext
100501 LIBS=$ac_check_lib_save_LIBS
100503 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
100504 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
100505 if test $ac_cv_lib_m_main = yes; then
100506 cat >>confdefs.h <<_ACEOF
100507 #define HAVE_LIBM 1
100508 _ACEOF
100510 LIBS="-lm $LIBS"
100515 for ac_func in copysignf
100517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100518 echo "$as_me:$LINENO: checking for $ac_func" >&5
100519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100520 if eval "test \"\${$as_ac_var+set}\" = set"; then
100521 echo $ECHO_N "(cached) $ECHO_C" >&6
100523 if test x$gcc_no_link = xyes; then
100524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100526 { (exit 1); exit 1; }; }
100528 cat >conftest.$ac_ext <<_ACEOF
100529 /* confdefs.h. */
100530 _ACEOF
100531 cat confdefs.h >>conftest.$ac_ext
100532 cat >>conftest.$ac_ext <<_ACEOF
100533 /* end confdefs.h. */
100534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100536 #define $ac_func innocuous_$ac_func
100538 /* System header to define __stub macros and hopefully few prototypes,
100539 which can conflict with char $ac_func (); below.
100540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100541 <limits.h> exists even on freestanding compilers. */
100543 #ifdef __STDC__
100544 # include <limits.h>
100545 #else
100546 # include <assert.h>
100547 #endif
100549 #undef $ac_func
100551 /* Override any gcc2 internal prototype to avoid an error. */
100552 #ifdef __cplusplus
100553 extern "C"
100555 #endif
100556 /* We use char because int might match the return type of a gcc2
100557 builtin and then its argument prototype would still apply. */
100558 char $ac_func ();
100559 /* The GNU C library defines this for functions which it implements
100560 to always fail with ENOSYS. Some functions are actually named
100561 something starting with __ and the normal name is an alias. */
100562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100563 choke me
100564 #else
100565 char (*f) () = $ac_func;
100566 #endif
100567 #ifdef __cplusplus
100569 #endif
100572 main ()
100574 return f != $ac_func;
100576 return 0;
100578 _ACEOF
100579 rm -f conftest.$ac_objext conftest$ac_exeext
100580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100581 (eval $ac_link) 2>conftest.er1
100582 ac_status=$?
100583 grep -v '^ *+' conftest.er1 >conftest.err
100584 rm -f conftest.er1
100585 cat conftest.err >&5
100586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100587 (exit $ac_status); } &&
100588 { ac_try='test -z "$ac_c_werror_flag"
100589 || test ! -s conftest.err'
100590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100591 (eval $ac_try) 2>&5
100592 ac_status=$?
100593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100594 (exit $ac_status); }; } &&
100595 { ac_try='test -s conftest$ac_exeext'
100596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100597 (eval $ac_try) 2>&5
100598 ac_status=$?
100599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100600 (exit $ac_status); }; }; then
100601 eval "$as_ac_var=yes"
100603 echo "$as_me: failed program was:" >&5
100604 sed 's/^/| /' conftest.$ac_ext >&5
100606 eval "$as_ac_var=no"
100608 rm -f conftest.err conftest.$ac_objext \
100609 conftest$ac_exeext conftest.$ac_ext
100611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100613 if test `eval echo '${'$as_ac_var'}'` = yes; then
100614 cat >>confdefs.h <<_ACEOF
100615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100616 _ACEOF
100619 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
100625 for ac_func in __signbit
100627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100628 echo "$as_me:$LINENO: checking for $ac_func" >&5
100629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100630 if eval "test \"\${$as_ac_var+set}\" = set"; then
100631 echo $ECHO_N "(cached) $ECHO_C" >&6
100633 if test x$gcc_no_link = xyes; then
100634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100636 { (exit 1); exit 1; }; }
100638 cat >conftest.$ac_ext <<_ACEOF
100639 /* confdefs.h. */
100640 _ACEOF
100641 cat confdefs.h >>conftest.$ac_ext
100642 cat >>conftest.$ac_ext <<_ACEOF
100643 /* end confdefs.h. */
100644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100646 #define $ac_func innocuous_$ac_func
100648 /* System header to define __stub macros and hopefully few prototypes,
100649 which can conflict with char $ac_func (); below.
100650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100651 <limits.h> exists even on freestanding compilers. */
100653 #ifdef __STDC__
100654 # include <limits.h>
100655 #else
100656 # include <assert.h>
100657 #endif
100659 #undef $ac_func
100661 /* Override any gcc2 internal prototype to avoid an error. */
100662 #ifdef __cplusplus
100663 extern "C"
100665 #endif
100666 /* We use char because int might match the return type of a gcc2
100667 builtin and then its argument prototype would still apply. */
100668 char $ac_func ();
100669 /* The GNU C library defines this for functions which it implements
100670 to always fail with ENOSYS. Some functions are actually named
100671 something starting with __ and the normal name is an alias. */
100672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100673 choke me
100674 #else
100675 char (*f) () = $ac_func;
100676 #endif
100677 #ifdef __cplusplus
100679 #endif
100682 main ()
100684 return f != $ac_func;
100686 return 0;
100688 _ACEOF
100689 rm -f conftest.$ac_objext conftest$ac_exeext
100690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100691 (eval $ac_link) 2>conftest.er1
100692 ac_status=$?
100693 grep -v '^ *+' conftest.er1 >conftest.err
100694 rm -f conftest.er1
100695 cat conftest.err >&5
100696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100697 (exit $ac_status); } &&
100698 { ac_try='test -z "$ac_c_werror_flag"
100699 || test ! -s conftest.err'
100700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100701 (eval $ac_try) 2>&5
100702 ac_status=$?
100703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100704 (exit $ac_status); }; } &&
100705 { ac_try='test -s conftest$ac_exeext'
100706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100707 (eval $ac_try) 2>&5
100708 ac_status=$?
100709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100710 (exit $ac_status); }; }; then
100711 eval "$as_ac_var=yes"
100713 echo "$as_me: failed program was:" >&5
100714 sed 's/^/| /' conftest.$ac_ext >&5
100716 eval "$as_ac_var=no"
100718 rm -f conftest.err conftest.$ac_objext \
100719 conftest$ac_exeext conftest.$ac_ext
100721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100723 if test `eval echo '${'$as_ac_var'}'` = yes; then
100724 cat >>confdefs.h <<_ACEOF
100725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100726 _ACEOF
100729 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
100735 for ac_func in __signbitf
100737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100738 echo "$as_me:$LINENO: checking for $ac_func" >&5
100739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100740 if eval "test \"\${$as_ac_var+set}\" = set"; then
100741 echo $ECHO_N "(cached) $ECHO_C" >&6
100743 if test x$gcc_no_link = xyes; then
100744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100746 { (exit 1); exit 1; }; }
100748 cat >conftest.$ac_ext <<_ACEOF
100749 /* confdefs.h. */
100750 _ACEOF
100751 cat confdefs.h >>conftest.$ac_ext
100752 cat >>conftest.$ac_ext <<_ACEOF
100753 /* end confdefs.h. */
100754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100756 #define $ac_func innocuous_$ac_func
100758 /* System header to define __stub macros and hopefully few prototypes,
100759 which can conflict with char $ac_func (); below.
100760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100761 <limits.h> exists even on freestanding compilers. */
100763 #ifdef __STDC__
100764 # include <limits.h>
100765 #else
100766 # include <assert.h>
100767 #endif
100769 #undef $ac_func
100771 /* Override any gcc2 internal prototype to avoid an error. */
100772 #ifdef __cplusplus
100773 extern "C"
100775 #endif
100776 /* We use char because int might match the return type of a gcc2
100777 builtin and then its argument prototype would still apply. */
100778 char $ac_func ();
100779 /* The GNU C library defines this for functions which it implements
100780 to always fail with ENOSYS. Some functions are actually named
100781 something starting with __ and the normal name is an alias. */
100782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100783 choke me
100784 #else
100785 char (*f) () = $ac_func;
100786 #endif
100787 #ifdef __cplusplus
100789 #endif
100792 main ()
100794 return f != $ac_func;
100796 return 0;
100798 _ACEOF
100799 rm -f conftest.$ac_objext conftest$ac_exeext
100800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100801 (eval $ac_link) 2>conftest.er1
100802 ac_status=$?
100803 grep -v '^ *+' conftest.er1 >conftest.err
100804 rm -f conftest.er1
100805 cat conftest.err >&5
100806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100807 (exit $ac_status); } &&
100808 { ac_try='test -z "$ac_c_werror_flag"
100809 || test ! -s conftest.err'
100810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100811 (eval $ac_try) 2>&5
100812 ac_status=$?
100813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100814 (exit $ac_status); }; } &&
100815 { ac_try='test -s conftest$ac_exeext'
100816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100817 (eval $ac_try) 2>&5
100818 ac_status=$?
100819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100820 (exit $ac_status); }; }; then
100821 eval "$as_ac_var=yes"
100823 echo "$as_me: failed program was:" >&5
100824 sed 's/^/| /' conftest.$ac_ext >&5
100826 eval "$as_ac_var=no"
100828 rm -f conftest.err conftest.$ac_objext \
100829 conftest$ac_exeext conftest.$ac_ext
100831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100833 if test `eval echo '${'$as_ac_var'}'` = yes; then
100834 cat >>confdefs.h <<_ACEOF
100835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100836 _ACEOF
100839 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
100844 if test x$ac_cv_func_copysignl = x"yes"; then
100846 for ac_func in __signbitl
100848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100849 echo "$as_me:$LINENO: checking for $ac_func" >&5
100850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100851 if eval "test \"\${$as_ac_var+set}\" = set"; then
100852 echo $ECHO_N "(cached) $ECHO_C" >&6
100854 if test x$gcc_no_link = xyes; then
100855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100857 { (exit 1); exit 1; }; }
100859 cat >conftest.$ac_ext <<_ACEOF
100860 /* confdefs.h. */
100861 _ACEOF
100862 cat confdefs.h >>conftest.$ac_ext
100863 cat >>conftest.$ac_ext <<_ACEOF
100864 /* end confdefs.h. */
100865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100867 #define $ac_func innocuous_$ac_func
100869 /* System header to define __stub macros and hopefully few prototypes,
100870 which can conflict with char $ac_func (); below.
100871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100872 <limits.h> exists even on freestanding compilers. */
100874 #ifdef __STDC__
100875 # include <limits.h>
100876 #else
100877 # include <assert.h>
100878 #endif
100880 #undef $ac_func
100882 /* Override any gcc2 internal prototype to avoid an error. */
100883 #ifdef __cplusplus
100884 extern "C"
100886 #endif
100887 /* We use char because int might match the return type of a gcc2
100888 builtin and then its argument prototype would still apply. */
100889 char $ac_func ();
100890 /* The GNU C library defines this for functions which it implements
100891 to always fail with ENOSYS. Some functions are actually named
100892 something starting with __ and the normal name is an alias. */
100893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100894 choke me
100895 #else
100896 char (*f) () = $ac_func;
100897 #endif
100898 #ifdef __cplusplus
100900 #endif
100903 main ()
100905 return f != $ac_func;
100907 return 0;
100909 _ACEOF
100910 rm -f conftest.$ac_objext conftest$ac_exeext
100911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100912 (eval $ac_link) 2>conftest.er1
100913 ac_status=$?
100914 grep -v '^ *+' conftest.er1 >conftest.err
100915 rm -f conftest.er1
100916 cat conftest.err >&5
100917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100918 (exit $ac_status); } &&
100919 { ac_try='test -z "$ac_c_werror_flag"
100920 || test ! -s conftest.err'
100921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100922 (eval $ac_try) 2>&5
100923 ac_status=$?
100924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100925 (exit $ac_status); }; } &&
100926 { ac_try='test -s conftest$ac_exeext'
100927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100928 (eval $ac_try) 2>&5
100929 ac_status=$?
100930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100931 (exit $ac_status); }; }; then
100932 eval "$as_ac_var=yes"
100934 echo "$as_me: failed program was:" >&5
100935 sed 's/^/| /' conftest.$ac_ext >&5
100937 eval "$as_ac_var=no"
100939 rm -f conftest.err conftest.$ac_objext \
100940 conftest$ac_exeext conftest.$ac_ext
100942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100944 if test `eval echo '${'$as_ac_var'}'` = yes; then
100945 cat >>confdefs.h <<_ACEOF
100946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100947 _ACEOF
100950 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
100956 # Used in libmath/Makefile.am.
100957 if test -n "$LIBMATHOBJS"; then
100958 need_libmath=yes
100963 *-netbsd*)
100964 SECTION_FLAGS='-ffunction-sections -fdata-sections'
100967 # If we're not using GNU ld, then there's no point in even trying these
100968 # tests. Check for that first. We should have already tested for gld
100969 # by now (in libtool), but require it now just to be safe...
100970 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
100971 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
100975 # The name set by libtool depends on the version of libtool. Shame on us
100976 # for depending on an impl detail, but c'est la vie. Older versions used
100977 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
100978 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
100979 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
100980 # set (hence we're using an older libtool), then set it.
100981 if test x${with_gnu_ld+set} != xset; then
100982 if test x${ac_cv_prog_gnu_ld+set} != xset; then
100983 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
100984 with_gnu_ld=no
100986 with_gnu_ld=$ac_cv_prog_gnu_ld
100990 # Start by getting the version number. I think the libtool test already
100991 # does some of this, but throws away the result.
100992 glibcxx_ld_is_gold=no
100993 if test x"$with_gnu_ld" = x"yes"; then
100994 echo "$as_me:$LINENO: checking for ld version" >&5
100995 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
100997 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
100998 glibcxx_ld_is_gold=yes
101000 ldver=`$LD --version 2>/dev/null | head -1 | \
101001 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
101003 glibcxx_gnu_ld_version=`echo $ldver | \
101004 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
101005 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
101006 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
101009 # Set --gc-sections.
101010 glibcxx_have_gc_sections=no
101011 if test "$glibcxx_ld_is_gold" = "yes"; then
101012 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
101013 glibcxx_have_gc_sections=yes
101016 glibcxx_gcsections_min_ld=21602
101017 if test x"$with_gnu_ld" = x"yes" &&
101018 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
101019 glibcxx_have_gc_sections=yes
101022 if test "$glibcxx_have_gc_sections" = "yes"; then
101023 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
101024 # NB: This flag only works reliably after 2.16.1. Configure tests
101025 # for this are difficult, so hard wire a value that should work.
101027 ac_test_CFLAGS="${CFLAGS+set}"
101028 ac_save_CFLAGS="$CFLAGS"
101029 CFLAGS='-Wl,--gc-sections'
101031 # Check for -Wl,--gc-sections
101032 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
101033 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
101034 if test x$gcc_no_link = xyes; then
101035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101037 { (exit 1); exit 1; }; }
101039 cat >conftest.$ac_ext <<_ACEOF
101040 /* confdefs.h. */
101041 _ACEOF
101042 cat confdefs.h >>conftest.$ac_ext
101043 cat >>conftest.$ac_ext <<_ACEOF
101044 /* end confdefs.h. */
101045 int one(void) { return 1; }
101046 int two(void) { return 2; }
101049 main ()
101051 two();
101053 return 0;
101055 _ACEOF
101056 rm -f conftest.$ac_objext conftest$ac_exeext
101057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101058 (eval $ac_link) 2>conftest.er1
101059 ac_status=$?
101060 grep -v '^ *+' conftest.er1 >conftest.err
101061 rm -f conftest.er1
101062 cat conftest.err >&5
101063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101064 (exit $ac_status); } &&
101065 { ac_try='test -z "$ac_c_werror_flag"
101066 || test ! -s conftest.err'
101067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101068 (eval $ac_try) 2>&5
101069 ac_status=$?
101070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101071 (exit $ac_status); }; } &&
101072 { ac_try='test -s conftest$ac_exeext'
101073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101074 (eval $ac_try) 2>&5
101075 ac_status=$?
101076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101077 (exit $ac_status); }; }; then
101078 ac_gcsections=yes
101080 echo "$as_me: failed program was:" >&5
101081 sed 's/^/| /' conftest.$ac_ext >&5
101083 ac_gcsections=no
101085 rm -f conftest.err conftest.$ac_objext \
101086 conftest$ac_exeext conftest.$ac_ext
101087 if test "$ac_gcsections" = "yes"; then
101088 rm -f conftest.c
101089 touch conftest.c
101090 if $CC -c conftest.c; then
101091 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
101092 grep "Warning: gc-sections option ignored" > /dev/null; then
101093 ac_gcsections=no
101096 rm -f conftest.c conftest.o conftest
101098 if test "$ac_gcsections" = "yes"; then
101099 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
101101 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
101102 echo "${ECHO_T}$ac_gcsections" >&6
101104 if test "$ac_test_CFLAGS" = set; then
101105 CFLAGS="$ac_save_CFLAGS"
101107 # this is the suspicious part
101108 CFLAGS=''
101112 # Set -z,relro.
101113 # Note this is only for shared objects.
101114 ac_ld_relro=no
101115 if test x"$with_gnu_ld" = x"yes"; then
101116 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
101117 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
101118 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
101119 if test -n "$cxx_z_relo"; then
101120 OPT_LDFLAGS="-Wl,-z,relro"
101121 ac_ld_relro=yes
101123 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
101124 echo "${ECHO_T}$ac_ld_relro" >&6
101127 # Set linker optimization flags.
101128 if test x"$with_gnu_ld" = x"yes"; then
101129 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
101137 echo "$as_me:$LINENO: checking for main in -lm" >&5
101138 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
101139 if test "${ac_cv_lib_m_main+set}" = set; then
101140 echo $ECHO_N "(cached) $ECHO_C" >&6
101142 ac_check_lib_save_LIBS=$LIBS
101143 LIBS="-lm $LIBS"
101144 if test x$gcc_no_link = xyes; then
101145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101147 { (exit 1); exit 1; }; }
101149 cat >conftest.$ac_ext <<_ACEOF
101150 /* confdefs.h. */
101151 _ACEOF
101152 cat confdefs.h >>conftest.$ac_ext
101153 cat >>conftest.$ac_ext <<_ACEOF
101154 /* end confdefs.h. */
101158 main ()
101160 main ();
101162 return 0;
101164 _ACEOF
101165 rm -f conftest.$ac_objext conftest$ac_exeext
101166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101167 (eval $ac_link) 2>conftest.er1
101168 ac_status=$?
101169 grep -v '^ *+' conftest.er1 >conftest.err
101170 rm -f conftest.er1
101171 cat conftest.err >&5
101172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101173 (exit $ac_status); } &&
101174 { ac_try='test -z "$ac_c_werror_flag"
101175 || test ! -s conftest.err'
101176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101177 (eval $ac_try) 2>&5
101178 ac_status=$?
101179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101180 (exit $ac_status); }; } &&
101181 { ac_try='test -s conftest$ac_exeext'
101182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101183 (eval $ac_try) 2>&5
101184 ac_status=$?
101185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101186 (exit $ac_status); }; }; then
101187 ac_cv_lib_m_main=yes
101189 echo "$as_me: failed program was:" >&5
101190 sed 's/^/| /' conftest.$ac_ext >&5
101192 ac_cv_lib_m_main=no
101194 rm -f conftest.err conftest.$ac_objext \
101195 conftest$ac_exeext conftest.$ac_ext
101196 LIBS=$ac_check_lib_save_LIBS
101198 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
101199 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
101200 if test $ac_cv_lib_m_main = yes; then
101201 cat >>confdefs.h <<_ACEOF
101202 #define HAVE_LIBM 1
101203 _ACEOF
101205 LIBS="-lm $LIBS"
101210 for ac_func in copysignf
101212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101213 echo "$as_me:$LINENO: checking for $ac_func" >&5
101214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101215 if eval "test \"\${$as_ac_var+set}\" = set"; then
101216 echo $ECHO_N "(cached) $ECHO_C" >&6
101218 if test x$gcc_no_link = xyes; then
101219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101221 { (exit 1); exit 1; }; }
101223 cat >conftest.$ac_ext <<_ACEOF
101224 /* confdefs.h. */
101225 _ACEOF
101226 cat confdefs.h >>conftest.$ac_ext
101227 cat >>conftest.$ac_ext <<_ACEOF
101228 /* end confdefs.h. */
101229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101231 #define $ac_func innocuous_$ac_func
101233 /* System header to define __stub macros and hopefully few prototypes,
101234 which can conflict with char $ac_func (); below.
101235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101236 <limits.h> exists even on freestanding compilers. */
101238 #ifdef __STDC__
101239 # include <limits.h>
101240 #else
101241 # include <assert.h>
101242 #endif
101244 #undef $ac_func
101246 /* Override any gcc2 internal prototype to avoid an error. */
101247 #ifdef __cplusplus
101248 extern "C"
101250 #endif
101251 /* We use char because int might match the return type of a gcc2
101252 builtin and then its argument prototype would still apply. */
101253 char $ac_func ();
101254 /* The GNU C library defines this for functions which it implements
101255 to always fail with ENOSYS. Some functions are actually named
101256 something starting with __ and the normal name is an alias. */
101257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101258 choke me
101259 #else
101260 char (*f) () = $ac_func;
101261 #endif
101262 #ifdef __cplusplus
101264 #endif
101267 main ()
101269 return f != $ac_func;
101271 return 0;
101273 _ACEOF
101274 rm -f conftest.$ac_objext conftest$ac_exeext
101275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101276 (eval $ac_link) 2>conftest.er1
101277 ac_status=$?
101278 grep -v '^ *+' conftest.er1 >conftest.err
101279 rm -f conftest.er1
101280 cat conftest.err >&5
101281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101282 (exit $ac_status); } &&
101283 { ac_try='test -z "$ac_c_werror_flag"
101284 || test ! -s conftest.err'
101285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101286 (eval $ac_try) 2>&5
101287 ac_status=$?
101288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101289 (exit $ac_status); }; } &&
101290 { ac_try='test -s conftest$ac_exeext'
101291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101292 (eval $ac_try) 2>&5
101293 ac_status=$?
101294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101295 (exit $ac_status); }; }; then
101296 eval "$as_ac_var=yes"
101298 echo "$as_me: failed program was:" >&5
101299 sed 's/^/| /' conftest.$ac_ext >&5
101301 eval "$as_ac_var=no"
101303 rm -f conftest.err conftest.$ac_objext \
101304 conftest$ac_exeext conftest.$ac_ext
101306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101308 if test `eval echo '${'$as_ac_var'}'` = yes; then
101309 cat >>confdefs.h <<_ACEOF
101310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101311 _ACEOF
101314 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
101320 for ac_func in __signbit
101322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101323 echo "$as_me:$LINENO: checking for $ac_func" >&5
101324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101325 if eval "test \"\${$as_ac_var+set}\" = set"; then
101326 echo $ECHO_N "(cached) $ECHO_C" >&6
101328 if test x$gcc_no_link = xyes; then
101329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101331 { (exit 1); exit 1; }; }
101333 cat >conftest.$ac_ext <<_ACEOF
101334 /* confdefs.h. */
101335 _ACEOF
101336 cat confdefs.h >>conftest.$ac_ext
101337 cat >>conftest.$ac_ext <<_ACEOF
101338 /* end confdefs.h. */
101339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101341 #define $ac_func innocuous_$ac_func
101343 /* System header to define __stub macros and hopefully few prototypes,
101344 which can conflict with char $ac_func (); below.
101345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101346 <limits.h> exists even on freestanding compilers. */
101348 #ifdef __STDC__
101349 # include <limits.h>
101350 #else
101351 # include <assert.h>
101352 #endif
101354 #undef $ac_func
101356 /* Override any gcc2 internal prototype to avoid an error. */
101357 #ifdef __cplusplus
101358 extern "C"
101360 #endif
101361 /* We use char because int might match the return type of a gcc2
101362 builtin and then its argument prototype would still apply. */
101363 char $ac_func ();
101364 /* The GNU C library defines this for functions which it implements
101365 to always fail with ENOSYS. Some functions are actually named
101366 something starting with __ and the normal name is an alias. */
101367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101368 choke me
101369 #else
101370 char (*f) () = $ac_func;
101371 #endif
101372 #ifdef __cplusplus
101374 #endif
101377 main ()
101379 return f != $ac_func;
101381 return 0;
101383 _ACEOF
101384 rm -f conftest.$ac_objext conftest$ac_exeext
101385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101386 (eval $ac_link) 2>conftest.er1
101387 ac_status=$?
101388 grep -v '^ *+' conftest.er1 >conftest.err
101389 rm -f conftest.er1
101390 cat conftest.err >&5
101391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101392 (exit $ac_status); } &&
101393 { ac_try='test -z "$ac_c_werror_flag"
101394 || test ! -s conftest.err'
101395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101396 (eval $ac_try) 2>&5
101397 ac_status=$?
101398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101399 (exit $ac_status); }; } &&
101400 { ac_try='test -s conftest$ac_exeext'
101401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101402 (eval $ac_try) 2>&5
101403 ac_status=$?
101404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101405 (exit $ac_status); }; }; then
101406 eval "$as_ac_var=yes"
101408 echo "$as_me: failed program was:" >&5
101409 sed 's/^/| /' conftest.$ac_ext >&5
101411 eval "$as_ac_var=no"
101413 rm -f conftest.err conftest.$ac_objext \
101414 conftest$ac_exeext conftest.$ac_ext
101416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101418 if test `eval echo '${'$as_ac_var'}'` = yes; then
101419 cat >>confdefs.h <<_ACEOF
101420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101421 _ACEOF
101424 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
101430 for ac_func in __signbitf
101432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101433 echo "$as_me:$LINENO: checking for $ac_func" >&5
101434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101435 if eval "test \"\${$as_ac_var+set}\" = set"; then
101436 echo $ECHO_N "(cached) $ECHO_C" >&6
101438 if test x$gcc_no_link = xyes; then
101439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101441 { (exit 1); exit 1; }; }
101443 cat >conftest.$ac_ext <<_ACEOF
101444 /* confdefs.h. */
101445 _ACEOF
101446 cat confdefs.h >>conftest.$ac_ext
101447 cat >>conftest.$ac_ext <<_ACEOF
101448 /* end confdefs.h. */
101449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101451 #define $ac_func innocuous_$ac_func
101453 /* System header to define __stub macros and hopefully few prototypes,
101454 which can conflict with char $ac_func (); below.
101455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101456 <limits.h> exists even on freestanding compilers. */
101458 #ifdef __STDC__
101459 # include <limits.h>
101460 #else
101461 # include <assert.h>
101462 #endif
101464 #undef $ac_func
101466 /* Override any gcc2 internal prototype to avoid an error. */
101467 #ifdef __cplusplus
101468 extern "C"
101470 #endif
101471 /* We use char because int might match the return type of a gcc2
101472 builtin and then its argument prototype would still apply. */
101473 char $ac_func ();
101474 /* The GNU C library defines this for functions which it implements
101475 to always fail with ENOSYS. Some functions are actually named
101476 something starting with __ and the normal name is an alias. */
101477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101478 choke me
101479 #else
101480 char (*f) () = $ac_func;
101481 #endif
101482 #ifdef __cplusplus
101484 #endif
101487 main ()
101489 return f != $ac_func;
101491 return 0;
101493 _ACEOF
101494 rm -f conftest.$ac_objext conftest$ac_exeext
101495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101496 (eval $ac_link) 2>conftest.er1
101497 ac_status=$?
101498 grep -v '^ *+' conftest.er1 >conftest.err
101499 rm -f conftest.er1
101500 cat conftest.err >&5
101501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101502 (exit $ac_status); } &&
101503 { ac_try='test -z "$ac_c_werror_flag"
101504 || test ! -s conftest.err'
101505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101506 (eval $ac_try) 2>&5
101507 ac_status=$?
101508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101509 (exit $ac_status); }; } &&
101510 { ac_try='test -s conftest$ac_exeext'
101511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101512 (eval $ac_try) 2>&5
101513 ac_status=$?
101514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101515 (exit $ac_status); }; }; then
101516 eval "$as_ac_var=yes"
101518 echo "$as_me: failed program was:" >&5
101519 sed 's/^/| /' conftest.$ac_ext >&5
101521 eval "$as_ac_var=no"
101523 rm -f conftest.err conftest.$ac_objext \
101524 conftest$ac_exeext conftest.$ac_ext
101526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101528 if test `eval echo '${'$as_ac_var'}'` = yes; then
101529 cat >>confdefs.h <<_ACEOF
101530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101531 _ACEOF
101534 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
101539 if test x$ac_cv_func_copysignl = x"yes"; then
101541 for ac_func in __signbitl
101543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101544 echo "$as_me:$LINENO: checking for $ac_func" >&5
101545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101546 if eval "test \"\${$as_ac_var+set}\" = set"; then
101547 echo $ECHO_N "(cached) $ECHO_C" >&6
101549 if test x$gcc_no_link = xyes; then
101550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101552 { (exit 1); exit 1; }; }
101554 cat >conftest.$ac_ext <<_ACEOF
101555 /* confdefs.h. */
101556 _ACEOF
101557 cat confdefs.h >>conftest.$ac_ext
101558 cat >>conftest.$ac_ext <<_ACEOF
101559 /* end confdefs.h. */
101560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101562 #define $ac_func innocuous_$ac_func
101564 /* System header to define __stub macros and hopefully few prototypes,
101565 which can conflict with char $ac_func (); below.
101566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101567 <limits.h> exists even on freestanding compilers. */
101569 #ifdef __STDC__
101570 # include <limits.h>
101571 #else
101572 # include <assert.h>
101573 #endif
101575 #undef $ac_func
101577 /* Override any gcc2 internal prototype to avoid an error. */
101578 #ifdef __cplusplus
101579 extern "C"
101581 #endif
101582 /* We use char because int might match the return type of a gcc2
101583 builtin and then its argument prototype would still apply. */
101584 char $ac_func ();
101585 /* The GNU C library defines this for functions which it implements
101586 to always fail with ENOSYS. Some functions are actually named
101587 something starting with __ and the normal name is an alias. */
101588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101589 choke me
101590 #else
101591 char (*f) () = $ac_func;
101592 #endif
101593 #ifdef __cplusplus
101595 #endif
101598 main ()
101600 return f != $ac_func;
101602 return 0;
101604 _ACEOF
101605 rm -f conftest.$ac_objext conftest$ac_exeext
101606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101607 (eval $ac_link) 2>conftest.er1
101608 ac_status=$?
101609 grep -v '^ *+' conftest.er1 >conftest.err
101610 rm -f conftest.er1
101611 cat conftest.err >&5
101612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101613 (exit $ac_status); } &&
101614 { ac_try='test -z "$ac_c_werror_flag"
101615 || test ! -s conftest.err'
101616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101617 (eval $ac_try) 2>&5
101618 ac_status=$?
101619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101620 (exit $ac_status); }; } &&
101621 { ac_try='test -s conftest$ac_exeext'
101622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101623 (eval $ac_try) 2>&5
101624 ac_status=$?
101625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101626 (exit $ac_status); }; }; then
101627 eval "$as_ac_var=yes"
101629 echo "$as_me: failed program was:" >&5
101630 sed 's/^/| /' conftest.$ac_ext >&5
101632 eval "$as_ac_var=no"
101634 rm -f conftest.err conftest.$ac_objext \
101635 conftest$ac_exeext conftest.$ac_ext
101637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101639 if test `eval echo '${'$as_ac_var'}'` = yes; then
101640 cat >>confdefs.h <<_ACEOF
101641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101642 _ACEOF
101645 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
101651 # Used in libmath/Makefile.am.
101652 if test -n "$LIBMATHOBJS"; then
101653 need_libmath=yes
101657 cat >>confdefs.h <<\_ACEOF
101658 #define HAVE_COPYSIGN 1
101659 _ACEOF
101661 cat >>confdefs.h <<\_ACEOF
101662 #define HAVE_COPYSIGNF 1
101663 _ACEOF
101665 cat >>confdefs.h <<\_ACEOF
101666 #define HAVE_FINITEF 1
101667 _ACEOF
101669 cat >>confdefs.h <<\_ACEOF
101670 #define HAVE_FINITE 1
101671 _ACEOF
101673 cat >>confdefs.h <<\_ACEOF
101674 #define HAVE_FREXPF 1
101675 _ACEOF
101677 cat >>confdefs.h <<\_ACEOF
101678 #define HAVE_HYPOTF 1
101679 _ACEOF
101681 cat >>confdefs.h <<\_ACEOF
101682 #define HAVE_ISINF 1
101683 _ACEOF
101685 cat >>confdefs.h <<\_ACEOF
101686 #define HAVE_ISINFF 1
101687 _ACEOF
101689 cat >>confdefs.h <<\_ACEOF
101690 #define HAVE_ISNAN 1
101691 _ACEOF
101693 cat >>confdefs.h <<\_ACEOF
101694 #define HAVE_ISNANF 1
101695 _ACEOF
101697 if test x"long_double_math_on_this_cpu" = x"yes"; then
101698 cat >>confdefs.h <<\_ACEOF
101699 #define HAVE_FINITEL 1
101700 _ACEOF
101702 cat >>confdefs.h <<\_ACEOF
101703 #define HAVE_ISINFL 1
101704 _ACEOF
101706 cat >>confdefs.h <<\_ACEOF
101707 #define HAVE_ISNANL 1
101708 _ACEOF
101712 *-netware)
101713 SECTION_FLAGS='-ffunction-sections -fdata-sections'
101716 # If we're not using GNU ld, then there's no point in even trying these
101717 # tests. Check for that first. We should have already tested for gld
101718 # by now (in libtool), but require it now just to be safe...
101719 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
101720 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
101724 # The name set by libtool depends on the version of libtool. Shame on us
101725 # for depending on an impl detail, but c'est la vie. Older versions used
101726 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
101727 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
101728 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
101729 # set (hence we're using an older libtool), then set it.
101730 if test x${with_gnu_ld+set} != xset; then
101731 if test x${ac_cv_prog_gnu_ld+set} != xset; then
101732 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
101733 with_gnu_ld=no
101735 with_gnu_ld=$ac_cv_prog_gnu_ld
101739 # Start by getting the version number. I think the libtool test already
101740 # does some of this, but throws away the result.
101741 glibcxx_ld_is_gold=no
101742 if test x"$with_gnu_ld" = x"yes"; then
101743 echo "$as_me:$LINENO: checking for ld version" >&5
101744 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
101746 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
101747 glibcxx_ld_is_gold=yes
101749 ldver=`$LD --version 2>/dev/null | head -1 | \
101750 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
101752 glibcxx_gnu_ld_version=`echo $ldver | \
101753 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
101754 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
101755 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
101758 # Set --gc-sections.
101759 glibcxx_have_gc_sections=no
101760 if test "$glibcxx_ld_is_gold" = "yes"; then
101761 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
101762 glibcxx_have_gc_sections=yes
101765 glibcxx_gcsections_min_ld=21602
101766 if test x"$with_gnu_ld" = x"yes" &&
101767 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
101768 glibcxx_have_gc_sections=yes
101771 if test "$glibcxx_have_gc_sections" = "yes"; then
101772 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
101773 # NB: This flag only works reliably after 2.16.1. Configure tests
101774 # for this are difficult, so hard wire a value that should work.
101776 ac_test_CFLAGS="${CFLAGS+set}"
101777 ac_save_CFLAGS="$CFLAGS"
101778 CFLAGS='-Wl,--gc-sections'
101780 # Check for -Wl,--gc-sections
101781 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
101782 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
101783 if test x$gcc_no_link = xyes; then
101784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101786 { (exit 1); exit 1; }; }
101788 cat >conftest.$ac_ext <<_ACEOF
101789 /* confdefs.h. */
101790 _ACEOF
101791 cat confdefs.h >>conftest.$ac_ext
101792 cat >>conftest.$ac_ext <<_ACEOF
101793 /* end confdefs.h. */
101794 int one(void) { return 1; }
101795 int two(void) { return 2; }
101798 main ()
101800 two();
101802 return 0;
101804 _ACEOF
101805 rm -f conftest.$ac_objext conftest$ac_exeext
101806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101807 (eval $ac_link) 2>conftest.er1
101808 ac_status=$?
101809 grep -v '^ *+' conftest.er1 >conftest.err
101810 rm -f conftest.er1
101811 cat conftest.err >&5
101812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101813 (exit $ac_status); } &&
101814 { ac_try='test -z "$ac_c_werror_flag"
101815 || test ! -s conftest.err'
101816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101817 (eval $ac_try) 2>&5
101818 ac_status=$?
101819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101820 (exit $ac_status); }; } &&
101821 { ac_try='test -s conftest$ac_exeext'
101822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101823 (eval $ac_try) 2>&5
101824 ac_status=$?
101825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101826 (exit $ac_status); }; }; then
101827 ac_gcsections=yes
101829 echo "$as_me: failed program was:" >&5
101830 sed 's/^/| /' conftest.$ac_ext >&5
101832 ac_gcsections=no
101834 rm -f conftest.err conftest.$ac_objext \
101835 conftest$ac_exeext conftest.$ac_ext
101836 if test "$ac_gcsections" = "yes"; then
101837 rm -f conftest.c
101838 touch conftest.c
101839 if $CC -c conftest.c; then
101840 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
101841 grep "Warning: gc-sections option ignored" > /dev/null; then
101842 ac_gcsections=no
101845 rm -f conftest.c conftest.o conftest
101847 if test "$ac_gcsections" = "yes"; then
101848 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
101850 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
101851 echo "${ECHO_T}$ac_gcsections" >&6
101853 if test "$ac_test_CFLAGS" = set; then
101854 CFLAGS="$ac_save_CFLAGS"
101856 # this is the suspicious part
101857 CFLAGS=''
101861 # Set -z,relro.
101862 # Note this is only for shared objects.
101863 ac_ld_relro=no
101864 if test x"$with_gnu_ld" = x"yes"; then
101865 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
101866 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
101867 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
101868 if test -n "$cxx_z_relo"; then
101869 OPT_LDFLAGS="-Wl,-z,relro"
101870 ac_ld_relro=yes
101872 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
101873 echo "${ECHO_T}$ac_ld_relro" >&6
101876 # Set linker optimization flags.
101877 if test x"$with_gnu_ld" = x"yes"; then
101878 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
101886 echo "$as_me:$LINENO: checking for main in -lm" >&5
101887 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
101888 if test "${ac_cv_lib_m_main+set}" = set; then
101889 echo $ECHO_N "(cached) $ECHO_C" >&6
101891 ac_check_lib_save_LIBS=$LIBS
101892 LIBS="-lm $LIBS"
101893 if test x$gcc_no_link = xyes; then
101894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101896 { (exit 1); exit 1; }; }
101898 cat >conftest.$ac_ext <<_ACEOF
101899 /* confdefs.h. */
101900 _ACEOF
101901 cat confdefs.h >>conftest.$ac_ext
101902 cat >>conftest.$ac_ext <<_ACEOF
101903 /* end confdefs.h. */
101907 main ()
101909 main ();
101911 return 0;
101913 _ACEOF
101914 rm -f conftest.$ac_objext conftest$ac_exeext
101915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101916 (eval $ac_link) 2>conftest.er1
101917 ac_status=$?
101918 grep -v '^ *+' conftest.er1 >conftest.err
101919 rm -f conftest.er1
101920 cat conftest.err >&5
101921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101922 (exit $ac_status); } &&
101923 { ac_try='test -z "$ac_c_werror_flag"
101924 || test ! -s conftest.err'
101925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101926 (eval $ac_try) 2>&5
101927 ac_status=$?
101928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101929 (exit $ac_status); }; } &&
101930 { ac_try='test -s conftest$ac_exeext'
101931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101932 (eval $ac_try) 2>&5
101933 ac_status=$?
101934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101935 (exit $ac_status); }; }; then
101936 ac_cv_lib_m_main=yes
101938 echo "$as_me: failed program was:" >&5
101939 sed 's/^/| /' conftest.$ac_ext >&5
101941 ac_cv_lib_m_main=no
101943 rm -f conftest.err conftest.$ac_objext \
101944 conftest$ac_exeext conftest.$ac_ext
101945 LIBS=$ac_check_lib_save_LIBS
101947 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
101948 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
101949 if test $ac_cv_lib_m_main = yes; then
101950 cat >>confdefs.h <<_ACEOF
101951 #define HAVE_LIBM 1
101952 _ACEOF
101954 LIBS="-lm $LIBS"
101959 for ac_func in copysignf
101961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101962 echo "$as_me:$LINENO: checking for $ac_func" >&5
101963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101964 if eval "test \"\${$as_ac_var+set}\" = set"; then
101965 echo $ECHO_N "(cached) $ECHO_C" >&6
101967 if test x$gcc_no_link = xyes; then
101968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101970 { (exit 1); exit 1; }; }
101972 cat >conftest.$ac_ext <<_ACEOF
101973 /* confdefs.h. */
101974 _ACEOF
101975 cat confdefs.h >>conftest.$ac_ext
101976 cat >>conftest.$ac_ext <<_ACEOF
101977 /* end confdefs.h. */
101978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101980 #define $ac_func innocuous_$ac_func
101982 /* System header to define __stub macros and hopefully few prototypes,
101983 which can conflict with char $ac_func (); below.
101984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101985 <limits.h> exists even on freestanding compilers. */
101987 #ifdef __STDC__
101988 # include <limits.h>
101989 #else
101990 # include <assert.h>
101991 #endif
101993 #undef $ac_func
101995 /* Override any gcc2 internal prototype to avoid an error. */
101996 #ifdef __cplusplus
101997 extern "C"
101999 #endif
102000 /* We use char because int might match the return type of a gcc2
102001 builtin and then its argument prototype would still apply. */
102002 char $ac_func ();
102003 /* The GNU C library defines this for functions which it implements
102004 to always fail with ENOSYS. Some functions are actually named
102005 something starting with __ and the normal name is an alias. */
102006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102007 choke me
102008 #else
102009 char (*f) () = $ac_func;
102010 #endif
102011 #ifdef __cplusplus
102013 #endif
102016 main ()
102018 return f != $ac_func;
102020 return 0;
102022 _ACEOF
102023 rm -f conftest.$ac_objext conftest$ac_exeext
102024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102025 (eval $ac_link) 2>conftest.er1
102026 ac_status=$?
102027 grep -v '^ *+' conftest.er1 >conftest.err
102028 rm -f conftest.er1
102029 cat conftest.err >&5
102030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102031 (exit $ac_status); } &&
102032 { ac_try='test -z "$ac_c_werror_flag"
102033 || test ! -s conftest.err'
102034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102035 (eval $ac_try) 2>&5
102036 ac_status=$?
102037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102038 (exit $ac_status); }; } &&
102039 { ac_try='test -s conftest$ac_exeext'
102040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102041 (eval $ac_try) 2>&5
102042 ac_status=$?
102043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102044 (exit $ac_status); }; }; then
102045 eval "$as_ac_var=yes"
102047 echo "$as_me: failed program was:" >&5
102048 sed 's/^/| /' conftest.$ac_ext >&5
102050 eval "$as_ac_var=no"
102052 rm -f conftest.err conftest.$ac_objext \
102053 conftest$ac_exeext conftest.$ac_ext
102055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102057 if test `eval echo '${'$as_ac_var'}'` = yes; then
102058 cat >>confdefs.h <<_ACEOF
102059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102060 _ACEOF
102063 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
102069 for ac_func in __signbit
102071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102072 echo "$as_me:$LINENO: checking for $ac_func" >&5
102073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102074 if eval "test \"\${$as_ac_var+set}\" = set"; then
102075 echo $ECHO_N "(cached) $ECHO_C" >&6
102077 if test x$gcc_no_link = xyes; then
102078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102080 { (exit 1); exit 1; }; }
102082 cat >conftest.$ac_ext <<_ACEOF
102083 /* confdefs.h. */
102084 _ACEOF
102085 cat confdefs.h >>conftest.$ac_ext
102086 cat >>conftest.$ac_ext <<_ACEOF
102087 /* end confdefs.h. */
102088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102090 #define $ac_func innocuous_$ac_func
102092 /* System header to define __stub macros and hopefully few prototypes,
102093 which can conflict with char $ac_func (); below.
102094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102095 <limits.h> exists even on freestanding compilers. */
102097 #ifdef __STDC__
102098 # include <limits.h>
102099 #else
102100 # include <assert.h>
102101 #endif
102103 #undef $ac_func
102105 /* Override any gcc2 internal prototype to avoid an error. */
102106 #ifdef __cplusplus
102107 extern "C"
102109 #endif
102110 /* We use char because int might match the return type of a gcc2
102111 builtin and then its argument prototype would still apply. */
102112 char $ac_func ();
102113 /* The GNU C library defines this for functions which it implements
102114 to always fail with ENOSYS. Some functions are actually named
102115 something starting with __ and the normal name is an alias. */
102116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102117 choke me
102118 #else
102119 char (*f) () = $ac_func;
102120 #endif
102121 #ifdef __cplusplus
102123 #endif
102126 main ()
102128 return f != $ac_func;
102130 return 0;
102132 _ACEOF
102133 rm -f conftest.$ac_objext conftest$ac_exeext
102134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102135 (eval $ac_link) 2>conftest.er1
102136 ac_status=$?
102137 grep -v '^ *+' conftest.er1 >conftest.err
102138 rm -f conftest.er1
102139 cat conftest.err >&5
102140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102141 (exit $ac_status); } &&
102142 { ac_try='test -z "$ac_c_werror_flag"
102143 || test ! -s conftest.err'
102144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102145 (eval $ac_try) 2>&5
102146 ac_status=$?
102147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102148 (exit $ac_status); }; } &&
102149 { ac_try='test -s conftest$ac_exeext'
102150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102151 (eval $ac_try) 2>&5
102152 ac_status=$?
102153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102154 (exit $ac_status); }; }; then
102155 eval "$as_ac_var=yes"
102157 echo "$as_me: failed program was:" >&5
102158 sed 's/^/| /' conftest.$ac_ext >&5
102160 eval "$as_ac_var=no"
102162 rm -f conftest.err conftest.$ac_objext \
102163 conftest$ac_exeext conftest.$ac_ext
102165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102167 if test `eval echo '${'$as_ac_var'}'` = yes; then
102168 cat >>confdefs.h <<_ACEOF
102169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102170 _ACEOF
102173 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
102179 for ac_func in __signbitf
102181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102182 echo "$as_me:$LINENO: checking for $ac_func" >&5
102183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102184 if eval "test \"\${$as_ac_var+set}\" = set"; then
102185 echo $ECHO_N "(cached) $ECHO_C" >&6
102187 if test x$gcc_no_link = xyes; then
102188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102190 { (exit 1); exit 1; }; }
102192 cat >conftest.$ac_ext <<_ACEOF
102193 /* confdefs.h. */
102194 _ACEOF
102195 cat confdefs.h >>conftest.$ac_ext
102196 cat >>conftest.$ac_ext <<_ACEOF
102197 /* end confdefs.h. */
102198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102200 #define $ac_func innocuous_$ac_func
102202 /* System header to define __stub macros and hopefully few prototypes,
102203 which can conflict with char $ac_func (); below.
102204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102205 <limits.h> exists even on freestanding compilers. */
102207 #ifdef __STDC__
102208 # include <limits.h>
102209 #else
102210 # include <assert.h>
102211 #endif
102213 #undef $ac_func
102215 /* Override any gcc2 internal prototype to avoid an error. */
102216 #ifdef __cplusplus
102217 extern "C"
102219 #endif
102220 /* We use char because int might match the return type of a gcc2
102221 builtin and then its argument prototype would still apply. */
102222 char $ac_func ();
102223 /* The GNU C library defines this for functions which it implements
102224 to always fail with ENOSYS. Some functions are actually named
102225 something starting with __ and the normal name is an alias. */
102226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102227 choke me
102228 #else
102229 char (*f) () = $ac_func;
102230 #endif
102231 #ifdef __cplusplus
102233 #endif
102236 main ()
102238 return f != $ac_func;
102240 return 0;
102242 _ACEOF
102243 rm -f conftest.$ac_objext conftest$ac_exeext
102244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102245 (eval $ac_link) 2>conftest.er1
102246 ac_status=$?
102247 grep -v '^ *+' conftest.er1 >conftest.err
102248 rm -f conftest.er1
102249 cat conftest.err >&5
102250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102251 (exit $ac_status); } &&
102252 { ac_try='test -z "$ac_c_werror_flag"
102253 || test ! -s conftest.err'
102254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102255 (eval $ac_try) 2>&5
102256 ac_status=$?
102257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102258 (exit $ac_status); }; } &&
102259 { ac_try='test -s conftest$ac_exeext'
102260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102261 (eval $ac_try) 2>&5
102262 ac_status=$?
102263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102264 (exit $ac_status); }; }; then
102265 eval "$as_ac_var=yes"
102267 echo "$as_me: failed program was:" >&5
102268 sed 's/^/| /' conftest.$ac_ext >&5
102270 eval "$as_ac_var=no"
102272 rm -f conftest.err conftest.$ac_objext \
102273 conftest$ac_exeext conftest.$ac_ext
102275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102277 if test `eval echo '${'$as_ac_var'}'` = yes; then
102278 cat >>confdefs.h <<_ACEOF
102279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102280 _ACEOF
102283 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
102288 if test x$ac_cv_func_copysignl = x"yes"; then
102290 for ac_func in __signbitl
102292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102293 echo "$as_me:$LINENO: checking for $ac_func" >&5
102294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102295 if eval "test \"\${$as_ac_var+set}\" = set"; then
102296 echo $ECHO_N "(cached) $ECHO_C" >&6
102298 if test x$gcc_no_link = xyes; then
102299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102301 { (exit 1); exit 1; }; }
102303 cat >conftest.$ac_ext <<_ACEOF
102304 /* confdefs.h. */
102305 _ACEOF
102306 cat confdefs.h >>conftest.$ac_ext
102307 cat >>conftest.$ac_ext <<_ACEOF
102308 /* end confdefs.h. */
102309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102311 #define $ac_func innocuous_$ac_func
102313 /* System header to define __stub macros and hopefully few prototypes,
102314 which can conflict with char $ac_func (); below.
102315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102316 <limits.h> exists even on freestanding compilers. */
102318 #ifdef __STDC__
102319 # include <limits.h>
102320 #else
102321 # include <assert.h>
102322 #endif
102324 #undef $ac_func
102326 /* Override any gcc2 internal prototype to avoid an error. */
102327 #ifdef __cplusplus
102328 extern "C"
102330 #endif
102331 /* We use char because int might match the return type of a gcc2
102332 builtin and then its argument prototype would still apply. */
102333 char $ac_func ();
102334 /* The GNU C library defines this for functions which it implements
102335 to always fail with ENOSYS. Some functions are actually named
102336 something starting with __ and the normal name is an alias. */
102337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102338 choke me
102339 #else
102340 char (*f) () = $ac_func;
102341 #endif
102342 #ifdef __cplusplus
102344 #endif
102347 main ()
102349 return f != $ac_func;
102351 return 0;
102353 _ACEOF
102354 rm -f conftest.$ac_objext conftest$ac_exeext
102355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102356 (eval $ac_link) 2>conftest.er1
102357 ac_status=$?
102358 grep -v '^ *+' conftest.er1 >conftest.err
102359 rm -f conftest.er1
102360 cat conftest.err >&5
102361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102362 (exit $ac_status); } &&
102363 { ac_try='test -z "$ac_c_werror_flag"
102364 || test ! -s conftest.err'
102365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102366 (eval $ac_try) 2>&5
102367 ac_status=$?
102368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102369 (exit $ac_status); }; } &&
102370 { ac_try='test -s conftest$ac_exeext'
102371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102372 (eval $ac_try) 2>&5
102373 ac_status=$?
102374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102375 (exit $ac_status); }; }; then
102376 eval "$as_ac_var=yes"
102378 echo "$as_me: failed program was:" >&5
102379 sed 's/^/| /' conftest.$ac_ext >&5
102381 eval "$as_ac_var=no"
102383 rm -f conftest.err conftest.$ac_objext \
102384 conftest$ac_exeext conftest.$ac_ext
102386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102388 if test `eval echo '${'$as_ac_var'}'` = yes; then
102389 cat >>confdefs.h <<_ACEOF
102390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102391 _ACEOF
102394 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
102400 # Used in libmath/Makefile.am.
102401 if test -n "$LIBMATHOBJS"; then
102402 need_libmath=yes
102406 cat >>confdefs.h <<\_ACEOF
102407 #define HAVE_HYPOT 1
102408 _ACEOF
102410 cat >>confdefs.h <<\_ACEOF
102411 #define HAVE_ISINF 1
102412 _ACEOF
102414 cat >>confdefs.h <<\_ACEOF
102415 #define HAVE_ISNAN 1
102416 _ACEOF
102419 *-qnx6.1* | *-qnx6.2*)
102420 SECTION_FLAGS='-ffunction-sections -fdata-sections'
102423 # If we're not using GNU ld, then there's no point in even trying these
102424 # tests. Check for that first. We should have already tested for gld
102425 # by now (in libtool), but require it now just to be safe...
102426 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
102427 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
102431 # The name set by libtool depends on the version of libtool. Shame on us
102432 # for depending on an impl detail, but c'est la vie. Older versions used
102433 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
102434 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
102435 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
102436 # set (hence we're using an older libtool), then set it.
102437 if test x${with_gnu_ld+set} != xset; then
102438 if test x${ac_cv_prog_gnu_ld+set} != xset; then
102439 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
102440 with_gnu_ld=no
102442 with_gnu_ld=$ac_cv_prog_gnu_ld
102446 # Start by getting the version number. I think the libtool test already
102447 # does some of this, but throws away the result.
102448 glibcxx_ld_is_gold=no
102449 if test x"$with_gnu_ld" = x"yes"; then
102450 echo "$as_me:$LINENO: checking for ld version" >&5
102451 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
102453 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
102454 glibcxx_ld_is_gold=yes
102456 ldver=`$LD --version 2>/dev/null | head -1 | \
102457 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
102459 glibcxx_gnu_ld_version=`echo $ldver | \
102460 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
102461 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
102462 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
102465 # Set --gc-sections.
102466 glibcxx_have_gc_sections=no
102467 if test "$glibcxx_ld_is_gold" = "yes"; then
102468 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
102469 glibcxx_have_gc_sections=yes
102472 glibcxx_gcsections_min_ld=21602
102473 if test x"$with_gnu_ld" = x"yes" &&
102474 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
102475 glibcxx_have_gc_sections=yes
102478 if test "$glibcxx_have_gc_sections" = "yes"; then
102479 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
102480 # NB: This flag only works reliably after 2.16.1. Configure tests
102481 # for this are difficult, so hard wire a value that should work.
102483 ac_test_CFLAGS="${CFLAGS+set}"
102484 ac_save_CFLAGS="$CFLAGS"
102485 CFLAGS='-Wl,--gc-sections'
102487 # Check for -Wl,--gc-sections
102488 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
102489 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
102490 if test x$gcc_no_link = xyes; then
102491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102493 { (exit 1); exit 1; }; }
102495 cat >conftest.$ac_ext <<_ACEOF
102496 /* confdefs.h. */
102497 _ACEOF
102498 cat confdefs.h >>conftest.$ac_ext
102499 cat >>conftest.$ac_ext <<_ACEOF
102500 /* end confdefs.h. */
102501 int one(void) { return 1; }
102502 int two(void) { return 2; }
102505 main ()
102507 two();
102509 return 0;
102511 _ACEOF
102512 rm -f conftest.$ac_objext conftest$ac_exeext
102513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102514 (eval $ac_link) 2>conftest.er1
102515 ac_status=$?
102516 grep -v '^ *+' conftest.er1 >conftest.err
102517 rm -f conftest.er1
102518 cat conftest.err >&5
102519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102520 (exit $ac_status); } &&
102521 { ac_try='test -z "$ac_c_werror_flag"
102522 || test ! -s conftest.err'
102523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102524 (eval $ac_try) 2>&5
102525 ac_status=$?
102526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102527 (exit $ac_status); }; } &&
102528 { ac_try='test -s conftest$ac_exeext'
102529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102530 (eval $ac_try) 2>&5
102531 ac_status=$?
102532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102533 (exit $ac_status); }; }; then
102534 ac_gcsections=yes
102536 echo "$as_me: failed program was:" >&5
102537 sed 's/^/| /' conftest.$ac_ext >&5
102539 ac_gcsections=no
102541 rm -f conftest.err conftest.$ac_objext \
102542 conftest$ac_exeext conftest.$ac_ext
102543 if test "$ac_gcsections" = "yes"; then
102544 rm -f conftest.c
102545 touch conftest.c
102546 if $CC -c conftest.c; then
102547 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
102548 grep "Warning: gc-sections option ignored" > /dev/null; then
102549 ac_gcsections=no
102552 rm -f conftest.c conftest.o conftest
102554 if test "$ac_gcsections" = "yes"; then
102555 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
102557 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
102558 echo "${ECHO_T}$ac_gcsections" >&6
102560 if test "$ac_test_CFLAGS" = set; then
102561 CFLAGS="$ac_save_CFLAGS"
102563 # this is the suspicious part
102564 CFLAGS=''
102568 # Set -z,relro.
102569 # Note this is only for shared objects.
102570 ac_ld_relro=no
102571 if test x"$with_gnu_ld" = x"yes"; then
102572 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
102573 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
102574 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
102575 if test -n "$cxx_z_relo"; then
102576 OPT_LDFLAGS="-Wl,-z,relro"
102577 ac_ld_relro=yes
102579 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
102580 echo "${ECHO_T}$ac_ld_relro" >&6
102583 # Set linker optimization flags.
102584 if test x"$with_gnu_ld" = x"yes"; then
102585 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
102593 echo "$as_me:$LINENO: checking for main in -lm" >&5
102594 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
102595 if test "${ac_cv_lib_m_main+set}" = set; then
102596 echo $ECHO_N "(cached) $ECHO_C" >&6
102598 ac_check_lib_save_LIBS=$LIBS
102599 LIBS="-lm $LIBS"
102600 if test x$gcc_no_link = xyes; then
102601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102603 { (exit 1); exit 1; }; }
102605 cat >conftest.$ac_ext <<_ACEOF
102606 /* confdefs.h. */
102607 _ACEOF
102608 cat confdefs.h >>conftest.$ac_ext
102609 cat >>conftest.$ac_ext <<_ACEOF
102610 /* end confdefs.h. */
102614 main ()
102616 main ();
102618 return 0;
102620 _ACEOF
102621 rm -f conftest.$ac_objext conftest$ac_exeext
102622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102623 (eval $ac_link) 2>conftest.er1
102624 ac_status=$?
102625 grep -v '^ *+' conftest.er1 >conftest.err
102626 rm -f conftest.er1
102627 cat conftest.err >&5
102628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102629 (exit $ac_status); } &&
102630 { ac_try='test -z "$ac_c_werror_flag"
102631 || test ! -s conftest.err'
102632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102633 (eval $ac_try) 2>&5
102634 ac_status=$?
102635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102636 (exit $ac_status); }; } &&
102637 { ac_try='test -s conftest$ac_exeext'
102638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102639 (eval $ac_try) 2>&5
102640 ac_status=$?
102641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102642 (exit $ac_status); }; }; then
102643 ac_cv_lib_m_main=yes
102645 echo "$as_me: failed program was:" >&5
102646 sed 's/^/| /' conftest.$ac_ext >&5
102648 ac_cv_lib_m_main=no
102650 rm -f conftest.err conftest.$ac_objext \
102651 conftest$ac_exeext conftest.$ac_ext
102652 LIBS=$ac_check_lib_save_LIBS
102654 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
102655 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
102656 if test $ac_cv_lib_m_main = yes; then
102657 cat >>confdefs.h <<_ACEOF
102658 #define HAVE_LIBM 1
102659 _ACEOF
102661 LIBS="-lm $LIBS"
102666 for ac_func in copysignf
102668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102669 echo "$as_me:$LINENO: checking for $ac_func" >&5
102670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102671 if eval "test \"\${$as_ac_var+set}\" = set"; then
102672 echo $ECHO_N "(cached) $ECHO_C" >&6
102674 if test x$gcc_no_link = xyes; then
102675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102677 { (exit 1); exit 1; }; }
102679 cat >conftest.$ac_ext <<_ACEOF
102680 /* confdefs.h. */
102681 _ACEOF
102682 cat confdefs.h >>conftest.$ac_ext
102683 cat >>conftest.$ac_ext <<_ACEOF
102684 /* end confdefs.h. */
102685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102687 #define $ac_func innocuous_$ac_func
102689 /* System header to define __stub macros and hopefully few prototypes,
102690 which can conflict with char $ac_func (); below.
102691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102692 <limits.h> exists even on freestanding compilers. */
102694 #ifdef __STDC__
102695 # include <limits.h>
102696 #else
102697 # include <assert.h>
102698 #endif
102700 #undef $ac_func
102702 /* Override any gcc2 internal prototype to avoid an error. */
102703 #ifdef __cplusplus
102704 extern "C"
102706 #endif
102707 /* We use char because int might match the return type of a gcc2
102708 builtin and then its argument prototype would still apply. */
102709 char $ac_func ();
102710 /* The GNU C library defines this for functions which it implements
102711 to always fail with ENOSYS. Some functions are actually named
102712 something starting with __ and the normal name is an alias. */
102713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102714 choke me
102715 #else
102716 char (*f) () = $ac_func;
102717 #endif
102718 #ifdef __cplusplus
102720 #endif
102723 main ()
102725 return f != $ac_func;
102727 return 0;
102729 _ACEOF
102730 rm -f conftest.$ac_objext conftest$ac_exeext
102731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102732 (eval $ac_link) 2>conftest.er1
102733 ac_status=$?
102734 grep -v '^ *+' conftest.er1 >conftest.err
102735 rm -f conftest.er1
102736 cat conftest.err >&5
102737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102738 (exit $ac_status); } &&
102739 { ac_try='test -z "$ac_c_werror_flag"
102740 || test ! -s conftest.err'
102741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102742 (eval $ac_try) 2>&5
102743 ac_status=$?
102744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102745 (exit $ac_status); }; } &&
102746 { ac_try='test -s conftest$ac_exeext'
102747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102748 (eval $ac_try) 2>&5
102749 ac_status=$?
102750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102751 (exit $ac_status); }; }; then
102752 eval "$as_ac_var=yes"
102754 echo "$as_me: failed program was:" >&5
102755 sed 's/^/| /' conftest.$ac_ext >&5
102757 eval "$as_ac_var=no"
102759 rm -f conftest.err conftest.$ac_objext \
102760 conftest$ac_exeext conftest.$ac_ext
102762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102764 if test `eval echo '${'$as_ac_var'}'` = yes; then
102765 cat >>confdefs.h <<_ACEOF
102766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102767 _ACEOF
102770 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
102776 for ac_func in __signbit
102778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102779 echo "$as_me:$LINENO: checking for $ac_func" >&5
102780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102781 if eval "test \"\${$as_ac_var+set}\" = set"; then
102782 echo $ECHO_N "(cached) $ECHO_C" >&6
102784 if test x$gcc_no_link = xyes; then
102785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102787 { (exit 1); exit 1; }; }
102789 cat >conftest.$ac_ext <<_ACEOF
102790 /* confdefs.h. */
102791 _ACEOF
102792 cat confdefs.h >>conftest.$ac_ext
102793 cat >>conftest.$ac_ext <<_ACEOF
102794 /* end confdefs.h. */
102795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102797 #define $ac_func innocuous_$ac_func
102799 /* System header to define __stub macros and hopefully few prototypes,
102800 which can conflict with char $ac_func (); below.
102801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102802 <limits.h> exists even on freestanding compilers. */
102804 #ifdef __STDC__
102805 # include <limits.h>
102806 #else
102807 # include <assert.h>
102808 #endif
102810 #undef $ac_func
102812 /* Override any gcc2 internal prototype to avoid an error. */
102813 #ifdef __cplusplus
102814 extern "C"
102816 #endif
102817 /* We use char because int might match the return type of a gcc2
102818 builtin and then its argument prototype would still apply. */
102819 char $ac_func ();
102820 /* The GNU C library defines this for functions which it implements
102821 to always fail with ENOSYS. Some functions are actually named
102822 something starting with __ and the normal name is an alias. */
102823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102824 choke me
102825 #else
102826 char (*f) () = $ac_func;
102827 #endif
102828 #ifdef __cplusplus
102830 #endif
102833 main ()
102835 return f != $ac_func;
102837 return 0;
102839 _ACEOF
102840 rm -f conftest.$ac_objext conftest$ac_exeext
102841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102842 (eval $ac_link) 2>conftest.er1
102843 ac_status=$?
102844 grep -v '^ *+' conftest.er1 >conftest.err
102845 rm -f conftest.er1
102846 cat conftest.err >&5
102847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102848 (exit $ac_status); } &&
102849 { ac_try='test -z "$ac_c_werror_flag"
102850 || test ! -s conftest.err'
102851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102852 (eval $ac_try) 2>&5
102853 ac_status=$?
102854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102855 (exit $ac_status); }; } &&
102856 { ac_try='test -s conftest$ac_exeext'
102857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102858 (eval $ac_try) 2>&5
102859 ac_status=$?
102860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102861 (exit $ac_status); }; }; then
102862 eval "$as_ac_var=yes"
102864 echo "$as_me: failed program was:" >&5
102865 sed 's/^/| /' conftest.$ac_ext >&5
102867 eval "$as_ac_var=no"
102869 rm -f conftest.err conftest.$ac_objext \
102870 conftest$ac_exeext conftest.$ac_ext
102872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102874 if test `eval echo '${'$as_ac_var'}'` = yes; then
102875 cat >>confdefs.h <<_ACEOF
102876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102877 _ACEOF
102880 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
102886 for ac_func in __signbitf
102888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102889 echo "$as_me:$LINENO: checking for $ac_func" >&5
102890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102891 if eval "test \"\${$as_ac_var+set}\" = set"; then
102892 echo $ECHO_N "(cached) $ECHO_C" >&6
102894 if test x$gcc_no_link = xyes; then
102895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102897 { (exit 1); exit 1; }; }
102899 cat >conftest.$ac_ext <<_ACEOF
102900 /* confdefs.h. */
102901 _ACEOF
102902 cat confdefs.h >>conftest.$ac_ext
102903 cat >>conftest.$ac_ext <<_ACEOF
102904 /* end confdefs.h. */
102905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102907 #define $ac_func innocuous_$ac_func
102909 /* System header to define __stub macros and hopefully few prototypes,
102910 which can conflict with char $ac_func (); below.
102911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102912 <limits.h> exists even on freestanding compilers. */
102914 #ifdef __STDC__
102915 # include <limits.h>
102916 #else
102917 # include <assert.h>
102918 #endif
102920 #undef $ac_func
102922 /* Override any gcc2 internal prototype to avoid an error. */
102923 #ifdef __cplusplus
102924 extern "C"
102926 #endif
102927 /* We use char because int might match the return type of a gcc2
102928 builtin and then its argument prototype would still apply. */
102929 char $ac_func ();
102930 /* The GNU C library defines this for functions which it implements
102931 to always fail with ENOSYS. Some functions are actually named
102932 something starting with __ and the normal name is an alias. */
102933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102934 choke me
102935 #else
102936 char (*f) () = $ac_func;
102937 #endif
102938 #ifdef __cplusplus
102940 #endif
102943 main ()
102945 return f != $ac_func;
102947 return 0;
102949 _ACEOF
102950 rm -f conftest.$ac_objext conftest$ac_exeext
102951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102952 (eval $ac_link) 2>conftest.er1
102953 ac_status=$?
102954 grep -v '^ *+' conftest.er1 >conftest.err
102955 rm -f conftest.er1
102956 cat conftest.err >&5
102957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102958 (exit $ac_status); } &&
102959 { ac_try='test -z "$ac_c_werror_flag"
102960 || test ! -s conftest.err'
102961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102962 (eval $ac_try) 2>&5
102963 ac_status=$?
102964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102965 (exit $ac_status); }; } &&
102966 { ac_try='test -s conftest$ac_exeext'
102967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102968 (eval $ac_try) 2>&5
102969 ac_status=$?
102970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102971 (exit $ac_status); }; }; then
102972 eval "$as_ac_var=yes"
102974 echo "$as_me: failed program was:" >&5
102975 sed 's/^/| /' conftest.$ac_ext >&5
102977 eval "$as_ac_var=no"
102979 rm -f conftest.err conftest.$ac_objext \
102980 conftest$ac_exeext conftest.$ac_ext
102982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102984 if test `eval echo '${'$as_ac_var'}'` = yes; then
102985 cat >>confdefs.h <<_ACEOF
102986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102987 _ACEOF
102990 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
102995 if test x$ac_cv_func_copysignl = x"yes"; then
102997 for ac_func in __signbitl
102999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103000 echo "$as_me:$LINENO: checking for $ac_func" >&5
103001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103002 if eval "test \"\${$as_ac_var+set}\" = set"; then
103003 echo $ECHO_N "(cached) $ECHO_C" >&6
103005 if test x$gcc_no_link = xyes; then
103006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103008 { (exit 1); exit 1; }; }
103010 cat >conftest.$ac_ext <<_ACEOF
103011 /* confdefs.h. */
103012 _ACEOF
103013 cat confdefs.h >>conftest.$ac_ext
103014 cat >>conftest.$ac_ext <<_ACEOF
103015 /* end confdefs.h. */
103016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103018 #define $ac_func innocuous_$ac_func
103020 /* System header to define __stub macros and hopefully few prototypes,
103021 which can conflict with char $ac_func (); below.
103022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103023 <limits.h> exists even on freestanding compilers. */
103025 #ifdef __STDC__
103026 # include <limits.h>
103027 #else
103028 # include <assert.h>
103029 #endif
103031 #undef $ac_func
103033 /* Override any gcc2 internal prototype to avoid an error. */
103034 #ifdef __cplusplus
103035 extern "C"
103037 #endif
103038 /* We use char because int might match the return type of a gcc2
103039 builtin and then its argument prototype would still apply. */
103040 char $ac_func ();
103041 /* The GNU C library defines this for functions which it implements
103042 to always fail with ENOSYS. Some functions are actually named
103043 something starting with __ and the normal name is an alias. */
103044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103045 choke me
103046 #else
103047 char (*f) () = $ac_func;
103048 #endif
103049 #ifdef __cplusplus
103051 #endif
103054 main ()
103056 return f != $ac_func;
103058 return 0;
103060 _ACEOF
103061 rm -f conftest.$ac_objext conftest$ac_exeext
103062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103063 (eval $ac_link) 2>conftest.er1
103064 ac_status=$?
103065 grep -v '^ *+' conftest.er1 >conftest.err
103066 rm -f conftest.er1
103067 cat conftest.err >&5
103068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103069 (exit $ac_status); } &&
103070 { ac_try='test -z "$ac_c_werror_flag"
103071 || test ! -s conftest.err'
103072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103073 (eval $ac_try) 2>&5
103074 ac_status=$?
103075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103076 (exit $ac_status); }; } &&
103077 { ac_try='test -s conftest$ac_exeext'
103078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103079 (eval $ac_try) 2>&5
103080 ac_status=$?
103081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103082 (exit $ac_status); }; }; then
103083 eval "$as_ac_var=yes"
103085 echo "$as_me: failed program was:" >&5
103086 sed 's/^/| /' conftest.$ac_ext >&5
103088 eval "$as_ac_var=no"
103090 rm -f conftest.err conftest.$ac_objext \
103091 conftest$ac_exeext conftest.$ac_ext
103093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103095 if test `eval echo '${'$as_ac_var'}'` = yes; then
103096 cat >>confdefs.h <<_ACEOF
103097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103098 _ACEOF
103101 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
103107 # Used in libmath/Makefile.am.
103108 if test -n "$LIBMATHOBJS"; then
103109 need_libmath=yes
103113 cat >>confdefs.h <<\_ACEOF
103114 #define HAVE_COSF 1
103115 _ACEOF
103117 cat >>confdefs.h <<\_ACEOF
103118 #define HAVE_COSL 1
103119 _ACEOF
103121 cat >>confdefs.h <<\_ACEOF
103122 #define HAVE_COSHF 1
103123 _ACEOF
103125 cat >>confdefs.h <<\_ACEOF
103126 #define HAVE_COSHL 1
103127 _ACEOF
103129 cat >>confdefs.h <<\_ACEOF
103130 #define HAVE_LOGF 1
103131 _ACEOF
103133 cat >>confdefs.h <<\_ACEOF
103134 #define HAVE_LOGL 1
103135 _ACEOF
103137 cat >>confdefs.h <<\_ACEOF
103138 #define HAVE_LOG10F 1
103139 _ACEOF
103141 cat >>confdefs.h <<\_ACEOF
103142 #define HAVE_LOG10L 1
103143 _ACEOF
103145 cat >>confdefs.h <<\_ACEOF
103146 #define HAVE_SINF 1
103147 _ACEOF
103149 cat >>confdefs.h <<\_ACEOF
103150 #define HAVE_SINL 1
103151 _ACEOF
103153 cat >>confdefs.h <<\_ACEOF
103154 #define HAVE_SINHF 1
103155 _ACEOF
103157 cat >>confdefs.h <<\_ACEOF
103158 #define HAVE_SINHL 1
103159 _ACEOF
103162 *-solaris*)
103163 case "$target" in
103164 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
103166 # If we're not using GNU ld, then there's no point in even trying these
103167 # tests. Check for that first. We should have already tested for gld
103168 # by now (in libtool), but require it now just to be safe...
103169 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
103170 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
103174 # The name set by libtool depends on the version of libtool. Shame on us
103175 # for depending on an impl detail, but c'est la vie. Older versions used
103176 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
103177 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
103178 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
103179 # set (hence we're using an older libtool), then set it.
103180 if test x${with_gnu_ld+set} != xset; then
103181 if test x${ac_cv_prog_gnu_ld+set} != xset; then
103182 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
103183 with_gnu_ld=no
103185 with_gnu_ld=$ac_cv_prog_gnu_ld
103189 # Start by getting the version number. I think the libtool test already
103190 # does some of this, but throws away the result.
103191 glibcxx_ld_is_gold=no
103192 if test x"$with_gnu_ld" = x"yes"; then
103193 echo "$as_me:$LINENO: checking for ld version" >&5
103194 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
103196 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
103197 glibcxx_ld_is_gold=yes
103199 ldver=`$LD --version 2>/dev/null | head -1 | \
103200 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
103202 glibcxx_gnu_ld_version=`echo $ldver | \
103203 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
103204 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
103205 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
103208 # Set --gc-sections.
103209 glibcxx_have_gc_sections=no
103210 if test "$glibcxx_ld_is_gold" = "yes"; then
103211 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
103212 glibcxx_have_gc_sections=yes
103215 glibcxx_gcsections_min_ld=21602
103216 if test x"$with_gnu_ld" = x"yes" &&
103217 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
103218 glibcxx_have_gc_sections=yes
103221 if test "$glibcxx_have_gc_sections" = "yes"; then
103222 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
103223 # NB: This flag only works reliably after 2.16.1. Configure tests
103224 # for this are difficult, so hard wire a value that should work.
103226 ac_test_CFLAGS="${CFLAGS+set}"
103227 ac_save_CFLAGS="$CFLAGS"
103228 CFLAGS='-Wl,--gc-sections'
103230 # Check for -Wl,--gc-sections
103231 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
103232 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
103233 if test x$gcc_no_link = xyes; then
103234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103236 { (exit 1); exit 1; }; }
103238 cat >conftest.$ac_ext <<_ACEOF
103239 /* confdefs.h. */
103240 _ACEOF
103241 cat confdefs.h >>conftest.$ac_ext
103242 cat >>conftest.$ac_ext <<_ACEOF
103243 /* end confdefs.h. */
103244 int one(void) { return 1; }
103245 int two(void) { return 2; }
103248 main ()
103250 two();
103252 return 0;
103254 _ACEOF
103255 rm -f conftest.$ac_objext conftest$ac_exeext
103256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103257 (eval $ac_link) 2>conftest.er1
103258 ac_status=$?
103259 grep -v '^ *+' conftest.er1 >conftest.err
103260 rm -f conftest.er1
103261 cat conftest.err >&5
103262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103263 (exit $ac_status); } &&
103264 { ac_try='test -z "$ac_c_werror_flag"
103265 || test ! -s conftest.err'
103266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103267 (eval $ac_try) 2>&5
103268 ac_status=$?
103269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103270 (exit $ac_status); }; } &&
103271 { ac_try='test -s conftest$ac_exeext'
103272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103273 (eval $ac_try) 2>&5
103274 ac_status=$?
103275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103276 (exit $ac_status); }; }; then
103277 ac_gcsections=yes
103279 echo "$as_me: failed program was:" >&5
103280 sed 's/^/| /' conftest.$ac_ext >&5
103282 ac_gcsections=no
103284 rm -f conftest.err conftest.$ac_objext \
103285 conftest$ac_exeext conftest.$ac_ext
103286 if test "$ac_gcsections" = "yes"; then
103287 rm -f conftest.c
103288 touch conftest.c
103289 if $CC -c conftest.c; then
103290 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
103291 grep "Warning: gc-sections option ignored" > /dev/null; then
103292 ac_gcsections=no
103295 rm -f conftest.c conftest.o conftest
103297 if test "$ac_gcsections" = "yes"; then
103298 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
103300 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
103301 echo "${ECHO_T}$ac_gcsections" >&6
103303 if test "$ac_test_CFLAGS" = set; then
103304 CFLAGS="$ac_save_CFLAGS"
103306 # this is the suspicious part
103307 CFLAGS=''
103311 # Set -z,relro.
103312 # Note this is only for shared objects.
103313 ac_ld_relro=no
103314 if test x"$with_gnu_ld" = x"yes"; then
103315 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
103316 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
103317 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
103318 if test -n "$cxx_z_relo"; then
103319 OPT_LDFLAGS="-Wl,-z,relro"
103320 ac_ld_relro=yes
103322 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
103323 echo "${ECHO_T}$ac_ld_relro" >&6
103326 # Set linker optimization flags.
103327 if test x"$with_gnu_ld" = x"yes"; then
103328 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
103334 cat >>confdefs.h <<\_ACEOF
103335 #define HAVE_MBSTATE_T 1
103336 _ACEOF
103338 cat >>confdefs.h <<\_ACEOF
103339 #define HAVE_FINITE 1
103340 _ACEOF
103342 cat >>confdefs.h <<\_ACEOF
103343 #define HAVE_FPCLASS 1
103344 _ACEOF
103346 # All of the dependencies for wide character support are here, so
103347 # turn it on.
103348 cat >>confdefs.h <<\_ACEOF
103349 #define _GLIBCXX_USE_WCHAR_T 1
103350 _ACEOF
103353 cat >>confdefs.h <<\_ACEOF
103354 #define HAVE_LIBM 1
103355 _ACEOF
103359 case "$target" in
103360 *-*-solaris2.10)
103361 # These two C99 functions are present only in Solaris >= 10
103362 cat >>confdefs.h <<\_ACEOF
103363 #define HAVE_STRTOF 1
103364 _ACEOF
103366 cat >>confdefs.h <<\_ACEOF
103367 #define HAVE_STRTOLD 1
103368 _ACEOF
103372 cat >>confdefs.h <<\_ACEOF
103373 #define HAVE_COPYSIGN 1
103374 _ACEOF
103376 cat >>confdefs.h <<\_ACEOF
103377 #define HAVE_ISNAN 1
103378 _ACEOF
103380 cat >>confdefs.h <<\_ACEOF
103381 #define HAVE_ISNANF 1
103382 _ACEOF
103384 cat >>confdefs.h <<\_ACEOF
103385 #define HAVE_MODFF 1
103386 _ACEOF
103388 cat >>confdefs.h <<\_ACEOF
103389 #define HAVE_HYPOT 1
103390 _ACEOF
103393 *-tpf)
103394 SECTION_FLAGS='-ffunction-sections -fdata-sections'
103397 # If we're not using GNU ld, then there's no point in even trying these
103398 # tests. Check for that first. We should have already tested for gld
103399 # by now (in libtool), but require it now just to be safe...
103400 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
103401 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
103405 # The name set by libtool depends on the version of libtool. Shame on us
103406 # for depending on an impl detail, but c'est la vie. Older versions used
103407 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
103408 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
103409 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
103410 # set (hence we're using an older libtool), then set it.
103411 if test x${with_gnu_ld+set} != xset; then
103412 if test x${ac_cv_prog_gnu_ld+set} != xset; then
103413 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
103414 with_gnu_ld=no
103416 with_gnu_ld=$ac_cv_prog_gnu_ld
103420 # Start by getting the version number. I think the libtool test already
103421 # does some of this, but throws away the result.
103422 glibcxx_ld_is_gold=no
103423 if test x"$with_gnu_ld" = x"yes"; then
103424 echo "$as_me:$LINENO: checking for ld version" >&5
103425 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
103427 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
103428 glibcxx_ld_is_gold=yes
103430 ldver=`$LD --version 2>/dev/null | head -1 | \
103431 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
103433 glibcxx_gnu_ld_version=`echo $ldver | \
103434 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
103435 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
103436 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
103439 # Set --gc-sections.
103440 glibcxx_have_gc_sections=no
103441 if test "$glibcxx_ld_is_gold" = "yes"; then
103442 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
103443 glibcxx_have_gc_sections=yes
103446 glibcxx_gcsections_min_ld=21602
103447 if test x"$with_gnu_ld" = x"yes" &&
103448 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
103449 glibcxx_have_gc_sections=yes
103452 if test "$glibcxx_have_gc_sections" = "yes"; then
103453 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
103454 # NB: This flag only works reliably after 2.16.1. Configure tests
103455 # for this are difficult, so hard wire a value that should work.
103457 ac_test_CFLAGS="${CFLAGS+set}"
103458 ac_save_CFLAGS="$CFLAGS"
103459 CFLAGS='-Wl,--gc-sections'
103461 # Check for -Wl,--gc-sections
103462 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
103463 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
103464 if test x$gcc_no_link = xyes; then
103465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103467 { (exit 1); exit 1; }; }
103469 cat >conftest.$ac_ext <<_ACEOF
103470 /* confdefs.h. */
103471 _ACEOF
103472 cat confdefs.h >>conftest.$ac_ext
103473 cat >>conftest.$ac_ext <<_ACEOF
103474 /* end confdefs.h. */
103475 int one(void) { return 1; }
103476 int two(void) { return 2; }
103479 main ()
103481 two();
103483 return 0;
103485 _ACEOF
103486 rm -f conftest.$ac_objext conftest$ac_exeext
103487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103488 (eval $ac_link) 2>conftest.er1
103489 ac_status=$?
103490 grep -v '^ *+' conftest.er1 >conftest.err
103491 rm -f conftest.er1
103492 cat conftest.err >&5
103493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103494 (exit $ac_status); } &&
103495 { ac_try='test -z "$ac_c_werror_flag"
103496 || test ! -s conftest.err'
103497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103498 (eval $ac_try) 2>&5
103499 ac_status=$?
103500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103501 (exit $ac_status); }; } &&
103502 { ac_try='test -s conftest$ac_exeext'
103503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103504 (eval $ac_try) 2>&5
103505 ac_status=$?
103506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103507 (exit $ac_status); }; }; then
103508 ac_gcsections=yes
103510 echo "$as_me: failed program was:" >&5
103511 sed 's/^/| /' conftest.$ac_ext >&5
103513 ac_gcsections=no
103515 rm -f conftest.err conftest.$ac_objext \
103516 conftest$ac_exeext conftest.$ac_ext
103517 if test "$ac_gcsections" = "yes"; then
103518 rm -f conftest.c
103519 touch conftest.c
103520 if $CC -c conftest.c; then
103521 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
103522 grep "Warning: gc-sections option ignored" > /dev/null; then
103523 ac_gcsections=no
103526 rm -f conftest.c conftest.o conftest
103528 if test "$ac_gcsections" = "yes"; then
103529 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
103531 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
103532 echo "${ECHO_T}$ac_gcsections" >&6
103534 if test "$ac_test_CFLAGS" = set; then
103535 CFLAGS="$ac_save_CFLAGS"
103537 # this is the suspicious part
103538 CFLAGS=''
103542 # Set -z,relro.
103543 # Note this is only for shared objects.
103544 ac_ld_relro=no
103545 if test x"$with_gnu_ld" = x"yes"; then
103546 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
103547 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
103548 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
103549 if test -n "$cxx_z_relo"; then
103550 OPT_LDFLAGS="-Wl,-z,relro"
103551 ac_ld_relro=yes
103553 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
103554 echo "${ECHO_T}$ac_ld_relro" >&6
103557 # Set linker optimization flags.
103558 if test x"$with_gnu_ld" = x"yes"; then
103559 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
103567 echo "$as_me:$LINENO: checking for main in -lm" >&5
103568 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
103569 if test "${ac_cv_lib_m_main+set}" = set; then
103570 echo $ECHO_N "(cached) $ECHO_C" >&6
103572 ac_check_lib_save_LIBS=$LIBS
103573 LIBS="-lm $LIBS"
103574 if test x$gcc_no_link = xyes; then
103575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103577 { (exit 1); exit 1; }; }
103579 cat >conftest.$ac_ext <<_ACEOF
103580 /* confdefs.h. */
103581 _ACEOF
103582 cat confdefs.h >>conftest.$ac_ext
103583 cat >>conftest.$ac_ext <<_ACEOF
103584 /* end confdefs.h. */
103588 main ()
103590 main ();
103592 return 0;
103594 _ACEOF
103595 rm -f conftest.$ac_objext conftest$ac_exeext
103596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103597 (eval $ac_link) 2>conftest.er1
103598 ac_status=$?
103599 grep -v '^ *+' conftest.er1 >conftest.err
103600 rm -f conftest.er1
103601 cat conftest.err >&5
103602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103603 (exit $ac_status); } &&
103604 { ac_try='test -z "$ac_c_werror_flag"
103605 || test ! -s conftest.err'
103606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103607 (eval $ac_try) 2>&5
103608 ac_status=$?
103609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103610 (exit $ac_status); }; } &&
103611 { ac_try='test -s conftest$ac_exeext'
103612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103613 (eval $ac_try) 2>&5
103614 ac_status=$?
103615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103616 (exit $ac_status); }; }; then
103617 ac_cv_lib_m_main=yes
103619 echo "$as_me: failed program was:" >&5
103620 sed 's/^/| /' conftest.$ac_ext >&5
103622 ac_cv_lib_m_main=no
103624 rm -f conftest.err conftest.$ac_objext \
103625 conftest$ac_exeext conftest.$ac_ext
103626 LIBS=$ac_check_lib_save_LIBS
103628 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
103629 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
103630 if test $ac_cv_lib_m_main = yes; then
103631 cat >>confdefs.h <<_ACEOF
103632 #define HAVE_LIBM 1
103633 _ACEOF
103635 LIBS="-lm $LIBS"
103640 for ac_func in copysignf
103642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103643 echo "$as_me:$LINENO: checking for $ac_func" >&5
103644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103645 if eval "test \"\${$as_ac_var+set}\" = set"; then
103646 echo $ECHO_N "(cached) $ECHO_C" >&6
103648 if test x$gcc_no_link = xyes; then
103649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103651 { (exit 1); exit 1; }; }
103653 cat >conftest.$ac_ext <<_ACEOF
103654 /* confdefs.h. */
103655 _ACEOF
103656 cat confdefs.h >>conftest.$ac_ext
103657 cat >>conftest.$ac_ext <<_ACEOF
103658 /* end confdefs.h. */
103659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103661 #define $ac_func innocuous_$ac_func
103663 /* System header to define __stub macros and hopefully few prototypes,
103664 which can conflict with char $ac_func (); below.
103665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103666 <limits.h> exists even on freestanding compilers. */
103668 #ifdef __STDC__
103669 # include <limits.h>
103670 #else
103671 # include <assert.h>
103672 #endif
103674 #undef $ac_func
103676 /* Override any gcc2 internal prototype to avoid an error. */
103677 #ifdef __cplusplus
103678 extern "C"
103680 #endif
103681 /* We use char because int might match the return type of a gcc2
103682 builtin and then its argument prototype would still apply. */
103683 char $ac_func ();
103684 /* The GNU C library defines this for functions which it implements
103685 to always fail with ENOSYS. Some functions are actually named
103686 something starting with __ and the normal name is an alias. */
103687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103688 choke me
103689 #else
103690 char (*f) () = $ac_func;
103691 #endif
103692 #ifdef __cplusplus
103694 #endif
103697 main ()
103699 return f != $ac_func;
103701 return 0;
103703 _ACEOF
103704 rm -f conftest.$ac_objext conftest$ac_exeext
103705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103706 (eval $ac_link) 2>conftest.er1
103707 ac_status=$?
103708 grep -v '^ *+' conftest.er1 >conftest.err
103709 rm -f conftest.er1
103710 cat conftest.err >&5
103711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103712 (exit $ac_status); } &&
103713 { ac_try='test -z "$ac_c_werror_flag"
103714 || test ! -s conftest.err'
103715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103716 (eval $ac_try) 2>&5
103717 ac_status=$?
103718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103719 (exit $ac_status); }; } &&
103720 { ac_try='test -s conftest$ac_exeext'
103721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103722 (eval $ac_try) 2>&5
103723 ac_status=$?
103724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103725 (exit $ac_status); }; }; then
103726 eval "$as_ac_var=yes"
103728 echo "$as_me: failed program was:" >&5
103729 sed 's/^/| /' conftest.$ac_ext >&5
103731 eval "$as_ac_var=no"
103733 rm -f conftest.err conftest.$ac_objext \
103734 conftest$ac_exeext conftest.$ac_ext
103736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103738 if test `eval echo '${'$as_ac_var'}'` = yes; then
103739 cat >>confdefs.h <<_ACEOF
103740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103741 _ACEOF
103744 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
103750 for ac_func in __signbit
103752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103753 echo "$as_me:$LINENO: checking for $ac_func" >&5
103754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103755 if eval "test \"\${$as_ac_var+set}\" = set"; then
103756 echo $ECHO_N "(cached) $ECHO_C" >&6
103758 if test x$gcc_no_link = xyes; then
103759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103761 { (exit 1); exit 1; }; }
103763 cat >conftest.$ac_ext <<_ACEOF
103764 /* confdefs.h. */
103765 _ACEOF
103766 cat confdefs.h >>conftest.$ac_ext
103767 cat >>conftest.$ac_ext <<_ACEOF
103768 /* end confdefs.h. */
103769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103771 #define $ac_func innocuous_$ac_func
103773 /* System header to define __stub macros and hopefully few prototypes,
103774 which can conflict with char $ac_func (); below.
103775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103776 <limits.h> exists even on freestanding compilers. */
103778 #ifdef __STDC__
103779 # include <limits.h>
103780 #else
103781 # include <assert.h>
103782 #endif
103784 #undef $ac_func
103786 /* Override any gcc2 internal prototype to avoid an error. */
103787 #ifdef __cplusplus
103788 extern "C"
103790 #endif
103791 /* We use char because int might match the return type of a gcc2
103792 builtin and then its argument prototype would still apply. */
103793 char $ac_func ();
103794 /* The GNU C library defines this for functions which it implements
103795 to always fail with ENOSYS. Some functions are actually named
103796 something starting with __ and the normal name is an alias. */
103797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103798 choke me
103799 #else
103800 char (*f) () = $ac_func;
103801 #endif
103802 #ifdef __cplusplus
103804 #endif
103807 main ()
103809 return f != $ac_func;
103811 return 0;
103813 _ACEOF
103814 rm -f conftest.$ac_objext conftest$ac_exeext
103815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103816 (eval $ac_link) 2>conftest.er1
103817 ac_status=$?
103818 grep -v '^ *+' conftest.er1 >conftest.err
103819 rm -f conftest.er1
103820 cat conftest.err >&5
103821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103822 (exit $ac_status); } &&
103823 { ac_try='test -z "$ac_c_werror_flag"
103824 || test ! -s conftest.err'
103825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103826 (eval $ac_try) 2>&5
103827 ac_status=$?
103828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103829 (exit $ac_status); }; } &&
103830 { ac_try='test -s conftest$ac_exeext'
103831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103832 (eval $ac_try) 2>&5
103833 ac_status=$?
103834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103835 (exit $ac_status); }; }; then
103836 eval "$as_ac_var=yes"
103838 echo "$as_me: failed program was:" >&5
103839 sed 's/^/| /' conftest.$ac_ext >&5
103841 eval "$as_ac_var=no"
103843 rm -f conftest.err conftest.$ac_objext \
103844 conftest$ac_exeext conftest.$ac_ext
103846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103848 if test `eval echo '${'$as_ac_var'}'` = yes; then
103849 cat >>confdefs.h <<_ACEOF
103850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103851 _ACEOF
103854 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
103860 for ac_func in __signbitf
103862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103863 echo "$as_me:$LINENO: checking for $ac_func" >&5
103864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103865 if eval "test \"\${$as_ac_var+set}\" = set"; then
103866 echo $ECHO_N "(cached) $ECHO_C" >&6
103868 if test x$gcc_no_link = xyes; then
103869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103871 { (exit 1); exit 1; }; }
103873 cat >conftest.$ac_ext <<_ACEOF
103874 /* confdefs.h. */
103875 _ACEOF
103876 cat confdefs.h >>conftest.$ac_ext
103877 cat >>conftest.$ac_ext <<_ACEOF
103878 /* end confdefs.h. */
103879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103881 #define $ac_func innocuous_$ac_func
103883 /* System header to define __stub macros and hopefully few prototypes,
103884 which can conflict with char $ac_func (); below.
103885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103886 <limits.h> exists even on freestanding compilers. */
103888 #ifdef __STDC__
103889 # include <limits.h>
103890 #else
103891 # include <assert.h>
103892 #endif
103894 #undef $ac_func
103896 /* Override any gcc2 internal prototype to avoid an error. */
103897 #ifdef __cplusplus
103898 extern "C"
103900 #endif
103901 /* We use char because int might match the return type of a gcc2
103902 builtin and then its argument prototype would still apply. */
103903 char $ac_func ();
103904 /* The GNU C library defines this for functions which it implements
103905 to always fail with ENOSYS. Some functions are actually named
103906 something starting with __ and the normal name is an alias. */
103907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103908 choke me
103909 #else
103910 char (*f) () = $ac_func;
103911 #endif
103912 #ifdef __cplusplus
103914 #endif
103917 main ()
103919 return f != $ac_func;
103921 return 0;
103923 _ACEOF
103924 rm -f conftest.$ac_objext conftest$ac_exeext
103925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103926 (eval $ac_link) 2>conftest.er1
103927 ac_status=$?
103928 grep -v '^ *+' conftest.er1 >conftest.err
103929 rm -f conftest.er1
103930 cat conftest.err >&5
103931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103932 (exit $ac_status); } &&
103933 { ac_try='test -z "$ac_c_werror_flag"
103934 || test ! -s conftest.err'
103935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103936 (eval $ac_try) 2>&5
103937 ac_status=$?
103938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103939 (exit $ac_status); }; } &&
103940 { ac_try='test -s conftest$ac_exeext'
103941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103942 (eval $ac_try) 2>&5
103943 ac_status=$?
103944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103945 (exit $ac_status); }; }; then
103946 eval "$as_ac_var=yes"
103948 echo "$as_me: failed program was:" >&5
103949 sed 's/^/| /' conftest.$ac_ext >&5
103951 eval "$as_ac_var=no"
103953 rm -f conftest.err conftest.$ac_objext \
103954 conftest$ac_exeext conftest.$ac_ext
103956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103958 if test `eval echo '${'$as_ac_var'}'` = yes; then
103959 cat >>confdefs.h <<_ACEOF
103960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103961 _ACEOF
103964 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
103969 if test x$ac_cv_func_copysignl = x"yes"; then
103971 for ac_func in __signbitl
103973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103974 echo "$as_me:$LINENO: checking for $ac_func" >&5
103975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103976 if eval "test \"\${$as_ac_var+set}\" = set"; then
103977 echo $ECHO_N "(cached) $ECHO_C" >&6
103979 if test x$gcc_no_link = xyes; then
103980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103982 { (exit 1); exit 1; }; }
103984 cat >conftest.$ac_ext <<_ACEOF
103985 /* confdefs.h. */
103986 _ACEOF
103987 cat confdefs.h >>conftest.$ac_ext
103988 cat >>conftest.$ac_ext <<_ACEOF
103989 /* end confdefs.h. */
103990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103992 #define $ac_func innocuous_$ac_func
103994 /* System header to define __stub macros and hopefully few prototypes,
103995 which can conflict with char $ac_func (); below.
103996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103997 <limits.h> exists even on freestanding compilers. */
103999 #ifdef __STDC__
104000 # include <limits.h>
104001 #else
104002 # include <assert.h>
104003 #endif
104005 #undef $ac_func
104007 /* Override any gcc2 internal prototype to avoid an error. */
104008 #ifdef __cplusplus
104009 extern "C"
104011 #endif
104012 /* We use char because int might match the return type of a gcc2
104013 builtin and then its argument prototype would still apply. */
104014 char $ac_func ();
104015 /* The GNU C library defines this for functions which it implements
104016 to always fail with ENOSYS. Some functions are actually named
104017 something starting with __ and the normal name is an alias. */
104018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104019 choke me
104020 #else
104021 char (*f) () = $ac_func;
104022 #endif
104023 #ifdef __cplusplus
104025 #endif
104028 main ()
104030 return f != $ac_func;
104032 return 0;
104034 _ACEOF
104035 rm -f conftest.$ac_objext conftest$ac_exeext
104036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104037 (eval $ac_link) 2>conftest.er1
104038 ac_status=$?
104039 grep -v '^ *+' conftest.er1 >conftest.err
104040 rm -f conftest.er1
104041 cat conftest.err >&5
104042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104043 (exit $ac_status); } &&
104044 { ac_try='test -z "$ac_c_werror_flag"
104045 || test ! -s conftest.err'
104046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104047 (eval $ac_try) 2>&5
104048 ac_status=$?
104049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104050 (exit $ac_status); }; } &&
104051 { ac_try='test -s conftest$ac_exeext'
104052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104053 (eval $ac_try) 2>&5
104054 ac_status=$?
104055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104056 (exit $ac_status); }; }; then
104057 eval "$as_ac_var=yes"
104059 echo "$as_me: failed program was:" >&5
104060 sed 's/^/| /' conftest.$ac_ext >&5
104062 eval "$as_ac_var=no"
104064 rm -f conftest.err conftest.$ac_objext \
104065 conftest$ac_exeext conftest.$ac_ext
104067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104069 if test `eval echo '${'$as_ac_var'}'` = yes; then
104070 cat >>confdefs.h <<_ACEOF
104071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104072 _ACEOF
104075 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
104081 # Used in libmath/Makefile.am.
104082 if test -n "$LIBMATHOBJS"; then
104083 need_libmath=yes
104087 cat >>confdefs.h <<\_ACEOF
104088 #define HAVE_COPYSIGN 1
104089 _ACEOF
104091 cat >>confdefs.h <<\_ACEOF
104092 #define HAVE_COPYSIGNF 1
104093 _ACEOF
104095 cat >>confdefs.h <<\_ACEOF
104096 #define HAVE_FINITE 1
104097 _ACEOF
104099 cat >>confdefs.h <<\_ACEOF
104100 #define HAVE_FINITEF 1
104101 _ACEOF
104103 cat >>confdefs.h <<\_ACEOF
104104 #define HAVE_FREXPF 1
104105 _ACEOF
104107 cat >>confdefs.h <<\_ACEOF
104108 #define HAVE_HYPOTF 1
104109 _ACEOF
104111 cat >>confdefs.h <<\_ACEOF
104112 #define HAVE_ISINF 1
104113 _ACEOF
104115 cat >>confdefs.h <<\_ACEOF
104116 #define HAVE_ISINFF 1
104117 _ACEOF
104119 cat >>confdefs.h <<\_ACEOF
104120 #define HAVE_ISNAN 1
104121 _ACEOF
104123 cat >>confdefs.h <<\_ACEOF
104124 #define HAVE_ISNANF 1
104125 _ACEOF
104127 cat >>confdefs.h <<\_ACEOF
104128 #define HAVE_SINCOS 1
104129 _ACEOF
104131 cat >>confdefs.h <<\_ACEOF
104132 #define HAVE_SINCOSF 1
104133 _ACEOF
104135 if test x"long_double_math_on_this_cpu" = x"yes"; then
104136 cat >>confdefs.h <<\_ACEOF
104137 #define HAVE_FINITEL 1
104138 _ACEOF
104140 cat >>confdefs.h <<\_ACEOF
104141 #define HAVE_HYPOTL 1
104142 _ACEOF
104144 cat >>confdefs.h <<\_ACEOF
104145 #define HAVE_ISINFL 1
104146 _ACEOF
104148 cat >>confdefs.h <<\_ACEOF
104149 #define HAVE_ISNANL 1
104150 _ACEOF
104154 *-vxworks)
104155 cat >>confdefs.h <<\_ACEOF
104156 #define HAVE_ACOSF 1
104157 _ACEOF
104159 cat >>confdefs.h <<\_ACEOF
104160 #define HAVE_ASINF 1
104161 _ACEOF
104163 cat >>confdefs.h <<\_ACEOF
104164 #define HAVE_ATAN2F 1
104165 _ACEOF
104167 cat >>confdefs.h <<\_ACEOF
104168 #define HAVE_ATANF 1
104169 _ACEOF
104171 cat >>confdefs.h <<\_ACEOF
104172 #define HAVE_CEILF 1
104173 _ACEOF
104175 cat >>confdefs.h <<\_ACEOF
104176 #define HAVE_COSF 1
104177 _ACEOF
104179 cat >>confdefs.h <<\_ACEOF
104180 #define HAVE_COSHF 1
104181 _ACEOF
104183 cat >>confdefs.h <<\_ACEOF
104184 #define HAVE_EXPF 1
104185 _ACEOF
104187 cat >>confdefs.h <<\_ACEOF
104188 #define HAVE_FABSF 1
104189 _ACEOF
104191 cat >>confdefs.h <<\_ACEOF
104192 #define HAVE_FLOORF 1
104193 _ACEOF
104195 cat >>confdefs.h <<\_ACEOF
104196 #define HAVE_FMODF 1
104197 _ACEOF
104199 cat >>confdefs.h <<\_ACEOF
104200 #define HAVE_HYPOT 1
104201 _ACEOF
104203 cat >>confdefs.h <<\_ACEOF
104204 #define HAVE_LOG10F 1
104205 _ACEOF
104207 cat >>confdefs.h <<\_ACEOF
104208 #define HAVE_LOGF 1
104209 _ACEOF
104211 cat >>confdefs.h <<\_ACEOF
104212 #define HAVE_POWF 1
104213 _ACEOF
104215 cat >>confdefs.h <<\_ACEOF
104216 #define HAVE_SINF 1
104217 _ACEOF
104219 cat >>confdefs.h <<\_ACEOF
104220 #define HAVE_SINHF 1
104221 _ACEOF
104223 cat >>confdefs.h <<\_ACEOF
104224 #define HAVE_SQRTF 1
104225 _ACEOF
104227 cat >>confdefs.h <<\_ACEOF
104228 #define HAVE_TANF 1
104229 _ACEOF
104231 cat >>confdefs.h <<\_ACEOF
104232 #define HAVE_TANHF 1
104233 _ACEOF
104237 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
104238 echo "$as_me: error: No support for this host/target combination." >&2;}
104239 { (exit 1); exit 1; }; }
104245 # At some point, we should differentiate between architectures
104246 # like x86, which have long double versions, and alpha/powerpc/etc.,
104247 # which don't. For the time being, punt.
104248 if test x"long_double_math_on_this_cpu" = x"yes"; then
104249 cat >>confdefs.h <<\_ACEOF
104250 #define HAVE_ACOSL 1
104251 _ACEOF
104253 cat >>confdefs.h <<\_ACEOF
104254 #define HAVE_ASINL 1
104255 _ACEOF
104257 cat >>confdefs.h <<\_ACEOF
104258 #define HAVE_ATAN2L 1
104259 _ACEOF
104261 cat >>confdefs.h <<\_ACEOF
104262 #define HAVE_ATANL 1
104263 _ACEOF
104265 cat >>confdefs.h <<\_ACEOF
104266 #define HAVE_CEILL 1
104267 _ACEOF
104269 cat >>confdefs.h <<\_ACEOF
104270 #define HAVE_COPYSIGNL 1
104271 _ACEOF
104273 cat >>confdefs.h <<\_ACEOF
104274 #define HAVE_COSL 1
104275 _ACEOF
104277 cat >>confdefs.h <<\_ACEOF
104278 #define HAVE_COSHL 1
104279 _ACEOF
104281 cat >>confdefs.h <<\_ACEOF
104282 #define HAVE_EXPL 1
104283 _ACEOF
104285 cat >>confdefs.h <<\_ACEOF
104286 #define HAVE_FABSL 1
104287 _ACEOF
104289 cat >>confdefs.h <<\_ACEOF
104290 #define HAVE_FLOORL 1
104291 _ACEOF
104293 cat >>confdefs.h <<\_ACEOF
104294 #define HAVE_FMODL 1
104295 _ACEOF
104297 cat >>confdefs.h <<\_ACEOF
104298 #define HAVE_FREXPL 1
104299 _ACEOF
104301 cat >>confdefs.h <<\_ACEOF
104302 #define HAVE_LDEXPL 1
104303 _ACEOF
104305 cat >>confdefs.h <<\_ACEOF
104306 #define HAVE_LOG10L 1
104307 _ACEOF
104309 cat >>confdefs.h <<\_ACEOF
104310 #define HAVE_LOGL 1
104311 _ACEOF
104313 cat >>confdefs.h <<\_ACEOF
104314 #define HAVE_MODFL 1
104315 _ACEOF
104317 cat >>confdefs.h <<\_ACEOF
104318 #define HAVE_POWL 1
104319 _ACEOF
104321 cat >>confdefs.h <<\_ACEOF
104322 #define HAVE_SINCOSL 1
104323 _ACEOF
104325 cat >>confdefs.h <<\_ACEOF
104326 #define HAVE_SINL 1
104327 _ACEOF
104329 cat >>confdefs.h <<\_ACEOF
104330 #define HAVE_SINHL 1
104331 _ACEOF
104333 cat >>confdefs.h <<\_ACEOF
104334 #define HAVE_SQRTL 1
104335 _ACEOF
104337 cat >>confdefs.h <<\_ACEOF
104338 #define HAVE_TANL 1
104339 _ACEOF
104341 cat >>confdefs.h <<\_ACEOF
104342 #define HAVE_TANHL 1
104343 _ACEOF
104348 # Check for _Unwind_GetIPInfo.
104351 # Check whether --with-system-libunwind or --without-system-libunwind was given.
104352 if test "${with_system_libunwind+set}" = set; then
104353 withval="$with_system_libunwind"
104356 # If system-libunwind was not specifically set, pick a default setting.
104357 if test x$with_system_libunwind = x; then
104358 case ${target} in
104359 ia64-*-hpux*) with_system_libunwind=yes ;;
104360 *) with_system_libunwind=no ;;
104363 # Based on system-libunwind and target, do we have ipinfo?
104364 if test x$with_system_libunwind = xyes; then
104365 case ${target} in
104366 ia64-*-*) have_unwind_getipinfo=no ;;
104367 *) have_unwind_getipinfo=yes ;;
104370 have_unwind_getipinfo=yes
104373 if test x$have_unwind_getipinfo = xyes; then
104375 cat >>confdefs.h <<\_ACEOF
104376 #define HAVE_GETIPINFO 1
104377 _ACEOF
104383 # Check whether --enable-linux-futex or --disable-linux-futex was given.
104384 if test "${enable_linux_futex+set}" = set; then
104385 enableval="$enable_linux_futex"
104387 case "$enableval" in
104388 yes|no|default) ;;
104389 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
104390 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
104391 { (exit 1); exit 1; }; } ;;
104395 enable_linux_futex=default
104398 case "$target" in
104399 *-linux*)
104400 case "$enable_linux_futex" in
104401 default)
104402 # If headers don't have gettid/futex syscalls definition, then
104403 # default to no, otherwise there will be compile time failures.
104404 # Otherwise, default to yes. If we don't detect we are
104405 # compiled/linked against NPTL and not cross-compiling, check
104406 # if programs are run by default against NPTL and if not, issue
104407 # a warning.
104408 enable_linux_futex=no
104409 if test x$gcc_no_link = xyes; then
104410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104412 { (exit 1); exit 1; }; }
104414 cat >conftest.$ac_ext <<_ACEOF
104415 /* confdefs.h. */
104416 _ACEOF
104417 cat confdefs.h >>conftest.$ac_ext
104418 cat >>conftest.$ac_ext <<_ACEOF
104419 /* end confdefs.h. */
104420 #include <sys/syscall.h>
104421 int lk;
104423 main ()
104425 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
104427 return 0;
104429 _ACEOF
104430 rm -f conftest.$ac_objext conftest$ac_exeext
104431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104432 (eval $ac_link) 2>conftest.er1
104433 ac_status=$?
104434 grep -v '^ *+' conftest.er1 >conftest.err
104435 rm -f conftest.er1
104436 cat conftest.err >&5
104437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104438 (exit $ac_status); } &&
104439 { ac_try='test -z "$ac_c_werror_flag"
104440 || test ! -s conftest.err'
104441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104442 (eval $ac_try) 2>&5
104443 ac_status=$?
104444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104445 (exit $ac_status); }; } &&
104446 { ac_try='test -s conftest$ac_exeext'
104447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104448 (eval $ac_try) 2>&5
104449 ac_status=$?
104450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104451 (exit $ac_status); }; }; then
104452 save_LIBS="$LIBS"
104453 LIBS="-lpthread $LIBS"
104454 if test x$gcc_no_link = xyes; then
104455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104457 { (exit 1); exit 1; }; }
104459 cat >conftest.$ac_ext <<_ACEOF
104460 /* confdefs.h. */
104461 _ACEOF
104462 cat confdefs.h >>conftest.$ac_ext
104463 cat >>conftest.$ac_ext <<_ACEOF
104464 /* end confdefs.h. */
104465 #ifndef _GNU_SOURCE
104466 #define _GNU_SOURCE 1
104467 #endif
104468 #include <pthread.h>
104469 pthread_t th; void *status;
104471 main ()
104473 pthread_tryjoin_np (th, &status);
104475 return 0;
104477 _ACEOF
104478 rm -f conftest.$ac_objext conftest$ac_exeext
104479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104480 (eval $ac_link) 2>conftest.er1
104481 ac_status=$?
104482 grep -v '^ *+' conftest.er1 >conftest.err
104483 rm -f conftest.er1
104484 cat conftest.err >&5
104485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104486 (exit $ac_status); } &&
104487 { ac_try='test -z "$ac_c_werror_flag"
104488 || test ! -s conftest.err'
104489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104490 (eval $ac_try) 2>&5
104491 ac_status=$?
104492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104493 (exit $ac_status); }; } &&
104494 { ac_try='test -s conftest$ac_exeext'
104495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104496 (eval $ac_try) 2>&5
104497 ac_status=$?
104498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104499 (exit $ac_status); }; }; then
104500 enable_linux_futex=yes
104502 echo "$as_me: failed program was:" >&5
104503 sed 's/^/| /' conftest.$ac_ext >&5
104505 if test x$cross_compiling = xno; then
104506 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
104507 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
104508 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
104509 If so, please configure with --disable-linux-futex" >&5
104510 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
104511 If so, please configure with --disable-linux-futex" >&2;}
104514 enable_linux_futex=yes
104516 rm -f conftest.err conftest.$ac_objext \
104517 conftest$ac_exeext conftest.$ac_ext
104518 LIBS="$save_LIBS"
104520 echo "$as_me: failed program was:" >&5
104521 sed 's/^/| /' conftest.$ac_ext >&5
104524 rm -f conftest.err conftest.$ac_objext \
104525 conftest$ac_exeext conftest.$ac_ext
104528 if test x$gcc_no_link = xyes; then
104529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104531 { (exit 1); exit 1; }; }
104533 cat >conftest.$ac_ext <<_ACEOF
104534 /* confdefs.h. */
104535 _ACEOF
104536 cat confdefs.h >>conftest.$ac_ext
104537 cat >>conftest.$ac_ext <<_ACEOF
104538 /* end confdefs.h. */
104539 #include <sys/syscall.h>
104540 int lk;
104542 main ()
104544 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
104546 return 0;
104548 _ACEOF
104549 rm -f conftest.$ac_objext conftest$ac_exeext
104550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104551 (eval $ac_link) 2>conftest.er1
104552 ac_status=$?
104553 grep -v '^ *+' conftest.er1 >conftest.err
104554 rm -f conftest.er1
104555 cat conftest.err >&5
104556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104557 (exit $ac_status); } &&
104558 { ac_try='test -z "$ac_c_werror_flag"
104559 || test ! -s conftest.err'
104560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104561 (eval $ac_try) 2>&5
104562 ac_status=$?
104563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104564 (exit $ac_status); }; } &&
104565 { ac_try='test -s conftest$ac_exeext'
104566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104567 (eval $ac_try) 2>&5
104568 ac_status=$?
104569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104570 (exit $ac_status); }; }; then
104573 echo "$as_me: failed program was:" >&5
104574 sed 's/^/| /' conftest.$ac_ext >&5
104576 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
104577 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
104578 { (exit 1); exit 1; }; }
104580 rm -f conftest.err conftest.$ac_objext \
104581 conftest$ac_exeext conftest.$ac_ext
104586 enable_linux_futex=no
104589 if test x$enable_linux_futex = xyes; then
104591 cat >>confdefs.h <<\_ACEOF
104592 #define HAVE_LINUX_FUTEX 1
104593 _ACEOF
104600 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
104602 acx_cv_header_stdint=stddef.h
104603 acx_cv_header_stdint_kind="(already complete)"
104604 for i in stdint.h $inttype_headers; do
104605 unset ac_cv_type_uintptr_t
104606 unset ac_cv_type_uintmax_t
104607 unset ac_cv_type_int_least32_t
104608 unset ac_cv_type_int_fast32_t
104609 unset ac_cv_type_uint64_t
104610 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
104611 echo "$as_me:$LINENO: checking for uintmax_t" >&5
104612 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
104613 if test "${ac_cv_type_uintmax_t+set}" = set; then
104614 echo $ECHO_N "(cached) $ECHO_C" >&6
104616 cat >conftest.$ac_ext <<_ACEOF
104617 /* confdefs.h. */
104618 _ACEOF
104619 cat confdefs.h >>conftest.$ac_ext
104620 cat >>conftest.$ac_ext <<_ACEOF
104621 /* end confdefs.h. */
104622 #include <sys/types.h>
104623 #include <$i>
104626 main ()
104628 if ((uintmax_t *) 0)
104629 return 0;
104630 if (sizeof (uintmax_t))
104631 return 0;
104633 return 0;
104635 _ACEOF
104636 rm -f conftest.$ac_objext
104637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104638 (eval $ac_compile) 2>conftest.er1
104639 ac_status=$?
104640 grep -v '^ *+' conftest.er1 >conftest.err
104641 rm -f conftest.er1
104642 cat conftest.err >&5
104643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104644 (exit $ac_status); } &&
104645 { ac_try='test -z "$ac_c_werror_flag"
104646 || test ! -s conftest.err'
104647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104648 (eval $ac_try) 2>&5
104649 ac_status=$?
104650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104651 (exit $ac_status); }; } &&
104652 { ac_try='test -s conftest.$ac_objext'
104653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104654 (eval $ac_try) 2>&5
104655 ac_status=$?
104656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104657 (exit $ac_status); }; }; then
104658 ac_cv_type_uintmax_t=yes
104660 echo "$as_me: failed program was:" >&5
104661 sed 's/^/| /' conftest.$ac_ext >&5
104663 ac_cv_type_uintmax_t=no
104665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104667 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
104668 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
104669 if test $ac_cv_type_uintmax_t = yes; then
104670 acx_cv_header_stdint=$i
104672 continue
104675 echo "$as_me:$LINENO: checking for uintptr_t" >&5
104676 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
104677 if test "${ac_cv_type_uintptr_t+set}" = set; then
104678 echo $ECHO_N "(cached) $ECHO_C" >&6
104680 cat >conftest.$ac_ext <<_ACEOF
104681 /* confdefs.h. */
104682 _ACEOF
104683 cat confdefs.h >>conftest.$ac_ext
104684 cat >>conftest.$ac_ext <<_ACEOF
104685 /* end confdefs.h. */
104686 #include <sys/types.h>
104687 #include <$i>
104690 main ()
104692 if ((uintptr_t *) 0)
104693 return 0;
104694 if (sizeof (uintptr_t))
104695 return 0;
104697 return 0;
104699 _ACEOF
104700 rm -f conftest.$ac_objext
104701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104702 (eval $ac_compile) 2>conftest.er1
104703 ac_status=$?
104704 grep -v '^ *+' conftest.er1 >conftest.err
104705 rm -f conftest.er1
104706 cat conftest.err >&5
104707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104708 (exit $ac_status); } &&
104709 { ac_try='test -z "$ac_c_werror_flag"
104710 || test ! -s conftest.err'
104711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104712 (eval $ac_try) 2>&5
104713 ac_status=$?
104714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104715 (exit $ac_status); }; } &&
104716 { ac_try='test -s conftest.$ac_objext'
104717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104718 (eval $ac_try) 2>&5
104719 ac_status=$?
104720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104721 (exit $ac_status); }; }; then
104722 ac_cv_type_uintptr_t=yes
104724 echo "$as_me: failed program was:" >&5
104725 sed 's/^/| /' conftest.$ac_ext >&5
104727 ac_cv_type_uintptr_t=no
104729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104731 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
104732 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
104733 if test $ac_cv_type_uintptr_t = yes; then
104736 acx_cv_header_stdint_kind="(mostly complete)"
104739 echo "$as_me:$LINENO: checking for int_least32_t" >&5
104740 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
104741 if test "${ac_cv_type_int_least32_t+set}" = set; then
104742 echo $ECHO_N "(cached) $ECHO_C" >&6
104744 cat >conftest.$ac_ext <<_ACEOF
104745 /* confdefs.h. */
104746 _ACEOF
104747 cat confdefs.h >>conftest.$ac_ext
104748 cat >>conftest.$ac_ext <<_ACEOF
104749 /* end confdefs.h. */
104750 #include <sys/types.h>
104751 #include <$i>
104754 main ()
104756 if ((int_least32_t *) 0)
104757 return 0;
104758 if (sizeof (int_least32_t))
104759 return 0;
104761 return 0;
104763 _ACEOF
104764 rm -f conftest.$ac_objext
104765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104766 (eval $ac_compile) 2>conftest.er1
104767 ac_status=$?
104768 grep -v '^ *+' conftest.er1 >conftest.err
104769 rm -f conftest.er1
104770 cat conftest.err >&5
104771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104772 (exit $ac_status); } &&
104773 { ac_try='test -z "$ac_c_werror_flag"
104774 || test ! -s conftest.err'
104775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104776 (eval $ac_try) 2>&5
104777 ac_status=$?
104778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104779 (exit $ac_status); }; } &&
104780 { ac_try='test -s conftest.$ac_objext'
104781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104782 (eval $ac_try) 2>&5
104783 ac_status=$?
104784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104785 (exit $ac_status); }; }; then
104786 ac_cv_type_int_least32_t=yes
104788 echo "$as_me: failed program was:" >&5
104789 sed 's/^/| /' conftest.$ac_ext >&5
104791 ac_cv_type_int_least32_t=no
104793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104795 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
104796 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
104797 if test $ac_cv_type_int_least32_t = yes; then
104800 acx_cv_header_stdint_kind="(mostly complete)"
104803 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
104804 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
104805 if test "${ac_cv_type_int_fast32_t+set}" = set; then
104806 echo $ECHO_N "(cached) $ECHO_C" >&6
104808 cat >conftest.$ac_ext <<_ACEOF
104809 /* confdefs.h. */
104810 _ACEOF
104811 cat confdefs.h >>conftest.$ac_ext
104812 cat >>conftest.$ac_ext <<_ACEOF
104813 /* end confdefs.h. */
104814 #include <sys/types.h>
104815 #include <$i>
104818 main ()
104820 if ((int_fast32_t *) 0)
104821 return 0;
104822 if (sizeof (int_fast32_t))
104823 return 0;
104825 return 0;
104827 _ACEOF
104828 rm -f conftest.$ac_objext
104829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104830 (eval $ac_compile) 2>conftest.er1
104831 ac_status=$?
104832 grep -v '^ *+' conftest.er1 >conftest.err
104833 rm -f conftest.er1
104834 cat conftest.err >&5
104835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104836 (exit $ac_status); } &&
104837 { ac_try='test -z "$ac_c_werror_flag"
104838 || test ! -s conftest.err'
104839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104840 (eval $ac_try) 2>&5
104841 ac_status=$?
104842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104843 (exit $ac_status); }; } &&
104844 { ac_try='test -s conftest.$ac_objext'
104845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104846 (eval $ac_try) 2>&5
104847 ac_status=$?
104848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104849 (exit $ac_status); }; }; then
104850 ac_cv_type_int_fast32_t=yes
104852 echo "$as_me: failed program was:" >&5
104853 sed 's/^/| /' conftest.$ac_ext >&5
104855 ac_cv_type_int_fast32_t=no
104857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104859 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
104860 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
104861 if test $ac_cv_type_int_fast32_t = yes; then
104864 acx_cv_header_stdint_kind="(mostly complete)"
104867 echo "$as_me:$LINENO: checking for uint64_t" >&5
104868 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
104869 if test "${ac_cv_type_uint64_t+set}" = set; then
104870 echo $ECHO_N "(cached) $ECHO_C" >&6
104872 cat >conftest.$ac_ext <<_ACEOF
104873 /* confdefs.h. */
104874 _ACEOF
104875 cat confdefs.h >>conftest.$ac_ext
104876 cat >>conftest.$ac_ext <<_ACEOF
104877 /* end confdefs.h. */
104878 #include <sys/types.h>
104879 #include <$i>
104882 main ()
104884 if ((uint64_t *) 0)
104885 return 0;
104886 if (sizeof (uint64_t))
104887 return 0;
104889 return 0;
104891 _ACEOF
104892 rm -f conftest.$ac_objext
104893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104894 (eval $ac_compile) 2>conftest.er1
104895 ac_status=$?
104896 grep -v '^ *+' conftest.er1 >conftest.err
104897 rm -f conftest.er1
104898 cat conftest.err >&5
104899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104900 (exit $ac_status); } &&
104901 { ac_try='test -z "$ac_c_werror_flag"
104902 || test ! -s conftest.err'
104903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104904 (eval $ac_try) 2>&5
104905 ac_status=$?
104906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104907 (exit $ac_status); }; } &&
104908 { ac_try='test -s conftest.$ac_objext'
104909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104910 (eval $ac_try) 2>&5
104911 ac_status=$?
104912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104913 (exit $ac_status); }; }; then
104914 ac_cv_type_uint64_t=yes
104916 echo "$as_me: failed program was:" >&5
104917 sed 's/^/| /' conftest.$ac_ext >&5
104919 ac_cv_type_uint64_t=no
104921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104923 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
104924 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
104925 if test $ac_cv_type_uint64_t = yes; then
104928 acx_cv_header_stdint_kind="(lacks uint64_t)"
104931 break
104933 if test "$acx_cv_header_stdint" = stddef.h; then
104934 acx_cv_header_stdint_kind="(lacks uintmax_t)"
104935 for i in stdint.h $inttype_headers; do
104936 unset ac_cv_type_uintptr_t
104937 unset ac_cv_type_uint32_t
104938 unset ac_cv_type_uint64_t
104939 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
104940 echo "$as_me:$LINENO: checking for uint32_t" >&5
104941 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
104942 if test "${ac_cv_type_uint32_t+set}" = set; then
104943 echo $ECHO_N "(cached) $ECHO_C" >&6
104945 cat >conftest.$ac_ext <<_ACEOF
104946 /* confdefs.h. */
104947 _ACEOF
104948 cat confdefs.h >>conftest.$ac_ext
104949 cat >>conftest.$ac_ext <<_ACEOF
104950 /* end confdefs.h. */
104951 #include <sys/types.h>
104952 #include <$i>
104955 main ()
104957 if ((uint32_t *) 0)
104958 return 0;
104959 if (sizeof (uint32_t))
104960 return 0;
104962 return 0;
104964 _ACEOF
104965 rm -f conftest.$ac_objext
104966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104967 (eval $ac_compile) 2>conftest.er1
104968 ac_status=$?
104969 grep -v '^ *+' conftest.er1 >conftest.err
104970 rm -f conftest.er1
104971 cat conftest.err >&5
104972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104973 (exit $ac_status); } &&
104974 { ac_try='test -z "$ac_c_werror_flag"
104975 || test ! -s conftest.err'
104976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104977 (eval $ac_try) 2>&5
104978 ac_status=$?
104979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104980 (exit $ac_status); }; } &&
104981 { ac_try='test -s conftest.$ac_objext'
104982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104983 (eval $ac_try) 2>&5
104984 ac_status=$?
104985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104986 (exit $ac_status); }; }; then
104987 ac_cv_type_uint32_t=yes
104989 echo "$as_me: failed program was:" >&5
104990 sed 's/^/| /' conftest.$ac_ext >&5
104992 ac_cv_type_uint32_t=no
104994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104996 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
104997 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
104998 if test $ac_cv_type_uint32_t = yes; then
104999 acx_cv_header_stdint=$i
105001 continue
105004 echo "$as_me:$LINENO: checking for uint64_t" >&5
105005 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
105006 if test "${ac_cv_type_uint64_t+set}" = set; then
105007 echo $ECHO_N "(cached) $ECHO_C" >&6
105009 cat >conftest.$ac_ext <<_ACEOF
105010 /* confdefs.h. */
105011 _ACEOF
105012 cat confdefs.h >>conftest.$ac_ext
105013 cat >>conftest.$ac_ext <<_ACEOF
105014 /* end confdefs.h. */
105015 #include <sys/types.h>
105016 #include <$i>
105019 main ()
105021 if ((uint64_t *) 0)
105022 return 0;
105023 if (sizeof (uint64_t))
105024 return 0;
105026 return 0;
105028 _ACEOF
105029 rm -f conftest.$ac_objext
105030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105031 (eval $ac_compile) 2>conftest.er1
105032 ac_status=$?
105033 grep -v '^ *+' conftest.er1 >conftest.err
105034 rm -f conftest.er1
105035 cat conftest.err >&5
105036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105037 (exit $ac_status); } &&
105038 { ac_try='test -z "$ac_c_werror_flag"
105039 || test ! -s conftest.err'
105040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105041 (eval $ac_try) 2>&5
105042 ac_status=$?
105043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105044 (exit $ac_status); }; } &&
105045 { ac_try='test -s conftest.$ac_objext'
105046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105047 (eval $ac_try) 2>&5
105048 ac_status=$?
105049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105050 (exit $ac_status); }; }; then
105051 ac_cv_type_uint64_t=yes
105053 echo "$as_me: failed program was:" >&5
105054 sed 's/^/| /' conftest.$ac_ext >&5
105056 ac_cv_type_uint64_t=no
105058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105060 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
105061 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
105063 echo "$as_me:$LINENO: checking for uintptr_t" >&5
105064 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
105065 if test "${ac_cv_type_uintptr_t+set}" = set; then
105066 echo $ECHO_N "(cached) $ECHO_C" >&6
105068 cat >conftest.$ac_ext <<_ACEOF
105069 /* confdefs.h. */
105070 _ACEOF
105071 cat confdefs.h >>conftest.$ac_ext
105072 cat >>conftest.$ac_ext <<_ACEOF
105073 /* end confdefs.h. */
105074 #include <sys/types.h>
105075 #include <$i>
105078 main ()
105080 if ((uintptr_t *) 0)
105081 return 0;
105082 if (sizeof (uintptr_t))
105083 return 0;
105085 return 0;
105087 _ACEOF
105088 rm -f conftest.$ac_objext
105089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105090 (eval $ac_compile) 2>conftest.er1
105091 ac_status=$?
105092 grep -v '^ *+' conftest.er1 >conftest.err
105093 rm -f conftest.er1
105094 cat conftest.err >&5
105095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105096 (exit $ac_status); } &&
105097 { ac_try='test -z "$ac_c_werror_flag"
105098 || test ! -s conftest.err'
105099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105100 (eval $ac_try) 2>&5
105101 ac_status=$?
105102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105103 (exit $ac_status); }; } &&
105104 { ac_try='test -s conftest.$ac_objext'
105105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105106 (eval $ac_try) 2>&5
105107 ac_status=$?
105108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105109 (exit $ac_status); }; }; then
105110 ac_cv_type_uintptr_t=yes
105112 echo "$as_me: failed program was:" >&5
105113 sed 's/^/| /' conftest.$ac_ext >&5
105115 ac_cv_type_uintptr_t=no
105117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105119 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
105120 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
105122 break
105125 if test "$acx_cv_header_stdint" = stddef.h; then
105126 acx_cv_header_stdint_kind="(u_intXX_t style)"
105127 for i in sys/types.h $inttype_headers; do
105128 unset ac_cv_type_u_int32_t
105129 unset ac_cv_type_u_int64_t
105130 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
105131 echo "$as_me:$LINENO: checking for u_int32_t" >&5
105132 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
105133 if test "${ac_cv_type_u_int32_t+set}" = set; then
105134 echo $ECHO_N "(cached) $ECHO_C" >&6
105136 cat >conftest.$ac_ext <<_ACEOF
105137 /* confdefs.h. */
105138 _ACEOF
105139 cat confdefs.h >>conftest.$ac_ext
105140 cat >>conftest.$ac_ext <<_ACEOF
105141 /* end confdefs.h. */
105142 #include <sys/types.h>
105143 #include <$i>
105146 main ()
105148 if ((u_int32_t *) 0)
105149 return 0;
105150 if (sizeof (u_int32_t))
105151 return 0;
105153 return 0;
105155 _ACEOF
105156 rm -f conftest.$ac_objext
105157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105158 (eval $ac_compile) 2>conftest.er1
105159 ac_status=$?
105160 grep -v '^ *+' conftest.er1 >conftest.err
105161 rm -f conftest.er1
105162 cat conftest.err >&5
105163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105164 (exit $ac_status); } &&
105165 { ac_try='test -z "$ac_c_werror_flag"
105166 || test ! -s conftest.err'
105167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105168 (eval $ac_try) 2>&5
105169 ac_status=$?
105170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105171 (exit $ac_status); }; } &&
105172 { ac_try='test -s conftest.$ac_objext'
105173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105174 (eval $ac_try) 2>&5
105175 ac_status=$?
105176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105177 (exit $ac_status); }; }; then
105178 ac_cv_type_u_int32_t=yes
105180 echo "$as_me: failed program was:" >&5
105181 sed 's/^/| /' conftest.$ac_ext >&5
105183 ac_cv_type_u_int32_t=no
105185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105187 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
105188 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
105189 if test $ac_cv_type_u_int32_t = yes; then
105190 acx_cv_header_stdint=$i
105192 continue
105195 echo "$as_me:$LINENO: checking for u_int64_t" >&5
105196 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
105197 if test "${ac_cv_type_u_int64_t+set}" = set; then
105198 echo $ECHO_N "(cached) $ECHO_C" >&6
105200 cat >conftest.$ac_ext <<_ACEOF
105201 /* confdefs.h. */
105202 _ACEOF
105203 cat confdefs.h >>conftest.$ac_ext
105204 cat >>conftest.$ac_ext <<_ACEOF
105205 /* end confdefs.h. */
105206 #include <sys/types.h>
105207 #include <$i>
105210 main ()
105212 if ((u_int64_t *) 0)
105213 return 0;
105214 if (sizeof (u_int64_t))
105215 return 0;
105217 return 0;
105219 _ACEOF
105220 rm -f conftest.$ac_objext
105221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105222 (eval $ac_compile) 2>conftest.er1
105223 ac_status=$?
105224 grep -v '^ *+' conftest.er1 >conftest.err
105225 rm -f conftest.er1
105226 cat conftest.err >&5
105227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105228 (exit $ac_status); } &&
105229 { ac_try='test -z "$ac_c_werror_flag"
105230 || test ! -s conftest.err'
105231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105232 (eval $ac_try) 2>&5
105233 ac_status=$?
105234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105235 (exit $ac_status); }; } &&
105236 { ac_try='test -s conftest.$ac_objext'
105237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105238 (eval $ac_try) 2>&5
105239 ac_status=$?
105240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105241 (exit $ac_status); }; }; then
105242 ac_cv_type_u_int64_t=yes
105244 echo "$as_me: failed program was:" >&5
105245 sed 's/^/| /' conftest.$ac_ext >&5
105247 ac_cv_type_u_int64_t=no
105249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105251 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
105252 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
105254 break
105257 if test "$acx_cv_header_stdint" = stddef.h; then
105258 acx_cv_header_stdint_kind="(using manual detection)"
105261 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
105262 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
105263 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
105264 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
105265 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
105267 # ----------------- Summarize what we found so far
105269 echo "$as_me:$LINENO: checking what to include in include/gstdint.h" >&5
105270 echo $ECHO_N "checking what to include in include/gstdint.h... $ECHO_C" >&6
105272 case `$as_basename include/gstdint.h ||
105273 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
105274 Xinclude/gstdint.h : 'X\(//\)$' \| \
105275 Xinclude/gstdint.h : 'X\(/\)$' \| \
105276 . : '\(.\)' 2>/dev/null ||
105277 echo X/include/gstdint.h |
105278 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
105279 /^X\/\(\/\/\)$/{ s//\1/; q; }
105280 /^X\/\(\/\).*/{ s//\1/; q; }
105281 s/.*/./; q'` in
105282 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
105283 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
105284 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
105285 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
105286 *) ;;
105289 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
105290 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
105292 # ----------------- done included file, check C basic types --------
105294 # Lacking an uintptr_t? Test size of void *
105295 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
105296 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
105297 echo $ECHO_N "checking for void *... $ECHO_C" >&6
105298 if test "${ac_cv_type_void_p+set}" = set; then
105299 echo $ECHO_N "(cached) $ECHO_C" >&6
105301 cat >conftest.$ac_ext <<_ACEOF
105302 /* confdefs.h. */
105303 _ACEOF
105304 cat confdefs.h >>conftest.$ac_ext
105305 cat >>conftest.$ac_ext <<_ACEOF
105306 /* end confdefs.h. */
105307 $ac_includes_default
105309 main ()
105311 if ((void * *) 0)
105312 return 0;
105313 if (sizeof (void *))
105314 return 0;
105316 return 0;
105318 _ACEOF
105319 rm -f conftest.$ac_objext
105320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105321 (eval $ac_compile) 2>conftest.er1
105322 ac_status=$?
105323 grep -v '^ *+' conftest.er1 >conftest.err
105324 rm -f conftest.er1
105325 cat conftest.err >&5
105326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105327 (exit $ac_status); } &&
105328 { ac_try='test -z "$ac_c_werror_flag"
105329 || test ! -s conftest.err'
105330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105331 (eval $ac_try) 2>&5
105332 ac_status=$?
105333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105334 (exit $ac_status); }; } &&
105335 { ac_try='test -s conftest.$ac_objext'
105336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105337 (eval $ac_try) 2>&5
105338 ac_status=$?
105339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105340 (exit $ac_status); }; }; then
105341 ac_cv_type_void_p=yes
105343 echo "$as_me: failed program was:" >&5
105344 sed 's/^/| /' conftest.$ac_ext >&5
105346 ac_cv_type_void_p=no
105348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105350 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
105351 echo "${ECHO_T}$ac_cv_type_void_p" >&6
105353 echo "$as_me:$LINENO: checking size of void *" >&5
105354 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
105355 if test "${ac_cv_sizeof_void_p+set}" = set; then
105356 echo $ECHO_N "(cached) $ECHO_C" >&6
105358 if test "$ac_cv_type_void_p" = yes; then
105359 # The cast to unsigned long works around a bug in the HP C Compiler
105360 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
105361 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
105362 # This bug is HP SR number 8606223364.
105363 if test "$cross_compiling" = yes; then
105364 # Depending upon the size, compute the lo and hi bounds.
105365 cat >conftest.$ac_ext <<_ACEOF
105366 /* confdefs.h. */
105367 _ACEOF
105368 cat confdefs.h >>conftest.$ac_ext
105369 cat >>conftest.$ac_ext <<_ACEOF
105370 /* end confdefs.h. */
105371 $ac_includes_default
105373 main ()
105375 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
105376 test_array [0] = 0
105379 return 0;
105381 _ACEOF
105382 rm -f conftest.$ac_objext
105383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105384 (eval $ac_compile) 2>conftest.er1
105385 ac_status=$?
105386 grep -v '^ *+' conftest.er1 >conftest.err
105387 rm -f conftest.er1
105388 cat conftest.err >&5
105389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105390 (exit $ac_status); } &&
105391 { ac_try='test -z "$ac_c_werror_flag"
105392 || test ! -s conftest.err'
105393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105394 (eval $ac_try) 2>&5
105395 ac_status=$?
105396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105397 (exit $ac_status); }; } &&
105398 { ac_try='test -s conftest.$ac_objext'
105399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105400 (eval $ac_try) 2>&5
105401 ac_status=$?
105402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105403 (exit $ac_status); }; }; then
105404 ac_lo=0 ac_mid=0
105405 while :; do
105406 cat >conftest.$ac_ext <<_ACEOF
105407 /* confdefs.h. */
105408 _ACEOF
105409 cat confdefs.h >>conftest.$ac_ext
105410 cat >>conftest.$ac_ext <<_ACEOF
105411 /* end confdefs.h. */
105412 $ac_includes_default
105414 main ()
105416 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
105417 test_array [0] = 0
105420 return 0;
105422 _ACEOF
105423 rm -f conftest.$ac_objext
105424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105425 (eval $ac_compile) 2>conftest.er1
105426 ac_status=$?
105427 grep -v '^ *+' conftest.er1 >conftest.err
105428 rm -f conftest.er1
105429 cat conftest.err >&5
105430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105431 (exit $ac_status); } &&
105432 { ac_try='test -z "$ac_c_werror_flag"
105433 || test ! -s conftest.err'
105434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105435 (eval $ac_try) 2>&5
105436 ac_status=$?
105437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105438 (exit $ac_status); }; } &&
105439 { ac_try='test -s conftest.$ac_objext'
105440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105441 (eval $ac_try) 2>&5
105442 ac_status=$?
105443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105444 (exit $ac_status); }; }; then
105445 ac_hi=$ac_mid; break
105447 echo "$as_me: failed program was:" >&5
105448 sed 's/^/| /' conftest.$ac_ext >&5
105450 ac_lo=`expr $ac_mid + 1`
105451 if test $ac_lo -le $ac_mid; then
105452 ac_lo= ac_hi=
105453 break
105455 ac_mid=`expr 2 '*' $ac_mid + 1`
105457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105460 echo "$as_me: failed program was:" >&5
105461 sed 's/^/| /' conftest.$ac_ext >&5
105463 cat >conftest.$ac_ext <<_ACEOF
105464 /* confdefs.h. */
105465 _ACEOF
105466 cat confdefs.h >>conftest.$ac_ext
105467 cat >>conftest.$ac_ext <<_ACEOF
105468 /* end confdefs.h. */
105469 $ac_includes_default
105471 main ()
105473 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
105474 test_array [0] = 0
105477 return 0;
105479 _ACEOF
105480 rm -f conftest.$ac_objext
105481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105482 (eval $ac_compile) 2>conftest.er1
105483 ac_status=$?
105484 grep -v '^ *+' conftest.er1 >conftest.err
105485 rm -f conftest.er1
105486 cat conftest.err >&5
105487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105488 (exit $ac_status); } &&
105489 { ac_try='test -z "$ac_c_werror_flag"
105490 || test ! -s conftest.err'
105491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105492 (eval $ac_try) 2>&5
105493 ac_status=$?
105494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105495 (exit $ac_status); }; } &&
105496 { ac_try='test -s conftest.$ac_objext'
105497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105498 (eval $ac_try) 2>&5
105499 ac_status=$?
105500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105501 (exit $ac_status); }; }; then
105502 ac_hi=-1 ac_mid=-1
105503 while :; do
105504 cat >conftest.$ac_ext <<_ACEOF
105505 /* confdefs.h. */
105506 _ACEOF
105507 cat confdefs.h >>conftest.$ac_ext
105508 cat >>conftest.$ac_ext <<_ACEOF
105509 /* end confdefs.h. */
105510 $ac_includes_default
105512 main ()
105514 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
105515 test_array [0] = 0
105518 return 0;
105520 _ACEOF
105521 rm -f conftest.$ac_objext
105522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105523 (eval $ac_compile) 2>conftest.er1
105524 ac_status=$?
105525 grep -v '^ *+' conftest.er1 >conftest.err
105526 rm -f conftest.er1
105527 cat conftest.err >&5
105528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105529 (exit $ac_status); } &&
105530 { ac_try='test -z "$ac_c_werror_flag"
105531 || test ! -s conftest.err'
105532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105533 (eval $ac_try) 2>&5
105534 ac_status=$?
105535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105536 (exit $ac_status); }; } &&
105537 { ac_try='test -s conftest.$ac_objext'
105538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105539 (eval $ac_try) 2>&5
105540 ac_status=$?
105541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105542 (exit $ac_status); }; }; then
105543 ac_lo=$ac_mid; break
105545 echo "$as_me: failed program was:" >&5
105546 sed 's/^/| /' conftest.$ac_ext >&5
105548 ac_hi=`expr '(' $ac_mid ')' - 1`
105549 if test $ac_mid -le $ac_hi; then
105550 ac_lo= ac_hi=
105551 break
105553 ac_mid=`expr 2 '*' $ac_mid`
105555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105558 echo "$as_me: failed program was:" >&5
105559 sed 's/^/| /' conftest.$ac_ext >&5
105561 ac_lo= ac_hi=
105563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105566 # Binary search between lo and hi bounds.
105567 while test "x$ac_lo" != "x$ac_hi"; do
105568 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
105569 cat >conftest.$ac_ext <<_ACEOF
105570 /* confdefs.h. */
105571 _ACEOF
105572 cat confdefs.h >>conftest.$ac_ext
105573 cat >>conftest.$ac_ext <<_ACEOF
105574 /* end confdefs.h. */
105575 $ac_includes_default
105577 main ()
105579 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
105580 test_array [0] = 0
105583 return 0;
105585 _ACEOF
105586 rm -f conftest.$ac_objext
105587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105588 (eval $ac_compile) 2>conftest.er1
105589 ac_status=$?
105590 grep -v '^ *+' conftest.er1 >conftest.err
105591 rm -f conftest.er1
105592 cat conftest.err >&5
105593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105594 (exit $ac_status); } &&
105595 { ac_try='test -z "$ac_c_werror_flag"
105596 || test ! -s conftest.err'
105597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105598 (eval $ac_try) 2>&5
105599 ac_status=$?
105600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105601 (exit $ac_status); }; } &&
105602 { ac_try='test -s conftest.$ac_objext'
105603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105604 (eval $ac_try) 2>&5
105605 ac_status=$?
105606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105607 (exit $ac_status); }; }; then
105608 ac_hi=$ac_mid
105610 echo "$as_me: failed program was:" >&5
105611 sed 's/^/| /' conftest.$ac_ext >&5
105613 ac_lo=`expr '(' $ac_mid ')' + 1`
105615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105617 case $ac_lo in
105618 ?*) ac_cv_sizeof_void_p=$ac_lo;;
105619 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
105620 echo "$as_me: error: in \`$ac_pwd':" >&2;}
105621 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
105622 See \`config.log' for more details." >&5
105623 echo "$as_me: error: cannot compute sizeof (void *), 77
105624 See \`config.log' for more details." >&2;}
105625 { (exit 1); exit 1; }; }; } ;;
105628 if test "$cross_compiling" = yes; then
105629 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
105630 echo "$as_me: error: in \`$ac_pwd':" >&2;}
105631 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
105632 See \`config.log' for more details." >&5
105633 echo "$as_me: error: cannot run test program while cross compiling
105634 See \`config.log' for more details." >&2;}
105635 { (exit 1); exit 1; }; }; }
105637 cat >conftest.$ac_ext <<_ACEOF
105638 /* confdefs.h. */
105639 _ACEOF
105640 cat confdefs.h >>conftest.$ac_ext
105641 cat >>conftest.$ac_ext <<_ACEOF
105642 /* end confdefs.h. */
105643 $ac_includes_default
105644 long longval () { return (long) (sizeof (void *)); }
105645 unsigned long ulongval () { return (long) (sizeof (void *)); }
105646 #include <stdio.h>
105647 #include <stdlib.h>
105649 main ()
105652 FILE *f = fopen ("conftest.val", "w");
105653 if (! f)
105654 exit (1);
105655 if (((long) (sizeof (void *))) < 0)
105657 long i = longval ();
105658 if (i != ((long) (sizeof (void *))))
105659 exit (1);
105660 fprintf (f, "%ld\n", i);
105664 unsigned long i = ulongval ();
105665 if (i != ((long) (sizeof (void *))))
105666 exit (1);
105667 fprintf (f, "%lu\n", i);
105669 exit (ferror (f) || fclose (f) != 0);
105672 return 0;
105674 _ACEOF
105675 rm -f conftest$ac_exeext
105676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105677 (eval $ac_link) 2>&5
105678 ac_status=$?
105679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105680 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
105681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105682 (eval $ac_try) 2>&5
105683 ac_status=$?
105684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105685 (exit $ac_status); }; }; then
105686 ac_cv_sizeof_void_p=`cat conftest.val`
105688 echo "$as_me: program exited with status $ac_status" >&5
105689 echo "$as_me: failed program was:" >&5
105690 sed 's/^/| /' conftest.$ac_ext >&5
105692 ( exit $ac_status )
105693 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
105694 echo "$as_me: error: in \`$ac_pwd':" >&2;}
105695 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
105696 See \`config.log' for more details." >&5
105697 echo "$as_me: error: cannot compute sizeof (void *), 77
105698 See \`config.log' for more details." >&2;}
105699 { (exit 1); exit 1; }; }; }
105701 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
105704 rm -f conftest.val
105706 ac_cv_sizeof_void_p=0
105709 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
105710 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
105711 cat >>confdefs.h <<_ACEOF
105712 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
105713 _ACEOF
105718 # Lacking an uint64_t? Test size of long
105719 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
105720 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
105721 echo $ECHO_N "checking for long... $ECHO_C" >&6
105722 if test "${ac_cv_type_long+set}" = set; then
105723 echo $ECHO_N "(cached) $ECHO_C" >&6
105725 cat >conftest.$ac_ext <<_ACEOF
105726 /* confdefs.h. */
105727 _ACEOF
105728 cat confdefs.h >>conftest.$ac_ext
105729 cat >>conftest.$ac_ext <<_ACEOF
105730 /* end confdefs.h. */
105731 $ac_includes_default
105733 main ()
105735 if ((long *) 0)
105736 return 0;
105737 if (sizeof (long))
105738 return 0;
105740 return 0;
105742 _ACEOF
105743 rm -f conftest.$ac_objext
105744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105745 (eval $ac_compile) 2>conftest.er1
105746 ac_status=$?
105747 grep -v '^ *+' conftest.er1 >conftest.err
105748 rm -f conftest.er1
105749 cat conftest.err >&5
105750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105751 (exit $ac_status); } &&
105752 { ac_try='test -z "$ac_c_werror_flag"
105753 || test ! -s conftest.err'
105754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105755 (eval $ac_try) 2>&5
105756 ac_status=$?
105757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105758 (exit $ac_status); }; } &&
105759 { ac_try='test -s conftest.$ac_objext'
105760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105761 (eval $ac_try) 2>&5
105762 ac_status=$?
105763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105764 (exit $ac_status); }; }; then
105765 ac_cv_type_long=yes
105767 echo "$as_me: failed program was:" >&5
105768 sed 's/^/| /' conftest.$ac_ext >&5
105770 ac_cv_type_long=no
105772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105774 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
105775 echo "${ECHO_T}$ac_cv_type_long" >&6
105777 echo "$as_me:$LINENO: checking size of long" >&5
105778 echo $ECHO_N "checking size of long... $ECHO_C" >&6
105779 if test "${ac_cv_sizeof_long+set}" = set; then
105780 echo $ECHO_N "(cached) $ECHO_C" >&6
105782 if test "$ac_cv_type_long" = yes; then
105783 # The cast to unsigned long works around a bug in the HP C Compiler
105784 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
105785 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
105786 # This bug is HP SR number 8606223364.
105787 if test "$cross_compiling" = yes; then
105788 # Depending upon the size, compute the lo and hi bounds.
105789 cat >conftest.$ac_ext <<_ACEOF
105790 /* confdefs.h. */
105791 _ACEOF
105792 cat confdefs.h >>conftest.$ac_ext
105793 cat >>conftest.$ac_ext <<_ACEOF
105794 /* end confdefs.h. */
105795 $ac_includes_default
105797 main ()
105799 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
105800 test_array [0] = 0
105803 return 0;
105805 _ACEOF
105806 rm -f conftest.$ac_objext
105807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105808 (eval $ac_compile) 2>conftest.er1
105809 ac_status=$?
105810 grep -v '^ *+' conftest.er1 >conftest.err
105811 rm -f conftest.er1
105812 cat conftest.err >&5
105813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105814 (exit $ac_status); } &&
105815 { ac_try='test -z "$ac_c_werror_flag"
105816 || test ! -s conftest.err'
105817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105818 (eval $ac_try) 2>&5
105819 ac_status=$?
105820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105821 (exit $ac_status); }; } &&
105822 { ac_try='test -s conftest.$ac_objext'
105823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105824 (eval $ac_try) 2>&5
105825 ac_status=$?
105826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105827 (exit $ac_status); }; }; then
105828 ac_lo=0 ac_mid=0
105829 while :; do
105830 cat >conftest.$ac_ext <<_ACEOF
105831 /* confdefs.h. */
105832 _ACEOF
105833 cat confdefs.h >>conftest.$ac_ext
105834 cat >>conftest.$ac_ext <<_ACEOF
105835 /* end confdefs.h. */
105836 $ac_includes_default
105838 main ()
105840 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
105841 test_array [0] = 0
105844 return 0;
105846 _ACEOF
105847 rm -f conftest.$ac_objext
105848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105849 (eval $ac_compile) 2>conftest.er1
105850 ac_status=$?
105851 grep -v '^ *+' conftest.er1 >conftest.err
105852 rm -f conftest.er1
105853 cat conftest.err >&5
105854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105855 (exit $ac_status); } &&
105856 { ac_try='test -z "$ac_c_werror_flag"
105857 || test ! -s conftest.err'
105858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105859 (eval $ac_try) 2>&5
105860 ac_status=$?
105861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105862 (exit $ac_status); }; } &&
105863 { ac_try='test -s conftest.$ac_objext'
105864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105865 (eval $ac_try) 2>&5
105866 ac_status=$?
105867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105868 (exit $ac_status); }; }; then
105869 ac_hi=$ac_mid; break
105871 echo "$as_me: failed program was:" >&5
105872 sed 's/^/| /' conftest.$ac_ext >&5
105874 ac_lo=`expr $ac_mid + 1`
105875 if test $ac_lo -le $ac_mid; then
105876 ac_lo= ac_hi=
105877 break
105879 ac_mid=`expr 2 '*' $ac_mid + 1`
105881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105884 echo "$as_me: failed program was:" >&5
105885 sed 's/^/| /' conftest.$ac_ext >&5
105887 cat >conftest.$ac_ext <<_ACEOF
105888 /* confdefs.h. */
105889 _ACEOF
105890 cat confdefs.h >>conftest.$ac_ext
105891 cat >>conftest.$ac_ext <<_ACEOF
105892 /* end confdefs.h. */
105893 $ac_includes_default
105895 main ()
105897 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
105898 test_array [0] = 0
105901 return 0;
105903 _ACEOF
105904 rm -f conftest.$ac_objext
105905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105906 (eval $ac_compile) 2>conftest.er1
105907 ac_status=$?
105908 grep -v '^ *+' conftest.er1 >conftest.err
105909 rm -f conftest.er1
105910 cat conftest.err >&5
105911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105912 (exit $ac_status); } &&
105913 { ac_try='test -z "$ac_c_werror_flag"
105914 || test ! -s conftest.err'
105915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105916 (eval $ac_try) 2>&5
105917 ac_status=$?
105918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105919 (exit $ac_status); }; } &&
105920 { ac_try='test -s conftest.$ac_objext'
105921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105922 (eval $ac_try) 2>&5
105923 ac_status=$?
105924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105925 (exit $ac_status); }; }; then
105926 ac_hi=-1 ac_mid=-1
105927 while :; do
105928 cat >conftest.$ac_ext <<_ACEOF
105929 /* confdefs.h. */
105930 _ACEOF
105931 cat confdefs.h >>conftest.$ac_ext
105932 cat >>conftest.$ac_ext <<_ACEOF
105933 /* end confdefs.h. */
105934 $ac_includes_default
105936 main ()
105938 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
105939 test_array [0] = 0
105942 return 0;
105944 _ACEOF
105945 rm -f conftest.$ac_objext
105946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105947 (eval $ac_compile) 2>conftest.er1
105948 ac_status=$?
105949 grep -v '^ *+' conftest.er1 >conftest.err
105950 rm -f conftest.er1
105951 cat conftest.err >&5
105952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105953 (exit $ac_status); } &&
105954 { ac_try='test -z "$ac_c_werror_flag"
105955 || test ! -s conftest.err'
105956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105957 (eval $ac_try) 2>&5
105958 ac_status=$?
105959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105960 (exit $ac_status); }; } &&
105961 { ac_try='test -s conftest.$ac_objext'
105962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105963 (eval $ac_try) 2>&5
105964 ac_status=$?
105965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105966 (exit $ac_status); }; }; then
105967 ac_lo=$ac_mid; break
105969 echo "$as_me: failed program was:" >&5
105970 sed 's/^/| /' conftest.$ac_ext >&5
105972 ac_hi=`expr '(' $ac_mid ')' - 1`
105973 if test $ac_mid -le $ac_hi; then
105974 ac_lo= ac_hi=
105975 break
105977 ac_mid=`expr 2 '*' $ac_mid`
105979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105982 echo "$as_me: failed program was:" >&5
105983 sed 's/^/| /' conftest.$ac_ext >&5
105985 ac_lo= ac_hi=
105987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105990 # Binary search between lo and hi bounds.
105991 while test "x$ac_lo" != "x$ac_hi"; do
105992 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
105993 cat >conftest.$ac_ext <<_ACEOF
105994 /* confdefs.h. */
105995 _ACEOF
105996 cat confdefs.h >>conftest.$ac_ext
105997 cat >>conftest.$ac_ext <<_ACEOF
105998 /* end confdefs.h. */
105999 $ac_includes_default
106001 main ()
106003 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
106004 test_array [0] = 0
106007 return 0;
106009 _ACEOF
106010 rm -f conftest.$ac_objext
106011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106012 (eval $ac_compile) 2>conftest.er1
106013 ac_status=$?
106014 grep -v '^ *+' conftest.er1 >conftest.err
106015 rm -f conftest.er1
106016 cat conftest.err >&5
106017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106018 (exit $ac_status); } &&
106019 { ac_try='test -z "$ac_c_werror_flag"
106020 || test ! -s conftest.err'
106021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106022 (eval $ac_try) 2>&5
106023 ac_status=$?
106024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106025 (exit $ac_status); }; } &&
106026 { ac_try='test -s conftest.$ac_objext'
106027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106028 (eval $ac_try) 2>&5
106029 ac_status=$?
106030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106031 (exit $ac_status); }; }; then
106032 ac_hi=$ac_mid
106034 echo "$as_me: failed program was:" >&5
106035 sed 's/^/| /' conftest.$ac_ext >&5
106037 ac_lo=`expr '(' $ac_mid ')' + 1`
106039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106041 case $ac_lo in
106042 ?*) ac_cv_sizeof_long=$ac_lo;;
106043 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106044 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106045 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
106046 See \`config.log' for more details." >&5
106047 echo "$as_me: error: cannot compute sizeof (long), 77
106048 See \`config.log' for more details." >&2;}
106049 { (exit 1); exit 1; }; }; } ;;
106052 if test "$cross_compiling" = yes; then
106053 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106054 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106055 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
106056 See \`config.log' for more details." >&5
106057 echo "$as_me: error: cannot run test program while cross compiling
106058 See \`config.log' for more details." >&2;}
106059 { (exit 1); exit 1; }; }; }
106061 cat >conftest.$ac_ext <<_ACEOF
106062 /* confdefs.h. */
106063 _ACEOF
106064 cat confdefs.h >>conftest.$ac_ext
106065 cat >>conftest.$ac_ext <<_ACEOF
106066 /* end confdefs.h. */
106067 $ac_includes_default
106068 long longval () { return (long) (sizeof (long)); }
106069 unsigned long ulongval () { return (long) (sizeof (long)); }
106070 #include <stdio.h>
106071 #include <stdlib.h>
106073 main ()
106076 FILE *f = fopen ("conftest.val", "w");
106077 if (! f)
106078 exit (1);
106079 if (((long) (sizeof (long))) < 0)
106081 long i = longval ();
106082 if (i != ((long) (sizeof (long))))
106083 exit (1);
106084 fprintf (f, "%ld\n", i);
106088 unsigned long i = ulongval ();
106089 if (i != ((long) (sizeof (long))))
106090 exit (1);
106091 fprintf (f, "%lu\n", i);
106093 exit (ferror (f) || fclose (f) != 0);
106096 return 0;
106098 _ACEOF
106099 rm -f conftest$ac_exeext
106100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106101 (eval $ac_link) 2>&5
106102 ac_status=$?
106103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106104 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
106105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106106 (eval $ac_try) 2>&5
106107 ac_status=$?
106108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106109 (exit $ac_status); }; }; then
106110 ac_cv_sizeof_long=`cat conftest.val`
106112 echo "$as_me: program exited with status $ac_status" >&5
106113 echo "$as_me: failed program was:" >&5
106114 sed 's/^/| /' conftest.$ac_ext >&5
106116 ( exit $ac_status )
106117 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106118 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106119 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
106120 See \`config.log' for more details." >&5
106121 echo "$as_me: error: cannot compute sizeof (long), 77
106122 See \`config.log' for more details." >&2;}
106123 { (exit 1); exit 1; }; }; }
106125 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
106128 rm -f conftest.val
106130 ac_cv_sizeof_long=0
106133 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
106134 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
106135 cat >>confdefs.h <<_ACEOF
106136 #define SIZEOF_LONG $ac_cv_sizeof_long
106137 _ACEOF
106142 if test $acx_cv_header_stdint = stddef.h; then
106143 # Lacking a good header? Test size of everything and deduce all types.
106144 echo "$as_me:$LINENO: checking for int" >&5
106145 echo $ECHO_N "checking for int... $ECHO_C" >&6
106146 if test "${ac_cv_type_int+set}" = set; then
106147 echo $ECHO_N "(cached) $ECHO_C" >&6
106149 cat >conftest.$ac_ext <<_ACEOF
106150 /* confdefs.h. */
106151 _ACEOF
106152 cat confdefs.h >>conftest.$ac_ext
106153 cat >>conftest.$ac_ext <<_ACEOF
106154 /* end confdefs.h. */
106155 $ac_includes_default
106157 main ()
106159 if ((int *) 0)
106160 return 0;
106161 if (sizeof (int))
106162 return 0;
106164 return 0;
106166 _ACEOF
106167 rm -f conftest.$ac_objext
106168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106169 (eval $ac_compile) 2>conftest.er1
106170 ac_status=$?
106171 grep -v '^ *+' conftest.er1 >conftest.err
106172 rm -f conftest.er1
106173 cat conftest.err >&5
106174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106175 (exit $ac_status); } &&
106176 { ac_try='test -z "$ac_c_werror_flag"
106177 || test ! -s conftest.err'
106178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106179 (eval $ac_try) 2>&5
106180 ac_status=$?
106181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106182 (exit $ac_status); }; } &&
106183 { ac_try='test -s conftest.$ac_objext'
106184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106185 (eval $ac_try) 2>&5
106186 ac_status=$?
106187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106188 (exit $ac_status); }; }; then
106189 ac_cv_type_int=yes
106191 echo "$as_me: failed program was:" >&5
106192 sed 's/^/| /' conftest.$ac_ext >&5
106194 ac_cv_type_int=no
106196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106198 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
106199 echo "${ECHO_T}$ac_cv_type_int" >&6
106201 echo "$as_me:$LINENO: checking size of int" >&5
106202 echo $ECHO_N "checking size of int... $ECHO_C" >&6
106203 if test "${ac_cv_sizeof_int+set}" = set; then
106204 echo $ECHO_N "(cached) $ECHO_C" >&6
106206 if test "$ac_cv_type_int" = yes; then
106207 # The cast to unsigned long works around a bug in the HP C Compiler
106208 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
106209 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
106210 # This bug is HP SR number 8606223364.
106211 if test "$cross_compiling" = yes; then
106212 # Depending upon the size, compute the lo and hi bounds.
106213 cat >conftest.$ac_ext <<_ACEOF
106214 /* confdefs.h. */
106215 _ACEOF
106216 cat confdefs.h >>conftest.$ac_ext
106217 cat >>conftest.$ac_ext <<_ACEOF
106218 /* end confdefs.h. */
106219 $ac_includes_default
106221 main ()
106223 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
106224 test_array [0] = 0
106227 return 0;
106229 _ACEOF
106230 rm -f conftest.$ac_objext
106231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106232 (eval $ac_compile) 2>conftest.er1
106233 ac_status=$?
106234 grep -v '^ *+' conftest.er1 >conftest.err
106235 rm -f conftest.er1
106236 cat conftest.err >&5
106237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106238 (exit $ac_status); } &&
106239 { ac_try='test -z "$ac_c_werror_flag"
106240 || test ! -s conftest.err'
106241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106242 (eval $ac_try) 2>&5
106243 ac_status=$?
106244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106245 (exit $ac_status); }; } &&
106246 { ac_try='test -s conftest.$ac_objext'
106247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106248 (eval $ac_try) 2>&5
106249 ac_status=$?
106250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106251 (exit $ac_status); }; }; then
106252 ac_lo=0 ac_mid=0
106253 while :; do
106254 cat >conftest.$ac_ext <<_ACEOF
106255 /* confdefs.h. */
106256 _ACEOF
106257 cat confdefs.h >>conftest.$ac_ext
106258 cat >>conftest.$ac_ext <<_ACEOF
106259 /* end confdefs.h. */
106260 $ac_includes_default
106262 main ()
106264 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
106265 test_array [0] = 0
106268 return 0;
106270 _ACEOF
106271 rm -f conftest.$ac_objext
106272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106273 (eval $ac_compile) 2>conftest.er1
106274 ac_status=$?
106275 grep -v '^ *+' conftest.er1 >conftest.err
106276 rm -f conftest.er1
106277 cat conftest.err >&5
106278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106279 (exit $ac_status); } &&
106280 { ac_try='test -z "$ac_c_werror_flag"
106281 || test ! -s conftest.err'
106282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106283 (eval $ac_try) 2>&5
106284 ac_status=$?
106285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106286 (exit $ac_status); }; } &&
106287 { ac_try='test -s conftest.$ac_objext'
106288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106289 (eval $ac_try) 2>&5
106290 ac_status=$?
106291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106292 (exit $ac_status); }; }; then
106293 ac_hi=$ac_mid; break
106295 echo "$as_me: failed program was:" >&5
106296 sed 's/^/| /' conftest.$ac_ext >&5
106298 ac_lo=`expr $ac_mid + 1`
106299 if test $ac_lo -le $ac_mid; then
106300 ac_lo= ac_hi=
106301 break
106303 ac_mid=`expr 2 '*' $ac_mid + 1`
106305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106308 echo "$as_me: failed program was:" >&5
106309 sed 's/^/| /' conftest.$ac_ext >&5
106311 cat >conftest.$ac_ext <<_ACEOF
106312 /* confdefs.h. */
106313 _ACEOF
106314 cat confdefs.h >>conftest.$ac_ext
106315 cat >>conftest.$ac_ext <<_ACEOF
106316 /* end confdefs.h. */
106317 $ac_includes_default
106319 main ()
106321 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
106322 test_array [0] = 0
106325 return 0;
106327 _ACEOF
106328 rm -f conftest.$ac_objext
106329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106330 (eval $ac_compile) 2>conftest.er1
106331 ac_status=$?
106332 grep -v '^ *+' conftest.er1 >conftest.err
106333 rm -f conftest.er1
106334 cat conftest.err >&5
106335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106336 (exit $ac_status); } &&
106337 { ac_try='test -z "$ac_c_werror_flag"
106338 || test ! -s conftest.err'
106339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106340 (eval $ac_try) 2>&5
106341 ac_status=$?
106342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106343 (exit $ac_status); }; } &&
106344 { ac_try='test -s conftest.$ac_objext'
106345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106346 (eval $ac_try) 2>&5
106347 ac_status=$?
106348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106349 (exit $ac_status); }; }; then
106350 ac_hi=-1 ac_mid=-1
106351 while :; do
106352 cat >conftest.$ac_ext <<_ACEOF
106353 /* confdefs.h. */
106354 _ACEOF
106355 cat confdefs.h >>conftest.$ac_ext
106356 cat >>conftest.$ac_ext <<_ACEOF
106357 /* end confdefs.h. */
106358 $ac_includes_default
106360 main ()
106362 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
106363 test_array [0] = 0
106366 return 0;
106368 _ACEOF
106369 rm -f conftest.$ac_objext
106370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106371 (eval $ac_compile) 2>conftest.er1
106372 ac_status=$?
106373 grep -v '^ *+' conftest.er1 >conftest.err
106374 rm -f conftest.er1
106375 cat conftest.err >&5
106376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106377 (exit $ac_status); } &&
106378 { ac_try='test -z "$ac_c_werror_flag"
106379 || test ! -s conftest.err'
106380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106381 (eval $ac_try) 2>&5
106382 ac_status=$?
106383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106384 (exit $ac_status); }; } &&
106385 { ac_try='test -s conftest.$ac_objext'
106386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106387 (eval $ac_try) 2>&5
106388 ac_status=$?
106389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106390 (exit $ac_status); }; }; then
106391 ac_lo=$ac_mid; break
106393 echo "$as_me: failed program was:" >&5
106394 sed 's/^/| /' conftest.$ac_ext >&5
106396 ac_hi=`expr '(' $ac_mid ')' - 1`
106397 if test $ac_mid -le $ac_hi; then
106398 ac_lo= ac_hi=
106399 break
106401 ac_mid=`expr 2 '*' $ac_mid`
106403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106406 echo "$as_me: failed program was:" >&5
106407 sed 's/^/| /' conftest.$ac_ext >&5
106409 ac_lo= ac_hi=
106411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106414 # Binary search between lo and hi bounds.
106415 while test "x$ac_lo" != "x$ac_hi"; do
106416 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
106417 cat >conftest.$ac_ext <<_ACEOF
106418 /* confdefs.h. */
106419 _ACEOF
106420 cat confdefs.h >>conftest.$ac_ext
106421 cat >>conftest.$ac_ext <<_ACEOF
106422 /* end confdefs.h. */
106423 $ac_includes_default
106425 main ()
106427 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
106428 test_array [0] = 0
106431 return 0;
106433 _ACEOF
106434 rm -f conftest.$ac_objext
106435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106436 (eval $ac_compile) 2>conftest.er1
106437 ac_status=$?
106438 grep -v '^ *+' conftest.er1 >conftest.err
106439 rm -f conftest.er1
106440 cat conftest.err >&5
106441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106442 (exit $ac_status); } &&
106443 { ac_try='test -z "$ac_c_werror_flag"
106444 || test ! -s conftest.err'
106445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106446 (eval $ac_try) 2>&5
106447 ac_status=$?
106448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106449 (exit $ac_status); }; } &&
106450 { ac_try='test -s conftest.$ac_objext'
106451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106452 (eval $ac_try) 2>&5
106453 ac_status=$?
106454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106455 (exit $ac_status); }; }; then
106456 ac_hi=$ac_mid
106458 echo "$as_me: failed program was:" >&5
106459 sed 's/^/| /' conftest.$ac_ext >&5
106461 ac_lo=`expr '(' $ac_mid ')' + 1`
106463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106465 case $ac_lo in
106466 ?*) ac_cv_sizeof_int=$ac_lo;;
106467 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106468 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106469 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
106470 See \`config.log' for more details." >&5
106471 echo "$as_me: error: cannot compute sizeof (int), 77
106472 See \`config.log' for more details." >&2;}
106473 { (exit 1); exit 1; }; }; } ;;
106476 if test "$cross_compiling" = yes; then
106477 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106478 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106479 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
106480 See \`config.log' for more details." >&5
106481 echo "$as_me: error: cannot run test program while cross compiling
106482 See \`config.log' for more details." >&2;}
106483 { (exit 1); exit 1; }; }; }
106485 cat >conftest.$ac_ext <<_ACEOF
106486 /* confdefs.h. */
106487 _ACEOF
106488 cat confdefs.h >>conftest.$ac_ext
106489 cat >>conftest.$ac_ext <<_ACEOF
106490 /* end confdefs.h. */
106491 $ac_includes_default
106492 long longval () { return (long) (sizeof (int)); }
106493 unsigned long ulongval () { return (long) (sizeof (int)); }
106494 #include <stdio.h>
106495 #include <stdlib.h>
106497 main ()
106500 FILE *f = fopen ("conftest.val", "w");
106501 if (! f)
106502 exit (1);
106503 if (((long) (sizeof (int))) < 0)
106505 long i = longval ();
106506 if (i != ((long) (sizeof (int))))
106507 exit (1);
106508 fprintf (f, "%ld\n", i);
106512 unsigned long i = ulongval ();
106513 if (i != ((long) (sizeof (int))))
106514 exit (1);
106515 fprintf (f, "%lu\n", i);
106517 exit (ferror (f) || fclose (f) != 0);
106520 return 0;
106522 _ACEOF
106523 rm -f conftest$ac_exeext
106524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106525 (eval $ac_link) 2>&5
106526 ac_status=$?
106527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106528 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
106529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106530 (eval $ac_try) 2>&5
106531 ac_status=$?
106532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106533 (exit $ac_status); }; }; then
106534 ac_cv_sizeof_int=`cat conftest.val`
106536 echo "$as_me: program exited with status $ac_status" >&5
106537 echo "$as_me: failed program was:" >&5
106538 sed 's/^/| /' conftest.$ac_ext >&5
106540 ( exit $ac_status )
106541 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106542 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106543 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
106544 See \`config.log' for more details." >&5
106545 echo "$as_me: error: cannot compute sizeof (int), 77
106546 See \`config.log' for more details." >&2;}
106547 { (exit 1); exit 1; }; }; }
106549 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
106552 rm -f conftest.val
106554 ac_cv_sizeof_int=0
106557 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
106558 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
106559 cat >>confdefs.h <<_ACEOF
106560 #define SIZEOF_INT $ac_cv_sizeof_int
106561 _ACEOF
106564 echo "$as_me:$LINENO: checking for short" >&5
106565 echo $ECHO_N "checking for short... $ECHO_C" >&6
106566 if test "${ac_cv_type_short+set}" = set; then
106567 echo $ECHO_N "(cached) $ECHO_C" >&6
106569 cat >conftest.$ac_ext <<_ACEOF
106570 /* confdefs.h. */
106571 _ACEOF
106572 cat confdefs.h >>conftest.$ac_ext
106573 cat >>conftest.$ac_ext <<_ACEOF
106574 /* end confdefs.h. */
106575 $ac_includes_default
106577 main ()
106579 if ((short *) 0)
106580 return 0;
106581 if (sizeof (short))
106582 return 0;
106584 return 0;
106586 _ACEOF
106587 rm -f conftest.$ac_objext
106588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106589 (eval $ac_compile) 2>conftest.er1
106590 ac_status=$?
106591 grep -v '^ *+' conftest.er1 >conftest.err
106592 rm -f conftest.er1
106593 cat conftest.err >&5
106594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106595 (exit $ac_status); } &&
106596 { ac_try='test -z "$ac_c_werror_flag"
106597 || test ! -s conftest.err'
106598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106599 (eval $ac_try) 2>&5
106600 ac_status=$?
106601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106602 (exit $ac_status); }; } &&
106603 { ac_try='test -s conftest.$ac_objext'
106604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106605 (eval $ac_try) 2>&5
106606 ac_status=$?
106607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106608 (exit $ac_status); }; }; then
106609 ac_cv_type_short=yes
106611 echo "$as_me: failed program was:" >&5
106612 sed 's/^/| /' conftest.$ac_ext >&5
106614 ac_cv_type_short=no
106616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106618 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
106619 echo "${ECHO_T}$ac_cv_type_short" >&6
106621 echo "$as_me:$LINENO: checking size of short" >&5
106622 echo $ECHO_N "checking size of short... $ECHO_C" >&6
106623 if test "${ac_cv_sizeof_short+set}" = set; then
106624 echo $ECHO_N "(cached) $ECHO_C" >&6
106626 if test "$ac_cv_type_short" = yes; then
106627 # The cast to unsigned long works around a bug in the HP C Compiler
106628 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
106629 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
106630 # This bug is HP SR number 8606223364.
106631 if test "$cross_compiling" = yes; then
106632 # Depending upon the size, compute the lo and hi bounds.
106633 cat >conftest.$ac_ext <<_ACEOF
106634 /* confdefs.h. */
106635 _ACEOF
106636 cat confdefs.h >>conftest.$ac_ext
106637 cat >>conftest.$ac_ext <<_ACEOF
106638 /* end confdefs.h. */
106639 $ac_includes_default
106641 main ()
106643 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
106644 test_array [0] = 0
106647 return 0;
106649 _ACEOF
106650 rm -f conftest.$ac_objext
106651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106652 (eval $ac_compile) 2>conftest.er1
106653 ac_status=$?
106654 grep -v '^ *+' conftest.er1 >conftest.err
106655 rm -f conftest.er1
106656 cat conftest.err >&5
106657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106658 (exit $ac_status); } &&
106659 { ac_try='test -z "$ac_c_werror_flag"
106660 || test ! -s conftest.err'
106661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106662 (eval $ac_try) 2>&5
106663 ac_status=$?
106664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106665 (exit $ac_status); }; } &&
106666 { ac_try='test -s conftest.$ac_objext'
106667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106668 (eval $ac_try) 2>&5
106669 ac_status=$?
106670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106671 (exit $ac_status); }; }; then
106672 ac_lo=0 ac_mid=0
106673 while :; do
106674 cat >conftest.$ac_ext <<_ACEOF
106675 /* confdefs.h. */
106676 _ACEOF
106677 cat confdefs.h >>conftest.$ac_ext
106678 cat >>conftest.$ac_ext <<_ACEOF
106679 /* end confdefs.h. */
106680 $ac_includes_default
106682 main ()
106684 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
106685 test_array [0] = 0
106688 return 0;
106690 _ACEOF
106691 rm -f conftest.$ac_objext
106692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106693 (eval $ac_compile) 2>conftest.er1
106694 ac_status=$?
106695 grep -v '^ *+' conftest.er1 >conftest.err
106696 rm -f conftest.er1
106697 cat conftest.err >&5
106698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106699 (exit $ac_status); } &&
106700 { ac_try='test -z "$ac_c_werror_flag"
106701 || test ! -s conftest.err'
106702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106703 (eval $ac_try) 2>&5
106704 ac_status=$?
106705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106706 (exit $ac_status); }; } &&
106707 { ac_try='test -s conftest.$ac_objext'
106708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106709 (eval $ac_try) 2>&5
106710 ac_status=$?
106711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106712 (exit $ac_status); }; }; then
106713 ac_hi=$ac_mid; break
106715 echo "$as_me: failed program was:" >&5
106716 sed 's/^/| /' conftest.$ac_ext >&5
106718 ac_lo=`expr $ac_mid + 1`
106719 if test $ac_lo -le $ac_mid; then
106720 ac_lo= ac_hi=
106721 break
106723 ac_mid=`expr 2 '*' $ac_mid + 1`
106725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106728 echo "$as_me: failed program was:" >&5
106729 sed 's/^/| /' conftest.$ac_ext >&5
106731 cat >conftest.$ac_ext <<_ACEOF
106732 /* confdefs.h. */
106733 _ACEOF
106734 cat confdefs.h >>conftest.$ac_ext
106735 cat >>conftest.$ac_ext <<_ACEOF
106736 /* end confdefs.h. */
106737 $ac_includes_default
106739 main ()
106741 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
106742 test_array [0] = 0
106745 return 0;
106747 _ACEOF
106748 rm -f conftest.$ac_objext
106749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106750 (eval $ac_compile) 2>conftest.er1
106751 ac_status=$?
106752 grep -v '^ *+' conftest.er1 >conftest.err
106753 rm -f conftest.er1
106754 cat conftest.err >&5
106755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106756 (exit $ac_status); } &&
106757 { ac_try='test -z "$ac_c_werror_flag"
106758 || test ! -s conftest.err'
106759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106760 (eval $ac_try) 2>&5
106761 ac_status=$?
106762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106763 (exit $ac_status); }; } &&
106764 { ac_try='test -s conftest.$ac_objext'
106765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106766 (eval $ac_try) 2>&5
106767 ac_status=$?
106768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106769 (exit $ac_status); }; }; then
106770 ac_hi=-1 ac_mid=-1
106771 while :; do
106772 cat >conftest.$ac_ext <<_ACEOF
106773 /* confdefs.h. */
106774 _ACEOF
106775 cat confdefs.h >>conftest.$ac_ext
106776 cat >>conftest.$ac_ext <<_ACEOF
106777 /* end confdefs.h. */
106778 $ac_includes_default
106780 main ()
106782 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
106783 test_array [0] = 0
106786 return 0;
106788 _ACEOF
106789 rm -f conftest.$ac_objext
106790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106791 (eval $ac_compile) 2>conftest.er1
106792 ac_status=$?
106793 grep -v '^ *+' conftest.er1 >conftest.err
106794 rm -f conftest.er1
106795 cat conftest.err >&5
106796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106797 (exit $ac_status); } &&
106798 { ac_try='test -z "$ac_c_werror_flag"
106799 || test ! -s conftest.err'
106800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106801 (eval $ac_try) 2>&5
106802 ac_status=$?
106803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106804 (exit $ac_status); }; } &&
106805 { ac_try='test -s conftest.$ac_objext'
106806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106807 (eval $ac_try) 2>&5
106808 ac_status=$?
106809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106810 (exit $ac_status); }; }; then
106811 ac_lo=$ac_mid; break
106813 echo "$as_me: failed program was:" >&5
106814 sed 's/^/| /' conftest.$ac_ext >&5
106816 ac_hi=`expr '(' $ac_mid ')' - 1`
106817 if test $ac_mid -le $ac_hi; then
106818 ac_lo= ac_hi=
106819 break
106821 ac_mid=`expr 2 '*' $ac_mid`
106823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106826 echo "$as_me: failed program was:" >&5
106827 sed 's/^/| /' conftest.$ac_ext >&5
106829 ac_lo= ac_hi=
106831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106834 # Binary search between lo and hi bounds.
106835 while test "x$ac_lo" != "x$ac_hi"; do
106836 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
106837 cat >conftest.$ac_ext <<_ACEOF
106838 /* confdefs.h. */
106839 _ACEOF
106840 cat confdefs.h >>conftest.$ac_ext
106841 cat >>conftest.$ac_ext <<_ACEOF
106842 /* end confdefs.h. */
106843 $ac_includes_default
106845 main ()
106847 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
106848 test_array [0] = 0
106851 return 0;
106853 _ACEOF
106854 rm -f conftest.$ac_objext
106855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106856 (eval $ac_compile) 2>conftest.er1
106857 ac_status=$?
106858 grep -v '^ *+' conftest.er1 >conftest.err
106859 rm -f conftest.er1
106860 cat conftest.err >&5
106861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106862 (exit $ac_status); } &&
106863 { ac_try='test -z "$ac_c_werror_flag"
106864 || test ! -s conftest.err'
106865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106866 (eval $ac_try) 2>&5
106867 ac_status=$?
106868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106869 (exit $ac_status); }; } &&
106870 { ac_try='test -s conftest.$ac_objext'
106871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106872 (eval $ac_try) 2>&5
106873 ac_status=$?
106874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106875 (exit $ac_status); }; }; then
106876 ac_hi=$ac_mid
106878 echo "$as_me: failed program was:" >&5
106879 sed 's/^/| /' conftest.$ac_ext >&5
106881 ac_lo=`expr '(' $ac_mid ')' + 1`
106883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106885 case $ac_lo in
106886 ?*) ac_cv_sizeof_short=$ac_lo;;
106887 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106888 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106889 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
106890 See \`config.log' for more details." >&5
106891 echo "$as_me: error: cannot compute sizeof (short), 77
106892 See \`config.log' for more details." >&2;}
106893 { (exit 1); exit 1; }; }; } ;;
106896 if test "$cross_compiling" = yes; then
106897 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106898 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106899 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
106900 See \`config.log' for more details." >&5
106901 echo "$as_me: error: cannot run test program while cross compiling
106902 See \`config.log' for more details." >&2;}
106903 { (exit 1); exit 1; }; }; }
106905 cat >conftest.$ac_ext <<_ACEOF
106906 /* confdefs.h. */
106907 _ACEOF
106908 cat confdefs.h >>conftest.$ac_ext
106909 cat >>conftest.$ac_ext <<_ACEOF
106910 /* end confdefs.h. */
106911 $ac_includes_default
106912 long longval () { return (long) (sizeof (short)); }
106913 unsigned long ulongval () { return (long) (sizeof (short)); }
106914 #include <stdio.h>
106915 #include <stdlib.h>
106917 main ()
106920 FILE *f = fopen ("conftest.val", "w");
106921 if (! f)
106922 exit (1);
106923 if (((long) (sizeof (short))) < 0)
106925 long i = longval ();
106926 if (i != ((long) (sizeof (short))))
106927 exit (1);
106928 fprintf (f, "%ld\n", i);
106932 unsigned long i = ulongval ();
106933 if (i != ((long) (sizeof (short))))
106934 exit (1);
106935 fprintf (f, "%lu\n", i);
106937 exit (ferror (f) || fclose (f) != 0);
106940 return 0;
106942 _ACEOF
106943 rm -f conftest$ac_exeext
106944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106945 (eval $ac_link) 2>&5
106946 ac_status=$?
106947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106948 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
106949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106950 (eval $ac_try) 2>&5
106951 ac_status=$?
106952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106953 (exit $ac_status); }; }; then
106954 ac_cv_sizeof_short=`cat conftest.val`
106956 echo "$as_me: program exited with status $ac_status" >&5
106957 echo "$as_me: failed program was:" >&5
106958 sed 's/^/| /' conftest.$ac_ext >&5
106960 ( exit $ac_status )
106961 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106962 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106963 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
106964 See \`config.log' for more details." >&5
106965 echo "$as_me: error: cannot compute sizeof (short), 77
106966 See \`config.log' for more details." >&2;}
106967 { (exit 1); exit 1; }; }; }
106969 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
106972 rm -f conftest.val
106974 ac_cv_sizeof_short=0
106977 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
106978 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
106979 cat >>confdefs.h <<_ACEOF
106980 #define SIZEOF_SHORT $ac_cv_sizeof_short
106981 _ACEOF
106984 echo "$as_me:$LINENO: checking for char" >&5
106985 echo $ECHO_N "checking for char... $ECHO_C" >&6
106986 if test "${ac_cv_type_char+set}" = set; then
106987 echo $ECHO_N "(cached) $ECHO_C" >&6
106989 cat >conftest.$ac_ext <<_ACEOF
106990 /* confdefs.h. */
106991 _ACEOF
106992 cat confdefs.h >>conftest.$ac_ext
106993 cat >>conftest.$ac_ext <<_ACEOF
106994 /* end confdefs.h. */
106995 $ac_includes_default
106997 main ()
106999 if ((char *) 0)
107000 return 0;
107001 if (sizeof (char))
107002 return 0;
107004 return 0;
107006 _ACEOF
107007 rm -f conftest.$ac_objext
107008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107009 (eval $ac_compile) 2>conftest.er1
107010 ac_status=$?
107011 grep -v '^ *+' conftest.er1 >conftest.err
107012 rm -f conftest.er1
107013 cat conftest.err >&5
107014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107015 (exit $ac_status); } &&
107016 { ac_try='test -z "$ac_c_werror_flag"
107017 || test ! -s conftest.err'
107018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107019 (eval $ac_try) 2>&5
107020 ac_status=$?
107021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107022 (exit $ac_status); }; } &&
107023 { ac_try='test -s conftest.$ac_objext'
107024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107025 (eval $ac_try) 2>&5
107026 ac_status=$?
107027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107028 (exit $ac_status); }; }; then
107029 ac_cv_type_char=yes
107031 echo "$as_me: failed program was:" >&5
107032 sed 's/^/| /' conftest.$ac_ext >&5
107034 ac_cv_type_char=no
107036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107038 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
107039 echo "${ECHO_T}$ac_cv_type_char" >&6
107041 echo "$as_me:$LINENO: checking size of char" >&5
107042 echo $ECHO_N "checking size of char... $ECHO_C" >&6
107043 if test "${ac_cv_sizeof_char+set}" = set; then
107044 echo $ECHO_N "(cached) $ECHO_C" >&6
107046 if test "$ac_cv_type_char" = yes; then
107047 # The cast to unsigned long works around a bug in the HP C Compiler
107048 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
107049 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
107050 # This bug is HP SR number 8606223364.
107051 if test "$cross_compiling" = yes; then
107052 # Depending upon the size, compute the lo and hi bounds.
107053 cat >conftest.$ac_ext <<_ACEOF
107054 /* confdefs.h. */
107055 _ACEOF
107056 cat confdefs.h >>conftest.$ac_ext
107057 cat >>conftest.$ac_ext <<_ACEOF
107058 /* end confdefs.h. */
107059 $ac_includes_default
107061 main ()
107063 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
107064 test_array [0] = 0
107067 return 0;
107069 _ACEOF
107070 rm -f conftest.$ac_objext
107071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107072 (eval $ac_compile) 2>conftest.er1
107073 ac_status=$?
107074 grep -v '^ *+' conftest.er1 >conftest.err
107075 rm -f conftest.er1
107076 cat conftest.err >&5
107077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107078 (exit $ac_status); } &&
107079 { ac_try='test -z "$ac_c_werror_flag"
107080 || test ! -s conftest.err'
107081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107082 (eval $ac_try) 2>&5
107083 ac_status=$?
107084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107085 (exit $ac_status); }; } &&
107086 { ac_try='test -s conftest.$ac_objext'
107087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107088 (eval $ac_try) 2>&5
107089 ac_status=$?
107090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107091 (exit $ac_status); }; }; then
107092 ac_lo=0 ac_mid=0
107093 while :; do
107094 cat >conftest.$ac_ext <<_ACEOF
107095 /* confdefs.h. */
107096 _ACEOF
107097 cat confdefs.h >>conftest.$ac_ext
107098 cat >>conftest.$ac_ext <<_ACEOF
107099 /* end confdefs.h. */
107100 $ac_includes_default
107102 main ()
107104 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
107105 test_array [0] = 0
107108 return 0;
107110 _ACEOF
107111 rm -f conftest.$ac_objext
107112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107113 (eval $ac_compile) 2>conftest.er1
107114 ac_status=$?
107115 grep -v '^ *+' conftest.er1 >conftest.err
107116 rm -f conftest.er1
107117 cat conftest.err >&5
107118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107119 (exit $ac_status); } &&
107120 { ac_try='test -z "$ac_c_werror_flag"
107121 || test ! -s conftest.err'
107122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107123 (eval $ac_try) 2>&5
107124 ac_status=$?
107125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107126 (exit $ac_status); }; } &&
107127 { ac_try='test -s conftest.$ac_objext'
107128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107129 (eval $ac_try) 2>&5
107130 ac_status=$?
107131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107132 (exit $ac_status); }; }; then
107133 ac_hi=$ac_mid; break
107135 echo "$as_me: failed program was:" >&5
107136 sed 's/^/| /' conftest.$ac_ext >&5
107138 ac_lo=`expr $ac_mid + 1`
107139 if test $ac_lo -le $ac_mid; then
107140 ac_lo= ac_hi=
107141 break
107143 ac_mid=`expr 2 '*' $ac_mid + 1`
107145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107148 echo "$as_me: failed program was:" >&5
107149 sed 's/^/| /' conftest.$ac_ext >&5
107151 cat >conftest.$ac_ext <<_ACEOF
107152 /* confdefs.h. */
107153 _ACEOF
107154 cat confdefs.h >>conftest.$ac_ext
107155 cat >>conftest.$ac_ext <<_ACEOF
107156 /* end confdefs.h. */
107157 $ac_includes_default
107159 main ()
107161 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
107162 test_array [0] = 0
107165 return 0;
107167 _ACEOF
107168 rm -f conftest.$ac_objext
107169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107170 (eval $ac_compile) 2>conftest.er1
107171 ac_status=$?
107172 grep -v '^ *+' conftest.er1 >conftest.err
107173 rm -f conftest.er1
107174 cat conftest.err >&5
107175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107176 (exit $ac_status); } &&
107177 { ac_try='test -z "$ac_c_werror_flag"
107178 || test ! -s conftest.err'
107179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107180 (eval $ac_try) 2>&5
107181 ac_status=$?
107182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107183 (exit $ac_status); }; } &&
107184 { ac_try='test -s conftest.$ac_objext'
107185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107186 (eval $ac_try) 2>&5
107187 ac_status=$?
107188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107189 (exit $ac_status); }; }; then
107190 ac_hi=-1 ac_mid=-1
107191 while :; do
107192 cat >conftest.$ac_ext <<_ACEOF
107193 /* confdefs.h. */
107194 _ACEOF
107195 cat confdefs.h >>conftest.$ac_ext
107196 cat >>conftest.$ac_ext <<_ACEOF
107197 /* end confdefs.h. */
107198 $ac_includes_default
107200 main ()
107202 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
107203 test_array [0] = 0
107206 return 0;
107208 _ACEOF
107209 rm -f conftest.$ac_objext
107210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107211 (eval $ac_compile) 2>conftest.er1
107212 ac_status=$?
107213 grep -v '^ *+' conftest.er1 >conftest.err
107214 rm -f conftest.er1
107215 cat conftest.err >&5
107216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107217 (exit $ac_status); } &&
107218 { ac_try='test -z "$ac_c_werror_flag"
107219 || test ! -s conftest.err'
107220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107221 (eval $ac_try) 2>&5
107222 ac_status=$?
107223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107224 (exit $ac_status); }; } &&
107225 { ac_try='test -s conftest.$ac_objext'
107226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107227 (eval $ac_try) 2>&5
107228 ac_status=$?
107229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107230 (exit $ac_status); }; }; then
107231 ac_lo=$ac_mid; break
107233 echo "$as_me: failed program was:" >&5
107234 sed 's/^/| /' conftest.$ac_ext >&5
107236 ac_hi=`expr '(' $ac_mid ')' - 1`
107237 if test $ac_mid -le $ac_hi; then
107238 ac_lo= ac_hi=
107239 break
107241 ac_mid=`expr 2 '*' $ac_mid`
107243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107246 echo "$as_me: failed program was:" >&5
107247 sed 's/^/| /' conftest.$ac_ext >&5
107249 ac_lo= ac_hi=
107251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107254 # Binary search between lo and hi bounds.
107255 while test "x$ac_lo" != "x$ac_hi"; do
107256 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
107257 cat >conftest.$ac_ext <<_ACEOF
107258 /* confdefs.h. */
107259 _ACEOF
107260 cat confdefs.h >>conftest.$ac_ext
107261 cat >>conftest.$ac_ext <<_ACEOF
107262 /* end confdefs.h. */
107263 $ac_includes_default
107265 main ()
107267 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
107268 test_array [0] = 0
107271 return 0;
107273 _ACEOF
107274 rm -f conftest.$ac_objext
107275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107276 (eval $ac_compile) 2>conftest.er1
107277 ac_status=$?
107278 grep -v '^ *+' conftest.er1 >conftest.err
107279 rm -f conftest.er1
107280 cat conftest.err >&5
107281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107282 (exit $ac_status); } &&
107283 { ac_try='test -z "$ac_c_werror_flag"
107284 || test ! -s conftest.err'
107285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107286 (eval $ac_try) 2>&5
107287 ac_status=$?
107288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107289 (exit $ac_status); }; } &&
107290 { ac_try='test -s conftest.$ac_objext'
107291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107292 (eval $ac_try) 2>&5
107293 ac_status=$?
107294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107295 (exit $ac_status); }; }; then
107296 ac_hi=$ac_mid
107298 echo "$as_me: failed program was:" >&5
107299 sed 's/^/| /' conftest.$ac_ext >&5
107301 ac_lo=`expr '(' $ac_mid ')' + 1`
107303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107305 case $ac_lo in
107306 ?*) ac_cv_sizeof_char=$ac_lo;;
107307 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
107308 echo "$as_me: error: in \`$ac_pwd':" >&2;}
107309 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
107310 See \`config.log' for more details." >&5
107311 echo "$as_me: error: cannot compute sizeof (char), 77
107312 See \`config.log' for more details." >&2;}
107313 { (exit 1); exit 1; }; }; } ;;
107316 if test "$cross_compiling" = yes; then
107317 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
107318 echo "$as_me: error: in \`$ac_pwd':" >&2;}
107319 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
107320 See \`config.log' for more details." >&5
107321 echo "$as_me: error: cannot run test program while cross compiling
107322 See \`config.log' for more details." >&2;}
107323 { (exit 1); exit 1; }; }; }
107325 cat >conftest.$ac_ext <<_ACEOF
107326 /* confdefs.h. */
107327 _ACEOF
107328 cat confdefs.h >>conftest.$ac_ext
107329 cat >>conftest.$ac_ext <<_ACEOF
107330 /* end confdefs.h. */
107331 $ac_includes_default
107332 long longval () { return (long) (sizeof (char)); }
107333 unsigned long ulongval () { return (long) (sizeof (char)); }
107334 #include <stdio.h>
107335 #include <stdlib.h>
107337 main ()
107340 FILE *f = fopen ("conftest.val", "w");
107341 if (! f)
107342 exit (1);
107343 if (((long) (sizeof (char))) < 0)
107345 long i = longval ();
107346 if (i != ((long) (sizeof (char))))
107347 exit (1);
107348 fprintf (f, "%ld\n", i);
107352 unsigned long i = ulongval ();
107353 if (i != ((long) (sizeof (char))))
107354 exit (1);
107355 fprintf (f, "%lu\n", i);
107357 exit (ferror (f) || fclose (f) != 0);
107360 return 0;
107362 _ACEOF
107363 rm -f conftest$ac_exeext
107364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107365 (eval $ac_link) 2>&5
107366 ac_status=$?
107367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107368 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
107369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107370 (eval $ac_try) 2>&5
107371 ac_status=$?
107372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107373 (exit $ac_status); }; }; then
107374 ac_cv_sizeof_char=`cat conftest.val`
107376 echo "$as_me: program exited with status $ac_status" >&5
107377 echo "$as_me: failed program was:" >&5
107378 sed 's/^/| /' conftest.$ac_ext >&5
107380 ( exit $ac_status )
107381 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
107382 echo "$as_me: error: in \`$ac_pwd':" >&2;}
107383 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
107384 See \`config.log' for more details." >&5
107385 echo "$as_me: error: cannot compute sizeof (char), 77
107386 See \`config.log' for more details." >&2;}
107387 { (exit 1); exit 1; }; }; }
107389 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
107392 rm -f conftest.val
107394 ac_cv_sizeof_char=0
107397 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
107398 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
107399 cat >>confdefs.h <<_ACEOF
107400 #define SIZEOF_CHAR $ac_cv_sizeof_char
107401 _ACEOF
107405 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
107406 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
107407 case "$ac_cv_sizeof_char" in
107408 1) acx_cv_type_int8_t=char ;;
107409 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
107410 echo "$as_me: error: no 8-bit type" >&2;}
107411 { (exit please report a bug); exit please report a bug; }; }
107413 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
107414 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
107416 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
107417 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
107418 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
107419 2:*) acx_cv_type_int16_t=int ;;
107420 *:2) acx_cv_type_int16_t=short ;;
107421 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
107422 echo "$as_me: error: no 16-bit type" >&2;}
107423 { (exit please report a bug); exit please report a bug; }; }
107425 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
107426 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
107428 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
107429 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
107430 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
107431 4:*) acx_cv_type_int32_t=int ;;
107432 *:4) acx_cv_type_int32_t=long ;;
107433 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
107434 echo "$as_me: error: no 32-bit type" >&2;}
107435 { (exit please report a bug); exit please report a bug; }; }
107437 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
107438 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
107441 # These tests are here to make the output prettier
107443 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
107444 case "$ac_cv_sizeof_long" in
107445 8) acx_cv_type_int64_t=long ;;
107447 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
107448 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
107449 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
107450 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
107453 # Now we can use the above types
107455 if test "$ac_cv_type_uintptr_t" != yes; then
107456 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
107457 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
107458 case $ac_cv_sizeof_void_p in
107459 2) acx_cv_type_intptr_t=int16_t ;;
107460 4) acx_cv_type_intptr_t=int32_t ;;
107461 8) acx_cv_type_intptr_t=int64_t ;;
107462 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
107463 echo "$as_me: error: no equivalent for intptr_t" >&2;}
107464 { (exit please report a bug); exit please report a bug; }; }
107466 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
107467 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
107470 # ----------------- done all checks, emit header -------------
107471 ac_config_commands="$ac_config_commands include/gstdint.h"
107476 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
107479 # Check whether --enable-symvers or --disable-symvers was given.
107480 if test "${enable_symvers+set}" = set; then
107481 enableval="$enable_symvers"
107483 case "$enableval" in
107484 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
107485 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
107486 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
107487 { (exit 1); exit 1; }; } ;;
107491 enable_symvers=yes
107495 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
107496 # don't know enough about $LD to do tricks...
107499 # Turn a 'yes' into a suitable default.
107500 if test x$enable_symvers = xyes ; then
107501 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
107502 enable_symvers=no
107504 if test $with_gnu_ld = yes ; then
107505 case ${target_os} in
107506 cygwin* | pe | mingw32*)
107507 enable_symvers=no ;;
107509 enable_symvers=gnu ;;
107512 case ${target_os} in
107513 darwin*)
107514 enable_symvers=darwin ;;
107516 enable_symvers=no ;;
107522 # Check to see if 'darwin' or 'darwin-export' can win.
107523 if test x$enable_symvers = xdarwin-export ; then
107524 enable_symvers=darwin
107527 # Check to see if 'gnu' can win.
107528 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
107529 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
107530 echo "$as_me:$LINENO: checking for shared libgcc" >&5
107531 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
107532 ac_save_CFLAGS="$CFLAGS"
107533 CFLAGS=' -lgcc_s'
107534 if test x$gcc_no_link = xyes; then
107535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107537 { (exit 1); exit 1; }; }
107539 cat >conftest.$ac_ext <<_ACEOF
107540 /* confdefs.h. */
107541 _ACEOF
107542 cat confdefs.h >>conftest.$ac_ext
107543 cat >>conftest.$ac_ext <<_ACEOF
107544 /* end confdefs.h. */
107547 main ()
107549 return 0;
107551 return 0;
107553 _ACEOF
107554 rm -f conftest.$ac_objext conftest$ac_exeext
107555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107556 (eval $ac_link) 2>conftest.er1
107557 ac_status=$?
107558 grep -v '^ *+' conftest.er1 >conftest.err
107559 rm -f conftest.er1
107560 cat conftest.err >&5
107561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107562 (exit $ac_status); } &&
107563 { ac_try='test -z "$ac_c_werror_flag"
107564 || test ! -s conftest.err'
107565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107566 (eval $ac_try) 2>&5
107567 ac_status=$?
107568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107569 (exit $ac_status); }; } &&
107570 { ac_try='test -s conftest$ac_exeext'
107571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107572 (eval $ac_try) 2>&5
107573 ac_status=$?
107574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107575 (exit $ac_status); }; }; then
107576 glibcxx_shared_libgcc=yes
107578 echo "$as_me: failed program was:" >&5
107579 sed 's/^/| /' conftest.$ac_ext >&5
107581 glibcxx_shared_libgcc=no
107583 rm -f conftest.err conftest.$ac_objext \
107584 conftest$ac_exeext conftest.$ac_ext
107585 CFLAGS="$ac_save_CFLAGS"
107586 if test $glibcxx_shared_libgcc = no; then
107587 cat > conftest.c <<EOF
107588 int main (void) { return 0; }
107590 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
107591 -shared -shared-libgcc -o conftest.so \
107592 conftest.c -v 2>&1 >/dev/null \
107593 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
107594 rm -f conftest.c conftest.so
107595 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
107596 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
107597 if test x$gcc_no_link = xyes; then
107598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107600 { (exit 1); exit 1; }; }
107602 cat >conftest.$ac_ext <<_ACEOF
107603 /* confdefs.h. */
107604 _ACEOF
107605 cat confdefs.h >>conftest.$ac_ext
107606 cat >>conftest.$ac_ext <<_ACEOF
107607 /* end confdefs.h. */
107610 main ()
107612 return 0;
107614 return 0;
107616 _ACEOF
107617 rm -f conftest.$ac_objext conftest$ac_exeext
107618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107619 (eval $ac_link) 2>conftest.er1
107620 ac_status=$?
107621 grep -v '^ *+' conftest.er1 >conftest.err
107622 rm -f conftest.er1
107623 cat conftest.err >&5
107624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107625 (exit $ac_status); } &&
107626 { ac_try='test -z "$ac_c_werror_flag"
107627 || test ! -s conftest.err'
107628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107629 (eval $ac_try) 2>&5
107630 ac_status=$?
107631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107632 (exit $ac_status); }; } &&
107633 { ac_try='test -s conftest$ac_exeext'
107634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107635 (eval $ac_try) 2>&5
107636 ac_status=$?
107637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107638 (exit $ac_status); }; }; then
107639 glibcxx_shared_libgcc=yes
107641 echo "$as_me: failed program was:" >&5
107642 sed 's/^/| /' conftest.$ac_ext >&5
107645 rm -f conftest.err conftest.$ac_objext \
107646 conftest$ac_exeext conftest.$ac_ext
107647 CFLAGS="$ac_save_CFLAGS"
107650 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
107651 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
107653 # For GNU ld, we need at least this version. The format is described in
107654 # GLIBCXX_CHECK_LINKER_FEATURES above.
107655 glibcxx_min_gnu_ld_version=21400
107657 # If no shared libgcc, can't win.
107658 if test $glibcxx_shared_libgcc != yes; then
107659 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
107660 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
107661 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
107662 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
107663 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
107664 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
107665 enable_symvers=no
107666 elif test $with_gnu_ld != yes ; then
107667 # just fail for now
107668 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
107669 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
107670 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
107671 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
107672 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
107673 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
107674 enable_symvers=no
107675 elif test $glibcxx_ld_is_gold = yes ; then
107676 : All versions of gold support symbol versioning.
107677 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
107678 # The right tools, the right setup, but too old. Fallbacks?
107679 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
107680 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
107681 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
107682 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
107683 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
107684 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
107685 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
107686 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
107687 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
107688 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
107689 enable_symvers=no
107693 # Everything parsed; figure out what file to use.
107694 case $enable_symvers in
107696 SYMVER_FILE=config/abi/pre/none.ver
107699 SYMVER_FILE=config/abi/pre/gnu.ver
107701 cat >>confdefs.h <<\_ACEOF
107702 #define _GLIBCXX_SYMVER_GNU 1
107703 _ACEOF
107706 gnu-versioned-namespace)
107707 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
107709 cat >>confdefs.h <<\_ACEOF
107710 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
107711 _ACEOF
107714 darwin)
107715 SYMVER_FILE=config/abi/pre/gnu.ver
107717 cat >>confdefs.h <<\_ACEOF
107718 #define _GLIBCXX_SYMVER_DARWIN 1
107719 _ACEOF
107724 if test x$enable_symvers != xno ; then
107726 cat >>confdefs.h <<\_ACEOF
107727 #define _GLIBCXX_SYMVER 1
107728 _ACEOF
107738 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
107739 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
107741 # Now, set up compatibility support, if any.
107742 # In addition, need this to deal with std::size_t mangling in
107743 # src/compatibility.cc. In a perfect world, could use
107744 # typeid(std::size_t).name()[0] to do direct substitution.
107745 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
107746 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
107747 ac_save_CFLAGS="$CFLAGS"
107748 CFLAGS="-Werror"
107749 cat >conftest.$ac_ext <<_ACEOF
107750 /* confdefs.h. */
107751 _ACEOF
107752 cat confdefs.h >>conftest.$ac_ext
107753 cat >>conftest.$ac_ext <<_ACEOF
107754 /* end confdefs.h. */
107757 main ()
107759 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
107761 return 0;
107763 _ACEOF
107764 rm -f conftest.$ac_objext
107765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107766 (eval $ac_compile) 2>conftest.er1
107767 ac_status=$?
107768 grep -v '^ *+' conftest.er1 >conftest.err
107769 rm -f conftest.er1
107770 cat conftest.err >&5
107771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107772 (exit $ac_status); } &&
107773 { ac_try='test -z "$ac_c_werror_flag"
107774 || test ! -s conftest.err'
107775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107776 (eval $ac_try) 2>&5
107777 ac_status=$?
107778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107779 (exit $ac_status); }; } &&
107780 { ac_try='test -s conftest.$ac_objext'
107781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107782 (eval $ac_try) 2>&5
107783 ac_status=$?
107784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107785 (exit $ac_status); }; }; then
107786 glibcxx_size_t_is_i=yes
107788 echo "$as_me: failed program was:" >&5
107789 sed 's/^/| /' conftest.$ac_ext >&5
107791 glibcxx_size_t_is_i=no
107793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107794 CFLAGS=$ac_save_CFLAGS
107795 if test "$glibcxx_size_t_is_i" = yes; then
107797 cat >>confdefs.h <<\_ACEOF
107798 #define _GLIBCXX_SIZE_T_IS_UINT 1
107799 _ACEOF
107802 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
107803 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
107805 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
107806 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
107807 ac_save_CFLAGS="$CFLAGS"
107808 CFLAGS="-Werror"
107809 cat >conftest.$ac_ext <<_ACEOF
107810 /* confdefs.h. */
107811 _ACEOF
107812 cat confdefs.h >>conftest.$ac_ext
107813 cat >>conftest.$ac_ext <<_ACEOF
107814 /* end confdefs.h. */
107817 main ()
107819 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
107821 return 0;
107823 _ACEOF
107824 rm -f conftest.$ac_objext
107825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107826 (eval $ac_compile) 2>conftest.er1
107827 ac_status=$?
107828 grep -v '^ *+' conftest.er1 >conftest.err
107829 rm -f conftest.er1
107830 cat conftest.err >&5
107831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107832 (exit $ac_status); } &&
107833 { ac_try='test -z "$ac_c_werror_flag"
107834 || test ! -s conftest.err'
107835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107836 (eval $ac_try) 2>&5
107837 ac_status=$?
107838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107839 (exit $ac_status); }; } &&
107840 { ac_try='test -s conftest.$ac_objext'
107841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107842 (eval $ac_try) 2>&5
107843 ac_status=$?
107844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107845 (exit $ac_status); }; }; then
107846 glibcxx_ptrdiff_t_is_i=yes
107848 echo "$as_me: failed program was:" >&5
107849 sed 's/^/| /' conftest.$ac_ext >&5
107851 glibcxx_ptrdiff_t_is_i=no
107853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107854 CFLAGS=$ac_save_CFLAGS
107855 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
107857 cat >>confdefs.h <<\_ACEOF
107858 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
107859 _ACEOF
107862 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
107863 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
107866 # Check whether --enable-visibility or --disable-visibility was given.
107867 if test "${enable_visibility+set}" = set; then
107868 enableval="$enable_visibility"
107870 case "$enableval" in
107871 yes|no) ;;
107872 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
107873 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
107874 { (exit 1); exit 1; }; } ;;
107878 enable_visibility=yes
107882 if test x$enable_visibility = xyes ; then
107883 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
107884 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
107885 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then
107886 echo $ECHO_N "(cached) $ECHO_C" >&6
107889 save_CFLAGS="$CFLAGS"
107890 CFLAGS="$CFLAGS -Werror"
107891 cat >conftest.$ac_ext <<_ACEOF
107892 /* confdefs.h. */
107893 _ACEOF
107894 cat confdefs.h >>conftest.$ac_ext
107895 cat >>conftest.$ac_ext <<_ACEOF
107896 /* end confdefs.h. */
107897 void __attribute__((visibility("hidden"))) foo(void) { }
107899 main ()
107903 return 0;
107905 _ACEOF
107906 rm -f conftest.$ac_objext
107907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107908 (eval $ac_compile) 2>conftest.er1
107909 ac_status=$?
107910 grep -v '^ *+' conftest.er1 >conftest.err
107911 rm -f conftest.er1
107912 cat conftest.err >&5
107913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107914 (exit $ac_status); } &&
107915 { ac_try='test -z "$ac_c_werror_flag"
107916 || test ! -s conftest.err'
107917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107918 (eval $ac_try) 2>&5
107919 ac_status=$?
107920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107921 (exit $ac_status); }; } &&
107922 { ac_try='test -s conftest.$ac_objext'
107923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107924 (eval $ac_try) 2>&5
107925 ac_status=$?
107926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107927 (exit $ac_status); }; }; then
107928 glibcxx_cv_have_attribute_visibility=yes
107930 echo "$as_me: failed program was:" >&5
107931 sed 's/^/| /' conftest.$ac_ext >&5
107933 glibcxx_cv_have_attribute_visibility=no
107935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107936 CFLAGS="$save_CFLAGS"
107938 echo "$as_me:$LINENO: result: $glibcxx_cv_have_attribute_visibility" >&5
107939 echo "${ECHO_T}$glibcxx_cv_have_attribute_visibility" >&6
107940 if test $glibcxx_cv_have_attribute_visibility = no; then
107941 enable_visibility=no
107946 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
107947 echo "$as_me: visibility supported: $enable_visibility" >&6;}
107950 ac_ldbl_compat=no
107951 case "$target" in
107952 powerpc*-*-linux* | \
107953 powerpc*-*-gnu* | \
107954 sparc*-*-linux* | \
107955 s390*-*-linux* | \
107956 alpha*-*-linux*)
107957 cat >conftest.$ac_ext <<_ACEOF
107958 /* confdefs.h. */
107959 _ACEOF
107960 cat confdefs.h >>conftest.$ac_ext
107961 cat >>conftest.$ac_ext <<_ACEOF
107962 /* end confdefs.h. */
107965 main ()
107968 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
107969 #error no need for long double compatibility
107970 #endif
107973 return 0;
107975 _ACEOF
107976 rm -f conftest.$ac_objext
107977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107978 (eval $ac_compile) 2>conftest.er1
107979 ac_status=$?
107980 grep -v '^ *+' conftest.er1 >conftest.err
107981 rm -f conftest.er1
107982 cat conftest.err >&5
107983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107984 (exit $ac_status); } &&
107985 { ac_try='test -z "$ac_c_werror_flag"
107986 || test ! -s conftest.err'
107987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107988 (eval $ac_try) 2>&5
107989 ac_status=$?
107990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107991 (exit $ac_status); }; } &&
107992 { ac_try='test -s conftest.$ac_objext'
107993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107994 (eval $ac_try) 2>&5
107995 ac_status=$?
107996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107997 (exit $ac_status); }; }; then
107998 ac_ldbl_compat=yes
108000 echo "$as_me: failed program was:" >&5
108001 sed 's/^/| /' conftest.$ac_ext >&5
108003 ac_ldbl_compat=no
108005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108006 if test "$ac_ldbl_compat" = yes; then
108008 cat >>confdefs.h <<\_ACEOF
108009 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
108010 _ACEOF
108012 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
108017 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
108019 if $GLIBCXX_IS_NATIVE ; then
108020 # Do checks for resource limit functions.
108022 setrlimit_have_headers=yes
108026 for ac_header in unistd.h sys/time.h sys/resource.h
108028 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108030 echo "$as_me:$LINENO: checking for $ac_header" >&5
108031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108033 echo $ECHO_N "(cached) $ECHO_C" >&6
108035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108038 # Is the header compilable?
108039 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108040 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108041 cat >conftest.$ac_ext <<_ACEOF
108042 /* confdefs.h. */
108043 _ACEOF
108044 cat confdefs.h >>conftest.$ac_ext
108045 cat >>conftest.$ac_ext <<_ACEOF
108046 /* end confdefs.h. */
108047 $ac_includes_default
108048 #include <$ac_header>
108049 _ACEOF
108050 rm -f conftest.$ac_objext
108051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108052 (eval $ac_compile) 2>conftest.er1
108053 ac_status=$?
108054 grep -v '^ *+' conftest.er1 >conftest.err
108055 rm -f conftest.er1
108056 cat conftest.err >&5
108057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108058 (exit $ac_status); } &&
108059 { ac_try='test -z "$ac_c_werror_flag"
108060 || test ! -s conftest.err'
108061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108062 (eval $ac_try) 2>&5
108063 ac_status=$?
108064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108065 (exit $ac_status); }; } &&
108066 { ac_try='test -s conftest.$ac_objext'
108067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108068 (eval $ac_try) 2>&5
108069 ac_status=$?
108070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108071 (exit $ac_status); }; }; then
108072 ac_header_compiler=yes
108074 echo "$as_me: failed program was:" >&5
108075 sed 's/^/| /' conftest.$ac_ext >&5
108077 ac_header_compiler=no
108079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108080 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108081 echo "${ECHO_T}$ac_header_compiler" >&6
108083 # Is the header present?
108084 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108085 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108086 cat >conftest.$ac_ext <<_ACEOF
108087 /* confdefs.h. */
108088 _ACEOF
108089 cat confdefs.h >>conftest.$ac_ext
108090 cat >>conftest.$ac_ext <<_ACEOF
108091 /* end confdefs.h. */
108092 #include <$ac_header>
108093 _ACEOF
108094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108095 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108096 ac_status=$?
108097 grep -v '^ *+' conftest.er1 >conftest.err
108098 rm -f conftest.er1
108099 cat conftest.err >&5
108100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108101 (exit $ac_status); } >/dev/null; then
108102 if test -s conftest.err; then
108103 ac_cpp_err=$ac_c_preproc_warn_flag
108104 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108106 ac_cpp_err=
108109 ac_cpp_err=yes
108111 if test -z "$ac_cpp_err"; then
108112 ac_header_preproc=yes
108114 echo "$as_me: failed program was:" >&5
108115 sed 's/^/| /' conftest.$ac_ext >&5
108117 ac_header_preproc=no
108119 rm -f conftest.err conftest.$ac_ext
108120 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108121 echo "${ECHO_T}$ac_header_preproc" >&6
108123 # So? What about this header?
108124 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108125 yes:no: )
108126 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108127 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108128 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108129 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108130 ac_header_preproc=yes
108132 no:yes:* )
108133 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108134 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108135 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108136 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108137 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108138 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108139 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108140 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108142 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108143 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108144 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108146 cat <<\_ASBOX
108147 ## ----------------------------------------- ##
108148 ## Report this to the package-unused lists. ##
108149 ## ----------------------------------------- ##
108150 _ASBOX
108152 sed "s/^/$as_me: WARNING: /" >&2
108155 echo "$as_me:$LINENO: checking for $ac_header" >&5
108156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108158 echo $ECHO_N "(cached) $ECHO_C" >&6
108160 eval "$as_ac_Header=\$ac_header_preproc"
108162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108166 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108167 cat >>confdefs.h <<_ACEOF
108168 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108169 _ACEOF
108172 setrlimit_have_headers=no
108177 # If don't have the headers, then we can't run the tests now, and we
108178 # won't be seeing any of these during testsuite compilation.
108179 if test $setrlimit_have_headers = yes; then
108180 # Can't do these in a loop, else the resulting syntax is wrong.
108182 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
108183 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
108184 cat >conftest.$ac_ext <<_ACEOF
108185 /* confdefs.h. */
108186 _ACEOF
108187 cat confdefs.h >>conftest.$ac_ext
108188 cat >>conftest.$ac_ext <<_ACEOF
108189 /* end confdefs.h. */
108190 #include <unistd.h>
108191 #include <sys/time.h>
108192 #include <sys/resource.h>
108195 main ()
108197 int f = RLIMIT_DATA ;
108199 return 0;
108201 _ACEOF
108202 rm -f conftest.$ac_objext
108203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108204 (eval $ac_compile) 2>conftest.er1
108205 ac_status=$?
108206 grep -v '^ *+' conftest.er1 >conftest.err
108207 rm -f conftest.er1
108208 cat conftest.err >&5
108209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108210 (exit $ac_status); } &&
108211 { ac_try='test -z "$ac_c_werror_flag"
108212 || test ! -s conftest.err'
108213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108214 (eval $ac_try) 2>&5
108215 ac_status=$?
108216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108217 (exit $ac_status); }; } &&
108218 { ac_try='test -s conftest.$ac_objext'
108219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108220 (eval $ac_try) 2>&5
108221 ac_status=$?
108222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108223 (exit $ac_status); }; }; then
108224 glibcxx_mresult=1
108226 echo "$as_me: failed program was:" >&5
108227 sed 's/^/| /' conftest.$ac_ext >&5
108229 glibcxx_mresult=0
108231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108233 cat >>confdefs.h <<_ACEOF
108234 #define HAVE_LIMIT_DATA $glibcxx_mresult
108235 _ACEOF
108237 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108238 echo "$as_me:$LINENO: result: $res" >&5
108239 echo "${ECHO_T}$res" >&6
108242 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
108243 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
108244 cat >conftest.$ac_ext <<_ACEOF
108245 /* confdefs.h. */
108246 _ACEOF
108247 cat confdefs.h >>conftest.$ac_ext
108248 cat >>conftest.$ac_ext <<_ACEOF
108249 /* end confdefs.h. */
108250 #include <unistd.h>
108251 #include <sys/time.h>
108252 #include <sys/resource.h>
108255 main ()
108257 int f = RLIMIT_RSS ;
108259 return 0;
108261 _ACEOF
108262 rm -f conftest.$ac_objext
108263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108264 (eval $ac_compile) 2>conftest.er1
108265 ac_status=$?
108266 grep -v '^ *+' conftest.er1 >conftest.err
108267 rm -f conftest.er1
108268 cat conftest.err >&5
108269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108270 (exit $ac_status); } &&
108271 { ac_try='test -z "$ac_c_werror_flag"
108272 || test ! -s conftest.err'
108273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108274 (eval $ac_try) 2>&5
108275 ac_status=$?
108276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108277 (exit $ac_status); }; } &&
108278 { ac_try='test -s conftest.$ac_objext'
108279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108280 (eval $ac_try) 2>&5
108281 ac_status=$?
108282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108283 (exit $ac_status); }; }; then
108284 glibcxx_mresult=1
108286 echo "$as_me: failed program was:" >&5
108287 sed 's/^/| /' conftest.$ac_ext >&5
108289 glibcxx_mresult=0
108291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108293 cat >>confdefs.h <<_ACEOF
108294 #define HAVE_LIMIT_RSS $glibcxx_mresult
108295 _ACEOF
108297 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108298 echo "$as_me:$LINENO: result: $res" >&5
108299 echo "${ECHO_T}$res" >&6
108302 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
108303 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
108304 cat >conftest.$ac_ext <<_ACEOF
108305 /* confdefs.h. */
108306 _ACEOF
108307 cat confdefs.h >>conftest.$ac_ext
108308 cat >>conftest.$ac_ext <<_ACEOF
108309 /* end confdefs.h. */
108310 #include <unistd.h>
108311 #include <sys/time.h>
108312 #include <sys/resource.h>
108315 main ()
108317 int f = RLIMIT_VMEM ;
108319 return 0;
108321 _ACEOF
108322 rm -f conftest.$ac_objext
108323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108324 (eval $ac_compile) 2>conftest.er1
108325 ac_status=$?
108326 grep -v '^ *+' conftest.er1 >conftest.err
108327 rm -f conftest.er1
108328 cat conftest.err >&5
108329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108330 (exit $ac_status); } &&
108331 { ac_try='test -z "$ac_c_werror_flag"
108332 || test ! -s conftest.err'
108333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108334 (eval $ac_try) 2>&5
108335 ac_status=$?
108336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108337 (exit $ac_status); }; } &&
108338 { ac_try='test -s conftest.$ac_objext'
108339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108340 (eval $ac_try) 2>&5
108341 ac_status=$?
108342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108343 (exit $ac_status); }; }; then
108344 glibcxx_mresult=1
108346 echo "$as_me: failed program was:" >&5
108347 sed 's/^/| /' conftest.$ac_ext >&5
108349 glibcxx_mresult=0
108351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108353 cat >>confdefs.h <<_ACEOF
108354 #define HAVE_LIMIT_VMEM $glibcxx_mresult
108355 _ACEOF
108357 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108358 echo "$as_me:$LINENO: result: $res" >&5
108359 echo "${ECHO_T}$res" >&6
108362 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
108363 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
108364 cat >conftest.$ac_ext <<_ACEOF
108365 /* confdefs.h. */
108366 _ACEOF
108367 cat confdefs.h >>conftest.$ac_ext
108368 cat >>conftest.$ac_ext <<_ACEOF
108369 /* end confdefs.h. */
108370 #include <unistd.h>
108371 #include <sys/time.h>
108372 #include <sys/resource.h>
108375 main ()
108377 int f = RLIMIT_AS ;
108379 return 0;
108381 _ACEOF
108382 rm -f conftest.$ac_objext
108383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108384 (eval $ac_compile) 2>conftest.er1
108385 ac_status=$?
108386 grep -v '^ *+' conftest.er1 >conftest.err
108387 rm -f conftest.er1
108388 cat conftest.err >&5
108389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108390 (exit $ac_status); } &&
108391 { ac_try='test -z "$ac_c_werror_flag"
108392 || test ! -s conftest.err'
108393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108394 (eval $ac_try) 2>&5
108395 ac_status=$?
108396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108397 (exit $ac_status); }; } &&
108398 { ac_try='test -s conftest.$ac_objext'
108399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108400 (eval $ac_try) 2>&5
108401 ac_status=$?
108402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108403 (exit $ac_status); }; }; then
108404 glibcxx_mresult=1
108406 echo "$as_me: failed program was:" >&5
108407 sed 's/^/| /' conftest.$ac_ext >&5
108409 glibcxx_mresult=0
108411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108413 cat >>confdefs.h <<_ACEOF
108414 #define HAVE_LIMIT_AS $glibcxx_mresult
108415 _ACEOF
108417 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108418 echo "$as_me:$LINENO: result: $res" >&5
108419 echo "${ECHO_T}$res" >&6
108422 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
108423 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
108424 cat >conftest.$ac_ext <<_ACEOF
108425 /* confdefs.h. */
108426 _ACEOF
108427 cat confdefs.h >>conftest.$ac_ext
108428 cat >>conftest.$ac_ext <<_ACEOF
108429 /* end confdefs.h. */
108430 #include <unistd.h>
108431 #include <sys/time.h>
108432 #include <sys/resource.h>
108435 main ()
108437 int f = RLIMIT_FSIZE ;
108439 return 0;
108441 _ACEOF
108442 rm -f conftest.$ac_objext
108443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108444 (eval $ac_compile) 2>conftest.er1
108445 ac_status=$?
108446 grep -v '^ *+' conftest.er1 >conftest.err
108447 rm -f conftest.er1
108448 cat conftest.err >&5
108449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108450 (exit $ac_status); } &&
108451 { ac_try='test -z "$ac_c_werror_flag"
108452 || test ! -s conftest.err'
108453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108454 (eval $ac_try) 2>&5
108455 ac_status=$?
108456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108457 (exit $ac_status); }; } &&
108458 { ac_try='test -s conftest.$ac_objext'
108459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108460 (eval $ac_try) 2>&5
108461 ac_status=$?
108462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108463 (exit $ac_status); }; }; then
108464 glibcxx_mresult=1
108466 echo "$as_me: failed program was:" >&5
108467 sed 's/^/| /' conftest.$ac_ext >&5
108469 glibcxx_mresult=0
108471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108473 cat >>confdefs.h <<_ACEOF
108474 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
108475 _ACEOF
108477 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108478 echo "$as_me:$LINENO: result: $res" >&5
108479 echo "${ECHO_T}$res" >&6
108482 # Check for rlimit, setrlimit.
108483 if test "${glibcxx_cv_setrlimit+set}" = set; then
108484 echo $ECHO_N "(cached) $ECHO_C" >&6
108487 cat >conftest.$ac_ext <<_ACEOF
108488 /* confdefs.h. */
108489 _ACEOF
108490 cat confdefs.h >>conftest.$ac_ext
108491 cat >>conftest.$ac_ext <<_ACEOF
108492 /* end confdefs.h. */
108493 #include <unistd.h>
108494 #include <sys/time.h>
108495 #include <sys/resource.h>
108498 main ()
108500 struct rlimit r;
108501 setrlimit(0, &r);
108503 return 0;
108505 _ACEOF
108506 rm -f conftest.$ac_objext
108507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108508 (eval $ac_compile) 2>conftest.er1
108509 ac_status=$?
108510 grep -v '^ *+' conftest.er1 >conftest.err
108511 rm -f conftest.er1
108512 cat conftest.err >&5
108513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108514 (exit $ac_status); } &&
108515 { ac_try='test -z "$ac_c_werror_flag"
108516 || test ! -s conftest.err'
108517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108518 (eval $ac_try) 2>&5
108519 ac_status=$?
108520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108521 (exit $ac_status); }; } &&
108522 { ac_try='test -s conftest.$ac_objext'
108523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108524 (eval $ac_try) 2>&5
108525 ac_status=$?
108526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108527 (exit $ac_status); }; }; then
108528 glibcxx_cv_setrlimit=yes
108530 echo "$as_me: failed program was:" >&5
108531 sed 's/^/| /' conftest.$ac_ext >&5
108533 glibcxx_cv_setrlimit=no
108535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108541 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
108542 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
108543 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
108544 ac_res_limits=yes
108546 cat >>confdefs.h <<\_ACEOF
108547 #define _GLIBCXX_RES_LIMITS 1
108548 _ACEOF
108551 ac_res_limits=no
108553 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
108554 echo "${ECHO_T}$ac_res_limits" >&6
108557 # Look for setenv, so that extended locale tests can be performed.
108559 echo "$as_me:$LINENO: checking for setenv declaration" >&5
108560 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
108561 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
108562 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
108563 echo $ECHO_N "(cached) $ECHO_C" >&6
108568 ac_ext=cc
108569 ac_cpp='$CXXCPP $CPPFLAGS'
108570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108574 cat >conftest.$ac_ext <<_ACEOF
108575 /* confdefs.h. */
108576 _ACEOF
108577 cat confdefs.h >>conftest.$ac_ext
108578 cat >>conftest.$ac_ext <<_ACEOF
108579 /* end confdefs.h. */
108580 #include <stdlib.h>
108582 main ()
108584 setenv(0, 0, 0);
108586 return 0;
108588 _ACEOF
108589 rm -f conftest.$ac_objext
108590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108591 (eval $ac_compile) 2>conftest.er1
108592 ac_status=$?
108593 grep -v '^ *+' conftest.er1 >conftest.err
108594 rm -f conftest.er1
108595 cat conftest.err >&5
108596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108597 (exit $ac_status); } &&
108598 { ac_try='test -z "$ac_cxx_werror_flag"
108599 || test ! -s conftest.err'
108600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108601 (eval $ac_try) 2>&5
108602 ac_status=$?
108603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108604 (exit $ac_status); }; } &&
108605 { ac_try='test -s conftest.$ac_objext'
108606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108607 (eval $ac_try) 2>&5
108608 ac_status=$?
108609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108610 (exit $ac_status); }; }; then
108611 glibcxx_cv_func_setenv_use=yes
108613 echo "$as_me: failed program was:" >&5
108614 sed 's/^/| /' conftest.$ac_ext >&5
108616 glibcxx_cv_func_setenv_use=no
108618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108619 ac_ext=c
108620 ac_cpp='$CPP $CPPFLAGS'
108621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108629 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
108630 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
108631 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
108633 for ac_func in setenv
108635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108636 echo "$as_me:$LINENO: checking for $ac_func" >&5
108637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108638 if eval "test \"\${$as_ac_var+set}\" = set"; then
108639 echo $ECHO_N "(cached) $ECHO_C" >&6
108641 if test x$gcc_no_link = xyes; then
108642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108644 { (exit 1); exit 1; }; }
108646 cat >conftest.$ac_ext <<_ACEOF
108647 /* confdefs.h. */
108648 _ACEOF
108649 cat confdefs.h >>conftest.$ac_ext
108650 cat >>conftest.$ac_ext <<_ACEOF
108651 /* end confdefs.h. */
108652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108654 #define $ac_func innocuous_$ac_func
108656 /* System header to define __stub macros and hopefully few prototypes,
108657 which can conflict with char $ac_func (); below.
108658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108659 <limits.h> exists even on freestanding compilers. */
108661 #ifdef __STDC__
108662 # include <limits.h>
108663 #else
108664 # include <assert.h>
108665 #endif
108667 #undef $ac_func
108669 /* Override any gcc2 internal prototype to avoid an error. */
108670 #ifdef __cplusplus
108671 extern "C"
108673 #endif
108674 /* We use char because int might match the return type of a gcc2
108675 builtin and then its argument prototype would still apply. */
108676 char $ac_func ();
108677 /* The GNU C library defines this for functions which it implements
108678 to always fail with ENOSYS. Some functions are actually named
108679 something starting with __ and the normal name is an alias. */
108680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108681 choke me
108682 #else
108683 char (*f) () = $ac_func;
108684 #endif
108685 #ifdef __cplusplus
108687 #endif
108690 main ()
108692 return f != $ac_func;
108694 return 0;
108696 _ACEOF
108697 rm -f conftest.$ac_objext conftest$ac_exeext
108698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108699 (eval $ac_link) 2>conftest.er1
108700 ac_status=$?
108701 grep -v '^ *+' conftest.er1 >conftest.err
108702 rm -f conftest.er1
108703 cat conftest.err >&5
108704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108705 (exit $ac_status); } &&
108706 { ac_try='test -z "$ac_c_werror_flag"
108707 || test ! -s conftest.err'
108708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108709 (eval $ac_try) 2>&5
108710 ac_status=$?
108711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108712 (exit $ac_status); }; } &&
108713 { ac_try='test -s conftest$ac_exeext'
108714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108715 (eval $ac_try) 2>&5
108716 ac_status=$?
108717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108718 (exit $ac_status); }; }; then
108719 eval "$as_ac_var=yes"
108721 echo "$as_me: failed program was:" >&5
108722 sed 's/^/| /' conftest.$ac_ext >&5
108724 eval "$as_ac_var=no"
108726 rm -f conftest.err conftest.$ac_objext \
108727 conftest$ac_exeext conftest.$ac_ext
108729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108731 if test `eval echo '${'$as_ac_var'}'` = yes; then
108732 cat >>confdefs.h <<_ACEOF
108733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108734 _ACEOF
108743 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
108744 test $enable_symvers != no; then
108745 case "$host" in
108746 *-*-cygwin*)
108747 enable_abi_check=no ;;
108749 enable_abi_check=yes ;;
108752 # Only build this as native, since automake does not understand
108753 # CXX_FOR_BUILD.
108754 enable_abi_check=no
108757 # Export file names for ABI checking.
108758 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
108762 # Propagate the target-specific source directories through the build chain.
108763 ATOMICITY_SRCDIR=config/${atomicity_dir}
108764 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
108765 ATOMIC_FLAGS=${atomic_flags}
108766 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
108767 OS_INC_SRCDIR=config/${os_include_dir}
108768 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
108769 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
108779 # Determine cross-compile flags and AM_CONDITIONALs.
108780 #AC_SUBST(GLIBCXX_IS_NATIVE)
108781 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
108782 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
108783 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
108786 if test $is_hosted = yes; then
108787 GLIBCXX_HOSTED_TRUE=
108788 GLIBCXX_HOSTED_FALSE='#'
108790 GLIBCXX_HOSTED_TRUE='#'
108791 GLIBCXX_HOSTED_FALSE=
108797 if test $enable_libstdcxx_pch = yes; then
108798 GLIBCXX_BUILD_PCH_TRUE=
108799 GLIBCXX_BUILD_PCH_FALSE='#'
108801 GLIBCXX_BUILD_PCH_TRUE='#'
108802 GLIBCXX_BUILD_PCH_FALSE=
108808 if test $enable_cheaders = c; then
108809 GLIBCXX_C_HEADERS_C_TRUE=
108810 GLIBCXX_C_HEADERS_C_FALSE='#'
108812 GLIBCXX_C_HEADERS_C_TRUE='#'
108813 GLIBCXX_C_HEADERS_C_FALSE=
108819 if test $enable_cheaders = c_std; then
108820 GLIBCXX_C_HEADERS_C_STD_TRUE=
108821 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
108823 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
108824 GLIBCXX_C_HEADERS_C_STD_FALSE=
108830 if test $enable_cheaders = c_global; then
108831 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
108832 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
108834 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
108835 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
108841 if test $c_compatibility = yes; then
108842 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
108843 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
108845 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
108846 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
108852 if test $c_extra = yes; then
108853 GLIBCXX_C_HEADERS_EXTRA_TRUE=
108854 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
108856 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
108857 GLIBCXX_C_HEADERS_EXTRA_FALSE=
108863 if test $enable_libstdcxx_debug = yes; then
108864 GLIBCXX_BUILD_DEBUG_TRUE=
108865 GLIBCXX_BUILD_DEBUG_FALSE='#'
108867 GLIBCXX_BUILD_DEBUG_TRUE='#'
108868 GLIBCXX_BUILD_DEBUG_FALSE=
108874 if test $enable_parallel = yes; then
108875 ENABLE_PARALLEL_TRUE=
108876 ENABLE_PARALLEL_FALSE='#'
108878 ENABLE_PARALLEL_TRUE='#'
108879 ENABLE_PARALLEL_FALSE=
108885 if test $enable_symvers != no; then
108886 ENABLE_SYMVERS_TRUE=
108887 ENABLE_SYMVERS_FALSE='#'
108889 ENABLE_SYMVERS_TRUE='#'
108890 ENABLE_SYMVERS_FALSE=
108896 if test $enable_symvers = gnu; then
108897 ENABLE_SYMVERS_GNU_TRUE=
108898 ENABLE_SYMVERS_GNU_FALSE='#'
108900 ENABLE_SYMVERS_GNU_TRUE='#'
108901 ENABLE_SYMVERS_GNU_FALSE=
108907 if test $enable_symvers = gnu-versioned-namespace; then
108908 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
108909 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
108911 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
108912 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
108918 if test $enable_symvers = darwin; then
108919 ENABLE_SYMVERS_DARWIN_TRUE=
108920 ENABLE_SYMVERS_DARWIN_FALSE='#'
108922 ENABLE_SYMVERS_DARWIN_TRUE='#'
108923 ENABLE_SYMVERS_DARWIN_FALSE=
108929 if test $enable_visibility = yes; then
108930 ENABLE_VISIBILITY_TRUE=
108931 ENABLE_VISIBILITY_FALSE='#'
108933 ENABLE_VISIBILITY_TRUE='#'
108934 ENABLE_VISIBILITY_FALSE=
108940 if test $ac_ldbl_compat = yes; then
108941 GLIBCXX_LDBL_COMPAT_TRUE=
108942 GLIBCXX_LDBL_COMPAT_FALSE='#'
108944 GLIBCXX_LDBL_COMPAT_TRUE='#'
108945 GLIBCXX_LDBL_COMPAT_FALSE=
108951 cat >confcache <<\_ACEOF
108952 # This file is a shell script that caches the results of configure
108953 # tests run on this system so they can be shared between configure
108954 # scripts and configure runs, see configure's option --config-cache.
108955 # It is not useful on other systems. If it contains results you don't
108956 # want to keep, you may remove or edit it.
108958 # config.status only pays attention to the cache file if you give it
108959 # the --recheck option to rerun configure.
108961 # `ac_cv_env_foo' variables (set or unset) will be overridden when
108962 # loading this file, other *unset* `ac_cv_foo' will be assigned the
108963 # following values.
108965 _ACEOF
108967 # The following way of writing the cache mishandles newlines in values,
108968 # but we know of no workaround that is simple, portable, and efficient.
108969 # So, don't put newlines in cache variables' values.
108970 # Ultrix sh set writes to stderr and can't be redirected directly,
108971 # and sets the high bit in the cache file unless we assign to the vars.
108973 (set) 2>&1 |
108974 case `(ac_space=' '; set | grep ac_space) 2>&1` in
108975 *ac_space=\ *)
108976 # `set' does not quote correctly, so add quotes (double-quote
108977 # substitution turns \\\\ into \\, and sed turns \\ into \).
108978 sed -n \
108979 "s/'/'\\\\''/g;
108980 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
108983 # `set' quotes correctly as required by POSIX, so do not add quotes.
108984 sed -n \
108985 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
108987 esac;
108989 sed '
108990 t clear
108991 : clear
108992 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
108993 t end
108994 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
108995 : end' >>confcache
108996 if diff $cache_file confcache >/dev/null 2>&1; then :; else
108997 if test -w $cache_file; then
108998 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
108999 cat confcache >$cache_file
109001 echo "not updating unwritable cache $cache_file"
109004 rm -f confcache
109006 if test ${multilib} = yes; then
109007 multilib_arg="--enable-multilib"
109009 multilib_arg=
109012 # Export all the install information.
109014 glibcxx_toolexecdir=no
109015 glibcxx_toolexeclibdir=no
109016 glibcxx_prefixdir=$prefix
109018 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
109019 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
109021 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
109022 if test "${with_gxx_include_dir+set}" = set; then
109023 withval="$with_gxx_include_dir"
109024 case "$withval" in
109025 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
109026 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
109027 { (exit 1); exit 1; }; } ;;
109028 no) gxx_include_dir=no ;;
109029 *) gxx_include_dir=$withval ;;
109032 gxx_include_dir=no
109034 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
109035 echo "${ECHO_T}$gxx_include_dir" >&6
109037 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
109038 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
109039 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
109040 if test "${enable_version_specific_runtime_libs+set}" = set; then
109041 enableval="$enable_version_specific_runtime_libs"
109042 case "$enableval" in
109043 yes) version_specific_libs=yes ;;
109044 no) version_specific_libs=no ;;
109045 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
109046 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
109047 { (exit 1); exit 1; }; };;
109050 version_specific_libs=no
109052 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
109053 echo "${ECHO_T}$version_specific_libs" >&6
109055 # Default case for install directory for include files.
109056 if test $version_specific_libs = no && test $gxx_include_dir = no; then
109057 gxx_include_dir='include/c++/${gcc_version}'
109058 if test -n "$with_cross_host" &&
109059 test x"$with_cross_host" != x"no"; then
109060 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
109062 gxx_include_dir='${prefix}/'"$gxx_include_dir"
109066 # Version-specific runtime libs processing.
109067 if test $version_specific_libs = yes; then
109068 # Need the gcc compiler version to know where to install libraries
109069 # and header files if --enable-version-specific-runtime-libs option
109070 # is selected. FIXME: these variables are misnamed, there are
109071 # no executables installed in _toolexecdir or _toolexeclibdir.
109072 if test x"$gxx_include_dir" = x"no"; then
109073 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
109075 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
109076 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
109079 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
109080 # Install a library built with a cross compiler in tooldir, not libdir.
109081 if test x"$glibcxx_toolexecdir" = x"no"; then
109082 if test -n "$with_cross_host" &&
109083 test x"$with_cross_host" != x"no"; then
109084 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
109085 glibcxx_toolexeclibdir='${toolexecdir}/lib'
109087 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
109088 glibcxx_toolexeclibdir='${libdir}'
109090 multi_os_directory=`$CXX -print-multi-os-directory`
109091 case $multi_os_directory in
109092 .) ;; # Avoid trailing /.
109093 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
109097 echo "$as_me:$LINENO: checking for install location" >&5
109098 echo $ECHO_N "checking for install location... $ECHO_C" >&6
109099 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
109100 echo "${ECHO_T}$gxx_include_dir" >&6
109108 # Export all the include and flag information to Makefiles.
109110 # Used for every C++ compile we perform.
109111 GLIBCXX_INCLUDES="\
109112 -I$glibcxx_builddir/include/$host_alias \
109113 -I$glibcxx_builddir/include \
109114 -I$glibcxx_srcdir/libsupc++"
109116 # For Canadian crosses, pick this up too.
109117 if test $CANADIAN = yes; then
109118 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
109121 # Stuff in the actual top level. Currently only used by libsupc++ to
109122 # get unwind* headers from the gcc dir.
109123 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
109124 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
109126 # Now, export this to all the little Makefiles....
109131 # Optimization flags that are probably a good idea for thrill-seekers. Just
109132 # uncomment the lines below and make, everything else is ready to go...
109133 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
109134 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
109137 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
109141 if test "$enable_shared" = yes; then
109142 LIBSUPCXX_PICFLAGS="-prefer-pic"
109144 LIBSUPCXX_PICFLAGS=
109148 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
109150 ac_config_files="$ac_config_files scripts/testsuite_flags"
109153 ac_config_commands="$ac_config_commands default"
109156 cat >confcache <<\_ACEOF
109157 # This file is a shell script that caches the results of configure
109158 # tests run on this system so they can be shared between configure
109159 # scripts and configure runs, see configure's option --config-cache.
109160 # It is not useful on other systems. If it contains results you don't
109161 # want to keep, you may remove or edit it.
109163 # config.status only pays attention to the cache file if you give it
109164 # the --recheck option to rerun configure.
109166 # `ac_cv_env_foo' variables (set or unset) will be overridden when
109167 # loading this file, other *unset* `ac_cv_foo' will be assigned the
109168 # following values.
109170 _ACEOF
109172 # The following way of writing the cache mishandles newlines in values,
109173 # but we know of no workaround that is simple, portable, and efficient.
109174 # So, don't put newlines in cache variables' values.
109175 # Ultrix sh set writes to stderr and can't be redirected directly,
109176 # and sets the high bit in the cache file unless we assign to the vars.
109178 (set) 2>&1 |
109179 case `(ac_space=' '; set | grep ac_space) 2>&1` in
109180 *ac_space=\ *)
109181 # `set' does not quote correctly, so add quotes (double-quote
109182 # substitution turns \\\\ into \\, and sed turns \\ into \).
109183 sed -n \
109184 "s/'/'\\\\''/g;
109185 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
109188 # `set' quotes correctly as required by POSIX, so do not add quotes.
109189 sed -n \
109190 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
109192 esac;
109194 sed '
109195 t clear
109196 : clear
109197 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
109198 t end
109199 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
109200 : end' >>confcache
109201 if diff $cache_file confcache >/dev/null 2>&1; then :; else
109202 if test -w $cache_file; then
109203 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
109204 cat confcache >$cache_file
109206 echo "not updating unwritable cache $cache_file"
109209 rm -f confcache
109211 test "x$prefix" = xNONE && prefix=$ac_default_prefix
109212 # Let make expand exec_prefix.
109213 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
109215 # VPATH may cause trouble with some makes, so we remove $(srcdir),
109216 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
109217 # trailing colons and then remove the whole line if VPATH becomes empty
109218 # (actually we leave an empty line to preserve line numbers).
109219 if test "x$srcdir" = x.; then
109220 ac_vpsub='/^[ ]*VPATH[ ]*=/{
109221 s/:*\$(srcdir):*/:/;
109222 s/:*\${srcdir}:*/:/;
109223 s/:*@srcdir@:*/:/;
109224 s/^\([^=]*=[ ]*\):*/\1/;
109225 s/:*$//;
109226 s/^[^=]*=[ ]*$//;
109230 DEFS=-DHAVE_CONFIG_H
109232 ac_libobjs=
109233 ac_ltlibobjs=
109234 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
109235 # 1. Remove the extension, and $U if already installed.
109236 ac_i=`echo "$ac_i" |
109237 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
109238 # 2. Add them.
109239 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
109240 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
109242 LIBOBJS=$ac_libobjs
109244 LTLIBOBJS=$ac_ltlibobjs
109247 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
109248 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
109249 Usually this means the macro was only invoked conditionally." >&5
109250 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
109251 Usually this means the macro was only invoked conditionally." >&2;}
109252 { (exit 1); exit 1; }; }
109254 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
109255 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
109256 Usually this means the macro was only invoked conditionally." >&5
109257 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
109258 Usually this means the macro was only invoked conditionally." >&2;}
109259 { (exit 1); exit 1; }; }
109261 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
109262 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
109263 Usually this means the macro was only invoked conditionally." >&5
109264 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
109265 Usually this means the macro was only invoked conditionally." >&2;}
109266 { (exit 1); exit 1; }; }
109268 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
109269 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
109270 Usually this means the macro was only invoked conditionally." >&5
109271 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
109272 Usually this means the macro was only invoked conditionally." >&2;}
109273 { (exit 1); exit 1; }; }
109275 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
109276 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
109277 Usually this means the macro was only invoked conditionally." >&5
109278 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
109279 Usually this means the macro was only invoked conditionally." >&2;}
109280 { (exit 1); exit 1; }; }
109282 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
109283 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
109284 Usually this means the macro was only invoked conditionally." >&5
109285 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
109286 Usually this means the macro was only invoked conditionally." >&2;}
109287 { (exit 1); exit 1; }; }
109289 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
109290 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
109291 Usually this means the macro was only invoked conditionally." >&5
109292 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
109293 Usually this means the macro was only invoked conditionally." >&2;}
109294 { (exit 1); exit 1; }; }
109296 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
109297 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
109298 Usually this means the macro was only invoked conditionally." >&5
109299 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
109300 Usually this means the macro was only invoked conditionally." >&2;}
109301 { (exit 1); exit 1; }; }
109303 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
109304 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
109305 Usually this means the macro was only invoked conditionally." >&5
109306 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
109307 Usually this means the macro was only invoked conditionally." >&2;}
109308 { (exit 1); exit 1; }; }
109310 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
109311 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
109312 Usually this means the macro was only invoked conditionally." >&5
109313 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
109314 Usually this means the macro was only invoked conditionally." >&2;}
109315 { (exit 1); exit 1; }; }
109317 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
109318 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
109319 Usually this means the macro was only invoked conditionally." >&5
109320 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
109321 Usually this means the macro was only invoked conditionally." >&2;}
109322 { (exit 1); exit 1; }; }
109324 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
109325 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
109326 Usually this means the macro was only invoked conditionally." >&5
109327 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
109328 Usually this means the macro was only invoked conditionally." >&2;}
109329 { (exit 1); exit 1; }; }
109331 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
109332 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
109333 Usually this means the macro was only invoked conditionally." >&5
109334 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
109335 Usually this means the macro was only invoked conditionally." >&2;}
109336 { (exit 1); exit 1; }; }
109338 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
109339 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
109340 Usually this means the macro was only invoked conditionally." >&5
109341 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
109342 Usually this means the macro was only invoked conditionally." >&2;}
109343 { (exit 1); exit 1; }; }
109345 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
109346 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
109347 Usually this means the macro was only invoked conditionally." >&5
109348 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
109349 Usually this means the macro was only invoked conditionally." >&2;}
109350 { (exit 1); exit 1; }; }
109352 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
109353 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
109354 Usually this means the macro was only invoked conditionally." >&5
109355 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
109356 Usually this means the macro was only invoked conditionally." >&2;}
109357 { (exit 1); exit 1; }; }
109360 : ${CONFIG_STATUS=./config.status}
109361 ac_clean_files_save=$ac_clean_files
109362 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
109363 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
109364 echo "$as_me: creating $CONFIG_STATUS" >&6;}
109365 cat >$CONFIG_STATUS <<_ACEOF
109366 #! $SHELL
109367 # Generated by $as_me.
109368 # Run this file to recreate the current configuration.
109369 # Compiler output produced by configure, useful for debugging
109370 # configure, is in config.log if it exists.
109372 debug=false
109373 ac_cs_recheck=false
109374 ac_cs_silent=false
109375 SHELL=\${CONFIG_SHELL-$SHELL}
109376 _ACEOF
109378 cat >>$CONFIG_STATUS <<\_ACEOF
109379 ## --------------------- ##
109380 ## M4sh Initialization. ##
109381 ## --------------------- ##
109383 # Be Bourne compatible
109384 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
109385 emulate sh
109386 NULLCMD=:
109387 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
109388 # is contrary to our usage. Disable this feature.
109389 alias -g '${1+"$@"}'='"$@"'
109390 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
109391 set -o posix
109393 DUALCASE=1; export DUALCASE # for MKS sh
109395 # Support unset when possible.
109396 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
109397 as_unset=unset
109399 as_unset=false
109403 # Work around bugs in pre-3.0 UWIN ksh.
109404 $as_unset ENV MAIL MAILPATH
109405 PS1='$ '
109406 PS2='> '
109407 PS4='+ '
109409 # NLS nuisances.
109410 for as_var in \
109411 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
109412 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109413 LC_TELEPHONE LC_TIME
109415 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109416 eval $as_var=C; export $as_var
109418 $as_unset $as_var
109422 # Required to use basename.
109423 if expr a : '\(a\)' >/dev/null 2>&1; then
109424 as_expr=expr
109426 as_expr=false
109429 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
109430 as_basename=basename
109432 as_basename=false
109436 # Name of the executable.
109437 as_me=`$as_basename "$0" ||
109438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
109439 X"$0" : 'X\(//\)$' \| \
109440 X"$0" : 'X\(/\)$' \| \
109441 . : '\(.\)' 2>/dev/null ||
109442 echo X/"$0" |
109443 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
109444 /^X\/\(\/\/\)$/{ s//\1/; q; }
109445 /^X\/\(\/\).*/{ s//\1/; q; }
109446 s/.*/./; q'`
109449 # PATH needs CR, and LINENO needs CR and PATH.
109450 # Avoid depending upon Character Ranges.
109451 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
109452 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
109453 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
109454 as_cr_digits='0123456789'
109455 as_cr_alnum=$as_cr_Letters$as_cr_digits
109457 # The user is always right.
109458 if test "${PATH_SEPARATOR+set}" != set; then
109459 echo "#! /bin/sh" >conf$$.sh
109460 echo "exit 0" >>conf$$.sh
109461 chmod +x conf$$.sh
109462 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
109463 PATH_SEPARATOR=';'
109465 PATH_SEPARATOR=:
109467 rm -f conf$$.sh
109471 as_lineno_1=$LINENO
109472 as_lineno_2=$LINENO
109473 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
109474 test "x$as_lineno_1" != "x$as_lineno_2" &&
109475 test "x$as_lineno_3" = "x$as_lineno_2" || {
109476 # Find who we are. Look in the path if we contain no path at all
109477 # relative or not.
109478 case $0 in
109479 *[\\/]* ) as_myself=$0 ;;
109480 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109481 for as_dir in $PATH
109483 IFS=$as_save_IFS
109484 test -z "$as_dir" && as_dir=.
109485 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109490 # We did not find ourselves, most probably we were run as `sh COMMAND'
109491 # in which case we are not to be found in the path.
109492 if test "x$as_myself" = x; then
109493 as_myself=$0
109495 if test ! -f "$as_myself"; then
109496 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
109497 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
109498 { (exit 1); exit 1; }; }
109500 case $CONFIG_SHELL in
109502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109503 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
109505 IFS=$as_save_IFS
109506 test -z "$as_dir" && as_dir=.
109507 for as_base in sh bash ksh sh5; do
109508 case $as_dir in
109510 if ("$as_dir/$as_base" -c '
109511 as_lineno_1=$LINENO
109512 as_lineno_2=$LINENO
109513 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
109514 test "x$as_lineno_1" != "x$as_lineno_2" &&
109515 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
109516 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
109517 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
109518 CONFIG_SHELL=$as_dir/$as_base
109519 export CONFIG_SHELL
109520 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
109528 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
109529 # uniformly replaced by the line number. The first 'sed' inserts a
109530 # line-number line before each line; the second 'sed' does the real
109531 # work. The second script uses 'N' to pair each line-number line
109532 # with the numbered line, and appends trailing '-' during
109533 # substitution so that $LINENO is not a special case at line end.
109534 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
109535 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
109536 sed '=' <$as_myself |
109537 sed '
109539 s,$,-,
109540 : loop
109541 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
109542 t loop
109543 s,-$,,
109544 s,^['$as_cr_digits']*\n,,
109545 ' >$as_me.lineno &&
109546 chmod +x $as_me.lineno ||
109547 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
109548 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
109549 { (exit 1); exit 1; }; }
109551 # Don't try to exec as it changes $[0], causing all sort of problems
109552 # (the dirname of $[0] is not the place where we might find the
109553 # original and so on. Autoconf is especially sensible to this).
109554 . ./$as_me.lineno
109555 # Exit status is that of the last command.
109560 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
109561 *c*,-n*) ECHO_N= ECHO_C='
109562 ' ECHO_T=' ' ;;
109563 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
109564 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
109567 if expr a : '\(a\)' >/dev/null 2>&1; then
109568 as_expr=expr
109570 as_expr=false
109573 rm -f conf$$ conf$$.exe conf$$.file
109574 echo >conf$$.file
109575 if ln -s conf$$.file conf$$ 2>/dev/null; then
109576 # We could just check for DJGPP; but this test a) works b) is more generic
109577 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
109578 if test -f conf$$.exe; then
109579 # Don't use ln at all; we don't have any links
109580 as_ln_s='cp -p'
109582 as_ln_s='ln -s'
109584 elif ln conf$$.file conf$$ 2>/dev/null; then
109585 as_ln_s=ln
109587 as_ln_s='cp -p'
109589 rm -f conf$$ conf$$.exe conf$$.file
109591 if mkdir -p . 2>/dev/null; then
109592 as_mkdir_p=:
109594 test -d ./-p && rmdir ./-p
109595 as_mkdir_p=false
109598 as_executable_p="test -f"
109600 # Sed expression to map a string onto a valid CPP name.
109601 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
109603 # Sed expression to map a string onto a valid variable name.
109604 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
109607 # IFS
109608 # We need space, tab and new line, in precisely that order.
109609 as_nl='
109611 IFS=" $as_nl"
109613 # CDPATH.
109614 $as_unset CDPATH
109616 exec 6>&1
109618 # Open the log real soon, to keep \$[0] and so on meaningful, and to
109619 # report actual input values of CONFIG_FILES etc. instead of their
109620 # values after options handling. Logging --version etc. is OK.
109621 exec 5>>config.log
109624 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
109625 ## Running $as_me. ##
109626 _ASBOX
109627 } >&5
109628 cat >&5 <<_CSEOF
109630 This file was extended by package-unused $as_me version-unused, which was
109631 generated by GNU Autoconf 2.59. Invocation command line was
109633 CONFIG_FILES = $CONFIG_FILES
109634 CONFIG_HEADERS = $CONFIG_HEADERS
109635 CONFIG_LINKS = $CONFIG_LINKS
109636 CONFIG_COMMANDS = $CONFIG_COMMANDS
109637 $ $0 $@
109639 _CSEOF
109640 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
109641 echo >&5
109642 _ACEOF
109644 # Files that config.status was made for.
109645 if test -n "$ac_config_files"; then
109646 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
109649 if test -n "$ac_config_headers"; then
109650 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
109653 if test -n "$ac_config_links"; then
109654 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
109657 if test -n "$ac_config_commands"; then
109658 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
109661 cat >>$CONFIG_STATUS <<\_ACEOF
109663 ac_cs_usage="\
109664 \`$as_me' instantiates files from templates according to the
109665 current configuration.
109667 Usage: $0 [OPTIONS] [FILE]...
109669 -h, --help print this help, then exit
109670 -V, --version print version number, then exit
109671 -q, --quiet do not print progress messages
109672 -d, --debug don't remove temporary files
109673 --recheck update $as_me by reconfiguring in the same conditions
109674 --file=FILE[:TEMPLATE]
109675 instantiate the configuration file FILE
109676 --header=FILE[:TEMPLATE]
109677 instantiate the configuration header FILE
109679 Configuration files:
109680 $config_files
109682 Configuration headers:
109683 $config_headers
109685 Configuration commands:
109686 $config_commands
109688 Report bugs to <bug-autoconf@gnu.org>."
109689 _ACEOF
109691 cat >>$CONFIG_STATUS <<_ACEOF
109692 ac_cs_version="\\
109693 package-unused config.status version-unused
109694 configured by $0, generated by GNU Autoconf 2.59,
109695 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
109697 Copyright (C) 2003 Free Software Foundation, Inc.
109698 This config.status script is free software; the Free Software Foundation
109699 gives unlimited permission to copy, distribute and modify it."
109700 srcdir=$srcdir
109701 INSTALL="$INSTALL"
109702 _ACEOF
109704 cat >>$CONFIG_STATUS <<\_ACEOF
109705 # If no file are specified by the user, then we need to provide default
109706 # value. By we need to know if files were specified by the user.
109707 ac_need_defaults=:
109708 while test $# != 0
109710 case $1 in
109711 --*=*)
109712 ac_option=`expr "x$1" : 'x\([^=]*\)='`
109713 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
109714 ac_shift=:
109717 ac_option=$1
109718 ac_optarg=$2
109719 ac_shift=shift
109721 *) # This is not an option, so the user has probably given explicit
109722 # arguments.
109723 ac_option=$1
109724 ac_need_defaults=false;;
109727 case $ac_option in
109728 # Handling of the options.
109729 _ACEOF
109730 cat >>$CONFIG_STATUS <<\_ACEOF
109731 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
109732 ac_cs_recheck=: ;;
109733 --version | --vers* | -V )
109734 echo "$ac_cs_version"; exit 0 ;;
109735 --he | --h)
109736 # Conflict between --help and --header
109737 { { echo "$as_me:$LINENO: error: ambiguous option: $1
109738 Try \`$0 --help' for more information." >&5
109739 echo "$as_me: error: ambiguous option: $1
109740 Try \`$0 --help' for more information." >&2;}
109741 { (exit 1); exit 1; }; };;
109742 --help | --hel | -h )
109743 echo "$ac_cs_usage"; exit 0 ;;
109744 --debug | --d* | -d )
109745 debug=: ;;
109746 --file | --fil | --fi | --f )
109747 $ac_shift
109748 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
109749 ac_need_defaults=false;;
109750 --header | --heade | --head | --hea )
109751 $ac_shift
109752 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
109753 ac_need_defaults=false;;
109754 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
109755 | -silent | --silent | --silen | --sile | --sil | --si | --s)
109756 ac_cs_silent=: ;;
109758 # This is an error.
109759 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
109760 Try \`$0 --help' for more information." >&5
109761 echo "$as_me: error: unrecognized option: $1
109762 Try \`$0 --help' for more information." >&2;}
109763 { (exit 1); exit 1; }; } ;;
109765 *) ac_config_targets="$ac_config_targets $1" ;;
109768 shift
109771 ac_configure_extra_args=
109773 if $ac_cs_silent; then
109774 exec 6>/dev/null
109775 ac_configure_extra_args="$ac_configure_extra_args --silent"
109778 _ACEOF
109779 cat >>$CONFIG_STATUS <<_ACEOF
109780 if \$ac_cs_recheck; then
109781 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
109782 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
109785 _ACEOF
109787 cat >>$CONFIG_STATUS <<_ACEOF
109789 # INIT-COMMANDS section.
109793 srcdir="$srcdir"
109794 host="$host"
109795 target="$target"
109796 with_multisubdir="$with_multisubdir"
109797 with_multisrctop="$with_multisrctop"
109798 with_target_subdir="$with_target_subdir"
109799 ac_configure_args="${multilib_arg} ${ac_configure_args}"
109800 multi_basedir="$multi_basedir"
109801 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
109802 CC="$CC"
109805 # The HP-UX ksh and POSIX shell print the target directory to stdout
109806 # if CDPATH is set.
109807 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
109809 sed_quote_subst='$sed_quote_subst'
109810 double_quote_subst='$double_quote_subst'
109811 delay_variable_subst='$delay_variable_subst'
109812 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
109813 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
109814 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
109815 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
109816 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
109817 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
109818 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
109819 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
109820 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
109821 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
109822 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
109823 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
109824 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
109825 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
109826 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
109827 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
109828 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
109829 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
109830 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
109831 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
109832 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
109833 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
109834 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
109835 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
109836 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
109837 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
109838 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
109839 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109840 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
109841 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
109842 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
109843 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
109844 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
109845 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
109846 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
109847 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109848 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109849 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109850 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
109851 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
109852 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
109853 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
109854 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
109855 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
109856 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"`'
109857 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
109858 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
109859 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
109860 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
109861 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
109862 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
109863 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
109864 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
109865 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
109866 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
109867 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
109868 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
109869 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
109870 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
109871 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
109872 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
109873 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
109874 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109875 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109876 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
109877 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
109878 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
109879 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
109880 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
109881 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109882 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109883 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109884 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109885 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109886 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109887 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
109888 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
109889 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
109890 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
109891 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
109892 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
109893 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
109894 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
109895 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
109896 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
109897 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
109898 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
109899 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
109900 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
109901 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
109902 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109903 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
109904 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
109905 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109906 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
109907 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
109908 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
109909 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
109910 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
109911 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
109912 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
109913 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
109914 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
109915 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
109916 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
109917 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109918 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109919 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
109920 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
109921 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
109922 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
109923 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
109924 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
109925 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
109926 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
109927 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
109928 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
109929 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
109930 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
109931 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
109932 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
109933 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
109934 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
109935 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
109936 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109937 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109938 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109939 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109940 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109941 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109942 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109943 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109944 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109945 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109946 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109947 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109948 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109949 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109950 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109951 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109952 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109953 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109954 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109955 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109956 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109957 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109958 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109959 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109960 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109961 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109962 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109963 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109964 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109965 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109966 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109967 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109968 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109969 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109970 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109971 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109972 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109973 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109974 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109975 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109976 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109977 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109978 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109979 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109980 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109981 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109982 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
109984 LTCC='$LTCC'
109985 LTCFLAGS='$LTCFLAGS'
109986 compiler='$compiler_DEFAULT'
109988 # Quote evaled strings.
109989 for var in SED \
109990 GREP \
109991 EGREP \
109992 FGREP \
109995 LN_S \
109996 lt_SP2NL \
109997 lt_NL2SP \
109998 reload_flag \
109999 OBJDUMP \
110000 deplibs_check_method \
110001 file_magic_cmd \
110003 AR_FLAGS \
110004 STRIP \
110005 RANLIB \
110007 CFLAGS \
110008 compiler \
110009 lt_cv_sys_global_symbol_pipe \
110010 lt_cv_sys_global_symbol_to_cdecl \
110011 lt_cv_sys_global_symbol_to_c_name_address \
110012 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
110013 SHELL \
110014 ECHO \
110015 lt_prog_compiler_no_builtin_flag \
110016 lt_prog_compiler_wl \
110017 lt_prog_compiler_pic \
110018 lt_prog_compiler_static \
110019 lt_cv_prog_compiler_c_o \
110020 need_locks \
110021 DSYMUTIL \
110022 NMEDIT \
110023 LIPO \
110024 OTOOL \
110025 OTOOL64 \
110026 shrext_cmds \
110027 export_dynamic_flag_spec \
110028 whole_archive_flag_spec \
110029 compiler_needs_object \
110030 with_gnu_ld \
110031 allow_undefined_flag \
110032 no_undefined_flag \
110033 hardcode_libdir_flag_spec \
110034 hardcode_libdir_flag_spec_ld \
110035 hardcode_libdir_separator \
110036 fix_srcfile_path \
110037 exclude_expsyms \
110038 include_expsyms \
110039 file_list_spec \
110040 variables_saved_for_relink \
110041 libname_spec \
110042 library_names_spec \
110043 soname_spec \
110044 finish_eval \
110045 old_striplib \
110046 striplib \
110047 compiler_lib_search_dirs \
110048 predep_objects \
110049 postdep_objects \
110050 predeps \
110051 postdeps \
110052 compiler_lib_search_path \
110053 LD_CXX \
110054 compiler_CXX \
110055 lt_prog_compiler_no_builtin_flag_CXX \
110056 lt_prog_compiler_wl_CXX \
110057 lt_prog_compiler_pic_CXX \
110058 lt_prog_compiler_static_CXX \
110059 lt_cv_prog_compiler_c_o_CXX \
110060 export_dynamic_flag_spec_CXX \
110061 whole_archive_flag_spec_CXX \
110062 compiler_needs_object_CXX \
110063 with_gnu_ld_CXX \
110064 allow_undefined_flag_CXX \
110065 no_undefined_flag_CXX \
110066 hardcode_libdir_flag_spec_CXX \
110067 hardcode_libdir_flag_spec_ld_CXX \
110068 hardcode_libdir_separator_CXX \
110069 fix_srcfile_path_CXX \
110070 exclude_expsyms_CXX \
110071 include_expsyms_CXX \
110072 file_list_spec_CXX \
110073 compiler_lib_search_dirs_CXX \
110074 predep_objects_CXX \
110075 postdep_objects_CXX \
110076 predeps_CXX \
110077 postdeps_CXX \
110078 compiler_lib_search_path_CXX; do
110079 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
110080 *[\\\\\\\`\\"\\\$]*)
110081 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
110084 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
110089 # Double-quote double-evaled strings.
110090 for var in reload_cmds \
110091 old_postinstall_cmds \
110092 old_postuninstall_cmds \
110093 old_archive_cmds \
110094 extract_expsyms_cmds \
110095 old_archive_from_new_cmds \
110096 old_archive_from_expsyms_cmds \
110097 archive_cmds \
110098 archive_expsym_cmds \
110099 module_cmds \
110100 module_expsym_cmds \
110101 export_symbols_cmds \
110102 prelink_cmds \
110103 postinstall_cmds \
110104 postuninstall_cmds \
110105 finish_cmds \
110106 sys_lib_search_path_spec \
110107 sys_lib_dlsearch_path_spec \
110108 old_archive_cmds_CXX \
110109 old_archive_from_new_cmds_CXX \
110110 old_archive_from_expsyms_cmds_CXX \
110111 archive_cmds_CXX \
110112 archive_expsym_cmds_CXX \
110113 module_cmds_CXX \
110114 module_expsym_cmds_CXX \
110115 export_symbols_cmds_CXX \
110116 prelink_cmds_CXX; do
110117 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
110118 *[\\\\\\\`\\"\\\$]*)
110119 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
110122 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
110127 # Fix-up fallback echo if it was mangled by the above quoting rules.
110128 case \$lt_ECHO in
110129 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
110133 ac_aux_dir='$ac_aux_dir'
110134 xsi_shell='$xsi_shell'
110135 lt_shell_append='$lt_shell_append'
110137 # See if we are running on zsh, and set the options which allow our
110138 # commands through without removal of \ escapes INIT.
110139 if test -n "\${ZSH_VERSION+set}" ; then
110140 setopt NO_GLOB_SUBST
110144 PACKAGE='$PACKAGE'
110145 VERSION='$VERSION'
110146 TIMESTAMP='$TIMESTAMP'
110147 RM='$RM'
110148 ofile='$ofile'
110155 GCC="$GCC"
110156 CC="$CC"
110157 acx_cv_header_stdint="$acx_cv_header_stdint"
110158 acx_cv_type_int8_t="$acx_cv_type_int8_t"
110159 acx_cv_type_int16_t="$acx_cv_type_int16_t"
110160 acx_cv_type_int32_t="$acx_cv_type_int32_t"
110161 acx_cv_type_int64_t="$acx_cv_type_int64_t"
110162 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
110163 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
110164 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
110165 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
110166 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
110167 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
110168 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
110169 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
110170 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
110173 # Variables needed in config.status (file generation) which aren't already
110174 # passed by autoconf.
110175 SUBDIRS="$SUBDIRS"
110178 _ACEOF
110182 cat >>$CONFIG_STATUS <<\_ACEOF
110183 for ac_config_target in $ac_config_targets
110185 case "$ac_config_target" in
110186 # Handling of arguments.
110187 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
110188 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
110189 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
110190 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
110191 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
110192 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
110193 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
110194 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
110195 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
110196 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
110197 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
110198 "include/gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
110199 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
110200 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
110201 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
110202 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
110203 { (exit 1); exit 1; }; };;
110207 # If the user did not use the arguments to specify the items to instantiate,
110208 # then the envvar interface is used. Set only those that are not.
110209 # We use the long form for the default assignment because of an extremely
110210 # bizarre bug on SunOS 4.1.3.
110211 if $ac_need_defaults; then
110212 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
110213 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
110214 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
110217 # Have a temporary directory for convenience. Make it in the build tree
110218 # simply because there is no reason to put it here, and in addition,
110219 # creating and moving files from /tmp can sometimes cause problems.
110220 # Create a temporary directory, and hook for its removal unless debugging.
110221 $debug ||
110223 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
110224 trap '{ (exit 1); exit 1; }' 1 2 13 15
110227 # Create a (secure) tmp directory for tmp files.
110230 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
110231 test -n "$tmp" && test -d "$tmp"
110234 tmp=./confstat$$-$RANDOM
110235 (umask 077 && mkdir $tmp)
110238 echo "$me: cannot create a temporary directory in ." >&2
110239 { (exit 1); exit 1; }
110242 _ACEOF
110244 cat >>$CONFIG_STATUS <<_ACEOF
110247 # CONFIG_FILES section.
110250 # No need to generate the scripts if there are no CONFIG_FILES.
110251 # This happens for instance when ./config.status config.h
110252 if test -n "\$CONFIG_FILES"; then
110253 # Protect against being on the right side of a sed subst in config.status.
110254 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
110255 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
110256 s,@SHELL@,$SHELL,;t t
110257 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
110258 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
110259 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
110260 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
110261 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
110262 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
110263 s,@exec_prefix@,$exec_prefix,;t t
110264 s,@prefix@,$prefix,;t t
110265 s,@program_transform_name@,$program_transform_name,;t t
110266 s,@bindir@,$bindir,;t t
110267 s,@sbindir@,$sbindir,;t t
110268 s,@libexecdir@,$libexecdir,;t t
110269 s,@datadir@,$datadir,;t t
110270 s,@sysconfdir@,$sysconfdir,;t t
110271 s,@sharedstatedir@,$sharedstatedir,;t t
110272 s,@localstatedir@,$localstatedir,;t t
110273 s,@libdir@,$libdir,;t t
110274 s,@includedir@,$includedir,;t t
110275 s,@oldincludedir@,$oldincludedir,;t t
110276 s,@infodir@,$infodir,;t t
110277 s,@mandir@,$mandir,;t t
110278 s,@build_alias@,$build_alias,;t t
110279 s,@host_alias@,$host_alias,;t t
110280 s,@target_alias@,$target_alias,;t t
110281 s,@DEFS@,$DEFS,;t t
110282 s,@ECHO_C@,$ECHO_C,;t t
110283 s,@ECHO_N@,$ECHO_N,;t t
110284 s,@ECHO_T@,$ECHO_T,;t t
110285 s,@LIBS@,$LIBS,;t t
110286 s,@libtool_VERSION@,$libtool_VERSION,;t t
110287 s,@multi_basedir@,$multi_basedir,;t t
110288 s,@build@,$build,;t t
110289 s,@build_cpu@,$build_cpu,;t t
110290 s,@build_vendor@,$build_vendor,;t t
110291 s,@build_os@,$build_os,;t t
110292 s,@host@,$host,;t t
110293 s,@host_cpu@,$host_cpu,;t t
110294 s,@host_vendor@,$host_vendor,;t t
110295 s,@host_os@,$host_os,;t t
110296 s,@target@,$target,;t t
110297 s,@target_cpu@,$target_cpu,;t t
110298 s,@target_vendor@,$target_vendor,;t t
110299 s,@target_os@,$target_os,;t t
110300 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
110301 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
110302 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
110303 s,@CYGPATH_W@,$CYGPATH_W,;t t
110304 s,@PACKAGE@,$PACKAGE,;t t
110305 s,@VERSION@,$VERSION,;t t
110306 s,@ACLOCAL@,$ACLOCAL,;t t
110307 s,@AUTOCONF@,$AUTOCONF,;t t
110308 s,@AUTOMAKE@,$AUTOMAKE,;t t
110309 s,@AUTOHEADER@,$AUTOHEADER,;t t
110310 s,@MAKEINFO@,$MAKEINFO,;t t
110311 s,@install_sh@,$install_sh,;t t
110312 s,@STRIP@,$STRIP,;t t
110313 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
110314 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
110315 s,@mkdir_p@,$mkdir_p,;t t
110316 s,@AWK@,$AWK,;t t
110317 s,@SET_MAKE@,$SET_MAKE,;t t
110318 s,@am__leading_dot@,$am__leading_dot,;t t
110319 s,@AMTAR@,$AMTAR,;t t
110320 s,@am__tar@,$am__tar,;t t
110321 s,@am__untar@,$am__untar,;t t
110322 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
110323 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
110324 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
110325 s,@CC@,$CC,;t t
110326 s,@ac_ct_CC@,$ac_ct_CC,;t t
110327 s,@EXEEXT@,$EXEEXT,;t t
110328 s,@OBJEXT@,$OBJEXT,;t t
110329 s,@CXX@,$CXX,;t t
110330 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
110331 s,@CFLAGS@,$CFLAGS,;t t
110332 s,@CXXFLAGS@,$CXXFLAGS,;t t
110333 s,@LN_S@,$LN_S,;t t
110334 s,@AS@,$AS,;t t
110335 s,@ac_ct_AS@,$ac_ct_AS,;t t
110336 s,@AR@,$AR,;t t
110337 s,@ac_ct_AR@,$ac_ct_AR,;t t
110338 s,@RANLIB@,$RANLIB,;t t
110339 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
110340 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
110341 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
110342 s,@MAINT@,$MAINT,;t t
110343 s,@CPP@,$CPP,;t t
110344 s,@CPPFLAGS@,$CPPFLAGS,;t t
110345 s,@EGREP@,$EGREP,;t t
110346 s,@LIBTOOL@,$LIBTOOL,;t t
110347 s,@SED@,$SED,;t t
110348 s,@FGREP@,$FGREP,;t t
110349 s,@GREP@,$GREP,;t t
110350 s,@LD@,$LD,;t t
110351 s,@DUMPBIN@,$DUMPBIN,;t t
110352 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
110353 s,@NM@,$NM,;t t
110354 s,@OBJDUMP@,$OBJDUMP,;t t
110355 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
110356 s,@lt_ECHO@,$lt_ECHO,;t t
110357 s,@DSYMUTIL@,$DSYMUTIL,;t t
110358 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
110359 s,@NMEDIT@,$NMEDIT,;t t
110360 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
110361 s,@LIPO@,$LIPO,;t t
110362 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
110363 s,@OTOOL@,$OTOOL,;t t
110364 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
110365 s,@OTOOL64@,$OTOOL64,;t t
110366 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
110367 s,@LDFLAGS@,$LDFLAGS,;t t
110368 s,@CXXCPP@,$CXXCPP,;t t
110369 s,@enable_shared@,$enable_shared,;t t
110370 s,@enable_static@,$enable_static,;t t
110371 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
110372 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
110373 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
110374 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
110375 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
110376 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
110377 s,@WERROR@,$WERROR,;t t
110378 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
110379 s,@CSTDIO_H@,$CSTDIO_H,;t t
110380 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
110381 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
110382 s,@check_msgfmt@,$check_msgfmt,;t t
110383 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
110384 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
110385 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
110386 s,@USE_NLS@,$USE_NLS,;t t
110387 s,@CLOCALE_H@,$CLOCALE_H,;t t
110388 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
110389 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
110390 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
110391 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
110392 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
110393 s,@CMONEY_CC@,$CMONEY_CC,;t t
110394 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
110395 s,@CTIME_H@,$CTIME_H,;t t
110396 s,@CTIME_CC@,$CTIME_CC,;t t
110397 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
110398 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
110399 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
110400 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
110401 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
110402 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
110403 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
110404 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
110405 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
110406 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
110407 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
110408 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
110409 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
110410 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
110411 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
110412 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
110413 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
110414 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
110415 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
110416 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
110417 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
110418 s,@GLIBCXX_LIBS@,$GLIBCXX_LIBS,;t t
110419 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
110420 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
110421 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
110422 s,@LIBICONV@,$LIBICONV,;t t
110423 s,@LTLIBICONV@,$LTLIBICONV,;t t
110424 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
110425 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
110426 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
110427 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
110428 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
110429 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
110430 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
110431 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
110432 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
110433 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
110434 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
110435 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
110436 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
110437 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
110438 s,@baseline_dir@,$baseline_dir,;t t
110439 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
110440 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
110441 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
110442 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
110443 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
110444 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
110445 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
110446 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
110447 s,@gxx_include_dir@,$gxx_include_dir,;t t
110448 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
110449 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
110450 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
110451 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
110452 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
110453 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
110454 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
110455 s,@LIBOBJS@,$LIBOBJS,;t t
110456 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
110459 _ACEOF
110461 cat >>$CONFIG_STATUS <<\_ACEOF
110462 # Split the substitutions into bite-sized pieces for seds with
110463 # small command number limits, like on Digital OSF/1 and HP-UX.
110464 ac_max_sed_lines=48
110465 ac_sed_frag=1 # Number of current file.
110466 ac_beg=1 # First line for current file.
110467 ac_end=$ac_max_sed_lines # Line after last line for current file.
110468 ac_more_lines=:
110469 ac_sed_cmds=
110470 while $ac_more_lines; do
110471 if test $ac_beg -gt 1; then
110472 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
110474 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
110476 if test ! -s $tmp/subs.frag; then
110477 ac_more_lines=false
110479 # The purpose of the label and of the branching condition is to
110480 # speed up the sed processing (if there are no `@' at all, there
110481 # is no need to browse any of the substitutions).
110482 # These are the two extra sed commands mentioned above.
110483 (echo ':t
110484 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
110485 if test -z "$ac_sed_cmds"; then
110486 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
110488 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
110490 ac_sed_frag=`expr $ac_sed_frag + 1`
110491 ac_beg=$ac_end
110492 ac_end=`expr $ac_end + $ac_max_sed_lines`
110495 if test -z "$ac_sed_cmds"; then
110496 ac_sed_cmds=cat
110498 fi # test -n "$CONFIG_FILES"
110500 _ACEOF
110501 cat >>$CONFIG_STATUS <<\_ACEOF
110502 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
110503 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
110504 case $ac_file in
110505 - | *:- | *:-:* ) # input from stdin
110506 cat >$tmp/stdin
110507 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
110508 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
110509 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
110510 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
110511 * ) ac_file_in=$ac_file.in ;;
110514 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
110515 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
110516 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110517 X"$ac_file" : 'X\(//\)[^/]' \| \
110518 X"$ac_file" : 'X\(//\)$' \| \
110519 X"$ac_file" : 'X\(/\)' \| \
110520 . : '\(.\)' 2>/dev/null ||
110521 echo X"$ac_file" |
110522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110523 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110524 /^X\(\/\/\)$/{ s//\1/; q; }
110525 /^X\(\/\).*/{ s//\1/; q; }
110526 s/.*/./; q'`
110527 { if $as_mkdir_p; then
110528 mkdir -p "$ac_dir"
110530 as_dir="$ac_dir"
110531 as_dirs=
110532 while test ! -d "$as_dir"; do
110533 as_dirs="$as_dir $as_dirs"
110534 as_dir=`(dirname "$as_dir") 2>/dev/null ||
110535 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110536 X"$as_dir" : 'X\(//\)[^/]' \| \
110537 X"$as_dir" : 'X\(//\)$' \| \
110538 X"$as_dir" : 'X\(/\)' \| \
110539 . : '\(.\)' 2>/dev/null ||
110540 echo X"$as_dir" |
110541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110542 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110543 /^X\(\/\/\)$/{ s//\1/; q; }
110544 /^X\(\/\).*/{ s//\1/; q; }
110545 s/.*/./; q'`
110547 test ! -n "$as_dirs" || mkdir $as_dirs
110548 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
110549 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
110550 { (exit 1); exit 1; }; }; }
110552 ac_builddir=.
110554 if test "$ac_dir" != .; then
110555 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
110556 # A "../" for each directory in $ac_dir_suffix.
110557 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
110559 ac_dir_suffix= ac_top_builddir=
110562 case $srcdir in
110563 .) # No --srcdir option. We are building in place.
110564 ac_srcdir=.
110565 if test -z "$ac_top_builddir"; then
110566 ac_top_srcdir=.
110568 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
110569 fi ;;
110570 [\\/]* | ?:[\\/]* ) # Absolute path.
110571 ac_srcdir=$srcdir$ac_dir_suffix;
110572 ac_top_srcdir=$srcdir ;;
110573 *) # Relative path.
110574 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
110575 ac_top_srcdir=$ac_top_builddir$srcdir ;;
110578 # Do not use `cd foo && pwd` to compute absolute paths, because
110579 # the directories may not exist.
110580 case `pwd` in
110581 .) ac_abs_builddir="$ac_dir";;
110583 case "$ac_dir" in
110584 .) ac_abs_builddir=`pwd`;;
110585 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
110586 *) ac_abs_builddir=`pwd`/"$ac_dir";;
110587 esac;;
110589 case $ac_abs_builddir in
110590 .) ac_abs_top_builddir=${ac_top_builddir}.;;
110592 case ${ac_top_builddir}. in
110593 .) ac_abs_top_builddir=$ac_abs_builddir;;
110594 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
110595 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
110596 esac;;
110598 case $ac_abs_builddir in
110599 .) ac_abs_srcdir=$ac_srcdir;;
110601 case $ac_srcdir in
110602 .) ac_abs_srcdir=$ac_abs_builddir;;
110603 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
110604 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
110605 esac;;
110607 case $ac_abs_builddir in
110608 .) ac_abs_top_srcdir=$ac_top_srcdir;;
110610 case $ac_top_srcdir in
110611 .) ac_abs_top_srcdir=$ac_abs_builddir;;
110612 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
110613 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
110614 esac;;
110618 case $INSTALL in
110619 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
110620 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
110623 if test x"$ac_file" != x-; then
110624 { echo "$as_me:$LINENO: creating $ac_file" >&5
110625 echo "$as_me: creating $ac_file" >&6;}
110626 rm -f "$ac_file"
110628 # Let's still pretend it is `configure' which instantiates (i.e., don't
110629 # use $as_me), people would be surprised to read:
110630 # /* config.h. Generated by config.status. */
110631 if test x"$ac_file" = x-; then
110632 configure_input=
110634 configure_input="$ac_file. "
110636 configure_input=$configure_input"Generated from `echo $ac_file_in |
110637 sed 's,.*/,,'` by configure."
110639 # First look for the input files in the build tree, otherwise in the
110640 # src tree.
110641 ac_file_inputs=`IFS=:
110642 for f in $ac_file_in; do
110643 case $f in
110644 -) echo $tmp/stdin ;;
110645 [\\/$]*)
110646 # Absolute (can't be DOS-style, as IFS=:)
110647 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
110648 echo "$as_me: error: cannot find input file: $f" >&2;}
110649 { (exit 1); exit 1; }; }
110650 echo "$f";;
110651 *) # Relative
110652 if test -f "$f"; then
110653 # Build tree
110654 echo "$f"
110655 elif test -f "$srcdir/$f"; then
110656 # Source tree
110657 echo "$srcdir/$f"
110659 # /dev/null tree
110660 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
110661 echo "$as_me: error: cannot find input file: $f" >&2;}
110662 { (exit 1); exit 1; }; }
110665 done` || { (exit 1); exit 1; }
110666 _ACEOF
110667 cat >>$CONFIG_STATUS <<_ACEOF
110668 sed "$ac_vpsub
110669 $extrasub
110670 _ACEOF
110671 cat >>$CONFIG_STATUS <<\_ACEOF
110673 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
110674 s,@configure_input@,$configure_input,;t t
110675 s,@srcdir@,$ac_srcdir,;t t
110676 s,@abs_srcdir@,$ac_abs_srcdir,;t t
110677 s,@top_srcdir@,$ac_top_srcdir,;t t
110678 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
110679 s,@builddir@,$ac_builddir,;t t
110680 s,@abs_builddir@,$ac_abs_builddir,;t t
110681 s,@top_builddir@,$ac_top_builddir,;t t
110682 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
110683 s,@INSTALL@,$ac_INSTALL,;t t
110684 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
110685 rm -f $tmp/stdin
110686 if test x"$ac_file" != x-; then
110687 mv $tmp/out $ac_file
110689 cat $tmp/out
110690 rm -f $tmp/out
110693 # Run the commands associated with the file.
110694 case $ac_file in
110695 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
110698 _ACEOF
110699 cat >>$CONFIG_STATUS <<\_ACEOF
110702 # CONFIG_HEADER section.
110705 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
110706 # NAME is the cpp macro being defined and VALUE is the value it is being given.
110708 # ac_d sets the value in "#define NAME VALUE" lines.
110709 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
110710 ac_dB='[ ].*$,\1#\2'
110711 ac_dC=' '
110712 ac_dD=',;t'
110713 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
110714 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
110715 ac_uB='$,\1#\2define\3'
110716 ac_uC=' '
110717 ac_uD=',;t'
110719 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
110720 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
110721 case $ac_file in
110722 - | *:- | *:-:* ) # input from stdin
110723 cat >$tmp/stdin
110724 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
110725 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
110726 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
110727 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
110728 * ) ac_file_in=$ac_file.in ;;
110731 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
110732 echo "$as_me: creating $ac_file" >&6;}
110734 # First look for the input files in the build tree, otherwise in the
110735 # src tree.
110736 ac_file_inputs=`IFS=:
110737 for f in $ac_file_in; do
110738 case $f in
110739 -) echo $tmp/stdin ;;
110740 [\\/$]*)
110741 # Absolute (can't be DOS-style, as IFS=:)
110742 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
110743 echo "$as_me: error: cannot find input file: $f" >&2;}
110744 { (exit 1); exit 1; }; }
110745 # Do quote $f, to prevent DOS paths from being IFS'd.
110746 echo "$f";;
110747 *) # Relative
110748 if test -f "$f"; then
110749 # Build tree
110750 echo "$f"
110751 elif test -f "$srcdir/$f"; then
110752 # Source tree
110753 echo "$srcdir/$f"
110755 # /dev/null tree
110756 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
110757 echo "$as_me: error: cannot find input file: $f" >&2;}
110758 { (exit 1); exit 1; }; }
110761 done` || { (exit 1); exit 1; }
110762 # Remove the trailing spaces.
110763 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
110765 _ACEOF
110767 # Transform confdefs.h into two sed scripts, `conftest.defines' and
110768 # `conftest.undefs', that substitutes the proper values into
110769 # config.h.in to produce config.h. The first handles `#define'
110770 # templates, and the second `#undef' templates.
110771 # And first: Protect against being on the right side of a sed subst in
110772 # config.status. Protect against being in an unquoted here document
110773 # in config.status.
110774 rm -f conftest.defines conftest.undefs
110775 # Using a here document instead of a string reduces the quoting nightmare.
110776 # Putting comments in sed scripts is not portable.
110778 # `end' is used to avoid that the second main sed command (meant for
110779 # 0-ary CPP macros) applies to n-ary macro definitions.
110780 # See the Autoconf documentation for `clear'.
110781 cat >confdef2sed.sed <<\_ACEOF
110782 s/[\\&,]/\\&/g
110783 s,[\\$`],\\&,g
110784 t clear
110785 : clear
110786 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
110787 t end
110788 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
110789 : end
110790 _ACEOF
110791 # If some macros were called several times there might be several times
110792 # the same #defines, which is useless. Nevertheless, we may not want to
110793 # sort them, since we want the *last* AC-DEFINE to be honored.
110794 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
110795 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
110796 rm -f confdef2sed.sed
110798 # This sed command replaces #undef with comments. This is necessary, for
110799 # example, in the case of _POSIX_SOURCE, which is predefined and required
110800 # on some systems where configure will not decide to define it.
110801 cat >>conftest.undefs <<\_ACEOF
110802 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
110803 _ACEOF
110805 # Break up conftest.defines because some shells have a limit on the size
110806 # of here documents, and old seds have small limits too (100 cmds).
110807 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
110808 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
110809 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
110810 echo ' :' >>$CONFIG_STATUS
110811 rm -f conftest.tail
110812 while grep . conftest.defines >/dev/null
110814 # Write a limited-size here document to $tmp/defines.sed.
110815 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
110816 # Speed up: don't consider the non `#define' lines.
110817 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
110818 # Work around the forget-to-reset-the-flag bug.
110819 echo 't clr' >>$CONFIG_STATUS
110820 echo ': clr' >>$CONFIG_STATUS
110821 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
110822 echo 'CEOF
110823 sed -f $tmp/defines.sed $tmp/in >$tmp/out
110824 rm -f $tmp/in
110825 mv $tmp/out $tmp/in
110826 ' >>$CONFIG_STATUS
110827 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
110828 rm -f conftest.defines
110829 mv conftest.tail conftest.defines
110831 rm -f conftest.defines
110832 echo ' fi # grep' >>$CONFIG_STATUS
110833 echo >>$CONFIG_STATUS
110835 # Break up conftest.undefs because some shells have a limit on the size
110836 # of here documents, and old seds have small limits too (100 cmds).
110837 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
110838 rm -f conftest.tail
110839 while grep . conftest.undefs >/dev/null
110841 # Write a limited-size here document to $tmp/undefs.sed.
110842 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
110843 # Speed up: don't consider the non `#undef'
110844 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
110845 # Work around the forget-to-reset-the-flag bug.
110846 echo 't clr' >>$CONFIG_STATUS
110847 echo ': clr' >>$CONFIG_STATUS
110848 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
110849 echo 'CEOF
110850 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
110851 rm -f $tmp/in
110852 mv $tmp/out $tmp/in
110853 ' >>$CONFIG_STATUS
110854 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
110855 rm -f conftest.undefs
110856 mv conftest.tail conftest.undefs
110858 rm -f conftest.undefs
110860 cat >>$CONFIG_STATUS <<\_ACEOF
110861 # Let's still pretend it is `configure' which instantiates (i.e., don't
110862 # use $as_me), people would be surprised to read:
110863 # /* config.h. Generated by config.status. */
110864 if test x"$ac_file" = x-; then
110865 echo "/* Generated by configure. */" >$tmp/config.h
110867 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
110869 cat $tmp/in >>$tmp/config.h
110870 rm -f $tmp/in
110871 if test x"$ac_file" != x-; then
110872 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
110873 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
110874 echo "$as_me: $ac_file is unchanged" >&6;}
110876 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
110877 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110878 X"$ac_file" : 'X\(//\)[^/]' \| \
110879 X"$ac_file" : 'X\(//\)$' \| \
110880 X"$ac_file" : 'X\(/\)' \| \
110881 . : '\(.\)' 2>/dev/null ||
110882 echo X"$ac_file" |
110883 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110884 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110885 /^X\(\/\/\)$/{ s//\1/; q; }
110886 /^X\(\/\).*/{ s//\1/; q; }
110887 s/.*/./; q'`
110888 { if $as_mkdir_p; then
110889 mkdir -p "$ac_dir"
110891 as_dir="$ac_dir"
110892 as_dirs=
110893 while test ! -d "$as_dir"; do
110894 as_dirs="$as_dir $as_dirs"
110895 as_dir=`(dirname "$as_dir") 2>/dev/null ||
110896 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110897 X"$as_dir" : 'X\(//\)[^/]' \| \
110898 X"$as_dir" : 'X\(//\)$' \| \
110899 X"$as_dir" : 'X\(/\)' \| \
110900 . : '\(.\)' 2>/dev/null ||
110901 echo X"$as_dir" |
110902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110903 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110904 /^X\(\/\/\)$/{ s//\1/; q; }
110905 /^X\(\/\).*/{ s//\1/; q; }
110906 s/.*/./; q'`
110908 test ! -n "$as_dirs" || mkdir $as_dirs
110909 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
110910 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
110911 { (exit 1); exit 1; }; }; }
110913 rm -f $ac_file
110914 mv $tmp/config.h $ac_file
110917 cat $tmp/config.h
110918 rm -f $tmp/config.h
110920 # Compute $ac_file's index in $config_headers.
110921 _am_stamp_count=1
110922 for _am_header in $config_headers :; do
110923 case $_am_header in
110924 $ac_file | $ac_file:* )
110925 break ;;
110927 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
110930 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
110931 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110932 X$ac_file : 'X\(//\)[^/]' \| \
110933 X$ac_file : 'X\(//\)$' \| \
110934 X$ac_file : 'X\(/\)' \| \
110935 . : '\(.\)' 2>/dev/null ||
110936 echo X$ac_file |
110937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110938 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110939 /^X\(\/\/\)$/{ s//\1/; q; }
110940 /^X\(\/\).*/{ s//\1/; q; }
110941 s/.*/./; q'`/stamp-h$_am_stamp_count
110943 _ACEOF
110944 cat >>$CONFIG_STATUS <<\_ACEOF
110947 # CONFIG_COMMANDS section.
110949 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
110950 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
110951 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
110952 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
110953 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110954 X"$ac_dest" : 'X\(//\)[^/]' \| \
110955 X"$ac_dest" : 'X\(//\)$' \| \
110956 X"$ac_dest" : 'X\(/\)' \| \
110957 . : '\(.\)' 2>/dev/null ||
110958 echo X"$ac_dest" |
110959 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110960 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110961 /^X\(\/\/\)$/{ s//\1/; q; }
110962 /^X\(\/\).*/{ s//\1/; q; }
110963 s/.*/./; q'`
110964 { if $as_mkdir_p; then
110965 mkdir -p "$ac_dir"
110967 as_dir="$ac_dir"
110968 as_dirs=
110969 while test ! -d "$as_dir"; do
110970 as_dirs="$as_dir $as_dirs"
110971 as_dir=`(dirname "$as_dir") 2>/dev/null ||
110972 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110973 X"$as_dir" : 'X\(//\)[^/]' \| \
110974 X"$as_dir" : 'X\(//\)$' \| \
110975 X"$as_dir" : 'X\(/\)' \| \
110976 . : '\(.\)' 2>/dev/null ||
110977 echo X"$as_dir" |
110978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110979 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110980 /^X\(\/\/\)$/{ s//\1/; q; }
110981 /^X\(\/\).*/{ s//\1/; q; }
110982 s/.*/./; q'`
110984 test ! -n "$as_dirs" || mkdir $as_dirs
110985 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
110986 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
110987 { (exit 1); exit 1; }; }; }
110989 ac_builddir=.
110991 if test "$ac_dir" != .; then
110992 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
110993 # A "../" for each directory in $ac_dir_suffix.
110994 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
110996 ac_dir_suffix= ac_top_builddir=
110999 case $srcdir in
111000 .) # No --srcdir option. We are building in place.
111001 ac_srcdir=.
111002 if test -z "$ac_top_builddir"; then
111003 ac_top_srcdir=.
111005 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111006 fi ;;
111007 [\\/]* | ?:[\\/]* ) # Absolute path.
111008 ac_srcdir=$srcdir$ac_dir_suffix;
111009 ac_top_srcdir=$srcdir ;;
111010 *) # Relative path.
111011 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111012 ac_top_srcdir=$ac_top_builddir$srcdir ;;
111015 # Do not use `cd foo && pwd` to compute absolute paths, because
111016 # the directories may not exist.
111017 case `pwd` in
111018 .) ac_abs_builddir="$ac_dir";;
111020 case "$ac_dir" in
111021 .) ac_abs_builddir=`pwd`;;
111022 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111023 *) ac_abs_builddir=`pwd`/"$ac_dir";;
111024 esac;;
111026 case $ac_abs_builddir in
111027 .) ac_abs_top_builddir=${ac_top_builddir}.;;
111029 case ${ac_top_builddir}. in
111030 .) ac_abs_top_builddir=$ac_abs_builddir;;
111031 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111032 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111033 esac;;
111035 case $ac_abs_builddir in
111036 .) ac_abs_srcdir=$ac_srcdir;;
111038 case $ac_srcdir in
111039 .) ac_abs_srcdir=$ac_abs_builddir;;
111040 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111041 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111042 esac;;
111044 case $ac_abs_builddir in
111045 .) ac_abs_top_srcdir=$ac_top_srcdir;;
111047 case $ac_top_srcdir in
111048 .) ac_abs_top_srcdir=$ac_abs_builddir;;
111049 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111050 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111051 esac;;
111055 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
111056 echo "$as_me: executing $ac_dest commands" >&6;}
111057 case $ac_dest in
111058 default-1 )
111059 # Only add multilib support code if we just rebuilt the top-level
111060 # Makefile.
111061 case " $CONFIG_FILES " in
111062 *" Makefile "*)
111063 ac_file=Makefile . ${multi_basedir}/config-ml.in
111065 esac ;;
111066 libtool )
111068 # See if we are running on zsh, and set the options which allow our
111069 # commands through without removal of \ escapes.
111070 if test -n "${ZSH_VERSION+set}" ; then
111071 setopt NO_GLOB_SUBST
111074 cfgfile="${ofile}T"
111075 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
111076 $RM "$cfgfile"
111078 cat <<_LT_EOF >> "$cfgfile"
111079 #! $SHELL
111081 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
111082 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
111083 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
111084 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
111086 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
111087 # 2006, 2007, 2008 Free Software Foundation, Inc.
111088 # Written by Gordon Matzigkeit, 1996
111090 # This file is part of GNU Libtool.
111092 # GNU Libtool is free software; you can redistribute it and/or
111093 # modify it under the terms of the GNU General Public License as
111094 # published by the Free Software Foundation; either version 2 of
111095 # the License, or (at your option) any later version.
111097 # As a special exception to the GNU General Public License,
111098 # if you distribute this file as part of a program or library that
111099 # is built using GNU Libtool, you may include this file under the
111100 # same distribution terms that you use for the rest of that program.
111102 # GNU Libtool is distributed in the hope that it will be useful,
111103 # but WITHOUT ANY WARRANTY; without even the implied warranty of
111104 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
111105 # GNU General Public License for more details.
111107 # You should have received a copy of the GNU General Public License
111108 # along with GNU Libtool; see the file COPYING. If not, a copy
111109 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
111110 # obtained by writing to the Free Software Foundation, Inc.,
111111 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
111114 # The names of the tagged configurations supported by this script.
111115 available_tags="CXX "
111117 # ### BEGIN LIBTOOL CONFIG
111119 # Which release of libtool.m4 was used?
111120 macro_version=$macro_version
111121 macro_revision=$macro_revision
111123 # Whether or not to build shared libraries.
111124 build_libtool_libs=$enable_shared
111126 # Whether or not to build static libraries.
111127 build_old_libs=$enable_static
111129 # What type of objects to build.
111130 pic_mode=$pic_mode
111132 # Whether or not to optimize for fast installation.
111133 fast_install=$enable_fast_install
111135 # The host system.
111136 host_alias=$host_alias
111137 host=$host
111138 host_os=$host_os
111140 # The build system.
111141 build_alias=$build_alias
111142 build=$build
111143 build_os=$build_os
111145 # A sed program that does not truncate output.
111146 SED=$lt_SED
111148 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
111149 Xsed="\$SED -e 1s/^X//"
111151 # A grep program that handles long lines.
111152 GREP=$lt_GREP
111154 # An ERE matcher.
111155 EGREP=$lt_EGREP
111157 # A literal string matcher.
111158 FGREP=$lt_FGREP
111160 # A BSD- or MS-compatible name lister.
111161 NM=$lt_NM
111163 # Whether we need soft or hard links.
111164 LN_S=$lt_LN_S
111166 # What is the maximum length of a command?
111167 max_cmd_len=$max_cmd_len
111169 # Object file suffix (normally "o").
111170 objext=$ac_objext
111172 # Executable file suffix (normally "").
111173 exeext=$exeext
111175 # whether the shell understands "unset".
111176 lt_unset=$lt_unset
111178 # turn spaces into newlines.
111179 SP2NL=$lt_lt_SP2NL
111181 # turn newlines into spaces.
111182 NL2SP=$lt_lt_NL2SP
111184 # How to create reloadable object files.
111185 reload_flag=$lt_reload_flag
111186 reload_cmds=$lt_reload_cmds
111188 # An object symbol dumper.
111189 OBJDUMP=$lt_OBJDUMP
111191 # Method to check whether dependent libraries are shared objects.
111192 deplibs_check_method=$lt_deplibs_check_method
111194 # Command to use when deplibs_check_method == "file_magic".
111195 file_magic_cmd=$lt_file_magic_cmd
111197 # The archiver.
111198 AR=$lt_AR
111199 AR_FLAGS=$lt_AR_FLAGS
111201 # A symbol stripping program.
111202 STRIP=$lt_STRIP
111204 # Commands used to install an old-style archive.
111205 RANLIB=$lt_RANLIB
111206 old_postinstall_cmds=$lt_old_postinstall_cmds
111207 old_postuninstall_cmds=$lt_old_postuninstall_cmds
111209 # A C compiler.
111210 LTCC=$lt_CC
111212 # LTCC compiler flags.
111213 LTCFLAGS=$lt_CFLAGS
111215 # Take the output of nm and produce a listing of raw symbols and C names.
111216 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
111218 # Transform the output of nm in a proper C declaration.
111219 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
111221 # Transform the output of nm in a C name address pair.
111222 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
111224 # Transform the output of nm in a C name address pair when lib prefix is needed.
111225 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
111227 # The name of the directory that contains temporary libtool files.
111228 objdir=$objdir
111230 # Shell to use when invoking shell scripts.
111231 SHELL=$lt_SHELL
111233 # An echo program that does not interpret backslashes.
111234 ECHO=$lt_ECHO
111236 # Used to examine libraries when file_magic_cmd begins with "file".
111237 MAGIC_CMD=$MAGIC_CMD
111239 # Must we lock files when doing compilation?
111240 need_locks=$lt_need_locks
111242 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
111243 DSYMUTIL=$lt_DSYMUTIL
111245 # Tool to change global to local symbols on Mac OS X.
111246 NMEDIT=$lt_NMEDIT
111248 # Tool to manipulate fat objects and archives on Mac OS X.
111249 LIPO=$lt_LIPO
111251 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
111252 OTOOL=$lt_OTOOL
111254 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
111255 OTOOL64=$lt_OTOOL64
111257 # Old archive suffix (normally "a").
111258 libext=$libext
111260 # Shared library suffix (normally ".so").
111261 shrext_cmds=$lt_shrext_cmds
111263 # The commands to extract the exported symbol list from a shared archive.
111264 extract_expsyms_cmds=$lt_extract_expsyms_cmds
111266 # Variables whose values should be saved in libtool wrapper scripts and
111267 # restored at link time.
111268 variables_saved_for_relink=$lt_variables_saved_for_relink
111270 # Do we need the "lib" prefix for modules?
111271 need_lib_prefix=$need_lib_prefix
111273 # Do we need a version for libraries?
111274 need_version=$need_version
111276 # Library versioning type.
111277 version_type=$version_type
111279 # Shared library runtime path variable.
111280 runpath_var=$runpath_var
111282 # Shared library path variable.
111283 shlibpath_var=$shlibpath_var
111285 # Is shlibpath searched before the hard-coded library search path?
111286 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
111288 # Format of library name prefix.
111289 libname_spec=$lt_libname_spec
111291 # List of archive names. First name is the real one, the rest are links.
111292 # The last name is the one that the linker finds with -lNAME
111293 library_names_spec=$lt_library_names_spec
111295 # The coded name of the library, if different from the real name.
111296 soname_spec=$lt_soname_spec
111298 # Command to use after installation of a shared archive.
111299 postinstall_cmds=$lt_postinstall_cmds
111301 # Command to use after uninstallation of a shared archive.
111302 postuninstall_cmds=$lt_postuninstall_cmds
111304 # Commands used to finish a libtool library installation in a directory.
111305 finish_cmds=$lt_finish_cmds
111307 # As "finish_cmds", except a single script fragment to be evaled but
111308 # not shown.
111309 finish_eval=$lt_finish_eval
111311 # Whether we should hardcode library paths into libraries.
111312 hardcode_into_libs=$hardcode_into_libs
111314 # Compile-time system search path for libraries.
111315 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
111317 # Run-time system search path for libraries.
111318 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
111320 # Whether dlopen is supported.
111321 dlopen_support=$enable_dlopen
111323 # Whether dlopen of programs is supported.
111324 dlopen_self=$enable_dlopen_self
111326 # Whether dlopen of statically linked programs is supported.
111327 dlopen_self_static=$enable_dlopen_self_static
111329 # Commands to strip libraries.
111330 old_striplib=$lt_old_striplib
111331 striplib=$lt_striplib
111334 # The linker used to build libraries.
111335 LD=$lt_LD
111337 # Commands used to build an old-style archive.
111338 old_archive_cmds=$lt_old_archive_cmds
111340 # A language specific compiler.
111341 CC=$lt_compiler
111343 # Is the compiler the GNU compiler?
111344 with_gcc=$GCC
111346 # Compiler flag to turn off builtin functions.
111347 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
111349 # How to pass a linker flag through the compiler.
111350 wl=$lt_lt_prog_compiler_wl
111352 # Additional compiler flags for building library objects.
111353 pic_flag=$lt_lt_prog_compiler_pic
111355 # Compiler flag to prevent dynamic linking.
111356 link_static_flag=$lt_lt_prog_compiler_static
111358 # Does compiler simultaneously support -c and -o options?
111359 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
111361 # Whether or not to add -lc for building shared libraries.
111362 build_libtool_need_lc=$archive_cmds_need_lc
111364 # Whether or not to disallow shared libs when runtime libs are static.
111365 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
111367 # Compiler flag to allow reflexive dlopens.
111368 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
111370 # Compiler flag to generate shared objects directly from archives.
111371 whole_archive_flag_spec=$lt_whole_archive_flag_spec
111373 # Whether the compiler copes with passing no objects directly.
111374 compiler_needs_object=$lt_compiler_needs_object
111376 # Create an old-style archive from a shared archive.
111377 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
111379 # Create a temporary old-style archive to link instead of a shared archive.
111380 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
111382 # Commands used to build a shared archive.
111383 archive_cmds=$lt_archive_cmds
111384 archive_expsym_cmds=$lt_archive_expsym_cmds
111386 # Commands used to build a loadable module if different from building
111387 # a shared archive.
111388 module_cmds=$lt_module_cmds
111389 module_expsym_cmds=$lt_module_expsym_cmds
111391 # Whether we are building with GNU ld or not.
111392 with_gnu_ld=$lt_with_gnu_ld
111394 # Flag that allows shared libraries with undefined symbols to be built.
111395 allow_undefined_flag=$lt_allow_undefined_flag
111397 # Flag that enforces no undefined symbols.
111398 no_undefined_flag=$lt_no_undefined_flag
111400 # Flag to hardcode \$libdir into a binary during linking.
111401 # This must work even if \$libdir does not exist
111402 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
111404 # If ld is used when linking, flag to hardcode \$libdir into a binary
111405 # during linking. This must work even if \$libdir does not exist.
111406 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
111408 # Whether we need a single "-rpath" flag with a separated argument.
111409 hardcode_libdir_separator=$lt_hardcode_libdir_separator
111411 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
111412 # DIR into the resulting binary.
111413 hardcode_direct=$hardcode_direct
111415 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
111416 # DIR into the resulting binary and the resulting library dependency is
111417 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
111418 # library is relocated.
111419 hardcode_direct_absolute=$hardcode_direct_absolute
111421 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
111422 # into the resulting binary.
111423 hardcode_minus_L=$hardcode_minus_L
111425 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
111426 # into the resulting binary.
111427 hardcode_shlibpath_var=$hardcode_shlibpath_var
111429 # Set to "yes" if building a shared library automatically hardcodes DIR
111430 # into the library and all subsequent libraries and executables linked
111431 # against it.
111432 hardcode_automatic=$hardcode_automatic
111434 # Set to yes if linker adds runtime paths of dependent libraries
111435 # to runtime path list.
111436 inherit_rpath=$inherit_rpath
111438 # Whether libtool must link a program against all its dependency libraries.
111439 link_all_deplibs=$link_all_deplibs
111441 # Fix the shell variable \$srcfile for the compiler.
111442 fix_srcfile_path=$lt_fix_srcfile_path
111444 # Set to "yes" if exported symbols are required.
111445 always_export_symbols=$always_export_symbols
111447 # The commands to list exported symbols.
111448 export_symbols_cmds=$lt_export_symbols_cmds
111450 # Symbols that should not be listed in the preloaded symbols.
111451 exclude_expsyms=$lt_exclude_expsyms
111453 # Symbols that must always be exported.
111454 include_expsyms=$lt_include_expsyms
111456 # Commands necessary for linking programs (against libraries) with templates.
111457 prelink_cmds=$lt_prelink_cmds
111459 # Specify filename containing input files.
111460 file_list_spec=$lt_file_list_spec
111462 # How to hardcode a shared library path into an executable.
111463 hardcode_action=$hardcode_action
111465 # The directories searched by this compiler when creating a shared library.
111466 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
111468 # Dependencies to place before and after the objects being linked to
111469 # create a shared library.
111470 predep_objects=$lt_predep_objects
111471 postdep_objects=$lt_postdep_objects
111472 predeps=$lt_predeps
111473 postdeps=$lt_postdeps
111475 # The library search path used internally by the compiler when linking
111476 # a shared library.
111477 compiler_lib_search_path=$lt_compiler_lib_search_path
111479 # ### END LIBTOOL CONFIG
111481 _LT_EOF
111483 case $host_os in
111484 aix3*)
111485 cat <<\_LT_EOF >> "$cfgfile"
111486 # AIX sometimes has problems with the GCC collect2 program. For some
111487 # reason, if we set the COLLECT_NAMES environment variable, the problems
111488 # vanish in a puff of smoke.
111489 if test "X${COLLECT_NAMES+set}" != Xset; then
111490 COLLECT_NAMES=
111491 export COLLECT_NAMES
111493 _LT_EOF
111498 ltmain="$ac_aux_dir/ltmain.sh"
111501 # We use sed instead of cat because bash on DJGPP gets confused if
111502 # if finds mixed CR/LF and LF-only lines. Since sed operates in
111503 # text mode, it properly converts lines to CR/LF. This bash problem
111504 # is reportedly fixed, but why not run on old versions too?
111505 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
111506 || (rm -f "$cfgfile"; exit 1)
111508 case $xsi_shell in
111510 cat << \_LT_EOF >> "$cfgfile"
111512 # func_dirname file append nondir_replacement
111513 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
111514 # otherwise set result to NONDIR_REPLACEMENT.
111515 func_dirname ()
111517 case ${1} in
111518 */*) func_dirname_result="${1%/*}${2}" ;;
111519 * ) func_dirname_result="${3}" ;;
111523 # func_basename file
111524 func_basename ()
111526 func_basename_result="${1##*/}"
111529 # func_dirname_and_basename file append nondir_replacement
111530 # perform func_basename and func_dirname in a single function
111531 # call:
111532 # dirname: Compute the dirname of FILE. If nonempty,
111533 # add APPEND to the result, otherwise set result
111534 # to NONDIR_REPLACEMENT.
111535 # value returned in "$func_dirname_result"
111536 # basename: Compute filename of FILE.
111537 # value retuned in "$func_basename_result"
111538 # Implementation must be kept synchronized with func_dirname
111539 # and func_basename. For efficiency, we do not delegate to
111540 # those functions but instead duplicate the functionality here.
111541 func_dirname_and_basename ()
111543 case ${1} in
111544 */*) func_dirname_result="${1%/*}${2}" ;;
111545 * ) func_dirname_result="${3}" ;;
111547 func_basename_result="${1##*/}"
111550 # func_stripname prefix suffix name
111551 # strip PREFIX and SUFFIX off of NAME.
111552 # PREFIX and SUFFIX must not contain globbing or regex special
111553 # characters, hashes, percent signs, but SUFFIX may contain a leading
111554 # dot (in which case that matches only a dot).
111555 func_stripname ()
111557 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
111558 # positional parameters, so assign one to ordinary parameter first.
111559 func_stripname_result=${3}
111560 func_stripname_result=${func_stripname_result#"${1}"}
111561 func_stripname_result=${func_stripname_result%"${2}"}
111564 # func_opt_split
111565 func_opt_split ()
111567 func_opt_split_opt=${1%%=*}
111568 func_opt_split_arg=${1#*=}
111571 # func_lo2o object
111572 func_lo2o ()
111574 case ${1} in
111575 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
111576 *) func_lo2o_result=${1} ;;
111580 # func_xform libobj-or-source
111581 func_xform ()
111583 func_xform_result=${1%.*}.lo
111586 # func_arith arithmetic-term...
111587 func_arith ()
111589 func_arith_result=$(( $* ))
111592 # func_len string
111593 # STRING may not start with a hyphen.
111594 func_len ()
111596 func_len_result=${#1}
111599 _LT_EOF
111601 *) # Bourne compatible functions.
111602 cat << \_LT_EOF >> "$cfgfile"
111604 # func_dirname file append nondir_replacement
111605 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
111606 # otherwise set result to NONDIR_REPLACEMENT.
111607 func_dirname ()
111609 # Extract subdirectory from the argument.
111610 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
111611 if test "X$func_dirname_result" = "X${1}"; then
111612 func_dirname_result="${3}"
111614 func_dirname_result="$func_dirname_result${2}"
111618 # func_basename file
111619 func_basename ()
111621 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
111625 # func_stripname prefix suffix name
111626 # strip PREFIX and SUFFIX off of NAME.
111627 # PREFIX and SUFFIX must not contain globbing or regex special
111628 # characters, hashes, percent signs, but SUFFIX may contain a leading
111629 # dot (in which case that matches only a dot).
111630 # func_strip_suffix prefix name
111631 func_stripname ()
111633 case ${2} in
111634 .*) func_stripname_result=`$ECHO "X${3}" \
111635 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
111636 *) func_stripname_result=`$ECHO "X${3}" \
111637 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
111641 # sed scripts:
111642 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
111643 my_sed_long_arg='1s/^-[^=]*=//'
111645 # func_opt_split
111646 func_opt_split ()
111648 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
111649 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
111652 # func_lo2o object
111653 func_lo2o ()
111655 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
111658 # func_xform libobj-or-source
111659 func_xform ()
111661 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
111664 # func_arith arithmetic-term...
111665 func_arith ()
111667 func_arith_result=`expr "$@"`
111670 # func_len string
111671 # STRING may not start with a hyphen.
111672 func_len ()
111674 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
111677 _LT_EOF
111680 case $lt_shell_append in
111682 cat << \_LT_EOF >> "$cfgfile"
111684 # func_append var value
111685 # Append VALUE to the end of shell variable VAR.
111686 func_append ()
111688 eval "$1+=\$2"
111690 _LT_EOF
111693 cat << \_LT_EOF >> "$cfgfile"
111695 # func_append var value
111696 # Append VALUE to the end of shell variable VAR.
111697 func_append ()
111699 eval "$1=\$$1\$2"
111702 _LT_EOF
111707 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
111708 || (rm -f "$cfgfile"; exit 1)
111710 mv -f "$cfgfile" "$ofile" ||
111711 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
111712 chmod +x "$ofile"
111715 cat <<_LT_EOF >> "$ofile"
111717 # ### BEGIN LIBTOOL TAG CONFIG: CXX
111719 # The linker used to build libraries.
111720 LD=$lt_LD_CXX
111722 # Commands used to build an old-style archive.
111723 old_archive_cmds=$lt_old_archive_cmds_CXX
111725 # A language specific compiler.
111726 CC=$lt_compiler_CXX
111728 # Is the compiler the GNU compiler?
111729 with_gcc=$GCC_CXX
111731 # Compiler flag to turn off builtin functions.
111732 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
111734 # How to pass a linker flag through the compiler.
111735 wl=$lt_lt_prog_compiler_wl_CXX
111737 # Additional compiler flags for building library objects.
111738 pic_flag=$lt_lt_prog_compiler_pic_CXX
111740 # Compiler flag to prevent dynamic linking.
111741 link_static_flag=$lt_lt_prog_compiler_static_CXX
111743 # Does compiler simultaneously support -c and -o options?
111744 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
111746 # Whether or not to add -lc for building shared libraries.
111747 build_libtool_need_lc=$archive_cmds_need_lc_CXX
111749 # Whether or not to disallow shared libs when runtime libs are static.
111750 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
111752 # Compiler flag to allow reflexive dlopens.
111753 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
111755 # Compiler flag to generate shared objects directly from archives.
111756 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
111758 # Whether the compiler copes with passing no objects directly.
111759 compiler_needs_object=$lt_compiler_needs_object_CXX
111761 # Create an old-style archive from a shared archive.
111762 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
111764 # Create a temporary old-style archive to link instead of a shared archive.
111765 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
111767 # Commands used to build a shared archive.
111768 archive_cmds=$lt_archive_cmds_CXX
111769 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
111771 # Commands used to build a loadable module if different from building
111772 # a shared archive.
111773 module_cmds=$lt_module_cmds_CXX
111774 module_expsym_cmds=$lt_module_expsym_cmds_CXX
111776 # Whether we are building with GNU ld or not.
111777 with_gnu_ld=$lt_with_gnu_ld_CXX
111779 # Flag that allows shared libraries with undefined symbols to be built.
111780 allow_undefined_flag=$lt_allow_undefined_flag_CXX
111782 # Flag that enforces no undefined symbols.
111783 no_undefined_flag=$lt_no_undefined_flag_CXX
111785 # Flag to hardcode \$libdir into a binary during linking.
111786 # This must work even if \$libdir does not exist
111787 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
111789 # If ld is used when linking, flag to hardcode \$libdir into a binary
111790 # during linking. This must work even if \$libdir does not exist.
111791 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
111793 # Whether we need a single "-rpath" flag with a separated argument.
111794 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
111796 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
111797 # DIR into the resulting binary.
111798 hardcode_direct=$hardcode_direct_CXX
111800 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
111801 # DIR into the resulting binary and the resulting library dependency is
111802 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
111803 # library is relocated.
111804 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
111806 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
111807 # into the resulting binary.
111808 hardcode_minus_L=$hardcode_minus_L_CXX
111810 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
111811 # into the resulting binary.
111812 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
111814 # Set to "yes" if building a shared library automatically hardcodes DIR
111815 # into the library and all subsequent libraries and executables linked
111816 # against it.
111817 hardcode_automatic=$hardcode_automatic_CXX
111819 # Set to yes if linker adds runtime paths of dependent libraries
111820 # to runtime path list.
111821 inherit_rpath=$inherit_rpath_CXX
111823 # Whether libtool must link a program against all its dependency libraries.
111824 link_all_deplibs=$link_all_deplibs_CXX
111826 # Fix the shell variable \$srcfile for the compiler.
111827 fix_srcfile_path=$lt_fix_srcfile_path_CXX
111829 # Set to "yes" if exported symbols are required.
111830 always_export_symbols=$always_export_symbols_CXX
111832 # The commands to list exported symbols.
111833 export_symbols_cmds=$lt_export_symbols_cmds_CXX
111835 # Symbols that should not be listed in the preloaded symbols.
111836 exclude_expsyms=$lt_exclude_expsyms_CXX
111838 # Symbols that must always be exported.
111839 include_expsyms=$lt_include_expsyms_CXX
111841 # Commands necessary for linking programs (against libraries) with templates.
111842 prelink_cmds=$lt_prelink_cmds_CXX
111844 # Specify filename containing input files.
111845 file_list_spec=$lt_file_list_spec_CXX
111847 # How to hardcode a shared library path into an executable.
111848 hardcode_action=$hardcode_action_CXX
111850 # The directories searched by this compiler when creating a shared library.
111851 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
111853 # Dependencies to place before and after the objects being linked to
111854 # create a shared library.
111855 predep_objects=$lt_predep_objects_CXX
111856 postdep_objects=$lt_postdep_objects_CXX
111857 predeps=$lt_predeps_CXX
111858 postdeps=$lt_postdeps_CXX
111860 # The library search path used internally by the compiler when linking
111861 # a shared library.
111862 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
111864 # ### END LIBTOOL TAG CONFIG: CXX
111865 _LT_EOF
111868 include/gstdint.h )
111869 if test "$GCC" = yes; then
111870 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
111872 echo "/* generated for $CC */" > tmp-stdint.h
111875 sed 's/^ *//' >> tmp-stdint.h <<EOF
111877 #ifndef GCC_GENERATED_STDINT_H
111878 #define GCC_GENERATED_STDINT_H 1
111880 #include <sys/types.h>
111883 if test "$acx_cv_header_stdint" != stdint.h; then
111884 echo "#include <stddef.h>" >> tmp-stdint.h
111886 if test "$acx_cv_header_stdint" != stddef.h; then
111887 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
111890 sed 's/^ *//' >> tmp-stdint.h <<EOF
111891 /* glibc uses these symbols as guards to prevent redefinitions. */
111892 #ifdef __int8_t_defined
111893 #define _INT8_T
111894 #define _INT16_T
111895 #define _INT32_T
111896 #endif
111897 #ifdef __uint32_t_defined
111898 #define _UINT32_T
111899 #endif
111903 # ----------------- done header, emit basic int types -------------
111904 if test "$acx_cv_header_stdint" = stddef.h; then
111905 sed 's/^ *//' >> tmp-stdint.h <<EOF
111907 #ifndef _UINT8_T
111908 #define _UINT8_T
111909 #ifndef __uint8_t_defined
111910 #define __uint8_t_defined
111911 typedef unsigned $acx_cv_type_int8_t uint8_t;
111912 #endif
111913 #endif
111915 #ifndef _UINT16_T
111916 #define _UINT16_T
111917 #ifndef __uint16_t_defined
111918 #define __uint16_t_defined
111919 typedef unsigned $acx_cv_type_int16_t uint16_t;
111920 #endif
111921 #endif
111923 #ifndef _UINT32_T
111924 #define _UINT32_T
111925 #ifndef __uint32_t_defined
111926 #define __uint32_t_defined
111927 typedef unsigned $acx_cv_type_int32_t uint32_t;
111928 #endif
111929 #endif
111931 #ifndef _INT8_T
111932 #define _INT8_T
111933 #ifndef __int8_t_defined
111934 #define __int8_t_defined
111935 typedef $acx_cv_type_int8_t int8_t;
111936 #endif
111937 #endif
111939 #ifndef _INT16_T
111940 #define _INT16_T
111941 #ifndef __int16_t_defined
111942 #define __int16_t_defined
111943 typedef $acx_cv_type_int16_t int16_t;
111944 #endif
111945 #endif
111947 #ifndef _INT32_T
111948 #define _INT32_T
111949 #ifndef __int32_t_defined
111950 #define __int32_t_defined
111951 typedef $acx_cv_type_int32_t int32_t;
111952 #endif
111953 #endif
111955 elif test "$ac_cv_type_u_int32_t" = yes; then
111956 sed 's/^ *//' >> tmp-stdint.h <<EOF
111958 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
111959 #ifndef _INT8_T
111960 #define _INT8_T
111961 #endif
111962 #ifndef _INT16_T
111963 #define _INT16_T
111964 #endif
111965 #ifndef _INT32_T
111966 #define _INT32_T
111967 #endif
111969 #ifndef _UINT8_T
111970 #define _UINT8_T
111971 #ifndef __uint8_t_defined
111972 #define __uint8_t_defined
111973 typedef u_int8_t uint8_t;
111974 #endif
111975 #endif
111977 #ifndef _UINT16_T
111978 #define _UINT16_T
111979 #ifndef __uint16_t_defined
111980 #define __uint16_t_defined
111981 typedef u_int16_t uint16_t;
111982 #endif
111983 #endif
111985 #ifndef _UINT32_T
111986 #define _UINT32_T
111987 #ifndef __uint32_t_defined
111988 #define __uint32_t_defined
111989 typedef u_int32_t uint32_t;
111990 #endif
111991 #endif
111994 sed 's/^ *//' >> tmp-stdint.h <<EOF
111996 /* Some systems have guard macros to prevent redefinitions, define them. */
111997 #ifndef _INT8_T
111998 #define _INT8_T
111999 #endif
112000 #ifndef _INT16_T
112001 #define _INT16_T
112002 #endif
112003 #ifndef _INT32_T
112004 #define _INT32_T
112005 #endif
112006 #ifndef _UINT8_T
112007 #define _UINT8_T
112008 #endif
112009 #ifndef _UINT16_T
112010 #define _UINT16_T
112011 #endif
112012 #ifndef _UINT32_T
112013 #define _UINT32_T
112014 #endif
112018 # ------------- done basic int types, emit int64_t types ------------
112019 if test "$ac_cv_type_uint64_t" = yes; then
112020 sed 's/^ *//' >> tmp-stdint.h <<EOF
112022 /* system headers have good uint64_t and int64_t */
112023 #ifndef _INT64_T
112024 #define _INT64_T
112025 #endif
112026 #ifndef _UINT64_T
112027 #define _UINT64_T
112028 #endif
112030 elif test "$ac_cv_type_u_int64_t" = yes; then
112031 sed 's/^ *//' >> tmp-stdint.h <<EOF
112033 /* system headers have an u_int64_t (and int64_t) */
112034 #ifndef _INT64_T
112035 #define _INT64_T
112036 #endif
112037 #ifndef _UINT64_T
112038 #define _UINT64_T
112039 #ifndef __uint64_t_defined
112040 #define __uint64_t_defined
112041 typedef u_int64_t uint64_t;
112042 #endif
112043 #endif
112045 elif test -n "$acx_cv_type_int64_t"; then
112046 sed 's/^ *//' >> tmp-stdint.h <<EOF
112048 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
112049 #ifndef _INT64_T
112050 #define _INT64_T
112051 typedef $acx_cv_type_int64_t int64_t;
112052 #endif
112053 #ifndef _UINT64_T
112054 #define _UINT64_T
112055 #ifndef __uint64_t_defined
112056 #define __uint64_t_defined
112057 typedef unsigned $acx_cv_type_int64_t uint64_t;
112058 #endif
112059 #endif
112062 sed 's/^ *//' >> tmp-stdint.h <<EOF
112064 /* some common heuristics for int64_t, using compiler-specific tests */
112065 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
112066 #ifndef _INT64_T
112067 #define _INT64_T
112068 #ifndef __int64_t_defined
112069 typedef long long int64_t;
112070 #endif
112071 #endif
112072 #ifndef _UINT64_T
112073 #define _UINT64_T
112074 typedef unsigned long long uint64_t;
112075 #endif
112077 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
112078 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
112079 does not implement __extension__. But that compiler doesn't define
112080 __GNUC_MINOR__. */
112081 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
112082 # define __extension__
112083 # endif
112085 # ifndef _INT64_T
112086 # define _INT64_T
112087 __extension__ typedef long long int64_t;
112088 # endif
112089 # ifndef _UINT64_T
112090 # define _UINT64_T
112091 __extension__ typedef unsigned long long uint64_t;
112092 # endif
112094 #elif !defined __STRICT_ANSI__
112095 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
112097 # ifndef _INT64_T
112098 # define _INT64_T
112099 typedef __int64 int64_t;
112100 # endif
112101 # ifndef _UINT64_T
112102 # define _UINT64_T
112103 typedef unsigned __int64 uint64_t;
112104 # endif
112105 # endif /* compiler */
112107 #endif /* ANSI version */
112111 # ------------- done int64_t types, emit intptr types ------------
112112 if test "$ac_cv_type_uintptr_t" != yes; then
112113 sed 's/^ *//' >> tmp-stdint.h <<EOF
112115 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
112116 #ifndef __uintptr_t_defined
112117 typedef u$acx_cv_type_intptr_t uintptr_t;
112118 #endif
112119 #ifndef __intptr_t_defined
112120 typedef $acx_cv_type_intptr_t intptr_t;
112121 #endif
112125 # ------------- done intptr types, emit int_least types ------------
112126 if test "$ac_cv_type_int_least32_t" != yes; then
112127 sed 's/^ *//' >> tmp-stdint.h <<EOF
112129 /* Define int_least types */
112130 typedef int8_t int_least8_t;
112131 typedef int16_t int_least16_t;
112132 typedef int32_t int_least32_t;
112133 #ifdef _INT64_T
112134 typedef int64_t int_least64_t;
112135 #endif
112137 typedef uint8_t uint_least8_t;
112138 typedef uint16_t uint_least16_t;
112139 typedef uint32_t uint_least32_t;
112140 #ifdef _UINT64_T
112141 typedef uint64_t uint_least64_t;
112142 #endif
112146 # ------------- done intptr types, emit int_fast types ------------
112147 if test "$ac_cv_type_int_fast32_t" != yes; then
112148 sed 's/^ *//' >> tmp-stdint.h <<EOF
112150 /* Define int_fast types. short is often slow */
112151 typedef int8_t int_fast8_t;
112152 typedef int int_fast16_t;
112153 typedef int32_t int_fast32_t;
112154 #ifdef _INT64_T
112155 typedef int64_t int_fast64_t;
112156 #endif
112158 typedef uint8_t uint_fast8_t;
112159 typedef unsigned int uint_fast16_t;
112160 typedef uint32_t uint_fast32_t;
112161 #ifdef _UINT64_T
112162 typedef uint64_t uint_fast64_t;
112163 #endif
112167 if test "$ac_cv_type_uintmax_t" != yes; then
112168 sed 's/^ *//' >> tmp-stdint.h <<EOF
112170 /* Define intmax based on what we found */
112171 #ifdef _INT64_T
112172 typedef int64_t intmax_t;
112173 #else
112174 typedef long intmax_t;
112175 #endif
112176 #ifdef _UINT64_T
112177 typedef uint64_t uintmax_t;
112178 #else
112179 typedef unsigned long uintmax_t;
112180 #endif
112184 sed 's/^ *//' >> tmp-stdint.h <<EOF
112186 #endif /* GCC_GENERATED_STDINT_H */
112189 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
112190 rm -f tmp-stdint.h
112192 mv -f tmp-stdint.h include/gstdint.h
112196 default ) if test -n "$CONFIG_FILES"; then
112197 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
112198 # that multilib installs will end up installed in the correct place.
112199 # The testsuite needs it for multilib-aware ABI baseline files.
112200 # To work around this not being passed down from config-ml.in ->
112201 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
112202 # append it here. Only modify Makefiles that have just been created.
112204 # Also, get rid of this simulated-VPATH thing that automake does.
112205 cat > vpsed << \_EOF
112206 s!`test -f '$<' || echo '$(srcdir)/'`!!
112208 for i in $SUBDIRS; do
112209 case $CONFIG_FILES in
112210 *${i}/Makefile*)
112211 #echo "Adding MULTISUBDIR to $i/Makefile"
112212 sed -f vpsed $i/Makefile > tmp
112213 grep '^MULTISUBDIR =' Makefile >> tmp
112214 mv tmp $i/Makefile
112218 rm vpsed
112220 (cd include && ${MAKE-make})
112224 _ACEOF
112226 cat >>$CONFIG_STATUS <<\_ACEOF
112228 { (exit 0); exit 0; }
112229 _ACEOF
112230 chmod +x $CONFIG_STATUS
112231 ac_clean_files=$ac_clean_files_save
112234 # configure is writing to config.log, and then calls config.status.
112235 # config.status does its own redirection, appending to config.log.
112236 # Unfortunately, on DOS this fails, as config.log is still kept open
112237 # by configure, so config.status won't be able to write to it; its
112238 # output is simply discarded. So we exec the FD to /dev/null,
112239 # effectively closing config.log, so it can be properly (re)opened and
112240 # appended to by config.status. When coming back to configure, we
112241 # need to make the FD available again.
112242 if test "$no_create" != yes; then
112243 ac_cs_success=:
112244 ac_config_status_args=
112245 test "$silent" = yes &&
112246 ac_config_status_args="$ac_config_status_args --quiet"
112247 exec 5>/dev/null
112248 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
112249 exec 5>>config.log
112250 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
112251 # would make configure fail if this is the last instruction.
112252 $ac_cs_success || { (exit 1); exit 1; }